diff --git a/postman/BalanceControlService-v1.json b/postman/BalanceControlService-v1.json index db2c3cc..e61870b 100644 --- a/postman/BalanceControlService-v1.json +++ b/postman/BalanceControlService-v1.json @@ -19,49 +19,101 @@ { "name": "Transfer balances between merchant accounts", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"amount\" : {\n \"value\" : 50000,\n \"currency\" : \"EUR\"\n },\n \"description\" : \"Your description for the transfer\",\n \"fromMerchant\" : \"MerchantAccount_NL\",\n \"toMerchant\" : \"MerchantAccount_DE\",\n \"type\" : \"debit\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/balanceTransfer", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "balanceTransfer" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Starts a balance transfer request between merchant accounts. The following conditions must be met before you can successfully transfer balances: * The source and destination merchant accounts must be under the same company account and legal entity. * The source merchant account must have sufficient funds. * The source and destination merchant accounts must have at least one common processing currency. When sending multiple API requests with the same source and destination merchant accounts, send the requests sequentially and *not* in parallel. Some requests may not be processed if the requests are sent in parallel. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"amount\" : {\n \"value\" : 50000,\n \"currency\" : \"EUR\"\n },\n \"createdAt\" : \"2022-01-24T14:59:11+01:00\",\n \"description\" : \"Your description for the transfer\",\n \"fromMerchant\" : \"MerchantAccount_NL\",\n \"toMerchant\" : \"MerchantAccount_DE\",\n \"type\" : \"debit\",\n \"reference\" : \"Unique reference for the transfer\",\n \"pspReference\" : \"8816080397613514\",\n \"status\" : \"transferred\"\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"amount\" : {\n \"value\" : 50000,\n \"currency\" : \"EUR\"\n },\n \"description\" : \"Your description for the transfer\",\n \"fromMerchant\" : \"MerchantAccount_NL\",\n \"toMerchant\" : \"MerchantAccount_DE\",\n \"type\" : \"debit\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/balanceTransfer", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "balanceTransfer" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Starts a balance transfer request between merchant accounts. The following conditions must be met before you can successfully transfer balances: * The source and destination merchant accounts must be under the same company account and legal entity. * The source merchant account must have sufficient funds. * The source and destination merchant accounts must have at least one common processing currency. When sending multiple API requests with the same source and destination merchant accounts, send the requests sequentially and *not* in parallel. Some requests may not be processed if the requests are sent in parallel. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"value\" : 50000,\n \"currency\" : \"EUR\"\n },\n \"description\" : \"Your description for the transfer\",\n \"fromMerchant\" : \"MerchantAccount_NL\",\n \"toMerchant\" : \"MerchantAccount_DE\",\n \"type\" : \"debit\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/balanceTransfer", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "balanceTransfer" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Starts a balance transfer request between merchant accounts. The following conditions must be met before you can successfully transfer balances: * The source and destination merchant accounts must be under the same company account and legal entity. * The source merchant account must have sufficient funds. * The source and destination merchant accounts must have at least one common processing currency. When sending multiple API requests with the same source and destination merchant accounts, send the requests sequentially and *not* in parallel. Some requests may not be processed if the requests are sent in parallel. " - } + ] } ] } - ] } ], diff --git a/postman/BalancePlatformService-v1.json b/postman/BalancePlatformService-v1.json index 8ea2aa8..a2105c8 100644 --- a/postman/BalancePlatformService-v1.json +++ b/postman/BalancePlatformService-v1.json @@ -19,178 +19,389 @@ { "name": "Create a legal entity for an individual residing in the Netherlands", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"type\" : \"individual\",\n \"individual\" : {\n \"residentialAddress\" : {\n \"city\" : \"Amsterdam\",\n \"country\" : \"NL\",\n \"postalCode\" : \"1011DJ\",\n \"street\" : \"Simon Carmiggeltstraat 6 - 50\"\n },\n \"name\" : {\n \"firstName\" : \"Shelly\",\n \"lastName\" : \"Eller\"\n },\n \"birthData\" : {\n \"dateOfBirth\" : \"1990-06-21\"\n },\n \"email\" : \"s.eller@example.com\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/legalEntities", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "legalEntities" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates a legal entity. This resource contains information about the user that will be onboarded in your platform. Adyen uses this information to perform verification checks as required by payment industry regulations. Adyen informs you of the verification results through webhooks or API responses. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"individual\" : {\n \"email\" : \"s.eller@example.com\",\n \"birthData\" : {\n \"dateOfBirth\" : \"1990-06-21\"\n },\n \"name\" : {\n \"firstName\" : \"Shelly\",\n \"lastName\" : \"Eller\"\n },\n \"residentialAddress\" : {\n \"city\" : \"Amsterdam\",\n \"country\" : \"NL\",\n \"postalCode\" : \"1011DJ\",\n \"street\" : \"Simon Carmiggeltstraat 6 - 50\"\n }\n },\n \"type\" : \"individual\",\n \"id\" : \"LE322JV223222D5GG42KN6869\"\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"type\" : \"individual\",\n \"individual\" : {\n \"residentialAddress\" : {\n \"city\" : \"Amsterdam\",\n \"country\" : \"NL\",\n \"postalCode\" : \"1011DJ\",\n \"street\" : \"Simon Carmiggeltstraat 6 - 50\"\n },\n \"name\" : {\n \"firstName\" : \"Shelly\",\n \"lastName\" : \"Eller\"\n },\n \"birthData\" : {\n \"dateOfBirth\" : \"1990-06-21\"\n },\n \"email\" : \"s.eller@example.com\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/legalEntities", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "legalEntities" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates a legal entity. This resource contains information about the user that will be onboarded in your platform. Adyen uses this information to perform verification checks as required by payment industry regulations. Adyen informs you of the verification results through webhooks or API responses. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"type\" : \"individual\",\n \"individual\" : {\n \"residentialAddress\" : {\n \"city\" : \"Amsterdam\",\n \"country\" : \"NL\",\n \"postalCode\" : \"1011DJ\",\n \"street\" : \"Simon Carmiggeltstraat 6 - 50\"\n },\n \"name\" : {\n \"firstName\" : \"Shelly\",\n \"lastName\" : \"Eller\"\n },\n \"birthData\" : {\n \"dateOfBirth\" : \"1990-06-21\"\n },\n \"email\" : \"s.eller@example.com\"\n }\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/legalEntities", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "legalEntities" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Creates a legal entity. This resource contains information about the user that will be onboarded in your platform. Adyen uses this information to perform verification checks as required by payment industry regulations. Adyen informs you of the verification results through webhooks or API responses. " - } + ] }, { "name": "Create a legal entity for an individual residing in the US", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"type\" : \"individual\",\n \"individual\" : {\n \"residentialAddress\" : {\n \"city\" : \"New York\",\n \"country\" : \"US\",\n \"postalCode\" : \"10003\",\n \"stateOrProvince\" : \"NY\",\n \"street\" : \"71 5th Avenue\",\n \"street2\" : \"11th floor\"\n },\n \"phone\" : {\n \"number\" : \"+14153671502\",\n \"type\" : \"mobile\"\n },\n \"name\" : {\n \"firstName\" : \"Shelly\",\n \"lastName\" : \"Eller\"\n },\n \"birthData\" : {\n \"dateOfBirth\" : \"1990-06-21\"\n },\n \"email\" : \"s.eller@example.com\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/legalEntities", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "legalEntities" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates a legal entity. This resource contains information about the user that will be onboarded in your platform. Adyen uses this information to perform verification checks as required by payment industry regulations. Adyen informs you of the verification results through webhooks or API responses. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"individual\" : {\n \"email\" : \"s.eller@example.com\",\n \"phone\" : {\n \"number\" : \"+14153671502\",\n \"type\" : \"mobile\"\n },\n \"birthData\" : {\n \"dateOfBirth\" : \"1990-06-21\"\n },\n \"name\" : {\n \"firstName\" : \"Shelly\",\n \"lastName\" : \"Eller\"\n },\n \"residentialAddress\" : {\n \"city\" : \"New York\",\n \"country\" : \"US\",\n \"postalCode\" : \"10003\",\n \"stateOrProvince\" : \"NY\",\n \"street\" : \"71 5th Avenue\",\n \"street2\" : \"11th floor\"\n }\n },\n \"type\" : \"individual\",\n \"id\" : \"LE322JV223222D5GGMHPC2FPL\"\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"type\" : \"individual\",\n \"individual\" : {\n \"residentialAddress\" : {\n \"city\" : \"New York\",\n \"country\" : \"US\",\n \"postalCode\" : \"10003\",\n \"stateOrProvince\" : \"NY\",\n \"street\" : \"71 5th Avenue\",\n \"street2\" : \"11th floor\"\n },\n \"phone\" : {\n \"number\" : \"+14153671502\",\n \"type\" : \"mobile\"\n },\n \"name\" : {\n \"firstName\" : \"Shelly\",\n \"lastName\" : \"Eller\"\n },\n \"birthData\" : {\n \"dateOfBirth\" : \"1990-06-21\"\n },\n \"email\" : \"s.eller@example.com\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/legalEntities", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "legalEntities" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates a legal entity. This resource contains information about the user that will be onboarded in your platform. Adyen uses this information to perform verification checks as required by payment industry regulations. Adyen informs you of the verification results through webhooks or API responses. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"type\" : \"individual\",\n \"individual\" : {\n \"residentialAddress\" : {\n \"city\" : \"New York\",\n \"country\" : \"US\",\n \"postalCode\" : \"10003\",\n \"stateOrProvince\" : \"NY\",\n \"street\" : \"71 5th Avenue\",\n \"street2\" : \"11th floor\"\n },\n \"phone\" : {\n \"number\" : \"+14153671502\",\n \"type\" : \"mobile\"\n },\n \"name\" : {\n \"firstName\" : \"Shelly\",\n \"lastName\" : \"Eller\"\n },\n \"birthData\" : {\n \"dateOfBirth\" : \"1990-06-21\"\n },\n \"email\" : \"s.eller@example.com\"\n }\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/legalEntities", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "legalEntities" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Creates a legal entity. This resource contains information about the user that will be onboarded in your platform. Adyen uses this information to perform verification checks as required by payment industry regulations. Adyen informs you of the verification results through webhooks or API responses. " - } + ] }, { "name": "Create a legal entity for a Dutch organization", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"type\" : \"organization\",\n \"organization\" : {\n \"legalName\" : \"Explorer Company based in NL\",\n \"doingBusinessAs\" : \"API Company Trading\",\n \"type\" : \"privateCompany\",\n \"registeredAddress\" : {\n \"city\" : \"Amsterdam\",\n \"country\" : \"NL\",\n \"postalCode\" : \"1011DJ\",\n \"street\" : \"Simon Carmiggeltstraat 6 - 50\"\n },\n \"registrationNumber\" : \"34179503\",\n \"email\" : \"organization@example.com\"\n },\n \"entityAssociations\" : [ {\n \"jobTitle\" : \"CEO\",\n \"legalEntityId\" : \"LE322JV223222D5GG42KN6869\",\n \"type\" : \"signatory\"\n } ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/legalEntities", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "legalEntities" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates a legal entity. This resource contains information about the user that will be onboarded in your platform. Adyen uses this information to perform verification checks as required by payment industry regulations. Adyen informs you of the verification results through webhooks or API responses. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"organization\" : {\n \"legalName\" : \"Explorer Company based in NL\",\n \"doingBusinessAs\" : \"API Company Trading\",\n \"registrationNumber\" : \"34179503\",\n \"email\" : \"organization@example.com\",\n \"registeredAddress\" : {\n \"city\" : \"Amsterdam\",\n \"country\" : \"NL\",\n \"postalCode\" : \"1011DJ\",\n \"street\" : \"Simon Carmiggeltstraat 6 - 50\"\n },\n \"taxExempt\" : false,\n \"type\" : \"privateCompany\"\n },\n \"type\" : \"organization\",\n \"id\" : \"LE322JV223222D5FZ9N74BSGM\"\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"type\" : \"organization\",\n \"organization\" : {\n \"legalName\" : \"Explorer Company based in NL\",\n \"doingBusinessAs\" : \"API Company Trading\",\n \"type\" : \"privateCompany\",\n \"registeredAddress\" : {\n \"city\" : \"Amsterdam\",\n \"country\" : \"NL\",\n \"postalCode\" : \"1011DJ\",\n \"street\" : \"Simon Carmiggeltstraat 6 - 50\"\n },\n \"registrationNumber\" : \"34179503\",\n \"email\" : \"organization@example.com\"\n },\n \"entityAssociations\" : [ {\n \"jobTitle\" : \"CEO\",\n \"legalEntityId\" : \"LE322JV223222D5GG42KN6869\",\n \"type\" : \"signatory\"\n } ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/legalEntities", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "legalEntities" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates a legal entity. This resource contains information about the user that will be onboarded in your platform. Adyen uses this information to perform verification checks as required by payment industry regulations. Adyen informs you of the verification results through webhooks or API responses. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"type\" : \"organization\",\n \"organization\" : {\n \"legalName\" : \"Explorer Company based in NL\",\n \"doingBusinessAs\" : \"API Company Trading\",\n \"type\" : \"privateCompany\",\n \"registeredAddress\" : {\n \"city\" : \"Amsterdam\",\n \"country\" : \"NL\",\n \"postalCode\" : \"1011DJ\",\n \"street\" : \"Simon Carmiggeltstraat 6 - 50\"\n },\n \"registrationNumber\" : \"34179503\",\n \"email\" : \"organization@example.com\"\n },\n \"entityAssociations\" : [ {\n \"jobTitle\" : \"CEO\",\n \"legalEntityId\" : \"LE322JV223222D5GG42KN6869\",\n \"type\" : \"signatory\"\n } ]\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/legalEntities", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "legalEntities" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Creates a legal entity. This resource contains information about the user that will be onboarded in your platform. Adyen uses this information to perform verification checks as required by payment industry regulations. Adyen informs you of the verification results through webhooks or API responses. " - } + ] }, { "name": "Create a legal entity for an organization in the US", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"type\" : \"organization\",\n \"organization\" : {\n \"legalName\" : \"Explorer Company based in US\",\n \"registrationNumber\" : \"101002749\",\n \"type\" : \"privateCompany\",\n \"registeredAddress\" : {\n \"city\" : \"New York\",\n \"country\" : \"US\",\n \"postalCode\" : \"10003\",\n \"stateOrProvince\" : \"NY\",\n \"street\" : \"71 5th Avenue\",\n \"street2\" : \"11th floor\"\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/legalEntities", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "legalEntities" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates a legal entity. This resource contains information about the user that will be onboarded in your platform. Adyen uses this information to perform verification checks as required by payment industry regulations. Adyen informs you of the verification results through webhooks or API responses. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"organization\" : {\n \"legalName\" : \"Explorer Company based in US\",\n \"registrationNumber\" : \"101002749\",\n \"registeredAddress\" : {\n \"city\" : \"New York\",\n \"country\" : \"US\",\n \"postalCode\" : \"10003\",\n \"stateOrProvince\" : \"NY\",\n \"street\" : \"71 5th Avenue\",\n \"street2\" : \"11th floor\"\n },\n \"taxExempt\" : false,\n \"type\" : \"privateCompany\"\n },\n \"type\" : \"organization\",\n \"id\" : \"LE322JV223222D5FZ9N74BSGM\"\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"type\" : \"organization\",\n \"organization\" : {\n \"legalName\" : \"Explorer Company based in US\",\n \"registrationNumber\" : \"101002749\",\n \"type\" : \"privateCompany\",\n \"registeredAddress\" : {\n \"city\" : \"New York\",\n \"country\" : \"US\",\n \"postalCode\" : \"10003\",\n \"stateOrProvince\" : \"NY\",\n \"street\" : \"71 5th Avenue\",\n \"street2\" : \"11th floor\"\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/legalEntities", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "legalEntities" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates a legal entity. This resource contains information about the user that will be onboarded in your platform. Adyen uses this information to perform verification checks as required by payment industry regulations. Adyen informs you of the verification results through webhooks or API responses. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"type\" : \"organization\",\n \"organization\" : {\n \"legalName\" : \"Explorer Company based in US\",\n \"registrationNumber\" : \"101002749\",\n \"type\" : \"privateCompany\",\n \"registeredAddress\" : {\n \"city\" : \"New York\",\n \"country\" : \"US\",\n \"postalCode\" : \"10003\",\n \"stateOrProvince\" : \"NY\",\n \"street\" : \"71 5th Avenue\",\n \"street2\" : \"11th floor\"\n }\n }\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/legalEntities", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "legalEntities" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Creates a legal entity. This resource contains information about the user that will be onboarded in your platform. Adyen uses this information to perform verification checks as required by payment industry regulations. Adyen informs you of the verification results through webhooks or API responses. " - } + ] } ] - } -, + }, { "name": "/legalEntities/:id", "description": "Returns a legal entity.", @@ -198,49 +409,50 @@ { "name": "Get a legal entity", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/legalEntities/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "legalEntities", - ":id" - ], - "variable": [ - { - "key": "id", - "value": "", - "description": "The unique identifier of the legal entity." - } - ], - "query": [ - ] - }, - "description": "Returns a legal entity." - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/legalEntities/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "legalEntities", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "The unique identifier of the legal entity." + } + ], + "query": [ + ] + }, + "description": "Returns a legal entity." +} + ,"response": [ + ] } ] - } -, + }, { "name": "/legalEntities/:id", "description": "Updates a legal entity. >To change the legal entity type, include only the new `type` in your request. To update the `entityAssociations` array, you need to replace the entire array. For example, if the array has 3 entries and you want to remove 1 entry, you need to PATCH the resource with the remaining 2 entries.", @@ -248,104 +460,221 @@ { "name": "Change a legal entity from an organization to an individual", "request": { - "method": "PATCH", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"type\" : \"individual\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/legalEntities/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "legalEntities", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "The unique identifier of the legal entity." + } + ], + "query": [ + ] + }, + "description": "Updates a legal entity. >To change the legal entity type, include only the new `type` in your request. To update the `entityAssociations` array, you need to replace the entire array. For example, if the array has 3 entries and you want to remove 1 entry, you need to PATCH the resource with the remaining 2 entries." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"individual\" : {\n \"name\" : {\n \"firstName\" : \"Explorer\",\n \"lastName\" : \"Company based in US\"\n },\n \"residentialAddress\" : {\n \"country\" : \"US\"\n }\n },\n \"type\" : \"individual\",\n \"id\" : \"LE322JV223222J5HD8HZS2C8B\"\n}", + "originalRequest": { + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"type\" : \"individual\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/legalEntities/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "legalEntities", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "The unique identifier of the legal entity." + } + ], + "query": [ + ] + }, + "description": "Updates a legal entity. >To change the legal entity type, include only the new `type` in your request. To update the `entityAssociations` array, you need to replace the entire array. For example, if the array has 3 entries and you want to remove 1 entry, you need to PATCH the resource with the remaining 2 entries." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"type\" : \"individual\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/legalEntities/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "legalEntities", - ":id" - ], - "variable": [ - { - "key": "id", - "value": "", - "description": "The unique identifier of the legal entity." - } - ], - "query": [ - ] - }, - "description": "Updates a legal entity. >To change the legal entity type, include only the new `type` in your request. To update the `entityAssociations` array, you need to replace the entire array. For example, if the array has 3 entries and you want to remove 1 entry, you need to PATCH the resource with the remaining 2 entries." - } + ] }, { "name": "Add entity associations to an organization", "request": { - "method": "PATCH", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"entityAssociations\" : [ {\n \"jobTitle\" : \"CEO\",\n \"legalEntityId\" : \"LE322KH223222F5GV2SL953Z3\",\n \"type\" : \"uboThroughControl\"\n } ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/legalEntities/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "legalEntities", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "The unique identifier of the legal entity." + } + ], + "query": [ + ] + }, + "description": "Updates a legal entity. >To change the legal entity type, include only the new `type` in your request. To update the `entityAssociations` array, you need to replace the entire array. For example, if the array has 3 entries and you want to remove 1 entry, you need to PATCH the resource with the remaining 2 entries." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"entityAssociations\" : [ {\n \"associatorId\" : \"LE322KH223222F5GVGNMJ3XC5\",\n \"entityType\" : \"individual\",\n \"jobTitle\" : \"CEO\",\n \"legalEntityId\" : \"LE322KH223222F5GV2SL953Z3\",\n \"name\" : \"Simone Hopper\",\n \"type\" : \"uboThroughControl\"\n } ],\n \"organization\" : {\n \"email\" : \"john.doe@adyen.com\",\n \"phone\" : {\n \"countryCode\" : \"NL\",\n \"number\" : \"646467363\",\n \"type\" : \"mobile\"\n },\n \"description\" : \"FinTech\",\n \"doingBusinessAs\" : \"Adyen BV\",\n \"legalName\" : \"Adyen BV\",\n \"registeredAddress\" : {\n \"city\" : \"AMS\",\n \"country\" : \"NL\",\n \"postalCode\" : \"1234EE\",\n \"stateOrProvince\" : \"NH\",\n \"street\" : \"Simon Carmiggeltstraat 6 - 50\"\n },\n \"registrationNumber\" : \"\",\n \"stockData\" : {\n \"marketIdentifier\" : \"ADYN\",\n \"stockNumber\" : \"NL012345ABC4\",\n \"tickerSymbol\" : \"ADYN.M\"\n },\n \"taxExempt\" : \"false\",\n \"type\" : \"listedPublicCompany\"\n },\n \"type\" : \"organization\",\n \"id\" : \"LE322KH223222F5GVGNMJ3XC5\"\n}", + "originalRequest": { + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"entityAssociations\" : [ {\n \"jobTitle\" : \"CEO\",\n \"legalEntityId\" : \"LE322KH223222F5GV2SL953Z3\",\n \"type\" : \"uboThroughControl\"\n } ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/legalEntities/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "legalEntities", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "The unique identifier of the legal entity." + } + ], + "query": [ + ] + }, + "description": "Updates a legal entity. >To change the legal entity type, include only the new `type` in your request. To update the `entityAssociations` array, you need to replace the entire array. For example, if the array has 3 entries and you want to remove 1 entry, you need to PATCH the resource with the remaining 2 entries." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"entityAssociations\" : [ {\n \"jobTitle\" : \"CEO\",\n \"legalEntityId\" : \"LE322KH223222F5GV2SL953Z3\",\n \"type\" : \"uboThroughControl\"\n } ]\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/legalEntities/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "legalEntities", - ":id" - ], - "variable": [ - { - "key": "id", - "value": "", - "description": "The unique identifier of the legal entity." - } - ], - "query": [ - ] - }, - "description": "Updates a legal entity. >To change the legal entity type, include only the new `type` in your request. To update the `entityAssociations` array, you need to replace the entire array. For example, if the array has 3 entries and you want to remove 1 entry, you need to PATCH the resource with the remaining 2 entries." - } + ] } ] } - ] }, { @@ -358,49 +687,50 @@ { "name": "Get a balance platform", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/balancePlatforms/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "balancePlatforms", - ":id" - ], - "variable": [ - { - "key": "id", - "value": "", - "description": "The unique identifier of the balance platform." - } - ], - "query": [ - ] - }, - "description": "Returns a balance platform." - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/balancePlatforms/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "balancePlatforms", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "The unique identifier of the balance platform." + } + ], + "query": [ + ] + }, + "description": "Returns a balance platform." +} + ,"response": [ + ] } ] - } -, + }, { "name": "/balancePlatforms/:id/accountHolders", "description": "Returns a paginated list of all the account holders that belong to the balance platform. To fetch multiple pages, use the query parameters. For example, to limit the page to 5 account holders and to skip the first 20, use `/balancePlatforms/{id}/accountHolders?limit=5&offset=20`.", @@ -408,62 +738,63 @@ { "name": "Get all account holders under a balance platform", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/balancePlatforms/:id/accountHolders", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "balancePlatforms", - ":id", - "accountHolders" - ], - "variable": [ - { - "key": "id", - "value": "", - "description": "The unique identifier of the balance platform." - } - ], - "query": [ - { - "key": "offset", - "value": "56", - "description": "The number of items that you want to skip.", - "disabled": true - }, - { - "key": "limit", - "value": "56", - "description": "The number of items returned per page, maximum 100 items. By default, the response returns 10 items per page.", - "disabled": true - } - ] - }, - "description": "Returns a paginated list of all the account holders that belong to the balance platform. To fetch multiple pages, use the query parameters. For example, to limit the page to 5 account holders and to skip the first 20, use `/balancePlatforms/{id}/accountHolders?limit=5&offset=20`." - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/balancePlatforms/:id/accountHolders", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "balancePlatforms", + ":id", + "accountHolders" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "The unique identifier of the balance platform." + } + ], + "query": [ + { + "key": "offset", + "value": "56", + "description": "The number of items that you want to skip.", + "disabled": true + }, + { + "key": "limit", + "value": "56", + "description": "The number of items returned per page, maximum 100 items. By default, the response returns 10 items per page.", + "disabled": true + } + ] + }, + "description": "Returns a paginated list of all the account holders that belong to the balance platform. To fetch multiple pages, use the query parameters. For example, to limit the page to 5 account holders and to skip the first 20, use `/balancePlatforms/{id}/accountHolders?limit=5&offset=20`." +} + ,"response": [ + ] } ] } - ] }, { @@ -476,49 +807,50 @@ { "name": "Create a payment instrument group", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"balancePlatform\" : \"{{YOUR_BALANCE_PLATFORM}}\",\n \"txVariant\" : \"mc\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentInstrumentGroups", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentInstrumentGroups" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Creates a payment instrument group to associate and group payment instrument resources together. You can apply a transaction rule to a payment instrument group." - } + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"balancePlatform\" : \"{{YOUR_BALANCE_PLATFORM}}\",\n \"txVariant\" : \"mc\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentInstrumentGroups", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentInstrumentGroups" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates a payment instrument group to associate and group payment instrument resources together. You can apply a transaction rule to a payment instrument group." +} + ,"response": [ + ] } ] - } -, + }, { "name": "/paymentInstrumentGroups/:id", "description": "Returns the details of a payment instrument group.", @@ -526,49 +858,50 @@ { "name": "Get a payment instrument group", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentInstrumentGroups/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentInstrumentGroups", - ":id" - ], - "variable": [ - { - "key": "id", - "value": "", - "description": "The unique identifier of the payment instrument group." - } - ], - "query": [ - ] - }, - "description": "Returns the details of a payment instrument group." - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentInstrumentGroups/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentInstrumentGroups", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "The unique identifier of the payment instrument group." + } + ], + "query": [ + ] + }, + "description": "Returns the details of a payment instrument group." +} + ,"response": [ + ] } ] - } -, + }, { "name": "/paymentInstrumentGroups/:id/transactionRules", "description": "Returns a list of all the transaction rules associated with a payment instrument group.", @@ -576,50 +909,51 @@ { "name": "Get all transaction rules for a payment instrument group", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentInstrumentGroups/:id/transactionRules", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentInstrumentGroups", - ":id", - "transactionRules" - ], - "variable": [ - { - "key": "id", - "value": "", - "description": "The unique identifier of the payment instrument group." - } - ], - "query": [ - ] - }, - "description": "Returns a list of all the transaction rules associated with a payment instrument group." - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentInstrumentGroups/:id/transactionRules", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentInstrumentGroups", + ":id", + "transactionRules" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "The unique identifier of the payment instrument group." + } + ], + "query": [ + ] + }, + "description": "Returns a list of all the transaction rules associated with a payment instrument group." +} + ,"response": [ + ] } ] } - ] }, { @@ -632,49 +966,101 @@ { "name": "Upload a document", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"type\" : \"registrationDocument\",\n \"attachments\" : [ {\n \"content\" : \"JVBERi0xLjQKJcOkw7zDtsOfCjIgMCBv+f/ub0j6JPRX+E3EmC...==\"\n } ],\n \"description\" : \"Registration doc for Example Company\",\n \"owner\" : {\n \"id\" : \"LE322KH223222D5GG4C9J83RN\",\n \"type\" : \"legalEntity\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/documents", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "documents" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Uploads a document for verification checks. Adyen uses the information from the [legal entity](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/legalEntities) to run automated verification checks. If these checks fail, you will be notified to provide additional documents. You should only upload documents when Adyen requests additional information for the legal entity. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"type\" : \"registrationDocument\",\n \"attachments\" : [ {\n \"content\" : \"JVBERi0xLjQKJcOkw7zDtsOfCjIgMCBv+f/ub0j6JPRX+E3EmC...==\"\n } ],\n \"description\" : \"Registration doc for Example Company\",\n \"fileName\" : \"Registration doc for Example Company\",\n \"owner\" : {\n \"id\" : \"LE322KH223222D5GG4C9J83RN\",\n \"type\" : \"legalEntity\"\n },\n \"id\" : \"SE322JV223222F5GV2N9L8GDK\"\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"type\" : \"registrationDocument\",\n \"attachments\" : [ {\n \"content\" : \"JVBERi0xLjQKJcOkw7zDtsOfCjIgMCBv+f/ub0j6JPRX+E3EmC...==\"\n } ],\n \"description\" : \"Registration doc for Example Company\",\n \"owner\" : {\n \"id\" : \"LE322KH223222D5GG4C9J83RN\",\n \"type\" : \"legalEntity\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/documents", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "documents" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Uploads a document for verification checks. Adyen uses the information from the [legal entity](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/legalEntities) to run automated verification checks. If these checks fail, you will be notified to provide additional documents. You should only upload documents when Adyen requests additional information for the legal entity. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"type\" : \"registrationDocument\",\n \"attachments\" : [ {\n \"content\" : \"JVBERi0xLjQKJcOkw7zDtsOfCjIgMCBv+f/ub0j6JPRX+E3EmC...==\"\n } ],\n \"description\" : \"Registration doc for Example Company\",\n \"owner\" : {\n \"id\" : \"LE322KH223222D5GG4C9J83RN\",\n \"type\" : \"legalEntity\"\n }\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/documents", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "documents" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Uploads a document for verification checks. Adyen uses the information from the [legal entity](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/legalEntities) to run automated verification checks. If these checks fail, you will be notified to provide additional documents. You should only upload documents when Adyen requests additional information for the legal entity. " - } + ] } ] - } -, + }, { "name": "/documents/:id", "description": "Deletes a document.", @@ -682,49 +1068,50 @@ { "name": "Delete a document", "request": { - "method": "DELETE", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/documents/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "documents", - ":id" - ], - "variable": [ - { - "key": "id", - "value": "", - "description": "The unique identifier of the document to be deleted." - } - ], - "query": [ - ] - }, - "description": "Deletes a document." - } + "method": "DELETE", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/documents/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "documents", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "The unique identifier of the document to be deleted." + } + ], + "query": [ + ] + }, + "description": "Deletes a document." +} + ,"response": [ + ] } ] - } -, + }, { "name": "/documents/:id", "description": "Returns a document.", @@ -732,49 +1119,50 @@ { "name": "Get a document", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/documents/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "documents", - ":id" - ], - "variable": [ - { - "key": "id", - "value": "", - "description": "The unique identifier of the document." - } - ], - "query": [ - ] - }, - "description": "Returns a document." - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/documents/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "documents", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "The unique identifier of the document." + } + ], + "query": [ + ] + }, + "description": "Returns a document." +} + ,"response": [ + ] } ] - } -, + }, { "name": "/documents/:id", "description": "Updates a document.", @@ -782,55 +1170,56 @@ { "name": "Update a document", "request": { - "method": "PATCH", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"type\" : \"proofOfIndustry\",\n \"description\" : \"Proof of industry doc for Example Company\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/documents/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "documents", - ":id" - ], - "variable": [ - { - "key": "id", - "value": "", - "description": "The unique identifier of the document to be updated." - } - ], - "query": [ - ] - }, - "description": "Updates a document." - } + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"type\" : \"proofOfIndustry\",\n \"description\" : \"Proof of industry doc for Example Company\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/documents/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "documents", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "The unique identifier of the document to be updated." + } + ], + "query": [ + ] + }, + "description": "Updates a document." +} + ,"response": [ + ] } ] } - ] }, { @@ -843,49 +1232,50 @@ { "name": "Create an account holder", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"description\" : \"Liable account holder used for international payments and payouts\",\n \"reference\" : \"S.Eller-001\",\n \"legalEntityId\" : \"LE322JV223222D5GG42KN6869\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/accountHolders", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "accountHolders" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Creates an account holder linked to a [legal entity](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/legalEntities). " - } + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"description\" : \"Liable account holder used for international payments and payouts\",\n \"reference\" : \"S.Eller-001\",\n \"legalEntityId\" : \"LE322JV223222D5GG42KN6869\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/accountHolders", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "accountHolders" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates an account holder linked to a [legal entity](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/legalEntities). " +} + ,"response": [ + ] } ] - } -, + }, { "name": "/accountHolders/:id", "description": "Returns an account holder.", @@ -893,49 +1283,50 @@ { "name": "Get an account holder", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/accountHolders/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "accountHolders", - ":id" - ], - "variable": [ - { - "key": "id", - "value": "", - "description": "The unique identifier of the account holder." - } - ], - "query": [ - ] - }, - "description": "Returns an account holder." - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/accountHolders/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "accountHolders", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "The unique identifier of the account holder." + } + ], + "query": [ + ] + }, + "description": "Returns an account holder." +} + ,"response": [ + ] } ] - } -, + }, { "name": "/accountHolders/:id", "description": "Updates an account holder. When updating an account holder resource, if a parameter is not provided in the request, it is left unchanged.", @@ -943,104 +1334,221 @@ { "name": "Request account holder capability", "request": { - "method": "PATCH", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"description\" : \"Liable account holder used for international payments and payouts\",\n \"reference\" : \"S.Eller-001\",\n \"legalEntityId\" : \"LE322JV223222D5GG42KN6869\",\n \"capabilities\" : {\n \"receivePayments\" : {\n \"requested\" : true\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/accountHolders/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "accountHolders", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "The unique identifier of the account holder." + } + ], + "query": [ + ] + }, + "description": "Updates an account holder. When updating an account holder resource, if a parameter is not provided in the request, it is left unchanged." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"balancePlatform\" : \"APIExplorer\",\n \"description\" : \"Liable account holder used for international payments and payouts\",\n \"legalEntityId\" : \"LE322JV223222F5GKQZZ9DS99\",\n \"reference\" : \"S.Eller-001\",\n \"capabilities\" : {\n \"receivePayments\" : {\n \"enabled\" : false,\n \"requested\" : true,\n \"allowed\" : false,\n \"verificationStatus\" : \"pending\"\n }\n },\n \"id\" : \"AH3227C223222C5GKR23686TF\",\n \"status\" : \"Active\"\n}", + "originalRequest": { + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"description\" : \"Liable account holder used for international payments and payouts\",\n \"reference\" : \"S.Eller-001\",\n \"legalEntityId\" : \"LE322JV223222D5GG42KN6869\",\n \"capabilities\" : {\n \"receivePayments\" : {\n \"requested\" : true\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/accountHolders/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "accountHolders", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "The unique identifier of the account holder." + } + ], + "query": [ + ] + }, + "description": "Updates an account holder. When updating an account holder resource, if a parameter is not provided in the request, it is left unchanged." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"description\" : \"Liable account holder used for international payments and payouts\",\n \"reference\" : \"S.Eller-001\",\n \"legalEntityId\" : \"LE322JV223222D5GG42KN6869\",\n \"capabilities\" : {\n \"receivePayments\" : {\n \"requested\" : true\n }\n }\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/accountHolders/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "accountHolders", - ":id" - ], - "variable": [ - { - "key": "id", - "value": "", - "description": "The unique identifier of the account holder." - } - ], - "query": [ - ] - }, - "description": "Updates an account holder. When updating an account holder resource, if a parameter is not provided in the request, it is left unchanged." - } + ] }, { "name": "Deactivate account holder", "request": { - "method": "PATCH", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"status\" : \"Closed\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/accountHolders/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "accountHolders", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "The unique identifier of the account holder." + } + ], + "query": [ + ] + }, + "description": "Updates an account holder. When updating an account holder resource, if a parameter is not provided in the request, it is left unchanged." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"balancePlatform\" : \"APIExplorer\",\n \"description\" : \"Liable account holder used for international payments and payouts\",\n \"legalEntityId\" : \"LE322JV223222F5GKQZZ9DS99\",\n \"reference\" : \"S.Eller-001\",\n \"id\" : \"AH3227C223222C5GKR23686TF\",\n \"status\" : \"Closed\"\n}", + "originalRequest": { + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"status\" : \"Closed\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/accountHolders/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "accountHolders", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "The unique identifier of the account holder." + } + ], + "query": [ + ] + }, + "description": "Updates an account holder. When updating an account holder resource, if a parameter is not provided in the request, it is left unchanged." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"status\" : \"Closed\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/accountHolders/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "accountHolders", - ":id" - ], - "variable": [ - { - "key": "id", - "value": "", - "description": "The unique identifier of the account holder." - } - ], - "query": [ - ] - }, - "description": "Updates an account holder. When updating an account holder resource, if a parameter is not provided in the request, it is left unchanged." - } + ] } ] - } -, + }, { "name": "/accountHolders/:id/balanceAccounts", "description": "Returns a paginated list of the balance accounts associated with an account holder. To fetch multiple pages, use the query parameters. For example, to limit the page to 5 balance accounts and skip the first 10, use `/accountHolders/{id}/balanceAccounts?limit=5&offset=10`.", @@ -1048,62 +1556,63 @@ { "name": "Get all balance accounts of an account holder", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/accountHolders/:id/balanceAccounts", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "accountHolders", - ":id", - "balanceAccounts" - ], - "variable": [ - { - "key": "id", - "value": "", - "description": "The unique identifier of the account holder." - } - ], - "query": [ - { - "key": "offset", - "value": "56", - "description": "The number of items that you want to skip.", - "disabled": true - }, - { - "key": "limit", - "value": "56", - "description": "The number of items returned per page, maximum 100 items. By default, the response returns 10 items per page.", - "disabled": true - } - ] - }, - "description": "Returns a paginated list of the balance accounts associated with an account holder. To fetch multiple pages, use the query parameters. For example, to limit the page to 5 balance accounts and skip the first 10, use `/accountHolders/{id}/balanceAccounts?limit=5&offset=10`." - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/accountHolders/:id/balanceAccounts", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "accountHolders", + ":id", + "balanceAccounts" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "The unique identifier of the account holder." + } + ], + "query": [ + { + "key": "offset", + "value": "56", + "description": "The number of items that you want to skip.", + "disabled": true + }, + { + "key": "limit", + "value": "56", + "description": "The number of items returned per page, maximum 100 items. By default, the response returns 10 items per page.", + "disabled": true + } + ] + }, + "description": "Returns a paginated list of the balance accounts associated with an account holder. To fetch multiple pages, use the query parameters. For example, to limit the page to 5 balance accounts and skip the first 10, use `/accountHolders/{id}/balanceAccounts?limit=5&offset=10`." +} + ,"response": [ + ] } ] } - ] }, { @@ -1116,178 +1625,389 @@ { "name": "Create a business account in NL", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"type\" : \"bankAccount\",\n \"description\" : \"YOUR_DESCRIPTION\",\n \"balanceAccountId\" : \"BA3227C223222B5CTBLR8BWJB\",\n \"issuingCountryCode\" : \"NL\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentInstruments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentInstruments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates a payment instrument to issue a physical card, a virtual card, or a business account to your user. For more information, refer to [Issue cards](https://docs.adyen.com/issuing/create-cards) or [Issue business accounts](https://docs.adyen.com/marketplaces-and-platforms/business-accounts)." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"balanceAccountId\" : \"BA3227C223222B5CTBLR8BWJB\",\n \"issuingCountryCode\" : \"NL\",\n \"status\" : \"Active\",\n \"type\" : \"bankAccount\",\n \"description\" : \"YOUR_DESCRIPTION\",\n \"bankAccount\" : {\n \"iban\" : \"NL20ADYB2017000035\"\n },\n \"id\" : \"PI322LJ223222B5DJS7CD9LWL\"\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"type\" : \"bankAccount\",\n \"description\" : \"YOUR_DESCRIPTION\",\n \"balanceAccountId\" : \"BA3227C223222B5CTBLR8BWJB\",\n \"issuingCountryCode\" : \"NL\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentInstruments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentInstruments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates a payment instrument to issue a physical card, a virtual card, or a business account to your user. For more information, refer to [Issue cards](https://docs.adyen.com/issuing/create-cards) or [Issue business accounts](https://docs.adyen.com/marketplaces-and-platforms/business-accounts)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"type\" : \"bankAccount\",\n \"description\" : \"YOUR_DESCRIPTION\",\n \"balanceAccountId\" : \"BA3227C223222B5CTBLR8BWJB\",\n \"issuingCountryCode\" : \"NL\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentInstruments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentInstruments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Creates a payment instrument to issue a physical card, a virtual card, or a business account to your user. For more information, refer to [Issue cards](https://docs.adyen.com/issuing/create-cards) or [Issue business accounts](https://docs.adyen.com/marketplaces-and-platforms/business-accounts)." - } + ] }, { "name": "Create a business account in the US", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"type\" : \"bankAccount\",\n \"description\" : \"YOUR_DESCRIPTION\",\n \"balanceAccountId\" : \"BA3227C223222B5CTBLR8BWJB\",\n \"issuingCountryCode\" : \"US\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentInstruments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentInstruments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates a payment instrument to issue a physical card, a virtual card, or a business account to your user. For more information, refer to [Issue cards](https://docs.adyen.com/issuing/create-cards) or [Issue business accounts](https://docs.adyen.com/marketplaces-and-platforms/business-accounts)." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"balanceAccountId\" : \"BA3227C223222B5CTBLR8BWJB\",\n \"issuingCountryCode\" : \"US\",\n \"status\" : \"Active\",\n \"type\" : \"bankAccount\",\n \"description\" : \"YOUR_DESCRIPTION\",\n \"bankAccount\" : {\n \"accountNumber\" : \"333720756\",\n \"routingNumber\" : \"21000021\",\n \"accountType\" : \"checking\"\n },\n \"id\" : \"PI322LJ223222B5DJS7CD9LWL\"\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"type\" : \"bankAccount\",\n \"description\" : \"YOUR_DESCRIPTION\",\n \"balanceAccountId\" : \"BA3227C223222B5CTBLR8BWJB\",\n \"issuingCountryCode\" : \"US\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentInstruments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentInstruments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates a payment instrument to issue a physical card, a virtual card, or a business account to your user. For more information, refer to [Issue cards](https://docs.adyen.com/issuing/create-cards) or [Issue business accounts](https://docs.adyen.com/marketplaces-and-platforms/business-accounts)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"type\" : \"bankAccount\",\n \"description\" : \"YOUR_DESCRIPTION\",\n \"balanceAccountId\" : \"BA3227C223222B5CTBLR8BWJB\",\n \"issuingCountryCode\" : \"US\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentInstruments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentInstruments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Creates a payment instrument to issue a physical card, a virtual card, or a business account to your user. For more information, refer to [Issue cards](https://docs.adyen.com/issuing/create-cards) or [Issue business accounts](https://docs.adyen.com/marketplaces-and-platforms/business-accounts)." - } + ] }, { "name": "Create a physical card", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"type\" : \"card\",\n \"issuingCountryCode\" : \"NL\",\n \"balanceAccountId\" : \"BA32272223222B59CZ3T52DKZ\",\n \"description\" : \"S.Hopper - Main card\",\n \"status\" : \"Inactive\",\n \"card\" : {\n \"formFactor\" : \"physical\",\n \"brand\" : \"mc\",\n \"brandVariant\" : \"mcdebit\",\n \"cardholderName\" : \"Sam Hopper\",\n \"deliveryContact\" : {\n \"address\" : {\n \"houseNumberOrName\" : \"64\",\n \"street\" : \"Brannan Street\",\n \"postalCode\" : \"1020CD\",\n \"city\" : \"Amsterdam\",\n \"country\" : \"NL\"\n },\n \"name\" : {\n \"firstName\" : \"Sam\",\n \"lastName\" : \"Hopper\"\n }\n },\n \"configuration\" : {\n \"configurationProfileId\" : \"CP123AB45678C91ABCD2ABCDE\"\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentInstruments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentInstruments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates a payment instrument to issue a physical card, a virtual card, or a business account to your user. For more information, refer to [Issue cards](https://docs.adyen.com/issuing/create-cards) or [Issue business accounts](https://docs.adyen.com/marketplaces-and-platforms/business-accounts)." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"balanceAccountId\" : \"BA32272223222B59CZ3T52DKZ\",\n \"description\" : \"S. Hopper - Main card\",\n \"issuingCountryCode\" : \"NL\",\n \"status\" : \"Inactive\",\n \"type\" : \"card\",\n \"card\" : {\n \"brand\" : \"mc\",\n \"brandVariant\" : \"mcdebit\",\n \"cardholderName\" : \"Sam Hopper\",\n \"formFactor\" : \"physical\",\n \"number\" : \"************5785\",\n \"bin\" : \"555544\",\n \"expiration\" : {\n \"month\" : \"08\",\n \"year\" : \"2024\"\n },\n \"lastFour\" : \"2765\",\n \"authentication\" : {\n \"password\" : \"******\",\n \"phone\" : {\n \"number\" : \"+123456789\",\n \"type\" : \"mobile\"\n }\n },\n \"deliveryContact\" : {\n \"address\" : {\n \"houseNumberOrName\" : \"64\",\n \"street\" : \"Brannan Street\",\n \"postalCode\" : \"1020CD\",\n \"city\" : \"Amsterdam\",\n \"country\" : \"NL\"\n },\n \"name\" : {\n \"firstName\" : \"Sam\",\n \"lastName\" : \"Hopper\"\n }\n },\n \"configuration\" : {\n \"configurationProfileId\" : \"CP123AB45678C91ABCD2ABCDE\"\n }\n },\n \"id\" : \"PI3227C223222B5BPCMFXD2XG\"\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"type\" : \"card\",\n \"issuingCountryCode\" : \"NL\",\n \"balanceAccountId\" : \"BA32272223222B59CZ3T52DKZ\",\n \"description\" : \"S.Hopper - Main card\",\n \"status\" : \"Inactive\",\n \"card\" : {\n \"formFactor\" : \"physical\",\n \"brand\" : \"mc\",\n \"brandVariant\" : \"mcdebit\",\n \"cardholderName\" : \"Sam Hopper\",\n \"deliveryContact\" : {\n \"address\" : {\n \"houseNumberOrName\" : \"64\",\n \"street\" : \"Brannan Street\",\n \"postalCode\" : \"1020CD\",\n \"city\" : \"Amsterdam\",\n \"country\" : \"NL\"\n },\n \"name\" : {\n \"firstName\" : \"Sam\",\n \"lastName\" : \"Hopper\"\n }\n },\n \"configuration\" : {\n \"configurationProfileId\" : \"CP123AB45678C91ABCD2ABCDE\"\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentInstruments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentInstruments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates a payment instrument to issue a physical card, a virtual card, or a business account to your user. For more information, refer to [Issue cards](https://docs.adyen.com/issuing/create-cards) or [Issue business accounts](https://docs.adyen.com/marketplaces-and-platforms/business-accounts)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"type\" : \"card\",\n \"issuingCountryCode\" : \"NL\",\n \"balanceAccountId\" : \"BA32272223222B59CZ3T52DKZ\",\n \"description\" : \"S.Hopper - Main card\",\n \"status\" : \"Inactive\",\n \"card\" : {\n \"formFactor\" : \"physical\",\n \"brand\" : \"mc\",\n \"brandVariant\" : \"mcdebit\",\n \"cardholderName\" : \"Sam Hopper\",\n \"deliveryContact\" : {\n \"address\" : {\n \"houseNumberOrName\" : \"64\",\n \"street\" : \"Brannan Street\",\n \"postalCode\" : \"1020CD\",\n \"city\" : \"Amsterdam\",\n \"country\" : \"NL\"\n },\n \"name\" : {\n \"firstName\" : \"Sam\",\n \"lastName\" : \"Hopper\"\n }\n },\n \"configuration\" : {\n \"configurationProfileId\" : \"CP123AB45678C91ABCD2ABCDE\"\n }\n }\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentInstruments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentInstruments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Creates a payment instrument to issue a physical card, a virtual card, or a business account to your user. For more information, refer to [Issue cards](https://docs.adyen.com/issuing/create-cards) or [Issue business accounts](https://docs.adyen.com/marketplaces-and-platforms/business-accounts)." - } + ] }, { "name": "Create a virtual card", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"type\" : \"card\",\n \"description\" : \"S. Hopper - Main card\",\n \"balanceAccountId\" : \"BA32272223222B59CZ3T52DKZ\",\n \"issuingCountryCode\" : \"NL\",\n \"card\" : {\n \"cardholderName\" : \"Sam Hopper\",\n \"brand\" : \"mc\",\n \"brandVariant\" : \"mcdebit\",\n \"formFactor\" : \"virtual\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentInstruments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentInstruments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates a payment instrument to issue a physical card, a virtual card, or a business account to your user. For more information, refer to [Issue cards](https://docs.adyen.com/issuing/create-cards) or [Issue business accounts](https://docs.adyen.com/marketplaces-and-platforms/business-accounts)." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"balanceAccountId\" : \"BA32272223222B59CZ3T52DKZ\",\n \"description\" : \"S.Hopper - Virtual card\",\n \"issuingCountryCode\" : \"NL\",\n \"status\" : \"Active\",\n \"type\" : \"card\",\n \"card\" : {\n \"brand\" : \"mc\",\n \"brandVariant\" : \"mcdebit\",\n \"cardholderName\" : \"Sam Hopper\",\n \"formFactor\" : \"virtual\",\n \"bin\" : \"555544\",\n \"cvc\" : \"613\",\n \"expiration\" : {\n \"month\" : \"03\",\n \"year\" : \"2025\"\n },\n \"lastFour\" : \"9883\",\n \"number\" : \"5555444411209883\"\n },\n \"id\" : \"PI32272223222B5FR7Z5CFDW4\"\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"type\" : \"card\",\n \"description\" : \"S. Hopper - Main card\",\n \"balanceAccountId\" : \"BA32272223222B59CZ3T52DKZ\",\n \"issuingCountryCode\" : \"NL\",\n \"card\" : {\n \"cardholderName\" : \"Sam Hopper\",\n \"brand\" : \"mc\",\n \"brandVariant\" : \"mcdebit\",\n \"formFactor\" : \"virtual\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentInstruments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentInstruments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates a payment instrument to issue a physical card, a virtual card, or a business account to your user. For more information, refer to [Issue cards](https://docs.adyen.com/issuing/create-cards) or [Issue business accounts](https://docs.adyen.com/marketplaces-and-platforms/business-accounts)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"type\" : \"card\",\n \"description\" : \"S. Hopper - Main card\",\n \"balanceAccountId\" : \"BA32272223222B59CZ3T52DKZ\",\n \"issuingCountryCode\" : \"NL\",\n \"card\" : {\n \"cardholderName\" : \"Sam Hopper\",\n \"brand\" : \"mc\",\n \"brandVariant\" : \"mcdebit\",\n \"formFactor\" : \"virtual\"\n }\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentInstruments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentInstruments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Creates a payment instrument to issue a physical card, a virtual card, or a business account to your user. For more information, refer to [Issue cards](https://docs.adyen.com/issuing/create-cards) or [Issue business accounts](https://docs.adyen.com/marketplaces-and-platforms/business-accounts)." - } + ] } ] - } -, + }, { "name": "/paymentInstruments/:id", "description": "Returns the details of a payment instrument.", @@ -1295,49 +2015,50 @@ { "name": "Get a payment instrument", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentInstruments/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentInstruments", - ":id" - ], - "variable": [ - { - "key": "id", - "value": "", - "description": "The unique identifier of the payment instrument." - } - ], - "query": [ - ] - }, - "description": "Returns the details of a payment instrument." - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentInstruments/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentInstruments", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "The unique identifier of the payment instrument." + } + ], + "query": [ + ] + }, + "description": "Returns the details of a payment instrument." +} + ,"response": [ + ] } ] - } -, + }, { "name": "/paymentInstruments/:id", "description": "Updates a payment instrument. Once a payment instrument is already active, you can only update its status. However, for cards created with **inactive** status, you can still update the balance account associated with the card.", @@ -1345,104 +2066,221 @@ { "name": "Update the balance account linked to a payment instrument", "request": { - "method": "PATCH", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"balanceAccountId\" : \"BA32272223222B5CM82WL892M\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentInstruments/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentInstruments", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "The unique identifier of the payment instrument." + } + ], + "query": [ + ] + }, + "description": "Updates a payment instrument. Once a payment instrument is already active, you can only update its status. However, for cards created with **inactive** status, you can still update the balance account associated with the card." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"balanceAccountId\" : \"BA32272223222B5CM82WL892M\",\n \"description\" : \"S. Hopper - Main card\",\n \"issuingCountryCode\" : \"GB\",\n \"status\" : \"Inactive\",\n \"type\" : \"card\",\n \"card\" : {\n \"brand\" : \"mc\",\n \"brandVariant\" : \"mcdebit\",\n \"cardholderName\" : \"Simon Hopper\",\n \"formFactor\" : \"virtual\",\n \"bin\" : \"555544\",\n \"expiration\" : {\n \"month\" : \"01\",\n \"year\" : \"2024\"\n },\n \"lastFour\" : \"5785\",\n \"number\" : \"************5785\"\n },\n \"id\" : \"PI3227C223222B5CMD278FKGS\"\n}", + "originalRequest": { + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"balanceAccountId\" : \"BA32272223222B5CM82WL892M\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentInstruments/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentInstruments", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "The unique identifier of the payment instrument." + } + ], + "query": [ + ] + }, + "description": "Updates a payment instrument. Once a payment instrument is already active, you can only update its status. However, for cards created with **inactive** status, you can still update the balance account associated with the card." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"balanceAccountId\" : \"BA32272223222B5CM82WL892M\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentInstruments/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentInstruments", - ":id" - ], - "variable": [ - { - "key": "id", - "value": "", - "description": "The unique identifier of the payment instrument." - } - ], - "query": [ - ] - }, - "description": "Updates a payment instrument. Once a payment instrument is already active, you can only update its status. However, for cards created with **inactive** status, you can still update the balance account associated with the card." - } + ] }, { "name": "Update the status of a payment instrument", "request": { - "method": "PATCH", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"status\" : \"Suspended\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentInstruments/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentInstruments", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "The unique identifier of the payment instrument." + } + ], + "query": [ + ] + }, + "description": "Updates a payment instrument. Once a payment instrument is already active, you can only update its status. However, for cards created with **inactive** status, you can still update the balance account associated with the card." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"balanceAccountId\" : \"BA32272223222B59CZ3T52DKZ\",\n \"description\" : \"S. Hopper - Main card\",\n \"issuingCountryCode\" : \"GB\",\n \"status\" : \"Suspended\",\n \"type\" : \"card\",\n \"card\" : {\n \"brand\" : \"mc\",\n \"brandVariant\" : \"mcdebit\",\n \"cardholderName\" : \"Simon Hopper\",\n \"formFactor\" : \"virtual\",\n \"bin\" : \"555544\",\n \"expiration\" : {\n \"month\" : \"01\",\n \"year\" : \"2024\"\n },\n \"lastFour\" : \"5785\",\n \"number\" : \"************5785\"\n },\n \"id\" : \"PI3227C223222B5CMD278FKGS\"\n}", + "originalRequest": { + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"status\" : \"Suspended\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentInstruments/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentInstruments", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "The unique identifier of the payment instrument." + } + ], + "query": [ + ] + }, + "description": "Updates a payment instrument. Once a payment instrument is already active, you can only update its status. However, for cards created with **inactive** status, you can still update the balance account associated with the card." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"status\" : \"Suspended\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentInstruments/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentInstruments", - ":id" - ], - "variable": [ - { - "key": "id", - "value": "", - "description": "The unique identifier of the payment instrument." - } - ], - "query": [ - ] - }, - "description": "Updates a payment instrument. Once a payment instrument is already active, you can only update its status. However, for cards created with **inactive** status, you can still update the balance account associated with the card." - } + ] } ] - } -, + }, { "name": "/paymentInstruments/:id/reveal", "description": "Returns the primary account number (PAN) of a payment instrument. To make this request, your API credential must have the following [role](https://docs.adyen.com/issuing/manage-access/api-credentials-web-service#api-permissions): * Balance Platform BCL PCI role", @@ -1450,50 +2288,51 @@ { "name": "Get the PAN of a payment instrument", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentInstruments/:id/reveal", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentInstruments", - ":id", - "reveal" - ], - "variable": [ - { - "key": "id", - "value": "", - "description": "The unique identifier of the payment instrument." - } - ], - "query": [ - ] - }, - "description": "Returns the primary account number (PAN) of a payment instrument. To make this request, your API credential must have the following [role](https://docs.adyen.com/issuing/manage-access/api-credentials-web-service#api-permissions): * Balance Platform BCL PCI role" - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentInstruments/:id/reveal", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentInstruments", + ":id", + "reveal" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "The unique identifier of the payment instrument." + } + ], + "query": [ + ] + }, + "description": "Returns the primary account number (PAN) of a payment instrument. To make this request, your API credential must have the following [role](https://docs.adyen.com/issuing/manage-access/api-credentials-web-service#api-permissions): * Balance Platform BCL PCI role" +} + ,"response": [ + ] } ] - } -, + }, { "name": "/paymentInstruments/:id/transactionRules", "description": "Returns a list of transaction rules associated with a payment instrument.", @@ -1501,50 +2340,51 @@ { "name": "Get all transaction rules for a payment instrument", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentInstruments/:id/transactionRules", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentInstruments", - ":id", - "transactionRules" - ], - "variable": [ - { - "key": "id", - "value": "", - "description": "The unique identifier of the payment instrument." - } - ], - "query": [ - ] - }, - "description": "Returns a list of transaction rules associated with a payment instrument." - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentInstruments/:id/transactionRules", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentInstruments", + ":id", + "transactionRules" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "The unique identifier of the payment instrument." + } + ], + "query": [ + ] + }, + "description": "Returns a list of transaction rules associated with a payment instrument." +} + ,"response": [ + ] } ] } - ] }, { @@ -1557,92 +2397,197 @@ { "name": "Validate an IBAN", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"accountIdentification\" : {\n \"type\" : \"iban\",\n \"iban\" : \"1001001234\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/validateBankAccountIdentification", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "validateBankAccountIdentification" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Validates bank account identification details. You can use this endpoint to validate bank account details before you [make a transfer](https://docs.adyen.com/api-explorer/transfers/latest/post/transfers) or [create a transfer instrument](https://docs.adyen.com/api-explorer/legalentity/latest/post/transferInstruments)." +} + ,"response": [ + {"name": "Unprocessable Entity - a request validation error.", + "code": 422, + "status": "Unprocessable Entity", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"type\" : \"https://docs.adyen.com/errors/validation\",\n \"title\" : \"Invalid bank account identification details provided\",\n \"status\" : 422,\n \"invalidFields\" : [ {\n \"name\" : \"iban\",\n \"message\" : \"Invalid IBAN.\"\n } ],\n \"errorCode\" : \"33_01\"\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"accountIdentification\" : {\n \"type\" : \"iban\",\n \"iban\" : \"1001001234\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/validateBankAccountIdentification", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "validateBankAccountIdentification" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Validates bank account identification details. You can use this endpoint to validate bank account details before you [make a transfer](https://docs.adyen.com/api-explorer/transfers/latest/post/transfers) or [create a transfer instrument](https://docs.adyen.com/api-explorer/legalentity/latest/post/transferInstruments)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"accountIdentification\" : {\n \"type\" : \"iban\",\n \"iban\" : \"1001001234\"\n }\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/validateBankAccountIdentification", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "validateBankAccountIdentification" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Validates bank account identification details. You can use this endpoint to validate bank account details before you [make a transfer](https://docs.adyen.com/api-explorer/transfers/latest/post/transfers) or [create a transfer instrument](https://docs.adyen.com/api-explorer/legalentity/latest/post/transferInstruments)." - } + ] }, { "name": "Validate a US bank account", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"accountIdentification\" : {\n \"type\" : \"usLocal\",\n \"accountNumber\" : \"12345JHDhjkf67890\",\n \"routingNumber\" : \"121000cxhgjhzxg248\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/validateBankAccountIdentification", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "validateBankAccountIdentification" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Validates bank account identification details. You can use this endpoint to validate bank account details before you [make a transfer](https://docs.adyen.com/api-explorer/transfers/latest/post/transfers) or [create a transfer instrument](https://docs.adyen.com/api-explorer/legalentity/latest/post/transferInstruments)." +} + ,"response": [ + {"name": "Unprocessable Entity - a request validation error.", + "code": 422, + "status": "Unprocessable Entity", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"type\" : \"https://docs.adyen.com/errors/validation\",\n \"title\" : \"Invalid bank account identification details provided\",\n \"status\" : 422,\n \"invalidFields\" : [ {\n \"name\" : \"accountNumber\",\n \"message\" : \"Invalid account number.\"\n }, {\n \"name\" : \"routingNumber\",\n \"message\" : \"Invalid routing number.\"\n } ],\n \"errorCode\" : \"33_01\"\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"accountIdentification\" : {\n \"type\" : \"usLocal\",\n \"accountNumber\" : \"12345JHDhjkf67890\",\n \"routingNumber\" : \"121000cxhgjhzxg248\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/validateBankAccountIdentification", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "validateBankAccountIdentification" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Validates bank account identification details. You can use this endpoint to validate bank account details before you [make a transfer](https://docs.adyen.com/api-explorer/transfers/latest/post/transfers) or [create a transfer instrument](https://docs.adyen.com/api-explorer/legalentity/latest/post/transferInstruments)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"accountIdentification\" : {\n \"type\" : \"usLocal\",\n \"accountNumber\" : \"12345JHDhjkf67890\",\n \"routingNumber\" : \"121000cxhgjhzxg248\"\n }\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/validateBankAccountIdentification", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "validateBankAccountIdentification" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Validates bank account identification details. You can use this endpoint to validate bank account details before you [make a transfer](https://docs.adyen.com/api-explorer/transfers/latest/post/transfers) or [create a transfer instrument](https://docs.adyen.com/api-explorer/legalentity/latest/post/transferInstruments)." - } + ] } ] } - ] }, { @@ -1655,92 +2600,197 @@ { "name": "Add a EUR bank account", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"legalEntityId\" : \"LE322KH223222D5GG4C9J83RN\",\n \"type\" : \"bankAccount\",\n \"bankAccount\" : {\n \"countryCode\" : \"NL\",\n \"currencyCode\" : \"EUR\",\n \"iban\" : \"NL62ABNA0000000123\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/transferInstruments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "transferInstruments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates a transfer instrument. A transfer instrument is a bank account that a legal entity owns. Adyen performs verification checks on the transfer instrument as required by payment industry regulations. We inform you of the verification results through webhooks or API responses. When the transfer instrument passes the verification checks, you can start sending funds from the balance platform to the transfer instrument (such as payouts)." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"bankAccount\" : {\n \"countryCode\" : \"NL\",\n \"currencyCode\" : \"EUR\",\n \"iban\" : \"NL62ABNA0000000123\"\n },\n \"legalEntityId\" : \"LE322KH223222D5GG4C9J83RN\",\n \"type\" : \"bankAccount\",\n \"id\" : \"SE576BH223222F5GJVKHH6BDT\"\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"legalEntityId\" : \"LE322KH223222D5GG4C9J83RN\",\n \"type\" : \"bankAccount\",\n \"bankAccount\" : {\n \"countryCode\" : \"NL\",\n \"currencyCode\" : \"EUR\",\n \"iban\" : \"NL62ABNA0000000123\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/transferInstruments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "transferInstruments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates a transfer instrument. A transfer instrument is a bank account that a legal entity owns. Adyen performs verification checks on the transfer instrument as required by payment industry regulations. We inform you of the verification results through webhooks or API responses. When the transfer instrument passes the verification checks, you can start sending funds from the balance platform to the transfer instrument (such as payouts)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"legalEntityId\" : \"LE322KH223222D5GG4C9J83RN\",\n \"type\" : \"bankAccount\",\n \"bankAccount\" : {\n \"countryCode\" : \"NL\",\n \"currencyCode\" : \"EUR\",\n \"iban\" : \"NL62ABNA0000000123\"\n }\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/transferInstruments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "transferInstruments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Creates a transfer instrument. A transfer instrument is a bank account that a legal entity owns. Adyen performs verification checks on the transfer instrument as required by payment industry regulations. We inform you of the verification results through webhooks or API responses. When the transfer instrument passes the verification checks, you can start sending funds from the balance platform to the transfer instrument (such as payouts)." - } + ] }, { "name": "Add a USD bank account", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"legalEntityId\" : \"LE322JV223222D5GGMHPC2FPL\",\n \"type\" : \"bankAccount\",\n \"bankAccount\" : {\n \"countryCode\" : \"US\",\n \"currencyCode\" : \"USD\",\n \"accountNumber\" : \"0000000123\",\n \"branchCode\" : \"121202211\",\n \"accountType\" : \"checking\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/transferInstruments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "transferInstruments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates a transfer instrument. A transfer instrument is a bank account that a legal entity owns. Adyen performs verification checks on the transfer instrument as required by payment industry regulations. We inform you of the verification results through webhooks or API responses. When the transfer instrument passes the verification checks, you can start sending funds from the balance platform to the transfer instrument (such as payouts)." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"bankAccount\" : {\n \"accountNumber\" : \"0000000123\",\n \"accountType\" : \"checking\",\n \"branchCode\" : \"121202211\",\n \"countryCode\" : \"US\",\n \"currencyCode\" : \"USD\"\n },\n \"legalEntityId\" : \"LE322JV223222D5GGMHPC2FPL\",\n \"type\" : \"bankAccount\",\n \"id\" : \"SE322JV223222F5GJVKHH8DTC\"\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"legalEntityId\" : \"LE322JV223222D5GGMHPC2FPL\",\n \"type\" : \"bankAccount\",\n \"bankAccount\" : {\n \"countryCode\" : \"US\",\n \"currencyCode\" : \"USD\",\n \"accountNumber\" : \"0000000123\",\n \"branchCode\" : \"121202211\",\n \"accountType\" : \"checking\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/transferInstruments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "transferInstruments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates a transfer instrument. A transfer instrument is a bank account that a legal entity owns. Adyen performs verification checks on the transfer instrument as required by payment industry regulations. We inform you of the verification results through webhooks or API responses. When the transfer instrument passes the verification checks, you can start sending funds from the balance platform to the transfer instrument (such as payouts)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"legalEntityId\" : \"LE322JV223222D5GGMHPC2FPL\",\n \"type\" : \"bankAccount\",\n \"bankAccount\" : {\n \"countryCode\" : \"US\",\n \"currencyCode\" : \"USD\",\n \"accountNumber\" : \"0000000123\",\n \"branchCode\" : \"121202211\",\n \"accountType\" : \"checking\"\n }\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/transferInstruments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "transferInstruments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Creates a transfer instrument. A transfer instrument is a bank account that a legal entity owns. Adyen performs verification checks on the transfer instrument as required by payment industry regulations. We inform you of the verification results through webhooks or API responses. When the transfer instrument passes the verification checks, you can start sending funds from the balance platform to the transfer instrument (such as payouts)." - } + ] } ] - } -, + }, { "name": "/transferInstruments/:id", "description": "Deletes a transfer instrument.", @@ -1748,49 +2798,50 @@ { "name": "Delete a transfer instrument", "request": { - "method": "DELETE", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/transferInstruments/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "transferInstruments", - ":id" - ], - "variable": [ - { - "key": "id", - "value": "", - "description": "The unique identifier of the transfer instrument to be deleted." - } - ], - "query": [ - ] - }, - "description": "Deletes a transfer instrument." - } + "method": "DELETE", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/transferInstruments/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "transferInstruments", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "The unique identifier of the transfer instrument to be deleted." + } + ], + "query": [ + ] + }, + "description": "Deletes a transfer instrument." +} + ,"response": [ + ] } ] - } -, + }, { "name": "/transferInstruments/:id", "description": "Returns the details of a transfer instrument.", @@ -1798,49 +2849,50 @@ { "name": "Get a transfer instrument", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/transferInstruments/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "transferInstruments", - ":id" - ], - "variable": [ - { - "key": "id", - "value": "", - "description": "The unique identifier of the transfer instrument." - } - ], - "query": [ - ] - }, - "description": "Returns the details of a transfer instrument." - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/transferInstruments/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "transferInstruments", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "The unique identifier of the transfer instrument." + } + ], + "query": [ + ] + }, + "description": "Returns the details of a transfer instrument." +} + ,"response": [ + ] } ] - } -, + }, { "name": "/transferInstruments/:id", "description": "Updates a transfer instrument.", @@ -1848,55 +2900,56 @@ { "name": "Update a transfer instrument", "request": { - "method": "PATCH", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"bankAccount\": \"\",\n \"legalEntityId\": \"\",\n \"type\": \"\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/transferInstruments/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "transferInstruments", - ":id" - ], - "variable": [ - { - "key": "id", - "value": "", - "description": "The unique identifier of the transfer instrument." - } - ], - "query": [ - ] - }, - "description": "Updates a transfer instrument." - } + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"bankAccount\": \"\",\n \"legalEntityId\": \"\",\n \"type\": \"\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/transferInstruments/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "transferInstruments", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "The unique identifier of the transfer instrument." + } + ], + "query": [ + ] + }, + "description": "Updates a transfer instrument." +} + ,"response": [ + ] } ] } - ] }, { @@ -1909,49 +2962,50 @@ { "name": "Create a balance account", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"accountHolderId\" : \"AH32272223222C5GXTD343TKP\",\n \"description\" : \"S.Hopper - Main balance account\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/balanceAccounts", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "balanceAccounts" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Creates a balance account that holds the funds of the associated account holder." - } + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"accountHolderId\" : \"AH32272223222C5GXTD343TKP\",\n \"description\" : \"S.Hopper - Main balance account\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/balanceAccounts", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "balanceAccounts" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates a balance account that holds the funds of the associated account holder." +} + ,"response": [ + ] } ] - } -, + }, { "name": "/balanceAccounts/:id", "description": "Returns a balance account and its balances for the default currency and other currencies with a non-zero balance.", @@ -1959,49 +3013,50 @@ { "name": "Get a balance account", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/balanceAccounts/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "balanceAccounts", - ":id" - ], - "variable": [ - { - "key": "id", - "value": "", - "description": "The unique identifier of the balance account." - } - ], - "query": [ - ] - }, - "description": "Returns a balance account and its balances for the default currency and other currencies with a non-zero balance." - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/balanceAccounts/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "balanceAccounts", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "The unique identifier of the balance account." + } + ], + "query": [ + ] + }, + "description": "Returns a balance account and its balances for the default currency and other currencies with a non-zero balance." +} + ,"response": [ + ] } ] - } -, + }, { "name": "/balanceAccounts/:id", "description": "Updates a balance account.", @@ -2009,55 +3064,56 @@ { "name": "Update a balance account", "request": { - "method": "PATCH", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"accountHolderId\": \"\",\n \"defaultCurrencyCode\": \"\",\n \"description\": \"\",\n \"reference\": \"\",\n \"status\": \"\",\n \"sweepConfigurations\": \"\",\n \"timeZone\": \"\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/balanceAccounts/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "balanceAccounts", - ":id" - ], - "variable": [ - { - "key": "id", - "value": "", - "description": "The unique identifier of the balance account." - } - ], - "query": [ - ] - }, - "description": "Updates a balance account." - } + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"accountHolderId\": \"\",\n \"defaultCurrencyCode\": \"\",\n \"description\": \"\",\n \"reference\": \"\",\n \"status\": \"\",\n \"sweepConfigurations\": \"\",\n \"timeZone\": \"\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/balanceAccounts/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "balanceAccounts", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "The unique identifier of the balance account." + } + ], + "query": [ + ] + }, + "description": "Updates a balance account." +} + ,"response": [ + ] } ] - } -, + }, { "name": "/balanceAccounts/:id/paymentInstruments", "description": "Returns a paginated list of the payment instruments associated with a balance account. To fetch multiple pages, use the query parameters.For example, to limit the page to 3 payment instruments and to skip the first 6, use `/balanceAccounts/{id}/paymentInstruments?limit=3&offset=6`.", @@ -2065,62 +3121,63 @@ { "name": "Get all payment instruments for a balance account", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/balanceAccounts/:id/paymentInstruments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "balanceAccounts", - ":id", - "paymentInstruments" - ], - "variable": [ - { - "key": "id", - "value": "", - "description": "The unique identifier of the balance account." - } - ], - "query": [ - { - "key": "offset", - "value": "56", - "description": "The number of items that you want to skip.", - "disabled": true - }, - { - "key": "limit", - "value": "56", - "description": "The number of items returned per page, maximum 100 items. By default, the response returns 10 items per page.", - "disabled": true - } - ] - }, - "description": "Returns a paginated list of the payment instruments associated with a balance account. To fetch multiple pages, use the query parameters.For example, to limit the page to 3 payment instruments and to skip the first 6, use `/balanceAccounts/{id}/paymentInstruments?limit=3&offset=6`." - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/balanceAccounts/:id/paymentInstruments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "balanceAccounts", + ":id", + "paymentInstruments" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "The unique identifier of the balance account." + } + ], + "query": [ + { + "key": "offset", + "value": "56", + "description": "The number of items that you want to skip.", + "disabled": true + }, + { + "key": "limit", + "value": "56", + "description": "The number of items returned per page, maximum 100 items. By default, the response returns 10 items per page.", + "disabled": true + } + ] + }, + "description": "Returns a paginated list of the payment instruments associated with a balance account. To fetch multiple pages, use the query parameters.For example, to limit the page to 3 payment instruments and to skip the first 6, use `/balanceAccounts/{id}/paymentInstruments?limit=3&offset=6`." +} + ,"response": [ + ] } ] } - ] }, { @@ -2133,49 +3190,50 @@ { "name": "Create a transaction rule", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"description\" : \"Allow transactions only from NL\",\n \"reference\" : \"{{$guid}}_1738A\",\n \"paymentInstrumentId\" : \"PI32272223222B5FN64HK3KLM\",\n \"type\" : \"allowList\",\n \"countries\" : [ \"NL\" ],\n \"status\" : \"active\",\n \"interval\" : {\n \"type\" : \"perTransaction\"\n }\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/transactionRules", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "transactionRules" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Creates a [transaction rule](https://docs.adyen.com/issuing/transaction-rules). When your user makes a transaction with their Adyen-issued card, the transaction is allowed or declined based on the conditions and outcome defined in the transaction rule. You can apply the transaction rule to several cards, such as all the cards in your platform, or to a specific card. For use cases, see [examples](https://docs.adyen.com/issuing/transaction-rules/examples)." - } + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"description\" : \"Allow transactions only from NL\",\n \"reference\" : \"{{$guid}}_1738A\",\n \"paymentInstrumentId\" : \"PI32272223222B5FN64HK3KLM\",\n \"type\" : \"allowList\",\n \"countries\" : [ \"NL\" ],\n \"status\" : \"active\",\n \"interval\" : {\n \"type\" : \"perTransaction\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/transactionRules", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "transactionRules" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates a [transaction rule](https://docs.adyen.com/issuing/transaction-rules). When your user makes a transaction with their Adyen-issued card, the transaction is allowed or declined based on the conditions and outcome defined in the transaction rule. You can apply the transaction rule to several cards, such as all the cards in your platform, or to a specific card. For use cases, see [examples](https://docs.adyen.com/issuing/transaction-rules/examples)." +} + ,"response": [ + ] } ] - } -, + }, { "name": "/transactionRules/:transactionRuleId", "description": "Deletes a transaction rule.", @@ -2183,49 +3241,50 @@ { "name": "Delete a transaction rule", "request": { - "method": "DELETE", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/transactionRules/:transactionRuleId", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "transactionRules", - ":transactionRuleId" - ], - "variable": [ - { - "key": "transactionRuleId", - "value": "", - "description": "The unique identifier of the transaction rule." - } - ], - "query": [ - ] - }, - "description": "Deletes a transaction rule." - } + "method": "DELETE", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/transactionRules/:transactionRuleId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "transactionRules", + ":transactionRuleId" + ], + "variable": [ + { + "key": "transactionRuleId", + "value": "", + "description": "The unique identifier of the transaction rule." + } + ], + "query": [ + ] + }, + "description": "Deletes a transaction rule." +} + ,"response": [ + ] } ] - } -, + }, { "name": "/transactionRules/:transactionRuleId", "description": "Returns the details of a transaction rule.", @@ -2233,49 +3292,50 @@ { "name": "Get a transaction rule", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/transactionRules/:transactionRuleId", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "transactionRules", - ":transactionRuleId" - ], - "variable": [ - { - "key": "transactionRuleId", - "value": "", - "description": "The unique identifier of the transaction rule." - } - ], - "query": [ - ] - }, - "description": "Returns the details of a transaction rule." - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/transactionRules/:transactionRuleId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "transactionRules", + ":transactionRuleId" + ], + "variable": [ + { + "key": "transactionRuleId", + "value": "", + "description": "The unique identifier of the transaction rule." + } + ], + "query": [ + ] + }, + "description": "Returns the details of a transaction rule." +} + ,"response": [ + ] } ] - } -, + }, { "name": "/transactionRules/:transactionRuleId", "description": "Updates a transaction rule. * To update only the status of a transaction rule, send only the `status` parameter. All other parameters not provided in the request are left unchanged. * When updating any other parameter, you need to send all existing resource parameters. If you omit a parameter in the request, that parameter is removed from the resource.", @@ -2283,55 +3343,113 @@ { "name": "Update the status of transaction rule", "request": { - "method": "PATCH", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"status\" : \"inactive\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/transactionRules/:transactionRuleId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "transactionRules", + ":transactionRuleId" + ], + "variable": [ + { + "key": "transactionRuleId", + "value": "", + "description": "The unique identifier of the transaction rule." + } + ], + "query": [ + ] + }, + "description": "Updates a transaction rule. * To update only the status of a transaction rule, send only the `status` parameter. All other parameters not provided in the request are left unchanged. * When updating any other parameter, you need to send all existing resource parameters. If you omit a parameter in the request, that parameter is removed from the resource." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"description\" : \"Allow 5 transactions per month\",\n \"interval\" : {\n \"type\" : \"monthly\"\n },\n \"maxTransactions\" : 5,\n \"paymentInstrumentId\" : \"PI3227C223222B59KGTXP884R\",\n \"reference\" : \"myRule12345\",\n \"startDate\" : \"2021-01-21T12:46:35\",\n \"status\" : \"inactive\",\n \"type\" : \"velocity\",\n \"id\" : \"TR3227C223222B5B85CDV4DRS\"\n}", + "originalRequest": { + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"status\" : \"inactive\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/transactionRules/:transactionRuleId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "transactionRules", + ":transactionRuleId" + ], + "variable": [ + { + "key": "transactionRuleId", + "value": "", + "description": "The unique identifier of the transaction rule." + } + ], + "query": [ + ] + }, + "description": "Updates a transaction rule. * To update only the status of a transaction rule, send only the `status` parameter. All other parameters not provided in the request are left unchanged. * When updating any other parameter, you need to send all existing resource parameters. If you omit a parameter in the request, that parameter is removed from the resource." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"status\" : \"inactive\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/transactionRules/:transactionRuleId", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "transactionRules", - ":transactionRuleId" - ], - "variable": [ - { - "key": "transactionRuleId", - "value": "", - "description": "The unique identifier of the transaction rule." - } - ], - "query": [ - ] - }, - "description": "Updates a transaction rule. * To update only the status of a transaction rule, send only the `status` parameter. All other parameters not provided in the request are left unchanged. * When updating any other parameter, you need to send all existing resource parameters. If you omit a parameter in the request, that parameter is removed from the resource." - } + ] } ] } - ] } ], diff --git a/postman/BalancePlatformService-v2.json b/postman/BalancePlatformService-v2.json index d9d5909..941ea5a 100644 --- a/postman/BalancePlatformService-v2.json +++ b/postman/BalancePlatformService-v2.json @@ -19,49 +19,50 @@ { "name": "Get a balance platform", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/balancePlatforms/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "balancePlatforms", - ":id" - ], - "variable": [ - { - "key": "id", - "value": "", - "description": "The unique identifier of the balance platform." - } - ], - "query": [ - ] - }, - "description": "Returns a balance platform." - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/balancePlatforms/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "balancePlatforms", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "The unique identifier of the balance platform." + } + ], + "query": [ + ] + }, + "description": "Returns a balance platform." +} + ,"response": [ + ] } ] - } -, + }, { "name": "/balancePlatforms/:id/accountHolders", "description": "Returns a paginated list of all the account holders that belong to the balance platform. To fetch multiple pages, use the query parameters. For example, to limit the page to 5 account holders and to skip the first 20, use `/balancePlatforms/{id}/accountHolders?limit=5&offset=20`.", @@ -69,62 +70,63 @@ { "name": "Get all account holders under a balance platform", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/balancePlatforms/:id/accountHolders", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "balancePlatforms", - ":id", - "accountHolders" - ], - "variable": [ - { - "key": "id", - "value": "", - "description": "The unique identifier of the balance platform." - } - ], - "query": [ - { - "key": "offset", - "value": "56", - "description": "The number of items that you want to skip.", - "disabled": true - }, - { - "key": "limit", - "value": "56", - "description": "The number of items returned per page, maximum 100 items. By default, the response returns 10 items per page.", - "disabled": true - } - ] - }, - "description": "Returns a paginated list of all the account holders that belong to the balance platform. To fetch multiple pages, use the query parameters. For example, to limit the page to 5 account holders and to skip the first 20, use `/balancePlatforms/{id}/accountHolders?limit=5&offset=20`." - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/balancePlatforms/:id/accountHolders", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "balancePlatforms", + ":id", + "accountHolders" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "The unique identifier of the balance platform." + } + ], + "query": [ + { + "key": "offset", + "value": "56", + "description": "The number of items that you want to skip.", + "disabled": true + }, + { + "key": "limit", + "value": "56", + "description": "The number of items returned per page, maximum 100 items. By default, the response returns 10 items per page.", + "disabled": true + } + ] + }, + "description": "Returns a paginated list of all the account holders that belong to the balance platform. To fetch multiple pages, use the query parameters. For example, to limit the page to 5 account holders and to skip the first 20, use `/balancePlatforms/{id}/accountHolders?limit=5&offset=20`." +} + ,"response": [ + ] } ] } - ] }, { @@ -137,49 +139,50 @@ { "name": "Get all available grant offers", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/grantOffers", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "grantOffers" - ], - "variable": [ - ], - "query": [ - { - "key": "accountHolderId", - "value": "accountHolderId_example", - "description": "The unique identifier of the grant account.", - "disabled": false - } - ] - }, - "description": "Returns a list of all [grant offers](https://docs.adyen.com/marketplaces-and-platforms/capital#grant-offers) available for `accountHolderId` specified as a query parameter." - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/grantOffers", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "grantOffers" + ], + "variable": [ + ], + "query": [ + { + "key": "accountHolderId", + "value": "accountHolderId_example", + "description": "The unique identifier of the grant account.", + "disabled": false + } + ] + }, + "description": "Returns a list of all [grant offers](https://docs.adyen.com/marketplaces-and-platforms/capital#grant-offers) available for `accountHolderId` specified as a query parameter." +} + ,"response": [ + ] } ] - } -, + }, { "name": "/grantOffers/:grantOfferId", "description": "Returns the details of a single grant offer.", @@ -187,49 +190,50 @@ { "name": "Get a grant offer", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/grantOffers/:grantOfferId", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "grantOffers", - ":grantOfferId" - ], - "variable": [ - { - "key": "grantOfferId", - "value": "", - "description": "The unique identifier of the grant offer." - } - ], - "query": [ - ] - }, - "description": "Returns the details of a single grant offer." - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/grantOffers/:grantOfferId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "grantOffers", + ":grantOfferId" + ], + "variable": [ + { + "key": "grantOfferId", + "value": "", + "description": "The unique identifier of the grant offer." + } + ], + "query": [ + ] + }, + "description": "Returns the details of a single grant offer." +} + ,"response": [ + ] } ] } - ] }, { @@ -242,49 +246,50 @@ { "name": "Get a network token", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/networkTokens/:networkTokenId", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "networkTokens", - ":networkTokenId" - ], - "variable": [ - { - "key": "networkTokenId", - "value": "", - "description": "The unique identifier of the network token." - } - ], - "query": [ - ] - }, - "description": "Returns the details of a network token." - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/networkTokens/:networkTokenId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "networkTokens", + ":networkTokenId" + ], + "variable": [ + { + "key": "networkTokenId", + "value": "", + "description": "The unique identifier of the network token." + } + ], + "query": [ + ] + }, + "description": "Returns the details of a network token." +} + ,"response": [ + ] } ] - } -, + }, { "name": "/networkTokens/:networkTokenId", "description": "Updates the status of the network token.", @@ -292,55 +297,56 @@ { "name": "Update a network token", "request": { - "method": "PATCH", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"status\": \"\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/networkTokens/:networkTokenId", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "networkTokens", - ":networkTokenId" - ], - "variable": [ - { - "key": "networkTokenId", - "value": "", - "description": "The unique identifier of the network token." - } - ], - "query": [ - ] - }, - "description": "Updates the status of the network token." - } + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"status\": \"\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/networkTokens/:networkTokenId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "networkTokens", + ":networkTokenId" + ], + "variable": [ + { + "key": "networkTokenId", + "value": "", + "description": "The unique identifier of the network token." + } + ], + "query": [ + ] + }, + "description": "Updates the status of the network token." +} + ,"response": [ + ] } ] } - ] }, { @@ -353,49 +359,101 @@ { "name": "Create an account holder", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"description\" : \"Liable account holder used for international payments and payouts\",\n \"reference\" : \"S.Eller-001\",\n \"legalEntityId\" : \"LE322JV223222D5GG42KN6869\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/accountHolders", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "accountHolders" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates an account holder linked to a [legal entity](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/legalEntities). " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"balancePlatform\" : \"YOUR_BALANCE_PLATFORM\",\n \"description\" : \"Liable account holder used for international payments and payouts\",\n \"legalEntityId\" : \"LE322JV223222D5GG42KN6869\",\n \"reference\" : \"S.Eller-001\",\n \"capabilities\" : {\n \"receiveFromPlatformPayments\" : {\n \"enabled\" : true,\n \"requested\" : true,\n \"allowed\" : false,\n \"verificationStatus\" : \"pending\"\n },\n \"receiveFromBalanceAccount\" : {\n \"enabled\" : true,\n \"requested\" : true,\n \"allowed\" : false,\n \"verificationStatus\" : \"pending\"\n },\n \"sendToBalanceAccount\" : {\n \"enabled\" : true,\n \"requested\" : true,\n \"allowed\" : false,\n \"verificationStatus\" : \"pending\"\n },\n \"sendToTransferInstrument\" : {\n \"enabled\" : true,\n \"requested\" : true,\n \"allowed\" : false,\n \"requestedSettings\" : {\n \"interval\" : \"daily\",\n \"maxAmount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 0\n }\n },\n \"verificationStatus\" : \"pending\"\n }\n },\n \"id\" : \"AH3227C223222H5J4DCLW9VBV\",\n \"status\" : \"active\"\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"description\" : \"Liable account holder used for international payments and payouts\",\n \"reference\" : \"S.Eller-001\",\n \"legalEntityId\" : \"LE322JV223222D5GG42KN6869\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/accountHolders", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "accountHolders" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates an account holder linked to a [legal entity](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/legalEntities). " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"description\" : \"Liable account holder used for international payments and payouts\",\n \"reference\" : \"S.Eller-001\",\n \"legalEntityId\" : \"LE322JV223222D5GG42KN6869\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/accountHolders", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "accountHolders" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Creates an account holder linked to a [legal entity](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/legalEntities). " - } + ] } ] - } -, + }, { "name": "/accountHolders/:id", "description": "Returns an account holder.", @@ -403,49 +461,50 @@ { "name": "Get an account holder", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/accountHolders/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "accountHolders", - ":id" - ], - "variable": [ - { - "key": "id", - "value": "", - "description": "The unique identifier of the account holder." - } - ], - "query": [ - ] - }, - "description": "Returns an account holder." - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/accountHolders/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "accountHolders", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "The unique identifier of the account holder." + } + ], + "query": [ + ] + }, + "description": "Returns an account holder." +} + ,"response": [ + ] } ] - } -, + }, { "name": "/accountHolders/:id", "description": "Updates an account holder. When updating an account holder resource, if a parameter is not provided in the request, it is left unchanged.", @@ -453,104 +512,221 @@ { "name": "Request account holder capability", "request": { - "method": "PATCH", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"description\" : \"Liable account holder used for international payments and payouts\",\n \"reference\" : \"S.Eller-001\",\n \"capabilities\" : {\n \"receivePayments\" : {\n \"requested\" : true\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/accountHolders/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "accountHolders", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "The unique identifier of the account holder." + } + ], + "query": [ + ] + }, + "description": "Updates an account holder. When updating an account holder resource, if a parameter is not provided in the request, it is left unchanged." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"balancePlatform\" : \"YOUR_BALANCE_PLATFORM\",\n \"description\" : \"Liable account holder used for international payments and payouts\",\n \"legalEntityId\" : \"LE322JV223222F5GKQZZ9DS99\",\n \"reference\" : \"S.Eller-001\",\n \"capabilities\" : {\n \"receivePayments\" : {\n \"enabled\" : false,\n \"requested\" : true,\n \"allowed\" : false,\n \"verificationStatus\" : \"pending\"\n }\n },\n \"id\" : \"AH3227C223222C5GKR23686TF\",\n \"status\" : \"active\"\n}", + "originalRequest": { + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"description\" : \"Liable account holder used for international payments and payouts\",\n \"reference\" : \"S.Eller-001\",\n \"capabilities\" : {\n \"receivePayments\" : {\n \"requested\" : true\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/accountHolders/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "accountHolders", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "The unique identifier of the account holder." + } + ], + "query": [ + ] + }, + "description": "Updates an account holder. When updating an account holder resource, if a parameter is not provided in the request, it is left unchanged." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"description\" : \"Liable account holder used for international payments and payouts\",\n \"reference\" : \"S.Eller-001\",\n \"capabilities\" : {\n \"receivePayments\" : {\n \"requested\" : true\n }\n }\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/accountHolders/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "accountHolders", - ":id" - ], - "variable": [ - { - "key": "id", - "value": "", - "description": "The unique identifier of the account holder." - } - ], - "query": [ - ] - }, - "description": "Updates an account holder. When updating an account holder resource, if a parameter is not provided in the request, it is left unchanged." - } + ] }, { "name": "Deactivate an account holder", "request": { - "method": "PATCH", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"status\" : \"closed\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/accountHolders/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "accountHolders", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "The unique identifier of the account holder." + } + ], + "query": [ + ] + }, + "description": "Updates an account holder. When updating an account holder resource, if a parameter is not provided in the request, it is left unchanged." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"balancePlatform\" : \"YOUR_BALANCE_PLATFORM\",\n \"description\" : \"Liable account holder used for international payments and payouts\",\n \"legalEntityId\" : \"LE322JV223222F5GKQZZ9DS99\",\n \"reference\" : \"S.Eller-001\",\n \"id\" : \"AH3227C223222C5GKR23686TF\",\n \"status\" : \"closed\"\n}", + "originalRequest": { + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"status\" : \"closed\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/accountHolders/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "accountHolders", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "The unique identifier of the account holder." + } + ], + "query": [ + ] + }, + "description": "Updates an account holder. When updating an account holder resource, if a parameter is not provided in the request, it is left unchanged." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"status\" : \"closed\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/accountHolders/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "accountHolders", - ":id" - ], - "variable": [ - { - "key": "id", - "value": "", - "description": "The unique identifier of the account holder." - } - ], - "query": [ - ] - }, - "description": "Updates an account holder. When updating an account holder resource, if a parameter is not provided in the request, it is left unchanged." - } + ] } ] - } -, + }, { "name": "/accountHolders/:id/balanceAccounts", "description": "Returns a paginated list of the balance accounts associated with an account holder. To fetch multiple pages, use the query parameters. For example, to limit the page to 5 balance accounts and skip the first 10, use `/accountHolders/{id}/balanceAccounts?limit=5&offset=10`.", @@ -558,62 +734,63 @@ { "name": "Get all balance accounts of an account holder", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/accountHolders/:id/balanceAccounts", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "accountHolders", - ":id", - "balanceAccounts" - ], - "variable": [ - { - "key": "id", - "value": "", - "description": "The unique identifier of the account holder." - } - ], - "query": [ - { - "key": "offset", - "value": "56", - "description": "The number of items that you want to skip.", - "disabled": true - }, - { - "key": "limit", - "value": "56", - "description": "The number of items returned per page, maximum 100 items. By default, the response returns 10 items per page.", - "disabled": true - } - ] - }, - "description": "Returns a paginated list of the balance accounts associated with an account holder. To fetch multiple pages, use the query parameters. For example, to limit the page to 5 balance accounts and skip the first 10, use `/accountHolders/{id}/balanceAccounts?limit=5&offset=10`." - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/accountHolders/:id/balanceAccounts", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "accountHolders", + ":id", + "balanceAccounts" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "The unique identifier of the account holder." + } + ], + "query": [ + { + "key": "offset", + "value": "56", + "description": "The number of items that you want to skip.", + "disabled": true + }, + { + "key": "limit", + "value": "56", + "description": "The number of items returned per page, maximum 100 items. By default, the response returns 10 items per page.", + "disabled": true + } + ] + }, + "description": "Returns a paginated list of the balance accounts associated with an account holder. To fetch multiple pages, use the query parameters. For example, to limit the page to 5 balance accounts and skip the first 10, use `/accountHolders/{id}/balanceAccounts?limit=5&offset=10`." +} + ,"response": [ + ] } ] - } -, + }, { "name": "/accountHolders/:id/taxForms", "description": "Generates a tax form for account holders operating in the US. For more information, refer to [Providing tax forms](https://docs.adyen.com/marketplaces-and-platforms/us-tax-forms/).", @@ -621,62 +798,63 @@ { "name": "Get a tax form", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/accountHolders/:id/taxForms", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "accountHolders", - ":id", - "taxForms" - ], - "variable": [ - { - "key": "id", - "value": "", - "description": "The unique identifier of the account holder." - } - ], - "query": [ - { - "key": "formType", - "value": "formType_example", - "description": "The type of tax form you want to retrieve. Accepted values are **US1099k** and **US1099nec**", - "disabled": false - }, - { - "key": "year", - "value": "56", - "description": "The tax year in YYYY format for the tax form you want to retrieve", - "disabled": false - } - ] - }, - "description": "Generates a tax form for account holders operating in the US. For more information, refer to [Providing tax forms](https://docs.adyen.com/marketplaces-and-platforms/us-tax-forms/)." - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/accountHolders/:id/taxForms", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "accountHolders", + ":id", + "taxForms" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "The unique identifier of the account holder." + } + ], + "query": [ + { + "key": "formType", + "value": "formType_example", + "description": "The type of tax form you want to retrieve. Accepted values are **US1099k** and **US1099nec**", + "disabled": false + }, + { + "key": "year", + "value": "56", + "description": "The tax year in YYYY format for the tax form you want to retrieve", + "disabled": false + } + ] + }, + "description": "Generates a tax form for account holders operating in the US. For more information, refer to [Providing tax forms](https://docs.adyen.com/marketplaces-and-platforms/us-tax-forms/)." +} + ,"response": [ + ] } ] } - ] }, { @@ -689,178 +867,389 @@ { "name": "Create a business account in NL", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"type\" : \"bankAccount\",\n \"description\" : \"YOUR_DESCRIPTION\",\n \"balanceAccountId\" : \"BA3227C223222B5CTBLR8BWJB\",\n \"issuingCountryCode\" : \"NL\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentInstruments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentInstruments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates a payment instrument to issue a physical card, a virtual card, or a business account to your user. For more information, refer to [Issue cards](https://docs.adyen.com/issuing/create-cards) or [Issue business accounts](https://docs.adyen.com/marketplaces-and-platforms/business-accounts)." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"balanceAccountId\" : \"BA3227C223222B5CTBLR8BWJB\",\n \"issuingCountryCode\" : \"NL\",\n \"status\" : \"active\",\n \"type\" : \"bankAccount\",\n \"description\" : \"YOUR_DESCRIPTION\",\n \"bankAccount\" : {\n \"type\" : \"iban\",\n \"iban\" : \"NL20ADYB2017000035\"\n },\n \"id\" : \"PI322LJ223222B5DJS7CD9LWL\"\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"type\" : \"bankAccount\",\n \"description\" : \"YOUR_DESCRIPTION\",\n \"balanceAccountId\" : \"BA3227C223222B5CTBLR8BWJB\",\n \"issuingCountryCode\" : \"NL\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentInstruments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentInstruments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates a payment instrument to issue a physical card, a virtual card, or a business account to your user. For more information, refer to [Issue cards](https://docs.adyen.com/issuing/create-cards) or [Issue business accounts](https://docs.adyen.com/marketplaces-and-platforms/business-accounts)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"type\" : \"bankAccount\",\n \"description\" : \"YOUR_DESCRIPTION\",\n \"balanceAccountId\" : \"BA3227C223222B5CTBLR8BWJB\",\n \"issuingCountryCode\" : \"NL\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentInstruments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentInstruments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Creates a payment instrument to issue a physical card, a virtual card, or a business account to your user. For more information, refer to [Issue cards](https://docs.adyen.com/issuing/create-cards) or [Issue business accounts](https://docs.adyen.com/marketplaces-and-platforms/business-accounts)." - } + ] }, { "name": "Create a business account in the US", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"type\" : \"bankAccount\",\n \"description\" : \"YOUR_DESCRIPTION\",\n \"balanceAccountId\" : \"BA3227C223222B5CTBLR8BWJB\",\n \"issuingCountryCode\" : \"US\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentInstruments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentInstruments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates a payment instrument to issue a physical card, a virtual card, or a business account to your user. For more information, refer to [Issue cards](https://docs.adyen.com/issuing/create-cards) or [Issue business accounts](https://docs.adyen.com/marketplaces-and-platforms/business-accounts)." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"balanceAccountId\" : \"BA3227C223222B5CTBLR8BWJB\",\n \"issuingCountryCode\" : \"US\",\n \"status\" : \"active\",\n \"type\" : \"bankAccount\",\n \"description\" : \"YOUR_DESCRIPTION\",\n \"bankAccount\" : {\n \"type\" : \"usLocal\",\n \"accountNumber\" : \"333720756\",\n \"routingNumber\" : \"210000210\",\n \"accountType\" : \"checking\"\n },\n \"id\" : \"PI322LJ223222B5DJS7CD9LWL\"\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"type\" : \"bankAccount\",\n \"description\" : \"YOUR_DESCRIPTION\",\n \"balanceAccountId\" : \"BA3227C223222B5CTBLR8BWJB\",\n \"issuingCountryCode\" : \"US\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentInstruments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentInstruments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates a payment instrument to issue a physical card, a virtual card, or a business account to your user. For more information, refer to [Issue cards](https://docs.adyen.com/issuing/create-cards) or [Issue business accounts](https://docs.adyen.com/marketplaces-and-platforms/business-accounts)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"type\" : \"bankAccount\",\n \"description\" : \"YOUR_DESCRIPTION\",\n \"balanceAccountId\" : \"BA3227C223222B5CTBLR8BWJB\",\n \"issuingCountryCode\" : \"US\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentInstruments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentInstruments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Creates a payment instrument to issue a physical card, a virtual card, or a business account to your user. For more information, refer to [Issue cards](https://docs.adyen.com/issuing/create-cards) or [Issue business accounts](https://docs.adyen.com/marketplaces-and-platforms/business-accounts)." - } + ] }, { "name": "Create a physical card", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"type\" : \"card\",\n \"issuingCountryCode\" : \"NL\",\n \"balanceAccountId\" : \"BA32272223222B59CZ3T52DKZ\",\n \"description\" : \"S.Hopper - Main card\",\n \"status\" : \"inactive\",\n \"card\" : {\n \"formFactor\" : \"physical\",\n \"brand\" : \"mc\",\n \"brandVariant\" : \"mcdebit\",\n \"cardholderName\" : \"Sam Hopper\",\n \"deliveryContact\" : {\n \"address\" : {\n \"city\" : \"Amsterdam\",\n \"country\" : \"NL\",\n \"stateOrProvince\" : \"NH\",\n \"line1\" : \"Brannan Street\",\n \"line2\" : \"274\",\n \"postalCode\" : \"1020CD\"\n },\n \"name\" : {\n \"firstName\" : \"Sam\",\n \"lastName\" : \"Hopper\"\n }\n },\n \"configuration\" : {\n \"configurationProfileId\" : \"CP123AB45678C91ABCD2ABCDE\"\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentInstruments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentInstruments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates a payment instrument to issue a physical card, a virtual card, or a business account to your user. For more information, refer to [Issue cards](https://docs.adyen.com/issuing/create-cards) or [Issue business accounts](https://docs.adyen.com/marketplaces-and-platforms/business-accounts)." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"balanceAccountId\" : \"BA32272223222B59CZ3T52DKZ\",\n \"description\" : \"S. Hopper - Main card\",\n \"issuingCountryCode\" : \"NL\",\n \"status\" : \"inactive\",\n \"type\" : \"card\",\n \"card\" : {\n \"brand\" : \"mc\",\n \"brandVariant\" : \"mcdebit\",\n \"cardholderName\" : \"Sam Hopper\",\n \"formFactor\" : \"physical\",\n \"number\" : \"************5785\",\n \"bin\" : \"555544\",\n \"expiration\" : {\n \"month\" : \"08\",\n \"year\" : \"2024\"\n },\n \"lastFour\" : \"2765\",\n \"authentication\" : {\n \"password\" : \"******\",\n \"phone\" : {\n \"number\" : \"+123456789\",\n \"type\" : \"mobile\"\n }\n },\n \"deliveryContact\" : {\n \"address\" : {\n \"city\" : \"Amsterdam\",\n \"country\" : \"NL\",\n \"stateOrProvince\" : \"NH\",\n \"line1\" : \"Brannan Street\",\n \"line2\" : \"274\",\n \"postalCode\" : \"1020CD\"\n },\n \"name\" : {\n \"firstName\" : \"Sam\",\n \"lastName\" : \"Hopper\"\n }\n },\n \"configuration\" : {\n \"configurationProfileId\" : \"CP123AB45678C91ABCD2ABCDE\"\n }\n },\n \"id\" : \"PI3227C223222B5BPCMFXD2XG\"\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"type\" : \"card\",\n \"issuingCountryCode\" : \"NL\",\n \"balanceAccountId\" : \"BA32272223222B59CZ3T52DKZ\",\n \"description\" : \"S.Hopper - Main card\",\n \"status\" : \"inactive\",\n \"card\" : {\n \"formFactor\" : \"physical\",\n \"brand\" : \"mc\",\n \"brandVariant\" : \"mcdebit\",\n \"cardholderName\" : \"Sam Hopper\",\n \"deliveryContact\" : {\n \"address\" : {\n \"city\" : \"Amsterdam\",\n \"country\" : \"NL\",\n \"stateOrProvince\" : \"NH\",\n \"line1\" : \"Brannan Street\",\n \"line2\" : \"274\",\n \"postalCode\" : \"1020CD\"\n },\n \"name\" : {\n \"firstName\" : \"Sam\",\n \"lastName\" : \"Hopper\"\n }\n },\n \"configuration\" : {\n \"configurationProfileId\" : \"CP123AB45678C91ABCD2ABCDE\"\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentInstruments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentInstruments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates a payment instrument to issue a physical card, a virtual card, or a business account to your user. For more information, refer to [Issue cards](https://docs.adyen.com/issuing/create-cards) or [Issue business accounts](https://docs.adyen.com/marketplaces-and-platforms/business-accounts)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"type\" : \"card\",\n \"issuingCountryCode\" : \"NL\",\n \"balanceAccountId\" : \"BA32272223222B59CZ3T52DKZ\",\n \"description\" : \"S.Hopper - Main card\",\n \"status\" : \"inactive\",\n \"card\" : {\n \"formFactor\" : \"physical\",\n \"brand\" : \"mc\",\n \"brandVariant\" : \"mcdebit\",\n \"cardholderName\" : \"Sam Hopper\",\n \"deliveryContact\" : {\n \"address\" : {\n \"city\" : \"Amsterdam\",\n \"country\" : \"NL\",\n \"stateOrProvince\" : \"NH\",\n \"line1\" : \"Brannan Street\",\n \"line2\" : \"274\",\n \"postalCode\" : \"1020CD\"\n },\n \"name\" : {\n \"firstName\" : \"Sam\",\n \"lastName\" : \"Hopper\"\n }\n },\n \"configuration\" : {\n \"configurationProfileId\" : \"CP123AB45678C91ABCD2ABCDE\"\n }\n }\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentInstruments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentInstruments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Creates a payment instrument to issue a physical card, a virtual card, or a business account to your user. For more information, refer to [Issue cards](https://docs.adyen.com/issuing/create-cards) or [Issue business accounts](https://docs.adyen.com/marketplaces-and-platforms/business-accounts)." - } + ] }, { "name": "Create a virtual card", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"type\" : \"card\",\n \"description\" : \"My test card\",\n \"balanceAccountId\" : \"BA3227C223222B5FG88S28BGN\",\n \"issuingCountryCode\" : \"NL\",\n \"card\" : {\n \"cardholderName\" : \"Simon Hopper\",\n \"brand\" : \"mc\",\n \"brandVariant\" : \"mcdebit\",\n \"formFactor\" : \"virtual\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentInstruments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentInstruments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates a payment instrument to issue a physical card, a virtual card, or a business account to your user. For more information, refer to [Issue cards](https://docs.adyen.com/issuing/create-cards) or [Issue business accounts](https://docs.adyen.com/marketplaces-and-platforms/business-accounts)." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"balanceAccountId\" : \"BA3227C223222B5FG88S28BGN\",\n \"description\" : \"My test card\",\n \"issuingCountryCode\" : \"NL\",\n \"status\" : \"active\",\n \"type\" : \"card\",\n \"card\" : {\n \"brand\" : \"mc\",\n \"brandVariant\" : \"mcdebit\",\n \"cardholderName\" : \"Simon Hopper\",\n \"formFactor\" : \"virtual\",\n \"bin\" : \"555544\",\n \"cvc\" : \"136\",\n \"expiration\" : {\n \"month\" : \"11\",\n \"year\" : \"2025\"\n },\n \"lastFour\" : \"3703\",\n \"number\" : \"5555444411213703\"\n },\n \"id\" : \"PI32272223222C5GXTDWH3TTN\"\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"type\" : \"card\",\n \"description\" : \"My test card\",\n \"balanceAccountId\" : \"BA3227C223222B5FG88S28BGN\",\n \"issuingCountryCode\" : \"NL\",\n \"card\" : {\n \"cardholderName\" : \"Simon Hopper\",\n \"brand\" : \"mc\",\n \"brandVariant\" : \"mcdebit\",\n \"formFactor\" : \"virtual\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentInstruments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentInstruments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates a payment instrument to issue a physical card, a virtual card, or a business account to your user. For more information, refer to [Issue cards](https://docs.adyen.com/issuing/create-cards) or [Issue business accounts](https://docs.adyen.com/marketplaces-and-platforms/business-accounts)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"type\" : \"card\",\n \"description\" : \"My test card\",\n \"balanceAccountId\" : \"BA3227C223222B5FG88S28BGN\",\n \"issuingCountryCode\" : \"NL\",\n \"card\" : {\n \"cardholderName\" : \"Simon Hopper\",\n \"brand\" : \"mc\",\n \"brandVariant\" : \"mcdebit\",\n \"formFactor\" : \"virtual\"\n }\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentInstruments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentInstruments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Creates a payment instrument to issue a physical card, a virtual card, or a business account to your user. For more information, refer to [Issue cards](https://docs.adyen.com/issuing/create-cards) or [Issue business accounts](https://docs.adyen.com/marketplaces-and-platforms/business-accounts)." - } + ] } ] - } -, + }, { "name": "/paymentInstruments/:id", "description": "Returns the details of a payment instrument.", @@ -868,49 +1257,50 @@ { "name": "Get a payment instrument", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentInstruments/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentInstruments", - ":id" - ], - "variable": [ - { - "key": "id", - "value": "", - "description": "The unique identifier of the payment instrument." - } - ], - "query": [ - ] - }, - "description": "Returns the details of a payment instrument." - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentInstruments/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentInstruments", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "The unique identifier of the payment instrument." + } + ], + "query": [ + ] + }, + "description": "Returns the details of a payment instrument." +} + ,"response": [ + ] } ] - } -, + }, { "name": "/paymentInstruments/:id", "description": "Updates a payment instrument. Once a payment instrument is already active, you can only update its status. However, for cards created with **inactive** status, you can still update the balance account associated with the card.", @@ -918,104 +1308,221 @@ { "name": "Update the balance account linked to a payment instrument", "request": { - "method": "PATCH", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"balanceAccountId\" : \"BA32272223222B5CM82WL892M\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentInstruments/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentInstruments", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "The unique identifier of the payment instrument." + } + ], + "query": [ + ] + }, + "description": "Updates a payment instrument. Once a payment instrument is already active, you can only update its status. However, for cards created with **inactive** status, you can still update the balance account associated with the card." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"balanceAccountId\" : \"BA32272223222B5CM82WL892M\",\n \"description\" : \"S. Hopper - Main card\",\n \"issuingCountryCode\" : \"GB\",\n \"status\" : \"inactive\",\n \"type\" : \"card\",\n \"card\" : {\n \"brand\" : \"mc\",\n \"brandVariant\" : \"mcdebit\",\n \"cardholderName\" : \"Simon Hopper\",\n \"formFactor\" : \"virtual\",\n \"bin\" : \"555544\",\n \"expiration\" : {\n \"month\" : \"01\",\n \"year\" : \"2024\"\n },\n \"lastFour\" : \"5785\",\n \"number\" : \"************5785\"\n },\n \"id\" : \"PI3227C223222B5CMD278FKGS\"\n}", + "originalRequest": { + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"balanceAccountId\" : \"BA32272223222B5CM82WL892M\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentInstruments/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentInstruments", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "The unique identifier of the payment instrument." + } + ], + "query": [ + ] + }, + "description": "Updates a payment instrument. Once a payment instrument is already active, you can only update its status. However, for cards created with **inactive** status, you can still update the balance account associated with the card." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"balanceAccountId\" : \"BA32272223222B5CM82WL892M\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentInstruments/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentInstruments", - ":id" - ], - "variable": [ - { - "key": "id", - "value": "", - "description": "The unique identifier of the payment instrument." - } - ], - "query": [ - ] - }, - "description": "Updates a payment instrument. Once a payment instrument is already active, you can only update its status. However, for cards created with **inactive** status, you can still update the balance account associated with the card." - } + ] }, { "name": "Update the status of a payment instrument", "request": { - "method": "PATCH", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"status\" : \"suspended\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentInstruments/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentInstruments", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "The unique identifier of the payment instrument." + } + ], + "query": [ + ] + }, + "description": "Updates a payment instrument. Once a payment instrument is already active, you can only update its status. However, for cards created with **inactive** status, you can still update the balance account associated with the card." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"balanceAccountId\" : \"BA32272223222B59CZ3T52DKZ\",\n \"description\" : \"S. Hopper - Main card\",\n \"issuingCountryCode\" : \"GB\",\n \"status\" : \"suspended\",\n \"type\" : \"card\",\n \"card\" : {\n \"brand\" : \"mc\",\n \"brandVariant\" : \"mcdebit\",\n \"cardholderName\" : \"Simon Hopper\",\n \"formFactor\" : \"virtual\",\n \"bin\" : \"555544\",\n \"expiration\" : {\n \"month\" : \"01\",\n \"year\" : \"2024\"\n },\n \"lastFour\" : \"5785\",\n \"number\" : \"************5785\"\n },\n \"id\" : \"PI3227C223222B5CMD278FKGS\"\n}", + "originalRequest": { + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"status\" : \"suspended\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentInstruments/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentInstruments", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "The unique identifier of the payment instrument." + } + ], + "query": [ + ] + }, + "description": "Updates a payment instrument. Once a payment instrument is already active, you can only update its status. However, for cards created with **inactive** status, you can still update the balance account associated with the card." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"status\" : \"suspended\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentInstruments/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentInstruments", - ":id" - ], - "variable": [ - { - "key": "id", - "value": "", - "description": "The unique identifier of the payment instrument." - } - ], - "query": [ - ] - }, - "description": "Updates a payment instrument. Once a payment instrument is already active, you can only update its status. However, for cards created with **inactive** status, you can still update the balance account associated with the card." - } + ] } ] - } -, + }, { "name": "/paymentInstruments/:id/networkTokens", "description": "List the network tokens connected to a payment instrument.", @@ -1023,50 +1530,51 @@ { "name": "List network tokens", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentInstruments/:id/networkTokens", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentInstruments", - ":id", - "networkTokens" - ], - "variable": [ - { - "key": "id", - "value": "", - "description": "The unique identifier of the payment instrument." - } - ], - "query": [ - ] - }, - "description": "List the network tokens connected to a payment instrument." - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentInstruments/:id/networkTokens", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentInstruments", + ":id", + "networkTokens" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "The unique identifier of the payment instrument." + } + ], + "query": [ + ] + }, + "description": "List the network tokens connected to a payment instrument." +} + ,"response": [ + ] } ] - } -, + }, { "name": "/paymentInstruments/:id/reveal", "description": "Returns the primary account number (PAN) of a payment instrument. To make this request, your API credential must have the following [role](https://docs.adyen.com/issuing/manage-access/api-credentials-web-service#api-permissions): * Balance Platform BCL PCI role", @@ -1074,50 +1582,51 @@ { "name": "Get the PAN of a payment instrument", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentInstruments/:id/reveal", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentInstruments", - ":id", - "reveal" - ], - "variable": [ - { - "key": "id", - "value": "", - "description": "The unique identifier of the payment instrument." - } - ], - "query": [ - ] - }, - "description": "Returns the primary account number (PAN) of a payment instrument. To make this request, your API credential must have the following [role](https://docs.adyen.com/issuing/manage-access/api-credentials-web-service#api-permissions): * Balance Platform BCL PCI role" - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentInstruments/:id/reveal", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentInstruments", + ":id", + "reveal" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "The unique identifier of the payment instrument." + } + ], + "query": [ + ] + }, + "description": "Returns the primary account number (PAN) of a payment instrument. To make this request, your API credential must have the following [role](https://docs.adyen.com/issuing/manage-access/api-credentials-web-service#api-permissions): * Balance Platform BCL PCI role" +} + ,"response": [ + ] } ] - } -, + }, { "name": "/paymentInstruments/:id/transactionRules", "description": "Returns a list of transaction rules associated with a payment instrument.", @@ -1125,50 +1634,51 @@ { "name": "Get all transaction rules for a payment instrument", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentInstruments/:id/transactionRules", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentInstruments", - ":id", - "transactionRules" - ], - "variable": [ - { - "key": "id", - "value": "", - "description": "The unique identifier of the payment instrument." - } - ], - "query": [ - ] - }, - "description": "Returns a list of transaction rules associated with a payment instrument." - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentInstruments/:id/transactionRules", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentInstruments", + ":id", + "transactionRules" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "The unique identifier of the payment instrument." + } + ], + "query": [ + ] + }, + "description": "Returns a list of transaction rules associated with a payment instrument." +} + ,"response": [ + ] } ] - } -, + }, { "name": "/paymentInstruments/reveal", "description": "Returns the encrypted data of a specified payment instrument. These data include: - The primary account number (PAN) - The card verification code (CVC) - The expiry date You can decrypt the data to reveal it in your user interface. To make this request, your API credential must have the following role: * Bank Issuing PAN Reveal Webservice role", @@ -1176,50 +1686,51 @@ { "name": "Reveal the data of a payment instrument", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"encryptedKey\": \"\",\n \"paymentInstrumentId\": \"\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentInstruments/reveal", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentInstruments", - "reveal" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Returns the encrypted data of a specified payment instrument. These data include: - The primary account number (PAN) - The card verification code (CVC) - The expiry date You can decrypt the data to reveal it in your user interface. To make this request, your API credential must have the following role: * Bank Issuing PAN Reveal Webservice role" - } + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"encryptedKey\": \"\",\n \"paymentInstrumentId\": \"\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentInstruments/reveal", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentInstruments", + "reveal" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Returns the encrypted data of a specified payment instrument. These data include: - The primary account number (PAN) - The card verification code (CVC) - The expiry date You can decrypt the data to reveal it in your user interface. To make this request, your API credential must have the following role: * Bank Issuing PAN Reveal Webservice role" +} + ,"response": [ + ] } ] } - ] }, { @@ -1232,49 +1743,50 @@ { "name": "Get a grant account", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/grantAccounts/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "grantAccounts", - ":id" - ], - "variable": [ - { - "key": "id", - "value": "", - "description": "The unique identifier of the grant account." - } - ], - "query": [ - ] - }, - "description": "Returns the details of the [grant account](https://docs.adyen.com/marketplaces-and-platforms/capital#grant-account)." - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/grantAccounts/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "grantAccounts", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "The unique identifier of the grant account." + } + ], + "query": [ + ] + }, + "description": "Returns the details of the [grant account](https://docs.adyen.com/marketplaces-and-platforms/capital#grant-account)." +} + ,"response": [ + ] } ] } - ] }, { @@ -1287,49 +1799,101 @@ { "name": "Create a balance account", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"accountHolderId\" : \"AH32272223222C5GXTD343TKP\",\n \"description\" : \"S.Hopper - Main balance account\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/balanceAccounts", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "balanceAccounts" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates a balance account that holds the funds of the associated account holder." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"accountHolderId\" : \"AH32272223222C5GXTD343TKP\",\n \"defaultCurrencyCode\" : \"EUR\",\n \"description\" : \"S.Hopper - Main balance account\",\n \"timeZone\" : \"Europe/Amsterdam\",\n \"balances\" : [ {\n \"available\" : 0,\n \"balance\" : 0,\n \"currency\" : \"EUR\",\n \"reserved\" : 0\n } ],\n \"id\" : \"BA3227C223222H5J4DCGQ9V9L\",\n \"status\" : \"active\"\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"accountHolderId\" : \"AH32272223222C5GXTD343TKP\",\n \"description\" : \"S.Hopper - Main balance account\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/balanceAccounts", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "balanceAccounts" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates a balance account that holds the funds of the associated account holder." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"accountHolderId\" : \"AH32272223222C5GXTD343TKP\",\n \"description\" : \"S.Hopper - Main balance account\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/balanceAccounts", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "balanceAccounts" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Creates a balance account that holds the funds of the associated account holder." - } + ] } ] - } -, + }, { "name": "/balanceAccounts/:balanceAccountId/sweeps", "description": "Returns a list of the sweeps configured for a balance account. To fetch multiple pages, use the query parameters. For example, to limit the page to 5 sweeps and to skip the first 10, use `/balanceAccounts/{balanceAccountId}/sweeps?limit=5&offset=10`.", @@ -1337,62 +1901,63 @@ { "name": "Get all sweeps for a balance account", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/balanceAccounts/:balanceAccountId/sweeps", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "balanceAccounts", - ":balanceAccountId", - "sweeps" - ], - "variable": [ - { - "key": "balanceAccountId", - "value": "", - "description": "The unique identifier of the balance account." - } - ], - "query": [ - { - "key": "offset", - "value": "56", - "description": "The number of items that you want to skip.", - "disabled": true - }, - { - "key": "limit", - "value": "56", - "description": "The number of items returned per page, maximum 100 items. By default, the response returns 10 items per page.", - "disabled": true - } - ] - }, - "description": "Returns a list of the sweeps configured for a balance account. To fetch multiple pages, use the query parameters. For example, to limit the page to 5 sweeps and to skip the first 10, use `/balanceAccounts/{balanceAccountId}/sweeps?limit=5&offset=10`." - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/balanceAccounts/:balanceAccountId/sweeps", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "balanceAccounts", + ":balanceAccountId", + "sweeps" + ], + "variable": [ + { + "key": "balanceAccountId", + "value": "", + "description": "The unique identifier of the balance account." + } + ], + "query": [ + { + "key": "offset", + "value": "56", + "description": "The number of items that you want to skip.", + "disabled": true + }, + { + "key": "limit", + "value": "56", + "description": "The number of items returned per page, maximum 100 items. By default, the response returns 10 items per page.", + "disabled": true + } + ] + }, + "description": "Returns a list of the sweeps configured for a balance account. To fetch multiple pages, use the query parameters. For example, to limit the page to 5 sweeps and to skip the first 10, use `/balanceAccounts/{balanceAccountId}/sweeps?limit=5&offset=10`." +} + ,"response": [ + ] } ] - } -, + }, { "name": "/balanceAccounts/:balanceAccountId/sweeps", "description": "Creates a sweep that results in moving funds from or to a balance account. A sweep pulls in or pushes out funds based on a defined schedule, amount, currency, and a source or a destination.", @@ -1400,156 +1965,335 @@ { "name": "Create a sweep to pull funds in to a balance account", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"counterparty\" : {\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n },\n \"triggerAmount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 50000\n },\n \"currency\" : \"EUR\",\n \"schedule\" : {\n \"type\" : \"balance\"\n },\n \"type\" : \"pull\",\n \"status\" : \"active\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/balanceAccounts/:balanceAccountId/sweeps", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "balanceAccounts", + ":balanceAccountId", + "sweeps" + ], + "variable": [ + { + "key": "balanceAccountId", + "value": "", + "description": "The unique identifier of the balance account." + } + ], + "query": [ + ] + }, + "description": "Creates a sweep that results in moving funds from or to a balance account. A sweep pulls in or pushes out funds based on a defined schedule, amount, currency, and a source or a destination." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"id\" : \"SWPC4227C224555B5FTD2NT2JV4WN5\",\n \"counterparty\" : {\n \"merchantAccount\" : \"YOUR_MERCHANT_ACCOUNT\"\n },\n \"triggerAmount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 50000\n },\n \"currency\" : \"EUR\",\n \"schedule\" : {\n \"type\" : \"balance\"\n },\n \"type\" : \"pull\",\n \"status\" : \"active\"\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"counterparty\" : {\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n },\n \"triggerAmount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 50000\n },\n \"currency\" : \"EUR\",\n \"schedule\" : {\n \"type\" : \"balance\"\n },\n \"type\" : \"pull\",\n \"status\" : \"active\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/balanceAccounts/:balanceAccountId/sweeps", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "balanceAccounts", + ":balanceAccountId", + "sweeps" + ], + "variable": [ + { + "key": "balanceAccountId", + "value": "", + "description": "The unique identifier of the balance account." + } + ], + "query": [ + ] + }, + "description": "Creates a sweep that results in moving funds from or to a balance account. A sweep pulls in or pushes out funds based on a defined schedule, amount, currency, and a source or a destination." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"counterparty\" : {\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n },\n \"triggerAmount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 50000\n },\n \"currency\" : \"EUR\",\n \"schedule\" : {\n \"type\" : \"balance\"\n },\n \"type\" : \"pull\",\n \"status\" : \"active\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/balanceAccounts/:balanceAccountId/sweeps", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "balanceAccounts", - ":balanceAccountId", - "sweeps" - ], - "variable": [ - { - "key": "balanceAccountId", - "value": "", - "description": "The unique identifier of the balance account." - } - ], - "query": [ - ] - }, - "description": "Creates a sweep that results in moving funds from or to a balance account. A sweep pulls in or pushes out funds based on a defined schedule, amount, currency, and a source or a destination." - } + ] }, { "name": "Create a sweep to push funds out of a balance account", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"counterparty\" : {\n \"balanceAccountId\" : \"BA32278887611B5FTD2KR6TJD\"\n },\n \"triggerAmount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 50000\n },\n \"currency\" : \"EUR\",\n \"schedule\" : {\n \"type\" : \"weekly\"\n },\n \"type\" : \"push\",\n \"status\" : \"active\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/balanceAccounts/:balanceAccountId/sweeps", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "balanceAccounts", + ":balanceAccountId", + "sweeps" + ], + "variable": [ + { + "key": "balanceAccountId", + "value": "", + "description": "The unique identifier of the balance account." + } + ], + "query": [ + ] + }, + "description": "Creates a sweep that results in moving funds from or to a balance account. A sweep pulls in or pushes out funds based on a defined schedule, amount, currency, and a source or a destination." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"id\" : \"SWPC4227C224555B5FTD2NT2JV4WN5\",\n \"counterparty\" : {\n \"balanceAccountId\" : \"BA32278887611B5FTD2KR6TJD\"\n },\n \"triggerAmount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 50000\n },\n \"currency\" : \"EUR\",\n \"schedule\" : {\n \"type\" : \"weekly\"\n },\n \"type\" : \"push\",\n \"status\" : \"active\"\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"counterparty\" : {\n \"balanceAccountId\" : \"BA32278887611B5FTD2KR6TJD\"\n },\n \"triggerAmount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 50000\n },\n \"currency\" : \"EUR\",\n \"schedule\" : {\n \"type\" : \"weekly\"\n },\n \"type\" : \"push\",\n \"status\" : \"active\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/balanceAccounts/:balanceAccountId/sweeps", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "balanceAccounts", + ":balanceAccountId", + "sweeps" + ], + "variable": [ + { + "key": "balanceAccountId", + "value": "", + "description": "The unique identifier of the balance account." + } + ], + "query": [ + ] + }, + "description": "Creates a sweep that results in moving funds from or to a balance account. A sweep pulls in or pushes out funds based on a defined schedule, amount, currency, and a source or a destination." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"counterparty\" : {\n \"balanceAccountId\" : \"BA32278887611B5FTD2KR6TJD\"\n },\n \"triggerAmount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 50000\n },\n \"currency\" : \"EUR\",\n \"schedule\" : {\n \"type\" : \"weekly\"\n },\n \"type\" : \"push\",\n \"status\" : \"active\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/balanceAccounts/:balanceAccountId/sweeps", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "balanceAccounts", - ":balanceAccountId", - "sweeps" - ], - "variable": [ - { - "key": "balanceAccountId", - "value": "", - "description": "The unique identifier of the balance account." - } - ], - "query": [ - ] - }, - "description": "Creates a sweep that results in moving funds from or to a balance account. A sweep pulls in or pushes out funds based on a defined schedule, amount, currency, and a source or a destination." - } + ] }, { "name": "Create a sweep to push funds out of a balance account with set priorities", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"counterparty\" : {\n \"transferInstrumentId\" : \"SE322JV223222J5HGLCGF2WDV\"\n },\n \"triggerAmount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 50000\n },\n \"currency\" : \"EUR\",\n \"priorities\" : [ \"fast\", \"instant\" ],\n \"category\" : \"bank\",\n \"schedule\" : {\n \"type\" : \"weekly\"\n },\n \"type\" : \"push\",\n \"status\" : \"active\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/balanceAccounts/:balanceAccountId/sweeps", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "balanceAccounts", + ":balanceAccountId", + "sweeps" + ], + "variable": [ + { + "key": "balanceAccountId", + "value": "", + "description": "The unique identifier of the balance account." + } + ], + "query": [ + ] + }, + "description": "Creates a sweep that results in moving funds from or to a balance account. A sweep pulls in or pushes out funds based on a defined schedule, amount, currency, and a source or a destination." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"id\" : \"SWPC4227C224555B5FTD2NT2JV4WN9\",\n \"counterparty\" : {\n \"transferInstrumentId\" : \"SE322JV223222J5HGLCGF2WDV\"\n },\n \"triggerAmount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 50000\n },\n \"currency\" : \"EUR\",\n \"priorities\" : [ \"fast\", \"instant\" ],\n \"category\" : \"bank\",\n \"schedule\" : {\n \"type\" : \"weekly\"\n },\n \"type\" : \"push\",\n \"status\" : \"active\"\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"counterparty\" : {\n \"transferInstrumentId\" : \"SE322JV223222J5HGLCGF2WDV\"\n },\n \"triggerAmount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 50000\n },\n \"currency\" : \"EUR\",\n \"priorities\" : [ \"fast\", \"instant\" ],\n \"category\" : \"bank\",\n \"schedule\" : {\n \"type\" : \"weekly\"\n },\n \"type\" : \"push\",\n \"status\" : \"active\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/balanceAccounts/:balanceAccountId/sweeps", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "balanceAccounts", + ":balanceAccountId", + "sweeps" + ], + "variable": [ + { + "key": "balanceAccountId", + "value": "", + "description": "The unique identifier of the balance account." + } + ], + "query": [ + ] + }, + "description": "Creates a sweep that results in moving funds from or to a balance account. A sweep pulls in or pushes out funds based on a defined schedule, amount, currency, and a source or a destination." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"counterparty\" : {\n \"transferInstrumentId\" : \"SE322JV223222J5HGLCGF2WDV\"\n },\n \"triggerAmount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 50000\n },\n \"currency\" : \"EUR\",\n \"priorities\" : [ \"fast\", \"instant\" ],\n \"category\" : \"bank\",\n \"schedule\" : {\n \"type\" : \"weekly\"\n },\n \"type\" : \"push\",\n \"status\" : \"active\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/balanceAccounts/:balanceAccountId/sweeps", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "balanceAccounts", - ":balanceAccountId", - "sweeps" - ], - "variable": [ - { - "key": "balanceAccountId", - "value": "", - "description": "The unique identifier of the balance account." - } - ], - "query": [ - ] - }, - "description": "Creates a sweep that results in moving funds from or to a balance account. A sweep pulls in or pushes out funds based on a defined schedule, amount, currency, and a source or a destination." - } + ] } ] - } -, + }, { "name": "/balanceAccounts/:balanceAccountId/sweeps/:sweepId", "description": "Deletes a sweep for a balance account.", @@ -1557,56 +2301,57 @@ { "name": "Delete a sweep", "request": { - "method": "DELETE", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/balanceAccounts/:balanceAccountId/sweeps/:sweepId", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "balanceAccounts", - ":balanceAccountId", - "sweeps", - ":sweepId" - ], - "variable": [ - { - "key": "balanceAccountId", - "value": "", - "description": "The unique identifier of the balance account." - }, - { - "key": "sweepId", - "value": "", - "description": "The unique identifier of the sweep." - } - ], - "query": [ - ] - }, - "description": "Deletes a sweep for a balance account." - } + "method": "DELETE", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/balanceAccounts/:balanceAccountId/sweeps/:sweepId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "balanceAccounts", + ":balanceAccountId", + "sweeps", + ":sweepId" + ], + "variable": [ + { + "key": "balanceAccountId", + "value": "", + "description": "The unique identifier of the balance account." + }, + { + "key": "sweepId", + "value": "", + "description": "The unique identifier of the sweep." + } + ], + "query": [ + ] + }, + "description": "Deletes a sweep for a balance account." +} + ,"response": [ + ] } ] - } -, + }, { "name": "/balanceAccounts/:balanceAccountId/sweeps/:sweepId", "description": "Returns a sweep.", @@ -1614,56 +2359,57 @@ { "name": "Get a sweep", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/balanceAccounts/:balanceAccountId/sweeps/:sweepId", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "balanceAccounts", - ":balanceAccountId", - "sweeps", - ":sweepId" - ], - "variable": [ - { - "key": "balanceAccountId", - "value": "", - "description": "The unique identifier of the balance account." - }, - { - "key": "sweepId", - "value": "", - "description": "The unique identifier of the sweep." - } - ], - "query": [ - ] - }, - "description": "Returns a sweep." - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/balanceAccounts/:balanceAccountId/sweeps/:sweepId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "balanceAccounts", + ":balanceAccountId", + "sweeps", + ":sweepId" + ], + "variable": [ + { + "key": "balanceAccountId", + "value": "", + "description": "The unique identifier of the balance account." + }, + { + "key": "sweepId", + "value": "", + "description": "The unique identifier of the sweep." + } + ], + "query": [ + ] + }, + "description": "Returns a sweep." +} + ,"response": [ + ] } ] - } -, + }, { "name": "/balanceAccounts/:balanceAccountId/sweeps/:sweepId", "description": "Updates a sweep. When updating a sweep resource, note that if a request parameter is not provided, the parameter is left unchanged.", @@ -1671,62 +2417,127 @@ { "name": "Update the status of a sweep", "request": { - "method": "PATCH", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"status\" : \"inactive\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/balanceAccounts/:balanceAccountId/sweeps/:sweepId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "balanceAccounts", + ":balanceAccountId", + "sweeps", + ":sweepId" + ], + "variable": [ + { + "key": "balanceAccountId", + "value": "", + "description": "The unique identifier of the balance account." + }, + { + "key": "sweepId", + "value": "", + "description": "The unique identifier of the sweep." + } + ], + "query": [ + ] + }, + "description": "Updates a sweep. When updating a sweep resource, note that if a request parameter is not provided, the parameter is left unchanged." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"id\" : \"SWPC4227C224555B5FTD2NT2JV4WN5\",\n \"counterparty\" : {\n \"merchantAccount\" : \"YOUR_MERCHANT_ACCOUNT\"\n },\n \"triggerAmount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 50000\n },\n \"currency\" : \"EUR\",\n \"schedule\" : {\n \"type\" : \"balance\"\n },\n \"type\" : \"pull\",\n \"status\" : \"inactive\"\n}", + "originalRequest": { + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"status\" : \"inactive\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/balanceAccounts/:balanceAccountId/sweeps/:sweepId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "balanceAccounts", + ":balanceAccountId", + "sweeps", + ":sweepId" + ], + "variable": [ + { + "key": "balanceAccountId", + "value": "", + "description": "The unique identifier of the balance account." + }, + { + "key": "sweepId", + "value": "", + "description": "The unique identifier of the sweep." + } + ], + "query": [ + ] + }, + "description": "Updates a sweep. When updating a sweep resource, note that if a request parameter is not provided, the parameter is left unchanged." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"status\" : \"inactive\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/balanceAccounts/:balanceAccountId/sweeps/:sweepId", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "balanceAccounts", - ":balanceAccountId", - "sweeps", - ":sweepId" - ], - "variable": [ - { - "key": "balanceAccountId", - "value": "", - "description": "The unique identifier of the balance account." - }, - { - "key": "sweepId", - "value": "", - "description": "The unique identifier of the sweep." - } - ], - "query": [ - ] - }, - "description": "Updates a sweep. When updating a sweep resource, note that if a request parameter is not provided, the parameter is left unchanged." - } + ] } ] - } -, + }, { "name": "/balanceAccounts/:id", "description": "Returns a balance account and its balances for the default currency and other currencies with a non-zero balance.", @@ -1734,49 +2545,50 @@ { "name": "Get a balance account", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/balanceAccounts/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "balanceAccounts", - ":id" - ], - "variable": [ - { - "key": "id", - "value": "", - "description": "The unique identifier of the balance account." - } - ], - "query": [ - ] - }, - "description": "Returns a balance account and its balances for the default currency and other currencies with a non-zero balance." - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/balanceAccounts/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "balanceAccounts", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "The unique identifier of the balance account." + } + ], + "query": [ + ] + }, + "description": "Returns a balance account and its balances for the default currency and other currencies with a non-zero balance." +} + ,"response": [ + ] } ] - } -, + }, { "name": "/balanceAccounts/:id", "description": "Updates a balance account.", @@ -1784,55 +2596,113 @@ { "name": "Update the time zone of a balance account", "request": { - "method": "PATCH", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"timeZone\" : \"Europe/Amsterdam\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/balanceAccounts/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "balanceAccounts", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "The unique identifier of the balance account." + } + ], + "query": [ + ] + }, + "description": "Updates a balance account." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"accountHolderId\" : \"AH32272223222B5GFSNVGFFM7\",\n \"defaultCurrencyCode\" : \"EUR\",\n \"timeZone\" : \"Europe/Amsterdam\",\n \"balances\" : [ {\n \"available\" : 0,\n \"balance\" : 0,\n \"currency\" : \"EUR\",\n \"reserved\" : 0\n } ],\n \"id\" : \"BA32272223222B59K6ZXHBFN6\",\n \"status\" : \"active\"\n}", + "originalRequest": { + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"timeZone\" : \"Europe/Amsterdam\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/balanceAccounts/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "balanceAccounts", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "The unique identifier of the balance account." + } + ], + "query": [ + ] + }, + "description": "Updates a balance account." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"timeZone\" : \"Europe/Amsterdam\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/balanceAccounts/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "balanceAccounts", - ":id" - ], - "variable": [ - { - "key": "id", - "value": "", - "description": "The unique identifier of the balance account." - } - ], - "query": [ - ] - }, - "description": "Updates a balance account." - } + ] } ] - } -, + }, { "name": "/balanceAccounts/:id/paymentInstruments", "description": "Returns a paginated list of the payment instruments associated with a balance account. To fetch multiple pages, use the query parameters.For example, to limit the page to 3 payment instruments which are in active status and to skip the first 6, use `/balanceAccounts/{id}/paymentInstruments?limit=3&offset=6&status=active`.", @@ -1840,68 +2710,69 @@ { "name": "Get payment instruments linked to a balance account", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/balanceAccounts/:id/paymentInstruments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "balanceAccounts", - ":id", - "paymentInstruments" - ], - "variable": [ - { - "key": "id", - "value": "", - "description": "The unique identifier of the balance account." - } - ], - "query": [ - { - "key": "offset", - "value": "56", - "description": "The number of items that you want to skip.", - "disabled": true - }, - { - "key": "limit", - "value": "56", - "description": "The number of items returned per page, maximum 100 items. By default, the response returns 10 items per page.", - "disabled": true - }, - { - "key": "status", - "value": "status_example", - "description": "The status of the payment instruments that you want to get. By default, the response includes payment instruments with any status.", - "disabled": true - } - ] - }, - "description": "Returns a paginated list of the payment instruments associated with a balance account. To fetch multiple pages, use the query parameters.For example, to limit the page to 3 payment instruments which are in active status and to skip the first 6, use `/balanceAccounts/{id}/paymentInstruments?limit=3&offset=6&status=active`." - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/balanceAccounts/:id/paymentInstruments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "balanceAccounts", + ":id", + "paymentInstruments" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "The unique identifier of the balance account." + } + ], + "query": [ + { + "key": "offset", + "value": "56", + "description": "The number of items that you want to skip.", + "disabled": true + }, + { + "key": "limit", + "value": "56", + "description": "The number of items returned per page, maximum 100 items. By default, the response returns 10 items per page.", + "disabled": true + }, + { + "key": "status", + "value": "status_example", + "description": "The status of the payment instruments that you want to get. By default, the response includes payment instruments with any status.", + "disabled": true + } + ] + }, + "description": "Returns a paginated list of the payment instruments associated with a balance account. To fetch multiple pages, use the query parameters.For example, to limit the page to 3 payment instruments which are in active status and to skip the first 6, use `/balanceAccounts/{id}/paymentInstruments?limit=3&offset=6&status=active`." +} + ,"response": [ + ] } ] } - ] }, { @@ -1914,178 +2785,389 @@ { "name": "Allow only point-of-sale transactions", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"description\" : \"Allow only point-of-sale transactions\",\n \"reference\" : \"{{$guid}}_4F7346\",\n \"entityKey\" : {\n \"entityType\" : \"paymentInstrument\",\n \"entityReference\" : \"PI3227C223222B5FG88SB8BHR\"\n },\n \"status\" : \"active\",\n \"interval\" : {\n \"type\" : \"perTransaction\"\n },\n \"ruleRestrictions\" : {\n \"processingTypes\" : {\n \"operation\" : \"noneMatch\",\n \"value\" : [ \"pos\" ]\n }\n },\n \"type\" : \"blockList\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/transactionRules", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "transactionRules" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates a [transaction rule](https://docs.adyen.com/issuing/transaction-rules). When your user makes a transaction with their Adyen-issued card, the transaction is allowed or declined based on the conditions and outcome defined in the transaction rule. You can apply the transaction rule to several cards, such as all the cards in your platform, or to a specific card. For use cases, see [examples](https://docs.adyen.com/issuing/transaction-rules/examples)." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"description\" : \"Allow only point-of-sale transactions\",\n \"entityKey\" : {\n \"entityReference\" : \"PI3227C223222B5FG88SB8BHR\",\n \"entityType\" : \"paymentInstrument\"\n },\n \"interval\" : {\n \"timeZone\" : \"UTC\",\n \"type\" : \"perTransaction\"\n },\n \"outcomeType\" : \"hardBlock\",\n \"reference\" : \"YOUR_REFERENCE_4F7346\",\n \"requestType\" : \"authorization\",\n \"ruleRestrictions\" : {\n \"processingTypes\" : {\n \"operation\" : \"noneMatch\",\n \"value\" : [ \"pos\" ]\n }\n },\n \"startDate\" : \"2023-06-29T22:34:36.173226192+02:00\",\n \"status\" : \"active\",\n \"type\" : \"blockList\",\n \"id\" : \"TR3227C223222H5J4D9ML9V4D\"\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"description\" : \"Allow only point-of-sale transactions\",\n \"reference\" : \"{{$guid}}_4F7346\",\n \"entityKey\" : {\n \"entityType\" : \"paymentInstrument\",\n \"entityReference\" : \"PI3227C223222B5FG88SB8BHR\"\n },\n \"status\" : \"active\",\n \"interval\" : {\n \"type\" : \"perTransaction\"\n },\n \"ruleRestrictions\" : {\n \"processingTypes\" : {\n \"operation\" : \"noneMatch\",\n \"value\" : [ \"pos\" ]\n }\n },\n \"type\" : \"blockList\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/transactionRules", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "transactionRules" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates a [transaction rule](https://docs.adyen.com/issuing/transaction-rules). When your user makes a transaction with their Adyen-issued card, the transaction is allowed or declined based on the conditions and outcome defined in the transaction rule. You can apply the transaction rule to several cards, such as all the cards in your platform, or to a specific card. For use cases, see [examples](https://docs.adyen.com/issuing/transaction-rules/examples)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"description\" : \"Allow only point-of-sale transactions\",\n \"reference\" : \"{{$guid}}_4F7346\",\n \"entityKey\" : {\n \"entityType\" : \"paymentInstrument\",\n \"entityReference\" : \"PI3227C223222B5FG88SB8BHR\"\n },\n \"status\" : \"active\",\n \"interval\" : {\n \"type\" : \"perTransaction\"\n },\n \"ruleRestrictions\" : {\n \"processingTypes\" : {\n \"operation\" : \"noneMatch\",\n \"value\" : [ \"pos\" ]\n }\n },\n \"type\" : \"blockList\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/transactionRules", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "transactionRules" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Creates a [transaction rule](https://docs.adyen.com/issuing/transaction-rules). When your user makes a transaction with their Adyen-issued card, the transaction is allowed or declined based on the conditions and outcome defined in the transaction rule. You can apply the transaction rule to several cards, such as all the cards in your platform, or to a specific card. For use cases, see [examples](https://docs.adyen.com/issuing/transaction-rules/examples)." - } + ] }, { "name": "Increase the score of a card", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"description\" : \"Assign score if more than 500 EUR in 2 hours\",\n \"entityKey\" : {\n \"entityType\" : \"paymentInstrument\",\n \"entityReference\" : \"PI3227C223222B5FG88SB8BHR\"\n },\n \"interval\" : {\n \"type\" : \"sliding\",\n \"duration\" : {\n \"value\" : 2,\n \"unit\" : \"hours\"\n }\n },\n \"outcomeType\" : \"scoreBased\",\n \"reference\" : \"myRule11789\",\n \"ruleRestrictions\" : {\n \"totalAmount\" : {\n \"operation\" : \"greaterThan\",\n \"value\" : {\n \"currency\" : \"EUR\",\n \"value\" : 50000\n }\n }\n },\n \"score\" : 20,\n \"type\" : \"velocity\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/transactionRules", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "transactionRules" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates a [transaction rule](https://docs.adyen.com/issuing/transaction-rules). When your user makes a transaction with their Adyen-issued card, the transaction is allowed or declined based on the conditions and outcome defined in the transaction rule. You can apply the transaction rule to several cards, such as all the cards in your platform, or to a specific card. For use cases, see [examples](https://docs.adyen.com/issuing/transaction-rules/examples)." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"description\" : \"Assign score if more than 500 EUR in 2 hours\",\n \"entityKey\" : {\n \"entityReference\" : \"PI3227C223222B5FG88SB8BHR\",\n \"entityType\" : \"paymentInstrument\"\n },\n \"interval\" : {\n \"duration\" : {\n \"unit\" : \"hours\",\n \"value\" : 2\n },\n \"timeZone\" : \"UTC\",\n \"type\" : \"sliding\"\n },\n \"outcomeType\" : \"scoreBased\",\n \"reference\" : \"myRule11789\",\n \"requestType\" : \"authorization\",\n \"ruleRestrictions\" : {\n \"totalAmount\" : {\n \"operation\" : \"greaterThan\",\n \"value\" : {\n \"currency\" : \"EUR\",\n \"value\" : 50000\n }\n }\n },\n \"score\" : 20,\n \"status\" : \"inactive\",\n \"type\" : \"velocity\",\n \"id\" : \"TR3227C223222H5J4D9S39V59\"\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"description\" : \"Assign score if more than 500 EUR in 2 hours\",\n \"entityKey\" : {\n \"entityType\" : \"paymentInstrument\",\n \"entityReference\" : \"PI3227C223222B5FG88SB8BHR\"\n },\n \"interval\" : {\n \"type\" : \"sliding\",\n \"duration\" : {\n \"value\" : 2,\n \"unit\" : \"hours\"\n }\n },\n \"outcomeType\" : \"scoreBased\",\n \"reference\" : \"myRule11789\",\n \"ruleRestrictions\" : {\n \"totalAmount\" : {\n \"operation\" : \"greaterThan\",\n \"value\" : {\n \"currency\" : \"EUR\",\n \"value\" : 50000\n }\n }\n },\n \"score\" : 20,\n \"type\" : \"velocity\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/transactionRules", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "transactionRules" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates a [transaction rule](https://docs.adyen.com/issuing/transaction-rules). When your user makes a transaction with their Adyen-issued card, the transaction is allowed or declined based on the conditions and outcome defined in the transaction rule. You can apply the transaction rule to several cards, such as all the cards in your platform, or to a specific card. For use cases, see [examples](https://docs.adyen.com/issuing/transaction-rules/examples)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"description\" : \"Assign score if more than 500 EUR in 2 hours\",\n \"entityKey\" : {\n \"entityType\" : \"paymentInstrument\",\n \"entityReference\" : \"PI3227C223222B5FG88SB8BHR\"\n },\n \"interval\" : {\n \"type\" : \"sliding\",\n \"duration\" : {\n \"value\" : 2,\n \"unit\" : \"hours\"\n }\n },\n \"outcomeType\" : \"scoreBased\",\n \"reference\" : \"myRule11789\",\n \"ruleRestrictions\" : {\n \"totalAmount\" : {\n \"operation\" : \"greaterThan\",\n \"value\" : {\n \"currency\" : \"EUR\",\n \"value\" : 50000\n }\n }\n },\n \"score\" : 20,\n \"type\" : \"velocity\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/transactionRules", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "transactionRules" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Creates a [transaction rule](https://docs.adyen.com/issuing/transaction-rules). When your user makes a transaction with their Adyen-issued card, the transaction is allowed or declined based on the conditions and outcome defined in the transaction rule. You can apply the transaction rule to several cards, such as all the cards in your platform, or to a specific card. For use cases, see [examples](https://docs.adyen.com/issuing/transaction-rules/examples)." - } + ] }, { "name": "Limit total amount in the last 12 hours", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"description\" : \"Up to 1000 EUR per card for the last 12 hours\",\n \"reference\" : \"{{$guid}}_2918A\",\n \"status\" : \"active\",\n \"entityKey\" : {\n \"entityReference\" : \"BA3227C223222B5FN65355NR3\",\n \"entityType\" : \"balanceAccount\"\n },\n \"aggregationLevel\" : \"paymentInstrument\",\n \"interval\" : {\n \"type\" : \"sliding\",\n \"duration\" : {\n \"value\" : 12,\n \"unit\" : \"hours\"\n }\n },\n \"outcomeType\" : \"hardBlock\",\n \"ruleRestrictions\" : {\n \"totalAmount\" : {\n \"operation\" : \"greaterThan\",\n \"value\" : {\n \"value\" : 100000,\n \"currency\" : \"EUR\"\n }\n }\n },\n \"type\" : \"velocity\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/transactionRules", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "transactionRules" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates a [transaction rule](https://docs.adyen.com/issuing/transaction-rules). When your user makes a transaction with their Adyen-issued card, the transaction is allowed or declined based on the conditions and outcome defined in the transaction rule. You can apply the transaction rule to several cards, such as all the cards in your platform, or to a specific card. For use cases, see [examples](https://docs.adyen.com/issuing/transaction-rules/examples)." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"aggregationLevel\" : \"paymentInstrument\",\n \"description\" : \"Up to 1000 EUR per card for the last 12 hours\",\n \"entityKey\" : {\n \"entityReference\" : \"BA3227C223222B5FN65355NR3\",\n \"entityType\" : \"balanceAccount\"\n },\n \"interval\" : {\n \"duration\" : {\n \"unit\" : \"hours\",\n \"value\" : 12\n },\n \"timeZone\" : \"UTC\",\n \"type\" : \"sliding\"\n },\n \"outcomeType\" : \"hardBlock\",\n \"reference\" : \"YOUR_REFERENCE_2918A\",\n \"requestType\" : \"authorization\",\n \"ruleRestrictions\" : {\n \"totalAmount\" : {\n \"operation\" : \"greaterThan\",\n \"value\" : {\n \"currency\" : \"EUR\",\n \"value\" : 100000\n }\n }\n },\n \"startDate\" : \"2023-06-29T22:39:06.887628679+02:00\",\n \"status\" : \"active\",\n \"type\" : \"velocity\",\n \"id\" : \"TR32272223222H5J4D9Z8C97H\"\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"description\" : \"Up to 1000 EUR per card for the last 12 hours\",\n \"reference\" : \"{{$guid}}_2918A\",\n \"status\" : \"active\",\n \"entityKey\" : {\n \"entityReference\" : \"BA3227C223222B5FN65355NR3\",\n \"entityType\" : \"balanceAccount\"\n },\n \"aggregationLevel\" : \"paymentInstrument\",\n \"interval\" : {\n \"type\" : \"sliding\",\n \"duration\" : {\n \"value\" : 12,\n \"unit\" : \"hours\"\n }\n },\n \"outcomeType\" : \"hardBlock\",\n \"ruleRestrictions\" : {\n \"totalAmount\" : {\n \"operation\" : \"greaterThan\",\n \"value\" : {\n \"value\" : 100000,\n \"currency\" : \"EUR\"\n }\n }\n },\n \"type\" : \"velocity\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/transactionRules", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "transactionRules" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates a [transaction rule](https://docs.adyen.com/issuing/transaction-rules). When your user makes a transaction with their Adyen-issued card, the transaction is allowed or declined based on the conditions and outcome defined in the transaction rule. You can apply the transaction rule to several cards, such as all the cards in your platform, or to a specific card. For use cases, see [examples](https://docs.adyen.com/issuing/transaction-rules/examples)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"description\" : \"Up to 1000 EUR per card for the last 12 hours\",\n \"reference\" : \"{{$guid}}_2918A\",\n \"status\" : \"active\",\n \"entityKey\" : {\n \"entityReference\" : \"BA3227C223222B5FN65355NR3\",\n \"entityType\" : \"balanceAccount\"\n },\n \"aggregationLevel\" : \"paymentInstrument\",\n \"interval\" : {\n \"type\" : \"sliding\",\n \"duration\" : {\n \"value\" : 12,\n \"unit\" : \"hours\"\n }\n },\n \"outcomeType\" : \"hardBlock\",\n \"ruleRestrictions\" : {\n \"totalAmount\" : {\n \"operation\" : \"greaterThan\",\n \"value\" : {\n \"value\" : 100000,\n \"currency\" : \"EUR\"\n }\n }\n },\n \"type\" : \"velocity\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/transactionRules", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "transactionRules" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Creates a [transaction rule](https://docs.adyen.com/issuing/transaction-rules). When your user makes a transaction with their Adyen-issued card, the transaction is allowed or declined based on the conditions and outcome defined in the transaction rule. You can apply the transaction rule to several cards, such as all the cards in your platform, or to a specific card. For use cases, see [examples](https://docs.adyen.com/issuing/transaction-rules/examples)." - } + ] }, { "name": "Limit international payments", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"description\" : \"Up to 50 EUR international transactions\",\n \"reference\" : \"{{$guid}}_B2634\",\n \"status\" : \"active\",\n \"entityKey\" : {\n \"entityType\" : \"balanceAccount\",\n \"entityReference\" : \"BA3227C223222B5FN65355NR3\"\n },\n \"interval\" : {\n \"type\" : \"daily\"\n },\n \"outcomeType\" : \"hardBlock\",\n \"ruleRestrictions\" : {\n \"totalAmount\" : {\n \"operation\" : \"greaterThan\",\n \"value\" : {\n \"currency\" : \"EUR\",\n \"value\" : 5000\n }\n },\n \"internationalTransaction\" : {\n \"operation\" : \"equals\",\n \"value\" : true\n }\n },\n \"type\" : \"velocity\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/transactionRules", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "transactionRules" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates a [transaction rule](https://docs.adyen.com/issuing/transaction-rules). When your user makes a transaction with their Adyen-issued card, the transaction is allowed or declined based on the conditions and outcome defined in the transaction rule. You can apply the transaction rule to several cards, such as all the cards in your platform, or to a specific card. For use cases, see [examples](https://docs.adyen.com/issuing/transaction-rules/examples)." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"description\" : \"Up to 50 EUR international transactions\",\n \"entityKey\" : {\n \"entityReference\" : \"BA3227C223222B5FN65355NR3\",\n \"entityType\" : \"balanceAccount\"\n },\n \"interval\" : {\n \"timeOfDay\" : \"00:00:00\",\n \"timeZone\" : \"UTC\",\n \"type\" : \"daily\"\n },\n \"outcomeType\" : \"hardBlock\",\n \"reference\" : \"YOUR_REFERENCE_B2634\",\n \"requestType\" : \"authorization\",\n \"ruleRestrictions\" : {\n \"internationalTransaction\" : {\n \"operation\" : \"equals\",\n \"value\" : true\n },\n \"totalAmount\" : {\n \"operation\" : \"greaterThan\",\n \"value\" : {\n \"currency\" : \"EUR\",\n \"value\" : 5000\n }\n }\n },\n \"startDate\" : \"2023-06-29T22:39:54.068487152+02:00\",\n \"status\" : \"active\",\n \"type\" : \"velocity\",\n \"id\" : \"TR3227C223222H5J4DB2X9V65\"\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"description\" : \"Up to 50 EUR international transactions\",\n \"reference\" : \"{{$guid}}_B2634\",\n \"status\" : \"active\",\n \"entityKey\" : {\n \"entityType\" : \"balanceAccount\",\n \"entityReference\" : \"BA3227C223222B5FN65355NR3\"\n },\n \"interval\" : {\n \"type\" : \"daily\"\n },\n \"outcomeType\" : \"hardBlock\",\n \"ruleRestrictions\" : {\n \"totalAmount\" : {\n \"operation\" : \"greaterThan\",\n \"value\" : {\n \"currency\" : \"EUR\",\n \"value\" : 5000\n }\n },\n \"internationalTransaction\" : {\n \"operation\" : \"equals\",\n \"value\" : true\n }\n },\n \"type\" : \"velocity\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/transactionRules", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "transactionRules" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates a [transaction rule](https://docs.adyen.com/issuing/transaction-rules). When your user makes a transaction with their Adyen-issued card, the transaction is allowed or declined based on the conditions and outcome defined in the transaction rule. You can apply the transaction rule to several cards, such as all the cards in your platform, or to a specific card. For use cases, see [examples](https://docs.adyen.com/issuing/transaction-rules/examples)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"description\" : \"Up to 50 EUR international transactions\",\n \"reference\" : \"{{$guid}}_B2634\",\n \"status\" : \"active\",\n \"entityKey\" : {\n \"entityType\" : \"balanceAccount\",\n \"entityReference\" : \"BA3227C223222B5FN65355NR3\"\n },\n \"interval\" : {\n \"type\" : \"daily\"\n },\n \"outcomeType\" : \"hardBlock\",\n \"ruleRestrictions\" : {\n \"totalAmount\" : {\n \"operation\" : \"greaterThan\",\n \"value\" : {\n \"currency\" : \"EUR\",\n \"value\" : 5000\n }\n },\n \"internationalTransaction\" : {\n \"operation\" : \"equals\",\n \"value\" : true\n }\n },\n \"type\" : \"velocity\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/transactionRules", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "transactionRules" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Creates a [transaction rule](https://docs.adyen.com/issuing/transaction-rules). When your user makes a transaction with their Adyen-issued card, the transaction is allowed or declined based on the conditions and outcome defined in the transaction rule. You can apply the transaction rule to several cards, such as all the cards in your platform, or to a specific card. For use cases, see [examples](https://docs.adyen.com/issuing/transaction-rules/examples)." - } + ] } ] - } -, + }, { "name": "/transactionRules/:transactionRuleId", "description": "Deletes a transaction rule.", @@ -2093,49 +3175,50 @@ { "name": "Delete a transaction rule", "request": { - "method": "DELETE", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/transactionRules/:transactionRuleId", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "transactionRules", - ":transactionRuleId" - ], - "variable": [ - { - "key": "transactionRuleId", - "value": "", - "description": "The unique identifier of the transaction rule." - } - ], - "query": [ - ] - }, - "description": "Deletes a transaction rule." - } + "method": "DELETE", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/transactionRules/:transactionRuleId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "transactionRules", + ":transactionRuleId" + ], + "variable": [ + { + "key": "transactionRuleId", + "value": "", + "description": "The unique identifier of the transaction rule." + } + ], + "query": [ + ] + }, + "description": "Deletes a transaction rule." +} + ,"response": [ + ] } ] - } -, + }, { "name": "/transactionRules/:transactionRuleId", "description": "Returns the details of a transaction rule.", @@ -2143,49 +3226,50 @@ { "name": "Get a transaction rule", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/transactionRules/:transactionRuleId", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "transactionRules", - ":transactionRuleId" - ], - "variable": [ - { - "key": "transactionRuleId", - "value": "", - "description": "The unique identifier of the transaction rule." - } - ], - "query": [ - ] - }, - "description": "Returns the details of a transaction rule." - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/transactionRules/:transactionRuleId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "transactionRules", + ":transactionRuleId" + ], + "variable": [ + { + "key": "transactionRuleId", + "value": "", + "description": "The unique identifier of the transaction rule." + } + ], + "query": [ + ] + }, + "description": "Returns the details of a transaction rule." +} + ,"response": [ + ] } ] - } -, + }, { "name": "/transactionRules/:transactionRuleId", "description": "Updates a transaction rule. * To update only the status of a transaction rule, send only the `status` parameter. All other parameters not provided in the request are left unchanged. * When updating any other parameter, you need to send all existing resource parameters. If you omit a parameter in the request, that parameter is removed from the resource.", @@ -2193,55 +3277,113 @@ { "name": "Update the interval of transaction rule", "request": { - "method": "PATCH", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"description\" : \"Allow only point-of-sale transactions\",\n \"reference\" : \"{{$guid}}_4F7346\",\n \"entityKey\" : {\n \"entityType\" : \"paymentInstrument\",\n \"entityReference\" : \"PI3227C223222B5FG88SB8BHR\"\n },\n \"status\" : \"inactive\",\n \"interval\" : {\n \"type\" : \"weekly\"\n },\n \"ruleRestrictions\" : {\n \"processingTypes\" : {\n \"operation\" : \"noneMatch\",\n \"value\" : [ \"pos\" ]\n }\n },\n \"type\" : \"blockList\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/transactionRules/:transactionRuleId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "transactionRules", + ":transactionRuleId" + ], + "variable": [ + { + "key": "transactionRuleId", + "value": "", + "description": "The unique identifier of the transaction rule." + } + ], + "query": [ + ] + }, + "description": "Updates a transaction rule. * To update only the status of a transaction rule, send only the `status` parameter. All other parameters not provided in the request are left unchanged. * When updating any other parameter, you need to send all existing resource parameters. If you omit a parameter in the request, that parameter is removed from the resource." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"aggregationLevel\" : \"paymentInstrument\",\n \"description\" : \"Up to 1000 EUR per card for the last 12 hours\",\n \"entityKey\" : {\n \"entityReference\" : \"PG3227C223222C5GXR3M5592Q\",\n \"entityType\" : \"paymentInstrumentGroup\"\n },\n \"interval\" : {\n \"duration\" : {\n \"unit\" : \"hours\",\n \"value\" : 12\n },\n \"timeZone\" : \"UTC\",\n \"type\" : \"sliding\"\n },\n \"outcomeType\" : \"hardBlock\",\n \"reference\" : \"YOUR_REFERENCE_2918A\",\n \"requestType\" : \"authorization\",\n \"ruleRestrictions\" : {\n \"totalAmount\" : {\n \"operation\" : \"greaterThan\",\n \"value\" : {\n \"currency\" : \"EUR\",\n \"value\" : 100000\n }\n }\n },\n \"startDate\" : \"2022-11-17T00:07:09.10057663+01:00\",\n \"status\" : \"inactive\",\n \"type\" : \"velocity\",\n \"id\" : \"TR3227C223222C5GXR3XP596N\"\n}", + "originalRequest": { + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"description\" : \"Allow only point-of-sale transactions\",\n \"reference\" : \"{{$guid}}_4F7346\",\n \"entityKey\" : {\n \"entityType\" : \"paymentInstrument\",\n \"entityReference\" : \"PI3227C223222B5FG88SB8BHR\"\n },\n \"status\" : \"inactive\",\n \"interval\" : {\n \"type\" : \"weekly\"\n },\n \"ruleRestrictions\" : {\n \"processingTypes\" : {\n \"operation\" : \"noneMatch\",\n \"value\" : [ \"pos\" ]\n }\n },\n \"type\" : \"blockList\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/transactionRules/:transactionRuleId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "transactionRules", + ":transactionRuleId" + ], + "variable": [ + { + "key": "transactionRuleId", + "value": "", + "description": "The unique identifier of the transaction rule." + } + ], + "query": [ + ] + }, + "description": "Updates a transaction rule. * To update only the status of a transaction rule, send only the `status` parameter. All other parameters not provided in the request are left unchanged. * When updating any other parameter, you need to send all existing resource parameters. If you omit a parameter in the request, that parameter is removed from the resource." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"description\" : \"Allow only point-of-sale transactions\",\n \"reference\" : \"{{$guid}}_4F7346\",\n \"entityKey\" : {\n \"entityType\" : \"paymentInstrument\",\n \"entityReference\" : \"PI3227C223222B5FG88SB8BHR\"\n },\n \"status\" : \"inactive\",\n \"interval\" : {\n \"type\" : \"weekly\"\n },\n \"ruleRestrictions\" : {\n \"processingTypes\" : {\n \"operation\" : \"noneMatch\",\n \"value\" : [ \"pos\" ]\n }\n },\n \"type\" : \"blockList\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/transactionRules/:transactionRuleId", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "transactionRules", - ":transactionRuleId" - ], - "variable": [ - { - "key": "transactionRuleId", - "value": "", - "description": "The unique identifier of the transaction rule." - } - ], - "query": [ - ] - }, - "description": "Updates a transaction rule. * To update only the status of a transaction rule, send only the `status` parameter. All other parameters not provided in the request are left unchanged. * When updating any other parameter, you need to send all existing resource parameters. If you omit a parameter in the request, that parameter is removed from the resource." - } + ] } ] } - ] }, { @@ -2254,109 +3396,110 @@ { "name": "Get a list of card orders", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/cardorders", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "cardorders" - ], - "variable": [ - ], - "query": [ - { - "key": "id", - "value": "id_example", - "description": "The unique identifier of the card order. ", - "disabled": true - }, - { - "key": "cardManufacturingProfileId", - "value": "cardManufacturingProfileId_example", - "description": "The unique identifier of the card manufacturer profile.", - "disabled": true - }, - { - "key": "status", - "value": "status_example", - "description": "The status of the card order.", - "disabled": true - }, - { - "key": "txVariantCode", - "value": "txVariantCode_example", - "description": "The unique code of the card manufacturer profile. Possible values: **mcmaestro**, **mc**, **visa**, **mcdebit**. ", - "disabled": true - }, - { - "key": "createdSince", - "value": "2013-10-20T19:20:30+01:00", - "description": "Only include card orders that have been created on or after this point in time. The value must be in ISO 8601 format. For example, **2021-05-30T15:07:40Z**.", - "disabled": true - }, - { - "key": "createdUntil", - "value": "2013-10-20T19:20:30+01:00", - "description": "Only include card orders that have been created on or before this point in time. The value must be in ISO 8601 format. For example, **2021-05-30T15:07:40Z**.", - "disabled": true - }, - { - "key": "lockedSince", - "value": "2013-10-20T19:20:30+01:00", - "description": "Only include card orders that have been locked on or after this point in time. The value must be in ISO 8601 format. For example, **2021-05-30T15:07:40Z**.", - "disabled": true - }, - { - "key": "lockedUntil", - "value": "2013-10-20T19:20:30+01:00", - "description": "Only include card orders that have been locked on or before this point in time. The value must be in ISO 8601 format. For example, **2021-05-30T15:07:40Z**.", - "disabled": true - }, - { - "key": "serviceCenter", - "value": "serviceCenter_example", - "description": "The service center at which the card is issued. The value is case-sensitive. ", - "disabled": true - }, - { - "key": "offset", - "value": "56", - "description": "Specifies the position of an element in a list of card orders. The response includes a list of card orders that starts at the specified offset. **Default:** 0, which means that the response contains all the elements in the list of card orders.", - "disabled": true - }, - { - "key": "limit", - "value": "56", - "description": "The number of card orders returned per page. **Default:** 10.", - "disabled": true - } - ] - }, - "description": "Returns a paginated list of card orders." - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/cardorders", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "cardorders" + ], + "variable": [ + ], + "query": [ + { + "key": "id", + "value": "id_example", + "description": "The unique identifier of the card order. ", + "disabled": true + }, + { + "key": "cardManufacturingProfileId", + "value": "cardManufacturingProfileId_example", + "description": "The unique identifier of the card manufacturer profile.", + "disabled": true + }, + { + "key": "status", + "value": "status_example", + "description": "The status of the card order.", + "disabled": true + }, + { + "key": "txVariantCode", + "value": "txVariantCode_example", + "description": "The unique code of the card manufacturer profile. Possible values: **mcmaestro**, **mc**, **visa**, **mcdebit**. ", + "disabled": true + }, + { + "key": "createdSince", + "value": "2013-10-20T19:20:30+01:00", + "description": "Only include card orders that have been created on or after this point in time. The value must be in ISO 8601 format. For example, **2021-05-30T15:07:40Z**.", + "disabled": true + }, + { + "key": "createdUntil", + "value": "2013-10-20T19:20:30+01:00", + "description": "Only include card orders that have been created on or before this point in time. The value must be in ISO 8601 format. For example, **2021-05-30T15:07:40Z**.", + "disabled": true + }, + { + "key": "lockedSince", + "value": "2013-10-20T19:20:30+01:00", + "description": "Only include card orders that have been locked on or after this point in time. The value must be in ISO 8601 format. For example, **2021-05-30T15:07:40Z**.", + "disabled": true + }, + { + "key": "lockedUntil", + "value": "2013-10-20T19:20:30+01:00", + "description": "Only include card orders that have been locked on or before this point in time. The value must be in ISO 8601 format. For example, **2021-05-30T15:07:40Z**.", + "disabled": true + }, + { + "key": "serviceCenter", + "value": "serviceCenter_example", + "description": "The service center at which the card is issued. The value is case-sensitive. ", + "disabled": true + }, + { + "key": "offset", + "value": "56", + "description": "Specifies the position of an element in a list of card orders. The response includes a list of card orders that starts at the specified offset. **Default:** 0, which means that the response contains all the elements in the list of card orders.", + "disabled": true + }, + { + "key": "limit", + "value": "56", + "description": "The number of card orders returned per page. **Default:** 10.", + "disabled": true + } + ] + }, + "description": "Returns a paginated list of card orders." +} + ,"response": [ + ] } ] - } -, + }, { "name": "/cardorders/:id/items", "description": "Returns the item list of a specific card order.", @@ -2364,62 +3507,63 @@ { "name": "Get card order items", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/cardorders/:id/items", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "cardorders", - ":id", - "items" - ], - "variable": [ - { - "key": "id", - "value": "", - "description": "The unique identifier of the card order." - } - ], - "query": [ - { - "key": "offset", - "value": "56", - "description": "Specifies the position of an element in a list of card orders. The response includes a list of card order items that starts at the specified offset. **Default:** 0, which means that the response contains all the elements in the list of card order items.", - "disabled": true - }, - { - "key": "limit", - "value": "56", - "description": "The number of card order items returned per page. **Default:** 10.", - "disabled": true - } - ] - }, - "description": "Returns the item list of a specific card order." - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/cardorders/:id/items", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "cardorders", + ":id", + "items" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "The unique identifier of the card order." + } + ], + "query": [ + { + "key": "offset", + "value": "56", + "description": "Specifies the position of an element in a list of card orders. The response includes a list of card order items that starts at the specified offset. **Default:** 0, which means that the response contains all the elements in the list of card order items.", + "disabled": true + }, + { + "key": "limit", + "value": "56", + "description": "The number of card order items returned per page. **Default:** 10.", + "disabled": true + } + ] + }, + "description": "Returns the item list of a specific card order." +} + ,"response": [ + ] } ] } - ] }, { @@ -2432,49 +3576,101 @@ { "name": "Create a payment instrument group", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"balancePlatform\" : \"{{YOUR_BALANCE_PLATFORM}}\",\n \"txVariant\" : \"mc\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentInstrumentGroups", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentInstrumentGroups" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates a payment instrument group to associate and group payment instrument resources together. You can apply a transaction rule to a payment instrument group." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"balancePlatform\" : \"YOUR_BALANCE_PLATFORM\",\n \"txVariant\" : \"mc\",\n \"id\" : \"PG32272223222H5J4DCRVC9DH\"\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"balancePlatform\" : \"{{YOUR_BALANCE_PLATFORM}}\",\n \"txVariant\" : \"mc\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentInstrumentGroups", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentInstrumentGroups" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates a payment instrument group to associate and group payment instrument resources together. You can apply a transaction rule to a payment instrument group." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"balancePlatform\" : \"{{YOUR_BALANCE_PLATFORM}}\",\n \"txVariant\" : \"mc\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentInstrumentGroups", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentInstrumentGroups" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Creates a payment instrument group to associate and group payment instrument resources together. You can apply a transaction rule to a payment instrument group." - } + ] } ] - } -, + }, { "name": "/paymentInstrumentGroups/:id", "description": "Returns the details of a payment instrument group.", @@ -2482,49 +3678,50 @@ { "name": "Get a payment instrument group", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentInstrumentGroups/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentInstrumentGroups", - ":id" - ], - "variable": [ - { - "key": "id", - "value": "", - "description": "The unique identifier of the payment instrument group." - } - ], - "query": [ - ] - }, - "description": "Returns the details of a payment instrument group." - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentInstrumentGroups/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentInstrumentGroups", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "The unique identifier of the payment instrument group." + } + ], + "query": [ + ] + }, + "description": "Returns the details of a payment instrument group." +} + ,"response": [ + ] } ] - } -, + }, { "name": "/paymentInstrumentGroups/:id/transactionRules", "description": "Returns a list of all the transaction rules associated with a payment instrument group.", @@ -2532,50 +3729,51 @@ { "name": "Get all transaction rules for a payment instrument group", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentInstrumentGroups/:id/transactionRules", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentInstrumentGroups", - ":id", - "transactionRules" - ], - "variable": [ - { - "key": "id", - "value": "", - "description": "The unique identifier of the payment instrument group." - } - ], - "query": [ - ] - }, - "description": "Returns a list of all the transaction rules associated with a payment instrument group." - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentInstrumentGroups/:id/transactionRules", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentInstrumentGroups", + ":id", + "transactionRules" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "The unique identifier of the payment instrument group." + } + ], + "query": [ + ] + }, + "description": "Returns a list of all the transaction rules associated with a payment instrument group." +} + ,"response": [ + ] } ] } - ] }, { @@ -2588,92 +3786,197 @@ { "name": "Validate an IBAN", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"accountIdentification\" : {\n \"type\" : \"iban\",\n \"iban\" : \"1001001234\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/validateBankAccountIdentification", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "validateBankAccountIdentification" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Validates bank account identification details. You can use this endpoint to validate bank account details before you [make a transfer](https://docs.adyen.com/api-explorer/transfers/latest/post/transfers) or [create a transfer instrument](https://docs.adyen.com/api-explorer/legalentity/latest/post/transferInstruments)." +} + ,"response": [ + {"name": "Unprocessable Entity - a request validation error.", + "code": 422, + "status": "Unprocessable Entity", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"type\" : \"https://docs.adyen.com/errors/validation\",\n \"title\" : \"Invalid bank account identification details provided\",\n \"detail\" : \"Provided IBAN is incorrect\",\n \"status\" : 422,\n \"invalidFields\" : [ {\n \"name\" : \"iban\",\n \"value\" : \"1001001234\",\n \"message\" : \"Invalid IBAN.\"\n } ],\n \"errorCode\" : \"33_01\"\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"accountIdentification\" : {\n \"type\" : \"iban\",\n \"iban\" : \"1001001234\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/validateBankAccountIdentification", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "validateBankAccountIdentification" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Validates bank account identification details. You can use this endpoint to validate bank account details before you [make a transfer](https://docs.adyen.com/api-explorer/transfers/latest/post/transfers) or [create a transfer instrument](https://docs.adyen.com/api-explorer/legalentity/latest/post/transferInstruments)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"accountIdentification\" : {\n \"type\" : \"iban\",\n \"iban\" : \"1001001234\"\n }\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/validateBankAccountIdentification", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "validateBankAccountIdentification" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Validates bank account identification details. You can use this endpoint to validate bank account details before you [make a transfer](https://docs.adyen.com/api-explorer/transfers/latest/post/transfers) or [create a transfer instrument](https://docs.adyen.com/api-explorer/legalentity/latest/post/transferInstruments)." - } + ] }, { "name": "Validate a US bank account", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"accountIdentification\" : {\n \"type\" : \"usLocal\",\n \"accountNumber\" : \"12345JHDhjkf67890\",\n \"accountType\" : \"checking\",\n \"routingNumber\" : \"121000567\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/validateBankAccountIdentification", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "validateBankAccountIdentification" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Validates bank account identification details. You can use this endpoint to validate bank account details before you [make a transfer](https://docs.adyen.com/api-explorer/transfers/latest/post/transfers) or [create a transfer instrument](https://docs.adyen.com/api-explorer/legalentity/latest/post/transferInstruments)." +} + ,"response": [ + {"name": "Unprocessable Entity - a request validation error.", + "code": 422, + "status": "Unprocessable Entity", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"type\" : \"https://docs.adyen.com/errors/validation\",\n \"title\" : \"Invalid bank account identification details provided\",\n \"detail\" : \"Provided account number and the routing number are incorrect\",\n \"status\" : 422,\n \"invalidFields\" : [ {\n \"name\" : \"accountNumber\",\n \"value\" : \"12345JHDhjkf67890\",\n \"message\" : \"Invalid account number.\"\n }, {\n \"name\" : \"routingNumber\",\n \"value\" : \"121000567\",\n \"message\" : \"Invalid routing number.\"\n } ],\n \"errorCode\" : \"33_01\"\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"accountIdentification\" : {\n \"type\" : \"usLocal\",\n \"accountNumber\" : \"12345JHDhjkf67890\",\n \"accountType\" : \"checking\",\n \"routingNumber\" : \"121000567\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/validateBankAccountIdentification", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "validateBankAccountIdentification" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Validates bank account identification details. You can use this endpoint to validate bank account details before you [make a transfer](https://docs.adyen.com/api-explorer/transfers/latest/post/transfers) or [create a transfer instrument](https://docs.adyen.com/api-explorer/legalentity/latest/post/transferInstruments)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"accountIdentification\" : {\n \"type\" : \"usLocal\",\n \"accountNumber\" : \"12345JHDhjkf67890\",\n \"accountType\" : \"checking\",\n \"routingNumber\" : \"121000567\"\n }\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/validateBankAccountIdentification", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "validateBankAccountIdentification" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Validates bank account identification details. You can use this endpoint to validate bank account details before you [make a transfer](https://docs.adyen.com/api-explorer/transfers/latest/post/transfers) or [create a transfer instrument](https://docs.adyen.com/api-explorer/legalentity/latest/post/transferInstruments)." - } + ] } ] } - ] }, { @@ -2686,50 +3989,103 @@ { "name": "Request a PIN change", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"paymentInstrumentId\" : \"PI6789678967896789\",\n \"encryptedKey\" : \"75989E8881284D10153ABACF022EEA09F5...\",\n \"encryptedPinBlock\" : \"63E5060591EF65F48DD1D4FECD0FECD5\",\n \"token\" : \"5555341244441115\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/pins/change", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "pins", + "change" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Changes the personal identification number (PIN) of a specified card. To make this request, your API credential must have the following role: * Bank Issuing PIN Change Webservice role" +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"status\" : \"completed\"\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"paymentInstrumentId\" : \"PI6789678967896789\",\n \"encryptedKey\" : \"75989E8881284D10153ABACF022EEA09F5...\",\n \"encryptedPinBlock\" : \"63E5060591EF65F48DD1D4FECD0FECD5\",\n \"token\" : \"5555341244441115\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/pins/change", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "pins", + "change" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Changes the personal identification number (PIN) of a specified card. To make this request, your API credential must have the following role: * Bank Issuing PIN Change Webservice role" +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"paymentInstrumentId\" : \"PI6789678967896789\",\n \"encryptedKey\" : \"75989E8881284D10153ABACF022EEA09F5...\",\n \"encryptedPinBlock\" : \"63E5060591EF65F48DD1D4FECD0FECD5\",\n \"token\" : \"5555341244441115\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/pins/change", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "pins", - "change" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Changes the personal identification number (PIN) of a specified card. To make this request, your API credential must have the following role: * Bank Issuing PIN Change Webservice role" - } + ] } ] - } -, + }, { "name": "/pins/reveal", "description": "Returns an encrypted PIN block that contains the PIN of a specified card. You can use the decrypted data to reveal the PIN in your user interface. To make this request, your API credential must have the following role: * Bank Issuing PIN Reveal Webservice role", @@ -2737,50 +4093,103 @@ { "name": "Request a PIN block", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"paymentInstrumentId\" : \"PI3227C223222B5BPCMFXD2XG\",\n \"encryptedKey\" : \"75989E8881284D10153ABACF022EEA09F5...\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/pins/reveal", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "pins", + "reveal" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Returns an encrypted PIN block that contains the PIN of a specified card. You can use the decrypted data to reveal the PIN in your user interface. To make this request, your API credential must have the following role: * Bank Issuing PIN Reveal Webservice role" +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"encryptedPinBlock\" : \"63E5060591EF65F48DD1D4FECD0FECD5\",\n \"token\" : \"5555341244441115\"\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"paymentInstrumentId\" : \"PI3227C223222B5BPCMFXD2XG\",\n \"encryptedKey\" : \"75989E8881284D10153ABACF022EEA09F5...\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/pins/reveal", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "pins", + "reveal" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Returns an encrypted PIN block that contains the PIN of a specified card. You can use the decrypted data to reveal the PIN in your user interface. To make this request, your API credential must have the following role: * Bank Issuing PIN Reveal Webservice role" +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"paymentInstrumentId\" : \"PI3227C223222B5BPCMFXD2XG\",\n \"encryptedKey\" : \"75989E8881284D10153ABACF022EEA09F5...\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/pins/reveal", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "pins", - "reveal" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Returns an encrypted PIN block that contains the PIN of a specified card. You can use the decrypted data to reveal the PIN in your user interface. To make this request, your API credential must have the following role: * Bank Issuing PIN Reveal Webservice role" - } + ] } ] - } -, + }, { "name": "/publicKey", "description": "Get an [RSA](https://en.wikipedia.org/wiki/RSA_(cryptosystem)) public key to encrypt or decrypt card data. You need the RSA public key to generate the `encryptedKey` required to: - [Change a PIN](https://docs.adyen.com/api-explorer/balanceplatform/2/post/pins/change). - [Reveal a PIN](https://docs.adyen.com/api-explorer/balanceplatform/2/post/pins/reveal). - [Reveal a PAN](https://docs.adyen.com/api-explorer/balanceplatform/2/post/paymentInstruments/reveal).", @@ -2788,55 +4197,56 @@ { "name": "Get an RSA public key", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/publicKey", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "publicKey" - ], - "variable": [ - ], - "query": [ - { - "key": "purpose", - "value": "purpose_example", - "description": "The purpose of the public key. Possible values: **pinChange**, **pinReveal**, **panReveal**. Default value: **pinReveal**.", - "disabled": true - }, - { - "key": "format", - "value": "format_example", - "description": "The encoding format of public key. Possible values: **jwk**, **pem**. Default value: **pem**.", - "disabled": true - } - ] - }, - "description": "Get an [RSA](https://en.wikipedia.org/wiki/RSA_(cryptosystem)) public key to encrypt or decrypt card data. You need the RSA public key to generate the `encryptedKey` required to: - [Change a PIN](https://docs.adyen.com/api-explorer/balanceplatform/2/post/pins/change). - [Reveal a PIN](https://docs.adyen.com/api-explorer/balanceplatform/2/post/pins/reveal). - [Reveal a PAN](https://docs.adyen.com/api-explorer/balanceplatform/2/post/paymentInstruments/reveal)." - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/publicKey", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "publicKey" + ], + "variable": [ + ], + "query": [ + { + "key": "purpose", + "value": "purpose_example", + "description": "The purpose of the public key. Possible values: **pinChange**, **pinReveal**, **panReveal**. Default value: **pinReveal**.", + "disabled": true + }, + { + "key": "format", + "value": "format_example", + "description": "The encoding format of public key. Possible values: **jwk**, **pem**. Default value: **pem**.", + "disabled": true + } + ] + }, + "description": "Get an [RSA](https://en.wikipedia.org/wiki/RSA_(cryptosystem)) public key to encrypt or decrypt card data. You need the RSA public key to generate the `encryptedKey` required to: - [Change a PIN](https://docs.adyen.com/api-explorer/balanceplatform/2/post/pins/change). - [Reveal a PIN](https://docs.adyen.com/api-explorer/balanceplatform/2/post/pins/reveal). - [Reveal a PAN](https://docs.adyen.com/api-explorer/balanceplatform/2/post/paymentInstruments/reveal)." +} + ,"response": [ + ] } ] } - ] }, { @@ -2849,50 +4259,103 @@ { "name": "Calculate transfer routes", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"balancePlatform\" : \"{{YOUR_BALANCE_PLATFORM}}\",\n \"currency\" : \"USD\",\n \"category\" : \"bank\",\n \"counterparty\" : {\n \"bankAccount\" : {\n \"accountIdentification\" : {\n \"type\" : \"iban\",\n \"iban\" : \"NL91ABNA0417164300\"\n }\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/transferRoutes/calculate", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "transferRoutes", + "calculate" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Returns available transfer routes based on a combination of transfer `country`, `currency`, `counterparty`, and `priorities`. Use this endpoint to find optimal transfer priorities and associated requirements before you [make a transfer](https://docs.adyen.com/api-explorer/transfers/latest/post/transfers)." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"transferRoutes\" : [ {\n \"country\" : \"NL\",\n \"currency\" : \"USD\",\n \"priority\" : \"crossBorder\",\n \"requirements\" : [ {\n \"description\" : \"Amount of transfer must be at least 100, and no greater than 99999999999\",\n \"max\" : 99999999999,\n \"min\" : 100,\n \"type\" : \"amountMinMaxRequirement\"\n }, {\n \"description\" : \"Country, street and city is required.\",\n \"requiredAddressFields\" : [ \"line1\", \"city\", \"country\" ],\n \"type\" : \"addressRequirement\"\n }, {\n \"description\" : \"Bank account identification type must be iban or numberAndBic\",\n \"bankAccountIdentificationTypes\" : [ \"iban\", \"numberAndBic\" ],\n \"type\" : \"bankAccountIdentificationTypeRequirement\"\n }, {\n \"issuingCountryCode\" : \"NL\",\n \"paymentInstrumentType\" : \"BankAccount\",\n \"type\" : \"paymentInstrumentRequirement\"\n } ]\n }, {\n \"country\" : \"NL\",\n \"currency\" : \"USD\",\n \"priority\" : \"wire\",\n \"requirements\" : [ {\n \"description\" : \"Amount of transfer must be at least 100, and no greater than 99999999999\",\n \"max\" : 99999999999,\n \"min\" : 100,\n \"type\" : \"amountMinMaxRequirement\"\n }, {\n \"description\" : \"Country, street and city is required.\",\n \"requiredAddressFields\" : [ \"line1\", \"city\", \"country\" ],\n \"type\" : \"addressRequirement\"\n }, {\n \"description\" : \"Bank account identification type must be iban or numberAndBic\",\n \"bankAccountIdentificationTypes\" : [ \"iban\", \"numberAndBic\" ],\n \"type\" : \"bankAccountIdentificationTypeRequirement\"\n }, {\n \"issuingCountryCode\" : \"NL\",\n \"paymentInstrumentType\" : \"BankAccount\",\n \"type\" : \"paymentInstrumentRequirement\"\n } ]\n } ]\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"balancePlatform\" : \"{{YOUR_BALANCE_PLATFORM}}\",\n \"currency\" : \"USD\",\n \"category\" : \"bank\",\n \"counterparty\" : {\n \"bankAccount\" : {\n \"accountIdentification\" : {\n \"type\" : \"iban\",\n \"iban\" : \"NL91ABNA0417164300\"\n }\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/transferRoutes/calculate", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "transferRoutes", + "calculate" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Returns available transfer routes based on a combination of transfer `country`, `currency`, `counterparty`, and `priorities`. Use this endpoint to find optimal transfer priorities and associated requirements before you [make a transfer](https://docs.adyen.com/api-explorer/transfers/latest/post/transfers)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"balancePlatform\" : \"{{YOUR_BALANCE_PLATFORM}}\",\n \"currency\" : \"USD\",\n \"category\" : \"bank\",\n \"counterparty\" : {\n \"bankAccount\" : {\n \"accountIdentification\" : {\n \"type\" : \"iban\",\n \"iban\" : \"NL91ABNA0417164300\"\n }\n }\n }\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/transferRoutes/calculate", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "transferRoutes", - "calculate" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Returns available transfer routes based on a combination of transfer `country`, `currency`, `counterparty`, and `priorities`. Use this endpoint to find optimal transfer priorities and associated requirements before you [make a transfer](https://docs.adyen.com/api-explorer/transfers/latest/post/transfers)." - } + ] } ] } - ] } ], diff --git a/postman/BinLookupService-v40.json b/postman/BinLookupService-v40.json index a3b65f7..95bab73 100644 --- a/postman/BinLookupService-v40.json +++ b/postman/BinLookupService-v40.json @@ -19,49 +19,101 @@ { "name": "Get 3D Secure availability", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"cardNumber\" : \"4111111111111111\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/get3dsAvailability", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "get3dsAvailability" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Verifies whether 3D Secure is available for the specified BIN or card brand. For 3D Secure 2, this endpoint also returns device fingerprinting keys. For more information, refer to [3D Secure 2](https://docs.adyen.com/online-payments/3d-secure/native-3ds2)." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"threeDS1Supported\" : true,\n \"threeDS2CardRangeDetails\" : [ ],\n \"threeDS2supported\" : false\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"cardNumber\" : \"4111111111111111\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/get3dsAvailability", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "get3dsAvailability" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Verifies whether 3D Secure is available for the specified BIN or card brand. For 3D Secure 2, this endpoint also returns device fingerprinting keys. For more information, refer to [3D Secure 2](https://docs.adyen.com/online-payments/3d-secure/native-3ds2)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"cardNumber\" : \"4111111111111111\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/get3dsAvailability", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "get3dsAvailability" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Verifies whether 3D Secure is available for the specified BIN or card brand. For 3D Secure 2, this endpoint also returns device fingerprinting keys. For more information, refer to [3D Secure 2](https://docs.adyen.com/online-payments/3d-secure/native-3ds2)." - } + ] } ] - } -, + }, { "name": "/getCostEstimate", "description": ">This API is available only for merchants operating in Australia, the EU, and the UK. Use the Adyen Cost Estimation API to pre-calculate interchange and scheme fee costs. Knowing these costs prior actual payment authorisation gives you an opportunity to charge those costs to the cardholder, if necessary. To retrieve this information, make the call to the `/getCostEstimate` endpoint. The response to this call contains the amount of the interchange and scheme fees charged by the network for this transaction, and also which surcharging policy is possible (based on current regulations). > Since not all information is known in advance (for example, if the cardholder will successfully authenticate via 3D Secure or if you also plan to provide additional Level 2/3 data), the returned amounts are based on a set of assumption criteria you define in the `assumptions` parameter.", @@ -69,221 +121,434 @@ { "name": "Estimate the transaction cost", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"amount\" : {\n \"value\" : 1234,\n \"currency\" : \"EUR\"\n },\n \"assumptions\" : {\n \"assumeLevel3Data\" : true,\n \"assume3DSecureAuthenticated\" : true\n },\n \"cardNumber\" : \"5101180000000007\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"merchantDetails\" : {\n \"countryCode\" : \"NL\",\n \"mcc\" : \"7411\",\n \"enrolledIn3DSecure\" : true\n },\n \"shopperInteraction\" : \"Ecommerce\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/getCostEstimate", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "getCostEstimate" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": ">This API is available only for merchants operating in Australia, the EU, and the UK. Use the Adyen Cost Estimation API to pre-calculate interchange and scheme fee costs. Knowing these costs prior actual payment authorisation gives you an opportunity to charge those costs to the cardholder, if necessary. To retrieve this information, make the call to the `/getCostEstimate` endpoint. The response to this call contains the amount of the interchange and scheme fees charged by the network for this transaction, and also which surcharging policy is possible (based on current regulations). > Since not all information is known in advance (for example, if the cardholder will successfully authenticate via 3D Secure or if you also plan to provide additional Level 2/3 data), the returned amounts are based on a set of assumption criteria you define in the `assumptions` parameter." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"costEstimateAmount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 12\n },\n \"resultCode\" : \"Success\",\n \"surchargeType\" : \"PASSTHROUGH\"\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"amount\" : {\n \"value\" : 1234,\n \"currency\" : \"EUR\"\n },\n \"assumptions\" : {\n \"assumeLevel3Data\" : true,\n \"assume3DSecureAuthenticated\" : true\n },\n \"cardNumber\" : \"5101180000000007\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"merchantDetails\" : {\n \"countryCode\" : \"NL\",\n \"mcc\" : \"7411\",\n \"enrolledIn3DSecure\" : true\n },\n \"shopperInteraction\" : \"Ecommerce\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/getCostEstimate", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "getCostEstimate" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": ">This API is available only for merchants operating in Australia, the EU, and the UK. Use the Adyen Cost Estimation API to pre-calculate interchange and scheme fee costs. Knowing these costs prior actual payment authorisation gives you an opportunity to charge those costs to the cardholder, if necessary. To retrieve this information, make the call to the `/getCostEstimate` endpoint. The response to this call contains the amount of the interchange and scheme fees charged by the network for this transaction, and also which surcharging policy is possible (based on current regulations). > Since not all information is known in advance (for example, if the cardholder will successfully authenticate via 3D Secure or if you also plan to provide additional Level 2/3 data), the returned amounts are based on a set of assumption criteria you define in the `assumptions` parameter." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"value\" : 1234,\n \"currency\" : \"EUR\"\n },\n \"assumptions\" : {\n \"assumeLevel3Data\" : true,\n \"assume3DSecureAuthenticated\" : true\n },\n \"cardNumber\" : \"5101180000000007\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"merchantDetails\" : {\n \"countryCode\" : \"NL\",\n \"mcc\" : \"7411\",\n \"enrolledIn3DSecure\" : true\n },\n \"shopperInteraction\" : \"Ecommerce\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/getCostEstimate", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "getCostEstimate" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": ">This API is available only for merchants operating in Australia, the EU, and the UK. Use the Adyen Cost Estimation API to pre-calculate interchange and scheme fee costs. Knowing these costs prior actual payment authorisation gives you an opportunity to charge those costs to the cardholder, if necessary. To retrieve this information, make the call to the `/getCostEstimate` endpoint. The response to this call contains the amount of the interchange and scheme fees charged by the network for this transaction, and also which surcharging policy is possible (based on current regulations). > Since not all information is known in advance (for example, if the cardholder will successfully authenticate via 3D Secure or if you also plan to provide additional Level 2/3 data), the returned amounts are based on a set of assumption criteria you define in the `assumptions` parameter." - } + ] }, { "name": "Estimate the transaction cost using an encrypted card number", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"amount\" : {\n \"value\" : 1234,\n \"currency\" : \"EUR\"\n },\n \"assumptions\" : {\n \"assumeLevel3Data\" : true,\n \"assume3DSecureAuthenticated\" : true\n },\n \"encryptedCardNumber\" : \"test_5101180000000007\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"merchantDetails\" : {\n \"countryCode\" : \"NL\",\n \"mcc\" : \"7411\",\n \"enrolledIn3DSecure\" : true\n },\n \"shopperInteraction\" : \"Ecommerce\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/getCostEstimate", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "getCostEstimate" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": ">This API is available only for merchants operating in Australia, the EU, and the UK. Use the Adyen Cost Estimation API to pre-calculate interchange and scheme fee costs. Knowing these costs prior actual payment authorisation gives you an opportunity to charge those costs to the cardholder, if necessary. To retrieve this information, make the call to the `/getCostEstimate` endpoint. The response to this call contains the amount of the interchange and scheme fees charged by the network for this transaction, and also which surcharging policy is possible (based on current regulations). > Since not all information is known in advance (for example, if the cardholder will successfully authenticate via 3D Secure or if you also plan to provide additional Level 2/3 data), the returned amounts are based on a set of assumption criteria you define in the `assumptions` parameter." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"costEstimateAmount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 12\n },\n \"resultCode\" : \"Success\",\n \"surchargeType\" : \"PASSTHROUGH\"\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"amount\" : {\n \"value\" : 1234,\n \"currency\" : \"EUR\"\n },\n \"assumptions\" : {\n \"assumeLevel3Data\" : true,\n \"assume3DSecureAuthenticated\" : true\n },\n \"encryptedCardNumber\" : \"test_5101180000000007\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"merchantDetails\" : {\n \"countryCode\" : \"NL\",\n \"mcc\" : \"7411\",\n \"enrolledIn3DSecure\" : true\n },\n \"shopperInteraction\" : \"Ecommerce\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/getCostEstimate", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "getCostEstimate" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": ">This API is available only for merchants operating in Australia, the EU, and the UK. Use the Adyen Cost Estimation API to pre-calculate interchange and scheme fee costs. Knowing these costs prior actual payment authorisation gives you an opportunity to charge those costs to the cardholder, if necessary. To retrieve this information, make the call to the `/getCostEstimate` endpoint. The response to this call contains the amount of the interchange and scheme fees charged by the network for this transaction, and also which surcharging policy is possible (based on current regulations). > Since not all information is known in advance (for example, if the cardholder will successfully authenticate via 3D Secure or if you also plan to provide additional Level 2/3 data), the returned amounts are based on a set of assumption criteria you define in the `assumptions` parameter." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"value\" : 1234,\n \"currency\" : \"EUR\"\n },\n \"assumptions\" : {\n \"assumeLevel3Data\" : true,\n \"assume3DSecureAuthenticated\" : true\n },\n \"encryptedCardNumber\" : \"test_5101180000000007\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"merchantDetails\" : {\n \"countryCode\" : \"NL\",\n \"mcc\" : \"7411\",\n \"enrolledIn3DSecure\" : true\n },\n \"shopperInteraction\" : \"Ecommerce\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/getCostEstimate", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "getCostEstimate" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": ">This API is available only for merchants operating in Australia, the EU, and the UK. Use the Adyen Cost Estimation API to pre-calculate interchange and scheme fee costs. Knowing these costs prior actual payment authorisation gives you an opportunity to charge those costs to the cardholder, if necessary. To retrieve this information, make the call to the `/getCostEstimate` endpoint. The response to this call contains the amount of the interchange and scheme fees charged by the network for this transaction, and also which surcharging policy is possible (based on current regulations). > Since not all information is known in advance (for example, if the cardholder will successfully authenticate via 3D Secure or if you also plan to provide additional Level 2/3 data), the returned amounts are based on a set of assumption criteria you define in the `assumptions` parameter." - } + ] }, { "name": "Estimate the transaction cost (minimal)", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"amount\" : {\n \"value\" : 1234,\n \"currency\" : \"EUR\"\n },\n \"cardNumber\" : \"5101180000000007\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/getCostEstimate", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "getCostEstimate" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": ">This API is available only for merchants operating in Australia, the EU, and the UK. Use the Adyen Cost Estimation API to pre-calculate interchange and scheme fee costs. Knowing these costs prior actual payment authorisation gives you an opportunity to charge those costs to the cardholder, if necessary. To retrieve this information, make the call to the `/getCostEstimate` endpoint. The response to this call contains the amount of the interchange and scheme fees charged by the network for this transaction, and also which surcharging policy is possible (based on current regulations). > Since not all information is known in advance (for example, if the cardholder will successfully authenticate via 3D Secure or if you also plan to provide additional Level 2/3 data), the returned amounts are based on a set of assumption criteria you define in the `assumptions` parameter." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"costEstimateAmount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 12\n },\n \"resultCode\" : \"Success\",\n \"surchargeType\" : \"PASSTHROUGH\"\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"amount\" : {\n \"value\" : 1234,\n \"currency\" : \"EUR\"\n },\n \"cardNumber\" : \"5101180000000007\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/getCostEstimate", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "getCostEstimate" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": ">This API is available only for merchants operating in Australia, the EU, and the UK. Use the Adyen Cost Estimation API to pre-calculate interchange and scheme fee costs. Knowing these costs prior actual payment authorisation gives you an opportunity to charge those costs to the cardholder, if necessary. To retrieve this information, make the call to the `/getCostEstimate` endpoint. The response to this call contains the amount of the interchange and scheme fees charged by the network for this transaction, and also which surcharging policy is possible (based on current regulations). > Since not all information is known in advance (for example, if the cardholder will successfully authenticate via 3D Secure or if you also plan to provide additional Level 2/3 data), the returned amounts are based on a set of assumption criteria you define in the `assumptions` parameter." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"value\" : 1234,\n \"currency\" : \"EUR\"\n },\n \"cardNumber\" : \"5101180000000007\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/getCostEstimate", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "getCostEstimate" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": ">This API is available only for merchants operating in Australia, the EU, and the UK. Use the Adyen Cost Estimation API to pre-calculate interchange and scheme fee costs. Knowing these costs prior actual payment authorisation gives you an opportunity to charge those costs to the cardholder, if necessary. To retrieve this information, make the call to the `/getCostEstimate` endpoint. The response to this call contains the amount of the interchange and scheme fees charged by the network for this transaction, and also which surcharging policy is possible (based on current regulations). > Since not all information is known in advance (for example, if the cardholder will successfully authenticate via 3D Secure or if you also plan to provide additional Level 2/3 data), the returned amounts are based on a set of assumption criteria you define in the `assumptions` parameter." - } + ] }, { "name": "Estimate the transaction cost (minimal with 3DSecure)", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"amount\" : {\n \"value\" : 1234,\n \"currency\" : \"EUR\"\n },\n \"assumptions\" : {\n \"assumeLevel3Data\" : true,\n \"assume3DSecureAuthenticated\" : true\n },\n \"cardNumber\" : \"5101180000000007\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/getCostEstimate", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "getCostEstimate" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": ">This API is available only for merchants operating in Australia, the EU, and the UK. Use the Adyen Cost Estimation API to pre-calculate interchange and scheme fee costs. Knowing these costs prior actual payment authorisation gives you an opportunity to charge those costs to the cardholder, if necessary. To retrieve this information, make the call to the `/getCostEstimate` endpoint. The response to this call contains the amount of the interchange and scheme fees charged by the network for this transaction, and also which surcharging policy is possible (based on current regulations). > Since not all information is known in advance (for example, if the cardholder will successfully authenticate via 3D Secure or if you also plan to provide additional Level 2/3 data), the returned amounts are based on a set of assumption criteria you define in the `assumptions` parameter." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"costEstimateAmount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 12\n },\n \"resultCode\" : \"Success\",\n \"surchargeType\" : \"PASSTHROUGH\"\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"amount\" : {\n \"value\" : 1234,\n \"currency\" : \"EUR\"\n },\n \"assumptions\" : {\n \"assumeLevel3Data\" : true,\n \"assume3DSecureAuthenticated\" : true\n },\n \"cardNumber\" : \"5101180000000007\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/getCostEstimate", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "getCostEstimate" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": ">This API is available only for merchants operating in Australia, the EU, and the UK. Use the Adyen Cost Estimation API to pre-calculate interchange and scheme fee costs. Knowing these costs prior actual payment authorisation gives you an opportunity to charge those costs to the cardholder, if necessary. To retrieve this information, make the call to the `/getCostEstimate` endpoint. The response to this call contains the amount of the interchange and scheme fees charged by the network for this transaction, and also which surcharging policy is possible (based on current regulations). > Since not all information is known in advance (for example, if the cardholder will successfully authenticate via 3D Secure or if you also plan to provide additional Level 2/3 data), the returned amounts are based on a set of assumption criteria you define in the `assumptions` parameter." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"value\" : 1234,\n \"currency\" : \"EUR\"\n },\n \"assumptions\" : {\n \"assumeLevel3Data\" : true,\n \"assume3DSecureAuthenticated\" : true\n },\n \"cardNumber\" : \"5101180000000007\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/getCostEstimate", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "getCostEstimate" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": ">This API is available only for merchants operating in Australia, the EU, and the UK. Use the Adyen Cost Estimation API to pre-calculate interchange and scheme fee costs. Knowing these costs prior actual payment authorisation gives you an opportunity to charge those costs to the cardholder, if necessary. To retrieve this information, make the call to the `/getCostEstimate` endpoint. The response to this call contains the amount of the interchange and scheme fees charged by the network for this transaction, and also which surcharging policy is possible (based on current regulations). > Since not all information is known in advance (for example, if the cardholder will successfully authenticate via 3D Secure or if you also plan to provide additional Level 2/3 data), the returned amounts are based on a set of assumption criteria you define in the `assumptions` parameter." - } + ] }, { "name": "Estimate the transaction cost (recurring contract)", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"value\" : 1234,\n \"currency\" : \"EUR\"\n },\n \"assumptions\" : {\n \"assumeLevel3Data\" : true,\n \"assume3DSecureAuthenticated\" : true\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"merchantDetails\" : {\n \"countryCode\" : \"NL\",\n \"mcc\" : \"7411\",\n \"enrolledIn3DSecure\" : true\n },\n \"selectedRecurringDetailReference\" : \"1234567890123456\",\n \"shopperInteraction\" : \"Ecommerce\",\n \"shopperReference\" : \"123456\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/getCostEstimate", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "getCostEstimate" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": ">This API is available only for merchants operating in Australia, the EU, and the UK. Use the Adyen Cost Estimation API to pre-calculate interchange and scheme fee costs. Knowing these costs prior actual payment authorisation gives you an opportunity to charge those costs to the cardholder, if necessary. To retrieve this information, make the call to the `/getCostEstimate` endpoint. The response to this call contains the amount of the interchange and scheme fees charged by the network for this transaction, and also which surcharging policy is possible (based on current regulations). > Since not all information is known in advance (for example, if the cardholder will successfully authenticate via 3D Secure or if you also plan to provide additional Level 2/3 data), the returned amounts are based on a set of assumption criteria you define in the `assumptions` parameter." - } + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"amount\" : {\n \"value\" : 1234,\n \"currency\" : \"EUR\"\n },\n \"assumptions\" : {\n \"assumeLevel3Data\" : true,\n \"assume3DSecureAuthenticated\" : true\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"merchantDetails\" : {\n \"countryCode\" : \"NL\",\n \"mcc\" : \"7411\",\n \"enrolledIn3DSecure\" : true\n },\n \"selectedRecurringDetailReference\" : \"1234567890123456\",\n \"shopperInteraction\" : \"Ecommerce\",\n \"shopperReference\" : \"123456\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/getCostEstimate", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "getCostEstimate" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": ">This API is available only for merchants operating in Australia, the EU, and the UK. Use the Adyen Cost Estimation API to pre-calculate interchange and scheme fee costs. Knowing these costs prior actual payment authorisation gives you an opportunity to charge those costs to the cardholder, if necessary. To retrieve this information, make the call to the `/getCostEstimate` endpoint. The response to this call contains the amount of the interchange and scheme fees charged by the network for this transaction, and also which surcharging policy is possible (based on current regulations). > Since not all information is known in advance (for example, if the cardholder will successfully authenticate via 3D Secure or if you also plan to provide additional Level 2/3 data), the returned amounts are based on a set of assumption criteria you define in the `assumptions` parameter." +} + ,"response": [ + ] } ] } - ] } ], diff --git a/postman/BinLookupService-v50.json b/postman/BinLookupService-v50.json index 92c1fb4..26d1b85 100644 --- a/postman/BinLookupService-v50.json +++ b/postman/BinLookupService-v50.json @@ -19,49 +19,101 @@ { "name": "Get 3D Secure availability", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"cardNumber\" : \"4111111111111111\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/get3dsAvailability", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "get3dsAvailability" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Verifies whether 3D Secure is available for the specified BIN or card brand. For 3D Secure 2, this endpoint also returns device fingerprinting keys. For more information, refer to [3D Secure 2](https://docs.adyen.com/online-payments/3d-secure/native-3ds2)." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"threeDS1Supported\" : true,\n \"threeDS2CardRangeDetails\" : [ ],\n \"threeDS2supported\" : false\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"cardNumber\" : \"4111111111111111\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/get3dsAvailability", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "get3dsAvailability" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Verifies whether 3D Secure is available for the specified BIN or card brand. For 3D Secure 2, this endpoint also returns device fingerprinting keys. For more information, refer to [3D Secure 2](https://docs.adyen.com/online-payments/3d-secure/native-3ds2)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"cardNumber\" : \"4111111111111111\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/get3dsAvailability", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "get3dsAvailability" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Verifies whether 3D Secure is available for the specified BIN or card brand. For 3D Secure 2, this endpoint also returns device fingerprinting keys. For more information, refer to [3D Secure 2](https://docs.adyen.com/online-payments/3d-secure/native-3ds2)." - } + ] } ] - } -, + }, { "name": "/getCostEstimate", "description": ">This API is available only for merchants operating in Australia, the EU, and the UK. Use the Adyen Cost Estimation API to pre-calculate interchange and scheme fee costs. Knowing these costs prior actual payment authorisation gives you an opportunity to charge those costs to the cardholder, if necessary. To retrieve this information, make the call to the `/getCostEstimate` endpoint. The response to this call contains the amount of the interchange and scheme fees charged by the network for this transaction, and also which surcharging policy is possible (based on current regulations). > Since not all information is known in advance (for example, if the cardholder will successfully authenticate via 3D Secure or if you also plan to provide additional Level 2/3 data), the returned amounts are based on a set of assumption criteria you define in the `assumptions` parameter.", @@ -69,221 +121,434 @@ { "name": "Estimate the transaction cost", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"amount\" : {\n \"value\" : 1234,\n \"currency\" : \"EUR\"\n },\n \"assumptions\" : {\n \"assumeLevel3Data\" : true,\n \"assume3DSecureAuthenticated\" : true\n },\n \"cardNumber\" : \"5101180000000007\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"merchantDetails\" : {\n \"countryCode\" : \"NL\",\n \"mcc\" : \"7411\",\n \"enrolledIn3DSecure\" : true\n },\n \"shopperInteraction\" : \"Ecommerce\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/getCostEstimate", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "getCostEstimate" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": ">This API is available only for merchants operating in Australia, the EU, and the UK. Use the Adyen Cost Estimation API to pre-calculate interchange and scheme fee costs. Knowing these costs prior actual payment authorisation gives you an opportunity to charge those costs to the cardholder, if necessary. To retrieve this information, make the call to the `/getCostEstimate` endpoint. The response to this call contains the amount of the interchange and scheme fees charged by the network for this transaction, and also which surcharging policy is possible (based on current regulations). > Since not all information is known in advance (for example, if the cardholder will successfully authenticate via 3D Secure or if you also plan to provide additional Level 2/3 data), the returned amounts are based on a set of assumption criteria you define in the `assumptions` parameter." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"costEstimateAmount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 12\n },\n \"resultCode\" : \"Success\",\n \"surchargeType\" : \"PASSTHROUGH\"\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"amount\" : {\n \"value\" : 1234,\n \"currency\" : \"EUR\"\n },\n \"assumptions\" : {\n \"assumeLevel3Data\" : true,\n \"assume3DSecureAuthenticated\" : true\n },\n \"cardNumber\" : \"5101180000000007\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"merchantDetails\" : {\n \"countryCode\" : \"NL\",\n \"mcc\" : \"7411\",\n \"enrolledIn3DSecure\" : true\n },\n \"shopperInteraction\" : \"Ecommerce\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/getCostEstimate", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "getCostEstimate" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": ">This API is available only for merchants operating in Australia, the EU, and the UK. Use the Adyen Cost Estimation API to pre-calculate interchange and scheme fee costs. Knowing these costs prior actual payment authorisation gives you an opportunity to charge those costs to the cardholder, if necessary. To retrieve this information, make the call to the `/getCostEstimate` endpoint. The response to this call contains the amount of the interchange and scheme fees charged by the network for this transaction, and also which surcharging policy is possible (based on current regulations). > Since not all information is known in advance (for example, if the cardholder will successfully authenticate via 3D Secure or if you also plan to provide additional Level 2/3 data), the returned amounts are based on a set of assumption criteria you define in the `assumptions` parameter." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"value\" : 1234,\n \"currency\" : \"EUR\"\n },\n \"assumptions\" : {\n \"assumeLevel3Data\" : true,\n \"assume3DSecureAuthenticated\" : true\n },\n \"cardNumber\" : \"5101180000000007\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"merchantDetails\" : {\n \"countryCode\" : \"NL\",\n \"mcc\" : \"7411\",\n \"enrolledIn3DSecure\" : true\n },\n \"shopperInteraction\" : \"Ecommerce\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/getCostEstimate", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "getCostEstimate" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": ">This API is available only for merchants operating in Australia, the EU, and the UK. Use the Adyen Cost Estimation API to pre-calculate interchange and scheme fee costs. Knowing these costs prior actual payment authorisation gives you an opportunity to charge those costs to the cardholder, if necessary. To retrieve this information, make the call to the `/getCostEstimate` endpoint. The response to this call contains the amount of the interchange and scheme fees charged by the network for this transaction, and also which surcharging policy is possible (based on current regulations). > Since not all information is known in advance (for example, if the cardholder will successfully authenticate via 3D Secure or if you also plan to provide additional Level 2/3 data), the returned amounts are based on a set of assumption criteria you define in the `assumptions` parameter." - } + ] }, { "name": "Estimate the transaction cost using an encrypted card number", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"amount\" : {\n \"value\" : 1234,\n \"currency\" : \"EUR\"\n },\n \"assumptions\" : {\n \"assumeLevel3Data\" : true,\n \"assume3DSecureAuthenticated\" : true\n },\n \"encryptedCardNumber\" : \"test_5101180000000007\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"merchantDetails\" : {\n \"countryCode\" : \"NL\",\n \"mcc\" : \"7411\",\n \"enrolledIn3DSecure\" : true\n },\n \"shopperInteraction\" : \"Ecommerce\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/getCostEstimate", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "getCostEstimate" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": ">This API is available only for merchants operating in Australia, the EU, and the UK. Use the Adyen Cost Estimation API to pre-calculate interchange and scheme fee costs. Knowing these costs prior actual payment authorisation gives you an opportunity to charge those costs to the cardholder, if necessary. To retrieve this information, make the call to the `/getCostEstimate` endpoint. The response to this call contains the amount of the interchange and scheme fees charged by the network for this transaction, and also which surcharging policy is possible (based on current regulations). > Since not all information is known in advance (for example, if the cardholder will successfully authenticate via 3D Secure or if you also plan to provide additional Level 2/3 data), the returned amounts are based on a set of assumption criteria you define in the `assumptions` parameter." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"costEstimateAmount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 12\n },\n \"resultCode\" : \"Success\",\n \"surchargeType\" : \"PASSTHROUGH\"\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"amount\" : {\n \"value\" : 1234,\n \"currency\" : \"EUR\"\n },\n \"assumptions\" : {\n \"assumeLevel3Data\" : true,\n \"assume3DSecureAuthenticated\" : true\n },\n \"encryptedCardNumber\" : \"test_5101180000000007\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"merchantDetails\" : {\n \"countryCode\" : \"NL\",\n \"mcc\" : \"7411\",\n \"enrolledIn3DSecure\" : true\n },\n \"shopperInteraction\" : \"Ecommerce\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/getCostEstimate", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "getCostEstimate" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": ">This API is available only for merchants operating in Australia, the EU, and the UK. Use the Adyen Cost Estimation API to pre-calculate interchange and scheme fee costs. Knowing these costs prior actual payment authorisation gives you an opportunity to charge those costs to the cardholder, if necessary. To retrieve this information, make the call to the `/getCostEstimate` endpoint. The response to this call contains the amount of the interchange and scheme fees charged by the network for this transaction, and also which surcharging policy is possible (based on current regulations). > Since not all information is known in advance (for example, if the cardholder will successfully authenticate via 3D Secure or if you also plan to provide additional Level 2/3 data), the returned amounts are based on a set of assumption criteria you define in the `assumptions` parameter." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"value\" : 1234,\n \"currency\" : \"EUR\"\n },\n \"assumptions\" : {\n \"assumeLevel3Data\" : true,\n \"assume3DSecureAuthenticated\" : true\n },\n \"encryptedCardNumber\" : \"test_5101180000000007\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"merchantDetails\" : {\n \"countryCode\" : \"NL\",\n \"mcc\" : \"7411\",\n \"enrolledIn3DSecure\" : true\n },\n \"shopperInteraction\" : \"Ecommerce\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/getCostEstimate", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "getCostEstimate" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": ">This API is available only for merchants operating in Australia, the EU, and the UK. Use the Adyen Cost Estimation API to pre-calculate interchange and scheme fee costs. Knowing these costs prior actual payment authorisation gives you an opportunity to charge those costs to the cardholder, if necessary. To retrieve this information, make the call to the `/getCostEstimate` endpoint. The response to this call contains the amount of the interchange and scheme fees charged by the network for this transaction, and also which surcharging policy is possible (based on current regulations). > Since not all information is known in advance (for example, if the cardholder will successfully authenticate via 3D Secure or if you also plan to provide additional Level 2/3 data), the returned amounts are based on a set of assumption criteria you define in the `assumptions` parameter." - } + ] }, { "name": "Estimate the transaction cost (minimal)", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"amount\" : {\n \"value\" : 1234,\n \"currency\" : \"EUR\"\n },\n \"cardNumber\" : \"5101180000000007\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/getCostEstimate", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "getCostEstimate" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": ">This API is available only for merchants operating in Australia, the EU, and the UK. Use the Adyen Cost Estimation API to pre-calculate interchange and scheme fee costs. Knowing these costs prior actual payment authorisation gives you an opportunity to charge those costs to the cardholder, if necessary. To retrieve this information, make the call to the `/getCostEstimate` endpoint. The response to this call contains the amount of the interchange and scheme fees charged by the network for this transaction, and also which surcharging policy is possible (based on current regulations). > Since not all information is known in advance (for example, if the cardholder will successfully authenticate via 3D Secure or if you also plan to provide additional Level 2/3 data), the returned amounts are based on a set of assumption criteria you define in the `assumptions` parameter." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"costEstimateAmount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 12\n },\n \"resultCode\" : \"Success\",\n \"surchargeType\" : \"PASSTHROUGH\"\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"amount\" : {\n \"value\" : 1234,\n \"currency\" : \"EUR\"\n },\n \"cardNumber\" : \"5101180000000007\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/getCostEstimate", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "getCostEstimate" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": ">This API is available only for merchants operating in Australia, the EU, and the UK. Use the Adyen Cost Estimation API to pre-calculate interchange and scheme fee costs. Knowing these costs prior actual payment authorisation gives you an opportunity to charge those costs to the cardholder, if necessary. To retrieve this information, make the call to the `/getCostEstimate` endpoint. The response to this call contains the amount of the interchange and scheme fees charged by the network for this transaction, and also which surcharging policy is possible (based on current regulations). > Since not all information is known in advance (for example, if the cardholder will successfully authenticate via 3D Secure or if you also plan to provide additional Level 2/3 data), the returned amounts are based on a set of assumption criteria you define in the `assumptions` parameter." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"value\" : 1234,\n \"currency\" : \"EUR\"\n },\n \"cardNumber\" : \"5101180000000007\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/getCostEstimate", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "getCostEstimate" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": ">This API is available only for merchants operating in Australia, the EU, and the UK. Use the Adyen Cost Estimation API to pre-calculate interchange and scheme fee costs. Knowing these costs prior actual payment authorisation gives you an opportunity to charge those costs to the cardholder, if necessary. To retrieve this information, make the call to the `/getCostEstimate` endpoint. The response to this call contains the amount of the interchange and scheme fees charged by the network for this transaction, and also which surcharging policy is possible (based on current regulations). > Since not all information is known in advance (for example, if the cardholder will successfully authenticate via 3D Secure or if you also plan to provide additional Level 2/3 data), the returned amounts are based on a set of assumption criteria you define in the `assumptions` parameter." - } + ] }, { "name": "Estimate the transaction cost (minimal with 3DSecure)", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"amount\" : {\n \"value\" : 1234,\n \"currency\" : \"EUR\"\n },\n \"assumptions\" : {\n \"assumeLevel3Data\" : true,\n \"assume3DSecureAuthenticated\" : true\n },\n \"cardNumber\" : \"5101180000000007\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/getCostEstimate", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "getCostEstimate" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": ">This API is available only for merchants operating in Australia, the EU, and the UK. Use the Adyen Cost Estimation API to pre-calculate interchange and scheme fee costs. Knowing these costs prior actual payment authorisation gives you an opportunity to charge those costs to the cardholder, if necessary. To retrieve this information, make the call to the `/getCostEstimate` endpoint. The response to this call contains the amount of the interchange and scheme fees charged by the network for this transaction, and also which surcharging policy is possible (based on current regulations). > Since not all information is known in advance (for example, if the cardholder will successfully authenticate via 3D Secure or if you also plan to provide additional Level 2/3 data), the returned amounts are based on a set of assumption criteria you define in the `assumptions` parameter." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"costEstimateAmount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 12\n },\n \"resultCode\" : \"Success\",\n \"surchargeType\" : \"PASSTHROUGH\"\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"amount\" : {\n \"value\" : 1234,\n \"currency\" : \"EUR\"\n },\n \"assumptions\" : {\n \"assumeLevel3Data\" : true,\n \"assume3DSecureAuthenticated\" : true\n },\n \"cardNumber\" : \"5101180000000007\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/getCostEstimate", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "getCostEstimate" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": ">This API is available only for merchants operating in Australia, the EU, and the UK. Use the Adyen Cost Estimation API to pre-calculate interchange and scheme fee costs. Knowing these costs prior actual payment authorisation gives you an opportunity to charge those costs to the cardholder, if necessary. To retrieve this information, make the call to the `/getCostEstimate` endpoint. The response to this call contains the amount of the interchange and scheme fees charged by the network for this transaction, and also which surcharging policy is possible (based on current regulations). > Since not all information is known in advance (for example, if the cardholder will successfully authenticate via 3D Secure or if you also plan to provide additional Level 2/3 data), the returned amounts are based on a set of assumption criteria you define in the `assumptions` parameter." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"value\" : 1234,\n \"currency\" : \"EUR\"\n },\n \"assumptions\" : {\n \"assumeLevel3Data\" : true,\n \"assume3DSecureAuthenticated\" : true\n },\n \"cardNumber\" : \"5101180000000007\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/getCostEstimate", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "getCostEstimate" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": ">This API is available only for merchants operating in Australia, the EU, and the UK. Use the Adyen Cost Estimation API to pre-calculate interchange and scheme fee costs. Knowing these costs prior actual payment authorisation gives you an opportunity to charge those costs to the cardholder, if necessary. To retrieve this information, make the call to the `/getCostEstimate` endpoint. The response to this call contains the amount of the interchange and scheme fees charged by the network for this transaction, and also which surcharging policy is possible (based on current regulations). > Since not all information is known in advance (for example, if the cardholder will successfully authenticate via 3D Secure or if you also plan to provide additional Level 2/3 data), the returned amounts are based on a set of assumption criteria you define in the `assumptions` parameter." - } + ] }, { "name": "Estimate the transaction cost (recurring contract)", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"value\" : 1234,\n \"currency\" : \"EUR\"\n },\n \"assumptions\" : {\n \"assumeLevel3Data\" : true,\n \"assume3DSecureAuthenticated\" : true\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"merchantDetails\" : {\n \"countryCode\" : \"NL\",\n \"mcc\" : \"7411\",\n \"enrolledIn3DSecure\" : true\n },\n \"selectedRecurringDetailReference\" : \"1234567890123456\",\n \"shopperInteraction\" : \"Ecommerce\",\n \"shopperReference\" : \"123456\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/getCostEstimate", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "getCostEstimate" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": ">This API is available only for merchants operating in Australia, the EU, and the UK. Use the Adyen Cost Estimation API to pre-calculate interchange and scheme fee costs. Knowing these costs prior actual payment authorisation gives you an opportunity to charge those costs to the cardholder, if necessary. To retrieve this information, make the call to the `/getCostEstimate` endpoint. The response to this call contains the amount of the interchange and scheme fees charged by the network for this transaction, and also which surcharging policy is possible (based on current regulations). > Since not all information is known in advance (for example, if the cardholder will successfully authenticate via 3D Secure or if you also plan to provide additional Level 2/3 data), the returned amounts are based on a set of assumption criteria you define in the `assumptions` parameter." - } + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"amount\" : {\n \"value\" : 1234,\n \"currency\" : \"EUR\"\n },\n \"assumptions\" : {\n \"assumeLevel3Data\" : true,\n \"assume3DSecureAuthenticated\" : true\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"merchantDetails\" : {\n \"countryCode\" : \"NL\",\n \"mcc\" : \"7411\",\n \"enrolledIn3DSecure\" : true\n },\n \"selectedRecurringDetailReference\" : \"1234567890123456\",\n \"shopperInteraction\" : \"Ecommerce\",\n \"shopperReference\" : \"123456\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/getCostEstimate", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "getCostEstimate" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": ">This API is available only for merchants operating in Australia, the EU, and the UK. Use the Adyen Cost Estimation API to pre-calculate interchange and scheme fee costs. Knowing these costs prior actual payment authorisation gives you an opportunity to charge those costs to the cardholder, if necessary. To retrieve this information, make the call to the `/getCostEstimate` endpoint. The response to this call contains the amount of the interchange and scheme fees charged by the network for this transaction, and also which surcharging policy is possible (based on current regulations). > Since not all information is known in advance (for example, if the cardholder will successfully authenticate via 3D Secure or if you also plan to provide additional Level 2/3 data), the returned amounts are based on a set of assumption criteria you define in the `assumptions` parameter." +} + ,"response": [ + ] } ] } - ] } ], diff --git a/postman/BinLookupService-v52.json b/postman/BinLookupService-v52.json index fd8110d..311e3d6 100644 --- a/postman/BinLookupService-v52.json +++ b/postman/BinLookupService-v52.json @@ -19,49 +19,101 @@ { "name": "Get 3D Secure availability", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"cardNumber\" : \"4111111111111111\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/get3dsAvailability", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "get3dsAvailability" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Verifies whether 3D Secure is available for the specified BIN or card brand. For 3D Secure 2, this endpoint also returns device fingerprinting keys. For more information, refer to [3D Secure 2](https://docs.adyen.com/online-payments/3d-secure/native-3ds2)." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"threeDS1Supported\" : true,\n \"threeDS2CardRangeDetails\" : [ ],\n \"threeDS2supported\" : false\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"cardNumber\" : \"4111111111111111\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/get3dsAvailability", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "get3dsAvailability" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Verifies whether 3D Secure is available for the specified BIN or card brand. For 3D Secure 2, this endpoint also returns device fingerprinting keys. For more information, refer to [3D Secure 2](https://docs.adyen.com/online-payments/3d-secure/native-3ds2)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"cardNumber\" : \"4111111111111111\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/get3dsAvailability", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "get3dsAvailability" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Verifies whether 3D Secure is available for the specified BIN or card brand. For 3D Secure 2, this endpoint also returns device fingerprinting keys. For more information, refer to [3D Secure 2](https://docs.adyen.com/online-payments/3d-secure/native-3ds2)." - } + ] } ] - } -, + }, { "name": "/getCostEstimate", "description": ">This API is available only for merchants operating in Australia, the EU, and the UK. Use the Adyen Cost Estimation API to pre-calculate interchange and scheme fee costs. Knowing these costs prior actual payment authorisation gives you an opportunity to charge those costs to the cardholder, if necessary. To retrieve this information, make the call to the `/getCostEstimate` endpoint. The response to this call contains the amount of the interchange and scheme fees charged by the network for this transaction, and also which surcharging policy is possible (based on current regulations). > Since not all information is known in advance (for example, if the cardholder will successfully authenticate via 3D Secure or if you also plan to provide additional Level 2/3 data), the returned amounts are based on a set of assumption criteria you define in the `assumptions` parameter.", @@ -69,221 +121,434 @@ { "name": "Estimate the transaction cost", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"amount\" : {\n \"value\" : 1234,\n \"currency\" : \"EUR\"\n },\n \"assumptions\" : {\n \"assumeLevel3Data\" : true,\n \"assume3DSecureAuthenticated\" : true\n },\n \"cardNumber\" : \"5101180000000007\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"merchantDetails\" : {\n \"countryCode\" : \"NL\",\n \"mcc\" : \"7411\",\n \"enrolledIn3DSecure\" : true\n },\n \"shopperInteraction\" : \"Ecommerce\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/getCostEstimate", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "getCostEstimate" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": ">This API is available only for merchants operating in Australia, the EU, and the UK. Use the Adyen Cost Estimation API to pre-calculate interchange and scheme fee costs. Knowing these costs prior actual payment authorisation gives you an opportunity to charge those costs to the cardholder, if necessary. To retrieve this information, make the call to the `/getCostEstimate` endpoint. The response to this call contains the amount of the interchange and scheme fees charged by the network for this transaction, and also which surcharging policy is possible (based on current regulations). > Since not all information is known in advance (for example, if the cardholder will successfully authenticate via 3D Secure or if you also plan to provide additional Level 2/3 data), the returned amounts are based on a set of assumption criteria you define in the `assumptions` parameter." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"costEstimateAmount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 12\n },\n \"resultCode\" : \"Success\",\n \"surchargeType\" : \"PASSTHROUGH\"\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"amount\" : {\n \"value\" : 1234,\n \"currency\" : \"EUR\"\n },\n \"assumptions\" : {\n \"assumeLevel3Data\" : true,\n \"assume3DSecureAuthenticated\" : true\n },\n \"cardNumber\" : \"5101180000000007\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"merchantDetails\" : {\n \"countryCode\" : \"NL\",\n \"mcc\" : \"7411\",\n \"enrolledIn3DSecure\" : true\n },\n \"shopperInteraction\" : \"Ecommerce\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/getCostEstimate", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "getCostEstimate" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": ">This API is available only for merchants operating in Australia, the EU, and the UK. Use the Adyen Cost Estimation API to pre-calculate interchange and scheme fee costs. Knowing these costs prior actual payment authorisation gives you an opportunity to charge those costs to the cardholder, if necessary. To retrieve this information, make the call to the `/getCostEstimate` endpoint. The response to this call contains the amount of the interchange and scheme fees charged by the network for this transaction, and also which surcharging policy is possible (based on current regulations). > Since not all information is known in advance (for example, if the cardholder will successfully authenticate via 3D Secure or if you also plan to provide additional Level 2/3 data), the returned amounts are based on a set of assumption criteria you define in the `assumptions` parameter." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"value\" : 1234,\n \"currency\" : \"EUR\"\n },\n \"assumptions\" : {\n \"assumeLevel3Data\" : true,\n \"assume3DSecureAuthenticated\" : true\n },\n \"cardNumber\" : \"5101180000000007\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"merchantDetails\" : {\n \"countryCode\" : \"NL\",\n \"mcc\" : \"7411\",\n \"enrolledIn3DSecure\" : true\n },\n \"shopperInteraction\" : \"Ecommerce\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/getCostEstimate", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "getCostEstimate" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": ">This API is available only for merchants operating in Australia, the EU, and the UK. Use the Adyen Cost Estimation API to pre-calculate interchange and scheme fee costs. Knowing these costs prior actual payment authorisation gives you an opportunity to charge those costs to the cardholder, if necessary. To retrieve this information, make the call to the `/getCostEstimate` endpoint. The response to this call contains the amount of the interchange and scheme fees charged by the network for this transaction, and also which surcharging policy is possible (based on current regulations). > Since not all information is known in advance (for example, if the cardholder will successfully authenticate via 3D Secure or if you also plan to provide additional Level 2/3 data), the returned amounts are based on a set of assumption criteria you define in the `assumptions` parameter." - } + ] }, { "name": "Estimate the transaction cost using an encrypted card number", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"amount\" : {\n \"value\" : 1234,\n \"currency\" : \"EUR\"\n },\n \"assumptions\" : {\n \"assumeLevel3Data\" : true,\n \"assume3DSecureAuthenticated\" : true\n },\n \"encryptedCardNumber\" : \"test_5101180000000007\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"merchantDetails\" : {\n \"countryCode\" : \"NL\",\n \"mcc\" : \"7411\",\n \"enrolledIn3DSecure\" : true\n },\n \"shopperInteraction\" : \"Ecommerce\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/getCostEstimate", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "getCostEstimate" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": ">This API is available only for merchants operating in Australia, the EU, and the UK. Use the Adyen Cost Estimation API to pre-calculate interchange and scheme fee costs. Knowing these costs prior actual payment authorisation gives you an opportunity to charge those costs to the cardholder, if necessary. To retrieve this information, make the call to the `/getCostEstimate` endpoint. The response to this call contains the amount of the interchange and scheme fees charged by the network for this transaction, and also which surcharging policy is possible (based on current regulations). > Since not all information is known in advance (for example, if the cardholder will successfully authenticate via 3D Secure or if you also plan to provide additional Level 2/3 data), the returned amounts are based on a set of assumption criteria you define in the `assumptions` parameter." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"costEstimateAmount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 12\n },\n \"resultCode\" : \"Success\",\n \"surchargeType\" : \"PASSTHROUGH\"\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"amount\" : {\n \"value\" : 1234,\n \"currency\" : \"EUR\"\n },\n \"assumptions\" : {\n \"assumeLevel3Data\" : true,\n \"assume3DSecureAuthenticated\" : true\n },\n \"encryptedCardNumber\" : \"test_5101180000000007\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"merchantDetails\" : {\n \"countryCode\" : \"NL\",\n \"mcc\" : \"7411\",\n \"enrolledIn3DSecure\" : true\n },\n \"shopperInteraction\" : \"Ecommerce\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/getCostEstimate", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "getCostEstimate" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": ">This API is available only for merchants operating in Australia, the EU, and the UK. Use the Adyen Cost Estimation API to pre-calculate interchange and scheme fee costs. Knowing these costs prior actual payment authorisation gives you an opportunity to charge those costs to the cardholder, if necessary. To retrieve this information, make the call to the `/getCostEstimate` endpoint. The response to this call contains the amount of the interchange and scheme fees charged by the network for this transaction, and also which surcharging policy is possible (based on current regulations). > Since not all information is known in advance (for example, if the cardholder will successfully authenticate via 3D Secure or if you also plan to provide additional Level 2/3 data), the returned amounts are based on a set of assumption criteria you define in the `assumptions` parameter." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"value\" : 1234,\n \"currency\" : \"EUR\"\n },\n \"assumptions\" : {\n \"assumeLevel3Data\" : true,\n \"assume3DSecureAuthenticated\" : true\n },\n \"encryptedCardNumber\" : \"test_5101180000000007\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"merchantDetails\" : {\n \"countryCode\" : \"NL\",\n \"mcc\" : \"7411\",\n \"enrolledIn3DSecure\" : true\n },\n \"shopperInteraction\" : \"Ecommerce\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/getCostEstimate", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "getCostEstimate" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": ">This API is available only for merchants operating in Australia, the EU, and the UK. Use the Adyen Cost Estimation API to pre-calculate interchange and scheme fee costs. Knowing these costs prior actual payment authorisation gives you an opportunity to charge those costs to the cardholder, if necessary. To retrieve this information, make the call to the `/getCostEstimate` endpoint. The response to this call contains the amount of the interchange and scheme fees charged by the network for this transaction, and also which surcharging policy is possible (based on current regulations). > Since not all information is known in advance (for example, if the cardholder will successfully authenticate via 3D Secure or if you also plan to provide additional Level 2/3 data), the returned amounts are based on a set of assumption criteria you define in the `assumptions` parameter." - } + ] }, { "name": "Estimate the transaction cost (minimal)", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"amount\" : {\n \"value\" : 1234,\n \"currency\" : \"EUR\"\n },\n \"cardNumber\" : \"5101180000000007\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/getCostEstimate", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "getCostEstimate" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": ">This API is available only for merchants operating in Australia, the EU, and the UK. Use the Adyen Cost Estimation API to pre-calculate interchange and scheme fee costs. Knowing these costs prior actual payment authorisation gives you an opportunity to charge those costs to the cardholder, if necessary. To retrieve this information, make the call to the `/getCostEstimate` endpoint. The response to this call contains the amount of the interchange and scheme fees charged by the network for this transaction, and also which surcharging policy is possible (based on current regulations). > Since not all information is known in advance (for example, if the cardholder will successfully authenticate via 3D Secure or if you also plan to provide additional Level 2/3 data), the returned amounts are based on a set of assumption criteria you define in the `assumptions` parameter." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"costEstimateAmount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 12\n },\n \"resultCode\" : \"Success\",\n \"surchargeType\" : \"PASSTHROUGH\"\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"amount\" : {\n \"value\" : 1234,\n \"currency\" : \"EUR\"\n },\n \"cardNumber\" : \"5101180000000007\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/getCostEstimate", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "getCostEstimate" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": ">This API is available only for merchants operating in Australia, the EU, and the UK. Use the Adyen Cost Estimation API to pre-calculate interchange and scheme fee costs. Knowing these costs prior actual payment authorisation gives you an opportunity to charge those costs to the cardholder, if necessary. To retrieve this information, make the call to the `/getCostEstimate` endpoint. The response to this call contains the amount of the interchange and scheme fees charged by the network for this transaction, and also which surcharging policy is possible (based on current regulations). > Since not all information is known in advance (for example, if the cardholder will successfully authenticate via 3D Secure or if you also plan to provide additional Level 2/3 data), the returned amounts are based on a set of assumption criteria you define in the `assumptions` parameter." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"value\" : 1234,\n \"currency\" : \"EUR\"\n },\n \"cardNumber\" : \"5101180000000007\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/getCostEstimate", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "getCostEstimate" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": ">This API is available only for merchants operating in Australia, the EU, and the UK. Use the Adyen Cost Estimation API to pre-calculate interchange and scheme fee costs. Knowing these costs prior actual payment authorisation gives you an opportunity to charge those costs to the cardholder, if necessary. To retrieve this information, make the call to the `/getCostEstimate` endpoint. The response to this call contains the amount of the interchange and scheme fees charged by the network for this transaction, and also which surcharging policy is possible (based on current regulations). > Since not all information is known in advance (for example, if the cardholder will successfully authenticate via 3D Secure or if you also plan to provide additional Level 2/3 data), the returned amounts are based on a set of assumption criteria you define in the `assumptions` parameter." - } + ] }, { "name": "Estimate the transaction cost (minimal with 3DSecure)", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"amount\" : {\n \"value\" : 1234,\n \"currency\" : \"EUR\"\n },\n \"assumptions\" : {\n \"assumeLevel3Data\" : true,\n \"assume3DSecureAuthenticated\" : true\n },\n \"cardNumber\" : \"5101180000000007\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/getCostEstimate", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "getCostEstimate" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": ">This API is available only for merchants operating in Australia, the EU, and the UK. Use the Adyen Cost Estimation API to pre-calculate interchange and scheme fee costs. Knowing these costs prior actual payment authorisation gives you an opportunity to charge those costs to the cardholder, if necessary. To retrieve this information, make the call to the `/getCostEstimate` endpoint. The response to this call contains the amount of the interchange and scheme fees charged by the network for this transaction, and also which surcharging policy is possible (based on current regulations). > Since not all information is known in advance (for example, if the cardholder will successfully authenticate via 3D Secure or if you also plan to provide additional Level 2/3 data), the returned amounts are based on a set of assumption criteria you define in the `assumptions` parameter." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"costEstimateAmount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 12\n },\n \"resultCode\" : \"Success\",\n \"surchargeType\" : \"PASSTHROUGH\"\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"amount\" : {\n \"value\" : 1234,\n \"currency\" : \"EUR\"\n },\n \"assumptions\" : {\n \"assumeLevel3Data\" : true,\n \"assume3DSecureAuthenticated\" : true\n },\n \"cardNumber\" : \"5101180000000007\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/getCostEstimate", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "getCostEstimate" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": ">This API is available only for merchants operating in Australia, the EU, and the UK. Use the Adyen Cost Estimation API to pre-calculate interchange and scheme fee costs. Knowing these costs prior actual payment authorisation gives you an opportunity to charge those costs to the cardholder, if necessary. To retrieve this information, make the call to the `/getCostEstimate` endpoint. The response to this call contains the amount of the interchange and scheme fees charged by the network for this transaction, and also which surcharging policy is possible (based on current regulations). > Since not all information is known in advance (for example, if the cardholder will successfully authenticate via 3D Secure or if you also plan to provide additional Level 2/3 data), the returned amounts are based on a set of assumption criteria you define in the `assumptions` parameter." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"value\" : 1234,\n \"currency\" : \"EUR\"\n },\n \"assumptions\" : {\n \"assumeLevel3Data\" : true,\n \"assume3DSecureAuthenticated\" : true\n },\n \"cardNumber\" : \"5101180000000007\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/getCostEstimate", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "getCostEstimate" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": ">This API is available only for merchants operating in Australia, the EU, and the UK. Use the Adyen Cost Estimation API to pre-calculate interchange and scheme fee costs. Knowing these costs prior actual payment authorisation gives you an opportunity to charge those costs to the cardholder, if necessary. To retrieve this information, make the call to the `/getCostEstimate` endpoint. The response to this call contains the amount of the interchange and scheme fees charged by the network for this transaction, and also which surcharging policy is possible (based on current regulations). > Since not all information is known in advance (for example, if the cardholder will successfully authenticate via 3D Secure or if you also plan to provide additional Level 2/3 data), the returned amounts are based on a set of assumption criteria you define in the `assumptions` parameter." - } + ] }, { "name": "Estimate the transaction cost (recurring contract)", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"value\" : 1234,\n \"currency\" : \"EUR\"\n },\n \"assumptions\" : {\n \"assumeLevel3Data\" : true,\n \"assume3DSecureAuthenticated\" : true\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"merchantDetails\" : {\n \"countryCode\" : \"NL\",\n \"mcc\" : \"7411\",\n \"enrolledIn3DSecure\" : true\n },\n \"selectedRecurringDetailReference\" : \"1234567890123456\",\n \"shopperInteraction\" : \"Ecommerce\",\n \"shopperReference\" : \"123456\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/getCostEstimate", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "getCostEstimate" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": ">This API is available only for merchants operating in Australia, the EU, and the UK. Use the Adyen Cost Estimation API to pre-calculate interchange and scheme fee costs. Knowing these costs prior actual payment authorisation gives you an opportunity to charge those costs to the cardholder, if necessary. To retrieve this information, make the call to the `/getCostEstimate` endpoint. The response to this call contains the amount of the interchange and scheme fees charged by the network for this transaction, and also which surcharging policy is possible (based on current regulations). > Since not all information is known in advance (for example, if the cardholder will successfully authenticate via 3D Secure or if you also plan to provide additional Level 2/3 data), the returned amounts are based on a set of assumption criteria you define in the `assumptions` parameter." - } + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"amount\" : {\n \"value\" : 1234,\n \"currency\" : \"EUR\"\n },\n \"assumptions\" : {\n \"assumeLevel3Data\" : true,\n \"assume3DSecureAuthenticated\" : true\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"merchantDetails\" : {\n \"countryCode\" : \"NL\",\n \"mcc\" : \"7411\",\n \"enrolledIn3DSecure\" : true\n },\n \"selectedRecurringDetailReference\" : \"1234567890123456\",\n \"shopperInteraction\" : \"Ecommerce\",\n \"shopperReference\" : \"123456\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/getCostEstimate", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "getCostEstimate" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": ">This API is available only for merchants operating in Australia, the EU, and the UK. Use the Adyen Cost Estimation API to pre-calculate interchange and scheme fee costs. Knowing these costs prior actual payment authorisation gives you an opportunity to charge those costs to the cardholder, if necessary. To retrieve this information, make the call to the `/getCostEstimate` endpoint. The response to this call contains the amount of the interchange and scheme fees charged by the network for this transaction, and also which surcharging policy is possible (based on current regulations). > Since not all information is known in advance (for example, if the cardholder will successfully authenticate via 3D Secure or if you also plan to provide additional Level 2/3 data), the returned amounts are based on a set of assumption criteria you define in the `assumptions` parameter." +} + ,"response": [ + ] } ] } - ] } ], diff --git a/postman/BinLookupService-v53.json b/postman/BinLookupService-v53.json index e109ddc..228fad0 100644 --- a/postman/BinLookupService-v53.json +++ b/postman/BinLookupService-v53.json @@ -19,49 +19,101 @@ { "name": "Get 3D Secure availability", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"cardNumber\" : \"4111111111111111\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/get3dsAvailability", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "get3dsAvailability" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Verifies whether 3D Secure is available for the specified BIN or card brand. For 3D Secure 2, this endpoint also returns device fingerprinting keys. For more information, refer to [3D Secure 2](https://docs.adyen.com/online-payments/3d-secure/native-3ds2)." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"threeDS1Supported\" : true,\n \"threeDS2CardRangeDetails\" : [ ],\n \"threeDS2supported\" : false\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"cardNumber\" : \"4111111111111111\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/get3dsAvailability", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "get3dsAvailability" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Verifies whether 3D Secure is available for the specified BIN or card brand. For 3D Secure 2, this endpoint also returns device fingerprinting keys. For more information, refer to [3D Secure 2](https://docs.adyen.com/online-payments/3d-secure/native-3ds2)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"cardNumber\" : \"4111111111111111\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/get3dsAvailability", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "get3dsAvailability" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Verifies whether 3D Secure is available for the specified BIN or card brand. For 3D Secure 2, this endpoint also returns device fingerprinting keys. For more information, refer to [3D Secure 2](https://docs.adyen.com/online-payments/3d-secure/native-3ds2)." - } + ] } ] - } -, + }, { "name": "/getCostEstimate", "description": ">This API is available only for merchants operating in Australia, the EU, and the UK. Use the Adyen Cost Estimation API to pre-calculate interchange and scheme fee costs. Knowing these costs prior actual payment authorisation gives you an opportunity to charge those costs to the cardholder, if necessary. To retrieve this information, make the call to the `/getCostEstimate` endpoint. The response to this call contains the amount of the interchange and scheme fees charged by the network for this transaction, and also which surcharging policy is possible (based on current regulations). > Since not all information is known in advance (for example, if the cardholder will successfully authenticate via 3D Secure or if you also plan to provide additional Level 2/3 data), the returned amounts are based on a set of assumption criteria you define in the `assumptions` parameter.", @@ -69,221 +121,434 @@ { "name": "Estimate the transaction cost", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"amount\" : {\n \"value\" : 1234,\n \"currency\" : \"EUR\"\n },\n \"assumptions\" : {\n \"assumeLevel3Data\" : true,\n \"assume3DSecureAuthenticated\" : true\n },\n \"cardNumber\" : \"5101180000000007\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"merchantDetails\" : {\n \"countryCode\" : \"NL\",\n \"mcc\" : \"7411\",\n \"enrolledIn3DSecure\" : true\n },\n \"shopperInteraction\" : \"Ecommerce\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/getCostEstimate", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "getCostEstimate" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": ">This API is available only for merchants operating in Australia, the EU, and the UK. Use the Adyen Cost Estimation API to pre-calculate interchange and scheme fee costs. Knowing these costs prior actual payment authorisation gives you an opportunity to charge those costs to the cardholder, if necessary. To retrieve this information, make the call to the `/getCostEstimate` endpoint. The response to this call contains the amount of the interchange and scheme fees charged by the network for this transaction, and also which surcharging policy is possible (based on current regulations). > Since not all information is known in advance (for example, if the cardholder will successfully authenticate via 3D Secure or if you also plan to provide additional Level 2/3 data), the returned amounts are based on a set of assumption criteria you define in the `assumptions` parameter." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"costEstimateAmount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 12\n },\n \"resultCode\" : \"Success\",\n \"surchargeType\" : \"PASSTHROUGH\"\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"amount\" : {\n \"value\" : 1234,\n \"currency\" : \"EUR\"\n },\n \"assumptions\" : {\n \"assumeLevel3Data\" : true,\n \"assume3DSecureAuthenticated\" : true\n },\n \"cardNumber\" : \"5101180000000007\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"merchantDetails\" : {\n \"countryCode\" : \"NL\",\n \"mcc\" : \"7411\",\n \"enrolledIn3DSecure\" : true\n },\n \"shopperInteraction\" : \"Ecommerce\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/getCostEstimate", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "getCostEstimate" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": ">This API is available only for merchants operating in Australia, the EU, and the UK. Use the Adyen Cost Estimation API to pre-calculate interchange and scheme fee costs. Knowing these costs prior actual payment authorisation gives you an opportunity to charge those costs to the cardholder, if necessary. To retrieve this information, make the call to the `/getCostEstimate` endpoint. The response to this call contains the amount of the interchange and scheme fees charged by the network for this transaction, and also which surcharging policy is possible (based on current regulations). > Since not all information is known in advance (for example, if the cardholder will successfully authenticate via 3D Secure or if you also plan to provide additional Level 2/3 data), the returned amounts are based on a set of assumption criteria you define in the `assumptions` parameter." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"value\" : 1234,\n \"currency\" : \"EUR\"\n },\n \"assumptions\" : {\n \"assumeLevel3Data\" : true,\n \"assume3DSecureAuthenticated\" : true\n },\n \"cardNumber\" : \"5101180000000007\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"merchantDetails\" : {\n \"countryCode\" : \"NL\",\n \"mcc\" : \"7411\",\n \"enrolledIn3DSecure\" : true\n },\n \"shopperInteraction\" : \"Ecommerce\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/getCostEstimate", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "getCostEstimate" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": ">This API is available only for merchants operating in Australia, the EU, and the UK. Use the Adyen Cost Estimation API to pre-calculate interchange and scheme fee costs. Knowing these costs prior actual payment authorisation gives you an opportunity to charge those costs to the cardholder, if necessary. To retrieve this information, make the call to the `/getCostEstimate` endpoint. The response to this call contains the amount of the interchange and scheme fees charged by the network for this transaction, and also which surcharging policy is possible (based on current regulations). > Since not all information is known in advance (for example, if the cardholder will successfully authenticate via 3D Secure or if you also plan to provide additional Level 2/3 data), the returned amounts are based on a set of assumption criteria you define in the `assumptions` parameter." - } + ] }, { "name": "Estimate the transaction cost using an encrypted card number", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"amount\" : {\n \"value\" : 1234,\n \"currency\" : \"EUR\"\n },\n \"assumptions\" : {\n \"assumeLevel3Data\" : true,\n \"assume3DSecureAuthenticated\" : true\n },\n \"encryptedCardNumber\" : \"test_5101180000000007\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"merchantDetails\" : {\n \"countryCode\" : \"NL\",\n \"mcc\" : \"7411\",\n \"enrolledIn3DSecure\" : true\n },\n \"shopperInteraction\" : \"Ecommerce\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/getCostEstimate", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "getCostEstimate" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": ">This API is available only for merchants operating in Australia, the EU, and the UK. Use the Adyen Cost Estimation API to pre-calculate interchange and scheme fee costs. Knowing these costs prior actual payment authorisation gives you an opportunity to charge those costs to the cardholder, if necessary. To retrieve this information, make the call to the `/getCostEstimate` endpoint. The response to this call contains the amount of the interchange and scheme fees charged by the network for this transaction, and also which surcharging policy is possible (based on current regulations). > Since not all information is known in advance (for example, if the cardholder will successfully authenticate via 3D Secure or if you also plan to provide additional Level 2/3 data), the returned amounts are based on a set of assumption criteria you define in the `assumptions` parameter." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"costEstimateAmount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 12\n },\n \"resultCode\" : \"Success\",\n \"surchargeType\" : \"PASSTHROUGH\"\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"amount\" : {\n \"value\" : 1234,\n \"currency\" : \"EUR\"\n },\n \"assumptions\" : {\n \"assumeLevel3Data\" : true,\n \"assume3DSecureAuthenticated\" : true\n },\n \"encryptedCardNumber\" : \"test_5101180000000007\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"merchantDetails\" : {\n \"countryCode\" : \"NL\",\n \"mcc\" : \"7411\",\n \"enrolledIn3DSecure\" : true\n },\n \"shopperInteraction\" : \"Ecommerce\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/getCostEstimate", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "getCostEstimate" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": ">This API is available only for merchants operating in Australia, the EU, and the UK. Use the Adyen Cost Estimation API to pre-calculate interchange and scheme fee costs. Knowing these costs prior actual payment authorisation gives you an opportunity to charge those costs to the cardholder, if necessary. To retrieve this information, make the call to the `/getCostEstimate` endpoint. The response to this call contains the amount of the interchange and scheme fees charged by the network for this transaction, and also which surcharging policy is possible (based on current regulations). > Since not all information is known in advance (for example, if the cardholder will successfully authenticate via 3D Secure or if you also plan to provide additional Level 2/3 data), the returned amounts are based on a set of assumption criteria you define in the `assumptions` parameter." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"value\" : 1234,\n \"currency\" : \"EUR\"\n },\n \"assumptions\" : {\n \"assumeLevel3Data\" : true,\n \"assume3DSecureAuthenticated\" : true\n },\n \"encryptedCardNumber\" : \"test_5101180000000007\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"merchantDetails\" : {\n \"countryCode\" : \"NL\",\n \"mcc\" : \"7411\",\n \"enrolledIn3DSecure\" : true\n },\n \"shopperInteraction\" : \"Ecommerce\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/getCostEstimate", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "getCostEstimate" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": ">This API is available only for merchants operating in Australia, the EU, and the UK. Use the Adyen Cost Estimation API to pre-calculate interchange and scheme fee costs. Knowing these costs prior actual payment authorisation gives you an opportunity to charge those costs to the cardholder, if necessary. To retrieve this information, make the call to the `/getCostEstimate` endpoint. The response to this call contains the amount of the interchange and scheme fees charged by the network for this transaction, and also which surcharging policy is possible (based on current regulations). > Since not all information is known in advance (for example, if the cardholder will successfully authenticate via 3D Secure or if you also plan to provide additional Level 2/3 data), the returned amounts are based on a set of assumption criteria you define in the `assumptions` parameter." - } + ] }, { "name": "Estimate the transaction cost (minimal)", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"amount\" : {\n \"value\" : 1234,\n \"currency\" : \"EUR\"\n },\n \"cardNumber\" : \"5101180000000007\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/getCostEstimate", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "getCostEstimate" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": ">This API is available only for merchants operating in Australia, the EU, and the UK. Use the Adyen Cost Estimation API to pre-calculate interchange and scheme fee costs. Knowing these costs prior actual payment authorisation gives you an opportunity to charge those costs to the cardholder, if necessary. To retrieve this information, make the call to the `/getCostEstimate` endpoint. The response to this call contains the amount of the interchange and scheme fees charged by the network for this transaction, and also which surcharging policy is possible (based on current regulations). > Since not all information is known in advance (for example, if the cardholder will successfully authenticate via 3D Secure or if you also plan to provide additional Level 2/3 data), the returned amounts are based on a set of assumption criteria you define in the `assumptions` parameter." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"costEstimateAmount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 12\n },\n \"resultCode\" : \"Success\",\n \"surchargeType\" : \"PASSTHROUGH\"\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"amount\" : {\n \"value\" : 1234,\n \"currency\" : \"EUR\"\n },\n \"cardNumber\" : \"5101180000000007\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/getCostEstimate", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "getCostEstimate" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": ">This API is available only for merchants operating in Australia, the EU, and the UK. Use the Adyen Cost Estimation API to pre-calculate interchange and scheme fee costs. Knowing these costs prior actual payment authorisation gives you an opportunity to charge those costs to the cardholder, if necessary. To retrieve this information, make the call to the `/getCostEstimate` endpoint. The response to this call contains the amount of the interchange and scheme fees charged by the network for this transaction, and also which surcharging policy is possible (based on current regulations). > Since not all information is known in advance (for example, if the cardholder will successfully authenticate via 3D Secure or if you also plan to provide additional Level 2/3 data), the returned amounts are based on a set of assumption criteria you define in the `assumptions` parameter." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"value\" : 1234,\n \"currency\" : \"EUR\"\n },\n \"cardNumber\" : \"5101180000000007\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/getCostEstimate", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "getCostEstimate" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": ">This API is available only for merchants operating in Australia, the EU, and the UK. Use the Adyen Cost Estimation API to pre-calculate interchange and scheme fee costs. Knowing these costs prior actual payment authorisation gives you an opportunity to charge those costs to the cardholder, if necessary. To retrieve this information, make the call to the `/getCostEstimate` endpoint. The response to this call contains the amount of the interchange and scheme fees charged by the network for this transaction, and also which surcharging policy is possible (based on current regulations). > Since not all information is known in advance (for example, if the cardholder will successfully authenticate via 3D Secure or if you also plan to provide additional Level 2/3 data), the returned amounts are based on a set of assumption criteria you define in the `assumptions` parameter." - } + ] }, { "name": "Estimate the transaction cost (minimal with 3DSecure)", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"amount\" : {\n \"value\" : 1234,\n \"currency\" : \"EUR\"\n },\n \"assumptions\" : {\n \"assumeLevel3Data\" : true,\n \"assume3DSecureAuthenticated\" : true\n },\n \"cardNumber\" : \"5101180000000007\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/getCostEstimate", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "getCostEstimate" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": ">This API is available only for merchants operating in Australia, the EU, and the UK. Use the Adyen Cost Estimation API to pre-calculate interchange and scheme fee costs. Knowing these costs prior actual payment authorisation gives you an opportunity to charge those costs to the cardholder, if necessary. To retrieve this information, make the call to the `/getCostEstimate` endpoint. The response to this call contains the amount of the interchange and scheme fees charged by the network for this transaction, and also which surcharging policy is possible (based on current regulations). > Since not all information is known in advance (for example, if the cardholder will successfully authenticate via 3D Secure or if you also plan to provide additional Level 2/3 data), the returned amounts are based on a set of assumption criteria you define in the `assumptions` parameter." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"costEstimateAmount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 12\n },\n \"resultCode\" : \"Success\",\n \"surchargeType\" : \"PASSTHROUGH\"\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"amount\" : {\n \"value\" : 1234,\n \"currency\" : \"EUR\"\n },\n \"assumptions\" : {\n \"assumeLevel3Data\" : true,\n \"assume3DSecureAuthenticated\" : true\n },\n \"cardNumber\" : \"5101180000000007\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/getCostEstimate", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "getCostEstimate" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": ">This API is available only for merchants operating in Australia, the EU, and the UK. Use the Adyen Cost Estimation API to pre-calculate interchange and scheme fee costs. Knowing these costs prior actual payment authorisation gives you an opportunity to charge those costs to the cardholder, if necessary. To retrieve this information, make the call to the `/getCostEstimate` endpoint. The response to this call contains the amount of the interchange and scheme fees charged by the network for this transaction, and also which surcharging policy is possible (based on current regulations). > Since not all information is known in advance (for example, if the cardholder will successfully authenticate via 3D Secure or if you also plan to provide additional Level 2/3 data), the returned amounts are based on a set of assumption criteria you define in the `assumptions` parameter." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"value\" : 1234,\n \"currency\" : \"EUR\"\n },\n \"assumptions\" : {\n \"assumeLevel3Data\" : true,\n \"assume3DSecureAuthenticated\" : true\n },\n \"cardNumber\" : \"5101180000000007\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/getCostEstimate", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "getCostEstimate" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": ">This API is available only for merchants operating in Australia, the EU, and the UK. Use the Adyen Cost Estimation API to pre-calculate interchange and scheme fee costs. Knowing these costs prior actual payment authorisation gives you an opportunity to charge those costs to the cardholder, if necessary. To retrieve this information, make the call to the `/getCostEstimate` endpoint. The response to this call contains the amount of the interchange and scheme fees charged by the network for this transaction, and also which surcharging policy is possible (based on current regulations). > Since not all information is known in advance (for example, if the cardholder will successfully authenticate via 3D Secure or if you also plan to provide additional Level 2/3 data), the returned amounts are based on a set of assumption criteria you define in the `assumptions` parameter." - } + ] }, { "name": "Estimate the transaction cost (recurring contract)", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"value\" : 1234,\n \"currency\" : \"EUR\"\n },\n \"assumptions\" : {\n \"assumeLevel3Data\" : true,\n \"assume3DSecureAuthenticated\" : true\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"merchantDetails\" : {\n \"countryCode\" : \"NL\",\n \"mcc\" : \"7411\",\n \"enrolledIn3DSecure\" : true\n },\n \"selectedRecurringDetailReference\" : \"1234567890123456\",\n \"shopperInteraction\" : \"Ecommerce\",\n \"shopperReference\" : \"123456\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/getCostEstimate", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "getCostEstimate" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": ">This API is available only for merchants operating in Australia, the EU, and the UK. Use the Adyen Cost Estimation API to pre-calculate interchange and scheme fee costs. Knowing these costs prior actual payment authorisation gives you an opportunity to charge those costs to the cardholder, if necessary. To retrieve this information, make the call to the `/getCostEstimate` endpoint. The response to this call contains the amount of the interchange and scheme fees charged by the network for this transaction, and also which surcharging policy is possible (based on current regulations). > Since not all information is known in advance (for example, if the cardholder will successfully authenticate via 3D Secure or if you also plan to provide additional Level 2/3 data), the returned amounts are based on a set of assumption criteria you define in the `assumptions` parameter." - } + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"amount\" : {\n \"value\" : 1234,\n \"currency\" : \"EUR\"\n },\n \"assumptions\" : {\n \"assumeLevel3Data\" : true,\n \"assume3DSecureAuthenticated\" : true\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"merchantDetails\" : {\n \"countryCode\" : \"NL\",\n \"mcc\" : \"7411\",\n \"enrolledIn3DSecure\" : true\n },\n \"selectedRecurringDetailReference\" : \"1234567890123456\",\n \"shopperInteraction\" : \"Ecommerce\",\n \"shopperReference\" : \"123456\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/getCostEstimate", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "getCostEstimate" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": ">This API is available only for merchants operating in Australia, the EU, and the UK. Use the Adyen Cost Estimation API to pre-calculate interchange and scheme fee costs. Knowing these costs prior actual payment authorisation gives you an opportunity to charge those costs to the cardholder, if necessary. To retrieve this information, make the call to the `/getCostEstimate` endpoint. The response to this call contains the amount of the interchange and scheme fees charged by the network for this transaction, and also which surcharging policy is possible (based on current regulations). > Since not all information is known in advance (for example, if the cardholder will successfully authenticate via 3D Secure or if you also plan to provide additional Level 2/3 data), the returned amounts are based on a set of assumption criteria you define in the `assumptions` parameter." +} + ,"response": [ + ] } ] } - ] } ], diff --git a/postman/BinLookupService-v54.json b/postman/BinLookupService-v54.json index 1990a39..d2d0d90 100644 --- a/postman/BinLookupService-v54.json +++ b/postman/BinLookupService-v54.json @@ -19,49 +19,101 @@ { "name": "Get 3D Secure availability", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"cardNumber\" : \"4111111111111111\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/get3dsAvailability", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "get3dsAvailability" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Verifies whether 3D Secure is available for the specified BIN or card brand. For 3D Secure 2, this endpoint also returns device fingerprinting keys. For more information, refer to [3D Secure 2](https://docs.adyen.com/online-payments/3d-secure/native-3ds2)." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"threeDS1Supported\" : true,\n \"threeDS2CardRangeDetails\" : [ ],\n \"threeDS2supported\" : false\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"cardNumber\" : \"4111111111111111\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/get3dsAvailability", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "get3dsAvailability" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Verifies whether 3D Secure is available for the specified BIN or card brand. For 3D Secure 2, this endpoint also returns device fingerprinting keys. For more information, refer to [3D Secure 2](https://docs.adyen.com/online-payments/3d-secure/native-3ds2)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"cardNumber\" : \"4111111111111111\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/get3dsAvailability", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "get3dsAvailability" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Verifies whether 3D Secure is available for the specified BIN or card brand. For 3D Secure 2, this endpoint also returns device fingerprinting keys. For more information, refer to [3D Secure 2](https://docs.adyen.com/online-payments/3d-secure/native-3ds2)." - } + ] } ] - } -, + }, { "name": "/getCostEstimate", "description": ">This API is available only for merchants operating in Australia, the EU, and the UK. Use the Adyen Cost Estimation API to pre-calculate interchange and scheme fee costs. Knowing these costs prior actual payment authorisation gives you an opportunity to charge those costs to the cardholder, if necessary. To retrieve this information, make the call to the `/getCostEstimate` endpoint. The response to this call contains the amount of the interchange and scheme fees charged by the network for this transaction, and also which surcharging policy is possible (based on current regulations). > Since not all information is known in advance (for example, if the cardholder will successfully authenticate via 3D Secure or if you also plan to provide additional Level 2/3 data), the returned amounts are based on a set of assumption criteria you define in the `assumptions` parameter.", @@ -69,221 +121,434 @@ { "name": "Estimate the transaction cost", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"amount\" : {\n \"value\" : 1234,\n \"currency\" : \"EUR\"\n },\n \"assumptions\" : {\n \"assumeLevel3Data\" : true,\n \"assume3DSecureAuthenticated\" : true\n },\n \"cardNumber\" : \"5101180000000007\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"merchantDetails\" : {\n \"countryCode\" : \"NL\",\n \"mcc\" : \"7411\",\n \"enrolledIn3DSecure\" : true\n },\n \"shopperInteraction\" : \"Ecommerce\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/getCostEstimate", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "getCostEstimate" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": ">This API is available only for merchants operating in Australia, the EU, and the UK. Use the Adyen Cost Estimation API to pre-calculate interchange and scheme fee costs. Knowing these costs prior actual payment authorisation gives you an opportunity to charge those costs to the cardholder, if necessary. To retrieve this information, make the call to the `/getCostEstimate` endpoint. The response to this call contains the amount of the interchange and scheme fees charged by the network for this transaction, and also which surcharging policy is possible (based on current regulations). > Since not all information is known in advance (for example, if the cardholder will successfully authenticate via 3D Secure or if you also plan to provide additional Level 2/3 data), the returned amounts are based on a set of assumption criteria you define in the `assumptions` parameter." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"costEstimateAmount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 12\n },\n \"resultCode\" : \"Success\",\n \"surchargeType\" : \"PASSTHROUGH\"\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"amount\" : {\n \"value\" : 1234,\n \"currency\" : \"EUR\"\n },\n \"assumptions\" : {\n \"assumeLevel3Data\" : true,\n \"assume3DSecureAuthenticated\" : true\n },\n \"cardNumber\" : \"5101180000000007\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"merchantDetails\" : {\n \"countryCode\" : \"NL\",\n \"mcc\" : \"7411\",\n \"enrolledIn3DSecure\" : true\n },\n \"shopperInteraction\" : \"Ecommerce\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/getCostEstimate", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "getCostEstimate" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": ">This API is available only for merchants operating in Australia, the EU, and the UK. Use the Adyen Cost Estimation API to pre-calculate interchange and scheme fee costs. Knowing these costs prior actual payment authorisation gives you an opportunity to charge those costs to the cardholder, if necessary. To retrieve this information, make the call to the `/getCostEstimate` endpoint. The response to this call contains the amount of the interchange and scheme fees charged by the network for this transaction, and also which surcharging policy is possible (based on current regulations). > Since not all information is known in advance (for example, if the cardholder will successfully authenticate via 3D Secure or if you also plan to provide additional Level 2/3 data), the returned amounts are based on a set of assumption criteria you define in the `assumptions` parameter." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"value\" : 1234,\n \"currency\" : \"EUR\"\n },\n \"assumptions\" : {\n \"assumeLevel3Data\" : true,\n \"assume3DSecureAuthenticated\" : true\n },\n \"cardNumber\" : \"5101180000000007\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"merchantDetails\" : {\n \"countryCode\" : \"NL\",\n \"mcc\" : \"7411\",\n \"enrolledIn3DSecure\" : true\n },\n \"shopperInteraction\" : \"Ecommerce\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/getCostEstimate", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "getCostEstimate" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": ">This API is available only for merchants operating in Australia, the EU, and the UK. Use the Adyen Cost Estimation API to pre-calculate interchange and scheme fee costs. Knowing these costs prior actual payment authorisation gives you an opportunity to charge those costs to the cardholder, if necessary. To retrieve this information, make the call to the `/getCostEstimate` endpoint. The response to this call contains the amount of the interchange and scheme fees charged by the network for this transaction, and also which surcharging policy is possible (based on current regulations). > Since not all information is known in advance (for example, if the cardholder will successfully authenticate via 3D Secure or if you also plan to provide additional Level 2/3 data), the returned amounts are based on a set of assumption criteria you define in the `assumptions` parameter." - } + ] }, { "name": "Estimate the transaction cost using an encrypted card number", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"amount\" : {\n \"value\" : 1234,\n \"currency\" : \"EUR\"\n },\n \"assumptions\" : {\n \"assumeLevel3Data\" : true,\n \"assume3DSecureAuthenticated\" : true\n },\n \"encryptedCardNumber\" : \"test_5101180000000007\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"merchantDetails\" : {\n \"countryCode\" : \"NL\",\n \"mcc\" : \"7411\",\n \"enrolledIn3DSecure\" : true\n },\n \"shopperInteraction\" : \"Ecommerce\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/getCostEstimate", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "getCostEstimate" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": ">This API is available only for merchants operating in Australia, the EU, and the UK. Use the Adyen Cost Estimation API to pre-calculate interchange and scheme fee costs. Knowing these costs prior actual payment authorisation gives you an opportunity to charge those costs to the cardholder, if necessary. To retrieve this information, make the call to the `/getCostEstimate` endpoint. The response to this call contains the amount of the interchange and scheme fees charged by the network for this transaction, and also which surcharging policy is possible (based on current regulations). > Since not all information is known in advance (for example, if the cardholder will successfully authenticate via 3D Secure or if you also plan to provide additional Level 2/3 data), the returned amounts are based on a set of assumption criteria you define in the `assumptions` parameter." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"costEstimateAmount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 12\n },\n \"resultCode\" : \"Success\",\n \"surchargeType\" : \"PASSTHROUGH\"\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"amount\" : {\n \"value\" : 1234,\n \"currency\" : \"EUR\"\n },\n \"assumptions\" : {\n \"assumeLevel3Data\" : true,\n \"assume3DSecureAuthenticated\" : true\n },\n \"encryptedCardNumber\" : \"test_5101180000000007\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"merchantDetails\" : {\n \"countryCode\" : \"NL\",\n \"mcc\" : \"7411\",\n \"enrolledIn3DSecure\" : true\n },\n \"shopperInteraction\" : \"Ecommerce\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/getCostEstimate", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "getCostEstimate" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": ">This API is available only for merchants operating in Australia, the EU, and the UK. Use the Adyen Cost Estimation API to pre-calculate interchange and scheme fee costs. Knowing these costs prior actual payment authorisation gives you an opportunity to charge those costs to the cardholder, if necessary. To retrieve this information, make the call to the `/getCostEstimate` endpoint. The response to this call contains the amount of the interchange and scheme fees charged by the network for this transaction, and also which surcharging policy is possible (based on current regulations). > Since not all information is known in advance (for example, if the cardholder will successfully authenticate via 3D Secure or if you also plan to provide additional Level 2/3 data), the returned amounts are based on a set of assumption criteria you define in the `assumptions` parameter." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"value\" : 1234,\n \"currency\" : \"EUR\"\n },\n \"assumptions\" : {\n \"assumeLevel3Data\" : true,\n \"assume3DSecureAuthenticated\" : true\n },\n \"encryptedCardNumber\" : \"test_5101180000000007\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"merchantDetails\" : {\n \"countryCode\" : \"NL\",\n \"mcc\" : \"7411\",\n \"enrolledIn3DSecure\" : true\n },\n \"shopperInteraction\" : \"Ecommerce\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/getCostEstimate", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "getCostEstimate" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": ">This API is available only for merchants operating in Australia, the EU, and the UK. Use the Adyen Cost Estimation API to pre-calculate interchange and scheme fee costs. Knowing these costs prior actual payment authorisation gives you an opportunity to charge those costs to the cardholder, if necessary. To retrieve this information, make the call to the `/getCostEstimate` endpoint. The response to this call contains the amount of the interchange and scheme fees charged by the network for this transaction, and also which surcharging policy is possible (based on current regulations). > Since not all information is known in advance (for example, if the cardholder will successfully authenticate via 3D Secure or if you also plan to provide additional Level 2/3 data), the returned amounts are based on a set of assumption criteria you define in the `assumptions` parameter." - } + ] }, { "name": "Estimate the transaction cost (minimal)", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"amount\" : {\n \"value\" : 1234,\n \"currency\" : \"EUR\"\n },\n \"cardNumber\" : \"5101180000000007\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/getCostEstimate", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "getCostEstimate" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": ">This API is available only for merchants operating in Australia, the EU, and the UK. Use the Adyen Cost Estimation API to pre-calculate interchange and scheme fee costs. Knowing these costs prior actual payment authorisation gives you an opportunity to charge those costs to the cardholder, if necessary. To retrieve this information, make the call to the `/getCostEstimate` endpoint. The response to this call contains the amount of the interchange and scheme fees charged by the network for this transaction, and also which surcharging policy is possible (based on current regulations). > Since not all information is known in advance (for example, if the cardholder will successfully authenticate via 3D Secure or if you also plan to provide additional Level 2/3 data), the returned amounts are based on a set of assumption criteria you define in the `assumptions` parameter." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"costEstimateAmount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 12\n },\n \"resultCode\" : \"Success\",\n \"surchargeType\" : \"PASSTHROUGH\"\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"amount\" : {\n \"value\" : 1234,\n \"currency\" : \"EUR\"\n },\n \"cardNumber\" : \"5101180000000007\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/getCostEstimate", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "getCostEstimate" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": ">This API is available only for merchants operating in Australia, the EU, and the UK. Use the Adyen Cost Estimation API to pre-calculate interchange and scheme fee costs. Knowing these costs prior actual payment authorisation gives you an opportunity to charge those costs to the cardholder, if necessary. To retrieve this information, make the call to the `/getCostEstimate` endpoint. The response to this call contains the amount of the interchange and scheme fees charged by the network for this transaction, and also which surcharging policy is possible (based on current regulations). > Since not all information is known in advance (for example, if the cardholder will successfully authenticate via 3D Secure or if you also plan to provide additional Level 2/3 data), the returned amounts are based on a set of assumption criteria you define in the `assumptions` parameter." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"value\" : 1234,\n \"currency\" : \"EUR\"\n },\n \"cardNumber\" : \"5101180000000007\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/getCostEstimate", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "getCostEstimate" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": ">This API is available only for merchants operating in Australia, the EU, and the UK. Use the Adyen Cost Estimation API to pre-calculate interchange and scheme fee costs. Knowing these costs prior actual payment authorisation gives you an opportunity to charge those costs to the cardholder, if necessary. To retrieve this information, make the call to the `/getCostEstimate` endpoint. The response to this call contains the amount of the interchange and scheme fees charged by the network for this transaction, and also which surcharging policy is possible (based on current regulations). > Since not all information is known in advance (for example, if the cardholder will successfully authenticate via 3D Secure or if you also plan to provide additional Level 2/3 data), the returned amounts are based on a set of assumption criteria you define in the `assumptions` parameter." - } + ] }, { "name": "Estimate the transaction cost (minimal with 3DSecure)", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"amount\" : {\n \"value\" : 1234,\n \"currency\" : \"EUR\"\n },\n \"assumptions\" : {\n \"assumeLevel3Data\" : true,\n \"assume3DSecureAuthenticated\" : true\n },\n \"cardNumber\" : \"5101180000000007\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/getCostEstimate", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "getCostEstimate" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": ">This API is available only for merchants operating in Australia, the EU, and the UK. Use the Adyen Cost Estimation API to pre-calculate interchange and scheme fee costs. Knowing these costs prior actual payment authorisation gives you an opportunity to charge those costs to the cardholder, if necessary. To retrieve this information, make the call to the `/getCostEstimate` endpoint. The response to this call contains the amount of the interchange and scheme fees charged by the network for this transaction, and also which surcharging policy is possible (based on current regulations). > Since not all information is known in advance (for example, if the cardholder will successfully authenticate via 3D Secure or if you also plan to provide additional Level 2/3 data), the returned amounts are based on a set of assumption criteria you define in the `assumptions` parameter." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"costEstimateAmount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 12\n },\n \"resultCode\" : \"Success\",\n \"surchargeType\" : \"PASSTHROUGH\"\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"amount\" : {\n \"value\" : 1234,\n \"currency\" : \"EUR\"\n },\n \"assumptions\" : {\n \"assumeLevel3Data\" : true,\n \"assume3DSecureAuthenticated\" : true\n },\n \"cardNumber\" : \"5101180000000007\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/getCostEstimate", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "getCostEstimate" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": ">This API is available only for merchants operating in Australia, the EU, and the UK. Use the Adyen Cost Estimation API to pre-calculate interchange and scheme fee costs. Knowing these costs prior actual payment authorisation gives you an opportunity to charge those costs to the cardholder, if necessary. To retrieve this information, make the call to the `/getCostEstimate` endpoint. The response to this call contains the amount of the interchange and scheme fees charged by the network for this transaction, and also which surcharging policy is possible (based on current regulations). > Since not all information is known in advance (for example, if the cardholder will successfully authenticate via 3D Secure or if you also plan to provide additional Level 2/3 data), the returned amounts are based on a set of assumption criteria you define in the `assumptions` parameter." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"value\" : 1234,\n \"currency\" : \"EUR\"\n },\n \"assumptions\" : {\n \"assumeLevel3Data\" : true,\n \"assume3DSecureAuthenticated\" : true\n },\n \"cardNumber\" : \"5101180000000007\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/getCostEstimate", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "getCostEstimate" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": ">This API is available only for merchants operating in Australia, the EU, and the UK. Use the Adyen Cost Estimation API to pre-calculate interchange and scheme fee costs. Knowing these costs prior actual payment authorisation gives you an opportunity to charge those costs to the cardholder, if necessary. To retrieve this information, make the call to the `/getCostEstimate` endpoint. The response to this call contains the amount of the interchange and scheme fees charged by the network for this transaction, and also which surcharging policy is possible (based on current regulations). > Since not all information is known in advance (for example, if the cardholder will successfully authenticate via 3D Secure or if you also plan to provide additional Level 2/3 data), the returned amounts are based on a set of assumption criteria you define in the `assumptions` parameter." - } + ] }, { "name": "Estimate the transaction cost (recurring contract)", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"value\" : 1234,\n \"currency\" : \"EUR\"\n },\n \"assumptions\" : {\n \"assumeLevel3Data\" : true,\n \"assume3DSecureAuthenticated\" : true\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"merchantDetails\" : {\n \"countryCode\" : \"NL\",\n \"mcc\" : \"7411\",\n \"enrolledIn3DSecure\" : true\n },\n \"selectedRecurringDetailReference\" : \"1234567890123456\",\n \"shopperInteraction\" : \"Ecommerce\",\n \"shopperReference\" : \"123456\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/getCostEstimate", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "getCostEstimate" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": ">This API is available only for merchants operating in Australia, the EU, and the UK. Use the Adyen Cost Estimation API to pre-calculate interchange and scheme fee costs. Knowing these costs prior actual payment authorisation gives you an opportunity to charge those costs to the cardholder, if necessary. To retrieve this information, make the call to the `/getCostEstimate` endpoint. The response to this call contains the amount of the interchange and scheme fees charged by the network for this transaction, and also which surcharging policy is possible (based on current regulations). > Since not all information is known in advance (for example, if the cardholder will successfully authenticate via 3D Secure or if you also plan to provide additional Level 2/3 data), the returned amounts are based on a set of assumption criteria you define in the `assumptions` parameter." - } + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"amount\" : {\n \"value\" : 1234,\n \"currency\" : \"EUR\"\n },\n \"assumptions\" : {\n \"assumeLevel3Data\" : true,\n \"assume3DSecureAuthenticated\" : true\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"merchantDetails\" : {\n \"countryCode\" : \"NL\",\n \"mcc\" : \"7411\",\n \"enrolledIn3DSecure\" : true\n },\n \"selectedRecurringDetailReference\" : \"1234567890123456\",\n \"shopperInteraction\" : \"Ecommerce\",\n \"shopperReference\" : \"123456\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/getCostEstimate", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "getCostEstimate" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": ">This API is available only for merchants operating in Australia, the EU, and the UK. Use the Adyen Cost Estimation API to pre-calculate interchange and scheme fee costs. Knowing these costs prior actual payment authorisation gives you an opportunity to charge those costs to the cardholder, if necessary. To retrieve this information, make the call to the `/getCostEstimate` endpoint. The response to this call contains the amount of the interchange and scheme fees charged by the network for this transaction, and also which surcharging policy is possible (based on current regulations). > Since not all information is known in advance (for example, if the cardholder will successfully authenticate via 3D Secure or if you also plan to provide additional Level 2/3 data), the returned amounts are based on a set of assumption criteria you define in the `assumptions` parameter." +} + ,"response": [ + ] } ] } - ] } ], diff --git a/postman/CheckoutService-v37.json b/postman/CheckoutService-v37.json index 376ad3a..f237fb0 100644 --- a/postman/CheckoutService-v37.json +++ b/postman/CheckoutService-v37.json @@ -19,55 +19,113 @@ { "name": "Cancel a payment using your own reference", "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 + "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 \"paymentReference\" : \"YOUR_UNIQUE_REFERENCE_FOR_THE_PAYMENT\",\n \"reference\" : \"YOUR_UNIQUE_REFERENCE_FOR_THE_CANCELLATION\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/cancels", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "cancels" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Cancels the authorisation on a payment that has not yet been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/captures), and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**TECHNICAL_CANCEL** webhook](https://docs.adyen.com/online-payments/cancel#cancellation-webhook). If you want to cancel a payment using the [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference), use the [`/payments/{paymentPspReference}/cancels`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/cancels) endpoint instead. If you want to cancel a payment but are not sure whether it has been captured, use the [`/payments/{paymentPspReference}/reversals`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/reversals) endpoint instead. For more information, refer to [Cancel](https://docs.adyen.com/online-payments/cancel)." +} + ,"response": [ + {"name": "Created - the request has been fulfilled and has resulted in one or more new resources being created.", + "code": 201, + "status": "Created", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"merchantAccount\" : \"YOUR_MERCHANT_ACCOUNT\",\n \"paymentReference\" : \"YOUR_UNIQUE_REFERENCE_FOR_THE_PAYMENT\",\n \"reference\" : \"YOUR_UNIQUE_REFERENCE_FOR_THE_CANCELLATION\",\n \"pspReference\" : \"993617894906488A\",\n \"status\" : \"received\"\n}", + "originalRequest": { + "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 \"paymentReference\" : \"YOUR_UNIQUE_REFERENCE_FOR_THE_PAYMENT\",\n \"reference\" : \"YOUR_UNIQUE_REFERENCE_FOR_THE_CANCELLATION\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/cancels", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "cancels" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Cancels the authorisation on a payment that has not yet been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/captures), and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**TECHNICAL_CANCEL** webhook](https://docs.adyen.com/online-payments/cancel#cancellation-webhook). If you want to cancel a payment using the [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference), use the [`/payments/{paymentPspReference}/cancels`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/cancels) endpoint instead. If you want to cancel a payment but are not sure whether it has been captured, use the [`/payments/{paymentPspReference}/reversals`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/reversals) endpoint instead. For more information, refer to [Cancel](https://docs.adyen.com/online-payments/cancel)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"paymentReference\" : \"YOUR_UNIQUE_REFERENCE_FOR_THE_PAYMENT\",\n \"reference\" : \"YOUR_UNIQUE_REFERENCE_FOR_THE_CANCELLATION\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/cancels", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "cancels" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Cancels the authorisation on a payment that has not yet been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/captures), and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**TECHNICAL_CANCEL** webhook](https://docs.adyen.com/online-payments/cancel#cancellation-webhook). If you want to cancel a payment using the [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference), use the [`/payments/{paymentPspReference}/cancels`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/cancels) endpoint instead. If you want to cancel a payment but are not sure whether it has been captured, use the [`/payments/{paymentPspReference}/reversals`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/reversals) endpoint instead. For more information, refer to [Cancel](https://docs.adyen.com/online-payments/cancel)." - } + ] } ] - } -, + }, { "name": "/payments/:paymentPspReference/amountUpdates", "description": "Increases or decreases the authorised payment amount and returns a unique reference for this request. You get the outcome of the request asynchronously, in an [**AUTHORISATION_ADJUSTMENT** webhook](https://docs.adyen.com/development-resources/webhooks/understand-notifications#event-codes). You can only update authorised amounts that have not yet been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/captures). The amount you specify in the request is the updated amount, which is larger or smaller than the initial authorised amount. For more information, refer to [Authorisation adjustment](https://docs.adyen.com/online-payments/adjust-authorisation#use-cases).", @@ -75,62 +133,127 @@ { "name": "Update the amount of an authorised payment", "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 + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 2500\n },\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments/:paymentPspReference/amountUpdates", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments", + ":paymentPspReference", + "amountUpdates" + ], + "variable": [ + { + "key": "paymentPspReference", + "value": "", + "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment." + } + ], + "query": [ + ] + }, + "description": "Increases or decreases the authorised payment amount and returns a unique reference for this request. You get the outcome of the request asynchronously, in an [**AUTHORISATION_ADJUSTMENT** webhook](https://docs.adyen.com/development-resources/webhooks/understand-notifications#event-codes). You can only update authorised amounts that have not yet been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/captures). The amount you specify in the request is the updated amount, which is larger or smaller than the initial authorised amount. For more information, refer to [Authorisation adjustment](https://docs.adyen.com/online-payments/adjust-authorisation#use-cases)." +} + ,"response": [ + {"name": "Created - the request has been fulfilled and has resulted in one or more new resources being created.", + "code": 201, + "status": "Created", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"merchantAccount\" : \"YOUR_MERCHANT_ACCOUNT\",\n \"paymentPspReference\" : \"993617894903480A\",\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"pspReference\" : \"993617894906488A\",\n \"status\" : \"received\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 2500\n }\n}", + "originalRequest": { + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 2500\n },\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments/:paymentPspReference/amountUpdates", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments", + ":paymentPspReference", + "amountUpdates" + ], + "variable": [ + { + "key": "paymentPspReference", + "value": "", + "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment." + } + ], + "query": [ + ] + }, + "description": "Increases or decreases the authorised payment amount and returns a unique reference for this request. You get the outcome of the request asynchronously, in an [**AUTHORISATION_ADJUSTMENT** webhook](https://docs.adyen.com/development-resources/webhooks/understand-notifications#event-codes). You can only update authorised amounts that have not yet been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/captures). The amount you specify in the request is the updated amount, which is larger or smaller than the initial authorised amount. For more information, refer to [Authorisation adjustment](https://docs.adyen.com/online-payments/adjust-authorisation#use-cases)." +} } - ], - "body": { - "mode": "raw", - "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" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments/:paymentPspReference/amountUpdates", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments", - ":paymentPspReference", - "amountUpdates" - ], - "variable": [ - { - "key": "paymentPspReference", - "value": "", - "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment." - } - ], - "query": [ - ] - }, - "description": "Increases or decreases the authorised payment amount and returns a unique reference for this request. You get the outcome of the request asynchronously, in an [**AUTHORISATION_ADJUSTMENT** webhook](https://docs.adyen.com/development-resources/webhooks/understand-notifications#event-codes). You can only update authorised amounts that have not yet been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/captures). The amount you specify in the request is the updated amount, which is larger or smaller than the initial authorised amount. For more information, refer to [Authorisation adjustment](https://docs.adyen.com/online-payments/adjust-authorisation#use-cases)." - } + ] } ] - } -, + }, { "name": "/payments/:paymentPspReference/cancels", "description": "Cancels the authorisation on a payment that has not yet been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/paymentPspReference/captures), and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CANCELLATION** webhook](https://docs.adyen.com/online-payments/cancel#cancellation-webhook). If you want to cancel a payment but don't have the [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference), use the [`/cancels`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cancels) endpoint instead. If you want to cancel a payment but are not sure whether it has been captured, use the [`/payments/{paymentPspReference}/reversals`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/reversals) endpoint instead. For more information, refer to [Cancel](https://docs.adyen.com/online-payments/cancel).", @@ -138,62 +261,127 @@ { "name": "Cancel payment using a PSP reference", "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 + "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 \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments/:paymentPspReference/cancels", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments", + ":paymentPspReference", + "cancels" + ], + "variable": [ + { + "key": "paymentPspReference", + "value": "", + "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to cancel. " + } + ], + "query": [ + ] + }, + "description": "Cancels the authorisation on a payment that has not yet been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/paymentPspReference/captures), and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CANCELLATION** webhook](https://docs.adyen.com/online-payments/cancel#cancellation-webhook). If you want to cancel a payment but don't have the [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference), use the [`/cancels`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cancels) endpoint instead. If you want to cancel a payment but are not sure whether it has been captured, use the [`/payments/{paymentPspReference}/reversals`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/reversals) endpoint instead. For more information, refer to [Cancel](https://docs.adyen.com/online-payments/cancel)." +} + ,"response": [ + {"name": "Created - the request has been fulfilled and has resulted in one or more new resources being created.", + "code": 201, + "status": "Created", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"merchantAccount\" : \"YOUR_MERCHANT_ACCOUNT\",\n \"paymentPspReference\" : \"993617894903480A\",\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"pspReference\" : \"993617894906488A\",\n \"status\" : \"received\"\n}", + "originalRequest": { + "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 \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments/:paymentPspReference/cancels", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments", + ":paymentPspReference", + "cancels" + ], + "variable": [ + { + "key": "paymentPspReference", + "value": "", + "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to cancel. " + } + ], + "query": [ + ] + }, + "description": "Cancels the authorisation on a payment that has not yet been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/paymentPspReference/captures), and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CANCELLATION** webhook](https://docs.adyen.com/online-payments/cancel#cancellation-webhook). If you want to cancel a payment but don't have the [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference), use the [`/cancels`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cancels) endpoint instead. If you want to cancel a payment but are not sure whether it has been captured, use the [`/payments/{paymentPspReference}/reversals`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/reversals) endpoint instead. For more information, refer to [Cancel](https://docs.adyen.com/online-payments/cancel)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments/:paymentPspReference/cancels", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments", - ":paymentPspReference", - "cancels" - ], - "variable": [ - { - "key": "paymentPspReference", - "value": "", - "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to cancel. " - } - ], - "query": [ - ] - }, - "description": "Cancels the authorisation on a payment that has not yet been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/paymentPspReference/captures), and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CANCELLATION** webhook](https://docs.adyen.com/online-payments/cancel#cancellation-webhook). If you want to cancel a payment but don't have the [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference), use the [`/cancels`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cancels) endpoint instead. If you want to cancel a payment but are not sure whether it has been captured, use the [`/payments/{paymentPspReference}/reversals`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/reversals) endpoint instead. For more information, refer to [Cancel](https://docs.adyen.com/online-payments/cancel)." - } + ] } ] - } -, + }, { "name": "/payments/:paymentPspReference/captures", "description": " Captures an authorised payment and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CAPTURE** webhook](https://docs.adyen.com/online-payments/capture#capture-notification). You can capture either the full authorised amount or a part of the authorised amount. By default, any unclaimed amount after a partial capture gets cancelled. This does not apply if you enabled multiple partial captures on your account and the payment method supports multiple partial captures. [Automatic capture](https://docs.adyen.com/online-payments/capture#automatic-capture) is the default setting for most payment methods. In these cases, you don't need to make capture requests. However, making capture requests for payments that are captured automatically does not result in double charges. For more information, refer to [Capture](https://docs.adyen.com/online-payments/capture).", @@ -201,62 +389,127 @@ { "name": "Capture an authorised payment", "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 + "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 \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"amount\" : {\n \"value\" : 2000,\n \"currency\" : \"EUR\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments/:paymentPspReference/captures", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments", + ":paymentPspReference", + "captures" + ], + "variable": [ + { + "key": "paymentPspReference", + "value": "", + "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to capture." + } + ], + "query": [ + ] + }, + "description": " Captures an authorised payment and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CAPTURE** webhook](https://docs.adyen.com/online-payments/capture#capture-notification). You can capture either the full authorised amount or a part of the authorised amount. By default, any unclaimed amount after a partial capture gets cancelled. This does not apply if you enabled multiple partial captures on your account and the payment method supports multiple partial captures. [Automatic capture](https://docs.adyen.com/online-payments/capture#automatic-capture) is the default setting for most payment methods. In these cases, you don't need to make capture requests. However, making capture requests for payments that are captured automatically does not result in double charges. For more information, refer to [Capture](https://docs.adyen.com/online-payments/capture)." +} + ,"response": [ + {"name": "Created - the request has been fulfilled and has resulted in one or more new resources being created.", + "code": 201, + "status": "Created", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"merchantAccount\" : \"YOUR_MERCHANT_ACCOUNT\",\n \"paymentPspReference\" : \"993617894903480A\",\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"pspReference\" : \"993617894906488A\",\n \"status\" : \"received\",\n \"amount\" : {\n \"value\" : 2000,\n \"currency\" : \"EUR\"\n }\n}", + "originalRequest": { + "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 \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"amount\" : {\n \"value\" : 2000,\n \"currency\" : \"EUR\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments/:paymentPspReference/captures", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments", + ":paymentPspReference", + "captures" + ], + "variable": [ + { + "key": "paymentPspReference", + "value": "", + "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to capture." + } + ], + "query": [ + ] + }, + "description": " Captures an authorised payment and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CAPTURE** webhook](https://docs.adyen.com/online-payments/capture#capture-notification). You can capture either the full authorised amount or a part of the authorised amount. By default, any unclaimed amount after a partial capture gets cancelled. This does not apply if you enabled multiple partial captures on your account and the payment method supports multiple partial captures. [Automatic capture](https://docs.adyen.com/online-payments/capture#automatic-capture) is the default setting for most payment methods. In these cases, you don't need to make capture requests. However, making capture requests for payments that are captured automatically does not result in double charges. For more information, refer to [Capture](https://docs.adyen.com/online-payments/capture)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"amount\" : {\n \"value\" : 2000,\n \"currency\" : \"EUR\"\n }\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments/:paymentPspReference/captures", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments", - ":paymentPspReference", - "captures" - ], - "variable": [ - { - "key": "paymentPspReference", - "value": "", - "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to capture." - } - ], - "query": [ - ] - }, - "description": " Captures an authorised payment and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CAPTURE** webhook](https://docs.adyen.com/online-payments/capture#capture-notification). You can capture either the full authorised amount or a part of the authorised amount. By default, any unclaimed amount after a partial capture gets cancelled. This does not apply if you enabled multiple partial captures on your account and the payment method supports multiple partial captures. [Automatic capture](https://docs.adyen.com/online-payments/capture#automatic-capture) is the default setting for most payment methods. In these cases, you don't need to make capture requests. However, making capture requests for payments that are captured automatically does not result in double charges. For more information, refer to [Capture](https://docs.adyen.com/online-payments/capture)." - } + ] } ] - } -, + }, { "name": "/payments/:paymentPspReference/refunds", "description": "Refunds a payment that has been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/captures), and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**REFUND** webhook](https://docs.adyen.com/online-payments/refund#refund-webhook). You can refund either the full captured amount or a part of the captured amount. You can also perform multiple partial refunds, as long as their sum doesn't exceed the captured amount. > Some payment methods do not support partial refunds. To learn if a payment method supports partial refunds, refer to the payment method page such as [cards](https://docs.adyen.com/payment-methods/cards#supported-cards), [iDEAL](https://docs.adyen.com/payment-methods/ideal), or [Klarna](https://docs.adyen.com/payment-methods/klarna). If you want to refund a payment but are not sure whether it has been captured, use the [`/payments/{paymentPspReference}/reversals`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/reversals) endpoint instead. For more information, refer to [Refund](https://docs.adyen.com/online-payments/refund).", @@ -264,62 +517,127 @@ { "name": "Refund a payment", "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 + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 2500\n },\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments/:paymentPspReference/refunds", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments", + ":paymentPspReference", + "refunds" + ], + "variable": [ + { + "key": "paymentPspReference", + "value": "", + "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to refund." + } + ], + "query": [ + ] + }, + "description": "Refunds a payment that has been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/captures), and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**REFUND** webhook](https://docs.adyen.com/online-payments/refund#refund-webhook). You can refund either the full captured amount or a part of the captured amount. You can also perform multiple partial refunds, as long as their sum doesn't exceed the captured amount. > Some payment methods do not support partial refunds. To learn if a payment method supports partial refunds, refer to the payment method page such as [cards](https://docs.adyen.com/payment-methods/cards#supported-cards), [iDEAL](https://docs.adyen.com/payment-methods/ideal), or [Klarna](https://docs.adyen.com/payment-methods/klarna). If you want to refund a payment but are not sure whether it has been captured, use the [`/payments/{paymentPspReference}/reversals`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/reversals) endpoint instead. For more information, refer to [Refund](https://docs.adyen.com/online-payments/refund)." +} + ,"response": [ + {"name": "Created - the request has been fulfilled and has resulted in one or more new resources being created.", + "code": 201, + "status": "Created", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"merchantAccount\" : \"YOUR_MERCHANT_ACCOUNT\",\n \"paymentPspReference\" : \"993617894903480A\",\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"pspReference\" : \"993617894906488A\",\n \"status\" : \"received\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 2500\n }\n}", + "originalRequest": { + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 2500\n },\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments/:paymentPspReference/refunds", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments", + ":paymentPspReference", + "refunds" + ], + "variable": [ + { + "key": "paymentPspReference", + "value": "", + "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to refund." + } + ], + "query": [ + ] + }, + "description": "Refunds a payment that has been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/captures), and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**REFUND** webhook](https://docs.adyen.com/online-payments/refund#refund-webhook). You can refund either the full captured amount or a part of the captured amount. You can also perform multiple partial refunds, as long as their sum doesn't exceed the captured amount. > Some payment methods do not support partial refunds. To learn if a payment method supports partial refunds, refer to the payment method page such as [cards](https://docs.adyen.com/payment-methods/cards#supported-cards), [iDEAL](https://docs.adyen.com/payment-methods/ideal), or [Klarna](https://docs.adyen.com/payment-methods/klarna). If you want to refund a payment but are not sure whether it has been captured, use the [`/payments/{paymentPspReference}/reversals`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/reversals) endpoint instead. For more information, refer to [Refund](https://docs.adyen.com/online-payments/refund)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 2500\n },\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments/:paymentPspReference/refunds", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments", - ":paymentPspReference", - "refunds" - ], - "variable": [ - { - "key": "paymentPspReference", - "value": "", - "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to refund." - } - ], - "query": [ - ] - }, - "description": "Refunds a payment that has been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/captures), and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**REFUND** webhook](https://docs.adyen.com/online-payments/refund#refund-webhook). You can refund either the full captured amount or a part of the captured amount. You can also perform multiple partial refunds, as long as their sum doesn't exceed the captured amount. > Some payment methods do not support partial refunds. To learn if a payment method supports partial refunds, refer to the payment method page such as [cards](https://docs.adyen.com/payment-methods/cards#supported-cards), [iDEAL](https://docs.adyen.com/payment-methods/ideal), or [Klarna](https://docs.adyen.com/payment-methods/klarna). If you want to refund a payment but are not sure whether it has been captured, use the [`/payments/{paymentPspReference}/reversals`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/reversals) endpoint instead. For more information, refer to [Refund](https://docs.adyen.com/online-payments/refund)." - } + ] } ] - } -, + }, { "name": "/payments/:paymentPspReference/reversals", "description": "[Refunds](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/refunds) a payment if it has already been captured, and [cancels](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/cancels) a payment if it has not yet been captured. Returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CANCEL_OR_REFUND** webhook](https://docs.adyen.com/online-payments/reverse#cancel-or-refund-webhook). The reversed amount is always the full payment amount. > Do not use this request for payments that involve multiple partial captures. For more information, refer to [Reversal](https://docs.adyen.com/online-payments/reversal).", @@ -327,62 +645,127 @@ { "name": "Reverse (cancel or refund) a payment", "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 + "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 \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments/:paymentPspReference/reversals", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments", + ":paymentPspReference", + "reversals" + ], + "variable": [ + { + "key": "paymentPspReference", + "value": "", + "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to reverse. " + } + ], + "query": [ + ] + }, + "description": "[Refunds](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/refunds) a payment if it has already been captured, and [cancels](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/cancels) a payment if it has not yet been captured. Returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CANCEL_OR_REFUND** webhook](https://docs.adyen.com/online-payments/reverse#cancel-or-refund-webhook). The reversed amount is always the full payment amount. > Do not use this request for payments that involve multiple partial captures. For more information, refer to [Reversal](https://docs.adyen.com/online-payments/reversal)." +} + ,"response": [ + {"name": "Created - the request has been fulfilled and has resulted in one or more new resources being created.", + "code": 201, + "status": "Created", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"merchantAccount\" : \"YOUR_MERCHANT_ACCOUNT\",\n \"paymentPspReference\" : \"993617894903480A\",\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"pspReference\" : \"993617894906488A\",\n \"status\" : \"received\"\n}", + "originalRequest": { + "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 \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments/:paymentPspReference/reversals", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments", + ":paymentPspReference", + "reversals" + ], + "variable": [ + { + "key": "paymentPspReference", + "value": "", + "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to reverse. " + } + ], + "query": [ + ] + }, + "description": "[Refunds](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/refunds) a payment if it has already been captured, and [cancels](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/cancels) a payment if it has not yet been captured. Returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CANCEL_OR_REFUND** webhook](https://docs.adyen.com/online-payments/reverse#cancel-or-refund-webhook). The reversed amount is always the full payment amount. > Do not use this request for payments that involve multiple partial captures. For more information, refer to [Reversal](https://docs.adyen.com/online-payments/reversal)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments/:paymentPspReference/reversals", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments", - ":paymentPspReference", - "reversals" - ], - "variable": [ - { - "key": "paymentPspReference", - "value": "", - "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to reverse. " - } - ], - "query": [ - ] - }, - "description": "[Refunds](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/refunds) a payment if it has already been captured, and [cancels](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/cancels) a payment if it has not yet been captured. Returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CANCEL_OR_REFUND** webhook](https://docs.adyen.com/online-payments/reverse#cancel-or-refund-webhook). The reversed amount is always the full payment amount. > Do not use this request for payments that involve multiple partial captures. For more information, refer to [Reversal](https://docs.adyen.com/online-payments/reversal)." - } + ] } ] } - ] }, { @@ -395,202 +778,266 @@ { "name": "Set up a payment session (Android)", "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 17408\n },\n \"reference\" : \"Your order number\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"channel\" : \"Android\",\n \"token\" : \"TOKEN_YOU_GET_FROM_CHECKOUT_SDK\",\n \"returnUrl\" : \"app://\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl_NL\",\n \"sessionValidity\" : \"2017-04-06T13:09:13Z\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentSession", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentSession" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Provides the data object that can be used to start the Checkout SDK. To set up the payment, pass its amount, currency, and other required parameters. We use this to optimise the payment flow and perform better risk assessment of the transaction. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." - } + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 17408\n },\n \"reference\" : \"Your order number\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"channel\" : \"Android\",\n \"token\" : \"TOKEN_YOU_GET_FROM_CHECKOUT_SDK\",\n \"returnUrl\" : \"app://\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl_NL\",\n \"sessionValidity\" : \"2017-04-06T13:09:13Z\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentSession", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentSession" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Provides the data object that can be used to start the Checkout SDK. To set up the payment, pass its amount, currency, and other required parameters. We use this to optimise the payment flow and perform better risk assessment of the transaction. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." +} + ,"response": [ + ] }, { "name": "Set up a payment session (iOS)", "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 17408\n },\n \"reference\" : \"Your order number\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"channel\" : \"iOS\",\n \"token\" : \"TOKEN_YOU_GET_FROM_CHECKOUT_SDK\",\n \"returnUrl\" : \"app://\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl_NL\",\n \"sessionValidity\" : \"2017-04-06T13:09:13Z\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentSession", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentSession" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Provides the data object that can be used to start the Checkout SDK. To set up the payment, pass its amount, currency, and other required parameters. We use this to optimise the payment flow and perform better risk assessment of the transaction. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." - } + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 17408\n },\n \"reference\" : \"Your order number\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"channel\" : \"iOS\",\n \"token\" : \"TOKEN_YOU_GET_FROM_CHECKOUT_SDK\",\n \"returnUrl\" : \"app://\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl_NL\",\n \"sessionValidity\" : \"2017-04-06T13:09:13Z\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentSession", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentSession" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Provides the data object that can be used to start the Checkout SDK. To set up the payment, pass its amount, currency, and other required parameters. We use this to optimise the payment flow and perform better risk assessment of the transaction. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." +} + ,"response": [ + ] }, { "name": "Split a payment between a sub-merchant and a platform account", "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 6200\n },\n \"additionalData\" : {\n \"split.api\" : \"1\",\n \"split.nrOfItems\" : \"2\",\n \"split.totalAmount\" : \"6200\",\n \"split.currencyCode\" : \"EUR\",\n \"split.item1.amount\" : \"6000\",\n \"split.item1.type\" : \"MarketPlace\",\n \"split.item1.account\" : \"151272963\",\n \"split.item1.reference\" : \"6124145\",\n \"split.item1.description\" : \"Porcelain Doll: Eliza (20cm)\",\n \"split.item2.amount\" : \"200\",\n \"split.item2.type\" : \"Commission\",\n \"split.item2.reference\" : \"6124146\"\n },\n \"reference\" : \"Your order number\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"channel\" : \"Android\",\n \"token\" : \"TOKEN_YOU_GET_FROM_CHECKOUT_SDK\",\n \"returnUrl\" : \"app://\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl_NL\",\n \"sessionValidity\" : \"2017-04-06T13:09:13Z\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentSession", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentSession" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Provides the data object that can be used to start the Checkout SDK. To set up the payment, pass its amount, currency, and other required parameters. We use this to optimise the payment flow and perform better risk assessment of the transaction. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." - } + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 6200\n },\n \"additionalData\" : {\n \"split.api\" : \"1\",\n \"split.nrOfItems\" : \"2\",\n \"split.totalAmount\" : \"6200\",\n \"split.currencyCode\" : \"EUR\",\n \"split.item1.amount\" : \"6000\",\n \"split.item1.type\" : \"MarketPlace\",\n \"split.item1.account\" : \"151272963\",\n \"split.item1.reference\" : \"6124145\",\n \"split.item1.description\" : \"Porcelain Doll: Eliza (20cm)\",\n \"split.item2.amount\" : \"200\",\n \"split.item2.type\" : \"Commission\",\n \"split.item2.reference\" : \"6124146\"\n },\n \"reference\" : \"Your order number\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"channel\" : \"Android\",\n \"token\" : \"TOKEN_YOU_GET_FROM_CHECKOUT_SDK\",\n \"returnUrl\" : \"app://\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl_NL\",\n \"sessionValidity\" : \"2017-04-06T13:09:13Z\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentSession", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentSession" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Provides the data object that can be used to start the Checkout SDK. To set up the payment, pass its amount, currency, and other required parameters. We use this to optimise the payment flow and perform better risk assessment of the transaction. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." +} + ,"response": [ + ] }, { "name": "Set up a payment session (Web)", "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 + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 17408\n },\n \"reference\" : \"Your order number\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"channel\" : \"Web\",\n \"origin\" : \"https://www.yourwebsite.com\",\n \"returnUrl\" : \"https://www.yourshop.com/checkout/result\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl_NL\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"sdkVersion\" : \"1.3.0\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentSession", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentSession" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Provides the data object that can be used to start the Checkout SDK. To set up the payment, pass its amount, currency, and other required parameters. We use this to optimise the payment flow and perform better risk assessment of the transaction. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"paymentSession\" : \"eyJjaGVja291dHNob3BwZXJCYXNlVXJsIjoiaHR0cHM6XC9cL2NoZWNrb3V0c2hvcHBlci10ZXN0LmFkeWVuLmNvbVwvY2hlY2tvdXRzaG9wcGVyXC8iLCJkaXNhYmxlUmVjdXJyaW5nRGV0YWlsVXJsIjoiaHR0cHM6XC9cL2NoZWNrb3V0c2hvcHBlci10ZXN0LmFkeWVuLmNvbVwvY2hlY2tvdXRzaG9wcGVyXC9zZXJ2aWNlc1wvUGF5bWVudEluaXRpYXRpb25cL3YxXC9kaXNhYmxlUmVjdXJyaW5nRGV0YWlsIiwiZ2VuZXJhdGlvbnRpbWUiOiIyMDIxLTA0LTA4VDE0OjEzOjA5WiIsImluaXRpYXRpb25VcmwiOiJodHRwczpcL1wvY2hlY2tvdXRzaG9wcGVyLXRlc3QuYWR5ZW4uY29tXC9jaGVja291dHNob3BwZXJcL3NlcnZpY2VzXC9QYXltZW50SW5pdGlhdGlvblwvdjFcL2luaXRpYXRlP3Rva2VuPXB1Yi52Mi44MTE2MTc4OTAxMDc2MDkwLmFIUjBjSE02THk5M2QzY3VlVzkxY25kbFluTnBkR1V1WTI5dC5wdXByMzNEQ05EQ2k2WldjQ2J1TDFfa2F6NTdKaF9JYmttMm1rQlpQNWdrIiwib3JpZ2luIjoiaHR0cHM6XC9cL3d3dy55b3Vyd2Vic2l0ZS5jb20iLCJvcmlnaW5LZXkiOiJwdWIudjIuODExNjE3ODkwMTA3NjA5MC5hSFIwY0hNNkx5OTNkM2N1ZVc5MWNuZGxZbk5wZEdVdVkyOXQucHVwcjMzRENORENpNlpXY0NidUwxX2thejU3SmhfSWJrbTJta0JaUDVnayIsInBheW1lbnQiOnsiYW1vdW50Ijp7ImN1cnJlbmN5IjoiRVVSIiwidmFsdWUiOjE3NDA4fSwiY291bnRyeUNvZGUiOiJOTCIsInJlZmVyZW5jZSI6InNob3BwZXItcmVmZXJlbmNlLWVrdkw4MyIsInJldHVyblVybCI6Imh0dHBzOlwvXC93d3cueW91cnNob3AuY29tXC9jaGVja291dFwvcmVzdWx0Iiwic2Vzc2lvblZhbGlkaXR5IjoiMjAyMS0wNC0wOFQxNToxMzowOVoiLCJzaG9wcGVyTG9jYWxlIjoiaHUtSFUiLCJzaG9wcGVyUmVmZXJlbmNlIjoic2hvcHBlci1yZWZlcmVuY2UtTFpmZFdaIn0sInBheW1lbnREYXRhIjoiQWIwMmI0YzAhQlFBQkFnQ2d0K05JMHhMc3RONFN2SEd6V2hScWh3NlBNWTFXeW1QYVBSa3ZtQVoxcms4cXJzcUMyRnA4VjlyMkp5XC81a3pKMStqbVA1NkZrSnoyVHFKRzVNVHRcL2tzZlJuSDBsanlNNU1nMXAwRWJjT1o2c1R5NkNsVXlPNnpuOUthM1NQaUUxZkFrU2VcL3dVajR3Zld2WkhNY1JNNUR5K3c0M0lNUldIN2h0YW5iYWVVT0dXNllndWRpemJkdWVJSHU1N2dBcHN5UXV4T3hPcW1pZkJVQ2tzVmY0bkV5NWt2cHY5XC9xZmJcL1FlSWlLZWZHbnhOcGNmdGFZSUhEUHVFQTRLXC8ra0tmMTN2dDFPWmYxUnNwRmMwcURYRlJLa1RZSHJuYkdKUzBXNlQwc1BOd0hpRzVtRys0MEExRnhaV2hnaW1VRlE3XC9IY2JaZkh1NU1xOXNsVXlzWmFySStGQWVrTkw2TzV4SWhaeEJHYklkVzdpbFNwY1Fvc2FrMmxLQVRtd1NLazRmbmhlZW53RlJDZitsSkVySWRscW1rRkFlK2dvMWZKMHF4SWR3UVpPOHpcL0hkQVwvanRPZWExN2ZhRTEzN1pvVHBydm5Od0tPQzFLUkJ4QlNhYzEyT1ZzOFZWeEtiUHZGUUtUREhQcDdqenNUUWxiOXhGM2NaOUtSV2t6bEp4RlozMXUrYzVuZ2V6eUM1MUpxdXJsSDlWSXdlQ1k3NnZFOVdabUJyajg2eFE2bWxFdEJFTkZvK1lTa0dXN3I4XC9yWmxMcmFNSXQxN2ZkSXFjeVFlQk1cL2FCaVdJSDBtcDlrdHNONUhqMVlyU2Y1MDZTV2pKRG1wXC9CWjNFMVprdVYrR2dkSmZwZUlaQXpqYTQ4VWZ2U3hQd3YwMXRLNGR4SVVPZmkwbDlPQjNhRXdoQVNRbkNaYktKRGM2cmtrdnhnZExwK0FFcDdJbXRsZVNJNklrRkdNRUZCUVRFd00wTkJOVE0zUlVGRlJEZzNRekkwUkVRMU16a3dPVUk0TUVFM09FRTVNak5GTXpneU0wUTJPRVJCUTBNNU5FSTVSa1k0TXpBMVJFTWlmZjhmb3JkZnhKRjN2eGlZQWQwNjFyVUVXVmprR05SME9wUmNWOFFnazVkTU56R2V3T0R3QkdCWHpZaW92NGxlZEdaaTRLQ1lwcjR4NnVqUTNMZ2ZcL3JcL0RUaEhWVlMwanVGTVwvQkRGZ2MzNUdMOHRRODJDQTNKZ3FRWngwZjdUbVpxb2hnUFBncDNrXC8yZzVHXC92dDBUSXlGVU9IdzUxd3pPXC94NjZCd2dtKys1NjVXUzA2UjhsK0dMTHcxR2wwWmtuejB6c2kwR0d2Z2Q2WTRcLzh3bHdaenlYZEdwa2h0VzVHMFV4amoxWnlJVWlZaUQ0QVNcL1NJSEJ4MExzSTR5WGtUMjJhOGR1dGt5Qm5LVUZmdW9UR3ZHQmFjYlBQZkwxZzdCVTJIZTNDcXFhZzBBYjNxZk9GdU9hWjQ0MVowdTlwYzB4MHhkY1wvVDNxOFIwcm1RSFVvbGVISWcrVjVid0VzTmkzS0xnNVpXWFwvYnZVNkY1K1wvXC91ZkI0emZlMmVKVjVRS0pcL3dHRURTdXhnMWNZQlg0UFBMeWNMNGEwdGw0V2RqczAxNUU1YkJuT001SERlRG1kTjRlUjZ0VEdaaitQXC9uVkRRTUJGUDFvVEZqeTVTSEFGNHVyUWg4aHB5UkE5OTJNd1drdWdHYnBRQ1FjK1lpdlM1cHhIMkpUcWE4T3NYRlVuNEZjXC9aZmJGNDB5cGhIeE5mVjk4ME53Q3dqMFpWYWJYK3ZkKzJhT1VIWXFYSXdtaFwvMmYxNlwvXC9yWVk2UkpWZVBiU2V2XC9cL1wvcnNBbUdOVHplM1JzNWpPeGNhbW9SME9FbVJ0eXRlcEJhRWVcL25rTmNDTHNGaEYyVHU3dWhRUFRTb1VmTWVEQXBUNXNlMXpOTURVN3JDcnVNUitNNURPU3BYK1czU2FSQllDeW9laXZOMTNkUjVwayt1aVFnRXhzeUlJNm55a0Zoa0pjTVwvSEtnTWhCdUNWNlV2OEJoZ2h5U0dTXC8zNTV5UXB6Zmd4QmkwZWs0MDNGV1BCQXc4dWxmNEtXcmI1MHdhc2ZpdlRUUFwvS1F5RmtscFExclgrMzVFcTl1T3FPY1RLbTJ4dXZkcU1SY1ZHYklJUDJGKzFtdEJZWDE0dFRrQTQ5UU5XTHQ1eHVIU2R6Q1F5NExDbnpXcnVYclhkSTNaWWRjRjMwWlBjZGJwSzFYRllwYWtZb2ppT2syUXpTVTJSNDVpcWNRbEZ1eG9NSHhzK2lMMW4zdnRPenlUTlUxWFplcGtLazMxSWxKM2FUS0tZaFRmZ2hEV0pIbTdKY2xlbllndk9ibVo1czVJMzZONEZEc29jeEFWNStjMDE0WjQ5dEgwZXRVQUhFcVRIcFVkNVlGYk03UFFuTFFncDQzelRON05VRHdQOWhyWUtndVJYXC9iMldxcnV2aXlPNE5acktXSnF0d215d25xVDlOY2pHUDAraEo5aFZ2ODZ6aFp1R2paTlZ5WkdDajFwMHIrdGJIcXVmTjlSeFNjaGNNXC96VE4wUkRtZmZ3VVwvWjNna1wvcXRqREZldklra2k2VGlZYm9MdWduYzZaRXMzZ3BvK2dDbGdtSFo1ZEx1c2N3TFU2RWpDYWlab2oxMktCaVJ4VE5QekVuT2FScUsrWW5XQ0tUYW1hTW5ENlNPNXQxU0xJaTdOZit1SGtMeWdYclpcL3paV2hcL2FsRjFuaXdtRHA0TnBaQU82ZWZPQzhRXC9peGFoRzZ6emFHcU5JNWVVcEtORDJCK1VrNDVrT2dKQ2ZmZ1BMOFhIUkd6ODh6MWxjK3dyblYzNWJ3MmtJaVk1ZnJmMXZ3U3pqRUZTMU1RRlpWckJEVG1Qa29xMFZTR2RqYTFMbVA4aHRPWWNZQ0FzM2kyWDlHeHdPT3ljQURDWmpiV1Vpa2J3a25XQlNBZjFsRnJoMzl4NW1lNzh6T3owZlNQT1hcL2QzQzNweXNLNXUrekFNaVBjMnZMOW5XRnBHXC8xSzNzMXh3YUlnYVM0aStCV3ZsTzFpOWlORXpxQTFib2NUVTBxXC9LWDN3RTlDMDhqOFNyV3NpNnlqdXpqRnJVNXN5SDNHejhsSGdzdjRRVG5tZjhMNEFRRFI1a09qUldxUWtBckdQUTBFNDVwRGFPNXNLMklTeHdnTklwdUt0SjYrOU1GTTd2WUdySEI5SDNKb21yWjhGRUVqS0tQOGNVSTJ3ZUlCOUxzRXBRSnNrTWRLd01EZElpNGRQZ3p2UmFFMll4d0h4Smd0V0dPZDVZWlRvY0hoYUJZbnIyNWR4OGxLRjkxQzRMb2hPemp6ZDFKQ0RKRHNPbVE3RlJaTnNuejBzODN0VEZmakhjelwvWkJ1YUFQajB0eENMN2JITGZQcm16aWFHdWY5d1E0dnhxVzBpQVI1Q3ZtaWQrQlZGSkl6NjRHd3cwR3FUaG5IU3lXUlhZWmVRMURTRzk4b3JTdGVhOWdZRXpxeThLV3dyaFwvcmhTckRzQzFiTitwWmZaYnNsRVlnQjByaUZNTDIyb3dpR2lqdytuN2RKWkN5cDJhYmlmRW9jUjI2MGZmTXhmS0pRQnZjNWFQcUdwK2tBNG5hK2w4R3hITFwvK1l4bjZTaVNmZ0Q1ZFZRNiszbmxoY0d0QlpCdXQwNEtSejdDU3pRMGtFeUwwVDdNUEciLCJwYXltZW50TWV0aG9kcyI6W3siY29uZmlndXJhdGlvbiI6eyJjYW5JZ25vcmVDb29raWVzIjoidHJ1ZSJ9LCJkZXRhaWxzIjpbeyJpdGVtcyI6W3siaWQiOiIxMTIxIiwibmFtZSI6IlRlc3QgSXNzdWVyIn0seyJpZCI6IjExNTQiLCJuYW1lIjoiVGVzdCBJc3N1ZXIgNSJ9LHsiaWQiOiIxMTUzIiwibmFtZSI6IlRlc3QgSXNzdWVyIDQifSx7ImlkIjoiMTE1MiIsIm5hbWUiOiJUZXN0IElzc3VlciAzIn0seyJpZCI6IjExNTEiLCJuYW1lIjoiVGVzdCBJc3N1ZXIgMiJ9LHsiaWQiOiIxMTYyIiwibmFtZSI6IlRlc3QgSXNzdWVyIENhbmNlbGxlZCJ9LHsiaWQiOiIxMTYxIiwibmFtZSI6IlRlc3QgSXNzdWVyIFBlbmRpbmcifSx7ImlkIjoiMTE2MCIsIm5hbWUiOiJUZXN0IElzc3VlciBSZWZ1c2VkIn0seyJpZCI6IjExNTkiLCJuYW1lIjoiVGVzdCBJc3N1ZXIgMTAifSx7ImlkIjoiMTE1OCIsIm5hbWUiOiJUZXN0IElzc3VlciA5In0seyJpZCI6IjExNTciLCJuYW1lIjoiVGVzdCBJc3N1ZXIgOCJ9LHsiaWQiOiIxMTU2IiwibmFtZSI6IlRlc3QgSXNzdWVyIDcifSx7ImlkIjoiMTE1NSIsIm5hbWUiOiJUZXN0IElzc3VlciA2In1dLCJrZXkiOiJpZGVhbElzc3VlciIsInR5cGUiOiJzZWxlY3QifV0sIm5hbWUiOiJpREVBTCIsInBheW1lbnRNZXRob2REYXRhIjoiQWIwMmI0YzAhQlFBQkFnQVFPWGZ5dUpkY0wwdk4zZ09lUEw0UVdXUURXWmQwTEdQWGkwQzNtVkY2eU5JVnRHeGlVcGR6STFVYWtrUWJZSG44WUw3VHI5VWZTbkdyMTFodkJ6bHRHYm5WUDFWdXN2YXNuOGdcL0VuMmRXV0hkUDhub3hFckFJQ1ByeXBpRzRWWjZycVwvYjdHaVRFdWlXUkxTWFUwRm03VG13Yldmc1U4eGVwVHJkRExvditSN25VT1hxOWNaTVp0c2RFV0R4WlRTNjc2VlJ2UFB6T3ZtcSs5Vk1aUEthcVNPZEZaUWVtWllKaVRVR250VEh0WFQzNzhqVVdTM3B2M1YzQml5VXkxT2xnU05jZkFlalZGZ3BadE1Gd1MxRGY2cndDaSt1WXZtajArQmhJZDN4TFBGWEkxcEcyVG1wYzQ5MVgwQm5wQ1QyNXJFU1BkTFpFR1k2WEFlVWs0RWJmQkRTd2pFZkdrUmQ1Y29hcFVPUEQxTmxFWWxvVytkcnFHSlNrOHh6NmEwSWtxXC9udzdnVldVRHFydVd3NlNQWE1FZlZBakdJdEhPRG5XZFdYcmpMVFF1aHUzQllyTXk0eGNod2sxeUttSkJuS3NkXC9td2czcHg5ekxab2pBZkUyS2lzRzFYMUFteTVqSE1ObkxFRkFreXdUcVVNRmNDOFY1UlNTM1M4dU1nQlNuRjVKQ1ZLVFFiK0tDMEtpbFJ1cTY4VXRsQmsranZ6a1RHY0NRck9scTg3TVFXVmJwXC82TXU3Tmc0VDI5VzREMU9YZzhrOWJwM0JwTnorOGpJNnZpVWx3bDhGUjJQcnVtTFplNFwvRGhmbkgxbUhGZ0kwKzdIQ2dOZllYY1VkdklDRmtiaUVMUWNQMFBQc1ZYcnM0STdhQm8wbWplUlc3Y25jdWo3bzF6dmFSQUN5XC9WQ0VYS0VPWjEwVWFnbmE0WUFBRXA3SW10bGVTSTZJa0ZHTUVGQlFURXdNME5CTlRNM1JVRkZSRGczUXpJMFJFUTFNemt3T1VJNE1FRTNPRUU1TWpORk16Z3lNMFEyT0VSQlEwTTVORUk1UmtZNE16QTFSRU1pZmJqc0UzalREZHRqY2tXQ2Z2d1REdGhhXC85QWRuVHBFNlZcL1RCcUMxOStiQlVpRnNXKzNrUmJYOGpaUmdiSGJiSTdcL1ltQT09IiwidHlwZSI6ImlkZWFsIn0seyJkZXRhaWxzIjpbeyJrZXkiOiJlbmNyeXB0ZWRDYXJkTnVtYmVyIiwidHlwZSI6ImNhcmRUb2tlbiJ9LHsia2V5IjoiZW5jcnlwdGVkU2VjdXJpdHlDb2RlIiwidHlwZSI6ImNhcmRUb2tlbiJ9LHsia2V5IjoiZW5jcnlwdGVkRXhwaXJ5TW9udGgiLCJ0eXBlIjoiY2FyZFRva2VuIn0seyJrZXkiOiJlbmNyeXB0ZWRFeHBpcnlZZWFyIiwidHlwZSI6ImNhcmRUb2tlbiJ9LHsia2V5IjoiaG9sZGVyTmFtZSIsIm9wdGlvbmFsIjp0cnVlLCJ0eXBlIjoidGV4dCJ9LHsia2V5Ijoic3RvcmVEZXRhaWxzIiwib3B0aW9uYWwiOnRydWUsInR5cGUiOiJib29sZWFuIn1dLCJncm91cCI6eyJuYW1lIjoiSGl0ZWxrw6FydHlhIiwicGF5bWVudE1ldGhvZERhdGEiOiJBYjAyYjRjMCFCUUFCQWdCWm9zVDVSMStcL1M0ajRIR0VOV1dBXC9pUGVRZmtqeHVqaHRPTnBQYzQ3aGF1VHpEYWVxV0hKVmhcL2htdTc1NUJwV2pVXC80WE55ZlBYZWRGT0hSTkNWZzJyNldya1lNeFMrK0FHeUdzTXBqdXA0Rk5uYjM1cGtXQ1pFazNtZXVvaWpodlRxYnppeVpFclVDNTI5TDIyQmdtbUg3Z3BheUJUSkVmMkRTWW5Uc1N2NTJBNWllSjdiUHJvY2IyeWxHV3lMMFZoWGR3UVZZZlZkd29ZWGJhVlwvQVp2dTlzNXRmNzlFd2Y0bXQ2Y25BeXRFa0pTWGdaNEdPZUZIdEp5UGRxcjlwZVwvd2pBU3JvZzdYTVMwRXpoWjdyR0k3ZUI1NDV3R0ZpandtblNsc3JGMEpLTThuRWdmVEVuU1c4czlhckVFd0M1Q0g5dThhN2FoZ2ZrY1I1Rzh3a2E3OGJkOG0wck9oNzFnb2JhWHF6c2g2bkRMSnhvVkpJN1FGNXAxQW9vVEpKSmlsOFE4SFpkQmxCRmZ3QlBXSElhV29uODE4SkNnTkxuaHljSXBMNHBKNXYzNEsrbGg0TlE5STRiZTE3VjN0RkdBWHZYRmlHZUJNUDQyZU1UWGhHd3R6T2d5d3JjS2NMZGNyemxseGxIYUs0UEVvTWtoZUpGNWhzbU1RNTh4VzBuWit6RXdPa09IaDZzMENGSFIrRlR0SEp2a0hxV05BVzVMUTBsQ0VtMTdxd0crN1Y0S1oweDdmSVlOMjJ3QW1zRzNRc0pPMVFpM3FvQkJabmNDNnBwTGp1SW1BZ2hjT0hCd3V1Qk51RFpoVkVRcTJNV0NLdFFINGFtQ3ZnaGhCa01La1IreThvZEVHNjE4Tk9FZnlGbDloZVIxM1ppMnBDK0FcL08rY0N6Zit4QTZ4QndBditMckVwQ1NUamRlZm5BTEFFcDdJbXRsZVNJNklrRkdNRUZCUVRFd00wTkJOVE0zUlVGRlJEZzNRekkwUkVRMU16a3dPVUk0TUVFM09FRTVNak5GTXpneU0wUTJPRVJCUTBNNU5FSTVSa1k0TXpBMVJFTWlmWG5nVjlFMUl3RFREMEZvOVwvYnVwR3VzbzZERnlabGowbUk5ajBQTHQ2SGFmQnh0bk1sK29IVkJidWtaZmoxcmo3QjZzZU09IiwidHlwZSI6ImNhcmQifSwibmFtZSI6Ik1hc3RlckNhcmQiLCJwYXltZW50TWV0aG9kRGF0YSI6IkFiMDJiNGMwIUJRQUJBZ0NDb2dudm5LM3lkWVBGb0ZLR0tKRUpsZUlrWWJLQU4zVlZnNVdYUE5FMXVkMDVLUnFnc05WZHZ3dXU5TkV3cGtiNFV1dEw5S0JVV0EzZmVvVEJCQVdWSnQxcXBnWlhGK0paT3pmSjZCU2MxYTB6b3dDTVF6Nnd0Q0lcL3RXQnhLeGFLRmFsakF2MzBqZ2EzK0pDUWtwVVwvNGdxMnVic05XY09XSldERkV2SDE1V040Z3VuZ1plYlF6UzIyMGtPZnd5ZDZJUzhUbndFV2Q1cWc0MHJ0MHhEOHhCYVBvTllkNUN4XC9DOTJpKzZQdEp6SVgyU1lCakdqRzdkWm1Lbm85UlRYYXdoa2pKbXNzRXZGR2d3OVM5VStcL01Zd0tCZWxcL2RhS0JUSTFjK0pJYzR6cWQ1MjNpZXYwWUNydU5MSHY3cE80TVR5MFZYUndpekNCVVJKWjhac2tDVWJETThGRlB3eGNlbDdDbkY2dHM0UjBibG1LS1pDSnI0VmFYM3VJbmZFVHk2eFwvcVVVTGFTYXRtRnVzRHRlUHlRRHpaQVwvOGMxalgzVXE4OTZtbkdpMm5zSzBERGVGekdtUEExcktFZzc3WUdQdHUyTVJMKzdcLzlkNVdPb3FCelRlOGg3U3AwdUFQOG13eDF5U1hxOWhkZjh0a1hybkIreURQK0RjQkEwK3NCTmR4NlBvY0JDYVBmSzRyd1haYW5Sd0Zpc1pUMnZyVjErZTRpS2RCQU9FeExtN1wvbVRsbWhEOE9wWHVnSmtadUVZOUs2MzRhRGNhTllCOGFLMWZsRDVKN3krZWlmUTB0dWMxOGJyQURsSlhJcXBWeDN1UFF5QTZCUDFkTldcL25JRlpCVm5heXoxbFpYRXJMRUR6ODk5ekIrK2tSRlVLYXFXQWRHUlVWVTNEZ1JBcHBPWDBFSzZPaWFzTGtBMllkc2RrQUVwN0ltdGxlU0k2SWtGR01FRkJRVEV3TTBOQk5UTTNSVUZGUkRnM1F6STBSRVExTXprd09VSTRNRUUzT0VFNU1qTkZNemd5TTBRMk9FUkJRME01TkVJNVJrWTRNekExUkVNaWZacndRSHpYT1hWdnhHbnFkNUNmNzVnampvTWtXempnQlNEVlV1N2lYMTJtdjVWTjFOTnVwVmxkNFQ1UjQwQWlCUT09IiwidHlwZSI6Im1jIn0seyJuYW1lIjoiUGF5UGFsIiwicGF5bWVudE1ldGhvZERhdGEiOiJBYjAyYjRjMCFCUUFCQWdDTm9rWktsRzFNVDNERHNVa21DMHd1SDg3QTNjQ2wyT1pHUTh1dTlPYzJuYTRzZzFsWU8xOUpMV3FvODNmTnJxMkwrOWNhR1wvNnQ4MDJTVlF0RDJ5d1hVZUVVXC9KaWZ4WEhiZ0Q0emdDNkkyWHJKQjJCckFWbGZFdStOaTJNa210eTZSODlvd1BvRDRCSDJCQmduYjZwS1liZ0hKUFA5cUpqNFREXC9vTnN0MnNNa1NYUE5KdjV2NzVaaGhKcGtZTTJNT08rZVNnTTkwMXNzTFdUOWxqN3BwYmlhdnFvTzhscEdETkhEXC9Jc0pFcUd2V2hwSVhyT0ZMTUF4NkZzUzF4blRsam91UXYxa1dZR1wvcDVlc3ZwR2VuaFdRa3JlVWwzdVlmdjE3MkIrM3BScEN0SENMOHFNZmxCK3BkWUtMNWM5U24zb1RmQ2QzWXRtSU5PdEVNVmNIOHpldzVWWTZqcjA0eXZjMXg4c1VZY2Rob3ZZZm04QzNrR3VERytURWZ1ZXQ3UUZlUmNCeFwvenp2XC9HSXhzeHFhSldBMm1KRVFOcWpNYllydjFQelFMQTQ0R2NkZ0ZJNnhwVFwvQXdOb2o1TUFMTTZHWUtzXC8yXC8wVDFsWVJoXC9cL28zaExNeDlSXC9YNVF1aXVmUWE1em4ydVpDeWlOWEVEYUoxYkxOUTBnR1EzWCtka0NsRWZpZEQxb3hmYXU4dWFuZlFcL0xaTnNGV3ZXUzlxYUV5TFNSQllFZlFERFBNWXVqRnkrQzgwUEQ1MXJET0cwbnNwcEtMSjg5a1BSOE0yRjNPR0U0UEcyRU5QT0J0Qkh1WXRuU1lUVUZGdzNqU0wzb1orTythM1JCRGxVUnA4UWR0Z1pQWVpIRzZXQkliMEFpTjBXSzFYYytpM3NaUThzK25KcnNoQkJSUkJka091M3JRdmN1VFgwd3prVnJjT3FBRXA3SW10bGVTSTZJa0ZHTUVGQlFURXdNME5CTlRNM1JVRkZSRGczUXpJMFJFUTFNemt3T1VJNE1FRTNPRUU1TWpORk16Z3lNMFEyT0VSQlEwTTVORUk1UmtZNE16QTFSRU1pZlVuRjJ1cDduMTdGTWVZQ2dzV2g1eTcrSGFVTXNsQmJcL05RdzdjdVRGV2VLb012N0NMVFU0SE54dDFiZGtZSEMwMERTRHhBPSIsInR5cGUiOiJwYXlwYWwifSx7ImRldGFpbHMiOlt7ImtleSI6ImVuY3J5cHRlZENhcmROdW1iZXIiLCJ0eXBlIjoiY2FyZFRva2VuIn0seyJrZXkiOiJlbmNyeXB0ZWRTZWN1cml0eUNvZGUiLCJ0eXBlIjoiY2FyZFRva2VuIn0seyJrZXkiOiJlbmNyeXB0ZWRFeHBpcnlNb250aCIsInR5cGUiOiJjYXJkVG9rZW4ifSx7ImtleSI6ImVuY3J5cHRlZEV4cGlyeVllYXIiLCJ0eXBlIjoiY2FyZFRva2VuIn0seyJrZXkiOiJob2xkZXJOYW1lIiwib3B0aW9uYWwiOnRydWUsInR5cGUiOiJ0ZXh0In0seyJrZXkiOiJzdG9yZURldGFpbHMiLCJvcHRpb25hbCI6dHJ1ZSwidHlwZSI6ImJvb2xlYW4ifV0sImdyb3VwIjp7Im5hbWUiOiJIaXRlbGvDoXJ0eWEiLCJwYXltZW50TWV0aG9kRGF0YSI6IkFiMDJiNGMwIUJRQUJBZ0Jab3NUNVIxK1wvUzRqNEhHRU5XV0FcL2lQZVFma2p4dWpodE9OcFBjNDdoYXVUekRhZXFXSEpWaFwvaG11NzU1QnBXalVcLzRYTnlmUFhlZEZPSFJOQ1ZnMnI2V3JrWU14UysrQUd5R3NNcGp1cDRGTm5iMzVwa1dDWkVrM21ldW9pamh2VHFieml5WkVyVUM1MjlMMjJCZ21tSDdncGF5QlRKRWYyRFNZblRzU3Y1MkE1aWVKN2JQcm9jYjJ5bEdXeUwwVmhYZHdRVllmVmR3b1lYYmFWXC9BWnZ1OXM1dGY3OUV3ZjRtdDZjbkF5dEVrSlNYZ1o0R09lRkh0SnlQZHFyOXBlXC93akFTcm9nN1hNUzBFemhaN3JHSTdlQjU0NXdHRmlqd21uU2xzckYwSktNOG5FZ2ZURW5TVzhzOWFyRUV3QzVDSDl1OGE3YWhnZmtjUjVHOHdrYTc4YmQ4bTByT2g3MWdvYmFYcXpzaDZuRExKeG9WSkk3UUY1cDFBb29USkpKaWw4UThIWmRCbEJGZndCUFdISWFXb244MThKQ2dOTG5oeWNJcEw0cEo1djM0SytsaDROUTlJNGJlMTdWM3RGR0FYdlhGaUdlQk1QNDJlTVRYaEd3dHpPZ3l3cmNLY0xkY3J6bGx4bEhhSzRQRW9Na2hlSkY1aHNtTVE1OHhXMG5aK3pFd09rT0hoNnMwQ0ZIUitGVHRISnZrSHFXTkFXNUxRMGxDRW0xN3F3Rys3VjRLWjB4N2ZJWU4yMndBbXNHM1FzSk8xUWkzcW9CQlpuY0M2cHBManVJbUFnaGNPSEJ3dXVCTnVEWmhWRVFxMk1XQ0t0UUg0YW1DdmdoaEJrTUtrUit5OG9kRUc2MThOT0VmeUZsOWhlUjEzWmkycEMrQVwvTytjQ3pmK3hBNnhCd0F2K0xyRXBDU1RqZGVmbkFMQUVwN0ltdGxlU0k2SWtGR01FRkJRVEV3TTBOQk5UTTNSVUZGUkRnM1F6STBSRVExTXprd09VSTRNRUUzT0VFNU1qTkZNemd5TTBRMk9FUkJRME01TkVJNVJrWTRNekExUkVNaWZYbmdWOUUxSXdEVEQwRm85XC9idXBHdXNvNkRGeVpsajBtSTlqMFBMdDZIYWZCeHRuTWwrb0hWQmJ1a1pmajFyajdCNnNlTT0iLCJ0eXBlIjoiY2FyZCJ9LCJuYW1lIjoiVklTQSIsInBheW1lbnRNZXRob2REYXRhIjoiQWIwMmI0YzAhQlFBQkFnQlN1b3oyOU5uUWFmSW9ObmVSS3k3emJiN0lxWkxYNlpWOHZGWjNOOFprcmtjd2ZNcktzZkhlc0c0UWVoOFI4N2phV2JvSVR2YjdtdXJhVGJaU1RGYlVMQm55SWxLUzhqN2c3V25LdXhvVEY1NDFhaUVqUkdjRjhHKzVta3RQc00wOXdGY2dFS01KdUk4Q2J6dHJqR01pcnNhOExJTkFxcU1sSndzdndKcU1EbUJqajZTK2xFbXE2ZHhHTklqQlpzQmVTcXNpaE9mWjFVQjRKelwvTmU2Z1d3dmhsNWdFYWVnZTZtZER4c1wveVwvZ1wvOTNNbDdYeHdrR2VlZGJoNDNMY0xQZzZsTFBNMVFWNU5RN1F0MXZXQUE5bXcybTlldjk1eGl0a1pSTm9NWGdRdWtcL005a0R3b2ZXVmttZnhVUDhXOG9sS2pqSzBwNHJRQUVwVCtPUlQ2UlBrcE5CcHpWenZFZ3dGVXBacjRYUCtMQ2FzamYxNzdzTEwzTW9aVUo0Zlo4UWZYYVBMYUlxXC9uWTJGRkVTSXRPVTFab3RORlwvRUFzSHRcL09IZDBacTlSU1RMZVNPZkdNRGdvXC9pdGtTOWRXclFPb0VkWVRcLzdwbFZ4bktvNDZlQUJDNGN2VG40RzFzNkNkVEpZZ05Ya0FcL0ljTWMzbWFGdnl5ZnpOY0RHaWhGMVZ3cE1wV0VEZytJNWlzNkZaQlU2SUtKSFhWRUVSbXVMU3ppNU9JbUNuNENXWEtYWHJNNCszVTgrT3RVUXhOK3BLQlh2eGFQMWVoOFZpZ3RXbXJuOTRNdHZTV2xySk9PRm4xNzhjVlwvSHFaTmtcL0NPZjRocUM4cWlsZnBTenZrTXRlZzU5TjBzTFExaE5WMkZsTFpRancrUFR6dVwvZjhvblY4TThFdXU1RFJrZXhDc0w2eVhTRlJxdXJyVGRhYmI2ajhOQUVwN0ltdGxlU0k2SWtGR01FRkJRVEV3TTBOQk5UTTNSVUZGUkRnM1F6STBSRVExTXprd09VSTRNRUUzT0VFNU1qTkZNemd5TTBRMk9FUkJRME01TkVJNVJrWTRNekExUkVNaWZRUkMrTFJ0SUVIbnQxVDlBeXE5c0E0a1dINnlGXC96MnZkRWw2Zk1SXC91RTJcLzZTUlhKdmQ1RHFwUGZob0xOQlBlWWpKIiwidHlwZSI6InZpc2EifSx7ImRldGFpbHMiOlt7ImtleSI6ImVuY3J5cHRlZENhcmROdW1iZXIiLCJ0eXBlIjoiY2FyZFRva2VuIn0seyJrZXkiOiJlbmNyeXB0ZWRTZWN1cml0eUNvZGUiLCJ0eXBlIjoiY2FyZFRva2VuIn0seyJrZXkiOiJlbmNyeXB0ZWRFeHBpcnlNb250aCIsInR5cGUiOiJjYXJkVG9rZW4ifSx7ImtleSI6ImVuY3J5cHRlZEV4cGlyeVllYXIiLCJ0eXBlIjoiY2FyZFRva2VuIn0seyJrZXkiOiJob2xkZXJOYW1lIiwib3B0aW9uYWwiOnRydWUsInR5cGUiOiJ0ZXh0In0seyJrZXkiOiJzdG9yZURldGFpbHMiLCJvcHRpb25hbCI6dHJ1ZSwidHlwZSI6ImJvb2xlYW4ifV0sImdyb3VwIjp7Im5hbWUiOiJIaXRlbGvDoXJ0eWEiLCJwYXltZW50TWV0aG9kRGF0YSI6IkFiMDJiNGMwIUJRQUJBZ0Jab3NUNVIxK1wvUzRqNEhHRU5XV0FcL2lQZVFma2p4dWpodE9OcFBjNDdoYXVUekRhZXFXSEpWaFwvaG11NzU1QnBXalVcLzRYTnlmUFhlZEZPSFJOQ1ZnMnI2V3JrWU14UysrQUd5R3NNcGp1cDRGTm5iMzVwa1dDWkVrM21ldW9pamh2VHFieml5WkVyVUM1MjlMMjJCZ21tSDdncGF5QlRKRWYyRFNZblRzU3Y1MkE1aWVKN2JQcm9jYjJ5bEdXeUwwVmhYZHdRVllmVmR3b1lYYmFWXC9BWnZ1OXM1dGY3OUV3ZjRtdDZjbkF5dEVrSlNYZ1o0R09lRkh0SnlQZHFyOXBlXC93akFTcm9nN1hNUzBFemhaN3JHSTdlQjU0NXdHRmlqd21uU2xzckYwSktNOG5FZ2ZURW5TVzhzOWFyRUV3QzVDSDl1OGE3YWhnZmtjUjVHOHdrYTc4YmQ4bTByT2g3MWdvYmFYcXpzaDZuRExKeG9WSkk3UUY1cDFBb29USkpKaWw4UThIWmRCbEJGZndCUFdISWFXb244MThKQ2dOTG5oeWNJcEw0cEo1djM0SytsaDROUTlJNGJlMTdWM3RGR0FYdlhGaUdlQk1QNDJlTVRYaEd3dHpPZ3l3cmNLY0xkY3J6bGx4bEhhSzRQRW9Na2hlSkY1aHNtTVE1OHhXMG5aK3pFd09rT0hoNnMwQ0ZIUitGVHRISnZrSHFXTkFXNUxRMGxDRW0xN3F3Rys3VjRLWjB4N2ZJWU4yMndBbXNHM1FzSk8xUWkzcW9CQlpuY0M2cHBManVJbUFnaGNPSEJ3dXVCTnVEWmhWRVFxMk1XQ0t0UUg0YW1DdmdoaEJrTUtrUit5OG9kRUc2MThOT0VmeUZsOWhlUjEzWmkycEMrQVwvTytjQ3pmK3hBNnhCd0F2K0xyRXBDU1RqZGVmbkFMQUVwN0ltdGxlU0k2SWtGR01FRkJRVEV3TTBOQk5UTTNSVUZGUkRnM1F6STBSRVExTXprd09VSTRNRUUzT0VFNU1qTkZNemd5TTBRMk9FUkJRME01TkVJNVJrWTRNekExUkVNaWZYbmdWOUUxSXdEVEQwRm85XC9idXBHdXNvNkRGeVpsajBtSTlqMFBMdDZIYWZCeHRuTWwrb0hWQmJ1a1pmajFyajdCNnNlTT0iLCJ0eXBlIjoiY2FyZCJ9LCJuYW1lIjoiQW1lcmljYW4gRXhwcmVzcyIsInBheW1lbnRNZXRob2REYXRhIjoiQWIwMmI0YzAhQlFBQkFnQkVHdnJ1Q2pDSTB2N243YWlIWW5SS3dFeHR5TUdcL051MGdXMVM5eXFjaGFXR0Zib25jK2g0c1pmOWRLNjBKNmlTaWJLV2hqdVlvbGtVVnhcLytHd1NiXC92ZFpOMjBtSlRsclhFRVBBeVFJNHFNSWI1UVZLYVwvV1RWYlpkZU9wOWtEaENibjhmQkJONThZXC9VazBUZEhPSDR3Znoxck9ZYWZlcnI3aXVjUEpYWkI4YnlhZ3ZiVUZ2endwUzhHem9ES3JwNlhOZ2JLa2QweTVvRWVFMTdDbDBkM2ZHZ2JDSmtcL0I1RFwva1RZRXVBenFHWlVBMGVLUU9rWmZjbmMxSjA4YUROTEs1R1BOcE5qWmR5Mm9lWUFtc0xaWTNadWJlMW9ycmsxR3NWSVQ0SjBCV0EyZndcL1RmR1B6eE1zSlpjN1NmbUVyWlN5SkVXcERacmFSWUZJWE1aK0lUNWdGWXpPUlJra01GeXFodm9VQ0dUeUsyalJaemswMFhDak1aUmtlXC9mQ2U1SFgwZ3hEejh6QkRXcENSNmVrdmZrNkdLa0t0YUtBdTV0Y1FqRklDYXJSY1gzd0lQTlloeHJ0RVNpV3R6VHVnam5IMVpNN0ZxYWNkcko5MmNyc2IydThmNXV4UE9TRk5qSndwcmtYWElkaVNZeENpSnN6XC92TXkrdXN2ZncrdkdDVXR3RGFCWHp2V0FmM3lZdnI2Wkk4cjNSeE1SQkZ2RnBuUkhwTURodVZHa1YrM1MxSFVXVjh4RXhxN011WTRqRVBsV1Rzdk1cL2VaeVhtTGc4TzNNS3ZZaW9hcXZVRGE5a2VjQjVhQkF3Nnk4K2xTV2dHVjFjSHlQbDJSaXFVTlhkcno2K2ZKXC9LbVE1eDU3Q0ZndzR0aVBvaXZVSjB1VFM2OUY3VFpRam9oQTFRemNYdXRBV3RYekJnbFU5OTYzNUFFcDdJbXRsZVNJNklrRkdNRUZCUVRFd00wTkJOVE0zUlVGRlJEZzNRekkwUkVRMU16a3dPVUk0TUVFM09FRTVNak5GTXpneU0wUTJPRVJCUTBNNU5FSTVSa1k0TXpBMVJFTWlmWmZEb0x1XC96SVNLRnNUb2gxYmcwRjhhUmxSRkdESHdxY1V4N2V1bTN5Q0xRRDIxY3FmS21yVEx5YWNybG81YU00a3QiLCJ0eXBlIjoiYW1leCJ9LHsibmFtZSI6IlNFUEEgRGlyZWN0IERlYml0IiwicGF5bWVudE1ldGhvZERhdGEiOiJBYjAyYjRjMCFCUUFCQWdDYndDVCtKTzhVRW94b0JQckkrcXlVUzR2UjVUVDY0NnYxTWlOXC9nVU00TVZtN2pla2s3V2QwSG1yamsxXC9ORWc3TlRBY3BzZlpEQk9jTWxRZXVUZURzRWFDNGtCZjN0cXN0dGZ3K3FZNlRiYUZMQ3RnTklyNXdKM2RtMlR3VmhGQ1lWTUFyd0o1em9CSXNvT05VV3BTS1IxMURZNnpFNXZ1RGd0aWZOQTBZaU42aDZyenE4TzlHdUNyQ3FVSmJ1MjNQTWVqREhBMHJIRE9LeXh5T21CWEhSdlVIaE5SMVwvS3d0cnZ4K2ZZQU5uQUhna3puVEg0bGRTWGN1YU1WdFpGcWNwSFpUaVlwTHYyeWRpVDE0UHppcGlPRHBSR2lYeTBuTzdiNU44UnMyN25ZeGxnSFwvdERjSTRlRjRqbDk4MVRQS2xGK3U2WEVPR200RWJ5eWFcL0JmVERwOTNyS1JNeG82S1wvTHJmSTlKNFdhQTJ0RVpvNmVHTmJSdUtQcEJsVjNBU3U3d3BDZlNTdzJOam91VlRDa2ZZdDgrWGVlSmVJSVlaMHA4QVdqbjRMVHdhcm1TVlo3Y1l3OWI5ZUNVNFhYXC9ScmNOZ29MRlBYRXI4dzBNY1VGMm4wR1ZXRE03UTViOVV0b1ozNnlrMTg1TFhtb011eVwvXC92YUJJdkU4bTdRbGdvXC9ZUk92OVVlbTZtdUx1NGhaelcrVitXRUtBbXdHTDBlSlpDZGpBZUdXejZjMG50eThQTk1VdjNwZjd0VGVZTjFnc3ZRZnFsaWozSUxzUkxjdzRrTll2RWxuR2xDdjhkZ3UzY3hsejZEc25NdXlcL0VxS1FNWkFJb1VDZDZlRjE5STNOZnZBbzJqNU1mcnBTS1MzUUdMVFA2VFhLcWdUTmI2ZDhzVkQ4Z1JLaENESzRBdlwvTjBwMkNIR05cL1lHNXhhQkFFcDdJbXRsZVNJNklrRkdNRUZCUVRFd00wTkJOVE0zUlVGRlJEZzNRekkwUkVRMU16a3dPVUk0TUVFM09FRTVNak5GTXpneU0wUTJPRVJCUTBNNU5FSTVSa1k0TXpBMVJFTWlmV1FMXC8wcnVBQlVyemxQdHg1bGxDNU1KcFwvXC9pQ2hEUFo4cjdsa0lmNFFielBQKzhFVGR4YnpOWlU0dndLVG1VamZmcExkUUEyYXN3S0V0T3pZTT0iLCJ0eXBlIjoic2VwYWRpcmVjdGRlYml0In0seyJuYW1lIjoiUGF5c2FmZWNhcmQiLCJwYXltZW50TWV0aG9kRGF0YSI6IkFiMDJiNGMwIUJRQUJBZ0FJaFUzeEtCRjhRYm1BdmpcLzZPTnFJdnZDYk1yOThlcHk2XC9LSVY5dSt5SnoycFNqNFBvTURMYkp4VjVQWjFZa3hhYTlXald2VG5sWjlOZ2VCK2VvTzI2TWJtSW9Bc013OGtuamF5K0ZFMFB5ZzVHajBKWG85SWJlK0Q1MTNzZjRxS0Ird1FQWGZVRXFrbmlpdFRpOG8ranloYkIxMjNyQ0FKV3ZiWmZQT0VLRTFSRStGSFNFWnlWdkptSFFQbDV5OHZXc0NLQkhqeURLNW9MSmp0eERmYmRvUFJyTWMyb2dOc0dsZklcL3FwSUZXOEhYTlJLWHB6Q2orWUY0dmlmOFpuNlo4RWI1MnJmTlpJMTJ4Vkc2aFpubW94OEJtTWdtU25Ha0N3blkzTzNDRnBEVFpsQ2JKb1wvWFdTR2dFZTN4ZUhrN1BpWlNBalBPVkhwRERBTFJCXC93WlZmN1h6R1lxS2tpd3RqbnpxRjhrR1l5N1hVZHVMZVZGMno0Q1wvUXpnRjFEenF6SUE3TGYzViswVUJXaHBEcUhKQ3J3a0FXeVRDYU9YcnF3N1Q2NnBUN010WnI1VjNsR0JVcUhrOFRcL2hOd2N1emc5d3J4NWVIc2VcL3dkQzErMmVWYXkzaTBZV3lpa25cL3JZdDd6MWl5VFRJeXo5Nkl4eG95TUlxMHp5VUxrbml5bGNDc3BkMjBcL1hnTmhiclJtZEF0N3FQbUQ5ckgrQ3A3YWJJWGJiaUFNNExXZm45eU9Xc09zQUxTRHIyVEdaRGpzbU1JU0NYekxIVStTRE9ycDJTaUpSSjNOSE5zVHJkRWJYOEk2dzd6VGF2aVRzTk1FQWQwdDlnYnliM2tXMUYycnF6SlRcL1VQZVFiNU1KUVwvd3FHR1liSU9lXC9YR0U5Qkt4UW9sdUtMRmhCdjRoYVRLZXE5UnIzVnN1QnRkVXhvQUVwN0ltdGxlU0k2SWtGR01FRkJRVEV3TTBOQk5UTTNSVUZGUkRnM1F6STBSRVExTXprd09VSTRNRUUzT0VFNU1qTkZNemd5TTBRMk9FUkJRME01TkVJNVJrWTRNekExUkVNaWZldzYzSG9wKys0TitBaFRra2RzU0tHOTgwaXpJV09JQndScmZDSVI2WWxvRW5KWVwvODBoaW50VmtqWmNJekRvUVlGbmZcL3pFeGppd0lRPT0iLCJ0eXBlIjoicGF5c2FmZWNhcmQifSx7Im5hbWUiOiJCaWplbmtvcmYgQ2FkZWF1Y2FyZCIsInBheW1lbnRNZXRob2REYXRhIjoiQWIwMmI0YzAhQlFBQkFnQ3BRUHo1WnIzREVUVGZTbXhaZU8xc2tlaXZNbklUamdNWE9BbXBjNk9IZFB0MDRRczBQamtXRlwvNytuZkZYRXlTNmRoWXc2YU9HSUZUY3I3UjJ4YXZcLzg4bFdEQ1VoUDFHN1R0VWw4N25wdUdFc21sYXFTMEthc2w2QkQrczVIUTFybHBsZmZmdXBEQmxGajNyZVBvekY0NDlnV29HWCtiTnExVmdlaDdTdEk3WEIxN0tcL0ZEcUVZUWkrTjBOVUV0SnBDRG90dFBvdXZvMEtnS3VFRDlyMFJRakFiOGszbk5FdUFGeGtMVENFZmdyUll2N0hQRGlsNGR4MnlxT2hzYnY2RFhmcTBrK0p4SUZJUjZIc2NSWG1nZ1d4MXl6b3U0TzRPQjVVZXBZQlNseG9KTUtxRVFYRlF4VVJrRjlSSThnT3lHKysyS1lMSEhvbFprcVJJbW54ZVNaODh5WjN6UDFlTGJhdzk2VG1zWGNTazJTamc1cVdFcjhScEp1TDlVYVhFcGFPTGFxbTZFMFFNWGtidzdBMjk0NVlNWVRjNTF0SUI4aGpZNEdPVnNvVnFrS3oyYzRNZDZ5emlLbHY0WGNmSTVjTWljMXJJOXEzeCtOVFNucE5BRUJZOVhzZkUzS1YrNWRjd0lVdklCdzRCR2tIOFdnOStOXC9XWkZlUkxES2dtRndaOGtrVFlNS2FheDAzb0hMUjVcL055Q0JYNkdpeVN3TE9xbTZRbEh0VElWYWpza2NXNXFRTzlnYnpcL0pXeEJCQnR5QWRlVGhFMVF2XC8wOWZaVUxOWVBaNUNnVG90MHEzMkl0Mkphc2hcL2pRR2YwbEtMRGpxV3U2WGNcL3JQZUZEazZNNWI2azhOWnFTaitmZWdISzYrTm15Rk16YUJMV0s4dXllU3pVQ2J4REh0STAyT0dQVE9JNDBpU1ZUblFmakFFcDdJbXRsZVNJNklrRkdNRUZCUVRFd00wTkJOVE0zUlVGRlJEZzNRekkwUkVRMU16a3dPVUk0TUVFM09FRTVNak5GTXpneU0wUTJPRVJCUTBNNU5FSTVSa1k0TXpBMVJFTWlmWUV2bmkrd2liQzlzbzZkZVNXMGcyQ2FGNDJjZ3RUWVZjMHdvTVVEQ3QwZ1N2S0hmUGt4RUV4VDRydjJQajZ0Qnk1blRPcnZtb0k3M1J0UiIsInR5cGUiOiJiaWpjYWRlYXVjYXJkIn0seyJuYW1lIjoiRm9ucSBHaWZ0Y2FyZCIsInBheW1lbnRNZXRob2REYXRhIjoiQWIwMmI0YzAhQlFBQkFnQVwvVm1aa1drdEJGNXdlb0haYXdsQW1oejlyaXZCUGgzZUYyNGN0N0pEWGIwdXZieFpDSjZjd2VJMGZUVStpNGl5RXhDdGhGbTdJNnd4Z1JMckV6bkg2MDMza2o5SitycjdkMzJCeXdQT3hOcStkdDN5RzNsWk5cL0xmTzExa1wvSGVNb2JYdnhVM1wvYWw0bnN6R1RYeVZNaUxUZ2Y4NHZ6eUNZWldpZlB4NnBha1dqTWVISTBxVFlGMmNiVXpzR3Nvb2IrQVVJaDhIQlEzY0hzOWVSVlRVSTFQOVFBRXJ6allDTnpGbGpqYXlGZ0c2aVd1enExMTNUcHVMdVNvQTNZSG4wOW1vWlwvQUd1NEhJVW5USzRDZnA5ZnU1XC9GTXpGSHpSeHpmMGp4Y3k4eHJXM0NseUhQdHRzSHh5dEFDQ3ZDdDM5eHlyeWlOY0hubW5aR3p2Y09iK1I4RExUR1wvalhMZTZLalFIZldsMVdqckNPSHI3NFBEQmdsWWYxd3ZpY1lqODhpcVFMSTZURXpKb3BjdER4bVdJNEZFeWZRdzdERVpYXC9Mb29xVlV3WWJsUnVWK2sxcWcyUlZKOHk5TmFKbjRtNFIzVGlcLzV5YzlXcTFPcnZwWVViRk1CNTZEdUNCbTYza25WM3NFRUZKUlNVdFZ0aTZ1RExQNU5BN2NZTTBOUldManl4WUJNaUlcL3JcL3pXT0VnK21ManNwdU84MGdRZWc2YUM3UHpmVlk1YmoyWUdKVlk2VG1TbVZkTlpBaXBhOXh6SEg0UnBCNVIxUGYzY0JUNit4Y2hUNmkzWkZWQzhWWTkraUN4eGRwRzRUWWVxY0xXNnBWZTloSEFlNnZxOTdHOCtGNkdnaHF4YjdaXC9EbHhJUFJ1dStENGxXYTJtc2hwR05VVGRiRjR4dXpoRHhpM1wvempGQW9SOGpQcHltYkpRWm9BRXA3SW10bGVTSTZJa0ZHTUVGQlFURXdNME5CTlRNM1JVRkZSRGczUXpJMFJFUTFNemt3T1VJNE1FRTNPRUU1TWpORk16Z3lNMFEyT0VSQlEwTTVORUk1UmtZNE16QTFSRU1pZlZVN0trSTUzMUc0bEtmTFdSWFdFcnk3cE56d0NNZnpBTkdTM1BHWmVZQSsybjMxREVod2F2WHNpUEJ2djNTeDMxVjRYQ1FpRUVVTkUwaz0iLCJ0eXBlIjoiZm9ucWdpZnRjYXJkIn0seyJuYW1lIjoiQmFuayBUcmFuc2ZlciAoTkwpIiwicGF5bWVudE1ldGhvZERhdGEiOiJBYjAyYjRjMCFCUUFCQWdCNTFEdXVqQTd2VWQ1SEVLRmJIcWZxYk92WG1tdGpQNENkVWkwSnJ1VFZZZGNNU3VLQUFUTGR6eUIzYXlONlY1S3J2VUtpdEpWM29ndmhOUHRKN2dHQktCM2lkSEJVYjZ2Mml5K1lFdnVUYlwvXC9iSjA0WDNPeHhJXC85ZjcwcXZWS3RiU2pwWGhnbUpyTzFFMGV2SnJJaG1sMTJzQ1ZUYUFMXC9wYXlraHpXRnZIek1tVVpWNjJLV09heVd5aU1FemNubmRiR1wvQ2tKNE9NZTIyaXBmc3VOcjhUVEVRd3ptQU1pU3Q3N2xEZGVOK3kwSml5UXlMSGZSK2dWNTdGQzVQRFlnUDN5bHBzbzRXMVZYQ2NHeDZqUkZUd0hoYitneUpmN0hxcldFcllsODNHaWV0d3VrTTZUQjI2MWNhZFQ5TkhiU2ZoNEZDVER2TDZ0d29SemhlZkdiUkR1TzV4dnM1NjlLXC9lOVZDU0VuZW4xRmE3dlpQMDRhemFaN21oZllVY0w2MENGb1dnTmtKdDdOckZsbVNPNzFCenB5dld3RUpZRm5oazh2TG1qRGQ4VXFpdEx5VjJocnVzbnlLM0VTSGlFXC9rMGQ1Q2JpbDNDQjNRRXlodzR6QzZXTXpYSXV0VE12TGFKeW4xM25SNFNHV2hPYldvbVhrU3ZYOU5LdjhOclp3eTJCWGhlUkF5T0hTdEQzUUxCT1JyQWlxOXBFV1BaRjl3ditlQkpGTm1ESENYd0s4OG5sS2JGS1Y0V3pUTzR2R1BiTlZHckh5TTlEVklSSHQyNW5lVlpCWWNER0l5VnJVSTl0eEJtM3JMNlFVcW50NGx5KzVnREZOTGpocEZzMjZta2NleDArKzdWZ3B1emNTOVdVT3VpT0lZNXVCcGxZUzFhUGVzeXhXNnVoQXlwUnZlczB0R295b1VlbGhMMFpYYkFFcDdJbXRsZVNJNklrRkdNRUZCUVRFd00wTkJOVE0zUlVGRlJEZzNRekkwUkVRMU16a3dPVUk0TUVFM09FRTVNak5GTXpneU0wUTJPRVJCUTBNNU5FSTVSa1k0TXpBMVJFTWlmYU9tS1RsSU1WNEQ5VEh6TkdHMW9Nc0piNlZSWnBJaUJpU0VXb3ZITGdJQmExd0hJM0gyOGplbnF6eXE1YSs3cks1WHBNaExwcTFpMExMdSIsInR5cGUiOiJiYW5rVHJhbnNmZXJfTkwifSx7Im5hbWUiOiJQYXRoZSBHaWZ0Y2FyZCIsInBheW1lbnRNZXRob2REYXRhIjoiQWIwMmI0YzAhQlFBQkFnQWhPMlEySlR5SjQ0YkRBa1NRUWxrZ0k4Nis0SHpcL0lNdjNvOEoyWGs5S3lcL0NrejBiNjhTRHYzNVlob2xKRmxKZXpSWXJZV250elhmY2pjZnJ2K0hzUnFlajlBaWViOGJHbzFOclNTVWE1RkVwQlwvYUdYQVA1Qm40cGgyVXpwcER5QUNPT3k5N2psRzZDUGlaWloyUlBXOVwvMlNCUCtad2wzZnpFNFB5T040dU01cGlOK2I5YzltUUJsVVo1dHJUQWdjT1BCUGhHcGRlc05xT2tsc0hVWWVkcDA0QjVSSDRmeU1EUVRvdFA3V29IcGJwdE1UUGhMdXVObjlyRlJhSVpyZjRuK2huc2lHYTY2S25HYVwvTUswUktwd0k1dmdjWTdUSnQ3WW05bHF3Y25mandZU1c3M2hFZVpqOUo0cjFuaFR2YzFwOFNTbktOMndLQ3MrVGo0QmxhKzdwUHpKanhwaU5kZUVOT2orRFZLQWM0cWg3bHJHdkxzXC9lTTZzVHdybWs2azZicUQyVmZDN3lJbGNRdVdnd0VEeVUzQkVMa3VuK1wvS0Jmd0g3TzlxQzhZZEVRNmZ0SGtucTVxdTdlc09nbUtVUHJoMCswcE84UVNudXplT2JHY21WWnNLWlNXUEs4M1cxMFhVdGRcL0ViNTU3ZitFNTNDNXd1cmZNNmhsa2FvTEE5WHk0dHVxM095ekpTbitVNmY1am5ZcFdvUEZiaVU2RmZQSTU5NFZqYXNyRlppYVo2cFpGVnZxZTN6MDBzajdKM0ZFS3RQRHVBQmJnQ29zaGRVZXFrZnRVaDZoTkdjUDlZaWVIdEtFWHhxaVhGbGs3NXlKMXFaZUx2aDRIZUJKVXF3Y3RXZ3d5Q2lySUJxTVRJM2ljRjMxY2Rud01Zajl4NnBuSzU2YWhBQWNTZHpiWlBZaUxtTEJtSzJJRG53QUVwN0ltdGxlU0k2SWtGR01FRkJRVEV3TTBOQk5UTTNSVUZGUkRnM1F6STBSRVExTXprd09VSTRNRUUzT0VFNU1qTkZNemd5TTBRMk9FUkJRME01TkVJNVJrWTRNekExUkVNaWZWU1dEdkU2S2FLQ2hDMkhVRUlsaXQ4V05qeTJ2UFVcL3ZlbytTUGpIUVhwb3JZbHY0MDlwUmUrT3R0K0lnVFhYYkN0V044RzZvT3JWSTFodCIsInR5cGUiOiJwYXRoZWdpZnRjYXJkIn0seyJuYW1lIjoiVlZWIEdpZnRjYXJkIiwicGF5bWVudE1ldGhvZERhdGEiOiJBYjAyYjRjMCFCUUFCQWdBK0E0aWRUczNxUmExYXFQM0IwZ0lxcDFcL1hRK0k0djZha0Q2QUdtZ0g1c21velBVSzhmOFV6RlNCcXdncTc0ZkttTFdPajZTNTYzRlpIdmNTMkRkUEtTQVRsaDhiZEc1aHRqeWFGV2t5SHN1eWdhMVwvZlg1Y0UyRlZGVE5Ob0lzUzVlbEtOSE1ERVhrbzFuYXBnWXBySUpzMEdjdWduOHdGUlp6YmQraVZJZVBiaXlRcWxOZGdkY3JET01uY1RFc1JWUjdDT2VrZldCcG1za3pzVmpGZUc3aDlMUnFidHlHUTlweVwvdTUxTVVXMXQ1T0w1N3Z1eEk1bUU1UXFkTkV2SUcrMDRRZElhN0ErR3VaVHpMdm53Nm1EaWY1Ulp2RDdCTHBZbXZTQ0JOQ0hKTGg3Sll4SmFudGxrejZZcUJmN2NRakhCalpHTHZFbkRMSjl6RVVEajZBMXI5eklyUEcrRHM0MlB5UFBwc2tPWlNVUkdaZHlyWGNEQnJVNVVUb3lFeWxSaVwvZ3RuSE1hd2RIbnczVklEbW1UTldtNG1hNFh6UWdKTTB5ZFwvQWhaa3FMR1VXblBlTnFLTUloTlwvWk9ycWwzOVFlQjNhajM5eUFKXC8rWFlpUkZlQUdLK284NjVHRk9OYXc2OEpqTzhxN09PUEFEd2JER1VuMjRnM29UdEZ0YkR0amJ2XC9sOHJ2a0Exd2MrRFFvbUs2cGV6R2YrUDVoa0tRZ3liYXhHMXJ5Zlh5YU1RYnYxaG9qd1ZGUkM4dFdiVk95OWJCcUdtYlpiM3VlMmp0N2xjWE90eDB4VHN3Rlh6QjhDXC9Fb0taUTBIOVdpXC9IZ3N3WjR5M1N4ZXBOekQydXRyZWhuYnlXVnRaMnV5eU9NOFgrcVQ5aCs5OFcwVjB2RjZkN1RUWDJSQjB2dG1iR2N3SXBmNlNYVm4zOUNaRUFFcDdJbXRsZVNJNklrRkdNRUZCUVRFd00wTkJOVE0zUlVGRlJEZzNRekkwUkVRMU16a3dPVUk0TUVFM09FRTVNak5GTXpneU0wUTJPRVJCUTBNNU5FSTVSa1k0TXpBMVJFTWlmWTBIYXp6UHBpNWpiZ1BmcU84aHd3N1lucFdlUmhTTGtid0pQUTVoWVpKWHNYbjFNYThybndwWVlpOGpmTzFGSktCcTBoaWQxemFwSmc9PSIsInR5cGUiOiJ2dnZnaWZ0Y2FyZCJ9LHsibmFtZSI6IlBvZGl1bSBDYXJkIiwicGF5bWVudE1ldGhvZERhdGEiOiJBYjAyYjRjMCFCUUFCQWdCendhUVUrVGc4SWdZNkxXWkZaUjc2NVJXNlpRMkRaWVUwRHRIcEwxUDNYWWs1VFB3RjdhRzdZYjVuYzZ3Rmt0MGtwVVN5Q0ZLTm4waCtMNjFYdFQrTm9EQ1RUWUNIZkE5WXRUd2IzNE5ZK1ltWkdkS2V1a1I3VFFKc2NLTlBFRnh6Yzd2ZFJYeEowdlRCdXlYaUxQMjdtczZkYjBlNUJ0QWZnRjdVbFZIb0JEaFRCbDBVWlNLOTdiMENSckgzb3JPNzR6K0g5VWplUDE0MUhSN3phN2F5OUprOWdYRXRnRlF4b0VqYWN2akMrSXVSdTZNWityZnJUaUFwa2NGY25hcDk1bXd4WVFkelBXa1pIOWthMlM5TkZWU0JUeDFnMUJtRm9wajduTlFCSG5ydThEWFZ4bkYyVEhKamY5TjlNRWxjRmNLbk1EZjQ1c3pvWVRRNmRXKzBXK3dUS2NRRVVMMDV5SWFVTHNZVGZxZ0ZlZ0tKdGRIQmFkR2dVWnU2ZDUzZENLNlRINWdUeFNtVjhneHVPTUZmSjFYS0pjakpcL1dXRmtnUkErOUZKU2Q5dnJHSHhWUDRaWEFFenQ2U3RlSjhFdzc2VnZFT2tBcDlLM2tBU0NMTXJKREtpZkVWN3RcLzVWRFFrUHpnXC8rRVdTY1lwd3REMFkxSFB6aU5hdW00eEVwSGxcL0l2YnI0MVpWRFNsZ2MzdTN6MEVUOVZQejZzV1A1OW9QWTBwV3krNDVYeUw1ZmlhNzI5dEpDTHhDUEM2SHhNVGY5WVI5RHRuZURBMGZRV1M4VTNBUzJzVGl3WWFzVmo5RVBPWTY2WUJxb0YyQTYxMjdsMDhxVjhPSmFaUzRlbkl2dVZ4dEU5VkdCOVpYVkJCOXQzR2VTaisxMjFCM2ZRcGN2V2JmYXZCQ21xdjlaMzdmM1lwaHZ5THJiNmdrRUFFcDdJbXRsZVNJNklrRkdNRUZCUVRFd00wTkJOVE0zUlVGRlJEZzNRekkwUkVRMU16a3dPVUk0TUVFM09FRTVNak5GTXpneU0wUTJPRVJCUTBNNU5FSTVSa1k0TXpBMVJFTWlmWnFha0NwRzhVZjBBdGtweHRjZFVrTFR6XC9pajVjYlM5OWNUNThDcXduam8wbXVpcHh3ZjFkUk50RElBYWx1VnV5dk02SUhOR2ZxbCIsInR5cGUiOiJwb2RpdW1jYXJkIn0seyJkZXRhaWxzIjpbeyJrZXkiOiJlbmNyeXB0ZWRDYXJkTnVtYmVyIiwidHlwZSI6ImNhcmRUb2tlbiJ9LHsia2V5IjoiZW5jcnlwdGVkU2VjdXJpdHlDb2RlIiwib3B0aW9uYWwiOnRydWUsInR5cGUiOiJjYXJkVG9rZW4ifSx7ImtleSI6ImVuY3J5cHRlZEV4cGlyeU1vbnRoIiwidHlwZSI6ImNhcmRUb2tlbiJ9LHsia2V5IjoiZW5jcnlwdGVkRXhwaXJ5WWVhciIsInR5cGUiOiJjYXJkVG9rZW4ifSx7ImtleSI6ImhvbGRlck5hbWUiLCJvcHRpb25hbCI6dHJ1ZSwidHlwZSI6InRleHQifSx7ImtleSI6InN0b3JlRGV0YWlscyIsIm9wdGlvbmFsIjp0cnVlLCJ0eXBlIjoiYm9vbGVhbiJ9XSwiZ3JvdXAiOnsibmFtZSI6IkhpdGVsa8OhcnR5YSIsInBheW1lbnRNZXRob2REYXRhIjoiQWIwMmI0YzAhQlFBQkFnQlpvc1Q1UjErXC9TNGo0SEdFTldXQVwvaVBlUWZranh1amh0T05wUGM0N2hhdVR6RGFlcVdISlZoXC9obXU3NTVCcFdqVVwvNFhOeWZQWGVkRk9IUk5DVmcycjZXcmtZTXhTKytBR3lHc01wanVwNEZObmIzNXBrV0NaRWszbWV1b2lqaHZUcWJ6aXlaRXJVQzUyOUwyMkJnbW1IN2dwYXlCVEpFZjJEU1luVHNTdjUyQTVpZUo3YlByb2NiMnlsR1d5TDBWaFhkd1FWWWZWZHdvWVhiYVZcL0FadnU5czV0Zjc5RXdmNG10NmNuQXl0RWtKU1hnWjRHT2VGSHRKeVBkcXI5cGVcL3dqQVNyb2c3WE1TMEV6aFo3ckdJN2VCNTQ1d0dGaWp3bW5TbHNyRjBKS004bkVnZlRFblNXOHM5YXJFRXdDNUNIOXU4YTdhaGdma2NSNUc4d2thNzhiZDhtMHJPaDcxZ29iYVhxenNoNm5ETEp4b1ZKSTdRRjVwMUFvb1RKSkppbDhROEhaZEJsQkZmd0JQV0hJYVdvbjgxOEpDZ05Mbmh5Y0lwTDRwSjV2MzRLK2xoNE5ROUk0YmUxN1YzdEZHQVh2WEZpR2VCTVA0MmVNVFhoR3d0ek9neXdyY0tjTGRjcnpsbHhsSGFLNFBFb01raGVKRjVoc21NUTU4eFcwblorekV3T2tPSGg2czBDRkhSK0ZUdEhKdmtIcVdOQVc1TFEwbENFbTE3cXdHKzdWNEtaMHg3ZklZTjIyd0Ftc0czUXNKTzFRaTNxb0JCWm5jQzZwcExqdUltQWdoY09IQnd1dUJOdURaaFZFUXEyTVdDS3RRSDRhbUN2Z2hoQmtNS2tSK3k4b2RFRzYxOE5PRWZ5Rmw5aGVSMTNaaTJwQytBXC9PK2NDemYreEE2eEJ3QXYrTHJFcENTVGpkZWZuQUxBRXA3SW10bGVTSTZJa0ZHTUVGQlFURXdNME5CTlRNM1JVRkZSRGczUXpJMFJFUTFNemt3T1VJNE1FRTNPRUU1TWpORk16Z3lNMFEyT0VSQlEwTTVORUk1UmtZNE16QTFSRU1pZlhuZ1Y5RTFJd0RURDBGbzlcL2J1cEd1c282REZ5WmxqMG1JOWowUEx0NkhhZkJ4dG5NbCtvSFZCYnVrWmZqMXJqN0I2c2VNPSIsInR5cGUiOiJjYXJkIn0sIm5hbWUiOiJNYWVzdHJvIiwicGF5bWVudE1ldGhvZERhdGEiOiJBYjAyYjRjMCFCUUFCQWdCcWpiemFwM1ZFSTFVVERBVitZQXhpNjdVSElBWG9YQVFZbDlwUURQOFBHVFZudmQ1V0dEOE1GZ1VQWVVTejN6akxpUm9tWmlyTk53RWR4bnMzZ2xPTHhuYmFzTWU5Y2l0NUNiRW1QOWdadTRNTUNvdXV0WmcycWhoclBCTGV3Y1wvUktKSlBldEtValcyVzVnSFhFVWNYMXRkdDYzc2cyWjhvNWczeTUrV3FIMk5ub0hBUU44RFlYWjhXM2pBY2x0WCtVelwvNWhJaFYyMjRSb3JOQU9NOHRnVEI2QURBTTltTWZBVTZZRUhIQjVBRFZkTTFJRHRSYmc0NWM0Q2RLMG5JaWhaeFwva0ljRFc4YXlncFdNcFBDdUZqRnBPNGYwY0F0WFcwNU44S0EyVmpVQXFqdDA3M0h6djA5ZlhaalZWNHJMbzI5Tk5QNHFpVllJbTFHUlFhNmpRR2Z5V2ZWellSQ3AzQk0wN1lONElTUDJyVk5rUm9lNWMwVGFlMEpIYjRwVUozZ3pyNkJPWEV5U2xcL1EwclNQUEVKdG1IR0VkdG1nUktHOVVXaGl3UVZCaHZVNk1EREVrZENiZkFlU0J5VDB5TXdtRmdxSFpWVjZlKysyWlNPeGlNajQ2bWo3eDFlXC9KbDh2OU91UCtZb3FZbFdxWmtkQzJDY2NtM05CMSs4dmt1aWRcL3NqK3g5bW1qSGZ4NjNvVVpCMFdrdVJKdlljRHJGNmlqZThDMFRkY0U0WFdWT09jM2pIc09TU3E2MmQwcHNzSEEwUTg1WVAydzJSaU91UHJQSTduZGR2cjhYMlU4Q1wvVWhPOWpIZmY5XC8zVGN5Z3dFRUJaOFRQV0phRnJEUHpIVmhNVE1RZHFjV3NNQ09ndUlzcldSZUlUK3h5dHpOYnYzMVdraGZ5UkJLVGlSdnp4dkhcL3NWNFVsS1V2NCs0QUVwN0ltdGxlU0k2SWtGR01FRkJRVEV3TTBOQk5UTTNSVUZGUkRnM1F6STBSRVExTXprd09VSTRNRUUzT0VFNU1qTkZNemd5TTBRMk9FUkJRME01TkVJNVJrWTRNekExUkVNaWZkamlGV0JIVkMwZXlWTkJwbUpqQVJWb0Zrdm9OaEdESzRkSWQ3VStcL0I4cGVWeVFBNFZZdERSdmN3VWVhMDZHKyt3bVlUcTIiLCJ0eXBlIjoibWFlc3RybyJ9LHsibmFtZSI6IlJpdHVhbHMgR2lmdGNhcmQiLCJwYXltZW50TWV0aG9kRGF0YSI6IkFiMDJiNGMwIUJRQUJBZ0JEZDFBVmFEUnNhZDJlSzM4S2ZqbCtEK3NxbGIzSmh6NEVodnVKWFVGU3Y3Y08wUTB2eFlmMlg4MVVSOGlmNzIyVHM0NDBWeWNmWmFMbE16bENIbkRocWViNWF6aWo5NlN1YkJFWkdZVmRycHVwMldMSTVUclBCUEpsRHdjcWJLXC9BWWJaanZTRDJsRm5KbnJDdTJEMDNxXC9SRStDaVh1ZFdZTU9Qd1B4QTV1YXpaOGRsWFhFbXZoM0thY0cxd1Z3TlVCOTNqSzB0SUZ5NFQ5N3dyTlB1QmNnb0VxcHp1bVZacjdHVmR1NVpzS1pRc2lEVUhzaG9wZGhUWlp2aHQwTkVpQ2VFN2RVTHNRdzB1UmgwK2E2WUhEc2pHZkIrY25mRWhrWURyMkJ0b0p2dnNMUlVJR3MycGgyYVc2c3pvRnMwSFBcLzM3WWVjTmpRSUtQU1JON1hOK1dDQXhVbGNGb1lQYlQ5RFhVWGpIUU16bUdDZ2h5OEZpdUxjK2FiQkhmdzJHT3YwblVRdmVCTVNreUFhdzlBZTBWaUNUeEN2OFZtQkxkbGV4bmQ3VDhBQThmclZaQkZEOW5BNEJsZU53a2llWjhKbWxmdjJYU1VZYlwvdFZkb3ZoNW11ZVNkN3NkZnBcL3pHd3RqWCtDUVNXK05sU2FLamErTHluK1JEaFZVbklQK3U2clY3K2dkWExnZmFBVXFmRldpXC9GdW5HWkZpUzFcL2tNOVlKckZiTm55RWYyUnIyRHNjQXRnVnB5YUVweTV5blVJYVZYdllTeHlOcWlseFg4TUVheUprRzJIRTc2MTdzeSs5UVE5d1IzdW00SzZiYmVUYVVsTVwvVFByS1Ryc0NNaXBGWWV2Z0ZYTXY1N1JhNGVMQnpRS09JeU1yOFVwTis1NjFhZjI1WFh4QlF1bE9BZ0JYdU1JTmpLWmlZY0NHOEFFcDdJbXRsZVNJNklrRkdNRUZCUVRFd00wTkJOVE0zUlVGRlJEZzNRekkwUkVRMU16a3dPVUk0TUVFM09FRTVNak5GTXpneU0wUTJPRVJCUTBNNU5FSTVSa1k0TXpBMVJFTWlmZGlPdjB5Tkl3MXBiN0dLUHc4aG00a2pxTGFza25ZQjIybFMxc2pWRkRtNlJRXC9Ua0FpNU4rNHpsSWJtZVRGQjZxRU5jQlk2IiwidHlwZSI6InJpdHVhbHMifSx7Im5hbWUiOiJIdW5rZW1vbGxlciBMaW5nZXJpZSBDYXJkIiwicGF5bWVudE1ldGhvZERhdGEiOiJBYjAyYjRjMCFCUUFCQWdCT01qSWgxMTR6SnlNSjNndWhPdWI3bTR2NWttOWQ4dmpUbnV6Z0ZaeFVGbmd2OWlvTTBiYVpnamJIRjFraXRHQldVaVd1ZmZ5TFk2K05PWGc1RFJieE5aQUlKYmZXXC9keFBrRDhWdjQ5VHVLN1hLS1h2YVJwQnBMaUVWSXpMbHZxRkM2S0Y1cG9oSXBqaW9ZVGJLK1ZIOXZ6akdHenl5dkc3NVFvWHoxblpqMkxtVnJkczgzR2I1SmpCeGVCdHF3Uk9EXC8wUnZtUyt3ZjN5Ym5vZWhcLzA2U0thUkFXejFXOThQTWU5QUF2RFQyc1wvTEZrUFdqbUZwR25XREs3bXdLT1doSVVMTGZuSlpPRDBwbmJcL1hvclgzVlBhZThzSkJFSmRodVpnVlhrK2FveDU1V1RBVXBHS1crOFVVK3RIWTFrZGEzOE5uNG5kUlFoNzgxb3MwdjZlZEoxRUZ4bEZKcDhjSWNYZUVmN2t2dUlvdWZDUGlMZjc5RFNIeEpWQ3NFQTJTcTd1S2NUbmx5YW96M3VYV1hwNEpBNmxRTGZaS3Zsd3J6Y3gwNFRkQ1hBTzcwWThHMVBTRTdITUFWMWJHTGRmXC9jZTdTeXM2VlRHSERnK1VaTkxsNHJZNFBhR3l2aHJTYk1CV2ppb2xJS3BmU25PK25uMFUwSkViRkxIUkhDck01b2p0aDEwK3BMa1NhYUZHUitIQmhLUSt1VmFTenc2NzU4XC95ZVYyM1RvbmRVQ2w5dU1FVHJ5RWtwUXZFTjJPeGdIMFRCTW5tQjJSOXVid1lqR1lcL1F5dEpaRG5od1dCbTlqYk1KSW9peEVJQXJVaVNaUjJqU3VxMnBUdGIzY3JHbDhnbk1Edno2eXZZXC9XcDdwV284QXk2MnBCXC9FZld3OHlRa3FDVmlzTmVoQWNkMlByMk5DY21EN3cySXg0YUlrS0FFcDdJbXRsZVNJNklrRkdNRUZCUVRFd00wTkJOVE0zUlVGRlJEZzNRekkwUkVRMU16a3dPVUk0TUVFM09FRTVNak5GTXpneU0wUTJPRVJCUTBNNU5FSTVSa1k0TXpBMVJFTWlmWFBhS0xxSGNRTFY0SVlIYUQ2aWIyeHlTRVJwdzNNZGQ0Q2VkWGVBcUdDOG5LcDBwUExRNDZYNFYzVFpnNUdMQmNIazM2VW1GdDFFIiwidHlwZSI6ImhtbGluZ2VyaWUifSx7ImRldGFpbHMiOlt7ImtleSI6ImVuY3J5cHRlZENhcmROdW1iZXIiLCJ0eXBlIjoiY2FyZFRva2VuIn0seyJrZXkiOiJlbmNyeXB0ZWRTZWN1cml0eUNvZGUiLCJvcHRpb25hbCI6dHJ1ZSwidHlwZSI6ImNhcmRUb2tlbiJ9LHsia2V5IjoiZW5jcnlwdGVkRXhwaXJ5TW9udGgiLCJ0eXBlIjoiY2FyZFRva2VuIn0seyJrZXkiOiJlbmNyeXB0ZWRFeHBpcnlZZWFyIiwidHlwZSI6ImNhcmRUb2tlbiJ9LHsia2V5IjoiaG9sZGVyTmFtZSIsIm9wdGlvbmFsIjp0cnVlLCJ0eXBlIjoidGV4dCJ9LHsia2V5Ijoic3RvcmVEZXRhaWxzIiwib3B0aW9uYWwiOnRydWUsInR5cGUiOiJib29sZWFuIn1dLCJncm91cCI6eyJuYW1lIjoiSGl0ZWxrw6FydHlhIiwicGF5bWVudE1ldGhvZERhdGEiOiJBYjAyYjRjMCFCUUFCQWdCWm9zVDVSMStcL1M0ajRIR0VOV1dBXC9pUGVRZmtqeHVqaHRPTnBQYzQ3aGF1VHpEYWVxV0hKVmhcL2htdTc1NUJwV2pVXC80WE55ZlBYZWRGT0hSTkNWZzJyNldya1lNeFMrK0FHeUdzTXBqdXA0Rk5uYjM1cGtXQ1pFazNtZXVvaWpodlRxYnppeVpFclVDNTI5TDIyQmdtbUg3Z3BheUJUSkVmMkRTWW5Uc1N2NTJBNWllSjdiUHJvY2IyeWxHV3lMMFZoWGR3UVZZZlZkd29ZWGJhVlwvQVp2dTlzNXRmNzlFd2Y0bXQ2Y25BeXRFa0pTWGdaNEdPZUZIdEp5UGRxcjlwZVwvd2pBU3JvZzdYTVMwRXpoWjdyR0k3ZUI1NDV3R0ZpandtblNsc3JGMEpLTThuRWdmVEVuU1c4czlhckVFd0M1Q0g5dThhN2FoZ2ZrY1I1Rzh3a2E3OGJkOG0wck9oNzFnb2JhWHF6c2g2bkRMSnhvVkpJN1FGNXAxQW9vVEpKSmlsOFE4SFpkQmxCRmZ3QlBXSElhV29uODE4SkNnTkxuaHljSXBMNHBKNXYzNEsrbGg0TlE5STRiZTE3VjN0RkdBWHZYRmlHZUJNUDQyZU1UWGhHd3R6T2d5d3JjS2NMZGNyemxseGxIYUs0UEVvTWtoZUpGNWhzbU1RNTh4VzBuWit6RXdPa09IaDZzMENGSFIrRlR0SEp2a0hxV05BVzVMUTBsQ0VtMTdxd0crN1Y0S1oweDdmSVlOMjJ3QW1zRzNRc0pPMVFpM3FvQkJabmNDNnBwTGp1SW1BZ2hjT0hCd3V1Qk51RFpoVkVRcTJNV0NLdFFINGFtQ3ZnaGhCa01La1IreThvZEVHNjE4Tk9FZnlGbDloZVIxM1ppMnBDK0FcL08rY0N6Zit4QTZ4QndBditMckVwQ1NUamRlZm5BTEFFcDdJbXRsZVNJNklrRkdNRUZCUVRFd00wTkJOVE0zUlVGRlJEZzNRekkwUkVRMU16a3dPVUk0TUVFM09FRTVNak5GTXpneU0wUTJPRVJCUTBNNU5FSTVSa1k0TXpBMVJFTWlmWG5nVjlFMUl3RFREMEZvOVwvYnVwR3VzbzZERnlabGowbUk5ajBQTHQ2SGFmQnh0bk1sK29IVkJidWtaZmoxcmo3QjZzZU09IiwidHlwZSI6ImNhcmQifSwibmFtZSI6IlVBVFAiLCJwYXltZW50TWV0aG9kRGF0YSI6IkFiMDJiNGMwIUJRQUJBZ0EraXI5WVF6S005NTljUSttS0hLXC9BQ0N6ZitlcGI3bXdoSnBlZW1BRVRMbFB1a3JsejZjYzh0dlwvWEV6SFljU0R1QkxEN3F1V0Z6a3hXUFRWSTNxMVhyZXhRazliV2dxVjNHTGRrekhuUDBpc1IwSkxFcmVpdmo2WlwvYWZcL3EySWJiQWQ4YzZ2M1VwMkdMWmdPUGtFd2lMeXR6MHBtcmJEZ0Ura2xDSW9aM3ZZS2hOTEpIRHpBUGFUNWN5ZzVSazVwamJaeHo5eDNXT2FqTXV0MkhGNW1RdzIyNDVtdGFLWUxUOVNDY05DRU9FQjZQYlJDTFlZU0dDdm0wZkUzdEYxUXNxcHRGb1BSZUF4M1UyTkp3M3NzT1orQzRXOUg1cVBSMjJzNEhDdkI0MFpRSWNodXg5Tzl4NFRpUWtEXC9GOGQwNTVWNTFweTNteUJaeUlYVzNJSG9sNDgzZllNMkZzVnMwUE1rRSt0NHYrK2NLZ1FIdzlJXC9UNFM0eHBJeEdoZHhiXC9FcHo3aThRaHh0dXJIQlwvM3hGYnIySm1rdHpGdExJMjdOSjdrZGhmUkU5V2doUUlNam1xdWxMQlhjMmlGNjNrdUhLTnlaR3FzeXI4T0tTMG1tR2RXZ3lhUjJHS0VRdkpoMGtFQmE0WmNiTjVkV0Y3QytiYmFcL1FHZzU5ZEF0dEdJRURYWU0yYVRJXC9vOHVLdlBLeVdyaHR6a0NtQ3RqMGlNYURFS1NpS1ZKVnFmQ1FWVmJnbDh4eVFYQThDaERiR28zVFRQUmdMVUFXRGxsc3drVGZCZnZiWHRMOHNOTlVBYTIwendvNXhBTXl3Mmd0MEg4QzN4bldCRHkzak5tcVZ6RXllU2UweEZ2UFhrN2RlWWxLeXRaNlNVZFVzYmM4M3FhT3FBU3YxTmhCT0w4ZXdxZG5uWXN6djFKVERwOGxvQUVwN0ltdGxlU0k2SWtGR01FRkJRVEV3TTBOQk5UTTNSVUZGUkRnM1F6STBSRVExTXprd09VSTRNRUUzT0VFNU1qTkZNemd5TTBRMk9FUkJRME01TkVJNVJrWTRNekExUkVNaWZmcjZLeWcrVVwvQkh3VWJ6aHZ2Qm1TQkV3bEI1U0QzeFdnRXE4cnpDVmlRTlc2VFBkR2FnWHljZnRJVlVsbko3RG1wKyIsInR5cGUiOiJ1YXRwIn0seyJuYW1lIjoiUHJpbWVyYSBDYWRlYXVrYWFydCIsInBheW1lbnRNZXRob2REYXRhIjoiQWIwMmI0YzAhQlFBQkFnQnIrd0RcLzVHeWRcL1FSNUdkM25RZmRaXC93cGlpT1dzVER3K0FoVlFWN0lKd3l4YWN1Sm1ld0lSeTBPME84MU1vVnZSYzZoYjd2Q1RmRVRYYkJjbExUTjJzeGd3V01KRUFBVzQ2OFhRUGk3b1ZOb0k5eHJuNmYxY3NjWTJmcmdjM0wrelJBOTNzQ0FETVBWSzRWb0oyQkhrVENPb0RTWGVGY2NcL1JoTEJqbjdVbzh0Vm9oTXNXR3V2SHZEVDBHeURuZTJWOWNRZUpcLzhLdjJXcmMrMmVPMHZKWWZzcExSUHZGRjdEaXRDWVJxUGtuRHBSRXd2aW13ZUVtMnZaYmZaTzJER3JCaXpaeUdJZXAxSEszNXJWazhcL2Q1RXA4OFdvSXQxSVhsWG9aT0RzeXg1WjFOa042UlNsUFF0WnNwTGI1QW4ydXhtREdkMWV6aVVzRkpKaWticG4yRU9OSmhKeEdOZmRKak1idlJBNnFkRSsxS3g2RGxrK3M5RVE5NkJnOEhvXC8xOVR3eHZjbmhnYjJ4SnlvQ1wvRWtFNmRFQVwvbndRWmJ3eVRPdzc0UGVLZ0JGY2J4MVp2Y2JsYXJFU1JUYzhSNkpCMWZ1RW9PS1ZLSmVpZmtwb0xVMTZkdkxaN1lCUUtuVUtRbXNrY3dRRzFINEEwcW5cL2txMnp0WTFKZEk4aGFEVmgyWkJRRUpFSGhNR1hxZU80a1g5Nlc3eTBhdVhiNDZOZkdoUnpMbXUrODJJOURVZzEzVVwvTXZhdEdmWWlUZDNLcWxCSHhneHZ4M0RPRktuRTJOS2VveGl5RjZiUFJaRkt2RE5oRFhaRlNGNTVmOE1nandvOUNEK1dDRjhZYk03R2xSeEhWcTdTVFAzcEZJOENTTFNjTmFQcCtZc2V6U282XC82Z0plT2RtdzNSRDFDUVhDYVNKZXl3VE1hQzFcL21sYVJBRXA3SW10bGVTSTZJa0ZHTUVGQlFURXdNME5CTlRNM1JVRkZSRGczUXpJMFJFUTFNemt3T1VJNE1FRTNPRUU1TWpORk16Z3lNMFEyT0VSQlEwTTVORUk1UmtZNE16QTFSRU1pZlZncmlVTVZxN2tqSENSZThib2NmUkJDNE94NngyTjBJRmxPN1BXYUh1Rll0SW9UR3ZTYTJ6eVhLSURQK1dycXlQWjFzMkhqNDA4cGliR0EzSWw1R3c9PSIsInR5cGUiOiJwcmltZXJhY2FkZWF1Y2FyZCJ9LHsibmFtZSI6IkZhc2hpb25jaGVxdWUiLCJwYXltZW50TWV0aG9kRGF0YSI6IkFiMDJiNGMwIUJRQUJBZ0JUd2N6NzJXUVwvcldaUzdTZ0gyVm44ZzdyV2JHQzhoVUlEempVMlJlekl1WUcrUVpjN2RSVWRuV0VhcktqRHNubkh3aGoyK2JGUkM2ZEhhRzRPY1NiYlFWM1VtZnc2REtZekFRRzIzN1U4NTlPZWI4aHY0c2dpOWJzWmwwMTlwWjFMdTZlTkNmaWNMRVZGa2xCTkc3ek9jVHRoM09ZMmZ6ckU4V3d0Z0FReTNNb25jSnd3RHRVN25ZXC9rWVYwbGQxeWdnRURHMlwvbnNnOHFLNjF3WHFrdnBVeFdHSGVDWnFqaXZ6RmRBNjZQSFBCMDVpVGowV2xzUmlnSW9IUTZaM05Bcmk2a0tlOW9hb2oxd09WcFozTFNjVWNBbzg3dzhDcGJZdlNST0VPbmxYZkx2T1FENXRCTzhzSlFvOG9aXC9QdzhcL1h6MFV1QW4zRzhNeTR2UjZ3Z1lzKzVia0NZcG5VMHlGKzRnOFwvblVPczNWM0lYYjB5bGdvWE80WDE3TWI2TzlcL3pmV3h3TkJYaVZPVUZXUGtCQTUyN3k2OWxKN3MrUDF4cmRCRkJUT25Mc20ybnJTTnUwbytES0hZUytPWGJLM25peXdZYUVBcDV2aUNCQWJidm0ydWVxM1d2ejh0Nmx0NlRuUXhcL1JGeEUyWVM3d0tKRVpxV2VHeW41NHh3cmd0RktrWHdMNDF0VUludk95M0ROSVErUUNHQXdEdDNiQXFpVnFwbXlldVwvNWQydzR3eWEyMkhYczJ2YzRNMUJRMG5FT3MyUmdPUXVsN0xZeXowaU9tOElwa1pMSXJHdXE1Rmg5XC9ueVRlS2FsWUNZczF5TGswMXFuNVwvUlRMU3pKREVlS08zSXBCVVh0OTV4WTA0Uml1MjJYemRTMExhR1pYWHNqVGloT1VWdnJoRHE4Z1JIem9mYWFhYU4xRGlnXC8wN1hBRXA3SW10bGVTSTZJa0ZHTUVGQlFURXdNME5CTlRNM1JVRkZSRGczUXpJMFJFUTFNemt3T1VJNE1FRTNPRUU1TWpORk16Z3lNMFEyT0VSQlEwTTVORUk1UmtZNE16QTFSRU1pZlFiY0JWMTNBeVNTUkw3cTlqRUo2NlZqQml5MXB5UFQ3cCs1ck5TMWY2bkZyWDJ5eHdVQXVJcnRmUmtMbzhtc3hlYTBoWTYrR0J5OG50QWwiLCJ0eXBlIjoiZmFzaGlvbmNoZXF1ZSJ9LHsibmFtZSI6Ik5FVEVMTEVSIiwicGF5bWVudE1ldGhvZERhdGEiOiJBYjAyYjRjMCFCUUFCQWdDQ2h6RDFrZ0VyRk5EUDRtT3VSZ0p5TnpWNTBnalF0UkVVbjlsaTFpWEU5RUhvMzdKVmtJYkdKb1dJQXJoaDA4ZHFGaFVKMDIrR1VKMzlNXC9wdndnVG0wTlgyaVwvRW9XSjhNU1Yxb05ZMmltT2QzXC92QjFxWjI3OER3TmY4TDJtSTBiMzNEWnU2TFFvbUtPWCs5bHQ3NlJMYmVRUjZ1YjJDZERadE1JK2s3OTVjTkNUcXBCTmVVakdGKzAzR1ZmcVwvUG1WVklHd1RlUk14b1hJQ0s4Yk1kVU1JSzlsZjdSUUtlV0JkdFZkd3NDRVwvM1Z4bzU1bVwvQlNOTVYxVEJ4OUdiM0RpVzk0N21ZVVhGcDhkVEhyVFZYdWJGR0QxcHM2dUk3NXFSemttYnNrXC9XN2dpWnhXNmg1XC9tK250eXh6RzVRVk1id0hZV2x4TUxEODRBeGtHKysrNHNuc2JFXC9tMFwvRUYxckxBOWErNEM5QW5ndFpNakx1Z01SR3Q4Znd1elliRlFQWTFtWTdoeHhKc2g1RGpZNUFIUE5TV1VsalNRWFIzV3BhNFwvNjdIOFJaNzVYaUtJRjdQK0IrUjV0d1dGeDk2QUh0VGQyM3B1c0xIblBZbDBWb045ZU9pQTI1N2NpTEZQZ2V5eDNcL1JVcGZtUGxsc0dneTU5KzdHbzRmQ2UyakFzQVdqRFFjVlJNczZIeUZGUTFCK0dSUVpldE5QTENCcGdLVlRoaGlpT2lrZXZIc05RM1IxVzFPSVJmZFBlNUp0OHNaTU5XbzlOXC9uRzR5cWI2bTBXcnEyRlhkZWNqYzVQUURrdWE2VmZva2pSNGlrakJRMVVQZVlKbzQ0ZjBvYm1MSDlkNmFtSDF5TU01QTJudjkzMFZMalB1T0N2eWo5NG90dVp6NmppQVBoQ2ROQUVYQis4SVAwY2x2NHZRdElXb0FFcDdJbXRsZVNJNklrRkdNRUZCUVRFd00wTkJOVE0zUlVGRlJEZzNRekkwUkVRMU16a3dPVUk0TUVFM09FRTVNak5GTXpneU0wUTJPRVJCUTBNNU5FSTVSa1k0TXpBMVJFTWlmWE9YRytcL3AxMnpQdUZTaW5CWWFBbDlQc29hQmVTdUFEa2l3aGlLMzBTSDBKbURzdEdOTzNhSFRZc29ybEZjcmFYYWZjb1F1YWc9PSIsInR5cGUiOiJuZXRlbGxlciJ9LHsibmFtZSI6IkFkeWVuIFZvdWNoZXIiLCJwYXltZW50TWV0aG9kRGF0YSI6IkFiMDJiNGMwIUJRQUJBZ0E0bTNGbXkzdUFrckFCd1BITzZadU1xdGUxRndJMkk0NkdqN3dZbTZqQWZ6OUNZV3FZcUFtaU1kbmpLbHhqZllQQndzXC9lRG1Zd3lweUp6VW1TdXVRMEFCWHRUMGRGM01paXA1R0lTSHRUUlB1WTRQVmM2cmhkK2ZhSUNYSnEzOWVcL1FJNHNGd1BnMWsxeHU2aTNraVNaTUc1cWNPYVViQ2NtYm83c2FweHUyYjBuZUFuTGo3dW9xSkd0N3dXQXJ6RW9KMU9ZNHFIOCtEN2YyOFkyTEZvOGNFZDJydmE1RFRCelRMUCt0a3NYVnB6cVpXOXBrT1hUK2U3RUNMSGMzYWh3dHFMbXYzakpzc0JRaTd1ajJ5RGw2NFZvUGFOZndoQU9wRWlyWTBkTmVucE9ld3Frc0FnZG12TVZlY2VrZmlXUGJldU05Y3lyckFVenlwbkIySWZObWFJc1JrUmttU1wvVVhSUWNseitJVDYwUWhvb3dJUGx2R2laZG9BYmtoMk8rNk1LY1NxaG1kZFlMdXIwRitHVGkza25zZXlmZjZyXC82T3ZnNkU4WnhVbEdhUjBnWjJiNzlCZjBJTkEzallZWmdXSVwvbVYwblRmTVo4UWJXd2FuUUZOUDBCTnlLZTBpM3FoZEtndmFwUEhjTWlWVzJOOEJRWms4NnVtUVRuNzJtWmc1SlwvRDFEM3JKOTFUWmJOcVNTS0tVZEljZVBsU3BqZDBoVjlKK05VVFdDcGczeE9VeWFBRDNvWkxCUnNTdG1pRktFaEZ5M1Qwcnc1bTBhMUExZkxFTllxXC92ZzhjajVLOGlncWw0UHRMS2ZOVmNrRWxzOUV2QkxmVzB2ejAwbnFxWFJvWk1nbUZoK0VtMUgyUUhKcGJFUXZxMUNvMDQyWkZHeDd3ZlpBREJCaGh5S0swM0J4cGFnNmIzY3NTUTZrQUVwN0ltdGxlU0k2SWtGR01FRkJRVEV3TTBOQk5UTTNSVUZGUkRnM1F6STBSRVExTXprd09VSTRNRUUzT0VFNU1qTkZNemd5TTBRMk9FUkJRME01TkVJNVJrWTRNekExUkVNaWZRbEVBWDRJbGhiY3NHWmsyM2NDSTEwTFdVek9GTCtldno3UjIzT3hwUTk3YTI0OHNmNkMrb3NERGNDUXU4WTVmUU5SR1NpY3RBWTU1WGRoTEtOclMwND0iLCJ0eXBlIjoiYWR5ZW5fdGVzdF92b3VjaGVyIn0seyJuYW1lIjoiQWxpUGF5IiwicGF5bWVudE1ldGhvZERhdGEiOiJBYjAyYjRjMCFCUUFCQWdDZjFhdVNHb1RZaHRnNDk4YkZjNmhhUlU2TmhuTkxHMUozQXhqZk9mWThNUVRrM3IyUjZaNEFwc1R2Q29wSkhWelwvU1F6dWFuWkdLdUQ5RWdcLzFJZTQ1YzR0VktnTzFqbGZCUjFkOXVNaktJWGNTR3B6dDFaYncxSFJDZEhmVUt2OWtnUUZnZFNtNFBFUTlYdG9iMEpyMnRHam0wSFdtRVBGTjAxcnNlVzhRNnd4dkJiVmsxUmhKNzRyd2dtR0dyN0daWHc5elJQYWlhcWg2VHc1RjkzcElMSHo5TUZpOVIyMjQ5MjVCakdlRjV0cmRNTTNndUYydStTOVgrOVlkRlB4MEVcL3Vpb1lQV0w0aVVxSGJcL2VxVU1ITCtVbDU2ejhaSWFramU2Q25lNDNid0FpdjhuMVhjWHRpb2pkOHBPNFRBWUVQRU8zT0ZaSWQ2ZzA0OGdWemFCajNaNE5PYUtwUGExaGtyaWN3Ym0wRDY2KzM0OVh0K2JhSGwwSk90UE9SXC9iUXdSSFdvcDdyQUxHXC9oUmppdmJ2ckNwRVI4aUVpS2FQeE5TWm9hZTkzVWU5YnRQTDBWaG5hV0QwTnBjeGljSHV2WmJlOWRLZmZuQ1JEd2RiK29xS01LU3JnU05HZGtlYU8rSW9BUERodlpHRDA5V0ZHVmRXRkd3c20ycmVVVmNPZmVTa2VBZmlJVElcL1pjRmxYY1Y5NEpYdnZZUDQ3WGd2RHJUbnViRFZmd0s2MGhmVkxienl3emQxY1YzK25mNTZzczNiN0k3ODJyOFJYY0Y5R0p5Zk5kbHZJNk5XN2FlQXdzQlBIY1FoSFppVCs1VkhYYmJ4eURkNHFUNHROXC92Y1JYeitIUDRxVUxUeGc2d3hJTTRoenRjVzJYOWFKRk5oekZZTmJ2aTF1UkFnRHUxK1M1eENoZnNFcWt1dFVIdlZBRXA3SW10bGVTSTZJa0ZHTUVGQlFURXdNME5CTlRNM1JVRkZSRGczUXpJMFJFUTFNemt3T1VJNE1FRTNPRUU1TWpORk16Z3lNMFEyT0VSQlEwTTVORUk1UmtZNE16QTFSRU1pZmZEcllhN3RSWEdmYllBNkdlMTYxS043c2dWbDJvTnpsM0huWGV6eW5kc3B1RkZnRHJob2lIZWxCMWlPZlJOY29qamxMWVk9IiwidHlwZSI6ImFsaXBheSJ9LHsiY29uZmlndXJhdGlvbiI6eyJtZXJjaGFudERpc3BsYXlOYW1lIjoiQWR5ZW4gRGVtbyBTaG9wIiwibWVyY2hhbnRJZGVudGlmaWVyIjoiNTAifSwiZGV0YWlscyI6W3sia2V5IjoiYWRkaXRpb25hbERhdGEuYXBwbGVwYXkudG9rZW4iLCJ0eXBlIjoiYXBwbGVQYXlUb2tlbiJ9XSwibmFtZSI6IkFwcGxlIFBheSIsInBheW1lbnRNZXRob2REYXRhIjoiQWIwMmI0YzAhQlFBQkFnQzB6WU01STNxcW81VUdDTzBzME1kSXh4eGQ3YjI5UkxvK2RnVVBOZkVGRWVvbHZYNnFOcUtCSFBqWCtiWFpHc2tJSkZ4eTlZV2JRUVNaa0VBRXFQeWR0R3I3cnZScjJNSWVrY3MwUTlqYXp0NjJ5QXlwTUw2T3Jha3RrMnczSkRQWnVLanpIb1wvWitZWXgrXC8xWkhPbHBXTFwvckdCMmNaWFNPMVpTeDVFUUtnZlRtd2xTMU5rRmZnUXpsOHNRQzFodGlkc0lPWkd3OXhQV2Jtc2NOaHBxRVpDWWxET2ZFelJIRWx1Nlk4ZzVEMHlIT1hYNVRWd1hldHVtK0xNOEN2Q2xYK0RFenA5bWlNXC8wVE1WN0orM1h0VVRBM3hjUFRcLytieURmeWdiNTJXR21pSGxFbWE3ckRHZGxCUTVaejdUYmI4WVc1eTJYTnA3ZjZSWjNaV3k4TVIrVitCYkZobmJ2UlAzcFNzc2xJOTJ1aURnVDFqOEhrN045Y1dQQkhtcDllT2IraVlhMXlGRWU5QmthZEdkWWlEVGxTcldKU0c4Z29UUkZCS1JqMTVkNDNFdm5CdTRCWEFEU2gwZk5FWHlraENrdGNhb2xIdXVzYkZBcjJDVjJEXC9UQThWOUZ3dnVOWEdBZ1U1c3p6dkcrak1DenRSZzdFRkdFbGJBV1BNWXlFTk8xRWpVcFFRM1wvNzZqUzhxWEJlalwvT0sxV3RtVW9DTzBwbHRQb09QYUYrc3d0aXR3c0ZcL3Q2TDdnQUVibXVmQUVwbUJjNHVoQWhmU2poN3ZodXJiV3Bic1drZU1XVFwvaSt4QXhYNzVXekNjNGpMSEVtVFcwZERvV0s2NWFIcEZxTmhjOURuSk1ETkFwRjRqeTU0XC9xbXpaaFFNZHY1WmtPSlwvZVVjWld5YnNCRDJ5bDZGenBrSWxIQkNFK1paWHZLNEFFcDdJbXRsZVNJNklrRkdNRUZCUVRFd00wTkJOVE0zUlVGRlJEZzNRekkwUkVRMU16a3dPVUk0TUVFM09FRTVNak5GTXpneU0wUTJPRVJCUTBNNU5FSTVSa1k0TXpBMVJFTWlmVW44Y2RpVU1WRkpuQ3NmeElGdmNjYmtWTURNQlc0eVJyejhRYjJYUk9wc0EyaUVIMDVDRUNzOGdMUVlmclpieElrakFPeE16UT09IiwidHlwZSI6ImFwcGxlcGF5In0seyJuYW1lIjoiQmFieSBHaWZ0IENhcmQiLCJwYXltZW50TWV0aG9kRGF0YSI6IkFiMDJiNGMwIUJRQUJBZ0NVcnN3WmpkNXBaRDFLYURwNnFxZ1p5bjNcL1UwU1pqXC9zbE1ZM3huSm9KVisyRnlGS01XOXNvYnp1ODVYN1VHbTQ1NUcxSEFzYm04RXlJRlZzaG5sRDFTZDVJbXpTZ1ZuNWR2alZ5dE1LdVdtUW90VUZWb3loZzBTYUhYMFpGXC8rWmJxUjN4YUVZUXZoQVpkTUoyemxBT2JSczZDd0hLQTZ4WVBRSWdvRVBWeEJoR0NLMVhMa0ZXUm0wUTkrc01qNjhcL3NhOUVLZlwvK29zbCszUjRPMlpCXC80Y000cDBqdk9CRDNGWUVaYURHSmJPTm9taWM1OCtpM1VyZjgyTE9hVVwvVkJJZkdDT0xZNzBKd1V3b2xlQVI4K3RMU2lKUkxrczl1anhnZjI2bmFTTUwzZjlINk9tampHMUxNZTJOdDJSWlp5RnlNa0d0ODRBQ0o3a1wvcVwvZ3VkeFdza2M1YTdaam1ncU80bXJCbVJteVwvRFp4Y1BjV2F2TFMrbSs4TlhhUFprZW4xaTZMNTNtdmIrQnJ5UnRJT0NnTStBaEd5VWFQb1hRT0Y0WGJMcWhOcVRIUmg2VWpINE1QTFlKclZvU2lXU3ZSc3YySjEyNjhyRlRIeUNGenZxdTl2NExDR2lQN0I0NUFGSm5LcGhGYjYya3I2Yms1dm1kYnBjXC9TOVdVd3EyYXZDYlVcL2RHRnlJeW41cmRFYW1tc2ZwMlgrcHJJRUJrTWRwTjFhckVydHRFcE1vQ3RwS3dNcXl0cnZnckR6UmdLMmlQV0FXdTVFWEIwNzZWSlhRdDRGWmd2V1ZINzdwXC9kMlpCMW54Q05OcDVjVWo5SVR2THd1Z25WRHFKVndkdDNaZTdtNDZkT2o4RitBSkFYMzV0OVdsR2htaDNNZW9pcTZWSndDZ1VTRUJDZmFpZVMzb1I5S0RYRENKWVoyYTVZQUVwN0ltdGxlU0k2SWtGR01FRkJRVEV3TTBOQk5UTTNSVUZGUkRnM1F6STBSRVExTXprd09VSTRNRUUzT0VFNU1qTkZNemd5TTBRMk9FUkJRME01TkVJNVJrWTRNekExUkVNaWZaK0p5Wjdmbm9tRFFteFE5bjhBaThtRTRVZDVtTjhFd1RTUkd3M2hrVXpsZmxFQmJtVzZIMGprMThoRHh4eFhvTW9pcllzc3VPQ2R0YkU9IiwidHlwZSI6ImJhYnlnaWZ0Y2FyZCJ9LHsibmFtZSI6IlNFUEEgQmFuayBUcmFuc2ZlciIsInBheW1lbnRNZXRob2REYXRhIjoiQWIwMmI0YzAhQlFBQkFnQnpZYkNBQ3ZZTjhGNE9TeFlsT3RQQzRhZDRFaTdIQ0ZkcjBQMm1TSWRoWDBEbDFuY05pS01aNkQ3aHluWnExSWl4b2VjQUxZSkxLTHlualcrR0pPeHpNempMSStNQSs3THdWV2tDRFAwaUhucExnSlV6cDJnNHNPd3I5VEdaeHo4NlZNekorTGhmT1U3NHRRbnlGNVFlRmYxS1QwdkdSUUdoWU1MUnNaN1pNbGVXeGdsbWE4V0RkRmtha1l6RDRtTEhtaFlzS09SVE5DNndzQlBVZXdkK05iWmtFQSsrYWpJY1RkSDROV1IwODhFeWV3QVdpajJXWHh2dnRFNUh6aDdpRUFxb0NVTlhjV2ViMFdrZUhUWVhPVTNtN2lYSDh5MThjeHpcL2lvVFltSUNjcEczdFg4dXZXbW1oaVpORmgwWkQ4K3BGY3JXSkF6NXhtQkhhM2JDdEx1ZjJEcmE2TnVENkRaOWlcL2JJZzhqQkorT3hlN0VWd0l4dVBNV0pESTFldm50RW1yZUxXTVM3cnlFREhqd2FuQ0xOdjFyelN5cEJsWkloaUp5Nld4bHZqSWpla3FqRk1iVkpZbkpOUm9Kb2xNU3lPQW0rcUUyZnRNXC9lNlptTjNGZkxsR0xwcVJJRzdtMFEySjFtdWlKQnYrQTVGTEFKNUc5Z2pWSnZERTRpRUk4cExiWDQyVWxGbVJNUkFjQ0tOdVZzaWxmOGJXM2ErRHhcL1QyWHVMZEZFM2pUczVLaVFNODlOVnVrVmZJUjBCSmlcL1lNWmRHcVF1WE54R0E4WXhiSHo1VDdYUWZ1Q0hnSHNpYVd2R2ZnbjNYNG96VHlkZENmamd1SUowcE9mRGkzclV3aksydUgwZUJ3elRFNzc5OEFpVmNqQzUyelVFdHBaNmZEZ0tXUkJDRXVkZ0d0VjRWenMrQ1BJcFJOYVk0QUVwN0ltdGxlU0k2SWtGR01FRkJRVEV3TTBOQk5UTTNSVUZGUkRnM1F6STBSRVExTXprd09VSTRNRUUzT0VFNU1qTkZNemd5TTBRMk9FUkJRME01TkVJNVJrWTRNekExUkVNaWZiT1dHN0liOTh1Qng1cjlDNEtpMU1PeVA2c2tJZGdmcUwwTFJcL3RNeVFyblFqSEdVVkNOaVwvdFd1YUYwdWJxXC9FR09VV1J2TjRkRVI0aVFpSGc0PSIsInR5cGUiOiJiYW5rVHJhbnNmZXJfSUJBTiJ9LHsibmFtZSI6IkJsb2VtZW4gR2lmdGNhcmQiLCJwYXltZW50TWV0aG9kRGF0YSI6IkFiMDJiNGMwIUJRQUJBZ0JZRWpIUVhIc1BRNTN6WXBXTnlEdkM3U05sckxMYUFoUXBqRVlRazhQUG1kYWF6TFY4OWRvd2YrYSt4ZXBQOHRIT1RVd3pvYkRWalwvS1U3NzZ0UDU3SG1jRTRnanNVaWtEWEVmaVY0XC9DU21wNndzenkrSUtrdFRUUUpcL2l6dGxkNyt1dmxBdFJ3MW1WUFdvZmFBK0I3ZmF4Y3hkdUMxalpwaStTeDdjaUtIUXlsR3ZVbVNlOXNhb3orWjhWeXlsZFArSzBSU3pDMitQdzhDeUtyYUwxNjltRFVYV1wvNUZOTmI0SWc4SFJWU1hcLzVMaGkreElja1NOZWozd1dFNVdCUmNuelgwUFVWS1ZLOGlNTzBSUFZObW1CQXUzZWdzREtmODRGOFlRSjA4c1lFdXBhMW9yRkh6dlZtOUprSHpjYTF6aktEOW5NQTBydjRBS2FnbHB5XC9qODVoUExCUk12QkVYZEpSazhGRG9qUDRDN2NYZzR5eEx6NllicVQ1ak9CNGhkOUUweEJmeVJsNlQ2djdYVjh2elhBXC9YeU1zUXBIOEY3cTlrZGRBSW9iZk5seFNyd3FSbVI2M3pQSVh1WE91ZE1pbnhsSDVCM0YzUkhtRzVzN0l1eDZ3TEUwdnJmRUpiN1Q0NnZuXC8rZWM2cTZYelwvdWJGc0UxMFpmZnZJeUVNNDVObjRCdnNndm5MKzMzek5yeWwzTEVBN1pZQ0xjem10TzE2amt4UGE1ZWYxbmNZbjYrbndQYXl0bUFCdEpXVjVMR0Fsbm9DQjhsbFA4bHhEV0ZRbWNjQ3ltTzVDNUtxVDI3TGlybHdyMis5ZWE3bWIyazJtcElxcmtiQTJvVzA2R1hKOHZHclhIbFo0dlJ0eFhpSk0xU1hOaVU0MHRmanNZNTZkWVR3aDJaUkRvb2lwblByZ0JyZ0R0d25FU08xWVpBRXA3SW10bGVTSTZJa0ZHTUVGQlFURXdNME5CTlRNM1JVRkZSRGczUXpJMFJFUTFNemt3T1VJNE1FRTNPRUU1TWpORk16Z3lNMFEyT0VSQlEwTTVORUk1UmtZNE16QTFSRU1pZlZxNFVNWm5OSnplem1UUnFCenkrWlVDaVwva2dROHBMZlwvd3VXSWt0K1hZdVlkQk5qelo0d2dpdlNVNVwvaXh3WFJyNk9JcVJtbmZMVkpReVFrd2M9IiwidHlwZSI6ImJsb2VtZW5naWZ0Y2FyZCJ9LHsibmFtZSI6IkJvZWtlbmJvbiBHaWZ0Y2FyZCIsInBheW1lbnRNZXRob2REYXRhIjoiQWIwMmI0YzAhQlFBQkFnQWhYYTIxRjRyZ3ExUE5pK1Y5dnByNmJ1RTdmTVoydmZYZmtsSUhzOXlMTzBVd2FFQkx4RFkxYUxSRGtyQ29QWFwveml4eFEwSitpTTdXSk1hUlBqOUxvODZxK29lZTRVSnQxcTNsYzIyS0tsck93V1NzTUFXUTRFdnRGZXh5SVRsOGpPcWZTenN0cHJKRE1DNmE2Y21EXC9VdXUxXC85dStFdWNUOWhMem9yN3VUcHZFQitxUWRXaFZPWGtJYmkzWGdLdXpIa1pGWldDXC9jWG1ldXZpaHlhRmRTMkU1Tjc3QWZFbHB3VFVqamtTV2RodVRUNFlwRUt2VjdlR05jYjR0a25Qa2h0VzdYTlhCak9lRmVjTE5KVlJTUFBzOHpoMjVuaWJaMExFU0VBeFVWUUkrSXgyYXFUMFwvWUFSaFpzS1dWa2Y3eVcyNGVQNXVMTyszWGNtSThHQkh5ZDd5c1NEVTVSa1JCY2llSWQ3c0JJMW5MeG14Z0FcLzRFMFlSZzNrY04wbFwvZWp5TEtobmRQc2hMcGNiSnNkUWR1cFF0R2oyd3ZLOWlYazVQcXhsZ1k4eG1JNzNEckZJOEhqNUtZcTVCbVQ2QzE3SjdLbHUwb2xMYTJ0UVBrcTN5M2pZZ0RjK1VodUNqTEVTVnQzckVlOExHZEt5VmcxTmlKeEpWMmlGK3dxT05zNkZKQk1LaFwvRHQ4dU1rdDUyOGxSV2tjc1BBMGtDMTgyWUVZempNRm5XTXMxTmFTZW10d0VkMmdPdk5KYkFOeGR1SWF3ZnJYQSt0bUQ1Vms2Tm5NY1dmTzIyaGxHdThPdlwvQTJkMUJyQmExMjEwT1B4V2k1aDM2ZjR4T3ZDSlpCMWtackZcLzhMYndETnRoR3VJT1VvRnpYNHMraDFqWUduRzAxSzN1bm1hUkFVTVlzYWJwNEwyc3c1TVU5WnRQcFJBRXA3SW10bGVTSTZJa0ZHTUVGQlFURXdNME5CTlRNM1JVRkZSRGczUXpJMFJFUTFNemt3T1VJNE1FRTNPRUU1TWpORk16Z3lNMFEyT0VSQlEwTTVORUk1UmtZNE16QTFSRU1pZmFPOERYT1REdUVwMTJaVEoxN3hzYzhoUE5NU2QyZkVNTlk1S1wvQnEyWkhrdFIrSjFTaXA2emwzQU1BUUpEZWRQTVVOS2hZSnBSZz0iLCJ0eXBlIjoiYm9la2VuYm9uIn0seyJuYW1lIjoiQ2FzaC1UaWNrZXQiLCJwYXltZW50TWV0aG9kRGF0YSI6IkFiMDJiNGMwIUJRQUJBZ0JzWmlIRFIwR3ZlM3pjbm1ZdEx4TU9UWkxTNFZGM3dXcUN3ZHRzcGl3SllpOTU0YzBha2Z0Z0t6S01NY1hvRlJYRFBacHFKMURlQmJrWjVlS2paelJXbmpsaUU4ZmpPMFBCQU51ZmxiUm9Od3lIZStlVmErMHJsdmUwM3VhWlFwNFZPNjZXakZMU1wvWXVsWjFBSkdHeWhrYTNNVmtoc0U4QVdkSmVTQURDVEtGVkpBOHFDMWxCSmphQlwvZUxBOEVIZXJxUHhIWXBpNHMreWtGTXNmaXBSSFA5cElrKzV4VUxFK1M2TnRUbU5WVDlKV3NENkYraGJERm02Qk90clVuRUt4M0ZtbFpTWU1ZNG45Q1QzcGFGMHNIMnBOcUowUFo5UWdJek8yMXBiOUJoQ0J0KzFyWGpMTlhwODJrT3pCSTNZUlZkUkdDZVNRMlJwNjl5Y0FHaExpa2Z0WjFmd1JJVG5yTWZqdEVoZ2RTMXFiSWlFc0FoeUIxR0lCYTA5NzU1WjE5OVU0UUlOdk1JaHJGYjQ5RzFZT3NQeUJYTXl6UUhnRUFVeFk3TDFINUN3TERvNnNrYjJMenJzZWFvS1hmRjRCb3FmRVNvRmlSYm5JXC9PY0Qwbmg2K2pGc3dISVBYSmNDUkloZlBxdVwvcHZuSE5zK1RwV3pKZ3dRVHlQeTFDMmszRDBlNWdIMUk0Z2NuNDZ4WXBaOEljY0wzVTUzQ0lJRkZMYVZ3am5cL3dVYWNrUU8rK1NpeENpVzJBMG90NXRTK1RWUXM5dzhRclZXS0xMaXFUU3VFcmNtZ3lUaTM2UTBcL2h3SmM4WUN1TXpTRVlpTnhrMnd4SFRkbEhHNFwvVzIxYTZFTXArU25DV1Fub3RhdVIzNWM2bkg3ZnJZSHc5eDE0XC9VSjhSWTZlRyt4QjRmTlwvS1c1MjZ6Yk5nSlBMazRmQW1BRXA3SW10bGVTSTZJa0ZHTUVGQlFURXdNME5CTlRNM1JVRkZSRGczUXpJMFJFUTFNemt3T1VJNE1FRTNPRUU1TWpORk16Z3lNMFEyT0VSQlEwTTVORUk1UmtZNE16QTFSRU1pZlQ4eStZa1U0XC91OEY5a2k0bWc3eVB4YzlzZndJalErZVlpaGVudjZpNTFSVHNOakhURUNvUHJRek1INDVXVDZldWgwOHRYRkxFbUUiLCJ0eXBlIjoiY2FzaHRpY2tldCJ9LHsibmFtZSI6IkNoYXNpbiBHaWZ0Y2FyZCIsInBheW1lbnRNZXRob2REYXRhIjoiQWIwMmI0YzAhQlFBQkFnQVVDUHJtZmdjZzFKektIOTlEdkdyOEJrcEQ4SDc2SUphNVg3Q1FsblJDQzRaV3hMYnI2c0M3V1FiWWhRalpRMGxZZFRNaXNZUGwrOFFqQUVQcjFONk9Hc1dTYm9mckJoYzhvTmU2UTVcL2thSmtIVzVKRnFVZ01qbnVuK2pTRFJOU3l1TE9kc1BnT1Y5QmNLT1l3aWVoVjd2OGR2dG1TM0tXXC9sMFRNZ3dIRW40VjZiaXhJc0RrRVBkN3VOWDVwOXViVm1pS1FXN3FyeTR2WHErT0ZiYnhJV3VxXC9MOUZhd3ZLY1licUZqZ3dnc2RabFErWTV6bWxhRFNRMWhmVjlMZm80NFBoM3ZYRDdFdnl0MVBLcm1yaWZpOGhjRGVLUWZXNjZrQnVsZkl4ZXNJXC9NUzJDMTNaOGNEK1d1dFZHMHJiRDB1YzVjeHR0bTg5bWp2WnJCZXo5UXFUTEgzTUJLMzFXRDI1VXpYS1JrOEMyNUpkYjZpd3hSNU5URHJSRlF3ZkJndEJkRlNwdjNqaGQzXC9MQ2o1eWNQa1ZTTk9LUVVwaVQwR0lCTko0Zjd1eFk4K3ZUR2ZjU2pGNWp6NGtxSThYZ3IrKzF2RkFLQ04wS01xRW9lUEd4UEllVHN6U0NLWmpwdFppb054ZVI3dVUwd3ZhSDE4aXFabFVtS3k1SzhyMDBmWkFreEM4YUZaT3VLU3g3SkRkemN4N1Jidis0ZkJpTHJ3RlhMc041TnVrc20wV0lRRTd6aTZKNjdTR1h0bHJYb1wvYnBucDFkdVp6SjQzS21XWllsamdsWGRcL2wydXNySVlDMDhkcUV3YzREVUhLSFZmaVl6WmJ6YlcrSnNha0I1YlU3aVhrSnlPMG1RWlwvcEM2Zm5Wb2diNGJvOGNvbGMyZnBNNU9ENWxuaFJEZUZ6NmwwRittc3JGZlg5dnYyNHdrQUVwN0ltdGxlU0k2SWtGR01FRkJRVEV3TTBOQk5UTTNSVUZGUkRnM1F6STBSRVExTXprd09VSTRNRUUzT0VFNU1qTkZNemd5TTBRMk9FUkJRME01TkVJNVJrWTRNekExUkVNaWZYU1ZEN1hxXC95VDlKbmZVNG5RaU1kcmNmMnBFNDVIcDBlZDZoTWY3ZTlUZyt1WVwvZjJpNzBRcEwzZHhwdW1VY25kOXpEVVdUT0pjOGRkcVhmUT09IiwidHlwZSI6ImNoYXNpbmdpZnRjYXJkIn0seyJuYW1lIjoiQ2xpY2thbmRCdXkiLCJwYXltZW50TWV0aG9kRGF0YSI6IkFiMDJiNGMwIUJRQUJBZ0NwakJPeTYrWGhWTkdjRDNYUWttb1pkaHY5ZmFtMzA3cW1HZERrZGllVjVjN0JOK1FaSFYyWEY4QXpnUm1tVXdUdEhHZ0N2eElBN2lJYURpaFN5cEI1WGpDOU5GdTFDRHdGczV6ZlBTMDlrdWlaeGdRWG05YW52VmxVZ0R5N2wwMDF5K240bWFRdGdYaE41b2xhVU1FUTkzUVdnMldLZUxiQXpiRTEraGVidXM4YmNqQWNwMzAwVGZJd1NENnB6dEp4alFmd1J2TnpMcmhSZ3N6UmlwaThydWlHTUkyMDZZeEpVcTV5anBWNmN1dDhNZ01maW9oM1wvXC9QTG9pVldvQ2prckswUjNUakwzNmZSVndZNFhOQnNsY3pmRVVsSENUbk02akxqakNxeUFtTkhheTNvTHY5M2tcL1V4YUpvVW85aU16Rm03Z3UrTk02VlwvZXJ1U3ZqMjhkeXB2K1VOKzRKQXMxUElPZWloeE9ReEk1Nlp2K2pLVE84R0tMMlZET2VYa0JOeTBnUW1tMEIxK3Z5RFVHU1Y1SW1jXC9Za2FmazRxZ1hQWEcwdHoxTEgxVUhndStiaDlxcjYzekZwaWxScGl1OE9rb01xSGE4Q2txeXJZRytBdTlRbDVWZmgzWkpTOVJGOW11MWxsWTJBdk5kb3VlNzVyZGdsRDZrSm9wMm5nXC84UE84dlVTdDI5Q2RlbWFtdGN0OHpRWGQ1cXdDNWp1a1czKzkzYnJEMzR0VGRLZGk5ZGxwUWFcL1RjbGE5dndWd3hFZXJxamlTS3hcL2dybCtSNm9qa3RaWFQrdHBvNUFlZXk4NUVtbE01TDlcL0NzdE9RRGpBXC9oVVwvRCtpaXhhOHo4dmxyR0dVaXNTT241RnF1M244NWliMUtHVytSSE5RQUp1NnU0WlJCQ0xoRFVIWTVxTm1HSnREOUtcL3B2eVAxZnNBRXA3SW10bGVTSTZJa0ZHTUVGQlFURXdNME5CTlRNM1JVRkZSRGczUXpJMFJFUTFNemt3T1VJNE1FRTNPRUU1TWpORk16Z3lNMFEyT0VSQlEwTTVORUk1UmtZNE16QTFSRU1pZlNGY21tRnNDU1BUYSsySnRMeEMzZDlNRVdYbXR0YnQ4NXVLS3BVbnd3bzNNRDFsZ3UzMGo0Nmc1MVRhVkVUUE51NjNMWlllQzk0PSIsInR5cGUiOiJjbGlja2FuZGJ1eSJ9LHsibmFtZSI6IkNvc3RlcyBHaWZ0Y2FyZCIsInBheW1lbnRNZXRob2REYXRhIjoiQWIwMmI0YzAhQlFBQkFnQjVkaDBlMFN2VFNkWlNxTllNTVh0R1NzVGx5ZzRjaExudlYwMU5wTCtXN0k5TXpcL0tnd1hZZStMWXVQMnlHb002VEF6UWFjRGNsSTNBQW5YQVFKaTcrNWF5XC9qXC9hMFwvbTlWaUtqbU1jc081ZjhTM21seFZBcHlJcDFsS1FvZDFRUldkbmZHaTJqc2JxMkRRMmhPYTJXblU1Z09vZkRQTlwvT2JaQkFoWkszRnlBQmZKdlErbUhNUTN5ekFWNlVNeFBLUjhWUlJWQnIzcWV4cGVOc2FTblQ0NkpwaWpKVVU0QjFGQUpVc0l6aXZ2RFN6QmNYekJOSVwvOUVLUWJBOHdiTGI4VkdWd0tCSHVuNXJQQjVqRDF1Q1JqdnQ3ZDBYdUE2aE5aaUo4eU1VOFp2NHlEY1wvWW1URVN0TnpabXkrWmpTWk9IV0tPem95Q0RqZklDSm4zUm52aFdKSkROTGZiWlwvOUtRVjhOY1BtNk1wbTBmQ2pmMTUyVVo5WU1wMm5LaEdaaG5panorWExHa3pVZkFva3JKQjlkK2UyRW1pTWE0Q1J1YldcL2d3RnJnMHlXSzNjVVY2K0ZzSlQwTnlUS2todjVcL2s1cGFEdnAxR0YzSnZJd1hQSnpwVUVrWVRvbENYQmVsZCsyWU5jZGp2VkVXQzYrWUMrWEpvZnFTanMrRWFuS2NvRzJnaXo2UVh2OUVTWXdJT0xRQzdUY3hIaHd2SnU3bjBxRVBXV3ZLVWRZbnhXNTdaWkt5WmVBbHdsWjNsNm5Od3Y3ZDJjdkV3eFdJXC9NU2YwZHFnTjBtdk5KVHhwRXBEYjdVdjg4SWRBMVFIQnpsOHk1UmZuXC9YVDg4eVhqMjFCTjJ3dnFBbnZDb1UyMkZndEs0MVRpNkhCc1JSYWtYZWFha21pbEpmMEh4RFdoK3dleEhub2p0cVhHV1pnUVp4bEFFcDdJbXRsZVNJNklrRkdNRUZCUVRFd00wTkJOVE0zUlVGRlJEZzNRekkwUkVRMU16a3dPVUk0TUVFM09FRTVNak5GTXpneU0wUTJPRVJCUTBNNU5FSTVSa1k0TXpBMVJFTWlmUTZrcXdTYStmSXNkQjF1aklRQjNVM0VnckdsZFJiNjIybnVQNXZDZzl2Wk01TWQyZGpmbW5ZSUs4cG9qMVdRTzRcLytacExUenhyUEZZYmsyUT09IiwidHlwZSI6ImNvc3Rlc2dpZnRjYXJkIn0seyJkZXRhaWxzIjpbeyJrZXkiOiJlbmNyeXB0ZWRDYXJkTnVtYmVyIiwidHlwZSI6ImNhcmRUb2tlbiJ9LHsia2V5IjoiZW5jcnlwdGVkU2VjdXJpdHlDb2RlIiwidHlwZSI6ImNhcmRUb2tlbiJ9LHsia2V5IjoiZW5jcnlwdGVkRXhwaXJ5TW9udGgiLCJ0eXBlIjoiY2FyZFRva2VuIn0seyJrZXkiOiJlbmNyeXB0ZWRFeHBpcnlZZWFyIiwidHlwZSI6ImNhcmRUb2tlbiJ9LHsia2V5IjoiaG9sZGVyTmFtZSIsIm9wdGlvbmFsIjp0cnVlLCJ0eXBlIjoidGV4dCJ9LHsia2V5Ijoic3RvcmVEZXRhaWxzIiwib3B0aW9uYWwiOnRydWUsInR5cGUiOiJib29sZWFuIn1dLCJncm91cCI6eyJuYW1lIjoiSGl0ZWxrw6FydHlhIiwicGF5bWVudE1ldGhvZERhdGEiOiJBYjAyYjRjMCFCUUFCQWdCWm9zVDVSMStcL1M0ajRIR0VOV1dBXC9pUGVRZmtqeHVqaHRPTnBQYzQ3aGF1VHpEYWVxV0hKVmhcL2htdTc1NUJwV2pVXC80WE55ZlBYZWRGT0hSTkNWZzJyNldya1lNeFMrK0FHeUdzTXBqdXA0Rk5uYjM1cGtXQ1pFazNtZXVvaWpodlRxYnppeVpFclVDNTI5TDIyQmdtbUg3Z3BheUJUSkVmMkRTWW5Uc1N2NTJBNWllSjdiUHJvY2IyeWxHV3lMMFZoWGR3UVZZZlZkd29ZWGJhVlwvQVp2dTlzNXRmNzlFd2Y0bXQ2Y25BeXRFa0pTWGdaNEdPZUZIdEp5UGRxcjlwZVwvd2pBU3JvZzdYTVMwRXpoWjdyR0k3ZUI1NDV3R0ZpandtblNsc3JGMEpLTThuRWdmVEVuU1c4czlhckVFd0M1Q0g5dThhN2FoZ2ZrY1I1Rzh3a2E3OGJkOG0wck9oNzFnb2JhWHF6c2g2bkRMSnhvVkpJN1FGNXAxQW9vVEpKSmlsOFE4SFpkQmxCRmZ3QlBXSElhV29uODE4SkNnTkxuaHljSXBMNHBKNXYzNEsrbGg0TlE5STRiZTE3VjN0RkdBWHZYRmlHZUJNUDQyZU1UWGhHd3R6T2d5d3JjS2NMZGNyemxseGxIYUs0UEVvTWtoZUpGNWhzbU1RNTh4VzBuWit6RXdPa09IaDZzMENGSFIrRlR0SEp2a0hxV05BVzVMUTBsQ0VtMTdxd0crN1Y0S1oweDdmSVlOMjJ3QW1zRzNRc0pPMVFpM3FvQkJabmNDNnBwTGp1SW1BZ2hjT0hCd3V1Qk51RFpoVkVRcTJNV0NLdFFINGFtQ3ZnaGhCa01La1IreThvZEVHNjE4Tk9FZnlGbDloZVIxM1ppMnBDK0FcL08rY0N6Zit4QTZ4QndBditMckVwQ1NUamRlZm5BTEFFcDdJbXRsZVNJNklrRkdNRUZCUVRFd00wTkJOVE0zUlVGRlJEZzNRekkwUkVRMU16a3dPVUk0TUVFM09FRTVNak5GTXpneU0wUTJPRVJCUTBNNU5FSTVSa1k0TXpBMVJFTWlmWG5nVjlFMUl3RFREMEZvOVwvYnVwR3VzbzZERnlabGowbUk5ajBQTHQ2SGFmQnh0bk1sK29IVkJidWtaZmoxcmo3QjZzZU09IiwidHlwZSI6ImNhcmQifSwibmFtZSI6IkV4cHJlc3NQYXkiLCJwYXltZW50TWV0aG9kRGF0YSI6IkFiMDJiNGMwIUJRQUJBZ0FsUmhnMlwvWnFTZW13cjhJaCtFUE9keUlJMmQwRnFkK3Z4V0VibkxobThhVEZHazVjSjdCWHdCdk52cDcra1NrSzIrdTYxU2VLemJZbHdrOHdaWmVMVzlablN2dEZvY3hFSFlyaUF3ZzBWNmZlV2hNRmxWTnd2TXdxWlwvNjQ5eStlQTZLRVgwZUN4TkpMSmdHZnptZ3lYMklOM1I3U0VCelhvaWRGRElcL0J1OUwxTDBvVG4zWWpxOXpHanJnbWxQQlVWOUNVTE01YmV4SDZhdFdaSm9YdlFkYVV6RWg2VE9HR1RZNm15RmwxVUVWazUrdEdQOGltbnpwQWlOMU5FR3VBelJhd05oNHloZmtQcFEwQ2ptMkNORkNyaTQrQTN4KzIzalhrUkZTSnRDc1pJeWw2QWVYdGJEZEJFd25SazlYTzBHQ3hxVHd2b3FNVDFtSXA4dHI5dzBWU2lVUWZPMVlIcmt5XC9OMURMamtXdUFtdVprVzhya2dPM1hWaHdydGNsbUg4K3lWaGowVm85Tm1ySklROUk2SXF4Y281KzM2OE44cGx6VUNzZUFsV01taWhkbFNqT0p0UTJiaG5CQ0pSMkErMUtTWWs5MmJBY2NhZTJXUU1XVTJjYktaeFVJSU85SWR2ZW5kb2FMelhqXC9PdnBNdzNINk92U2J6VytaNkJGSzFpenJOUmlsclV5UE9HNXlMXC9ibm1wSEp0NHVlb1gyMkp2bllDUTRLT0JhMkxqNkVVRnlRYlpieXYxNnI1YlRFcVg4a3NacVZwTG5TSGh2eXg1a0ZjRm03aDI5XC8rR3paOGlcL1ppKzFXMTIxR0J0MzgrWm1tTlR4NGl3UlJQUTd6Y3AyMzhjUG54YXJ6SE9McFdIbXI0MlZLclU4cmEzd2k5aTJBb1FoZDBoQVE2Z1hBeDVFc1lCQm9zXC9UelJUYk9BRXA3SW10bGVTSTZJa0ZHTUVGQlFURXdNME5CTlRNM1JVRkZSRGczUXpJMFJFUTFNemt3T1VJNE1FRTNPRUU1TWpORk16Z3lNMFEyT0VSQlEwTTVORUk1UmtZNE16QTFSRU1pZlV0SDB4ZCt5VTZGcWhkanJ5TUc0ODNOYkNhOG9MZGhSbTlROXVOVHdJQm1xcWFDV2ZBVXJWVzUrSUlxMzdEWVYzMD0iLCJ0eXBlIjoiY3VwIn0seyJuYW1lIjoiY3VzdG9tX3NldHRsZW1lbnQiLCJwYXltZW50TWV0aG9kRGF0YSI6IkFiMDJiNGMwIUJRQUJBZ0NUXC95QXNHc0lDUHNZSUc3aGlPd1o1RCtiMU85RytLN0dmUWZiSnJZbWZGVlBialNxaFwvWGFLZFphKzFtVGk1Qkt3dVVBVlwvVmxPUGtQUTV5SExTOVg2RHFCOFlxSlZTZVdFQzZIc2ZYMzFcL0FOSjdaY0w0SEZoVnEzUk02RDBiXC9WM2lYNERvT1E4eUhxUHlcL2JOSFl4YWlGNDNwc1VIZEJqV3NReUZWbGtWaGY0SmhDNGZKZFBsT2FjYWc1dHd5WkhEdFdNOFF4ODAyVDNHRldVako2VTA0STBBaWdVQlRNUUg2QmJrdGh0TW5DWHNvaWU1K3ZiV25kRDczdjhsdWd1SHdcLzV3aDVlYnd3c2dtYlZMemkwXC83T0lUUzk2aGlBUXFSMnU4ZEJTQllLaFg0RzN6ZkpobU5KeXAxZzJ6NUJVN3RKcFwvSVlVK0xTRHFrUUpubVVlRmhRR3Qyd0FGSWdGcWpJcVRyRkR6WURYaXdiMlUyanlncjh2MlR6R2J0XC9oVFRrbnZcL3hWU0F6VTVEekFESnM4XC9udjdsMHVQNVhXQUVGWGZJN3d1VUh4QlR5U2xJV1BBSFwvK3VveWh1K1FMZkFUMWpMVzRzck5UUGdNbkZsZ2l1U1JWaVwvS0dQQWxONEhPMk81YnhXeFVaXC8xMzZBazhFbDdcL0JNelI4dGpQUkc3T1VqWnArNGVoaENYTmVlQkhcL09KXC9GeWtOdXlzS1NrbGhiT0U3VGcrTjBwTlpcL2ZpRU9nQ2gwT1dhbThGT3J0TE5POUxaXC9NM0hKaUZZbk9UOGpkSHA5ZHZVSUlaOTc1OE5cL2pHK0VaclZ3TkwwYmZIMHRoTytHaFRLQ1BzZmNPM0o2clRZZE9wVzh6TWlqZkxrK0tDalZReFRENm9jMjdIYTIzTm02Z2ZOaEFQVlwvdytQdGI5ZjRXY21ReXFUdUdGQUVwN0ltdGxlU0k2SWtGR01FRkJRVEV3TTBOQk5UTTNSVUZGUkRnM1F6STBSRVExTXprd09VSTRNRUUzT0VFNU1qTkZNemd5TTBRMk9FUkJRME01TkVJNVJrWTRNekExUkVNaWZSNzVYVytqbjdFY1lNMEY2K293WERyYmhpKzYwazF6MXdsS3IyN3ZJeUF6cjhVOTFKbTE0UTdFemxMOXpybGJYZDdPemVNVmpiQU9DZEh4SmEyTVhBPT0iLCJ0eXBlIjoiY3VzdG9tX3NldHRsZW1lbnQifSx7ImRldGFpbHMiOlt7ImtleSI6ImVuY3J5cHRlZENhcmROdW1iZXIiLCJ0eXBlIjoiY2FyZFRva2VuIn0seyJrZXkiOiJlbmNyeXB0ZWRTZWN1cml0eUNvZGUiLCJ0eXBlIjoiY2FyZFRva2VuIn0seyJrZXkiOiJlbmNyeXB0ZWRFeHBpcnlNb250aCIsInR5cGUiOiJjYXJkVG9rZW4ifSx7ImtleSI6ImVuY3J5cHRlZEV4cGlyeVllYXIiLCJ0eXBlIjoiY2FyZFRva2VuIn0seyJrZXkiOiJob2xkZXJOYW1lIiwib3B0aW9uYWwiOnRydWUsInR5cGUiOiJ0ZXh0In0seyJrZXkiOiJzdG9yZURldGFpbHMiLCJvcHRpb25hbCI6dHJ1ZSwidHlwZSI6ImJvb2xlYW4ifV0sImdyb3VwIjp7Im5hbWUiOiJIaXRlbGvDoXJ0eWEiLCJwYXltZW50TWV0aG9kRGF0YSI6IkFiMDJiNGMwIUJRQUJBZ0Jab3NUNVIxK1wvUzRqNEhHRU5XV0FcL2lQZVFma2p4dWpodE9OcFBjNDdoYXVUekRhZXFXSEpWaFwvaG11NzU1QnBXalVcLzRYTnlmUFhlZEZPSFJOQ1ZnMnI2V3JrWU14UysrQUd5R3NNcGp1cDRGTm5iMzVwa1dDWkVrM21ldW9pamh2VHFieml5WkVyVUM1MjlMMjJCZ21tSDdncGF5QlRKRWYyRFNZblRzU3Y1MkE1aWVKN2JQcm9jYjJ5bEdXeUwwVmhYZHdRVllmVmR3b1lYYmFWXC9BWnZ1OXM1dGY3OUV3ZjRtdDZjbkF5dEVrSlNYZ1o0R09lRkh0SnlQZHFyOXBlXC93akFTcm9nN1hNUzBFemhaN3JHSTdlQjU0NXdHRmlqd21uU2xzckYwSktNOG5FZ2ZURW5TVzhzOWFyRUV3QzVDSDl1OGE3YWhnZmtjUjVHOHdrYTc4YmQ4bTByT2g3MWdvYmFYcXpzaDZuRExKeG9WSkk3UUY1cDFBb29USkpKaWw4UThIWmRCbEJGZndCUFdISWFXb244MThKQ2dOTG5oeWNJcEw0cEo1djM0SytsaDROUTlJNGJlMTdWM3RGR0FYdlhGaUdlQk1QNDJlTVRYaEd3dHpPZ3l3cmNLY0xkY3J6bGx4bEhhSzRQRW9Na2hlSkY1aHNtTVE1OHhXMG5aK3pFd09rT0hoNnMwQ0ZIUitGVHRISnZrSHFXTkFXNUxRMGxDRW0xN3F3Rys3VjRLWjB4N2ZJWU4yMndBbXNHM1FzSk8xUWkzcW9CQlpuY0M2cHBManVJbUFnaGNPSEJ3dXVCTnVEWmhWRVFxMk1XQ0t0UUg0YW1DdmdoaEJrTUtrUit5OG9kRUc2MThOT0VmeUZsOWhlUjEzWmkycEMrQVwvTytjQ3pmK3hBNnhCd0F2K0xyRXBDU1RqZGVmbkFMQUVwN0ltdGxlU0k2SWtGR01FRkJRVEV3TTBOQk5UTTNSVUZGUkRnM1F6STBSRVExTXprd09VSTRNRUUzT0VFNU1qTkZNemd5TTBRMk9FUkJRME01TkVJNVJrWTRNekExUkVNaWZYbmdWOUUxSXdEVEQwRm85XC9idXBHdXNvNkRGeVpsajBtSTlqMFBMdDZIYWZCeHRuTWwrb0hWQmJ1a1pmajFyajdCNnNlTT0iLCJ0eXBlIjoiY2FyZCJ9LCJuYW1lIjoiRGluZXJzIENsdWIiLCJwYXltZW50TWV0aG9kRGF0YSI6IkFiMDJiNGMwIUJRQUJBZ0FvN0lubWpyZ0Z3bUE3bG0xZVNpRU55MGNEZTkyUUs5ZUNmdHlaME1Sc1NxdWdHWUYwa05kRzhMQ3c5MkZMY2VNbm5salRHTTVoaG1sVG5oVWxCRVNTZmJTT0xmOGQ0RUNDY2MyVzRnVkNOb094Y2NIem9RT0ZudW1qd0s3XC9OdzJGOGdYSUFwQ3hSVUNuemJaZFBkWGJ3b0pSYWFrNUtPSWttZ1N0RU9CQW9pa3Z4dmNja3ZPc1A1Szg0dEs2UWx5YXZMN3BYRFNWSWN3c2l5S294elc0N3dqQzA0dGk3RCtEa1BxQmI3cHpoY3g4RnU0Y1wvMjhBaFh0aW5OTVBMdERQakRGQTR3a0xIdlZ1VUJURWlSeTI3eDV3Y0RXYkhPVkVNblA1eXFLbUp1RDdNc2FkMDl5OVF4SlBnbjl1OVNsYlA4M1p4UFJORkQxamp4M3owZnRyUVwvOEd1MmVcL0JRMWliMUVTMWVSN25PRzA4cjVhWjhMcmtKTWRidXhZSzVFT2JDQXYxTEthaUpOTjBFdXJzWnNxKzBsTFIzSTZOZHR2eGxJQ3JpbUNZUzJwQjJ2TlhvaERGOFE2Z2ZjRlpnQXA4Zkg3cVZtTVBub2t1UDRJOTQ3Z2JEVGRcL2dIXC9zeDVmeFVWTjlvUlFXQ21oTlwvNnkxNndNQ1c5RFY0dlh2RTF6VWFUTkRNNEUxRXhpaHIxOVVLeWlmQVwvRHJOS2dmQkU2M1NTYXY4blQxdjNONDZHWmJSOFhmWHMwUjZpYWQ3bnhnY3JYOTc4b3A0ZlJ0MnR0OHdjaXN6dWxBb0RRcDJ4WENBRlRjczM5bUJxQkUyOHpoOTd3RDJ0djJtbDRTaldVMkhKZlh3WDB3WVVBWmRiYzVNMGU5YTFScUx3TTVibEV4N3ZlUjVTYVV4QTBaNWRNTDk1THUwR2pkbkR5clRiUUFFcDdJbXRsZVNJNklrRkdNRUZCUVRFd00wTkJOVE0zUlVGRlJEZzNRekkwUkVRMU16a3dPVUk0TUVFM09FRTVNak5GTXpneU0wUTJPRVJCUTBNNU5FSTVSa1k0TXpBMVJFTWlmUmp6MWpuanE4bjFuQWg5Ukd1YkJyV3dQSmpMUzdJaFJhYzlTenJZYXVEZXFQY2tlbjRBbTBYcHZ6ekpKNk80MmJBVVltTT0iLCJ0eXBlIjoiZGluZXJzIn0seyJkZXRhaWxzIjpbeyJrZXkiOiJlbmNyeXB0ZWRDYXJkTnVtYmVyIiwidHlwZSI6ImNhcmRUb2tlbiJ9LHsia2V5IjoiZW5jcnlwdGVkU2VjdXJpdHlDb2RlIiwidHlwZSI6ImNhcmRUb2tlbiJ9LHsia2V5IjoiZW5jcnlwdGVkRXhwaXJ5TW9udGgiLCJ0eXBlIjoiY2FyZFRva2VuIn0seyJrZXkiOiJlbmNyeXB0ZWRFeHBpcnlZZWFyIiwidHlwZSI6ImNhcmRUb2tlbiJ9LHsia2V5IjoiaG9sZGVyTmFtZSIsIm9wdGlvbmFsIjp0cnVlLCJ0eXBlIjoidGV4dCJ9LHsia2V5Ijoic3RvcmVEZXRhaWxzIiwib3B0aW9uYWwiOnRydWUsInR5cGUiOiJib29sZWFuIn1dLCJncm91cCI6eyJuYW1lIjoiSGl0ZWxrw6FydHlhIiwicGF5bWVudE1ldGhvZERhdGEiOiJBYjAyYjRjMCFCUUFCQWdCWm9zVDVSMStcL1M0ajRIR0VOV1dBXC9pUGVRZmtqeHVqaHRPTnBQYzQ3aGF1VHpEYWVxV0hKVmhcL2htdTc1NUJwV2pVXC80WE55ZlBYZWRGT0hSTkNWZzJyNldya1lNeFMrK0FHeUdzTXBqdXA0Rk5uYjM1cGtXQ1pFazNtZXVvaWpodlRxYnppeVpFclVDNTI5TDIyQmdtbUg3Z3BheUJUSkVmMkRTWW5Uc1N2NTJBNWllSjdiUHJvY2IyeWxHV3lMMFZoWGR3UVZZZlZkd29ZWGJhVlwvQVp2dTlzNXRmNzlFd2Y0bXQ2Y25BeXRFa0pTWGdaNEdPZUZIdEp5UGRxcjlwZVwvd2pBU3JvZzdYTVMwRXpoWjdyR0k3ZUI1NDV3R0ZpandtblNsc3JGMEpLTThuRWdmVEVuU1c4czlhckVFd0M1Q0g5dThhN2FoZ2ZrY1I1Rzh3a2E3OGJkOG0wck9oNzFnb2JhWHF6c2g2bkRMSnhvVkpJN1FGNXAxQW9vVEpKSmlsOFE4SFpkQmxCRmZ3QlBXSElhV29uODE4SkNnTkxuaHljSXBMNHBKNXYzNEsrbGg0TlE5STRiZTE3VjN0RkdBWHZYRmlHZUJNUDQyZU1UWGhHd3R6T2d5d3JjS2NMZGNyemxseGxIYUs0UEVvTWtoZUpGNWhzbU1RNTh4VzBuWit6RXdPa09IaDZzMENGSFIrRlR0SEp2a0hxV05BVzVMUTBsQ0VtMTdxd0crN1Y0S1oweDdmSVlOMjJ3QW1zRzNRc0pPMVFpM3FvQkJabmNDNnBwTGp1SW1BZ2hjT0hCd3V1Qk51RFpoVkVRcTJNV0NLdFFINGFtQ3ZnaGhCa01La1IreThvZEVHNjE4Tk9FZnlGbDloZVIxM1ppMnBDK0FcL08rY0N6Zit4QTZ4QndBditMckVwQ1NUamRlZm5BTEFFcDdJbXRsZVNJNklrRkdNRUZCUVRFd00wTkJOVE0zUlVGRlJEZzNRekkwUkVRMU16a3dPVUk0TUVFM09FRTVNak5GTXpneU0wUTJPRVJCUTBNNU5FSTVSa1k0TXpBMVJFTWlmWG5nVjlFMUl3RFREMEZvOVwvYnVwR3VzbzZERnlabGowbUk5ajBQTHQ2SGFmQnh0bk1sK29IVkJidWtaZmoxcmo3QjZzZU09IiwidHlwZSI6ImNhcmQifSwibmFtZSI6IkRpc2NvdmVyIiwicGF5bWVudE1ldGhvZERhdGEiOiJBYjAyYjRjMCFCUUFCQWdCWUZhaUtERDl0M3BwSEhNMTJwY3BoZlNma3pqNVhRbUJLeUhGeVRnWG1Sd2dNNURDZjVwXC9xbTgzSEowUnd2OCsrM1ZreXRFR2tXNWV6ang3bmlBXC9SN1hSR1BDNEpGZTVtOUJrTlVhZDRPSkpLbjM4MjQ2SVg1XC90Q1RDNTBhYXpqTERTUkFZRGZPRndqQ0szaUN5M2paZGJIanNheXEzU3hrMHVla3RWQ0FmR3ZnT3RnRlJ1XC9xYkt4ZkhZWDVKaFJoUkQwa0xIcW9QeSsrcjFxRm9hOVpDQWVJdFB3T09JaU9oNnk1c0lTMGVna2FcL3ozNUpGSXBtUGdaQTNUMEY2QzQrMVwvMzNMcWZcL0lteHhhMVdieHhPSytoUkZrOXhLTzh2V0ErUUxoc05LaUdCRGR3cnJQMUlCWnUyXC8zR1JsNGM0dlR0XC9hVGZ6Qk1zWUVBRWh4WUt2ZHBtK0hMdjF1dlk2MkZQOVZ6WmM3K0c2dExnemhFTGkzVWdrOWIwY3FXMlFrUWEzR2pSYzlveUNtbHhwVGczYU4zSFcyV2NETE5INW9iR0FlSVwvS1YzMjB6Tng2RGNwNFFIZkpxRmhhamJpSDBrSnBNMGYxNFBKRnFGSXZranJ5cVwvM3h4NHJxNFZXVHZOWWJzUWZka2ptanhkcHVaQTJsVkZiTTdGV2xmcjZkdWptdzJcL2srTmNcL0xOS29jWExQTUZxTnNBRTVzZ25CQ2lhdWR0Qmh6TW5cL0pxZzExdXVlalg3UHd1dmhrSDJJRGUrQzk0MW5pVmJkSndBVFQ1cytyYzVNVTB2ZThsWWJhbm5nbHU3dkxwYThBeStkYlZpUzV6eVBUQ1lBWU9oUDRoVVZQYjRJU0RKZk1qYVorN0hIdlRtQmJwOSt4R2xySU9Vc2hHOHFraEEraDJJV0hWc01GdlBLbWZCWlNybHBBRXA3SW10bGVTSTZJa0ZHTUVGQlFURXdNME5CTlRNM1JVRkZSRGczUXpJMFJFUTFNemt3T1VJNE1FRTNPRUU1TWpORk16Z3lNMFEyT0VSQlEwTTVORUk1UmtZNE16QTFSRU1pZlpFRGsxT2hYdWgwMm1PRHR0eldCT09GYndXaG41VTVWQmxuUVo0cHpFRmdmRHRlWXFPb2dhSjFoZml6NWhDM2NpQWVmZXpoQWc9PSIsInR5cGUiOiJkaXNjb3ZlciJ9LHsibmFtZSI6ImVmdF9kaXJlY3RkZWJpdF9DQSIsInBheW1lbnRNZXRob2REYXRhIjoiQWIwMmI0YzAhQlFBQkFnQUNrWEpZRVdFUVZHYzFjdllIclwvUEVUb1diRUNEY1gyRDJTRVhCblpwTUxoOXBDRmV0MkdycDZRbThCYlJ2UjRvNGVxWEIyRmJmOGRncCtQbE9ZZVZwRjJCMXNLcml2NTZZT1c0K2VKT3g5M0JRdXZGamhxY0RBZG51QTFXRWQyYzBwMFZSemQ5MkNMVkVkQU1lU0paZjQrSWVuVEoxeHFLZ0pVcThBRUtCMU40RjZMTEtNSEp6Z25OS3NpbXlMaXRLZ1c2RFZwcmJhbWJmS1hMN2pETkswV3JIb1wvOU9VQkozMWVJWFRGUFdPVjdDT3d2KzIyWnBSbittbmtSRm1OUDRPb082TGZnbG9Id01ZNFpvVldyYkZGdDdVVERKdzRIQXdKYUVpT01qSCtwcmpFZXZHcUtoZW83NUh4cHNtbXdSaWMrUDBESmtqaFwvN0xpTkp1S0FPUUMzRWFmclJDbkVyVEo3bGdsWU4yZTJnMDZLc0ZUZ1BGSTgwbUJtNDRcLzVNRHAyYXJub3dsXC85a3h5UnVZMkVPY1ZrbVprSHROK1BDcWRtSFBka0tHRzQzSUM4RTJiTWdCYUtKekxyXC9UTDVvRUI4MGZFdzJNQWQzSUpNem40V2VjOUlodHA0Z29CSFwvNXN2TGg4TVdHY3FaWlFIODBWYmRLSjQwY1dOcXc3eXNjcXR0REh1OCtEV0VScXBZcGtWK3ZPUkxzWmVGVEFiM281U1wvOVJISXpCMDJlYXN1VEJyVktIeVZYZEhtU0g1Nko2Wmo5MkhxanoxMVpXUjhKVkhrWVc2REdxdlMwbkhJNmlRZnlyMWdHT2xTR0FsOFRacXI5dFhtNTdsbVNXYzFQVjM3XC95MkVXK3hZXC9QRldGeDlyZzZ6K3BaRStMaVpwRkdlK0JLdDVHaENPTVdlMkdTdm4wYlNBVndpUUk0ZENBRXA3SW10bGVTSTZJa0ZHTUVGQlFURXdNME5CTlRNM1JVRkZSRGczUXpJMFJFUTFNemt3T1VJNE1FRTNPRUU1TWpORk16Z3lNMFEyT0VSQlEwTTVORUk1UmtZNE16QTFSRU1pZlVER1BXd3BHXC9oOE1KOG13dXBSbE9lT0k2TTg2XC95eG5SMHdFSHMwVXhPTmZ1NlJaODA1K3FrYklNMkowUDRJN2dtZE1sTFBjbnNDcm80TGF0ckJyRjA9IiwidHlwZSI6ImVmdF9kaXJlY3RkZWJpdF9DQSJ9LHsiZGV0YWlscyI6W3sia2V5IjoiZW5jcnlwdGVkQ2FyZE51bWJlciIsInR5cGUiOiJjYXJkVG9rZW4ifSx7ImtleSI6ImVuY3J5cHRlZFNlY3VyaXR5Q29kZSIsInR5cGUiOiJjYXJkVG9rZW4ifSx7ImtleSI6ImVuY3J5cHRlZEV4cGlyeU1vbnRoIiwidHlwZSI6ImNhcmRUb2tlbiJ9LHsia2V5IjoiZW5jcnlwdGVkRXhwaXJ5WWVhciIsInR5cGUiOiJjYXJkVG9rZW4ifSx7ImtleSI6ImhvbGRlck5hbWUiLCJvcHRpb25hbCI6dHJ1ZSwidHlwZSI6InRleHQifSx7ImtleSI6InN0b3JlRGV0YWlscyIsIm9wdGlvbmFsIjp0cnVlLCJ0eXBlIjoiYm9vbGVhbiJ9XSwiZ3JvdXAiOnsibmFtZSI6IkhpdGVsa8OhcnR5YSIsInBheW1lbnRNZXRob2REYXRhIjoiQWIwMmI0YzAhQlFBQkFnQlpvc1Q1UjErXC9TNGo0SEdFTldXQVwvaVBlUWZranh1amh0T05wUGM0N2hhdVR6RGFlcVdISlZoXC9obXU3NTVCcFdqVVwvNFhOeWZQWGVkRk9IUk5DVmcycjZXcmtZTXhTKytBR3lHc01wanVwNEZObmIzNXBrV0NaRWszbWV1b2lqaHZUcWJ6aXlaRXJVQzUyOUwyMkJnbW1IN2dwYXlCVEpFZjJEU1luVHNTdjUyQTVpZUo3YlByb2NiMnlsR1d5TDBWaFhkd1FWWWZWZHdvWVhiYVZcL0FadnU5czV0Zjc5RXdmNG10NmNuQXl0RWtKU1hnWjRHT2VGSHRKeVBkcXI5cGVcL3dqQVNyb2c3WE1TMEV6aFo3ckdJN2VCNTQ1d0dGaWp3bW5TbHNyRjBKS004bkVnZlRFblNXOHM5YXJFRXdDNUNIOXU4YTdhaGdma2NSNUc4d2thNzhiZDhtMHJPaDcxZ29iYVhxenNoNm5ETEp4b1ZKSTdRRjVwMUFvb1RKSkppbDhROEhaZEJsQkZmd0JQV0hJYVdvbjgxOEpDZ05Mbmh5Y0lwTDRwSjV2MzRLK2xoNE5ROUk0YmUxN1YzdEZHQVh2WEZpR2VCTVA0MmVNVFhoR3d0ek9neXdyY0tjTGRjcnpsbHhsSGFLNFBFb01raGVKRjVoc21NUTU4eFcwblorekV3T2tPSGg2czBDRkhSK0ZUdEhKdmtIcVdOQVc1TFEwbENFbTE3cXdHKzdWNEtaMHg3ZklZTjIyd0Ftc0czUXNKTzFRaTNxb0JCWm5jQzZwcExqdUltQWdoY09IQnd1dUJOdURaaFZFUXEyTVdDS3RRSDRhbUN2Z2hoQmtNS2tSK3k4b2RFRzYxOE5PRWZ5Rmw5aGVSMTNaaTJwQytBXC9PK2NDemYreEE2eEJ3QXYrTHJFcENTVGpkZWZuQUxBRXA3SW10bGVTSTZJa0ZHTUVGQlFURXdNME5CTlRNM1JVRkZSRGczUXpJMFJFUTFNemt3T1VJNE1FRTNPRUU1TWpORk16Z3lNMFEyT0VSQlEwTTVORUk1UmtZNE16QTFSRU1pZlhuZ1Y5RTFJd0RURDBGbzlcL2J1cEd1c282REZ5WmxqMG1JOWowUEx0NkhhZkJ4dG5NbCtvSFZCYnVrWmZqMXJqN0I2c2VNPSIsInR5cGUiOiJjYXJkIn0sIm5hbWUiOiJlZnRwb3NfYXVzdHJhbGlhIiwicGF5bWVudE1ldGhvZERhdGEiOiJBYjAyYjRjMCFCUUFCQWdDdnVTZSs2bzFTVXp6Y0h6eHdBVmxrbUMzU09KY2FhajZJSzNoR1dTa2ZITU43VlRnRU9KUlNaZWZSTjdQWk1HRjlCSzJNXC9cL3dhN1FaTkVSWGVxUGtcL0Rva0JQWnRBN0ppcjFBTktaQjNMczZFSEtVTVp2R3ZpUlZNdDZ5dmc1UllrYlAwMlwvQ0c5MFNZTDFnWlc2NlI3YkIzbys3Uk02MFwvK0hDQ0lWTWNnTG1uM2pJVlwvRDlEb0w0bFo5UmRtXC9GSVZCWHp4emhtWHp4OUZXR08rSWp3emFkRjY1NWlkSmtWOUZzXC9ud0Urbkd5TjhzTVwvbllCektNWVlXMVh4c3ZSOEpZS3FrMVhiQWJEZitldVhSVk5YaVdtZE5uVGw1TVBHWEl3dFwvRDVDbVZBWk5QaGNQMTc5d1g2M1FhQyszQUcwZVpoeW41VG05c20zUnQ5SU1zbmtleEJZZDloU21TS3AxbmtxNW1nSzNSNlFRSlZzOHlleFdJbmRpc2VLcFg2ZWpsMjRncDhpVkhhNFIzaW8xbEJPMkdiSWRcL0VEaEN6cWpWc3BtVDUwODlSRWE4RE1DNkhCVkJuRlJPdzI2dHQ1Mk5QRHo1R2E3NTJ4U1MyZFYxNGdYRFBwaWpcL3FxWFZrelwvcmdFU1Z6b0JTdnQyaXJXQnI4dFI4WG5sOVhKT2JcL001TVFjZ2Z2NFBsWWVUQ2NcL2lUUHVqMGUrR1l6S09BN2JzeG1VcmV3VmFrbXlVdFdUQW8wdW1FUW41dHR6eGw2Um9cL1BZWDZNbEo5VE05dFZtUE1JZ1Y4cFhnN3NFVEo1U1oxZW5XMEZXYmN1VnErVUFrZUhsbGhjMHFudVlFWFlReENobHNFUjhFbzNQTmNMTEdOSElCYU1sU3J4dEhLeDB0dHNTbVBNQXVSQkhWN3dwNlpIQllvZXhMMTliZm44Z0FFcDdJbXRsZVNJNklrRkdNRUZCUVRFd00wTkJOVE0zUlVGRlJEZzNRekkwUkVRMU16a3dPVUk0TUVFM09FRTVNak5GTXpneU0wUTJPRVJCUTBNNU5FSTVSa1k0TXpBMVJFTWlmYmNFMk9tYWdRd3JJa1JidVB5bTY0ZitvXC9ZbFVFQWpBOWl5ektQOXp3b2drK2twQ2JCdUo5NjZmd3dyM0RPa3FPUUc1ajlJb2pvTW55ZkdyVG5cLyIsInR5cGUiOiJlZnRwb3NfYXVzdHJhbGlhIn0seyJuYW1lIjoiTmF0aW9uYWxlIEVudGVydGFpbm1lbnQgQ2FyZCIsInBheW1lbnRNZXRob2REYXRhIjoiQWIwMmI0YzAhQlFBQkFnQ2plTVRDQ1dieUhrTHFJemk2V2hPSXMwY2ZHeThvaHF5bk9GQWNoUDV1a254NXpvR0dsbW5uMXlOVzF3b290SG5ab1ErREMyRkduQmNvaysrQTZFSzl0cEFQekRqMmExNVptQ2p4VlwvU2tRVm55d1d2UmZMNDl4UXNxMHZmUVNZS3UwN1BWTVQyWTBHV2lsWFc1TENKRW9WOU5qMEFBYU8wNWlUVHd1dUlcL0xpQll3U0xjSlkwR3lcL25Rb1ZDR21pMEhSQlNcL2xnRnpsWmI1SkgzZjc3U2JiQkRrSEd1UXpLNlhSOHF4R1A1bFUwN0c0cHdKMnJsQkhkZEVZVHRlbWRKVlMyajdTVVwvNWF1WHowUENrZ3NnQVY3Q29ITmJjbFlzTDZGRjlaUkpiV3lETzFRcG9kblk2eVNvM01xU3VoU1IrdjJzSnhxSVlTNk1Od2lZYkpQSmo5TG5mN1pZMTU4ejF2OVlmTStYTFpFQjFndDBQdThUcVNUSnIxNTA5emF2Uys1d2VmajJubTVIRlc5OERobzNkWEo5cDc2T1Q2TjQ0K2o1eW41QjViR3VoU2Fpbm9Ra0lFSndjNUpNM1dpdTFaVmdOTFlUM3dNcUh5SUVWQXJRaDhoWmxJU1Z1WnBoeG5VajZ3OTBJVkJuVW8zY01VQ0xlZ2plRm9CWkVZSGkwajltR3FNVmd5VEw1Ymkzd1BIN25oSVl1WGsrTFpsQ2NHUFBNV2J5cjVlYkxUUE00RjJhRE5kRlo2V3RYa0JWT1pUMzdQMjduTkZYVnczWlkxVDZaaEhWNFwvTmlwSnFXVVRRd0o3YmtmOXFBeW03YW9aYzdBeW95VEtNNnlERjQyeEtLN3hVK0ZnTkVvbE1CSlNvZnNodm5sYlNzajBGbVwvUFJEME54R3VsQkJpTkMrSWlVaWcyMlJzeFwvVllmRjltQUVwN0ltdGxlU0k2SWtGR01FRkJRVEV3TTBOQk5UTTNSVUZGUkRnM1F6STBSRVExTXprd09VSTRNRUUzT0VFNU1qTkZNemd5TTBRMk9FUkJRME01TkVJNVJrWTRNekExUkVNaWZSR1wvUk4wZG5RemhEajd1WjJmRU1ka0dsZGxldGtQVEF5YkM4d1lCNkxMTTQ1b1ZZUEVMalpYN1lVakJ6YW9aK2N4S2hNcUdPZm0rcyt4aDRwTT0iLCJ0eXBlIjoiZW50ZXJ0YWlubWVudGNhcmQifSx7Im5hbWUiOiJFeHBlcnQgQ2FkZWF1a2FhcnQiLCJwYXltZW50TWV0aG9kRGF0YSI6IkFiMDJiNGMwIUJRQUJBZ0NUc3pKY0xYVCt1SnhHdHRpZ1pibENtWGsxZ0FYMjB6MzdBZURDenRyU2dmQmUxQXFuaWs3UlhKUHVhNmFGUWhtd09kZWVmZkM1MVE1NFJUcHBta2FGQVluMitqN1NEa28wZFNSYkl2Ymg3bjJkbzNyWVdGK1RZRHRvYTBFYmZiZytzYmJqZ0o4eVh0dlwvT29oc040dVIzZVVRV2FEWWt2N1FqWDNqRFA0aFwvVjJRaHZSWXpPZjlDWTBxV3g5ckZtTXlHOTcrQ2s1dmx0cFFIWEFBakZhRVpVQWpKOUc0Z3JVdVdCeVZpRkJ0ZnFjYXVON2FcL3VaMnlhZjExZ2lDbTk2WWp1MjdKZTh3aEppS2drcTNqcTFIckV4N254MW5xRjZ2UzF6NUpxeXBSc3ZYWnB3Mm82QXc3bDlONUtTWDVHRUsrREd0ZlwvNW8yWFwvT1B6YWtqN0pxUklCZDRcL2N6Q1ZEcFgyZDFyaDFGOFVTVEVCT3lUbUFtSkhNbGRnNFBhVlBUSm5PUWtYWlFMRVFVMGZSMDU4UURtVUtRNVg2c09cL3NzTDZ1SzRIeFA5aU5yWWw5WmpFUmlGd0VZZEpJM05acThLZjVtY0t0bGd4WUJTWnZ3bHVkMldEdjVOTlRcL09sUlJyQ0o4RGZPOG95a2dSQXJ0Q08xZ2FGZGhndWFUOXFXaisybDg0SmhybGRVVmRKYlRnWnRQemRDK1JhTWt4c0VLRU5XSWFQRlNyN0o4eHlxajZzSTlLTzRaMHY4cXRwMFhuZHlcLzNMZkVGSlc3ZDk0aUViZzF2ZkpoRHJwK3JERHhiTjF1ZnN3Y3ZFTGl2MzFEdUJQeWozellDRGRydXVHdGZCYTA2akNSNVplZFwveGREcVFFWXpGVHZ3K21LVngzMEQ2N2wwUG54NmhESFV2cnlmRkUrVDhGdWFFa1ZpS25YQUVwN0ltdGxlU0k2SWtGR01FRkJRVEV3TTBOQk5UTTNSVUZGUkRnM1F6STBSRVExTXprd09VSTRNRUUzT0VFNU1qTkZNemd5TTBRMk9FUkJRME01TkVJNVJrWTRNekExUkVNaWZWbWc4SHBGVHEzK1BFT1owYm9Da3hSNUU0bDNYbEFIWUM3bzJRUFwvZ1UrY09mXC9STGxORWQzcHdNZ3BGckErcXErTENTYTcxb0NzNldLQWQxdz09IiwidHlwZSI6ImV4cGVydGdpZnRjYXJkIn0seyJuYW1lIjoiRmlqbkNhZGVhdSIsInBheW1lbnRNZXRob2REYXRhIjoiQWIwMmI0YzAhQlFBQkFnQ3lqeGNnWEoyMFltbVp6YWtzZW9kNXAyUVZTXC82elhSb3dMRjFRT1k4TUxvZFJoS2NcL3RLRndxZlVObWRzTmU0T25aZ29VWm5VenFhZFBkbnFHeTFlcm1kUWZ2MlJmYjVaTnR0VzRXdkM2YVZ4RmxUbENPRldNOVV0V2dIME8zc0ljNTZQd3Uzb0NvaTRGOTVyVXE1SWpUazhIdURWK0NKUFdqS1ZNRVwvMXI2V2dLVERLM0NnSVJsUTVwSjlnVzFKcjQ0b0dlbmRWSlhYWDdiZ3ZaQXc0Rlh1a2NFeXRKZGVGdzl2VzRCVVwvbXdZWVJ3aEx4NHJ5cTdORFRGVEV0TFFhOUpNRXRVbCtCYUxTZ3luS3IrQ2huSDNDenJaSGlkUkd2K29QMm5hWUhEQU1kNEhHanE1K21qc0hldXpNMm1kQXE5Q1E3cVdGQkpSZW1ZSXBKMGsrOWRDQTlJQXF1UUNDTG4wdGJkUk8yTDdtXC9rMEsxTnhEdHR4QktXRDhabk01dGF5eWYzOTNUaHU0c1ZNYVJLeXFobmxZdHlEaWt6QXIyMGhDWFFJbW1MbUQwZVplUUJKR3FYelVDR200OWJ5eTBzWGdEbnZaOVY4UFVYeldQRlVEamNhNGcyRkJybXd4M1BaUUtueU54d3IrWXJyUVRjd0U2d05aRExiODJ2NVkwTXNudzF2WEVOWkhNeVo1TW1pUEdcLytjQkdMbW5yNFwvWDFZdE95ejZaQ2NTOUk1cWhKcW9oclJ0eE4rV3lFd0NlbGpqeHlkcEYzaUpBMXdQZXFUXC9VSUFxOE9vanZCMFVxbzUyb3BGRHdFeHE3Yzg3QkJlUUFHRlZxZDBGVzRNVjljazhScDNzQW00YVFZMkQ1eGFuVW9EdEVJKzJYbmpHMHc2Vmg5d1JNaUJDOXZpMFlseTZYa3dLaWhPeGVwNVBOQUVwN0ltdGxlU0k2SWtGR01FRkJRVEV3TTBOQk5UTTNSVUZGUkRnM1F6STBSRVExTXprd09VSTRNRUUzT0VFNU1qTkZNemd5TTBRMk9FUkJRME01TkVJNVJrWTRNekExUkVNaWZZczdWejJwYUFHcVBuWHlYQnRPTXJVOTZWOHJZKzVpY3BGdTFZWFN2bmVXcmF6c09PM04reTNXdWRWZVU5bVFGVkJsU0ZHMVVmNnAiLCJ0eXBlIjoiZmlqbmNhZGVhdSJ9LHsibmFtZSI6IkZsZXVyb3AgQmxvZW1lbmJvbiIsInBheW1lbnRNZXRob2REYXRhIjoiQWIwMmI0YzAhQlFBQkFnQlhaT3N1eW5aYXN5M2VqcU1WYUpIajdyQkJteFRkQisxUWxqWGxldW5cL2VRSHRMQjJ3K3JcL01PcUVib1R6QWRMcll1XC9nQ0x1V1MyTzdqSTMrNFpldkhXbXgzS0EwcE5OWjlxMUNOTTZ0TEh3UTBuc0d3RE0xYnVURytnNXRSVUxZMTNNNDRZWlU5bzBRV253bGJtXC9EbXhBWXR5QUtJdWZ3RFwvVHVYSFZPaHMrbGorVVdjYW1KcG5MSjNPcXdnWHVId0JXa3daOUFSbjFcL3NCQWxWS1lZXC9QbzgybUtybWFseTdHbzlwSlIycFMyRU52VjZqWVRTaWNQUDZOSTZ0WW51ZGRnazNUXC9BUHhvaE5LK3Fjcng3TGEzcmlTUmw5MmtLNTlcLzdpcmdjdUVxY0VaRVdYMHp6bHJqeFB6endseFMyUHhSUnpsdG5LeURMczZoejlQUHRUOXJaZ2lZeWhcL1ZuUHpJRnhRa2xmK2lxYzdhbVY1V2ppRE9oS3oySlwvdHBZS01DTGNieUlzS1VcL1RtTEZPUml1ckN3VTVNdExXYUlVRytNcXVsREtQTmxHdHd0OWpZTFdva1hOSHhUdVdzZmYxTTNGS0pjM29mcXRyYlNDaHIwN1NvRVg5YVpEYTFtOGU5MU82TUEwcU9zUjJHYlVzRFVIZFp5WE94N1wvVjBwZXNtQzJVR2pHWkJ5Sng2ZENNZUYwRnZmODIyWVpMMW90eEdSTEI0SExnU2tYWFNLdjFYRk45R3NYNmRGYXJGNmlPMlNQaGtjVkpMVWdkVm1Xdmg2aVFIRCs1cnc0RTlkVU5zeFdnc2NDck8zK0NVb1pzaGcxM3lyQ2FORkQ0bnpITnR6K1pmMDFzMFBhd3BEOFp3U2pxMU5yQ3ZDYm1pRnJGaVlFdGlCM2Q0UkFuclpTbEg1WURMWFRncW9zTGZXVDNBRXA3SW10bGVTSTZJa0ZHTUVGQlFURXdNME5CTlRNM1JVRkZSRGczUXpJMFJFUTFNemt3T1VJNE1FRTNPRUU1TWpORk16Z3lNMFEyT0VSQlEwTTVORUk1UmtZNE16QTFSRU1pZmJPTzI0MzlROUJmUTNCeUpKTVN3ckpEdlQ2U3kxTSswYlNWaG1zcXI2UnMrVG1PcjVwQVozRjExSisyMkFPMGFTazRzTEhUV08rR3BxSU1RUDNvR2c9PSIsInR5cGUiOiJmbGV1cm9wYmxvZW1lbmJvbiJ9LHsibmFtZSI6IkdhbGwgJiBHYWxsIiwicGF5bWVudE1ldGhvZERhdGEiOiJBYjAyYjRjMCFCUUFCQWdBZzdRa1YrNGtuMXZVTEJrYjRsUmhpN2J3MGRSaVppZEM0dnFiYUhxa1BQaTFvYlBNNlRKdVwvdHdwV1loTUxZcHBmdnNjUTU2b1VRVGh5TjA3TjdcL2xid1pHZ29WNnRnRnRkN1pCdHJncUpQUG9WTThzZExCbVJMQzZuQlUzZDNVN1h1NFN2dGxYMkpRbXhqNnQ0ZzB6Y2dVcU5oYUxsTWp4UTVjbk1tYld6MGhaMHVzdExYMWJpTTVnazdGR0RXNVwvZTczdk5nYlwvckFrZlFSUEJXZmJHTEVDK24wK1FCYWxEdVNlVlpzM1hOZEFwNThtaGNodmlFbUlwcEtRTVA1Yytac0NMeWVxR1lNOVJPQXY2UVVidFhVS0ZpaHJ1WFFETGtxUEpBQklSZVRwdWpaRnhxVjBON21NeUpiRWVoN2lrU1hLcWpRbXFxdFZadCt3Y2lWejVrY1dSMWsyN0tcLzNXVjFWeTlITlQzUHI1RGRhNnUwS0ttXC9HNmxmMW9qMDV5YW96RUpoSmtnZHJKOGxyU2UxMG9GZkNFcm9Ob2o3YlN4NHhCb0E4SUtaMUY3anF6YlJSQ2diRmFrMk9CZ2JPbzE1NUhjM21RQXh0Z1o5dGV5Y2pNZktBam8zeGJsaFF1cU9iUVVSTXAzM3BidmxDTCszVG9VaWZ6NWVoeWRldnJITERZWktcL0FBN3N2NDRBaUpBeTZXK21nZkZpZlhKTTMrWGFzVkJOelwvb3RvXC9zdGp5bWFGTVZWWEVxcGFZaVdPS3NPbW95cU5rNW1ITU01WkZGcmZ6OGxGd29qa2tqT2xRV0NJNmQ4K1BlUmxHcDlkVzh3bUtPdkZKRytScFBtWWozYzFTd2RHVDBwZXZRbzkxaFpCQjQ2WXBuNUtYeXZTZ1wvdDR2YXRMcnZSQmFYcXd3dkNNS3dZd1RBXC9IbHNZU1VBRXA3SW10bGVTSTZJa0ZHTUVGQlFURXdNME5CTlRNM1JVRkZSRGczUXpJMFJFUTFNemt3T1VJNE1FRTNPRUU1TWpORk16Z3lNMFEyT0VSQlEwTTVORUk1UmtZNE16QTFSRU1pZldcL2VSS21qdzh1b2FXS09Cb2wraHNjOExcL1d5VlpJSWkzTmxPYTJxMERDYlhDamUzMWprRkxKcUhKM2xzM21CVFwvQTZldz09IiwidHlwZSI6ImdhbGxnYWxsIn0seyJuYW1lIjoiR2VuZXJpYyBHaWZ0Q2FyZCIsInBheW1lbnRNZXRob2REYXRhIjoiQWIwMmI0YzAhQlFBQkFnQkhNbXhvWlh5bWpzVXdhSnVnXC9xZm9URzRWQzVGbTF2VlR2QmdGUURzVW9kcExreWxDK08xenlZM1p1XC9NaHVEUU1wbTJtU0ltZW1BVWVCcTE2dVNsRUJuSngrb1FFZE03c3kwRFRmWEdUYUdxcE8wTUV6UDliQkxkSFZLdnk5SWVNWFJKS2tqVHVPU3RMOUJOMXo0RU91U0pxRDl6RUVOUE1CSjI1NGxFTUZYQ3VcL3NVUUJoWUg0WjBxSlpSd2p0ZDZBZEIxVWM4XC9xd0dibW50S1VIeCtCeGprXC9BS0tIcm1kRmxWSlwvMmZqYXZrcUpSSWM1QXVDandwbkRaXC96VXF4NHBESG1HXC9ZM1VJdENDRm1TWktGRlRzUE45XC9JRk1rWWhmS3hpcHp2OTZlSE1KWFY3T0FkRVZocGxISFc1N2dxRU5iQU9jS3ZnVEJ6dnR4b2tMdFpUSVFaTk00NXlIREJsa1hOOTZUMGZVNFpoZEk4Vm1Ga1RrMGtLV3RrZWQ0bzVCeGhSaGY5WXNyRzVzYnlcL1hOTUNHYlh1YlRscmhkbXNnNzRxU3Q4MkdIWHl5TUs3KzFxRklcL1dRek1ESGNXXC9nclNsbFV2QlI4OU11andiSFVyalZnUzRRXC9xUU5TRmV0MDdkNTNVWTNtYU1zcHhkcGplbllWUFwvNk95TWNFMFNRblIxWlhOSG05T0ErVEE3TlIwSUlFRkVHNFh0ZHpodURjOGFjVzJHbEV2U3hzVFdMNDRJYUJZNlBSaWxwZEY4VTVDSkhrUEVXQzRjcmlMcHhlT3BrWDJ1bGdkYzFXc0ZTd0VKa3paUkdkcTRXWVdrcldhTGZWd2o5SWhjM2Z0SzJzYjk5MjhWS21ETWc5N2djNTJUM2ZoMk5TdjJ1VlJaR1Q0QXlcL3dFcG5CQzhFdlwvcVwvQ09xZnpGcDlISE8yV3E1QUVwN0ltdGxlU0k2SWtGR01FRkJRVEV3TTBOQk5UTTNSVUZGUkRnM1F6STBSRVExTXprd09VSTRNRUUzT0VFNU1qTkZNemd5TTBRMk9FUkJRME01TkVJNVJrWTRNekExUkVNaWZldXkzZEQ4TjU4XC9VV0pmR0NYZkZ2SG1RRmo4RVYrQW1zK1FFczRjK2RUVUgxdUxHaVM2YXp4dE5pMHNaMW51bW9CRjFGc0JhVE00VkR2c1d4ST0iLCJ0eXBlIjoiZ2VuZXJpY2dpZnRjYXJkIn0seyJuYW1lIjoiR2lmdEZvcjIiLCJwYXltZW50TWV0aG9kRGF0YSI6IkFiMDJiNGMwIUJRQUJBZ0FWUGZ2UkZZOW8wUlJBdGIrRjhjMmtZSGIrYU9sb2pMVUlcL3RhXC82dUI1VytZNnlGRjl2Q0hZNjlBaEdCMzJrSDZFSEhPOGJ2OTg1QUp5YVJ3Z0RzNFF5em9mTkRldmF6N3pEYjRFVDNBaytRM3NVMk9iTzd3VE84VEFQK1lDVE9LZ0ozalphRUt0K0V4ekNDODY0NnVUV1J1V1FcL1RCN2oycDV4NE1FdDFHYjNrMmVoYzg2MDhyOG9MeXdZaUlRSXgxWHl1dmZSVkRIdHRXY05qK0x6YTF0UnIyUVRUaEZkTFJhXC93TmZ1SlB3MVwvQVlGazdIVXpoaDRBQTg5ZFF6U1JZSHMrM2NnbFUwVmRNdm0zTkVndlhZcFl5TkpHaGJDZnVqZlVnelgxWmZqSGh5MW1RUDVzeVNQbTVoWHhqdkZcLzZkZVNNK0hhU1NaR3cxK2Y1TjM2c1Zjck1OWVBLTVlsaDVjNnp5Mkt6ZElJaHhtK21FSWlDNXFsQ201Rm8rWEFMcFVuVlpmdVZpTFBXSXZRQ0lGRFwvbVE1YjZMTHlVUUszSWdUdlF5SG1GMnlhTGlobGdmT0h0OGdpekpEbUhPU1BNTk5QYjNtbm5tZ0JlSUt2RU4zWUhsM2dZXC9QK0wweE02eGgwRFJvN2dRNVBMWFBHeUYxRDAwRWFzeDFobTZ4M2tFRit3aGVmUm9NMFRJMzI5THlmOUNcL0RON2dSQnU3dFp5bDNOTllqUFd6VTBtSmZUZEpPc1c0dFQ0bHJ0dkc5ZHJDKzZyazNIY1B0dmxzazVqbDVmRjFsd1B0WjByeEpEM2tMYVVhM1hSaDE3MU9hTVwvWmlPbHdMUm9SQ2pOR1Vka0RTWmcyeWhKSmlGd2JGcEdmSUFYSnBKMWtqeER3XC9TY0JFVlhlNlNSRFJydk94eDhrUm1HRm5vV0tXamZcL0NBRXA3SW10bGVTSTZJa0ZHTUVGQlFURXdNME5CTlRNM1JVRkZSRGczUXpJMFJFUTFNemt3T1VJNE1FRTNPRUU1TWpORk16Z3lNMFEyT0VSQlEwTTVORUk1UmtZNE16QTFSRU1pZlNHWGh5akc1azVGbzB3aUxjUUZxdWFkQVwvem14b1NmdWlpVFwvXC9UcGxRbExuK25NRFpielBBNmx5M2d3VEgxYlZMa2JnQWlReDRRT0o3WT0iLCJ0eXBlIjoiZ2lmdGZvcjJjYXJkIn0seyJuYW1lIjoiR2l2ZXgiLCJwYXltZW50TWV0aG9kRGF0YSI6IkFiMDJiNGMwIUJRQUJBZ0JOaWZkcllvRjh0R3VzOTJ6UGFrRkZYaWg1VXB1VCtlTk5IRFV4QU9aaVwvMEhncW9IN1JxYjFZN0lWUVd6RkNsNTRcL2dEVW9rYlJqcDdLTFFmdGQ0ZWgwdzByS1JadDlXRjFETDI3YkdVV1pMVnRJME5OVTlDV2xseGpWNFZCUEptbTM0WmE2QkptTWhmUSt6TFUrN0hON21WbmpJYTVBTGpXRHNKQkpMNWg4WDdvS01BOVR6VGgxZ0cxaW9tR0ozbkdHTWRaV21OczVTMDQyRnI3UTltZ3NwRm1UVjk4WmRKQXg5bkZBUWwreXp6OUpUcXppVG9iVzhUa1RPa1pGVlRCcEdKTDdKeFpqSjdqVkJXSG9XZ21KaldzRFNkRWx4ZlRleGFhRnY2QW1HTzBPN2pJRUcxXC8xNnZ4a0VJTStFQVdmaUsxMUdSVWk3SDVSNk1BMVwvRVJkUlZ2MjdBMlBzRzRVbGlCVTRhckt6UXNoSFZFalB1RTFncWpZbHo0bFF6QkNNbGM1SHd4b3hscWw5OGwxaVhic3g3TUhNRjBxSUw0QmVUTTVITkd1Q1hzUEYwalNJT1UwSXpjd3NuOXFRZlwvZkJISVlrdGxYRWc4bVJVcFg0aUNGWFZKc0t0aUcyYU1uaXd2KzA3MjRpUXpUUElyQlljdEdJQkdoSU01bnhsM0F1Q0lkNVZpWm9hS2o3K1BmdzA4alpEZDl2eUZDeWlGS1JDTUZcL2VVdmp2NWRzYTdJZlZWWkduMEdTZ2dnTU5wV0FuWVJ3S1VcL3hmZ0o1WkhlTmZURksyak9GQ2RFbmpGSzJqbUw2YnZnRmRoNVBWUjV0RHJKT1lMUlMrNE1CS2Z6eFNvVU8zQmNhV3ZyNmVoSE5RdUp3MGhHVzlTOUhOT2JnVkFqVFZXVlJCZWRHd1hVV282bEhEVGdjSFwvOFViTkFFcDdJbXRsZVNJNklrRkdNRUZCUVRFd00wTkJOVE0zUlVGRlJEZzNRekkwUkVRMU16a3dPVUk0TUVFM09FRTVNak5GTXpneU0wUTJPRVJCUTBNNU5FSTVSa1k0TXpBMVJFTWlmVnFJdzEzRU1TY2g2TjlvUkFlSDZ5eWZwb2xaMjc0ajA5WWtScmRGb2kzNjQwRTNrcm04VE9YUjZxNVBla1E2dm9HZEtRPT0iLCJ0eXBlIjoiZ2l2ZXgifSx7Im5hbWUiOiJHb2xkc21pdGhzIENhcmQiLCJwYXltZW50TWV0aG9kRGF0YSI6IkFiMDJiNGMwIUJRQUJBZ0FaYlBBeHRYUGd5eStLcFdhbHVER2g3N2hyTkNpM3ZkZVY0bnFnXC9Ya0cyZFh1dFh0ZVljajV1S0xmRFwvXC9kR1ArWlVTb2xLSitQckxkcHp2QWJrT1wvSlJRSVBUQlFZNkpzd2h1NkM2dmtJK211NmRzRDVFQUJvVk85VGlHQnJudVwvb0pHUFVpSkZcL3VYM2hVSlU0K282TWlaQm9OaWYxMnRPYTJaU2VUWWt4bXByT3ZBd2QrSk1VSlNzc1NnXC9mUkplWEpUNGlNbG9icTN3MjBNeWszZmVKTzB5blI0MlhBZWl5VEI2aVNQT3FxT1ZURDJYRk9oNHdNTUpXTnRKMU1vZjJBa3F6RnRGclB2T1lMSkxkcjdiSUtzT0tYRmhQeDRUd2IyeURiNmVCTDJCZVJkUDlQc1l1akkzXC9CMWJVem1EZ1poeVZmbHhhbVF6dGlXR0VZc2tQQmpmYlpTSzNtMVowdHNIZzE0dHJOOEpxQVIwOGh3MmNibFg0ZVNvOWVTUHljMlcybGdJTkhEaFkwUU9teEhXRG9IcVwvcWpodGJwbUVJMW93SFFCd0tNUUVtOGRqXC9sZzd2KzM4VE51TG8yY09ORlA1NUg4dmRHNk0xZ21ydXdjNUtTZlpXeEMxd3dmTzJsb3k1Y1B3WURZa3ZrZzltNTNvQmVJYnpvdFBBTnpneEptYmNpdmlCdFErSWRBZTZXNitEVVRkXC9lcndNVDlRVmVPUDkrY0psbmdPTHZqN0RjbmprN2w5eDJHUVZVd0REVVdhY3FsMVZLNGhFcFwvaDVoNm1wSytOMW1EWE5sNHo0c2JXZU03UjhPVFJ2bzhXZUVjeEtna3ozUmU3OXVObVM3M1kxXC9mNW53NkIxbzZcL0Iwc0V0TUZFWHc2amQxRjZKTktzUjhJaFV4RFk2bGlLOVwvZjkzMWk3ZkhacUtTUVRBRXA3SW10bGVTSTZJa0ZHTUVGQlFURXdNME5CTlRNM1JVRkZSRGczUXpJMFJFUTFNemt3T1VJNE1FRTNPRUU1TWpORk16Z3lNMFEyT0VSQlEwTTVORUk1UmtZNE16QTFSRU1pZmJRRlR0QTB4VERKMmo3SEF2RjBxckUzZ2oxYzBwbEtrSzZBXC9jUTZqa2dCb01YZ0xcL0xqSGlmUXJjYlZqRkZxWHo3dHp5TGdTdVl5WVwveGsxdz09IiwidHlwZSI6ImdvbGRzbWl0aHNjYXJkIn0seyJuYW1lIjoiSHVua2Vtb2xsZXIgTWVtYmVyIENhcmQiLCJwYXltZW50TWV0aG9kRGF0YSI6IkFiMDJiNGMwIUJRQUJBZ0JTRERXaUxwNGxZRXJzRFNEK1hpbWVWOGpWekpCNnoyNUFZMzdrUlwvcnRrWmc4TUh2UGZFZjkrcnlsanlZSFRQcmc1YlRVRWo2ajNZeGM1amQzZGI4dG8yNFVpQ2Ryd0J6XC9KV1JVYUNQVUlKdkZyV09QZWp0aGdOZENmdHRnYXFmT2RWa25NWXlVMzVsS2kwYStwSHVCdmtjcFpZeEduN0VubTlZXC9uK0dITXFqTGRzbmpNN2JrcHpURjhORXcwSkt4VUh3TE5LQ0pydlZwZTF3UDVzOFwvSkRwdDZFNDJuZTNXZ0hTS2NMZ214c2JBRXhqK0NDNTZRME5KVWdkRlVMSHZiRjZhOUNHbUZ2SFN2aWsrRE9tXC9LaE1zV0FkV0VTOXFrekV3NVo4M1JcL3BGSEVNelgydFc1Rm9aa05JUzMyakljN0hTYUt3SE1GNjdQbWR0emdqamVtd3RMTE5jdHBUQkw5TWlTZnRpNEIrWGNPRUJ6QTVMS3hUeXpIQmNGWkxYQ2lvZWFreFJ2cmE1YjNpNlBya2V4dkhyTk90eVJ3ZCs3MUYwV3BcL0UrZ3pwYjFLUko1cFJ4QzV1SGtJaUJPa3VyZGNLalBLdFhvTGdwTDQ4TlpZV2I3NEZ2TWozVzUwZTBDXC9jSkFkWVJacDd5TmYwbUN2T2hMdmEyT1JrSnZtYUNyNkpmb2lrNEpcL1lBNFFyTTVXUENpbDcyVWJ4dzFOQmNJZG9EQWtDREpiMUlyanZEcnl2eEsyZ2s3ZWJWVmQ5eHduVTJ5K3U1NmFZWmNKZ0xLSjRYRWFsR1orQ3BuYnc4NnE3akkzWVFyNUthVmZGQjl5eWhVM1p3c2hQTkkzWFFoaXJEXC9FU2tuK2o4N2xuWldwN2hDbXNuYzJyMzNleTJQa1E5NmpvNXhCVStsdVRoWnZJVlRiVkpkSDg5N3JWQUVwN0ltdGxlU0k2SWtGR01FRkJRVEV3TTBOQk5UTTNSVUZGUkRnM1F6STBSRVExTXprd09VSTRNRUUzT0VFNU1qTkZNemd5TTBRMk9FUkJRME01TkVJNVJrWTRNekExUkVNaWZYb0VqZXZ0d3pRVGE5clkzYmkrdzdxS3JOaWo2U1FmT1Q0M0RFVVdtQ29TMWYrRjlhTExaTWJDV1RON21MWE9rUVRNZFZJPSIsInR5cGUiOiJobWNsdWIifSx7Im5hbWUiOiJQaG9uZSBQYXltZW50IiwicGF5bWVudE1ldGhvZERhdGEiOiJBYjAyYjRjMCFCUUFCQWdCaXk2QTZvMXZObTVGSlpCTmRHbFVMY2xRcFBNdzBVVnlrNXNUWkE4d2xGUXZkSHQrWXZYS1d6a05mN3N2OWxnb1VxR1hJdk54azBLM3lcLzdsSStFR1B1UUh1XC9SVmx6MUQyNmttTHhScCtObmpKeVwvbTR2eE1TeVwvMzhOZ0JKSmNyTW9YdFVnaHJjS0ZmM21RNE1RTnlaRUpcL0lYQmgzeVwvRTdhRURrZmdtc1N5N1VUZk56aGpsTHpmQlZEdExoWFdcL1FsSnpGclYwaVZpU3JWYmxIS1pFb3dxSUNQMFF3UkpTXC9YVTJnWDF4WTAzOExrWGo2czROcEJXSmthN21RNVdOc2lucFJXQUdlUitHbDhGQ1JlaXhJMDlqemlJN2VKN3REbG40UDRKZkpHbExDNENcL3BHNnhhZ3BWTzFoeU1jdTkrd1Q5OXN6MGszUW1FeldvdUFraVFuak1OUnViZm55WEpDXC93YTlBTUhyTGZINllrU2NibXV0S0FTUlNjSHJnZDhqQ0JDRUlEUTVqQU1iQjZaaGFUV0dxV2R3bEl1SWJtVzBIQnQ3bFwvcEVRZFZBVzN4N1BCVVF3dFpNR1hNdmRGS1I0WUFFK0xoc2M0MEc3RlVTbHpMeExzMmJwZk1jOTlKVXUxNHFIbmNFQWRlUzhYVmlFdll5UjQ1WmlVV1I5ejlGeHdjdGlxdDhLSXA1ZmFaTlAyUWFYOTdXN3lTTFwvaUp1SVpjZzFJeGpLelJjOXlkdG9LXC9OWnlCV0p1MTh0aTNPYlhQUE9zUU1HenNuZGlnaDJQYkNFdHZ5MjZQWFBzWEhsWTFPMURIVDd3MnJCZmczQWtmOXRHNTczNzBhNTZ2TzRMdXM1TGtadlpQbU9QSU54bHBOTnh0WDZPMThYd2hZamNQdkE5SVdSQStCWHFSM0tickRDRkJmVVJja2g5Y0FFcDdJbXRsZVNJNklrRkdNRUZCUVRFd00wTkJOVE0zUlVGRlJEZzNRekkwUkVRMU16a3dPVUk0TUVFM09FRTVNak5GTXpneU0wUTJPRVJCUTBNNU5FSTVSa1k0TXpBMVJFTWlmVndXU1RLdGJuODBlMjF5WFJjV1d4Y2VONlNLbzRxSk5VcFFUZjRXR3ozQ2FheG81V1UyeUtGNUM3WTd5SW1QM3B3PSIsInR5cGUiOiJpdnIifSx7Im5hbWUiOiJMYW5kbGluZSBwaG9uZSIsInBheW1lbnRNZXRob2REYXRhIjoiQWIwMmI0YzAhQlFBQkFnQVZJaGM4MnVyOGlySCtcL2IyWnRmak9tdE5laDY4S1huM0pOM0hwRzY4QWcrSGNVNStKOUtuMVwvVnY0WVIxSzFSZ1NCQ0JTaUIrbzdKSGhEMjZwZEhJdmh5d3R6NnRxbHRMWkFvRW1FVGZTdm9XZ2NQSXpYWTFKdG9oTlEwdEZiV0lEcTZqeU1oK3hDcWhlaVNsUUw2Q0VkcEdnY1NGUmI0RFwvSjBtak1aMm5FZ2N1WWt5dDBVcEVNeWlKWFljUmFjXC85R0hxbDh4ZkVQQVZCS0RcL1hqR1V0ejZZYTF0bmQ3MVwvNm1uQmJZOURsdzluSytRN0xyajhnejZWclFpXC81c0RWNWJxTkVOSzlBN2pvdmk2dWFtZUJ2QnpsVmZ3eXQzM3ErcXhuTnI2d2NFMUo5VkxXaGRCXC9ZS2ZleHllM0MwelwvdzB3UDFKOWE4U0ZkSGpkNVQybTRyTGtxYXYrS3hyZDlVc0NFYXRYWnRmT3JxNkhVTEF3XC9mVmt6SjlVOWN2bFU1cHJvbm5FYjVocldoR2VQYVhVODRZdGwzT1pndXFjU2ZmOFVhXC93SSs5YmhLUk85ZVdcL0FlcWYxSldTanM1MmpPMDRQYXc2M0dUVE1cL21YUWNFTmJKZnFxazN4RUFUVFVOTVZEbFNnWkVQcnl0QVU0YW8rTFpKNzd0WkVuSGRqbGNSZkljV2phSEV0cjQwYjNCaEVBYzh2Q1NNYk9lQnpFUzgxVlNINEZxMVcrTFIzSjdrXC94a2NzZmVIbHVYR1ZLeXBteW9PTE5DemFnZWp1YlBDUVZLVnAzalpqaVBVaDI5VVwvK3EyXC9hT3kwaG9pdlJOZ282c29qd1UxeGtlOUp5SkU1b3hESCtXVGJtQ3NiSytPckpKcWNDZEN1V2JzaVk3M3Y0NUN4OThjQkIzd0VLNWkxckgzQXhQaWxpaXF5XC9ZQUVwN0ltdGxlU0k2SWtGR01FRkJRVEV3TTBOQk5UTTNSVUZGUkRnM1F6STBSRVExTXprd09VSTRNRUUzT0VFNU1qTkZNemd5TTBRMk9FUkJRME01TkVJNVJrWTRNekExUkVNaWZmUlN1NjRack1NdVRtd2s2QjdjZ2Q5M3g3cSswV05IS0FHTnZKbnBDNllkeUNTaGp1K2VOQ3dObTA2OVlpUFM1T3Z0dk0xT3h3QT0iLCJ0eXBlIjoiaXZyTGFuZGxpbmUifSx7Im5hbWUiOiJNb2JpbGUgcGhvbmUiLCJwYXltZW50TWV0aG9kRGF0YSI6IkFiMDJiNGMwIUJRQUJBZ0N1RjY0eWl4RGg5VmZqSzF3UHI4NkZrZTZRQVZYK0ZYdm9wOVwvOXJla0xwRE9WaGtORXNOR0Z1OVhsUGZiVkhFT2wyNGwrMElKUGxDYm04S2F1Wk1qakRab3Bybm9ZazlBZnBNUXhlWEl3dzRzSU9xdEZyWDY5U1NCcXJPb3J3XC8yMmM5ZUIrQWs0alkwUVY2NUVCUEVFbEczbWlkemVla2NNSlZsUVdrM2k5bW9hWkVQb1c1QVBiYlhWbVI3K0pEUFBDdHhKMWVyYmRnM0VTMGt2a0pNbGNZdVNnK1pRZWUxOVwveFMrbTNvOXlDWG1EYTJWNW5VcFRJeERcLzVMZjhcL1pmOUpuNjVWZ3VwVm0zY0VqMjR5Y3FXaittYzdjeFdGemRwNjdESk5MQWNBTW41TkpJeFZFeFBiNU1RMGR6NmVUb0hUTVVVMjdlUTdOeUluMmpZbXJVS1plNW9vc0V1SEF5SkRBRkFSV085OGo4Q0NpNUJOM1l5MjZ1N0FHK2NQNEpFalJaa1A3bE5hVE0yNEdwcUk2VDExQTVlYzExaGZlU3g2XC8wYzVoZGhaUU5Rb1oxT0Q5Z1wvK3ZMUkdiOG1NaTBJaDhLOFVsbTA3MmV4dmJcLzFCUnJrV1dKQ1BBMDJJQkZXMnl6V3FhOFlDY3VGTW5EakQyZU9IUW9HNVlaS0lUYnN6XC91TlwvOWFqN2UxUmVGXC9XS3Z6OHVKSGZnNUpkM0cyaVM0VEJOZ09nZmVPazByTlhiMHBPNmlMb3lhaUtzR2crTE56MHYrZ1d1MVowQjZraW5qVUVXR0c2UDA2NDlIUkNiNWE5UDlIZ3RlUVNNTEExcjJJNWd1Umk2OU8xUGIyRUVFellzR0tmRjdOemlkeWFwa3VJRzZ6TFhBZm9Ra0xhenorOWRDdFN4QU1HWXlhRUFwSzZibk9NaDRJMGZwYkFFcDdJbXRsZVNJNklrRkdNRUZCUVRFd00wTkJOVE0zUlVGRlJEZzNRekkwUkVRMU16a3dPVUk0TUVFM09FRTVNak5GTXpneU0wUTJPRVJCUTBNNU5FSTVSa1k0TXpBMVJFTWlmVFJKd25Mc2dLSnFlQjk3YkpPU0piUTl3V092TTVxVG5zK05aWnMydWFSTXNuQWVjdXdtV3lMdUtQYkE4SWxDSEZocUtqOXozK289IiwidHlwZSI6Iml2ck1vYmlsZSJ9LHsiZGV0YWlscyI6W3sia2V5IjoiZW5jcnlwdGVkQ2FyZE51bWJlciIsInR5cGUiOiJjYXJkVG9rZW4ifSx7ImtleSI6ImVuY3J5cHRlZFNlY3VyaXR5Q29kZSIsInR5cGUiOiJjYXJkVG9rZW4ifSx7ImtleSI6ImVuY3J5cHRlZEV4cGlyeU1vbnRoIiwidHlwZSI6ImNhcmRUb2tlbiJ9LHsia2V5IjoiZW5jcnlwdGVkRXhwaXJ5WWVhciIsInR5cGUiOiJjYXJkVG9rZW4ifSx7ImtleSI6ImhvbGRlck5hbWUiLCJvcHRpb25hbCI6dHJ1ZSwidHlwZSI6InRleHQifSx7ImtleSI6InN0b3JlRGV0YWlscyIsIm9wdGlvbmFsIjp0cnVlLCJ0eXBlIjoiYm9vbGVhbiJ9XSwiZ3JvdXAiOnsibmFtZSI6IkhpdGVsa8OhcnR5YSIsInBheW1lbnRNZXRob2REYXRhIjoiQWIwMmI0YzAhQlFBQkFnQlpvc1Q1UjErXC9TNGo0SEdFTldXQVwvaVBlUWZranh1amh0T05wUGM0N2hhdVR6RGFlcVdISlZoXC9obXU3NTVCcFdqVVwvNFhOeWZQWGVkRk9IUk5DVmcycjZXcmtZTXhTKytBR3lHc01wanVwNEZObmIzNXBrV0NaRWszbWV1b2lqaHZUcWJ6aXlaRXJVQzUyOUwyMkJnbW1IN2dwYXlCVEpFZjJEU1luVHNTdjUyQTVpZUo3YlByb2NiMnlsR1d5TDBWaFhkd1FWWWZWZHdvWVhiYVZcL0FadnU5czV0Zjc5RXdmNG10NmNuQXl0RWtKU1hnWjRHT2VGSHRKeVBkcXI5cGVcL3dqQVNyb2c3WE1TMEV6aFo3ckdJN2VCNTQ1d0dGaWp3bW5TbHNyRjBKS004bkVnZlRFblNXOHM5YXJFRXdDNUNIOXU4YTdhaGdma2NSNUc4d2thNzhiZDhtMHJPaDcxZ29iYVhxenNoNm5ETEp4b1ZKSTdRRjVwMUFvb1RKSkppbDhROEhaZEJsQkZmd0JQV0hJYVdvbjgxOEpDZ05Mbmh5Y0lwTDRwSjV2MzRLK2xoNE5ROUk0YmUxN1YzdEZHQVh2WEZpR2VCTVA0MmVNVFhoR3d0ek9neXdyY0tjTGRjcnpsbHhsSGFLNFBFb01raGVKRjVoc21NUTU4eFcwblorekV3T2tPSGg2czBDRkhSK0ZUdEhKdmtIcVdOQVc1TFEwbENFbTE3cXdHKzdWNEtaMHg3ZklZTjIyd0Ftc0czUXNKTzFRaTNxb0JCWm5jQzZwcExqdUltQWdoY09IQnd1dUJOdURaaFZFUXEyTVdDS3RRSDRhbUN2Z2hoQmtNS2tSK3k4b2RFRzYxOE5PRWZ5Rmw5aGVSMTNaaTJwQytBXC9PK2NDemYreEE2eEJ3QXYrTHJFcENTVGpkZWZuQUxBRXA3SW10bGVTSTZJa0ZHTUVGQlFURXdNME5CTlRNM1JVRkZSRGczUXpJMFJFUTFNemt3T1VJNE1FRTNPRUU1TWpORk16Z3lNMFEyT0VSQlEwTTVORUk1UmtZNE16QTFSRU1pZlhuZ1Y5RTFJd0RURDBGbzlcL2J1cEd1c282REZ5WmxqMG1JOWowUEx0NkhhZkJ4dG5NbCtvSFZCYnVrWmZqMXJqN0I2c2VNPSIsInR5cGUiOiJjYXJkIn0sIm5hbWUiOiJKQ0IiLCJwYXltZW50TWV0aG9kRGF0YSI6IkFiMDJiNGMwIUJRQUJBZ0FFTVRlUHZGNENadENkOWpiaXJqUjBBcXBPUFdGQ1YyNW5jOWxRekJxNk5nSlwvQkw4cmJzYmVZUEVFV2Y3T1dyU01kbWlGamVKS1pOOWs2c3hQV2NiOEQ2QUhnbVZEa2xyS0VkNlI1cW50TVkrTDRoTnMwVFArUWN4MUN6WlkwelVGZ3JQNEdwNXNlUkJLS3BveEdVa0FzQk1nSWVaUk1RTWF6NEVVenR0clpCXC8ycDFcL0FqVlZ5VUx5dyttWWwyQWlSRkN6RkoySHdVRkFkczNXMzdVTmxPSHE4UUJjeTRtR1FMb1RtNnNqbElIcGV1ZFp0bGtvUkxuVWhZOThwbEJlY3BaWVpiSGlUOUpDbE0wTE9Yd3lvV1ByK1wvajU4UlJPR2Z6Y3NJVE9QRGJldnVvdXN3cTkwSUpjeG5zRWRuYnE3S1FDbWluV2dhU0I1clp2NGZHUldTYTZ6RjVYK2JCaVFpeExRRDF6cXFcLzRhcHZvRW9SY2ljRUE1djZXVkgzYnBYUUJodUQ3M0hGVlowYjJncnBxOFJxMGVHVjlFVTRRV0RCM21ua1ZhUjFCenFFNkJDMGZSXC85U3hBR2VsdVNKbjdIVlhqdVZaMmJcL1hhbVEweFwvNFlITlBXMVh0RTVQSVZPZHRYSFwvTEt2RFMxY2VnNVB0ZEVaXC84M1hxangzWTQ3WFprdGRLVHJ6RStteVdKblREMUd6djFcL1lOMWtcL3FPRWlHa3lxQkF5M3ltcFBJNVUrQnUwUzV4ZWlsdW0wa2pBV1FSNWJzR0Y5V3NPYkFWSjR4UGhrWXQxVjdwMjF0ZDNnVlR4d3c1UUZERmtNU0tcLzZNWStxbWswMWdSU1JJQmZsSzBibnR2MDFZVGVHM2lETCtNT0FMYm5yWTJTdE1RM1wvcVBqSmpLWElCQmg5S3NmdytBdE5oZVhrNkswQ3NkdEFFcDdJbXRsZVNJNklrRkdNRUZCUVRFd00wTkJOVE0zUlVGRlJEZzNRekkwUkVRMU16a3dPVUk0TUVFM09FRTVNak5GTXpneU0wUTJPRVJCUTBNNU5FSTVSa1k0TXpBMVJFTWlmUjZxSnJ0UjZZbnhyaFpJQkpzWEhKRGZUZFBWTlREakdcL0tkQnE5M1wvTFUrbTJibFVLM25sc0g2Mmd4U0llRCsyMjg9IiwidHlwZSI6ImpjYiJ9LHsibmFtZSI6IkthZG8gV2VyZWxkIiwicGF5bWVudE1ldGhvZERhdGEiOiJBYjAyYjRjMCFCUUFCQWdDVmF5a1lkQllPZDlTWFpobXR0MTUza3pSd0VoT0szYUNxemVXN3NkaWM4QnlwNSt0aDBFRFdhZndmSUlHN0xRTGYzM1VGSXNWNUlubG1BZFZBdk1rWFJ0MkJBVGhOTHFTd0NSMStDWlpNT3o1b2tTMmRGREtHOXJkaDErS0RCNmZyWWdSVmlpc2FKNlcrYnY3N2w1NE5uRitBOEIxbFBqS3lkQ0VudjJlTjhcLzNtaTMyMUFqTURxaW04SUhyZFRZbDJwRVwvXC9SNk9FdDFiMWpBTGtobis3M2p0NmdYYm9NUHd1UVRwa05NUnhOUlBcL1lhcExrS1gwNEEzRnpxbmJlcDNCUWhYQk1mMllFWE9qUXc0cnlWbURJb2pPcFBqaGs5ZXU4VW14czRzVzk2ZGJvMGVSTlhiTmQxK1NjRE00RlpRUG04blFcL0JKK2RhYm4wdVp3cXN6NjRjSlJ4MStPNGMzcXdUc2E4enRTY2thQ0w0YjdxS1lLM3J0WWZ6UGZ5T1ZcL3d4NGZ5Tkh0YlJXNjA5ZVlPWFY3bmk2NlJsYStoU09wSEZCUXpoTHUwU2JLXC83cGRCTUE0MmNDdmlmbjBDTFwvZ1Vqa3FoaVwvMVhXU25VXC9DaVhWMVAyQmFPVExBVzJydXRFV01vdmcwYm81OHU0XC8yTU1QWEtwY2dHRVljMW9vWFd5Y1pWeFR2VEJQS2NNOEJMSkl0algzeEFCYkVFZGJDcUplZlBNU3BQcnZUN2tGYnZveHVJUWhyTUVZYmhhQ1E3aTlcL0xDWG1xRlpGMXFLclV4QlVNZEIzc1NBR3ZQeUduTE5jNnpDbDlscGZpcmhaNzNYZFJ5eHNUekZMMFI4dHhCWHF4STRJaVBGV01SdDAreFYyZ0FGcUJFQ1k5RmVvRzluTUZGZ1NsQWhCSUdHVFZUdFBJYWx0VDd4WURWS3pTQUVwN0ltdGxlU0k2SWtGR01FRkJRVEV3TTBOQk5UTTNSVUZGUkRnM1F6STBSRVExTXprd09VSTRNRUUzT0VFNU1qTkZNemd5TTBRMk9FUkJRME01TkVJNVJrWTRNekExUkVNaWZRaWYxXC9yQXREV0EwNU5iRXRxc1FET3ZuWFYxNUg0alFBbE5vbVdrRDRJMGNkS1dEUmlYelYyeVl0NjdGXC8yeno5SWhiTFpKNnl6MSIsInR5cGUiOiJrYWRvd2VyZWxkIn0seyJuYW1lIjoiS2FyZW4gTWlsbGVuIEdpZnRDYXJkIiwicGF5bWVudE1ldGhvZERhdGEiOiJBYjAyYjRjMCFCUUFCQWdBcFlJMmhiSGVEZkVTMFFFOWw3cG5MU0lBXC9NSUtnVGxvUzF0aGx5QUZneEdcL0FWK3JZbkNRb0hTblwvdzN2V3RqZ00wcnlkTFdqUWRJcVdzWUtLZVJCQ1hqcUxXRFByWUI3Z2FHVCtcL1JpTzV3OG1JOXQzT2wwTG5JK1R3TDNOcVhSaEZEYXJNa3Ixd0JrcXJ5bkhmdmNwYkVia0xWZEtTWVdlODhab3JvSWlFQWczK3EydHBuK2ZMd1h1Q3Z0VVhxcXF6WWsrQm9cL1NZSjBtYnhJU1J6RklzRTNaQWFVbkxXdFdhSmY3cnppeUphNmp6Y3NWRGdxcEl0cE1mZW5JYXJWRmNMUXY3U2lmMUU0UTJvMVdvUFJtaHZsTk83WjJEbHV6U2FEKzFSeWNnOWIzWGlcL3Bqa0tPNFlvb0NyREtEVnRoWVhiZTJqNlJWc1pDeVpGSmU5djVFZ3AzTVVwblRcL1h3aUIrY2JhU3lQb0MwWWFjb1RcL2NuaEoyYUhUdFY2SFZLVVpQRDhFaDRqQmRpOHFBUGdiQnpyM0U1TEV0SHVTWU84cldiWlFNWVM5RW5KQjBnbVwvRHRvUE00bkhVQTFwYjBmZlNCWm1TUWdDZU5ycjg5WmZMdkpaUDdpdFpJK3RqZmFGb0FZMExmenpDU2dlM00wTHJaTUFEdnFHOEJnK2gycDZibk14NWFcL3NzTFVMN3ZubHlmR3BsMk9saFdEYkpUa3BxQTV5dDM1dXNGbmlPTXhrV25oa2NocTBCRU5MM3dYbFwvZEFpb0RrU1RkVlB4Z2ZaYU95OUZTVkpaTlIyZ0NGbVlodGg2WWs1NUZCU2NVZElpczJ0eWtuZE4xYWhTdkgzdEYxalwvSDZjTEZkcTJCMkRMb0hvcTNpM0xlV0J0dmw2MUk5OEVLK1JBSk1JRXd0UFZzV2pyTkh1Q2RXaG1CQUVwN0ltdGxlU0k2SWtGR01FRkJRVEV3TTBOQk5UTTNSVUZGUkRnM1F6STBSRVExTXprd09VSTRNRUUzT0VFNU1qTkZNemd5TTBRMk9FUkJRME01TkVJNVJrWTRNekExUkVNaWZlMGpNeWNURDg0RDVCQktBZDBtR01TR0hSS0graXdoZ1wvRzhnMjFxYVgxdnF4ekUxV0pucThPS1RycmdyR0VmXC9mQnhGc2lxSVFxcDU4Z0dDM3ZLdEpmcSIsInR5cGUiOiJrYXJlbm1pbGxlbmdpZnRjYXJkIn0seyJuYW1lIjoiTGVpc3VyZSBDYXJkIiwicGF5bWVudE1ldGhvZERhdGEiOiJBYjAyYjRjMCFCUUFCQWdCWWRIQk4wKzVVMW1DTVRtV1J6cTV3VFdXckRobDhpNnE2eWlpeVBjRzFmcm9BYnJsbWhudHZIaUFlZUdQd3duSWRqZk9ydGhSM0hjTzg3WnMwNUhOYVR3bTltaHhrKzN0XC9NVmF0K3IxNDJxczRvNU9LZElSNHVZUklCUnJqREcrVWhVVzFkQW5OdnJDQ1ora1pGdWhcL3Y3VHpmeHk1M1JlVE80Q0FPRm1zblVBcW55bmF6VnZ5WDlsTUlZb1RzZDBLWGpCNW5MR0kxRFY0XC95OU0yTTRpeUhtQ0lCNTlCdkY1eDZibnoySUx0ZndSWnRRZTlIb1Y0V0NPM0k5dGl0RGt0bWRPSG5Dc1FrS2wxMUpaU1FBSVdFaWJHbVdodVFtaXVUSEkrVnVUVzlxS2F5XC9ZYTVqNVNma2hcL2VDT0E5MFdtT2FxeW5KV0NkT0NpWXNkOUlpVVJ3c1E2U3FIN2tVb0JKN3RsMVVNOExwSnlaY0xEVFg1SE9cL25Td0E1S0JSdzkzY0hlcnlCdG1IYXZmSDVWWFA2MEZGTUNRcjk1V0NLTkZmSnY5RkNWeWRiZ2FRM1VpTWc2RDF5Qkp0SnF3T3ViNmFXeXZiMTMzS2dJcEpuaE81MjJYXC9LeGtIelZrQVJ5ZWF1T3ZSYXJzVWxpZG4waDZJWUFtd1g2SlZlSkQzRmxuRFlCT0dvWStJazJEenZCcTM1eWxmaktyTk1FbnRrRm9ZT1FaamFCKzRCSVVwODZwSlNxXC9ieHVrZkE3K01MN1ZZclhzMEcxNmlXQm4zMDhrMEpsZStxeVVocVhDM3FldkpNcDg3ZUczbXJnYUJyXC9MaTNJZmFCdDNvN0l0TmRHOWQxbDkxNGxhakFtVmp4ZUxxVzhDdlwvdElzQ25hbDZ6d0Jrc0lFN0hoQ3VJTTJDdWlNQ1J6bGhIQTNCQnBackFFcDdJbXRsZVNJNklrRkdNRUZCUVRFd00wTkJOVE0zUlVGRlJEZzNRekkwUkVRMU16a3dPVUk0TUVFM09FRTVNak5GTXpneU0wUTJPRVJCUTBNNU5FSTVSa1k0TXpBMVJFTWlmVyt3aVRIZ2NGYTNJTlU3YW9kM3hic2Fmb3pZQldpajk2eGg2amlHMmJEMllkQTk4NHlwbVo0MXVBMEZpcjZXbDFSNm5HR1pseVZkcnc9PSIsInR5cGUiOiJsZWlzdXJlY2FyZCJ9LHsibmFtZSI6Ikxvb2RzNSBDYWRlYXVrYWFydCIsInBheW1lbnRNZXRob2REYXRhIjoiQWIwMmI0YzAhQlFBQkFnQVBwXC9cL0ZqdVArVUxBbnFPTEZ3blZRWDNwR3VUbFlpTW1TWFhnNkVlanhkZGJoeEJmM1wvQ1BCRXpJUmt0WXd1VnpZYk1lTnJ4YkFNUkRBckV4ZFpKTWNGV2JCSE9wOXBMR2NUNG1SV20ycG1mK2FSZEtOeWdlUzNtSTg1eGxUXC9sNThQcEhoVzRvWE96cDBraDhVRTNkUGJiUXpiTXVjYUM5RkphODk4ZGk5a0s3Q0hCT2luR3FHc2NuYkp1ekJyRCtPM1hmMk1zaFo5SnRKaEZGTmJJeUxnYndjdlwvWUV4eU1rQXZYZGRMc1ZTNzZUbHJQanFRc0NPQ0V5Q1U5K3d3alA1R1JhSUhxTWJ3eCs1dkQxWnk4WWgzR0IrZnFtRTJKQmJyTzR2U3REU1VjUkptb25aNmVHbVM0RFA3NmxRNDZBVnIxUFk0S3daT1wvTUU0S3UwWEg0dks0OUVKS1FJU3FrbGxseGErMllrR0FoNURzTHZEMHRBc3dmUTVMdnZ2bVhJRWFjS2pmWXNLTkthN3crWjQxQm43UFpUd0xZcCtGQm55bmxHTzZBbVJZZ21KU0VhZzRyQ3VlWkQwcUpOcmdjSnFNcDMzbDBlS05iNzJ3RFFMWjVFc1haN1lpaFRxOWdMXC90c1ZvOHNnT3JaVjFBS1dobklZenBJd1NOZUpKM2Nsa3FPdTI0VGlsalwvdjFrcWlESTUreW4zb2FBWk8zY3JtK0dUTVdZN2p4S21IM2xZMTMwXC9qZENNSGJQVHVnb25BbEphbHBJNnMwdmZBNkxiRmNZWDJCZ084NjdDbW94OVNTQk45RUJHN2E3Rk5CMDdQZjJrZVFjZGVhV2cxRHdsZEdQU01DdE1DMm9EYU1kMnMzZXh5cm5FT2czcmRiaDZRMzlyZmhPSk94QjBSdjI1T3JuN2pEa2FCcXZxTWYzUkFFcDdJbXRsZVNJNklrRkdNRUZCUVRFd00wTkJOVE0zUlVGRlJEZzNRekkwUkVRMU16a3dPVUk0TUVFM09FRTVNak5GTXpneU0wUTJPRVJCUTBNNU5FSTVSa1k0TXpBMVJFTWlmVG1kclNueTFrRUVIbUpENGlSY3VcLzBaUG1nU3FWb2RScTVlRmhaTEwzOFhXdEg3VDAzR1FDMUJkZ0FCQmFVZ0RBalorYWRoMkVsKzcwZjZjQT09IiwidHlwZSI6Imxvb2RzNWdpZnRjYXJkIn0seyJuYW1lIjoiTG9vZHM1IFRlZ29lZGJvbiIsInBheW1lbnRNZXRob2REYXRhIjoiQWIwMmI0YzAhQlFBQkFnQ1hUeHZwTTVOb3ZkS1oxXC84TVNKTVhtSUR6ckcxUzM1RDJ4UmdKaGxmSCtySGxjQVBkRW9lUzVFN0NjVURLXC9wQStOc3FWWFNLVjdZcFBsekRJMkhvdDF3SzgrdmhIaDlnM2hDRFwvY0N0VGhwbGF5d0JlQUtXUTFZWWVYcUNpU2JMZU5BdFREV3MxUnZQQXdzV3BEYlNGUTFWblhTK2tSOXZFXC9UMWdHOHB0aFNycFY3MmFVZ1wvTW0ybUpHTmUzQkp4em91KzJlVTBQRWlLVzQ1RW1RTnMrMVFiWkxLd3ZFMEJ5dkFUQmI2K0p2YVhKcWRaWXZrMGo2aTEwRW9hdnZjZ01RRWRUaXlJMmVGd1g3bytGMEIwR0ZSbzQ2QUNDUVwvQkR3ZWtnMyt0UGZEc2M2V0x3Tm4zQnJYQ1I2YkhBV1VjUFEwRW1sQ1JEZGcyemJUMGZ5SEFHVisycThyNkZ6dG9cL1wvTkVpM3hSSnFDNHVZdktnNGowQ09VZlpTSnNlQnV2d0thU29FWm1WeW5pMjVZNGw5UVNPZUdDOTBoSlorRkxiYm8yTTVWcWZ0SklJOFZVQmMwbzViUktYQ0FGQmpuNmlESGFcL0Z6UzhQTGtlaExrQWtXbFUxUVJVVjZxRGZPZnpNaEFUNkJcL2ZHb1hWcTNFQyt3ZHdzRWhaUDlcL2o5RG1GVHVMQlorejhMMnl5WmNEbWhLRDUxMzdpZnZ0SDdTdERhU2ZwT2RaV0JHU09UcHVBK0U4ajhBcWZ1Vmp5dW9hTkNFb3BSQVYxTGVzNG1JS3YwanV5SWh4c0krY2dVVTRzRGZLcXZEa3pEXC9zbUdHaGxvQzgwZW5ibmNnTFYyekNnbTJ5c3VMVE9SQmxWaGhaQktuUjhhRUFcL2ZhRGlpMFVJSkU5YjViT0puUkM0VmVmZUZOVnJUa2dCcFl6aG1wTnlBRXA3SW10bGVTSTZJa0ZHTUVGQlFURXdNME5CTlRNM1JVRkZSRGczUXpJMFJFUTFNemt3T1VJNE1FRTNPRUU1TWpORk16Z3lNMFEyT0VSQlEwTTVORUk1UmtZNE16QTFSRU1pZlN1REdPVVoxeGlUOXB2M1p4dnpEalhkYkowSlFuYzVFV1ZyczlISzZUVFBEaUJtUkRod3Z6dnJWWU96VEpqYWViSFlcL3JnNituekhMWE1nUlJucTNBPT0iLCJ0eXBlIjoibG9vZHM1cHJlcGFpZGNhcmQifSx7ImRldGFpbHMiOlt7ImtleSI6ImVuY3J5cHRlZENhcmROdW1iZXIiLCJ0eXBlIjoiY2FyZFRva2VuIn0seyJrZXkiOiJlbmNyeXB0ZWRTZWN1cml0eUNvZGUiLCJ0eXBlIjoiY2FyZFRva2VuIn0seyJrZXkiOiJlbmNyeXB0ZWRFeHBpcnlNb250aCIsInR5cGUiOiJjYXJkVG9rZW4ifSx7ImtleSI6ImVuY3J5cHRlZEV4cGlyeVllYXIiLCJ0eXBlIjoiY2FyZFRva2VuIn0seyJrZXkiOiJob2xkZXJOYW1lIiwib3B0aW9uYWwiOnRydWUsInR5cGUiOiJ0ZXh0In0seyJrZXkiOiJzdG9yZURldGFpbHMiLCJvcHRpb25hbCI6dHJ1ZSwidHlwZSI6ImJvb2xlYW4ifV0sImdyb3VwIjp7Im5hbWUiOiJIaXRlbGvDoXJ0eWEiLCJwYXltZW50TWV0aG9kRGF0YSI6IkFiMDJiNGMwIUJRQUJBZ0Jab3NUNVIxK1wvUzRqNEhHRU5XV0FcL2lQZVFma2p4dWpodE9OcFBjNDdoYXVUekRhZXFXSEpWaFwvaG11NzU1QnBXalVcLzRYTnlmUFhlZEZPSFJOQ1ZnMnI2V3JrWU14UysrQUd5R3NNcGp1cDRGTm5iMzVwa1dDWkVrM21ldW9pamh2VHFieml5WkVyVUM1MjlMMjJCZ21tSDdncGF5QlRKRWYyRFNZblRzU3Y1MkE1aWVKN2JQcm9jYjJ5bEdXeUwwVmhYZHdRVllmVmR3b1lYYmFWXC9BWnZ1OXM1dGY3OUV3ZjRtdDZjbkF5dEVrSlNYZ1o0R09lRkh0SnlQZHFyOXBlXC93akFTcm9nN1hNUzBFemhaN3JHSTdlQjU0NXdHRmlqd21uU2xzckYwSktNOG5FZ2ZURW5TVzhzOWFyRUV3QzVDSDl1OGE3YWhnZmtjUjVHOHdrYTc4YmQ4bTByT2g3MWdvYmFYcXpzaDZuRExKeG9WSkk3UUY1cDFBb29USkpKaWw4UThIWmRCbEJGZndCUFdISWFXb244MThKQ2dOTG5oeWNJcEw0cEo1djM0SytsaDROUTlJNGJlMTdWM3RGR0FYdlhGaUdlQk1QNDJlTVRYaEd3dHpPZ3l3cmNLY0xkY3J6bGx4bEhhSzRQRW9Na2hlSkY1aHNtTVE1OHhXMG5aK3pFd09rT0hoNnMwQ0ZIUitGVHRISnZrSHFXTkFXNUxRMGxDRW0xN3F3Rys3VjRLWjB4N2ZJWU4yMndBbXNHM1FzSk8xUWkzcW9CQlpuY0M2cHBManVJbUFnaGNPSEJ3dXVCTnVEWmhWRVFxMk1XQ0t0UUg0YW1DdmdoaEJrTUtrUit5OG9kRUc2MThOT0VmeUZsOWhlUjEzWmkycEMrQVwvTytjQ3pmK3hBNnhCd0F2K0xyRXBDU1RqZGVmbkFMQUVwN0ltdGxlU0k2SWtGR01FRkJRVEV3TTBOQk5UTTNSVUZGUkRnM1F6STBSRVExTXprd09VSTRNRUUzT0VFNU1qTkZNemd5TTBRMk9FUkJRME01TkVJNVJrWTRNekExUkVNaWZYbmdWOUUxSXdEVEQwRm85XC9idXBHdXNvNkRGeVpsajBtSTlqMFBMdDZIYWZCeHRuTWwrb0hWQmJ1a1pmajFyajdCNnNlTT0iLCJ0eXBlIjoiY2FyZCJ9LCJuYW1lIjoibWFzdGVycGFzcyIsInBheW1lbnRNZXRob2REYXRhIjoiQWIwMmI0YzAhQlFBQkFnQnZiUlBrQ2RkYXk2ZWtDbytaM0dCRENXd2NHT3E1WmlUckxab1hUV0daQlVIdzVRdVhmeXBVMkdJY0VFcUxmU0oyQjNqdENEVVQ0NmJcL0xxeU9za2JYcmNmZVwvU2x6a01wZ3RqWXlJNXA1b1wvZlhBVjJFWVNhZ2RJVllOXC90ald2VEx2YWJRcXhUbUhPYnFiZVNoXC9vSWtvZTdYRE41Z2NUWmVxcE91UGUzNDh1Sk5FaG5zMytDdVRnZnVoNW4wM3Rrb3BkS2xQS1NlRnZhTjcxV2hPTG1XbnJmNmNUOVVUUXoyS3NJMW9SK0pWelNPY1c1WUFDazMxRDVCSWthVXdKYWlCMXd6aW5qSWJKQTVocGc4am9mdnFQM3BZMVYyMDJtcFdTa2k1dkdXWGhncThEa3FZemc0RlYwRTFpMWpmOFBNQkhcL2prRU9Ba3dTVjJDQ2ZoUUxHcHBYR2pTWCthR1FmaG56eHVQMkpsbUNSVk1hckd0N3hIT3lVVWdsS1MyNVMxeGtLWXVobW53U0prZmQyVXVHSXFia0VTSVZEVis4U1hpejQwMGxBdGdcL01kV01tdnhzelVad1BzUmtQMGVlQ2J2TFVnZTQ3ZFlLVlhiMWViV2l4QzFCelhlWmtHeE9PZWpcL2IrZjQ1SlFZbUhWT3ZvTGt6RURVditISGJUNU9sZXo0QVdDWVVrNU91WE03YW9cL2ptT2EzREdtelZtNmF2OUxhaGZlaWlQTzlmWWNYOGt3b0ZIWmJLY0tSVmhzVHd5WjVcL1p5MjVWb0NMbm1ZY0R0NGhrUlFlOStuRGQ1QmVQdjUzWXlJZ2treURHZWJsdzVOS1J0VGppc0xvNlB4Ylg2OHJHbm9URUE4YTRMYTdzMlEwMVFnaGloSWlVUVk2UXprTG5uOGZWeEQ3VTlMYVwvZitkQ2hJd1JJdEdaYnBTQUVwN0ltdGxlU0k2SWtGR01FRkJRVEV3TTBOQk5UTTNSVUZGUkRnM1F6STBSRVExTXprd09VSTRNRUUzT0VFNU1qTkZNemd5TTBRMk9FUkJRME01TkVJNVJrWTRNekExUkVNaWZYemdmcDlQU1ZMXC9HeDhHTkNSMndTMnF6REE2N1pDUTNob2tMN1F0WndpRUxzQjVrcm5PQ1o0WHlDclZVSzVRd08xNFhFcVwvbzRiTSIsInR5cGUiOiJtYXN0ZXJwYXNzIn0seyJkZXRhaWxzIjpbeyJrZXkiOiJlbmNyeXB0ZWRDYXJkTnVtYmVyIiwidHlwZSI6ImNhcmRUb2tlbiJ9LHsia2V5IjoiZW5jcnlwdGVkU2VjdXJpdHlDb2RlIiwidHlwZSI6ImNhcmRUb2tlbiJ9LHsia2V5IjoiZW5jcnlwdGVkRXhwaXJ5TW9udGgiLCJ0eXBlIjoiY2FyZFRva2VuIn0seyJrZXkiOiJlbmNyeXB0ZWRFeHBpcnlZZWFyIiwidHlwZSI6ImNhcmRUb2tlbiJ9LHsia2V5IjoiaG9sZGVyTmFtZSIsIm9wdGlvbmFsIjp0cnVlLCJ0eXBlIjoidGV4dCJ9LHsia2V5Ijoic3RvcmVEZXRhaWxzIiwib3B0aW9uYWwiOnRydWUsInR5cGUiOiJib29sZWFuIn1dLCJncm91cCI6eyJuYW1lIjoiSGl0ZWxrw6FydHlhIiwicGF5bWVudE1ldGhvZERhdGEiOiJBYjAyYjRjMCFCUUFCQWdCWm9zVDVSMStcL1M0ajRIR0VOV1dBXC9pUGVRZmtqeHVqaHRPTnBQYzQ3aGF1VHpEYWVxV0hKVmhcL2htdTc1NUJwV2pVXC80WE55ZlBYZWRGT0hSTkNWZzJyNldya1lNeFMrK0FHeUdzTXBqdXA0Rk5uYjM1cGtXQ1pFazNtZXVvaWpodlRxYnppeVpFclVDNTI5TDIyQmdtbUg3Z3BheUJUSkVmMkRTWW5Uc1N2NTJBNWllSjdiUHJvY2IyeWxHV3lMMFZoWGR3UVZZZlZkd29ZWGJhVlwvQVp2dTlzNXRmNzlFd2Y0bXQ2Y25BeXRFa0pTWGdaNEdPZUZIdEp5UGRxcjlwZVwvd2pBU3JvZzdYTVMwRXpoWjdyR0k3ZUI1NDV3R0ZpandtblNsc3JGMEpLTThuRWdmVEVuU1c4czlhckVFd0M1Q0g5dThhN2FoZ2ZrY1I1Rzh3a2E3OGJkOG0wck9oNzFnb2JhWHF6c2g2bkRMSnhvVkpJN1FGNXAxQW9vVEpKSmlsOFE4SFpkQmxCRmZ3QlBXSElhV29uODE4SkNnTkxuaHljSXBMNHBKNXYzNEsrbGg0TlE5STRiZTE3VjN0RkdBWHZYRmlHZUJNUDQyZU1UWGhHd3R6T2d5d3JjS2NMZGNyemxseGxIYUs0UEVvTWtoZUpGNWhzbU1RNTh4VzBuWit6RXdPa09IaDZzMENGSFIrRlR0SEp2a0hxV05BVzVMUTBsQ0VtMTdxd0crN1Y0S1oweDdmSVlOMjJ3QW1zRzNRc0pPMVFpM3FvQkJabmNDNnBwTGp1SW1BZ2hjT0hCd3V1Qk51RFpoVkVRcTJNV0NLdFFINGFtQ3ZnaGhCa01La1IreThvZEVHNjE4Tk9FZnlGbDloZVIxM1ppMnBDK0FcL08rY0N6Zit4QTZ4QndBditMckVwQ1NUamRlZm5BTEFFcDdJbXRsZVNJNklrRkdNRUZCUVRFd00wTkJOVE0zUlVGRlJEZzNRekkwUkVRMU16a3dPVUk0TUVFM09FRTVNak5GTXpneU0wUTJPRVJCUTBNNU5FSTVSa1k0TXpBMVJFTWlmWG5nVjlFMUl3RFREMEZvOVwvYnVwR3VzbzZERnlabGowbUk5ajBQTHQ2SGFmQnh0bk1sK29IVkJidWtaZmoxcmo3QjZzZU09IiwidHlwZSI6ImNhcmQifSwibmFtZSI6IkFtYXpvbiBQYXkgKE1hc3RlcmNhcmQpIiwicGF5bWVudE1ldGhvZERhdGEiOiJBYjAyYjRjMCFCUUFCQWdDa0RCUTN0R202MWljaHh2SkJ0MHVMQXJzclcwcFo2XC9aVUNUNHYzeWVNeDFHVUhWeXdZS281XC9TQlQ5ZkExNFFJWU95QlNFdkR6SEcrRVZES2JzcThaR0dPODJBcmpFYmNwallidm44ZjN0MTBlcyszQm4rVHpseHZKaXlidWNmeG0ySXgyZDV5aVwvTVRZWWNkR0tTRlpsU3hHRlRGOVZORHpNVGtQODByelJZQXBCZHRyRnVSVEFQVzRoN3ordFd4OTk2SEJZVWJpdjBnMDE1TUhDSFMwU29ZaDJqUE9IaENtMTdSMnhCbmY4czFqY3BJRG5qWkFpTWozVm9aZW1WU3pjWU10dW1idVUrUjV2MW9VYUgzZGVBRWoxNHB1OTFpQ2dwT215VFFyWWlKZ2c4cDl1N3VVQ0RYUllBWWdvTFZrQkl1dDRQZUZtYTdJOVo3Z1dYcXJTdDZmZkhUZHZPMmtNbU8wT2djN0lsckJyRjYya29CZG5mdUoyMGpERWpvZEZcL0xhS3dRXC95eWgzcXhvMDZVU1FWTnZZWGwrSitFXC9pVWJOZ3c1RlIyQTk0SVwvMk1BZnhpTURTMHp0ZEJiQWYxUXphUzQ0b0pKM3VJUzZ6bENHR2NlbnhmUmRYTWpPWEVLbG9PK0YyQzhYTXZjdGN0SlZEZ1kzOTlWQ29naVpUTE5rejlTVFJyamc0cjVjd1pJdzRLdlhNY2U3QThLV1NLNTVCbGR5R3EweDRkZTBuXC9sajRrbzhvN1RvWGorXC9QcnlCdnRVamN6NjcraTUyZkx4dnI0aThpcWxzOXdTQmtSTFZmS0QrVmZLakp4blZ6bkRkc2ZyNWFEQmE0aEd3QU5HYkl1cUk0Z3Y3NEtYQ2RJV2JiSnFUZmREOVZBOXE0OWRnK0l5OURcL1ZoREZsVUF4ZFJMbWI2M2txUTI2ZGdBRkFFcDdJbXRsZVNJNklrRkdNRUZCUVRFd00wTkJOVE0zUlVGRlJEZzNRekkwUkVRMU16a3dPVUk0TUVFM09FRTVNak5GTXpneU0wUTJPRVJCUTBNNU5FSTVSa1k0TXpBMVJFTWlmUXI4U1ZjakdabnVBcmpRYXFCc1cxS1I2aWdzN05RYVRJS3pXSEI4b0JoUGVmUVhBbW9lN1R6ZGd6ZFJiNCt5b0FZSlBjUFlsbkxjVDA4PSIsInR5cGUiOiJtY19hbWF6b25wYXkifSx7Im5hbWUiOiJNT0xQb2ludHMiLCJwYXltZW50TWV0aG9kRGF0YSI6IkFiMDJiNGMwIUJRQUJBZ0JJZnpEbUI4cURHYWp2cTJcL2hHV0l6bGhBQWZ0VENxcEIzUlpMZVBcL1RHdlplS0ZQZStDTUlGblgxek50T2h5NE5QNENFRG1NOGpIeTh4WGVkUzFRZWxOMXBHWFAxblRrbzV2TXI3cWk5RUZrUWN2U3ZacHdPNVwvQ3owbmpWWWpGZ1pBQXZKd0s0WXRkZzRvc25rKzNYMHFybjY0WmJzQThpYlJHeXFFRUJBQ2x2SVk0QU1HMmNHWHlxcnUzbHR4d1ZxSWM5MzROcFoxTmVaZGdFOHpGRXVOUkxkTXRHbUFmaWdMRGtScFJmM3NPbFB0cFk5dTBnZTkzaWJ6UDJqUmpVR3k1WUxVZDFDRkpOeDdmaHRmZjYycjhtTnAxTGI5U0JDdTEyY25VTlZrTXNOSDNtYkF0SytxMkNrN0p2ZDlRS2lJUkhiSllSblB2XC9MTlwvbllBcytaMHNIQkMxYzc4aFQ3cURheXVHWitoYWFzbTVlZW0zVjgwSnVNcHcwOFYySVdkR3Vubjdwa0dLSjRsZFhVdzB0VUNLRDdEU1V1TGE4Tng2OGVpUXh5eldXUnEzUFVZR1VuczYwQzFaWGtPS3dPUU9oQ2Z4OWpzeGpOS3FSTjdxKzl6eEh5QlwvYUNNXC9mWmtJQnNpTnBCcWs5YVRDTVEzVGtTQ3hJM1RzRm9lZkRPS1pYRHFGV3hDUHE2SFZWR3QyNTlYd1ZNSUZaelQ2QUtDZEM3T2NXZW9QdzAyYUFDUXNqOWRua0txaDZIREdoQUFyZTlwclwvbVBDXC9wN0ljcEIzQkRuRFFSdENzc0ZrWFVGaE1OVnhteHh5YitKSDhGU2h5NVluYUNVN1ArZlwvSjZRbjJaOENOSnlyMlJaNzdzOU4rbnRoTWhLeE1DMkRcLzNDandWSTY2VGl4QVlJQWtaVVVobFg2WEVOOEtKcTRheUFFcDdJbXRsZVNJNklrRkdNRUZCUVRFd00wTkJOVE0zUlVGRlJEZzNRekkwUkVRMU16a3dPVUk0TUVFM09FRTVNak5GTXpneU0wUTJPRVJCUTBNNU5FSTVSa1k0TXpBMVJFTWlmYkZRcjV6RVVNb2hOK3JQQmwwU2RsdUhDWVpXdGNaQ0tWN1wvOHl6dnpEb1FZWW8yOEp5TFV2Sjg1dlBBWGg2SWk0Nk02Mkk1VEEyRzhLamUiLCJ0eXBlIjoibW9scGF5X3BvaW50cyJ9LHsibmFtZSI6Ik1vbmV5Ym9va2VycyIsInBheW1lbnRNZXRob2REYXRhIjoiQWIwMmI0YzAhQlFBQkFnQ1RCaVBUTWttK1wvcTBHdUtuZVVuN1dFb1BmMUR0TDR4ajYrU1hReEF1ZnJpOXM4Z2VzZjd6MGZEY1pTcWlBcGIwVWFIUEp2WktXSUVNb25wXC9kNUY1aDRqSE96Q05xTUswa2lUWjFsN3Z3MHNcL2FDYXdUMHkwUDdZbWg1UGdnMmxcL3diaUFkdFY5bmVGaDRuVDJNM1hiMmMrRG9cL3l6SU9VMExFVmF1VHZDeUNySVpmSHZjZmkraFp0d3daUHhZV0FsekpLeVZwbUQ1UllsZjNEOU9IdWs0bk5qZkdYWTJ1eWFmN3dcLzBFSUpJaHVrcVBuRWV5MnNpemd4Yno3cVdnYk1QQXdiV21MeW53Y3picWZHaUkzRlpwUzJ6eWFqVE9YazQ2RGNHSlNpZmM5SDJhcmN4ZytPMTFKaE9iQ3AydjJTdHdoOEREWFwvdW9aT2hkTGY0MnNqWnlpb3lnQmdmS3BPbkVMeWF4dWV2aGFlTk05Y1wvakVuWURkU0w5UDk2RGlmb0NHTEdwbjVmQUdBRHNreEhzekx5b0ZNT1BcL2tSYmJJZVNuSGpEcHdFNFk2ckZMWE9wS09GSmRqeDlBMXA4U3lIU2p4aFZcL0cxeWxrNlBuYW40NGZSak9ScEVIK3NGMlhmRElOUkN3WjdFVTNsSDg1bitQNWc2YzY2dlJiWk11R3NzYjlLdFk1eVgzSmNcL0lBUW1ZXC9rUzdXTG1iZW1xdkNDeTF2TVR3eWs3SjJOaGcrREZoTHZ6RWdCd3JEbkNReFY5RXpyZUpYT0V0Qm5RMVQ5dzluUW1ycCtOamlQVmNIbmZJUFNSRTBlbkFHeTk3ZmZmK254eHF2SCt5em02MVh1VFZHXC9CUkJqS3dxYlM0bTNuT1JEcjVrbHBQSzNOaHVVdFRxcHVDcEhjeEFCb0ZKRmFyUkppVnVIaXBLbjZEZGdBRXA3SW10bGVTSTZJa0ZHTUVGQlFURXdNME5CTlRNM1JVRkZSRGczUXpJMFJFUTFNemt3T1VJNE1FRTNPRUU1TWpORk16Z3lNMFEyT0VSQlEwTTVORUk1UmtZNE16QTFSRU1pZmFRcHlCRXl2bXJGOTBOQXd0ZnA1dndlaWdFNHM0MzNGdW8rVEJ1TXpYN1JvaUM1SWJ5NE1LZkRCcmRFRjFUUmJ6dGl5MVpPNUVjNjRvTT0iLCJ0eXBlIjoibW9uZXlib29rZXJzIn0seyJuYW1lIjoiRGUgTmF0aW9uYWxlIE11c2ljYWxjYXJkIiwicGF5bWVudE1ldGhvZERhdGEiOiJBYjAyYjRjMCFCUUFCQWdCTUNsSzllb3hrM0kzXC8yVWMyWFMzY05BM1VVOXFkU1lLUVducXc5Y09Ed3hhdFwvTkIycnFnbDhWZmZiVXkzbTBwdEZEb21jN2JVOGpNSG9LUm12R3VRXC9lV0k5MGJSVDk4RGpxdHYrdVNJZGd5d2ZkeG1PN3ZMcTFpbXg3ZWVHWUpxR0NnQWJKU0hqeG15MXladEU4dEJLMGRidE5CeUNiaDFjajBORkhoVG1hOVMrMk9RWlwvTVhEWml6UVwvbk55d09DS2Jkd1Bnc05uV2lVcjh3QitxRmZqVW9rU045eFFCN2VVVUNSNGIyWFVjWGhMRjRcL3IyU0tnWnVmK2xnbnVYTjhMb1FIMjlkNFM0VHJNMFRhOVVLUlBvWGRyRVwvSnZuOGFuNkhaZmRoZzdVMWJXTXNyVlVWNGFHR3l5QXBycG5jUE45NWc1alRaWGNvblZLaVFZcXp3Y3dKaGNNckw0WHlFbXZra3hINXBNOEN4Um5IR1hyQldiWG9tS09ESDFIN2ZHV01oRmkwRFwvTFlJRFBjTTJXZmEzZVp1SnZaYkg3aVwvdHVMUEk5QnpqZGZNRnpRRTZzWmJqVW1XM2xcL3d1ODIydzBUVCtCZ2NQVGYyOTN2UFY3V1g0aWpmOEpjWjBvY010UDY2STl5dnZKSW1qeTJZOE1kakNjWGlDSzRITjA0Q1plK1ZFS1dnZktDQWl2OXB6N1hqNExmUDhvaHhaZzZXOFYxN0dnSGFHK0hjNnBWKzJHcHBWamY5R3VFcXBWR1JweENFNndQSHdVSkhUZFBLOUJUNFoyZGRtUXZtakhCVWpmT2JhbSs2WDQyWGJDXC9LR2RTclwvcVNrUE91d2JwNVJjdjZWT1ppMCtEUTRWSkZ6UGZzTXllUFFQYlU3RUVjWFFmVkJMQzRrQ2hBajAxWGQzM1krQXArR0xsSFRtUUJJQUVwN0ltdGxlU0k2SWtGR01FRkJRVEV3TTBOQk5UTTNSVUZGUkRnM1F6STBSRVExTXprd09VSTRNRUUzT0VFNU1qTkZNemd5TTBRMk9FUkJRME01TkVJNVJrWTRNekExUkVNaWZUWmNBRW9KUWo5YU5Na01ZUmtFcE53U1Z1WmEyN3hpYVpQelwvNjgwWDVKMk9qXC9ZMGVnVHZJa1pocnErWFc3RHc3Sk9tcGtrMURBd1Z3PT0iLCJ0eXBlIjoibXVzaWNhbGNhcmQifSx7Im5hbWUiOiJOYXRpb25hbGUgQmlvc2Nvb3Bib24iLCJwYXltZW50TWV0aG9kRGF0YSI6IkFiMDJiNGMwIUJRQUJBZ0FHS3J6a29NanRGVHU0Zm5Cb0xqU0JFYU1lMlh4U21jTVpZQm95WEh1Qkw3OW0rSlRFYlVcL241TE9tcGplSGFWcVV4emlCNVRlajNHUjU1dDlhV1I1SFhZOXZDYlwvbXhKNHFsbTd4ZFZqYjZZdTU2QnlQOStJanBJVzJzVFZpSU9zSnBIKzQ0SHp4SkF2V1lIZW90NFhRYVVmMVlGN1E5dGdIYVJWUEtxUzBuWFdKcDdpNE54MUV4VmIyTG9mNldya0dTQ2RQNStNN3RQS3hPXC9EQnBYYTFsZENZY2IxdWJXVHl1aEhlUGd2dlRnYTZcL3JMZEtYeXZlenVLZnRMT0M5SlcrYTM1QU01TzdNM2s5K1Flc1wvY2lzWldXbnZrck55YVBTaENCckd3SVd1OU8yVTZxZCsyYmJhREJFaDlxZStHSmRVa0s1anhZN0VPczdGM01lVWJXb1ppaU5rS3ZwNUJRcXloM1ZvTFZHQWlaSlFxRGFQbE9RdFgyaUNJM2NxWWJ3Z1FoVUlcL1krTEg4UUxQYUUxU3EyZ3lBZVpvMUNDS2E1QW5tZ2o1cmhwRnQ4MVNQU1IzaCtQNk5lVk5zOVV5cFJEZm4wb01SUmZPTm9GTlBzbDkyYkxlcWkwR2pWcW1JMVJxdzhNN0hzSDFOTHQxTWpxa1YxZWFcL29SMVN2MW1MVFg3YVJuYU9iRmpUZ0RsQWUyRVc3XC9uU2lnY3h3VkdTM1p0cU5ja3NDV29qWXpEbHB1NThROXRuVFhScER5NjlMakU2S2dzQzZSOHRWdW1jcXpkSVdYbTlKd1dDWUlyTlpzamI4VlhhTkgxa2VVb2gybkpqaHVkbzlIcEMzNWdQTnFhM0o1eVJ0OTFxcVwvWE0xOVVndW5HRkJNRjFkb0ZKbitOWTRTQ0hFeEFOQ3A3QnFpNGxyZys3Qm5kcnhucmlBRXA3SW10bGVTSTZJa0ZHTUVGQlFURXdNME5CTlRNM1JVRkZSRGczUXpJMFJFUTFNemt3T1VJNE1FRTNPRUU1TWpORk16Z3lNMFEyT0VSQlEwTTVORUk1UmtZNE16QTFSRU1pZmFPSFZwRGR6YVpsdVEwRXNFeExpc1paZTlQOGpqNkIyOFNXTk01RFJ1RlZJWWVvNDVTS05ZTDQ5MXB4Tk9mZlpZR0hGQ2VId1M4M21ZU08rYU5TTWpnUm93PT0iLCJ0eXBlIjoibmF0aW9uYWxlYmlvc2Nvb3Bib24ifSx7Im5hbWUiOiJOYXRpb25hbGUgVHVpbmJvbiIsInBheW1lbnRNZXRob2REYXRhIjoiQWIwMmI0YzAhQlFBQkFnQlNkQmpIQVdGZVZxZGxTZVNxQTBRRG1Sa1JLVTlWUmJ0VjMwRlhLYWJaMkhmZGxielpMZVB6MzZGMWRjWDl6WFI0QlpvV2F6TTN3RCsrVFwvbFhPSlJpdWRzeCtZQkp6ajFXU1FrT2V5NXdWNzFWNEtxNVdQbzFsSENodm0xSG9ZbEVKXC84Sm53NzB3NG5cL1dpcTdCMklFeTM3WElvbHRERlFmemVwUTBWYzhDOGdPYUg3RGhNOGtvRmVBU3k3Q1lKTTJ6Uk1LRGZZaHNyKzVDV0hkaWEzaGZtQ3Y2N2c4XC84Sk0yeFhVOHNSWjV0TkZxUENUQ1crRE1TR1lpclZFcWU5NEM1VEpvc2FVUFFkWjM0bTNIZ1FXMGREZGU4M3ZXUGVIQkQ5cXE2ME5GSzUrbGpzWWJvaCtJXC9LbzdcL3FZa0prTGpKVzZYUmp4RlNzVXl0cldIdHZVRStnNDdLTHlRcGcrd0kwS2w3eXVhQ2RselhxcklET3FSVWx6bTNcL0d2c09sUUZuWjQ1RmJ2ZFNkRjJ0bFdxMmhzaGVETmd4MVViY3NHbGdSMnh3RHFnZlVpMURZWHdqSHZMZ2cyb3lmeUNUanZXWFpScFNYMFRNWWZyb0Q0ZUJYb1VTQkhOc3c0ZGNKMjRMTWxSXC80dURjN1hOREFUTUhXY0RkN1RHbTFlTkQzaGw5UWplUXBxY2RWcHNZMmFnN0VIcnVmazRBZEVxY2dDUXd6NWpQWHNXWHdnWlg2U0laZnlHdEU3YktOeERsOTdrSjlGUWhTdjJRbmhBaVBMQWxlZzNRcmQwNjFNQytDQWpxT0h4Q0dXQ3MydjBcL1NSM3FsUk1razRXRm4xRkhmejA0NWZTZlJSejE0eDNjRGNNa3oyYXJFdjFhS1wvT0htcE5zNUtpOCs2UkN1SE53YVRsZmdVeSt2WkdNWkFcL3huQUVwN0ltdGxlU0k2SWtGR01FRkJRVEV3TTBOQk5UTTNSVUZGUkRnM1F6STBSRVExTXprd09VSTRNRUUzT0VFNU1qTkZNemd5TTBRMk9FUkJRME01TkVJNVJrWTRNekExUkVNaWZXblpIM0pUXC9HblFwSlFBR21WRFpOWFViTlEwM2p5d1JsXC9ZOGNVRHQyc1YxejQ2WTJ6K2hMa2dmd2pkMW1FUXk0UkFYVFBkRWd0SFA1dHhIR3h4IiwidHlwZSI6Im5hdGlvbmFsZXR1aW5ib24ifSx7Im5hbWUiOiJOYXRpb25hbGUgVmVyd2VuIENhZGVhdWJvbiIsInBheW1lbnRNZXRob2REYXRhIjoiQWIwMmI0YzAhQlFBQkFnQU92c0dxQ0R1M0U3RGU2WE9adkR1M0dBYWRLZVhXOXBBWVZ0UCt3MWJxeEdQVXNOcE92a1I5VnRub3N3ZnVWOXZtcDFCUFVoT2pMeFwvbnRzQUlBOVJYcXJ6Uk9DbzhuOXA3UHZcL3poY0Yxc1ZTZWNONE8xYWUySFVvRnNIVXhuMU1IV2RPd0p5Z0VXRXZOWk5yb1ZlNno3UzZlOG9LK0NBYUpaTE84TDc3XC93TU1ZdG5YRzBsMmhJZWhXRXFjdytkTlIwaFFPNlFyTHoyY25la3p1MTNBNkRSM3Brd1JyWjFveXlmR3FUeHFiOEpwU1M2eHVpWGdyeVB0Rk93S2NjbW5XSDRuSE51OHFjK2VtdVJpcEwrK2RsSXAwYlMyMlloVnlzZVV1d0JCUitoZVlnWEw2aG5tTmpLcUNEMlFvczJYSjQwb08zZU5UOTZoeHkra1RQSGtFUmErTGxQbkJ4YjFGRmg0aUVpcjY2Q09lRTlcL1lHbW5DYUorR3lLR3c5QldJRjBsZytxc054WWpEREhRNUpYbmRkelZjMWY0bXRqYU82Y3lSMXpTTlFzaHUrSVhyYVBrY3podkdJNEsyQlVKcEVPcCs5ekNDV3YwMFU3ZjdIajZrXC83VUJXTTVHUVVWa0JpTVhYSlVteHpxeFR5WGhETDBBaWtOSnk0emcrUXZnSWpRSHRMOFRGZEdkXC92SDJseUt0a0RyUU5uSGZMZ3lHTTFrZnRCbEd3bjcxQnBrQmdITVwvUzBxMGxhRm5IR2x3TW1PeWRoV215MmRCZzM0VlJFZWErOHdjejZqVEtlQ2VwUnA0UVpSQXlpYlhkb3hhaDhPcEw1QWZOcXh6WGZUUjFRNXdRQ1RjZWltTDlHalwvbU5RTE9hUUx4bmtEa0REOHpzZ1duNUdJN0JEaWVwUElvTTdnZGdDeVZ5YTVkVHpNQUVwN0ltdGxlU0k2SWtGR01FRkJRVEV3TTBOQk5UTTNSVUZGUkRnM1F6STBSRVExTXprd09VSTRNRUUzT0VFNU1qTkZNemd5TTBRMk9FUkJRME01TkVJNVJrWTRNekExUkVNaWZUenFoOEV3bGk0aHlmSmxsellJWjJ0TFBQR3lSVkE2d1hhVGNJOCszdDRTM1ZwRmpTMWkrZ0dhdHVNVGZ0bnVGMHhGcjk5ckJDTmFvVlRcL0FXS1NqTUVUS2lxRGRwMD0iLCJ0eXBlIjoibmF0aW9uYWxldmVyd2VuY2FkZWF1Ym9uIn0seyJuYW1lIjoiT25lYmlwIiwicGF5bWVudE1ldGhvZERhdGEiOiJBYjAyYjRjMCFCUUFCQWdCS3huUm1kcTRjdDZqRjRBTVU4WXZsVkQ2UFRBWjhMR2dPYWo3S3ZwN1R5MWpacEJLZ1FFK25Xa0ZWTXhMV1NEVlpWOVlieGhYYTFVeDY3NmlVM0tkQXZhclozU05VTXgxNENmOXVXc2ZOYkQzZVN0UlZ1cmkxUm5cL2FcL3J0WFFpR2dCa2w5TVBJSTZrUWJpUkxvSGYyVkN5WU1zYWF6ZFpTVVZjcTIyb0xPSFVjb0wxUGkwZ1o0K25HV3pVV0tnWWgzS2pxdGF2cnBVRW85MXZCYno2TUFcL3pKOG84RG5LamhjYks0U2dIWWo0RWRyTiszbUorU3dkbThGTjN0OVd2UUNGY3U2bGpoeVlPOXFlZXNhSm81eGhncGVNdHJHd2VHaUp1b05BeEUzazJsMllpXC8wNjJJNkFvck44dGZQM05keDhQUGhxbUtyODFobVJoVjM2bldrc3VDejZYaXc0T2tRMjZSYTZ4UTNPXC94MlhnK0FaYk9vNElmdWc4MFVFclFackFwTkNlMzl0RUxOeTUzOWtXRE1ydnZiV0RvVDg2RHdSZ3Z5R2lXQWJHckRCTUlVVWFtVGNcL0xPVjNITEs5djZOaHlRUStIUjR3N1c1XC9ZYW92OEVqSzRVZjVZeWdIZEpmdzk0OVRiV0VuWUlTdXRyNTlGbU5wMUxRMVUzRmZ1Y1JKZ2NpT2o3M2xzdnVtTmw5c2JXUzl5OXZ4UEdCZlF5cHV0b2pIaWZyeHlPSkNMVUNPNDd2TWM4RVdicjdzWTJKcDRENTUydzFtZmhweUo4Wk5DK3JWNUcwWWxLcUZNTHZhcG9tcW1Ib0tkeEFZNlpxK1BUaEVaZm1xYytDQ2VDYmVRdU93b0RzNTR1NkRiU0s5cVlwU1NRN1MxSnhOVnhaVWxxYlwvKzJ6eEIwU3M5MVdwT3dKc3oraWVmVHNiQkxBRXA3SW10bGVTSTZJa0ZHTUVGQlFURXdNME5CTlRNM1JVRkZSRGczUXpJMFJFUTFNemt3T1VJNE1FRTNPRUU1TWpORk16Z3lNMFEyT0VSQlEwTTVORUk1UmtZNE16QTFSRU1pZllRS3RDWWdLTU8rQU9CRGJwakdicUt5WE1CdFhJOGV1WkJJekgxUkJSWk9qUXE0UXhtR3RRTXZoZHdUSFpTZXJNeWJTa3c9IiwidHlwZSI6Im9uZWJpcCJ9LHsibmFtZSI6IlBsYXN0aXgiLCJwYXltZW50TWV0aG9kRGF0YSI6IkFiMDJiNGMwIUJRQUJBZ0F6MFhQM0R3SFk2N1Y4eDFLcTVqNGxVSXlOY3hoeVlUZUZ2aStvXC9Hc0RzK1wvQ1VtWk9nczM2ekJPeFpvTlFseDJvWkU0Z1gxQ0l2Slc0Mk83bDQ2UU8xOHlrNzZGalc5ejJoRWl1OE9VQnV5VngyTENPdW9HYmY2bkNwTEhEYnB0Q0plV21VVmp2dkxyRXA1ZWNYSlpFRjYxTEpSbnNDVkJQTVlRR0MySFpnK0c1Zk13Z21mVFE1R2ZsZ1NXdkpKTmhZZXdhWkV0NjdrSUVNa0gyM2ZFV2s1ZmNyd1hzSzVSTENkR2lQRnRmcm9yeWpUMTNETGltamlzOGNuNTF3QWV5cFRkY0JMVURiM1lEVlJCMEdoVE1jVEJPVWF3ZmdhNVlBK2o3aVhVQk9UWkFcL3M2M2REbmNHTFJBRnZNQURkWEhJd0FkZnpwY2ZYcDczUDVXbVV5MXhWZmRGTCt5VDh0aGREYnNpbUdNRllXM0IrRGd4SVNUNkRIdmRZUlFjV2VUV0hhZWFCYnhCTFNsc3NnWFpcL3V3WjFsNkZcL1U2MmpxK2x2cDBTTENMNVZWOWtOallMMWdqNklMcTdRNGtwQmxha01VQ3pENUh5WEZ6SlRCSU80cHBBbk53UU5YeFY5Q0dXV2VqYUo3Q1hLdHZrTWhNVnhRdVlFZHVkSnVWNnJqa2dmWjJUYUh0SjhaRGFiU1FDU2xId2dOVGJDK05tRVNuUU04TmlGV1VtUlV1RHA0YmoxeHlLc1NnVGNrVEtsR2VZVkV4VlwvRE5qTGhWRVRQNHoybnNod05qS2xqRkZVNnRzd1U4ZkxsTklTNWJTckJibnRiRFFwejlFeVhTeGxUR01uNzdLVUJIc2ZqMXNuT01JbitJeVhTdFVNaHkrRXVrWXlBczBYbTFveEJ6UFZZNkVcL1VTRDM3cDFEamZ6N0UrQUVwN0ltdGxlU0k2SWtGR01FRkJRVEV3TTBOQk5UTTNSVUZGUkRnM1F6STBSRVExTXprd09VSTRNRUUzT0VFNU1qTkZNemd5TTBRMk9FUkJRME01TkVJNVJrWTRNekExUkVNaWZjSW1HeXp0R1RpK2dKOHlISEJ5UmpMdndzaTc4QnBxaGlkck42T2Yxa0tya1wvMzk5WTFJZlpwMUw4VGtMVEw4Q1BFXC9qNlpBIiwidHlwZSI6InBsYXN0aXgifSx7Im5hbWUiOiJQbHVpbSIsInBheW1lbnRNZXRob2REYXRhIjoiQWIwMmI0YzAhQlFBQkFnQ3BOOVBnQis1UGJ5dUNtenR4Z3c2K2FLNmFvM1dEVlwvZERBWUE0eWFlWWswa1N6Q3pTZDBCU2NuaDVRb3U3aWk4SGlqQ054ZGxMS2ErS09mUlRLMmtVZXk0SzBsSEtxempWQldnOTMrbHMxV2RJU2FTbHdONnBVMTI3amNReTdheUxodHQzR2F5NXpBU1B2Tkx1UWZiUVFVaTBCeGxicGdPeVlOMDRnT3loZGJIc2JHdlJxWWF5TU5PZVhMZzZrY1BKcjZVdE52S3ZrWDc3XC9GQXVcL3E0VXVqZ2hXZTdwWTE3NUc0K2ttZFlsbzZpVzFwcWROamRGSnZIaXp6UytNeFhvelJja2JsMnJyeHJ3NFBUUzVTcGo1aTlFYmZVb2FCZm9OdDhTckR5eEJyb2g0Y1VxUGtOYlgyZ044U1pNSFo5WHA1RVdQS1wvVGxITmZUaVVmZ0pLQXFYaU4rOU5UbURvd3ROT3VmaHRja202NzlyMUJabGhQUTl3OVdxdzRObU81bE12MlZmUWZPM3EyUUtNNERUTXpPbXM5RXNHVlRhWGl4QjNsZjZheStHelFaaU5RcGlCK1B0Q2tjSmprUnRBa3VJUjgzUnU0TVNUSTl0MTF2UFNZNHNRaU53MmhPa3hVUHpYdERpblNBSlE5NWRkUGZ4UzU4RFROUklwSWdRMDhwdW9wekVDcFdrQlwvSlhrOUU0WlBhY2h1ZVZjTHZBbTRlT2hCVVlnZ3RiUTFPdFM0aWZvaWxUSFVJU21nTUJpYStHZUk3a1BXZlBqQnVtQXZZQTZSaUdUUDlJOUYyWGJOUU5oTlBqK0E5WHo0VHYwZXp1NlhhdGxcLzVpa0dVakFyVWtGVVhzZTlXTXJBUThnb29qQTJ6bDcwcklzZkQ4RkFwcVVHQnV2aVBSQ0d6TjF6OFI3WmV0VEFnRThtcWJkc0FFcDdJbXRsZVNJNklrRkdNRUZCUVRFd00wTkJOVE0zUlVGRlJEZzNRekkwUkVRMU16a3dPVUk0TUVFM09FRTVNak5GTXpneU0wUTJPRVJCUTBNNU5FSTVSa1k0TXpBMVJFTWlmZEhheXhybExNNFJYWXhOV2V4MGNWTmVcL2wrbWlyakR4eVpIRmJBTmRDSlVlNU10bklQem5Vbkk1S2RcL09EQzRBTWJVNjJmdXBUYlN2d1U0IiwidHlwZSI6InBsdWltZ2lmdGNhcmQifSx7Im5hbWUiOiJJbGxpY2FkbyBHaWZ0IENhcmQiLCJwYXltZW50TWV0aG9kRGF0YSI6IkFiMDJiNGMwIUJRQUJBZ0JQOFVOd2dYQ0luckVoQitqWWRUTGs1aWE5SHp5aFZjTTkwM21qTzlhVStZSTZId3lxSzE5ZTZrek94MTRUUHk0dVZ3QzlvMlpTRzlqaitRNFA5Y3JEZXBMNmx0ejdtRWRCbzZJMWQ0alwvZFBiZ1wvaWxMXC9JXC9XT05ienlRdVltQkJ6WkkxZjFHUUc1VStpRitkMFhNNmg3UnJWUzV4VTZEWkxrRmtuOGNZXC9RUE11XC9VK0NEZGpKS0hmVFVDeUFuTmxrQmhNNG9sTUhKSzlRS1lzeERMQmJWUkMzUGVvYk5VNm1QMzl3Q0NPcUVHcGg5eHFheUZuSVpuRUkyZ3cwYXhDZ1wvbTF3Q0FqS2d3ZnpsTFh0MmNaRTJxeVwvVjl4SHhFK09aXC83ckV5QWc3WVBVWU42OVIrZmJYZlJOcTdodnhOZVowRDQ0b1llRWhDT2syazhVZThBZ255VVQ5c3gyZ2VoQlZ3M0didlJJUVBkaFNOMERRR1ZYaVIxTURnd3Q1NE5xdnlpWEVxUitndGd5UjZcL0ZjV1ZcL1wvZTFnOWcxWmN2QXpMYUZUXC9DQjFvZXBmT3loSVhlNkEyV3BzQ2dYWitpdno0c1VLTlJjWjRnY1g3Y0cyYmVCV3NHeit3OUZIYVhIbVkwUHh5Z212QTgzUGtBSzhidHMzWk0rMVowQjllaXJXMU9vWDh4VWtPK1V6ZXNDdUhXNHBjdStzcjJ3WkQ1WURTdDV0d0d6emNiY3BtU2M0WTQ3VG1ld0pPWWxcL1Z1SXdEZDRsM0R3c3NjUVNjb1lRWVwvMWVCakM2SUJPbGhybXNVYkxcL3lxOTkxN0lqOVNjWUVRMGcycExpeU04TVpZMWxMSGcxNDMreXBJc2ZrVHpJUXRjWXIxQms3aW1IZ25XSVI4dnFmNTFFa3hEV1lNbXRZQTJLdENTQnFhSTNuQVdZQUVwN0ltdGxlU0k2SWtGR01FRkJRVEV3TTBOQk5UTTNSVUZGUkRnM1F6STBSRVExTXprd09VSTRNRUUzT0VFNU1qTkZNemd5TTBRMk9FUkJRME01TkVJNVJrWTRNekExUkVNaWZXR0NmTjhIZzZmSUlOMVBjT0tobjVvQVhzMzBqU2ZrZXVJQUJGaGFreno0SWs2dmw2MjdcL0pJbEYxeDV5dGExK0ZVcmJtdUlrcnlhbDdaRVwvcGFPUXc9PSIsInR5cGUiOiJwcm9zb2RpZV9pbGxpY2FkbyJ9LHsibmFtZSI6IlJvYiBQZWV0b29tIEdpZnRjYXJkIiwicGF5bWVudE1ldGhvZERhdGEiOiJBYjAyYjRjMCFCUUFCQWdCUHJrR2kxbHhzbUhXQVo1WXNkdmNZeVg1Z1N4eHgxR0t2VGhsYXJuQU5uTlYzXC81ZGNUSTNrZnE3RUQrREl1c2N2UzMzYk1HR2RaQjB6V1drN25FT0tvZHBvXC9RbWhRcHVxc2R5MTI2aGU1NVEzbGQrQ1g5YWlnTTZlRlRtQ3F5MWJRTllxUEpEenA5Q0hsMGdLeFJtUmpIZUpWQWdWTjhpeFEwTmNmbWNKbHlrNGNYMXVudXVJOGpmTGJwUk9ZVWlqMGJMUWJRWElDNjhzZ0JNMldEYUpCOHZ5bWdOK1hBSk1Cc1JMeE5lXC83RktPYVhwdHF2NkwzSHhsZUNYZFY3aFliRXZRc1c1QlZINGpvMnUyRUNtQzdlcWVVMFlkUThxcmRYQ1hqK1RBdEk3anlPaFNyRU4yRHkxSzZkc3BMMnJhbGxleUhwbTNqbXJoUytOUkRyXC9Fcmx2RUt5TEIxK3hrcmdEeU1kRGo2dUdITmIwZzlVSjJPMU1VMVwvK2JjN0dmZUdwMUNSRHEyNHdFYlJwK1l0TmJaNWUzc0QwaDdvNEUwaVFjQ0Rwb3daMUVzTXFVc3kxT1JDdHpuYXozMHRMXC9qSzMweWZoaHVUdE5oWENcL3h2ZGxtXC9qa0RpWkhZUlVUKzFkXC9HSGMxUTNIeEpucGJxa1lUSkJySzMyZ3U3XC9sRzliOFBvYjluNUNuYk4zTXk5dk1MY0JRNWNLODZkXC9GKzBpOWhTbWorVGlIUzNjTlwvMTFGWTlUUkg5bmVOSExuYUxtZHFqU2ZPcFwvdW5vZHdcL1VnOUw2MVFnT0IwVjJkMUgzQlVNMElNV3M4T0JMRnFaME5pRHZWZW5lNUNPY1NTRVBJRmZPNCtXcTlJczdPd29yb0t3emFpemMwUWVsSlB6Ync1Z0lJY2NYUkJ1UERxdG5oYyt4WTd3RDhUNzlJTWVBRXA3SW10bGVTSTZJa0ZHTUVGQlFURXdNME5CTlRNM1JVRkZSRGczUXpJMFJFUTFNemt3T1VJNE1FRTNPRUU1TWpORk16Z3lNMFEyT0VSQlEwTTVORUk1UmtZNE16QTFSRU1pZllCVFdCVjBpRHVHSDl1b0Y0UURiRUdKNktkZzFrbVR0U0FWaXg0OEhWU0VYSGY2QVI4cVQxOVVRT0wzUFNBYVh6TmRXelA5MzlwQ2JaOWIyTHpWRDJrPSIsInR5cGUiOiJyb2JwZWV0b29tZ2lmdGNhcmQifSx7Im5hbWUiOiJTaG9lcyZBY2Nlc3NvcmllcyBDYWRlYXUiLCJwYXltZW50TWV0aG9kRGF0YSI6IkFiMDJiNGMwIUJRQUJBZ0NhbVlGSThOR0FHUVJGTXo0ekQ5WmFNbU9SSmw3SmdxeUg4TVNFZG1OU2dWTk5YQ2Rqd3hxNDJFcFB0YTh2TllJSnhvSHdvY09JWkNSOHprT1AwN0NNUzVcL3RKOFwvR1B6NExTTXdCemM4Y1B4ZjFpR2VjKzdTd3BldFZXUStQckJoY2dHTlwvemhoMkdcL1haVDJWdWZqWnl5NnhiM0g1QlpSdHpzQ05MakFKdmQ5TGVXamhcL2NWeW1DdUtuWlo4cG8wQnhFaUY3RDZIVnZIcU90XC9pZW45Nm04aUFoQXdXajZcL2JrNEdkbWhXYXFBOERGcWIrcVRiRFE1Q3hqVnRDVkI1bkZ2YnF1SXVGV3N1QSt2VjBGY3BtSlVVWHFSaTBUNzRxTENwb2lhdnp0U2VkS0szdENzNE94bE9vY2dYNTlESWlUZG5tVFNXNlJ4ZEY4UVVhdmszeHlYNVhSaE8xcUdsTlJMWFZYa0VqS2h3ck1YSFVYSk1RdDF5TVFKMXZkOGdMQ2d3TnRKYlpPa0VyODNDNkg4eTZMYXpYbmhGR0RWV0tLWjdLQ1MrUVRPUTJtdFFqXC9iUmE2REtUZW5KWGl0WFlvS0ZLTUF2WVwvTXVOUEpaQmo0bnA4S256TURncG5KTjVzTE95cldRRmN6ZFlFVlBQRDhvWXpCYWdWUnhWQmR3QjUrN0kwaDZoeHNLZkFHWklkYlc5MzRwMkxwNzJiOFNtWE1QWnZhbDQxRlNcL2o4d0oxeDZNYmNRakJiQWN6NzVjSElxQnBPWFJGNmo0ZFdWbmR3YUtjYXh6Qmd3ejcxNjJySTZPc01SVnJHSE5ha1wvNEZTTTY4ZmZleVVIZGYzTkFcL3pURVwvXC93ZU5FckxteGp6dmJORnU3R2h2dStJaE90RFR5aTNjdDNld0dSQ1A5YitCY2NTWHdJc2dKK05rQXZESUFFcDdJbXRsZVNJNklrRkdNRUZCUVRFd00wTkJOVE0zUlVGRlJEZzNRekkwUkVRMU16a3dPVUk0TUVFM09FRTVNak5GTXpneU0wUTJPRVJCUTBNNU5FSTVSa1k0TXpBMVJFTWlmVnVIcG1lTGxKR2xSblk5VVwvNmIzcldUdFNUY2E4NXp5a3BkZE5ob3YzQUlRemxyZElnQUN1OVNPSVRBZXl2NzQwUjNmMHQyTDNmeSIsInR5cGUiOiJzYWdpZnRjYXJkIn0seyJuYW1lIjoiU2NvcmUgR2lmdGNhcmQiLCJwYXltZW50TWV0aG9kRGF0YSI6IkFiMDJiNGMwIUJRQUJBZ0NzQUQ2UVM1QVd4VnlQTzJzSnlza3B5RmhcL3RWSVZDQnlYTTFjU1RvNWJmdzhTeXBUV2UrNFpsUEhQYzBlenQ4NERoWEVyNlRPZnNqWFM5QVNLRmthbm0rQVF2RXZXdkxMZk8rbCtUM1JweGJtT1FUR2h6eFwveTBaMkdpUHR2eWxFK0hpOTlaZzVrQXF3VzFVMEIrTXJuTjNWUWtUNVVHU2NZMlwvb1FQdHBER0l4TTNxMXBPSjF3bWM3eFUzVFJhdytDN3IrV1FoR21YdkF5UnFZZDRLV2xSa05OemFHXC9DUlhpZWtycDNkTXAyaFwvRnFNZXRKblV5b2RwXC9wM2dmQytKdHBDOFVEcmlqbDdlblVKM3BONFZMWWVlQWxVMFh0WFJGanFUMnZUNVB3YjIxWklQdlkwVmlMVlM3NWxXNWI1dDR6dkdIXC9nVTB0XC8wTXVMd0JFaTlOemZIK3pLZElCeGxkT0RmMkRhejNmQU1mbzU2VGhIQzhVdUJuY0ZZSFhZVDA0Yk1hVlNia3dmRmd4eFVYVHZcL0x3WVpZS2duT2tVNElnSzBaQ0NQak1wSDh4TGoyNGZVRVBWY1BKSTJoNkMxZkZXdGdoMEgybFArWFE0YjRxT01hN2IycGFMeUxORUZ4SVwvVjQ4S0tYQkZPdHBraW5vNnZYektFcFlXalRhbHdBKzhLOVBZZkY1RkZPWHltMzZqTlk5ZGhpamlCb0E5XC9xb3l1UXFabXJtUTk0SFlrUm5TSVI1d0Jma3g3M0hyMFU2c3RqM2Z3c2Q1NU0yMEppR0twN2JZMno4MVZDYzJ6Nm1wbWpSeWhISlhHNWQ3MHdYM2llTnFLRk5TdEh5VzUrbGtJZWFKVzQwNFN2eXRjazNrZ2NoeG91NkNLVnp2YVNtNmFDc0dUR1wvUkNGbUFqbjJaNk5kbUhCYVFyU1hjdXRBRXA3SW10bGVTSTZJa0ZHTUVGQlFURXdNME5CTlRNM1JVRkZSRGczUXpJMFJFUTFNemt3T1VJNE1FRTNPRUU1TWpORk16Z3lNMFEyT0VSQlEwTTVORUk1UmtZNE16QTFSRU1pZlRENE90VldKY3N0Z3BUWTErWklwU3JXWEVPV3NTcVNpWnVRd25xNnU5NUlkRHJZUWt1bExkdVcrc096b3BNVlNTbWFSTEd0Z2RTM1kyQVIiLCJ0eXBlIjoic2NvcmVnaWZ0Y2FyZCJ9LHsibmFtZSI6IlByZW1pdW0gU01TIiwicGF5bWVudE1ldGhvZERhdGEiOiJBYjAyYjRjMCFCUUFCQWdBRU9yTTlCYWdRQUpZS1pRTkNpR0hWRkZzQ0MzVnV6WVpyZm9DQ241NVhPOVRuVGFST01WMGhcL2JHbGw1N2dTN1RxaUd1b0NlSzFsNFk0VithTnY1T0M1Y1wvd0FVQllEdzExNGhXQXNldEZ3dTZwWEx2MWJyOVJJSlJjenB5dkpsbVJvbVJMUFFwYU43Y2xzMHR5cDVXb0ZGenA5V3B3S3dlRkJDMzRaSVBMRXlyVnlaRFdueFZycStrUDZwOUJmTHdHYXhqRTBjeG9UcTdWTFBZdE9wU1U3UHhmMGZEbUVkMkptYjBaQnE2RWQ5MFRZc1wvRXlOUVhcL1VXRU1qa1pzdE1HQjg2ekNicm94Qk1MWkJtRjVHRXJLSUlleUF1QXlsdnlBNExyZlRnN1QwMEFVRXlEM1g5dml5SEZpZ3R4VWtoREdXcHZLOGlTMWNWbXlncVVLM2gzRFhIdnpLbXZGT2RmbWVJODRURWhmbEZncjZIR0NOU1hLbVhtWVZWWlY5WkpwMG5Eck5XR3ZJVXFmQkNmT2M0TjlkN2dNRnFKc1VhSVc4ZUZxcHdwT2JpdnFucXRONVpNenBXcDVKYzNYZHJid2E0TjZlK2FlcjE3QXFyVVFyUnFIU3I1Mlh0WmlJV3RWczBTNVhKTlFKUmpOVVwvV3ZjN3JnNFkrc21WY2ZwQkpKbWhXeG40RVB0TnVuQUxBb01pTlJQRHhKU09vSm5NMmFhbXBhQVFsbWM4QStFR0hzeWtXQ0c0eFVqeXRMWVdjdk9uMzNseUVJQUV1aTZWcGhxNHNkQ25BZlNlYmYyZzMzQnVNWnJqekpzYWFwVmhqdEFSeEgrbVQzM2tkZ200MEQwV2tFM1JwbGZDQ0FYTDdMT1FnRXJXZFJZb0pmVHhxa1JIbEk0YndnQkNFd2VjcGgrY3FLaWtDdUV5SDZpK3ZBRXA3SW10bGVTSTZJa0ZHTUVGQlFURXdNME5CTlRNM1JVRkZSRGczUXpJMFJFUTFNemt3T1VJNE1FRTNPRUU1TWpORk16Z3lNMFEyT0VSQlEwTTVORUk1UmtZNE16QTFSRU1pZllvM25OalJIUlIwYnQrejlBaWFpR0tJM0pxOG9uZFNCVDBVUmNIR2RvQTRBeGYxaXdBOHhGNnV4K2MwUkJCVW9JTT0iLCJ0eXBlIjoic21zIn0seyJuYW1lIjoiU1ZTIiwicGF5bWVudE1ldGhvZERhdGEiOiJBYjAyYjRjMCFCUUFCQWdBZUJtbUlGVk0zRjdGbUk3RlVlWDhFMDFqTWNvMWsrUzNDUythd2g3QTNjQ2ZwS3ZWdW9sazl5OG90MEhOOVorUm5ablZ6Umoya2hPR1BMNEFySFVISm1CakN4a251dVA3ZVZFWnFiQVI0NXorRk9sMnVDSHc3NTA4XC9mTExDTGc2RitXeGxpV2VcLzl6ZjZcL2tMejJyV2dvMllJakVNMklkN3VwZXI0bEN2WFpXNHBlNklSTUFCWG5SMG93eHB2M1pGeUdZN3B4R3N0NHVMaVE5TkZtYlU3XC81UThUNXM2dFN2b1RUTWhRNmpZc1FRMVVRR1V4UzFEelBhSStRa01pQk94QjZpUlBINWh2bkxkZmpuc0VCRlpxRndEeHFtSlhva0h1NXBBOFpjUEQzZ09hc0sweXhrck9uSnN2SVl4cWJnTllmMnZcLzM2Nm9zQk56c3Bjd0h5U0RTKzZxSlkzRUxPaHIzaVh1ODd6c1wvSkY5OTNwZHh2Y1M1aXNEWFBaQ1VqeDJ6dDZncXZ2T1NtbVVlaTIzVFhiejY2TitFU2RmUDJaM0FlWWJBNVU5VDlmMlQzUXBJUWVhczY5b1FrMlRQcmtxZUMzdVU3SHBlYmJnOHRrRTM0Y1dDUnhXbndydENmaFpxdDlEV01EY1wveVpFUHpcL1A5QXZwZmNEYitoUmUrZGxmalBpVk1TTjFYQjFTcGM0N2FtQUtRNDBmN0ZKcXFFUGZUZTdFcGdBb3lrdDNjT1BuSDJEQlFka0Q3K045bkpXWDg1ODZxUlh5NWlxRjRlQmdwY2U5UGhOWXJrQU9nQW5LSU5BWnQ1c0htWHF5dmJ2dkF0dzBmXC9JVml5ejdkR2pCbUNxZ1Z6QTR3cXBFeUtpNlNQbW84NGNKejFhUDlUbVZrUmw0ejNIS2hDZlwvd3hqOGF0S2grRlR6TFdRcmRER0FFcDdJbXRsZVNJNklrRkdNRUZCUVRFd00wTkJOVE0zUlVGRlJEZzNRekkwUkVRMU16a3dPVUk0TUVFM09FRTVNak5GTXpneU0wUTJPRVJCUTBNNU5FSTVSa1k0TXpBMVJFTWlmVWRvNjIxMVwvV3pjMGRxdnhKUjNcL2pXTjAyOE1WRERKMjVyUWprclZnZnRSZ3RJamlXd203dklkdFYwbytRbkVhK2c9IiwidHlwZSI6InN2cyJ9LHsibmFtZSI6IlRDUyBUZXN0IEdpZnRDYXJkIiwicGF5bWVudE1ldGhvZERhdGEiOiJBYjAyYjRjMCFCUUFCQWdCb2xjXC80XC9FR05IZjFwTURFc1Vza3l6aGk5S1lOM1ZKMGwzKzBaamVtdVVSZXBXUkVSdEVod0ltWGhkbDVSMCtjbkpiczVqZWZRZkxWeXRmNWU1NjNhb0E0bHduYWRrNFhKU1wvSDBxcmhCalErOXVDOFpGd3hBS004UTBTdjh0MzRhaWR5UkFGbDFJeEVjM0dqYlNFXC91amlZTDZMd3dDb1JOT1pCMkdnb2pIR1pQbTdUcmg1UTNXU1NtN2Q2THNwU1wvcWdMTitQNVFkck1IZzMzOTVtaDRJVEhObGw0TGVCZVB3N3RGanVhT1BCN1wvTXVEeG1hdXlhSERzMjNrbmg4eHdSS0Z2eWREaWtETmpBTmFpNExXaE5YXC83NFlXQlBpUW1JMEdaMmdsR2lXVWVSZnlhRDJWaEh4QWlZZFBMUVQyR2hjRFozNW83VGgyd1g0SFNnNzZUVDYwZkwzVlhPRU9BaW51blNPVFFvMGRjWTVhTjU1TzJDUTdDeksyWHhCUmMzNkp5N0owZ1VLazdmWCtRYTc0ZUc5WUdmSEdZWXpOMlFJRENwRks3ODdzeVdjS1EwWTZBTXlRVFliY0lzXC9pR2t6WjlWMlVSeUJoOHNVQ2RhMm5ocEJnTHEwNVVCUmpQdTczT3AzRHNTNm5VNlZ4UGdcL0JqR2NcL3JidDNKRitjSGJGUURmaUpLaUZRVE9UUTI1Z3pNWjlmd1c5cGkwRUQxM1l2NFdDR1ZUYmJIR29HZVBTYk15b3BqemN3Y3FoU2IxTHlQbXBLUG9HZUhTM3duckJSSzNuRVpNV1VKNmZOa1gyU0NDVkIzXC9RZUZ4SzlQc21yMTBcL3BZcnNvMloybERcL1Nkb01lYnJkTEZXUktIQnVJOThaMHZIczF5eUM2VEpoSlwvQVFPZmp4eEQrNG55Szk0dk80M1FTcTJlT2ZzMG5BRXA3SW10bGVTSTZJa0ZHTUVGQlFURXdNME5CTlRNM1JVRkZSRGczUXpJMFJFUTFNemt3T1VJNE1FRTNPRUU1TWpORk16Z3lNMFEyT0VSQlEwTTVORUk1UmtZNE16QTFSRU1pZldmcVJtNHg2YjF5QVBNR2lpRVwvU05ZMDVuZU1zSmpXQVA3M05pdjNyT2xRbnpsK1RSaE13VkdSMlVSc3pIZUZJd0FZRjk1ZXZ1N3EraDdVaTVNPSIsInR5cGUiOiJ0Y3N0ZXN0Z2lmdGNhcmQifSx7Im5hbWUiOiJUaGUgU3RpbmcgR2lmdGNhcmQiLCJwYXltZW50TWV0aG9kRGF0YSI6IkFiMDJiNGMwIUJRQUJBZ0FSWnhTaTlsMGJvc1krKzREaUtMalVlMVwvXC85WDRMTnhWaHpVOGN1WmxxRmc2QUtzNjRxbVUzSnozY2tCWUl3YXdBUTFVb1JQMUVINmw4N3NjSWI0RTdJdVFDK1l5K0Q4NlZ1VjRKZ1hwXC84Ymx6cTZJeDd1cnVVN1RzR2JDTWlSdithSTFEV1NybWprXC9QRDZ5RWxiRTJENnd1TjF6Q3o1dTlLOUZBSDZnaDhUenR5R3FucGowN2Z1eGJKWldHZDVWOHBpNzAzazNZZmRTREFheWNVYXZmXC82YUtZcDJvTUdLeERuZ2J4SjJsMHF3b1FmT3J3d0FWRkFvWElJV2tHbVVtazhFeitiQVRoVXptT3pKNVg5M2xlNnNKVVBRcHhOMWM0QWs1YXZWa285REs4Vld0YW1rSUdYQm9XMGNMXC9GUUR4TVwveWZ2SWJjc0w2NG9DQUZCKzVMVXY3KzVFNVc3OVlZN1dmMWY3VTFvazFiazlRV2dGdkczcHI4UHF4b0lUYzdMcGNJbGl0QmVjbGZzQkQ4QzVaNEthakpONWs2NEVDdGNvWFVkYUd0RVwvUm1iZ2ZXRFdHakljS3NDbnBSY1MzZkhXZVRGR0ZhdGJpbnM3WExcL3YzTFZ6S1ZQa1pwRjZUTkdoc1h0cXFnWmVWK3ZrSWtDcTdFXC9HRGRkcGxqTGtzcHFxU1Z2YXlZRWYySHZLSjd5b3JZKzVzMERNWGFFcUU4WklkSTVNRjNTUVhEb3pLMm9xcFlTbE9ZNWJQQUExdDliUjlQYnZOME5YMGd0am9cL2JjRktzXC9zdGVGZU5ZXC9Da1hNa1NxOFZCblYzTDR4bU9CbzNmTk42VUlPRkllaG1yWnBqelRsMXh1THpMNlRiVzEwYTJjdmZIQ3huMDlSaUZNZURlUXJIN1JDQ1RJMWNkM05teUlUQk5FaWV1aW5CQUVwN0ltdGxlU0k2SWtGR01FRkJRVEV3TTBOQk5UTTNSVUZGUkRnM1F6STBSRVExTXprd09VSTRNRUUzT0VFNU1qTkZNemd5TTBRMk9FUkJRME01TkVJNVJrWTRNekExUkVNaWZUVTA2XC9DVDFqS29PN29xSGpsM3NmaEdvZFhLQjFhNGwxaVR0R3M5QjNldkduUjNZMHNqdmpGekg4K3VjZFNadVdKeFNFKzFsT1A2NThER2gwaGIiLCJ0eXBlIjoidGhlc3RpbmdnaWZ0Y2FyZCJ9LHsibmFtZSI6IlVrYXNoIiwicGF5bWVudE1ldGhvZERhdGEiOiJBYjAyYjRjMCFCUUFCQWdBNUVEUlRXMU1KajRlYzVFQVBZMUFUd01ZdnNnbndMVGJpcndhWEpDQ0dpQ2U4SThDZ0Yzalh5bWhpSFVrdTJKWUNWaVpjUktcL3RDejdvQU1VWDR3eGpiWmdoSGxtWnFkelA1QkVcL0tEd3ZPMlZzeHJcL3FtU290dUZ2YmJOaWdpRW1rZUJqNkxvUjdwUUd2U1ZUamNzcDFXM21MNDdzbm9nK3Jzbitqa2owcFhKaFoxVThcL2FYcmJCOXdZdXlhUFdZcnRxZURhMVBMM0JjSHRmK1owd05wZGFCUCtMcFNwZ3Era2xtVUFSSDI2UmdhSjgxRXduQ094RVNSNFV5ajE2YlB6bUFKVVR4TWFaa0Myakh1Z2hiRzV0QUpuOEFIRlp5VlRNRVlXT01cLzFhWVpCSjV2N0trSklOXC9PbnIrb1loUUlhRXZKSDNPcGxTQXpcL0RXN3o4KzhqSjArNUZydjFcL1JDQXBWVVNmSVVPbE4zcTEwT3RHa2tEZ0duUTNrdTd6TVFqNkFNckkzS1UxdHNtYXcwQ1wvQjE3Wlo0ejFYQlNnd3ZVY1JpejVNOWFOQ2c2eU5zNUVVdmRZZDZockF3TTFMRHZyaW9xK0YwZ1dsVFczZis4UHp5ZHg4R01MQ1wveGNZR1wvQ0o4S1diXC9Rd2kySlhockcrWlJcL2pFK1ZIdnpTdDZ6dVdhV25GUDVwWTVscjVMMHRraTFmYnEzdFQ4RXdMUFwvVGRGNExYN0J1azZ1djhqa1FNQzZwYXZIVEoyelNmbUIxT1pDNlZKczBLYlNhcGhTVmhlOWthNVNQcnJ6SFwvYmV1TlFwZ0lvc0VcL3RLSVZzMFlET2VwSnZ5UEhWMGZYTzUxZk9YNmR3bDBYU1NubVZucHY2RWpmN05OUGthcXJIWjRURk1hbUlHaHpCQkM1UGFNeEZSV1ZvTGJwUStcL3phbmxBRXA3SW10bGVTSTZJa0ZHTUVGQlFURXdNME5CTlRNM1JVRkZSRGczUXpJMFJFUTFNemt3T1VJNE1FRTNPRUU1TWpORk16Z3lNMFEyT0VSQlEwTTVORUk1UmtZNE16QTFSRU1pZmQrdmtJblB5Y2ZcL2ZPOGhjUGN4eXBDS01nbjhyNmJVb0xKNmdZaFRCODBpSjJTdlJXN1VlbEc2MTlTWkNqZWllandlRnc9PSIsInR5cGUiOiJ1a2FzaCJ9LHsibmFtZSI6IlVuaW9uUGF5IiwicGF5bWVudE1ldGhvZERhdGEiOiJBYjAyYjRjMCFCUUFCQWdDeXVBNkF6WVZ1cTdyMGJhajlUdlRDT2JaelkzNEdoSlhhalNnWVRxNVl0dnVxQ0xHWVU4OW1Fd0lEbDhXSmVHUG1lZW9LTEt3R3I5RDZLOHNpblBNZlwvcHJjNDRzbWxhZThjRGJqUUZWeUhrQTgwYU9JQ0NFVk9hb2o5S3UzcEdmKzFUM1wvTXVNTDl5eGFJNExGemlaUzFvVHcrSzRjYTBMaGYzYW5IZ0swY3pSM2pqd3B5eXdra3U4YW04TDJuVFpUQm1zOGx3bysyeVpUQm1MXC92VitXRVpoazI5ZGFIWldNS3NNdThsdVg1dGdXXC9FK1VIRHllXC90MnJpSHY0Y0JEQm5zK2JWNFwvNDZKbVIyMW1HWXF5SDhVd3RiSUZpU0pCbVIwam8zXC9qaVhOcndaTFwvZ0UwS0tvRFlGUTFCZWNLKzJBVCswTGt5RmR6ZXBxTUVMOWVNTGhcL1RoK0xiR1ZsWEZ0dEJ5NnZOWlVIWHhIYkhXZFczdTNSZ0JDcHh3Q2RIeStmY1NHZmFPS1RmVUJ1U0IzTndkMHBIc1NcLzY1OW9jUmZvUnhPOXBLT0dWSXF5ZTR0d21YMkF3eWdFSThpdzJtYUY4cjFKbXN2VnZUbGlpU3Q0TEpMTHZzNTFSNWF0ZkxxRzR5RnBqTjFSYjNXWHRla3puY0tmbjZrQUROOW5uVUhrSSt0aFgzWXJqMDI4VHlPWHBjR1NqaFZMQUZcL1lVRmpIblRRdWNcLzBtWStKcHlxdE9CYW1xMThER2ZGSWp3b1hBcTBcL3JSaUpWc1B3VGNjSTVqUzlNQXFad1ZPbDcwUTI3ZllZRzN1aml3YndXK1JFWmx4R1ZPZ0NEdTV4em5ES0xJQ0YwWUJlQWk1KzNkeGZMZXBrVTBuMldJSmdYTTJjWDVwZ1Z5cUxoQlVvdU04bzk2RHFSK2R6UG0ydHVBTUFFcDdJbXRsZVNJNklrRkdNRUZCUVRFd00wTkJOVE0zUlVGRlJEZzNRekkwUkVRMU16a3dPVUk0TUVFM09FRTVNak5GTXpneU0wUTJPRVJCUTBNNU5FSTVSa1k0TXpBMVJFTWlmWExWeU5KREJyK1BNYVI1c2tLXC9XQ05KN0dyYVl0bjNJRzUzT2xKaEZUdkhBa1NwU1hqcjdhTlcwZlFQRjRWOXNLeXFZOWV5SFE9PSIsInR5cGUiOiJ1bmlvbnBheSJ9LHsibmFtZSI6IlZhbHVlbGluayIsInBheW1lbnRNZXRob2REYXRhIjoiQWIwMmI0YzAhQlFBQkFnQ1hTMytMZzZMd1p1OWxcL1VJeWZrckhacndnT0VVN0cxeGZ0NzNmcU5PVCtXeloxcWM2UkdGeGdiZ2Z4cFwvWVQxYzcwT1VLYk82c2tqWUJIQXlndWdLUVJ3XC9WUlwvQzBLZVJzbVAycGV5c1dtSGVxVHIyZ29xbHo5S0JkNHZZUzlTV01PN2daeVBzODFNMld2TnFFRUNJc0EyRWlkQW9LTnRCXC9nWThSVFh6b1hNUFwvWmRoRE14M2pPd1RtSnduZ2l5Y3lKQTQ2ZDhvbzZlQUZlaU85aUpnNWRcL1ZmQzl5TjY1dWM4czBoQm1GbU9xZE1nN3U2bStRZzUycG9iMUsxVTB1RGdueGtXZGNZd25kRndqd3o1V21GWkdYWU9BMVUxVkN0OW4xV3V0OUxcL1U0TmlucndcL0U2VnhIS2ZBZ0hIWUx5TGhzRmdMUTFETFJ2MzlvOEV6SEY2RWh3VDlWb2ZjcXhPWHhmZjlEeEN2UXZXd1pIY2g2U1NLcURMTENCM3A2NnI0UnhBSitVeEJoZm1pOXJtOVRjczJBY0ZqRVpTV2RUWUx0QUJobFR4a1pCZzZHbHpsdGltQzFSVU5Jbm5tSzFOZTRMUUlkZzd1Sm5vMlBMdlB6SVhGZ0UxTVZNK0U1UG9tczhtWEpwd1pFbXNvdUlGZlpjNjJWbjA5WW1Pd1BKV2lEa2V5dVE5dGR5aU9JMTdobFBnY3NEWlRSWFE4RmoyNVJCXC9MNE5vQk1ha0Q5WFIzZnFWc294Ulc2ZVdtaGpIRUVRVHZ3dEVvUHRRb1wvQlI4MTA1cGs4ZmIzTDhTUGp4SDJqY1BDR2xGOXN2SVZXSmd0K0RVdGl0MFNLZlJLdmI4aWNRb056TnJGR1Rsc2ZJQWhMU1R2Y3Z1M0RESTh2ckxKd09Yd0UrVEJCUnJYU3FPd0lSUHdFeDdpZmFRRWQ4QUVwN0ltdGxlU0k2SWtGR01FRkJRVEV3TTBOQk5UTTNSVUZGUkRnM1F6STBSRVExTXprd09VSTRNRUUzT0VFNU1qTkZNemd5TTBRMk9FUkJRME01TkVJNVJrWTRNekExUkVNaWZadmV4U2c0emJ0WWFIZTQwQjJwZHJMVjJMRHo1VlwvWEhJdHJnSSsyMlZPWDM5UjhDOXZ2NHNrZWtGYUhnWlZ4a3N0Yk96a1pDZjg9IiwidHlwZSI6InZhbHVlbGluayJ9LHsibmFtZSI6IlYmRCBDYWRlYXVrYWFydCIsInBheW1lbnRNZXRob2REYXRhIjoiQWIwMmI0YzAhQlFBQkFnQlhkTUtzTUpFNlFWektvbzlLcXhTXC91UWNxRWh0TDRlMitXNnA4ZlA5bDV0TnZEQzM0eW5oUWZJOGUrWFBCM1dhd09kU253TkIxSFRlUnhOM0prV0xtXC9laTBuWmpKT2JRRnFqRDlZZVMxYzBjdVBTUk1uR2Qza29nZk9zanQzMlNGdCsrQkMrTk0yeGhnbEtxTGV3aTM1TlNJZUZwRURTNVRXMVZ1SWtMU1VzRGF5N3JkN054Z3kyT2IycUd5STVMcEpnQklLaHRlRGZMVFc5WTB2MXJvdzlmRzl4R2ZPYUdXZFNYTHBEaWk5eW1uZ282YXBcL0NEdmgrbklSbXI4UVh0a2Iwakt2MThOVkFPcEYrSWNkOGpiTkNDKzBSSVhCRE1TRmlQRTNIUTZSZzU3NDRwXC8zZEZrWVU5MHQ3Rm5HODF5M0lWdmxQYzJXREhxQ0MzN2hOS0J4Y3gwMVB1QitxMGc3Mzg0WERkdDBJbkdnZW95VHNSbkNpVmowZGdCRENDd2M1OHRtTHJHSk9DalhYVUVmVzJmUm5cL1A2SW1tYmZxU0ZFalZvNWpZZjZmWk9vcThlUnFiSUlEckFQS0V5UzRmQW12RmRYNVhMd3NRKzlWWkMxRENzZVZUc2Y0M0hjanRnOWRaYkZmRWFDUTliaStqbGdhaDVRdDdPZDZYMFpMcm9sUG5seG5FS2dMcVZvK0JpMm40QnllVWdTUEV6V2VLeWpNOTJDXC80WHo2bUZ2WTFyZVJyNUZPeUN1N0pzbzJldjBwOUljSVBseDRQUjBTVW5kS2hOUmF5dGgrMm1NbVVuUW5GUTZ1TGRoNVdGUE93WEp0dkF2aUpFZytBcjN5alFscURvTXlwS1A3eWlrOW9DTkU2czRVNGYyVmJFVVRHOENpbE1QaDRCQjJNXC9iZDA1RlVWblwvbnVSWEpQQ0lhQUVwN0ltdGxlU0k2SWtGR01FRkJRVEV3TTBOQk5UTTNSVUZGUkRnM1F6STBSRVExTXprd09VSTRNRUUzT0VFNU1qTkZNemd5TTBRMk9FUkJRME01TkVJNVJrWTRNekExUkVNaWZTXC94K3RseHNVa1FsRk9CMjRWKzVmVmR5NVJBT1NKNE1xZm50bk1NZDVDOVBTOXl5THZGcE1wbDYxTGw1WFo2aCs2SE1aWVRSMjZIMFM4PSIsInR5cGUiOiJ2ZGNhZGVhdWNhcmQifSx7ImRldGFpbHMiOlt7ImtleSI6ImFkZGl0aW9uYWxEYXRhLnZpc2FjaGVja291dC5jYWxsSWQiLCJ0eXBlIjoidGV4dCJ9XSwibmFtZSI6IlZpc2EgQ2hlY2tvdXQiLCJwYXltZW50TWV0aG9kRGF0YSI6IkFiMDJiNGMwIUJRQUJBZ0NSQnpzVTV6VW5aS2NnbUZoWURBWHF6WWttVGJORHpXcFNROFdEbE1yVks1cU5zdVd1eTJaYVhuRFwvV3d1OHc4NlwvMEhtMUUrZnRFdHN4MVMzcHVXeURZc24wSGtHc243TE1mMjJRbFlUYXBBelZLZk1meTA0K2Z0b256ZmE4XC9GOEN3b1Byd1dacExEVTNmSHVYM0JlUWlaSm5OUEpMQngyUDZRK1JcL2pMbk9McU5aTEpRcG41QWdJTmgyUE1WQVdGczQwUmo0YlZBS1wvWktUTG92dHJ2T1R2OXEzRHJiZkE0WWk4RkNlMjNrb2pqVFMrTDBVZXVROVVxYUZzRG9uNjlVUGxMQmdRQ2FlXC81bUxCanE1K1ZuUnA4ZzBSaDhGKzh1Yk50WXVWNUNSZzdlVnYyRW12S3J1XC9IYkMzTVhyNlFMazNaRSs5WjluN1p4b1MzS2FcL0t5WUVGMmV6clwvM3Z0TzBPdzF6NWVUR0NoWmJIN25uSUhycnAwb1lTcm0rc0F6dU5iemNvbTU3OFk1eWZIcyt4OTVPRk9pV2cyRWNyWWd2aGl5NkpXektEa2RraVBiVThWVWhpV1wvV0RPNGc1VVpVN1h6NWwxZEFhVVEwdTE4MVoyZXJaWUc4dW9oRkhhTGFDb1dBSjdxN0FMSkdoYUVSM1lvTWh5SXZ4RjVQREJIbytQSkw5ZlFpN0RCSlwvNHUwVk4zYTdKRzdDbDUxVkRuKzIrdTZtcDR5WUlEeWVsOEFHXC9kUVRFUXpJOGdvcXBWaG1oYnp0SVlidHV5MUdwMWJ6cG9oS2lua2F6ODVLa2VTakRhNHpyZ1dlRTROY1ZGWG9sVUJLQ01yOGxib3AyYkM5ZVwvYWQ1dklnQmJRbWNvU3V2U0k1dm5lWkhWcExMbWYyZng5dkJsdkJBcmgyeXVZNjBsQlFGdWp3eDlacVJLQUVwN0ltdGxlU0k2SWtGR01FRkJRVEV3TTBOQk5UTTNSVUZGUkRnM1F6STBSRVExTXprd09VSTRNRUUzT0VFNU1qTkZNemd5TTBRMk9FUkJRME01TkVJNVJrWTRNekExUkVNaWZYVjg2Vk12ZVZLTjZiRkJjMUFWaVdZK2E4eml4QVJlalVGRWVzd0RiaWp0ZGc4MG9pQTBpSzd5aXhRQk1tSnA4OGNzQ1drejk1S1NhT1E9IiwidHlwZSI6InZpc2FjaGVja291dCJ9LHsibmFtZSI6IlZWViBDYWRlYXVib24iLCJwYXltZW50TWV0aG9kRGF0YSI6IkFiMDJiNGMwIUJRQUJBZ0J1V25hUEVqelZFQjhcL05HTEZUMWkzWHJsREp6ck0rV05iXC9KbHY1dGI0cEpjdHl5UndiVXRIRStZbys3djlYUkFOazRER1R1dU1ZTDVCYmFxYnVVdnMyazJKYmdubFdIcnFxY2pBN2NFejdFV1JERW0ybTRqV25NaVwvS081YnVrMEJiUStLaVwvN1lOUHNTa3VDZ1VYR3JJWEFTVDVHUlB6SXdGWU9TN004MER6bHlLaThSN1RkSkF1OG5zbnBpaGt0TEJWT0hCcjlXck5STWUzUzdwNFBkOGEySEpHRFwvQ2FrSUw5dTdMWFlocVlxZ2ZreGZkdlFyUUZhejMxcDJ4VTlzXC9vM2tTV1hUXC9nbkNKejVNdVVocVhpdWRJOW1Ocm9TXC9BWWJVdVNaSUZGbnVlZ2QydDM1Qlc0ajhqenZnT1p5b1BSb2pxQ0dtQVlVUDZhQUhTaGU2WEIrN1BONmRBSWhKa0xYem5TcElLQzFCdHlVdUczSHlVT3dxRnlLdHQ2NkUxXC9JQ0pDbUFBZmlaa2JKQkZhU0lVRm54MUVNMGhZN01jYUhTMCtnZmIxZFF2QmhKUFwvZnlCRHBRQXg2U2FQMkpBRzl5aXZtemtIMytmTU5vUDZzeFZ5Q1g1RUhuYmxBc1hRRVd4bkpHWldXTHpCMjE4c294MjRqREhqMDFjN1pjQURoNGdvd0FKRFpZc3NwYVRnZGRoZU9SQ1cxMm92akFESkZRS0dNS0V0cGJGTlZaMlRRbCttd0JzczBjdktzcG0ya0dBUEtXWDBEakthMEhIdlluZXBFcUFId1Q2UWhlNlBYT1JIYktcLzNWY1hkZXpFSDh1eUM2VzlTc2pzRE82R1ZLcFdXSXRmT09mQ3FzXC9cLzNWaUFiazZwNzJzaGppRm40THU3K0IrSEJDYUFGQktxck0renZYYVZcL3RIM2VQXC9BRXA3SW10bGVTSTZJa0ZHTUVGQlFURXdNME5CTlRNM1JVRkZSRGczUXpJMFJFUTFNemt3T1VJNE1FRTNPRUU1TWpORk16Z3lNMFEyT0VSQlEwTTVORUk1UmtZNE16QTFSRU1pZlZSTFJ5VnQ4M2pJQmw3MWhNR0tjN0FxMEhOYmZJQVZGY1BDZWdJdDNqcWpMeVNsZmR4dVBcL3BsWnEzS0I0Zjd2QmRMSGRxUVwvM1dWenJvPSIsInR5cGUiOiJ2dnZjYWRlYXVib24ifSx7Im5hbWUiOiJXZWJzaG9wIEdpZnRjYXJkIiwicGF5bWVudE1ldGhvZERhdGEiOiJBYjAyYjRjMCFCUUFCQWdCdzVnSVpZV0VoNlpkN1JBTTBSY3BRTmhuUFJ0VUFIQU5uMHRFYitGQ2d1V256RmZxUlY0dGhPYkg5b3lTVnlqWXAxdmJBTEFBSkdua1IrWGJtNEtMZlwva1d6eitNc01pZE1YQytGV3M2aHo4Y292VkF0elJJSXZFWGxSQkIxN2xMQ2VIOXlKbldhdTk2WHJtOWwreVpnazBFY2h2dFFvQm1ZZXFTYjRzUXFKWWtRZEZRVFRKSFBBZWE2SnJjektGY2hlVTg2czlRZVNiekt4VU96SVwvME9SdWxGT1FYRXNqazNFdm0yZlE1OUtMM29CdGNKRjFHUkpmY1dRSjd6WjNKUmhreUg5ZzErU2JiZmoxVVl0c3lsOGQrQ1REd0Z1cVdtWnlBMzliaUk1VllYQlc3OGlkNER1T1ZLZHp2XC9EdjR6V3kwZFhETTNWb2NlMG9aSVJ3UUJDNmxnNU4ybXc0UkdBaHA3SWNVTCs0RHBaY3JUT0s0K0VEMjRFbVdybHBUdXNVa0hOWFwvU2FWNkhzMzVQVEswNjVqWHRYbW4rK0d2RjVCekE0TlRBbitzaFRUSENzbDVzdjlyaG1td3gzKzNCQ3pJajBjTUFpRk1Uc1ZaMVR4MjMrTW5VWEZJcWtsalJseUQwN0ZuSVhJYktlSm9HdHg2dCtCOUVLSENxRXVKRG5LV0lFcytEbk1SUXpoaXVhT2g1blwvRzBmMDZRN0ZHNlBZQUtGR1RlXC90dytHU0tLNmo3MWRZR2dXeWNOelplSFcxc1NORlZSTDZwVVJiM1M5UkJNak9wZWRhM2ZVS0NoYklQcWhqcUYrd0tsNnE3WFF2bSt3NGRLWEh5aEdJNURZXC85VnNcL0RYNzR2UnhjVHR1dFpNaFRHeEk5SktteVlEUVRvRmh3RUtTeERYamRDOHRJdnNKRHU3TFE4dmUzbldBRXA3SW10bGVTSTZJa0ZHTUVGQlFURXdNME5CTlRNM1JVRkZSRGczUXpJMFJFUTFNemt3T1VJNE1FRTNPRUU1TWpORk16Z3lNMFEyT0VSQlEwTTVORUk1UmtZNE16QTFSRU1pZlFOcmhBTm81bFM4Mk8zS1N2cEhRdEZIelwvdzdYS0RzRytzWmhSc0JRWStOKzFDYzQ5ZTNkM3hlZWppVG9BTldMYmg5bGxzT3k0aFJVblRGVWVJPSIsInR5cGUiOiJ3ZWJzaG9wZ2lmdGNhcmQifSx7Im5hbWUiOiJXRSBGYXNoaW9uIEdpZnRjYXJkIiwicGF5bWVudE1ldGhvZERhdGEiOiJBYjAyYjRjMCFCUUFCQWdBaE1KSVE4elNaNkI2cVFzYlJ5b0x6TWtMYkpuSWNmSkhJTUxTN3RtYm4zZVJvWktUUldiZXk4UEl4b3lsdGFjbVVKa1U5SGt0enFyY2N6Zng3VVpkRW1TNVh1bXVrVDRObmx2VWVMUTZpQk5pVG0wV05xRHFnTDhQOFZ6cHUrNkdKc1Q0MW94clBXUVVuUklraDlaQmpxa3E2UStSVkhKd3NZVElkWnBLR2loYVpsSTN6TkJnd1NMczJMemxMbkFxTEFSQzVYOTNLdmZOQzlXaWZkYVBlbnRKUW1tSlV4MFU2cXUxVWo5YTZzSEI4R05OV0JSWlc3c1YzSGhTVVI2UVwvRlhZeFpYbXVmUmNxTTlyWXhJQ1wvSnU0RVYyYkorakxhb1BwWHU3UHRPWGlUMzlWR2FaMGFYMDJnZWh1U2dWUTRoancxaTdPNmtqY0tVbTZQWFhwMEpZRmVIMDJ5c0w2ZVVCdXppMFVMUDA5UFlnM0N5RnVrdmtlYytSbm1FUUJBY1dDUW16WjFvckhndENZWEN3bDQzbEk1YytOd080bWJOQzBGTDRmNVlcL1VnRHk3OVZGS1VkNWwzdzhMd0FFaW50NGgyMW5NTEtaWUNKeDFTMWVDWDVzaHp4K2NDU2Q1R0FxV1VBNzduWGtVU3dEQlhYUG1JcCtHS1FNa0s3SUZIZ0c5cVRKOXJGdmFkRjUyUHlFdjRic1djamVBeXo2K0NXT0ZCd2s1VHRFdlNLRGZLTEFxVTkrbWU5RGZUUDFRQlkrRkpZaUJyT0JXXC91Qmd2XC82TnVmemFEQldkczRqSk9WcG84UzAzXC95TkN2TTk0RFRKUElSZmliRXdHYW1NMnFyRVJwODZlMXdqcjBhbzhCXC9abGM3Wlg4UUR6cURtcFRDSFQ1MjhtYnVCRGtxN0E5bHdUSlZOa2YybGFlQnhjcUFFcDdJbXRsZVNJNklrRkdNRUZCUVRFd00wTkJOVE0zUlVGRlJEZzNRekkwUkVRMU16a3dPVUk0TUVFM09FRTVNak5GTXpneU0wUTJPRVJCUTBNNU5FSTVSa1k0TXpBMVJFTWlmZVloUDNFdWdMblwvRDE3Y1M4UU9xcEJJTVNVV0FvSmZXTjdyS200c1RRV2p0WFNzbzg1MjF4ZVF6VFRSM2o0TG00YjFKZVppTTNCdjQ2Z1ZjcTc5UHc9PSIsInR5cGUiOiJ3ZWZhc2hpb25naWZ0Y2FyZCJ9LHsibmFtZSI6Ildlc3Rlcm4gVW5pb24iLCJwYXltZW50TWV0aG9kRGF0YSI6IkFiMDJiNGMwIUJRQUJBZ0NDcUlIVmp2V0Zmb08xMjVHMFFpXC9hV25rUVZ6bVZWRENvK1hwSlhBQkZENEpFZ1N4c3EydHJMWUxxeGl4bXJKWEV5XC9lNVJTMVkwS0Qyb213YXZPYW5RME5XcWtvZXJiQ2xlK3QxU0FDM3JwTVlvZFNVaEJBUWx1WENTdk1SWE5GcnpGcHhlSzUrU3pwaHF6VHZndkx1TUNOM0t5eTRmQnpDalhlTUp3UUI1bzJEcmFHTXQ2dzE5M1wvXC9uRFwva1ZHR2V4T2hNZkZOaXRSeXBkMmcwSUxzMVMxTytyTE9oMlVZdkVLY3pMYkoreE9xdENja1NiRTd0XC9BMjh5K2Zvd0p4eXFiRFpGblwvRGkxcitiSzJRK0IrQ3ZBY3ZkeGJ5clJKZUpEUVN2WUk1NHJ6XC8ycWs2RHZ6TFMreUt1N3VabUJhRnNkOEdGMVZjMENKV1ZlTFoxQkZcL1NocXVVd1hXV0F3dGFLM3pZTXkzQzM3UUVKaXpUc09Qd1U4TGdRNXh2ekVuMlcwaDgrWXJXcWhBSG5MTFNmUXZcL1F5WWxZdVNhNk1ZY3AwQ2Z1QzVXeHIwWFFkSHREdGRURHgwaXh1Q3ZHK2JWOFRleTZwRUFCRlZERkx0UkhoV1dzRFNsRkppMzVFTWF3enQ5cUJROXJpMm1JQmplb1RaVm1ZTkhIUG9RU1U3bFR1cGFkY1FuUGF1T3kwZ1RjOThDaFhsRFFhWUl4Z1hqb1ZIb1F1bGFheWk1K0hETkZINkZnSkVsdGI3K3ZaMWNoVDgzS0RNMzJiaWdGdFFqb2IrdmI3dUFyU3FDMVFab2Z3QTRicm5CbWl0Q1R1RkZzV0VmOTN4OWt6cnU1Y0ZLblpaQ3U2TFllRkJxaWZwUkRuVE0rOE9jbUtqWFhVdjRPcHpVS3k2aHhET3lRSlordnpaTWE1ZUFTTmExSVNZQUVwN0ltdGxlU0k2SWtGR01FRkJRVEV3TTBOQk5UTTNSVUZGUkRnM1F6STBSRVExTXprd09VSTRNRUUzT0VFNU1qTkZNemd5TTBRMk9FUkJRME01TkVJNVJrWTRNekExUkVNaWZUcjFBcndWc2ZEczYrcDF2eTRoekZwaVFFTzFxWmxBbXIwaEpCS3ZndERHXC9vcm1IazFoeDVDb0Z2amdLSmpcL2c5T1JsbGdZQWthdnRxZz0iLCJ0eXBlIjoid2VzdGVybnVuaW9uIn0seyJuYW1lIjoiV2lua2VsIENoZXF1ZSIsInBheW1lbnRNZXRob2REYXRhIjoiQWIwMmI0YzAhQlFBQkFnQXVHVHI3SGIrc1M5V2hNYUpieE1KUWhYdjlrcENUcVdiYytScEVFY0RCYW0xc1dQenFyQVdleUVwcVBwNXQwVHM5NEUzelc3UlRKMEF5RXZoVlMrS3BHUUtuK0VJN2p0MGxpVmJEYXFGQUc4N3haZE5kdEZWWGxmQndNazRETFdncjFRT1lXMUFBQm9WY1ZWMStNcTJoTFwvOHN2MjlkaDlPUmtUZjhmRnY2QnVFR0ZvRWMrWXplN2s1Z0xYbkxyUmtpQlZoN1docFpSNlRYTVp2ZWJnQWpCUTI2VzBlclVTVGp6enM0YlZsNVpxc1VMcW1IbWpqOVpySStNWjJjNG9yWU1LOFNKWGIrcUtaNjk3TkdFYXpzeU1aWlJtT0c1TkJZek9FamRLOVwvU2RuYWJnUmdxeEFXaHkzblNRZnFOZ1ZBcnB2Zml2RmJ1cDE0eFwvWk1cL1AyUDZ4QkZ5TnlLMHY1UE4yazlmM2dGRVV0dk0wWXozemoycDlxQXc2NlU2K3VnMzh1M2x1aUl3TEhYRnY4TWc4N0VMZnR1T0p3cnVBWXVydkNxeXZEQlkwajNxZ0JiOGZhM0E2RVVMZlhVMzVWMGhWbzZyOVNIVzNlZnZzb2NkNnZqS1FvZ1pQMlRnZjRlKytrSUY4MW4xdzM5eFNQYVRhU0hObmM5SEV0RmNFTXJna21GbG03K01XQUlmMTR4V2krakRkUHRKdGJTa0ZFXC9sRHF4c3lFMTZheEorbkNaMjkxNEVpcGxyczZGbXFcL2YzVDBRWFFHWHNad1RYTXdaVjh1YkFhNXh2NVNvd29pMlpHVnpERlJocXhLM1BmZFFJVk55U1wvVTB6cURUSjhEY28rMERubFBmUytcL1MzZExIaXhKekpESmVnaDFcL2N5MTBWejhRVXJCenBSQk9Ld0Rua3RQOHBCeE5lTzBkVnIwbkFFcDdJbXRsZVNJNklrRkdNRUZCUVRFd00wTkJOVE0zUlVGRlJEZzNRekkwUkVRMU16a3dPVUk0TUVFM09FRTVNak5GTXpneU0wUTJPRVJCUTBNNU5FSTVSa1k0TXpBMVJFTWlmVFJGQkJkN0h0TU8zMGh2XC8xcWV5UlZDXC95U2VBWGRZTCsrMVA1V25nWUxpMjkzcDMydkxMMTl1YWtlT1lKYmgwYWNOcVZOUzl1RVJmaFE9IiwidHlwZSI6IndpbmtlbGNoZXF1ZSJ9LHsibmFtZSI6IllvdXIgR2lmdCIsInBheW1lbnRNZXRob2REYXRhIjoiQWIwMmI0YzAhQlFBQkFnQndTemtBWkZQNjJyZjlBOXMxZVRSNWVaZWx2QU1HZHA3NWV5eGsyXC8wNTRWUkVtYXhcL05YNmJnR1lnNmh2cFJ1RTc4QVRWMCs5akk0TGN3SEtDTXVYc1pXV3FqOVJvN2hkZGlNdWMxWkRPVm1DQWNoS1ZubFIzWDFSNEk4ZWI0VStwbFNZNUMzMVZxREJDK3RHQWRzUWptNDRZMGU5ZVwvVzRrRjZTVlU3VUl2aDhcL3RzOE1jc0ZNY0JOY1wvZ3ZRXC9mVFRTZ0x5amdoSmFEY1wvMUo5WkZrZ3RWZ0FvVFNxZ3ppeXRDd3g5SjVkVjJ1cldmQVgzc0lLeUk0dElNZ0g3QzJ6T3ZkRTJXNndvSmx4dU1DXC9iaHhVbXQ5ek05UlVXSlZ6a3dhVktwbzdSQ1F6cXVvU3BPM00ra29IYitrTExwMTFYRWs0TU1WN2pWYnFMWWw0ZE9TNWlQOWt6Y2NlMGh4K1NBRE5sRU54TDE0VzlFSEhPRGFRYWVTUHJ1ZUJHbGY0bDhHWk1ueTNJUXY5VXptU1NcL3hXdnE3bE9Qb3YxdUZ5SktYRkkyaklMUjJkR0E2RksxK0NTdXFsUlwvbmt5UWNRbzJYRnVmWWk5ZzJIYXRURmZkNE1Ya1VTSEY0XC9UcGRGQWQ4QXNoeWFiTGpoT21qYlhaRzF6dWtXVzNvOExvNlwvckVMT2xvRnBRcGRhZHNYYjBNNXZaVmtyektJSWpIb1krRXZHQjF1cm5iWk5LVXphaDJXKzJjaHFTQzY5SU50SWNHajFNN3IwVHQ4RWFNZzREVkFLTVhzTW5ZUkl3cDJoN2cxTmlXdk5jRWdFTlVDRHB1dVdFTmEwOXlBNHNpUFI5YVdjTG05bnVrV1wvVFQ0NmVyVEczVk1oS0YrK3RWcCtHRkJlRlRyODNYQkRQc0tMalhnajNYcEdrdmhIbG1ERktBRXA3SW10bGVTSTZJa0ZHTUVGQlFURXdNME5CTlRNM1JVRkZSRGczUXpJMFJFUTFNemt3T1VJNE1FRTNPRUU1TWpORk16Z3lNMFEyT0VSQlEwTTVORUk1UmtZNE16QTFSRU1pZmErblRZNHdibVRDR1Rzb091WUxUZk1HYVlNN0h5eXo3QVhzTFRqOTUxSVp2RE43ZG9OdUt3MlBkVFk5RWQxN2RUaWNrWjBBa3c9PSIsInR5cGUiOiJ5b3VyZ2lmdCJ9XSwicHVibGljS2V5IjoiMTAwMDF8QkRGMDNGMjE2REUzNThERDZBQjIxNEI3NEJGMEY4QkZEQ0RBOUYzRUVFMEIzNjlEQzVBREJDQkUwRkZBQjJBNEZBMUUzMUM0OTUxOUJDQkM3MjQxODI0RUU0NUY3QUNDNUIwNDEyMzQ0NkQxMDVCNzEzMTM1ODk3RjZDQkM4MkM0NzhERjNCMjZGQ0MwREVEREZFOEJEMkYyOURCQUYzNUFFNjZFQ0U2QUZFNDhDOTg1QTA4NTkxQ0RDNTdFQTJCMzVGMjU1MUNERUVGRDNBQ0ZCOTEyRTA1MzBCNDAyNTQ5Mzk5QzkzQzJDMjNDRjc0QzQ0NDUxNUZDNkE2RTVEMjY3QTRBMkU1MUNBOTdGMzA0NjA4RkI1NjRERTcwRTFENjgzQ0JEQUZEN0U4NjkxMjNDOTE5NjIzODBEMzhBRjc0MDAzM0Q1MkRDMjUyM0RBODBDRTcyMDk3RDJFRDdEMUNBRTMzQjYwQzkxQUMyRjYzMDc3OTU4MDhEMkQzNTFGRDExMkMyODNFMDQzRjFCMjY2QzJDMzQ3REVFMzFFRThENjA2RDUxMjQzMUJDNUM5QzAxMDk5QTk2NzUzMkVGQTA2Njk4RjEzMEFGNTAwNUVDRTBDRUUzRkZBQzI0ODg0RTJDN0Y2RkNENDg2NjZENjRENDAwNTZDQ0JFNjI1NzkiLCJzZGtWZXJzaW9uIjoiMS4zLjAifQ==\"\n}", + "originalRequest": { + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 17408\n },\n \"reference\" : \"Your order number\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"channel\" : \"Web\",\n \"origin\" : \"https://www.yourwebsite.com\",\n \"returnUrl\" : \"https://www.yourshop.com/checkout/result\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl_NL\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"sdkVersion\" : \"1.3.0\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentSession", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentSession" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Provides the data object that can be used to start the Checkout SDK. To set up the payment, pass its amount, currency, and other required parameters. We use this to optimise the payment flow and perform better risk assessment of the transaction. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 17408\n },\n \"reference\" : \"Your order number\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"channel\" : \"Web\",\n \"origin\" : \"https://www.yourwebsite.com\",\n \"returnUrl\" : \"https://www.yourshop.com/checkout/result\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl_NL\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"sdkVersion\" : \"1.3.0\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentSession", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentSession" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Provides the data object that can be used to start the Checkout SDK. To set up the payment, pass its amount, currency, and other required parameters. We use this to optimise the payment flow and perform better risk assessment of the transaction. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." - } + ] } ] - } -, + }, { "name": "/payments/result (DEPRECATED)", "description": "Verifies the payment result using the payload returned from the Checkout SDK. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks).", @@ -598,56 +1045,115 @@ { "name": "Verify payment results", "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 + "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 \"payload\" : \"VALUE_YOU_GET_FROM_CHECKOUT_SDK\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments/result", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments", + "result" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Verifies the payment result using the payload returned from the Checkout SDK. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"authResponse\" : \"Authorised\",\n \"pspReference\" : \"V4HZ4RBFJGXXGN82\",\n \"merchantReference\" : \"Your order number\",\n \"shopperLocale\" : \"nl_NL\",\n \"paymentMethod\" : \"ideal\"\n}", + "originalRequest": { + "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 \"payload\" : \"VALUE_YOU_GET_FROM_CHECKOUT_SDK\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments/result", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments", + "result" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Verifies the payment result using the payload returned from the Checkout SDK. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"payload\" : \"VALUE_YOU_GET_FROM_CHECKOUT_SDK\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments/result", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments", - "result" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Verifies the payment result using the payload returned from the Checkout SDK. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." - } + ] } ] } - ] }, { @@ -660,55 +1166,113 @@ { "name": "Create an order", "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 + "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 \"reference\" : \"YOUR_ORDER_REFERENCE\",\n \"amount\" : {\n \"value\" : 2500,\n \"currency\" : \"EUR\"\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/orders", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "orders" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates an order to be used for partial payments. Make a POST `/orders` call before making a `/payments` call when processing payments with different payment methods." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"pspReference\" : \"8616178914061985\",\n \"resultCode\" : \"Success\",\n \"expiresAt\" : \"2021-04-09T14:16:46Z\",\n \"orderData\" : \"Ab02b4c0!BQABAgCxXvknCldOcRElkxY8Za7iyym4Wv8aDzyNwmj/3nh4G6YtwnUIJHaK62NlN4oIsACdkn1FEjBwKlheG40jvXcYGBk4KFV5WvOhTVCpv/KXnkrI7xQv/u2lE7U4wA+HPB6K4Zj2L8xO/ogZi+zGZqFs5m16jmkH7ku6FzXygXLNuUCuOlmlXSZhdkHHTNVQSq1MELDK9OL74y532ETRPTCNxx8WlEiZB+LDqYrPvH9GgigtD5kw8Do45jfFfG72kWBEgfYqp4mbUmBB9ebXFYZKfF0qvW1x7A2Y9+/MFlTIdXfKW484bJeDBCTTrmKGXIj+U4r5imr5fXTyNLcrxyUqwrb9jg+5B4qg1XB6Cgj5UPlSI4O62I7v0s5TTj69dzLwUQRxSQbwLrZVGYavXzeVKI54BVLRV3d/+BbPvTqnTo34UhfZbPlOx9F2eyaS0ZXdOKnHw89uGUgxUpLsMqnbRysi/pxpZaulel+0mExb68wVxb/7Teob5eRG4gp7cfZVZs6tLXOYWL+W0TqIlsa3hWsfM0LeaovzkoDtW/pK5JABXwMtLig9tsxoEh9ONYtIzkXC21LZ8ebiuSIMaPizjF8yca+QxrCZalQsu6uKnBz/mm8nnsflaGU2QS5zcoxk1RudL1Bl36LM9UZGPpFEYWiYA4sUsnNLw7peJjWCGhDepnwMv4TlgsEtoDtz1T54AEp7ImtleSI6IkFGMEFBQTEwM0NBNTM3RUFFRDg3QzI0REQ1MzkwOUI4MEE3OEE5MjNFMzgyM0Q2OERBQ0M5NEI5RkY4MzA1REMifRslOdmfgUHTXl66WPD9xoW2whIeRx/jR++2MqNE16x6zQy+KtDN8/h60crZwmqkjVTQYqQlsYSYDHSIyb4wnnay16/5il1yS7vN3UCLaTXjYBIAyyx6Wr9j4P3CI/etB+PpviHoESC4mV6ZN4whMDQyziQ8s230GtboXbh42qND7rk9phySBogowQlXrtF+l2n2F46nyif0owEgik5fGARfvjZtY2w23s30KMLNwU4gWSvX4H6RMVS8TfZH2fKfNrwB3tZUXwYkELs5ntaHysswq5Mn5aq2BKAMHu/Rh/wureMSI73Qi0avjrzWCwzt3JH4wnzErMnOZwSdgA==\",\n \"reference\" : \"shopper-reference-ekvL83\",\n \"remainingAmount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 2500\n }\n}", + "originalRequest": { + "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 \"reference\" : \"YOUR_ORDER_REFERENCE\",\n \"amount\" : {\n \"value\" : 2500,\n \"currency\" : \"EUR\"\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/orders", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "orders" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates an order to be used for partial payments. Make a POST `/orders` call before making a `/payments` call when processing payments with different payment methods." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"reference\" : \"YOUR_ORDER_REFERENCE\",\n \"amount\" : {\n \"value\" : 2500,\n \"currency\" : \"EUR\"\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/orders", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "orders" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Creates an order to be used for partial payments. Make a POST `/orders` call before making a `/payments` call when processing payments with different payment methods." - } + ] } ] - } -, + }, { "name": "/orders/cancel", "description": "Cancels an order. Cancellation of an order results in an automatic rollback of all payments made in the order, either by canceling or refunding the payment, depending on the type of payment method.", @@ -716,56 +1280,115 @@ { "name": "Cancel an order", "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 + "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 \"order\" : {\n \"pspReference\" : \"8815517812932012\",\n \"orderData\" : \"823fh892f8f18f4...148f13f9f3f\"\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/orders/cancel", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "orders", + "cancel" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Cancels an order. Cancellation of an order results in an automatic rollback of all payments made in the order, either by canceling or refunding the payment, depending on the type of payment method." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"pspReference\" : \"8816178914079738\",\n \"resultCode\" : \"Received\"\n}", + "originalRequest": { + "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 \"order\" : {\n \"pspReference\" : \"8815517812932012\",\n \"orderData\" : \"823fh892f8f18f4...148f13f9f3f\"\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/orders/cancel", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "orders", + "cancel" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Cancels an order. Cancellation of an order results in an automatic rollback of all payments made in the order, either by canceling or refunding the payment, depending on the type of payment method." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"order\" : {\n \"pspReference\" : \"8815517812932012\",\n \"orderData\" : \"823fh892f8f18f4...148f13f9f3f\"\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/orders/cancel", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "orders", - "cancel" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Cancels an order. Cancellation of an order results in an automatic rollback of all payments made in the order, either by canceling or refunding the payment, depending on the type of payment method." - } + ] } ] - } -, + }, { "name": "/paymentMethods/balance", "description": "Retrieves the balance remaining on a shopper's gift card. To check a gift card's balance, make a POST `/paymentMethods/balance` call and include the gift card's details inside a `paymentMethod` object.", @@ -773,106 +1396,225 @@ { "name": "Get gift card balance specifying amount of 10 EUR", "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 + "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 \"paymentMethod\" : {\n \"type\" : \"givex\",\n \"number\" : \"4126491073027401\",\n \"cvc\" : \"737\"\n },\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentMethods/balance", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentMethods", + "balance" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Retrieves the balance remaining on a shopper's gift card. To check a gift card's balance, make a POST `/paymentMethods/balance` call and include the gift card's details inside a `paymentMethod` object." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"pspReference\" : \"KHQC5N7G84BLNK43\",\n \"resultCode\" : \"Success\",\n \"balance\" : {\n \"currency\" : \"EUR\",\n \"value\" : 5000\n }\n}", + "originalRequest": { + "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 \"paymentMethod\" : {\n \"type\" : \"givex\",\n \"number\" : \"4126491073027401\",\n \"cvc\" : \"737\"\n },\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentMethods/balance", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentMethods", + "balance" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Retrieves the balance remaining on a shopper's gift card. To check a gift card's balance, make a POST `/paymentMethods/balance` call and include the gift card's details inside a `paymentMethod` object." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"paymentMethod\" : {\n \"type\" : \"givex\",\n \"number\" : \"4126491073027401\",\n \"cvc\" : \"737\"\n },\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentMethods/balance", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentMethods", - "balance" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Retrieves the balance remaining on a shopper's gift card. To check a gift card's balance, make a POST `/paymentMethods/balance` call and include the gift card's details inside a `paymentMethod` object." - } + ] }, { "name": "Get gift card balance specifying amount of 100 EUR", "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 + "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 \"paymentMethod\" : {\n \"type\" : \"givex\",\n \"number\" : \"4126491073027401\",\n \"cvc\" : \"737\"\n },\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 10000\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentMethods/balance", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentMethods", + "balance" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Retrieves the balance remaining on a shopper's gift card. To check a gift card's balance, make a POST `/paymentMethods/balance` call and include the gift card's details inside a `paymentMethod` object." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"pspReference\" : \"FKSPNCQ8HXSKGK82\",\n \"resultCode\" : \"NotEnoughBalance\",\n \"balance\" : {\n \"currency\" : \"EUR\",\n \"value\" : 5000\n }\n}", + "originalRequest": { + "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 \"paymentMethod\" : {\n \"type\" : \"givex\",\n \"number\" : \"4126491073027401\",\n \"cvc\" : \"737\"\n },\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 10000\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentMethods/balance", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentMethods", + "balance" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Retrieves the balance remaining on a shopper's gift card. To check a gift card's balance, make a POST `/paymentMethods/balance` call and include the gift card's details inside a `paymentMethod` object." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"paymentMethod\" : {\n \"type\" : \"givex\",\n \"number\" : \"4126491073027401\",\n \"cvc\" : \"737\"\n },\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 10000\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentMethods/balance", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentMethods", - "balance" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Retrieves the balance remaining on a shopper's gift card. To check a gift card's balance, make a POST `/paymentMethods/balance` call and include the gift card's details inside a `paymentMethod` object." - } + ] } ] } - ] }, { @@ -885,56 +1627,115 @@ { "name": "Get payment session for Apple Pay", "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 + "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 \"displayName\" : \"YOUR_MERCHANT_NAME\",\n \"domainName\" : \"YOUR_DOMAIN_NAME\",\n \"merchantIdentifier\" : \"YOUR_MERCHANT_ID\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/applePay/sessions", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "applePay", + "sessions" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "You need to use this endpoint if you have an API-only integration with Apple Pay which uses Adyen's Apple Pay certificate. The endpoint returns the Apple Pay session data which you need to complete the [Apple Pay session validation](https://docs.adyen.com/payment-methods/apple-pay/api-only?tab=adyen-certificate-validation_1#complete-apple-pay-session-validation)." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"data\" : \"eyJ2Z...\"\n}", + "originalRequest": { + "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 \"displayName\" : \"YOUR_MERCHANT_NAME\",\n \"domainName\" : \"YOUR_DOMAIN_NAME\",\n \"merchantIdentifier\" : \"YOUR_MERCHANT_ID\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/applePay/sessions", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "applePay", + "sessions" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "You need to use this endpoint if you have an API-only integration with Apple Pay which uses Adyen's Apple Pay certificate. The endpoint returns the Apple Pay session data which you need to complete the [Apple Pay session validation](https://docs.adyen.com/payment-methods/apple-pay/api-only?tab=adyen-certificate-validation_1#complete-apple-pay-session-validation)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"displayName\" : \"YOUR_MERCHANT_NAME\",\n \"domainName\" : \"YOUR_DOMAIN_NAME\",\n \"merchantIdentifier\" : \"YOUR_MERCHANT_ID\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/applePay/sessions", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "applePay", - "sessions" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "You need to use this endpoint if you have an API-only integration with Apple Pay which uses Adyen's Apple Pay certificate. The endpoint returns the Apple Pay session data which you need to complete the [Apple Pay session validation](https://docs.adyen.com/payment-methods/apple-pay/api-only?tab=adyen-certificate-validation_1#complete-apple-pay-session-validation)." - } + ] } ] - } -, + }, { "name": "/originKeys", "description": "This operation takes the origin domains and returns a JSON object containing the corresponding origin keys for the domains. > If you're still using origin key for your Web Drop-in or Components integration, we recommend [switching to client key](https://docs.adyen.com/development-resources/client-side-authentication/migrate-from-origin-key-to-client-key). This allows you to use a single key for all origins, add or remove origins without generating a new key, and detect the card type from the number entered in your payment form. ", @@ -942,55 +1743,113 @@ { "name": "Get origin keys", "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 + "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 \"originDomains\" : [ \"https://www.your-domain1.com\", \"https://www.your-domain2.com\", \"https://www.your-domain3.com\" ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/originKeys", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "originKeys" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "This operation takes the origin domains and returns a JSON object containing the corresponding origin keys for the domains. > If you're still using origin key for your Web Drop-in or Components integration, we recommend [switching to client key](https://docs.adyen.com/development-resources/client-side-authentication/migrate-from-origin-key-to-client-key). This allows you to use a single key for all origins, add or remove origins without generating a new key, and detect the card type from the number entered in your payment form. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"originKeys\" : {\n \"https://www.your-domain1.com\" : \"pub.v2.8116178901076090.aHR0cHM6Ly93d3cueW91ci1kb21haW4xLmNvbQ.pvbYlrXz0ICP4kwMJXDGDLVMqALhwXr1MSRjT-fkhvw\",\n \"https://www.your-domain3.com\" : \"pub.v2.8116178901076090.aHR0cHM6Ly93d3cueW91ci1kb21haW4zLmNvbQ.FrTpVz7_RzAywKasM0kXCRoMfoMkKIKaxjFymRGORIc\",\n \"https://www.your-domain2.com\" : \"pub.v2.8116178901076090.aHR0cHM6Ly93d3cueW91ci1kb21haW4yLmNvbQ.LdN9kvJ35fYFFiBSJA4idMnwwxJ5_yXpeNS__Ap5wkg\"\n }\n}", + "originalRequest": { + "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 \"originDomains\" : [ \"https://www.your-domain1.com\", \"https://www.your-domain2.com\", \"https://www.your-domain3.com\" ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/originKeys", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "originKeys" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "This operation takes the origin domains and returns a JSON object containing the corresponding origin keys for the domains. > If you're still using origin key for your Web Drop-in or Components integration, we recommend [switching to client key](https://docs.adyen.com/development-resources/client-side-authentication/migrate-from-origin-key-to-client-key). This allows you to use a single key for all origins, add or remove origins without generating a new key, and detect the card type from the number entered in your payment form. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"originDomains\" : [ \"https://www.your-domain1.com\", \"https://www.your-domain2.com\", \"https://www.your-domain3.com\" ]\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/originKeys", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "originKeys" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "This operation takes the origin domains and returns a JSON object containing the corresponding origin keys for the domains. > If you're still using origin key for your Web Drop-in or Components integration, we recommend [switching to client key](https://docs.adyen.com/development-resources/client-side-authentication/migrate-from-origin-key-to-client-key). This allows you to use a single key for all origins, add or remove origins without generating a new key, and detect the card type from the number entered in your payment form. " - } + ] } ] } - ] }, { @@ -1003,104 +1862,164 @@ { "name": "Start a donation transaction", "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 + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"reference\" : \"YOUR_DONATION_REFERENCE\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\"\n },\n \"donationToken\" : \"YOUR_DONATION_TOKEN\",\n \"donationOriginalPspReference\" : \"991559660454807J\",\n \"donationAccount\" : \"CHARITY_ACCOUNT\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"shopperInteraction\" : \"ContAuth\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/donations", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "donations" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Takes in the donation token generated by the `/payments` request and uses it to make the donation for the donation account specified in the request. For more information, see [Donations](https://docs.adyen.com/online-payments/donations)." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"id\" : \"UNIQUE_RESOURCE_ID\",\n \"status\" : \"completed\",\n \"donationAccount\" : \"CHARITY_ACCOUNT\",\n \"merchantAccount\" : \"YOUR_MERCHANT_ACCOUNT\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"reference\" : \"YOUR_DONATION_REFERENCE\",\n \"payment\" : {\n \"pspReference\" : \"8535762347980628\",\n \"resultCode\" : \"Authorised\",\n \"merchantReference\" : \"YOUR_DONATION_REFERENCE\"\n }\n}", + "originalRequest": { + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"reference\" : \"YOUR_DONATION_REFERENCE\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\"\n },\n \"donationToken\" : \"YOUR_DONATION_TOKEN\",\n \"donationOriginalPspReference\" : \"991559660454807J\",\n \"donationAccount\" : \"CHARITY_ACCOUNT\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"shopperInteraction\" : \"ContAuth\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/donations", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "donations" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Takes in the donation token generated by the `/payments` request and uses it to make the donation for the donation account specified in the request. For more information, see [Donations](https://docs.adyen.com/online-payments/donations)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"reference\" : \"YOUR_DONATION_REFERENCE\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\"\n },\n \"donationToken\" : \"YOUR_DONATION_TOKEN\",\n \"donationOriginalPspReference\" : \"991559660454807J\",\n \"donationAccount\" : \"CHARITY_ACCOUNT\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"shopperInteraction\" : \"ContAuth\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/donations", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "donations" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Takes in the donation token generated by the `/payments` request and uses it to make the donation for the donation account specified in the request. For more information, see [Donations](https://docs.adyen.com/online-payments/donations)." - } + ] }, { "name": "Start a donation transaction with a token", "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"reference\" : \"YOUR_DONATION_REFERENCE\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"recurringDetailReference\" : \"7219687191761347\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"donationAccount\" : \"CHARITY_ACCOUNT\",\n \"shopperInteraction\" : \"ContAuth\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"recurringProcessingModel\" : \"CardOnFile\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/donations", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "donations" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Takes in the donation token generated by the `/payments` request and uses it to make the donation for the donation account specified in the request. For more information, see [Donations](https://docs.adyen.com/online-payments/donations)." - } + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"reference\" : \"YOUR_DONATION_REFERENCE\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"recurringDetailReference\" : \"7219687191761347\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"donationAccount\" : \"CHARITY_ACCOUNT\",\n \"shopperInteraction\" : \"ContAuth\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"recurringProcessingModel\" : \"CardOnFile\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/donations", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "donations" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Takes in the donation token generated by the `/payments` request and uses it to make the donation for the donation account specified in the request. For more information, see [Donations](https://docs.adyen.com/online-payments/donations)." +} + ,"response": [ + ] } ] } - ] }, { @@ -1113,104 +2032,221 @@ { "name": "Get a list of brands on a card", "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 + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"cardNumber\" : \"411111\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/cardDetails", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "cardDetails" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Send a request with at least the first 6 digits of the card number to get a response with an array of brands on the card. If you include [your supported brands](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__reqParam_supportedBrands) in the request, the response also tells you if you support each [brand that was identified](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__resParam_details). If you have an API-only integration and collect card data, use this endpoint to find out if the shopper's card is co-branded. For co-branded cards, you must let the shopper choose the brand to pay with if you support both brands. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"brands\" : [ {\n \"type\" : \"visa\",\n \"supported\" : true\n }, {\n \"type\" : \"cartebancaire\",\n \"supported\" : true\n } ]\n}", + "originalRequest": { + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"cardNumber\" : \"411111\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/cardDetails", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "cardDetails" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Send a request with at least the first 6 digits of the card number to get a response with an array of brands on the card. If you include [your supported brands](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__reqParam_supportedBrands) in the request, the response also tells you if you support each [brand that was identified](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__resParam_details). If you have an API-only integration and collect card data, use this endpoint to find out if the shopper's card is co-branded. For co-branded cards, you must let the shopper choose the brand to pay with if you support both brands. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"cardNumber\" : \"411111\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/cardDetails", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "cardDetails" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Send a request with at least the first 6 digits of the card number to get a response with an array of brands on the card. If you include [your supported brands](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__reqParam_supportedBrands) in the request, the response also tells you if you support each [brand that was identified](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__resParam_details). If you have an API-only integration and collect card data, use this endpoint to find out if the shopper's card is co-branded. For co-branded cards, you must let the shopper choose the brand to pay with if you support both brands. " - } + ] }, { "name": "Get a list of brands on a card specifying your supported card brands", "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 + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"cardNumber\" : \"411111\",\n \"supportedBrands\" : [ \"visa\", \"mc\", \"amex\" ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/cardDetails", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "cardDetails" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Send a request with at least the first 6 digits of the card number to get a response with an array of brands on the card. If you include [your supported brands](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__reqParam_supportedBrands) in the request, the response also tells you if you support each [brand that was identified](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__resParam_details). If you have an API-only integration and collect card data, use this endpoint to find out if the shopper's card is co-branded. For co-branded cards, you must let the shopper choose the brand to pay with if you support both brands. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"brands\" : [ {\n \"type\" : \"visa\",\n \"supported\" : true\n }, {\n \"type\" : \"cartebancaire\",\n \"supported\" : false\n } ]\n}", + "originalRequest": { + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"cardNumber\" : \"411111\",\n \"supportedBrands\" : [ \"visa\", \"mc\", \"amex\" ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/cardDetails", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "cardDetails" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Send a request with at least the first 6 digits of the card number to get a response with an array of brands on the card. If you include [your supported brands](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__reqParam_supportedBrands) in the request, the response also tells you if you support each [brand that was identified](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__resParam_details). If you have an API-only integration and collect card data, use this endpoint to find out if the shopper's card is co-branded. For co-branded cards, you must let the shopper choose the brand to pay with if you support both brands. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"cardNumber\" : \"411111\",\n \"supportedBrands\" : [ \"visa\", \"mc\", \"amex\" ]\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/cardDetails", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "cardDetails" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Send a request with at least the first 6 digits of the card number to get a response with an array of brands on the card. If you include [your supported brands](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__reqParam_supportedBrands) in the request, the response also tells you if you support each [brand that was identified](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__resParam_details). If you have an API-only integration and collect card data, use this endpoint to find out if the shopper's card is co-branded. For co-branded cards, you must let the shopper choose the brand to pay with if you support both brands. " - } + ] } ] - } -, + }, { "name": "/paymentMethods", "description": "Queries the available payment methods for a transaction based on the transaction context (like amount, country, and currency). Besides giving back a list of the available payment methods, the response also returns which input details you need to collect from the shopper (to be submitted to `/payments`). Although we highly recommend using this endpoint to ensure you are always offering the most up-to-date list of payment methods, its usage is optional. You can, for example, also cache the `/paymentMethods` response and update it once a week.", @@ -1218,153 +2254,329 @@ { "name": "Get available payment methods", "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 + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentMethods", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentMethods" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Queries the available payment methods for a transaction based on the transaction context (like amount, country, and currency). Besides giving back a list of the available payment methods, the response also returns which input details you need to collect from the shopper (to be submitted to `/payments`). Although we highly recommend using this endpoint to ensure you are always offering the most up-to-date list of payment methods, its usage is optional. You can, for example, also cache the `/paymentMethods` response and update it once a week." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"paymentMethods\" : [ {\n \"details\" : [ {\n \"details\" : [ {\n \"key\" : \"ownerName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"bankLocationId\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"bankAccountNumber\",\n \"type\" : \"text\"\n } ],\n \"key\" : \"bankAccount\",\n \"type\" : \"bankAccount\"\n } ],\n \"name\" : \"ACH Direct Debit\",\n \"type\" : \"ach\"\n }, {\n \"name\" : \"Adyen Voucher\",\n \"type\" : \"adyen_test_voucher\"\n }, {\n \"details\" : [ {\n \"details\" : [ {\n \"key\" : \"firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"lastName\",\n \"type\" : \"text\"\n }, {\n \"items\" : [ {\n \"id\" : \"M\",\n \"name\" : \"male\"\n }, {\n \"id\" : \"F\",\n \"name\" : \"female\"\n } ],\n \"key\" : \"gender\",\n \"type\" : \"radio\"\n }, {\n \"key\" : \"dateOfBirth\",\n \"type\" : \"date\"\n }, {\n \"key\" : \"telephoneNumber\",\n \"type\" : \"tel\"\n }, {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n } ],\n \"key\" : \"personalDetails\",\n \"type\" : \"fieldSet\"\n }, {\n \"details\" : [ {\n \"key\" : \"street\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"houseNumberOrName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"city\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"postalCode\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"stateOrProvince\",\n \"optional\" : true,\n \"type\" : \"text\"\n }, {\n \"items\" : [ {\n \"id\" : \"NL\",\n \"name\" : \"Netherlands\"\n }, {\n \"id\" : \"BE\",\n \"name\" : \"Belgium\"\n } ],\n \"key\" : \"country\",\n \"type\" : \"select\"\n } ],\n \"key\" : \"billingAddress\",\n \"type\" : \"address\"\n }, {\n \"key\" : \"separateDeliveryAddress\",\n \"optional\" : true,\n \"type\" : \"boolean\",\n \"value\" : \"false\"\n }, {\n \"details\" : [ {\n \"key\" : \"street\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"houseNumberOrName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"city\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"postalCode\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"stateOrProvince\",\n \"optional\" : true,\n \"type\" : \"text\"\n }, {\n \"items\" : [ {\n \"id\" : \"NL\",\n \"name\" : \"Netherlands\"\n }, {\n \"id\" : \"BE\",\n \"name\" : \"Belgium\"\n } ],\n \"key\" : \"country\",\n \"type\" : \"select\"\n } ],\n \"key\" : \"deliveryAddress\",\n \"optional\" : true,\n \"type\" : \"address\"\n } ],\n \"name\" : \"AfterPay Invoice\",\n \"type\" : \"afterpay_default\"\n }, {\n \"name\" : \"AfterPay DirectDebit\",\n \"type\" : \"afterpay_directdebit\"\n }, {\n \"name\" : \"Afterpay\",\n \"type\" : \"afterpaytouch\"\n }, {\n \"details\" : [ {\n \"key\" : \"encryptedCardNumber\",\n \"type\" : \"cardToken\"\n }, {\n \"key\" : \"encryptedSecurityCode\",\n \"type\" : \"cardToken\"\n }, {\n \"key\" : \"encryptedExpiryMonth\",\n \"type\" : \"cardToken\"\n }, {\n \"key\" : \"encryptedExpiryYear\",\n \"type\" : \"cardToken\"\n }, {\n \"key\" : \"holderName\",\n \"optional\" : true,\n \"type\" : \"text\"\n } ],\n \"name\" : \"Credit Card\",\n \"type\" : \"scheme\"\n }, {\n \"name\" : \"AliPay\",\n \"type\" : \"alipay\"\n }, {\n \"name\" : \"AliPay HK\",\n \"type\" : \"alipay_hk\"\n }, {\n \"name\" : \"AliPay\",\n \"type\" : \"alipay_wap\"\n }, {\n \"details\" : [ {\n \"key\" : \"additionalData.androidpay.token\",\n \"type\" : \"androidPayToken\"\n } ],\n \"name\" : \"Android Pay\",\n \"type\" : \"androidpay\"\n }, {\n \"details\" : [ {\n \"key\" : \"additionalData.applepay.token\",\n \"type\" : \"applePayToken\"\n } ],\n \"name\" : \"Apple Pay\",\n \"type\" : \"applepay\"\n }, {\n \"name\" : \"Credit Card via AsiaPay\",\n \"type\" : \"asiapay\"\n }, {\n \"name\" : \"China UnionPay\",\n \"type\" : \"asiapay_unionpay\"\n }, {\n \"name\" : \"Baby Gift Card\",\n \"type\" : \"babygiftcard\"\n }, {\n \"name\" : \"Baloto\",\n \"type\" : \"baloto\"\n }, {\n \"name\" : \"BancNet\",\n \"type\" : \"bancnet\"\n }, {\n \"name\" : \"Bank Transfer (BG)\",\n \"type\" : \"bankTransfer_BG\"\n }, {\n \"name\" : \"Bank Transfer (CH)\",\n \"type\" : \"bankTransfer_CH\"\n }, {\n \"name\" : \"Bank Transfer (DE)\",\n \"type\" : \"bankTransfer_DE\"\n }, {\n \"name\" : \"Bank Transfer (FI)\",\n \"type\" : \"bankTransfer_FI\"\n }, {\n \"name\" : \"Bank Transfer (GB)\",\n \"type\" : \"bankTransfer_GB\"\n }, {\n \"name\" : \"Bank Transfer (HU)\",\n \"type\" : \"bankTransfer_HU\"\n }, {\n \"name\" : \"SEPA Bank Transfer\",\n \"type\" : \"bankTransfer_IBAN\"\n }, {\n \"name\" : \"Bank Transfer (IE)\",\n \"type\" : \"bankTransfer_IE\"\n }, {\n \"name\" : \"Electronic Bank Transfer (MX)\",\n \"type\" : \"bankTransfer_MX_linked\"\n }, {\n \"name\" : \"Bank Transfer (MX)\",\n \"type\" : \"bankTransfer_MX_offline\"\n }, {\n \"name\" : \"Bank Transfer (NL)\",\n \"type\" : \"bankTransfer_NL\"\n }, {\n \"name\" : \"Bank Transfer (PL)\",\n \"type\" : \"bankTransfer_PL\"\n }, {\n \"name\" : \"Bank Transfer (SE)\",\n \"type\" : \"bankTransfer_SE\"\n }, {\n \"name\" : \"Bank Transfer (US)\",\n \"type\" : \"bankTransfer_US\"\n }, {\n \"name\" : \"Payconiq by Bancontact\",\n \"type\" : \"bcmc_mobile\"\n }, {\n \"name\" : \"Bijenkorf Cadeaucard\",\n \"type\" : \"bijcadeaucard\"\n }, {\n \"name\" : \"99Bill\",\n \"type\" : \"bill99\"\n }, {\n \"details\" : [ {\n \"items\" : [ {\n \"id\" : \"AUB_DIRECT\",\n \"name\" : \"AU Small Finance Bank\"\n }, {\n \"id\" : \"ALB_DIRECT\",\n \"name\" : \"Allahabad Bank \"\n }, {\n \"id\" : \"APG_DIRECT\",\n \"name\" : \"Andhra Pragathi Grameena Bank\"\n }, {\n \"id\" : \"BDN_DIRECT\",\n \"name\" : \"Bandhan bank\"\n }, {\n \"id\" : \"BBK_DIRECT\",\n \"name\" : \"Bank of Bahrain and Kuwait\"\n }, {\n \"id\" : \"BBR_DIRECT\",\n \"name\" : \"Bank of Baroda - Retail Banking\"\n }, {\n \"id\" : \"BCB_DIRECT\",\n \"name\" : \"Bassien Catholic Co-Operative Bank \"\n }, {\n \"id\" : \"CNB_DIRECT\",\n \"name\" : \"Canara Bank\"\n }, {\n \"id\" : \"SYD_DIRECT\",\n \"name\" : \"Canara Bank (e-Syndicate)\"\n }, {\n \"id\" : \"CSB_DIRECT\",\n \"name\" : \"Catholic Syrian Bank\"\n }, {\n \"id\" : \"CBI_DIRECT\",\n \"name\" : \"Central Bank of India\"\n }, {\n \"id\" : \"CUB_DIRECT\",\n \"name\" : \"City Union Bank\"\n }, {\n \"id\" : \"COB_DIRECT\",\n \"name\" : \"Cosmos Bank\"\n }, {\n \"id\" : \"DEN_DIRECT\",\n \"name\" : \"Dena Bank\"\n }, {\n \"id\" : \"DBK_DIRECT\",\n \"name\" : \"Deutsche Bank\"\n }, {\n \"id\" : \"DCB_DIRECT\",\n \"name\" : \"Development Credit Bank\"\n }, {\n \"id\" : \"DLB_DIRECT\",\n \"name\" : \"Dhanlakshmi Bank - Retail Net Banking\"\n }, {\n \"id\" : \"ESF_DIRECT\",\n \"name\" : \"ESAF Small Finance Bank\"\n }, {\n \"id\" : \"EQB_DIRECT\",\n \"name\" : \"Equitas Small Finance Bank\"\n }, {\n \"id\" : \"FBK_DIRECT\",\n \"name\" : \"Federal Bank\"\n }, {\n \"id\" : \"FNC_DIRECT\",\n \"name\" : \"Fincare Bank\"\n }, {\n \"id\" : \"HDF_DIRECT\",\n \"name\" : \"HDFC Bank\"\n }, {\n \"id\" : \"ICI_DIRECT\",\n \"name\" : \"ICICI Bank \"\n }, {\n \"id\" : \"IDB_DIRECT\",\n \"name\" : \"IDBI Bank - Retail Net Banking\"\n }, {\n \"id\" : \"IDN_DIRECT\",\n \"name\" : \"IDFC FIRST Bank\"\n }, {\n \"id\" : \"INB_DIRECT\",\n \"name\" : \"Indian Bank\"\n }, {\n \"id\" : \"IOB_DIRECT\",\n \"name\" : \"Indian Overseas Bank\"\n }, {\n \"id\" : \"IDS_DIRECT\",\n \"name\" : \"IndusInd Bank\"\n }, {\n \"id\" : \"JKB_DIRECT\",\n \"name\" : \"Jammu & Kashmir Bank\"\n }, {\n \"id\" : \"JNB_DIRECT\",\n \"name\" : \"Jana Small Finance Bank\"\n }, {\n \"id\" : \"JSB_DIRECT\",\n \"name\" : \"Janata Sahakari Bank Ltd Pune\"\n }, {\n \"id\" : \"KJB_DIRECT\",\n \"name\" : \"Kalyan Janata Sahakari Bank\"\n }, {\n \"id\" : \"KBL_DIRECT\",\n \"name\" : \"Karnataka Bank Ltd\"\n }, {\n \"id\" : \"KVB_DIRECT\",\n \"name\" : \"Karur Vysya Bank\"\n }, {\n \"id\" : \"162_DIRECT\",\n \"name\" : \"Kotak Bank\"\n }, {\n \"id\" : \"LVR_DIRECT\",\n \"name\" : \"Laxmi Vilas Bank - Retail\"\n }, {\n \"id\" : \"NKB_DIRECT\",\n \"name\" : \"NKGSB Co-op Bank\"\n }, {\n \"id\" : \"NEB_DIRECT\",\n \"name\" : \"North East Small Finance Bank\"\n }, {\n \"id\" : \"OBC_DIRECT\",\n \"name\" : \"PNB (Erstwhile-Oriental Bank of Commerce)\"\n }, {\n \"id\" : \"UNI_DIRECT\",\n \"name\" : \"PNB (Erstwhile-United Bank of India)\"\n }, {\n \"id\" : \"PMC_DIRECT\",\n \"name\" : \"Punjab & Maharastra Co-op Bank\"\n }, {\n \"id\" : \"PSB_DIRECT\",\n \"name\" : \"Punjab & Sind Bank\"\n }, {\n \"id\" : \"CPN_DIRECT\",\n \"name\" : \"Punjab National Bank - Corporate \"\n }, {\n \"id\" : \"PNB_DIRECT\",\n \"name\" : \"Punjab National Bank - Retail Banking\"\n }, {\n \"id\" : \"RBL_DIRECT\",\n \"name\" : \"RBL Bank Limited\"\n }, {\n \"id\" : \"SWB_DIRECT\",\n \"name\" : \"Saraswat Bank\"\n }, {\n \"id\" : \"SHB_DIRECT\",\n \"name\" : \"Shivalik Mercantile Cooperative Bank Ltd\"\n }, {\n \"id\" : \"SIB_DIRECT\",\n \"name\" : \"South Indian Bank\"\n }, {\n \"id\" : \"SCB_DIRECT\",\n \"name\" : \"Standard Chartered Bank\"\n }, {\n \"id\" : \"SBI_DIRECT\",\n \"name\" : \"State Bank of India\"\n }, {\n \"id\" : \"SRB_DIRECT\",\n \"name\" : \"Suryoday Small Finance Bank\"\n }, {\n \"id\" : \"TJB_DIRECT\",\n \"name\" : \"TJSB Bank\"\n }, {\n \"id\" : \"TNC_DIRECT\",\n \"name\" : \"Tamil Nadu State Co-operative Bank\"\n }, {\n \"id\" : \"TMB_DIRECT\",\n \"name\" : \"Tamilnad Mercantile Bank Ltd\"\n }, {\n \"id\" : \"TBB_DIRECT\",\n \"name\" : \"Thane Bharat Sahakari Bank Ltd\"\n }, {\n \"id\" : \"MSB_DIRECT\",\n \"name\" : \"The Mehsana Urban Co Op Bank Ltd\"\n }, {\n \"id\" : \"UCO_DIRECT\",\n \"name\" : \"UCO Bank\"\n }, {\n \"id\" : \"UBI_DIRECT\",\n \"name\" : \"Union Bank of India\"\n }, {\n \"id\" : \"ADB_DIRECT\",\n \"name\" : \"Union Bank of India (Erstwhile Andhra Bank)\"\n }, {\n \"id\" : \"CRP_DIRECT\",\n \"name\" : \"Union Bank of India (Erstwhile Corporation Bank)\"\n }, {\n \"id\" : \"VRB_DIRECT\",\n \"name\" : \"Varachha Co-operative Bank Limited\"\n }, {\n \"id\" : \"VJB_DIRECT\",\n \"name\" : \"Vijaya Bank\"\n }, {\n \"id\" : \"YBK_DIRECT\",\n \"name\" : \"Yes Bank\"\n }, {\n \"id\" : \"ZOB_DIRECT\",\n \"name\" : \"Zoroastrian Co-operative Bank Limited\"\n }, {\n \"id\" : \"DBS_DIRECT\",\n \"name\" : \"digibank by DBS\"\n } ],\n \"key\" : \"issuer\",\n \"type\" : \"select\"\n } ],\n \"name\" : \"Online Banking India\",\n \"type\" : \"billdesk_online\"\n }, {\n \"name\" : \"UPI\",\n \"type\" : \"billdesk_upi\"\n }, {\n \"details\" : [ {\n \"items\" : [ {\n \"id\" : \"DCW_DIRECT\",\n \"name\" : \"DCB Cippy\"\n }, {\n \"id\" : \"ICC_DIRECT\",\n \"name\" : \"ICC Cash Card\"\n }, {\n \"id\" : \"OXY_DIRECT\",\n \"name\" : \"Oxigen Wallet\"\n }, {\n \"id\" : \"PCH_DIRECT\",\n \"name\" : \"Pay World Money\"\n } ],\n \"key\" : \"issuer\",\n \"type\" : \"select\"\n } ],\n \"name\" : \"Wallets India\",\n \"type\" : \"billdesk_wallet\"\n }, {\n \"name\" : \"Blik\",\n \"type\" : \"blik\"\n }, {\n \"name\" : \"Bloemen Giftcard\",\n \"type\" : \"bloemengiftcard\"\n }, {\n \"name\" : \"Boekenbon Giftcard\",\n \"type\" : \"boekenbon\"\n }, {\n \"name\" : \"Boleto\",\n \"type\" : \"boleto\"\n }, {\n \"name\" : \"Boleto Bancario\",\n \"type\" : \"boletobancario_santander\"\n }, {\n \"name\" : \"Bradesco\",\n \"type\" : \"bradesco\"\n }, {\n \"name\" : \"Cash-Ticket\",\n \"type\" : \"cashticket\"\n }, {\n \"name\" : \"CashU\",\n \"type\" : \"cashu\"\n }, {\n \"name\" : \"CCAvenue\",\n \"type\" : \"ccavenue\"\n }, {\n \"name\" : \"Mula Checkout\",\n \"type\" : \"cellulant\"\n }, {\n \"name\" : \"Chasin Giftcard\",\n \"type\" : \"chasingiftcard\"\n }, {\n \"name\" : \"Clearpay\",\n \"type\" : \"clearpay\"\n }, {\n \"name\" : \"ClickandBuy\",\n \"type\" : \"clickandbuy\"\n }, {\n \"name\" : \"Paiement en 3 fois par Cartes Bancaires\",\n \"type\" : \"cofinoga_3xcb\"\n }, {\n \"name\" : \"Costes Giftcard\",\n \"type\" : \"costesgiftcard\"\n }, {\n \"name\" : \"custom_settlement\",\n \"type\" : \"custom_settlement\"\n }, {\n \"name\" : \"DANA\",\n \"type\" : \"dana\"\n }, {\n \"name\" : \"DineroMail\",\n \"type\" : \"dineromail\"\n }, {\n \"name\" : \"Online bank transfer.\",\n \"type\" : \"directEbanking\"\n }, {\n \"name\" : \"Direct Debit Brazil - Banco do Brazil\",\n \"type\" : \"directdebit_BR_bancodobrasil\"\n }, {\n \"name\" : \"Direct Debit Brazil - Bradesco\",\n \"type\" : \"directdebit_BR_bradesco\"\n }, {\n \"name\" : \"Direct Debit Brazil - Caixa Economica Federal\",\n \"type\" : \"directdebit_BR_caixa\"\n }, {\n \"name\" : \"Direct Debit Brazil - HSBC\",\n \"type\" : \"directdebit_BR_hsbc\"\n }, {\n \"name\" : \"Direct Debit Brazil - Itau\",\n \"type\" : \"directdebit_BR_itau\"\n }, {\n \"name\" : \"Direct Debit Brazil - Santander\",\n \"type\" : \"directdebit_BR_santander\"\n }, {\n \"name\" : \"BACS Direct Debit\",\n \"type\" : \"directdebit_GB\"\n }, {\n \"details\" : [ {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n }, {\n \"key\" : \"firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"lastName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"infix\",\n \"optional\" : true,\n \"type\" : \"text\"\n } ],\n \"name\" : \"Alfamart\",\n \"type\" : \"doku_alfamart\"\n }, {\n \"details\" : [ {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n }, {\n \"key\" : \"firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"lastName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"infix\",\n \"optional\" : true,\n \"type\" : \"text\"\n } ],\n \"name\" : \"BCA Bank Transfer\",\n \"type\" : \"doku_bca_va\"\n }, {\n \"details\" : [ {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n }, {\n \"key\" : \"firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"lastName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"infix\",\n \"optional\" : true,\n \"type\" : \"text\"\n } ],\n \"name\" : \"BNI VA\",\n \"type\" : \"doku_bni_va\"\n }, {\n \"details\" : [ {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n }, {\n \"key\" : \"firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"lastName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"infix\",\n \"optional\" : true,\n \"type\" : \"text\"\n } ],\n \"name\" : \"BRI VA\",\n \"type\" : \"doku_bri_va\"\n }, {\n \"details\" : [ {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n }, {\n \"key\" : \"firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"lastName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"infix\",\n \"optional\" : true,\n \"type\" : \"text\"\n } ],\n \"name\" : \"CIMB VA\",\n \"type\" : \"doku_cimb_va\"\n }, {\n \"details\" : [ {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n }, {\n \"key\" : \"firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"lastName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"infix\",\n \"optional\" : true,\n \"type\" : \"text\"\n } ],\n \"name\" : \"Danamon VA\",\n \"type\" : \"doku_danamon_va\"\n }, {\n \"details\" : [ {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n }, {\n \"key\" : \"firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"lastName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"infix\",\n \"optional\" : true,\n \"type\" : \"text\"\n } ],\n \"name\" : \"Indomaret\",\n \"type\" : \"doku_indomaret\"\n }, {\n \"details\" : [ {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n }, {\n \"key\" : \"firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"lastName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"infix\",\n \"optional\" : true,\n \"type\" : \"text\"\n } ],\n \"name\" : \"Mandiri VA\",\n \"type\" : \"doku_mandiri_va\"\n }, {\n \"details\" : [ {\n \"key\" : \"ovoId\",\n \"type\" : \"text\"\n } ],\n \"name\" : \"OVO\",\n \"type\" : \"doku_ovo\"\n }, {\n \"details\" : [ {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n }, {\n \"key\" : \"firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"lastName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"infix\",\n \"optional\" : true,\n \"type\" : \"text\"\n } ],\n \"name\" : \"Bank Transfer\",\n \"type\" : \"doku_permata_lite_atm\"\n }, {\n \"details\" : [ {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n }, {\n \"key\" : \"firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"lastName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"infix\",\n \"optional\" : true,\n \"type\" : \"text\"\n } ],\n \"name\" : \"DOKU wallet\",\n \"type\" : \"doku_wallet\"\n }, {\n \"details\" : [ {\n \"items\" : [ {\n \"id\" : \"66\",\n \"name\" : \"Bank Nowy BFG S.A.\"\n }, {\n \"id\" : \"92\",\n \"name\" : \"Bank Spółdzielczy w Brodnicy\"\n }, {\n \"id\" : \"11\",\n \"name\" : \"Bank transfer / postal\"\n }, {\n \"id\" : \"74\",\n \"name\" : \"Banki Spółdzielcze\"\n }, {\n \"id\" : \"73\",\n \"name\" : \"BLIK\"\n }, {\n \"id\" : \"90\",\n \"name\" : \"BNP Paribas - płacę z Pl@net\"\n }, {\n \"id\" : \"59\",\n \"name\" : \"CinkciarzPAY\"\n }, {\n \"id\" : \"87\",\n \"name\" : \"Credit Agricole PBL\"\n }, {\n \"id\" : \"83\",\n \"name\" : \"EnveloBank\"\n }, {\n \"id\" : \"76\",\n \"name\" : \"Getin Bank PBL\"\n }, {\n \"id\" : \"81\",\n \"name\" : \"Idea Cloud\"\n }, {\n \"id\" : \"7\",\n \"name\" : \"ING Corporate customers\"\n }, {\n \"id\" : \"93\",\n \"name\" : \"Kasa Stefczyka\"\n }, {\n \"id\" : \"44\",\n \"name\" : \"Millennium - Płatności Internetowe\"\n }, {\n \"id\" : \"10\",\n \"name\" : \"Millennium Corporate customers\"\n }, {\n \"id\" : \"68\",\n \"name\" : \"mRaty\"\n }, {\n \"id\" : \"1\",\n \"name\" : \"mTransfer\"\n }, {\n \"id\" : \"91\",\n \"name\" : \"Nest Bank\"\n }, {\n \"id\" : \"80\",\n \"name\" : \"Noble Pay\"\n }, {\n \"id\" : \"50\",\n \"name\" : \"Pay Way Toyota Bank\"\n }, {\n \"id\" : \"45\",\n \"name\" : \"Pay with Alior Bank\"\n }, {\n \"id\" : \"36\",\n \"name\" : \"Pekao24Przelew\"\n }, {\n \"id\" : \"70\",\n \"name\" : \"Pocztowy24\"\n }, {\n \"id\" : \"6\",\n \"name\" : \"Przelew24\"\n }, {\n \"id\" : \"46\",\n \"name\" : \"Płacę z Citi Handlowy\"\n }, {\n \"id\" : \"38\",\n \"name\" : \"Płacę z ING\"\n }, {\n \"id\" : \"2\",\n \"name\" : \"Płacę z Inteligo\"\n }, {\n \"id\" : \"4\",\n \"name\" : \"Płacę z iPKO\"\n }, {\n \"id\" : \"75\",\n \"name\" : \"Płacę z Plus Bank\"\n }, {\n \"id\" : \"51\",\n \"name\" : \"Płać z BOŚ\"\n }, {\n \"id\" : \"55\",\n \"name\" : \"Raty z Alior Bankiem PLN\"\n }, {\n \"id\" : \"89\",\n \"name\" : \"Santander\"\n }, {\n \"id\" : \"52\",\n \"name\" : \"SkyCash\"\n } ],\n \"key\" : \"issuer\",\n \"type\" : \"select\"\n } ],\n \"name\" : \"Local Polish Payment Methods\",\n \"type\" : \"dotpay\"\n }, {\n \"name\" : \"Dragonpay Prepaid Credits\",\n \"type\" : \"dragonpay_credits\"\n }, {\n \"name\" : \"Online Banking\",\n \"type\" : \"dragonpay_ebanking\"\n }, {\n \"name\" : \"GCash\",\n \"type\" : \"dragonpay_gcash\"\n }, {\n \"name\" : \"Over The Counter Banks\",\n \"type\" : \"dragonpay_otc_banking\"\n }, {\n \"name\" : \"OTC non-Bank via Dragonpay\",\n \"type\" : \"dragonpay_otc_non_banking\"\n }, {\n \"name\" : \"Convenience Stores\",\n \"type\" : \"dragonpay_otc_philippines\"\n }, {\n \"name\" : \"7/11\",\n \"type\" : \"dragonpay_seveneleven\"\n }, {\n \"name\" : \"eagleeye_voucher\",\n \"type\" : \"eagleeye_voucher\"\n }, {\n \"name\" : \"Finnish E-Banking\",\n \"type\" : \"ebanking_FI\"\n }, {\n \"name\" : \"Pay-easy ATM\",\n \"type\" : \"econtext_atm\"\n }, {\n \"name\" : \"Online Banking\",\n \"type\" : \"econtext_online\"\n }, {\n \"name\" : \"7-Eleven\",\n \"type\" : \"econtext_seven_eleven\"\n }, {\n \"name\" : \"Convenience Stores\",\n \"type\" : \"econtext_stores\"\n }, {\n \"name\" : \"eft_directdebit_CA\",\n \"type\" : \"eft_directdebit_CA\"\n }, {\n \"name\" : \"Lastschrift (ELV)\",\n \"type\" : \"elv\"\n }, {\n \"details\" : [ {\n \"items\" : [ {\n \"id\" : \"231\",\n \"name\" : \"POP Pankki\"\n }, {\n \"id\" : \"551\",\n \"name\" : \"Komerční banka\"\n }, {\n \"id\" : \"232\",\n \"name\" : \"Aktia\"\n }, {\n \"id\" : \"552\",\n \"name\" : \"Raiffeisen\"\n }, {\n \"id\" : \"233\",\n \"name\" : \"Säästöpankki\"\n }, {\n \"id\" : \"750\",\n \"name\" : \"Swedbank\"\n }, {\n \"id\" : \"211\",\n \"name\" : \"Nordea\"\n }, {\n \"id\" : \"553\",\n \"name\" : \"ČSOB\"\n }, {\n \"id\" : \"234\",\n \"name\" : \"S-Pankki\"\n }, {\n \"id\" : \"751\",\n \"name\" : \"SEB\"\n }, {\n \"id\" : \"554\",\n \"name\" : \"Moneta\"\n }, {\n \"id\" : \"235\",\n \"name\" : \"OmaSP\"\n }, {\n \"id\" : \"752\",\n \"name\" : \"Nordea\"\n }, {\n \"id\" : \"213\",\n \"name\" : \"Op-Pohjola\"\n }, {\n \"id\" : \"555\",\n \"name\" : \"UniCredit\"\n }, {\n \"id\" : \"753\",\n \"name\" : \"LHV\"\n }, {\n \"id\" : \"556\",\n \"name\" : \"Fio\"\n }, {\n \"id\" : \"557\",\n \"name\" : \"mBank\"\n }, {\n \"id\" : \"216\",\n \"name\" : \"Handelsbanken\"\n }, {\n \"id\" : \"558\",\n \"name\" : \"Air Bank\"\n }, {\n \"id\" : \"260\",\n \"name\" : \"Länsförsäkringar\"\n }, {\n \"id\" : \"240\",\n \"name\" : \"BankDeposit\"\n }, {\n \"id\" : \"265\",\n \"name\" : \"Sparbanken\"\n }, {\n \"id\" : \"640\",\n \"name\" : \"BankDeposit\"\n }, {\n \"id\" : \"200\",\n \"name\" : \"Ålandsbanken\"\n }, {\n \"id\" : \"940\",\n \"name\" : \"Swedbank\"\n }, {\n \"id\" : \"500\",\n \"name\" : \"Česká spořitelna\"\n }, {\n \"id\" : \"720\",\n \"name\" : \"Swedbank\"\n }, {\n \"id\" : \"941\",\n \"name\" : \"SEB\"\n }, {\n \"id\" : \"204\",\n \"name\" : \"Danske Bank\"\n }, {\n \"id\" : \"721\",\n \"name\" : \"SEB\"\n }, {\n \"id\" : \"942\",\n \"name\" : \"Citadele\"\n }, {\n \"id\" : \"205\",\n \"name\" : \"Handelsbanken\"\n }, {\n \"id\" : \"722\",\n \"name\" : \"DNB\"\n }, {\n \"id\" : \"943\",\n \"name\" : \"DNB\"\n }, {\n \"id\" : \"206\",\n \"name\" : \"Nordea\"\n }, {\n \"id\" : \"723\",\n \"name\" : \"Šiaulių bankas\"\n }, {\n \"id\" : \"207\",\n \"name\" : \"SEB\"\n }, {\n \"id\" : \"724\",\n \"name\" : \"Nordea\"\n }, {\n \"id\" : \"505\",\n \"name\" : \"Komerční banka\"\n }, {\n \"id\" : \"208\",\n \"name\" : \"Skandiabanken\"\n }, {\n \"id\" : \"209\",\n \"name\" : \"Swedbank\"\n } ],\n \"key\" : \"issuer\",\n \"type\" : \"select\"\n } ],\n \"name\" : \"Bank Payment\",\n \"type\" : \"entercash\"\n }, {\n \"name\" : \"Nationale Entertainment Card\",\n \"type\" : \"entertainmentcard\"\n }, {\n \"details\" : [ {\n \"items\" : [ {\n \"id\" : \"d5d5b133-1c0d-4c08-b2be-3c9b116dc326\",\n \"name\" : \"Dolomitenbank\"\n }, {\n \"id\" : \"ee9fc487-ebe0-486c-8101-17dce5141a67\",\n \"name\" : \"Raiffeissen Bankengruppe\"\n }, {\n \"id\" : \"6765e225-a0dc-4481-9666-e26303d4f221\",\n \"name\" : \"Hypo Tirol Bank AG\"\n }, {\n \"id\" : \"8b0bfeea-fbb0-4337-b3a1-0e25c0f060fc\",\n \"name\" : \"Sparda Bank Wien\"\n }, {\n \"id\" : \"1190c4d1-b37a-487e-9355-e0a067f54a9f\",\n \"name\" : \"Schoellerbank AG\"\n }, {\n \"id\" : \"e2e97aaa-de4c-4e18-9431-d99790773433\",\n \"name\" : \"Volksbank Gruppe\"\n }, {\n \"id\" : \"bb7d223a-17d5-48af-a6ef-8a2bf5a4e5d9\",\n \"name\" : \"Immo-Bank\"\n }, {\n \"id\" : \"e6819e7a-f663-414b-92ec-cf7c82d2f4e5\",\n \"name\" : \"Bank Austria\"\n }, {\n \"id\" : \"eff103e6-843d-48b7-a6e6-fbd88f511b11\",\n \"name\" : \"Easybank AG\"\n }, {\n \"id\" : \"25942cc9-617d-42a1-89ba-d1ab5a05770a\",\n \"name\" : \"VR-BankBraunau\"\n }, {\n \"id\" : \"4a0a975b-0594-4b40-9068-39f77b3a91f9\",\n \"name\" : \"Volkskreditbank\"\n }, {\n \"id\" : \"3fdc41fc-3d3d-4ee3-a1fe-cd79cfd58ea3\",\n \"name\" : \"Erste Bank und Sparkassen\"\n }, {\n \"id\" : \"ba7199cc-f057-42f2-9856-2378abf21638\",\n \"name\" : \"BAWAG P.S.K. Gruppe\"\n } ],\n \"key\" : \"issuer\",\n \"type\" : \"select\"\n } ],\n \"name\" : \"EPS\",\n \"type\" : \"eps\"\n }, {\n \"name\" : \"Expert Cadeaukaart\",\n \"type\" : \"expertgiftcard\"\n }, {\n \"details\" : [ {\n \"details\" : [ {\n \"key\" : \"firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"lastName\",\n \"type\" : \"text\"\n }, {\n \"items\" : [ {\n \"id\" : \"M\",\n \"name\" : \"male\"\n }, {\n \"id\" : \"F\",\n \"name\" : \"female\"\n } ],\n \"key\" : \"gender\",\n \"type\" : \"radio\"\n }, {\n \"key\" : \"telephoneNumber\",\n \"type\" : \"tel\"\n }, {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n } ],\n \"key\" : \"personalDetails\",\n \"type\" : \"fieldSet\"\n }, {\n \"details\" : [ {\n \"key\" : \"street\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"houseNumberOrName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"city\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"postalCode\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"stateOrProvince\",\n \"optional\" : true,\n \"type\" : \"text\"\n }, {\n \"items\" : [ {\n \"id\" : \"FR\",\n \"name\" : \"France\"\n }, {\n \"id\" : \"ES\",\n \"name\" : \"Spain\"\n } ],\n \"key\" : \"country\",\n \"type\" : \"select\"\n } ],\n \"key\" : \"billingAddress\",\n \"type\" : \"address\"\n }, {\n \"key\" : \"separateDeliveryAddress\",\n \"optional\" : true,\n \"type\" : \"boolean\",\n \"value\" : \"false\"\n }, {\n \"details\" : [ {\n \"key\" : \"street\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"houseNumberOrName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"city\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"postalCode\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"stateOrProvince\",\n \"optional\" : true,\n \"type\" : \"text\"\n }, {\n \"items\" : [ {\n \"id\" : \"FR\",\n \"name\" : \"France\"\n }, {\n \"id\" : \"ES\",\n \"name\" : \"Spain\"\n } ],\n \"key\" : \"country\",\n \"type\" : \"select\"\n } ],\n \"key\" : \"deliveryAddress\",\n \"optional\" : true,\n \"type\" : \"address\"\n } ],\n \"name\" : \"3x Oney\",\n \"type\" : \"facilypay_3x\"\n }, {\n \"details\" : [ {\n \"details\" : [ {\n \"key\" : \"firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"lastName\",\n \"type\" : \"text\"\n }, {\n \"items\" : [ {\n \"id\" : \"M\",\n \"name\" : \"male\"\n }, {\n \"id\" : \"F\",\n \"name\" : \"female\"\n } ],\n \"key\" : \"gender\",\n \"type\" : \"radio\"\n }, {\n \"key\" : \"telephoneNumber\",\n \"type\" : \"tel\"\n }, {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n } ],\n \"key\" : \"personalDetails\",\n \"type\" : \"fieldSet\"\n }, {\n \"details\" : [ {\n \"key\" : \"street\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"houseNumberOrName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"city\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"postalCode\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"stateOrProvince\",\n \"optional\" : true,\n \"type\" : \"text\"\n }, {\n \"items\" : [ {\n \"id\" : \"FR\",\n \"name\" : \"France\"\n }, {\n \"id\" : \"ES\",\n \"name\" : \"Spain\"\n } ],\n \"key\" : \"country\",\n \"type\" : \"select\"\n } ],\n \"key\" : \"billingAddress\",\n \"type\" : \"address\"\n }, {\n \"key\" : \"separateDeliveryAddress\",\n \"optional\" : true,\n \"type\" : \"boolean\",\n \"value\" : \"false\"\n }, {\n \"details\" : [ {\n \"key\" : \"street\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"houseNumberOrName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"city\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"postalCode\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"stateOrProvince\",\n \"optional\" : true,\n \"type\" : \"text\"\n }, {\n \"items\" : [ {\n \"id\" : \"FR\",\n \"name\" : \"France\"\n }, {\n \"id\" : \"ES\",\n \"name\" : \"Spain\"\n } ],\n \"key\" : \"country\",\n \"type\" : \"select\"\n } ],\n \"key\" : \"deliveryAddress\",\n \"optional\" : true,\n \"type\" : \"address\"\n } ],\n \"name\" : \"4x Oney\",\n \"type\" : \"facilypay_4x\"\n }, {\n \"name\" : \"Fashioncheque\",\n \"type\" : \"fashioncheque\"\n }, {\n \"details\" : [ {\n \"key\" : \"shopper.firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"shopper.lastName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"shopper.gender\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n }, {\n \"key\" : \"telephoneNumber\",\n \"type\" : \"tel\"\n }, {\n \"key\" : \"countryCode\",\n \"type\" : \"text\"\n } ],\n \"name\" : \"Fawry\",\n \"type\" : \"fawry\"\n }, {\n \"name\" : \"FijnCadeau\",\n \"type\" : \"fijncadeau\"\n }, {\n \"name\" : \"Fleurop Bloemenbon\",\n \"type\" : \"fleuropbloemenbon\"\n }, {\n \"name\" : \"Fonq Giftcard\",\n \"type\" : \"fonqgiftcard\"\n }, {\n \"name\" : \"Gall & Gall\",\n \"type\" : \"gallgall\"\n }, {\n \"name\" : \"GCash\",\n \"type\" : \"gcash\"\n }, {\n \"name\" : \"Generic GiftCard\",\n \"type\" : \"genericgiftcard\"\n }, {\n \"name\" : \"GiftFor2\",\n \"type\" : \"giftfor2card\"\n }, {\n \"name\" : \"Givex\",\n \"type\" : \"givex\"\n }, {\n \"name\" : \"Globe GCash\",\n \"type\" : \"globegcash\"\n }, {\n \"name\" : \"Goldsmiths Card\",\n \"type\" : \"goldsmithscard\"\n }, {\n \"name\" : \"GoPay Wallet\",\n \"type\" : \"gopay_wallet\"\n }, {\n \"name\" : \"OVO\",\n \"type\" : \"grabpay_ID\"\n }, {\n \"name\" : \"GrabPay\",\n \"type\" : \"grabpay_PH\"\n }, {\n \"name\" : \"GrabPay\",\n \"type\" : \"grabpay_SG\"\n }, {\n \"name\" : \"Hallmark Card\",\n \"type\" : \"hallmarkcard\"\n }, {\n \"name\" : \"HDFC\",\n \"type\" : \"hdfc\"\n }, {\n \"name\" : \"Hunkemoller Member Card\",\n \"type\" : \"hmclub\"\n }, {\n \"name\" : \"Hunkemoller Lingerie Card\",\n \"type\" : \"hmlingerie\"\n }, {\n \"details\" : [ {\n \"items\" : [ {\n \"id\" : \"1121\",\n \"name\" : \"Test Issuer\"\n }, {\n \"id\" : \"1154\",\n \"name\" : \"Test Issuer 5\"\n }, {\n \"id\" : \"1153\",\n \"name\" : \"Test Issuer 4\"\n }, {\n \"id\" : \"1152\",\n \"name\" : \"Test Issuer 3\"\n }, {\n \"id\" : \"1151\",\n \"name\" : \"Test Issuer 2\"\n }, {\n \"id\" : \"1162\",\n \"name\" : \"Test Issuer Cancelled\"\n }, {\n \"id\" : \"1161\",\n \"name\" : \"Test Issuer Pending\"\n }, {\n \"id\" : \"1160\",\n \"name\" : \"Test Issuer Refused\"\n }, {\n \"id\" : \"1159\",\n \"name\" : \"Test Issuer 10\"\n }, {\n \"id\" : \"1158\",\n \"name\" : \"Test Issuer 9\"\n }, {\n \"id\" : \"1157\",\n \"name\" : \"Test Issuer 8\"\n }, {\n \"id\" : \"1156\",\n \"name\" : \"Test Issuer 7\"\n }, {\n \"id\" : \"1155\",\n \"name\" : \"Test Issuer 6\"\n } ],\n \"key\" : \"issuer\",\n \"type\" : \"select\"\n } ],\n \"name\" : \"iDEAL\",\n \"type\" : \"ideal\"\n }, {\n \"name\" : \"igive\",\n \"type\" : \"igive\"\n }, {\n \"name\" : \"Korean Account Transfer (IniPay)\",\n \"type\" : \"inicisIniPay_accounttransfer\"\n }, {\n \"name\" : \"Korean Credit Cards (IniPay)\",\n \"type\" : \"inicisIniPay_creditcard\"\n }, {\n \"name\" : \"Korean Mobile Phone (IniPay)\",\n \"type\" : \"inicisIniPay_mobilephone\"\n }, {\n \"name\" : \"Korean Virtual Account (IniPay)\",\n \"type\" : \"inicisIniPay_virtualaccount\"\n }, {\n \"name\" : \"Korean Account Transfer (Mobile)\",\n \"type\" : \"inicisMobile_accounttransfer\"\n }, {\n \"name\" : \"Korean Credit Cards (Mobile)\",\n \"type\" : \"inicisMobile_creditcard\"\n }, {\n \"name\" : \"Korean Mobile Phone (Mobile)\",\n \"type\" : \"inicisMobile_mobilephone\"\n }, {\n \"name\" : \"Korean Virtual Account (Mobile)\",\n \"type\" : \"inicisMobile_virtualaccount\"\n }, {\n \"name\" : \"Korean Credit Cards\",\n \"type\" : \"inicis_creditcard\"\n }, {\n \"name\" : \"Interac® Online\",\n \"type\" : \"interac\"\n }, {\n \"name\" : \"Instant EFT\",\n \"type\" : \"ipay\"\n }, {\n \"name\" : \"iPay88\",\n \"type\" : \"ipay88\"\n }, {\n \"name\" : \"isracard\",\n \"type\" : \"isracard\"\n }, {\n \"name\" : \"Phone Payment\",\n \"type\" : \"ivr\"\n }, {\n \"name\" : \"Landline phone\",\n \"type\" : \"ivrLandline\"\n }, {\n \"name\" : \"Mobile phone\",\n \"type\" : \"ivrMobile\"\n }, {\n \"name\" : \"Kado Wereld\",\n \"type\" : \"kadowereld\"\n }, {\n \"name\" : \"KakaoPay\",\n \"type\" : \"kakaopay\"\n }, {\n \"name\" : \"Karen Millen Card\",\n \"type\" : \"karenmillen\"\n }, {\n \"name\" : \"Karen Millen GiftCard\",\n \"type\" : \"karenmillengiftcard\"\n }, {\n \"name\" : \"Bank Transfer\",\n \"type\" : \"kcp_banktransfer\"\n }, {\n \"name\" : \"Korea–issued cards\",\n \"type\" : \"kcp_creditcard\"\n }, {\n \"name\" : \"PayCo\",\n \"type\" : \"kcp_payco\"\n }, {\n \"name\" : \"Naver Pay\",\n \"type\" : \"kcp_naverpay\"\n }, {\n \"name\" : \"Virtual Account via KCP\",\n \"type\" : \"kcp_va\"\n }, {\n \"name\" : \"Pay later with Klarna.\",\n \"type\" : \"klarna\"\n }, {\n \"name\" : \"Pay over time with Klarna.\",\n \"type\" : \"klarna_account\"\n }, {\n \"name\" : \"Buy Now, Pay Later with Billie\",\n \"type\" : \"klarna_b2b\"\n }, {\n \"name\" : \"Pay now with Klarna.\",\n \"type\" : \"klarna_paynow\"\n }, {\n \"name\" : \"Leisure Card\",\n \"type\" : \"leisurecard\"\n }, {\n \"name\" : \"China Credit Card\",\n \"type\" : \"lianlianpay_creditcard\"\n }, {\n \"name\" : \"China Debit Card\",\n \"type\" : \"lianlianpay_debitcard\"\n }, {\n \"details\" : [ {\n \"key\" : \"telephoneNumber\",\n \"type\" : \"tel\"\n } ],\n \"name\" : \"China Online Banking - Credit Card\",\n \"type\" : \"lianlianpay_ebanking_credit\"\n }, {\n \"details\" : [ {\n \"items\" : [ {\n \"id\" : \"01030000\",\n \"name\" : \"Agricultural Bank of China\"\n }, {\n \"id\" : \"4031000\",\n \"name\" : \"Bank of Beijing\"\n }, {\n \"id\" : \"01040000\",\n \"name\" : \"Bank of China\"\n }, {\n \"id\" : \"03020000\",\n \"name\" : \"China Citic Bank\"\n }, {\n \"id\" : \"01050000\",\n \"name\" : \"China Construction Bank\"\n }, {\n \"id\" : \"03030000\",\n \"name\" : \"China Everbright Bank\"\n }, {\n \"id\" : \"03080000\",\n \"name\" : \"China Merchants Bank\"\n }, {\n \"id\" : \"03050000\",\n \"name\" : \"China Minsheng Banking Group\"\n }, {\n \"id\" : \"03040000\",\n \"name\" : \"Hua Xia Bank Co\"\n }, {\n \"id\" : \"01020000\",\n \"name\" : \"Industrial and Commercial Bank of China\"\n }, {\n \"id\" : \"03070000\",\n \"name\" : \"PingAn Bank\"\n }, {\n \"id\" : \"1000000\",\n \"name\" : \"Postal Savings Bank of China\"\n } ],\n \"key\" : \"issuer\",\n \"type\" : \"select\"\n }, {\n \"key\" : \"telephoneNumber\",\n \"type\" : \"tel\"\n } ],\n \"name\" : \"China Online Banking - Debit Card\",\n \"type\" : \"lianlianpay_ebanking_debit\"\n }, {\n \"details\" : [ {\n \"items\" : [ {\n \"id\" : \"01030000\",\n \"name\" : \"Agricultural Bank of China\"\n }, {\n \"id\" : \"01050000\",\n \"name\" : \"China Construction Bank\"\n }, {\n \"id\" : \"03080000\",\n \"name\" : \"China Merchants Bank\"\n }, {\n \"id\" : \"01020000\",\n \"name\" : \"Industrial and Commercial Bank of China\"\n }, {\n \"id\" : \"03100000\",\n \"name\" : \"Shanghai Pudong Development Bank\"\n } ],\n \"key\" : \"issuer\",\n \"type\" : \"select\"\n }, {\n \"key\" : \"telephoneNumber\",\n \"type\" : \"tel\"\n } ],\n \"name\" : \"China Online Banking - Enterprise\",\n \"type\" : \"lianlianpay_ebanking_enterprise\"\n }, {\n \"name\" : \"Loods5 Cadeaukaart\",\n \"type\" : \"loods5giftcard\"\n }, {\n \"name\" : \"Loods5 Tegoedbon\",\n \"type\" : \"loods5prepaidcard\"\n }, {\n \"name\" : \"Love2Shop GiftCard\",\n \"type\" : \"love2shop\"\n }, {\n \"details\" : [ {\n \"key\" : \"shopper.firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"shopper.lastName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"shopper.gender\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n }, {\n \"key\" : \"telephoneNumber\",\n \"type\" : \"tel\"\n }, {\n \"key\" : \"countryCode\",\n \"type\" : \"text\"\n } ],\n \"name\" : \"mada\",\n \"type\" : \"mada\"\n }, {\n \"name\" : \"Mappin & Webb Card\",\n \"type\" : \"mappinwebbcard\"\n }, {\n \"name\" : \"MB WAY\",\n \"type\" : \"mbway\"\n }, {\n \"details\" : [ {\n \"key\" : \"additionalData.amazonPayToken\",\n \"type\" : \"text\"\n } ],\n \"name\" : \"Amazon Pay\",\n \"supportsRecurring\" : true,\n \"type\" : \"amazonpay\"\n }, {\n \"name\" : \"Mercado Pago\",\n \"type\" : \"mercadopago\"\n }, {\n \"name\" : \"MobilePay\",\n \"type\" : \"mobilepay\"\n }, {\n \"name\" : \"AliPay via Razer Merchant Services\",\n \"type\" : \"molpay_alipay\"\n }, {\n \"name\" : \"7-Eleven\",\n \"type\" : \"molpay_cash\"\n }, {\n \"name\" : \"CIMB Virtual Account\",\n \"type\" : \"molpay_cimb_va\"\n }, {\n \"name\" : \"Malaysia E-Banking via Razer Merchant Services\",\n \"type\" : \"molpay_ebanking_MY\"\n }, {\n \"details\" : [ {\n \"items\" : [ {\n \"id\" : \"vtcpay-vietinbank\",\n \"name\" : \"Vietinbank\"\n }, {\n \"id\" : \"vtcpay-bidv\",\n \"name\" : \"BIDV\"\n }, {\n \"id\" : \"vtcpay-agribank\",\n \"name\" : \"Agribank\"\n }, {\n \"id\" : \"vtcpay-mb\",\n \"name\" : \"MB Bank\"\n }, {\n \"id\" : \"vtcpay-sacombank\",\n \"name\" : \"Sacombank\"\n }, {\n \"id\" : \"vtcpay-dongabank\",\n \"name\" : \"DongABank\"\n }, {\n \"id\" : \"vtcpay-maritimebank\",\n \"name\" : \"MaritimeBank\"\n }, {\n \"id\" : \"vtcpay-vietcombank\",\n \"name\" : \"Vietcombank\"\n }, {\n \"id\" : \"vtcpay-acb\",\n \"name\" : \"ACB\"\n }, {\n \"id\" : \"vtcpay-techcombank\",\n \"name\" : \"Techcombank\"\n } ],\n \"key\" : \"issuer\",\n \"type\" : \"select\"\n } ],\n \"name\" : \"Vietnam E-Banking\",\n \"type\" : \"molpay_ebanking_VN\"\n }, {\n \"details\" : [ {\n \"items\" : [ {\n \"id\" : \"fpx_bimb\",\n \"name\" : \"Bank Islam\"\n }, {\n \"id\" : \"fpx_uob\",\n \"name\" : \"UOB Bank\"\n }, {\n \"id\" : \"fpx_cimbclicks\",\n \"name\" : \"CIMB Clicks\"\n }, {\n \"id\" : \"fpx_kfh\",\n \"name\" : \"Kuwait Finance House\"\n }, {\n \"id\" : \"fpx_rhb\",\n \"name\" : \"RHB Now\"\n }, {\n \"id\" : \"fpx_abmb\",\n \"name\" : \"Alliance Bank\"\n }, {\n \"id\" : \"fpx_amb\",\n \"name\" : \"Am Online\"\n }, {\n \"id\" : \"fpx_hsbc\",\n \"name\" : \"HSBC\"\n }, {\n \"id\" : \"fpx_abb\",\n \"name\" : \"Affin Bank\"\n }, {\n \"id\" : \"fpx_ocbc\",\n \"name\" : \"OCBC Bank\"\n }, {\n \"id\" : \"fpx_pbb\",\n \"name\" : \"Public Bank\"\n }, {\n \"id\" : \"fpx_scb\",\n \"name\" : \"Standard Chartered Bank\"\n }, {\n \"id\" : \"fpx_bsn\",\n \"name\" : \"Bank Simpanan Nasional\"\n }, {\n \"id\" : \"fpx_mb2u\",\n \"name\" : \"Maybank2u\"\n }, {\n \"id\" : \"fpx_hlb\",\n \"name\" : \"Hong Leong Connect\"\n }, {\n \"id\" : \"fpx_bmmb\",\n \"name\" : \"Bank Muamalat\"\n }, {\n \"id\" : \"fpx_bkrm\",\n \"name\" : \"Bank Rakyat\"\n } ],\n \"key\" : \"issuer\",\n \"type\" : \"select\"\n } ],\n \"name\" : \"Malaysia E-Banking\",\n \"type\" : \"molpay_ebanking_fpx_MY\"\n }, {\n \"name\" : \"eNETS Debit\",\n \"type\" : \"molpay_enetsd\"\n }, {\n \"name\" : \"epay\",\n \"type\" : \"molpay_epay\"\n }, {\n \"name\" : \"Esapay\",\n \"type\" : \"molpay_esapay\"\n }, {\n \"name\" : \"MyClear FPX\",\n \"type\" : \"molpay_fpx\"\n }, {\n \"name\" : \"Maybank2u\",\n \"type\" : \"molpay_maybank2u\"\n }, {\n \"name\" : \"Nganluong\",\n \"type\" : \"molpay_nganluong\"\n }, {\n \"name\" : \"Convenience Stores Thailand\",\n \"type\" : \"molpay_paysbuy\"\n }, {\n \"name\" : \"MOLPoints\",\n \"type\" : \"molpay_points\"\n }, {\n \"name\" : \"RHB Now\",\n \"type\" : \"molpay_rhb\"\n }, {\n \"name\" : \"SAM by SingPost\",\n \"type\" : \"molpay_singpost\"\n }, {\n \"name\" : \"MOLWallet\",\n \"type\" : \"molpay_wallet\"\n }, {\n \"name\" : \"MoMo ATM\",\n \"type\" : \"momo_atm\"\n }, {\n \"name\" : \"Momo Wallet\",\n \"type\" : \"momo_wallet\"\n }, {\n \"name\" : \"Moneybookers\",\n \"type\" : \"moneybookers\"\n }, {\n \"name\" : \"Multibanco\",\n \"type\" : \"multibanco\"\n }, {\n \"name\" : \"De Nationale Musicalcard\",\n \"type\" : \"musicalcard\"\n }, {\n \"name\" : \"Nationale Bioscoopbon\",\n \"type\" : \"nationalebioscoopbon\"\n }, {\n \"name\" : \"Nationale Tuinbon\",\n \"type\" : \"nationaletuinbon\"\n }, {\n \"name\" : \"Nationale Verwen Cadeaubon\",\n \"type\" : \"nationaleverwencadeaubon\"\n }, {\n \"name\" : \"BankAxess\",\n \"type\" : \"netaxept_bankaxess\"\n }, {\n \"name\" : \"NETELLER\",\n \"type\" : \"neteller\"\n }, {\n \"name\" : \"Onebip\",\n \"type\" : \"onebip\"\n }, {\n \"name\" : \"One Two Three\",\n \"type\" : \"onetwothree\"\n }, {\n \"name\" : \"Online Banking PL\",\n \"type\" : \"onlineBanking_PL\"\n }, {\n \"details\" : [ {\n \"items\" : [ {\n \"id\" : \"1\",\n \"name\" : \"Model Bank v2\"\n } ],\n \"key\" : \"issuer\",\n \"type\" : \"select\"\n } ],\n \"name\" : \"Online banking\",\n \"type\" : \"openbanking_UK\"\n }, {\n \"name\" : \"Oxxo\",\n \"type\" : \"oxxo\"\n }, {\n \"name\" : \"Pathe Giftcard\",\n \"type\" : \"pathegiftcard\"\n }, {\n \"name\" : \"PayBright\",\n \"type\" : \"paybright\"\n }, {\n \"name\" : \"Maya Wallet\",\n \"type\" : \"paymaya_wallet\"\n }, {\n \"name\" : \"PayPal\",\n \"type\" : \"paypal\"\n }, {\n \"name\" : \"Paysafecard\",\n \"type\" : \"paysafecard\"\n }, {\n \"name\" : \"Payshop\",\n \"type\" : \"payshop\"\n }, {\n \"name\" : \"PayD AMT via Paythru\",\n \"type\" : \"paythru_amt\"\n }, {\n \"name\" : \"EFT via Paythru\",\n \"type\" : \"paythru_eft\"\n }, {\n \"name\" : \"PayTM\",\n \"type\" : \"paytm\"\n }, {\n \"details\" : [ {\n \"key\" : \"virtualPaymentAddress\",\n \"type\" : \"text\"\n } ],\n \"name\" : \"PayU UPI\",\n \"type\" : \"payu_IN_upi\"\n }, {\n \"name\" : \"EFT Pro via PayU\",\n \"type\" : \"payu_ZA_eftpro\"\n }, {\n \"details\" : [ {\n \"key\" : \"additionalData.paywithgoogle.token\",\n \"type\" : \"payWithGoogleToken\"\n } ],\n \"name\" : \"Google Pay\",\n \"type\" : \"paywithgoogle\"\n }, {\n \"name\" : \"pix\",\n \"type\" : \"pix\"\n }, {\n \"name\" : \"Plastix\",\n \"type\" : \"plastix\"\n }, {\n \"name\" : \"Pluim\",\n \"type\" : \"pluimgiftcard\"\n }, {\n \"name\" : \"Podium Card\",\n \"type\" : \"podiumcard\"\n }, {\n \"name\" : \"POLi\",\n \"type\" : \"poli\"\n }, {\n \"name\" : \"PPS\",\n \"type\" : \"pps\"\n }, {\n \"name\" : \"Primera Cadeaukaart\",\n \"type\" : \"primeracadeaucard\"\n }, {\n \"name\" : \"Illicado Gift Card\",\n \"type\" : \"prosodie_illicado\"\n }, {\n \"name\" : \"PSE\",\n \"type\" : \"pse\"\n }, {\n \"details\" : [ {\n \"items\" : [ {\n \"id\" : \"+7\",\n \"name\" : \"RU\"\n }, {\n \"id\" : \"+9955\",\n \"name\" : \"GE\"\n }, {\n \"id\" : \"+507\",\n \"name\" : \"PA\"\n }, {\n \"id\" : \"+44\",\n \"name\" : \"GB\"\n }, {\n \"id\" : \"+992\",\n \"name\" : \"TJ\"\n }, {\n \"id\" : \"+370\",\n \"name\" : \"LT\"\n }, {\n \"id\" : \"+972\",\n \"name\" : \"IL\"\n }, {\n \"id\" : \"+996\",\n \"name\" : \"KG\"\n }, {\n \"id\" : \"+380\",\n \"name\" : \"UA\"\n }, {\n \"id\" : \"+84\",\n \"name\" : \"VN\"\n }, {\n \"id\" : \"+90\",\n \"name\" : \"TR\"\n }, {\n \"id\" : \"+994\",\n \"name\" : \"AZ\"\n }, {\n \"id\" : \"+374\",\n \"name\" : \"AM\"\n }, {\n \"id\" : \"+371\",\n \"name\" : \"LV\"\n }, {\n \"id\" : \"+91\",\n \"name\" : \"IN\"\n }, {\n \"id\" : \"+66\",\n \"name\" : \"TH\"\n }, {\n \"id\" : \"+373\",\n \"name\" : \"MD\"\n }, {\n \"id\" : \"+1\",\n \"name\" : \"US\"\n }, {\n \"id\" : \"+81\",\n \"name\" : \"JP\"\n }, {\n \"id\" : \"+998\",\n \"name\" : \"UZ\"\n }, {\n \"id\" : \"+77\",\n \"name\" : \"KZ\"\n }, {\n \"id\" : \"+375\",\n \"name\" : \"BY\"\n }, {\n \"id\" : \"+372\",\n \"name\" : \"EE\"\n }, {\n \"id\" : \"+40\",\n \"name\" : \"RO\"\n }, {\n \"id\" : \"+82\",\n \"name\" : \"KR\"\n } ],\n \"key\" : \"qiwiwallet.telephoneNumberPrefix\",\n \"type\" : \"select\"\n }, {\n \"key\" : \"qiwiwallet.telephoneNumber\",\n \"type\" : \"text\"\n } ],\n \"name\" : \"Qiwi Wallet\",\n \"type\" : \"qiwiwallet\"\n }, {\n \"name\" : \"RatePay Invoice\",\n \"type\" : \"ratepay\"\n }, {\n \"name\" : \"RatePay Direct Debit\",\n \"type\" : \"ratepay_directdebit\"\n }, {\n \"name\" : \"Rituals Giftcard\",\n \"type\" : \"rituals\"\n }, {\n \"name\" : \"Rob Peetoom Giftcard\",\n \"type\" : \"robpeetoomgiftcard\"\n }, {\n \"name\" : \"SafetyPay\",\n \"type\" : \"safetypay\"\n }, {\n \"name\" : \"SafetyPay Cash\",\n \"type\" : \"safetypay_cash\"\n }, {\n \"name\" : \"Shoes&Accessories Cadeau\",\n \"type\" : \"sagiftcard\"\n }, {\n \"name\" : \"Score Giftcard\",\n \"type\" : \"scoregiftcard\"\n }, {\n \"name\" : \"SEB Direktbetalning\",\n \"type\" : \"sebdirectpayment\"\n }, {\n \"details\" : [ {\n \"key\" : \"sepa.ownerName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"sepa.ibanNumber\",\n \"type\" : \"text\"\n } ],\n \"name\" : \"SEPA Direct Debit\",\n \"type\" : \"sepadirectdebit\"\n }, {\n \"name\" : \"7-Eleven\",\n \"type\" : \"seveneleven\"\n }, {\n \"name\" : \"Premium SMS\",\n \"type\" : \"sms\"\n }, {\n \"name\" : \"SVS\",\n \"type\" : \"svs\"\n }, {\n \"name\" : \"Swish\",\n \"type\" : \"swish\"\n }, {\n \"name\" : \"TCS Test GiftCard\",\n \"type\" : \"tcstestgiftcard\"\n }, {\n \"name\" : \"TenPay\",\n \"type\" : \"tenpay\"\n }, {\n \"name\" : \"The Sting Giftcard\",\n \"type\" : \"thestinggiftcard\"\n }, {\n \"name\" : \"TrueMoney\",\n \"type\" : \"truemoney\"\n }, {\n \"name\" : \"Trustly\",\n \"type\" : \"trustly\"\n }, {\n \"name\" : \"Online Banking by Trustpay\",\n \"type\" : \"trustpay\"\n }, {\n \"name\" : \"TWINT\",\n \"type\" : \"twint\"\n }, {\n \"name\" : \"Ukash\",\n \"type\" : \"ukash\"\n }, {\n \"name\" : \"UnionPay\",\n \"type\" : \"unionpay\"\n }, {\n \"details\" : [ {\n \"key\" : \"virtualPaymentAddress\",\n \"type\" : \"text\"\n } ],\n \"name\" : \"UPI Collect\",\n \"type\" : \"upi_collect\"\n }, {\n \"name\" : \"Valuelink\",\n \"type\" : \"valuelink\"\n }, {\n \"name\" : \"V&D Cadeaukaart\",\n \"type\" : \"vdcadeaucard\"\n }, {\n \"details\" : [ {\n \"key\" : \"telephoneNumber\",\n \"optional\" : true,\n \"type\" : \"tel\"\n } ],\n \"name\" : \"Vipps\",\n \"type\" : \"vipps\"\n }, {\n \"details\" : [ {\n \"key\" : \"additionalData.visacheckout.callId\",\n \"type\" : \"text\"\n } ],\n \"name\" : \"Visa Checkout\",\n \"type\" : \"visacheckout\"\n }, {\n \"name\" : \"VVV Cadeaubon\",\n \"type\" : \"vvvcadeaubon\"\n }, {\n \"name\" : \"VVV Giftcard\",\n \"type\" : \"vvvgiftcard\"\n }, {\n \"name\" : \"Webshop Giftcard\",\n \"type\" : \"webshopgiftcard\"\n }, {\n \"name\" : \"WeChat Pay\",\n \"type\" : \"wechatpayMiniProgram\"\n }, {\n \"name\" : \"WeChat Pay\",\n \"type\" : \"wechatpayQR\"\n }, {\n \"name\" : \"WeChat Pay\",\n \"type\" : \"wechatpayWeb\"\n }, {\n \"name\" : \"WE Fashion Giftcard\",\n \"type\" : \"wefashiongiftcard\"\n }, {\n \"name\" : \"Western Union\",\n \"type\" : \"westernunion\"\n }, {\n \"name\" : \"Winkel Cheque\",\n \"type\" : \"winkelcheque\"\n }, {\n \"name\" : \"WOS Card\",\n \"type\" : \"woscard\"\n }, {\n \"name\" : \"Alfa-Click\",\n \"type\" : \"yandex_alfaclick\"\n }, {\n \"name\" : \"Pay using bank card\",\n \"type\" : \"yandex_bank_card\"\n }, {\n \"name\" : \"Cash terminals\",\n \"type\" : \"yandex_cash\"\n }, {\n \"name\" : \"Pay using installments\",\n \"type\" : \"yandex_installments\"\n }, {\n \"name\" : \"YooMoney\",\n \"type\" : \"yandex_money\"\n }, {\n \"name\" : \"Promsvyazbank\",\n \"type\" : \"yandex_promsvyazbank\"\n }, {\n \"name\" : \"SberPay\",\n \"type\" : \"yandex_sberbank\"\n }, {\n \"name\" : \"WebMoney\",\n \"type\" : \"yandex_webmoney\"\n }, {\n \"name\" : \"Your Gift\",\n \"type\" : \"yourgift\"\n }, {\n \"name\" : \"Zip\",\n \"type\" : \"zip\"\n } ]\n}", + "originalRequest": { + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentMethods", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentMethods" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Queries the available payment methods for a transaction based on the transaction context (like amount, country, and currency). Besides giving back a list of the available payment methods, the response also returns which input details you need to collect from the shopper (to be submitted to `/payments`). Although we highly recommend using this endpoint to ensure you are always offering the most up-to-date list of payment methods, its usage is optional. You can, for example, also cache the `/paymentMethods` response and update it once a week." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentMethods", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentMethods" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Queries the available payment methods for a transaction based on the transaction context (like amount, country, and currency). Besides giving back a list of the available payment methods, the response also returns which input details you need to collect from the shopper (to be submitted to `/payments`). Although we highly recommend using this endpoint to ensure you are always offering the most up-to-date list of payment methods, its usage is optional. You can, for example, also cache the `/paymentMethods` response and update it once a week." - } + ] }, { "name": "Get payment methods based on the country and amount", "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 + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl-NL\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentMethods", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentMethods" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Queries the available payment methods for a transaction based on the transaction context (like amount, country, and currency). Besides giving back a list of the available payment methods, the response also returns which input details you need to collect from the shopper (to be submitted to `/payments`). Although we highly recommend using this endpoint to ensure you are always offering the most up-to-date list of payment methods, its usage is optional. You can, for example, also cache the `/paymentMethods` response and update it once a week." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"paymentMethods\" : [ {\n \"details\" : [ {\n \"items\" : [ {\n \"id\" : \"1121\",\n \"name\" : \"Test Issuer\"\n }, {\n \"id\" : \"1154\",\n \"name\" : \"Test Issuer 5\"\n }, {\n \"id\" : \"1153\",\n \"name\" : \"Test Issuer 4\"\n }, {\n \"id\" : \"1152\",\n \"name\" : \"Test Issuer 3\"\n }, {\n \"id\" : \"1151\",\n \"name\" : \"Test Issuer 2\"\n }, {\n \"id\" : \"1162\",\n \"name\" : \"Test Issuer Cancelled\"\n }, {\n \"id\" : \"1161\",\n \"name\" : \"Test Issuer Pending\"\n }, {\n \"id\" : \"1160\",\n \"name\" : \"Test Issuer Refused\"\n }, {\n \"id\" : \"1159\",\n \"name\" : \"Test Issuer 10\"\n }, {\n \"id\" : \"1158\",\n \"name\" : \"Test Issuer 9\"\n }, {\n \"id\" : \"1157\",\n \"name\" : \"Test Issuer 8\"\n }, {\n \"id\" : \"1156\",\n \"name\" : \"Test Issuer 7\"\n }, {\n \"id\" : \"1155\",\n \"name\" : \"Test Issuer 6\"\n } ],\n \"key\" : \"issuer\",\n \"type\" : \"select\"\n } ],\n \"name\" : \"iDEAL\",\n \"type\" : \"ideal\"\n }, {\n \"details\" : [ {\n \"key\" : \"encryptedCardNumber\",\n \"type\" : \"cardToken\"\n }, {\n \"key\" : \"encryptedSecurityCode\",\n \"type\" : \"cardToken\"\n }, {\n \"key\" : \"encryptedExpiryMonth\",\n \"type\" : \"cardToken\"\n }, {\n \"key\" : \"encryptedExpiryYear\",\n \"type\" : \"cardToken\"\n }, {\n \"key\" : \"holderName\",\n \"optional\" : true,\n \"type\" : \"text\"\n } ],\n \"name\" : \"Hitelkártya\",\n \"type\" : \"scheme\"\n }, {\n \"name\" : \"PayPal\",\n \"type\" : \"paypal\"\n }, {\n \"details\" : [ {\n \"details\" : [ {\n \"key\" : \"firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"lastName\",\n \"type\" : \"text\"\n }, {\n \"items\" : [ {\n \"id\" : \"M\",\n \"name\" : \"male\"\n }, {\n \"id\" : \"F\",\n \"name\" : \"female\"\n } ],\n \"key\" : \"gender\",\n \"type\" : \"radio\"\n }, {\n \"key\" : \"dateOfBirth\",\n \"type\" : \"date\"\n }, {\n \"key\" : \"telephoneNumber\",\n \"type\" : \"tel\"\n }, {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n } ],\n \"key\" : \"personalDetails\",\n \"type\" : \"fieldSet\"\n }, {\n \"details\" : [ {\n \"key\" : \"street\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"houseNumberOrName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"city\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"postalCode\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"stateOrProvince\",\n \"optional\" : true,\n \"type\" : \"text\"\n }, {\n \"items\" : [ {\n \"id\" : \"NL\",\n \"name\" : \"Netherlands\"\n }, {\n \"id\" : \"BE\",\n \"name\" : \"Belgium\"\n } ],\n \"key\" : \"country\",\n \"type\" : \"select\",\n \"value\" : \"NL\"\n } ],\n \"key\" : \"billingAddress\",\n \"type\" : \"address\"\n }, {\n \"key\" : \"separateDeliveryAddress\",\n \"optional\" : true,\n \"type\" : \"boolean\",\n \"value\" : \"false\"\n }, {\n \"details\" : [ {\n \"key\" : \"street\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"houseNumberOrName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"city\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"postalCode\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"stateOrProvince\",\n \"optional\" : true,\n \"type\" : \"text\"\n }, {\n \"items\" : [ {\n \"id\" : \"NL\",\n \"name\" : \"Netherlands\"\n }, {\n \"id\" : \"BE\",\n \"name\" : \"Belgium\"\n } ],\n \"key\" : \"country\",\n \"type\" : \"select\",\n \"value\" : \"NL\"\n } ],\n \"key\" : \"deliveryAddress\",\n \"optional\" : true,\n \"type\" : \"address\"\n } ],\n \"name\" : \"AfterPay Invoice\",\n \"type\" : \"afterpay_default\"\n }, {\n \"name\" : \"Pay later with Klarna.\",\n \"type\" : \"klarna\"\n }, {\n \"details\" : [ {\n \"key\" : \"sepa.ownerName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"sepa.ibanNumber\",\n \"type\" : \"text\"\n } ],\n \"name\" : \"SEPA Direct Debit\",\n \"type\" : \"sepadirectdebit\"\n }, {\n \"name\" : \"Paysafecard\",\n \"type\" : \"paysafecard\"\n }, {\n \"name\" : \"Bijenkorf Cadeaucard\",\n \"type\" : \"bijcadeaucard\"\n }, {\n \"name\" : \"Fonq Giftcard\",\n \"type\" : \"fonqgiftcard\"\n }, {\n \"name\" : \"Bank Transfer (NL)\",\n \"type\" : \"bankTransfer_NL\"\n }, {\n \"name\" : \"Pathe Giftcard\",\n \"type\" : \"pathegiftcard\"\n }, {\n \"name\" : \"VVV Giftcard\",\n \"type\" : \"vvvgiftcard\"\n }, {\n \"name\" : \"Podium Card\",\n \"type\" : \"podiumcard\"\n }, {\n \"name\" : \"RatePay Direct Debit\",\n \"type\" : \"ratepay_directdebit\"\n }, {\n \"name\" : \"Rituals Giftcard\",\n \"type\" : \"rituals\"\n }, {\n \"name\" : \"Hunkemoller Lingerie Card\",\n \"type\" : \"hmlingerie\"\n }, {\n \"name\" : \"Primera Cadeaukaart\",\n \"type\" : \"primeracadeaucard\"\n }, {\n \"name\" : \"Fashioncheque\",\n \"type\" : \"fashioncheque\"\n }, {\n \"name\" : \"NETELLER\",\n \"type\" : \"neteller\"\n }, {\n \"name\" : \"Adyen Voucher\",\n \"type\" : \"adyen_test_voucher\"\n }, {\n \"name\" : \"AfterPay B2B\",\n \"type\" : \"afterpay_b2b\"\n }, {\n \"name\" : \"AfterPay DirectDebit\",\n \"type\" : \"afterpay_directdebit\"\n }, {\n \"name\" : \"AliPay\",\n \"type\" : \"alipay\"\n }, {\n \"name\" : \"AliPay\",\n \"type\" : \"alipay_wap\"\n }, {\n \"details\" : [ {\n \"key\" : \"additionalData.androidpay.token\",\n \"type\" : \"androidPayToken\"\n } ],\n \"name\" : \"Android Pay\",\n \"type\" : \"androidpay\"\n }, {\n \"details\" : [ {\n \"key\" : \"additionalData.applepay.token\",\n \"type\" : \"applePayToken\"\n } ],\n \"name\" : \"Apple Pay\",\n \"type\" : \"applepay\"\n }, {\n \"name\" : \"Baby Gift Card\",\n \"type\" : \"babygiftcard\"\n }, {\n \"name\" : \"SEPA Bank Transfer\",\n \"type\" : \"bankTransfer_IBAN\"\n }, {\n \"name\" : \"Bloemen Giftcard\",\n \"type\" : \"bloemengiftcard\"\n }, {\n \"name\" : \"Boekenbon Giftcard\",\n \"type\" : \"boekenbon\"\n }, {\n \"name\" : \"Cash-Ticket\",\n \"type\" : \"cashticket\"\n }, {\n \"name\" : \"Chasin Giftcard\",\n \"type\" : \"chasingiftcard\"\n }, {\n \"name\" : \"ClickandBuy\",\n \"type\" : \"clickandbuy\"\n }, {\n \"name\" : \"Costes Giftcard\",\n \"type\" : \"costesgiftcard\"\n }, {\n \"name\" : \"custom_settlement\",\n \"type\" : \"custom_settlement\"\n }, {\n \"name\" : \"eft_directdebit_CA\",\n \"type\" : \"eft_directdebit_CA\"\n }, {\n \"name\" : \"Nationale Entertainment Card\",\n \"type\" : \"entertainmentcard\"\n }, {\n \"name\" : \"Expert Cadeaukaart\",\n \"type\" : \"expertgiftcard\"\n }, {\n \"name\" : \"FijnCadeau\",\n \"type\" : \"fijncadeau\"\n }, {\n \"name\" : \"Fleurop Bloemenbon\",\n \"type\" : \"fleuropbloemenbon\"\n }, {\n \"name\" : \"Gall & Gall\",\n \"type\" : \"gallgall\"\n }, {\n \"name\" : \"Generic GiftCard\",\n \"type\" : \"genericgiftcard\"\n }, {\n \"name\" : \"GiftFor2\",\n \"type\" : \"giftfor2card\"\n }, {\n \"name\" : \"Givex\",\n \"type\" : \"givex\"\n }, {\n \"name\" : \"Goldsmiths Card\",\n \"type\" : \"goldsmithscard\"\n }, {\n \"name\" : \"Hunkemoller Member Card\",\n \"type\" : \"hmclub\"\n }, {\n \"name\" : \"Phone Payment\",\n \"type\" : \"ivr\"\n }, {\n \"name\" : \"Landline phone\",\n \"type\" : \"ivrLandline\"\n }, {\n \"name\" : \"Mobile phone\",\n \"type\" : \"ivrMobile\"\n }, {\n \"name\" : \"Kado Wereld\",\n \"type\" : \"kadowereld\"\n }, {\n \"name\" : \"Karen Millen GiftCard\",\n \"type\" : \"karenmillengiftcard\"\n }, {\n \"name\" : \"Leisure Card\",\n \"type\" : \"leisurecard\"\n }, {\n \"name\" : \"Loods5 Cadeaukaart\",\n \"type\" : \"loods5giftcard\"\n }, {\n \"name\" : \"Loods5 Tegoedbon\",\n \"type\" : \"loods5prepaidcard\"\n }, {\n \"details\" : [ {\n \"key\" : \"additionalData.amazonPayToken\",\n \"type\" : \"text\"\n } ],\n \"name\" : \"Amazon Pay\",\n \"supportsRecurring\" : true,\n \"type\" : \"amazonpay\"\n }, {\n \"name\" : \"MOLPoints\",\n \"type\" : \"molpay_points\"\n }, {\n \"name\" : \"Moneybookers\",\n \"type\" : \"moneybookers\"\n }, {\n \"name\" : \"De Nationale Musicalcard\",\n \"type\" : \"musicalcard\"\n }, {\n \"name\" : \"Nationale Bioscoopbon\",\n \"type\" : \"nationalebioscoopbon\"\n }, {\n \"name\" : \"Nationale Tuinbon\",\n \"type\" : \"nationaletuinbon\"\n }, {\n \"name\" : \"Nationale Verwen Cadeaubon\",\n \"type\" : \"nationaleverwencadeaubon\"\n }, {\n \"name\" : \"Onebip\",\n \"type\" : \"onebip\"\n }, {\n \"details\" : [ {\n \"key\" : \"additionalData.paywithgoogle.token\",\n \"type\" : \"payWithGoogleToken\"\n } ],\n \"name\" : \"Google Pay\",\n \"type\" : \"paywithgoogle\"\n }, {\n \"name\" : \"Plastix\",\n \"type\" : \"plastix\"\n }, {\n \"name\" : \"Pluim\",\n \"type\" : \"pluimgiftcard\"\n }, {\n \"name\" : \"Illicado Gift Card\",\n \"type\" : \"prosodie_illicado\"\n }, {\n \"name\" : \"RatePay Invoice\",\n \"type\" : \"ratepay\"\n }, {\n \"name\" : \"Rob Peetoom Giftcard\",\n \"type\" : \"robpeetoomgiftcard\"\n }, {\n \"name\" : \"Shoes&Accessories Cadeau\",\n \"type\" : \"sagiftcard\"\n }, {\n \"name\" : \"Score Giftcard\",\n \"type\" : \"scoregiftcard\"\n }, {\n \"name\" : \"Premium SMS\",\n \"type\" : \"sms\"\n }, {\n \"name\" : \"SVS\",\n \"type\" : \"svs\"\n }, {\n \"name\" : \"TCS Test GiftCard\",\n \"type\" : \"tcstestgiftcard\"\n }, {\n \"name\" : \"The Sting Giftcard\",\n \"type\" : \"thestinggiftcard\"\n }, {\n \"name\" : \"Ukash\",\n \"type\" : \"ukash\"\n }, {\n \"name\" : \"UnionPay\",\n \"type\" : \"unionpay\"\n }, {\n \"name\" : \"Valuelink\",\n \"type\" : \"valuelink\"\n }, {\n \"name\" : \"V&D Cadeaukaart\",\n \"type\" : \"vdcadeaucard\"\n }, {\n \"details\" : [ {\n \"key\" : \"additionalData.visacheckout.callId\",\n \"type\" : \"text\"\n } ],\n \"name\" : \"Visa Checkout\",\n \"type\" : \"visacheckout\"\n }, {\n \"name\" : \"VVV Cadeaubon\",\n \"type\" : \"vvvcadeaubon\"\n }, {\n \"name\" : \"Webshop Giftcard\",\n \"type\" : \"webshopgiftcard\"\n }, {\n \"name\" : \"WE Fashion Giftcard\",\n \"type\" : \"wefashiongiftcard\"\n }, {\n \"name\" : \"Western Union\",\n \"type\" : \"westernunion\"\n }, {\n \"name\" : \"Winkel Cheque\",\n \"type\" : \"winkelcheque\"\n }, {\n \"name\" : \"Your Gift\",\n \"type\" : \"yourgift\"\n } ]\n}", + "originalRequest": { + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl-NL\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentMethods", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentMethods" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Queries the available payment methods for a transaction based on the transaction context (like amount, country, and currency). Besides giving back a list of the available payment methods, the response also returns which input details you need to collect from the shopper (to be submitted to `/payments`). Although we highly recommend using this endpoint to ensure you are always offering the most up-to-date list of payment methods, its usage is optional. You can, for example, also cache the `/paymentMethods` response and update it once a week." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl-NL\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n }\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentMethods", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentMethods" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Queries the available payment methods for a transaction based on the transaction context (like amount, country, and currency). Besides giving back a list of the available payment methods, the response also returns which input details you need to collect from the shopper (to be submitted to `/payments`). Although we highly recommend using this endpoint to ensure you are always offering the most up-to-date list of payment methods, its usage is optional. You can, for example, also cache the `/paymentMethods` response and update it once a week." - } + ] }, { "name": "Get payment methods including stored card details", "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 + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"countryCode\" : \"NL\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentMethods", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentMethods" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Queries the available payment methods for a transaction based on the transaction context (like amount, country, and currency). Besides giving back a list of the available payment methods, the response also returns which input details you need to collect from the shopper (to be submitted to `/payments`). Although we highly recommend using this endpoint to ensure you are always offering the most up-to-date list of payment methods, its usage is optional. You can, for example, also cache the `/paymentMethods` response and update it once a week." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"paymentMethods\" : [ {\n \"details\" : [ {\n \"items\" : [ {\n \"id\" : \"1121\",\n \"name\" : \"Test Issuer\"\n }, {\n \"id\" : \"1154\",\n \"name\" : \"Test Issuer 5\"\n }, {\n \"id\" : \"1153\",\n \"name\" : \"Test Issuer 4\"\n }, {\n \"id\" : \"1152\",\n \"name\" : \"Test Issuer 3\"\n }, {\n \"id\" : \"1151\",\n \"name\" : \"Test Issuer 2\"\n }, {\n \"id\" : \"1162\",\n \"name\" : \"Test Issuer Cancelled\"\n }, {\n \"id\" : \"1161\",\n \"name\" : \"Test Issuer Pending\"\n }, {\n \"id\" : \"1160\",\n \"name\" : \"Test Issuer Refused\"\n }, {\n \"id\" : \"1159\",\n \"name\" : \"Test Issuer 10\"\n }, {\n \"id\" : \"1158\",\n \"name\" : \"Test Issuer 9\"\n }, {\n \"id\" : \"1157\",\n \"name\" : \"Test Issuer 8\"\n }, {\n \"id\" : \"1156\",\n \"name\" : \"Test Issuer 7\"\n }, {\n \"id\" : \"1155\",\n \"name\" : \"Test Issuer 6\"\n } ],\n \"key\" : \"issuer\",\n \"type\" : \"select\"\n } ],\n \"name\" : \"iDEAL\",\n \"type\" : \"ideal\"\n }, {\n \"details\" : [ {\n \"key\" : \"encryptedCardNumber\",\n \"type\" : \"cardToken\"\n }, {\n \"key\" : \"encryptedSecurityCode\",\n \"type\" : \"cardToken\"\n }, {\n \"key\" : \"encryptedExpiryMonth\",\n \"type\" : \"cardToken\"\n }, {\n \"key\" : \"encryptedExpiryYear\",\n \"type\" : \"cardToken\"\n }, {\n \"key\" : \"holderName\",\n \"optional\" : true,\n \"type\" : \"text\"\n } ],\n \"name\" : \"Credit Card\",\n \"type\" : \"scheme\"\n }, {\n \"name\" : \"PayPal\",\n \"type\" : \"paypal\"\n }, {\n \"details\" : [ {\n \"details\" : [ {\n \"key\" : \"firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"lastName\",\n \"type\" : \"text\"\n }, {\n \"items\" : [ {\n \"id\" : \"M\",\n \"name\" : \"male\"\n }, {\n \"id\" : \"F\",\n \"name\" : \"female\"\n } ],\n \"key\" : \"gender\",\n \"type\" : \"radio\"\n }, {\n \"key\" : \"dateOfBirth\",\n \"type\" : \"date\"\n }, {\n \"key\" : \"telephoneNumber\",\n \"type\" : \"tel\"\n }, {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n } ],\n \"key\" : \"personalDetails\",\n \"type\" : \"fieldSet\"\n }, {\n \"details\" : [ {\n \"key\" : \"street\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"houseNumberOrName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"city\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"postalCode\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"stateOrProvince\",\n \"optional\" : true,\n \"type\" : \"text\"\n }, {\n \"items\" : [ {\n \"id\" : \"NL\",\n \"name\" : \"Netherlands\"\n }, {\n \"id\" : \"BE\",\n \"name\" : \"Belgium\"\n } ],\n \"key\" : \"country\",\n \"type\" : \"select\",\n \"value\" : \"NL\"\n } ],\n \"key\" : \"billingAddress\",\n \"type\" : \"address\"\n }, {\n \"key\" : \"separateDeliveryAddress\",\n \"optional\" : true,\n \"type\" : \"boolean\",\n \"value\" : \"false\"\n }, {\n \"details\" : [ {\n \"key\" : \"street\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"houseNumberOrName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"city\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"postalCode\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"stateOrProvince\",\n \"optional\" : true,\n \"type\" : \"text\"\n }, {\n \"items\" : [ {\n \"id\" : \"NL\",\n \"name\" : \"Netherlands\"\n }, {\n \"id\" : \"BE\",\n \"name\" : \"Belgium\"\n } ],\n \"key\" : \"country\",\n \"type\" : \"select\",\n \"value\" : \"NL\"\n } ],\n \"key\" : \"deliveryAddress\",\n \"optional\" : true,\n \"type\" : \"address\"\n } ],\n \"name\" : \"AfterPay Invoice\",\n \"type\" : \"afterpay_default\"\n }, {\n \"name\" : \"Pay later with Klarna.\",\n \"type\" : \"klarna\"\n }, {\n \"details\" : [ {\n \"key\" : \"sepa.ownerName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"sepa.ibanNumber\",\n \"type\" : \"text\"\n } ],\n \"name\" : \"SEPA Direct Debit\",\n \"type\" : \"sepadirectdebit\"\n }, {\n \"name\" : \"Paysafecard\",\n \"type\" : \"paysafecard\"\n }, {\n \"name\" : \"Bijenkorf Cadeaucard\",\n \"type\" : \"bijcadeaucard\"\n }, {\n \"name\" : \"Fonq Giftcard\",\n \"type\" : \"fonqgiftcard\"\n }, {\n \"name\" : \"Bank Transfer (NL)\",\n \"type\" : \"bankTransfer_NL\"\n }, {\n \"name\" : \"Pathe Giftcard\",\n \"type\" : \"pathegiftcard\"\n }, {\n \"name\" : \"VVV Giftcard\",\n \"type\" : \"vvvgiftcard\"\n }, {\n \"name\" : \"Podium Card\",\n \"type\" : \"podiumcard\"\n }, {\n \"name\" : \"RatePay Direct Debit\",\n \"type\" : \"ratepay_directdebit\"\n }, {\n \"name\" : \"Rituals Giftcard\",\n \"type\" : \"rituals\"\n }, {\n \"name\" : \"Hunkemoller Lingerie Card\",\n \"type\" : \"hmlingerie\"\n }, {\n \"name\" : \"Primera Cadeaukaart\",\n \"type\" : \"primeracadeaucard\"\n }, {\n \"name\" : \"Fashioncheque\",\n \"type\" : \"fashioncheque\"\n }, {\n \"name\" : \"NETELLER\",\n \"type\" : \"neteller\"\n }, {\n \"name\" : \"Adyen Voucher\",\n \"type\" : \"adyen_test_voucher\"\n }, {\n \"name\" : \"AfterPay B2B\",\n \"type\" : \"afterpay_b2b\"\n }, {\n \"name\" : \"AfterPay DirectDebit\",\n \"type\" : \"afterpay_directdebit\"\n }, {\n \"name\" : \"AliPay\",\n \"type\" : \"alipay\"\n }, {\n \"name\" : \"AliPay\",\n \"type\" : \"alipay_wap\"\n }, {\n \"details\" : [ {\n \"key\" : \"additionalData.androidpay.token\",\n \"type\" : \"androidPayToken\"\n } ],\n \"name\" : \"Android Pay\",\n \"type\" : \"androidpay\"\n }, {\n \"details\" : [ {\n \"key\" : \"additionalData.applepay.token\",\n \"type\" : \"applePayToken\"\n } ],\n \"name\" : \"Apple Pay\",\n \"type\" : \"applepay\"\n }, {\n \"name\" : \"Baby Gift Card\",\n \"type\" : \"babygiftcard\"\n }, {\n \"name\" : \"SEPA Bank Transfer\",\n \"type\" : \"bankTransfer_IBAN\"\n }, {\n \"name\" : \"Bloemen Giftcard\",\n \"type\" : \"bloemengiftcard\"\n }, {\n \"name\" : \"Boekenbon Giftcard\",\n \"type\" : \"boekenbon\"\n }, {\n \"name\" : \"Cash-Ticket\",\n \"type\" : \"cashticket\"\n }, {\n \"name\" : \"Chasin Giftcard\",\n \"type\" : \"chasingiftcard\"\n }, {\n \"name\" : \"ClickandBuy\",\n \"type\" : \"clickandbuy\"\n }, {\n \"name\" : \"Costes Giftcard\",\n \"type\" : \"costesgiftcard\"\n }, {\n \"name\" : \"custom_settlement\",\n \"type\" : \"custom_settlement\"\n }, {\n \"name\" : \"eft_directdebit_CA\",\n \"type\" : \"eft_directdebit_CA\"\n }, {\n \"name\" : \"Nationale Entertainment Card\",\n \"type\" : \"entertainmentcard\"\n }, {\n \"name\" : \"Expert Cadeaukaart\",\n \"type\" : \"expertgiftcard\"\n }, {\n \"name\" : \"FijnCadeau\",\n \"type\" : \"fijncadeau\"\n }, {\n \"name\" : \"Fleurop Bloemenbon\",\n \"type\" : \"fleuropbloemenbon\"\n }, {\n \"name\" : \"Gall & Gall\",\n \"type\" : \"gallgall\"\n }, {\n \"name\" : \"Generic GiftCard\",\n \"type\" : \"genericgiftcard\"\n }, {\n \"name\" : \"GiftFor2\",\n \"type\" : \"giftfor2card\"\n }, {\n \"name\" : \"Givex\",\n \"type\" : \"givex\"\n }, {\n \"name\" : \"Goldsmiths Card\",\n \"type\" : \"goldsmithscard\"\n }, {\n \"name\" : \"Hunkemoller Member Card\",\n \"type\" : \"hmclub\"\n }, {\n \"name\" : \"Phone Payment\",\n \"type\" : \"ivr\"\n }, {\n \"name\" : \"Landline phone\",\n \"type\" : \"ivrLandline\"\n }, {\n \"name\" : \"Mobile phone\",\n \"type\" : \"ivrMobile\"\n }, {\n \"name\" : \"Kado Wereld\",\n \"type\" : \"kadowereld\"\n }, {\n \"name\" : \"Karen Millen GiftCard\",\n \"type\" : \"karenmillengiftcard\"\n }, {\n \"name\" : \"Leisure Card\",\n \"type\" : \"leisurecard\"\n }, {\n \"name\" : \"Loods5 Cadeaukaart\",\n \"type\" : \"loods5giftcard\"\n }, {\n \"name\" : \"Loods5 Tegoedbon\",\n \"type\" : \"loods5prepaidcard\"\n }, {\n \"details\" : [ {\n \"key\" : \"additionalData.amazonPayToken\",\n \"type\" : \"text\"\n } ],\n \"name\" : \"Amazon Pay\",\n \"supportsRecurring\" : true,\n \"type\" : \"amazonpay\"\n }, {\n \"name\" : \"MOLPoints\",\n \"type\" : \"molpay_points\"\n }, {\n \"name\" : \"Moneybookers\",\n \"type\" : \"moneybookers\"\n }, {\n \"name\" : \"De Nationale Musicalcard\",\n \"type\" : \"musicalcard\"\n }, {\n \"name\" : \"Nationale Bioscoopbon\",\n \"type\" : \"nationalebioscoopbon\"\n }, {\n \"name\" : \"Nationale Tuinbon\",\n \"type\" : \"nationaletuinbon\"\n }, {\n \"name\" : \"Nationale Verwen Cadeaubon\",\n \"type\" : \"nationaleverwencadeaubon\"\n }, {\n \"name\" : \"Onebip\",\n \"type\" : \"onebip\"\n }, {\n \"details\" : [ {\n \"key\" : \"additionalData.paywithgoogle.token\",\n \"type\" : \"payWithGoogleToken\"\n } ],\n \"name\" : \"Google Pay\",\n \"type\" : \"paywithgoogle\"\n }, {\n \"name\" : \"Plastix\",\n \"type\" : \"plastix\"\n }, {\n \"name\" : \"Pluim\",\n \"type\" : \"pluimgiftcard\"\n }, {\n \"name\" : \"Illicado Gift Card\",\n \"type\" : \"prosodie_illicado\"\n }, {\n \"name\" : \"RatePay Invoice\",\n \"type\" : \"ratepay\"\n }, {\n \"name\" : \"Rob Peetoom Giftcard\",\n \"type\" : \"robpeetoomgiftcard\"\n }, {\n \"name\" : \"Shoes&Accessories Cadeau\",\n \"type\" : \"sagiftcard\"\n }, {\n \"name\" : \"Score Giftcard\",\n \"type\" : \"scoregiftcard\"\n }, {\n \"name\" : \"Premium SMS\",\n \"type\" : \"sms\"\n }, {\n \"name\" : \"SVS\",\n \"type\" : \"svs\"\n }, {\n \"name\" : \"TCS Test GiftCard\",\n \"type\" : \"tcstestgiftcard\"\n }, {\n \"name\" : \"The Sting Giftcard\",\n \"type\" : \"thestinggiftcard\"\n }, {\n \"name\" : \"Ukash\",\n \"type\" : \"ukash\"\n }, {\n \"name\" : \"UnionPay\",\n \"type\" : \"unionpay\"\n }, {\n \"name\" : \"Valuelink\",\n \"type\" : \"valuelink\"\n }, {\n \"name\" : \"V&D Cadeaukaart\",\n \"type\" : \"vdcadeaucard\"\n }, {\n \"details\" : [ {\n \"key\" : \"additionalData.visacheckout.callId\",\n \"type\" : \"text\"\n } ],\n \"name\" : \"Visa Checkout\",\n \"type\" : \"visacheckout\"\n }, {\n \"name\" : \"VVV Cadeaubon\",\n \"type\" : \"vvvcadeaubon\"\n }, {\n \"name\" : \"Webshop Giftcard\",\n \"type\" : \"webshopgiftcard\"\n }, {\n \"name\" : \"WE Fashion Giftcard\",\n \"type\" : \"wefashiongiftcard\"\n }, {\n \"name\" : \"Western Union\",\n \"type\" : \"westernunion\"\n }, {\n \"name\" : \"Winkel Cheque\",\n \"type\" : \"winkelcheque\"\n }, {\n \"name\" : \"Your Gift\",\n \"type\" : \"yourgift\"\n } ]\n}", + "originalRequest": { + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"countryCode\" : \"NL\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentMethods", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentMethods" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Queries the available payment methods for a transaction based on the transaction context (like amount, country, and currency). Besides giving back a list of the available payment methods, the response also returns which input details you need to collect from the shopper (to be submitted to `/payments`). Although we highly recommend using this endpoint to ensure you are always offering the most up-to-date list of payment methods, its usage is optional. You can, for example, also cache the `/paymentMethods` response and update it once a week." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"countryCode\" : \"NL\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentMethods", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentMethods" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Queries the available payment methods for a transaction based on the transaction context (like amount, country, and currency). Besides giving back a list of the available payment methods, the response also returns which input details you need to collect from the shopper (to be submitted to `/payments`). Although we highly recommend using this endpoint to ensure you are always offering the most up-to-date list of payment methods, its usage is optional. You can, for example, also cache the `/paymentMethods` response and update it once a week." - } + ] } ] - } -, + }, { "name": "/payments", "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. ", @@ -1372,447 +2584,749 @@ { "name": "Make an Apple Pay payment", "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"applepay\",\n \"applePayToken\" : \"VNRWtuNlNEWkRCSm1xWndjMDFFbktkQU...\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"applepay\",\n \"applePayToken\" : \"VNRWtuNlNEWkRCSm1xWndjMDFFbktkQU...\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + ] }, { "name": "Make a card payment with 3D Secure redirect authentication", "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 + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4212345678901237\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\",\n \"cvc\" : \"737\"\n },\n \"browserInfo\" : {\n \"userAgent\" : \"Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9) Gecko/2008052912 Firefox/3.0\",\n \"acceptHeader\" : \"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"additionalData\" : {\n \"cvcResult\" : \"1 Matches\",\n \"authCode\" : \"074516\",\n \"avsResult\" : \"4 AVS not supported for this card type\",\n \"avsResultRaw\" : \"4\",\n \"cvcResultRaw\" : \"M\",\n \"refusalReasonRaw\" : \"AUTHORISED\",\n \"acquirerCode\" : \"TestPmmAcquirer\",\n \"acquirerReference\" : \"8PQMP9SJ7DN\"\n },\n \"pspReference\" : \"993617894903480A\",\n \"resultCode\" : \"Authorised\"\n}", + "originalRequest": { + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4212345678901237\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\",\n \"cvc\" : \"737\"\n },\n \"browserInfo\" : {\n \"userAgent\" : \"Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9) Gecko/2008052912 Firefox/3.0\",\n \"acceptHeader\" : \"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4212345678901237\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\",\n \"cvc\" : \"737\"\n },\n \"browserInfo\" : {\n \"userAgent\" : \"Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9) Gecko/2008052912 Firefox/3.0\",\n \"acceptHeader\" : \"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + ] }, { "name": "Make a payment with 3D Secure 2 native authentication, using encrypted card details", "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 + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"encryptedCardNumber\" : \"test_4212345678901237\",\n \"encryptedExpiryMonth\" : \"test_03\",\n \"encryptedExpiryYear\" : \"test_2030\",\n \"encryptedSecurityCode\" : \"test_737\",\n \"holderName\" : \"John Smith\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"additionalData\" : {\n \"cvcResult\" : \"1 Matches\",\n \"authCode\" : \"083996\",\n \"avsResult\" : \"4 AVS not supported for this card type\",\n \"avsResultRaw\" : \"4\",\n \"cvcResultRaw\" : \"M\",\n \"refusalReasonRaw\" : \"AUTHORISED\",\n \"acquirerCode\" : \"TestPmmAcquirer\",\n \"acquirerReference\" : \"8PQMP9SJH66\"\n },\n \"pspReference\" : \"993617894905481G\",\n \"resultCode\" : \"Authorised\"\n}", + "originalRequest": { + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"encryptedCardNumber\" : \"test_4212345678901237\",\n \"encryptedExpiryMonth\" : \"test_03\",\n \"encryptedExpiryYear\" : \"test_2030\",\n \"encryptedSecurityCode\" : \"test_737\",\n \"holderName\" : \"John Smith\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"encryptedCardNumber\" : \"test_4212345678901237\",\n \"encryptedExpiryMonth\" : \"test_03\",\n \"encryptedExpiryYear\" : \"test_2030\",\n \"encryptedSecurityCode\" : \"test_737\",\n \"holderName\" : \"John Smith\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + ] }, { "name": "Make a card payment", "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 + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4111111111111111\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\",\n \"cvc\" : \"737\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"additionalData\" : {\n \"cvcResult\" : \"1 Matches\",\n \"authCode\" : \"036240\",\n \"avsResult\" : \"4 AVS not supported for this card type\",\n \"avsResultRaw\" : \"4\",\n \"cvcResultRaw\" : \"M\",\n \"refusalReasonRaw\" : \"AUTHORISED\",\n \"acquirerCode\" : \"TestPmmAcquirer\",\n \"acquirerReference\" : \"8PQMP9SJQUL\"\n },\n \"pspReference\" : \"993617894906488A\",\n \"resultCode\" : \"Authorised\"\n}", + "originalRequest": { + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4111111111111111\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\",\n \"cvc\" : \"737\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4111111111111111\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\",\n \"cvc\" : \"737\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + ] }, { "name": "Make a card payment using encrypted card details", "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 + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"encryptedCardNumber\" : \"test_4111111111111111\",\n \"encryptedExpiryMonth\" : \"test_03\",\n \"encryptedExpiryYear\" : \"test_2030\",\n \"encryptedSecurityCode\" : \"test_737\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"additionalData\" : {\n \"cvcResult\" : \"1 Matches\",\n \"authCode\" : \"064649\",\n \"avsResult\" : \"4 AVS not supported for this card type\",\n \"avsResultRaw\" : \"4\",\n \"cvcResultRaw\" : \"M\",\n \"refusalReasonRaw\" : \"AUTHORISED\",\n \"acquirerCode\" : \"TestPmmAcquirer\",\n \"acquirerReference\" : \"8PQMP9SM92L\"\n },\n \"pspReference\" : \"993617894914488A\",\n \"resultCode\" : \"Authorised\"\n}", + "originalRequest": { + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"encryptedCardNumber\" : \"test_4111111111111111\",\n \"encryptedExpiryMonth\" : \"test_03\",\n \"encryptedExpiryYear\" : \"test_2030\",\n \"encryptedSecurityCode\" : \"test_737\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"encryptedCardNumber\" : \"test_4111111111111111\",\n \"encryptedExpiryMonth\" : \"test_03\",\n \"encryptedExpiryYear\" : \"test_2030\",\n \"encryptedSecurityCode\" : \"test_737\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + ] }, { "name": "Make a one-off payment with a token and CVV", "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"recurringDetailReference\" : \"8416038790273850\",\n \"cvc\" : \"737\"\n },\n \"shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID_6738oneoff\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"recurringDetailReference\" : \"8416038790273850\",\n \"cvc\" : \"737\"\n },\n \"shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID_6738oneoff\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + ] }, { "name": "Make a one-off payment with a token and CVV, using encrypted card details", "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"recurringDetailReference\" : \"8416038790273850\",\n \"encryptedSecurityCode\" : \"adyenjs_0_1_18$MT6ppy0FAMVMLH...\"\n },\n \"shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID_6738oneoff\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"recurringDetailReference\" : \"8416038790273850\",\n \"encryptedSecurityCode\" : \"adyenjs_0_1_18$MT6ppy0FAMVMLH...\"\n },\n \"shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID_6738oneoff\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + ] }, { "name": "Split a payment between balance accounts", "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 + "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 \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4111111111111111\",\n \"cvc\" : \"737\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\"\n },\n \"amount\" : {\n \"value\" : 40000,\n \"currency\" : \"USD\"\n },\n \"reference\" : \"{{$guid}}\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"splits\" : [ {\n \"amount\" : {\n \"value\" : 39600\n },\n \"type\" : \"BalanceAccount\",\n \"account\" : \"BA00000000000000000000001\",\n \"reference\" : \"Your reference for the sale amount\",\n \"description\" : \"Your description for the sale amount\"\n }, {\n \"amount\" : {\n \"value\" : 400\n },\n \"type\" : \"Commission\",\n \"reference\" : \"Your reference for the commission\",\n \"description\" : \"Your description for the commission\"\n }, {\n \"type\" : \"PaymentFee\",\n \"account\" : \"BA00000000000000000000001\",\n \"reference\" : \"Your reference for the fees\",\n \"description\" : \"Your description for the fees\"\n } ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"additionalData\" : {\n \"refusalReasonRaw\" : \"AUTHORISED\",\n \"eci\" : \"N/A\",\n \"acquirerAccountCode\" : \"YOUR_ACQUIRER_ACCOUNT\",\n \"donationToken\" : \"81234567890123456...\",\n \"xid\" : \"N/A\",\n \"threeDAuthenticated\" : \"false\",\n \"paymentMethodVariant\" : \"visa\",\n \"issuerBin\" : \"41111111\",\n \"payoutEligible\" : \"Y\",\n \"fraudManualReview\" : \"false\",\n \"threeDOffered\" : \"false\",\n \"threeDOfferedResponse\" : \"N/A\",\n \"authorisationMid\" : \"50\",\n \"fundsAvailability\" : \"I\",\n \"authorisedAmountCurrency\" : \"USD\",\n \"threeDAuthenticatedResponse\" : \"N/A\",\n \"avsResultRaw\" : \"5\",\n \"retry.attempt1.rawResponse\" : \"AUTHORISED\",\n \"paymentMethod\" : \"visa\",\n \"avsResult\" : \"5 No AVS data provided\",\n \"cardSummary\" : \"1111\",\n \"retry.attempt1.avsResultRaw\" : \"5\",\n \"networkTxReference\" : \"777718270854480\",\n \"expiryDate\" : \"3/2030\",\n \"cavvAlgorithm\" : \"N/A\",\n \"cardBin\" : \"411111\",\n \"alias\" : \"8915844059375211\",\n \"cvcResultRaw\" : \"M\",\n \"merchantReference\" : \"YOUR_ORDER_NUMBER\",\n \"acquirerReference\" : \"YOUR_ACQUIRER_REFERENCE\",\n \"cardIssuingCountry\" : \"NL\",\n \"liabilityShift\" : \"false\",\n \"fraudResultType\" : \"GREEN\",\n \"authCode\" : \"035450\",\n \"cardHolderName\" : \"John Smith\",\n \"isCardCommercial\" : \"unknown\",\n \"PaymentAccountReference\" : \"6006491286999921374...\",\n \"retry.attempt1.acquirerAccount\" : \"YOUR_ACQUIRER_ACCOUNT\",\n \"cardIssuingBank\" : \"ISSUING_BANK_CUSTOMER\",\n \"retry.attempt1.acquirer\" : \"YOUR_ACQUIRER_CODE\",\n \"authorisedAmountValue\" : \"40000\",\n \"issuerCountry\" : \"NL\",\n \"cvcResult\" : \"1 Matches\",\n \"retry.attempt1.responseCode\" : \"Approved\",\n \"aliasType\" : \"Default\",\n \"retry.attempt1.shopperInteraction\" : \"Ecommerce\",\n \"cardPaymentMethod\" : \"visa\",\n \"acquirerCode\" : \"YOUR_ACQUIRER_CODE\"\n },\n \"pspReference\" : \"PPKFQ89R6QRXGN82\",\n \"resultCode\" : \"Authorised\"\n}", + "originalRequest": { + "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 \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4111111111111111\",\n \"cvc\" : \"737\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\"\n },\n \"amount\" : {\n \"value\" : 40000,\n \"currency\" : \"USD\"\n },\n \"reference\" : \"{{$guid}}\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"splits\" : [ {\n \"amount\" : {\n \"value\" : 39600\n },\n \"type\" : \"BalanceAccount\",\n \"account\" : \"BA00000000000000000000001\",\n \"reference\" : \"Your reference for the sale amount\",\n \"description\" : \"Your description for the sale amount\"\n }, {\n \"amount\" : {\n \"value\" : 400\n },\n \"type\" : \"Commission\",\n \"reference\" : \"Your reference for the commission\",\n \"description\" : \"Your description for the commission\"\n }, {\n \"type\" : \"PaymentFee\",\n \"account\" : \"BA00000000000000000000001\",\n \"reference\" : \"Your reference for the fees\",\n \"description\" : \"Your description for the fees\"\n } ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4111111111111111\",\n \"cvc\" : \"737\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\"\n },\n \"amount\" : {\n \"value\" : 40000,\n \"currency\" : \"USD\"\n },\n \"reference\" : \"{{$guid}}\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"splits\" : [ {\n \"amount\" : {\n \"value\" : 39600\n },\n \"type\" : \"BalanceAccount\",\n \"account\" : \"BA00000000000000000000001\",\n \"reference\" : \"Your reference for the sale amount\",\n \"description\" : \"Your description for the sale amount\"\n }, {\n \"amount\" : {\n \"value\" : 400\n },\n \"type\" : \"Commission\",\n \"reference\" : \"Your reference for the commission\",\n \"description\" : \"Your description for the commission\"\n }, {\n \"type\" : \"PaymentFee\",\n \"account\" : \"BA00000000000000000000001\",\n \"reference\" : \"Your reference for the fees\",\n \"description\" : \"Your description for the fees\"\n } ]\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + ] }, { "name": "Split a payment in a Classic Platforms integration", "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 \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4111111111111111\",\n \"cvc\" : \"737\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\"\n },\n \"amount\" : {\n \"value\" : 6200,\n \"currency\" : \"EUR\"\n },\n \"reference\" : \"{{$guid}}\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"splits\" : [ {\n \"amount\" : {\n \"value\" : 6000\n },\n \"type\" : \"MarketPlace\",\n \"account\" : \"151272963\",\n \"reference\" : \"6124145\",\n \"description\" : \"Porcelain Doll: Eliza (20cm)\"\n }, {\n \"amount\" : {\n \"value\" : 200\n },\n \"type\" : \"Commission\",\n \"reference\" : \"6124146\"\n } ]\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + "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 \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4111111111111111\",\n \"cvc\" : \"737\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\"\n },\n \"amount\" : {\n \"value\" : 6200,\n \"currency\" : \"EUR\"\n },\n \"reference\" : \"{{$guid}}\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"splits\" : [ {\n \"amount\" : {\n \"value\" : 6000\n },\n \"type\" : \"MarketPlace\",\n \"account\" : \"151272963\",\n \"reference\" : \"6124145\",\n \"description\" : \"Porcelain Doll: Eliza (20cm)\"\n }, {\n \"amount\" : {\n \"value\" : 200\n },\n \"type\" : \"Commission\",\n \"reference\" : \"6124146\"\n } ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + ] } ] - } -, + }, { "name": "/payments/details", "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. ", @@ -1820,56 +3334,115 @@ { "name": "Submit details for the 3D Secure payment", "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 + "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 \"MD\" : \"Ab02b4c0!BQABAgCW5sxB4e/==...\",\n \"PaRes\" : \"eNrNV0mTo7gS...\"\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. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"resultCode\" : \"Authorised\",\n \"pspReference\" : \"V4HZ4RBFJGXXGN82\"\n}", + "originalRequest": { + "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 \"MD\" : \"Ab02b4c0!BQABAgCW5sxB4e/==...\",\n \"PaRes\" : \"eNrNV0mTo7gS...\"\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. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"paymentData\" : \"Hee57361f99....\",\n \"details\" : {\n \"MD\" : \"Ab02b4c0!BQABAgCW5sxB4e/==...\",\n \"PaRes\" : \"eNrNV0mTo7gS...\"\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. " - } + ] } ] } - ] }, { @@ -1882,55 +3455,113 @@ { "name": "Create a payment link", "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 + "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 \"reference\" : \"{{$guid}}\",\n \"amount\" : {\n \"value\" : 1250,\n \"currency\" : \"BRL\"\n },\n \"countryCode\" : \"BR\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"shopperEmail\" : \"test@email.com\",\n \"shopperLocale\" : \"pt-BR\",\n \"billingAddress\" : {\n \"street\" : \"Roque Petroni Jr\",\n \"postalCode\" : \"59000060\",\n \"city\" : \"São Paulo\",\n \"houseNumberOrName\" : \"999\",\n \"country\" : \"BR\",\n \"stateOrProvince\" : \"SP\"\n },\n \"deliveryAddress\" : {\n \"street\" : \"Roque Petroni Jr\",\n \"postalCode\" : \"59000060\",\n \"city\" : \"São Paulo\",\n \"houseNumberOrName\" : \"999\",\n \"country\" : \"BR\",\n \"stateOrProvince\" : \"SP\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentLinks", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentLinks" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates a payment link to our hosted payment form where shoppers can pay. The list of payment methods presented to the shopper depends on the `currency` and `country` parameters sent in the request. For more information, refer to [Pay by Link documentation](https://docs.adyen.com/online-payments/pay-by-link#create-payment-links-through-api)." +} + ,"response": [ + {"name": "Created - the request has succeeded.", + "code": 201, + "status": "Created", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"amount\" : {\n \"currency\" : \"BRL\",\n \"value\" : 1250\n },\n \"billingAddress\" : {\n \"city\" : \"São Paulo\",\n \"country\" : \"BR\",\n \"houseNumberOrName\" : \"999\",\n \"postalCode\" : \"59000060\",\n \"stateOrProvince\" : \"SP\",\n \"street\" : \"Roque Petroni Jr\"\n },\n \"countryCode\" : \"BR\",\n \"deliveryAddress\" : {\n \"city\" : \"São Paulo\",\n \"country\" : \"BR\",\n \"houseNumberOrName\" : \"999\",\n \"postalCode\" : \"59000060\",\n \"stateOrProvince\" : \"SP\",\n \"street\" : \"Roque Petroni Jr\"\n },\n \"expiresAt\" : \"2022-10-28T09:16:22Z\",\n \"merchantAccount\" : \"YOUR_MERCHANT_ACCOUNT\",\n \"reference\" : \"YOUR_ORDER_NUMBER\",\n \"reusable\" : false,\n \"shopperEmail\" : \"test@email.com\",\n \"shopperLocale\" : \"pt-BR\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"status\" : \"active\",\n \"url\" : \"https://test.adyen.link/PLE83C39B0A0DE0C1E\"\n}", + "originalRequest": { + "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 \"reference\" : \"{{$guid}}\",\n \"amount\" : {\n \"value\" : 1250,\n \"currency\" : \"BRL\"\n },\n \"countryCode\" : \"BR\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"shopperEmail\" : \"test@email.com\",\n \"shopperLocale\" : \"pt-BR\",\n \"billingAddress\" : {\n \"street\" : \"Roque Petroni Jr\",\n \"postalCode\" : \"59000060\",\n \"city\" : \"São Paulo\",\n \"houseNumberOrName\" : \"999\",\n \"country\" : \"BR\",\n \"stateOrProvince\" : \"SP\"\n },\n \"deliveryAddress\" : {\n \"street\" : \"Roque Petroni Jr\",\n \"postalCode\" : \"59000060\",\n \"city\" : \"São Paulo\",\n \"houseNumberOrName\" : \"999\",\n \"country\" : \"BR\",\n \"stateOrProvince\" : \"SP\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentLinks", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentLinks" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates a payment link to our hosted payment form where shoppers can pay. The list of payment methods presented to the shopper depends on the `currency` and `country` parameters sent in the request. For more information, refer to [Pay by Link documentation](https://docs.adyen.com/online-payments/pay-by-link#create-payment-links-through-api)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"reference\" : \"{{$guid}}\",\n \"amount\" : {\n \"value\" : 1250,\n \"currency\" : \"BRL\"\n },\n \"countryCode\" : \"BR\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"shopperEmail\" : \"test@email.com\",\n \"shopperLocale\" : \"pt-BR\",\n \"billingAddress\" : {\n \"street\" : \"Roque Petroni Jr\",\n \"postalCode\" : \"59000060\",\n \"city\" : \"São Paulo\",\n \"houseNumberOrName\" : \"999\",\n \"country\" : \"BR\",\n \"stateOrProvince\" : \"SP\"\n },\n \"deliveryAddress\" : {\n \"street\" : \"Roque Petroni Jr\",\n \"postalCode\" : \"59000060\",\n \"city\" : \"São Paulo\",\n \"houseNumberOrName\" : \"999\",\n \"country\" : \"BR\",\n \"stateOrProvince\" : \"SP\"\n }\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentLinks", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentLinks" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Creates a payment link to our hosted payment form where shoppers can pay. The list of payment methods presented to the shopper depends on the `currency` and `country` parameters sent in the request. For more information, refer to [Pay by Link documentation](https://docs.adyen.com/online-payments/pay-by-link#create-payment-links-through-api)." - } + ] } ] - } -, + }, { "name": "/paymentLinks/:linkId", "description": "Retrieves the payment link details using the payment link `id`.", @@ -1938,49 +3569,50 @@ { "name": "Get a payment link", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentLinks/:linkId", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentLinks", - ":linkId" - ], - "variable": [ - { - "key": "linkId", - "value": "", - "description": "Unique identifier of the payment link." - } - ], - "query": [ - ] - }, - "description": "Retrieves the payment link details using the payment link `id`." - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentLinks/:linkId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentLinks", + ":linkId" + ], + "variable": [ + { + "key": "linkId", + "value": "", + "description": "Unique identifier of the payment link." + } + ], + "query": [ + ] + }, + "description": "Retrieves the payment link details using the payment link `id`." +} + ,"response": [ + ] } ] - } -, + }, { "name": "/paymentLinks/:linkId", "description": "Updates the status of a payment link. Use this endpoint to [force the expiry of a payment link](https://docs.adyen.com/online-payments/pay-by-link#update-payment-link-status).", @@ -1988,55 +3620,113 @@ { "name": "Update the status of a payment link", "request": { - "method": "PATCH", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"status\" : \"expired\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentLinks/:linkId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentLinks", + ":linkId" + ], + "variable": [ + { + "key": "linkId", + "value": "", + "description": "Unique identifier of the payment link." + } + ], + "query": [ + ] + }, + "description": "Updates the status of a payment link. Use this endpoint to [force the expiry of a payment link](https://docs.adyen.com/online-payments/pay-by-link#update-payment-link-status)." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 8700\n },\n \"countryCode\" : \"NL\",\n \"expiresAt\" : \"2021-04-08T14:06:39Z\",\n \"merchantAccount\" : \"YOUR_MERCHANT_ACCOUNT\",\n \"reference\" : \"shopper-reference-ekvL83\",\n \"shopperLocale\" : \"hu-HU\",\n \"shopperReference\" : \"shopper-reference-LZfdWZ\",\n \"status\" : \"expired\",\n \"url\" : \"https://test.adyen.link/PL61C53A8B97E6915A\",\n \"id\" : \"PL61C53A8B97E6915A\"\n}", + "originalRequest": { + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"status\" : \"expired\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentLinks/:linkId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentLinks", + ":linkId" + ], + "variable": [ + { + "key": "linkId", + "value": "", + "description": "Unique identifier of the payment link." + } + ], + "query": [ + ] + }, + "description": "Updates the status of a payment link. Use this endpoint to [force the expiry of a payment link](https://docs.adyen.com/online-payments/pay-by-link#update-payment-link-status)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"status\" : \"expired\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentLinks/:linkId", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentLinks", - ":linkId" - ], - "variable": [ - { - "key": "linkId", - "value": "", - "description": "Unique identifier of the payment link." - } - ], - "query": [ - ] - }, - "description": "Updates the status of a payment link. Use this endpoint to [force the expiry of a payment link](https://docs.adyen.com/online-payments/pay-by-link#update-payment-link-status)." - } + ] } ] } - ] } ], diff --git a/postman/CheckoutService-v40.json b/postman/CheckoutService-v40.json index 5f87f93..c091901 100644 --- a/postman/CheckoutService-v40.json +++ b/postman/CheckoutService-v40.json @@ -19,55 +19,113 @@ { "name": "Cancel a payment using your own reference", "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 + "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 \"paymentReference\" : \"YOUR_UNIQUE_REFERENCE_FOR_THE_PAYMENT\",\n \"reference\" : \"YOUR_UNIQUE_REFERENCE_FOR_THE_CANCELLATION\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/cancels", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "cancels" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Cancels the authorisation on a payment that has not yet been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/captures), and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**TECHNICAL_CANCEL** webhook](https://docs.adyen.com/online-payments/cancel#cancellation-webhook). If you want to cancel a payment using the [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference), use the [`/payments/{paymentPspReference}/cancels`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/cancels) endpoint instead. If you want to cancel a payment but are not sure whether it has been captured, use the [`/payments/{paymentPspReference}/reversals`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/reversals) endpoint instead. For more information, refer to [Cancel](https://docs.adyen.com/online-payments/cancel)." +} + ,"response": [ + {"name": "Created - the request has been fulfilled and has resulted in one or more new resources being created.", + "code": 201, + "status": "Created", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"merchantAccount\" : \"YOUR_MERCHANT_ACCOUNT\",\n \"paymentReference\" : \"YOUR_UNIQUE_REFERENCE_FOR_THE_PAYMENT\",\n \"reference\" : \"YOUR_UNIQUE_REFERENCE_FOR_THE_CANCELLATION\",\n \"pspReference\" : \"993617894906488A\",\n \"status\" : \"received\"\n}", + "originalRequest": { + "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 \"paymentReference\" : \"YOUR_UNIQUE_REFERENCE_FOR_THE_PAYMENT\",\n \"reference\" : \"YOUR_UNIQUE_REFERENCE_FOR_THE_CANCELLATION\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/cancels", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "cancels" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Cancels the authorisation on a payment that has not yet been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/captures), and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**TECHNICAL_CANCEL** webhook](https://docs.adyen.com/online-payments/cancel#cancellation-webhook). If you want to cancel a payment using the [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference), use the [`/payments/{paymentPspReference}/cancels`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/cancels) endpoint instead. If you want to cancel a payment but are not sure whether it has been captured, use the [`/payments/{paymentPspReference}/reversals`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/reversals) endpoint instead. For more information, refer to [Cancel](https://docs.adyen.com/online-payments/cancel)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"paymentReference\" : \"YOUR_UNIQUE_REFERENCE_FOR_THE_PAYMENT\",\n \"reference\" : \"YOUR_UNIQUE_REFERENCE_FOR_THE_CANCELLATION\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/cancels", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "cancels" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Cancels the authorisation on a payment that has not yet been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/captures), and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**TECHNICAL_CANCEL** webhook](https://docs.adyen.com/online-payments/cancel#cancellation-webhook). If you want to cancel a payment using the [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference), use the [`/payments/{paymentPspReference}/cancels`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/cancels) endpoint instead. If you want to cancel a payment but are not sure whether it has been captured, use the [`/payments/{paymentPspReference}/reversals`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/reversals) endpoint instead. For more information, refer to [Cancel](https://docs.adyen.com/online-payments/cancel)." - } + ] } ] - } -, + }, { "name": "/payments/:paymentPspReference/amountUpdates", "description": "Increases or decreases the authorised payment amount and returns a unique reference for this request. You get the outcome of the request asynchronously, in an [**AUTHORISATION_ADJUSTMENT** webhook](https://docs.adyen.com/development-resources/webhooks/understand-notifications#event-codes). You can only update authorised amounts that have not yet been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/captures). The amount you specify in the request is the updated amount, which is larger or smaller than the initial authorised amount. For more information, refer to [Authorisation adjustment](https://docs.adyen.com/online-payments/adjust-authorisation#use-cases).", @@ -75,62 +133,127 @@ { "name": "Update the amount of an authorised payment", "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 + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 2500\n },\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments/:paymentPspReference/amountUpdates", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments", + ":paymentPspReference", + "amountUpdates" + ], + "variable": [ + { + "key": "paymentPspReference", + "value": "", + "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment." + } + ], + "query": [ + ] + }, + "description": "Increases or decreases the authorised payment amount and returns a unique reference for this request. You get the outcome of the request asynchronously, in an [**AUTHORISATION_ADJUSTMENT** webhook](https://docs.adyen.com/development-resources/webhooks/understand-notifications#event-codes). You can only update authorised amounts that have not yet been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/captures). The amount you specify in the request is the updated amount, which is larger or smaller than the initial authorised amount. For more information, refer to [Authorisation adjustment](https://docs.adyen.com/online-payments/adjust-authorisation#use-cases)." +} + ,"response": [ + {"name": "Created - the request has been fulfilled and has resulted in one or more new resources being created.", + "code": 201, + "status": "Created", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"merchantAccount\" : \"YOUR_MERCHANT_ACCOUNT\",\n \"paymentPspReference\" : \"993617894903480A\",\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"pspReference\" : \"993617894906488A\",\n \"status\" : \"received\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 2500\n }\n}", + "originalRequest": { + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 2500\n },\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments/:paymentPspReference/amountUpdates", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments", + ":paymentPspReference", + "amountUpdates" + ], + "variable": [ + { + "key": "paymentPspReference", + "value": "", + "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment." + } + ], + "query": [ + ] + }, + "description": "Increases or decreases the authorised payment amount and returns a unique reference for this request. You get the outcome of the request asynchronously, in an [**AUTHORISATION_ADJUSTMENT** webhook](https://docs.adyen.com/development-resources/webhooks/understand-notifications#event-codes). You can only update authorised amounts that have not yet been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/captures). The amount you specify in the request is the updated amount, which is larger or smaller than the initial authorised amount. For more information, refer to [Authorisation adjustment](https://docs.adyen.com/online-payments/adjust-authorisation#use-cases)." +} } - ], - "body": { - "mode": "raw", - "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" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments/:paymentPspReference/amountUpdates", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments", - ":paymentPspReference", - "amountUpdates" - ], - "variable": [ - { - "key": "paymentPspReference", - "value": "", - "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment." - } - ], - "query": [ - ] - }, - "description": "Increases or decreases the authorised payment amount and returns a unique reference for this request. You get the outcome of the request asynchronously, in an [**AUTHORISATION_ADJUSTMENT** webhook](https://docs.adyen.com/development-resources/webhooks/understand-notifications#event-codes). You can only update authorised amounts that have not yet been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/captures). The amount you specify in the request is the updated amount, which is larger or smaller than the initial authorised amount. For more information, refer to [Authorisation adjustment](https://docs.adyen.com/online-payments/adjust-authorisation#use-cases)." - } + ] } ] - } -, + }, { "name": "/payments/:paymentPspReference/cancels", "description": "Cancels the authorisation on a payment that has not yet been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/paymentPspReference/captures), and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CANCELLATION** webhook](https://docs.adyen.com/online-payments/cancel#cancellation-webhook). If you want to cancel a payment but don't have the [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference), use the [`/cancels`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cancels) endpoint instead. If you want to cancel a payment but are not sure whether it has been captured, use the [`/payments/{paymentPspReference}/reversals`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/reversals) endpoint instead. For more information, refer to [Cancel](https://docs.adyen.com/online-payments/cancel).", @@ -138,62 +261,127 @@ { "name": "Cancel payment using a PSP reference", "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 + "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 \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments/:paymentPspReference/cancels", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments", + ":paymentPspReference", + "cancels" + ], + "variable": [ + { + "key": "paymentPspReference", + "value": "", + "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to cancel. " + } + ], + "query": [ + ] + }, + "description": "Cancels the authorisation on a payment that has not yet been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/paymentPspReference/captures), and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CANCELLATION** webhook](https://docs.adyen.com/online-payments/cancel#cancellation-webhook). If you want to cancel a payment but don't have the [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference), use the [`/cancels`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cancels) endpoint instead. If you want to cancel a payment but are not sure whether it has been captured, use the [`/payments/{paymentPspReference}/reversals`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/reversals) endpoint instead. For more information, refer to [Cancel](https://docs.adyen.com/online-payments/cancel)." +} + ,"response": [ + {"name": "Created - the request has been fulfilled and has resulted in one or more new resources being created.", + "code": 201, + "status": "Created", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"merchantAccount\" : \"YOUR_MERCHANT_ACCOUNT\",\n \"paymentPspReference\" : \"993617894903480A\",\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"pspReference\" : \"993617894906488A\",\n \"status\" : \"received\"\n}", + "originalRequest": { + "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 \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments/:paymentPspReference/cancels", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments", + ":paymentPspReference", + "cancels" + ], + "variable": [ + { + "key": "paymentPspReference", + "value": "", + "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to cancel. " + } + ], + "query": [ + ] + }, + "description": "Cancels the authorisation on a payment that has not yet been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/paymentPspReference/captures), and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CANCELLATION** webhook](https://docs.adyen.com/online-payments/cancel#cancellation-webhook). If you want to cancel a payment but don't have the [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference), use the [`/cancels`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cancels) endpoint instead. If you want to cancel a payment but are not sure whether it has been captured, use the [`/payments/{paymentPspReference}/reversals`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/reversals) endpoint instead. For more information, refer to [Cancel](https://docs.adyen.com/online-payments/cancel)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments/:paymentPspReference/cancels", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments", - ":paymentPspReference", - "cancels" - ], - "variable": [ - { - "key": "paymentPspReference", - "value": "", - "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to cancel. " - } - ], - "query": [ - ] - }, - "description": "Cancels the authorisation on a payment that has not yet been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/paymentPspReference/captures), and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CANCELLATION** webhook](https://docs.adyen.com/online-payments/cancel#cancellation-webhook). If you want to cancel a payment but don't have the [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference), use the [`/cancels`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cancels) endpoint instead. If you want to cancel a payment but are not sure whether it has been captured, use the [`/payments/{paymentPspReference}/reversals`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/reversals) endpoint instead. For more information, refer to [Cancel](https://docs.adyen.com/online-payments/cancel)." - } + ] } ] - } -, + }, { "name": "/payments/:paymentPspReference/captures", "description": " Captures an authorised payment and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CAPTURE** webhook](https://docs.adyen.com/online-payments/capture#capture-notification). You can capture either the full authorised amount or a part of the authorised amount. By default, any unclaimed amount after a partial capture gets cancelled. This does not apply if you enabled multiple partial captures on your account and the payment method supports multiple partial captures. [Automatic capture](https://docs.adyen.com/online-payments/capture#automatic-capture) is the default setting for most payment methods. In these cases, you don't need to make capture requests. However, making capture requests for payments that are captured automatically does not result in double charges. For more information, refer to [Capture](https://docs.adyen.com/online-payments/capture).", @@ -201,62 +389,127 @@ { "name": "Capture an authorised payment", "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 + "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 \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"amount\" : {\n \"value\" : 2000,\n \"currency\" : \"EUR\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments/:paymentPspReference/captures", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments", + ":paymentPspReference", + "captures" + ], + "variable": [ + { + "key": "paymentPspReference", + "value": "", + "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to capture." + } + ], + "query": [ + ] + }, + "description": " Captures an authorised payment and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CAPTURE** webhook](https://docs.adyen.com/online-payments/capture#capture-notification). You can capture either the full authorised amount or a part of the authorised amount. By default, any unclaimed amount after a partial capture gets cancelled. This does not apply if you enabled multiple partial captures on your account and the payment method supports multiple partial captures. [Automatic capture](https://docs.adyen.com/online-payments/capture#automatic-capture) is the default setting for most payment methods. In these cases, you don't need to make capture requests. However, making capture requests for payments that are captured automatically does not result in double charges. For more information, refer to [Capture](https://docs.adyen.com/online-payments/capture)." +} + ,"response": [ + {"name": "Created - the request has been fulfilled and has resulted in one or more new resources being created.", + "code": 201, + "status": "Created", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"merchantAccount\" : \"YOUR_MERCHANT_ACCOUNT\",\n \"paymentPspReference\" : \"993617894903480A\",\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"pspReference\" : \"993617894906488A\",\n \"status\" : \"received\",\n \"amount\" : {\n \"value\" : 2000,\n \"currency\" : \"EUR\"\n }\n}", + "originalRequest": { + "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 \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"amount\" : {\n \"value\" : 2000,\n \"currency\" : \"EUR\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments/:paymentPspReference/captures", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments", + ":paymentPspReference", + "captures" + ], + "variable": [ + { + "key": "paymentPspReference", + "value": "", + "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to capture." + } + ], + "query": [ + ] + }, + "description": " Captures an authorised payment and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CAPTURE** webhook](https://docs.adyen.com/online-payments/capture#capture-notification). You can capture either the full authorised amount or a part of the authorised amount. By default, any unclaimed amount after a partial capture gets cancelled. This does not apply if you enabled multiple partial captures on your account and the payment method supports multiple partial captures. [Automatic capture](https://docs.adyen.com/online-payments/capture#automatic-capture) is the default setting for most payment methods. In these cases, you don't need to make capture requests. However, making capture requests for payments that are captured automatically does not result in double charges. For more information, refer to [Capture](https://docs.adyen.com/online-payments/capture)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"amount\" : {\n \"value\" : 2000,\n \"currency\" : \"EUR\"\n }\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments/:paymentPspReference/captures", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments", - ":paymentPspReference", - "captures" - ], - "variable": [ - { - "key": "paymentPspReference", - "value": "", - "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to capture." - } - ], - "query": [ - ] - }, - "description": " Captures an authorised payment and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CAPTURE** webhook](https://docs.adyen.com/online-payments/capture#capture-notification). You can capture either the full authorised amount or a part of the authorised amount. By default, any unclaimed amount after a partial capture gets cancelled. This does not apply if you enabled multiple partial captures on your account and the payment method supports multiple partial captures. [Automatic capture](https://docs.adyen.com/online-payments/capture#automatic-capture) is the default setting for most payment methods. In these cases, you don't need to make capture requests. However, making capture requests for payments that are captured automatically does not result in double charges. For more information, refer to [Capture](https://docs.adyen.com/online-payments/capture)." - } + ] } ] - } -, + }, { "name": "/payments/:paymentPspReference/refunds", "description": "Refunds a payment that has been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/captures), and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**REFUND** webhook](https://docs.adyen.com/online-payments/refund#refund-webhook). You can refund either the full captured amount or a part of the captured amount. You can also perform multiple partial refunds, as long as their sum doesn't exceed the captured amount. > Some payment methods do not support partial refunds. To learn if a payment method supports partial refunds, refer to the payment method page such as [cards](https://docs.adyen.com/payment-methods/cards#supported-cards), [iDEAL](https://docs.adyen.com/payment-methods/ideal), or [Klarna](https://docs.adyen.com/payment-methods/klarna). If you want to refund a payment but are not sure whether it has been captured, use the [`/payments/{paymentPspReference}/reversals`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/reversals) endpoint instead. For more information, refer to [Refund](https://docs.adyen.com/online-payments/refund).", @@ -264,62 +517,127 @@ { "name": "Refund a payment", "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 + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 2500\n },\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments/:paymentPspReference/refunds", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments", + ":paymentPspReference", + "refunds" + ], + "variable": [ + { + "key": "paymentPspReference", + "value": "", + "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to refund." + } + ], + "query": [ + ] + }, + "description": "Refunds a payment that has been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/captures), and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**REFUND** webhook](https://docs.adyen.com/online-payments/refund#refund-webhook). You can refund either the full captured amount or a part of the captured amount. You can also perform multiple partial refunds, as long as their sum doesn't exceed the captured amount. > Some payment methods do not support partial refunds. To learn if a payment method supports partial refunds, refer to the payment method page such as [cards](https://docs.adyen.com/payment-methods/cards#supported-cards), [iDEAL](https://docs.adyen.com/payment-methods/ideal), or [Klarna](https://docs.adyen.com/payment-methods/klarna). If you want to refund a payment but are not sure whether it has been captured, use the [`/payments/{paymentPspReference}/reversals`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/reversals) endpoint instead. For more information, refer to [Refund](https://docs.adyen.com/online-payments/refund)." +} + ,"response": [ + {"name": "Created - the request has been fulfilled and has resulted in one or more new resources being created.", + "code": 201, + "status": "Created", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"merchantAccount\" : \"YOUR_MERCHANT_ACCOUNT\",\n \"paymentPspReference\" : \"993617894903480A\",\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"pspReference\" : \"993617894906488A\",\n \"status\" : \"received\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 2500\n }\n}", + "originalRequest": { + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 2500\n },\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments/:paymentPspReference/refunds", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments", + ":paymentPspReference", + "refunds" + ], + "variable": [ + { + "key": "paymentPspReference", + "value": "", + "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to refund." + } + ], + "query": [ + ] + }, + "description": "Refunds a payment that has been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/captures), and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**REFUND** webhook](https://docs.adyen.com/online-payments/refund#refund-webhook). You can refund either the full captured amount or a part of the captured amount. You can also perform multiple partial refunds, as long as their sum doesn't exceed the captured amount. > Some payment methods do not support partial refunds. To learn if a payment method supports partial refunds, refer to the payment method page such as [cards](https://docs.adyen.com/payment-methods/cards#supported-cards), [iDEAL](https://docs.adyen.com/payment-methods/ideal), or [Klarna](https://docs.adyen.com/payment-methods/klarna). If you want to refund a payment but are not sure whether it has been captured, use the [`/payments/{paymentPspReference}/reversals`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/reversals) endpoint instead. For more information, refer to [Refund](https://docs.adyen.com/online-payments/refund)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 2500\n },\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments/:paymentPspReference/refunds", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments", - ":paymentPspReference", - "refunds" - ], - "variable": [ - { - "key": "paymentPspReference", - "value": "", - "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to refund." - } - ], - "query": [ - ] - }, - "description": "Refunds a payment that has been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/captures), and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**REFUND** webhook](https://docs.adyen.com/online-payments/refund#refund-webhook). You can refund either the full captured amount or a part of the captured amount. You can also perform multiple partial refunds, as long as their sum doesn't exceed the captured amount. > Some payment methods do not support partial refunds. To learn if a payment method supports partial refunds, refer to the payment method page such as [cards](https://docs.adyen.com/payment-methods/cards#supported-cards), [iDEAL](https://docs.adyen.com/payment-methods/ideal), or [Klarna](https://docs.adyen.com/payment-methods/klarna). If you want to refund a payment but are not sure whether it has been captured, use the [`/payments/{paymentPspReference}/reversals`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/reversals) endpoint instead. For more information, refer to [Refund](https://docs.adyen.com/online-payments/refund)." - } + ] } ] - } -, + }, { "name": "/payments/:paymentPspReference/reversals", "description": "[Refunds](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/refunds) a payment if it has already been captured, and [cancels](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/cancels) a payment if it has not yet been captured. Returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CANCEL_OR_REFUND** webhook](https://docs.adyen.com/online-payments/reverse#cancel-or-refund-webhook). The reversed amount is always the full payment amount. > Do not use this request for payments that involve multiple partial captures. For more information, refer to [Reversal](https://docs.adyen.com/online-payments/reversal).", @@ -327,62 +645,127 @@ { "name": "Reverse (cancel or refund) a payment", "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 + "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 \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments/:paymentPspReference/reversals", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments", + ":paymentPspReference", + "reversals" + ], + "variable": [ + { + "key": "paymentPspReference", + "value": "", + "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to reverse. " + } + ], + "query": [ + ] + }, + "description": "[Refunds](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/refunds) a payment if it has already been captured, and [cancels](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/cancels) a payment if it has not yet been captured. Returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CANCEL_OR_REFUND** webhook](https://docs.adyen.com/online-payments/reverse#cancel-or-refund-webhook). The reversed amount is always the full payment amount. > Do not use this request for payments that involve multiple partial captures. For more information, refer to [Reversal](https://docs.adyen.com/online-payments/reversal)." +} + ,"response": [ + {"name": "Created - the request has been fulfilled and has resulted in one or more new resources being created.", + "code": 201, + "status": "Created", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"merchantAccount\" : \"YOUR_MERCHANT_ACCOUNT\",\n \"paymentPspReference\" : \"993617894903480A\",\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"pspReference\" : \"993617894906488A\",\n \"status\" : \"received\"\n}", + "originalRequest": { + "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 \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments/:paymentPspReference/reversals", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments", + ":paymentPspReference", + "reversals" + ], + "variable": [ + { + "key": "paymentPspReference", + "value": "", + "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to reverse. " + } + ], + "query": [ + ] + }, + "description": "[Refunds](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/refunds) a payment if it has already been captured, and [cancels](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/cancels) a payment if it has not yet been captured. Returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CANCEL_OR_REFUND** webhook](https://docs.adyen.com/online-payments/reverse#cancel-or-refund-webhook). The reversed amount is always the full payment amount. > Do not use this request for payments that involve multiple partial captures. For more information, refer to [Reversal](https://docs.adyen.com/online-payments/reversal)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments/:paymentPspReference/reversals", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments", - ":paymentPspReference", - "reversals" - ], - "variable": [ - { - "key": "paymentPspReference", - "value": "", - "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to reverse. " - } - ], - "query": [ - ] - }, - "description": "[Refunds](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/refunds) a payment if it has already been captured, and [cancels](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/cancels) a payment if it has not yet been captured. Returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CANCEL_OR_REFUND** webhook](https://docs.adyen.com/online-payments/reverse#cancel-or-refund-webhook). The reversed amount is always the full payment amount. > Do not use this request for payments that involve multiple partial captures. For more information, refer to [Reversal](https://docs.adyen.com/online-payments/reversal)." - } + ] } ] } - ] }, { @@ -395,251 +778,374 @@ { "name": "Set up a payment session (Android)", "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 17408\n },\n \"reference\" : \"Your order number\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"channel\" : \"Android\",\n \"token\" : \"TOKEN_YOU_GET_FROM_CHECKOUT_SDK\",\n \"returnUrl\" : \"app://\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl_NL\",\n \"sessionValidity\" : \"2017-04-06T13:09:13Z\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentSession", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentSession" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Provides the data object that can be used to start the Checkout SDK. To set up the payment, pass its amount, currency, and other required parameters. We use this to optimise the payment flow and perform better risk assessment of the transaction. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." - } + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 17408\n },\n \"reference\" : \"Your order number\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"channel\" : \"Android\",\n \"token\" : \"TOKEN_YOU_GET_FROM_CHECKOUT_SDK\",\n \"returnUrl\" : \"app://\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl_NL\",\n \"sessionValidity\" : \"2017-04-06T13:09:13Z\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentSession", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentSession" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Provides the data object that can be used to start the Checkout SDK. To set up the payment, pass its amount, currency, and other required parameters. We use this to optimise the payment flow and perform better risk assessment of the transaction. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." +} + ,"response": [ + ] }, { "name": "Set up a payment session with the option to store card details", "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 + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 17408\n },\n \"reference\" : \"Your order number\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"enableOneClick\" : true,\n \"enableRecurring\" : true,\n \"channel\" : \"Web\",\n \"origin\" : \"https://www.yourwebsite.com\",\n \"returnUrl\" : \"https://www.yourshop.com/checkout/result\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl_NL\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"sdkVersion\" : \"1.7.0\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentSession", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentSession" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Provides the data object that can be used to start the Checkout SDK. To set up the payment, pass its amount, currency, and other required parameters. We use this to optimise the payment flow and perform better risk assessment of the transaction. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"paymentSession\" : \"eyJjaGVja291dHNob3BwZXJCYXN...\"\n}", + "originalRequest": { + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 17408\n },\n \"reference\" : \"Your order number\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"enableOneClick\" : true,\n \"enableRecurring\" : true,\n \"channel\" : \"Web\",\n \"origin\" : \"https://www.yourwebsite.com\",\n \"returnUrl\" : \"https://www.yourshop.com/checkout/result\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl_NL\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"sdkVersion\" : \"1.7.0\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentSession", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentSession" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Provides the data object that can be used to start the Checkout SDK. To set up the payment, pass its amount, currency, and other required parameters. We use this to optimise the payment flow and perform better risk assessment of the transaction. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 17408\n },\n \"reference\" : \"Your order number\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"enableOneClick\" : true,\n \"enableRecurring\" : true,\n \"channel\" : \"Web\",\n \"origin\" : \"https://www.yourwebsite.com\",\n \"returnUrl\" : \"https://www.yourshop.com/checkout/result\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl_NL\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"sdkVersion\" : \"1.7.0\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentSession", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentSession" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Provides the data object that can be used to start the Checkout SDK. To set up the payment, pass its amount, currency, and other required parameters. We use this to optimise the payment flow and perform better risk assessment of the transaction. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." - } + ] }, { "name": "Set up a payment session (iOS)", "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 17408\n },\n \"reference\" : \"Your order number\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"channel\" : \"iOS\",\n \"token\" : \"TOKEN_YOU_GET_FROM_CHECKOUT_SDK\",\n \"returnUrl\" : \"app://\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl_NL\",\n \"sessionValidity\" : \"2017-04-06T13:09:13Z\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentSession", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentSession" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Provides the data object that can be used to start the Checkout SDK. To set up the payment, pass its amount, currency, and other required parameters. We use this to optimise the payment flow and perform better risk assessment of the transaction. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." - } + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 17408\n },\n \"reference\" : \"Your order number\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"channel\" : \"iOS\",\n \"token\" : \"TOKEN_YOU_GET_FROM_CHECKOUT_SDK\",\n \"returnUrl\" : \"app://\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl_NL\",\n \"sessionValidity\" : \"2017-04-06T13:09:13Z\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentSession", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentSession" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Provides the data object that can be used to start the Checkout SDK. To set up the payment, pass its amount, currency, and other required parameters. We use this to optimise the payment flow and perform better risk assessment of the transaction. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." +} + ,"response": [ + ] }, { "name": "Split a payment between a sub-merchant and a platform account", "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 6200\n },\n \"additionalData\" : {\n \"split.api\" : \"1\",\n \"split.nrOfItems\" : \"2\",\n \"split.totalAmount\" : \"6200\",\n \"split.currencyCode\" : \"EUR\",\n \"split.item1.amount\" : \"6000\",\n \"split.item1.type\" : \"MarketPlace\",\n \"split.item1.account\" : \"151272963\",\n \"split.item1.reference\" : \"6124145\",\n \"split.item1.description\" : \"Porcelain Doll: Eliza (20cm)\",\n \"split.item2.amount\" : \"200\",\n \"split.item2.type\" : \"Commission\",\n \"split.item2.reference\" : \"6124146\"\n },\n \"reference\" : \"Your order number\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"channel\" : \"Android\",\n \"token\" : \"TOKEN_YOU_GET_FROM_CHECKOUT_SDK\",\n \"returnUrl\" : \"app://\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl_NL\",\n \"sessionValidity\" : \"2017-04-06T13:09:13Z\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentSession", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentSession" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Provides the data object that can be used to start the Checkout SDK. To set up the payment, pass its amount, currency, and other required parameters. We use this to optimise the payment flow and perform better risk assessment of the transaction. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." - } + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 6200\n },\n \"additionalData\" : {\n \"split.api\" : \"1\",\n \"split.nrOfItems\" : \"2\",\n \"split.totalAmount\" : \"6200\",\n \"split.currencyCode\" : \"EUR\",\n \"split.item1.amount\" : \"6000\",\n \"split.item1.type\" : \"MarketPlace\",\n \"split.item1.account\" : \"151272963\",\n \"split.item1.reference\" : \"6124145\",\n \"split.item1.description\" : \"Porcelain Doll: Eliza (20cm)\",\n \"split.item2.amount\" : \"200\",\n \"split.item2.type\" : \"Commission\",\n \"split.item2.reference\" : \"6124146\"\n },\n \"reference\" : \"Your order number\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"channel\" : \"Android\",\n \"token\" : \"TOKEN_YOU_GET_FROM_CHECKOUT_SDK\",\n \"returnUrl\" : \"app://\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl_NL\",\n \"sessionValidity\" : \"2017-04-06T13:09:13Z\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentSession", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentSession" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Provides the data object that can be used to start the Checkout SDK. To set up the payment, pass its amount, currency, and other required parameters. We use this to optimise the payment flow and perform better risk assessment of the transaction. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." +} + ,"response": [ + ] }, { "name": "Set up a payment session (Web)", "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 + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 17408\n },\n \"reference\" : \"Your order number\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"channel\" : \"Web\",\n \"origin\" : \"https://www.yourwebsite.com\",\n \"returnUrl\" : \"https://www.yourshop.com/checkout/result\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl_NL\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"sdkVersion\" : \"1.3.0\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentSession", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentSession" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Provides the data object that can be used to start the Checkout SDK. To set up the payment, pass its amount, currency, and other required parameters. We use this to optimise the payment flow and perform better risk assessment of the transaction. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"paymentSession\" : \"eyJjaGVja291dHNob3BwZXJCYXN...\"\n}", + "originalRequest": { + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 17408\n },\n \"reference\" : \"Your order number\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"channel\" : \"Web\",\n \"origin\" : \"https://www.yourwebsite.com\",\n \"returnUrl\" : \"https://www.yourshop.com/checkout/result\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl_NL\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"sdkVersion\" : \"1.3.0\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentSession", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentSession" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Provides the data object that can be used to start the Checkout SDK. To set up the payment, pass its amount, currency, and other required parameters. We use this to optimise the payment flow and perform better risk assessment of the transaction. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 17408\n },\n \"reference\" : \"Your order number\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"channel\" : \"Web\",\n \"origin\" : \"https://www.yourwebsite.com\",\n \"returnUrl\" : \"https://www.yourshop.com/checkout/result\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl_NL\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"sdkVersion\" : \"1.3.0\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentSession", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentSession" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Provides the data object that can be used to start the Checkout SDK. To set up the payment, pass its amount, currency, and other required parameters. We use this to optimise the payment flow and perform better risk assessment of the transaction. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." - } + ] } ] - } -, + }, { "name": "/payments/result (DEPRECATED)", "description": "Verifies the payment result using the payload returned from the Checkout SDK. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks).", @@ -647,56 +1153,115 @@ { "name": "Verify payment results", "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 + "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 \"payload\" : \"VALUE_YOU_GET_FROM_CHECKOUT_SDK\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments/result", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments", + "result" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Verifies the payment result using the payload returned from the Checkout SDK. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"pspReference\" : \"V4HZ4RBFJGXXGN82\",\n \"merchantReference\" : \"Your order number\",\n \"shopperLocale\" : \"nl_NL\",\n \"paymentMethod\" : \"ideal\"\n}", + "originalRequest": { + "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 \"payload\" : \"VALUE_YOU_GET_FROM_CHECKOUT_SDK\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments/result", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments", + "result" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Verifies the payment result using the payload returned from the Checkout SDK. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"payload\" : \"VALUE_YOU_GET_FROM_CHECKOUT_SDK\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments/result", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments", - "result" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Verifies the payment result using the payload returned from the Checkout SDK. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." - } + ] } ] } - ] }, { @@ -709,55 +1274,113 @@ { "name": "Create an order", "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 + "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 \"reference\" : \"YOUR_ORDER_REFERENCE\",\n \"amount\" : {\n \"value\" : 2500,\n \"currency\" : \"EUR\"\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/orders", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "orders" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates an order to be used for partial payments. Make a POST `/orders` call before making a `/payments` call when processing payments with different payment methods." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"pspReference\" : \"8616178914061985\",\n \"resultCode\" : \"Success\",\n \"expiresAt\" : \"2021-04-09T14:16:46Z\",\n \"orderData\" : \"Ab02b4c0!BQABAgCxXvknCldOcRElkxY8Za7iyym4Wv8aDzyNwmj/3nh4G6YtwnUIJHaK62NlN4oIsACdkn1FEjBwKlheG40jvXcYGBk4KFV5WvOhTVCpv/KXnkrI7xQv/u2lE7U4wA+HPB6K4Zj2L8xO/ogZi+zGZqFs5m16jmkH7ku6FzXygXLNuUCuOlmlXSZhdkHHTNVQSq1MELDK9OL74y532ETRPTCNxx8WlEiZB+LDqYrPvH9GgigtD5kw8Do45jfFfG72kWBEgfYqp4mbUmBB9ebXFYZKfF0qvW1x7A2Y9+/MFlTIdXfKW484bJeDBCTTrmKGXIj+U4r5imr5fXTyNLcrxyUqwrb9jg+5B4qg1XB6Cgj5UPlSI4O62I7v0s5TTj69dzLwUQRxSQbwLrZVGYavXzeVKI54BVLRV3d/+BbPvTqnTo34UhfZbPlOx9F2eyaS0ZXdOKnHw89uGUgxUpLsMqnbRysi/pxpZaulel+0mExb68wVxb/7Teob5eRG4gp7cfZVZs6tLXOYWL+W0TqIlsa3hWsfM0LeaovzkoDtW/pK5JABXwMtLig9tsxoEh9ONYtIzkXC21LZ8ebiuSIMaPizjF8yca+QxrCZalQsu6uKnBz/mm8nnsflaGU2QS5zcoxk1RudL1Bl36LM9UZGPpFEYWiYA4sUsnNLw7peJjWCGhDepnwMv4TlgsEtoDtz1T54AEp7ImtleSI6IkFGMEFBQTEwM0NBNTM3RUFFRDg3QzI0REQ1MzkwOUI4MEE3OEE5MjNFMzgyM0Q2OERBQ0M5NEI5RkY4MzA1REMifRslOdmfgUHTXl66WPD9xoW2whIeRx/jR++2MqNE16x6zQy+KtDN8/h60crZwmqkjVTQYqQlsYSYDHSIyb4wnnay16/5il1yS7vN3UCLaTXjYBIAyyx6Wr9j4P3CI/etB+PpviHoESC4mV6ZN4whMDQyziQ8s230GtboXbh42qND7rk9phySBogowQlXrtF+l2n2F46nyif0owEgik5fGARfvjZtY2w23s30KMLNwU4gWSvX4H6RMVS8TfZH2fKfNrwB3tZUXwYkELs5ntaHysswq5Mn5aq2BKAMHu/Rh/wureMSI73Qi0avjrzWCwzt3JH4wnzErMnOZwSdgA==\",\n \"reference\" : \"shopper-reference-ekvL83\",\n \"remainingAmount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 2500\n }\n}", + "originalRequest": { + "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 \"reference\" : \"YOUR_ORDER_REFERENCE\",\n \"amount\" : {\n \"value\" : 2500,\n \"currency\" : \"EUR\"\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/orders", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "orders" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates an order to be used for partial payments. Make a POST `/orders` call before making a `/payments` call when processing payments with different payment methods." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"reference\" : \"YOUR_ORDER_REFERENCE\",\n \"amount\" : {\n \"value\" : 2500,\n \"currency\" : \"EUR\"\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/orders", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "orders" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Creates an order to be used for partial payments. Make a POST `/orders` call before making a `/payments` call when processing payments with different payment methods." - } + ] } ] - } -, + }, { "name": "/orders/cancel", "description": "Cancels an order. Cancellation of an order results in an automatic rollback of all payments made in the order, either by canceling or refunding the payment, depending on the type of payment method.", @@ -765,56 +1388,115 @@ { "name": "Cancel an order", "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 + "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 \"order\" : {\n \"pspReference\" : \"8815517812932012\",\n \"orderData\" : \"823fh892f8f18f4...148f13f9f3f\"\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/orders/cancel", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "orders", + "cancel" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Cancels an order. Cancellation of an order results in an automatic rollback of all payments made in the order, either by canceling or refunding the payment, depending on the type of payment method." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"pspReference\" : \"8816178914079738\",\n \"resultCode\" : \"Received\"\n}", + "originalRequest": { + "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 \"order\" : {\n \"pspReference\" : \"8815517812932012\",\n \"orderData\" : \"823fh892f8f18f4...148f13f9f3f\"\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/orders/cancel", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "orders", + "cancel" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Cancels an order. Cancellation of an order results in an automatic rollback of all payments made in the order, either by canceling or refunding the payment, depending on the type of payment method." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"order\" : {\n \"pspReference\" : \"8815517812932012\",\n \"orderData\" : \"823fh892f8f18f4...148f13f9f3f\"\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/orders/cancel", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "orders", - "cancel" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Cancels an order. Cancellation of an order results in an automatic rollback of all payments made in the order, either by canceling or refunding the payment, depending on the type of payment method." - } + ] } ] - } -, + }, { "name": "/paymentMethods/balance", "description": "Retrieves the balance remaining on a shopper's gift card. To check a gift card's balance, make a POST `/paymentMethods/balance` call and include the gift card's details inside a `paymentMethod` object.", @@ -822,106 +1504,225 @@ { "name": "Get gift card balance specifying amount of 10 EUR", "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 + "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 \"paymentMethod\" : {\n \"type\" : \"givex\",\n \"number\" : \"4126491073027401\",\n \"cvc\" : \"737\"\n },\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentMethods/balance", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentMethods", + "balance" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Retrieves the balance remaining on a shopper's gift card. To check a gift card's balance, make a POST `/paymentMethods/balance` call and include the gift card's details inside a `paymentMethod` object." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"pspReference\" : \"KHQC5N7G84BLNK43\",\n \"resultCode\" : \"Success\",\n \"balance\" : {\n \"currency\" : \"EUR\",\n \"value\" : 5000\n }\n}", + "originalRequest": { + "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 \"paymentMethod\" : {\n \"type\" : \"givex\",\n \"number\" : \"4126491073027401\",\n \"cvc\" : \"737\"\n },\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentMethods/balance", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentMethods", + "balance" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Retrieves the balance remaining on a shopper's gift card. To check a gift card's balance, make a POST `/paymentMethods/balance` call and include the gift card's details inside a `paymentMethod` object." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"paymentMethod\" : {\n \"type\" : \"givex\",\n \"number\" : \"4126491073027401\",\n \"cvc\" : \"737\"\n },\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentMethods/balance", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentMethods", - "balance" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Retrieves the balance remaining on a shopper's gift card. To check a gift card's balance, make a POST `/paymentMethods/balance` call and include the gift card's details inside a `paymentMethod` object." - } + ] }, { "name": "Get gift card balance specifying amount of 100 EUR", "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 + "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 \"paymentMethod\" : {\n \"type\" : \"givex\",\n \"number\" : \"4126491073027401\",\n \"cvc\" : \"737\"\n },\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 10000\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentMethods/balance", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentMethods", + "balance" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Retrieves the balance remaining on a shopper's gift card. To check a gift card's balance, make a POST `/paymentMethods/balance` call and include the gift card's details inside a `paymentMethod` object." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"pspReference\" : \"FKSPNCQ8HXSKGK82\",\n \"resultCode\" : \"NotEnoughBalance\",\n \"balance\" : {\n \"currency\" : \"EUR\",\n \"value\" : 5000\n }\n}", + "originalRequest": { + "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 \"paymentMethod\" : {\n \"type\" : \"givex\",\n \"number\" : \"4126491073027401\",\n \"cvc\" : \"737\"\n },\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 10000\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentMethods/balance", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentMethods", + "balance" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Retrieves the balance remaining on a shopper's gift card. To check a gift card's balance, make a POST `/paymentMethods/balance` call and include the gift card's details inside a `paymentMethod` object." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"paymentMethod\" : {\n \"type\" : \"givex\",\n \"number\" : \"4126491073027401\",\n \"cvc\" : \"737\"\n },\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 10000\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentMethods/balance", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentMethods", - "balance" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Retrieves the balance remaining on a shopper's gift card. To check a gift card's balance, make a POST `/paymentMethods/balance` call and include the gift card's details inside a `paymentMethod` object." - } + ] } ] } - ] }, { @@ -934,56 +1735,115 @@ { "name": "Get payment session for Apple Pay", "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 + "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 \"displayName\" : \"YOUR_MERCHANT_NAME\",\n \"domainName\" : \"YOUR_DOMAIN_NAME\",\n \"merchantIdentifier\" : \"YOUR_MERCHANT_ID\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/applePay/sessions", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "applePay", + "sessions" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "You need to use this endpoint if you have an API-only integration with Apple Pay which uses Adyen's Apple Pay certificate. The endpoint returns the Apple Pay session data which you need to complete the [Apple Pay session validation](https://docs.adyen.com/payment-methods/apple-pay/api-only?tab=adyen-certificate-validation_1#complete-apple-pay-session-validation)." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"data\" : \"eyJ2Z...\"\n}", + "originalRequest": { + "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 \"displayName\" : \"YOUR_MERCHANT_NAME\",\n \"domainName\" : \"YOUR_DOMAIN_NAME\",\n \"merchantIdentifier\" : \"YOUR_MERCHANT_ID\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/applePay/sessions", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "applePay", + "sessions" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "You need to use this endpoint if you have an API-only integration with Apple Pay which uses Adyen's Apple Pay certificate. The endpoint returns the Apple Pay session data which you need to complete the [Apple Pay session validation](https://docs.adyen.com/payment-methods/apple-pay/api-only?tab=adyen-certificate-validation_1#complete-apple-pay-session-validation)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"displayName\" : \"YOUR_MERCHANT_NAME\",\n \"domainName\" : \"YOUR_DOMAIN_NAME\",\n \"merchantIdentifier\" : \"YOUR_MERCHANT_ID\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/applePay/sessions", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "applePay", - "sessions" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "You need to use this endpoint if you have an API-only integration with Apple Pay which uses Adyen's Apple Pay certificate. The endpoint returns the Apple Pay session data which you need to complete the [Apple Pay session validation](https://docs.adyen.com/payment-methods/apple-pay/api-only?tab=adyen-certificate-validation_1#complete-apple-pay-session-validation)." - } + ] } ] - } -, + }, { "name": "/originKeys", "description": "This operation takes the origin domains and returns a JSON object containing the corresponding origin keys for the domains. > If you're still using origin key for your Web Drop-in or Components integration, we recommend [switching to client key](https://docs.adyen.com/development-resources/client-side-authentication/migrate-from-origin-key-to-client-key). This allows you to use a single key for all origins, add or remove origins without generating a new key, and detect the card type from the number entered in your payment form. ", @@ -991,55 +1851,113 @@ { "name": "Get origin keys", "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 + "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 \"originDomains\" : [ \"https://www.your-domain1.com\", \"https://www.your-domain2.com\", \"https://www.your-domain3.com\" ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/originKeys", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "originKeys" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "This operation takes the origin domains and returns a JSON object containing the corresponding origin keys for the domains. > If you're still using origin key for your Web Drop-in or Components integration, we recommend [switching to client key](https://docs.adyen.com/development-resources/client-side-authentication/migrate-from-origin-key-to-client-key). This allows you to use a single key for all origins, add or remove origins without generating a new key, and detect the card type from the number entered in your payment form. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"originKeys\" : {\n \"https://www.your-domain1.com\" : \"pub.v2.8116178901076090.aHR0cHM6Ly93d3cueW91ci1kb21haW4xLmNvbQ.pvbYlrXz0ICP4kwMJXDGDLVMqALhwXr1MSRjT-fkhvw\",\n \"https://www.your-domain3.com\" : \"pub.v2.8116178901076090.aHR0cHM6Ly93d3cueW91ci1kb21haW4zLmNvbQ.FrTpVz7_RzAywKasM0kXCRoMfoMkKIKaxjFymRGORIc\",\n \"https://www.your-domain2.com\" : \"pub.v2.8116178901076090.aHR0cHM6Ly93d3cueW91ci1kb21haW4yLmNvbQ.LdN9kvJ35fYFFiBSJA4idMnwwxJ5_yXpeNS__Ap5wkg\"\n }\n}", + "originalRequest": { + "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 \"originDomains\" : [ \"https://www.your-domain1.com\", \"https://www.your-domain2.com\", \"https://www.your-domain3.com\" ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/originKeys", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "originKeys" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "This operation takes the origin domains and returns a JSON object containing the corresponding origin keys for the domains. > If you're still using origin key for your Web Drop-in or Components integration, we recommend [switching to client key](https://docs.adyen.com/development-resources/client-side-authentication/migrate-from-origin-key-to-client-key). This allows you to use a single key for all origins, add or remove origins without generating a new key, and detect the card type from the number entered in your payment form. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"originDomains\" : [ \"https://www.your-domain1.com\", \"https://www.your-domain2.com\", \"https://www.your-domain3.com\" ]\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/originKeys", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "originKeys" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "This operation takes the origin domains and returns a JSON object containing the corresponding origin keys for the domains. > If you're still using origin key for your Web Drop-in or Components integration, we recommend [switching to client key](https://docs.adyen.com/development-resources/client-side-authentication/migrate-from-origin-key-to-client-key). This allows you to use a single key for all origins, add or remove origins without generating a new key, and detect the card type from the number entered in your payment form. " - } + ] } ] } - ] }, { @@ -1052,104 +1970,164 @@ { "name": "Start a donation transaction", "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 + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"reference\" : \"YOUR_DONATION_REFERENCE\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\"\n },\n \"donationToken\" : \"YOUR_DONATION_TOKEN\",\n \"donationOriginalPspReference\" : \"991559660454807J\",\n \"donationAccount\" : \"CHARITY_ACCOUNT\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"shopperInteraction\" : \"ContAuth\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/donations", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "donations" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Takes in the donation token generated by the `/payments` request and uses it to make the donation for the donation account specified in the request. For more information, see [Donations](https://docs.adyen.com/online-payments/donations)." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"id\" : \"UNIQUE_RESOURCE_ID\",\n \"status\" : \"completed\",\n \"donationAccount\" : \"CHARITY_ACCOUNT\",\n \"merchantAccount\" : \"YOUR_MERCHANT_ACCOUNT\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"reference\" : \"YOUR_DONATION_REFERENCE\",\n \"payment\" : {\n \"pspReference\" : \"8535762347980628\",\n \"resultCode\" : \"Authorised\",\n \"merchantReference\" : \"YOUR_DONATION_REFERENCE\"\n }\n}", + "originalRequest": { + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"reference\" : \"YOUR_DONATION_REFERENCE\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\"\n },\n \"donationToken\" : \"YOUR_DONATION_TOKEN\",\n \"donationOriginalPspReference\" : \"991559660454807J\",\n \"donationAccount\" : \"CHARITY_ACCOUNT\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"shopperInteraction\" : \"ContAuth\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/donations", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "donations" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Takes in the donation token generated by the `/payments` request and uses it to make the donation for the donation account specified in the request. For more information, see [Donations](https://docs.adyen.com/online-payments/donations)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"reference\" : \"YOUR_DONATION_REFERENCE\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\"\n },\n \"donationToken\" : \"YOUR_DONATION_TOKEN\",\n \"donationOriginalPspReference\" : \"991559660454807J\",\n \"donationAccount\" : \"CHARITY_ACCOUNT\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"shopperInteraction\" : \"ContAuth\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/donations", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "donations" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Takes in the donation token generated by the `/payments` request and uses it to make the donation for the donation account specified in the request. For more information, see [Donations](https://docs.adyen.com/online-payments/donations)." - } + ] }, { "name": "Start a donation transaction with a token", "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"reference\" : \"YOUR_DONATION_REFERENCE\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"recurringDetailReference\" : \"7219687191761347\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"donationAccount\" : \"CHARITY_ACCOUNT\",\n \"shopperInteraction\" : \"ContAuth\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"recurringProcessingModel\" : \"CardOnFile\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/donations", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "donations" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Takes in the donation token generated by the `/payments` request and uses it to make the donation for the donation account specified in the request. For more information, see [Donations](https://docs.adyen.com/online-payments/donations)." - } + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"reference\" : \"YOUR_DONATION_REFERENCE\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"recurringDetailReference\" : \"7219687191761347\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"donationAccount\" : \"CHARITY_ACCOUNT\",\n \"shopperInteraction\" : \"ContAuth\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"recurringProcessingModel\" : \"CardOnFile\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/donations", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "donations" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Takes in the donation token generated by the `/payments` request and uses it to make the donation for the donation account specified in the request. For more information, see [Donations](https://docs.adyen.com/online-payments/donations)." +} + ,"response": [ + ] } ] } - ] }, { @@ -1162,104 +2140,221 @@ { "name": "Get a list of brands on a card", "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 + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"cardNumber\" : \"411111\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/cardDetails", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "cardDetails" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Send a request with at least the first 6 digits of the card number to get a response with an array of brands on the card. If you include [your supported brands](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__reqParam_supportedBrands) in the request, the response also tells you if you support each [brand that was identified](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__resParam_details). If you have an API-only integration and collect card data, use this endpoint to find out if the shopper's card is co-branded. For co-branded cards, you must let the shopper choose the brand to pay with if you support both brands. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"brands\" : [ {\n \"type\" : \"visa\",\n \"supported\" : true\n }, {\n \"type\" : \"cartebancaire\",\n \"supported\" : true\n } ]\n}", + "originalRequest": { + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"cardNumber\" : \"411111\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/cardDetails", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "cardDetails" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Send a request with at least the first 6 digits of the card number to get a response with an array of brands on the card. If you include [your supported brands](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__reqParam_supportedBrands) in the request, the response also tells you if you support each [brand that was identified](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__resParam_details). If you have an API-only integration and collect card data, use this endpoint to find out if the shopper's card is co-branded. For co-branded cards, you must let the shopper choose the brand to pay with if you support both brands. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"cardNumber\" : \"411111\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/cardDetails", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "cardDetails" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Send a request with at least the first 6 digits of the card number to get a response with an array of brands on the card. If you include [your supported brands](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__reqParam_supportedBrands) in the request, the response also tells you if you support each [brand that was identified](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__resParam_details). If you have an API-only integration and collect card data, use this endpoint to find out if the shopper's card is co-branded. For co-branded cards, you must let the shopper choose the brand to pay with if you support both brands. " - } + ] }, { "name": "Get a list of brands on a card specifying your supported card brands", "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 + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"cardNumber\" : \"411111\",\n \"supportedBrands\" : [ \"visa\", \"mc\", \"amex\" ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/cardDetails", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "cardDetails" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Send a request with at least the first 6 digits of the card number to get a response with an array of brands on the card. If you include [your supported brands](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__reqParam_supportedBrands) in the request, the response also tells you if you support each [brand that was identified](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__resParam_details). If you have an API-only integration and collect card data, use this endpoint to find out if the shopper's card is co-branded. For co-branded cards, you must let the shopper choose the brand to pay with if you support both brands. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"brands\" : [ {\n \"type\" : \"visa\",\n \"supported\" : true\n }, {\n \"type\" : \"cartebancaire\",\n \"supported\" : false\n } ]\n}", + "originalRequest": { + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"cardNumber\" : \"411111\",\n \"supportedBrands\" : [ \"visa\", \"mc\", \"amex\" ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/cardDetails", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "cardDetails" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Send a request with at least the first 6 digits of the card number to get a response with an array of brands on the card. If you include [your supported brands](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__reqParam_supportedBrands) in the request, the response also tells you if you support each [brand that was identified](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__resParam_details). If you have an API-only integration and collect card data, use this endpoint to find out if the shopper's card is co-branded. For co-branded cards, you must let the shopper choose the brand to pay with if you support both brands. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"cardNumber\" : \"411111\",\n \"supportedBrands\" : [ \"visa\", \"mc\", \"amex\" ]\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/cardDetails", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "cardDetails" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Send a request with at least the first 6 digits of the card number to get a response with an array of brands on the card. If you include [your supported brands](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__reqParam_supportedBrands) in the request, the response also tells you if you support each [brand that was identified](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__resParam_details). If you have an API-only integration and collect card data, use this endpoint to find out if the shopper's card is co-branded. For co-branded cards, you must let the shopper choose the brand to pay with if you support both brands. " - } + ] } ] - } -, + }, { "name": "/paymentMethods", "description": "Queries the available payment methods for a transaction based on the transaction context (like amount, country, and currency). Besides giving back a list of the available payment methods, the response also returns which input details you need to collect from the shopper (to be submitted to `/payments`). Although we highly recommend using this endpoint to ensure you are always offering the most up-to-date list of payment methods, its usage is optional. You can, for example, also cache the `/paymentMethods` response and update it once a week.", @@ -1267,153 +2362,329 @@ { "name": "Get available payment methods", "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 + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentMethods", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentMethods" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Queries the available payment methods for a transaction based on the transaction context (like amount, country, and currency). Besides giving back a list of the available payment methods, the response also returns which input details you need to collect from the shopper (to be submitted to `/payments`). Although we highly recommend using this endpoint to ensure you are always offering the most up-to-date list of payment methods, its usage is optional. You can, for example, also cache the `/paymentMethods` response and update it once a week." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"paymentMethods\" : [ {\n \"details\" : [ {\n \"details\" : [ {\n \"key\" : \"ownerName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"bankLocationId\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"bankAccountNumber\",\n \"type\" : \"text\"\n } ],\n \"key\" : \"bankAccount\",\n \"type\" : \"bankAccount\"\n } ],\n \"name\" : \"ACH Direct Debit\",\n \"type\" : \"ach\"\n }, {\n \"name\" : \"Adyen Voucher\",\n \"type\" : \"adyen_test_voucher\"\n }, {\n \"details\" : [ {\n \"details\" : [ {\n \"key\" : \"firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"lastName\",\n \"type\" : \"text\"\n }, {\n \"items\" : [ {\n \"id\" : \"M\",\n \"name\" : \"male\"\n }, {\n \"id\" : \"F\",\n \"name\" : \"female\"\n } ],\n \"key\" : \"gender\",\n \"type\" : \"radio\"\n }, {\n \"key\" : \"dateOfBirth\",\n \"type\" : \"date\"\n }, {\n \"key\" : \"telephoneNumber\",\n \"type\" : \"tel\"\n }, {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n } ],\n \"key\" : \"personalDetails\",\n \"type\" : \"fieldSet\"\n }, {\n \"details\" : [ {\n \"key\" : \"street\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"houseNumberOrName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"city\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"postalCode\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"stateOrProvince\",\n \"optional\" : true,\n \"type\" : \"text\"\n }, {\n \"items\" : [ {\n \"id\" : \"NL\",\n \"name\" : \"Netherlands\"\n }, {\n \"id\" : \"BE\",\n \"name\" : \"Belgium\"\n } ],\n \"key\" : \"country\",\n \"type\" : \"select\"\n } ],\n \"key\" : \"billingAddress\",\n \"type\" : \"address\"\n }, {\n \"key\" : \"separateDeliveryAddress\",\n \"optional\" : true,\n \"type\" : \"boolean\",\n \"value\" : \"false\"\n }, {\n \"details\" : [ {\n \"key\" : \"street\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"houseNumberOrName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"city\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"postalCode\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"stateOrProvince\",\n \"optional\" : true,\n \"type\" : \"text\"\n }, {\n \"items\" : [ {\n \"id\" : \"NL\",\n \"name\" : \"Netherlands\"\n }, {\n \"id\" : \"BE\",\n \"name\" : \"Belgium\"\n } ],\n \"key\" : \"country\",\n \"type\" : \"select\"\n } ],\n \"key\" : \"deliveryAddress\",\n \"optional\" : true,\n \"type\" : \"address\"\n } ],\n \"name\" : \"AfterPay Invoice\",\n \"type\" : \"afterpay_default\"\n }, {\n \"name\" : \"AfterPay DirectDebit\",\n \"type\" : \"afterpay_directdebit\"\n }, {\n \"name\" : \"Afterpay\",\n \"type\" : \"afterpaytouch\"\n }, {\n \"details\" : [ {\n \"key\" : \"encryptedCardNumber\",\n \"type\" : \"cardToken\"\n }, {\n \"key\" : \"encryptedSecurityCode\",\n \"type\" : \"cardToken\"\n }, {\n \"key\" : \"encryptedExpiryMonth\",\n \"type\" : \"cardToken\"\n }, {\n \"key\" : \"encryptedExpiryYear\",\n \"type\" : \"cardToken\"\n }, {\n \"key\" : \"holderName\",\n \"optional\" : true,\n \"type\" : \"text\"\n } ],\n \"name\" : \"Credit Card\",\n \"type\" : \"scheme\"\n }, {\n \"name\" : \"AliPay\",\n \"type\" : \"alipay\"\n }, {\n \"name\" : \"AliPay HK\",\n \"type\" : \"alipay_hk\"\n }, {\n \"name\" : \"AliPay\",\n \"type\" : \"alipay_wap\"\n }, {\n \"details\" : [ {\n \"key\" : \"additionalData.androidpay.token\",\n \"type\" : \"androidPayToken\"\n } ],\n \"name\" : \"Android Pay\",\n \"type\" : \"androidpay\"\n }, {\n \"details\" : [ {\n \"key\" : \"additionalData.applepay.token\",\n \"type\" : \"applePayToken\"\n } ],\n \"name\" : \"Apple Pay\",\n \"type\" : \"applepay\"\n }, {\n \"name\" : \"Credit Card via AsiaPay\",\n \"type\" : \"asiapay\"\n }, {\n \"name\" : \"China UnionPay\",\n \"type\" : \"asiapay_unionpay\"\n }, {\n \"name\" : \"Baby Gift Card\",\n \"type\" : \"babygiftcard\"\n }, {\n \"name\" : \"Baloto\",\n \"type\" : \"baloto\"\n }, {\n \"name\" : \"BancNet\",\n \"type\" : \"bancnet\"\n }, {\n \"name\" : \"Bank Transfer (BG)\",\n \"type\" : \"bankTransfer_BG\"\n }, {\n \"name\" : \"Bank Transfer (CH)\",\n \"type\" : \"bankTransfer_CH\"\n }, {\n \"name\" : \"Bank Transfer (DE)\",\n \"type\" : \"bankTransfer_DE\"\n }, {\n \"name\" : \"Bank Transfer (FI)\",\n \"type\" : \"bankTransfer_FI\"\n }, {\n \"name\" : \"Bank Transfer (GB)\",\n \"type\" : \"bankTransfer_GB\"\n }, {\n \"name\" : \"Bank Transfer (HU)\",\n \"type\" : \"bankTransfer_HU\"\n }, {\n \"name\" : \"SEPA Bank Transfer\",\n \"type\" : \"bankTransfer_IBAN\"\n }, {\n \"name\" : \"Bank Transfer (IE)\",\n \"type\" : \"bankTransfer_IE\"\n }, {\n \"name\" : \"Electronic Bank Transfer (MX)\",\n \"type\" : \"bankTransfer_MX_linked\"\n }, {\n \"name\" : \"Bank Transfer (MX)\",\n \"type\" : \"bankTransfer_MX_offline\"\n }, {\n \"name\" : \"Bank Transfer (NL)\",\n \"type\" : \"bankTransfer_NL\"\n }, {\n \"name\" : \"Bank Transfer (PL)\",\n \"type\" : \"bankTransfer_PL\"\n }, {\n \"name\" : \"Bank Transfer (SE)\",\n \"type\" : \"bankTransfer_SE\"\n }, {\n \"name\" : \"Bank Transfer (US)\",\n \"type\" : \"bankTransfer_US\"\n }, {\n \"name\" : \"Payconiq by Bancontact\",\n \"type\" : \"bcmc_mobile\"\n }, {\n \"name\" : \"Bijenkorf Cadeaucard\",\n \"type\" : \"bijcadeaucard\"\n }, {\n \"name\" : \"99Bill\",\n \"type\" : \"bill99\"\n }, {\n \"details\" : [ {\n \"items\" : [ {\n \"id\" : \"AUB_DIRECT\",\n \"name\" : \"AU Small Finance Bank\"\n }, {\n \"id\" : \"ALB_DIRECT\",\n \"name\" : \"Allahabad Bank \"\n }, {\n \"id\" : \"APG_DIRECT\",\n \"name\" : \"Andhra Pragathi Grameena Bank\"\n }, {\n \"id\" : \"BDN_DIRECT\",\n \"name\" : \"Bandhan bank\"\n }, {\n \"id\" : \"BBK_DIRECT\",\n \"name\" : \"Bank of Bahrain and Kuwait\"\n }, {\n \"id\" : \"BBR_DIRECT\",\n \"name\" : \"Bank of Baroda - Retail Banking\"\n }, {\n \"id\" : \"BCB_DIRECT\",\n \"name\" : \"Bassien Catholic Co-Operative Bank \"\n }, {\n \"id\" : \"CNB_DIRECT\",\n \"name\" : \"Canara Bank\"\n }, {\n \"id\" : \"SYD_DIRECT\",\n \"name\" : \"Canara Bank (e-Syndicate)\"\n }, {\n \"id\" : \"CSB_DIRECT\",\n \"name\" : \"Catholic Syrian Bank\"\n }, {\n \"id\" : \"CBI_DIRECT\",\n \"name\" : \"Central Bank of India\"\n }, {\n \"id\" : \"CUB_DIRECT\",\n \"name\" : \"City Union Bank\"\n }, {\n \"id\" : \"COB_DIRECT\",\n \"name\" : \"Cosmos Bank\"\n }, {\n \"id\" : \"DEN_DIRECT\",\n \"name\" : \"Dena Bank\"\n }, {\n \"id\" : \"DBK_DIRECT\",\n \"name\" : \"Deutsche Bank\"\n }, {\n \"id\" : \"DCB_DIRECT\",\n \"name\" : \"Development Credit Bank\"\n }, {\n \"id\" : \"DLB_DIRECT\",\n \"name\" : \"Dhanlakshmi Bank - Retail Net Banking\"\n }, {\n \"id\" : \"ESF_DIRECT\",\n \"name\" : \"ESAF Small Finance Bank\"\n }, {\n \"id\" : \"EQB_DIRECT\",\n \"name\" : \"Equitas Small Finance Bank\"\n }, {\n \"id\" : \"FBK_DIRECT\",\n \"name\" : \"Federal Bank\"\n }, {\n \"id\" : \"FNC_DIRECT\",\n \"name\" : \"Fincare Bank\"\n }, {\n \"id\" : \"HDF_DIRECT\",\n \"name\" : \"HDFC Bank\"\n }, {\n \"id\" : \"ICI_DIRECT\",\n \"name\" : \"ICICI Bank \"\n }, {\n \"id\" : \"IDB_DIRECT\",\n \"name\" : \"IDBI Bank - Retail Net Banking\"\n }, {\n \"id\" : \"IDN_DIRECT\",\n \"name\" : \"IDFC FIRST Bank\"\n }, {\n \"id\" : \"INB_DIRECT\",\n \"name\" : \"Indian Bank\"\n }, {\n \"id\" : \"IOB_DIRECT\",\n \"name\" : \"Indian Overseas Bank\"\n }, {\n \"id\" : \"IDS_DIRECT\",\n \"name\" : \"IndusInd Bank\"\n }, {\n \"id\" : \"JKB_DIRECT\",\n \"name\" : \"Jammu & Kashmir Bank\"\n }, {\n \"id\" : \"JNB_DIRECT\",\n \"name\" : \"Jana Small Finance Bank\"\n }, {\n \"id\" : \"JSB_DIRECT\",\n \"name\" : \"Janata Sahakari Bank Ltd Pune\"\n }, {\n \"id\" : \"KJB_DIRECT\",\n \"name\" : \"Kalyan Janata Sahakari Bank\"\n }, {\n \"id\" : \"KBL_DIRECT\",\n \"name\" : \"Karnataka Bank Ltd\"\n }, {\n \"id\" : \"KVB_DIRECT\",\n \"name\" : \"Karur Vysya Bank\"\n }, {\n \"id\" : \"162_DIRECT\",\n \"name\" : \"Kotak Bank\"\n }, {\n \"id\" : \"LVR_DIRECT\",\n \"name\" : \"Laxmi Vilas Bank - Retail\"\n }, {\n \"id\" : \"NKB_DIRECT\",\n \"name\" : \"NKGSB Co-op Bank\"\n }, {\n \"id\" : \"NEB_DIRECT\",\n \"name\" : \"North East Small Finance Bank\"\n }, {\n \"id\" : \"OBC_DIRECT\",\n \"name\" : \"PNB (Erstwhile-Oriental Bank of Commerce)\"\n }, {\n \"id\" : \"UNI_DIRECT\",\n \"name\" : \"PNB (Erstwhile-United Bank of India)\"\n }, {\n \"id\" : \"PMC_DIRECT\",\n \"name\" : \"Punjab & Maharastra Co-op Bank\"\n }, {\n \"id\" : \"PSB_DIRECT\",\n \"name\" : \"Punjab & Sind Bank\"\n }, {\n \"id\" : \"CPN_DIRECT\",\n \"name\" : \"Punjab National Bank - Corporate \"\n }, {\n \"id\" : \"PNB_DIRECT\",\n \"name\" : \"Punjab National Bank - Retail Banking\"\n }, {\n \"id\" : \"RBL_DIRECT\",\n \"name\" : \"RBL Bank Limited\"\n }, {\n \"id\" : \"SWB_DIRECT\",\n \"name\" : \"Saraswat Bank\"\n }, {\n \"id\" : \"SHB_DIRECT\",\n \"name\" : \"Shivalik Mercantile Cooperative Bank Ltd\"\n }, {\n \"id\" : \"SIB_DIRECT\",\n \"name\" : \"South Indian Bank\"\n }, {\n \"id\" : \"SCB_DIRECT\",\n \"name\" : \"Standard Chartered Bank\"\n }, {\n \"id\" : \"SBI_DIRECT\",\n \"name\" : \"State Bank of India\"\n }, {\n \"id\" : \"SRB_DIRECT\",\n \"name\" : \"Suryoday Small Finance Bank\"\n }, {\n \"id\" : \"TJB_DIRECT\",\n \"name\" : \"TJSB Bank\"\n }, {\n \"id\" : \"TNC_DIRECT\",\n \"name\" : \"Tamil Nadu State Co-operative Bank\"\n }, {\n \"id\" : \"TMB_DIRECT\",\n \"name\" : \"Tamilnad Mercantile Bank Ltd\"\n }, {\n \"id\" : \"TBB_DIRECT\",\n \"name\" : \"Thane Bharat Sahakari Bank Ltd\"\n }, {\n \"id\" : \"MSB_DIRECT\",\n \"name\" : \"The Mehsana Urban Co Op Bank Ltd\"\n }, {\n \"id\" : \"UCO_DIRECT\",\n \"name\" : \"UCO Bank\"\n }, {\n \"id\" : \"UBI_DIRECT\",\n \"name\" : \"Union Bank of India\"\n }, {\n \"id\" : \"ADB_DIRECT\",\n \"name\" : \"Union Bank of India (Erstwhile Andhra Bank)\"\n }, {\n \"id\" : \"CRP_DIRECT\",\n \"name\" : \"Union Bank of India (Erstwhile Corporation Bank)\"\n }, {\n \"id\" : \"VRB_DIRECT\",\n \"name\" : \"Varachha Co-operative Bank Limited\"\n }, {\n \"id\" : \"VJB_DIRECT\",\n \"name\" : \"Vijaya Bank\"\n }, {\n \"id\" : \"YBK_DIRECT\",\n \"name\" : \"Yes Bank\"\n }, {\n \"id\" : \"ZOB_DIRECT\",\n \"name\" : \"Zoroastrian Co-operative Bank Limited\"\n }, {\n \"id\" : \"DBS_DIRECT\",\n \"name\" : \"digibank by DBS\"\n } ],\n \"key\" : \"issuer\",\n \"type\" : \"select\"\n } ],\n \"name\" : \"Online Banking India\",\n \"type\" : \"billdesk_online\"\n }, {\n \"name\" : \"UPI\",\n \"type\" : \"billdesk_upi\"\n }, {\n \"details\" : [ {\n \"items\" : [ {\n \"id\" : \"DCW_DIRECT\",\n \"name\" : \"DCB Cippy\"\n }, {\n \"id\" : \"ICC_DIRECT\",\n \"name\" : \"ICC Cash Card\"\n }, {\n \"id\" : \"OXY_DIRECT\",\n \"name\" : \"Oxigen Wallet\"\n }, {\n \"id\" : \"PCH_DIRECT\",\n \"name\" : \"Pay World Money\"\n } ],\n \"key\" : \"issuer\",\n \"type\" : \"select\"\n } ],\n \"name\" : \"Wallets India\",\n \"type\" : \"billdesk_wallet\"\n }, {\n \"name\" : \"Blik\",\n \"type\" : \"blik\"\n }, {\n \"name\" : \"Bloemen Giftcard\",\n \"type\" : \"bloemengiftcard\"\n }, {\n \"name\" : \"Boekenbon Giftcard\",\n \"type\" : \"boekenbon\"\n }, {\n \"name\" : \"Boleto\",\n \"type\" : \"boleto\"\n }, {\n \"name\" : \"Boleto Bancario\",\n \"type\" : \"boletobancario_santander\"\n }, {\n \"name\" : \"Bradesco\",\n \"type\" : \"bradesco\"\n }, {\n \"name\" : \"Cash-Ticket\",\n \"type\" : \"cashticket\"\n }, {\n \"name\" : \"CashU\",\n \"type\" : \"cashu\"\n }, {\n \"name\" : \"CCAvenue\",\n \"type\" : \"ccavenue\"\n }, {\n \"name\" : \"Mula Checkout\",\n \"type\" : \"cellulant\"\n }, {\n \"name\" : \"Chasin Giftcard\",\n \"type\" : \"chasingiftcard\"\n }, {\n \"name\" : \"Clearpay\",\n \"type\" : \"clearpay\"\n }, {\n \"name\" : \"ClickandBuy\",\n \"type\" : \"clickandbuy\"\n }, {\n \"name\" : \"Paiement en 3 fois par Cartes Bancaires\",\n \"type\" : \"cofinoga_3xcb\"\n }, {\n \"name\" : \"Costes Giftcard\",\n \"type\" : \"costesgiftcard\"\n }, {\n \"name\" : \"custom_settlement\",\n \"type\" : \"custom_settlement\"\n }, {\n \"name\" : \"DANA\",\n \"type\" : \"dana\"\n }, {\n \"name\" : \"DineroMail\",\n \"type\" : \"dineromail\"\n }, {\n \"name\" : \"Online bank transfer.\",\n \"type\" : \"directEbanking\"\n }, {\n \"name\" : \"Direct Debit Brazil - Banco do Brazil\",\n \"type\" : \"directdebit_BR_bancodobrasil\"\n }, {\n \"name\" : \"Direct Debit Brazil - Bradesco\",\n \"type\" : \"directdebit_BR_bradesco\"\n }, {\n \"name\" : \"Direct Debit Brazil - Caixa Economica Federal\",\n \"type\" : \"directdebit_BR_caixa\"\n }, {\n \"name\" : \"Direct Debit Brazil - HSBC\",\n \"type\" : \"directdebit_BR_hsbc\"\n }, {\n \"name\" : \"Direct Debit Brazil - Itau\",\n \"type\" : \"directdebit_BR_itau\"\n }, {\n \"name\" : \"Direct Debit Brazil - Santander\",\n \"type\" : \"directdebit_BR_santander\"\n }, {\n \"name\" : \"BACS Direct Debit\",\n \"type\" : \"directdebit_GB\"\n }, {\n \"details\" : [ {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n }, {\n \"key\" : \"firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"lastName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"infix\",\n \"optional\" : true,\n \"type\" : \"text\"\n } ],\n \"name\" : \"Alfamart\",\n \"type\" : \"doku_alfamart\"\n }, {\n \"details\" : [ {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n }, {\n \"key\" : \"firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"lastName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"infix\",\n \"optional\" : true,\n \"type\" : \"text\"\n } ],\n \"name\" : \"BCA Bank Transfer\",\n \"type\" : \"doku_bca_va\"\n }, {\n \"details\" : [ {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n }, {\n \"key\" : \"firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"lastName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"infix\",\n \"optional\" : true,\n \"type\" : \"text\"\n } ],\n \"name\" : \"BNI VA\",\n \"type\" : \"doku_bni_va\"\n }, {\n \"details\" : [ {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n }, {\n \"key\" : \"firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"lastName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"infix\",\n \"optional\" : true,\n \"type\" : \"text\"\n } ],\n \"name\" : \"BRI VA\",\n \"type\" : \"doku_bri_va\"\n }, {\n \"details\" : [ {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n }, {\n \"key\" : \"firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"lastName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"infix\",\n \"optional\" : true,\n \"type\" : \"text\"\n } ],\n \"name\" : \"CIMB VA\",\n \"type\" : \"doku_cimb_va\"\n }, {\n \"details\" : [ {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n }, {\n \"key\" : \"firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"lastName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"infix\",\n \"optional\" : true,\n \"type\" : \"text\"\n } ],\n \"name\" : \"Danamon VA\",\n \"type\" : \"doku_danamon_va\"\n }, {\n \"details\" : [ {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n }, {\n \"key\" : \"firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"lastName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"infix\",\n \"optional\" : true,\n \"type\" : \"text\"\n } ],\n \"name\" : \"Indomaret\",\n \"type\" : \"doku_indomaret\"\n }, {\n \"details\" : [ {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n }, {\n \"key\" : \"firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"lastName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"infix\",\n \"optional\" : true,\n \"type\" : \"text\"\n } ],\n \"name\" : \"Mandiri VA\",\n \"type\" : \"doku_mandiri_va\"\n }, {\n \"details\" : [ {\n \"key\" : \"ovoId\",\n \"type\" : \"text\"\n } ],\n \"name\" : \"OVO\",\n \"type\" : \"doku_ovo\"\n }, {\n \"details\" : [ {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n }, {\n \"key\" : \"firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"lastName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"infix\",\n \"optional\" : true,\n \"type\" : \"text\"\n } ],\n \"name\" : \"Bank Transfer\",\n \"type\" : \"doku_permata_lite_atm\"\n }, {\n \"details\" : [ {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n }, {\n \"key\" : \"firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"lastName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"infix\",\n \"optional\" : true,\n \"type\" : \"text\"\n } ],\n \"name\" : \"DOKU wallet\",\n \"type\" : \"doku_wallet\"\n }, {\n \"details\" : [ {\n \"items\" : [ {\n \"id\" : \"66\",\n \"name\" : \"Bank Nowy BFG S.A.\"\n }, {\n \"id\" : \"92\",\n \"name\" : \"Bank Spółdzielczy w Brodnicy\"\n }, {\n \"id\" : \"11\",\n \"name\" : \"Bank transfer / postal\"\n }, {\n \"id\" : \"74\",\n \"name\" : \"Banki Spółdzielcze\"\n }, {\n \"id\" : \"73\",\n \"name\" : \"BLIK\"\n }, {\n \"id\" : \"90\",\n \"name\" : \"BNP Paribas - płacę z Pl@net\"\n }, {\n \"id\" : \"59\",\n \"name\" : \"CinkciarzPAY\"\n }, {\n \"id\" : \"87\",\n \"name\" : \"Credit Agricole PBL\"\n }, {\n \"id\" : \"83\",\n \"name\" : \"EnveloBank\"\n }, {\n \"id\" : \"76\",\n \"name\" : \"Getin Bank PBL\"\n }, {\n \"id\" : \"81\",\n \"name\" : \"Idea Cloud\"\n }, {\n \"id\" : \"7\",\n \"name\" : \"ING Corporate customers\"\n }, {\n \"id\" : \"93\",\n \"name\" : \"Kasa Stefczyka\"\n }, {\n \"id\" : \"44\",\n \"name\" : \"Millennium - Płatności Internetowe\"\n }, {\n \"id\" : \"10\",\n \"name\" : \"Millennium Corporate customers\"\n }, {\n \"id\" : \"68\",\n \"name\" : \"mRaty\"\n }, {\n \"id\" : \"1\",\n \"name\" : \"mTransfer\"\n }, {\n \"id\" : \"91\",\n \"name\" : \"Nest Bank\"\n }, {\n \"id\" : \"80\",\n \"name\" : \"Noble Pay\"\n }, {\n \"id\" : \"50\",\n \"name\" : \"Pay Way Toyota Bank\"\n }, {\n \"id\" : \"45\",\n \"name\" : \"Pay with Alior Bank\"\n }, {\n \"id\" : \"36\",\n \"name\" : \"Pekao24Przelew\"\n }, {\n \"id\" : \"70\",\n \"name\" : \"Pocztowy24\"\n }, {\n \"id\" : \"6\",\n \"name\" : \"Przelew24\"\n }, {\n \"id\" : \"46\",\n \"name\" : \"Płacę z Citi Handlowy\"\n }, {\n \"id\" : \"38\",\n \"name\" : \"Płacę z ING\"\n }, {\n \"id\" : \"2\",\n \"name\" : \"Płacę z Inteligo\"\n }, {\n \"id\" : \"4\",\n \"name\" : \"Płacę z iPKO\"\n }, {\n \"id\" : \"75\",\n \"name\" : \"Płacę z Plus Bank\"\n }, {\n \"id\" : \"51\",\n \"name\" : \"Płać z BOŚ\"\n }, {\n \"id\" : \"55\",\n \"name\" : \"Raty z Alior Bankiem PLN\"\n }, {\n \"id\" : \"89\",\n \"name\" : \"Santander\"\n }, {\n \"id\" : \"52\",\n \"name\" : \"SkyCash\"\n } ],\n \"key\" : \"issuer\",\n \"type\" : \"select\"\n } ],\n \"name\" : \"Local Polish Payment Methods\",\n \"type\" : \"dotpay\"\n }, {\n \"name\" : \"Dragonpay Prepaid Credits\",\n \"type\" : \"dragonpay_credits\"\n }, {\n \"name\" : \"Online Banking\",\n \"type\" : \"dragonpay_ebanking\"\n }, {\n \"name\" : \"GCash\",\n \"type\" : \"dragonpay_gcash\"\n }, {\n \"name\" : \"Over The Counter Banks\",\n \"type\" : \"dragonpay_otc_banking\"\n }, {\n \"name\" : \"OTC non-Bank via Dragonpay\",\n \"type\" : \"dragonpay_otc_non_banking\"\n }, {\n \"name\" : \"Convenience Stores\",\n \"type\" : \"dragonpay_otc_philippines\"\n }, {\n \"name\" : \"7/11\",\n \"type\" : \"dragonpay_seveneleven\"\n }, {\n \"name\" : \"eagleeye_voucher\",\n \"type\" : \"eagleeye_voucher\"\n }, {\n \"name\" : \"Finnish E-Banking\",\n \"type\" : \"ebanking_FI\"\n }, {\n \"name\" : \"Pay-easy ATM\",\n \"type\" : \"econtext_atm\"\n }, {\n \"name\" : \"Online Banking\",\n \"type\" : \"econtext_online\"\n }, {\n \"name\" : \"7-Eleven\",\n \"type\" : \"econtext_seven_eleven\"\n }, {\n \"name\" : \"Convenience Stores\",\n \"type\" : \"econtext_stores\"\n }, {\n \"name\" : \"eft_directdebit_CA\",\n \"type\" : \"eft_directdebit_CA\"\n }, {\n \"name\" : \"Lastschrift (ELV)\",\n \"type\" : \"elv\"\n }, {\n \"details\" : [ {\n \"items\" : [ {\n \"id\" : \"231\",\n \"name\" : \"POP Pankki\"\n }, {\n \"id\" : \"551\",\n \"name\" : \"Komerční banka\"\n }, {\n \"id\" : \"232\",\n \"name\" : \"Aktia\"\n }, {\n \"id\" : \"552\",\n \"name\" : \"Raiffeisen\"\n }, {\n \"id\" : \"233\",\n \"name\" : \"Säästöpankki\"\n }, {\n \"id\" : \"750\",\n \"name\" : \"Swedbank\"\n }, {\n \"id\" : \"211\",\n \"name\" : \"Nordea\"\n }, {\n \"id\" : \"553\",\n \"name\" : \"ČSOB\"\n }, {\n \"id\" : \"234\",\n \"name\" : \"S-Pankki\"\n }, {\n \"id\" : \"751\",\n \"name\" : \"SEB\"\n }, {\n \"id\" : \"554\",\n \"name\" : \"Moneta\"\n }, {\n \"id\" : \"235\",\n \"name\" : \"OmaSP\"\n }, {\n \"id\" : \"752\",\n \"name\" : \"Nordea\"\n }, {\n \"id\" : \"213\",\n \"name\" : \"Op-Pohjola\"\n }, {\n \"id\" : \"555\",\n \"name\" : \"UniCredit\"\n }, {\n \"id\" : \"753\",\n \"name\" : \"LHV\"\n }, {\n \"id\" : \"556\",\n \"name\" : \"Fio\"\n }, {\n \"id\" : \"557\",\n \"name\" : \"mBank\"\n }, {\n \"id\" : \"216\",\n \"name\" : \"Handelsbanken\"\n }, {\n \"id\" : \"558\",\n \"name\" : \"Air Bank\"\n }, {\n \"id\" : \"260\",\n \"name\" : \"Länsförsäkringar\"\n }, {\n \"id\" : \"240\",\n \"name\" : \"BankDeposit\"\n }, {\n \"id\" : \"265\",\n \"name\" : \"Sparbanken\"\n }, {\n \"id\" : \"640\",\n \"name\" : \"BankDeposit\"\n }, {\n \"id\" : \"200\",\n \"name\" : \"Ålandsbanken\"\n }, {\n \"id\" : \"940\",\n \"name\" : \"Swedbank\"\n }, {\n \"id\" : \"500\",\n \"name\" : \"Česká spořitelna\"\n }, {\n \"id\" : \"720\",\n \"name\" : \"Swedbank\"\n }, {\n \"id\" : \"941\",\n \"name\" : \"SEB\"\n }, {\n \"id\" : \"204\",\n \"name\" : \"Danske Bank\"\n }, {\n \"id\" : \"721\",\n \"name\" : \"SEB\"\n }, {\n \"id\" : \"942\",\n \"name\" : \"Citadele\"\n }, {\n \"id\" : \"205\",\n \"name\" : \"Handelsbanken\"\n }, {\n \"id\" : \"722\",\n \"name\" : \"DNB\"\n }, {\n \"id\" : \"943\",\n \"name\" : \"DNB\"\n }, {\n \"id\" : \"206\",\n \"name\" : \"Nordea\"\n }, {\n \"id\" : \"723\",\n \"name\" : \"Šiaulių bankas\"\n }, {\n \"id\" : \"207\",\n \"name\" : \"SEB\"\n }, {\n \"id\" : \"724\",\n \"name\" : \"Nordea\"\n }, {\n \"id\" : \"505\",\n \"name\" : \"Komerční banka\"\n }, {\n \"id\" : \"208\",\n \"name\" : \"Skandiabanken\"\n }, {\n \"id\" : \"209\",\n \"name\" : \"Swedbank\"\n } ],\n \"key\" : \"issuer\",\n \"type\" : \"select\"\n } ],\n \"name\" : \"Bank Payment\",\n \"type\" : \"entercash\"\n }, {\n \"name\" : \"Nationale Entertainment Card\",\n \"type\" : \"entertainmentcard\"\n }, {\n \"details\" : [ {\n \"items\" : [ {\n \"id\" : \"d5d5b133-1c0d-4c08-b2be-3c9b116dc326\",\n \"name\" : \"Dolomitenbank\"\n }, {\n \"id\" : \"ee9fc487-ebe0-486c-8101-17dce5141a67\",\n \"name\" : \"Raiffeissen Bankengruppe\"\n }, {\n \"id\" : \"6765e225-a0dc-4481-9666-e26303d4f221\",\n \"name\" : \"Hypo Tirol Bank AG\"\n }, {\n \"id\" : \"8b0bfeea-fbb0-4337-b3a1-0e25c0f060fc\",\n \"name\" : \"Sparda Bank Wien\"\n }, {\n \"id\" : \"1190c4d1-b37a-487e-9355-e0a067f54a9f\",\n \"name\" : \"Schoellerbank AG\"\n }, {\n \"id\" : \"e2e97aaa-de4c-4e18-9431-d99790773433\",\n \"name\" : \"Volksbank Gruppe\"\n }, {\n \"id\" : \"bb7d223a-17d5-48af-a6ef-8a2bf5a4e5d9\",\n \"name\" : \"Immo-Bank\"\n }, {\n \"id\" : \"e6819e7a-f663-414b-92ec-cf7c82d2f4e5\",\n \"name\" : \"Bank Austria\"\n }, {\n \"id\" : \"eff103e6-843d-48b7-a6e6-fbd88f511b11\",\n \"name\" : \"Easybank AG\"\n }, {\n \"id\" : \"25942cc9-617d-42a1-89ba-d1ab5a05770a\",\n \"name\" : \"VR-BankBraunau\"\n }, {\n \"id\" : \"4a0a975b-0594-4b40-9068-39f77b3a91f9\",\n \"name\" : \"Volkskreditbank\"\n }, {\n \"id\" : \"3fdc41fc-3d3d-4ee3-a1fe-cd79cfd58ea3\",\n \"name\" : \"Erste Bank und Sparkassen\"\n }, {\n \"id\" : \"ba7199cc-f057-42f2-9856-2378abf21638\",\n \"name\" : \"BAWAG P.S.K. Gruppe\"\n } ],\n \"key\" : \"issuer\",\n \"type\" : \"select\"\n } ],\n \"name\" : \"EPS\",\n \"type\" : \"eps\"\n }, {\n \"name\" : \"Expert Cadeaukaart\",\n \"type\" : \"expertgiftcard\"\n }, {\n \"details\" : [ {\n \"details\" : [ {\n \"key\" : \"firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"lastName\",\n \"type\" : \"text\"\n }, {\n \"items\" : [ {\n \"id\" : \"M\",\n \"name\" : \"male\"\n }, {\n \"id\" : \"F\",\n \"name\" : \"female\"\n } ],\n \"key\" : \"gender\",\n \"type\" : \"radio\"\n }, {\n \"key\" : \"telephoneNumber\",\n \"type\" : \"tel\"\n }, {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n } ],\n \"key\" : \"personalDetails\",\n \"type\" : \"fieldSet\"\n }, {\n \"details\" : [ {\n \"key\" : \"street\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"houseNumberOrName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"city\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"postalCode\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"stateOrProvince\",\n \"optional\" : true,\n \"type\" : \"text\"\n }, {\n \"items\" : [ {\n \"id\" : \"FR\",\n \"name\" : \"France\"\n }, {\n \"id\" : \"ES\",\n \"name\" : \"Spain\"\n } ],\n \"key\" : \"country\",\n \"type\" : \"select\"\n } ],\n \"key\" : \"billingAddress\",\n \"type\" : \"address\"\n }, {\n \"key\" : \"separateDeliveryAddress\",\n \"optional\" : true,\n \"type\" : \"boolean\",\n \"value\" : \"false\"\n }, {\n \"details\" : [ {\n \"key\" : \"street\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"houseNumberOrName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"city\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"postalCode\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"stateOrProvince\",\n \"optional\" : true,\n \"type\" : \"text\"\n }, {\n \"items\" : [ {\n \"id\" : \"FR\",\n \"name\" : \"France\"\n }, {\n \"id\" : \"ES\",\n \"name\" : \"Spain\"\n } ],\n \"key\" : \"country\",\n \"type\" : \"select\"\n } ],\n \"key\" : \"deliveryAddress\",\n \"optional\" : true,\n \"type\" : \"address\"\n } ],\n \"name\" : \"3x Oney\",\n \"type\" : \"facilypay_3x\"\n }, {\n \"details\" : [ {\n \"details\" : [ {\n \"key\" : \"firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"lastName\",\n \"type\" : \"text\"\n }, {\n \"items\" : [ {\n \"id\" : \"M\",\n \"name\" : \"male\"\n }, {\n \"id\" : \"F\",\n \"name\" : \"female\"\n } ],\n \"key\" : \"gender\",\n \"type\" : \"radio\"\n }, {\n \"key\" : \"telephoneNumber\",\n \"type\" : \"tel\"\n }, {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n } ],\n \"key\" : \"personalDetails\",\n \"type\" : \"fieldSet\"\n }, {\n \"details\" : [ {\n \"key\" : \"street\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"houseNumberOrName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"city\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"postalCode\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"stateOrProvince\",\n \"optional\" : true,\n \"type\" : \"text\"\n }, {\n \"items\" : [ {\n \"id\" : \"FR\",\n \"name\" : \"France\"\n }, {\n \"id\" : \"ES\",\n \"name\" : \"Spain\"\n } ],\n \"key\" : \"country\",\n \"type\" : \"select\"\n } ],\n \"key\" : \"billingAddress\",\n \"type\" : \"address\"\n }, {\n \"key\" : \"separateDeliveryAddress\",\n \"optional\" : true,\n \"type\" : \"boolean\",\n \"value\" : \"false\"\n }, {\n \"details\" : [ {\n \"key\" : \"street\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"houseNumberOrName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"city\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"postalCode\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"stateOrProvince\",\n \"optional\" : true,\n \"type\" : \"text\"\n }, {\n \"items\" : [ {\n \"id\" : \"FR\",\n \"name\" : \"France\"\n }, {\n \"id\" : \"ES\",\n \"name\" : \"Spain\"\n } ],\n \"key\" : \"country\",\n \"type\" : \"select\"\n } ],\n \"key\" : \"deliveryAddress\",\n \"optional\" : true,\n \"type\" : \"address\"\n } ],\n \"name\" : \"4x Oney\",\n \"type\" : \"facilypay_4x\"\n }, {\n \"name\" : \"Fashioncheque\",\n \"type\" : \"fashioncheque\"\n }, {\n \"details\" : [ {\n \"key\" : \"shopper.firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"shopper.lastName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"shopper.gender\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n }, {\n \"key\" : \"telephoneNumber\",\n \"type\" : \"tel\"\n }, {\n \"key\" : \"countryCode\",\n \"type\" : \"text\"\n } ],\n \"name\" : \"Fawry\",\n \"type\" : \"fawry\"\n }, {\n \"name\" : \"FijnCadeau\",\n \"type\" : \"fijncadeau\"\n }, {\n \"name\" : \"Fleurop Bloemenbon\",\n \"type\" : \"fleuropbloemenbon\"\n }, {\n \"name\" : \"Fonq Giftcard\",\n \"type\" : \"fonqgiftcard\"\n }, {\n \"name\" : \"Gall & Gall\",\n \"type\" : \"gallgall\"\n }, {\n \"name\" : \"GCash\",\n \"type\" : \"gcash\"\n }, {\n \"name\" : \"Generic GiftCard\",\n \"type\" : \"genericgiftcard\"\n }, {\n \"name\" : \"GiftFor2\",\n \"type\" : \"giftfor2card\"\n }, {\n \"name\" : \"Givex\",\n \"type\" : \"givex\"\n }, {\n \"name\" : \"Globe GCash\",\n \"type\" : \"globegcash\"\n }, {\n \"name\" : \"Goldsmiths Card\",\n \"type\" : \"goldsmithscard\"\n }, {\n \"name\" : \"GoPay Wallet\",\n \"type\" : \"gopay_wallet\"\n }, {\n \"name\" : \"OVO\",\n \"type\" : \"grabpay_ID\"\n }, {\n \"name\" : \"GrabPay\",\n \"type\" : \"grabpay_PH\"\n }, {\n \"name\" : \"GrabPay\",\n \"type\" : \"grabpay_SG\"\n }, {\n \"name\" : \"Hallmark Card\",\n \"type\" : \"hallmarkcard\"\n }, {\n \"name\" : \"HDFC\",\n \"type\" : \"hdfc\"\n }, {\n \"name\" : \"Hunkemoller Member Card\",\n \"type\" : \"hmclub\"\n }, {\n \"name\" : \"Hunkemoller Lingerie Card\",\n \"type\" : \"hmlingerie\"\n }, {\n \"details\" : [ {\n \"items\" : [ {\n \"id\" : \"1121\",\n \"name\" : \"Test Issuer\"\n }, {\n \"id\" : \"1154\",\n \"name\" : \"Test Issuer 5\"\n }, {\n \"id\" : \"1153\",\n \"name\" : \"Test Issuer 4\"\n }, {\n \"id\" : \"1152\",\n \"name\" : \"Test Issuer 3\"\n }, {\n \"id\" : \"1151\",\n \"name\" : \"Test Issuer 2\"\n }, {\n \"id\" : \"1162\",\n \"name\" : \"Test Issuer Cancelled\"\n }, {\n \"id\" : \"1161\",\n \"name\" : \"Test Issuer Pending\"\n }, {\n \"id\" : \"1160\",\n \"name\" : \"Test Issuer Refused\"\n }, {\n \"id\" : \"1159\",\n \"name\" : \"Test Issuer 10\"\n }, {\n \"id\" : \"1158\",\n \"name\" : \"Test Issuer 9\"\n }, {\n \"id\" : \"1157\",\n \"name\" : \"Test Issuer 8\"\n }, {\n \"id\" : \"1156\",\n \"name\" : \"Test Issuer 7\"\n }, {\n \"id\" : \"1155\",\n \"name\" : \"Test Issuer 6\"\n } ],\n \"key\" : \"issuer\",\n \"type\" : \"select\"\n } ],\n \"name\" : \"iDEAL\",\n \"type\" : \"ideal\"\n }, {\n \"name\" : \"igive\",\n \"type\" : \"igive\"\n }, {\n \"name\" : \"Korean Account Transfer (IniPay)\",\n \"type\" : \"inicisIniPay_accounttransfer\"\n }, {\n \"name\" : \"Korean Credit Cards (IniPay)\",\n \"type\" : \"inicisIniPay_creditcard\"\n }, {\n \"name\" : \"Korean Mobile Phone (IniPay)\",\n \"type\" : \"inicisIniPay_mobilephone\"\n }, {\n \"name\" : \"Korean Virtual Account (IniPay)\",\n \"type\" : \"inicisIniPay_virtualaccount\"\n }, {\n \"name\" : \"Korean Account Transfer (Mobile)\",\n \"type\" : \"inicisMobile_accounttransfer\"\n }, {\n \"name\" : \"Korean Credit Cards (Mobile)\",\n \"type\" : \"inicisMobile_creditcard\"\n }, {\n \"name\" : \"Korean Mobile Phone (Mobile)\",\n \"type\" : \"inicisMobile_mobilephone\"\n }, {\n \"name\" : \"Korean Virtual Account (Mobile)\",\n \"type\" : \"inicisMobile_virtualaccount\"\n }, {\n \"name\" : \"Korean Credit Cards\",\n \"type\" : \"inicis_creditcard\"\n }, {\n \"name\" : \"Interac® Online\",\n \"type\" : \"interac\"\n }, {\n \"name\" : \"Instant EFT\",\n \"type\" : \"ipay\"\n }, {\n \"name\" : \"iPay88\",\n \"type\" : \"ipay88\"\n }, {\n \"name\" : \"isracard\",\n \"type\" : \"isracard\"\n }, {\n \"name\" : \"Phone Payment\",\n \"type\" : \"ivr\"\n }, {\n \"name\" : \"Landline phone\",\n \"type\" : \"ivrLandline\"\n }, {\n \"name\" : \"Mobile phone\",\n \"type\" : \"ivrMobile\"\n }, {\n \"name\" : \"Kado Wereld\",\n \"type\" : \"kadowereld\"\n }, {\n \"name\" : \"KakaoPay\",\n \"type\" : \"kakaopay\"\n }, {\n \"name\" : \"Karen Millen Card\",\n \"type\" : \"karenmillen\"\n }, {\n \"name\" : \"Karen Millen GiftCard\",\n \"type\" : \"karenmillengiftcard\"\n }, {\n \"name\" : \"Bank Transfer\",\n \"type\" : \"kcp_banktransfer\"\n }, {\n \"name\" : \"Korea–issued cards\",\n \"type\" : \"kcp_creditcard\"\n }, {\n \"name\" : \"PayCo\",\n \"type\" : \"kcp_payco\"\n }, {\n \"name\" : \"Naver Pay\",\n \"type\" : \"kcp_naverpay\"\n }, {\n \"name\" : \"Virtual Account via KCP\",\n \"type\" : \"kcp_va\"\n }, {\n \"name\" : \"Pay later with Klarna.\",\n \"type\" : \"klarna\"\n }, {\n \"name\" : \"Pay over time with Klarna.\",\n \"type\" : \"klarna_account\"\n }, {\n \"name\" : \"Buy Now, Pay Later with Billie\",\n \"type\" : \"klarna_b2b\"\n }, {\n \"name\" : \"Pay now with Klarna.\",\n \"type\" : \"klarna_paynow\"\n }, {\n \"name\" : \"Leisure Card\",\n \"type\" : \"leisurecard\"\n }, {\n \"name\" : \"China Credit Card\",\n \"type\" : \"lianlianpay_creditcard\"\n }, {\n \"name\" : \"China Debit Card\",\n \"type\" : \"lianlianpay_debitcard\"\n }, {\n \"details\" : [ {\n \"key\" : \"telephoneNumber\",\n \"type\" : \"tel\"\n } ],\n \"name\" : \"China Online Banking - Credit Card\",\n \"type\" : \"lianlianpay_ebanking_credit\"\n }, {\n \"details\" : [ {\n \"items\" : [ {\n \"id\" : \"01030000\",\n \"name\" : \"Agricultural Bank of China\"\n }, {\n \"id\" : \"4031000\",\n \"name\" : \"Bank of Beijing\"\n }, {\n \"id\" : \"01040000\",\n \"name\" : \"Bank of China\"\n }, {\n \"id\" : \"03020000\",\n \"name\" : \"China Citic Bank\"\n }, {\n \"id\" : \"01050000\",\n \"name\" : \"China Construction Bank\"\n }, {\n \"id\" : \"03030000\",\n \"name\" : \"China Everbright Bank\"\n }, {\n \"id\" : \"03080000\",\n \"name\" : \"China Merchants Bank\"\n }, {\n \"id\" : \"03050000\",\n \"name\" : \"China Minsheng Banking Group\"\n }, {\n \"id\" : \"03040000\",\n \"name\" : \"Hua Xia Bank Co\"\n }, {\n \"id\" : \"01020000\",\n \"name\" : \"Industrial and Commercial Bank of China\"\n }, {\n \"id\" : \"03070000\",\n \"name\" : \"PingAn Bank\"\n }, {\n \"id\" : \"1000000\",\n \"name\" : \"Postal Savings Bank of China\"\n } ],\n \"key\" : \"issuer\",\n \"type\" : \"select\"\n }, {\n \"key\" : \"telephoneNumber\",\n \"type\" : \"tel\"\n } ],\n \"name\" : \"China Online Banking - Debit Card\",\n \"type\" : \"lianlianpay_ebanking_debit\"\n }, {\n \"details\" : [ {\n \"items\" : [ {\n \"id\" : \"01030000\",\n \"name\" : \"Agricultural Bank of China\"\n }, {\n \"id\" : \"01050000\",\n \"name\" : \"China Construction Bank\"\n }, {\n \"id\" : \"03080000\",\n \"name\" : \"China Merchants Bank\"\n }, {\n \"id\" : \"01020000\",\n \"name\" : \"Industrial and Commercial Bank of China\"\n }, {\n \"id\" : \"03100000\",\n \"name\" : \"Shanghai Pudong Development Bank\"\n } ],\n \"key\" : \"issuer\",\n \"type\" : \"select\"\n }, {\n \"key\" : \"telephoneNumber\",\n \"type\" : \"tel\"\n } ],\n \"name\" : \"China Online Banking - Enterprise\",\n \"type\" : \"lianlianpay_ebanking_enterprise\"\n }, {\n \"name\" : \"Loods5 Cadeaukaart\",\n \"type\" : \"loods5giftcard\"\n }, {\n \"name\" : \"Loods5 Tegoedbon\",\n \"type\" : \"loods5prepaidcard\"\n }, {\n \"name\" : \"Love2Shop GiftCard\",\n \"type\" : \"love2shop\"\n }, {\n \"details\" : [ {\n \"key\" : \"shopper.firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"shopper.lastName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"shopper.gender\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n }, {\n \"key\" : \"telephoneNumber\",\n \"type\" : \"tel\"\n }, {\n \"key\" : \"countryCode\",\n \"type\" : \"text\"\n } ],\n \"name\" : \"mada\",\n \"type\" : \"mada\"\n }, {\n \"name\" : \"Mappin & Webb Card\",\n \"type\" : \"mappinwebbcard\"\n }, {\n \"name\" : \"MB WAY\",\n \"type\" : \"mbway\"\n }, {\n \"details\" : [ {\n \"key\" : \"additionalData.amazonPayToken\",\n \"type\" : \"text\"\n } ],\n \"name\" : \"Amazon Pay\",\n \"supportsRecurring\" : true,\n \"type\" : \"amazonpay\"\n }, {\n \"name\" : \"Mercado Pago\",\n \"type\" : \"mercadopago\"\n }, {\n \"name\" : \"MobilePay\",\n \"type\" : \"mobilepay\"\n }, {\n \"name\" : \"AliPay via Razer Merchant Services\",\n \"type\" : \"molpay_alipay\"\n }, {\n \"name\" : \"7-Eleven\",\n \"type\" : \"molpay_cash\"\n }, {\n \"name\" : \"CIMB Virtual Account\",\n \"type\" : \"molpay_cimb_va\"\n }, {\n \"name\" : \"Malaysia E-Banking via Razer Merchant Services\",\n \"type\" : \"molpay_ebanking_MY\"\n }, {\n \"details\" : [ {\n \"items\" : [ {\n \"id\" : \"vtcpay-vietinbank\",\n \"name\" : \"Vietinbank\"\n }, {\n \"id\" : \"vtcpay-bidv\",\n \"name\" : \"BIDV\"\n }, {\n \"id\" : \"vtcpay-agribank\",\n \"name\" : \"Agribank\"\n }, {\n \"id\" : \"vtcpay-mb\",\n \"name\" : \"MB Bank\"\n }, {\n \"id\" : \"vtcpay-sacombank\",\n \"name\" : \"Sacombank\"\n }, {\n \"id\" : \"vtcpay-dongabank\",\n \"name\" : \"DongABank\"\n }, {\n \"id\" : \"vtcpay-maritimebank\",\n \"name\" : \"MaritimeBank\"\n }, {\n \"id\" : \"vtcpay-vietcombank\",\n \"name\" : \"Vietcombank\"\n }, {\n \"id\" : \"vtcpay-acb\",\n \"name\" : \"ACB\"\n }, {\n \"id\" : \"vtcpay-techcombank\",\n \"name\" : \"Techcombank\"\n } ],\n \"key\" : \"issuer\",\n \"type\" : \"select\"\n } ],\n \"name\" : \"Vietnam E-Banking\",\n \"type\" : \"molpay_ebanking_VN\"\n }, {\n \"details\" : [ {\n \"items\" : [ {\n \"id\" : \"fpx_bimb\",\n \"name\" : \"Bank Islam\"\n }, {\n \"id\" : \"fpx_uob\",\n \"name\" : \"UOB Bank\"\n }, {\n \"id\" : \"fpx_cimbclicks\",\n \"name\" : \"CIMB Clicks\"\n }, {\n \"id\" : \"fpx_kfh\",\n \"name\" : \"Kuwait Finance House\"\n }, {\n \"id\" : \"fpx_rhb\",\n \"name\" : \"RHB Now\"\n }, {\n \"id\" : \"fpx_abmb\",\n \"name\" : \"Alliance Bank\"\n }, {\n \"id\" : \"fpx_amb\",\n \"name\" : \"Am Online\"\n }, {\n \"id\" : \"fpx_hsbc\",\n \"name\" : \"HSBC\"\n }, {\n \"id\" : \"fpx_abb\",\n \"name\" : \"Affin Bank\"\n }, {\n \"id\" : \"fpx_ocbc\",\n \"name\" : \"OCBC Bank\"\n }, {\n \"id\" : \"fpx_pbb\",\n \"name\" : \"Public Bank\"\n }, {\n \"id\" : \"fpx_scb\",\n \"name\" : \"Standard Chartered Bank\"\n }, {\n \"id\" : \"fpx_bsn\",\n \"name\" : \"Bank Simpanan Nasional\"\n }, {\n \"id\" : \"fpx_mb2u\",\n \"name\" : \"Maybank2u\"\n }, {\n \"id\" : \"fpx_hlb\",\n \"name\" : \"Hong Leong Connect\"\n }, {\n \"id\" : \"fpx_bmmb\",\n \"name\" : \"Bank Muamalat\"\n }, {\n \"id\" : \"fpx_bkrm\",\n \"name\" : \"Bank Rakyat\"\n } ],\n \"key\" : \"issuer\",\n \"type\" : \"select\"\n } ],\n \"name\" : \"Malaysia E-Banking\",\n \"type\" : \"molpay_ebanking_fpx_MY\"\n }, {\n \"name\" : \"eNETS Debit\",\n \"type\" : \"molpay_enetsd\"\n }, {\n \"name\" : \"epay\",\n \"type\" : \"molpay_epay\"\n }, {\n \"name\" : \"Esapay\",\n \"type\" : \"molpay_esapay\"\n }, {\n \"name\" : \"MyClear FPX\",\n \"type\" : \"molpay_fpx\"\n }, {\n \"name\" : \"Maybank2u\",\n \"type\" : \"molpay_maybank2u\"\n }, {\n \"name\" : \"Nganluong\",\n \"type\" : \"molpay_nganluong\"\n }, {\n \"name\" : \"Convenience Stores Thailand\",\n \"type\" : \"molpay_paysbuy\"\n }, {\n \"name\" : \"MOLPoints\",\n \"type\" : \"molpay_points\"\n }, {\n \"name\" : \"RHB Now\",\n \"type\" : \"molpay_rhb\"\n }, {\n \"name\" : \"SAM by SingPost\",\n \"type\" : \"molpay_singpost\"\n }, {\n \"name\" : \"MOLWallet\",\n \"type\" : \"molpay_wallet\"\n }, {\n \"name\" : \"MoMo ATM\",\n \"type\" : \"momo_atm\"\n }, {\n \"name\" : \"Momo Wallet\",\n \"type\" : \"momo_wallet\"\n }, {\n \"name\" : \"Moneybookers\",\n \"type\" : \"moneybookers\"\n }, {\n \"name\" : \"Multibanco\",\n \"type\" : \"multibanco\"\n }, {\n \"name\" : \"De Nationale Musicalcard\",\n \"type\" : \"musicalcard\"\n }, {\n \"name\" : \"Nationale Bioscoopbon\",\n \"type\" : \"nationalebioscoopbon\"\n }, {\n \"name\" : \"Nationale Tuinbon\",\n \"type\" : \"nationaletuinbon\"\n }, {\n \"name\" : \"Nationale Verwen Cadeaubon\",\n \"type\" : \"nationaleverwencadeaubon\"\n }, {\n \"name\" : \"BankAxess\",\n \"type\" : \"netaxept_bankaxess\"\n }, {\n \"name\" : \"NETELLER\",\n \"type\" : \"neteller\"\n }, {\n \"name\" : \"Onebip\",\n \"type\" : \"onebip\"\n }, {\n \"name\" : \"One Two Three\",\n \"type\" : \"onetwothree\"\n }, {\n \"name\" : \"Online Banking PL\",\n \"type\" : \"onlineBanking_PL\"\n }, {\n \"details\" : [ {\n \"items\" : [ {\n \"id\" : \"1\",\n \"name\" : \"Model Bank v2\"\n } ],\n \"key\" : \"issuer\",\n \"type\" : \"select\"\n } ],\n \"name\" : \"Online banking\",\n \"type\" : \"openbanking_UK\"\n }, {\n \"name\" : \"Oxxo\",\n \"type\" : \"oxxo\"\n }, {\n \"name\" : \"Pathe Giftcard\",\n \"type\" : \"pathegiftcard\"\n }, {\n \"name\" : \"PayBright\",\n \"type\" : \"paybright\"\n }, {\n \"name\" : \"Maya Wallet\",\n \"type\" : \"paymaya_wallet\"\n }, {\n \"name\" : \"PayPal\",\n \"type\" : \"paypal\"\n }, {\n \"name\" : \"Paysafecard\",\n \"type\" : \"paysafecard\"\n }, {\n \"name\" : \"Payshop\",\n \"type\" : \"payshop\"\n }, {\n \"name\" : \"PayD AMT via Paythru\",\n \"type\" : \"paythru_amt\"\n }, {\n \"name\" : \"EFT via Paythru\",\n \"type\" : \"paythru_eft\"\n }, {\n \"name\" : \"PayTM\",\n \"type\" : \"paytm\"\n }, {\n \"details\" : [ {\n \"key\" : \"virtualPaymentAddress\",\n \"type\" : \"text\"\n } ],\n \"name\" : \"PayU UPI\",\n \"type\" : \"payu_IN_upi\"\n }, {\n \"name\" : \"EFT Pro via PayU\",\n \"type\" : \"payu_ZA_eftpro\"\n }, {\n \"details\" : [ {\n \"key\" : \"additionalData.paywithgoogle.token\",\n \"type\" : \"payWithGoogleToken\"\n } ],\n \"name\" : \"Google Pay\",\n \"type\" : \"paywithgoogle\"\n }, {\n \"name\" : \"pix\",\n \"type\" : \"pix\"\n }, {\n \"name\" : \"Plastix\",\n \"type\" : \"plastix\"\n }, {\n \"name\" : \"Pluim\",\n \"type\" : \"pluimgiftcard\"\n }, {\n \"name\" : \"Podium Card\",\n \"type\" : \"podiumcard\"\n }, {\n \"name\" : \"POLi\",\n \"type\" : \"poli\"\n }, {\n \"name\" : \"PPS\",\n \"type\" : \"pps\"\n }, {\n \"name\" : \"Primera Cadeaukaart\",\n \"type\" : \"primeracadeaucard\"\n }, {\n \"name\" : \"Illicado Gift Card\",\n \"type\" : \"prosodie_illicado\"\n }, {\n \"name\" : \"PSE\",\n \"type\" : \"pse\"\n }, {\n \"details\" : [ {\n \"items\" : [ {\n \"id\" : \"+7\",\n \"name\" : \"RU\"\n }, {\n \"id\" : \"+9955\",\n \"name\" : \"GE\"\n }, {\n \"id\" : \"+507\",\n \"name\" : \"PA\"\n }, {\n \"id\" : \"+44\",\n \"name\" : \"GB\"\n }, {\n \"id\" : \"+992\",\n \"name\" : \"TJ\"\n }, {\n \"id\" : \"+370\",\n \"name\" : \"LT\"\n }, {\n \"id\" : \"+972\",\n \"name\" : \"IL\"\n }, {\n \"id\" : \"+996\",\n \"name\" : \"KG\"\n }, {\n \"id\" : \"+380\",\n \"name\" : \"UA\"\n }, {\n \"id\" : \"+84\",\n \"name\" : \"VN\"\n }, {\n \"id\" : \"+90\",\n \"name\" : \"TR\"\n }, {\n \"id\" : \"+994\",\n \"name\" : \"AZ\"\n }, {\n \"id\" : \"+374\",\n \"name\" : \"AM\"\n }, {\n \"id\" : \"+371\",\n \"name\" : \"LV\"\n }, {\n \"id\" : \"+91\",\n \"name\" : \"IN\"\n }, {\n \"id\" : \"+66\",\n \"name\" : \"TH\"\n }, {\n \"id\" : \"+373\",\n \"name\" : \"MD\"\n }, {\n \"id\" : \"+1\",\n \"name\" : \"US\"\n }, {\n \"id\" : \"+81\",\n \"name\" : \"JP\"\n }, {\n \"id\" : \"+998\",\n \"name\" : \"UZ\"\n }, {\n \"id\" : \"+77\",\n \"name\" : \"KZ\"\n }, {\n \"id\" : \"+375\",\n \"name\" : \"BY\"\n }, {\n \"id\" : \"+372\",\n \"name\" : \"EE\"\n }, {\n \"id\" : \"+40\",\n \"name\" : \"RO\"\n }, {\n \"id\" : \"+82\",\n \"name\" : \"KR\"\n } ],\n \"key\" : \"qiwiwallet.telephoneNumberPrefix\",\n \"type\" : \"select\"\n }, {\n \"key\" : \"qiwiwallet.telephoneNumber\",\n \"type\" : \"text\"\n } ],\n \"name\" : \"Qiwi Wallet\",\n \"type\" : \"qiwiwallet\"\n }, {\n \"name\" : \"RatePay Invoice\",\n \"type\" : \"ratepay\"\n }, {\n \"name\" : \"RatePay Direct Debit\",\n \"type\" : \"ratepay_directdebit\"\n }, {\n \"name\" : \"Rituals Giftcard\",\n \"type\" : \"rituals\"\n }, {\n \"name\" : \"Rob Peetoom Giftcard\",\n \"type\" : \"robpeetoomgiftcard\"\n }, {\n \"name\" : \"SafetyPay\",\n \"type\" : \"safetypay\"\n }, {\n \"name\" : \"SafetyPay Cash\",\n \"type\" : \"safetypay_cash\"\n }, {\n \"name\" : \"Shoes&Accessories Cadeau\",\n \"type\" : \"sagiftcard\"\n }, {\n \"name\" : \"Score Giftcard\",\n \"type\" : \"scoregiftcard\"\n }, {\n \"name\" : \"SEB Direktbetalning\",\n \"type\" : \"sebdirectpayment\"\n }, {\n \"details\" : [ {\n \"key\" : \"sepa.ownerName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"sepa.ibanNumber\",\n \"type\" : \"text\"\n } ],\n \"name\" : \"SEPA Direct Debit\",\n \"type\" : \"sepadirectdebit\"\n }, {\n \"name\" : \"7-Eleven\",\n \"type\" : \"seveneleven\"\n }, {\n \"name\" : \"Premium SMS\",\n \"type\" : \"sms\"\n }, {\n \"name\" : \"SVS\",\n \"type\" : \"svs\"\n }, {\n \"name\" : \"Swish\",\n \"type\" : \"swish\"\n }, {\n \"name\" : \"TCS Test GiftCard\",\n \"type\" : \"tcstestgiftcard\"\n }, {\n \"name\" : \"TenPay\",\n \"type\" : \"tenpay\"\n }, {\n \"name\" : \"The Sting Giftcard\",\n \"type\" : \"thestinggiftcard\"\n }, {\n \"name\" : \"TrueMoney\",\n \"type\" : \"truemoney\"\n }, {\n \"name\" : \"Trustly\",\n \"type\" : \"trustly\"\n }, {\n \"name\" : \"Online Banking by Trustpay\",\n \"type\" : \"trustpay\"\n }, {\n \"name\" : \"TWINT\",\n \"type\" : \"twint\"\n }, {\n \"name\" : \"Ukash\",\n \"type\" : \"ukash\"\n }, {\n \"name\" : \"UnionPay\",\n \"type\" : \"unionpay\"\n }, {\n \"details\" : [ {\n \"key\" : \"virtualPaymentAddress\",\n \"type\" : \"text\"\n } ],\n \"name\" : \"UPI Collect\",\n \"type\" : \"upi_collect\"\n }, {\n \"name\" : \"Valuelink\",\n \"type\" : \"valuelink\"\n }, {\n \"name\" : \"V&D Cadeaukaart\",\n \"type\" : \"vdcadeaucard\"\n }, {\n \"details\" : [ {\n \"key\" : \"telephoneNumber\",\n \"optional\" : true,\n \"type\" : \"tel\"\n } ],\n \"name\" : \"Vipps\",\n \"type\" : \"vipps\"\n }, {\n \"details\" : [ {\n \"key\" : \"additionalData.visacheckout.callId\",\n \"type\" : \"text\"\n } ],\n \"name\" : \"Visa Checkout\",\n \"type\" : \"visacheckout\"\n }, {\n \"name\" : \"VVV Cadeaubon\",\n \"type\" : \"vvvcadeaubon\"\n }, {\n \"name\" : \"VVV Giftcard\",\n \"type\" : \"vvvgiftcard\"\n }, {\n \"name\" : \"Webshop Giftcard\",\n \"type\" : \"webshopgiftcard\"\n }, {\n \"name\" : \"WeChat Pay\",\n \"type\" : \"wechatpayMiniProgram\"\n }, {\n \"name\" : \"WeChat Pay\",\n \"type\" : \"wechatpayQR\"\n }, {\n \"name\" : \"WeChat Pay\",\n \"type\" : \"wechatpayWeb\"\n }, {\n \"name\" : \"WE Fashion Giftcard\",\n \"type\" : \"wefashiongiftcard\"\n }, {\n \"name\" : \"Western Union\",\n \"type\" : \"westernunion\"\n }, {\n \"name\" : \"Winkel Cheque\",\n \"type\" : \"winkelcheque\"\n }, {\n \"name\" : \"WOS Card\",\n \"type\" : \"woscard\"\n }, {\n \"name\" : \"Alfa-Click\",\n \"type\" : \"yandex_alfaclick\"\n }, {\n \"name\" : \"Pay using bank card\",\n \"type\" : \"yandex_bank_card\"\n }, {\n \"name\" : \"Cash terminals\",\n \"type\" : \"yandex_cash\"\n }, {\n \"name\" : \"Pay using installments\",\n \"type\" : \"yandex_installments\"\n }, {\n \"name\" : \"YooMoney\",\n \"type\" : \"yandex_money\"\n }, {\n \"name\" : \"Promsvyazbank\",\n \"type\" : \"yandex_promsvyazbank\"\n }, {\n \"name\" : \"SberPay\",\n \"type\" : \"yandex_sberbank\"\n }, {\n \"name\" : \"WebMoney\",\n \"type\" : \"yandex_webmoney\"\n }, {\n \"name\" : \"Your Gift\",\n \"type\" : \"yourgift\"\n }, {\n \"name\" : \"Zip\",\n \"type\" : \"zip\"\n } ]\n}", + "originalRequest": { + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentMethods", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentMethods" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Queries the available payment methods for a transaction based on the transaction context (like amount, country, and currency). Besides giving back a list of the available payment methods, the response also returns which input details you need to collect from the shopper (to be submitted to `/payments`). Although we highly recommend using this endpoint to ensure you are always offering the most up-to-date list of payment methods, its usage is optional. You can, for example, also cache the `/paymentMethods` response and update it once a week." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentMethods", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentMethods" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Queries the available payment methods for a transaction based on the transaction context (like amount, country, and currency). Besides giving back a list of the available payment methods, the response also returns which input details you need to collect from the shopper (to be submitted to `/payments`). Although we highly recommend using this endpoint to ensure you are always offering the most up-to-date list of payment methods, its usage is optional. You can, for example, also cache the `/paymentMethods` response and update it once a week." - } + ] }, { "name": "Get payment methods based on the country and amount", "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 + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl-NL\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentMethods", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentMethods" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Queries the available payment methods for a transaction based on the transaction context (like amount, country, and currency). Besides giving back a list of the available payment methods, the response also returns which input details you need to collect from the shopper (to be submitted to `/payments`). Although we highly recommend using this endpoint to ensure you are always offering the most up-to-date list of payment methods, its usage is optional. You can, for example, also cache the `/paymentMethods` response and update it once a week." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"paymentMethods\" : [ {\n \"details\" : [ {\n \"items\" : [ {\n \"id\" : \"1121\",\n \"name\" : \"Test Issuer\"\n }, {\n \"id\" : \"1154\",\n \"name\" : \"Test Issuer 5\"\n }, {\n \"id\" : \"1153\",\n \"name\" : \"Test Issuer 4\"\n }, {\n \"id\" : \"1152\",\n \"name\" : \"Test Issuer 3\"\n }, {\n \"id\" : \"1151\",\n \"name\" : \"Test Issuer 2\"\n }, {\n \"id\" : \"1162\",\n \"name\" : \"Test Issuer Cancelled\"\n }, {\n \"id\" : \"1161\",\n \"name\" : \"Test Issuer Pending\"\n }, {\n \"id\" : \"1160\",\n \"name\" : \"Test Issuer Refused\"\n }, {\n \"id\" : \"1159\",\n \"name\" : \"Test Issuer 10\"\n }, {\n \"id\" : \"1158\",\n \"name\" : \"Test Issuer 9\"\n }, {\n \"id\" : \"1157\",\n \"name\" : \"Test Issuer 8\"\n }, {\n \"id\" : \"1156\",\n \"name\" : \"Test Issuer 7\"\n }, {\n \"id\" : \"1155\",\n \"name\" : \"Test Issuer 6\"\n } ],\n \"key\" : \"issuer\",\n \"type\" : \"select\"\n } ],\n \"name\" : \"iDEAL\",\n \"type\" : \"ideal\"\n }, {\n \"details\" : [ {\n \"key\" : \"encryptedCardNumber\",\n \"type\" : \"cardToken\"\n }, {\n \"key\" : \"encryptedSecurityCode\",\n \"type\" : \"cardToken\"\n }, {\n \"key\" : \"encryptedExpiryMonth\",\n \"type\" : \"cardToken\"\n }, {\n \"key\" : \"encryptedExpiryYear\",\n \"type\" : \"cardToken\"\n }, {\n \"key\" : \"holderName\",\n \"optional\" : true,\n \"type\" : \"text\"\n } ],\n \"name\" : \"Hitelkártya\",\n \"type\" : \"scheme\"\n }, {\n \"name\" : \"PayPal\",\n \"type\" : \"paypal\"\n }, {\n \"details\" : [ {\n \"details\" : [ {\n \"key\" : \"firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"lastName\",\n \"type\" : \"text\"\n }, {\n \"items\" : [ {\n \"id\" : \"M\",\n \"name\" : \"male\"\n }, {\n \"id\" : \"F\",\n \"name\" : \"female\"\n } ],\n \"key\" : \"gender\",\n \"type\" : \"radio\"\n }, {\n \"key\" : \"dateOfBirth\",\n \"type\" : \"date\"\n }, {\n \"key\" : \"telephoneNumber\",\n \"type\" : \"tel\"\n }, {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n } ],\n \"key\" : \"personalDetails\",\n \"type\" : \"fieldSet\"\n }, {\n \"details\" : [ {\n \"key\" : \"street\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"houseNumberOrName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"city\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"postalCode\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"stateOrProvince\",\n \"optional\" : true,\n \"type\" : \"text\"\n }, {\n \"items\" : [ {\n \"id\" : \"NL\",\n \"name\" : \"Netherlands\"\n }, {\n \"id\" : \"BE\",\n \"name\" : \"Belgium\"\n } ],\n \"key\" : \"country\",\n \"type\" : \"select\",\n \"value\" : \"NL\"\n } ],\n \"key\" : \"billingAddress\",\n \"type\" : \"address\"\n }, {\n \"key\" : \"separateDeliveryAddress\",\n \"optional\" : true,\n \"type\" : \"boolean\",\n \"value\" : \"false\"\n }, {\n \"details\" : [ {\n \"key\" : \"street\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"houseNumberOrName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"city\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"postalCode\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"stateOrProvince\",\n \"optional\" : true,\n \"type\" : \"text\"\n }, {\n \"items\" : [ {\n \"id\" : \"NL\",\n \"name\" : \"Netherlands\"\n }, {\n \"id\" : \"BE\",\n \"name\" : \"Belgium\"\n } ],\n \"key\" : \"country\",\n \"type\" : \"select\",\n \"value\" : \"NL\"\n } ],\n \"key\" : \"deliveryAddress\",\n \"optional\" : true,\n \"type\" : \"address\"\n } ],\n \"name\" : \"AfterPay Invoice\",\n \"type\" : \"afterpay_default\"\n }, {\n \"name\" : \"Pay later with Klarna.\",\n \"type\" : \"klarna\"\n }, {\n \"details\" : [ {\n \"key\" : \"sepa.ownerName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"sepa.ibanNumber\",\n \"type\" : \"text\"\n } ],\n \"name\" : \"SEPA Direct Debit\",\n \"type\" : \"sepadirectdebit\"\n }, {\n \"name\" : \"Paysafecard\",\n \"type\" : \"paysafecard\"\n }, {\n \"name\" : \"Bijenkorf Cadeaucard\",\n \"type\" : \"bijcadeaucard\"\n }, {\n \"name\" : \"Fonq Giftcard\",\n \"type\" : \"fonqgiftcard\"\n }, {\n \"name\" : \"Bank Transfer (NL)\",\n \"type\" : \"bankTransfer_NL\"\n }, {\n \"name\" : \"Pathe Giftcard\",\n \"type\" : \"pathegiftcard\"\n }, {\n \"name\" : \"VVV Giftcard\",\n \"type\" : \"vvvgiftcard\"\n }, {\n \"name\" : \"Podium Card\",\n \"type\" : \"podiumcard\"\n }, {\n \"name\" : \"RatePay Direct Debit\",\n \"type\" : \"ratepay_directdebit\"\n }, {\n \"name\" : \"Rituals Giftcard\",\n \"type\" : \"rituals\"\n }, {\n \"name\" : \"Hunkemoller Lingerie Card\",\n \"type\" : \"hmlingerie\"\n }, {\n \"name\" : \"Primera Cadeaukaart\",\n \"type\" : \"primeracadeaucard\"\n }, {\n \"name\" : \"Fashioncheque\",\n \"type\" : \"fashioncheque\"\n }, {\n \"name\" : \"NETELLER\",\n \"type\" : \"neteller\"\n }, {\n \"name\" : \"Adyen Voucher\",\n \"type\" : \"adyen_test_voucher\"\n }, {\n \"name\" : \"AfterPay B2B\",\n \"type\" : \"afterpay_b2b\"\n }, {\n \"name\" : \"AfterPay DirectDebit\",\n \"type\" : \"afterpay_directdebit\"\n }, {\n \"name\" : \"AliPay\",\n \"type\" : \"alipay\"\n }, {\n \"name\" : \"AliPay\",\n \"type\" : \"alipay_wap\"\n }, {\n \"details\" : [ {\n \"key\" : \"additionalData.androidpay.token\",\n \"type\" : \"androidPayToken\"\n } ],\n \"name\" : \"Android Pay\",\n \"type\" : \"androidpay\"\n }, {\n \"details\" : [ {\n \"key\" : \"additionalData.applepay.token\",\n \"type\" : \"applePayToken\"\n } ],\n \"name\" : \"Apple Pay\",\n \"type\" : \"applepay\"\n }, {\n \"name\" : \"Baby Gift Card\",\n \"type\" : \"babygiftcard\"\n }, {\n \"name\" : \"SEPA Bank Transfer\",\n \"type\" : \"bankTransfer_IBAN\"\n }, {\n \"name\" : \"Bloemen Giftcard\",\n \"type\" : \"bloemengiftcard\"\n }, {\n \"name\" : \"Boekenbon Giftcard\",\n \"type\" : \"boekenbon\"\n }, {\n \"name\" : \"Cash-Ticket\",\n \"type\" : \"cashticket\"\n }, {\n \"name\" : \"Chasin Giftcard\",\n \"type\" : \"chasingiftcard\"\n }, {\n \"name\" : \"ClickandBuy\",\n \"type\" : \"clickandbuy\"\n }, {\n \"name\" : \"Costes Giftcard\",\n \"type\" : \"costesgiftcard\"\n }, {\n \"name\" : \"custom_settlement\",\n \"type\" : \"custom_settlement\"\n }, {\n \"name\" : \"eft_directdebit_CA\",\n \"type\" : \"eft_directdebit_CA\"\n }, {\n \"name\" : \"Nationale Entertainment Card\",\n \"type\" : \"entertainmentcard\"\n }, {\n \"name\" : \"Expert Cadeaukaart\",\n \"type\" : \"expertgiftcard\"\n }, {\n \"name\" : \"FijnCadeau\",\n \"type\" : \"fijncadeau\"\n }, {\n \"name\" : \"Fleurop Bloemenbon\",\n \"type\" : \"fleuropbloemenbon\"\n }, {\n \"name\" : \"Gall & Gall\",\n \"type\" : \"gallgall\"\n }, {\n \"name\" : \"Generic GiftCard\",\n \"type\" : \"genericgiftcard\"\n }, {\n \"name\" : \"GiftFor2\",\n \"type\" : \"giftfor2card\"\n }, {\n \"name\" : \"Givex\",\n \"type\" : \"givex\"\n }, {\n \"name\" : \"Goldsmiths Card\",\n \"type\" : \"goldsmithscard\"\n }, {\n \"name\" : \"Hunkemoller Member Card\",\n \"type\" : \"hmclub\"\n }, {\n \"name\" : \"Phone Payment\",\n \"type\" : \"ivr\"\n }, {\n \"name\" : \"Landline phone\",\n \"type\" : \"ivrLandline\"\n }, {\n \"name\" : \"Mobile phone\",\n \"type\" : \"ivrMobile\"\n }, {\n \"name\" : \"Kado Wereld\",\n \"type\" : \"kadowereld\"\n }, {\n \"name\" : \"Karen Millen GiftCard\",\n \"type\" : \"karenmillengiftcard\"\n }, {\n \"name\" : \"Leisure Card\",\n \"type\" : \"leisurecard\"\n }, {\n \"name\" : \"Loods5 Cadeaukaart\",\n \"type\" : \"loods5giftcard\"\n }, {\n \"name\" : \"Loods5 Tegoedbon\",\n \"type\" : \"loods5prepaidcard\"\n }, {\n \"details\" : [ {\n \"key\" : \"additionalData.amazonPayToken\",\n \"type\" : \"text\"\n } ],\n \"name\" : \"Amazon Pay\",\n \"supportsRecurring\" : true,\n \"type\" : \"amazonpay\"\n }, {\n \"name\" : \"MOLPoints\",\n \"type\" : \"molpay_points\"\n }, {\n \"name\" : \"Moneybookers\",\n \"type\" : \"moneybookers\"\n }, {\n \"name\" : \"De Nationale Musicalcard\",\n \"type\" : \"musicalcard\"\n }, {\n \"name\" : \"Nationale Bioscoopbon\",\n \"type\" : \"nationalebioscoopbon\"\n }, {\n \"name\" : \"Nationale Tuinbon\",\n \"type\" : \"nationaletuinbon\"\n }, {\n \"name\" : \"Nationale Verwen Cadeaubon\",\n \"type\" : \"nationaleverwencadeaubon\"\n }, {\n \"name\" : \"Onebip\",\n \"type\" : \"onebip\"\n }, {\n \"details\" : [ {\n \"key\" : \"additionalData.paywithgoogle.token\",\n \"type\" : \"payWithGoogleToken\"\n } ],\n \"name\" : \"Google Pay\",\n \"type\" : \"paywithgoogle\"\n }, {\n \"name\" : \"Plastix\",\n \"type\" : \"plastix\"\n }, {\n \"name\" : \"Pluim\",\n \"type\" : \"pluimgiftcard\"\n }, {\n \"name\" : \"Illicado Gift Card\",\n \"type\" : \"prosodie_illicado\"\n }, {\n \"name\" : \"RatePay Invoice\",\n \"type\" : \"ratepay\"\n }, {\n \"name\" : \"Rob Peetoom Giftcard\",\n \"type\" : \"robpeetoomgiftcard\"\n }, {\n \"name\" : \"Shoes&Accessories Cadeau\",\n \"type\" : \"sagiftcard\"\n }, {\n \"name\" : \"Score Giftcard\",\n \"type\" : \"scoregiftcard\"\n }, {\n \"name\" : \"Premium SMS\",\n \"type\" : \"sms\"\n }, {\n \"name\" : \"SVS\",\n \"type\" : \"svs\"\n }, {\n \"name\" : \"TCS Test GiftCard\",\n \"type\" : \"tcstestgiftcard\"\n }, {\n \"name\" : \"The Sting Giftcard\",\n \"type\" : \"thestinggiftcard\"\n }, {\n \"name\" : \"Ukash\",\n \"type\" : \"ukash\"\n }, {\n \"name\" : \"UnionPay\",\n \"type\" : \"unionpay\"\n }, {\n \"name\" : \"Valuelink\",\n \"type\" : \"valuelink\"\n }, {\n \"name\" : \"V&D Cadeaukaart\",\n \"type\" : \"vdcadeaucard\"\n }, {\n \"details\" : [ {\n \"key\" : \"additionalData.visacheckout.callId\",\n \"type\" : \"text\"\n } ],\n \"name\" : \"Visa Checkout\",\n \"type\" : \"visacheckout\"\n }, {\n \"name\" : \"VVV Cadeaubon\",\n \"type\" : \"vvvcadeaubon\"\n }, {\n \"name\" : \"Webshop Giftcard\",\n \"type\" : \"webshopgiftcard\"\n }, {\n \"name\" : \"WE Fashion Giftcard\",\n \"type\" : \"wefashiongiftcard\"\n }, {\n \"name\" : \"Western Union\",\n \"type\" : \"westernunion\"\n }, {\n \"name\" : \"Winkel Cheque\",\n \"type\" : \"winkelcheque\"\n }, {\n \"name\" : \"Your Gift\",\n \"type\" : \"yourgift\"\n } ]\n}", + "originalRequest": { + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl-NL\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentMethods", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentMethods" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Queries the available payment methods for a transaction based on the transaction context (like amount, country, and currency). Besides giving back a list of the available payment methods, the response also returns which input details you need to collect from the shopper (to be submitted to `/payments`). Although we highly recommend using this endpoint to ensure you are always offering the most up-to-date list of payment methods, its usage is optional. You can, for example, also cache the `/paymentMethods` response and update it once a week." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl-NL\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n }\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentMethods", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentMethods" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Queries the available payment methods for a transaction based on the transaction context (like amount, country, and currency). Besides giving back a list of the available payment methods, the response also returns which input details you need to collect from the shopper (to be submitted to `/payments`). Although we highly recommend using this endpoint to ensure you are always offering the most up-to-date list of payment methods, its usage is optional. You can, for example, also cache the `/paymentMethods` response and update it once a week." - } + ] }, { "name": "Get payment methods including stored card details", "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 + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"countryCode\" : \"NL\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentMethods", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentMethods" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Queries the available payment methods for a transaction based on the transaction context (like amount, country, and currency). Besides giving back a list of the available payment methods, the response also returns which input details you need to collect from the shopper (to be submitted to `/payments`). Although we highly recommend using this endpoint to ensure you are always offering the most up-to-date list of payment methods, its usage is optional. You can, for example, also cache the `/paymentMethods` response and update it once a week." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"paymentMethods\" : [ {\n \"details\" : [ {\n \"items\" : [ {\n \"id\" : \"1121\",\n \"name\" : \"Test Issuer\"\n }, {\n \"id\" : \"1154\",\n \"name\" : \"Test Issuer 5\"\n }, {\n \"id\" : \"1153\",\n \"name\" : \"Test Issuer 4\"\n }, {\n \"id\" : \"1152\",\n \"name\" : \"Test Issuer 3\"\n }, {\n \"id\" : \"1151\",\n \"name\" : \"Test Issuer 2\"\n }, {\n \"id\" : \"1162\",\n \"name\" : \"Test Issuer Cancelled\"\n }, {\n \"id\" : \"1161\",\n \"name\" : \"Test Issuer Pending\"\n }, {\n \"id\" : \"1160\",\n \"name\" : \"Test Issuer Refused\"\n }, {\n \"id\" : \"1159\",\n \"name\" : \"Test Issuer 10\"\n }, {\n \"id\" : \"1158\",\n \"name\" : \"Test Issuer 9\"\n }, {\n \"id\" : \"1157\",\n \"name\" : \"Test Issuer 8\"\n }, {\n \"id\" : \"1156\",\n \"name\" : \"Test Issuer 7\"\n }, {\n \"id\" : \"1155\",\n \"name\" : \"Test Issuer 6\"\n } ],\n \"key\" : \"issuer\",\n \"type\" : \"select\"\n } ],\n \"name\" : \"iDEAL\",\n \"type\" : \"ideal\"\n }, {\n \"details\" : [ {\n \"key\" : \"encryptedCardNumber\",\n \"type\" : \"cardToken\"\n }, {\n \"key\" : \"encryptedSecurityCode\",\n \"type\" : \"cardToken\"\n }, {\n \"key\" : \"encryptedExpiryMonth\",\n \"type\" : \"cardToken\"\n }, {\n \"key\" : \"encryptedExpiryYear\",\n \"type\" : \"cardToken\"\n }, {\n \"key\" : \"holderName\",\n \"optional\" : true,\n \"type\" : \"text\"\n } ],\n \"name\" : \"Credit Card\",\n \"type\" : \"scheme\"\n }, {\n \"name\" : \"PayPal\",\n \"type\" : \"paypal\"\n }, {\n \"details\" : [ {\n \"details\" : [ {\n \"key\" : \"firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"lastName\",\n \"type\" : \"text\"\n }, {\n \"items\" : [ {\n \"id\" : \"M\",\n \"name\" : \"male\"\n }, {\n \"id\" : \"F\",\n \"name\" : \"female\"\n } ],\n \"key\" : \"gender\",\n \"type\" : \"radio\"\n }, {\n \"key\" : \"dateOfBirth\",\n \"type\" : \"date\"\n }, {\n \"key\" : \"telephoneNumber\",\n \"type\" : \"tel\"\n }, {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n } ],\n \"key\" : \"personalDetails\",\n \"type\" : \"fieldSet\"\n }, {\n \"details\" : [ {\n \"key\" : \"street\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"houseNumberOrName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"city\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"postalCode\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"stateOrProvince\",\n \"optional\" : true,\n \"type\" : \"text\"\n }, {\n \"items\" : [ {\n \"id\" : \"NL\",\n \"name\" : \"Netherlands\"\n }, {\n \"id\" : \"BE\",\n \"name\" : \"Belgium\"\n } ],\n \"key\" : \"country\",\n \"type\" : \"select\",\n \"value\" : \"NL\"\n } ],\n \"key\" : \"billingAddress\",\n \"type\" : \"address\"\n }, {\n \"key\" : \"separateDeliveryAddress\",\n \"optional\" : true,\n \"type\" : \"boolean\",\n \"value\" : \"false\"\n }, {\n \"details\" : [ {\n \"key\" : \"street\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"houseNumberOrName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"city\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"postalCode\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"stateOrProvince\",\n \"optional\" : true,\n \"type\" : \"text\"\n }, {\n \"items\" : [ {\n \"id\" : \"NL\",\n \"name\" : \"Netherlands\"\n }, {\n \"id\" : \"BE\",\n \"name\" : \"Belgium\"\n } ],\n \"key\" : \"country\",\n \"type\" : \"select\",\n \"value\" : \"NL\"\n } ],\n \"key\" : \"deliveryAddress\",\n \"optional\" : true,\n \"type\" : \"address\"\n } ],\n \"name\" : \"AfterPay Invoice\",\n \"type\" : \"afterpay_default\"\n }, {\n \"name\" : \"Pay later with Klarna.\",\n \"type\" : \"klarna\"\n }, {\n \"details\" : [ {\n \"key\" : \"sepa.ownerName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"sepa.ibanNumber\",\n \"type\" : \"text\"\n } ],\n \"name\" : \"SEPA Direct Debit\",\n \"type\" : \"sepadirectdebit\"\n }, {\n \"name\" : \"Paysafecard\",\n \"type\" : \"paysafecard\"\n }, {\n \"name\" : \"Bijenkorf Cadeaucard\",\n \"type\" : \"bijcadeaucard\"\n }, {\n \"name\" : \"Fonq Giftcard\",\n \"type\" : \"fonqgiftcard\"\n }, {\n \"name\" : \"Bank Transfer (NL)\",\n \"type\" : \"bankTransfer_NL\"\n }, {\n \"name\" : \"Pathe Giftcard\",\n \"type\" : \"pathegiftcard\"\n }, {\n \"name\" : \"VVV Giftcard\",\n \"type\" : \"vvvgiftcard\"\n }, {\n \"name\" : \"Podium Card\",\n \"type\" : \"podiumcard\"\n }, {\n \"name\" : \"RatePay Direct Debit\",\n \"type\" : \"ratepay_directdebit\"\n }, {\n \"name\" : \"Rituals Giftcard\",\n \"type\" : \"rituals\"\n }, {\n \"name\" : \"Hunkemoller Lingerie Card\",\n \"type\" : \"hmlingerie\"\n }, {\n \"name\" : \"Primera Cadeaukaart\",\n \"type\" : \"primeracadeaucard\"\n }, {\n \"name\" : \"Fashioncheque\",\n \"type\" : \"fashioncheque\"\n }, {\n \"name\" : \"NETELLER\",\n \"type\" : \"neteller\"\n }, {\n \"name\" : \"Adyen Voucher\",\n \"type\" : \"adyen_test_voucher\"\n }, {\n \"name\" : \"AfterPay B2B\",\n \"type\" : \"afterpay_b2b\"\n }, {\n \"name\" : \"AfterPay DirectDebit\",\n \"type\" : \"afterpay_directdebit\"\n }, {\n \"name\" : \"AliPay\",\n \"type\" : \"alipay\"\n }, {\n \"name\" : \"AliPay\",\n \"type\" : \"alipay_wap\"\n }, {\n \"details\" : [ {\n \"key\" : \"additionalData.androidpay.token\",\n \"type\" : \"androidPayToken\"\n } ],\n \"name\" : \"Android Pay\",\n \"type\" : \"androidpay\"\n }, {\n \"details\" : [ {\n \"key\" : \"additionalData.applepay.token\",\n \"type\" : \"applePayToken\"\n } ],\n \"name\" : \"Apple Pay\",\n \"type\" : \"applepay\"\n }, {\n \"name\" : \"Baby Gift Card\",\n \"type\" : \"babygiftcard\"\n }, {\n \"name\" : \"SEPA Bank Transfer\",\n \"type\" : \"bankTransfer_IBAN\"\n }, {\n \"name\" : \"Bloemen Giftcard\",\n \"type\" : \"bloemengiftcard\"\n }, {\n \"name\" : \"Boekenbon Giftcard\",\n \"type\" : \"boekenbon\"\n }, {\n \"name\" : \"Cash-Ticket\",\n \"type\" : \"cashticket\"\n }, {\n \"name\" : \"Chasin Giftcard\",\n \"type\" : \"chasingiftcard\"\n }, {\n \"name\" : \"ClickandBuy\",\n \"type\" : \"clickandbuy\"\n }, {\n \"name\" : \"Costes Giftcard\",\n \"type\" : \"costesgiftcard\"\n }, {\n \"name\" : \"custom_settlement\",\n \"type\" : \"custom_settlement\"\n }, {\n \"name\" : \"eft_directdebit_CA\",\n \"type\" : \"eft_directdebit_CA\"\n }, {\n \"name\" : \"Nationale Entertainment Card\",\n \"type\" : \"entertainmentcard\"\n }, {\n \"name\" : \"Expert Cadeaukaart\",\n \"type\" : \"expertgiftcard\"\n }, {\n \"name\" : \"FijnCadeau\",\n \"type\" : \"fijncadeau\"\n }, {\n \"name\" : \"Fleurop Bloemenbon\",\n \"type\" : \"fleuropbloemenbon\"\n }, {\n \"name\" : \"Gall & Gall\",\n \"type\" : \"gallgall\"\n }, {\n \"name\" : \"Generic GiftCard\",\n \"type\" : \"genericgiftcard\"\n }, {\n \"name\" : \"GiftFor2\",\n \"type\" : \"giftfor2card\"\n }, {\n \"name\" : \"Givex\",\n \"type\" : \"givex\"\n }, {\n \"name\" : \"Goldsmiths Card\",\n \"type\" : \"goldsmithscard\"\n }, {\n \"name\" : \"Hunkemoller Member Card\",\n \"type\" : \"hmclub\"\n }, {\n \"name\" : \"Phone Payment\",\n \"type\" : \"ivr\"\n }, {\n \"name\" : \"Landline phone\",\n \"type\" : \"ivrLandline\"\n }, {\n \"name\" : \"Mobile phone\",\n \"type\" : \"ivrMobile\"\n }, {\n \"name\" : \"Kado Wereld\",\n \"type\" : \"kadowereld\"\n }, {\n \"name\" : \"Karen Millen GiftCard\",\n \"type\" : \"karenmillengiftcard\"\n }, {\n \"name\" : \"Leisure Card\",\n \"type\" : \"leisurecard\"\n }, {\n \"name\" : \"Loods5 Cadeaukaart\",\n \"type\" : \"loods5giftcard\"\n }, {\n \"name\" : \"Loods5 Tegoedbon\",\n \"type\" : \"loods5prepaidcard\"\n }, {\n \"details\" : [ {\n \"key\" : \"additionalData.amazonPayToken\",\n \"type\" : \"text\"\n } ],\n \"name\" : \"Amazon Pay\",\n \"supportsRecurring\" : true,\n \"type\" : \"amazonpay\"\n }, {\n \"name\" : \"MOLPoints\",\n \"type\" : \"molpay_points\"\n }, {\n \"name\" : \"Moneybookers\",\n \"type\" : \"moneybookers\"\n }, {\n \"name\" : \"De Nationale Musicalcard\",\n \"type\" : \"musicalcard\"\n }, {\n \"name\" : \"Nationale Bioscoopbon\",\n \"type\" : \"nationalebioscoopbon\"\n }, {\n \"name\" : \"Nationale Tuinbon\",\n \"type\" : \"nationaletuinbon\"\n }, {\n \"name\" : \"Nationale Verwen Cadeaubon\",\n \"type\" : \"nationaleverwencadeaubon\"\n }, {\n \"name\" : \"Onebip\",\n \"type\" : \"onebip\"\n }, {\n \"details\" : [ {\n \"key\" : \"additionalData.paywithgoogle.token\",\n \"type\" : \"payWithGoogleToken\"\n } ],\n \"name\" : \"Google Pay\",\n \"type\" : \"paywithgoogle\"\n }, {\n \"name\" : \"Plastix\",\n \"type\" : \"plastix\"\n }, {\n \"name\" : \"Pluim\",\n \"type\" : \"pluimgiftcard\"\n }, {\n \"name\" : \"Illicado Gift Card\",\n \"type\" : \"prosodie_illicado\"\n }, {\n \"name\" : \"RatePay Invoice\",\n \"type\" : \"ratepay\"\n }, {\n \"name\" : \"Rob Peetoom Giftcard\",\n \"type\" : \"robpeetoomgiftcard\"\n }, {\n \"name\" : \"Shoes&Accessories Cadeau\",\n \"type\" : \"sagiftcard\"\n }, {\n \"name\" : \"Score Giftcard\",\n \"type\" : \"scoregiftcard\"\n }, {\n \"name\" : \"Premium SMS\",\n \"type\" : \"sms\"\n }, {\n \"name\" : \"SVS\",\n \"type\" : \"svs\"\n }, {\n \"name\" : \"TCS Test GiftCard\",\n \"type\" : \"tcstestgiftcard\"\n }, {\n \"name\" : \"The Sting Giftcard\",\n \"type\" : \"thestinggiftcard\"\n }, {\n \"name\" : \"Ukash\",\n \"type\" : \"ukash\"\n }, {\n \"name\" : \"UnionPay\",\n \"type\" : \"unionpay\"\n }, {\n \"name\" : \"Valuelink\",\n \"type\" : \"valuelink\"\n }, {\n \"name\" : \"V&D Cadeaukaart\",\n \"type\" : \"vdcadeaucard\"\n }, {\n \"details\" : [ {\n \"key\" : \"additionalData.visacheckout.callId\",\n \"type\" : \"text\"\n } ],\n \"name\" : \"Visa Checkout\",\n \"type\" : \"visacheckout\"\n }, {\n \"name\" : \"VVV Cadeaubon\",\n \"type\" : \"vvvcadeaubon\"\n }, {\n \"name\" : \"Webshop Giftcard\",\n \"type\" : \"webshopgiftcard\"\n }, {\n \"name\" : \"WE Fashion Giftcard\",\n \"type\" : \"wefashiongiftcard\"\n }, {\n \"name\" : \"Western Union\",\n \"type\" : \"westernunion\"\n }, {\n \"name\" : \"Winkel Cheque\",\n \"type\" : \"winkelcheque\"\n }, {\n \"name\" : \"Your Gift\",\n \"type\" : \"yourgift\"\n } ]\n}", + "originalRequest": { + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"countryCode\" : \"NL\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentMethods", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentMethods" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Queries the available payment methods for a transaction based on the transaction context (like amount, country, and currency). Besides giving back a list of the available payment methods, the response also returns which input details you need to collect from the shopper (to be submitted to `/payments`). Although we highly recommend using this endpoint to ensure you are always offering the most up-to-date list of payment methods, its usage is optional. You can, for example, also cache the `/paymentMethods` response and update it once a week." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"countryCode\" : \"NL\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentMethods", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentMethods" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Queries the available payment methods for a transaction based on the transaction context (like amount, country, and currency). Besides giving back a list of the available payment methods, the response also returns which input details you need to collect from the shopper (to be submitted to `/payments`). Although we highly recommend using this endpoint to ensure you are always offering the most up-to-date list of payment methods, its usage is optional. You can, for example, also cache the `/paymentMethods` response and update it once a week." - } + ] } ] - } -, + }, { "name": "/payments", "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. ", @@ -1421,692 +2692,1118 @@ { "name": "Make an Apple Pay payment", "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"applepay\",\n \"applePayToken\" : \"VNRWtuNlNEWkRCSm1xWndjMDFFbktkQU...\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"applepay\",\n \"applePayToken\" : \"VNRWtuNlNEWkRCSm1xWndjMDFFbktkQU...\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + ] }, { "name": "Make a card payment with 3D Secure redirect authentication", "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 + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4212345678901237\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\",\n \"cvc\" : \"737\"\n },\n \"browserInfo\" : {\n \"colorDepth\" : 24,\n \"screenHeight\" : 1800,\n \"screenWidth\" : 2880,\n \"timeZoneOffset\" : 60,\n \"language\" : \"nl\",\n \"userAgent\" : \"Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9) Gecko/2008052912 Firefox/3.0\",\n \"acceptHeader\" : \"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8\",\n \"javaEnabled\" : true\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"additionalData\" : {\n \"cvcResult\" : \"1 Matches\",\n \"authCode\" : \"074516\",\n \"avsResult\" : \"4 AVS not supported for this card type\",\n \"avsResultRaw\" : \"4\",\n \"cvcResultRaw\" : \"M\",\n \"refusalReasonRaw\" : \"AUTHORISED\",\n \"acquirerCode\" : \"TestPmmAcquirer\",\n \"acquirerReference\" : \"8PQMP9SJ7DN\"\n },\n \"pspReference\" : \"993617894903480A\",\n \"resultCode\" : \"Authorised\"\n}", + "originalRequest": { + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4212345678901237\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\",\n \"cvc\" : \"737\"\n },\n \"browserInfo\" : {\n \"colorDepth\" : 24,\n \"screenHeight\" : 1800,\n \"screenWidth\" : 2880,\n \"timeZoneOffset\" : 60,\n \"language\" : \"nl\",\n \"userAgent\" : \"Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9) Gecko/2008052912 Firefox/3.0\",\n \"acceptHeader\" : \"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8\",\n \"javaEnabled\" : true\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4212345678901237\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\",\n \"cvc\" : \"737\"\n },\n \"browserInfo\" : {\n \"colorDepth\" : 24,\n \"screenHeight\" : 1800,\n \"screenWidth\" : 2880,\n \"timeZoneOffset\" : 60,\n \"language\" : \"nl\",\n \"userAgent\" : \"Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9) Gecko/2008052912 Firefox/3.0\",\n \"acceptHeader\" : \"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8\",\n \"javaEnabled\" : true\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + ] }, { "name": "Make a payment with 3D Secure 2 native authentication, using encrypted card details", "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 + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"encryptedCardNumber\" : \"test_4212345678901237\",\n \"encryptedExpiryMonth\" : \"test_03\",\n \"encryptedExpiryYear\" : \"test_2030\",\n \"encryptedSecurityCode\" : \"test_737\",\n \"holderName\" : \"John Smith\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"additionalData\" : {\n \"cvcResult\" : \"1 Matches\",\n \"authCode\" : \"083996\",\n \"avsResult\" : \"4 AVS not supported for this card type\",\n \"avsResultRaw\" : \"4\",\n \"cvcResultRaw\" : \"M\",\n \"refusalReasonRaw\" : \"AUTHORISED\",\n \"acquirerCode\" : \"TestPmmAcquirer\",\n \"acquirerReference\" : \"8PQMP9SJH66\"\n },\n \"pspReference\" : \"993617894905481G\",\n \"resultCode\" : \"Authorised\"\n}", + "originalRequest": { + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"encryptedCardNumber\" : \"test_4212345678901237\",\n \"encryptedExpiryMonth\" : \"test_03\",\n \"encryptedExpiryYear\" : \"test_2030\",\n \"encryptedSecurityCode\" : \"test_737\",\n \"holderName\" : \"John Smith\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"encryptedCardNumber\" : \"test_4212345678901237\",\n \"encryptedExpiryMonth\" : \"test_03\",\n \"encryptedExpiryYear\" : \"test_2030\",\n \"encryptedSecurityCode\" : \"test_737\",\n \"holderName\" : \"John Smith\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + ] }, { "name": "Make a card payment", "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 + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4111111111111111\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\",\n \"cvc\" : \"737\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"additionalData\" : {\n \"cvcResult\" : \"1 Matches\",\n \"authCode\" : \"036240\",\n \"avsResult\" : \"4 AVS not supported for this card type\",\n \"avsResultRaw\" : \"4\",\n \"cvcResultRaw\" : \"M\",\n \"refusalReasonRaw\" : \"AUTHORISED\",\n \"acquirerCode\" : \"TestPmmAcquirer\",\n \"acquirerReference\" : \"8PQMP9SJQUL\"\n },\n \"pspReference\" : \"993617894906488A\",\n \"resultCode\" : \"Authorised\"\n}", + "originalRequest": { + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4111111111111111\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\",\n \"cvc\" : \"737\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4111111111111111\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\",\n \"cvc\" : \"737\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + ] }, { "name": "Make a card payment using encrypted card details", "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 + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"encryptedCardNumber\" : \"test_4111111111111111\",\n \"encryptedExpiryMonth\" : \"test_03\",\n \"encryptedExpiryYear\" : \"test_2030\",\n \"encryptedSecurityCode\" : \"test_737\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"additionalData\" : {\n \"cvcResult\" : \"1 Matches\",\n \"authCode\" : \"064649\",\n \"avsResult\" : \"4 AVS not supported for this card type\",\n \"avsResultRaw\" : \"4\",\n \"cvcResultRaw\" : \"M\",\n \"refusalReasonRaw\" : \"AUTHORISED\",\n \"acquirerCode\" : \"TestPmmAcquirer\",\n \"acquirerReference\" : \"8PQMP9SM92L\"\n },\n \"pspReference\" : \"993617894914488A\",\n \"resultCode\" : \"Authorised\"\n}", + "originalRequest": { + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"encryptedCardNumber\" : \"test_4111111111111111\",\n \"encryptedExpiryMonth\" : \"test_03\",\n \"encryptedExpiryYear\" : \"test_2030\",\n \"encryptedSecurityCode\" : \"test_737\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"encryptedCardNumber\" : \"test_4111111111111111\",\n \"encryptedExpiryMonth\" : \"test_03\",\n \"encryptedExpiryYear\" : \"test_2030\",\n \"encryptedSecurityCode\" : \"test_737\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + ] }, { "name": "Tokenize card details for one-off payments, using encrypted card details", "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"encryptedCardNumber\" : \"adyenjs_0_1_18$MT6ppy0FAMVMLH...\",\n \"encryptedExpiryMonth\" : \"adyenjs_0_1_18$MT6ppy0FAMVMLH...\",\n \"encryptedExpiryYear\" : \"adyenjs_0_1_18$MT6ppy0FAMVMLH...\",\n \"encryptedSecurityCode\" : \"adyenjs_0_1_18$MT6ppy0FAMVMLH...\"\n },\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"encryptedCardNumber\" : \"adyenjs_0_1_18$MT6ppy0FAMVMLH...\",\n \"encryptedExpiryMonth\" : \"adyenjs_0_1_18$MT6ppy0FAMVMLH...\",\n \"encryptedExpiryYear\" : \"adyenjs_0_1_18$MT6ppy0FAMVMLH...\",\n \"encryptedSecurityCode\" : \"adyenjs_0_1_18$MT6ppy0FAMVMLH...\"\n },\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + ] }, { "name": "Tokenize card details for one-off payments", "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 + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4111111111111111\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\",\n \"cvc\" : \"737\"\n },\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"additionalData\" : {\n \"cvcResult\" : \"1 Matches\",\n \"authCode\" : \"022966\",\n \"avsResult\" : \"4 AVS not supported for this card type\",\n \"recurring.recurringDetailReference\" : \"9916178934434753\",\n \"recurringProcessingModel\" : \"CardOnFile\",\n \"avsResultRaw\" : \"4\",\n \"cvcResultRaw\" : \"M\",\n \"refusalReasonRaw\" : \"AUTHORISED\",\n \"recurring.shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID\",\n \"acquirerCode\" : \"TestPmmAcquirer\",\n \"acquirerReference\" : \"8PQMP9T0BB6\"\n },\n \"pspReference\" : \"993617894947495G\",\n \"resultCode\" : \"Authorised\"\n}", + "originalRequest": { + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4111111111111111\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\",\n \"cvc\" : \"737\"\n },\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4111111111111111\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\",\n \"cvc\" : \"737\"\n },\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + ] }, { "name": "Make an iDEAL payment", "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 + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"ideal\",\n \"issuer\" : \"1121\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"resultCode\" : \"RedirectShopper\",\n \"details\" : [ {\n \"key\" : \"payload\",\n \"type\" : \"text\"\n } ],\n \"paymentData\" : \"Ab02b4c0!BQABAgBOBkMn4vBx6T3DgxR+OR/a1zEA0xbGaYKP9mh/vWDSADlyktW39HZckwcm4Wr9kw2TvE9SYngEf9f6kZb1OimKls3+HEn3dRGOrTbWZZ8/tpmlS62YoDh1eQIE3EHZsUm7CQxhXjm8F0HQCelzIkVgj8DpLgtxwM3nFZxfpzl91HSt9CP/GIsx8S/RPVG2Fwg2S/jtdQ4MlFeG89S+icDvTecTyGoYFZlS/KL77Q4zJCR8Vgn4M9DJZEGRxv6kApLwDMkMyUMQngN95xDSCdLSW7fKkVusSub2+2hB7rzWxtj1E8R9dbtkCxgTe0F/G7tqrzUfEmseiHoKmaF6F8bN0j6BZiFhQJ/KHXJ6Pb+a7f0qYbQCAZmwYmeSSfNzqIDehyufpL0bP3w38spuso3QlhtPIqSHrIHDIQzbYmxPtt/I6A/RCMXJ7VN4nB6JigEygV383lnr8wd7mEynOQXnq9zEF+GGJy0Ool05WEy8L/mATgg++6bpsuSB2Wea5/VffvG6KcMyzs7OBG9zLAdYcrfqlsyXz/42UBJTeA2s6kVb1sBUfd6CQuQRF+37sjMwKiNIxwVaNWIYZMiWhbqPXOS4ozt0kNCtruhHqHgULPfF6aia/BnZKib6n+pBSepTdS47wZ31xC8VPqsoPia8RGNziLO/MmSMpW2fQRdgrhCrSniHb8qrh0vwgbPB4S7vAEp7ImtleSI6IkFGMEFBQTEwM0NBNTM3RUFFRDg3QzI0REQ1MzkwOUI4MEE3OEE5MjNFMzgyM0Q2OERBQ0M5NEI5RkY4MzA1REMifTMy2HjS+Bb81E9m0fQAZJXCA1BJgLgstBw3wxbdpZevF8c+pSBGUYNUm9ZbwrD93dGdCU2RvlI1gcyKke0cEEqKGjqWFXOWIYkSNzfLrgP3ERdp5t9VGZi6BDQko2CFzP4uAR3jwgR3AP0/mQ/4YWDrBrnYZCWjOpo7izGhNbHYvWbBOqVDvnfReoCrSNSLSo8OfSxuFrN6sJLXrajGu1qbPqQtxFIRyqLgbOfHLHw/DN3I+BZKGrNYynRfM2NparXTQ6ZRgC8E5xIodApr4JHMNeiPTjMlReaLBQwbcqaBzzRNLdV0v8/ZSXexS68WBeUMt7OkomYJBFrpwmpzgx/nzRzV87MZ9TGhZht/1zjcyaSi0Toc6r7UhbADuDX5RH5L0T8Q3iGJfjrYuS5h9aiYSg8oaVJ5DZhJAicDbb8eLvdAGXFTIV+EXbD+4e9Xl+c5um4FdKfufcrrUEo2s6lUuSBSJ3Gf6r+yJMxkamWwfnRUtxt+axRcXfmywYqU7O1r0zzW+RKCbV2qZeUWWeN1u5UIPdJbQbH4633ukPp//aGh8R4IWckBp7DGH4M5P1ZiYJB8OQRS5gD/y+iuwensnq1rKFBOK4gFNSpKmuDQYLeWb5VljHgE1sS4DRhl0fl8UCabehP+3tZu/2i88JTWbdUuvPLmkyv8zQdY36YeSDWmwC40vvbB+lo2e8MgVpfDwn+xyQFpFhasbEyr4VVoPwHq1sGR/QEutxmeoJi1Zux48jSHoGOj5RZ4ei+b8Lxp4rj45wwm0AiROghLnZJZfJaySp/LVxQ=\",\n \"redirect\" : {\n \"method\" : \"GET\",\n \"url\" : \"https://test.adyen.com/hpp/checkout.shtml?u=redirectIdeal&p=eJxtUl1vozAQ-DXwFmQDAfLgh4jSC730Q1yoqr5Urr0NXIlNbUPj-PozXC6qqpOstTWz2p3Z9auigueSA2k50M5ng1IgmJ2hoq78VusBVMkJxiH2D6BYQ4VZMyYHYcgOtLk9YxeyFAb2ippWisDYHki*KfKf9-Xu5UdxV1Rl-t-MEZR2N4nRha7gDSY1QLRRrdh-IcygxBU1lKxWOMFptopXcZZEyc0l51e7J9XdcHpeDTxC4edG1pFF5WMHnw95FtHf3N5z1MWqipKjF17XXnTl99QewNk7zO4wQshXoOtqSxpjei9au0R3Oslo10htHJKhDDmINcDe5WB0I-selEM0qLFloN3z4W-ZUjB5cD4q4K0CZhwz4n-lzjm3YBrJvej626iduq-D9sJEzUNw2hw1qXONlpPA5STRBSsHtXANeyps4O4ZDILA16CnST-SruWtsSREIV6geIGyHU6cI7x0Ic6e-bOXaUuKsmlLpHCFJmXg6-dWzL*kH16DMQzOi0iTNE1xFsXBqRyfot1NwrPRFmGzPr4w3jTHGpX16S3*2H4Um22xB8u5-ANWgt0s\"\n }\n}", + "originalRequest": { + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"ideal\",\n \"issuer\" : \"1121\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"ideal\",\n \"issuer\" : \"1121\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + ] }, { "name": "Make a Klarna payment", "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 \"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" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + "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 \"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" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + ] }, { "name": "Make a one-off payment with a token and CVV", "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"recurringDetailReference\" : \"8416038790273850\",\n \"cvc\" : \"737\"\n },\n \"shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID_6738oneoff\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"recurringDetailReference\" : \"8416038790273850\",\n \"cvc\" : \"737\"\n },\n \"shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID_6738oneoff\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + ] }, { "name": "Make a one-off payment with a token and CVV, using encrypted card details", "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"recurringDetailReference\" : \"8416038790273850\",\n \"encryptedSecurityCode\" : \"adyenjs_0_1_18$MT6ppy0FAMVMLH...\"\n },\n \"shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID_6738oneoff\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"recurringDetailReference\" : \"8416038790273850\",\n \"encryptedSecurityCode\" : \"adyenjs_0_1_18$MT6ppy0FAMVMLH...\"\n },\n \"shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID_6738oneoff\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + ] }, { "name": "Make a card payment with a token", "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"recurringDetailReference\" : \"8315791039321763\"\n },\n \"shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"shopperInteraction\" : \"ContAuth\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"recurringDetailReference\" : \"8315791039321763\"\n },\n \"shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"shopperInteraction\" : \"ContAuth\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + ] }, { "name": "Split a payment between balance accounts", "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 + "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 \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4111111111111111\",\n \"cvc\" : \"737\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\"\n },\n \"amount\" : {\n \"value\" : 40000,\n \"currency\" : \"USD\"\n },\n \"reference\" : \"{{$guid}}\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"splits\" : [ {\n \"amount\" : {\n \"value\" : 39600\n },\n \"type\" : \"BalanceAccount\",\n \"account\" : \"BA00000000000000000000001\",\n \"reference\" : \"Your reference for the sale amount\",\n \"description\" : \"Your description for the sale amount\"\n }, {\n \"amount\" : {\n \"value\" : 400\n },\n \"type\" : \"Commission\",\n \"reference\" : \"Your reference for the commission\",\n \"description\" : \"Your description for the commission\"\n }, {\n \"type\" : \"PaymentFee\",\n \"account\" : \"BA00000000000000000000001\",\n \"reference\" : \"Your reference for the fees\",\n \"description\" : \"Your description for the fees\"\n } ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"additionalData\" : {\n \"refusalReasonRaw\" : \"AUTHORISED\",\n \"eci\" : \"N/A\",\n \"acquirerAccountCode\" : \"YOUR_ACQUIRER_ACCOUNT\",\n \"donationToken\" : \"81234567890123456...\",\n \"xid\" : \"N/A\",\n \"threeDAuthenticated\" : \"false\",\n \"paymentMethodVariant\" : \"visa\",\n \"issuerBin\" : \"41111111\",\n \"payoutEligible\" : \"Y\",\n \"fraudManualReview\" : \"false\",\n \"threeDOffered\" : \"false\",\n \"threeDOfferedResponse\" : \"N/A\",\n \"authorisationMid\" : \"50\",\n \"fundsAvailability\" : \"I\",\n \"authorisedAmountCurrency\" : \"USD\",\n \"threeDAuthenticatedResponse\" : \"N/A\",\n \"avsResultRaw\" : \"5\",\n \"retry.attempt1.rawResponse\" : \"AUTHORISED\",\n \"paymentMethod\" : \"visa\",\n \"avsResult\" : \"5 No AVS data provided\",\n \"cardSummary\" : \"1111\",\n \"retry.attempt1.avsResultRaw\" : \"5\",\n \"networkTxReference\" : \"777718270854480\",\n \"expiryDate\" : \"3/2030\",\n \"cavvAlgorithm\" : \"N/A\",\n \"cardBin\" : \"411111\",\n \"alias\" : \"8915844059375211\",\n \"cvcResultRaw\" : \"M\",\n \"merchantReference\" : \"YOUR_ORDER_NUMBER\",\n \"acquirerReference\" : \"YOUR_ACQUIRER_REFERENCE\",\n \"cardIssuingCountry\" : \"NL\",\n \"liabilityShift\" : \"false\",\n \"fraudResultType\" : \"GREEN\",\n \"authCode\" : \"035450\",\n \"cardHolderName\" : \"John Smith\",\n \"isCardCommercial\" : \"unknown\",\n \"PaymentAccountReference\" : \"6006491286999921374...\",\n \"retry.attempt1.acquirerAccount\" : \"YOUR_ACQUIRER_ACCOUNT\",\n \"cardIssuingBank\" : \"ISSUING_BANK_CUSTOMER\",\n \"retry.attempt1.acquirer\" : \"YOUR_ACQUIRER_CODE\",\n \"authorisedAmountValue\" : \"40000\",\n \"issuerCountry\" : \"NL\",\n \"cvcResult\" : \"1 Matches\",\n \"retry.attempt1.responseCode\" : \"Approved\",\n \"aliasType\" : \"Default\",\n \"retry.attempt1.shopperInteraction\" : \"Ecommerce\",\n \"cardPaymentMethod\" : \"visa\",\n \"acquirerCode\" : \"YOUR_ACQUIRER_CODE\"\n },\n \"pspReference\" : \"PPKFQ89R6QRXGN82\",\n \"resultCode\" : \"Authorised\"\n}", + "originalRequest": { + "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 \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4111111111111111\",\n \"cvc\" : \"737\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\"\n },\n \"amount\" : {\n \"value\" : 40000,\n \"currency\" : \"USD\"\n },\n \"reference\" : \"{{$guid}}\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"splits\" : [ {\n \"amount\" : {\n \"value\" : 39600\n },\n \"type\" : \"BalanceAccount\",\n \"account\" : \"BA00000000000000000000001\",\n \"reference\" : \"Your reference for the sale amount\",\n \"description\" : \"Your description for the sale amount\"\n }, {\n \"amount\" : {\n \"value\" : 400\n },\n \"type\" : \"Commission\",\n \"reference\" : \"Your reference for the commission\",\n \"description\" : \"Your description for the commission\"\n }, {\n \"type\" : \"PaymentFee\",\n \"account\" : \"BA00000000000000000000001\",\n \"reference\" : \"Your reference for the fees\",\n \"description\" : \"Your description for the fees\"\n } ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4111111111111111\",\n \"cvc\" : \"737\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\"\n },\n \"amount\" : {\n \"value\" : 40000,\n \"currency\" : \"USD\"\n },\n \"reference\" : \"{{$guid}}\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"splits\" : [ {\n \"amount\" : {\n \"value\" : 39600\n },\n \"type\" : \"BalanceAccount\",\n \"account\" : \"BA00000000000000000000001\",\n \"reference\" : \"Your reference for the sale amount\",\n \"description\" : \"Your description for the sale amount\"\n }, {\n \"amount\" : {\n \"value\" : 400\n },\n \"type\" : \"Commission\",\n \"reference\" : \"Your reference for the commission\",\n \"description\" : \"Your description for the commission\"\n }, {\n \"type\" : \"PaymentFee\",\n \"account\" : \"BA00000000000000000000001\",\n \"reference\" : \"Your reference for the fees\",\n \"description\" : \"Your description for the fees\"\n } ]\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + ] }, { "name": "Split a payment in a Classic Platforms integration", "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 \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4111111111111111\",\n \"cvc\" : \"737\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\"\n },\n \"amount\" : {\n \"value\" : 6200,\n \"currency\" : \"EUR\"\n },\n \"reference\" : \"{{$guid}}\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"splits\" : [ {\n \"amount\" : {\n \"value\" : 6000\n },\n \"type\" : \"MarketPlace\",\n \"account\" : \"151272963\",\n \"reference\" : \"6124145\",\n \"description\" : \"Porcelain Doll: Eliza (20cm)\"\n }, {\n \"amount\" : {\n \"value\" : 200\n },\n \"type\" : \"Commission\",\n \"reference\" : \"6124146\"\n } ]\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + "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 \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4111111111111111\",\n \"cvc\" : \"737\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\"\n },\n \"amount\" : {\n \"value\" : 6200,\n \"currency\" : \"EUR\"\n },\n \"reference\" : \"{{$guid}}\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"splits\" : [ {\n \"amount\" : {\n \"value\" : 6000\n },\n \"type\" : \"MarketPlace\",\n \"account\" : \"151272963\",\n \"reference\" : \"6124145\",\n \"description\" : \"Porcelain Doll: Eliza (20cm)\"\n }, {\n \"amount\" : {\n \"value\" : 200\n },\n \"type\" : \"Commission\",\n \"reference\" : \"6124146\"\n } ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + ] } ] - } -, + }, { "name": "/payments/details", "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. ", @@ -2114,56 +3811,115 @@ { "name": "Submit details for the 3D Secure payment", "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 + "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 \"MD\" : \"Ab02b4c0!BQABAgCW5sxB4e/==...\",\n \"PaRes\" : \"eNrNV0mTo7gS...\"\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. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"resultCode\" : \"Authorised\",\n \"pspReference\" : \"V4HZ4RBFJGXXGN82\"\n}", + "originalRequest": { + "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 \"MD\" : \"Ab02b4c0!BQABAgCW5sxB4e/==...\",\n \"PaRes\" : \"eNrNV0mTo7gS...\"\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. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"paymentData\" : \"Hee57361f99....\",\n \"details\" : {\n \"MD\" : \"Ab02b4c0!BQABAgCW5sxB4e/==...\",\n \"PaRes\" : \"eNrNV0mTo7gS...\"\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. " - } + ] } ] } - ] }, { @@ -2176,55 +3932,113 @@ { "name": "Create a payment link", "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 + "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 \"reference\" : \"{{$guid}}\",\n \"amount\" : {\n \"value\" : 1250,\n \"currency\" : \"BRL\"\n },\n \"countryCode\" : \"BR\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"shopperEmail\" : \"test@email.com\",\n \"shopperLocale\" : \"pt-BR\",\n \"billingAddress\" : {\n \"street\" : \"Roque Petroni Jr\",\n \"postalCode\" : \"59000060\",\n \"city\" : \"São Paulo\",\n \"houseNumberOrName\" : \"999\",\n \"country\" : \"BR\",\n \"stateOrProvince\" : \"SP\"\n },\n \"deliveryAddress\" : {\n \"street\" : \"Roque Petroni Jr\",\n \"postalCode\" : \"59000060\",\n \"city\" : \"São Paulo\",\n \"houseNumberOrName\" : \"999\",\n \"country\" : \"BR\",\n \"stateOrProvince\" : \"SP\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentLinks", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentLinks" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates a payment link to our hosted payment form where shoppers can pay. The list of payment methods presented to the shopper depends on the `currency` and `country` parameters sent in the request. For more information, refer to [Pay by Link documentation](https://docs.adyen.com/online-payments/pay-by-link#create-payment-links-through-api)." +} + ,"response": [ + {"name": "Created - the request has succeeded.", + "code": 201, + "status": "Created", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"amount\" : {\n \"currency\" : \"BRL\",\n \"value\" : 1250\n },\n \"billingAddress\" : {\n \"city\" : \"São Paulo\",\n \"country\" : \"BR\",\n \"houseNumberOrName\" : \"999\",\n \"postalCode\" : \"59000060\",\n \"stateOrProvince\" : \"SP\",\n \"street\" : \"Roque Petroni Jr\"\n },\n \"countryCode\" : \"BR\",\n \"deliveryAddress\" : {\n \"city\" : \"São Paulo\",\n \"country\" : \"BR\",\n \"houseNumberOrName\" : \"999\",\n \"postalCode\" : \"59000060\",\n \"stateOrProvince\" : \"SP\",\n \"street\" : \"Roque Petroni Jr\"\n },\n \"expiresAt\" : \"2022-10-28T09:16:22Z\",\n \"merchantAccount\" : \"YOUR_MERCHANT_ACCOUNT\",\n \"reference\" : \"YOUR_ORDER_NUMBER\",\n \"reusable\" : false,\n \"shopperEmail\" : \"test@email.com\",\n \"shopperLocale\" : \"pt-BR\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"status\" : \"active\",\n \"url\" : \"https://test.adyen.link/PLE83C39B0A0DE0C1E\"\n}", + "originalRequest": { + "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 \"reference\" : \"{{$guid}}\",\n \"amount\" : {\n \"value\" : 1250,\n \"currency\" : \"BRL\"\n },\n \"countryCode\" : \"BR\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"shopperEmail\" : \"test@email.com\",\n \"shopperLocale\" : \"pt-BR\",\n \"billingAddress\" : {\n \"street\" : \"Roque Petroni Jr\",\n \"postalCode\" : \"59000060\",\n \"city\" : \"São Paulo\",\n \"houseNumberOrName\" : \"999\",\n \"country\" : \"BR\",\n \"stateOrProvince\" : \"SP\"\n },\n \"deliveryAddress\" : {\n \"street\" : \"Roque Petroni Jr\",\n \"postalCode\" : \"59000060\",\n \"city\" : \"São Paulo\",\n \"houseNumberOrName\" : \"999\",\n \"country\" : \"BR\",\n \"stateOrProvince\" : \"SP\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentLinks", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentLinks" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates a payment link to our hosted payment form where shoppers can pay. The list of payment methods presented to the shopper depends on the `currency` and `country` parameters sent in the request. For more information, refer to [Pay by Link documentation](https://docs.adyen.com/online-payments/pay-by-link#create-payment-links-through-api)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"reference\" : \"{{$guid}}\",\n \"amount\" : {\n \"value\" : 1250,\n \"currency\" : \"BRL\"\n },\n \"countryCode\" : \"BR\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"shopperEmail\" : \"test@email.com\",\n \"shopperLocale\" : \"pt-BR\",\n \"billingAddress\" : {\n \"street\" : \"Roque Petroni Jr\",\n \"postalCode\" : \"59000060\",\n \"city\" : \"São Paulo\",\n \"houseNumberOrName\" : \"999\",\n \"country\" : \"BR\",\n \"stateOrProvince\" : \"SP\"\n },\n \"deliveryAddress\" : {\n \"street\" : \"Roque Petroni Jr\",\n \"postalCode\" : \"59000060\",\n \"city\" : \"São Paulo\",\n \"houseNumberOrName\" : \"999\",\n \"country\" : \"BR\",\n \"stateOrProvince\" : \"SP\"\n }\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentLinks", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentLinks" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Creates a payment link to our hosted payment form where shoppers can pay. The list of payment methods presented to the shopper depends on the `currency` and `country` parameters sent in the request. For more information, refer to [Pay by Link documentation](https://docs.adyen.com/online-payments/pay-by-link#create-payment-links-through-api)." - } + ] } ] - } -, + }, { "name": "/paymentLinks/:linkId", "description": "Retrieves the payment link details using the payment link `id`.", @@ -2232,49 +4046,50 @@ { "name": "Get a payment link", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentLinks/:linkId", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentLinks", - ":linkId" - ], - "variable": [ - { - "key": "linkId", - "value": "", - "description": "Unique identifier of the payment link." - } - ], - "query": [ - ] - }, - "description": "Retrieves the payment link details using the payment link `id`." - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentLinks/:linkId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentLinks", + ":linkId" + ], + "variable": [ + { + "key": "linkId", + "value": "", + "description": "Unique identifier of the payment link." + } + ], + "query": [ + ] + }, + "description": "Retrieves the payment link details using the payment link `id`." +} + ,"response": [ + ] } ] - } -, + }, { "name": "/paymentLinks/:linkId", "description": "Updates the status of a payment link. Use this endpoint to [force the expiry of a payment link](https://docs.adyen.com/online-payments/pay-by-link#update-payment-link-status).", @@ -2282,55 +4097,113 @@ { "name": "Update the status of a payment link", "request": { - "method": "PATCH", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"status\" : \"expired\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentLinks/:linkId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentLinks", + ":linkId" + ], + "variable": [ + { + "key": "linkId", + "value": "", + "description": "Unique identifier of the payment link." + } + ], + "query": [ + ] + }, + "description": "Updates the status of a payment link. Use this endpoint to [force the expiry of a payment link](https://docs.adyen.com/online-payments/pay-by-link#update-payment-link-status)." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 8700\n },\n \"countryCode\" : \"NL\",\n \"expiresAt\" : \"2021-04-08T14:06:39Z\",\n \"merchantAccount\" : \"YOUR_MERCHANT_ACCOUNT\",\n \"reference\" : \"shopper-reference-ekvL83\",\n \"shopperLocale\" : \"hu-HU\",\n \"shopperReference\" : \"shopper-reference-LZfdWZ\",\n \"status\" : \"expired\",\n \"url\" : \"https://test.adyen.link/PL61C53A8B97E6915A\",\n \"id\" : \"PL61C53A8B97E6915A\"\n}", + "originalRequest": { + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"status\" : \"expired\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentLinks/:linkId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentLinks", + ":linkId" + ], + "variable": [ + { + "key": "linkId", + "value": "", + "description": "Unique identifier of the payment link." + } + ], + "query": [ + ] + }, + "description": "Updates the status of a payment link. Use this endpoint to [force the expiry of a payment link](https://docs.adyen.com/online-payments/pay-by-link#update-payment-link-status)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"status\" : \"expired\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentLinks/:linkId", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentLinks", - ":linkId" - ], - "variable": [ - { - "key": "linkId", - "value": "", - "description": "Unique identifier of the payment link." - } - ], - "query": [ - ] - }, - "description": "Updates the status of a payment link. Use this endpoint to [force the expiry of a payment link](https://docs.adyen.com/online-payments/pay-by-link#update-payment-link-status)." - } + ] } ] } - ] } ], diff --git a/postman/CheckoutService-v41.json b/postman/CheckoutService-v41.json index 68af6ca..54b74a1 100644 --- a/postman/CheckoutService-v41.json +++ b/postman/CheckoutService-v41.json @@ -19,55 +19,113 @@ { "name": "Cancel a payment using your own reference", "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 + "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 \"paymentReference\" : \"YOUR_UNIQUE_REFERENCE_FOR_THE_PAYMENT\",\n \"reference\" : \"YOUR_UNIQUE_REFERENCE_FOR_THE_CANCELLATION\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/cancels", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "cancels" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Cancels the authorisation on a payment that has not yet been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/captures), and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**TECHNICAL_CANCEL** webhook](https://docs.adyen.com/online-payments/cancel#cancellation-webhook). If you want to cancel a payment using the [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference), use the [`/payments/{paymentPspReference}/cancels`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/cancels) endpoint instead. If you want to cancel a payment but are not sure whether it has been captured, use the [`/payments/{paymentPspReference}/reversals`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/reversals) endpoint instead. For more information, refer to [Cancel](https://docs.adyen.com/online-payments/cancel)." +} + ,"response": [ + {"name": "Created - the request has been fulfilled and has resulted in one or more new resources being created.", + "code": 201, + "status": "Created", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"merchantAccount\" : \"YOUR_MERCHANT_ACCOUNT\",\n \"paymentReference\" : \"YOUR_UNIQUE_REFERENCE_FOR_THE_PAYMENT\",\n \"reference\" : \"YOUR_UNIQUE_REFERENCE_FOR_THE_CANCELLATION\",\n \"pspReference\" : \"993617894906488A\",\n \"status\" : \"received\"\n}", + "originalRequest": { + "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 \"paymentReference\" : \"YOUR_UNIQUE_REFERENCE_FOR_THE_PAYMENT\",\n \"reference\" : \"YOUR_UNIQUE_REFERENCE_FOR_THE_CANCELLATION\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/cancels", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "cancels" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Cancels the authorisation on a payment that has not yet been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/captures), and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**TECHNICAL_CANCEL** webhook](https://docs.adyen.com/online-payments/cancel#cancellation-webhook). If you want to cancel a payment using the [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference), use the [`/payments/{paymentPspReference}/cancels`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/cancels) endpoint instead. If you want to cancel a payment but are not sure whether it has been captured, use the [`/payments/{paymentPspReference}/reversals`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/reversals) endpoint instead. For more information, refer to [Cancel](https://docs.adyen.com/online-payments/cancel)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"paymentReference\" : \"YOUR_UNIQUE_REFERENCE_FOR_THE_PAYMENT\",\n \"reference\" : \"YOUR_UNIQUE_REFERENCE_FOR_THE_CANCELLATION\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/cancels", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "cancels" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Cancels the authorisation on a payment that has not yet been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/captures), and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**TECHNICAL_CANCEL** webhook](https://docs.adyen.com/online-payments/cancel#cancellation-webhook). If you want to cancel a payment using the [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference), use the [`/payments/{paymentPspReference}/cancels`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/cancels) endpoint instead. If you want to cancel a payment but are not sure whether it has been captured, use the [`/payments/{paymentPspReference}/reversals`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/reversals) endpoint instead. For more information, refer to [Cancel](https://docs.adyen.com/online-payments/cancel)." - } + ] } ] - } -, + }, { "name": "/payments/:paymentPspReference/amountUpdates", "description": "Increases or decreases the authorised payment amount and returns a unique reference for this request. You get the outcome of the request asynchronously, in an [**AUTHORISATION_ADJUSTMENT** webhook](https://docs.adyen.com/development-resources/webhooks/understand-notifications#event-codes). You can only update authorised amounts that have not yet been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/captures). The amount you specify in the request is the updated amount, which is larger or smaller than the initial authorised amount. For more information, refer to [Authorisation adjustment](https://docs.adyen.com/online-payments/adjust-authorisation#use-cases).", @@ -75,62 +133,127 @@ { "name": "Update the amount of an authorised payment", "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 + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 2500\n },\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments/:paymentPspReference/amountUpdates", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments", + ":paymentPspReference", + "amountUpdates" + ], + "variable": [ + { + "key": "paymentPspReference", + "value": "", + "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment." + } + ], + "query": [ + ] + }, + "description": "Increases or decreases the authorised payment amount and returns a unique reference for this request. You get the outcome of the request asynchronously, in an [**AUTHORISATION_ADJUSTMENT** webhook](https://docs.adyen.com/development-resources/webhooks/understand-notifications#event-codes). You can only update authorised amounts that have not yet been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/captures). The amount you specify in the request is the updated amount, which is larger or smaller than the initial authorised amount. For more information, refer to [Authorisation adjustment](https://docs.adyen.com/online-payments/adjust-authorisation#use-cases)." +} + ,"response": [ + {"name": "Created - the request has been fulfilled and has resulted in one or more new resources being created.", + "code": 201, + "status": "Created", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"merchantAccount\" : \"YOUR_MERCHANT_ACCOUNT\",\n \"paymentPspReference\" : \"993617894903480A\",\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"pspReference\" : \"993617894906488A\",\n \"status\" : \"received\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 2500\n }\n}", + "originalRequest": { + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 2500\n },\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments/:paymentPspReference/amountUpdates", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments", + ":paymentPspReference", + "amountUpdates" + ], + "variable": [ + { + "key": "paymentPspReference", + "value": "", + "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment." + } + ], + "query": [ + ] + }, + "description": "Increases or decreases the authorised payment amount and returns a unique reference for this request. You get the outcome of the request asynchronously, in an [**AUTHORISATION_ADJUSTMENT** webhook](https://docs.adyen.com/development-resources/webhooks/understand-notifications#event-codes). You can only update authorised amounts that have not yet been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/captures). The amount you specify in the request is the updated amount, which is larger or smaller than the initial authorised amount. For more information, refer to [Authorisation adjustment](https://docs.adyen.com/online-payments/adjust-authorisation#use-cases)." +} } - ], - "body": { - "mode": "raw", - "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" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments/:paymentPspReference/amountUpdates", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments", - ":paymentPspReference", - "amountUpdates" - ], - "variable": [ - { - "key": "paymentPspReference", - "value": "", - "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment." - } - ], - "query": [ - ] - }, - "description": "Increases or decreases the authorised payment amount and returns a unique reference for this request. You get the outcome of the request asynchronously, in an [**AUTHORISATION_ADJUSTMENT** webhook](https://docs.adyen.com/development-resources/webhooks/understand-notifications#event-codes). You can only update authorised amounts that have not yet been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/captures). The amount you specify in the request is the updated amount, which is larger or smaller than the initial authorised amount. For more information, refer to [Authorisation adjustment](https://docs.adyen.com/online-payments/adjust-authorisation#use-cases)." - } + ] } ] - } -, + }, { "name": "/payments/:paymentPspReference/cancels", "description": "Cancels the authorisation on a payment that has not yet been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/paymentPspReference/captures), and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CANCELLATION** webhook](https://docs.adyen.com/online-payments/cancel#cancellation-webhook). If you want to cancel a payment but don't have the [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference), use the [`/cancels`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cancels) endpoint instead. If you want to cancel a payment but are not sure whether it has been captured, use the [`/payments/{paymentPspReference}/reversals`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/reversals) endpoint instead. For more information, refer to [Cancel](https://docs.adyen.com/online-payments/cancel).", @@ -138,62 +261,127 @@ { "name": "Cancel payment using a PSP reference", "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 + "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 \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments/:paymentPspReference/cancels", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments", + ":paymentPspReference", + "cancels" + ], + "variable": [ + { + "key": "paymentPspReference", + "value": "", + "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to cancel. " + } + ], + "query": [ + ] + }, + "description": "Cancels the authorisation on a payment that has not yet been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/paymentPspReference/captures), and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CANCELLATION** webhook](https://docs.adyen.com/online-payments/cancel#cancellation-webhook). If you want to cancel a payment but don't have the [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference), use the [`/cancels`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cancels) endpoint instead. If you want to cancel a payment but are not sure whether it has been captured, use the [`/payments/{paymentPspReference}/reversals`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/reversals) endpoint instead. For more information, refer to [Cancel](https://docs.adyen.com/online-payments/cancel)." +} + ,"response": [ + {"name": "Created - the request has been fulfilled and has resulted in one or more new resources being created.", + "code": 201, + "status": "Created", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"merchantAccount\" : \"YOUR_MERCHANT_ACCOUNT\",\n \"paymentPspReference\" : \"993617894903480A\",\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"pspReference\" : \"993617894906488A\",\n \"status\" : \"received\"\n}", + "originalRequest": { + "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 \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments/:paymentPspReference/cancels", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments", + ":paymentPspReference", + "cancels" + ], + "variable": [ + { + "key": "paymentPspReference", + "value": "", + "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to cancel. " + } + ], + "query": [ + ] + }, + "description": "Cancels the authorisation on a payment that has not yet been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/paymentPspReference/captures), and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CANCELLATION** webhook](https://docs.adyen.com/online-payments/cancel#cancellation-webhook). If you want to cancel a payment but don't have the [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference), use the [`/cancels`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cancels) endpoint instead. If you want to cancel a payment but are not sure whether it has been captured, use the [`/payments/{paymentPspReference}/reversals`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/reversals) endpoint instead. For more information, refer to [Cancel](https://docs.adyen.com/online-payments/cancel)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments/:paymentPspReference/cancels", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments", - ":paymentPspReference", - "cancels" - ], - "variable": [ - { - "key": "paymentPspReference", - "value": "", - "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to cancel. " - } - ], - "query": [ - ] - }, - "description": "Cancels the authorisation on a payment that has not yet been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/paymentPspReference/captures), and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CANCELLATION** webhook](https://docs.adyen.com/online-payments/cancel#cancellation-webhook). If you want to cancel a payment but don't have the [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference), use the [`/cancels`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cancels) endpoint instead. If you want to cancel a payment but are not sure whether it has been captured, use the [`/payments/{paymentPspReference}/reversals`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/reversals) endpoint instead. For more information, refer to [Cancel](https://docs.adyen.com/online-payments/cancel)." - } + ] } ] - } -, + }, { "name": "/payments/:paymentPspReference/captures", "description": " Captures an authorised payment and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CAPTURE** webhook](https://docs.adyen.com/online-payments/capture#capture-notification). You can capture either the full authorised amount or a part of the authorised amount. By default, any unclaimed amount after a partial capture gets cancelled. This does not apply if you enabled multiple partial captures on your account and the payment method supports multiple partial captures. [Automatic capture](https://docs.adyen.com/online-payments/capture#automatic-capture) is the default setting for most payment methods. In these cases, you don't need to make capture requests. However, making capture requests for payments that are captured automatically does not result in double charges. For more information, refer to [Capture](https://docs.adyen.com/online-payments/capture).", @@ -201,62 +389,127 @@ { "name": "Capture an authorised payment", "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 + "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 \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"amount\" : {\n \"value\" : 2000,\n \"currency\" : \"EUR\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments/:paymentPspReference/captures", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments", + ":paymentPspReference", + "captures" + ], + "variable": [ + { + "key": "paymentPspReference", + "value": "", + "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to capture." + } + ], + "query": [ + ] + }, + "description": " Captures an authorised payment and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CAPTURE** webhook](https://docs.adyen.com/online-payments/capture#capture-notification). You can capture either the full authorised amount or a part of the authorised amount. By default, any unclaimed amount after a partial capture gets cancelled. This does not apply if you enabled multiple partial captures on your account and the payment method supports multiple partial captures. [Automatic capture](https://docs.adyen.com/online-payments/capture#automatic-capture) is the default setting for most payment methods. In these cases, you don't need to make capture requests. However, making capture requests for payments that are captured automatically does not result in double charges. For more information, refer to [Capture](https://docs.adyen.com/online-payments/capture)." +} + ,"response": [ + {"name": "Created - the request has been fulfilled and has resulted in one or more new resources being created.", + "code": 201, + "status": "Created", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"merchantAccount\" : \"YOUR_MERCHANT_ACCOUNT\",\n \"paymentPspReference\" : \"993617894903480A\",\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"pspReference\" : \"993617894906488A\",\n \"status\" : \"received\",\n \"amount\" : {\n \"value\" : 2000,\n \"currency\" : \"EUR\"\n }\n}", + "originalRequest": { + "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 \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"amount\" : {\n \"value\" : 2000,\n \"currency\" : \"EUR\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments/:paymentPspReference/captures", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments", + ":paymentPspReference", + "captures" + ], + "variable": [ + { + "key": "paymentPspReference", + "value": "", + "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to capture." + } + ], + "query": [ + ] + }, + "description": " Captures an authorised payment and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CAPTURE** webhook](https://docs.adyen.com/online-payments/capture#capture-notification). You can capture either the full authorised amount or a part of the authorised amount. By default, any unclaimed amount after a partial capture gets cancelled. This does not apply if you enabled multiple partial captures on your account and the payment method supports multiple partial captures. [Automatic capture](https://docs.adyen.com/online-payments/capture#automatic-capture) is the default setting for most payment methods. In these cases, you don't need to make capture requests. However, making capture requests for payments that are captured automatically does not result in double charges. For more information, refer to [Capture](https://docs.adyen.com/online-payments/capture)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"amount\" : {\n \"value\" : 2000,\n \"currency\" : \"EUR\"\n }\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments/:paymentPspReference/captures", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments", - ":paymentPspReference", - "captures" - ], - "variable": [ - { - "key": "paymentPspReference", - "value": "", - "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to capture." - } - ], - "query": [ - ] - }, - "description": " Captures an authorised payment and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CAPTURE** webhook](https://docs.adyen.com/online-payments/capture#capture-notification). You can capture either the full authorised amount or a part of the authorised amount. By default, any unclaimed amount after a partial capture gets cancelled. This does not apply if you enabled multiple partial captures on your account and the payment method supports multiple partial captures. [Automatic capture](https://docs.adyen.com/online-payments/capture#automatic-capture) is the default setting for most payment methods. In these cases, you don't need to make capture requests. However, making capture requests for payments that are captured automatically does not result in double charges. For more information, refer to [Capture](https://docs.adyen.com/online-payments/capture)." - } + ] } ] - } -, + }, { "name": "/payments/:paymentPspReference/refunds", "description": "Refunds a payment that has been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/captures), and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**REFUND** webhook](https://docs.adyen.com/online-payments/refund#refund-webhook). You can refund either the full captured amount or a part of the captured amount. You can also perform multiple partial refunds, as long as their sum doesn't exceed the captured amount. > Some payment methods do not support partial refunds. To learn if a payment method supports partial refunds, refer to the payment method page such as [cards](https://docs.adyen.com/payment-methods/cards#supported-cards), [iDEAL](https://docs.adyen.com/payment-methods/ideal), or [Klarna](https://docs.adyen.com/payment-methods/klarna). If you want to refund a payment but are not sure whether it has been captured, use the [`/payments/{paymentPspReference}/reversals`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/reversals) endpoint instead. For more information, refer to [Refund](https://docs.adyen.com/online-payments/refund).", @@ -264,62 +517,127 @@ { "name": "Refund a payment", "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 + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 2500\n },\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments/:paymentPspReference/refunds", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments", + ":paymentPspReference", + "refunds" + ], + "variable": [ + { + "key": "paymentPspReference", + "value": "", + "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to refund." + } + ], + "query": [ + ] + }, + "description": "Refunds a payment that has been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/captures), and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**REFUND** webhook](https://docs.adyen.com/online-payments/refund#refund-webhook). You can refund either the full captured amount or a part of the captured amount. You can also perform multiple partial refunds, as long as their sum doesn't exceed the captured amount. > Some payment methods do not support partial refunds. To learn if a payment method supports partial refunds, refer to the payment method page such as [cards](https://docs.adyen.com/payment-methods/cards#supported-cards), [iDEAL](https://docs.adyen.com/payment-methods/ideal), or [Klarna](https://docs.adyen.com/payment-methods/klarna). If you want to refund a payment but are not sure whether it has been captured, use the [`/payments/{paymentPspReference}/reversals`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/reversals) endpoint instead. For more information, refer to [Refund](https://docs.adyen.com/online-payments/refund)." +} + ,"response": [ + {"name": "Created - the request has been fulfilled and has resulted in one or more new resources being created.", + "code": 201, + "status": "Created", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"merchantAccount\" : \"YOUR_MERCHANT_ACCOUNT\",\n \"paymentPspReference\" : \"993617894903480A\",\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"pspReference\" : \"993617894906488A\",\n \"status\" : \"received\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 2500\n }\n}", + "originalRequest": { + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 2500\n },\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments/:paymentPspReference/refunds", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments", + ":paymentPspReference", + "refunds" + ], + "variable": [ + { + "key": "paymentPspReference", + "value": "", + "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to refund." + } + ], + "query": [ + ] + }, + "description": "Refunds a payment that has been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/captures), and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**REFUND** webhook](https://docs.adyen.com/online-payments/refund#refund-webhook). You can refund either the full captured amount or a part of the captured amount. You can also perform multiple partial refunds, as long as their sum doesn't exceed the captured amount. > Some payment methods do not support partial refunds. To learn if a payment method supports partial refunds, refer to the payment method page such as [cards](https://docs.adyen.com/payment-methods/cards#supported-cards), [iDEAL](https://docs.adyen.com/payment-methods/ideal), or [Klarna](https://docs.adyen.com/payment-methods/klarna). If you want to refund a payment but are not sure whether it has been captured, use the [`/payments/{paymentPspReference}/reversals`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/reversals) endpoint instead. For more information, refer to [Refund](https://docs.adyen.com/online-payments/refund)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 2500\n },\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments/:paymentPspReference/refunds", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments", - ":paymentPspReference", - "refunds" - ], - "variable": [ - { - "key": "paymentPspReference", - "value": "", - "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to refund." - } - ], - "query": [ - ] - }, - "description": "Refunds a payment that has been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/captures), and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**REFUND** webhook](https://docs.adyen.com/online-payments/refund#refund-webhook). You can refund either the full captured amount or a part of the captured amount. You can also perform multiple partial refunds, as long as their sum doesn't exceed the captured amount. > Some payment methods do not support partial refunds. To learn if a payment method supports partial refunds, refer to the payment method page such as [cards](https://docs.adyen.com/payment-methods/cards#supported-cards), [iDEAL](https://docs.adyen.com/payment-methods/ideal), or [Klarna](https://docs.adyen.com/payment-methods/klarna). If you want to refund a payment but are not sure whether it has been captured, use the [`/payments/{paymentPspReference}/reversals`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/reversals) endpoint instead. For more information, refer to [Refund](https://docs.adyen.com/online-payments/refund)." - } + ] } ] - } -, + }, { "name": "/payments/:paymentPspReference/reversals", "description": "[Refunds](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/refunds) a payment if it has already been captured, and [cancels](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/cancels) a payment if it has not yet been captured. Returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CANCEL_OR_REFUND** webhook](https://docs.adyen.com/online-payments/reverse#cancel-or-refund-webhook). The reversed amount is always the full payment amount. > Do not use this request for payments that involve multiple partial captures. For more information, refer to [Reversal](https://docs.adyen.com/online-payments/reversal).", @@ -327,62 +645,127 @@ { "name": "Reverse (cancel or refund) a payment", "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 + "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 \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments/:paymentPspReference/reversals", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments", + ":paymentPspReference", + "reversals" + ], + "variable": [ + { + "key": "paymentPspReference", + "value": "", + "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to reverse. " + } + ], + "query": [ + ] + }, + "description": "[Refunds](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/refunds) a payment if it has already been captured, and [cancels](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/cancels) a payment if it has not yet been captured. Returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CANCEL_OR_REFUND** webhook](https://docs.adyen.com/online-payments/reverse#cancel-or-refund-webhook). The reversed amount is always the full payment amount. > Do not use this request for payments that involve multiple partial captures. For more information, refer to [Reversal](https://docs.adyen.com/online-payments/reversal)." +} + ,"response": [ + {"name": "Created - the request has been fulfilled and has resulted in one or more new resources being created.", + "code": 201, + "status": "Created", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"merchantAccount\" : \"YOUR_MERCHANT_ACCOUNT\",\n \"paymentPspReference\" : \"993617894903480A\",\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"pspReference\" : \"993617894906488A\",\n \"status\" : \"received\"\n}", + "originalRequest": { + "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 \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments/:paymentPspReference/reversals", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments", + ":paymentPspReference", + "reversals" + ], + "variable": [ + { + "key": "paymentPspReference", + "value": "", + "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to reverse. " + } + ], + "query": [ + ] + }, + "description": "[Refunds](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/refunds) a payment if it has already been captured, and [cancels](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/cancels) a payment if it has not yet been captured. Returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CANCEL_OR_REFUND** webhook](https://docs.adyen.com/online-payments/reverse#cancel-or-refund-webhook). The reversed amount is always the full payment amount. > Do not use this request for payments that involve multiple partial captures. For more information, refer to [Reversal](https://docs.adyen.com/online-payments/reversal)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments/:paymentPspReference/reversals", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments", - ":paymentPspReference", - "reversals" - ], - "variable": [ - { - "key": "paymentPspReference", - "value": "", - "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to reverse. " - } - ], - "query": [ - ] - }, - "description": "[Refunds](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/refunds) a payment if it has already been captured, and [cancels](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/cancels) a payment if it has not yet been captured. Returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CANCEL_OR_REFUND** webhook](https://docs.adyen.com/online-payments/reverse#cancel-or-refund-webhook). The reversed amount is always the full payment amount. > Do not use this request for payments that involve multiple partial captures. For more information, refer to [Reversal](https://docs.adyen.com/online-payments/reversal)." - } + ] } ] } - ] }, { @@ -395,251 +778,374 @@ { "name": "Set up a payment session (Android)", "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 17408\n },\n \"reference\" : \"Your order number\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"channel\" : \"Android\",\n \"token\" : \"TOKEN_YOU_GET_FROM_CHECKOUT_SDK\",\n \"returnUrl\" : \"app://\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl_NL\",\n \"sessionValidity\" : \"2017-04-06T13:09:13Z\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentSession", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentSession" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Provides the data object that can be used to start the Checkout SDK. To set up the payment, pass its amount, currency, and other required parameters. We use this to optimise the payment flow and perform better risk assessment of the transaction. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." - } + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 17408\n },\n \"reference\" : \"Your order number\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"channel\" : \"Android\",\n \"token\" : \"TOKEN_YOU_GET_FROM_CHECKOUT_SDK\",\n \"returnUrl\" : \"app://\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl_NL\",\n \"sessionValidity\" : \"2017-04-06T13:09:13Z\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentSession", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentSession" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Provides the data object that can be used to start the Checkout SDK. To set up the payment, pass its amount, currency, and other required parameters. We use this to optimise the payment flow and perform better risk assessment of the transaction. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." +} + ,"response": [ + ] }, { "name": "Set up a payment session with the option to store card details", "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 + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 17408\n },\n \"reference\" : \"Your order number\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"enableOneClick\" : true,\n \"enableRecurring\" : true,\n \"channel\" : \"Web\",\n \"origin\" : \"https://www.yourwebsite.com\",\n \"returnUrl\" : \"https://www.yourshop.com/checkout/result\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl_NL\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"sdkVersion\" : \"1.7.0\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentSession", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentSession" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Provides the data object that can be used to start the Checkout SDK. To set up the payment, pass its amount, currency, and other required parameters. We use this to optimise the payment flow and perform better risk assessment of the transaction. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"paymentSession\" : \"eyJjaGVja291dHNob3BwZXJCYXN...\"\n}", + "originalRequest": { + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 17408\n },\n \"reference\" : \"Your order number\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"enableOneClick\" : true,\n \"enableRecurring\" : true,\n \"channel\" : \"Web\",\n \"origin\" : \"https://www.yourwebsite.com\",\n \"returnUrl\" : \"https://www.yourshop.com/checkout/result\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl_NL\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"sdkVersion\" : \"1.7.0\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentSession", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentSession" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Provides the data object that can be used to start the Checkout SDK. To set up the payment, pass its amount, currency, and other required parameters. We use this to optimise the payment flow and perform better risk assessment of the transaction. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 17408\n },\n \"reference\" : \"Your order number\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"enableOneClick\" : true,\n \"enableRecurring\" : true,\n \"channel\" : \"Web\",\n \"origin\" : \"https://www.yourwebsite.com\",\n \"returnUrl\" : \"https://www.yourshop.com/checkout/result\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl_NL\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"sdkVersion\" : \"1.7.0\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentSession", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentSession" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Provides the data object that can be used to start the Checkout SDK. To set up the payment, pass its amount, currency, and other required parameters. We use this to optimise the payment flow and perform better risk assessment of the transaction. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." - } + ] }, { "name": "Set up a payment session (iOS)", "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 17408\n },\n \"reference\" : \"Your order number\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"channel\" : \"iOS\",\n \"token\" : \"TOKEN_YOU_GET_FROM_CHECKOUT_SDK\",\n \"returnUrl\" : \"app://\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl_NL\",\n \"sessionValidity\" : \"2017-04-06T13:09:13Z\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentSession", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentSession" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Provides the data object that can be used to start the Checkout SDK. To set up the payment, pass its amount, currency, and other required parameters. We use this to optimise the payment flow and perform better risk assessment of the transaction. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." - } + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 17408\n },\n \"reference\" : \"Your order number\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"channel\" : \"iOS\",\n \"token\" : \"TOKEN_YOU_GET_FROM_CHECKOUT_SDK\",\n \"returnUrl\" : \"app://\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl_NL\",\n \"sessionValidity\" : \"2017-04-06T13:09:13Z\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentSession", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentSession" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Provides the data object that can be used to start the Checkout SDK. To set up the payment, pass its amount, currency, and other required parameters. We use this to optimise the payment flow and perform better risk assessment of the transaction. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." +} + ,"response": [ + ] }, { "name": "Split a payment between a sub-merchant and a platform account", "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 6200\n },\n \"additionalData\" : {\n \"split.api\" : \"1\",\n \"split.nrOfItems\" : \"2\",\n \"split.totalAmount\" : \"6200\",\n \"split.currencyCode\" : \"EUR\",\n \"split.item1.amount\" : \"6000\",\n \"split.item1.type\" : \"MarketPlace\",\n \"split.item1.account\" : \"151272963\",\n \"split.item1.reference\" : \"6124145\",\n \"split.item1.description\" : \"Porcelain Doll: Eliza (20cm)\",\n \"split.item2.amount\" : \"200\",\n \"split.item2.type\" : \"Commission\",\n \"split.item2.reference\" : \"6124146\"\n },\n \"reference\" : \"Your order number\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"channel\" : \"Android\",\n \"token\" : \"TOKEN_YOU_GET_FROM_CHECKOUT_SDK\",\n \"returnUrl\" : \"app://\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl_NL\",\n \"sessionValidity\" : \"2017-04-06T13:09:13Z\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentSession", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentSession" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Provides the data object that can be used to start the Checkout SDK. To set up the payment, pass its amount, currency, and other required parameters. We use this to optimise the payment flow and perform better risk assessment of the transaction. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." - } + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 6200\n },\n \"additionalData\" : {\n \"split.api\" : \"1\",\n \"split.nrOfItems\" : \"2\",\n \"split.totalAmount\" : \"6200\",\n \"split.currencyCode\" : \"EUR\",\n \"split.item1.amount\" : \"6000\",\n \"split.item1.type\" : \"MarketPlace\",\n \"split.item1.account\" : \"151272963\",\n \"split.item1.reference\" : \"6124145\",\n \"split.item1.description\" : \"Porcelain Doll: Eliza (20cm)\",\n \"split.item2.amount\" : \"200\",\n \"split.item2.type\" : \"Commission\",\n \"split.item2.reference\" : \"6124146\"\n },\n \"reference\" : \"Your order number\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"channel\" : \"Android\",\n \"token\" : \"TOKEN_YOU_GET_FROM_CHECKOUT_SDK\",\n \"returnUrl\" : \"app://\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl_NL\",\n \"sessionValidity\" : \"2017-04-06T13:09:13Z\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentSession", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentSession" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Provides the data object that can be used to start the Checkout SDK. To set up the payment, pass its amount, currency, and other required parameters. We use this to optimise the payment flow and perform better risk assessment of the transaction. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." +} + ,"response": [ + ] }, { "name": "Set up a payment session (Web)", "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 + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 17408\n },\n \"reference\" : \"Your order number\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"channel\" : \"Web\",\n \"origin\" : \"https://www.yourwebsite.com\",\n \"returnUrl\" : \"https://www.yourshop.com/checkout/result\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl_NL\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"sdkVersion\" : \"1.9.5\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentSession", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentSession" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Provides the data object that can be used to start the Checkout SDK. To set up the payment, pass its amount, currency, and other required parameters. We use this to optimise the payment flow and perform better risk assessment of the transaction. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"paymentSession\" : \"eyJjaGVja291dHNob3BwZXJCYXN...\"\n}", + "originalRequest": { + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 17408\n },\n \"reference\" : \"Your order number\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"channel\" : \"Web\",\n \"origin\" : \"https://www.yourwebsite.com\",\n \"returnUrl\" : \"https://www.yourshop.com/checkout/result\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl_NL\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"sdkVersion\" : \"1.9.5\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentSession", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentSession" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Provides the data object that can be used to start the Checkout SDK. To set up the payment, pass its amount, currency, and other required parameters. We use this to optimise the payment flow and perform better risk assessment of the transaction. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 17408\n },\n \"reference\" : \"Your order number\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"channel\" : \"Web\",\n \"origin\" : \"https://www.yourwebsite.com\",\n \"returnUrl\" : \"https://www.yourshop.com/checkout/result\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl_NL\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"sdkVersion\" : \"1.9.5\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentSession", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentSession" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Provides the data object that can be used to start the Checkout SDK. To set up the payment, pass its amount, currency, and other required parameters. We use this to optimise the payment flow and perform better risk assessment of the transaction. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." - } + ] } ] - } -, + }, { "name": "/payments/result (DEPRECATED)", "description": "Verifies the payment result using the payload returned from the Checkout SDK. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks).", @@ -647,56 +1153,115 @@ { "name": "Verify payment results", "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 + "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 \"payload\" : \"VALUE_YOU_GET_FROM_CHECKOUT_SDK\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments/result", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments", + "result" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Verifies the payment result using the payload returned from the Checkout SDK. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"pspReference\" : \"V4HZ4RBFJGXXGN82\",\n \"merchantReference\" : \"Your order number\",\n \"shopperLocale\" : \"nl_NL\",\n \"paymentMethod\" : \"ideal\"\n}", + "originalRequest": { + "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 \"payload\" : \"VALUE_YOU_GET_FROM_CHECKOUT_SDK\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments/result", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments", + "result" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Verifies the payment result using the payload returned from the Checkout SDK. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"payload\" : \"VALUE_YOU_GET_FROM_CHECKOUT_SDK\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments/result", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments", - "result" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Verifies the payment result using the payload returned from the Checkout SDK. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." - } + ] } ] } - ] }, { @@ -709,55 +1274,113 @@ { "name": "Create an order", "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 + "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 \"reference\" : \"YOUR_ORDER_REFERENCE\",\n \"amount\" : {\n \"value\" : 2500,\n \"currency\" : \"EUR\"\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/orders", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "orders" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates an order to be used for partial payments. Make a POST `/orders` call before making a `/payments` call when processing payments with different payment methods." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"pspReference\" : \"8616178914061985\",\n \"resultCode\" : \"Success\",\n \"expiresAt\" : \"2021-04-09T14:16:46Z\",\n \"orderData\" : \"Ab02b4c0!BQABAgCxXvknCldOcRElkxY8Za7iyym4Wv8aDzyNwmj/3nh4G6YtwnUIJHaK62NlN4oIsACdkn1FEjBwKlheG40jvXcYGBk4KFV5WvOhTVCpv/KXnkrI7xQv/u2lE7U4wA+HPB6K4Zj2L8xO/ogZi+zGZqFs5m16jmkH7ku6FzXygXLNuUCuOlmlXSZhdkHHTNVQSq1MELDK9OL74y532ETRPTCNxx8WlEiZB+LDqYrPvH9GgigtD5kw8Do45jfFfG72kWBEgfYqp4mbUmBB9ebXFYZKfF0qvW1x7A2Y9+/MFlTIdXfKW484bJeDBCTTrmKGXIj+U4r5imr5fXTyNLcrxyUqwrb9jg+5B4qg1XB6Cgj5UPlSI4O62I7v0s5TTj69dzLwUQRxSQbwLrZVGYavXzeVKI54BVLRV3d/+BbPvTqnTo34UhfZbPlOx9F2eyaS0ZXdOKnHw89uGUgxUpLsMqnbRysi/pxpZaulel+0mExb68wVxb/7Teob5eRG4gp7cfZVZs6tLXOYWL+W0TqIlsa3hWsfM0LeaovzkoDtW/pK5JABXwMtLig9tsxoEh9ONYtIzkXC21LZ8ebiuSIMaPizjF8yca+QxrCZalQsu6uKnBz/mm8nnsflaGU2QS5zcoxk1RudL1Bl36LM9UZGPpFEYWiYA4sUsnNLw7peJjWCGhDepnwMv4TlgsEtoDtz1T54AEp7ImtleSI6IkFGMEFBQTEwM0NBNTM3RUFFRDg3QzI0REQ1MzkwOUI4MEE3OEE5MjNFMzgyM0Q2OERBQ0M5NEI5RkY4MzA1REMifRslOdmfgUHTXl66WPD9xoW2whIeRx/jR++2MqNE16x6zQy+KtDN8/h60crZwmqkjVTQYqQlsYSYDHSIyb4wnnay16/5il1yS7vN3UCLaTXjYBIAyyx6Wr9j4P3CI/etB+PpviHoESC4mV6ZN4whMDQyziQ8s230GtboXbh42qND7rk9phySBogowQlXrtF+l2n2F46nyif0owEgik5fGARfvjZtY2w23s30KMLNwU4gWSvX4H6RMVS8TfZH2fKfNrwB3tZUXwYkELs5ntaHysswq5Mn5aq2BKAMHu/Rh/wureMSI73Qi0avjrzWCwzt3JH4wnzErMnOZwSdgA==\",\n \"reference\" : \"shopper-reference-ekvL83\",\n \"remainingAmount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 2500\n }\n}", + "originalRequest": { + "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 \"reference\" : \"YOUR_ORDER_REFERENCE\",\n \"amount\" : {\n \"value\" : 2500,\n \"currency\" : \"EUR\"\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/orders", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "orders" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates an order to be used for partial payments. Make a POST `/orders` call before making a `/payments` call when processing payments with different payment methods." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"reference\" : \"YOUR_ORDER_REFERENCE\",\n \"amount\" : {\n \"value\" : 2500,\n \"currency\" : \"EUR\"\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/orders", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "orders" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Creates an order to be used for partial payments. Make a POST `/orders` call before making a `/payments` call when processing payments with different payment methods." - } + ] } ] - } -, + }, { "name": "/orders/cancel", "description": "Cancels an order. Cancellation of an order results in an automatic rollback of all payments made in the order, either by canceling or refunding the payment, depending on the type of payment method.", @@ -765,56 +1388,115 @@ { "name": "Cancel an order", "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 + "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 \"order\" : {\n \"pspReference\" : \"8815517812932012\",\n \"orderData\" : \"823fh892f8f18f4...148f13f9f3f\"\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/orders/cancel", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "orders", + "cancel" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Cancels an order. Cancellation of an order results in an automatic rollback of all payments made in the order, either by canceling or refunding the payment, depending on the type of payment method." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"pspReference\" : \"8816178914079738\",\n \"resultCode\" : \"Received\"\n}", + "originalRequest": { + "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 \"order\" : {\n \"pspReference\" : \"8815517812932012\",\n \"orderData\" : \"823fh892f8f18f4...148f13f9f3f\"\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/orders/cancel", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "orders", + "cancel" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Cancels an order. Cancellation of an order results in an automatic rollback of all payments made in the order, either by canceling or refunding the payment, depending on the type of payment method." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"order\" : {\n \"pspReference\" : \"8815517812932012\",\n \"orderData\" : \"823fh892f8f18f4...148f13f9f3f\"\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/orders/cancel", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "orders", - "cancel" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Cancels an order. Cancellation of an order results in an automatic rollback of all payments made in the order, either by canceling or refunding the payment, depending on the type of payment method." - } + ] } ] - } -, + }, { "name": "/paymentMethods/balance", "description": "Retrieves the balance remaining on a shopper's gift card. To check a gift card's balance, make a POST `/paymentMethods/balance` call and include the gift card's details inside a `paymentMethod` object.", @@ -822,106 +1504,225 @@ { "name": "Get gift card balance specifying amount of 10 EUR", "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 + "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 \"paymentMethod\" : {\n \"type\" : \"givex\",\n \"number\" : \"4126491073027401\",\n \"cvc\" : \"737\"\n },\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentMethods/balance", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentMethods", + "balance" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Retrieves the balance remaining on a shopper's gift card. To check a gift card's balance, make a POST `/paymentMethods/balance` call and include the gift card's details inside a `paymentMethod` object." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"pspReference\" : \"KHQC5N7G84BLNK43\",\n \"resultCode\" : \"Success\",\n \"balance\" : {\n \"currency\" : \"EUR\",\n \"value\" : 5000\n }\n}", + "originalRequest": { + "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 \"paymentMethod\" : {\n \"type\" : \"givex\",\n \"number\" : \"4126491073027401\",\n \"cvc\" : \"737\"\n },\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentMethods/balance", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentMethods", + "balance" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Retrieves the balance remaining on a shopper's gift card. To check a gift card's balance, make a POST `/paymentMethods/balance` call and include the gift card's details inside a `paymentMethod` object." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"paymentMethod\" : {\n \"type\" : \"givex\",\n \"number\" : \"4126491073027401\",\n \"cvc\" : \"737\"\n },\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentMethods/balance", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentMethods", - "balance" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Retrieves the balance remaining on a shopper's gift card. To check a gift card's balance, make a POST `/paymentMethods/balance` call and include the gift card's details inside a `paymentMethod` object." - } + ] }, { "name": "Get gift card balance specifying amount of 100 EUR", "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 + "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 \"paymentMethod\" : {\n \"type\" : \"givex\",\n \"number\" : \"4126491073027401\",\n \"cvc\" : \"737\"\n },\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 10000\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentMethods/balance", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentMethods", + "balance" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Retrieves the balance remaining on a shopper's gift card. To check a gift card's balance, make a POST `/paymentMethods/balance` call and include the gift card's details inside a `paymentMethod` object." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"pspReference\" : \"FKSPNCQ8HXSKGK82\",\n \"resultCode\" : \"NotEnoughBalance\",\n \"balance\" : {\n \"currency\" : \"EUR\",\n \"value\" : 5000\n }\n}", + "originalRequest": { + "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 \"paymentMethod\" : {\n \"type\" : \"givex\",\n \"number\" : \"4126491073027401\",\n \"cvc\" : \"737\"\n },\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 10000\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentMethods/balance", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentMethods", + "balance" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Retrieves the balance remaining on a shopper's gift card. To check a gift card's balance, make a POST `/paymentMethods/balance` call and include the gift card's details inside a `paymentMethod` object." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"paymentMethod\" : {\n \"type\" : \"givex\",\n \"number\" : \"4126491073027401\",\n \"cvc\" : \"737\"\n },\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 10000\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentMethods/balance", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentMethods", - "balance" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Retrieves the balance remaining on a shopper's gift card. To check a gift card's balance, make a POST `/paymentMethods/balance` call and include the gift card's details inside a `paymentMethod` object." - } + ] } ] } - ] }, { @@ -934,56 +1735,115 @@ { "name": "Get payment session for Apple Pay", "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 + "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 \"displayName\" : \"YOUR_MERCHANT_NAME\",\n \"domainName\" : \"YOUR_DOMAIN_NAME\",\n \"merchantIdentifier\" : \"YOUR_MERCHANT_ID\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/applePay/sessions", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "applePay", + "sessions" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "You need to use this endpoint if you have an API-only integration with Apple Pay which uses Adyen's Apple Pay certificate. The endpoint returns the Apple Pay session data which you need to complete the [Apple Pay session validation](https://docs.adyen.com/payment-methods/apple-pay/api-only?tab=adyen-certificate-validation_1#complete-apple-pay-session-validation)." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"data\" : \"eyJ2Z...\"\n}", + "originalRequest": { + "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 \"displayName\" : \"YOUR_MERCHANT_NAME\",\n \"domainName\" : \"YOUR_DOMAIN_NAME\",\n \"merchantIdentifier\" : \"YOUR_MERCHANT_ID\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/applePay/sessions", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "applePay", + "sessions" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "You need to use this endpoint if you have an API-only integration with Apple Pay which uses Adyen's Apple Pay certificate. The endpoint returns the Apple Pay session data which you need to complete the [Apple Pay session validation](https://docs.adyen.com/payment-methods/apple-pay/api-only?tab=adyen-certificate-validation_1#complete-apple-pay-session-validation)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"displayName\" : \"YOUR_MERCHANT_NAME\",\n \"domainName\" : \"YOUR_DOMAIN_NAME\",\n \"merchantIdentifier\" : \"YOUR_MERCHANT_ID\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/applePay/sessions", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "applePay", - "sessions" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "You need to use this endpoint if you have an API-only integration with Apple Pay which uses Adyen's Apple Pay certificate. The endpoint returns the Apple Pay session data which you need to complete the [Apple Pay session validation](https://docs.adyen.com/payment-methods/apple-pay/api-only?tab=adyen-certificate-validation_1#complete-apple-pay-session-validation)." - } + ] } ] - } -, + }, { "name": "/originKeys", "description": "This operation takes the origin domains and returns a JSON object containing the corresponding origin keys for the domains. > If you're still using origin key for your Web Drop-in or Components integration, we recommend [switching to client key](https://docs.adyen.com/development-resources/client-side-authentication/migrate-from-origin-key-to-client-key). This allows you to use a single key for all origins, add or remove origins without generating a new key, and detect the card type from the number entered in your payment form. ", @@ -991,55 +1851,113 @@ { "name": "Get origin keys", "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 + "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 \"originDomains\" : [ \"https://www.your-domain1.com\", \"https://www.your-domain2.com\", \"https://www.your-domain3.com\" ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/originKeys", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "originKeys" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "This operation takes the origin domains and returns a JSON object containing the corresponding origin keys for the domains. > If you're still using origin key for your Web Drop-in or Components integration, we recommend [switching to client key](https://docs.adyen.com/development-resources/client-side-authentication/migrate-from-origin-key-to-client-key). This allows you to use a single key for all origins, add or remove origins without generating a new key, and detect the card type from the number entered in your payment form. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"originKeys\" : {\n \"https://www.your-domain1.com\" : \"pub.v2.8116178901076090.aHR0cHM6Ly93d3cueW91ci1kb21haW4xLmNvbQ.pvbYlrXz0ICP4kwMJXDGDLVMqALhwXr1MSRjT-fkhvw\",\n \"https://www.your-domain3.com\" : \"pub.v2.8116178901076090.aHR0cHM6Ly93d3cueW91ci1kb21haW4zLmNvbQ.FrTpVz7_RzAywKasM0kXCRoMfoMkKIKaxjFymRGORIc\",\n \"https://www.your-domain2.com\" : \"pub.v2.8116178901076090.aHR0cHM6Ly93d3cueW91ci1kb21haW4yLmNvbQ.LdN9kvJ35fYFFiBSJA4idMnwwxJ5_yXpeNS__Ap5wkg\"\n }\n}", + "originalRequest": { + "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 \"originDomains\" : [ \"https://www.your-domain1.com\", \"https://www.your-domain2.com\", \"https://www.your-domain3.com\" ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/originKeys", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "originKeys" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "This operation takes the origin domains and returns a JSON object containing the corresponding origin keys for the domains. > If you're still using origin key for your Web Drop-in or Components integration, we recommend [switching to client key](https://docs.adyen.com/development-resources/client-side-authentication/migrate-from-origin-key-to-client-key). This allows you to use a single key for all origins, add or remove origins without generating a new key, and detect the card type from the number entered in your payment form. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"originDomains\" : [ \"https://www.your-domain1.com\", \"https://www.your-domain2.com\", \"https://www.your-domain3.com\" ]\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/originKeys", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "originKeys" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "This operation takes the origin domains and returns a JSON object containing the corresponding origin keys for the domains. > If you're still using origin key for your Web Drop-in or Components integration, we recommend [switching to client key](https://docs.adyen.com/development-resources/client-side-authentication/migrate-from-origin-key-to-client-key). This allows you to use a single key for all origins, add or remove origins without generating a new key, and detect the card type from the number entered in your payment form. " - } + ] } ] } - ] }, { @@ -1052,104 +1970,164 @@ { "name": "Start a donation transaction", "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 + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"reference\" : \"YOUR_DONATION_REFERENCE\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\"\n },\n \"donationToken\" : \"YOUR_DONATION_TOKEN\",\n \"donationOriginalPspReference\" : \"991559660454807J\",\n \"donationAccount\" : \"CHARITY_ACCOUNT\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"shopperInteraction\" : \"ContAuth\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/donations", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "donations" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Takes in the donation token generated by the `/payments` request and uses it to make the donation for the donation account specified in the request. For more information, see [Donations](https://docs.adyen.com/online-payments/donations)." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"id\" : \"UNIQUE_RESOURCE_ID\",\n \"status\" : \"completed\",\n \"donationAccount\" : \"CHARITY_ACCOUNT\",\n \"merchantAccount\" : \"YOUR_MERCHANT_ACCOUNT\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"reference\" : \"YOUR_DONATION_REFERENCE\",\n \"payment\" : {\n \"pspReference\" : \"8535762347980628\",\n \"resultCode\" : \"Authorised\",\n \"merchantReference\" : \"YOUR_DONATION_REFERENCE\"\n }\n}", + "originalRequest": { + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"reference\" : \"YOUR_DONATION_REFERENCE\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\"\n },\n \"donationToken\" : \"YOUR_DONATION_TOKEN\",\n \"donationOriginalPspReference\" : \"991559660454807J\",\n \"donationAccount\" : \"CHARITY_ACCOUNT\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"shopperInteraction\" : \"ContAuth\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/donations", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "donations" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Takes in the donation token generated by the `/payments` request and uses it to make the donation for the donation account specified in the request. For more information, see [Donations](https://docs.adyen.com/online-payments/donations)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"reference\" : \"YOUR_DONATION_REFERENCE\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\"\n },\n \"donationToken\" : \"YOUR_DONATION_TOKEN\",\n \"donationOriginalPspReference\" : \"991559660454807J\",\n \"donationAccount\" : \"CHARITY_ACCOUNT\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"shopperInteraction\" : \"ContAuth\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/donations", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "donations" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Takes in the donation token generated by the `/payments` request and uses it to make the donation for the donation account specified in the request. For more information, see [Donations](https://docs.adyen.com/online-payments/donations)." - } + ] }, { "name": "Start a donation transaction with a token", "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"reference\" : \"YOUR_DONATION_REFERENCE\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"recurringDetailReference\" : \"7219687191761347\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"donationAccount\" : \"CHARITY_ACCOUNT\",\n \"shopperInteraction\" : \"ContAuth\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"recurringProcessingModel\" : \"CardOnFile\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/donations", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "donations" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Takes in the donation token generated by the `/payments` request and uses it to make the donation for the donation account specified in the request. For more information, see [Donations](https://docs.adyen.com/online-payments/donations)." - } + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"reference\" : \"YOUR_DONATION_REFERENCE\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"recurringDetailReference\" : \"7219687191761347\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"donationAccount\" : \"CHARITY_ACCOUNT\",\n \"shopperInteraction\" : \"ContAuth\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"recurringProcessingModel\" : \"CardOnFile\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/donations", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "donations" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Takes in the donation token generated by the `/payments` request and uses it to make the donation for the donation account specified in the request. For more information, see [Donations](https://docs.adyen.com/online-payments/donations)." +} + ,"response": [ + ] } ] } - ] }, { @@ -1162,104 +2140,221 @@ { "name": "Get a list of brands on a card", "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 + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"cardNumber\" : \"411111\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/cardDetails", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "cardDetails" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Send a request with at least the first 6 digits of the card number to get a response with an array of brands on the card. If you include [your supported brands](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__reqParam_supportedBrands) in the request, the response also tells you if you support each [brand that was identified](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__resParam_details). If you have an API-only integration and collect card data, use this endpoint to find out if the shopper's card is co-branded. For co-branded cards, you must let the shopper choose the brand to pay with if you support both brands. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"brands\" : [ {\n \"type\" : \"visa\",\n \"supported\" : true\n }, {\n \"type\" : \"cartebancaire\",\n \"supported\" : true\n } ]\n}", + "originalRequest": { + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"cardNumber\" : \"411111\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/cardDetails", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "cardDetails" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Send a request with at least the first 6 digits of the card number to get a response with an array of brands on the card. If you include [your supported brands](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__reqParam_supportedBrands) in the request, the response also tells you if you support each [brand that was identified](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__resParam_details). If you have an API-only integration and collect card data, use this endpoint to find out if the shopper's card is co-branded. For co-branded cards, you must let the shopper choose the brand to pay with if you support both brands. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"cardNumber\" : \"411111\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/cardDetails", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "cardDetails" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Send a request with at least the first 6 digits of the card number to get a response with an array of brands on the card. If you include [your supported brands](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__reqParam_supportedBrands) in the request, the response also tells you if you support each [brand that was identified](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__resParam_details). If you have an API-only integration and collect card data, use this endpoint to find out if the shopper's card is co-branded. For co-branded cards, you must let the shopper choose the brand to pay with if you support both brands. " - } + ] }, { "name": "Get a list of brands on a card specifying your supported card brands", "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 + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"cardNumber\" : \"411111\",\n \"supportedBrands\" : [ \"visa\", \"mc\", \"amex\" ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/cardDetails", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "cardDetails" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Send a request with at least the first 6 digits of the card number to get a response with an array of brands on the card. If you include [your supported brands](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__reqParam_supportedBrands) in the request, the response also tells you if you support each [brand that was identified](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__resParam_details). If you have an API-only integration and collect card data, use this endpoint to find out if the shopper's card is co-branded. For co-branded cards, you must let the shopper choose the brand to pay with if you support both brands. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"brands\" : [ {\n \"type\" : \"visa\",\n \"supported\" : true\n }, {\n \"type\" : \"cartebancaire\",\n \"supported\" : false\n } ]\n}", + "originalRequest": { + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"cardNumber\" : \"411111\",\n \"supportedBrands\" : [ \"visa\", \"mc\", \"amex\" ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/cardDetails", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "cardDetails" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Send a request with at least the first 6 digits of the card number to get a response with an array of brands on the card. If you include [your supported brands](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__reqParam_supportedBrands) in the request, the response also tells you if you support each [brand that was identified](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__resParam_details). If you have an API-only integration and collect card data, use this endpoint to find out if the shopper's card is co-branded. For co-branded cards, you must let the shopper choose the brand to pay with if you support both brands. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"cardNumber\" : \"411111\",\n \"supportedBrands\" : [ \"visa\", \"mc\", \"amex\" ]\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/cardDetails", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "cardDetails" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Send a request with at least the first 6 digits of the card number to get a response with an array of brands on the card. If you include [your supported brands](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__reqParam_supportedBrands) in the request, the response also tells you if you support each [brand that was identified](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__resParam_details). If you have an API-only integration and collect card data, use this endpoint to find out if the shopper's card is co-branded. For co-branded cards, you must let the shopper choose the brand to pay with if you support both brands. " - } + ] } ] - } -, + }, { "name": "/paymentMethods", "description": "Queries the available payment methods for a transaction based on the transaction context (like amount, country, and currency). Besides giving back a list of the available payment methods, the response also returns which input details you need to collect from the shopper (to be submitted to `/payments`). Although we highly recommend using this endpoint to ensure you are always offering the most up-to-date list of payment methods, its usage is optional. You can, for example, also cache the `/paymentMethods` response and update it once a week.", @@ -1267,153 +2362,329 @@ { "name": "Get available payment methods", "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 + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentMethods", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentMethods" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Queries the available payment methods for a transaction based on the transaction context (like amount, country, and currency). Besides giving back a list of the available payment methods, the response also returns which input details you need to collect from the shopper (to be submitted to `/payments`). Although we highly recommend using this endpoint to ensure you are always offering the most up-to-date list of payment methods, its usage is optional. You can, for example, also cache the `/paymentMethods` response and update it once a week." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"paymentMethods\" : [ {\n \"details\" : [ {\n \"details\" : [ {\n \"key\" : \"ownerName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"bankLocationId\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"bankAccountNumber\",\n \"type\" : \"text\"\n } ],\n \"key\" : \"bankAccount\",\n \"type\" : \"bankAccount\"\n } ],\n \"name\" : \"ACH Direct Debit\",\n \"type\" : \"ach\"\n }, {\n \"name\" : \"Adyen Voucher\",\n \"type\" : \"adyen_test_voucher\"\n }, {\n \"details\" : [ {\n \"details\" : [ {\n \"key\" : \"firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"lastName\",\n \"type\" : \"text\"\n }, {\n \"items\" : [ {\n \"id\" : \"M\",\n \"name\" : \"male\"\n }, {\n \"id\" : \"F\",\n \"name\" : \"female\"\n } ],\n \"key\" : \"gender\",\n \"type\" : \"radio\"\n }, {\n \"key\" : \"dateOfBirth\",\n \"type\" : \"date\"\n }, {\n \"key\" : \"telephoneNumber\",\n \"type\" : \"tel\"\n }, {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n } ],\n \"key\" : \"personalDetails\",\n \"type\" : \"fieldSet\"\n }, {\n \"details\" : [ {\n \"key\" : \"street\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"houseNumberOrName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"city\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"postalCode\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"stateOrProvince\",\n \"optional\" : true,\n \"type\" : \"text\"\n }, {\n \"items\" : [ {\n \"id\" : \"NL\",\n \"name\" : \"Netherlands\"\n }, {\n \"id\" : \"BE\",\n \"name\" : \"Belgium\"\n } ],\n \"key\" : \"country\",\n \"type\" : \"select\"\n } ],\n \"key\" : \"billingAddress\",\n \"type\" : \"address\"\n }, {\n \"key\" : \"separateDeliveryAddress\",\n \"optional\" : true,\n \"type\" : \"boolean\",\n \"value\" : \"false\"\n }, {\n \"details\" : [ {\n \"key\" : \"street\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"houseNumberOrName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"city\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"postalCode\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"stateOrProvince\",\n \"optional\" : true,\n \"type\" : \"text\"\n }, {\n \"items\" : [ {\n \"id\" : \"NL\",\n \"name\" : \"Netherlands\"\n }, {\n \"id\" : \"BE\",\n \"name\" : \"Belgium\"\n } ],\n \"key\" : \"country\",\n \"type\" : \"select\"\n } ],\n \"key\" : \"deliveryAddress\",\n \"optional\" : true,\n \"type\" : \"address\"\n } ],\n \"name\" : \"AfterPay Invoice\",\n \"type\" : \"afterpay_default\"\n }, {\n \"name\" : \"AfterPay DirectDebit\",\n \"type\" : \"afterpay_directdebit\"\n }, {\n \"name\" : \"Afterpay\",\n \"type\" : \"afterpaytouch\"\n }, {\n \"details\" : [ {\n \"key\" : \"encryptedCardNumber\",\n \"type\" : \"cardToken\"\n }, {\n \"key\" : \"encryptedSecurityCode\",\n \"type\" : \"cardToken\"\n }, {\n \"key\" : \"encryptedExpiryMonth\",\n \"type\" : \"cardToken\"\n }, {\n \"key\" : \"encryptedExpiryYear\",\n \"type\" : \"cardToken\"\n }, {\n \"key\" : \"holderName\",\n \"optional\" : true,\n \"type\" : \"text\"\n } ],\n \"name\" : \"Credit Card\",\n \"type\" : \"scheme\"\n }, {\n \"name\" : \"AliPay\",\n \"type\" : \"alipay\"\n }, {\n \"name\" : \"AliPay HK\",\n \"type\" : \"alipay_hk\"\n }, {\n \"name\" : \"AliPay\",\n \"type\" : \"alipay_wap\"\n }, {\n \"details\" : [ {\n \"key\" : \"additionalData.androidpay.token\",\n \"type\" : \"androidPayToken\"\n } ],\n \"name\" : \"Android Pay\",\n \"type\" : \"androidpay\"\n }, {\n \"details\" : [ {\n \"key\" : \"additionalData.applepay.token\",\n \"type\" : \"applePayToken\"\n } ],\n \"name\" : \"Apple Pay\",\n \"type\" : \"applepay\"\n }, {\n \"name\" : \"Credit Card via AsiaPay\",\n \"type\" : \"asiapay\"\n }, {\n \"name\" : \"China UnionPay\",\n \"type\" : \"asiapay_unionpay\"\n }, {\n \"name\" : \"Baby Gift Card\",\n \"type\" : \"babygiftcard\"\n }, {\n \"name\" : \"Baloto\",\n \"type\" : \"baloto\"\n }, {\n \"name\" : \"BancNet\",\n \"type\" : \"bancnet\"\n }, {\n \"name\" : \"Bank Transfer (BG)\",\n \"type\" : \"bankTransfer_BG\"\n }, {\n \"name\" : \"Bank Transfer (CH)\",\n \"type\" : \"bankTransfer_CH\"\n }, {\n \"name\" : \"Bank Transfer (DE)\",\n \"type\" : \"bankTransfer_DE\"\n }, {\n \"name\" : \"Bank Transfer (FI)\",\n \"type\" : \"bankTransfer_FI\"\n }, {\n \"name\" : \"Bank Transfer (GB)\",\n \"type\" : \"bankTransfer_GB\"\n }, {\n \"name\" : \"Bank Transfer (HU)\",\n \"type\" : \"bankTransfer_HU\"\n }, {\n \"name\" : \"SEPA Bank Transfer\",\n \"type\" : \"bankTransfer_IBAN\"\n }, {\n \"name\" : \"Bank Transfer (IE)\",\n \"type\" : \"bankTransfer_IE\"\n }, {\n \"name\" : \"Electronic Bank Transfer (MX)\",\n \"type\" : \"bankTransfer_MX_linked\"\n }, {\n \"name\" : \"Bank Transfer (MX)\",\n \"type\" : \"bankTransfer_MX_offline\"\n }, {\n \"name\" : \"Bank Transfer (NL)\",\n \"type\" : \"bankTransfer_NL\"\n }, {\n \"name\" : \"Bank Transfer (PL)\",\n \"type\" : \"bankTransfer_PL\"\n }, {\n \"name\" : \"Bank Transfer (SE)\",\n \"type\" : \"bankTransfer_SE\"\n }, {\n \"name\" : \"Bank Transfer (US)\",\n \"type\" : \"bankTransfer_US\"\n }, {\n \"name\" : \"Payconiq by Bancontact\",\n \"type\" : \"bcmc_mobile\"\n }, {\n \"name\" : \"Bijenkorf Cadeaucard\",\n \"type\" : \"bijcadeaucard\"\n }, {\n \"name\" : \"99Bill\",\n \"type\" : \"bill99\"\n }, {\n \"details\" : [ {\n \"items\" : [ {\n \"id\" : \"AUB_DIRECT\",\n \"name\" : \"AU Small Finance Bank\"\n }, {\n \"id\" : \"ALB_DIRECT\",\n \"name\" : \"Allahabad Bank \"\n }, {\n \"id\" : \"APG_DIRECT\",\n \"name\" : \"Andhra Pragathi Grameena Bank\"\n }, {\n \"id\" : \"BDN_DIRECT\",\n \"name\" : \"Bandhan bank\"\n }, {\n \"id\" : \"BBK_DIRECT\",\n \"name\" : \"Bank of Bahrain and Kuwait\"\n }, {\n \"id\" : \"BBR_DIRECT\",\n \"name\" : \"Bank of Baroda - Retail Banking\"\n }, {\n \"id\" : \"BCB_DIRECT\",\n \"name\" : \"Bassien Catholic Co-Operative Bank \"\n }, {\n \"id\" : \"CNB_DIRECT\",\n \"name\" : \"Canara Bank\"\n }, {\n \"id\" : \"SYD_DIRECT\",\n \"name\" : \"Canara Bank (e-Syndicate)\"\n }, {\n \"id\" : \"CSB_DIRECT\",\n \"name\" : \"Catholic Syrian Bank\"\n }, {\n \"id\" : \"CBI_DIRECT\",\n \"name\" : \"Central Bank of India\"\n }, {\n \"id\" : \"CUB_DIRECT\",\n \"name\" : \"City Union Bank\"\n }, {\n \"id\" : \"COB_DIRECT\",\n \"name\" : \"Cosmos Bank\"\n }, {\n \"id\" : \"DEN_DIRECT\",\n \"name\" : \"Dena Bank\"\n }, {\n \"id\" : \"DBK_DIRECT\",\n \"name\" : \"Deutsche Bank\"\n }, {\n \"id\" : \"DCB_DIRECT\",\n \"name\" : \"Development Credit Bank\"\n }, {\n \"id\" : \"DLB_DIRECT\",\n \"name\" : \"Dhanlakshmi Bank - Retail Net Banking\"\n }, {\n \"id\" : \"ESF_DIRECT\",\n \"name\" : \"ESAF Small Finance Bank\"\n }, {\n \"id\" : \"EQB_DIRECT\",\n \"name\" : \"Equitas Small Finance Bank\"\n }, {\n \"id\" : \"FBK_DIRECT\",\n \"name\" : \"Federal Bank\"\n }, {\n \"id\" : \"FNC_DIRECT\",\n \"name\" : \"Fincare Bank\"\n }, {\n \"id\" : \"HDF_DIRECT\",\n \"name\" : \"HDFC Bank\"\n }, {\n \"id\" : \"ICI_DIRECT\",\n \"name\" : \"ICICI Bank \"\n }, {\n \"id\" : \"IDB_DIRECT\",\n \"name\" : \"IDBI Bank - Retail Net Banking\"\n }, {\n \"id\" : \"IDN_DIRECT\",\n \"name\" : \"IDFC FIRST Bank\"\n }, {\n \"id\" : \"INB_DIRECT\",\n \"name\" : \"Indian Bank\"\n }, {\n \"id\" : \"IOB_DIRECT\",\n \"name\" : \"Indian Overseas Bank\"\n }, {\n \"id\" : \"IDS_DIRECT\",\n \"name\" : \"IndusInd Bank\"\n }, {\n \"id\" : \"JKB_DIRECT\",\n \"name\" : \"Jammu & Kashmir Bank\"\n }, {\n \"id\" : \"JNB_DIRECT\",\n \"name\" : \"Jana Small Finance Bank\"\n }, {\n \"id\" : \"JSB_DIRECT\",\n \"name\" : \"Janata Sahakari Bank Ltd Pune\"\n }, {\n \"id\" : \"KJB_DIRECT\",\n \"name\" : \"Kalyan Janata Sahakari Bank\"\n }, {\n \"id\" : \"KBL_DIRECT\",\n \"name\" : \"Karnataka Bank Ltd\"\n }, {\n \"id\" : \"KVB_DIRECT\",\n \"name\" : \"Karur Vysya Bank\"\n }, {\n \"id\" : \"162_DIRECT\",\n \"name\" : \"Kotak Bank\"\n }, {\n \"id\" : \"LVR_DIRECT\",\n \"name\" : \"Laxmi Vilas Bank - Retail\"\n }, {\n \"id\" : \"NKB_DIRECT\",\n \"name\" : \"NKGSB Co-op Bank\"\n }, {\n \"id\" : \"NEB_DIRECT\",\n \"name\" : \"North East Small Finance Bank\"\n }, {\n \"id\" : \"OBC_DIRECT\",\n \"name\" : \"PNB (Erstwhile-Oriental Bank of Commerce)\"\n }, {\n \"id\" : \"UNI_DIRECT\",\n \"name\" : \"PNB (Erstwhile-United Bank of India)\"\n }, {\n \"id\" : \"PMC_DIRECT\",\n \"name\" : \"Punjab & Maharastra Co-op Bank\"\n }, {\n \"id\" : \"PSB_DIRECT\",\n \"name\" : \"Punjab & Sind Bank\"\n }, {\n \"id\" : \"CPN_DIRECT\",\n \"name\" : \"Punjab National Bank - Corporate \"\n }, {\n \"id\" : \"PNB_DIRECT\",\n \"name\" : \"Punjab National Bank - Retail Banking\"\n }, {\n \"id\" : \"RBL_DIRECT\",\n \"name\" : \"RBL Bank Limited\"\n }, {\n \"id\" : \"SWB_DIRECT\",\n \"name\" : \"Saraswat Bank\"\n }, {\n \"id\" : \"SHB_DIRECT\",\n \"name\" : \"Shivalik Mercantile Cooperative Bank Ltd\"\n }, {\n \"id\" : \"SIB_DIRECT\",\n \"name\" : \"South Indian Bank\"\n }, {\n \"id\" : \"SCB_DIRECT\",\n \"name\" : \"Standard Chartered Bank\"\n }, {\n \"id\" : \"SBI_DIRECT\",\n \"name\" : \"State Bank of India\"\n }, {\n \"id\" : \"SRB_DIRECT\",\n \"name\" : \"Suryoday Small Finance Bank\"\n }, {\n \"id\" : \"TJB_DIRECT\",\n \"name\" : \"TJSB Bank\"\n }, {\n \"id\" : \"TNC_DIRECT\",\n \"name\" : \"Tamil Nadu State Co-operative Bank\"\n }, {\n \"id\" : \"TMB_DIRECT\",\n \"name\" : \"Tamilnad Mercantile Bank Ltd\"\n }, {\n \"id\" : \"TBB_DIRECT\",\n \"name\" : \"Thane Bharat Sahakari Bank Ltd\"\n }, {\n \"id\" : \"MSB_DIRECT\",\n \"name\" : \"The Mehsana Urban Co Op Bank Ltd\"\n }, {\n \"id\" : \"UCO_DIRECT\",\n \"name\" : \"UCO Bank\"\n }, {\n \"id\" : \"UBI_DIRECT\",\n \"name\" : \"Union Bank of India\"\n }, {\n \"id\" : \"ADB_DIRECT\",\n \"name\" : \"Union Bank of India (Erstwhile Andhra Bank)\"\n }, {\n \"id\" : \"CRP_DIRECT\",\n \"name\" : \"Union Bank of India (Erstwhile Corporation Bank)\"\n }, {\n \"id\" : \"VRB_DIRECT\",\n \"name\" : \"Varachha Co-operative Bank Limited\"\n }, {\n \"id\" : \"VJB_DIRECT\",\n \"name\" : \"Vijaya Bank\"\n }, {\n \"id\" : \"YBK_DIRECT\",\n \"name\" : \"Yes Bank\"\n }, {\n \"id\" : \"ZOB_DIRECT\",\n \"name\" : \"Zoroastrian Co-operative Bank Limited\"\n }, {\n \"id\" : \"DBS_DIRECT\",\n \"name\" : \"digibank by DBS\"\n } ],\n \"key\" : \"issuer\",\n \"type\" : \"select\"\n } ],\n \"name\" : \"Online Banking India\",\n \"type\" : \"billdesk_online\"\n }, {\n \"name\" : \"UPI\",\n \"type\" : \"billdesk_upi\"\n }, {\n \"details\" : [ {\n \"items\" : [ {\n \"id\" : \"DCW_DIRECT\",\n \"name\" : \"DCB Cippy\"\n }, {\n \"id\" : \"ICC_DIRECT\",\n \"name\" : \"ICC Cash Card\"\n }, {\n \"id\" : \"OXY_DIRECT\",\n \"name\" : \"Oxigen Wallet\"\n }, {\n \"id\" : \"PCH_DIRECT\",\n \"name\" : \"Pay World Money\"\n } ],\n \"key\" : \"issuer\",\n \"type\" : \"select\"\n } ],\n \"name\" : \"Wallets India\",\n \"type\" : \"billdesk_wallet\"\n }, {\n \"name\" : \"Blik\",\n \"type\" : \"blik\"\n }, {\n \"name\" : \"Bloemen Giftcard\",\n \"type\" : \"bloemengiftcard\"\n }, {\n \"name\" : \"Boekenbon Giftcard\",\n \"type\" : \"boekenbon\"\n }, {\n \"name\" : \"Boleto\",\n \"type\" : \"boleto\"\n }, {\n \"name\" : \"Boleto Bancario\",\n \"type\" : \"boletobancario_santander\"\n }, {\n \"name\" : \"Bradesco\",\n \"type\" : \"bradesco\"\n }, {\n \"name\" : \"Cash-Ticket\",\n \"type\" : \"cashticket\"\n }, {\n \"name\" : \"CashU\",\n \"type\" : \"cashu\"\n }, {\n \"name\" : \"CCAvenue\",\n \"type\" : \"ccavenue\"\n }, {\n \"name\" : \"Mula Checkout\",\n \"type\" : \"cellulant\"\n }, {\n \"name\" : \"Chasin Giftcard\",\n \"type\" : \"chasingiftcard\"\n }, {\n \"name\" : \"Clearpay\",\n \"type\" : \"clearpay\"\n }, {\n \"name\" : \"ClickandBuy\",\n \"type\" : \"clickandbuy\"\n }, {\n \"name\" : \"Paiement en 3 fois par Cartes Bancaires\",\n \"type\" : \"cofinoga_3xcb\"\n }, {\n \"name\" : \"Costes Giftcard\",\n \"type\" : \"costesgiftcard\"\n }, {\n \"name\" : \"custom_settlement\",\n \"type\" : \"custom_settlement\"\n }, {\n \"name\" : \"DANA\",\n \"type\" : \"dana\"\n }, {\n \"name\" : \"DineroMail\",\n \"type\" : \"dineromail\"\n }, {\n \"name\" : \"Online bank transfer.\",\n \"type\" : \"directEbanking\"\n }, {\n \"name\" : \"Direct Debit Brazil - Banco do Brazil\",\n \"type\" : \"directdebit_BR_bancodobrasil\"\n }, {\n \"name\" : \"Direct Debit Brazil - Bradesco\",\n \"type\" : \"directdebit_BR_bradesco\"\n }, {\n \"name\" : \"Direct Debit Brazil - Caixa Economica Federal\",\n \"type\" : \"directdebit_BR_caixa\"\n }, {\n \"name\" : \"Direct Debit Brazil - HSBC\",\n \"type\" : \"directdebit_BR_hsbc\"\n }, {\n \"name\" : \"Direct Debit Brazil - Itau\",\n \"type\" : \"directdebit_BR_itau\"\n }, {\n \"name\" : \"Direct Debit Brazil - Santander\",\n \"type\" : \"directdebit_BR_santander\"\n }, {\n \"name\" : \"BACS Direct Debit\",\n \"type\" : \"directdebit_GB\"\n }, {\n \"details\" : [ {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n }, {\n \"key\" : \"firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"lastName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"infix\",\n \"optional\" : true,\n \"type\" : \"text\"\n } ],\n \"name\" : \"Alfamart\",\n \"type\" : \"doku_alfamart\"\n }, {\n \"details\" : [ {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n }, {\n \"key\" : \"firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"lastName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"infix\",\n \"optional\" : true,\n \"type\" : \"text\"\n } ],\n \"name\" : \"BCA Bank Transfer\",\n \"type\" : \"doku_bca_va\"\n }, {\n \"details\" : [ {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n }, {\n \"key\" : \"firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"lastName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"infix\",\n \"optional\" : true,\n \"type\" : \"text\"\n } ],\n \"name\" : \"BNI VA\",\n \"type\" : \"doku_bni_va\"\n }, {\n \"details\" : [ {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n }, {\n \"key\" : \"firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"lastName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"infix\",\n \"optional\" : true,\n \"type\" : \"text\"\n } ],\n \"name\" : \"BRI VA\",\n \"type\" : \"doku_bri_va\"\n }, {\n \"details\" : [ {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n }, {\n \"key\" : \"firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"lastName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"infix\",\n \"optional\" : true,\n \"type\" : \"text\"\n } ],\n \"name\" : \"CIMB VA\",\n \"type\" : \"doku_cimb_va\"\n }, {\n \"details\" : [ {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n }, {\n \"key\" : \"firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"lastName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"infix\",\n \"optional\" : true,\n \"type\" : \"text\"\n } ],\n \"name\" : \"Danamon VA\",\n \"type\" : \"doku_danamon_va\"\n }, {\n \"details\" : [ {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n }, {\n \"key\" : \"firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"lastName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"infix\",\n \"optional\" : true,\n \"type\" : \"text\"\n } ],\n \"name\" : \"Indomaret\",\n \"type\" : \"doku_indomaret\"\n }, {\n \"details\" : [ {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n }, {\n \"key\" : \"firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"lastName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"infix\",\n \"optional\" : true,\n \"type\" : \"text\"\n } ],\n \"name\" : \"Mandiri VA\",\n \"type\" : \"doku_mandiri_va\"\n }, {\n \"details\" : [ {\n \"key\" : \"ovoId\",\n \"type\" : \"text\"\n } ],\n \"name\" : \"OVO\",\n \"type\" : \"doku_ovo\"\n }, {\n \"details\" : [ {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n }, {\n \"key\" : \"firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"lastName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"infix\",\n \"optional\" : true,\n \"type\" : \"text\"\n } ],\n \"name\" : \"Bank Transfer\",\n \"type\" : \"doku_permata_lite_atm\"\n }, {\n \"details\" : [ {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n }, {\n \"key\" : \"firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"lastName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"infix\",\n \"optional\" : true,\n \"type\" : \"text\"\n } ],\n \"name\" : \"DOKU wallet\",\n \"type\" : \"doku_wallet\"\n }, {\n \"details\" : [ {\n \"items\" : [ {\n \"id\" : \"66\",\n \"name\" : \"Bank Nowy BFG S.A.\"\n }, {\n \"id\" : \"92\",\n \"name\" : \"Bank Spółdzielczy w Brodnicy\"\n }, {\n \"id\" : \"11\",\n \"name\" : \"Bank transfer / postal\"\n }, {\n \"id\" : \"74\",\n \"name\" : \"Banki Spółdzielcze\"\n }, {\n \"id\" : \"73\",\n \"name\" : \"BLIK\"\n }, {\n \"id\" : \"90\",\n \"name\" : \"BNP Paribas - płacę z Pl@net\"\n }, {\n \"id\" : \"59\",\n \"name\" : \"CinkciarzPAY\"\n }, {\n \"id\" : \"87\",\n \"name\" : \"Credit Agricole PBL\"\n }, {\n \"id\" : \"83\",\n \"name\" : \"EnveloBank\"\n }, {\n \"id\" : \"76\",\n \"name\" : \"Getin Bank PBL\"\n }, {\n \"id\" : \"81\",\n \"name\" : \"Idea Cloud\"\n }, {\n \"id\" : \"7\",\n \"name\" : \"ING Corporate customers\"\n }, {\n \"id\" : \"93\",\n \"name\" : \"Kasa Stefczyka\"\n }, {\n \"id\" : \"44\",\n \"name\" : \"Millennium - Płatności Internetowe\"\n }, {\n \"id\" : \"10\",\n \"name\" : \"Millennium Corporate customers\"\n }, {\n \"id\" : \"68\",\n \"name\" : \"mRaty\"\n }, {\n \"id\" : \"1\",\n \"name\" : \"mTransfer\"\n }, {\n \"id\" : \"91\",\n \"name\" : \"Nest Bank\"\n }, {\n \"id\" : \"80\",\n \"name\" : \"Noble Pay\"\n }, {\n \"id\" : \"50\",\n \"name\" : \"Pay Way Toyota Bank\"\n }, {\n \"id\" : \"45\",\n \"name\" : \"Pay with Alior Bank\"\n }, {\n \"id\" : \"36\",\n \"name\" : \"Pekao24Przelew\"\n }, {\n \"id\" : \"70\",\n \"name\" : \"Pocztowy24\"\n }, {\n \"id\" : \"6\",\n \"name\" : \"Przelew24\"\n }, {\n \"id\" : \"46\",\n \"name\" : \"Płacę z Citi Handlowy\"\n }, {\n \"id\" : \"38\",\n \"name\" : \"Płacę z ING\"\n }, {\n \"id\" : \"2\",\n \"name\" : \"Płacę z Inteligo\"\n }, {\n \"id\" : \"4\",\n \"name\" : \"Płacę z iPKO\"\n }, {\n \"id\" : \"75\",\n \"name\" : \"Płacę z Plus Bank\"\n }, {\n \"id\" : \"51\",\n \"name\" : \"Płać z BOŚ\"\n }, {\n \"id\" : \"55\",\n \"name\" : \"Raty z Alior Bankiem PLN\"\n }, {\n \"id\" : \"89\",\n \"name\" : \"Santander\"\n }, {\n \"id\" : \"52\",\n \"name\" : \"SkyCash\"\n } ],\n \"key\" : \"issuer\",\n \"type\" : \"select\"\n } ],\n \"name\" : \"Local Polish Payment Methods\",\n \"type\" : \"dotpay\"\n }, {\n \"name\" : \"Dragonpay Prepaid Credits\",\n \"type\" : \"dragonpay_credits\"\n }, {\n \"name\" : \"Online Banking\",\n \"type\" : \"dragonpay_ebanking\"\n }, {\n \"name\" : \"GCash\",\n \"type\" : \"dragonpay_gcash\"\n }, {\n \"name\" : \"Over The Counter Banks\",\n \"type\" : \"dragonpay_otc_banking\"\n }, {\n \"name\" : \"OTC non-Bank via Dragonpay\",\n \"type\" : \"dragonpay_otc_non_banking\"\n }, {\n \"name\" : \"Convenience Stores\",\n \"type\" : \"dragonpay_otc_philippines\"\n }, {\n \"name\" : \"7/11\",\n \"type\" : \"dragonpay_seveneleven\"\n }, {\n \"name\" : \"eagleeye_voucher\",\n \"type\" : \"eagleeye_voucher\"\n }, {\n \"name\" : \"Finnish E-Banking\",\n \"type\" : \"ebanking_FI\"\n }, {\n \"name\" : \"Pay-easy ATM\",\n \"type\" : \"econtext_atm\"\n }, {\n \"name\" : \"Online Banking\",\n \"type\" : \"econtext_online\"\n }, {\n \"name\" : \"7-Eleven\",\n \"type\" : \"econtext_seven_eleven\"\n }, {\n \"name\" : \"Convenience Stores\",\n \"type\" : \"econtext_stores\"\n }, {\n \"name\" : \"eft_directdebit_CA\",\n \"type\" : \"eft_directdebit_CA\"\n }, {\n \"name\" : \"Lastschrift (ELV)\",\n \"type\" : \"elv\"\n }, {\n \"details\" : [ {\n \"items\" : [ {\n \"id\" : \"231\",\n \"name\" : \"POP Pankki\"\n }, {\n \"id\" : \"551\",\n \"name\" : \"Komerční banka\"\n }, {\n \"id\" : \"232\",\n \"name\" : \"Aktia\"\n }, {\n \"id\" : \"552\",\n \"name\" : \"Raiffeisen\"\n }, {\n \"id\" : \"233\",\n \"name\" : \"Säästöpankki\"\n }, {\n \"id\" : \"750\",\n \"name\" : \"Swedbank\"\n }, {\n \"id\" : \"211\",\n \"name\" : \"Nordea\"\n }, {\n \"id\" : \"553\",\n \"name\" : \"ČSOB\"\n }, {\n \"id\" : \"234\",\n \"name\" : \"S-Pankki\"\n }, {\n \"id\" : \"751\",\n \"name\" : \"SEB\"\n }, {\n \"id\" : \"554\",\n \"name\" : \"Moneta\"\n }, {\n \"id\" : \"235\",\n \"name\" : \"OmaSP\"\n }, {\n \"id\" : \"752\",\n \"name\" : \"Nordea\"\n }, {\n \"id\" : \"213\",\n \"name\" : \"Op-Pohjola\"\n }, {\n \"id\" : \"555\",\n \"name\" : \"UniCredit\"\n }, {\n \"id\" : \"753\",\n \"name\" : \"LHV\"\n }, {\n \"id\" : \"556\",\n \"name\" : \"Fio\"\n }, {\n \"id\" : \"557\",\n \"name\" : \"mBank\"\n }, {\n \"id\" : \"216\",\n \"name\" : \"Handelsbanken\"\n }, {\n \"id\" : \"558\",\n \"name\" : \"Air Bank\"\n }, {\n \"id\" : \"260\",\n \"name\" : \"Länsförsäkringar\"\n }, {\n \"id\" : \"240\",\n \"name\" : \"BankDeposit\"\n }, {\n \"id\" : \"265\",\n \"name\" : \"Sparbanken\"\n }, {\n \"id\" : \"640\",\n \"name\" : \"BankDeposit\"\n }, {\n \"id\" : \"200\",\n \"name\" : \"Ålandsbanken\"\n }, {\n \"id\" : \"940\",\n \"name\" : \"Swedbank\"\n }, {\n \"id\" : \"500\",\n \"name\" : \"Česká spořitelna\"\n }, {\n \"id\" : \"720\",\n \"name\" : \"Swedbank\"\n }, {\n \"id\" : \"941\",\n \"name\" : \"SEB\"\n }, {\n \"id\" : \"204\",\n \"name\" : \"Danske Bank\"\n }, {\n \"id\" : \"721\",\n \"name\" : \"SEB\"\n }, {\n \"id\" : \"942\",\n \"name\" : \"Citadele\"\n }, {\n \"id\" : \"205\",\n \"name\" : \"Handelsbanken\"\n }, {\n \"id\" : \"722\",\n \"name\" : \"DNB\"\n }, {\n \"id\" : \"943\",\n \"name\" : \"DNB\"\n }, {\n \"id\" : \"206\",\n \"name\" : \"Nordea\"\n }, {\n \"id\" : \"723\",\n \"name\" : \"Šiaulių bankas\"\n }, {\n \"id\" : \"207\",\n \"name\" : \"SEB\"\n }, {\n \"id\" : \"724\",\n \"name\" : \"Nordea\"\n }, {\n \"id\" : \"505\",\n \"name\" : \"Komerční banka\"\n }, {\n \"id\" : \"208\",\n \"name\" : \"Skandiabanken\"\n }, {\n \"id\" : \"209\",\n \"name\" : \"Swedbank\"\n } ],\n \"key\" : \"issuer\",\n \"type\" : \"select\"\n } ],\n \"name\" : \"Bank Payment\",\n \"type\" : \"entercash\"\n }, {\n \"name\" : \"Nationale Entertainment Card\",\n \"type\" : \"entertainmentcard\"\n }, {\n \"details\" : [ {\n \"items\" : [ {\n \"id\" : \"d5d5b133-1c0d-4c08-b2be-3c9b116dc326\",\n \"name\" : \"Dolomitenbank\"\n }, {\n \"id\" : \"ee9fc487-ebe0-486c-8101-17dce5141a67\",\n \"name\" : \"Raiffeissen Bankengruppe\"\n }, {\n \"id\" : \"6765e225-a0dc-4481-9666-e26303d4f221\",\n \"name\" : \"Hypo Tirol Bank AG\"\n }, {\n \"id\" : \"8b0bfeea-fbb0-4337-b3a1-0e25c0f060fc\",\n \"name\" : \"Sparda Bank Wien\"\n }, {\n \"id\" : \"1190c4d1-b37a-487e-9355-e0a067f54a9f\",\n \"name\" : \"Schoellerbank AG\"\n }, {\n \"id\" : \"e2e97aaa-de4c-4e18-9431-d99790773433\",\n \"name\" : \"Volksbank Gruppe\"\n }, {\n \"id\" : \"bb7d223a-17d5-48af-a6ef-8a2bf5a4e5d9\",\n \"name\" : \"Immo-Bank\"\n }, {\n \"id\" : \"e6819e7a-f663-414b-92ec-cf7c82d2f4e5\",\n \"name\" : \"Bank Austria\"\n }, {\n \"id\" : \"eff103e6-843d-48b7-a6e6-fbd88f511b11\",\n \"name\" : \"Easybank AG\"\n }, {\n \"id\" : \"25942cc9-617d-42a1-89ba-d1ab5a05770a\",\n \"name\" : \"VR-BankBraunau\"\n }, {\n \"id\" : \"4a0a975b-0594-4b40-9068-39f77b3a91f9\",\n \"name\" : \"Volkskreditbank\"\n }, {\n \"id\" : \"3fdc41fc-3d3d-4ee3-a1fe-cd79cfd58ea3\",\n \"name\" : \"Erste Bank und Sparkassen\"\n }, {\n \"id\" : \"ba7199cc-f057-42f2-9856-2378abf21638\",\n \"name\" : \"BAWAG P.S.K. Gruppe\"\n } ],\n \"key\" : \"issuer\",\n \"type\" : \"select\"\n } ],\n \"name\" : \"EPS\",\n \"type\" : \"eps\"\n }, {\n \"name\" : \"Expert Cadeaukaart\",\n \"type\" : \"expertgiftcard\"\n }, {\n \"details\" : [ {\n \"details\" : [ {\n \"key\" : \"firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"lastName\",\n \"type\" : \"text\"\n }, {\n \"items\" : [ {\n \"id\" : \"M\",\n \"name\" : \"male\"\n }, {\n \"id\" : \"F\",\n \"name\" : \"female\"\n } ],\n \"key\" : \"gender\",\n \"type\" : \"radio\"\n }, {\n \"key\" : \"telephoneNumber\",\n \"type\" : \"tel\"\n }, {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n } ],\n \"key\" : \"personalDetails\",\n \"type\" : \"fieldSet\"\n }, {\n \"details\" : [ {\n \"key\" : \"street\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"houseNumberOrName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"city\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"postalCode\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"stateOrProvince\",\n \"optional\" : true,\n \"type\" : \"text\"\n }, {\n \"items\" : [ {\n \"id\" : \"FR\",\n \"name\" : \"France\"\n }, {\n \"id\" : \"ES\",\n \"name\" : \"Spain\"\n } ],\n \"key\" : \"country\",\n \"type\" : \"select\"\n } ],\n \"key\" : \"billingAddress\",\n \"type\" : \"address\"\n }, {\n \"key\" : \"separateDeliveryAddress\",\n \"optional\" : true,\n \"type\" : \"boolean\",\n \"value\" : \"false\"\n }, {\n \"details\" : [ {\n \"key\" : \"street\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"houseNumberOrName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"city\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"postalCode\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"stateOrProvince\",\n \"optional\" : true,\n \"type\" : \"text\"\n }, {\n \"items\" : [ {\n \"id\" : \"FR\",\n \"name\" : \"France\"\n }, {\n \"id\" : \"ES\",\n \"name\" : \"Spain\"\n } ],\n \"key\" : \"country\",\n \"type\" : \"select\"\n } ],\n \"key\" : \"deliveryAddress\",\n \"optional\" : true,\n \"type\" : \"address\"\n } ],\n \"name\" : \"3x Oney\",\n \"type\" : \"facilypay_3x\"\n }, {\n \"details\" : [ {\n \"details\" : [ {\n \"key\" : \"firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"lastName\",\n \"type\" : \"text\"\n }, {\n \"items\" : [ {\n \"id\" : \"M\",\n \"name\" : \"male\"\n }, {\n \"id\" : \"F\",\n \"name\" : \"female\"\n } ],\n \"key\" : \"gender\",\n \"type\" : \"radio\"\n }, {\n \"key\" : \"telephoneNumber\",\n \"type\" : \"tel\"\n }, {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n } ],\n \"key\" : \"personalDetails\",\n \"type\" : \"fieldSet\"\n }, {\n \"details\" : [ {\n \"key\" : \"street\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"houseNumberOrName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"city\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"postalCode\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"stateOrProvince\",\n \"optional\" : true,\n \"type\" : \"text\"\n }, {\n \"items\" : [ {\n \"id\" : \"FR\",\n \"name\" : \"France\"\n }, {\n \"id\" : \"ES\",\n \"name\" : \"Spain\"\n } ],\n \"key\" : \"country\",\n \"type\" : \"select\"\n } ],\n \"key\" : \"billingAddress\",\n \"type\" : \"address\"\n }, {\n \"key\" : \"separateDeliveryAddress\",\n \"optional\" : true,\n \"type\" : \"boolean\",\n \"value\" : \"false\"\n }, {\n \"details\" : [ {\n \"key\" : \"street\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"houseNumberOrName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"city\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"postalCode\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"stateOrProvince\",\n \"optional\" : true,\n \"type\" : \"text\"\n }, {\n \"items\" : [ {\n \"id\" : \"FR\",\n \"name\" : \"France\"\n }, {\n \"id\" : \"ES\",\n \"name\" : \"Spain\"\n } ],\n \"key\" : \"country\",\n \"type\" : \"select\"\n } ],\n \"key\" : \"deliveryAddress\",\n \"optional\" : true,\n \"type\" : \"address\"\n } ],\n \"name\" : \"4x Oney\",\n \"type\" : \"facilypay_4x\"\n }, {\n \"name\" : \"Fashioncheque\",\n \"type\" : \"fashioncheque\"\n }, {\n \"details\" : [ {\n \"key\" : \"shopper.firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"shopper.lastName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"shopper.gender\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n }, {\n \"key\" : \"telephoneNumber\",\n \"type\" : \"tel\"\n }, {\n \"key\" : \"countryCode\",\n \"type\" : \"text\"\n } ],\n \"name\" : \"Fawry\",\n \"type\" : \"fawry\"\n }, {\n \"name\" : \"FijnCadeau\",\n \"type\" : \"fijncadeau\"\n }, {\n \"name\" : \"Fleurop Bloemenbon\",\n \"type\" : \"fleuropbloemenbon\"\n }, {\n \"name\" : \"Fonq Giftcard\",\n \"type\" : \"fonqgiftcard\"\n }, {\n \"name\" : \"Gall & Gall\",\n \"type\" : \"gallgall\"\n }, {\n \"name\" : \"GCash\",\n \"type\" : \"gcash\"\n }, {\n \"name\" : \"Generic GiftCard\",\n \"type\" : \"genericgiftcard\"\n }, {\n \"name\" : \"GiftFor2\",\n \"type\" : \"giftfor2card\"\n }, {\n \"name\" : \"Givex\",\n \"type\" : \"givex\"\n }, {\n \"name\" : \"Globe GCash\",\n \"type\" : \"globegcash\"\n }, {\n \"name\" : \"Goldsmiths Card\",\n \"type\" : \"goldsmithscard\"\n }, {\n \"name\" : \"GoPay Wallet\",\n \"type\" : \"gopay_wallet\"\n }, {\n \"name\" : \"OVO\",\n \"type\" : \"grabpay_ID\"\n }, {\n \"name\" : \"GrabPay\",\n \"type\" : \"grabpay_PH\"\n }, {\n \"name\" : \"GrabPay\",\n \"type\" : \"grabpay_SG\"\n }, {\n \"name\" : \"Hallmark Card\",\n \"type\" : \"hallmarkcard\"\n }, {\n \"name\" : \"HDFC\",\n \"type\" : \"hdfc\"\n }, {\n \"name\" : \"Hunkemoller Member Card\",\n \"type\" : \"hmclub\"\n }, {\n \"name\" : \"Hunkemoller Lingerie Card\",\n \"type\" : \"hmlingerie\"\n }, {\n \"details\" : [ {\n \"items\" : [ {\n \"id\" : \"1121\",\n \"name\" : \"Test Issuer\"\n }, {\n \"id\" : \"1154\",\n \"name\" : \"Test Issuer 5\"\n }, {\n \"id\" : \"1153\",\n \"name\" : \"Test Issuer 4\"\n }, {\n \"id\" : \"1152\",\n \"name\" : \"Test Issuer 3\"\n }, {\n \"id\" : \"1151\",\n \"name\" : \"Test Issuer 2\"\n }, {\n \"id\" : \"1162\",\n \"name\" : \"Test Issuer Cancelled\"\n }, {\n \"id\" : \"1161\",\n \"name\" : \"Test Issuer Pending\"\n }, {\n \"id\" : \"1160\",\n \"name\" : \"Test Issuer Refused\"\n }, {\n \"id\" : \"1159\",\n \"name\" : \"Test Issuer 10\"\n }, {\n \"id\" : \"1158\",\n \"name\" : \"Test Issuer 9\"\n }, {\n \"id\" : \"1157\",\n \"name\" : \"Test Issuer 8\"\n }, {\n \"id\" : \"1156\",\n \"name\" : \"Test Issuer 7\"\n }, {\n \"id\" : \"1155\",\n \"name\" : \"Test Issuer 6\"\n } ],\n \"key\" : \"issuer\",\n \"type\" : \"select\"\n } ],\n \"name\" : \"iDEAL\",\n \"type\" : \"ideal\"\n }, {\n \"name\" : \"igive\",\n \"type\" : \"igive\"\n }, {\n \"name\" : \"Korean Account Transfer (IniPay)\",\n \"type\" : \"inicisIniPay_accounttransfer\"\n }, {\n \"name\" : \"Korean Credit Cards (IniPay)\",\n \"type\" : \"inicisIniPay_creditcard\"\n }, {\n \"name\" : \"Korean Mobile Phone (IniPay)\",\n \"type\" : \"inicisIniPay_mobilephone\"\n }, {\n \"name\" : \"Korean Virtual Account (IniPay)\",\n \"type\" : \"inicisIniPay_virtualaccount\"\n }, {\n \"name\" : \"Korean Account Transfer (Mobile)\",\n \"type\" : \"inicisMobile_accounttransfer\"\n }, {\n \"name\" : \"Korean Credit Cards (Mobile)\",\n \"type\" : \"inicisMobile_creditcard\"\n }, {\n \"name\" : \"Korean Mobile Phone (Mobile)\",\n \"type\" : \"inicisMobile_mobilephone\"\n }, {\n \"name\" : \"Korean Virtual Account (Mobile)\",\n \"type\" : \"inicisMobile_virtualaccount\"\n }, {\n \"name\" : \"Korean Credit Cards\",\n \"type\" : \"inicis_creditcard\"\n }, {\n \"name\" : \"Interac® Online\",\n \"type\" : \"interac\"\n }, {\n \"name\" : \"Instant EFT\",\n \"type\" : \"ipay\"\n }, {\n \"name\" : \"iPay88\",\n \"type\" : \"ipay88\"\n }, {\n \"name\" : \"isracard\",\n \"type\" : \"isracard\"\n }, {\n \"name\" : \"Phone Payment\",\n \"type\" : \"ivr\"\n }, {\n \"name\" : \"Landline phone\",\n \"type\" : \"ivrLandline\"\n }, {\n \"name\" : \"Mobile phone\",\n \"type\" : \"ivrMobile\"\n }, {\n \"name\" : \"Kado Wereld\",\n \"type\" : \"kadowereld\"\n }, {\n \"name\" : \"KakaoPay\",\n \"type\" : \"kakaopay\"\n }, {\n \"name\" : \"Karen Millen Card\",\n \"type\" : \"karenmillen\"\n }, {\n \"name\" : \"Karen Millen GiftCard\",\n \"type\" : \"karenmillengiftcard\"\n }, {\n \"name\" : \"Bank Transfer\",\n \"type\" : \"kcp_banktransfer\"\n }, {\n \"name\" : \"Korea–issued cards\",\n \"type\" : \"kcp_creditcard\"\n }, {\n \"name\" : \"PayCo\",\n \"type\" : \"kcp_payco\"\n }, {\n \"name\" : \"Naver Pay\",\n \"type\" : \"kcp_naverpay\"\n }, {\n \"name\" : \"Virtual Account via KCP\",\n \"type\" : \"kcp_va\"\n }, {\n \"name\" : \"Pay later with Klarna.\",\n \"type\" : \"klarna\"\n }, {\n \"name\" : \"Pay over time with Klarna.\",\n \"type\" : \"klarna_account\"\n }, {\n \"name\" : \"Buy Now, Pay Later with Billie\",\n \"type\" : \"klarna_b2b\"\n }, {\n \"name\" : \"Pay now with Klarna.\",\n \"type\" : \"klarna_paynow\"\n }, {\n \"name\" : \"Leisure Card\",\n \"type\" : \"leisurecard\"\n }, {\n \"name\" : \"China Credit Card\",\n \"type\" : \"lianlianpay_creditcard\"\n }, {\n \"name\" : \"China Debit Card\",\n \"type\" : \"lianlianpay_debitcard\"\n }, {\n \"details\" : [ {\n \"key\" : \"telephoneNumber\",\n \"type\" : \"tel\"\n } ],\n \"name\" : \"China Online Banking - Credit Card\",\n \"type\" : \"lianlianpay_ebanking_credit\"\n }, {\n \"details\" : [ {\n \"items\" : [ {\n \"id\" : \"01030000\",\n \"name\" : \"Agricultural Bank of China\"\n }, {\n \"id\" : \"4031000\",\n \"name\" : \"Bank of Beijing\"\n }, {\n \"id\" : \"01040000\",\n \"name\" : \"Bank of China\"\n }, {\n \"id\" : \"03020000\",\n \"name\" : \"China Citic Bank\"\n }, {\n \"id\" : \"01050000\",\n \"name\" : \"China Construction Bank\"\n }, {\n \"id\" : \"03030000\",\n \"name\" : \"China Everbright Bank\"\n }, {\n \"id\" : \"03080000\",\n \"name\" : \"China Merchants Bank\"\n }, {\n \"id\" : \"03050000\",\n \"name\" : \"China Minsheng Banking Group\"\n }, {\n \"id\" : \"03040000\",\n \"name\" : \"Hua Xia Bank Co\"\n }, {\n \"id\" : \"01020000\",\n \"name\" : \"Industrial and Commercial Bank of China\"\n }, {\n \"id\" : \"03070000\",\n \"name\" : \"PingAn Bank\"\n }, {\n \"id\" : \"1000000\",\n \"name\" : \"Postal Savings Bank of China\"\n } ],\n \"key\" : \"issuer\",\n \"type\" : \"select\"\n }, {\n \"key\" : \"telephoneNumber\",\n \"type\" : \"tel\"\n } ],\n \"name\" : \"China Online Banking - Debit Card\",\n \"type\" : \"lianlianpay_ebanking_debit\"\n }, {\n \"details\" : [ {\n \"items\" : [ {\n \"id\" : \"01030000\",\n \"name\" : \"Agricultural Bank of China\"\n }, {\n \"id\" : \"01050000\",\n \"name\" : \"China Construction Bank\"\n }, {\n \"id\" : \"03080000\",\n \"name\" : \"China Merchants Bank\"\n }, {\n \"id\" : \"01020000\",\n \"name\" : \"Industrial and Commercial Bank of China\"\n }, {\n \"id\" : \"03100000\",\n \"name\" : \"Shanghai Pudong Development Bank\"\n } ],\n \"key\" : \"issuer\",\n \"type\" : \"select\"\n }, {\n \"key\" : \"telephoneNumber\",\n \"type\" : \"tel\"\n } ],\n \"name\" : \"China Online Banking - Enterprise\",\n \"type\" : \"lianlianpay_ebanking_enterprise\"\n }, {\n \"name\" : \"Loods5 Cadeaukaart\",\n \"type\" : \"loods5giftcard\"\n }, {\n \"name\" : \"Loods5 Tegoedbon\",\n \"type\" : \"loods5prepaidcard\"\n }, {\n \"name\" : \"Love2Shop GiftCard\",\n \"type\" : \"love2shop\"\n }, {\n \"details\" : [ {\n \"key\" : \"shopper.firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"shopper.lastName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"shopper.gender\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n }, {\n \"key\" : \"telephoneNumber\",\n \"type\" : \"tel\"\n }, {\n \"key\" : \"countryCode\",\n \"type\" : \"text\"\n } ],\n \"name\" : \"mada\",\n \"type\" : \"mada\"\n }, {\n \"name\" : \"Mappin & Webb Card\",\n \"type\" : \"mappinwebbcard\"\n }, {\n \"name\" : \"MB WAY\",\n \"type\" : \"mbway\"\n }, {\n \"details\" : [ {\n \"key\" : \"additionalData.amazonPayToken\",\n \"type\" : \"text\"\n } ],\n \"name\" : \"Amazon Pay\",\n \"supportsRecurring\" : true,\n \"type\" : \"amazonpay\"\n }, {\n \"name\" : \"Mercado Pago\",\n \"type\" : \"mercadopago\"\n }, {\n \"name\" : \"MobilePay\",\n \"type\" : \"mobilepay\"\n }, {\n \"name\" : \"AliPay via Razer Merchant Services\",\n \"type\" : \"molpay_alipay\"\n }, {\n \"name\" : \"7-Eleven\",\n \"type\" : \"molpay_cash\"\n }, {\n \"name\" : \"CIMB Virtual Account\",\n \"type\" : \"molpay_cimb_va\"\n }, {\n \"name\" : \"Malaysia E-Banking via Razer Merchant Services\",\n \"type\" : \"molpay_ebanking_MY\"\n }, {\n \"details\" : [ {\n \"items\" : [ {\n \"id\" : \"vtcpay-vietinbank\",\n \"name\" : \"Vietinbank\"\n }, {\n \"id\" : \"vtcpay-bidv\",\n \"name\" : \"BIDV\"\n }, {\n \"id\" : \"vtcpay-agribank\",\n \"name\" : \"Agribank\"\n }, {\n \"id\" : \"vtcpay-mb\",\n \"name\" : \"MB Bank\"\n }, {\n \"id\" : \"vtcpay-sacombank\",\n \"name\" : \"Sacombank\"\n }, {\n \"id\" : \"vtcpay-dongabank\",\n \"name\" : \"DongABank\"\n }, {\n \"id\" : \"vtcpay-maritimebank\",\n \"name\" : \"MaritimeBank\"\n }, {\n \"id\" : \"vtcpay-vietcombank\",\n \"name\" : \"Vietcombank\"\n }, {\n \"id\" : \"vtcpay-acb\",\n \"name\" : \"ACB\"\n }, {\n \"id\" : \"vtcpay-techcombank\",\n \"name\" : \"Techcombank\"\n } ],\n \"key\" : \"issuer\",\n \"type\" : \"select\"\n } ],\n \"name\" : \"Vietnam E-Banking\",\n \"type\" : \"molpay_ebanking_VN\"\n }, {\n \"details\" : [ {\n \"items\" : [ {\n \"id\" : \"fpx_bimb\",\n \"name\" : \"Bank Islam\"\n }, {\n \"id\" : \"fpx_uob\",\n \"name\" : \"UOB Bank\"\n }, {\n \"id\" : \"fpx_cimbclicks\",\n \"name\" : \"CIMB Clicks\"\n }, {\n \"id\" : \"fpx_kfh\",\n \"name\" : \"Kuwait Finance House\"\n }, {\n \"id\" : \"fpx_rhb\",\n \"name\" : \"RHB Now\"\n }, {\n \"id\" : \"fpx_abmb\",\n \"name\" : \"Alliance Bank\"\n }, {\n \"id\" : \"fpx_amb\",\n \"name\" : \"Am Online\"\n }, {\n \"id\" : \"fpx_hsbc\",\n \"name\" : \"HSBC\"\n }, {\n \"id\" : \"fpx_abb\",\n \"name\" : \"Affin Bank\"\n }, {\n \"id\" : \"fpx_ocbc\",\n \"name\" : \"OCBC Bank\"\n }, {\n \"id\" : \"fpx_pbb\",\n \"name\" : \"Public Bank\"\n }, {\n \"id\" : \"fpx_scb\",\n \"name\" : \"Standard Chartered Bank\"\n }, {\n \"id\" : \"fpx_bsn\",\n \"name\" : \"Bank Simpanan Nasional\"\n }, {\n \"id\" : \"fpx_mb2u\",\n \"name\" : \"Maybank2u\"\n }, {\n \"id\" : \"fpx_hlb\",\n \"name\" : \"Hong Leong Connect\"\n }, {\n \"id\" : \"fpx_bmmb\",\n \"name\" : \"Bank Muamalat\"\n }, {\n \"id\" : \"fpx_bkrm\",\n \"name\" : \"Bank Rakyat\"\n } ],\n \"key\" : \"issuer\",\n \"type\" : \"select\"\n } ],\n \"name\" : \"Malaysia E-Banking\",\n \"type\" : \"molpay_ebanking_fpx_MY\"\n }, {\n \"name\" : \"eNETS Debit\",\n \"type\" : \"molpay_enetsd\"\n }, {\n \"name\" : \"epay\",\n \"type\" : \"molpay_epay\"\n }, {\n \"name\" : \"Esapay\",\n \"type\" : \"molpay_esapay\"\n }, {\n \"name\" : \"MyClear FPX\",\n \"type\" : \"molpay_fpx\"\n }, {\n \"name\" : \"Maybank2u\",\n \"type\" : \"molpay_maybank2u\"\n }, {\n \"name\" : \"Nganluong\",\n \"type\" : \"molpay_nganluong\"\n }, {\n \"name\" : \"Convenience Stores Thailand\",\n \"type\" : \"molpay_paysbuy\"\n }, {\n \"name\" : \"MOLPoints\",\n \"type\" : \"molpay_points\"\n }, {\n \"name\" : \"RHB Now\",\n \"type\" : \"molpay_rhb\"\n }, {\n \"name\" : \"SAM by SingPost\",\n \"type\" : \"molpay_singpost\"\n }, {\n \"name\" : \"MOLWallet\",\n \"type\" : \"molpay_wallet\"\n }, {\n \"name\" : \"MoMo ATM\",\n \"type\" : \"momo_atm\"\n }, {\n \"name\" : \"Momo Wallet\",\n \"type\" : \"momo_wallet\"\n }, {\n \"name\" : \"Moneybookers\",\n \"type\" : \"moneybookers\"\n }, {\n \"name\" : \"Multibanco\",\n \"type\" : \"multibanco\"\n }, {\n \"name\" : \"De Nationale Musicalcard\",\n \"type\" : \"musicalcard\"\n }, {\n \"name\" : \"Nationale Bioscoopbon\",\n \"type\" : \"nationalebioscoopbon\"\n }, {\n \"name\" : \"Nationale Tuinbon\",\n \"type\" : \"nationaletuinbon\"\n }, {\n \"name\" : \"Nationale Verwen Cadeaubon\",\n \"type\" : \"nationaleverwencadeaubon\"\n }, {\n \"name\" : \"BankAxess\",\n \"type\" : \"netaxept_bankaxess\"\n }, {\n \"name\" : \"NETELLER\",\n \"type\" : \"neteller\"\n }, {\n \"name\" : \"Onebip\",\n \"type\" : \"onebip\"\n }, {\n \"name\" : \"One Two Three\",\n \"type\" : \"onetwothree\"\n }, {\n \"name\" : \"Online Banking PL\",\n \"type\" : \"onlineBanking_PL\"\n }, {\n \"details\" : [ {\n \"items\" : [ {\n \"id\" : \"1\",\n \"name\" : \"Model Bank v2\"\n } ],\n \"key\" : \"issuer\",\n \"type\" : \"select\"\n } ],\n \"name\" : \"Online banking\",\n \"type\" : \"openbanking_UK\"\n }, {\n \"name\" : \"Oxxo\",\n \"type\" : \"oxxo\"\n }, {\n \"name\" : \"Pathe Giftcard\",\n \"type\" : \"pathegiftcard\"\n }, {\n \"name\" : \"PayBright\",\n \"type\" : \"paybright\"\n }, {\n \"name\" : \"Maya Wallet\",\n \"type\" : \"paymaya_wallet\"\n }, {\n \"name\" : \"PayPal\",\n \"type\" : \"paypal\"\n }, {\n \"name\" : \"Paysafecard\",\n \"type\" : \"paysafecard\"\n }, {\n \"name\" : \"Payshop\",\n \"type\" : \"payshop\"\n }, {\n \"name\" : \"PayD AMT via Paythru\",\n \"type\" : \"paythru_amt\"\n }, {\n \"name\" : \"EFT via Paythru\",\n \"type\" : \"paythru_eft\"\n }, {\n \"name\" : \"PayTM\",\n \"type\" : \"paytm\"\n }, {\n \"details\" : [ {\n \"key\" : \"virtualPaymentAddress\",\n \"type\" : \"text\"\n } ],\n \"name\" : \"PayU UPI\",\n \"type\" : \"payu_IN_upi\"\n }, {\n \"name\" : \"EFT Pro via PayU\",\n \"type\" : \"payu_ZA_eftpro\"\n }, {\n \"details\" : [ {\n \"key\" : \"additionalData.paywithgoogle.token\",\n \"type\" : \"payWithGoogleToken\"\n } ],\n \"name\" : \"Google Pay\",\n \"type\" : \"paywithgoogle\"\n }, {\n \"name\" : \"pix\",\n \"type\" : \"pix\"\n }, {\n \"name\" : \"Plastix\",\n \"type\" : \"plastix\"\n }, {\n \"name\" : \"Pluim\",\n \"type\" : \"pluimgiftcard\"\n }, {\n \"name\" : \"Podium Card\",\n \"type\" : \"podiumcard\"\n }, {\n \"name\" : \"POLi\",\n \"type\" : \"poli\"\n }, {\n \"name\" : \"PPS\",\n \"type\" : \"pps\"\n }, {\n \"name\" : \"Primera Cadeaukaart\",\n \"type\" : \"primeracadeaucard\"\n }, {\n \"name\" : \"Illicado Gift Card\",\n \"type\" : \"prosodie_illicado\"\n }, {\n \"name\" : \"PSE\",\n \"type\" : \"pse\"\n }, {\n \"details\" : [ {\n \"items\" : [ {\n \"id\" : \"+7\",\n \"name\" : \"RU\"\n }, {\n \"id\" : \"+9955\",\n \"name\" : \"GE\"\n }, {\n \"id\" : \"+507\",\n \"name\" : \"PA\"\n }, {\n \"id\" : \"+44\",\n \"name\" : \"GB\"\n }, {\n \"id\" : \"+992\",\n \"name\" : \"TJ\"\n }, {\n \"id\" : \"+370\",\n \"name\" : \"LT\"\n }, {\n \"id\" : \"+972\",\n \"name\" : \"IL\"\n }, {\n \"id\" : \"+996\",\n \"name\" : \"KG\"\n }, {\n \"id\" : \"+380\",\n \"name\" : \"UA\"\n }, {\n \"id\" : \"+84\",\n \"name\" : \"VN\"\n }, {\n \"id\" : \"+90\",\n \"name\" : \"TR\"\n }, {\n \"id\" : \"+994\",\n \"name\" : \"AZ\"\n }, {\n \"id\" : \"+374\",\n \"name\" : \"AM\"\n }, {\n \"id\" : \"+371\",\n \"name\" : \"LV\"\n }, {\n \"id\" : \"+91\",\n \"name\" : \"IN\"\n }, {\n \"id\" : \"+66\",\n \"name\" : \"TH\"\n }, {\n \"id\" : \"+373\",\n \"name\" : \"MD\"\n }, {\n \"id\" : \"+1\",\n \"name\" : \"US\"\n }, {\n \"id\" : \"+81\",\n \"name\" : \"JP\"\n }, {\n \"id\" : \"+998\",\n \"name\" : \"UZ\"\n }, {\n \"id\" : \"+77\",\n \"name\" : \"KZ\"\n }, {\n \"id\" : \"+375\",\n \"name\" : \"BY\"\n }, {\n \"id\" : \"+372\",\n \"name\" : \"EE\"\n }, {\n \"id\" : \"+40\",\n \"name\" : \"RO\"\n }, {\n \"id\" : \"+82\",\n \"name\" : \"KR\"\n } ],\n \"key\" : \"qiwiwallet.telephoneNumberPrefix\",\n \"type\" : \"select\"\n }, {\n \"key\" : \"qiwiwallet.telephoneNumber\",\n \"type\" : \"text\"\n } ],\n \"name\" : \"Qiwi Wallet\",\n \"type\" : \"qiwiwallet\"\n }, {\n \"name\" : \"RatePay Invoice\",\n \"type\" : \"ratepay\"\n }, {\n \"name\" : \"RatePay Direct Debit\",\n \"type\" : \"ratepay_directdebit\"\n }, {\n \"name\" : \"Rituals Giftcard\",\n \"type\" : \"rituals\"\n }, {\n \"name\" : \"Rob Peetoom Giftcard\",\n \"type\" : \"robpeetoomgiftcard\"\n }, {\n \"name\" : \"SafetyPay\",\n \"type\" : \"safetypay\"\n }, {\n \"name\" : \"SafetyPay Cash\",\n \"type\" : \"safetypay_cash\"\n }, {\n \"name\" : \"Shoes&Accessories Cadeau\",\n \"type\" : \"sagiftcard\"\n }, {\n \"name\" : \"Score Giftcard\",\n \"type\" : \"scoregiftcard\"\n }, {\n \"name\" : \"SEB Direktbetalning\",\n \"type\" : \"sebdirectpayment\"\n }, {\n \"details\" : [ {\n \"key\" : \"sepa.ownerName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"sepa.ibanNumber\",\n \"type\" : \"text\"\n } ],\n \"name\" : \"SEPA Direct Debit\",\n \"type\" : \"sepadirectdebit\"\n }, {\n \"name\" : \"7-Eleven\",\n \"type\" : \"seveneleven\"\n }, {\n \"name\" : \"Premium SMS\",\n \"type\" : \"sms\"\n }, {\n \"name\" : \"SVS\",\n \"type\" : \"svs\"\n }, {\n \"name\" : \"Swish\",\n \"type\" : \"swish\"\n }, {\n \"name\" : \"TCS Test GiftCard\",\n \"type\" : \"tcstestgiftcard\"\n }, {\n \"name\" : \"TenPay\",\n \"type\" : \"tenpay\"\n }, {\n \"name\" : \"The Sting Giftcard\",\n \"type\" : \"thestinggiftcard\"\n }, {\n \"name\" : \"TrueMoney\",\n \"type\" : \"truemoney\"\n }, {\n \"name\" : \"Trustly\",\n \"type\" : \"trustly\"\n }, {\n \"name\" : \"Online Banking by Trustpay\",\n \"type\" : \"trustpay\"\n }, {\n \"name\" : \"TWINT\",\n \"type\" : \"twint\"\n }, {\n \"name\" : \"Ukash\",\n \"type\" : \"ukash\"\n }, {\n \"name\" : \"UnionPay\",\n \"type\" : \"unionpay\"\n }, {\n \"details\" : [ {\n \"key\" : \"virtualPaymentAddress\",\n \"type\" : \"text\"\n } ],\n \"name\" : \"UPI Collect\",\n \"type\" : \"upi_collect\"\n }, {\n \"name\" : \"Valuelink\",\n \"type\" : \"valuelink\"\n }, {\n \"name\" : \"V&D Cadeaukaart\",\n \"type\" : \"vdcadeaucard\"\n }, {\n \"details\" : [ {\n \"key\" : \"telephoneNumber\",\n \"optional\" : true,\n \"type\" : \"tel\"\n } ],\n \"name\" : \"Vipps\",\n \"type\" : \"vipps\"\n }, {\n \"details\" : [ {\n \"key\" : \"additionalData.visacheckout.callId\",\n \"type\" : \"text\"\n } ],\n \"name\" : \"Visa Checkout\",\n \"type\" : \"visacheckout\"\n }, {\n \"name\" : \"VVV Cadeaubon\",\n \"type\" : \"vvvcadeaubon\"\n }, {\n \"name\" : \"VVV Giftcard\",\n \"type\" : \"vvvgiftcard\"\n }, {\n \"name\" : \"Webshop Giftcard\",\n \"type\" : \"webshopgiftcard\"\n }, {\n \"name\" : \"WeChat Pay\",\n \"type\" : \"wechatpayMiniProgram\"\n }, {\n \"name\" : \"WeChat Pay\",\n \"type\" : \"wechatpayQR\"\n }, {\n \"name\" : \"WeChat Pay\",\n \"type\" : \"wechatpayWeb\"\n }, {\n \"name\" : \"WE Fashion Giftcard\",\n \"type\" : \"wefashiongiftcard\"\n }, {\n \"name\" : \"Western Union\",\n \"type\" : \"westernunion\"\n }, {\n \"name\" : \"Winkel Cheque\",\n \"type\" : \"winkelcheque\"\n }, {\n \"name\" : \"WOS Card\",\n \"type\" : \"woscard\"\n }, {\n \"name\" : \"Alfa-Click\",\n \"type\" : \"yandex_alfaclick\"\n }, {\n \"name\" : \"Pay using bank card\",\n \"type\" : \"yandex_bank_card\"\n }, {\n \"name\" : \"Cash terminals\",\n \"type\" : \"yandex_cash\"\n }, {\n \"name\" : \"Pay using installments\",\n \"type\" : \"yandex_installments\"\n }, {\n \"name\" : \"YooMoney\",\n \"type\" : \"yandex_money\"\n }, {\n \"name\" : \"Promsvyazbank\",\n \"type\" : \"yandex_promsvyazbank\"\n }, {\n \"name\" : \"SberPay\",\n \"type\" : \"yandex_sberbank\"\n }, {\n \"name\" : \"WebMoney\",\n \"type\" : \"yandex_webmoney\"\n }, {\n \"name\" : \"Your Gift\",\n \"type\" : \"yourgift\"\n }, {\n \"name\" : \"Zip\",\n \"type\" : \"zip\"\n } ]\n}", + "originalRequest": { + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentMethods", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentMethods" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Queries the available payment methods for a transaction based on the transaction context (like amount, country, and currency). Besides giving back a list of the available payment methods, the response also returns which input details you need to collect from the shopper (to be submitted to `/payments`). Although we highly recommend using this endpoint to ensure you are always offering the most up-to-date list of payment methods, its usage is optional. You can, for example, also cache the `/paymentMethods` response and update it once a week." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentMethods", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentMethods" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Queries the available payment methods for a transaction based on the transaction context (like amount, country, and currency). Besides giving back a list of the available payment methods, the response also returns which input details you need to collect from the shopper (to be submitted to `/payments`). Although we highly recommend using this endpoint to ensure you are always offering the most up-to-date list of payment methods, its usage is optional. You can, for example, also cache the `/paymentMethods` response and update it once a week." - } + ] }, { "name": "Get payment methods based on the country and amount", "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 + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl-NL\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentMethods", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentMethods" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Queries the available payment methods for a transaction based on the transaction context (like amount, country, and currency). Besides giving back a list of the available payment methods, the response also returns which input details you need to collect from the shopper (to be submitted to `/payments`). Although we highly recommend using this endpoint to ensure you are always offering the most up-to-date list of payment methods, its usage is optional. You can, for example, also cache the `/paymentMethods` response and update it once a week." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"paymentMethods\" : [ {\n \"details\" : [ {\n \"items\" : [ {\n \"id\" : \"1121\",\n \"name\" : \"Test Issuer\"\n }, {\n \"id\" : \"1154\",\n \"name\" : \"Test Issuer 5\"\n }, {\n \"id\" : \"1153\",\n \"name\" : \"Test Issuer 4\"\n }, {\n \"id\" : \"1152\",\n \"name\" : \"Test Issuer 3\"\n }, {\n \"id\" : \"1151\",\n \"name\" : \"Test Issuer 2\"\n }, {\n \"id\" : \"1162\",\n \"name\" : \"Test Issuer Cancelled\"\n }, {\n \"id\" : \"1161\",\n \"name\" : \"Test Issuer Pending\"\n }, {\n \"id\" : \"1160\",\n \"name\" : \"Test Issuer Refused\"\n }, {\n \"id\" : \"1159\",\n \"name\" : \"Test Issuer 10\"\n }, {\n \"id\" : \"1158\",\n \"name\" : \"Test Issuer 9\"\n }, {\n \"id\" : \"1157\",\n \"name\" : \"Test Issuer 8\"\n }, {\n \"id\" : \"1156\",\n \"name\" : \"Test Issuer 7\"\n }, {\n \"id\" : \"1155\",\n \"name\" : \"Test Issuer 6\"\n } ],\n \"key\" : \"issuer\",\n \"type\" : \"select\"\n } ],\n \"name\" : \"iDEAL\",\n \"type\" : \"ideal\"\n }, {\n \"details\" : [ {\n \"key\" : \"encryptedCardNumber\",\n \"type\" : \"cardToken\"\n }, {\n \"key\" : \"encryptedSecurityCode\",\n \"type\" : \"cardToken\"\n }, {\n \"key\" : \"encryptedExpiryMonth\",\n \"type\" : \"cardToken\"\n }, {\n \"key\" : \"encryptedExpiryYear\",\n \"type\" : \"cardToken\"\n }, {\n \"key\" : \"holderName\",\n \"optional\" : true,\n \"type\" : \"text\"\n } ],\n \"name\" : \"Hitelkártya\",\n \"type\" : \"scheme\"\n }, {\n \"name\" : \"PayPal\",\n \"type\" : \"paypal\"\n }, {\n \"details\" : [ {\n \"details\" : [ {\n \"key\" : \"firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"lastName\",\n \"type\" : \"text\"\n }, {\n \"items\" : [ {\n \"id\" : \"M\",\n \"name\" : \"male\"\n }, {\n \"id\" : \"F\",\n \"name\" : \"female\"\n } ],\n \"key\" : \"gender\",\n \"type\" : \"radio\"\n }, {\n \"key\" : \"dateOfBirth\",\n \"type\" : \"date\"\n }, {\n \"key\" : \"telephoneNumber\",\n \"type\" : \"tel\"\n }, {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n } ],\n \"key\" : \"personalDetails\",\n \"type\" : \"fieldSet\"\n }, {\n \"details\" : [ {\n \"key\" : \"street\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"houseNumberOrName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"city\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"postalCode\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"stateOrProvince\",\n \"optional\" : true,\n \"type\" : \"text\"\n }, {\n \"items\" : [ {\n \"id\" : \"NL\",\n \"name\" : \"Netherlands\"\n }, {\n \"id\" : \"BE\",\n \"name\" : \"Belgium\"\n } ],\n \"key\" : \"country\",\n \"type\" : \"select\",\n \"value\" : \"NL\"\n } ],\n \"key\" : \"billingAddress\",\n \"type\" : \"address\"\n }, {\n \"key\" : \"separateDeliveryAddress\",\n \"optional\" : true,\n \"type\" : \"boolean\",\n \"value\" : \"false\"\n }, {\n \"details\" : [ {\n \"key\" : \"street\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"houseNumberOrName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"city\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"postalCode\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"stateOrProvince\",\n \"optional\" : true,\n \"type\" : \"text\"\n }, {\n \"items\" : [ {\n \"id\" : \"NL\",\n \"name\" : \"Netherlands\"\n }, {\n \"id\" : \"BE\",\n \"name\" : \"Belgium\"\n } ],\n \"key\" : \"country\",\n \"type\" : \"select\",\n \"value\" : \"NL\"\n } ],\n \"key\" : \"deliveryAddress\",\n \"optional\" : true,\n \"type\" : \"address\"\n } ],\n \"name\" : \"AfterPay Invoice\",\n \"type\" : \"afterpay_default\"\n }, {\n \"name\" : \"Pay later with Klarna.\",\n \"type\" : \"klarna\"\n }, {\n \"details\" : [ {\n \"key\" : \"sepa.ownerName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"sepa.ibanNumber\",\n \"type\" : \"text\"\n } ],\n \"name\" : \"SEPA Direct Debit\",\n \"type\" : \"sepadirectdebit\"\n }, {\n \"name\" : \"Paysafecard\",\n \"type\" : \"paysafecard\"\n }, {\n \"name\" : \"Bijenkorf Cadeaucard\",\n \"type\" : \"bijcadeaucard\"\n }, {\n \"name\" : \"Fonq Giftcard\",\n \"type\" : \"fonqgiftcard\"\n }, {\n \"name\" : \"Bank Transfer (NL)\",\n \"type\" : \"bankTransfer_NL\"\n }, {\n \"name\" : \"Pathe Giftcard\",\n \"type\" : \"pathegiftcard\"\n }, {\n \"name\" : \"VVV Giftcard\",\n \"type\" : \"vvvgiftcard\"\n }, {\n \"name\" : \"Podium Card\",\n \"type\" : \"podiumcard\"\n }, {\n \"name\" : \"RatePay Direct Debit\",\n \"type\" : \"ratepay_directdebit\"\n }, {\n \"name\" : \"Rituals Giftcard\",\n \"type\" : \"rituals\"\n }, {\n \"name\" : \"Hunkemoller Lingerie Card\",\n \"type\" : \"hmlingerie\"\n }, {\n \"name\" : \"Primera Cadeaukaart\",\n \"type\" : \"primeracadeaucard\"\n }, {\n \"name\" : \"Fashioncheque\",\n \"type\" : \"fashioncheque\"\n }, {\n \"name\" : \"NETELLER\",\n \"type\" : \"neteller\"\n }, {\n \"name\" : \"Adyen Voucher\",\n \"type\" : \"adyen_test_voucher\"\n }, {\n \"name\" : \"AfterPay B2B\",\n \"type\" : \"afterpay_b2b\"\n }, {\n \"name\" : \"AfterPay DirectDebit\",\n \"type\" : \"afterpay_directdebit\"\n }, {\n \"name\" : \"AliPay\",\n \"type\" : \"alipay\"\n }, {\n \"name\" : \"AliPay\",\n \"type\" : \"alipay_wap\"\n }, {\n \"details\" : [ {\n \"key\" : \"additionalData.androidpay.token\",\n \"type\" : \"androidPayToken\"\n } ],\n \"name\" : \"Android Pay\",\n \"type\" : \"androidpay\"\n }, {\n \"details\" : [ {\n \"key\" : \"additionalData.applepay.token\",\n \"type\" : \"applePayToken\"\n } ],\n \"name\" : \"Apple Pay\",\n \"type\" : \"applepay\"\n }, {\n \"name\" : \"Baby Gift Card\",\n \"type\" : \"babygiftcard\"\n }, {\n \"name\" : \"SEPA Bank Transfer\",\n \"type\" : \"bankTransfer_IBAN\"\n }, {\n \"name\" : \"Bloemen Giftcard\",\n \"type\" : \"bloemengiftcard\"\n }, {\n \"name\" : \"Boekenbon Giftcard\",\n \"type\" : \"boekenbon\"\n }, {\n \"name\" : \"Cash-Ticket\",\n \"type\" : \"cashticket\"\n }, {\n \"name\" : \"Chasin Giftcard\",\n \"type\" : \"chasingiftcard\"\n }, {\n \"name\" : \"ClickandBuy\",\n \"type\" : \"clickandbuy\"\n }, {\n \"name\" : \"Costes Giftcard\",\n \"type\" : \"costesgiftcard\"\n }, {\n \"name\" : \"custom_settlement\",\n \"type\" : \"custom_settlement\"\n }, {\n \"name\" : \"eft_directdebit_CA\",\n \"type\" : \"eft_directdebit_CA\"\n }, {\n \"name\" : \"Nationale Entertainment Card\",\n \"type\" : \"entertainmentcard\"\n }, {\n \"name\" : \"Expert Cadeaukaart\",\n \"type\" : \"expertgiftcard\"\n }, {\n \"name\" : \"FijnCadeau\",\n \"type\" : \"fijncadeau\"\n }, {\n \"name\" : \"Fleurop Bloemenbon\",\n \"type\" : \"fleuropbloemenbon\"\n }, {\n \"name\" : \"Gall & Gall\",\n \"type\" : \"gallgall\"\n }, {\n \"name\" : \"Generic GiftCard\",\n \"type\" : \"genericgiftcard\"\n }, {\n \"name\" : \"GiftFor2\",\n \"type\" : \"giftfor2card\"\n }, {\n \"name\" : \"Givex\",\n \"type\" : \"givex\"\n }, {\n \"name\" : \"Goldsmiths Card\",\n \"type\" : \"goldsmithscard\"\n }, {\n \"name\" : \"Hunkemoller Member Card\",\n \"type\" : \"hmclub\"\n }, {\n \"name\" : \"Phone Payment\",\n \"type\" : \"ivr\"\n }, {\n \"name\" : \"Landline phone\",\n \"type\" : \"ivrLandline\"\n }, {\n \"name\" : \"Mobile phone\",\n \"type\" : \"ivrMobile\"\n }, {\n \"name\" : \"Kado Wereld\",\n \"type\" : \"kadowereld\"\n }, {\n \"name\" : \"Karen Millen GiftCard\",\n \"type\" : \"karenmillengiftcard\"\n }, {\n \"name\" : \"Leisure Card\",\n \"type\" : \"leisurecard\"\n }, {\n \"name\" : \"Loods5 Cadeaukaart\",\n \"type\" : \"loods5giftcard\"\n }, {\n \"name\" : \"Loods5 Tegoedbon\",\n \"type\" : \"loods5prepaidcard\"\n }, {\n \"details\" : [ {\n \"key\" : \"additionalData.amazonPayToken\",\n \"type\" : \"text\"\n } ],\n \"name\" : \"Amazon Pay\",\n \"supportsRecurring\" : true,\n \"type\" : \"amazonpay\"\n }, {\n \"name\" : \"MOLPoints\",\n \"type\" : \"molpay_points\"\n }, {\n \"name\" : \"Moneybookers\",\n \"type\" : \"moneybookers\"\n }, {\n \"name\" : \"De Nationale Musicalcard\",\n \"type\" : \"musicalcard\"\n }, {\n \"name\" : \"Nationale Bioscoopbon\",\n \"type\" : \"nationalebioscoopbon\"\n }, {\n \"name\" : \"Nationale Tuinbon\",\n \"type\" : \"nationaletuinbon\"\n }, {\n \"name\" : \"Nationale Verwen Cadeaubon\",\n \"type\" : \"nationaleverwencadeaubon\"\n }, {\n \"name\" : \"Onebip\",\n \"type\" : \"onebip\"\n }, {\n \"details\" : [ {\n \"key\" : \"additionalData.paywithgoogle.token\",\n \"type\" : \"payWithGoogleToken\"\n } ],\n \"name\" : \"Google Pay\",\n \"type\" : \"paywithgoogle\"\n }, {\n \"name\" : \"Plastix\",\n \"type\" : \"plastix\"\n }, {\n \"name\" : \"Pluim\",\n \"type\" : \"pluimgiftcard\"\n }, {\n \"name\" : \"Illicado Gift Card\",\n \"type\" : \"prosodie_illicado\"\n }, {\n \"name\" : \"RatePay Invoice\",\n \"type\" : \"ratepay\"\n }, {\n \"name\" : \"Rob Peetoom Giftcard\",\n \"type\" : \"robpeetoomgiftcard\"\n }, {\n \"name\" : \"Shoes&Accessories Cadeau\",\n \"type\" : \"sagiftcard\"\n }, {\n \"name\" : \"Score Giftcard\",\n \"type\" : \"scoregiftcard\"\n }, {\n \"name\" : \"Premium SMS\",\n \"type\" : \"sms\"\n }, {\n \"name\" : \"SVS\",\n \"type\" : \"svs\"\n }, {\n \"name\" : \"TCS Test GiftCard\",\n \"type\" : \"tcstestgiftcard\"\n }, {\n \"name\" : \"The Sting Giftcard\",\n \"type\" : \"thestinggiftcard\"\n }, {\n \"name\" : \"Ukash\",\n \"type\" : \"ukash\"\n }, {\n \"name\" : \"UnionPay\",\n \"type\" : \"unionpay\"\n }, {\n \"name\" : \"Valuelink\",\n \"type\" : \"valuelink\"\n }, {\n \"name\" : \"V&D Cadeaukaart\",\n \"type\" : \"vdcadeaucard\"\n }, {\n \"details\" : [ {\n \"key\" : \"additionalData.visacheckout.callId\",\n \"type\" : \"text\"\n } ],\n \"name\" : \"Visa Checkout\",\n \"type\" : \"visacheckout\"\n }, {\n \"name\" : \"VVV Cadeaubon\",\n \"type\" : \"vvvcadeaubon\"\n }, {\n \"name\" : \"Webshop Giftcard\",\n \"type\" : \"webshopgiftcard\"\n }, {\n \"name\" : \"WE Fashion Giftcard\",\n \"type\" : \"wefashiongiftcard\"\n }, {\n \"name\" : \"Western Union\",\n \"type\" : \"westernunion\"\n }, {\n \"name\" : \"Winkel Cheque\",\n \"type\" : \"winkelcheque\"\n }, {\n \"name\" : \"Your Gift\",\n \"type\" : \"yourgift\"\n } ]\n}", + "originalRequest": { + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl-NL\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentMethods", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentMethods" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Queries the available payment methods for a transaction based on the transaction context (like amount, country, and currency). Besides giving back a list of the available payment methods, the response also returns which input details you need to collect from the shopper (to be submitted to `/payments`). Although we highly recommend using this endpoint to ensure you are always offering the most up-to-date list of payment methods, its usage is optional. You can, for example, also cache the `/paymentMethods` response and update it once a week." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl-NL\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n }\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentMethods", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentMethods" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Queries the available payment methods for a transaction based on the transaction context (like amount, country, and currency). Besides giving back a list of the available payment methods, the response also returns which input details you need to collect from the shopper (to be submitted to `/payments`). Although we highly recommend using this endpoint to ensure you are always offering the most up-to-date list of payment methods, its usage is optional. You can, for example, also cache the `/paymentMethods` response and update it once a week." - } + ] }, { "name": "Get payment methods including stored card details", "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 + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"countryCode\" : \"NL\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentMethods", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentMethods" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Queries the available payment methods for a transaction based on the transaction context (like amount, country, and currency). Besides giving back a list of the available payment methods, the response also returns which input details you need to collect from the shopper (to be submitted to `/payments`). Although we highly recommend using this endpoint to ensure you are always offering the most up-to-date list of payment methods, its usage is optional. You can, for example, also cache the `/paymentMethods` response and update it once a week." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"paymentMethods\" : [ {\n \"details\" : [ {\n \"items\" : [ {\n \"id\" : \"1121\",\n \"name\" : \"Test Issuer\"\n }, {\n \"id\" : \"1154\",\n \"name\" : \"Test Issuer 5\"\n }, {\n \"id\" : \"1153\",\n \"name\" : \"Test Issuer 4\"\n }, {\n \"id\" : \"1152\",\n \"name\" : \"Test Issuer 3\"\n }, {\n \"id\" : \"1151\",\n \"name\" : \"Test Issuer 2\"\n }, {\n \"id\" : \"1162\",\n \"name\" : \"Test Issuer Cancelled\"\n }, {\n \"id\" : \"1161\",\n \"name\" : \"Test Issuer Pending\"\n }, {\n \"id\" : \"1160\",\n \"name\" : \"Test Issuer Refused\"\n }, {\n \"id\" : \"1159\",\n \"name\" : \"Test Issuer 10\"\n }, {\n \"id\" : \"1158\",\n \"name\" : \"Test Issuer 9\"\n }, {\n \"id\" : \"1157\",\n \"name\" : \"Test Issuer 8\"\n }, {\n \"id\" : \"1156\",\n \"name\" : \"Test Issuer 7\"\n }, {\n \"id\" : \"1155\",\n \"name\" : \"Test Issuer 6\"\n } ],\n \"key\" : \"issuer\",\n \"type\" : \"select\"\n } ],\n \"name\" : \"iDEAL\",\n \"type\" : \"ideal\"\n }, {\n \"details\" : [ {\n \"key\" : \"encryptedCardNumber\",\n \"type\" : \"cardToken\"\n }, {\n \"key\" : \"encryptedSecurityCode\",\n \"type\" : \"cardToken\"\n }, {\n \"key\" : \"encryptedExpiryMonth\",\n \"type\" : \"cardToken\"\n }, {\n \"key\" : \"encryptedExpiryYear\",\n \"type\" : \"cardToken\"\n }, {\n \"key\" : \"holderName\",\n \"optional\" : true,\n \"type\" : \"text\"\n } ],\n \"name\" : \"Credit Card\",\n \"type\" : \"scheme\"\n }, {\n \"name\" : \"PayPal\",\n \"type\" : \"paypal\"\n }, {\n \"details\" : [ {\n \"details\" : [ {\n \"key\" : \"firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"lastName\",\n \"type\" : \"text\"\n }, {\n \"items\" : [ {\n \"id\" : \"M\",\n \"name\" : \"male\"\n }, {\n \"id\" : \"F\",\n \"name\" : \"female\"\n } ],\n \"key\" : \"gender\",\n \"type\" : \"radio\"\n }, {\n \"key\" : \"dateOfBirth\",\n \"type\" : \"date\"\n }, {\n \"key\" : \"telephoneNumber\",\n \"type\" : \"tel\"\n }, {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n } ],\n \"key\" : \"personalDetails\",\n \"type\" : \"fieldSet\"\n }, {\n \"details\" : [ {\n \"key\" : \"street\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"houseNumberOrName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"city\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"postalCode\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"stateOrProvince\",\n \"optional\" : true,\n \"type\" : \"text\"\n }, {\n \"items\" : [ {\n \"id\" : \"NL\",\n \"name\" : \"Netherlands\"\n }, {\n \"id\" : \"BE\",\n \"name\" : \"Belgium\"\n } ],\n \"key\" : \"country\",\n \"type\" : \"select\",\n \"value\" : \"NL\"\n } ],\n \"key\" : \"billingAddress\",\n \"type\" : \"address\"\n }, {\n \"key\" : \"separateDeliveryAddress\",\n \"optional\" : true,\n \"type\" : \"boolean\",\n \"value\" : \"false\"\n }, {\n \"details\" : [ {\n \"key\" : \"street\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"houseNumberOrName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"city\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"postalCode\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"stateOrProvince\",\n \"optional\" : true,\n \"type\" : \"text\"\n }, {\n \"items\" : [ {\n \"id\" : \"NL\",\n \"name\" : \"Netherlands\"\n }, {\n \"id\" : \"BE\",\n \"name\" : \"Belgium\"\n } ],\n \"key\" : \"country\",\n \"type\" : \"select\",\n \"value\" : \"NL\"\n } ],\n \"key\" : \"deliveryAddress\",\n \"optional\" : true,\n \"type\" : \"address\"\n } ],\n \"name\" : \"AfterPay Invoice\",\n \"type\" : \"afterpay_default\"\n }, {\n \"name\" : \"Pay later with Klarna.\",\n \"type\" : \"klarna\"\n }, {\n \"details\" : [ {\n \"key\" : \"sepa.ownerName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"sepa.ibanNumber\",\n \"type\" : \"text\"\n } ],\n \"name\" : \"SEPA Direct Debit\",\n \"type\" : \"sepadirectdebit\"\n }, {\n \"name\" : \"Paysafecard\",\n \"type\" : \"paysafecard\"\n }, {\n \"name\" : \"Bijenkorf Cadeaucard\",\n \"type\" : \"bijcadeaucard\"\n }, {\n \"name\" : \"Fonq Giftcard\",\n \"type\" : \"fonqgiftcard\"\n }, {\n \"name\" : \"Bank Transfer (NL)\",\n \"type\" : \"bankTransfer_NL\"\n }, {\n \"name\" : \"Pathe Giftcard\",\n \"type\" : \"pathegiftcard\"\n }, {\n \"name\" : \"VVV Giftcard\",\n \"type\" : \"vvvgiftcard\"\n }, {\n \"name\" : \"Podium Card\",\n \"type\" : \"podiumcard\"\n }, {\n \"name\" : \"RatePay Direct Debit\",\n \"type\" : \"ratepay_directdebit\"\n }, {\n \"name\" : \"Rituals Giftcard\",\n \"type\" : \"rituals\"\n }, {\n \"name\" : \"Hunkemoller Lingerie Card\",\n \"type\" : \"hmlingerie\"\n }, {\n \"name\" : \"Primera Cadeaukaart\",\n \"type\" : \"primeracadeaucard\"\n }, {\n \"name\" : \"Fashioncheque\",\n \"type\" : \"fashioncheque\"\n }, {\n \"name\" : \"NETELLER\",\n \"type\" : \"neteller\"\n }, {\n \"name\" : \"Adyen Voucher\",\n \"type\" : \"adyen_test_voucher\"\n }, {\n \"name\" : \"AfterPay B2B\",\n \"type\" : \"afterpay_b2b\"\n }, {\n \"name\" : \"AfterPay DirectDebit\",\n \"type\" : \"afterpay_directdebit\"\n }, {\n \"name\" : \"AliPay\",\n \"type\" : \"alipay\"\n }, {\n \"name\" : \"AliPay\",\n \"type\" : \"alipay_wap\"\n }, {\n \"details\" : [ {\n \"key\" : \"additionalData.androidpay.token\",\n \"type\" : \"androidPayToken\"\n } ],\n \"name\" : \"Android Pay\",\n \"type\" : \"androidpay\"\n }, {\n \"details\" : [ {\n \"key\" : \"additionalData.applepay.token\",\n \"type\" : \"applePayToken\"\n } ],\n \"name\" : \"Apple Pay\",\n \"type\" : \"applepay\"\n }, {\n \"name\" : \"Baby Gift Card\",\n \"type\" : \"babygiftcard\"\n }, {\n \"name\" : \"SEPA Bank Transfer\",\n \"type\" : \"bankTransfer_IBAN\"\n }, {\n \"name\" : \"Bloemen Giftcard\",\n \"type\" : \"bloemengiftcard\"\n }, {\n \"name\" : \"Boekenbon Giftcard\",\n \"type\" : \"boekenbon\"\n }, {\n \"name\" : \"Cash-Ticket\",\n \"type\" : \"cashticket\"\n }, {\n \"name\" : \"Chasin Giftcard\",\n \"type\" : \"chasingiftcard\"\n }, {\n \"name\" : \"ClickandBuy\",\n \"type\" : \"clickandbuy\"\n }, {\n \"name\" : \"Costes Giftcard\",\n \"type\" : \"costesgiftcard\"\n }, {\n \"name\" : \"custom_settlement\",\n \"type\" : \"custom_settlement\"\n }, {\n \"name\" : \"eft_directdebit_CA\",\n \"type\" : \"eft_directdebit_CA\"\n }, {\n \"name\" : \"Nationale Entertainment Card\",\n \"type\" : \"entertainmentcard\"\n }, {\n \"name\" : \"Expert Cadeaukaart\",\n \"type\" : \"expertgiftcard\"\n }, {\n \"name\" : \"FijnCadeau\",\n \"type\" : \"fijncadeau\"\n }, {\n \"name\" : \"Fleurop Bloemenbon\",\n \"type\" : \"fleuropbloemenbon\"\n }, {\n \"name\" : \"Gall & Gall\",\n \"type\" : \"gallgall\"\n }, {\n \"name\" : \"Generic GiftCard\",\n \"type\" : \"genericgiftcard\"\n }, {\n \"name\" : \"GiftFor2\",\n \"type\" : \"giftfor2card\"\n }, {\n \"name\" : \"Givex\",\n \"type\" : \"givex\"\n }, {\n \"name\" : \"Goldsmiths Card\",\n \"type\" : \"goldsmithscard\"\n }, {\n \"name\" : \"Hunkemoller Member Card\",\n \"type\" : \"hmclub\"\n }, {\n \"name\" : \"Phone Payment\",\n \"type\" : \"ivr\"\n }, {\n \"name\" : \"Landline phone\",\n \"type\" : \"ivrLandline\"\n }, {\n \"name\" : \"Mobile phone\",\n \"type\" : \"ivrMobile\"\n }, {\n \"name\" : \"Kado Wereld\",\n \"type\" : \"kadowereld\"\n }, {\n \"name\" : \"Karen Millen GiftCard\",\n \"type\" : \"karenmillengiftcard\"\n }, {\n \"name\" : \"Leisure Card\",\n \"type\" : \"leisurecard\"\n }, {\n \"name\" : \"Loods5 Cadeaukaart\",\n \"type\" : \"loods5giftcard\"\n }, {\n \"name\" : \"Loods5 Tegoedbon\",\n \"type\" : \"loods5prepaidcard\"\n }, {\n \"details\" : [ {\n \"key\" : \"additionalData.amazonPayToken\",\n \"type\" : \"text\"\n } ],\n \"name\" : \"Amazon Pay\",\n \"supportsRecurring\" : true,\n \"type\" : \"amazonpay\"\n }, {\n \"name\" : \"MOLPoints\",\n \"type\" : \"molpay_points\"\n }, {\n \"name\" : \"Moneybookers\",\n \"type\" : \"moneybookers\"\n }, {\n \"name\" : \"De Nationale Musicalcard\",\n \"type\" : \"musicalcard\"\n }, {\n \"name\" : \"Nationale Bioscoopbon\",\n \"type\" : \"nationalebioscoopbon\"\n }, {\n \"name\" : \"Nationale Tuinbon\",\n \"type\" : \"nationaletuinbon\"\n }, {\n \"name\" : \"Nationale Verwen Cadeaubon\",\n \"type\" : \"nationaleverwencadeaubon\"\n }, {\n \"name\" : \"Onebip\",\n \"type\" : \"onebip\"\n }, {\n \"details\" : [ {\n \"key\" : \"additionalData.paywithgoogle.token\",\n \"type\" : \"payWithGoogleToken\"\n } ],\n \"name\" : \"Google Pay\",\n \"type\" : \"paywithgoogle\"\n }, {\n \"name\" : \"Plastix\",\n \"type\" : \"plastix\"\n }, {\n \"name\" : \"Pluim\",\n \"type\" : \"pluimgiftcard\"\n }, {\n \"name\" : \"Illicado Gift Card\",\n \"type\" : \"prosodie_illicado\"\n }, {\n \"name\" : \"RatePay Invoice\",\n \"type\" : \"ratepay\"\n }, {\n \"name\" : \"Rob Peetoom Giftcard\",\n \"type\" : \"robpeetoomgiftcard\"\n }, {\n \"name\" : \"Shoes&Accessories Cadeau\",\n \"type\" : \"sagiftcard\"\n }, {\n \"name\" : \"Score Giftcard\",\n \"type\" : \"scoregiftcard\"\n }, {\n \"name\" : \"Premium SMS\",\n \"type\" : \"sms\"\n }, {\n \"name\" : \"SVS\",\n \"type\" : \"svs\"\n }, {\n \"name\" : \"TCS Test GiftCard\",\n \"type\" : \"tcstestgiftcard\"\n }, {\n \"name\" : \"The Sting Giftcard\",\n \"type\" : \"thestinggiftcard\"\n }, {\n \"name\" : \"Ukash\",\n \"type\" : \"ukash\"\n }, {\n \"name\" : \"UnionPay\",\n \"type\" : \"unionpay\"\n }, {\n \"name\" : \"Valuelink\",\n \"type\" : \"valuelink\"\n }, {\n \"name\" : \"V&D Cadeaukaart\",\n \"type\" : \"vdcadeaucard\"\n }, {\n \"details\" : [ {\n \"key\" : \"additionalData.visacheckout.callId\",\n \"type\" : \"text\"\n } ],\n \"name\" : \"Visa Checkout\",\n \"type\" : \"visacheckout\"\n }, {\n \"name\" : \"VVV Cadeaubon\",\n \"type\" : \"vvvcadeaubon\"\n }, {\n \"name\" : \"Webshop Giftcard\",\n \"type\" : \"webshopgiftcard\"\n }, {\n \"name\" : \"WE Fashion Giftcard\",\n \"type\" : \"wefashiongiftcard\"\n }, {\n \"name\" : \"Western Union\",\n \"type\" : \"westernunion\"\n }, {\n \"name\" : \"Winkel Cheque\",\n \"type\" : \"winkelcheque\"\n }, {\n \"name\" : \"Your Gift\",\n \"type\" : \"yourgift\"\n } ]\n}", + "originalRequest": { + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"countryCode\" : \"NL\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentMethods", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentMethods" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Queries the available payment methods for a transaction based on the transaction context (like amount, country, and currency). Besides giving back a list of the available payment methods, the response also returns which input details you need to collect from the shopper (to be submitted to `/payments`). Although we highly recommend using this endpoint to ensure you are always offering the most up-to-date list of payment methods, its usage is optional. You can, for example, also cache the `/paymentMethods` response and update it once a week." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"countryCode\" : \"NL\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentMethods", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentMethods" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Queries the available payment methods for a transaction based on the transaction context (like amount, country, and currency). Besides giving back a list of the available payment methods, the response also returns which input details you need to collect from the shopper (to be submitted to `/payments`). Although we highly recommend using this endpoint to ensure you are always offering the most up-to-date list of payment methods, its usage is optional. You can, for example, also cache the `/paymentMethods` response and update it once a week." - } + ] } ] - } -, + }, { "name": "/payments", "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. ", @@ -1421,790 +2692,1277 @@ { "name": "Make an Apple Pay payment", "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"applepay\",\n \"applePayToken\" : \"VNRWtuNlNEWkRCSm1xWndjMDFFbktkQU...\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"applepay\",\n \"applePayToken\" : \"VNRWtuNlNEWkRCSm1xWndjMDFFbktkQU...\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + ] }, { "name": "Make a card payment with 3D Secure 2 native authentication", "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 + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"{{$guid}}\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4917610000000000\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\",\n \"cvc\" : \"737\"\n },\n \"additionalData\" : {\n \"allow3DS2\" : \"true\"\n },\n \"accountInfo\" : {\n \"accountCreationDate\" : \"2019-01-17T13:42:40+01:00\"\n },\n \"billingAddress\" : {\n \"country\" : \"US\",\n \"street\" : \"Haarlem\",\n \"city\" : \"New York\",\n \"houseNumberOrName\" : \"37\",\n \"stateOrProvince\" : \"CA\",\n \"postalCode\" : \"10BA\"\n },\n \"shopperEmail\" : \"s.hopper@test.com\",\n \"browserInfo\" : {\n \"userAgent\" : \"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.110 Safari/537.36\",\n \"acceptHeader\" : \"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8\",\n \"language\" : \"nl-NL\",\n \"colorDepth\" : 24,\n \"screenHeight\" : 723,\n \"screenWidth\" : 1536,\n \"timeZoneOffset\" : 0,\n \"javaEnabled\" : true\n },\n \"channel\" : \"Web\",\n \"origin\" : \"https://your-company.com\",\n \"returnUrl\" : \"https://your-company.com/checkout/\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"additionalData\" : {\n \"cvcResult\" : \"1 Matches\",\n \"authCode\" : \"044410\",\n \"avsResult\" : \"4 AVS not supported for this card type\",\n \"avsResultRaw\" : \"4\",\n \"cvcResultRaw\" : \"M\",\n \"refusalReasonRaw\" : \"AUTHORISED\",\n \"acquirerCode\" : \"TestPmmAcquirer\",\n \"acquirerReference\" : \"8PQMP9TI1O2\"\n },\n \"pspReference\" : \"993617895005515H\",\n \"resultCode\" : \"Authorised\"\n}", + "originalRequest": { + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"{{$guid}}\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4917610000000000\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\",\n \"cvc\" : \"737\"\n },\n \"additionalData\" : {\n \"allow3DS2\" : \"true\"\n },\n \"accountInfo\" : {\n \"accountCreationDate\" : \"2019-01-17T13:42:40+01:00\"\n },\n \"billingAddress\" : {\n \"country\" : \"US\",\n \"street\" : \"Haarlem\",\n \"city\" : \"New York\",\n \"houseNumberOrName\" : \"37\",\n \"stateOrProvince\" : \"CA\",\n \"postalCode\" : \"10BA\"\n },\n \"shopperEmail\" : \"s.hopper@test.com\",\n \"browserInfo\" : {\n \"userAgent\" : \"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.110 Safari/537.36\",\n \"acceptHeader\" : \"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8\",\n \"language\" : \"nl-NL\",\n \"colorDepth\" : 24,\n \"screenHeight\" : 723,\n \"screenWidth\" : 1536,\n \"timeZoneOffset\" : 0,\n \"javaEnabled\" : true\n },\n \"channel\" : \"Web\",\n \"origin\" : \"https://your-company.com\",\n \"returnUrl\" : \"https://your-company.com/checkout/\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"{{$guid}}\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4917610000000000\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\",\n \"cvc\" : \"737\"\n },\n \"additionalData\" : {\n \"allow3DS2\" : \"true\"\n },\n \"accountInfo\" : {\n \"accountCreationDate\" : \"2019-01-17T13:42:40+01:00\"\n },\n \"billingAddress\" : {\n \"country\" : \"US\",\n \"street\" : \"Haarlem\",\n \"city\" : \"New York\",\n \"houseNumberOrName\" : \"37\",\n \"stateOrProvince\" : \"CA\",\n \"postalCode\" : \"10BA\"\n },\n \"shopperEmail\" : \"s.hopper@test.com\",\n \"browserInfo\" : {\n \"userAgent\" : \"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.110 Safari/537.36\",\n \"acceptHeader\" : \"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8\",\n \"language\" : \"nl-NL\",\n \"colorDepth\" : 24,\n \"screenHeight\" : 723,\n \"screenWidth\" : 1536,\n \"timeZoneOffset\" : 0,\n \"javaEnabled\" : true\n },\n \"channel\" : \"Web\",\n \"origin\" : \"https://your-company.com\",\n \"returnUrl\" : \"https://your-company.com/checkout/\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + ] }, { "name": "Make a card payment with 3D Secure redirect authentication", "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 + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4212345678901237\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\",\n \"cvc\" : \"737\"\n },\n \"browserInfo\" : {\n \"colorDepth\" : 24,\n \"screenHeight\" : 1800,\n \"screenWidth\" : 2880,\n \"timeZoneOffset\" : 60,\n \"language\" : \"nl\",\n \"userAgent\" : \"Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9) Gecko/2008052912 Firefox/3.0\",\n \"acceptHeader\" : \"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8\",\n \"javaEnabled\" : true\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"additionalData\" : {\n \"cvcResult\" : \"1 Matches\",\n \"authCode\" : \"074516\",\n \"avsResult\" : \"4 AVS not supported for this card type\",\n \"avsResultRaw\" : \"4\",\n \"cvcResultRaw\" : \"M\",\n \"refusalReasonRaw\" : \"AUTHORISED\",\n \"acquirerCode\" : \"TestPmmAcquirer\",\n \"acquirerReference\" : \"8PQMP9SJ7DN\"\n },\n \"pspReference\" : \"993617894903480A\",\n \"resultCode\" : \"Authorised\"\n}", + "originalRequest": { + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4212345678901237\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\",\n \"cvc\" : \"737\"\n },\n \"browserInfo\" : {\n \"colorDepth\" : 24,\n \"screenHeight\" : 1800,\n \"screenWidth\" : 2880,\n \"timeZoneOffset\" : 60,\n \"language\" : \"nl\",\n \"userAgent\" : \"Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9) Gecko/2008052912 Firefox/3.0\",\n \"acceptHeader\" : \"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8\",\n \"javaEnabled\" : true\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4212345678901237\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\",\n \"cvc\" : \"737\"\n },\n \"browserInfo\" : {\n \"colorDepth\" : 24,\n \"screenHeight\" : 1800,\n \"screenWidth\" : 2880,\n \"timeZoneOffset\" : 60,\n \"language\" : \"nl\",\n \"userAgent\" : \"Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9) Gecko/2008052912 Firefox/3.0\",\n \"acceptHeader\" : \"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8\",\n \"javaEnabled\" : true\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + ] }, { "name": "Make a payment with 3D Secure 2 native authentication, using encrypted card details", "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 + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"encryptedCardNumber\" : \"test_4212345678901237\",\n \"encryptedExpiryMonth\" : \"test_03\",\n \"encryptedExpiryYear\" : \"test_2030\",\n \"encryptedSecurityCode\" : \"test_737\",\n \"holderName\" : \"John Smith\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"additionalData\" : {\n \"cvcResult\" : \"1 Matches\",\n \"authCode\" : \"083996\",\n \"avsResult\" : \"4 AVS not supported for this card type\",\n \"avsResultRaw\" : \"4\",\n \"cvcResultRaw\" : \"M\",\n \"refusalReasonRaw\" : \"AUTHORISED\",\n \"acquirerCode\" : \"TestPmmAcquirer\",\n \"acquirerReference\" : \"8PQMP9SJH66\"\n },\n \"pspReference\" : \"993617894905481G\",\n \"resultCode\" : \"Authorised\"\n}", + "originalRequest": { + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"encryptedCardNumber\" : \"test_4212345678901237\",\n \"encryptedExpiryMonth\" : \"test_03\",\n \"encryptedExpiryYear\" : \"test_2030\",\n \"encryptedSecurityCode\" : \"test_737\",\n \"holderName\" : \"John Smith\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"encryptedCardNumber\" : \"test_4212345678901237\",\n \"encryptedExpiryMonth\" : \"test_03\",\n \"encryptedExpiryYear\" : \"test_2030\",\n \"encryptedSecurityCode\" : \"test_737\",\n \"holderName\" : \"John Smith\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + ] }, { "name": "Make a card payment", "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 + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4111111111111111\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\",\n \"cvc\" : \"737\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"additionalData\" : {\n \"cvcResult\" : \"1 Matches\",\n \"authCode\" : \"036240\",\n \"avsResult\" : \"4 AVS not supported for this card type\",\n \"avsResultRaw\" : \"4\",\n \"cvcResultRaw\" : \"M\",\n \"refusalReasonRaw\" : \"AUTHORISED\",\n \"acquirerCode\" : \"TestPmmAcquirer\",\n \"acquirerReference\" : \"8PQMP9SJQUL\"\n },\n \"pspReference\" : \"993617894906488A\",\n \"resultCode\" : \"Authorised\"\n}", + "originalRequest": { + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4111111111111111\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\",\n \"cvc\" : \"737\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4111111111111111\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\",\n \"cvc\" : \"737\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + ] }, { "name": "Make a card payment using encrypted card details", "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 + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"encryptedCardNumber\" : \"test_4111111111111111\",\n \"encryptedExpiryMonth\" : \"test_03\",\n \"encryptedExpiryYear\" : \"test_2030\",\n \"encryptedSecurityCode\" : \"test_737\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"additionalData\" : {\n \"cvcResult\" : \"1 Matches\",\n \"authCode\" : \"064649\",\n \"avsResult\" : \"4 AVS not supported for this card type\",\n \"avsResultRaw\" : \"4\",\n \"cvcResultRaw\" : \"M\",\n \"refusalReasonRaw\" : \"AUTHORISED\",\n \"acquirerCode\" : \"TestPmmAcquirer\",\n \"acquirerReference\" : \"8PQMP9SM92L\"\n },\n \"pspReference\" : \"993617894914488A\",\n \"resultCode\" : \"Authorised\"\n}", + "originalRequest": { + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"encryptedCardNumber\" : \"test_4111111111111111\",\n \"encryptedExpiryMonth\" : \"test_03\",\n \"encryptedExpiryYear\" : \"test_2030\",\n \"encryptedSecurityCode\" : \"test_737\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"encryptedCardNumber\" : \"test_4111111111111111\",\n \"encryptedExpiryMonth\" : \"test_03\",\n \"encryptedExpiryYear\" : \"test_2030\",\n \"encryptedSecurityCode\" : \"test_737\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + ] }, { "name": "Tokenize card details for one-off payments, using encrypted card details", "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"encryptedCardNumber\" : \"adyenjs_0_1_18$MT6ppy0FAMVMLH...\",\n \"encryptedExpiryMonth\" : \"adyenjs_0_1_18$MT6ppy0FAMVMLH...\",\n \"encryptedExpiryYear\" : \"adyenjs_0_1_18$MT6ppy0FAMVMLH...\",\n \"encryptedSecurityCode\" : \"adyenjs_0_1_18$MT6ppy0FAMVMLH...\"\n },\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"encryptedCardNumber\" : \"adyenjs_0_1_18$MT6ppy0FAMVMLH...\",\n \"encryptedExpiryMonth\" : \"adyenjs_0_1_18$MT6ppy0FAMVMLH...\",\n \"encryptedExpiryYear\" : \"adyenjs_0_1_18$MT6ppy0FAMVMLH...\",\n \"encryptedSecurityCode\" : \"adyenjs_0_1_18$MT6ppy0FAMVMLH...\"\n },\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + ] }, { "name": "Tokenize card details for one-off payments", "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 + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4111111111111111\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\",\n \"cvc\" : \"737\"\n },\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"additionalData\" : {\n \"cvcResult\" : \"1 Matches\",\n \"authCode\" : \"022966\",\n \"avsResult\" : \"4 AVS not supported for this card type\",\n \"recurring.recurringDetailReference\" : \"9916178934434753\",\n \"recurringProcessingModel\" : \"CardOnFile\",\n \"avsResultRaw\" : \"4\",\n \"cvcResultRaw\" : \"M\",\n \"refusalReasonRaw\" : \"AUTHORISED\",\n \"recurring.shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID\",\n \"acquirerCode\" : \"TestPmmAcquirer\",\n \"acquirerReference\" : \"8PQMP9T0BB6\"\n },\n \"pspReference\" : \"993617894947495G\",\n \"resultCode\" : \"Authorised\"\n}", + "originalRequest": { + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4111111111111111\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\",\n \"cvc\" : \"737\"\n },\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4111111111111111\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\",\n \"cvc\" : \"737\"\n },\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + ] }, { "name": "Make a Google Pay payment", "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"paywithgoogle\",\n \"googlePayToken\" : \"==Payload as retrieved from Google Pay response==\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"YourMerchantAccount\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"paywithgoogle\",\n \"googlePayToken\" : \"==Payload as retrieved from Google Pay response==\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"YourMerchantAccount\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + ] }, { "name": "Make an iDEAL payment", "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 + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"ideal\",\n \"issuer\" : \"1121\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"resultCode\" : \"RedirectShopper\",\n \"details\" : [ {\n \"key\" : \"payload\",\n \"type\" : \"text\"\n } ],\n \"paymentData\" : \"Ab02b4c0!BQABAgBOBkMn4vBx6T3DgxR+OR/a1zEA0xbGaYKP9mh/vWDSADlyktW39HZckwcm4Wr9kw2TvE9SYngEf9f6kZb1OimKls3+HEn3dRGOrTbWZZ8/tpmlS62YoDh1eQIE3EHZsUm7CQxhXjm8F0HQCelzIkVgj8DpLgtxwM3nFZxfpzl91HSt9CP/GIsx8S/RPVG2Fwg2S/jtdQ4MlFeG89S+icDvTecTyGoYFZlS/KL77Q4zJCR8Vgn4M9DJZEGRxv6kApLwDMkMyUMQngN95xDSCdLSW7fKkVusSub2+2hB7rzWxtj1E8R9dbtkCxgTe0F/G7tqrzUfEmseiHoKmaF6F8bN0j6BZiFhQJ/KHXJ6Pb+a7f0qYbQCAZmwYmeSSfNzqIDehyufpL0bP3w38spuso3QlhtPIqSHrIHDIQzbYmxPtt/I6A/RCMXJ7VN4nB6JigEygV383lnr8wd7mEynOQXnq9zEF+GGJy0Ool05WEy8L/mATgg++6bpsuSB2Wea5/VffvG6KcMyzs7OBG9zLAdYcrfqlsyXz/42UBJTeA2s6kVb1sBUfd6CQuQRF+37sjMwKiNIxwVaNWIYZMiWhbqPXOS4ozt0kNCtruhHqHgULPfF6aia/BnZKib6n+pBSepTdS47wZ31xC8VPqsoPia8RGNziLO/MmSMpW2fQRdgrhCrSniHb8qrh0vwgbPB4S7vAEp7ImtleSI6IkFGMEFBQTEwM0NBNTM3RUFFRDg3QzI0REQ1MzkwOUI4MEE3OEE5MjNFMzgyM0Q2OERBQ0M5NEI5RkY4MzA1REMifTMy2HjS+Bb81E9m0fQAZJXCA1BJgLgstBw3wxbdpZevF8c+pSBGUYNUm9ZbwrD93dGdCU2RvlI1gcyKke0cEEqKGjqWFXOWIYkSNzfLrgP3ERdp5t9VGZi6BDQko2CFzP4uAR3jwgR3AP0/mQ/4YWDrBrnYZCWjOpo7izGhNbHYvWbBOqVDvnfReoCrSNSLSo8OfSxuFrN6sJLXrajGu1qbPqQtxFIRyqLgbOfHLHw/DN3I+BZKGrNYynRfM2NparXTQ6ZRgC8E5xIodApr4JHMNeiPTjMlReaLBQwbcqaBzzRNLdV0v8/ZSXexS68WBeUMt7OkomYJBFrpwmpzgx/nzRzV87MZ9TGhZht/1zjcyaSi0Toc6r7UhbADuDX5RH5L0T8Q3iGJfjrYuS5h9aiYSg8oaVJ5DZhJAicDbb8eLvdAGXFTIV+EXbD+4e9Xl+c5um4FdKfufcrrUEo2s6lUuSBSJ3Gf6r+yJMxkamWwfnRUtxt+axRcXfmywYqU7O1r0zzW+RKCbV2qZeUWWeN1u5UIPdJbQbH4633ukPp//aGh8R4IWckBp7DGH4M5P1ZiYJB8OQRS5gD/y+iuwensnq1rKFBOK4gFNSpKmuDQYLeWb5VljHgE1sS4DRhl0fl8UCabehP+3tZu/2i88JTWbdUuvPLmkyv8zQdY36YeSDWmwC40vvbB+lo2e8MgVpfDwn+xyQFpFhasbEyr4VVoPwHq1sGR/QEutxmeoJi1Zux48jSHoGOj5RZ4ei+b8Lxp4rj45wwm0AiROghLnZJZfJaySp/LVxQ=\",\n \"redirect\" : {\n \"method\" : \"GET\",\n \"url\" : \"https://test.adyen.com/hpp/checkout.shtml?u=redirectIdeal&p=eJxtUl1vozAQ-DXwFmQDAfLgh4jSC730Q1yoqr5Urr0NXIlNbUPj-PozXC6qqpOstTWz2p3Z9auigueSA2k50M5ng1IgmJ2hoq78VusBVMkJxiH2D6BYQ4VZMyYHYcgOtLk9YxeyFAb2ippWisDYHki*KfKf9-Xu5UdxV1Rl-t-MEZR2N4nRha7gDSY1QLRRrdh-IcygxBU1lKxWOMFptopXcZZEyc0l51e7J9XdcHpeDTxC4edG1pFF5WMHnw95FtHf3N5z1MWqipKjF17XXnTl99QewNk7zO4wQshXoOtqSxpjei9au0R3Oslo10htHJKhDDmINcDe5WB0I-selEM0qLFloN3z4W-ZUjB5cD4q4K0CZhwz4n-lzjm3YBrJvej626iduq-D9sJEzUNw2hw1qXONlpPA5STRBSsHtXANeyps4O4ZDILA16CnST-SruWtsSREIV6geIGyHU6cI7x0Ic6e-bOXaUuKsmlLpHCFJmXg6-dWzL*kH16DMQzOi0iTNE1xFsXBqRyfot1NwrPRFmGzPr4w3jTHGpX16S3*2H4Um22xB8u5-ANWgt0s\"\n }\n}", + "originalRequest": { + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"ideal\",\n \"issuer\" : \"1121\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"ideal\",\n \"issuer\" : \"1121\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + ] }, { "name": "Make a Klarna payment", "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 \"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" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + "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 \"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" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + ] }, { "name": "Make a one-off payment with a token and CVV", "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"recurringDetailReference\" : \"8416038790273850\",\n \"cvc\" : \"737\"\n },\n \"shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID_6738oneoff\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"recurringDetailReference\" : \"8416038790273850\",\n \"cvc\" : \"737\"\n },\n \"shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID_6738oneoff\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + ] }, { "name": "Make a one-off payment with a token and CVV, using encrypted card details", "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"recurringDetailReference\" : \"8416038790273850\",\n \"encryptedSecurityCode\" : \"adyenjs_0_1_18$MT6ppy0FAMVMLH...\"\n },\n \"shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID_6738oneoff\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"recurringDetailReference\" : \"8416038790273850\",\n \"encryptedSecurityCode\" : \"adyenjs_0_1_18$MT6ppy0FAMVMLH...\"\n },\n \"shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID_6738oneoff\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + ] }, { "name": "Make a card payment with a token", "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"recurringDetailReference\" : \"8315791039321763\"\n },\n \"shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"shopperInteraction\" : \"ContAuth\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"recurringDetailReference\" : \"8315791039321763\"\n },\n \"shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"shopperInteraction\" : \"ContAuth\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + ] }, { "name": "Split a payment between balance accounts", "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 + "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 \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4111111111111111\",\n \"cvc\" : \"737\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\"\n },\n \"amount\" : {\n \"value\" : 40000,\n \"currency\" : \"USD\"\n },\n \"reference\" : \"{{$guid}}\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"splits\" : [ {\n \"amount\" : {\n \"value\" : 39600\n },\n \"type\" : \"BalanceAccount\",\n \"account\" : \"BA00000000000000000000001\",\n \"reference\" : \"Your reference for the sale amount\",\n \"description\" : \"Your description for the sale amount\"\n }, {\n \"amount\" : {\n \"value\" : 400\n },\n \"type\" : \"Commission\",\n \"reference\" : \"Your reference for the commission\",\n \"description\" : \"Your description for the commission\"\n }, {\n \"type\" : \"PaymentFee\",\n \"account\" : \"BA00000000000000000000001\",\n \"reference\" : \"Your reference for the fees\",\n \"description\" : \"Your description for the fees\"\n } ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"additionalData\" : {\n \"refusalReasonRaw\" : \"AUTHORISED\",\n \"eci\" : \"N/A\",\n \"acquirerAccountCode\" : \"YOUR_ACQUIRER_ACCOUNT\",\n \"donationToken\" : \"81234567890123456...\",\n \"xid\" : \"N/A\",\n \"threeDAuthenticated\" : \"false\",\n \"paymentMethodVariant\" : \"visa\",\n \"issuerBin\" : \"41111111\",\n \"payoutEligible\" : \"Y\",\n \"fraudManualReview\" : \"false\",\n \"threeDOffered\" : \"false\",\n \"threeDOfferedResponse\" : \"N/A\",\n \"authorisationMid\" : \"50\",\n \"fundsAvailability\" : \"I\",\n \"authorisedAmountCurrency\" : \"USD\",\n \"threeDAuthenticatedResponse\" : \"N/A\",\n \"avsResultRaw\" : \"5\",\n \"retry.attempt1.rawResponse\" : \"AUTHORISED\",\n \"paymentMethod\" : \"visa\",\n \"avsResult\" : \"5 No AVS data provided\",\n \"cardSummary\" : \"1111\",\n \"retry.attempt1.avsResultRaw\" : \"5\",\n \"networkTxReference\" : \"777718270854480\",\n \"expiryDate\" : \"3/2030\",\n \"cavvAlgorithm\" : \"N/A\",\n \"cardBin\" : \"411111\",\n \"alias\" : \"8915844059375211\",\n \"cvcResultRaw\" : \"M\",\n \"merchantReference\" : \"YOUR_ORDER_NUMBER\",\n \"acquirerReference\" : \"YOUR_ACQUIRER_REFERENCE\",\n \"cardIssuingCountry\" : \"NL\",\n \"liabilityShift\" : \"false\",\n \"fraudResultType\" : \"GREEN\",\n \"authCode\" : \"035450\",\n \"cardHolderName\" : \"John Smith\",\n \"isCardCommercial\" : \"unknown\",\n \"PaymentAccountReference\" : \"6006491286999921374...\",\n \"retry.attempt1.acquirerAccount\" : \"YOUR_ACQUIRER_ACCOUNT\",\n \"cardIssuingBank\" : \"ISSUING_BANK_CUSTOMER\",\n \"retry.attempt1.acquirer\" : \"YOUR_ACQUIRER_CODE\",\n \"authorisedAmountValue\" : \"40000\",\n \"issuerCountry\" : \"NL\",\n \"cvcResult\" : \"1 Matches\",\n \"retry.attempt1.responseCode\" : \"Approved\",\n \"aliasType\" : \"Default\",\n \"retry.attempt1.shopperInteraction\" : \"Ecommerce\",\n \"cardPaymentMethod\" : \"visa\",\n \"acquirerCode\" : \"YOUR_ACQUIRER_CODE\"\n },\n \"pspReference\" : \"PPKFQ89R6QRXGN82\",\n \"resultCode\" : \"Authorised\"\n}", + "originalRequest": { + "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 \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4111111111111111\",\n \"cvc\" : \"737\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\"\n },\n \"amount\" : {\n \"value\" : 40000,\n \"currency\" : \"USD\"\n },\n \"reference\" : \"{{$guid}}\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"splits\" : [ {\n \"amount\" : {\n \"value\" : 39600\n },\n \"type\" : \"BalanceAccount\",\n \"account\" : \"BA00000000000000000000001\",\n \"reference\" : \"Your reference for the sale amount\",\n \"description\" : \"Your description for the sale amount\"\n }, {\n \"amount\" : {\n \"value\" : 400\n },\n \"type\" : \"Commission\",\n \"reference\" : \"Your reference for the commission\",\n \"description\" : \"Your description for the commission\"\n }, {\n \"type\" : \"PaymentFee\",\n \"account\" : \"BA00000000000000000000001\",\n \"reference\" : \"Your reference for the fees\",\n \"description\" : \"Your description for the fees\"\n } ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4111111111111111\",\n \"cvc\" : \"737\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\"\n },\n \"amount\" : {\n \"value\" : 40000,\n \"currency\" : \"USD\"\n },\n \"reference\" : \"{{$guid}}\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"splits\" : [ {\n \"amount\" : {\n \"value\" : 39600\n },\n \"type\" : \"BalanceAccount\",\n \"account\" : \"BA00000000000000000000001\",\n \"reference\" : \"Your reference for the sale amount\",\n \"description\" : \"Your description for the sale amount\"\n }, {\n \"amount\" : {\n \"value\" : 400\n },\n \"type\" : \"Commission\",\n \"reference\" : \"Your reference for the commission\",\n \"description\" : \"Your description for the commission\"\n }, {\n \"type\" : \"PaymentFee\",\n \"account\" : \"BA00000000000000000000001\",\n \"reference\" : \"Your reference for the fees\",\n \"description\" : \"Your description for the fees\"\n } ]\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + ] }, { "name": "Split a payment in a Classic Platforms integration", "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 \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4111111111111111\",\n \"cvc\" : \"737\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\"\n },\n \"amount\" : {\n \"value\" : 6200,\n \"currency\" : \"EUR\"\n },\n \"reference\" : \"{{$guid}}\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"splits\" : [ {\n \"amount\" : {\n \"value\" : 6000\n },\n \"type\" : \"MarketPlace\",\n \"account\" : \"151272963\",\n \"reference\" : \"6124145\",\n \"description\" : \"Porcelain Doll: Eliza (20cm)\"\n }, {\n \"amount\" : {\n \"value\" : 200\n },\n \"type\" : \"Commission\",\n \"reference\" : \"6124146\"\n } ]\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + "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 \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4111111111111111\",\n \"cvc\" : \"737\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\"\n },\n \"amount\" : {\n \"value\" : 6200,\n \"currency\" : \"EUR\"\n },\n \"reference\" : \"{{$guid}}\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"splits\" : [ {\n \"amount\" : {\n \"value\" : 6000\n },\n \"type\" : \"MarketPlace\",\n \"account\" : \"151272963\",\n \"reference\" : \"6124145\",\n \"description\" : \"Porcelain Doll: Eliza (20cm)\"\n }, {\n \"amount\" : {\n \"value\" : 200\n },\n \"type\" : \"Commission\",\n \"reference\" : \"6124146\"\n } ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + ] } ] - } -, + }, { "name": "/payments/details", "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. ", @@ -2212,206 +3970,213 @@ { "name": "Submit details for the 3D Secure payment ", "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 \"MD\" : \"Ab02b4c0!BQABAgCW5sxB4e/==...\",\n \"PaRes\" : \"eNrNV0mTo7gS...\"\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. " - } + "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 \"MD\" : \"Ab02b4c0!BQABAgCW5sxB4e/==...\",\n \"PaRes\" : \"eNrNV0mTo7gS...\"\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. " +} + ,"response": [ + ] }, { "name": "Submit 3D Secure 2 callenge flow result", "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 \"details\" : {\n \"threeds2.challengeResult\" : \"eyJ0cmFuc1N0YXR1cyI6IlkifQ==\"\n },\n \"paymentData\" : \"YOUR_PAYMENT_DATA\"\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. " - } + "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 \"details\" : {\n \"threeds2.challengeResult\" : \"eyJ0cmFuc1N0YXR1cyI6IlkifQ==\"\n },\n \"paymentData\" : \"YOUR_PAYMENT_DATA\"\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. " +} + ,"response": [ + ] }, { "name": "Submit 3D Secure 2 device fingerprinting result", "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 \"details\" : {\n \"threeds2.fingerprint\" : \"eyJ0aHJlZURTQ29tcEluZCI6ICJZIn0=\"\n },\n \"paymentData\" : \"YOUR_PAYMENT_DATA...\"\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. " - } + "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 \"details\" : {\n \"threeds2.fingerprint\" : \"eyJ0aHJlZURTQ29tcEluZCI6ICJZIn0=\"\n },\n \"paymentData\" : \"YOUR_PAYMENT_DATA...\"\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. " +} + ,"response": [ + ] }, { "name": "Submit the redirect result", "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\" : \"Ab02b4c0!BQABAgCJN1wRZuGJmq8dMncmypvknj9s7l5Tj...\",\n \"details\" : {\n \"redirectResult\" : \"X6XtfGC3!Y...\"\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. " - } + "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\" : \"Ab02b4c0!BQABAgCJN1wRZuGJmq8dMncmypvknj9s7l5Tj...\",\n \"details\" : {\n \"redirectResult\" : \"X6XtfGC3!Y...\"\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. " +} + ,"response": [ + ] } ] } - ] }, { @@ -2424,55 +4189,113 @@ { "name": "Create a payment link", "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 + "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 \"reference\" : \"{{$guid}}\",\n \"amount\" : {\n \"value\" : 1250,\n \"currency\" : \"BRL\"\n },\n \"countryCode\" : \"BR\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"shopperEmail\" : \"test@email.com\",\n \"shopperLocale\" : \"pt-BR\",\n \"billingAddress\" : {\n \"street\" : \"Roque Petroni Jr\",\n \"postalCode\" : \"59000060\",\n \"city\" : \"São Paulo\",\n \"houseNumberOrName\" : \"999\",\n \"country\" : \"BR\",\n \"stateOrProvince\" : \"SP\"\n },\n \"deliveryAddress\" : {\n \"street\" : \"Roque Petroni Jr\",\n \"postalCode\" : \"59000060\",\n \"city\" : \"São Paulo\",\n \"houseNumberOrName\" : \"999\",\n \"country\" : \"BR\",\n \"stateOrProvince\" : \"SP\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentLinks", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentLinks" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates a payment link to our hosted payment form where shoppers can pay. The list of payment methods presented to the shopper depends on the `currency` and `country` parameters sent in the request. For more information, refer to [Pay by Link documentation](https://docs.adyen.com/online-payments/pay-by-link#create-payment-links-through-api)." +} + ,"response": [ + {"name": "Created - the request has succeeded.", + "code": 201, + "status": "Created", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"amount\" : {\n \"currency\" : \"BRL\",\n \"value\" : 1250\n },\n \"billingAddress\" : {\n \"city\" : \"São Paulo\",\n \"country\" : \"BR\",\n \"houseNumberOrName\" : \"999\",\n \"postalCode\" : \"59000060\",\n \"stateOrProvince\" : \"SP\",\n \"street\" : \"Roque Petroni Jr\"\n },\n \"countryCode\" : \"BR\",\n \"deliveryAddress\" : {\n \"city\" : \"São Paulo\",\n \"country\" : \"BR\",\n \"houseNumberOrName\" : \"999\",\n \"postalCode\" : \"59000060\",\n \"stateOrProvince\" : \"SP\",\n \"street\" : \"Roque Petroni Jr\"\n },\n \"expiresAt\" : \"2022-10-28T09:16:22Z\",\n \"merchantAccount\" : \"YOUR_MERCHANT_ACCOUNT\",\n \"reference\" : \"YOUR_ORDER_NUMBER\",\n \"reusable\" : false,\n \"shopperEmail\" : \"test@email.com\",\n \"shopperLocale\" : \"pt-BR\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"status\" : \"active\",\n \"url\" : \"https://test.adyen.link/PLE83C39B0A0DE0C1E\"\n}", + "originalRequest": { + "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 \"reference\" : \"{{$guid}}\",\n \"amount\" : {\n \"value\" : 1250,\n \"currency\" : \"BRL\"\n },\n \"countryCode\" : \"BR\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"shopperEmail\" : \"test@email.com\",\n \"shopperLocale\" : \"pt-BR\",\n \"billingAddress\" : {\n \"street\" : \"Roque Petroni Jr\",\n \"postalCode\" : \"59000060\",\n \"city\" : \"São Paulo\",\n \"houseNumberOrName\" : \"999\",\n \"country\" : \"BR\",\n \"stateOrProvince\" : \"SP\"\n },\n \"deliveryAddress\" : {\n \"street\" : \"Roque Petroni Jr\",\n \"postalCode\" : \"59000060\",\n \"city\" : \"São Paulo\",\n \"houseNumberOrName\" : \"999\",\n \"country\" : \"BR\",\n \"stateOrProvince\" : \"SP\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentLinks", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentLinks" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates a payment link to our hosted payment form where shoppers can pay. The list of payment methods presented to the shopper depends on the `currency` and `country` parameters sent in the request. For more information, refer to [Pay by Link documentation](https://docs.adyen.com/online-payments/pay-by-link#create-payment-links-through-api)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"reference\" : \"{{$guid}}\",\n \"amount\" : {\n \"value\" : 1250,\n \"currency\" : \"BRL\"\n },\n \"countryCode\" : \"BR\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"shopperEmail\" : \"test@email.com\",\n \"shopperLocale\" : \"pt-BR\",\n \"billingAddress\" : {\n \"street\" : \"Roque Petroni Jr\",\n \"postalCode\" : \"59000060\",\n \"city\" : \"São Paulo\",\n \"houseNumberOrName\" : \"999\",\n \"country\" : \"BR\",\n \"stateOrProvince\" : \"SP\"\n },\n \"deliveryAddress\" : {\n \"street\" : \"Roque Petroni Jr\",\n \"postalCode\" : \"59000060\",\n \"city\" : \"São Paulo\",\n \"houseNumberOrName\" : \"999\",\n \"country\" : \"BR\",\n \"stateOrProvince\" : \"SP\"\n }\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentLinks", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentLinks" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Creates a payment link to our hosted payment form where shoppers can pay. The list of payment methods presented to the shopper depends on the `currency` and `country` parameters sent in the request. For more information, refer to [Pay by Link documentation](https://docs.adyen.com/online-payments/pay-by-link#create-payment-links-through-api)." - } + ] } ] - } -, + }, { "name": "/paymentLinks/:linkId", "description": "Retrieves the payment link details using the payment link `id`.", @@ -2480,49 +4303,50 @@ { "name": "Get a payment link", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentLinks/:linkId", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentLinks", - ":linkId" - ], - "variable": [ - { - "key": "linkId", - "value": "", - "description": "Unique identifier of the payment link." - } - ], - "query": [ - ] - }, - "description": "Retrieves the payment link details using the payment link `id`." - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentLinks/:linkId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentLinks", + ":linkId" + ], + "variable": [ + { + "key": "linkId", + "value": "", + "description": "Unique identifier of the payment link." + } + ], + "query": [ + ] + }, + "description": "Retrieves the payment link details using the payment link `id`." +} + ,"response": [ + ] } ] - } -, + }, { "name": "/paymentLinks/:linkId", "description": "Updates the status of a payment link. Use this endpoint to [force the expiry of a payment link](https://docs.adyen.com/online-payments/pay-by-link#update-payment-link-status).", @@ -2530,55 +4354,113 @@ { "name": "Update the status of a payment link", "request": { - "method": "PATCH", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"status\" : \"expired\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentLinks/:linkId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentLinks", + ":linkId" + ], + "variable": [ + { + "key": "linkId", + "value": "", + "description": "Unique identifier of the payment link." + } + ], + "query": [ + ] + }, + "description": "Updates the status of a payment link. Use this endpoint to [force the expiry of a payment link](https://docs.adyen.com/online-payments/pay-by-link#update-payment-link-status)." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 8700\n },\n \"countryCode\" : \"NL\",\n \"expiresAt\" : \"2021-04-08T14:06:39Z\",\n \"merchantAccount\" : \"YOUR_MERCHANT_ACCOUNT\",\n \"reference\" : \"shopper-reference-ekvL83\",\n \"shopperLocale\" : \"hu-HU\",\n \"shopperReference\" : \"shopper-reference-LZfdWZ\",\n \"status\" : \"expired\",\n \"url\" : \"https://test.adyen.link/PL61C53A8B97E6915A\",\n \"id\" : \"PL61C53A8B97E6915A\"\n}", + "originalRequest": { + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"status\" : \"expired\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentLinks/:linkId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentLinks", + ":linkId" + ], + "variable": [ + { + "key": "linkId", + "value": "", + "description": "Unique identifier of the payment link." + } + ], + "query": [ + ] + }, + "description": "Updates the status of a payment link. Use this endpoint to [force the expiry of a payment link](https://docs.adyen.com/online-payments/pay-by-link#update-payment-link-status)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"status\" : \"expired\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentLinks/:linkId", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentLinks", - ":linkId" - ], - "variable": [ - { - "key": "linkId", - "value": "", - "description": "Unique identifier of the payment link." - } - ], - "query": [ - ] - }, - "description": "Updates the status of a payment link. Use this endpoint to [force the expiry of a payment link](https://docs.adyen.com/online-payments/pay-by-link#update-payment-link-status)." - } + ] } ] } - ] } ], diff --git a/postman/CheckoutService-v46.json b/postman/CheckoutService-v46.json index 010c157..75973a1 100644 --- a/postman/CheckoutService-v46.json +++ b/postman/CheckoutService-v46.json @@ -19,55 +19,113 @@ { "name": "Cancel a payment using your own reference", "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 + "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 \"paymentReference\" : \"YOUR_UNIQUE_REFERENCE_FOR_THE_PAYMENT\",\n \"reference\" : \"YOUR_UNIQUE_REFERENCE_FOR_THE_CANCELLATION\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/cancels", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "cancels" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Cancels the authorisation on a payment that has not yet been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/captures), and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**TECHNICAL_CANCEL** webhook](https://docs.adyen.com/online-payments/cancel#cancellation-webhook). If you want to cancel a payment using the [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference), use the [`/payments/{paymentPspReference}/cancels`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/cancels) endpoint instead. If you want to cancel a payment but are not sure whether it has been captured, use the [`/payments/{paymentPspReference}/reversals`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/reversals) endpoint instead. For more information, refer to [Cancel](https://docs.adyen.com/online-payments/cancel)." +} + ,"response": [ + {"name": "Created - the request has been fulfilled and has resulted in one or more new resources being created.", + "code": 201, + "status": "Created", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"merchantAccount\" : \"YOUR_MERCHANT_ACCOUNT\",\n \"paymentReference\" : \"YOUR_UNIQUE_REFERENCE_FOR_THE_PAYMENT\",\n \"reference\" : \"YOUR_UNIQUE_REFERENCE_FOR_THE_CANCELLATION\",\n \"pspReference\" : \"993617894906488A\",\n \"status\" : \"received\"\n}", + "originalRequest": { + "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 \"paymentReference\" : \"YOUR_UNIQUE_REFERENCE_FOR_THE_PAYMENT\",\n \"reference\" : \"YOUR_UNIQUE_REFERENCE_FOR_THE_CANCELLATION\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/cancels", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "cancels" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Cancels the authorisation on a payment that has not yet been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/captures), and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**TECHNICAL_CANCEL** webhook](https://docs.adyen.com/online-payments/cancel#cancellation-webhook). If you want to cancel a payment using the [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference), use the [`/payments/{paymentPspReference}/cancels`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/cancels) endpoint instead. If you want to cancel a payment but are not sure whether it has been captured, use the [`/payments/{paymentPspReference}/reversals`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/reversals) endpoint instead. For more information, refer to [Cancel](https://docs.adyen.com/online-payments/cancel)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"paymentReference\" : \"YOUR_UNIQUE_REFERENCE_FOR_THE_PAYMENT\",\n \"reference\" : \"YOUR_UNIQUE_REFERENCE_FOR_THE_CANCELLATION\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/cancels", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "cancels" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Cancels the authorisation on a payment that has not yet been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/captures), and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**TECHNICAL_CANCEL** webhook](https://docs.adyen.com/online-payments/cancel#cancellation-webhook). If you want to cancel a payment using the [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference), use the [`/payments/{paymentPspReference}/cancels`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/cancels) endpoint instead. If you want to cancel a payment but are not sure whether it has been captured, use the [`/payments/{paymentPspReference}/reversals`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/reversals) endpoint instead. For more information, refer to [Cancel](https://docs.adyen.com/online-payments/cancel)." - } + ] } ] - } -, + }, { "name": "/payments/:paymentPspReference/amountUpdates", "description": "Increases or decreases the authorised payment amount and returns a unique reference for this request. You get the outcome of the request asynchronously, in an [**AUTHORISATION_ADJUSTMENT** webhook](https://docs.adyen.com/development-resources/webhooks/understand-notifications#event-codes). You can only update authorised amounts that have not yet been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/captures). The amount you specify in the request is the updated amount, which is larger or smaller than the initial authorised amount. For more information, refer to [Authorisation adjustment](https://docs.adyen.com/online-payments/adjust-authorisation#use-cases).", @@ -75,62 +133,127 @@ { "name": "Update the amount of an authorised payment", "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 + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 2500\n },\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments/:paymentPspReference/amountUpdates", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments", + ":paymentPspReference", + "amountUpdates" + ], + "variable": [ + { + "key": "paymentPspReference", + "value": "", + "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment." + } + ], + "query": [ + ] + }, + "description": "Increases or decreases the authorised payment amount and returns a unique reference for this request. You get the outcome of the request asynchronously, in an [**AUTHORISATION_ADJUSTMENT** webhook](https://docs.adyen.com/development-resources/webhooks/understand-notifications#event-codes). You can only update authorised amounts that have not yet been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/captures). The amount you specify in the request is the updated amount, which is larger or smaller than the initial authorised amount. For more information, refer to [Authorisation adjustment](https://docs.adyen.com/online-payments/adjust-authorisation#use-cases)." +} + ,"response": [ + {"name": "Created - the request has been fulfilled and has resulted in one or more new resources being created.", + "code": 201, + "status": "Created", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"merchantAccount\" : \"YOUR_MERCHANT_ACCOUNT\",\n \"paymentPspReference\" : \"993617894903480A\",\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"pspReference\" : \"993617894906488A\",\n \"status\" : \"received\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 2500\n }\n}", + "originalRequest": { + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 2500\n },\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments/:paymentPspReference/amountUpdates", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments", + ":paymentPspReference", + "amountUpdates" + ], + "variable": [ + { + "key": "paymentPspReference", + "value": "", + "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment." + } + ], + "query": [ + ] + }, + "description": "Increases or decreases the authorised payment amount and returns a unique reference for this request. You get the outcome of the request asynchronously, in an [**AUTHORISATION_ADJUSTMENT** webhook](https://docs.adyen.com/development-resources/webhooks/understand-notifications#event-codes). You can only update authorised amounts that have not yet been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/captures). The amount you specify in the request is the updated amount, which is larger or smaller than the initial authorised amount. For more information, refer to [Authorisation adjustment](https://docs.adyen.com/online-payments/adjust-authorisation#use-cases)." +} } - ], - "body": { - "mode": "raw", - "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" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments/:paymentPspReference/amountUpdates", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments", - ":paymentPspReference", - "amountUpdates" - ], - "variable": [ - { - "key": "paymentPspReference", - "value": "", - "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment." - } - ], - "query": [ - ] - }, - "description": "Increases or decreases the authorised payment amount and returns a unique reference for this request. You get the outcome of the request asynchronously, in an [**AUTHORISATION_ADJUSTMENT** webhook](https://docs.adyen.com/development-resources/webhooks/understand-notifications#event-codes). You can only update authorised amounts that have not yet been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/captures). The amount you specify in the request is the updated amount, which is larger or smaller than the initial authorised amount. For more information, refer to [Authorisation adjustment](https://docs.adyen.com/online-payments/adjust-authorisation#use-cases)." - } + ] } ] - } -, + }, { "name": "/payments/:paymentPspReference/cancels", "description": "Cancels the authorisation on a payment that has not yet been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/paymentPspReference/captures), and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CANCELLATION** webhook](https://docs.adyen.com/online-payments/cancel#cancellation-webhook). If you want to cancel a payment but don't have the [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference), use the [`/cancels`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cancels) endpoint instead. If you want to cancel a payment but are not sure whether it has been captured, use the [`/payments/{paymentPspReference}/reversals`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/reversals) endpoint instead. For more information, refer to [Cancel](https://docs.adyen.com/online-payments/cancel).", @@ -138,62 +261,127 @@ { "name": "Cancel payment using a PSP reference", "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 + "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 \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments/:paymentPspReference/cancels", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments", + ":paymentPspReference", + "cancels" + ], + "variable": [ + { + "key": "paymentPspReference", + "value": "", + "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to cancel. " + } + ], + "query": [ + ] + }, + "description": "Cancels the authorisation on a payment that has not yet been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/paymentPspReference/captures), and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CANCELLATION** webhook](https://docs.adyen.com/online-payments/cancel#cancellation-webhook). If you want to cancel a payment but don't have the [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference), use the [`/cancels`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cancels) endpoint instead. If you want to cancel a payment but are not sure whether it has been captured, use the [`/payments/{paymentPspReference}/reversals`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/reversals) endpoint instead. For more information, refer to [Cancel](https://docs.adyen.com/online-payments/cancel)." +} + ,"response": [ + {"name": "Created - the request has been fulfilled and has resulted in one or more new resources being created.", + "code": 201, + "status": "Created", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"merchantAccount\" : \"YOUR_MERCHANT_ACCOUNT\",\n \"paymentPspReference\" : \"993617894903480A\",\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"pspReference\" : \"993617894906488A\",\n \"status\" : \"received\"\n}", + "originalRequest": { + "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 \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments/:paymentPspReference/cancels", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments", + ":paymentPspReference", + "cancels" + ], + "variable": [ + { + "key": "paymentPspReference", + "value": "", + "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to cancel. " + } + ], + "query": [ + ] + }, + "description": "Cancels the authorisation on a payment that has not yet been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/paymentPspReference/captures), and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CANCELLATION** webhook](https://docs.adyen.com/online-payments/cancel#cancellation-webhook). If you want to cancel a payment but don't have the [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference), use the [`/cancels`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cancels) endpoint instead. If you want to cancel a payment but are not sure whether it has been captured, use the [`/payments/{paymentPspReference}/reversals`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/reversals) endpoint instead. For more information, refer to [Cancel](https://docs.adyen.com/online-payments/cancel)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments/:paymentPspReference/cancels", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments", - ":paymentPspReference", - "cancels" - ], - "variable": [ - { - "key": "paymentPspReference", - "value": "", - "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to cancel. " - } - ], - "query": [ - ] - }, - "description": "Cancels the authorisation on a payment that has not yet been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/paymentPspReference/captures), and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CANCELLATION** webhook](https://docs.adyen.com/online-payments/cancel#cancellation-webhook). If you want to cancel a payment but don't have the [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference), use the [`/cancels`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cancels) endpoint instead. If you want to cancel a payment but are not sure whether it has been captured, use the [`/payments/{paymentPspReference}/reversals`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/reversals) endpoint instead. For more information, refer to [Cancel](https://docs.adyen.com/online-payments/cancel)." - } + ] } ] - } -, + }, { "name": "/payments/:paymentPspReference/captures", "description": " Captures an authorised payment and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CAPTURE** webhook](https://docs.adyen.com/online-payments/capture#capture-notification). You can capture either the full authorised amount or a part of the authorised amount. By default, any unclaimed amount after a partial capture gets cancelled. This does not apply if you enabled multiple partial captures on your account and the payment method supports multiple partial captures. [Automatic capture](https://docs.adyen.com/online-payments/capture#automatic-capture) is the default setting for most payment methods. In these cases, you don't need to make capture requests. However, making capture requests for payments that are captured automatically does not result in double charges. For more information, refer to [Capture](https://docs.adyen.com/online-payments/capture).", @@ -201,62 +389,127 @@ { "name": "Capture an authorised payment", "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 + "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 \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"amount\" : {\n \"value\" : 2000,\n \"currency\" : \"EUR\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments/:paymentPspReference/captures", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments", + ":paymentPspReference", + "captures" + ], + "variable": [ + { + "key": "paymentPspReference", + "value": "", + "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to capture." + } + ], + "query": [ + ] + }, + "description": " Captures an authorised payment and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CAPTURE** webhook](https://docs.adyen.com/online-payments/capture#capture-notification). You can capture either the full authorised amount or a part of the authorised amount. By default, any unclaimed amount after a partial capture gets cancelled. This does not apply if you enabled multiple partial captures on your account and the payment method supports multiple partial captures. [Automatic capture](https://docs.adyen.com/online-payments/capture#automatic-capture) is the default setting for most payment methods. In these cases, you don't need to make capture requests. However, making capture requests for payments that are captured automatically does not result in double charges. For more information, refer to [Capture](https://docs.adyen.com/online-payments/capture)." +} + ,"response": [ + {"name": "Created - the request has been fulfilled and has resulted in one or more new resources being created.", + "code": 201, + "status": "Created", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"merchantAccount\" : \"YOUR_MERCHANT_ACCOUNT\",\n \"paymentPspReference\" : \"993617894903480A\",\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"pspReference\" : \"993617894906488A\",\n \"status\" : \"received\",\n \"amount\" : {\n \"value\" : 2000,\n \"currency\" : \"EUR\"\n }\n}", + "originalRequest": { + "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 \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"amount\" : {\n \"value\" : 2000,\n \"currency\" : \"EUR\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments/:paymentPspReference/captures", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments", + ":paymentPspReference", + "captures" + ], + "variable": [ + { + "key": "paymentPspReference", + "value": "", + "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to capture." + } + ], + "query": [ + ] + }, + "description": " Captures an authorised payment and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CAPTURE** webhook](https://docs.adyen.com/online-payments/capture#capture-notification). You can capture either the full authorised amount or a part of the authorised amount. By default, any unclaimed amount after a partial capture gets cancelled. This does not apply if you enabled multiple partial captures on your account and the payment method supports multiple partial captures. [Automatic capture](https://docs.adyen.com/online-payments/capture#automatic-capture) is the default setting for most payment methods. In these cases, you don't need to make capture requests. However, making capture requests for payments that are captured automatically does not result in double charges. For more information, refer to [Capture](https://docs.adyen.com/online-payments/capture)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"amount\" : {\n \"value\" : 2000,\n \"currency\" : \"EUR\"\n }\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments/:paymentPspReference/captures", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments", - ":paymentPspReference", - "captures" - ], - "variable": [ - { - "key": "paymentPspReference", - "value": "", - "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to capture." - } - ], - "query": [ - ] - }, - "description": " Captures an authorised payment and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CAPTURE** webhook](https://docs.adyen.com/online-payments/capture#capture-notification). You can capture either the full authorised amount or a part of the authorised amount. By default, any unclaimed amount after a partial capture gets cancelled. This does not apply if you enabled multiple partial captures on your account and the payment method supports multiple partial captures. [Automatic capture](https://docs.adyen.com/online-payments/capture#automatic-capture) is the default setting for most payment methods. In these cases, you don't need to make capture requests. However, making capture requests for payments that are captured automatically does not result in double charges. For more information, refer to [Capture](https://docs.adyen.com/online-payments/capture)." - } + ] } ] - } -, + }, { "name": "/payments/:paymentPspReference/refunds", "description": "Refunds a payment that has been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/captures), and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**REFUND** webhook](https://docs.adyen.com/online-payments/refund#refund-webhook). You can refund either the full captured amount or a part of the captured amount. You can also perform multiple partial refunds, as long as their sum doesn't exceed the captured amount. > Some payment methods do not support partial refunds. To learn if a payment method supports partial refunds, refer to the payment method page such as [cards](https://docs.adyen.com/payment-methods/cards#supported-cards), [iDEAL](https://docs.adyen.com/payment-methods/ideal), or [Klarna](https://docs.adyen.com/payment-methods/klarna). If you want to refund a payment but are not sure whether it has been captured, use the [`/payments/{paymentPspReference}/reversals`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/reversals) endpoint instead. For more information, refer to [Refund](https://docs.adyen.com/online-payments/refund).", @@ -264,62 +517,127 @@ { "name": "Refund a payment", "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 + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 2500\n },\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments/:paymentPspReference/refunds", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments", + ":paymentPspReference", + "refunds" + ], + "variable": [ + { + "key": "paymentPspReference", + "value": "", + "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to refund." + } + ], + "query": [ + ] + }, + "description": "Refunds a payment that has been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/captures), and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**REFUND** webhook](https://docs.adyen.com/online-payments/refund#refund-webhook). You can refund either the full captured amount or a part of the captured amount. You can also perform multiple partial refunds, as long as their sum doesn't exceed the captured amount. > Some payment methods do not support partial refunds. To learn if a payment method supports partial refunds, refer to the payment method page such as [cards](https://docs.adyen.com/payment-methods/cards#supported-cards), [iDEAL](https://docs.adyen.com/payment-methods/ideal), or [Klarna](https://docs.adyen.com/payment-methods/klarna). If you want to refund a payment but are not sure whether it has been captured, use the [`/payments/{paymentPspReference}/reversals`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/reversals) endpoint instead. For more information, refer to [Refund](https://docs.adyen.com/online-payments/refund)." +} + ,"response": [ + {"name": "Created - the request has been fulfilled and has resulted in one or more new resources being created.", + "code": 201, + "status": "Created", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"merchantAccount\" : \"YOUR_MERCHANT_ACCOUNT\",\n \"paymentPspReference\" : \"993617894903480A\",\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"pspReference\" : \"993617894906488A\",\n \"status\" : \"received\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 2500\n }\n}", + "originalRequest": { + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 2500\n },\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments/:paymentPspReference/refunds", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments", + ":paymentPspReference", + "refunds" + ], + "variable": [ + { + "key": "paymentPspReference", + "value": "", + "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to refund." + } + ], + "query": [ + ] + }, + "description": "Refunds a payment that has been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/captures), and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**REFUND** webhook](https://docs.adyen.com/online-payments/refund#refund-webhook). You can refund either the full captured amount or a part of the captured amount. You can also perform multiple partial refunds, as long as their sum doesn't exceed the captured amount. > Some payment methods do not support partial refunds. To learn if a payment method supports partial refunds, refer to the payment method page such as [cards](https://docs.adyen.com/payment-methods/cards#supported-cards), [iDEAL](https://docs.adyen.com/payment-methods/ideal), or [Klarna](https://docs.adyen.com/payment-methods/klarna). If you want to refund a payment but are not sure whether it has been captured, use the [`/payments/{paymentPspReference}/reversals`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/reversals) endpoint instead. For more information, refer to [Refund](https://docs.adyen.com/online-payments/refund)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 2500\n },\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments/:paymentPspReference/refunds", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments", - ":paymentPspReference", - "refunds" - ], - "variable": [ - { - "key": "paymentPspReference", - "value": "", - "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to refund." - } - ], - "query": [ - ] - }, - "description": "Refunds a payment that has been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/captures), and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**REFUND** webhook](https://docs.adyen.com/online-payments/refund#refund-webhook). You can refund either the full captured amount or a part of the captured amount. You can also perform multiple partial refunds, as long as their sum doesn't exceed the captured amount. > Some payment methods do not support partial refunds. To learn if a payment method supports partial refunds, refer to the payment method page such as [cards](https://docs.adyen.com/payment-methods/cards#supported-cards), [iDEAL](https://docs.adyen.com/payment-methods/ideal), or [Klarna](https://docs.adyen.com/payment-methods/klarna). If you want to refund a payment but are not sure whether it has been captured, use the [`/payments/{paymentPspReference}/reversals`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/reversals) endpoint instead. For more information, refer to [Refund](https://docs.adyen.com/online-payments/refund)." - } + ] } ] - } -, + }, { "name": "/payments/:paymentPspReference/reversals", "description": "[Refunds](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/refunds) a payment if it has already been captured, and [cancels](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/cancels) a payment if it has not yet been captured. Returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CANCEL_OR_REFUND** webhook](https://docs.adyen.com/online-payments/reverse#cancel-or-refund-webhook). The reversed amount is always the full payment amount. > Do not use this request for payments that involve multiple partial captures. For more information, refer to [Reversal](https://docs.adyen.com/online-payments/reversal).", @@ -327,62 +645,127 @@ { "name": "Reverse (cancel or refund) a payment", "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 + "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 \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments/:paymentPspReference/reversals", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments", + ":paymentPspReference", + "reversals" + ], + "variable": [ + { + "key": "paymentPspReference", + "value": "", + "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to reverse. " + } + ], + "query": [ + ] + }, + "description": "[Refunds](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/refunds) a payment if it has already been captured, and [cancels](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/cancels) a payment if it has not yet been captured. Returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CANCEL_OR_REFUND** webhook](https://docs.adyen.com/online-payments/reverse#cancel-or-refund-webhook). The reversed amount is always the full payment amount. > Do not use this request for payments that involve multiple partial captures. For more information, refer to [Reversal](https://docs.adyen.com/online-payments/reversal)." +} + ,"response": [ + {"name": "Created - the request has been fulfilled and has resulted in one or more new resources being created.", + "code": 201, + "status": "Created", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"merchantAccount\" : \"YOUR_MERCHANT_ACCOUNT\",\n \"paymentPspReference\" : \"993617894903480A\",\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"pspReference\" : \"993617894906488A\",\n \"status\" : \"received\"\n}", + "originalRequest": { + "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 \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments/:paymentPspReference/reversals", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments", + ":paymentPspReference", + "reversals" + ], + "variable": [ + { + "key": "paymentPspReference", + "value": "", + "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to reverse. " + } + ], + "query": [ + ] + }, + "description": "[Refunds](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/refunds) a payment if it has already been captured, and [cancels](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/cancels) a payment if it has not yet been captured. Returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CANCEL_OR_REFUND** webhook](https://docs.adyen.com/online-payments/reverse#cancel-or-refund-webhook). The reversed amount is always the full payment amount. > Do not use this request for payments that involve multiple partial captures. For more information, refer to [Reversal](https://docs.adyen.com/online-payments/reversal)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments/:paymentPspReference/reversals", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments", - ":paymentPspReference", - "reversals" - ], - "variable": [ - { - "key": "paymentPspReference", - "value": "", - "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to reverse. " - } - ], - "query": [ - ] - }, - "description": "[Refunds](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/refunds) a payment if it has already been captured, and [cancels](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/cancels) a payment if it has not yet been captured. Returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CANCEL_OR_REFUND** webhook](https://docs.adyen.com/online-payments/reverse#cancel-or-refund-webhook). The reversed amount is always the full payment amount. > Do not use this request for payments that involve multiple partial captures. For more information, refer to [Reversal](https://docs.adyen.com/online-payments/reversal)." - } + ] } ] } - ] }, { @@ -395,251 +778,374 @@ { "name": "Set up a payment session (Android)", "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 17408\n },\n \"reference\" : \"Your order number\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"channel\" : \"Android\",\n \"token\" : \"TOKEN_YOU_GET_FROM_CHECKOUT_SDK\",\n \"returnUrl\" : \"app://\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl_NL\",\n \"sessionValidity\" : \"2017-04-06T13:09:13Z\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentSession", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentSession" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Provides the data object that can be used to start the Checkout SDK. To set up the payment, pass its amount, currency, and other required parameters. We use this to optimise the payment flow and perform better risk assessment of the transaction. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." - } + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 17408\n },\n \"reference\" : \"Your order number\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"channel\" : \"Android\",\n \"token\" : \"TOKEN_YOU_GET_FROM_CHECKOUT_SDK\",\n \"returnUrl\" : \"app://\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl_NL\",\n \"sessionValidity\" : \"2017-04-06T13:09:13Z\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentSession", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentSession" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Provides the data object that can be used to start the Checkout SDK. To set up the payment, pass its amount, currency, and other required parameters. We use this to optimise the payment flow and perform better risk assessment of the transaction. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." +} + ,"response": [ + ] }, { "name": "Set up a payment session with the option to store card details", "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 + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 17408\n },\n \"reference\" : \"Your order number\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"enableOneClick\" : true,\n \"enableRecurring\" : true,\n \"channel\" : \"Web\",\n \"origin\" : \"https://www.yourwebsite.com\",\n \"returnUrl\" : \"https://www.yourshop.com/checkout/result\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl_NL\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"sdkVersion\" : \"1.7.0\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentSession", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentSession" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Provides the data object that can be used to start the Checkout SDK. To set up the payment, pass its amount, currency, and other required parameters. We use this to optimise the payment flow and perform better risk assessment of the transaction. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"paymentSession\" : \"eyJjaGVja291dHNob3BwZXJCYXN...\"\n}", + "originalRequest": { + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 17408\n },\n \"reference\" : \"Your order number\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"enableOneClick\" : true,\n \"enableRecurring\" : true,\n \"channel\" : \"Web\",\n \"origin\" : \"https://www.yourwebsite.com\",\n \"returnUrl\" : \"https://www.yourshop.com/checkout/result\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl_NL\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"sdkVersion\" : \"1.7.0\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentSession", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentSession" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Provides the data object that can be used to start the Checkout SDK. To set up the payment, pass its amount, currency, and other required parameters. We use this to optimise the payment flow and perform better risk assessment of the transaction. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 17408\n },\n \"reference\" : \"Your order number\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"enableOneClick\" : true,\n \"enableRecurring\" : true,\n \"channel\" : \"Web\",\n \"origin\" : \"https://www.yourwebsite.com\",\n \"returnUrl\" : \"https://www.yourshop.com/checkout/result\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl_NL\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"sdkVersion\" : \"1.7.0\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentSession", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentSession" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Provides the data object that can be used to start the Checkout SDK. To set up the payment, pass its amount, currency, and other required parameters. We use this to optimise the payment flow and perform better risk assessment of the transaction. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." - } + ] }, { "name": "Set up a payment session (iOS)", "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 17408\n },\n \"reference\" : \"Your order number\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"channel\" : \"iOS\",\n \"token\" : \"TOKEN_YOU_GET_FROM_CHECKOUT_SDK\",\n \"returnUrl\" : \"app://\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl_NL\",\n \"sessionValidity\" : \"2017-04-06T13:09:13Z\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentSession", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentSession" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Provides the data object that can be used to start the Checkout SDK. To set up the payment, pass its amount, currency, and other required parameters. We use this to optimise the payment flow and perform better risk assessment of the transaction. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." - } + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 17408\n },\n \"reference\" : \"Your order number\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"channel\" : \"iOS\",\n \"token\" : \"TOKEN_YOU_GET_FROM_CHECKOUT_SDK\",\n \"returnUrl\" : \"app://\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl_NL\",\n \"sessionValidity\" : \"2017-04-06T13:09:13Z\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentSession", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentSession" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Provides the data object that can be used to start the Checkout SDK. To set up the payment, pass its amount, currency, and other required parameters. We use this to optimise the payment flow and perform better risk assessment of the transaction. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." +} + ,"response": [ + ] }, { "name": "Split a payment between a sub-merchant and a platform account", "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 6200\n },\n \"additionalData\" : {\n \"split.api\" : \"1\",\n \"split.nrOfItems\" : \"2\",\n \"split.totalAmount\" : \"6200\",\n \"split.currencyCode\" : \"EUR\",\n \"split.item1.amount\" : \"6000\",\n \"split.item1.type\" : \"MarketPlace\",\n \"split.item1.account\" : \"151272963\",\n \"split.item1.reference\" : \"6124145\",\n \"split.item1.description\" : \"Porcelain Doll: Eliza (20cm)\",\n \"split.item2.amount\" : \"200\",\n \"split.item2.type\" : \"Commission\",\n \"split.item2.reference\" : \"6124146\"\n },\n \"reference\" : \"Your order number\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"channel\" : \"Android\",\n \"token\" : \"TOKEN_YOU_GET_FROM_CHECKOUT_SDK\",\n \"returnUrl\" : \"app://\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl_NL\",\n \"sessionValidity\" : \"2017-04-06T13:09:13Z\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentSession", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentSession" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Provides the data object that can be used to start the Checkout SDK. To set up the payment, pass its amount, currency, and other required parameters. We use this to optimise the payment flow and perform better risk assessment of the transaction. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." - } + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 6200\n },\n \"additionalData\" : {\n \"split.api\" : \"1\",\n \"split.nrOfItems\" : \"2\",\n \"split.totalAmount\" : \"6200\",\n \"split.currencyCode\" : \"EUR\",\n \"split.item1.amount\" : \"6000\",\n \"split.item1.type\" : \"MarketPlace\",\n \"split.item1.account\" : \"151272963\",\n \"split.item1.reference\" : \"6124145\",\n \"split.item1.description\" : \"Porcelain Doll: Eliza (20cm)\",\n \"split.item2.amount\" : \"200\",\n \"split.item2.type\" : \"Commission\",\n \"split.item2.reference\" : \"6124146\"\n },\n \"reference\" : \"Your order number\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"channel\" : \"Android\",\n \"token\" : \"TOKEN_YOU_GET_FROM_CHECKOUT_SDK\",\n \"returnUrl\" : \"app://\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl_NL\",\n \"sessionValidity\" : \"2017-04-06T13:09:13Z\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentSession", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentSession" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Provides the data object that can be used to start the Checkout SDK. To set up the payment, pass its amount, currency, and other required parameters. We use this to optimise the payment flow and perform better risk assessment of the transaction. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." +} + ,"response": [ + ] }, { "name": "Set up a payment session (Web)", "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 + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 17408\n },\n \"reference\" : \"Your order number\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"channel\" : \"Web\",\n \"origin\" : \"https://www.yourwebsite.com\",\n \"returnUrl\" : \"https://www.yourshop.com/checkout/result\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl_NL\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"sdkVersion\" : \"1.9.5\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentSession", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentSession" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Provides the data object that can be used to start the Checkout SDK. To set up the payment, pass its amount, currency, and other required parameters. We use this to optimise the payment flow and perform better risk assessment of the transaction. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"paymentSession\" : \"eyJjaGVja291dHNob3BwZXJCYXN...\"\n}", + "originalRequest": { + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 17408\n },\n \"reference\" : \"Your order number\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"channel\" : \"Web\",\n \"origin\" : \"https://www.yourwebsite.com\",\n \"returnUrl\" : \"https://www.yourshop.com/checkout/result\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl_NL\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"sdkVersion\" : \"1.9.5\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentSession", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentSession" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Provides the data object that can be used to start the Checkout SDK. To set up the payment, pass its amount, currency, and other required parameters. We use this to optimise the payment flow and perform better risk assessment of the transaction. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 17408\n },\n \"reference\" : \"Your order number\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"channel\" : \"Web\",\n \"origin\" : \"https://www.yourwebsite.com\",\n \"returnUrl\" : \"https://www.yourshop.com/checkout/result\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl_NL\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"sdkVersion\" : \"1.9.5\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentSession", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentSession" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Provides the data object that can be used to start the Checkout SDK. To set up the payment, pass its amount, currency, and other required parameters. We use this to optimise the payment flow and perform better risk assessment of the transaction. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." - } + ] } ] - } -, + }, { "name": "/payments/result (DEPRECATED)", "description": "Verifies the payment result using the payload returned from the Checkout SDK. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks).", @@ -647,56 +1153,115 @@ { "name": "Verify payment results", "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 + "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 \"payload\" : \"VALUE_YOU_GET_FROM_CHECKOUT_SDK\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments/result", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments", + "result" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Verifies the payment result using the payload returned from the Checkout SDK. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"pspReference\" : \"V4HZ4RBFJGXXGN82\",\n \"merchantReference\" : \"Your order number\",\n \"shopperLocale\" : \"nl_NL\",\n \"paymentMethod\" : \"ideal\"\n}", + "originalRequest": { + "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 \"payload\" : \"VALUE_YOU_GET_FROM_CHECKOUT_SDK\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments/result", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments", + "result" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Verifies the payment result using the payload returned from the Checkout SDK. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"payload\" : \"VALUE_YOU_GET_FROM_CHECKOUT_SDK\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments/result", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments", - "result" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Verifies the payment result using the payload returned from the Checkout SDK. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." - } + ] } ] } - ] }, { @@ -709,55 +1274,113 @@ { "name": "Create an order", "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 + "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 \"reference\" : \"YOUR_ORDER_REFERENCE\",\n \"amount\" : {\n \"value\" : 2500,\n \"currency\" : \"EUR\"\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/orders", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "orders" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates an order to be used for partial payments. Make a POST `/orders` call before making a `/payments` call when processing payments with different payment methods." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"pspReference\" : \"8616178914061985\",\n \"resultCode\" : \"Success\",\n \"expiresAt\" : \"2021-04-09T14:16:46Z\",\n \"orderData\" : \"Ab02b4c0!BQABAgCxXvknCldOcRElkxY8Za7iyym4Wv8aDzyNwmj/3nh4G6YtwnUIJHaK62NlN4oIsACdkn1FEjBwKlheG40jvXcYGBk4KFV5WvOhTVCpv/KXnkrI7xQv/u2lE7U4wA+HPB6K4Zj2L8xO/ogZi+zGZqFs5m16jmkH7ku6FzXygXLNuUCuOlmlXSZhdkHHTNVQSq1MELDK9OL74y532ETRPTCNxx8WlEiZB+LDqYrPvH9GgigtD5kw8Do45jfFfG72kWBEgfYqp4mbUmBB9ebXFYZKfF0qvW1x7A2Y9+/MFlTIdXfKW484bJeDBCTTrmKGXIj+U4r5imr5fXTyNLcrxyUqwrb9jg+5B4qg1XB6Cgj5UPlSI4O62I7v0s5TTj69dzLwUQRxSQbwLrZVGYavXzeVKI54BVLRV3d/+BbPvTqnTo34UhfZbPlOx9F2eyaS0ZXdOKnHw89uGUgxUpLsMqnbRysi/pxpZaulel+0mExb68wVxb/7Teob5eRG4gp7cfZVZs6tLXOYWL+W0TqIlsa3hWsfM0LeaovzkoDtW/pK5JABXwMtLig9tsxoEh9ONYtIzkXC21LZ8ebiuSIMaPizjF8yca+QxrCZalQsu6uKnBz/mm8nnsflaGU2QS5zcoxk1RudL1Bl36LM9UZGPpFEYWiYA4sUsnNLw7peJjWCGhDepnwMv4TlgsEtoDtz1T54AEp7ImtleSI6IkFGMEFBQTEwM0NBNTM3RUFFRDg3QzI0REQ1MzkwOUI4MEE3OEE5MjNFMzgyM0Q2OERBQ0M5NEI5RkY4MzA1REMifRslOdmfgUHTXl66WPD9xoW2whIeRx/jR++2MqNE16x6zQy+KtDN8/h60crZwmqkjVTQYqQlsYSYDHSIyb4wnnay16/5il1yS7vN3UCLaTXjYBIAyyx6Wr9j4P3CI/etB+PpviHoESC4mV6ZN4whMDQyziQ8s230GtboXbh42qND7rk9phySBogowQlXrtF+l2n2F46nyif0owEgik5fGARfvjZtY2w23s30KMLNwU4gWSvX4H6RMVS8TfZH2fKfNrwB3tZUXwYkELs5ntaHysswq5Mn5aq2BKAMHu/Rh/wureMSI73Qi0avjrzWCwzt3JH4wnzErMnOZwSdgA==\",\n \"reference\" : \"shopper-reference-ekvL83\",\n \"remainingAmount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 2500\n }\n}", + "originalRequest": { + "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 \"reference\" : \"YOUR_ORDER_REFERENCE\",\n \"amount\" : {\n \"value\" : 2500,\n \"currency\" : \"EUR\"\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/orders", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "orders" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates an order to be used for partial payments. Make a POST `/orders` call before making a `/payments` call when processing payments with different payment methods." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"reference\" : \"YOUR_ORDER_REFERENCE\",\n \"amount\" : {\n \"value\" : 2500,\n \"currency\" : \"EUR\"\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/orders", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "orders" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Creates an order to be used for partial payments. Make a POST `/orders` call before making a `/payments` call when processing payments with different payment methods." - } + ] } ] - } -, + }, { "name": "/orders/cancel", "description": "Cancels an order. Cancellation of an order results in an automatic rollback of all payments made in the order, either by canceling or refunding the payment, depending on the type of payment method.", @@ -765,56 +1388,115 @@ { "name": "Cancel an order", "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 + "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 \"order\" : {\n \"pspReference\" : \"8815517812932012\",\n \"orderData\" : \"823fh892f8f18f4...148f13f9f3f\"\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/orders/cancel", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "orders", + "cancel" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Cancels an order. Cancellation of an order results in an automatic rollback of all payments made in the order, either by canceling or refunding the payment, depending on the type of payment method." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"pspReference\" : \"8816178914079738\",\n \"resultCode\" : \"Received\"\n}", + "originalRequest": { + "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 \"order\" : {\n \"pspReference\" : \"8815517812932012\",\n \"orderData\" : \"823fh892f8f18f4...148f13f9f3f\"\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/orders/cancel", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "orders", + "cancel" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Cancels an order. Cancellation of an order results in an automatic rollback of all payments made in the order, either by canceling or refunding the payment, depending on the type of payment method." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"order\" : {\n \"pspReference\" : \"8815517812932012\",\n \"orderData\" : \"823fh892f8f18f4...148f13f9f3f\"\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/orders/cancel", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "orders", - "cancel" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Cancels an order. Cancellation of an order results in an automatic rollback of all payments made in the order, either by canceling or refunding the payment, depending on the type of payment method." - } + ] } ] - } -, + }, { "name": "/paymentMethods/balance", "description": "Retrieves the balance remaining on a shopper's gift card. To check a gift card's balance, make a POST `/paymentMethods/balance` call and include the gift card's details inside a `paymentMethod` object.", @@ -822,106 +1504,225 @@ { "name": "Get gift card balance specifying amount of 10 EUR", "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 + "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 \"paymentMethod\" : {\n \"type\" : \"givex\",\n \"number\" : \"4126491073027401\",\n \"cvc\" : \"737\"\n },\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentMethods/balance", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentMethods", + "balance" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Retrieves the balance remaining on a shopper's gift card. To check a gift card's balance, make a POST `/paymentMethods/balance` call and include the gift card's details inside a `paymentMethod` object." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"pspReference\" : \"KHQC5N7G84BLNK43\",\n \"resultCode\" : \"Success\",\n \"balance\" : {\n \"currency\" : \"EUR\",\n \"value\" : 5000\n }\n}", + "originalRequest": { + "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 \"paymentMethod\" : {\n \"type\" : \"givex\",\n \"number\" : \"4126491073027401\",\n \"cvc\" : \"737\"\n },\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentMethods/balance", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentMethods", + "balance" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Retrieves the balance remaining on a shopper's gift card. To check a gift card's balance, make a POST `/paymentMethods/balance` call and include the gift card's details inside a `paymentMethod` object." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"paymentMethod\" : {\n \"type\" : \"givex\",\n \"number\" : \"4126491073027401\",\n \"cvc\" : \"737\"\n },\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentMethods/balance", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentMethods", - "balance" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Retrieves the balance remaining on a shopper's gift card. To check a gift card's balance, make a POST `/paymentMethods/balance` call and include the gift card's details inside a `paymentMethod` object." - } + ] }, { "name": "Get gift card balance specifying amount of 100 EUR", "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 + "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 \"paymentMethod\" : {\n \"type\" : \"givex\",\n \"number\" : \"4126491073027401\",\n \"cvc\" : \"737\"\n },\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 10000\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentMethods/balance", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentMethods", + "balance" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Retrieves the balance remaining on a shopper's gift card. To check a gift card's balance, make a POST `/paymentMethods/balance` call and include the gift card's details inside a `paymentMethod` object." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"pspReference\" : \"FKSPNCQ8HXSKGK82\",\n \"resultCode\" : \"NotEnoughBalance\",\n \"balance\" : {\n \"currency\" : \"EUR\",\n \"value\" : 5000\n }\n}", + "originalRequest": { + "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 \"paymentMethod\" : {\n \"type\" : \"givex\",\n \"number\" : \"4126491073027401\",\n \"cvc\" : \"737\"\n },\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 10000\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentMethods/balance", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentMethods", + "balance" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Retrieves the balance remaining on a shopper's gift card. To check a gift card's balance, make a POST `/paymentMethods/balance` call and include the gift card's details inside a `paymentMethod` object." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"paymentMethod\" : {\n \"type\" : \"givex\",\n \"number\" : \"4126491073027401\",\n \"cvc\" : \"737\"\n },\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 10000\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentMethods/balance", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentMethods", - "balance" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Retrieves the balance remaining on a shopper's gift card. To check a gift card's balance, make a POST `/paymentMethods/balance` call and include the gift card's details inside a `paymentMethod` object." - } + ] } ] } - ] }, { @@ -934,56 +1735,115 @@ { "name": "Get payment session for Apple Pay", "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 + "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 \"displayName\" : \"YOUR_MERCHANT_NAME\",\n \"domainName\" : \"YOUR_DOMAIN_NAME\",\n \"merchantIdentifier\" : \"YOUR_MERCHANT_ID\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/applePay/sessions", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "applePay", + "sessions" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "You need to use this endpoint if you have an API-only integration with Apple Pay which uses Adyen's Apple Pay certificate. The endpoint returns the Apple Pay session data which you need to complete the [Apple Pay session validation](https://docs.adyen.com/payment-methods/apple-pay/api-only?tab=adyen-certificate-validation_1#complete-apple-pay-session-validation)." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"data\" : \"eyJ2Z...\"\n}", + "originalRequest": { + "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 \"displayName\" : \"YOUR_MERCHANT_NAME\",\n \"domainName\" : \"YOUR_DOMAIN_NAME\",\n \"merchantIdentifier\" : \"YOUR_MERCHANT_ID\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/applePay/sessions", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "applePay", + "sessions" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "You need to use this endpoint if you have an API-only integration with Apple Pay which uses Adyen's Apple Pay certificate. The endpoint returns the Apple Pay session data which you need to complete the [Apple Pay session validation](https://docs.adyen.com/payment-methods/apple-pay/api-only?tab=adyen-certificate-validation_1#complete-apple-pay-session-validation)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"displayName\" : \"YOUR_MERCHANT_NAME\",\n \"domainName\" : \"YOUR_DOMAIN_NAME\",\n \"merchantIdentifier\" : \"YOUR_MERCHANT_ID\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/applePay/sessions", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "applePay", - "sessions" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "You need to use this endpoint if you have an API-only integration with Apple Pay which uses Adyen's Apple Pay certificate. The endpoint returns the Apple Pay session data which you need to complete the [Apple Pay session validation](https://docs.adyen.com/payment-methods/apple-pay/api-only?tab=adyen-certificate-validation_1#complete-apple-pay-session-validation)." - } + ] } ] - } -, + }, { "name": "/originKeys", "description": "This operation takes the origin domains and returns a JSON object containing the corresponding origin keys for the domains. > If you're still using origin key for your Web Drop-in or Components integration, we recommend [switching to client key](https://docs.adyen.com/development-resources/client-side-authentication/migrate-from-origin-key-to-client-key). This allows you to use a single key for all origins, add or remove origins without generating a new key, and detect the card type from the number entered in your payment form. ", @@ -991,55 +1851,113 @@ { "name": "Get origin keys", "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 + "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 \"originDomains\" : [ \"https://www.your-domain1.com\", \"https://www.your-domain2.com\", \"https://www.your-domain3.com\" ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/originKeys", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "originKeys" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "This operation takes the origin domains and returns a JSON object containing the corresponding origin keys for the domains. > If you're still using origin key for your Web Drop-in or Components integration, we recommend [switching to client key](https://docs.adyen.com/development-resources/client-side-authentication/migrate-from-origin-key-to-client-key). This allows you to use a single key for all origins, add or remove origins without generating a new key, and detect the card type from the number entered in your payment form. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"originKeys\" : {\n \"https://www.your-domain1.com\" : \"pub.v2.8116178901076090.aHR0cHM6Ly93d3cueW91ci1kb21haW4xLmNvbQ.pvbYlrXz0ICP4kwMJXDGDLVMqALhwXr1MSRjT-fkhvw\",\n \"https://www.your-domain3.com\" : \"pub.v2.8116178901076090.aHR0cHM6Ly93d3cueW91ci1kb21haW4zLmNvbQ.FrTpVz7_RzAywKasM0kXCRoMfoMkKIKaxjFymRGORIc\",\n \"https://www.your-domain2.com\" : \"pub.v2.8116178901076090.aHR0cHM6Ly93d3cueW91ci1kb21haW4yLmNvbQ.LdN9kvJ35fYFFiBSJA4idMnwwxJ5_yXpeNS__Ap5wkg\"\n }\n}", + "originalRequest": { + "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 \"originDomains\" : [ \"https://www.your-domain1.com\", \"https://www.your-domain2.com\", \"https://www.your-domain3.com\" ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/originKeys", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "originKeys" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "This operation takes the origin domains and returns a JSON object containing the corresponding origin keys for the domains. > If you're still using origin key for your Web Drop-in or Components integration, we recommend [switching to client key](https://docs.adyen.com/development-resources/client-side-authentication/migrate-from-origin-key-to-client-key). This allows you to use a single key for all origins, add or remove origins without generating a new key, and detect the card type from the number entered in your payment form. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"originDomains\" : [ \"https://www.your-domain1.com\", \"https://www.your-domain2.com\", \"https://www.your-domain3.com\" ]\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/originKeys", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "originKeys" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "This operation takes the origin domains and returns a JSON object containing the corresponding origin keys for the domains. > If you're still using origin key for your Web Drop-in or Components integration, we recommend [switching to client key](https://docs.adyen.com/development-resources/client-side-authentication/migrate-from-origin-key-to-client-key). This allows you to use a single key for all origins, add or remove origins without generating a new key, and detect the card type from the number entered in your payment form. " - } + ] } ] } - ] }, { @@ -1052,104 +1970,164 @@ { "name": "Start a donation transaction", "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 + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"reference\" : \"YOUR_DONATION_REFERENCE\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\"\n },\n \"donationToken\" : \"YOUR_DONATION_TOKEN\",\n \"donationOriginalPspReference\" : \"991559660454807J\",\n \"donationAccount\" : \"CHARITY_ACCOUNT\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"shopperInteraction\" : \"ContAuth\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/donations", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "donations" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Takes in the donation token generated by the `/payments` request and uses it to make the donation for the donation account specified in the request. For more information, see [Donations](https://docs.adyen.com/online-payments/donations)." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"id\" : \"UNIQUE_RESOURCE_ID\",\n \"status\" : \"completed\",\n \"donationAccount\" : \"CHARITY_ACCOUNT\",\n \"merchantAccount\" : \"YOUR_MERCHANT_ACCOUNT\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"reference\" : \"YOUR_DONATION_REFERENCE\",\n \"payment\" : {\n \"pspReference\" : \"8535762347980628\",\n \"resultCode\" : \"Authorised\",\n \"merchantReference\" : \"YOUR_DONATION_REFERENCE\"\n }\n}", + "originalRequest": { + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"reference\" : \"YOUR_DONATION_REFERENCE\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\"\n },\n \"donationToken\" : \"YOUR_DONATION_TOKEN\",\n \"donationOriginalPspReference\" : \"991559660454807J\",\n \"donationAccount\" : \"CHARITY_ACCOUNT\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"shopperInteraction\" : \"ContAuth\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/donations", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "donations" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Takes in the donation token generated by the `/payments` request and uses it to make the donation for the donation account specified in the request. For more information, see [Donations](https://docs.adyen.com/online-payments/donations)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"reference\" : \"YOUR_DONATION_REFERENCE\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\"\n },\n \"donationToken\" : \"YOUR_DONATION_TOKEN\",\n \"donationOriginalPspReference\" : \"991559660454807J\",\n \"donationAccount\" : \"CHARITY_ACCOUNT\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"shopperInteraction\" : \"ContAuth\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/donations", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "donations" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Takes in the donation token generated by the `/payments` request and uses it to make the donation for the donation account specified in the request. For more information, see [Donations](https://docs.adyen.com/online-payments/donations)." - } + ] }, { "name": "Start a donation transaction with a token", "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"reference\" : \"YOUR_DONATION_REFERENCE\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"recurringDetailReference\" : \"7219687191761347\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"donationAccount\" : \"CHARITY_ACCOUNT\",\n \"shopperInteraction\" : \"ContAuth\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"recurringProcessingModel\" : \"CardOnFile\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/donations", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "donations" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Takes in the donation token generated by the `/payments` request and uses it to make the donation for the donation account specified in the request. For more information, see [Donations](https://docs.adyen.com/online-payments/donations)." - } + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"reference\" : \"YOUR_DONATION_REFERENCE\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"recurringDetailReference\" : \"7219687191761347\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"donationAccount\" : \"CHARITY_ACCOUNT\",\n \"shopperInteraction\" : \"ContAuth\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"recurringProcessingModel\" : \"CardOnFile\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/donations", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "donations" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Takes in the donation token generated by the `/payments` request and uses it to make the donation for the donation account specified in the request. For more information, see [Donations](https://docs.adyen.com/online-payments/donations)." +} + ,"response": [ + ] } ] } - ] }, { @@ -1162,104 +2140,221 @@ { "name": "Get a list of brands on a card", "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 + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"cardNumber\" : \"411111\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/cardDetails", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "cardDetails" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Send a request with at least the first 6 digits of the card number to get a response with an array of brands on the card. If you include [your supported brands](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__reqParam_supportedBrands) in the request, the response also tells you if you support each [brand that was identified](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__resParam_details). If you have an API-only integration and collect card data, use this endpoint to find out if the shopper's card is co-branded. For co-branded cards, you must let the shopper choose the brand to pay with if you support both brands. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"brands\" : [ {\n \"type\" : \"visa\",\n \"supported\" : true\n }, {\n \"type\" : \"cartebancaire\",\n \"supported\" : true\n } ]\n}", + "originalRequest": { + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"cardNumber\" : \"411111\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/cardDetails", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "cardDetails" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Send a request with at least the first 6 digits of the card number to get a response with an array of brands on the card. If you include [your supported brands](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__reqParam_supportedBrands) in the request, the response also tells you if you support each [brand that was identified](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__resParam_details). If you have an API-only integration and collect card data, use this endpoint to find out if the shopper's card is co-branded. For co-branded cards, you must let the shopper choose the brand to pay with if you support both brands. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"cardNumber\" : \"411111\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/cardDetails", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "cardDetails" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Send a request with at least the first 6 digits of the card number to get a response with an array of brands on the card. If you include [your supported brands](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__reqParam_supportedBrands) in the request, the response also tells you if you support each [brand that was identified](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__resParam_details). If you have an API-only integration and collect card data, use this endpoint to find out if the shopper's card is co-branded. For co-branded cards, you must let the shopper choose the brand to pay with if you support both brands. " - } + ] }, { "name": "Get a list of brands on a card specifying your supported card brands", "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 + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"cardNumber\" : \"411111\",\n \"supportedBrands\" : [ \"visa\", \"mc\", \"amex\" ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/cardDetails", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "cardDetails" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Send a request with at least the first 6 digits of the card number to get a response with an array of brands on the card. If you include [your supported brands](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__reqParam_supportedBrands) in the request, the response also tells you if you support each [brand that was identified](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__resParam_details). If you have an API-only integration and collect card data, use this endpoint to find out if the shopper's card is co-branded. For co-branded cards, you must let the shopper choose the brand to pay with if you support both brands. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"brands\" : [ {\n \"type\" : \"visa\",\n \"supported\" : true\n }, {\n \"type\" : \"cartebancaire\",\n \"supported\" : false\n } ]\n}", + "originalRequest": { + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"cardNumber\" : \"411111\",\n \"supportedBrands\" : [ \"visa\", \"mc\", \"amex\" ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/cardDetails", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "cardDetails" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Send a request with at least the first 6 digits of the card number to get a response with an array of brands on the card. If you include [your supported brands](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__reqParam_supportedBrands) in the request, the response also tells you if you support each [brand that was identified](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__resParam_details). If you have an API-only integration and collect card data, use this endpoint to find out if the shopper's card is co-branded. For co-branded cards, you must let the shopper choose the brand to pay with if you support both brands. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"cardNumber\" : \"411111\",\n \"supportedBrands\" : [ \"visa\", \"mc\", \"amex\" ]\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/cardDetails", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "cardDetails" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Send a request with at least the first 6 digits of the card number to get a response with an array of brands on the card. If you include [your supported brands](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__reqParam_supportedBrands) in the request, the response also tells you if you support each [brand that was identified](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__resParam_details). If you have an API-only integration and collect card data, use this endpoint to find out if the shopper's card is co-branded. For co-branded cards, you must let the shopper choose the brand to pay with if you support both brands. " - } + ] } ] - } -, + }, { "name": "/paymentMethods", "description": "Queries the available payment methods for a transaction based on the transaction context (like amount, country, and currency). Besides giving back a list of the available payment methods, the response also returns which input details you need to collect from the shopper (to be submitted to `/payments`). Although we highly recommend using this endpoint to ensure you are always offering the most up-to-date list of payment methods, its usage is optional. You can, for example, also cache the `/paymentMethods` response and update it once a week.", @@ -1267,153 +2362,329 @@ { "name": "Get available payment methods", "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 + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentMethods", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentMethods" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Queries the available payment methods for a transaction based on the transaction context (like amount, country, and currency). Besides giving back a list of the available payment methods, the response also returns which input details you need to collect from the shopper (to be submitted to `/payments`). Although we highly recommend using this endpoint to ensure you are always offering the most up-to-date list of payment methods, its usage is optional. You can, for example, also cache the `/paymentMethods` response and update it once a week." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"paymentMethods\" : [ {\n \"details\" : [ {\n \"details\" : [ {\n \"key\" : \"ownerName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"bankLocationId\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"bankAccountNumber\",\n \"type\" : \"text\"\n } ],\n \"key\" : \"bankAccount\",\n \"type\" : \"bankAccount\"\n } ],\n \"name\" : \"ACH Direct Debit\",\n \"type\" : \"ach\"\n }, {\n \"name\" : \"Adyen Voucher\",\n \"type\" : \"adyen_test_voucher\"\n }, {\n \"details\" : [ {\n \"details\" : [ {\n \"key\" : \"firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"lastName\",\n \"type\" : \"text\"\n }, {\n \"items\" : [ {\n \"id\" : \"M\",\n \"name\" : \"male\"\n }, {\n \"id\" : \"F\",\n \"name\" : \"female\"\n } ],\n \"key\" : \"gender\",\n \"type\" : \"radio\"\n }, {\n \"key\" : \"dateOfBirth\",\n \"type\" : \"date\"\n }, {\n \"key\" : \"telephoneNumber\",\n \"type\" : \"tel\"\n }, {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n } ],\n \"key\" : \"personalDetails\",\n \"type\" : \"fieldSet\"\n }, {\n \"details\" : [ {\n \"key\" : \"street\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"houseNumberOrName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"city\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"postalCode\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"stateOrProvince\",\n \"optional\" : true,\n \"type\" : \"text\"\n }, {\n \"items\" : [ {\n \"id\" : \"NL\",\n \"name\" : \"Netherlands\"\n }, {\n \"id\" : \"BE\",\n \"name\" : \"Belgium\"\n } ],\n \"key\" : \"country\",\n \"type\" : \"select\"\n } ],\n \"key\" : \"billingAddress\",\n \"type\" : \"address\"\n }, {\n \"key\" : \"separateDeliveryAddress\",\n \"optional\" : true,\n \"type\" : \"boolean\",\n \"value\" : \"false\"\n }, {\n \"details\" : [ {\n \"key\" : \"street\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"houseNumberOrName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"city\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"postalCode\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"stateOrProvince\",\n \"optional\" : true,\n \"type\" : \"text\"\n }, {\n \"items\" : [ {\n \"id\" : \"NL\",\n \"name\" : \"Netherlands\"\n }, {\n \"id\" : \"BE\",\n \"name\" : \"Belgium\"\n } ],\n \"key\" : \"country\",\n \"type\" : \"select\"\n } ],\n \"key\" : \"deliveryAddress\",\n \"optional\" : true,\n \"type\" : \"address\"\n } ],\n \"name\" : \"AfterPay Invoice\",\n \"type\" : \"afterpay_default\"\n }, {\n \"name\" : \"AfterPay DirectDebit\",\n \"type\" : \"afterpay_directdebit\"\n }, {\n \"name\" : \"Afterpay\",\n \"type\" : \"afterpaytouch\"\n }, {\n \"details\" : [ {\n \"key\" : \"encryptedCardNumber\",\n \"type\" : \"cardToken\"\n }, {\n \"key\" : \"encryptedSecurityCode\",\n \"type\" : \"cardToken\"\n }, {\n \"key\" : \"encryptedExpiryMonth\",\n \"type\" : \"cardToken\"\n }, {\n \"key\" : \"encryptedExpiryYear\",\n \"type\" : \"cardToken\"\n }, {\n \"key\" : \"holderName\",\n \"optional\" : true,\n \"type\" : \"text\"\n } ],\n \"name\" : \"Credit Card\",\n \"type\" : \"scheme\"\n }, {\n \"name\" : \"AliPay\",\n \"type\" : \"alipay\"\n }, {\n \"name\" : \"AliPay HK\",\n \"type\" : \"alipay_hk\"\n }, {\n \"name\" : \"AliPay\",\n \"type\" : \"alipay_wap\"\n }, {\n \"details\" : [ {\n \"key\" : \"additionalData.androidpay.token\",\n \"type\" : \"androidPayToken\"\n } ],\n \"name\" : \"Android Pay\",\n \"type\" : \"androidpay\"\n }, {\n \"details\" : [ {\n \"key\" : \"additionalData.applepay.token\",\n \"type\" : \"applePayToken\"\n } ],\n \"name\" : \"Apple Pay\",\n \"type\" : \"applepay\"\n }, {\n \"name\" : \"Credit Card via AsiaPay\",\n \"type\" : \"asiapay\"\n }, {\n \"name\" : \"China UnionPay\",\n \"type\" : \"asiapay_unionpay\"\n }, {\n \"name\" : \"Baby Gift Card\",\n \"type\" : \"babygiftcard\"\n }, {\n \"name\" : \"Baloto\",\n \"type\" : \"baloto\"\n }, {\n \"name\" : \"BancNet\",\n \"type\" : \"bancnet\"\n }, {\n \"name\" : \"Bank Transfer (BG)\",\n \"type\" : \"bankTransfer_BG\"\n }, {\n \"name\" : \"Bank Transfer (CH)\",\n \"type\" : \"bankTransfer_CH\"\n }, {\n \"name\" : \"Bank Transfer (DE)\",\n \"type\" : \"bankTransfer_DE\"\n }, {\n \"name\" : \"Bank Transfer (FI)\",\n \"type\" : \"bankTransfer_FI\"\n }, {\n \"name\" : \"Bank Transfer (GB)\",\n \"type\" : \"bankTransfer_GB\"\n }, {\n \"name\" : \"Bank Transfer (HU)\",\n \"type\" : \"bankTransfer_HU\"\n }, {\n \"name\" : \"SEPA Bank Transfer\",\n \"type\" : \"bankTransfer_IBAN\"\n }, {\n \"name\" : \"Bank Transfer (IE)\",\n \"type\" : \"bankTransfer_IE\"\n }, {\n \"name\" : \"Electronic Bank Transfer (MX)\",\n \"type\" : \"bankTransfer_MX_linked\"\n }, {\n \"name\" : \"Bank Transfer (MX)\",\n \"type\" : \"bankTransfer_MX_offline\"\n }, {\n \"name\" : \"Bank Transfer (NL)\",\n \"type\" : \"bankTransfer_NL\"\n }, {\n \"name\" : \"Bank Transfer (PL)\",\n \"type\" : \"bankTransfer_PL\"\n }, {\n \"name\" : \"Bank Transfer (SE)\",\n \"type\" : \"bankTransfer_SE\"\n }, {\n \"name\" : \"Bank Transfer (US)\",\n \"type\" : \"bankTransfer_US\"\n }, {\n \"name\" : \"Payconiq by Bancontact\",\n \"type\" : \"bcmc_mobile\"\n }, {\n \"name\" : \"Bijenkorf Cadeaucard\",\n \"type\" : \"bijcadeaucard\"\n }, {\n \"name\" : \"99Bill\",\n \"type\" : \"bill99\"\n }, {\n \"details\" : [ {\n \"items\" : [ {\n \"id\" : \"AUB_DIRECT\",\n \"name\" : \"AU Small Finance Bank\"\n }, {\n \"id\" : \"ALB_DIRECT\",\n \"name\" : \"Allahabad Bank \"\n }, {\n \"id\" : \"APG_DIRECT\",\n \"name\" : \"Andhra Pragathi Grameena Bank\"\n }, {\n \"id\" : \"BDN_DIRECT\",\n \"name\" : \"Bandhan bank\"\n }, {\n \"id\" : \"BBK_DIRECT\",\n \"name\" : \"Bank of Bahrain and Kuwait\"\n }, {\n \"id\" : \"BBR_DIRECT\",\n \"name\" : \"Bank of Baroda - Retail Banking\"\n }, {\n \"id\" : \"BCB_DIRECT\",\n \"name\" : \"Bassien Catholic Co-Operative Bank \"\n }, {\n \"id\" : \"CNB_DIRECT\",\n \"name\" : \"Canara Bank\"\n }, {\n \"id\" : \"SYD_DIRECT\",\n \"name\" : \"Canara Bank (e-Syndicate)\"\n }, {\n \"id\" : \"CSB_DIRECT\",\n \"name\" : \"Catholic Syrian Bank\"\n }, {\n \"id\" : \"CBI_DIRECT\",\n \"name\" : \"Central Bank of India\"\n }, {\n \"id\" : \"CUB_DIRECT\",\n \"name\" : \"City Union Bank\"\n }, {\n \"id\" : \"COB_DIRECT\",\n \"name\" : \"Cosmos Bank\"\n }, {\n \"id\" : \"DEN_DIRECT\",\n \"name\" : \"Dena Bank\"\n }, {\n \"id\" : \"DBK_DIRECT\",\n \"name\" : \"Deutsche Bank\"\n }, {\n \"id\" : \"DCB_DIRECT\",\n \"name\" : \"Development Credit Bank\"\n }, {\n \"id\" : \"DLB_DIRECT\",\n \"name\" : \"Dhanlakshmi Bank - Retail Net Banking\"\n }, {\n \"id\" : \"ESF_DIRECT\",\n \"name\" : \"ESAF Small Finance Bank\"\n }, {\n \"id\" : \"EQB_DIRECT\",\n \"name\" : \"Equitas Small Finance Bank\"\n }, {\n \"id\" : \"FBK_DIRECT\",\n \"name\" : \"Federal Bank\"\n }, {\n \"id\" : \"FNC_DIRECT\",\n \"name\" : \"Fincare Bank\"\n }, {\n \"id\" : \"HDF_DIRECT\",\n \"name\" : \"HDFC Bank\"\n }, {\n \"id\" : \"ICI_DIRECT\",\n \"name\" : \"ICICI Bank \"\n }, {\n \"id\" : \"IDB_DIRECT\",\n \"name\" : \"IDBI Bank - Retail Net Banking\"\n }, {\n \"id\" : \"IDN_DIRECT\",\n \"name\" : \"IDFC FIRST Bank\"\n }, {\n \"id\" : \"INB_DIRECT\",\n \"name\" : \"Indian Bank\"\n }, {\n \"id\" : \"IOB_DIRECT\",\n \"name\" : \"Indian Overseas Bank\"\n }, {\n \"id\" : \"IDS_DIRECT\",\n \"name\" : \"IndusInd Bank\"\n }, {\n \"id\" : \"JKB_DIRECT\",\n \"name\" : \"Jammu & Kashmir Bank\"\n }, {\n \"id\" : \"JNB_DIRECT\",\n \"name\" : \"Jana Small Finance Bank\"\n }, {\n \"id\" : \"JSB_DIRECT\",\n \"name\" : \"Janata Sahakari Bank Ltd Pune\"\n }, {\n \"id\" : \"KJB_DIRECT\",\n \"name\" : \"Kalyan Janata Sahakari Bank\"\n }, {\n \"id\" : \"KBL_DIRECT\",\n \"name\" : \"Karnataka Bank Ltd\"\n }, {\n \"id\" : \"KVB_DIRECT\",\n \"name\" : \"Karur Vysya Bank\"\n }, {\n \"id\" : \"162_DIRECT\",\n \"name\" : \"Kotak Bank\"\n }, {\n \"id\" : \"LVR_DIRECT\",\n \"name\" : \"Laxmi Vilas Bank - Retail\"\n }, {\n \"id\" : \"NKB_DIRECT\",\n \"name\" : \"NKGSB Co-op Bank\"\n }, {\n \"id\" : \"NEB_DIRECT\",\n \"name\" : \"North East Small Finance Bank\"\n }, {\n \"id\" : \"OBC_DIRECT\",\n \"name\" : \"PNB (Erstwhile-Oriental Bank of Commerce)\"\n }, {\n \"id\" : \"UNI_DIRECT\",\n \"name\" : \"PNB (Erstwhile-United Bank of India)\"\n }, {\n \"id\" : \"PMC_DIRECT\",\n \"name\" : \"Punjab & Maharastra Co-op Bank\"\n }, {\n \"id\" : \"PSB_DIRECT\",\n \"name\" : \"Punjab & Sind Bank\"\n }, {\n \"id\" : \"CPN_DIRECT\",\n \"name\" : \"Punjab National Bank - Corporate \"\n }, {\n \"id\" : \"PNB_DIRECT\",\n \"name\" : \"Punjab National Bank - Retail Banking\"\n }, {\n \"id\" : \"RBL_DIRECT\",\n \"name\" : \"RBL Bank Limited\"\n }, {\n \"id\" : \"SWB_DIRECT\",\n \"name\" : \"Saraswat Bank\"\n }, {\n \"id\" : \"SHB_DIRECT\",\n \"name\" : \"Shivalik Mercantile Cooperative Bank Ltd\"\n }, {\n \"id\" : \"SIB_DIRECT\",\n \"name\" : \"South Indian Bank\"\n }, {\n \"id\" : \"SCB_DIRECT\",\n \"name\" : \"Standard Chartered Bank\"\n }, {\n \"id\" : \"SBI_DIRECT\",\n \"name\" : \"State Bank of India\"\n }, {\n \"id\" : \"SRB_DIRECT\",\n \"name\" : \"Suryoday Small Finance Bank\"\n }, {\n \"id\" : \"TJB_DIRECT\",\n \"name\" : \"TJSB Bank\"\n }, {\n \"id\" : \"TNC_DIRECT\",\n \"name\" : \"Tamil Nadu State Co-operative Bank\"\n }, {\n \"id\" : \"TMB_DIRECT\",\n \"name\" : \"Tamilnad Mercantile Bank Ltd\"\n }, {\n \"id\" : \"TBB_DIRECT\",\n \"name\" : \"Thane Bharat Sahakari Bank Ltd\"\n }, {\n \"id\" : \"MSB_DIRECT\",\n \"name\" : \"The Mehsana Urban Co Op Bank Ltd\"\n }, {\n \"id\" : \"UCO_DIRECT\",\n \"name\" : \"UCO Bank\"\n }, {\n \"id\" : \"UBI_DIRECT\",\n \"name\" : \"Union Bank of India\"\n }, {\n \"id\" : \"ADB_DIRECT\",\n \"name\" : \"Union Bank of India (Erstwhile Andhra Bank)\"\n }, {\n \"id\" : \"CRP_DIRECT\",\n \"name\" : \"Union Bank of India (Erstwhile Corporation Bank)\"\n }, {\n \"id\" : \"VRB_DIRECT\",\n \"name\" : \"Varachha Co-operative Bank Limited\"\n }, {\n \"id\" : \"VJB_DIRECT\",\n \"name\" : \"Vijaya Bank\"\n }, {\n \"id\" : \"YBK_DIRECT\",\n \"name\" : \"Yes Bank\"\n }, {\n \"id\" : \"ZOB_DIRECT\",\n \"name\" : \"Zoroastrian Co-operative Bank Limited\"\n }, {\n \"id\" : \"DBS_DIRECT\",\n \"name\" : \"digibank by DBS\"\n } ],\n \"key\" : \"issuer\",\n \"type\" : \"select\"\n } ],\n \"name\" : \"Online Banking India\",\n \"type\" : \"billdesk_online\"\n }, {\n \"name\" : \"UPI\",\n \"type\" : \"billdesk_upi\"\n }, {\n \"details\" : [ {\n \"items\" : [ {\n \"id\" : \"DCW_DIRECT\",\n \"name\" : \"DCB Cippy\"\n }, {\n \"id\" : \"ICC_DIRECT\",\n \"name\" : \"ICC Cash Card\"\n }, {\n \"id\" : \"OXY_DIRECT\",\n \"name\" : \"Oxigen Wallet\"\n }, {\n \"id\" : \"PCH_DIRECT\",\n \"name\" : \"Pay World Money\"\n } ],\n \"key\" : \"issuer\",\n \"type\" : \"select\"\n } ],\n \"name\" : \"Wallets India\",\n \"type\" : \"billdesk_wallet\"\n }, {\n \"name\" : \"Blik\",\n \"type\" : \"blik\"\n }, {\n \"name\" : \"Bloemen Giftcard\",\n \"type\" : \"bloemengiftcard\"\n }, {\n \"name\" : \"Boekenbon Giftcard\",\n \"type\" : \"boekenbon\"\n }, {\n \"name\" : \"Boleto\",\n \"type\" : \"boleto\"\n }, {\n \"name\" : \"Boleto Bancario\",\n \"type\" : \"boletobancario_santander\"\n }, {\n \"name\" : \"Bradesco\",\n \"type\" : \"bradesco\"\n }, {\n \"name\" : \"Cash-Ticket\",\n \"type\" : \"cashticket\"\n }, {\n \"name\" : \"CashU\",\n \"type\" : \"cashu\"\n }, {\n \"name\" : \"CCAvenue\",\n \"type\" : \"ccavenue\"\n }, {\n \"name\" : \"Mula Checkout\",\n \"type\" : \"cellulant\"\n }, {\n \"name\" : \"Chasin Giftcard\",\n \"type\" : \"chasingiftcard\"\n }, {\n \"name\" : \"Clearpay\",\n \"type\" : \"clearpay\"\n }, {\n \"name\" : \"ClickandBuy\",\n \"type\" : \"clickandbuy\"\n }, {\n \"name\" : \"Paiement en 3 fois par Cartes Bancaires\",\n \"type\" : \"cofinoga_3xcb\"\n }, {\n \"name\" : \"Costes Giftcard\",\n \"type\" : \"costesgiftcard\"\n }, {\n \"name\" : \"custom_settlement\",\n \"type\" : \"custom_settlement\"\n }, {\n \"name\" : \"DANA\",\n \"type\" : \"dana\"\n }, {\n \"name\" : \"DineroMail\",\n \"type\" : \"dineromail\"\n }, {\n \"name\" : \"Online bank transfer.\",\n \"type\" : \"directEbanking\"\n }, {\n \"name\" : \"Direct Debit Brazil - Banco do Brazil\",\n \"type\" : \"directdebit_BR_bancodobrasil\"\n }, {\n \"name\" : \"Direct Debit Brazil - Bradesco\",\n \"type\" : \"directdebit_BR_bradesco\"\n }, {\n \"name\" : \"Direct Debit Brazil - Caixa Economica Federal\",\n \"type\" : \"directdebit_BR_caixa\"\n }, {\n \"name\" : \"Direct Debit Brazil - HSBC\",\n \"type\" : \"directdebit_BR_hsbc\"\n }, {\n \"name\" : \"Direct Debit Brazil - Itau\",\n \"type\" : \"directdebit_BR_itau\"\n }, {\n \"name\" : \"Direct Debit Brazil - Santander\",\n \"type\" : \"directdebit_BR_santander\"\n }, {\n \"name\" : \"BACS Direct Debit\",\n \"type\" : \"directdebit_GB\"\n }, {\n \"details\" : [ {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n }, {\n \"key\" : \"firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"lastName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"infix\",\n \"optional\" : true,\n \"type\" : \"text\"\n } ],\n \"name\" : \"Alfamart\",\n \"type\" : \"doku_alfamart\"\n }, {\n \"details\" : [ {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n }, {\n \"key\" : \"firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"lastName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"infix\",\n \"optional\" : true,\n \"type\" : \"text\"\n } ],\n \"name\" : \"BCA Bank Transfer\",\n \"type\" : \"doku_bca_va\"\n }, {\n \"details\" : [ {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n }, {\n \"key\" : \"firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"lastName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"infix\",\n \"optional\" : true,\n \"type\" : \"text\"\n } ],\n \"name\" : \"BNI VA\",\n \"type\" : \"doku_bni_va\"\n }, {\n \"details\" : [ {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n }, {\n \"key\" : \"firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"lastName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"infix\",\n \"optional\" : true,\n \"type\" : \"text\"\n } ],\n \"name\" : \"BRI VA\",\n \"type\" : \"doku_bri_va\"\n }, {\n \"details\" : [ {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n }, {\n \"key\" : \"firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"lastName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"infix\",\n \"optional\" : true,\n \"type\" : \"text\"\n } ],\n \"name\" : \"CIMB VA\",\n \"type\" : \"doku_cimb_va\"\n }, {\n \"details\" : [ {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n }, {\n \"key\" : \"firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"lastName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"infix\",\n \"optional\" : true,\n \"type\" : \"text\"\n } ],\n \"name\" : \"Danamon VA\",\n \"type\" : \"doku_danamon_va\"\n }, {\n \"details\" : [ {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n }, {\n \"key\" : \"firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"lastName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"infix\",\n \"optional\" : true,\n \"type\" : \"text\"\n } ],\n \"name\" : \"Indomaret\",\n \"type\" : \"doku_indomaret\"\n }, {\n \"details\" : [ {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n }, {\n \"key\" : \"firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"lastName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"infix\",\n \"optional\" : true,\n \"type\" : \"text\"\n } ],\n \"name\" : \"Mandiri VA\",\n \"type\" : \"doku_mandiri_va\"\n }, {\n \"details\" : [ {\n \"key\" : \"ovoId\",\n \"type\" : \"text\"\n } ],\n \"name\" : \"OVO\",\n \"type\" : \"doku_ovo\"\n }, {\n \"details\" : [ {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n }, {\n \"key\" : \"firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"lastName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"infix\",\n \"optional\" : true,\n \"type\" : \"text\"\n } ],\n \"name\" : \"Bank Transfer\",\n \"type\" : \"doku_permata_lite_atm\"\n }, {\n \"details\" : [ {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n }, {\n \"key\" : \"firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"lastName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"infix\",\n \"optional\" : true,\n \"type\" : \"text\"\n } ],\n \"name\" : \"DOKU wallet\",\n \"type\" : \"doku_wallet\"\n }, {\n \"details\" : [ {\n \"items\" : [ {\n \"id\" : \"66\",\n \"name\" : \"Bank Nowy BFG S.A.\"\n }, {\n \"id\" : \"92\",\n \"name\" : \"Bank Spółdzielczy w Brodnicy\"\n }, {\n \"id\" : \"11\",\n \"name\" : \"Bank transfer / postal\"\n }, {\n \"id\" : \"74\",\n \"name\" : \"Banki Spółdzielcze\"\n }, {\n \"id\" : \"73\",\n \"name\" : \"BLIK\"\n }, {\n \"id\" : \"90\",\n \"name\" : \"BNP Paribas - płacę z Pl@net\"\n }, {\n \"id\" : \"59\",\n \"name\" : \"CinkciarzPAY\"\n }, {\n \"id\" : \"87\",\n \"name\" : \"Credit Agricole PBL\"\n }, {\n \"id\" : \"83\",\n \"name\" : \"EnveloBank\"\n }, {\n \"id\" : \"76\",\n \"name\" : \"Getin Bank PBL\"\n }, {\n \"id\" : \"81\",\n \"name\" : \"Idea Cloud\"\n }, {\n \"id\" : \"7\",\n \"name\" : \"ING Corporate customers\"\n }, {\n \"id\" : \"93\",\n \"name\" : \"Kasa Stefczyka\"\n }, {\n \"id\" : \"44\",\n \"name\" : \"Millennium - Płatności Internetowe\"\n }, {\n \"id\" : \"10\",\n \"name\" : \"Millennium Corporate customers\"\n }, {\n \"id\" : \"68\",\n \"name\" : \"mRaty\"\n }, {\n \"id\" : \"1\",\n \"name\" : \"mTransfer\"\n }, {\n \"id\" : \"91\",\n \"name\" : \"Nest Bank\"\n }, {\n \"id\" : \"80\",\n \"name\" : \"Noble Pay\"\n }, {\n \"id\" : \"50\",\n \"name\" : \"Pay Way Toyota Bank\"\n }, {\n \"id\" : \"45\",\n \"name\" : \"Pay with Alior Bank\"\n }, {\n \"id\" : \"36\",\n \"name\" : \"Pekao24Przelew\"\n }, {\n \"id\" : \"70\",\n \"name\" : \"Pocztowy24\"\n }, {\n \"id\" : \"6\",\n \"name\" : \"Przelew24\"\n }, {\n \"id\" : \"46\",\n \"name\" : \"Płacę z Citi Handlowy\"\n }, {\n \"id\" : \"38\",\n \"name\" : \"Płacę z ING\"\n }, {\n \"id\" : \"2\",\n \"name\" : \"Płacę z Inteligo\"\n }, {\n \"id\" : \"4\",\n \"name\" : \"Płacę z iPKO\"\n }, {\n \"id\" : \"75\",\n \"name\" : \"Płacę z Plus Bank\"\n }, {\n \"id\" : \"51\",\n \"name\" : \"Płać z BOŚ\"\n }, {\n \"id\" : \"55\",\n \"name\" : \"Raty z Alior Bankiem PLN\"\n }, {\n \"id\" : \"89\",\n \"name\" : \"Santander\"\n }, {\n \"id\" : \"52\",\n \"name\" : \"SkyCash\"\n } ],\n \"key\" : \"issuer\",\n \"type\" : \"select\"\n } ],\n \"name\" : \"Local Polish Payment Methods\",\n \"type\" : \"dotpay\"\n }, {\n \"name\" : \"Dragonpay Prepaid Credits\",\n \"type\" : \"dragonpay_credits\"\n }, {\n \"name\" : \"Online Banking\",\n \"type\" : \"dragonpay_ebanking\"\n }, {\n \"name\" : \"GCash\",\n \"type\" : \"dragonpay_gcash\"\n }, {\n \"name\" : \"Over The Counter Banks\",\n \"type\" : \"dragonpay_otc_banking\"\n }, {\n \"name\" : \"OTC non-Bank via Dragonpay\",\n \"type\" : \"dragonpay_otc_non_banking\"\n }, {\n \"name\" : \"Convenience Stores\",\n \"type\" : \"dragonpay_otc_philippines\"\n }, {\n \"name\" : \"7/11\",\n \"type\" : \"dragonpay_seveneleven\"\n }, {\n \"name\" : \"eagleeye_voucher\",\n \"type\" : \"eagleeye_voucher\"\n }, {\n \"name\" : \"Finnish E-Banking\",\n \"type\" : \"ebanking_FI\"\n }, {\n \"name\" : \"Pay-easy ATM\",\n \"type\" : \"econtext_atm\"\n }, {\n \"name\" : \"Online Banking\",\n \"type\" : \"econtext_online\"\n }, {\n \"name\" : \"7-Eleven\",\n \"type\" : \"econtext_seven_eleven\"\n }, {\n \"name\" : \"Convenience Stores\",\n \"type\" : \"econtext_stores\"\n }, {\n \"name\" : \"eft_directdebit_CA\",\n \"type\" : \"eft_directdebit_CA\"\n }, {\n \"name\" : \"Lastschrift (ELV)\",\n \"type\" : \"elv\"\n }, {\n \"details\" : [ {\n \"items\" : [ {\n \"id\" : \"231\",\n \"name\" : \"POP Pankki\"\n }, {\n \"id\" : \"551\",\n \"name\" : \"Komerční banka\"\n }, {\n \"id\" : \"232\",\n \"name\" : \"Aktia\"\n }, {\n \"id\" : \"552\",\n \"name\" : \"Raiffeisen\"\n }, {\n \"id\" : \"233\",\n \"name\" : \"Säästöpankki\"\n }, {\n \"id\" : \"750\",\n \"name\" : \"Swedbank\"\n }, {\n \"id\" : \"211\",\n \"name\" : \"Nordea\"\n }, {\n \"id\" : \"553\",\n \"name\" : \"ČSOB\"\n }, {\n \"id\" : \"234\",\n \"name\" : \"S-Pankki\"\n }, {\n \"id\" : \"751\",\n \"name\" : \"SEB\"\n }, {\n \"id\" : \"554\",\n \"name\" : \"Moneta\"\n }, {\n \"id\" : \"235\",\n \"name\" : \"OmaSP\"\n }, {\n \"id\" : \"752\",\n \"name\" : \"Nordea\"\n }, {\n \"id\" : \"213\",\n \"name\" : \"Op-Pohjola\"\n }, {\n \"id\" : \"555\",\n \"name\" : \"UniCredit\"\n }, {\n \"id\" : \"753\",\n \"name\" : \"LHV\"\n }, {\n \"id\" : \"556\",\n \"name\" : \"Fio\"\n }, {\n \"id\" : \"557\",\n \"name\" : \"mBank\"\n }, {\n \"id\" : \"216\",\n \"name\" : \"Handelsbanken\"\n }, {\n \"id\" : \"558\",\n \"name\" : \"Air Bank\"\n }, {\n \"id\" : \"260\",\n \"name\" : \"Länsförsäkringar\"\n }, {\n \"id\" : \"240\",\n \"name\" : \"BankDeposit\"\n }, {\n \"id\" : \"265\",\n \"name\" : \"Sparbanken\"\n }, {\n \"id\" : \"640\",\n \"name\" : \"BankDeposit\"\n }, {\n \"id\" : \"200\",\n \"name\" : \"Ålandsbanken\"\n }, {\n \"id\" : \"940\",\n \"name\" : \"Swedbank\"\n }, {\n \"id\" : \"500\",\n \"name\" : \"Česká spořitelna\"\n }, {\n \"id\" : \"720\",\n \"name\" : \"Swedbank\"\n }, {\n \"id\" : \"941\",\n \"name\" : \"SEB\"\n }, {\n \"id\" : \"204\",\n \"name\" : \"Danske Bank\"\n }, {\n \"id\" : \"721\",\n \"name\" : \"SEB\"\n }, {\n \"id\" : \"942\",\n \"name\" : \"Citadele\"\n }, {\n \"id\" : \"205\",\n \"name\" : \"Handelsbanken\"\n }, {\n \"id\" : \"722\",\n \"name\" : \"DNB\"\n }, {\n \"id\" : \"943\",\n \"name\" : \"DNB\"\n }, {\n \"id\" : \"206\",\n \"name\" : \"Nordea\"\n }, {\n \"id\" : \"723\",\n \"name\" : \"Šiaulių bankas\"\n }, {\n \"id\" : \"207\",\n \"name\" : \"SEB\"\n }, {\n \"id\" : \"724\",\n \"name\" : \"Nordea\"\n }, {\n \"id\" : \"505\",\n \"name\" : \"Komerční banka\"\n }, {\n \"id\" : \"208\",\n \"name\" : \"Skandiabanken\"\n }, {\n \"id\" : \"209\",\n \"name\" : \"Swedbank\"\n } ],\n \"key\" : \"issuer\",\n \"type\" : \"select\"\n } ],\n \"name\" : \"Bank Payment\",\n \"type\" : \"entercash\"\n }, {\n \"name\" : \"Nationale Entertainment Card\",\n \"type\" : \"entertainmentcard\"\n }, {\n \"details\" : [ {\n \"items\" : [ {\n \"id\" : \"d5d5b133-1c0d-4c08-b2be-3c9b116dc326\",\n \"name\" : \"Dolomitenbank\"\n }, {\n \"id\" : \"ee9fc487-ebe0-486c-8101-17dce5141a67\",\n \"name\" : \"Raiffeissen Bankengruppe\"\n }, {\n \"id\" : \"6765e225-a0dc-4481-9666-e26303d4f221\",\n \"name\" : \"Hypo Tirol Bank AG\"\n }, {\n \"id\" : \"8b0bfeea-fbb0-4337-b3a1-0e25c0f060fc\",\n \"name\" : \"Sparda Bank Wien\"\n }, {\n \"id\" : \"1190c4d1-b37a-487e-9355-e0a067f54a9f\",\n \"name\" : \"Schoellerbank AG\"\n }, {\n \"id\" : \"e2e97aaa-de4c-4e18-9431-d99790773433\",\n \"name\" : \"Volksbank Gruppe\"\n }, {\n \"id\" : \"bb7d223a-17d5-48af-a6ef-8a2bf5a4e5d9\",\n \"name\" : \"Immo-Bank\"\n }, {\n \"id\" : \"e6819e7a-f663-414b-92ec-cf7c82d2f4e5\",\n \"name\" : \"Bank Austria\"\n }, {\n \"id\" : \"eff103e6-843d-48b7-a6e6-fbd88f511b11\",\n \"name\" : \"Easybank AG\"\n }, {\n \"id\" : \"25942cc9-617d-42a1-89ba-d1ab5a05770a\",\n \"name\" : \"VR-BankBraunau\"\n }, {\n \"id\" : \"4a0a975b-0594-4b40-9068-39f77b3a91f9\",\n \"name\" : \"Volkskreditbank\"\n }, {\n \"id\" : \"3fdc41fc-3d3d-4ee3-a1fe-cd79cfd58ea3\",\n \"name\" : \"Erste Bank und Sparkassen\"\n }, {\n \"id\" : \"ba7199cc-f057-42f2-9856-2378abf21638\",\n \"name\" : \"BAWAG P.S.K. Gruppe\"\n } ],\n \"key\" : \"issuer\",\n \"type\" : \"select\"\n } ],\n \"name\" : \"EPS\",\n \"type\" : \"eps\"\n }, {\n \"name\" : \"Expert Cadeaukaart\",\n \"type\" : \"expertgiftcard\"\n }, {\n \"details\" : [ {\n \"details\" : [ {\n \"key\" : \"firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"lastName\",\n \"type\" : \"text\"\n }, {\n \"items\" : [ {\n \"id\" : \"M\",\n \"name\" : \"male\"\n }, {\n \"id\" : \"F\",\n \"name\" : \"female\"\n } ],\n \"key\" : \"gender\",\n \"type\" : \"radio\"\n }, {\n \"key\" : \"telephoneNumber\",\n \"type\" : \"tel\"\n }, {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n } ],\n \"key\" : \"personalDetails\",\n \"type\" : \"fieldSet\"\n }, {\n \"details\" : [ {\n \"key\" : \"street\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"houseNumberOrName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"city\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"postalCode\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"stateOrProvince\",\n \"optional\" : true,\n \"type\" : \"text\"\n }, {\n \"items\" : [ {\n \"id\" : \"FR\",\n \"name\" : \"France\"\n }, {\n \"id\" : \"ES\",\n \"name\" : \"Spain\"\n } ],\n \"key\" : \"country\",\n \"type\" : \"select\"\n } ],\n \"key\" : \"billingAddress\",\n \"type\" : \"address\"\n }, {\n \"key\" : \"separateDeliveryAddress\",\n \"optional\" : true,\n \"type\" : \"boolean\",\n \"value\" : \"false\"\n }, {\n \"details\" : [ {\n \"key\" : \"street\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"houseNumberOrName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"city\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"postalCode\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"stateOrProvince\",\n \"optional\" : true,\n \"type\" : \"text\"\n }, {\n \"items\" : [ {\n \"id\" : \"FR\",\n \"name\" : \"France\"\n }, {\n \"id\" : \"ES\",\n \"name\" : \"Spain\"\n } ],\n \"key\" : \"country\",\n \"type\" : \"select\"\n } ],\n \"key\" : \"deliveryAddress\",\n \"optional\" : true,\n \"type\" : \"address\"\n } ],\n \"name\" : \"3x Oney\",\n \"type\" : \"facilypay_3x\"\n }, {\n \"details\" : [ {\n \"details\" : [ {\n \"key\" : \"firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"lastName\",\n \"type\" : \"text\"\n }, {\n \"items\" : [ {\n \"id\" : \"M\",\n \"name\" : \"male\"\n }, {\n \"id\" : \"F\",\n \"name\" : \"female\"\n } ],\n \"key\" : \"gender\",\n \"type\" : \"radio\"\n }, {\n \"key\" : \"telephoneNumber\",\n \"type\" : \"tel\"\n }, {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n } ],\n \"key\" : \"personalDetails\",\n \"type\" : \"fieldSet\"\n }, {\n \"details\" : [ {\n \"key\" : \"street\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"houseNumberOrName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"city\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"postalCode\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"stateOrProvince\",\n \"optional\" : true,\n \"type\" : \"text\"\n }, {\n \"items\" : [ {\n \"id\" : \"FR\",\n \"name\" : \"France\"\n }, {\n \"id\" : \"ES\",\n \"name\" : \"Spain\"\n } ],\n \"key\" : \"country\",\n \"type\" : \"select\"\n } ],\n \"key\" : \"billingAddress\",\n \"type\" : \"address\"\n }, {\n \"key\" : \"separateDeliveryAddress\",\n \"optional\" : true,\n \"type\" : \"boolean\",\n \"value\" : \"false\"\n }, {\n \"details\" : [ {\n \"key\" : \"street\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"houseNumberOrName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"city\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"postalCode\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"stateOrProvince\",\n \"optional\" : true,\n \"type\" : \"text\"\n }, {\n \"items\" : [ {\n \"id\" : \"FR\",\n \"name\" : \"France\"\n }, {\n \"id\" : \"ES\",\n \"name\" : \"Spain\"\n } ],\n \"key\" : \"country\",\n \"type\" : \"select\"\n } ],\n \"key\" : \"deliveryAddress\",\n \"optional\" : true,\n \"type\" : \"address\"\n } ],\n \"name\" : \"4x Oney\",\n \"type\" : \"facilypay_4x\"\n }, {\n \"name\" : \"Fashioncheque\",\n \"type\" : \"fashioncheque\"\n }, {\n \"details\" : [ {\n \"key\" : \"shopper.firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"shopper.lastName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"shopper.gender\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n }, {\n \"key\" : \"telephoneNumber\",\n \"type\" : \"tel\"\n }, {\n \"key\" : \"countryCode\",\n \"type\" : \"text\"\n } ],\n \"name\" : \"Fawry\",\n \"type\" : \"fawry\"\n }, {\n \"name\" : \"FijnCadeau\",\n \"type\" : \"fijncadeau\"\n }, {\n \"name\" : \"Fleurop Bloemenbon\",\n \"type\" : \"fleuropbloemenbon\"\n }, {\n \"name\" : \"Fonq Giftcard\",\n \"type\" : \"fonqgiftcard\"\n }, {\n \"name\" : \"Gall & Gall\",\n \"type\" : \"gallgall\"\n }, {\n \"name\" : \"GCash\",\n \"type\" : \"gcash\"\n }, {\n \"name\" : \"Generic GiftCard\",\n \"type\" : \"genericgiftcard\"\n }, {\n \"name\" : \"GiftFor2\",\n \"type\" : \"giftfor2card\"\n }, {\n \"name\" : \"Givex\",\n \"type\" : \"givex\"\n }, {\n \"name\" : \"Globe GCash\",\n \"type\" : \"globegcash\"\n }, {\n \"name\" : \"Goldsmiths Card\",\n \"type\" : \"goldsmithscard\"\n }, {\n \"name\" : \"GoPay Wallet\",\n \"type\" : \"gopay_wallet\"\n }, {\n \"name\" : \"OVO\",\n \"type\" : \"grabpay_ID\"\n }, {\n \"name\" : \"GrabPay\",\n \"type\" : \"grabpay_PH\"\n }, {\n \"name\" : \"GrabPay\",\n \"type\" : \"grabpay_SG\"\n }, {\n \"name\" : \"Hallmark Card\",\n \"type\" : \"hallmarkcard\"\n }, {\n \"name\" : \"HDFC\",\n \"type\" : \"hdfc\"\n }, {\n \"name\" : \"Hunkemoller Member Card\",\n \"type\" : \"hmclub\"\n }, {\n \"name\" : \"Hunkemoller Lingerie Card\",\n \"type\" : \"hmlingerie\"\n }, {\n \"details\" : [ {\n \"items\" : [ {\n \"id\" : \"1121\",\n \"name\" : \"Test Issuer\"\n }, {\n \"id\" : \"1154\",\n \"name\" : \"Test Issuer 5\"\n }, {\n \"id\" : \"1153\",\n \"name\" : \"Test Issuer 4\"\n }, {\n \"id\" : \"1152\",\n \"name\" : \"Test Issuer 3\"\n }, {\n \"id\" : \"1151\",\n \"name\" : \"Test Issuer 2\"\n }, {\n \"id\" : \"1162\",\n \"name\" : \"Test Issuer Cancelled\"\n }, {\n \"id\" : \"1161\",\n \"name\" : \"Test Issuer Pending\"\n }, {\n \"id\" : \"1160\",\n \"name\" : \"Test Issuer Refused\"\n }, {\n \"id\" : \"1159\",\n \"name\" : \"Test Issuer 10\"\n }, {\n \"id\" : \"1158\",\n \"name\" : \"Test Issuer 9\"\n }, {\n \"id\" : \"1157\",\n \"name\" : \"Test Issuer 8\"\n }, {\n \"id\" : \"1156\",\n \"name\" : \"Test Issuer 7\"\n }, {\n \"id\" : \"1155\",\n \"name\" : \"Test Issuer 6\"\n } ],\n \"key\" : \"issuer\",\n \"type\" : \"select\"\n } ],\n \"name\" : \"iDEAL\",\n \"type\" : \"ideal\"\n }, {\n \"name\" : \"igive\",\n \"type\" : \"igive\"\n }, {\n \"name\" : \"Korean Account Transfer (IniPay)\",\n \"type\" : \"inicisIniPay_accounttransfer\"\n }, {\n \"name\" : \"Korean Credit Cards (IniPay)\",\n \"type\" : \"inicisIniPay_creditcard\"\n }, {\n \"name\" : \"Korean Mobile Phone (IniPay)\",\n \"type\" : \"inicisIniPay_mobilephone\"\n }, {\n \"name\" : \"Korean Virtual Account (IniPay)\",\n \"type\" : \"inicisIniPay_virtualaccount\"\n }, {\n \"name\" : \"Korean Account Transfer (Mobile)\",\n \"type\" : \"inicisMobile_accounttransfer\"\n }, {\n \"name\" : \"Korean Credit Cards (Mobile)\",\n \"type\" : \"inicisMobile_creditcard\"\n }, {\n \"name\" : \"Korean Mobile Phone (Mobile)\",\n \"type\" : \"inicisMobile_mobilephone\"\n }, {\n \"name\" : \"Korean Virtual Account (Mobile)\",\n \"type\" : \"inicisMobile_virtualaccount\"\n }, {\n \"name\" : \"Korean Credit Cards\",\n \"type\" : \"inicis_creditcard\"\n }, {\n \"name\" : \"Interac® Online\",\n \"type\" : \"interac\"\n }, {\n \"name\" : \"Instant EFT\",\n \"type\" : \"ipay\"\n }, {\n \"name\" : \"iPay88\",\n \"type\" : \"ipay88\"\n }, {\n \"name\" : \"isracard\",\n \"type\" : \"isracard\"\n }, {\n \"name\" : \"Phone Payment\",\n \"type\" : \"ivr\"\n }, {\n \"name\" : \"Landline phone\",\n \"type\" : \"ivrLandline\"\n }, {\n \"name\" : \"Mobile phone\",\n \"type\" : \"ivrMobile\"\n }, {\n \"name\" : \"Kado Wereld\",\n \"type\" : \"kadowereld\"\n }, {\n \"name\" : \"KakaoPay\",\n \"type\" : \"kakaopay\"\n }, {\n \"name\" : \"Karen Millen Card\",\n \"type\" : \"karenmillen\"\n }, {\n \"name\" : \"Karen Millen GiftCard\",\n \"type\" : \"karenmillengiftcard\"\n }, {\n \"name\" : \"Bank Transfer\",\n \"type\" : \"kcp_banktransfer\"\n }, {\n \"name\" : \"Korea–issued cards\",\n \"type\" : \"kcp_creditcard\"\n }, {\n \"name\" : \"PayCo\",\n \"type\" : \"kcp_payco\"\n }, {\n \"name\" : \"Naver Pay\",\n \"type\" : \"kcp_naverpay\"\n }, {\n \"name\" : \"Virtual Account via KCP\",\n \"type\" : \"kcp_va\"\n }, {\n \"name\" : \"Pay later with Klarna.\",\n \"type\" : \"klarna\"\n }, {\n \"name\" : \"Pay over time with Klarna.\",\n \"type\" : \"klarna_account\"\n }, {\n \"name\" : \"Buy Now, Pay Later with Billie\",\n \"type\" : \"klarna_b2b\"\n }, {\n \"name\" : \"Pay now with Klarna.\",\n \"type\" : \"klarna_paynow\"\n }, {\n \"name\" : \"Leisure Card\",\n \"type\" : \"leisurecard\"\n }, {\n \"name\" : \"China Credit Card\",\n \"type\" : \"lianlianpay_creditcard\"\n }, {\n \"name\" : \"China Debit Card\",\n \"type\" : \"lianlianpay_debitcard\"\n }, {\n \"details\" : [ {\n \"key\" : \"telephoneNumber\",\n \"type\" : \"tel\"\n } ],\n \"name\" : \"China Online Banking - Credit Card\",\n \"type\" : \"lianlianpay_ebanking_credit\"\n }, {\n \"details\" : [ {\n \"items\" : [ {\n \"id\" : \"01030000\",\n \"name\" : \"Agricultural Bank of China\"\n }, {\n \"id\" : \"4031000\",\n \"name\" : \"Bank of Beijing\"\n }, {\n \"id\" : \"01040000\",\n \"name\" : \"Bank of China\"\n }, {\n \"id\" : \"03020000\",\n \"name\" : \"China Citic Bank\"\n }, {\n \"id\" : \"01050000\",\n \"name\" : \"China Construction Bank\"\n }, {\n \"id\" : \"03030000\",\n \"name\" : \"China Everbright Bank\"\n }, {\n \"id\" : \"03080000\",\n \"name\" : \"China Merchants Bank\"\n }, {\n \"id\" : \"03050000\",\n \"name\" : \"China Minsheng Banking Group\"\n }, {\n \"id\" : \"03040000\",\n \"name\" : \"Hua Xia Bank Co\"\n }, {\n \"id\" : \"01020000\",\n \"name\" : \"Industrial and Commercial Bank of China\"\n }, {\n \"id\" : \"03070000\",\n \"name\" : \"PingAn Bank\"\n }, {\n \"id\" : \"1000000\",\n \"name\" : \"Postal Savings Bank of China\"\n } ],\n \"key\" : \"issuer\",\n \"type\" : \"select\"\n }, {\n \"key\" : \"telephoneNumber\",\n \"type\" : \"tel\"\n } ],\n \"name\" : \"China Online Banking - Debit Card\",\n \"type\" : \"lianlianpay_ebanking_debit\"\n }, {\n \"details\" : [ {\n \"items\" : [ {\n \"id\" : \"01030000\",\n \"name\" : \"Agricultural Bank of China\"\n }, {\n \"id\" : \"01050000\",\n \"name\" : \"China Construction Bank\"\n }, {\n \"id\" : \"03080000\",\n \"name\" : \"China Merchants Bank\"\n }, {\n \"id\" : \"01020000\",\n \"name\" : \"Industrial and Commercial Bank of China\"\n }, {\n \"id\" : \"03100000\",\n \"name\" : \"Shanghai Pudong Development Bank\"\n } ],\n \"key\" : \"issuer\",\n \"type\" : \"select\"\n }, {\n \"key\" : \"telephoneNumber\",\n \"type\" : \"tel\"\n } ],\n \"name\" : \"China Online Banking - Enterprise\",\n \"type\" : \"lianlianpay_ebanking_enterprise\"\n }, {\n \"name\" : \"Loods5 Cadeaukaart\",\n \"type\" : \"loods5giftcard\"\n }, {\n \"name\" : \"Loods5 Tegoedbon\",\n \"type\" : \"loods5prepaidcard\"\n }, {\n \"name\" : \"Love2Shop GiftCard\",\n \"type\" : \"love2shop\"\n }, {\n \"details\" : [ {\n \"key\" : \"shopper.firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"shopper.lastName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"shopper.gender\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n }, {\n \"key\" : \"telephoneNumber\",\n \"type\" : \"tel\"\n }, {\n \"key\" : \"countryCode\",\n \"type\" : \"text\"\n } ],\n \"name\" : \"mada\",\n \"type\" : \"mada\"\n }, {\n \"name\" : \"Mappin & Webb Card\",\n \"type\" : \"mappinwebbcard\"\n }, {\n \"name\" : \"MB WAY\",\n \"type\" : \"mbway\"\n }, {\n \"details\" : [ {\n \"key\" : \"additionalData.amazonPayToken\",\n \"type\" : \"text\"\n } ],\n \"name\" : \"Amazon Pay\",\n \"supportsRecurring\" : true,\n \"type\" : \"amazonpay\"\n }, {\n \"name\" : \"Mercado Pago\",\n \"type\" : \"mercadopago\"\n }, {\n \"name\" : \"MobilePay\",\n \"type\" : \"mobilepay\"\n }, {\n \"name\" : \"AliPay via Razer Merchant Services\",\n \"type\" : \"molpay_alipay\"\n }, {\n \"name\" : \"7-Eleven\",\n \"type\" : \"molpay_cash\"\n }, {\n \"name\" : \"CIMB Virtual Account\",\n \"type\" : \"molpay_cimb_va\"\n }, {\n \"name\" : \"Malaysia E-Banking via Razer Merchant Services\",\n \"type\" : \"molpay_ebanking_MY\"\n }, {\n \"details\" : [ {\n \"items\" : [ {\n \"id\" : \"vtcpay-vietinbank\",\n \"name\" : \"Vietinbank\"\n }, {\n \"id\" : \"vtcpay-bidv\",\n \"name\" : \"BIDV\"\n }, {\n \"id\" : \"vtcpay-agribank\",\n \"name\" : \"Agribank\"\n }, {\n \"id\" : \"vtcpay-mb\",\n \"name\" : \"MB Bank\"\n }, {\n \"id\" : \"vtcpay-sacombank\",\n \"name\" : \"Sacombank\"\n }, {\n \"id\" : \"vtcpay-dongabank\",\n \"name\" : \"DongABank\"\n }, {\n \"id\" : \"vtcpay-maritimebank\",\n \"name\" : \"MaritimeBank\"\n }, {\n \"id\" : \"vtcpay-vietcombank\",\n \"name\" : \"Vietcombank\"\n }, {\n \"id\" : \"vtcpay-acb\",\n \"name\" : \"ACB\"\n }, {\n \"id\" : \"vtcpay-techcombank\",\n \"name\" : \"Techcombank\"\n } ],\n \"key\" : \"issuer\",\n \"type\" : \"select\"\n } ],\n \"name\" : \"Vietnam E-Banking\",\n \"type\" : \"molpay_ebanking_VN\"\n }, {\n \"details\" : [ {\n \"items\" : [ {\n \"id\" : \"fpx_bimb\",\n \"name\" : \"Bank Islam\"\n }, {\n \"id\" : \"fpx_uob\",\n \"name\" : \"UOB Bank\"\n }, {\n \"id\" : \"fpx_cimbclicks\",\n \"name\" : \"CIMB Clicks\"\n }, {\n \"id\" : \"fpx_kfh\",\n \"name\" : \"Kuwait Finance House\"\n }, {\n \"id\" : \"fpx_rhb\",\n \"name\" : \"RHB Now\"\n }, {\n \"id\" : \"fpx_abmb\",\n \"name\" : \"Alliance Bank\"\n }, {\n \"id\" : \"fpx_amb\",\n \"name\" : \"Am Online\"\n }, {\n \"id\" : \"fpx_hsbc\",\n \"name\" : \"HSBC\"\n }, {\n \"id\" : \"fpx_abb\",\n \"name\" : \"Affin Bank\"\n }, {\n \"id\" : \"fpx_ocbc\",\n \"name\" : \"OCBC Bank\"\n }, {\n \"id\" : \"fpx_pbb\",\n \"name\" : \"Public Bank\"\n }, {\n \"id\" : \"fpx_scb\",\n \"name\" : \"Standard Chartered Bank\"\n }, {\n \"id\" : \"fpx_bsn\",\n \"name\" : \"Bank Simpanan Nasional\"\n }, {\n \"id\" : \"fpx_mb2u\",\n \"name\" : \"Maybank2u\"\n }, {\n \"id\" : \"fpx_hlb\",\n \"name\" : \"Hong Leong Connect\"\n }, {\n \"id\" : \"fpx_bmmb\",\n \"name\" : \"Bank Muamalat\"\n }, {\n \"id\" : \"fpx_bkrm\",\n \"name\" : \"Bank Rakyat\"\n } ],\n \"key\" : \"issuer\",\n \"type\" : \"select\"\n } ],\n \"name\" : \"Malaysia E-Banking\",\n \"type\" : \"molpay_ebanking_fpx_MY\"\n }, {\n \"name\" : \"eNETS Debit\",\n \"type\" : \"molpay_enetsd\"\n }, {\n \"name\" : \"epay\",\n \"type\" : \"molpay_epay\"\n }, {\n \"name\" : \"Esapay\",\n \"type\" : \"molpay_esapay\"\n }, {\n \"name\" : \"MyClear FPX\",\n \"type\" : \"molpay_fpx\"\n }, {\n \"name\" : \"Maybank2u\",\n \"type\" : \"molpay_maybank2u\"\n }, {\n \"name\" : \"Nganluong\",\n \"type\" : \"molpay_nganluong\"\n }, {\n \"name\" : \"Convenience Stores Thailand\",\n \"type\" : \"molpay_paysbuy\"\n }, {\n \"name\" : \"MOLPoints\",\n \"type\" : \"molpay_points\"\n }, {\n \"name\" : \"RHB Now\",\n \"type\" : \"molpay_rhb\"\n }, {\n \"name\" : \"SAM by SingPost\",\n \"type\" : \"molpay_singpost\"\n }, {\n \"name\" : \"MOLWallet\",\n \"type\" : \"molpay_wallet\"\n }, {\n \"name\" : \"MoMo ATM\",\n \"type\" : \"momo_atm\"\n }, {\n \"name\" : \"Momo Wallet\",\n \"type\" : \"momo_wallet\"\n }, {\n \"name\" : \"Moneybookers\",\n \"type\" : \"moneybookers\"\n }, {\n \"name\" : \"Multibanco\",\n \"type\" : \"multibanco\"\n }, {\n \"name\" : \"De Nationale Musicalcard\",\n \"type\" : \"musicalcard\"\n }, {\n \"name\" : \"Nationale Bioscoopbon\",\n \"type\" : \"nationalebioscoopbon\"\n }, {\n \"name\" : \"Nationale Tuinbon\",\n \"type\" : \"nationaletuinbon\"\n }, {\n \"name\" : \"Nationale Verwen Cadeaubon\",\n \"type\" : \"nationaleverwencadeaubon\"\n }, {\n \"name\" : \"BankAxess\",\n \"type\" : \"netaxept_bankaxess\"\n }, {\n \"name\" : \"NETELLER\",\n \"type\" : \"neteller\"\n }, {\n \"name\" : \"Onebip\",\n \"type\" : \"onebip\"\n }, {\n \"name\" : \"One Two Three\",\n \"type\" : \"onetwothree\"\n }, {\n \"name\" : \"Online Banking PL\",\n \"type\" : \"onlineBanking_PL\"\n }, {\n \"details\" : [ {\n \"items\" : [ {\n \"id\" : \"1\",\n \"name\" : \"Model Bank v2\"\n } ],\n \"key\" : \"issuer\",\n \"type\" : \"select\"\n } ],\n \"name\" : \"Online banking\",\n \"type\" : \"openbanking_UK\"\n }, {\n \"name\" : \"Oxxo\",\n \"type\" : \"oxxo\"\n }, {\n \"name\" : \"Pathe Giftcard\",\n \"type\" : \"pathegiftcard\"\n }, {\n \"name\" : \"PayBright\",\n \"type\" : \"paybright\"\n }, {\n \"name\" : \"Maya Wallet\",\n \"type\" : \"paymaya_wallet\"\n }, {\n \"name\" : \"PayPal\",\n \"type\" : \"paypal\"\n }, {\n \"name\" : \"Paysafecard\",\n \"type\" : \"paysafecard\"\n }, {\n \"name\" : \"Payshop\",\n \"type\" : \"payshop\"\n }, {\n \"name\" : \"PayD AMT via Paythru\",\n \"type\" : \"paythru_amt\"\n }, {\n \"name\" : \"EFT via Paythru\",\n \"type\" : \"paythru_eft\"\n }, {\n \"name\" : \"PayTM\",\n \"type\" : \"paytm\"\n }, {\n \"details\" : [ {\n \"key\" : \"virtualPaymentAddress\",\n \"type\" : \"text\"\n } ],\n \"name\" : \"PayU UPI\",\n \"type\" : \"payu_IN_upi\"\n }, {\n \"name\" : \"EFT Pro via PayU\",\n \"type\" : \"payu_ZA_eftpro\"\n }, {\n \"details\" : [ {\n \"key\" : \"additionalData.paywithgoogle.token\",\n \"type\" : \"payWithGoogleToken\"\n } ],\n \"name\" : \"Google Pay\",\n \"type\" : \"paywithgoogle\"\n }, {\n \"name\" : \"pix\",\n \"type\" : \"pix\"\n }, {\n \"name\" : \"Plastix\",\n \"type\" : \"plastix\"\n }, {\n \"name\" : \"Pluim\",\n \"type\" : \"pluimgiftcard\"\n }, {\n \"name\" : \"Podium Card\",\n \"type\" : \"podiumcard\"\n }, {\n \"name\" : \"POLi\",\n \"type\" : \"poli\"\n }, {\n \"name\" : \"PPS\",\n \"type\" : \"pps\"\n }, {\n \"name\" : \"Primera Cadeaukaart\",\n \"type\" : \"primeracadeaucard\"\n }, {\n \"name\" : \"Illicado Gift Card\",\n \"type\" : \"prosodie_illicado\"\n }, {\n \"name\" : \"PSE\",\n \"type\" : \"pse\"\n }, {\n \"details\" : [ {\n \"items\" : [ {\n \"id\" : \"+7\",\n \"name\" : \"RU\"\n }, {\n \"id\" : \"+9955\",\n \"name\" : \"GE\"\n }, {\n \"id\" : \"+507\",\n \"name\" : \"PA\"\n }, {\n \"id\" : \"+44\",\n \"name\" : \"GB\"\n }, {\n \"id\" : \"+992\",\n \"name\" : \"TJ\"\n }, {\n \"id\" : \"+370\",\n \"name\" : \"LT\"\n }, {\n \"id\" : \"+972\",\n \"name\" : \"IL\"\n }, {\n \"id\" : \"+996\",\n \"name\" : \"KG\"\n }, {\n \"id\" : \"+380\",\n \"name\" : \"UA\"\n }, {\n \"id\" : \"+84\",\n \"name\" : \"VN\"\n }, {\n \"id\" : \"+90\",\n \"name\" : \"TR\"\n }, {\n \"id\" : \"+994\",\n \"name\" : \"AZ\"\n }, {\n \"id\" : \"+374\",\n \"name\" : \"AM\"\n }, {\n \"id\" : \"+371\",\n \"name\" : \"LV\"\n }, {\n \"id\" : \"+91\",\n \"name\" : \"IN\"\n }, {\n \"id\" : \"+66\",\n \"name\" : \"TH\"\n }, {\n \"id\" : \"+373\",\n \"name\" : \"MD\"\n }, {\n \"id\" : \"+1\",\n \"name\" : \"US\"\n }, {\n \"id\" : \"+81\",\n \"name\" : \"JP\"\n }, {\n \"id\" : \"+998\",\n \"name\" : \"UZ\"\n }, {\n \"id\" : \"+77\",\n \"name\" : \"KZ\"\n }, {\n \"id\" : \"+375\",\n \"name\" : \"BY\"\n }, {\n \"id\" : \"+372\",\n \"name\" : \"EE\"\n }, {\n \"id\" : \"+40\",\n \"name\" : \"RO\"\n }, {\n \"id\" : \"+82\",\n \"name\" : \"KR\"\n } ],\n \"key\" : \"qiwiwallet.telephoneNumberPrefix\",\n \"type\" : \"select\"\n }, {\n \"key\" : \"qiwiwallet.telephoneNumber\",\n \"type\" : \"text\"\n } ],\n \"name\" : \"Qiwi Wallet\",\n \"type\" : \"qiwiwallet\"\n }, {\n \"name\" : \"RatePay Invoice\",\n \"type\" : \"ratepay\"\n }, {\n \"name\" : \"RatePay Direct Debit\",\n \"type\" : \"ratepay_directdebit\"\n }, {\n \"name\" : \"Rituals Giftcard\",\n \"type\" : \"rituals\"\n }, {\n \"name\" : \"Rob Peetoom Giftcard\",\n \"type\" : \"robpeetoomgiftcard\"\n }, {\n \"name\" : \"SafetyPay\",\n \"type\" : \"safetypay\"\n }, {\n \"name\" : \"SafetyPay Cash\",\n \"type\" : \"safetypay_cash\"\n }, {\n \"name\" : \"Shoes&Accessories Cadeau\",\n \"type\" : \"sagiftcard\"\n }, {\n \"name\" : \"Score Giftcard\",\n \"type\" : \"scoregiftcard\"\n }, {\n \"name\" : \"SEB Direktbetalning\",\n \"type\" : \"sebdirectpayment\"\n }, {\n \"details\" : [ {\n \"key\" : \"sepa.ownerName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"sepa.ibanNumber\",\n \"type\" : \"text\"\n } ],\n \"name\" : \"SEPA Direct Debit\",\n \"type\" : \"sepadirectdebit\"\n }, {\n \"name\" : \"7-Eleven\",\n \"type\" : \"seveneleven\"\n }, {\n \"name\" : \"Premium SMS\",\n \"type\" : \"sms\"\n }, {\n \"name\" : \"SVS\",\n \"type\" : \"svs\"\n }, {\n \"name\" : \"Swish\",\n \"type\" : \"swish\"\n }, {\n \"name\" : \"TCS Test GiftCard\",\n \"type\" : \"tcstestgiftcard\"\n }, {\n \"name\" : \"TenPay\",\n \"type\" : \"tenpay\"\n }, {\n \"name\" : \"The Sting Giftcard\",\n \"type\" : \"thestinggiftcard\"\n }, {\n \"name\" : \"TrueMoney\",\n \"type\" : \"truemoney\"\n }, {\n \"name\" : \"Trustly\",\n \"type\" : \"trustly\"\n }, {\n \"name\" : \"Online Banking by Trustpay\",\n \"type\" : \"trustpay\"\n }, {\n \"name\" : \"TWINT\",\n \"type\" : \"twint\"\n }, {\n \"name\" : \"Ukash\",\n \"type\" : \"ukash\"\n }, {\n \"name\" : \"UnionPay\",\n \"type\" : \"unionpay\"\n }, {\n \"details\" : [ {\n \"key\" : \"virtualPaymentAddress\",\n \"type\" : \"text\"\n } ],\n \"name\" : \"UPI Collect\",\n \"type\" : \"upi_collect\"\n }, {\n \"name\" : \"Valuelink\",\n \"type\" : \"valuelink\"\n }, {\n \"name\" : \"V&D Cadeaukaart\",\n \"type\" : \"vdcadeaucard\"\n }, {\n \"details\" : [ {\n \"key\" : \"telephoneNumber\",\n \"optional\" : true,\n \"type\" : \"tel\"\n } ],\n \"name\" : \"Vipps\",\n \"type\" : \"vipps\"\n }, {\n \"details\" : [ {\n \"key\" : \"additionalData.visacheckout.callId\",\n \"type\" : \"text\"\n } ],\n \"name\" : \"Visa Checkout\",\n \"type\" : \"visacheckout\"\n }, {\n \"name\" : \"VVV Cadeaubon\",\n \"type\" : \"vvvcadeaubon\"\n }, {\n \"name\" : \"VVV Giftcard\",\n \"type\" : \"vvvgiftcard\"\n }, {\n \"name\" : \"Webshop Giftcard\",\n \"type\" : \"webshopgiftcard\"\n }, {\n \"name\" : \"WeChat Pay\",\n \"type\" : \"wechatpayMiniProgram\"\n }, {\n \"name\" : \"WeChat Pay\",\n \"type\" : \"wechatpayQR\"\n }, {\n \"name\" : \"WeChat Pay\",\n \"type\" : \"wechatpayWeb\"\n }, {\n \"name\" : \"WE Fashion Giftcard\",\n \"type\" : \"wefashiongiftcard\"\n }, {\n \"name\" : \"Western Union\",\n \"type\" : \"westernunion\"\n }, {\n \"name\" : \"Winkel Cheque\",\n \"type\" : \"winkelcheque\"\n }, {\n \"name\" : \"WOS Card\",\n \"type\" : \"woscard\"\n }, {\n \"name\" : \"Alfa-Click\",\n \"type\" : \"yandex_alfaclick\"\n }, {\n \"name\" : \"Pay using bank card\",\n \"type\" : \"yandex_bank_card\"\n }, {\n \"name\" : \"Cash terminals\",\n \"type\" : \"yandex_cash\"\n }, {\n \"name\" : \"Pay using installments\",\n \"type\" : \"yandex_installments\"\n }, {\n \"name\" : \"YooMoney\",\n \"type\" : \"yandex_money\"\n }, {\n \"name\" : \"Promsvyazbank\",\n \"type\" : \"yandex_promsvyazbank\"\n }, {\n \"name\" : \"SberPay\",\n \"type\" : \"yandex_sberbank\"\n }, {\n \"name\" : \"WebMoney\",\n \"type\" : \"yandex_webmoney\"\n }, {\n \"name\" : \"Your Gift\",\n \"type\" : \"yourgift\"\n }, {\n \"name\" : \"Zip\",\n \"type\" : \"zip\"\n } ]\n}", + "originalRequest": { + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentMethods", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentMethods" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Queries the available payment methods for a transaction based on the transaction context (like amount, country, and currency). Besides giving back a list of the available payment methods, the response also returns which input details you need to collect from the shopper (to be submitted to `/payments`). Although we highly recommend using this endpoint to ensure you are always offering the most up-to-date list of payment methods, its usage is optional. You can, for example, also cache the `/paymentMethods` response and update it once a week." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentMethods", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentMethods" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Queries the available payment methods for a transaction based on the transaction context (like amount, country, and currency). Besides giving back a list of the available payment methods, the response also returns which input details you need to collect from the shopper (to be submitted to `/payments`). Although we highly recommend using this endpoint to ensure you are always offering the most up-to-date list of payment methods, its usage is optional. You can, for example, also cache the `/paymentMethods` response and update it once a week." - } + ] }, { "name": "Get payment methods based on the country and amount", "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 + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl-NL\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentMethods", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentMethods" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Queries the available payment methods for a transaction based on the transaction context (like amount, country, and currency). Besides giving back a list of the available payment methods, the response also returns which input details you need to collect from the shopper (to be submitted to `/payments`). Although we highly recommend using this endpoint to ensure you are always offering the most up-to-date list of payment methods, its usage is optional. You can, for example, also cache the `/paymentMethods` response and update it once a week." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"paymentMethods\" : [ {\n \"details\" : [ {\n \"items\" : [ {\n \"id\" : \"1121\",\n \"name\" : \"Test Issuer\"\n }, {\n \"id\" : \"1154\",\n \"name\" : \"Test Issuer 5\"\n }, {\n \"id\" : \"1153\",\n \"name\" : \"Test Issuer 4\"\n }, {\n \"id\" : \"1152\",\n \"name\" : \"Test Issuer 3\"\n }, {\n \"id\" : \"1151\",\n \"name\" : \"Test Issuer 2\"\n }, {\n \"id\" : \"1162\",\n \"name\" : \"Test Issuer Cancelled\"\n }, {\n \"id\" : \"1161\",\n \"name\" : \"Test Issuer Pending\"\n }, {\n \"id\" : \"1160\",\n \"name\" : \"Test Issuer Refused\"\n }, {\n \"id\" : \"1159\",\n \"name\" : \"Test Issuer 10\"\n }, {\n \"id\" : \"1158\",\n \"name\" : \"Test Issuer 9\"\n }, {\n \"id\" : \"1157\",\n \"name\" : \"Test Issuer 8\"\n }, {\n \"id\" : \"1156\",\n \"name\" : \"Test Issuer 7\"\n }, {\n \"id\" : \"1155\",\n \"name\" : \"Test Issuer 6\"\n } ],\n \"key\" : \"issuer\",\n \"type\" : \"select\"\n } ],\n \"name\" : \"iDEAL\",\n \"type\" : \"ideal\"\n }, {\n \"details\" : [ {\n \"key\" : \"encryptedCardNumber\",\n \"type\" : \"cardToken\"\n }, {\n \"key\" : \"encryptedSecurityCode\",\n \"type\" : \"cardToken\"\n }, {\n \"key\" : \"encryptedExpiryMonth\",\n \"type\" : \"cardToken\"\n }, {\n \"key\" : \"encryptedExpiryYear\",\n \"type\" : \"cardToken\"\n }, {\n \"key\" : \"holderName\",\n \"optional\" : true,\n \"type\" : \"text\"\n } ],\n \"name\" : \"Hitelkártya\",\n \"type\" : \"scheme\"\n }, {\n \"name\" : \"PayPal\",\n \"type\" : \"paypal\"\n }, {\n \"details\" : [ {\n \"details\" : [ {\n \"key\" : \"firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"lastName\",\n \"type\" : \"text\"\n }, {\n \"items\" : [ {\n \"id\" : \"M\",\n \"name\" : \"male\"\n }, {\n \"id\" : \"F\",\n \"name\" : \"female\"\n } ],\n \"key\" : \"gender\",\n \"type\" : \"radio\"\n }, {\n \"key\" : \"dateOfBirth\",\n \"type\" : \"date\"\n }, {\n \"key\" : \"telephoneNumber\",\n \"type\" : \"tel\"\n }, {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n } ],\n \"key\" : \"personalDetails\",\n \"type\" : \"fieldSet\"\n }, {\n \"details\" : [ {\n \"key\" : \"street\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"houseNumberOrName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"city\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"postalCode\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"stateOrProvince\",\n \"optional\" : true,\n \"type\" : \"text\"\n }, {\n \"items\" : [ {\n \"id\" : \"NL\",\n \"name\" : \"Netherlands\"\n }, {\n \"id\" : \"BE\",\n \"name\" : \"Belgium\"\n } ],\n \"key\" : \"country\",\n \"type\" : \"select\",\n \"value\" : \"NL\"\n } ],\n \"key\" : \"billingAddress\",\n \"type\" : \"address\"\n }, {\n \"key\" : \"separateDeliveryAddress\",\n \"optional\" : true,\n \"type\" : \"boolean\",\n \"value\" : \"false\"\n }, {\n \"details\" : [ {\n \"key\" : \"street\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"houseNumberOrName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"city\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"postalCode\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"stateOrProvince\",\n \"optional\" : true,\n \"type\" : \"text\"\n }, {\n \"items\" : [ {\n \"id\" : \"NL\",\n \"name\" : \"Netherlands\"\n }, {\n \"id\" : \"BE\",\n \"name\" : \"Belgium\"\n } ],\n \"key\" : \"country\",\n \"type\" : \"select\",\n \"value\" : \"NL\"\n } ],\n \"key\" : \"deliveryAddress\",\n \"optional\" : true,\n \"type\" : \"address\"\n } ],\n \"name\" : \"AfterPay Invoice\",\n \"type\" : \"afterpay_default\"\n }, {\n \"name\" : \"Pay later with Klarna.\",\n \"type\" : \"klarna\"\n }, {\n \"details\" : [ {\n \"key\" : \"sepa.ownerName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"sepa.ibanNumber\",\n \"type\" : \"text\"\n } ],\n \"name\" : \"SEPA Direct Debit\",\n \"type\" : \"sepadirectdebit\"\n }, {\n \"name\" : \"Paysafecard\",\n \"type\" : \"paysafecard\"\n }, {\n \"name\" : \"Bijenkorf Cadeaucard\",\n \"type\" : \"bijcadeaucard\"\n }, {\n \"name\" : \"Fonq Giftcard\",\n \"type\" : \"fonqgiftcard\"\n }, {\n \"name\" : \"Bank Transfer (NL)\",\n \"type\" : \"bankTransfer_NL\"\n }, {\n \"name\" : \"Pathe Giftcard\",\n \"type\" : \"pathegiftcard\"\n }, {\n \"name\" : \"VVV Giftcard\",\n \"type\" : \"vvvgiftcard\"\n }, {\n \"name\" : \"Podium Card\",\n \"type\" : \"podiumcard\"\n }, {\n \"name\" : \"RatePay Direct Debit\",\n \"type\" : \"ratepay_directdebit\"\n }, {\n \"name\" : \"Rituals Giftcard\",\n \"type\" : \"rituals\"\n }, {\n \"name\" : \"Hunkemoller Lingerie Card\",\n \"type\" : \"hmlingerie\"\n }, {\n \"name\" : \"Primera Cadeaukaart\",\n \"type\" : \"primeracadeaucard\"\n }, {\n \"name\" : \"Fashioncheque\",\n \"type\" : \"fashioncheque\"\n }, {\n \"name\" : \"NETELLER\",\n \"type\" : \"neteller\"\n }, {\n \"name\" : \"Adyen Voucher\",\n \"type\" : \"adyen_test_voucher\"\n }, {\n \"name\" : \"AfterPay B2B\",\n \"type\" : \"afterpay_b2b\"\n }, {\n \"name\" : \"AfterPay DirectDebit\",\n \"type\" : \"afterpay_directdebit\"\n }, {\n \"name\" : \"AliPay\",\n \"type\" : \"alipay\"\n }, {\n \"name\" : \"AliPay\",\n \"type\" : \"alipay_wap\"\n }, {\n \"details\" : [ {\n \"key\" : \"additionalData.androidpay.token\",\n \"type\" : \"androidPayToken\"\n } ],\n \"name\" : \"Android Pay\",\n \"type\" : \"androidpay\"\n }, {\n \"details\" : [ {\n \"key\" : \"additionalData.applepay.token\",\n \"type\" : \"applePayToken\"\n } ],\n \"name\" : \"Apple Pay\",\n \"type\" : \"applepay\"\n }, {\n \"name\" : \"Baby Gift Card\",\n \"type\" : \"babygiftcard\"\n }, {\n \"name\" : \"SEPA Bank Transfer\",\n \"type\" : \"bankTransfer_IBAN\"\n }, {\n \"name\" : \"Bloemen Giftcard\",\n \"type\" : \"bloemengiftcard\"\n }, {\n \"name\" : \"Boekenbon Giftcard\",\n \"type\" : \"boekenbon\"\n }, {\n \"name\" : \"Cash-Ticket\",\n \"type\" : \"cashticket\"\n }, {\n \"name\" : \"Chasin Giftcard\",\n \"type\" : \"chasingiftcard\"\n }, {\n \"name\" : \"ClickandBuy\",\n \"type\" : \"clickandbuy\"\n }, {\n \"name\" : \"Costes Giftcard\",\n \"type\" : \"costesgiftcard\"\n }, {\n \"name\" : \"custom_settlement\",\n \"type\" : \"custom_settlement\"\n }, {\n \"name\" : \"eft_directdebit_CA\",\n \"type\" : \"eft_directdebit_CA\"\n }, {\n \"name\" : \"Nationale Entertainment Card\",\n \"type\" : \"entertainmentcard\"\n }, {\n \"name\" : \"Expert Cadeaukaart\",\n \"type\" : \"expertgiftcard\"\n }, {\n \"name\" : \"FijnCadeau\",\n \"type\" : \"fijncadeau\"\n }, {\n \"name\" : \"Fleurop Bloemenbon\",\n \"type\" : \"fleuropbloemenbon\"\n }, {\n \"name\" : \"Gall & Gall\",\n \"type\" : \"gallgall\"\n }, {\n \"name\" : \"Generic GiftCard\",\n \"type\" : \"genericgiftcard\"\n }, {\n \"name\" : \"GiftFor2\",\n \"type\" : \"giftfor2card\"\n }, {\n \"name\" : \"Givex\",\n \"type\" : \"givex\"\n }, {\n \"name\" : \"Goldsmiths Card\",\n \"type\" : \"goldsmithscard\"\n }, {\n \"name\" : \"Hunkemoller Member Card\",\n \"type\" : \"hmclub\"\n }, {\n \"name\" : \"Phone Payment\",\n \"type\" : \"ivr\"\n }, {\n \"name\" : \"Landline phone\",\n \"type\" : \"ivrLandline\"\n }, {\n \"name\" : \"Mobile phone\",\n \"type\" : \"ivrMobile\"\n }, {\n \"name\" : \"Kado Wereld\",\n \"type\" : \"kadowereld\"\n }, {\n \"name\" : \"Karen Millen GiftCard\",\n \"type\" : \"karenmillengiftcard\"\n }, {\n \"name\" : \"Leisure Card\",\n \"type\" : \"leisurecard\"\n }, {\n \"name\" : \"Loods5 Cadeaukaart\",\n \"type\" : \"loods5giftcard\"\n }, {\n \"name\" : \"Loods5 Tegoedbon\",\n \"type\" : \"loods5prepaidcard\"\n }, {\n \"details\" : [ {\n \"key\" : \"additionalData.amazonPayToken\",\n \"type\" : \"text\"\n } ],\n \"name\" : \"Amazon Pay\",\n \"supportsRecurring\" : true,\n \"type\" : \"amazonpay\"\n }, {\n \"name\" : \"MOLPoints\",\n \"type\" : \"molpay_points\"\n }, {\n \"name\" : \"Moneybookers\",\n \"type\" : \"moneybookers\"\n }, {\n \"name\" : \"De Nationale Musicalcard\",\n \"type\" : \"musicalcard\"\n }, {\n \"name\" : \"Nationale Bioscoopbon\",\n \"type\" : \"nationalebioscoopbon\"\n }, {\n \"name\" : \"Nationale Tuinbon\",\n \"type\" : \"nationaletuinbon\"\n }, {\n \"name\" : \"Nationale Verwen Cadeaubon\",\n \"type\" : \"nationaleverwencadeaubon\"\n }, {\n \"name\" : \"Onebip\",\n \"type\" : \"onebip\"\n }, {\n \"details\" : [ {\n \"key\" : \"additionalData.paywithgoogle.token\",\n \"type\" : \"payWithGoogleToken\"\n } ],\n \"name\" : \"Google Pay\",\n \"type\" : \"paywithgoogle\"\n }, {\n \"name\" : \"Plastix\",\n \"type\" : \"plastix\"\n }, {\n \"name\" : \"Pluim\",\n \"type\" : \"pluimgiftcard\"\n }, {\n \"name\" : \"Illicado Gift Card\",\n \"type\" : \"prosodie_illicado\"\n }, {\n \"name\" : \"RatePay Invoice\",\n \"type\" : \"ratepay\"\n }, {\n \"name\" : \"Rob Peetoom Giftcard\",\n \"type\" : \"robpeetoomgiftcard\"\n }, {\n \"name\" : \"Shoes&Accessories Cadeau\",\n \"type\" : \"sagiftcard\"\n }, {\n \"name\" : \"Score Giftcard\",\n \"type\" : \"scoregiftcard\"\n }, {\n \"name\" : \"Premium SMS\",\n \"type\" : \"sms\"\n }, {\n \"name\" : \"SVS\",\n \"type\" : \"svs\"\n }, {\n \"name\" : \"TCS Test GiftCard\",\n \"type\" : \"tcstestgiftcard\"\n }, {\n \"name\" : \"The Sting Giftcard\",\n \"type\" : \"thestinggiftcard\"\n }, {\n \"name\" : \"Ukash\",\n \"type\" : \"ukash\"\n }, {\n \"name\" : \"UnionPay\",\n \"type\" : \"unionpay\"\n }, {\n \"name\" : \"Valuelink\",\n \"type\" : \"valuelink\"\n }, {\n \"name\" : \"V&D Cadeaukaart\",\n \"type\" : \"vdcadeaucard\"\n }, {\n \"details\" : [ {\n \"key\" : \"additionalData.visacheckout.callId\",\n \"type\" : \"text\"\n } ],\n \"name\" : \"Visa Checkout\",\n \"type\" : \"visacheckout\"\n }, {\n \"name\" : \"VVV Cadeaubon\",\n \"type\" : \"vvvcadeaubon\"\n }, {\n \"name\" : \"Webshop Giftcard\",\n \"type\" : \"webshopgiftcard\"\n }, {\n \"name\" : \"WE Fashion Giftcard\",\n \"type\" : \"wefashiongiftcard\"\n }, {\n \"name\" : \"Western Union\",\n \"type\" : \"westernunion\"\n }, {\n \"name\" : \"Winkel Cheque\",\n \"type\" : \"winkelcheque\"\n }, {\n \"name\" : \"Your Gift\",\n \"type\" : \"yourgift\"\n } ]\n}", + "originalRequest": { + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl-NL\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentMethods", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentMethods" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Queries the available payment methods for a transaction based on the transaction context (like amount, country, and currency). Besides giving back a list of the available payment methods, the response also returns which input details you need to collect from the shopper (to be submitted to `/payments`). Although we highly recommend using this endpoint to ensure you are always offering the most up-to-date list of payment methods, its usage is optional. You can, for example, also cache the `/paymentMethods` response and update it once a week." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl-NL\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n }\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentMethods", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentMethods" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Queries the available payment methods for a transaction based on the transaction context (like amount, country, and currency). Besides giving back a list of the available payment methods, the response also returns which input details you need to collect from the shopper (to be submitted to `/payments`). Although we highly recommend using this endpoint to ensure you are always offering the most up-to-date list of payment methods, its usage is optional. You can, for example, also cache the `/paymentMethods` response and update it once a week." - } + ] }, { "name": "Get payment methods including stored card details", "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 + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"countryCode\" : \"NL\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentMethods", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentMethods" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Queries the available payment methods for a transaction based on the transaction context (like amount, country, and currency). Besides giving back a list of the available payment methods, the response also returns which input details you need to collect from the shopper (to be submitted to `/payments`). Although we highly recommend using this endpoint to ensure you are always offering the most up-to-date list of payment methods, its usage is optional. You can, for example, also cache the `/paymentMethods` response and update it once a week." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"paymentMethods\" : [ {\n \"details\" : [ {\n \"items\" : [ {\n \"id\" : \"1121\",\n \"name\" : \"Test Issuer\"\n }, {\n \"id\" : \"1154\",\n \"name\" : \"Test Issuer 5\"\n }, {\n \"id\" : \"1153\",\n \"name\" : \"Test Issuer 4\"\n }, {\n \"id\" : \"1152\",\n \"name\" : \"Test Issuer 3\"\n }, {\n \"id\" : \"1151\",\n \"name\" : \"Test Issuer 2\"\n }, {\n \"id\" : \"1162\",\n \"name\" : \"Test Issuer Cancelled\"\n }, {\n \"id\" : \"1161\",\n \"name\" : \"Test Issuer Pending\"\n }, {\n \"id\" : \"1160\",\n \"name\" : \"Test Issuer Refused\"\n }, {\n \"id\" : \"1159\",\n \"name\" : \"Test Issuer 10\"\n }, {\n \"id\" : \"1158\",\n \"name\" : \"Test Issuer 9\"\n }, {\n \"id\" : \"1157\",\n \"name\" : \"Test Issuer 8\"\n }, {\n \"id\" : \"1156\",\n \"name\" : \"Test Issuer 7\"\n }, {\n \"id\" : \"1155\",\n \"name\" : \"Test Issuer 6\"\n } ],\n \"key\" : \"issuer\",\n \"type\" : \"select\"\n } ],\n \"name\" : \"iDEAL\",\n \"type\" : \"ideal\"\n }, {\n \"details\" : [ {\n \"key\" : \"encryptedCardNumber\",\n \"type\" : \"cardToken\"\n }, {\n \"key\" : \"encryptedSecurityCode\",\n \"type\" : \"cardToken\"\n }, {\n \"key\" : \"encryptedExpiryMonth\",\n \"type\" : \"cardToken\"\n }, {\n \"key\" : \"encryptedExpiryYear\",\n \"type\" : \"cardToken\"\n }, {\n \"key\" : \"holderName\",\n \"optional\" : true,\n \"type\" : \"text\"\n } ],\n \"name\" : \"Credit Card\",\n \"type\" : \"scheme\"\n }, {\n \"name\" : \"PayPal\",\n \"type\" : \"paypal\"\n }, {\n \"details\" : [ {\n \"details\" : [ {\n \"key\" : \"firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"lastName\",\n \"type\" : \"text\"\n }, {\n \"items\" : [ {\n \"id\" : \"M\",\n \"name\" : \"male\"\n }, {\n \"id\" : \"F\",\n \"name\" : \"female\"\n } ],\n \"key\" : \"gender\",\n \"type\" : \"radio\"\n }, {\n \"key\" : \"dateOfBirth\",\n \"type\" : \"date\"\n }, {\n \"key\" : \"telephoneNumber\",\n \"type\" : \"tel\"\n }, {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n } ],\n \"key\" : \"personalDetails\",\n \"type\" : \"fieldSet\"\n }, {\n \"details\" : [ {\n \"key\" : \"street\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"houseNumberOrName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"city\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"postalCode\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"stateOrProvince\",\n \"optional\" : true,\n \"type\" : \"text\"\n }, {\n \"items\" : [ {\n \"id\" : \"NL\",\n \"name\" : \"Netherlands\"\n }, {\n \"id\" : \"BE\",\n \"name\" : \"Belgium\"\n } ],\n \"key\" : \"country\",\n \"type\" : \"select\",\n \"value\" : \"NL\"\n } ],\n \"key\" : \"billingAddress\",\n \"type\" : \"address\"\n }, {\n \"key\" : \"separateDeliveryAddress\",\n \"optional\" : true,\n \"type\" : \"boolean\",\n \"value\" : \"false\"\n }, {\n \"details\" : [ {\n \"key\" : \"street\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"houseNumberOrName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"city\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"postalCode\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"stateOrProvince\",\n \"optional\" : true,\n \"type\" : \"text\"\n }, {\n \"items\" : [ {\n \"id\" : \"NL\",\n \"name\" : \"Netherlands\"\n }, {\n \"id\" : \"BE\",\n \"name\" : \"Belgium\"\n } ],\n \"key\" : \"country\",\n \"type\" : \"select\",\n \"value\" : \"NL\"\n } ],\n \"key\" : \"deliveryAddress\",\n \"optional\" : true,\n \"type\" : \"address\"\n } ],\n \"name\" : \"AfterPay Invoice\",\n \"type\" : \"afterpay_default\"\n }, {\n \"name\" : \"Pay later with Klarna.\",\n \"type\" : \"klarna\"\n }, {\n \"details\" : [ {\n \"key\" : \"sepa.ownerName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"sepa.ibanNumber\",\n \"type\" : \"text\"\n } ],\n \"name\" : \"SEPA Direct Debit\",\n \"type\" : \"sepadirectdebit\"\n }, {\n \"name\" : \"Paysafecard\",\n \"type\" : \"paysafecard\"\n }, {\n \"name\" : \"Bijenkorf Cadeaucard\",\n \"type\" : \"bijcadeaucard\"\n }, {\n \"name\" : \"Fonq Giftcard\",\n \"type\" : \"fonqgiftcard\"\n }, {\n \"name\" : \"Bank Transfer (NL)\",\n \"type\" : \"bankTransfer_NL\"\n }, {\n \"name\" : \"Pathe Giftcard\",\n \"type\" : \"pathegiftcard\"\n }, {\n \"name\" : \"VVV Giftcard\",\n \"type\" : \"vvvgiftcard\"\n }, {\n \"name\" : \"Podium Card\",\n \"type\" : \"podiumcard\"\n }, {\n \"name\" : \"RatePay Direct Debit\",\n \"type\" : \"ratepay_directdebit\"\n }, {\n \"name\" : \"Rituals Giftcard\",\n \"type\" : \"rituals\"\n }, {\n \"name\" : \"Hunkemoller Lingerie Card\",\n \"type\" : \"hmlingerie\"\n }, {\n \"name\" : \"Primera Cadeaukaart\",\n \"type\" : \"primeracadeaucard\"\n }, {\n \"name\" : \"Fashioncheque\",\n \"type\" : \"fashioncheque\"\n }, {\n \"name\" : \"NETELLER\",\n \"type\" : \"neteller\"\n }, {\n \"name\" : \"Adyen Voucher\",\n \"type\" : \"adyen_test_voucher\"\n }, {\n \"name\" : \"AfterPay B2B\",\n \"type\" : \"afterpay_b2b\"\n }, {\n \"name\" : \"AfterPay DirectDebit\",\n \"type\" : \"afterpay_directdebit\"\n }, {\n \"name\" : \"AliPay\",\n \"type\" : \"alipay\"\n }, {\n \"name\" : \"AliPay\",\n \"type\" : \"alipay_wap\"\n }, {\n \"details\" : [ {\n \"key\" : \"additionalData.androidpay.token\",\n \"type\" : \"androidPayToken\"\n } ],\n \"name\" : \"Android Pay\",\n \"type\" : \"androidpay\"\n }, {\n \"details\" : [ {\n \"key\" : \"additionalData.applepay.token\",\n \"type\" : \"applePayToken\"\n } ],\n \"name\" : \"Apple Pay\",\n \"type\" : \"applepay\"\n }, {\n \"name\" : \"Baby Gift Card\",\n \"type\" : \"babygiftcard\"\n }, {\n \"name\" : \"SEPA Bank Transfer\",\n \"type\" : \"bankTransfer_IBAN\"\n }, {\n \"name\" : \"Bloemen Giftcard\",\n \"type\" : \"bloemengiftcard\"\n }, {\n \"name\" : \"Boekenbon Giftcard\",\n \"type\" : \"boekenbon\"\n }, {\n \"name\" : \"Cash-Ticket\",\n \"type\" : \"cashticket\"\n }, {\n \"name\" : \"Chasin Giftcard\",\n \"type\" : \"chasingiftcard\"\n }, {\n \"name\" : \"ClickandBuy\",\n \"type\" : \"clickandbuy\"\n }, {\n \"name\" : \"Costes Giftcard\",\n \"type\" : \"costesgiftcard\"\n }, {\n \"name\" : \"custom_settlement\",\n \"type\" : \"custom_settlement\"\n }, {\n \"name\" : \"eft_directdebit_CA\",\n \"type\" : \"eft_directdebit_CA\"\n }, {\n \"name\" : \"Nationale Entertainment Card\",\n \"type\" : \"entertainmentcard\"\n }, {\n \"name\" : \"Expert Cadeaukaart\",\n \"type\" : \"expertgiftcard\"\n }, {\n \"name\" : \"FijnCadeau\",\n \"type\" : \"fijncadeau\"\n }, {\n \"name\" : \"Fleurop Bloemenbon\",\n \"type\" : \"fleuropbloemenbon\"\n }, {\n \"name\" : \"Gall & Gall\",\n \"type\" : \"gallgall\"\n }, {\n \"name\" : \"Generic GiftCard\",\n \"type\" : \"genericgiftcard\"\n }, {\n \"name\" : \"GiftFor2\",\n \"type\" : \"giftfor2card\"\n }, {\n \"name\" : \"Givex\",\n \"type\" : \"givex\"\n }, {\n \"name\" : \"Goldsmiths Card\",\n \"type\" : \"goldsmithscard\"\n }, {\n \"name\" : \"Hunkemoller Member Card\",\n \"type\" : \"hmclub\"\n }, {\n \"name\" : \"Phone Payment\",\n \"type\" : \"ivr\"\n }, {\n \"name\" : \"Landline phone\",\n \"type\" : \"ivrLandline\"\n }, {\n \"name\" : \"Mobile phone\",\n \"type\" : \"ivrMobile\"\n }, {\n \"name\" : \"Kado Wereld\",\n \"type\" : \"kadowereld\"\n }, {\n \"name\" : \"Karen Millen GiftCard\",\n \"type\" : \"karenmillengiftcard\"\n }, {\n \"name\" : \"Leisure Card\",\n \"type\" : \"leisurecard\"\n }, {\n \"name\" : \"Loods5 Cadeaukaart\",\n \"type\" : \"loods5giftcard\"\n }, {\n \"name\" : \"Loods5 Tegoedbon\",\n \"type\" : \"loods5prepaidcard\"\n }, {\n \"details\" : [ {\n \"key\" : \"additionalData.amazonPayToken\",\n \"type\" : \"text\"\n } ],\n \"name\" : \"Amazon Pay\",\n \"supportsRecurring\" : true,\n \"type\" : \"amazonpay\"\n }, {\n \"name\" : \"MOLPoints\",\n \"type\" : \"molpay_points\"\n }, {\n \"name\" : \"Moneybookers\",\n \"type\" : \"moneybookers\"\n }, {\n \"name\" : \"De Nationale Musicalcard\",\n \"type\" : \"musicalcard\"\n }, {\n \"name\" : \"Nationale Bioscoopbon\",\n \"type\" : \"nationalebioscoopbon\"\n }, {\n \"name\" : \"Nationale Tuinbon\",\n \"type\" : \"nationaletuinbon\"\n }, {\n \"name\" : \"Nationale Verwen Cadeaubon\",\n \"type\" : \"nationaleverwencadeaubon\"\n }, {\n \"name\" : \"Onebip\",\n \"type\" : \"onebip\"\n }, {\n \"details\" : [ {\n \"key\" : \"additionalData.paywithgoogle.token\",\n \"type\" : \"payWithGoogleToken\"\n } ],\n \"name\" : \"Google Pay\",\n \"type\" : \"paywithgoogle\"\n }, {\n \"name\" : \"Plastix\",\n \"type\" : \"plastix\"\n }, {\n \"name\" : \"Pluim\",\n \"type\" : \"pluimgiftcard\"\n }, {\n \"name\" : \"Illicado Gift Card\",\n \"type\" : \"prosodie_illicado\"\n }, {\n \"name\" : \"RatePay Invoice\",\n \"type\" : \"ratepay\"\n }, {\n \"name\" : \"Rob Peetoom Giftcard\",\n \"type\" : \"robpeetoomgiftcard\"\n }, {\n \"name\" : \"Shoes&Accessories Cadeau\",\n \"type\" : \"sagiftcard\"\n }, {\n \"name\" : \"Score Giftcard\",\n \"type\" : \"scoregiftcard\"\n }, {\n \"name\" : \"Premium SMS\",\n \"type\" : \"sms\"\n }, {\n \"name\" : \"SVS\",\n \"type\" : \"svs\"\n }, {\n \"name\" : \"TCS Test GiftCard\",\n \"type\" : \"tcstestgiftcard\"\n }, {\n \"name\" : \"The Sting Giftcard\",\n \"type\" : \"thestinggiftcard\"\n }, {\n \"name\" : \"Ukash\",\n \"type\" : \"ukash\"\n }, {\n \"name\" : \"UnionPay\",\n \"type\" : \"unionpay\"\n }, {\n \"name\" : \"Valuelink\",\n \"type\" : \"valuelink\"\n }, {\n \"name\" : \"V&D Cadeaukaart\",\n \"type\" : \"vdcadeaucard\"\n }, {\n \"details\" : [ {\n \"key\" : \"additionalData.visacheckout.callId\",\n \"type\" : \"text\"\n } ],\n \"name\" : \"Visa Checkout\",\n \"type\" : \"visacheckout\"\n }, {\n \"name\" : \"VVV Cadeaubon\",\n \"type\" : \"vvvcadeaubon\"\n }, {\n \"name\" : \"Webshop Giftcard\",\n \"type\" : \"webshopgiftcard\"\n }, {\n \"name\" : \"WE Fashion Giftcard\",\n \"type\" : \"wefashiongiftcard\"\n }, {\n \"name\" : \"Western Union\",\n \"type\" : \"westernunion\"\n }, {\n \"name\" : \"Winkel Cheque\",\n \"type\" : \"winkelcheque\"\n }, {\n \"name\" : \"Your Gift\",\n \"type\" : \"yourgift\"\n } ]\n}", + "originalRequest": { + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"countryCode\" : \"NL\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentMethods", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentMethods" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Queries the available payment methods for a transaction based on the transaction context (like amount, country, and currency). Besides giving back a list of the available payment methods, the response also returns which input details you need to collect from the shopper (to be submitted to `/payments`). Although we highly recommend using this endpoint to ensure you are always offering the most up-to-date list of payment methods, its usage is optional. You can, for example, also cache the `/paymentMethods` response and update it once a week." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"countryCode\" : \"NL\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentMethods", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentMethods" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Queries the available payment methods for a transaction based on the transaction context (like amount, country, and currency). Besides giving back a list of the available payment methods, the response also returns which input details you need to collect from the shopper (to be submitted to `/payments`). Although we highly recommend using this endpoint to ensure you are always offering the most up-to-date list of payment methods, its usage is optional. You can, for example, also cache the `/paymentMethods` response and update it once a week." - } + ] } ] - } -, + }, { "name": "/payments", "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. ", @@ -1421,790 +2692,1277 @@ { "name": "Make an Apple Pay payment", "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"applepay\",\n \"applePayToken\" : \"VNRWtuNlNEWkRCSm1xWndjMDFFbktkQU...\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"applepay\",\n \"applePayToken\" : \"VNRWtuNlNEWkRCSm1xWndjMDFFbktkQU...\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + ] }, { "name": "Make a card payment with 3D Secure 2 native authentication", "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 + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"{{$guid}}\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"encryptedCardNumber\" : \"test_4917610000000000\",\n \"encryptedExpiryMonth\" : \"test_03\",\n \"encryptedExpiryYear\" : \"test_2030\",\n \"holderName\" : \"John Smith\",\n \"encryptedSecurityCode\" : \"test_737\"\n },\n \"additionalData\" : {\n \"allow3DS2\" : \"true\"\n },\n \"accountInfo\" : {\n \"accountCreationDate\" : \"2019-01-17T13:42:40+01:00\"\n },\n \"billingAddress\" : {\n \"country\" : \"US\",\n \"city\" : \"New York\",\n \"street\" : \"Redwood Block\",\n \"houseNumberOrName\" : \"37C\",\n \"stateOrProvince\" : \"NY\",\n \"postalCode\" : \"10039\"\n },\n \"shopperEmail\" : \"s.hopper@test.com\",\n \"shopperIP\" : \"192.0.2.1\",\n \"browserInfo\" : {\n \"userAgent\" : \"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.110 Safari/537.36\",\n \"acceptHeader\" : \"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8\",\n \"language\" : \"nl-NL\",\n \"colorDepth\" : 24,\n \"screenHeight\" : 723,\n \"screenWidth\" : 1536,\n \"timeZoneOffset\" : 0,\n \"javaEnabled\" : true\n },\n \"channel\" : \"Web\",\n \"origin\" : \"https://your-company.com\",\n \"returnUrl\" : \"https://your-company.com/checkout/\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"additionalData\" : {\n \"cvcResult\" : \"1 Matches\",\n \"authCode\" : \"044410\",\n \"avsResult\" : \"4 AVS not supported for this card type\",\n \"avsResultRaw\" : \"4\",\n \"cvcResultRaw\" : \"M\",\n \"refusalReasonRaw\" : \"AUTHORISED\",\n \"acquirerCode\" : \"TestPmmAcquirer\",\n \"acquirerReference\" : \"8PQMP9TI1O2\"\n },\n \"pspReference\" : \"993617895005515H\",\n \"resultCode\" : \"Authorised\"\n}", + "originalRequest": { + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"{{$guid}}\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"encryptedCardNumber\" : \"test_4917610000000000\",\n \"encryptedExpiryMonth\" : \"test_03\",\n \"encryptedExpiryYear\" : \"test_2030\",\n \"holderName\" : \"John Smith\",\n \"encryptedSecurityCode\" : \"test_737\"\n },\n \"additionalData\" : {\n \"allow3DS2\" : \"true\"\n },\n \"accountInfo\" : {\n \"accountCreationDate\" : \"2019-01-17T13:42:40+01:00\"\n },\n \"billingAddress\" : {\n \"country\" : \"US\",\n \"city\" : \"New York\",\n \"street\" : \"Redwood Block\",\n \"houseNumberOrName\" : \"37C\",\n \"stateOrProvince\" : \"NY\",\n \"postalCode\" : \"10039\"\n },\n \"shopperEmail\" : \"s.hopper@test.com\",\n \"shopperIP\" : \"192.0.2.1\",\n \"browserInfo\" : {\n \"userAgent\" : \"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.110 Safari/537.36\",\n \"acceptHeader\" : \"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8\",\n \"language\" : \"nl-NL\",\n \"colorDepth\" : 24,\n \"screenHeight\" : 723,\n \"screenWidth\" : 1536,\n \"timeZoneOffset\" : 0,\n \"javaEnabled\" : true\n },\n \"channel\" : \"Web\",\n \"origin\" : \"https://your-company.com\",\n \"returnUrl\" : \"https://your-company.com/checkout/\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"{{$guid}}\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"encryptedCardNumber\" : \"test_4917610000000000\",\n \"encryptedExpiryMonth\" : \"test_03\",\n \"encryptedExpiryYear\" : \"test_2030\",\n \"holderName\" : \"John Smith\",\n \"encryptedSecurityCode\" : \"test_737\"\n },\n \"additionalData\" : {\n \"allow3DS2\" : \"true\"\n },\n \"accountInfo\" : {\n \"accountCreationDate\" : \"2019-01-17T13:42:40+01:00\"\n },\n \"billingAddress\" : {\n \"country\" : \"US\",\n \"city\" : \"New York\",\n \"street\" : \"Redwood Block\",\n \"houseNumberOrName\" : \"37C\",\n \"stateOrProvince\" : \"NY\",\n \"postalCode\" : \"10039\"\n },\n \"shopperEmail\" : \"s.hopper@test.com\",\n \"shopperIP\" : \"192.0.2.1\",\n \"browserInfo\" : {\n \"userAgent\" : \"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.110 Safari/537.36\",\n \"acceptHeader\" : \"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8\",\n \"language\" : \"nl-NL\",\n \"colorDepth\" : 24,\n \"screenHeight\" : 723,\n \"screenWidth\" : 1536,\n \"timeZoneOffset\" : 0,\n \"javaEnabled\" : true\n },\n \"channel\" : \"Web\",\n \"origin\" : \"https://your-company.com\",\n \"returnUrl\" : \"https://your-company.com/checkout/\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + ] }, { "name": "Make a card payment with 3D Secure redirect authentication", "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 + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4212345678901237\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\",\n \"cvc\" : \"737\"\n },\n \"browserInfo\" : {\n \"colorDepth\" : 24,\n \"screenHeight\" : 1800,\n \"screenWidth\" : 2880,\n \"timeZoneOffset\" : 60,\n \"language\" : \"nl\",\n \"userAgent\" : \"Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9) Gecko/2008052912 Firefox/3.0\",\n \"acceptHeader\" : \"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8\",\n \"javaEnabled\" : true\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"additionalData\" : {\n \"cvcResult\" : \"1 Matches\",\n \"authCode\" : \"074516\",\n \"avsResult\" : \"4 AVS not supported for this card type\",\n \"avsResultRaw\" : \"4\",\n \"cvcResultRaw\" : \"M\",\n \"refusalReasonRaw\" : \"AUTHORISED\",\n \"acquirerCode\" : \"TestPmmAcquirer\",\n \"acquirerReference\" : \"8PQMP9SJ7DN\"\n },\n \"pspReference\" : \"993617894903480A\",\n \"resultCode\" : \"Authorised\"\n}", + "originalRequest": { + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4212345678901237\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\",\n \"cvc\" : \"737\"\n },\n \"browserInfo\" : {\n \"colorDepth\" : 24,\n \"screenHeight\" : 1800,\n \"screenWidth\" : 2880,\n \"timeZoneOffset\" : 60,\n \"language\" : \"nl\",\n \"userAgent\" : \"Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9) Gecko/2008052912 Firefox/3.0\",\n \"acceptHeader\" : \"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8\",\n \"javaEnabled\" : true\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4212345678901237\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\",\n \"cvc\" : \"737\"\n },\n \"browserInfo\" : {\n \"colorDepth\" : 24,\n \"screenHeight\" : 1800,\n \"screenWidth\" : 2880,\n \"timeZoneOffset\" : 60,\n \"language\" : \"nl\",\n \"userAgent\" : \"Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9) Gecko/2008052912 Firefox/3.0\",\n \"acceptHeader\" : \"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8\",\n \"javaEnabled\" : true\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + ] }, { "name": "Make a payment with 3D Secure 2 native authentication, using encrypted card details", "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 + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"encryptedCardNumber\" : \"test_4212345678901237\",\n \"encryptedExpiryMonth\" : \"test_03\",\n \"encryptedExpiryYear\" : \"test_2030\",\n \"encryptedSecurityCode\" : \"test_737\",\n \"holderName\" : \"John Smith\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"additionalData\" : {\n \"cvcResult\" : \"1 Matches\",\n \"authCode\" : \"083996\",\n \"avsResult\" : \"4 AVS not supported for this card type\",\n \"avsResultRaw\" : \"4\",\n \"cvcResultRaw\" : \"M\",\n \"refusalReasonRaw\" : \"AUTHORISED\",\n \"acquirerCode\" : \"TestPmmAcquirer\",\n \"acquirerReference\" : \"8PQMP9SJH66\"\n },\n \"pspReference\" : \"993617894905481G\",\n \"resultCode\" : \"Authorised\"\n}", + "originalRequest": { + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"encryptedCardNumber\" : \"test_4212345678901237\",\n \"encryptedExpiryMonth\" : \"test_03\",\n \"encryptedExpiryYear\" : \"test_2030\",\n \"encryptedSecurityCode\" : \"test_737\",\n \"holderName\" : \"John Smith\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"encryptedCardNumber\" : \"test_4212345678901237\",\n \"encryptedExpiryMonth\" : \"test_03\",\n \"encryptedExpiryYear\" : \"test_2030\",\n \"encryptedSecurityCode\" : \"test_737\",\n \"holderName\" : \"John Smith\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + ] }, { "name": "Make a card payment", "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 + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4111111111111111\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\",\n \"cvc\" : \"737\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"additionalData\" : {\n \"cvcResult\" : \"1 Matches\",\n \"authCode\" : \"036240\",\n \"avsResult\" : \"4 AVS not supported for this card type\",\n \"avsResultRaw\" : \"4\",\n \"cvcResultRaw\" : \"M\",\n \"refusalReasonRaw\" : \"AUTHORISED\",\n \"acquirerCode\" : \"TestPmmAcquirer\",\n \"acquirerReference\" : \"8PQMP9SJQUL\"\n },\n \"pspReference\" : \"993617894906488A\",\n \"resultCode\" : \"Authorised\"\n}", + "originalRequest": { + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4111111111111111\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\",\n \"cvc\" : \"737\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4111111111111111\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\",\n \"cvc\" : \"737\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + ] }, { "name": "Make a card payment using encrypted card details", "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 + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"encryptedCardNumber\" : \"test_4111111111111111\",\n \"encryptedExpiryMonth\" : \"test_03\",\n \"encryptedExpiryYear\" : \"test_2030\",\n \"encryptedSecurityCode\" : \"test_737\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"additionalData\" : {\n \"cvcResult\" : \"1 Matches\",\n \"authCode\" : \"064649\",\n \"avsResult\" : \"4 AVS not supported for this card type\",\n \"avsResultRaw\" : \"4\",\n \"cvcResultRaw\" : \"M\",\n \"refusalReasonRaw\" : \"AUTHORISED\",\n \"acquirerCode\" : \"TestPmmAcquirer\",\n \"acquirerReference\" : \"8PQMP9SM92L\"\n },\n \"pspReference\" : \"993617894914488A\",\n \"resultCode\" : \"Authorised\"\n}", + "originalRequest": { + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"encryptedCardNumber\" : \"test_4111111111111111\",\n \"encryptedExpiryMonth\" : \"test_03\",\n \"encryptedExpiryYear\" : \"test_2030\",\n \"encryptedSecurityCode\" : \"test_737\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"encryptedCardNumber\" : \"test_4111111111111111\",\n \"encryptedExpiryMonth\" : \"test_03\",\n \"encryptedExpiryYear\" : \"test_2030\",\n \"encryptedSecurityCode\" : \"test_737\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + ] }, { "name": "Tokenize card details for one-off payments, using encrypted card details", "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"encryptedCardNumber\" : \"adyenjs_0_1_18$MT6ppy0FAMVMLH...\",\n \"encryptedExpiryMonth\" : \"adyenjs_0_1_18$MT6ppy0FAMVMLH...\",\n \"encryptedExpiryYear\" : \"adyenjs_0_1_18$MT6ppy0FAMVMLH...\",\n \"encryptedSecurityCode\" : \"adyenjs_0_1_18$MT6ppy0FAMVMLH...\"\n },\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"encryptedCardNumber\" : \"adyenjs_0_1_18$MT6ppy0FAMVMLH...\",\n \"encryptedExpiryMonth\" : \"adyenjs_0_1_18$MT6ppy0FAMVMLH...\",\n \"encryptedExpiryYear\" : \"adyenjs_0_1_18$MT6ppy0FAMVMLH...\",\n \"encryptedSecurityCode\" : \"adyenjs_0_1_18$MT6ppy0FAMVMLH...\"\n },\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + ] }, { "name": "Tokenize card details for one-off payments", "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 + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4111111111111111\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\",\n \"cvc\" : \"737\"\n },\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"additionalData\" : {\n \"cvcResult\" : \"1 Matches\",\n \"authCode\" : \"022966\",\n \"avsResult\" : \"4 AVS not supported for this card type\",\n \"recurring.recurringDetailReference\" : \"9916178934434753\",\n \"recurringProcessingModel\" : \"CardOnFile\",\n \"avsResultRaw\" : \"4\",\n \"cvcResultRaw\" : \"M\",\n \"refusalReasonRaw\" : \"AUTHORISED\",\n \"recurring.shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID\",\n \"acquirerCode\" : \"TestPmmAcquirer\",\n \"acquirerReference\" : \"8PQMP9T0BB6\"\n },\n \"pspReference\" : \"993617894947495G\",\n \"resultCode\" : \"Authorised\"\n}", + "originalRequest": { + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4111111111111111\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\",\n \"cvc\" : \"737\"\n },\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4111111111111111\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\",\n \"cvc\" : \"737\"\n },\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + ] }, { "name": "Make a Google Pay payment", "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"paywithgoogle\",\n \"googlePayToken\" : \"==Payload as retrieved from Google Pay response==\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"YourMerchantAccount\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"paywithgoogle\",\n \"googlePayToken\" : \"==Payload as retrieved from Google Pay response==\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"YourMerchantAccount\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + ] }, { "name": "Make an iDEAL payment", "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 + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"ideal\",\n \"issuer\" : \"1121\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"resultCode\" : \"RedirectShopper\",\n \"details\" : [ {\n \"key\" : \"payload\",\n \"type\" : \"text\"\n } ],\n \"paymentData\" : \"Ab02b4c0!BQABAgBOBkMn4vBx6T3DgxR+OR/a1zEA0xbGaYKP9mh/vWDSADlyktW39HZckwcm4Wr9kw2TvE9SYngEf9f6kZb1OimKls3+HEn3dRGOrTbWZZ8/tpmlS62YoDh1eQIE3EHZsUm7CQxhXjm8F0HQCelzIkVgj8DpLgtxwM3nFZxfpzl91HSt9CP/GIsx8S/RPVG2Fwg2S/jtdQ4MlFeG89S+icDvTecTyGoYFZlS/KL77Q4zJCR8Vgn4M9DJZEGRxv6kApLwDMkMyUMQngN95xDSCdLSW7fKkVusSub2+2hB7rzWxtj1E8R9dbtkCxgTe0F/G7tqrzUfEmseiHoKmaF6F8bN0j6BZiFhQJ/KHXJ6Pb+a7f0qYbQCAZmwYmeSSfNzqIDehyufpL0bP3w38spuso3QlhtPIqSHrIHDIQzbYmxPtt/I6A/RCMXJ7VN4nB6JigEygV383lnr8wd7mEynOQXnq9zEF+GGJy0Ool05WEy8L/mATgg++6bpsuSB2Wea5/VffvG6KcMyzs7OBG9zLAdYcrfqlsyXz/42UBJTeA2s6kVb1sBUfd6CQuQRF+37sjMwKiNIxwVaNWIYZMiWhbqPXOS4ozt0kNCtruhHqHgULPfF6aia/BnZKib6n+pBSepTdS47wZ31xC8VPqsoPia8RGNziLO/MmSMpW2fQRdgrhCrSniHb8qrh0vwgbPB4S7vAEp7ImtleSI6IkFGMEFBQTEwM0NBNTM3RUFFRDg3QzI0REQ1MzkwOUI4MEE3OEE5MjNFMzgyM0Q2OERBQ0M5NEI5RkY4MzA1REMifTMy2HjS+Bb81E9m0fQAZJXCA1BJgLgstBw3wxbdpZevF8c+pSBGUYNUm9ZbwrD93dGdCU2RvlI1gcyKke0cEEqKGjqWFXOWIYkSNzfLrgP3ERdp5t9VGZi6BDQko2CFzP4uAR3jwgR3AP0/mQ/4YWDrBrnYZCWjOpo7izGhNbHYvWbBOqVDvnfReoCrSNSLSo8OfSxuFrN6sJLXrajGu1qbPqQtxFIRyqLgbOfHLHw/DN3I+BZKGrNYynRfM2NparXTQ6ZRgC8E5xIodApr4JHMNeiPTjMlReaLBQwbcqaBzzRNLdV0v8/ZSXexS68WBeUMt7OkomYJBFrpwmpzgx/nzRzV87MZ9TGhZht/1zjcyaSi0Toc6r7UhbADuDX5RH5L0T8Q3iGJfjrYuS5h9aiYSg8oaVJ5DZhJAicDbb8eLvdAGXFTIV+EXbD+4e9Xl+c5um4FdKfufcrrUEo2s6lUuSBSJ3Gf6r+yJMxkamWwfnRUtxt+axRcXfmywYqU7O1r0zzW+RKCbV2qZeUWWeN1u5UIPdJbQbH4633ukPp//aGh8R4IWckBp7DGH4M5P1ZiYJB8OQRS5gD/y+iuwensnq1rKFBOK4gFNSpKmuDQYLeWb5VljHgE1sS4DRhl0fl8UCabehP+3tZu/2i88JTWbdUuvPLmkyv8zQdY36YeSDWmwC40vvbB+lo2e8MgVpfDwn+xyQFpFhasbEyr4VVoPwHq1sGR/QEutxmeoJi1Zux48jSHoGOj5RZ4ei+b8Lxp4rj45wwm0AiROghLnZJZfJaySp/LVxQ=\",\n \"redirect\" : {\n \"method\" : \"GET\",\n \"url\" : \"https://test.adyen.com/hpp/checkout.shtml?u=redirectIdeal&p=eJxtUl1vozAQ-DXwFmQDAfLgh4jSC730Q1yoqr5Urr0NXIlNbUPj-PozXC6qqpOstTWz2p3Z9auigueSA2k50M5ng1IgmJ2hoq78VusBVMkJxiH2D6BYQ4VZMyYHYcgOtLk9YxeyFAb2ippWisDYHki*KfKf9-Xu5UdxV1Rl-t-MEZR2N4nRha7gDSY1QLRRrdh-IcygxBU1lKxWOMFptopXcZZEyc0l51e7J9XdcHpeDTxC4edG1pFF5WMHnw95FtHf3N5z1MWqipKjF17XXnTl99QewNk7zO4wQshXoOtqSxpjei9au0R3Oslo10htHJKhDDmINcDe5WB0I-selEM0qLFloN3z4W-ZUjB5cD4q4K0CZhwz4n-lzjm3YBrJvej626iduq-D9sJEzUNw2hw1qXONlpPA5STRBSsHtXANeyps4O4ZDILA16CnST-SruWtsSREIV6geIGyHU6cI7x0Ic6e-bOXaUuKsmlLpHCFJmXg6-dWzL*kH16DMQzOi0iTNE1xFsXBqRyfot1NwrPRFmGzPr4w3jTHGpX16S3*2H4Um22xB8u5-ANWgt0s\"\n }\n}", + "originalRequest": { + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"ideal\",\n \"issuer\" : \"1121\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"ideal\",\n \"issuer\" : \"1121\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + ] }, { "name": "Make a Klarna payment", "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 \"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" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + "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 \"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" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + ] }, { "name": "Make a one-off payment with a token and CVV", "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"recurringDetailReference\" : \"8416038790273850\",\n \"cvc\" : \"737\"\n },\n \"shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID_6738oneoff\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"recurringDetailReference\" : \"8416038790273850\",\n \"cvc\" : \"737\"\n },\n \"shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID_6738oneoff\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + ] }, { "name": "Make a one-off payment with a token and CVV, using encrypted card details", "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"recurringDetailReference\" : \"8416038790273850\",\n \"encryptedSecurityCode\" : \"adyenjs_0_1_18$MT6ppy0FAMVMLH...\"\n },\n \"shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID_6738oneoff\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"recurringDetailReference\" : \"8416038790273850\",\n \"encryptedSecurityCode\" : \"adyenjs_0_1_18$MT6ppy0FAMVMLH...\"\n },\n \"shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID_6738oneoff\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + ] }, { "name": "Make a card payment with a token", "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"recurringDetailReference\" : \"8315791039321763\"\n },\n \"shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"shopperInteraction\" : \"ContAuth\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"recurringDetailReference\" : \"8315791039321763\"\n },\n \"shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"shopperInteraction\" : \"ContAuth\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + ] }, { "name": "Split a payment between balance accounts", "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 + "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 \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4111111111111111\",\n \"cvc\" : \"737\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\"\n },\n \"amount\" : {\n \"value\" : 40000,\n \"currency\" : \"USD\"\n },\n \"reference\" : \"{{$guid}}\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"splits\" : [ {\n \"amount\" : {\n \"value\" : 39600\n },\n \"type\" : \"BalanceAccount\",\n \"account\" : \"BA00000000000000000000001\",\n \"reference\" : \"Your reference for the sale amount\",\n \"description\" : \"Your description for the sale amount\"\n }, {\n \"amount\" : {\n \"value\" : 400\n },\n \"type\" : \"Commission\",\n \"reference\" : \"Your reference for the commission\",\n \"description\" : \"Your description for the commission\"\n }, {\n \"type\" : \"PaymentFee\",\n \"account\" : \"BA00000000000000000000001\",\n \"reference\" : \"Your reference for the fees\",\n \"description\" : \"Your description for the fees\"\n } ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"additionalData\" : {\n \"refusalReasonRaw\" : \"AUTHORISED\",\n \"eci\" : \"N/A\",\n \"acquirerAccountCode\" : \"YOUR_ACQUIRER_ACCOUNT\",\n \"donationToken\" : \"81234567890123456...\",\n \"xid\" : \"N/A\",\n \"threeDAuthenticated\" : \"false\",\n \"paymentMethodVariant\" : \"visa\",\n \"issuerBin\" : \"41111111\",\n \"payoutEligible\" : \"Y\",\n \"fraudManualReview\" : \"false\",\n \"threeDOffered\" : \"false\",\n \"threeDOfferedResponse\" : \"N/A\",\n \"authorisationMid\" : \"50\",\n \"fundsAvailability\" : \"I\",\n \"authorisedAmountCurrency\" : \"USD\",\n \"threeDAuthenticatedResponse\" : \"N/A\",\n \"avsResultRaw\" : \"5\",\n \"retry.attempt1.rawResponse\" : \"AUTHORISED\",\n \"paymentMethod\" : \"visa\",\n \"avsResult\" : \"5 No AVS data provided\",\n \"cardSummary\" : \"1111\",\n \"retry.attempt1.avsResultRaw\" : \"5\",\n \"networkTxReference\" : \"777718270854480\",\n \"expiryDate\" : \"3/2030\",\n \"cavvAlgorithm\" : \"N/A\",\n \"cardBin\" : \"411111\",\n \"alias\" : \"8915844059375211\",\n \"cvcResultRaw\" : \"M\",\n \"merchantReference\" : \"YOUR_ORDER_NUMBER\",\n \"acquirerReference\" : \"YOUR_ACQUIRER_REFERENCE\",\n \"cardIssuingCountry\" : \"NL\",\n \"liabilityShift\" : \"false\",\n \"fraudResultType\" : \"GREEN\",\n \"authCode\" : \"035450\",\n \"cardHolderName\" : \"John Smith\",\n \"isCardCommercial\" : \"unknown\",\n \"PaymentAccountReference\" : \"6006491286999921374...\",\n \"retry.attempt1.acquirerAccount\" : \"YOUR_ACQUIRER_ACCOUNT\",\n \"cardIssuingBank\" : \"ISSUING_BANK_CUSTOMER\",\n \"retry.attempt1.acquirer\" : \"YOUR_ACQUIRER_CODE\",\n \"authorisedAmountValue\" : \"40000\",\n \"issuerCountry\" : \"NL\",\n \"cvcResult\" : \"1 Matches\",\n \"retry.attempt1.responseCode\" : \"Approved\",\n \"aliasType\" : \"Default\",\n \"retry.attempt1.shopperInteraction\" : \"Ecommerce\",\n \"cardPaymentMethod\" : \"visa\",\n \"acquirerCode\" : \"YOUR_ACQUIRER_CODE\"\n },\n \"pspReference\" : \"PPKFQ89R6QRXGN82\",\n \"resultCode\" : \"Authorised\"\n}", + "originalRequest": { + "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 \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4111111111111111\",\n \"cvc\" : \"737\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\"\n },\n \"amount\" : {\n \"value\" : 40000,\n \"currency\" : \"USD\"\n },\n \"reference\" : \"{{$guid}}\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"splits\" : [ {\n \"amount\" : {\n \"value\" : 39600\n },\n \"type\" : \"BalanceAccount\",\n \"account\" : \"BA00000000000000000000001\",\n \"reference\" : \"Your reference for the sale amount\",\n \"description\" : \"Your description for the sale amount\"\n }, {\n \"amount\" : {\n \"value\" : 400\n },\n \"type\" : \"Commission\",\n \"reference\" : \"Your reference for the commission\",\n \"description\" : \"Your description for the commission\"\n }, {\n \"type\" : \"PaymentFee\",\n \"account\" : \"BA00000000000000000000001\",\n \"reference\" : \"Your reference for the fees\",\n \"description\" : \"Your description for the fees\"\n } ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4111111111111111\",\n \"cvc\" : \"737\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\"\n },\n \"amount\" : {\n \"value\" : 40000,\n \"currency\" : \"USD\"\n },\n \"reference\" : \"{{$guid}}\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"splits\" : [ {\n \"amount\" : {\n \"value\" : 39600\n },\n \"type\" : \"BalanceAccount\",\n \"account\" : \"BA00000000000000000000001\",\n \"reference\" : \"Your reference for the sale amount\",\n \"description\" : \"Your description for the sale amount\"\n }, {\n \"amount\" : {\n \"value\" : 400\n },\n \"type\" : \"Commission\",\n \"reference\" : \"Your reference for the commission\",\n \"description\" : \"Your description for the commission\"\n }, {\n \"type\" : \"PaymentFee\",\n \"account\" : \"BA00000000000000000000001\",\n \"reference\" : \"Your reference for the fees\",\n \"description\" : \"Your description for the fees\"\n } ]\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + ] }, { "name": "Split a payment in a Classic Platforms integration", "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 \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4111111111111111\",\n \"cvc\" : \"737\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\"\n },\n \"amount\" : {\n \"value\" : 6200,\n \"currency\" : \"EUR\"\n },\n \"reference\" : \"{{$guid}}\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"splits\" : [ {\n \"amount\" : {\n \"value\" : 6000\n },\n \"type\" : \"MarketPlace\",\n \"account\" : \"151272963\",\n \"reference\" : \"6124145\",\n \"description\" : \"Porcelain Doll: Eliza (20cm)\"\n }, {\n \"amount\" : {\n \"value\" : 200\n },\n \"type\" : \"Commission\",\n \"reference\" : \"6124146\"\n } ]\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + "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 \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4111111111111111\",\n \"cvc\" : \"737\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\"\n },\n \"amount\" : {\n \"value\" : 6200,\n \"currency\" : \"EUR\"\n },\n \"reference\" : \"{{$guid}}\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"splits\" : [ {\n \"amount\" : {\n \"value\" : 6000\n },\n \"type\" : \"MarketPlace\",\n \"account\" : \"151272963\",\n \"reference\" : \"6124145\",\n \"description\" : \"Porcelain Doll: Eliza (20cm)\"\n }, {\n \"amount\" : {\n \"value\" : 200\n },\n \"type\" : \"Commission\",\n \"reference\" : \"6124146\"\n } ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + ] } ] - } -, + }, { "name": "/payments/details", "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. ", @@ -2212,206 +3970,213 @@ { "name": "Submit details for the 3D Secure payment ", "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 \"MD\" : \"Ab02b4c0!BQABAgCW5sxB4e/==...\",\n \"PaRes\" : \"eNrNV0mTo7gS...\"\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. " - } + "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 \"MD\" : \"Ab02b4c0!BQABAgCW5sxB4e/==...\",\n \"PaRes\" : \"eNrNV0mTo7gS...\"\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. " +} + ,"response": [ + ] }, { "name": "Submit 3D Secure 2 callenge flow result", "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 \"details\" : {\n \"threeds2.challengeResult\" : \"eyJ0cmFuc1N0YXR1cyI6IlkifQ==\"\n },\n \"paymentData\" : \"YOUR_PAYMENT_DATA\"\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. " - } + "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 \"details\" : {\n \"threeds2.challengeResult\" : \"eyJ0cmFuc1N0YXR1cyI6IlkifQ==\"\n },\n \"paymentData\" : \"YOUR_PAYMENT_DATA\"\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. " +} + ,"response": [ + ] }, { "name": "Submit 3D Secure 2 device fingerprinting result", "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 \"details\" : {\n \"threeds2.fingerprint\" : \"eyJ0aHJlZURTQ29tcEluZCI6ICJZIn0=\"\n },\n \"paymentData\" : \"YOUR_PAYMENT_DATA...\"\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. " - } + "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 \"details\" : {\n \"threeds2.fingerprint\" : \"eyJ0aHJlZURTQ29tcEluZCI6ICJZIn0=\"\n },\n \"paymentData\" : \"YOUR_PAYMENT_DATA...\"\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. " +} + ,"response": [ + ] }, { "name": "Submit the redirect result", "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\" : \"Ab02b4c0!BQABAgCJN1wRZuGJmq8dMncmypvknj9s7l5Tj...\",\n \"details\" : {\n \"redirectResult\" : \"X6XtfGC3!Y...\"\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. " - } + "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\" : \"Ab02b4c0!BQABAgCJN1wRZuGJmq8dMncmypvknj9s7l5Tj...\",\n \"details\" : {\n \"redirectResult\" : \"X6XtfGC3!Y...\"\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. " +} + ,"response": [ + ] } ] } - ] }, { @@ -2424,55 +4189,113 @@ { "name": "Create a payment link", "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 + "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 \"reference\" : \"{{$guid}}\",\n \"amount\" : {\n \"value\" : 1250,\n \"currency\" : \"BRL\"\n },\n \"countryCode\" : \"BR\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"shopperEmail\" : \"test@email.com\",\n \"shopperLocale\" : \"pt-BR\",\n \"billingAddress\" : {\n \"street\" : \"Roque Petroni Jr\",\n \"postalCode\" : \"59000060\",\n \"city\" : \"São Paulo\",\n \"houseNumberOrName\" : \"999\",\n \"country\" : \"BR\",\n \"stateOrProvince\" : \"SP\"\n },\n \"deliveryAddress\" : {\n \"street\" : \"Roque Petroni Jr\",\n \"postalCode\" : \"59000060\",\n \"city\" : \"São Paulo\",\n \"houseNumberOrName\" : \"999\",\n \"country\" : \"BR\",\n \"stateOrProvince\" : \"SP\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentLinks", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentLinks" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates a payment link to our hosted payment form where shoppers can pay. The list of payment methods presented to the shopper depends on the `currency` and `country` parameters sent in the request. For more information, refer to [Pay by Link documentation](https://docs.adyen.com/online-payments/pay-by-link#create-payment-links-through-api)." +} + ,"response": [ + {"name": "Created - the request has succeeded.", + "code": 201, + "status": "Created", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"amount\" : {\n \"currency\" : \"BRL\",\n \"value\" : 1250\n },\n \"billingAddress\" : {\n \"city\" : \"São Paulo\",\n \"country\" : \"BR\",\n \"houseNumberOrName\" : \"999\",\n \"postalCode\" : \"59000060\",\n \"stateOrProvince\" : \"SP\",\n \"street\" : \"Roque Petroni Jr\"\n },\n \"countryCode\" : \"BR\",\n \"deliveryAddress\" : {\n \"city\" : \"São Paulo\",\n \"country\" : \"BR\",\n \"houseNumberOrName\" : \"999\",\n \"postalCode\" : \"59000060\",\n \"stateOrProvince\" : \"SP\",\n \"street\" : \"Roque Petroni Jr\"\n },\n \"expiresAt\" : \"2022-10-28T09:16:22Z\",\n \"merchantAccount\" : \"YOUR_MERCHANT_ACCOUNT\",\n \"reference\" : \"YOUR_ORDER_NUMBER\",\n \"reusable\" : false,\n \"shopperEmail\" : \"test@email.com\",\n \"shopperLocale\" : \"pt-BR\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"status\" : \"active\",\n \"url\" : \"https://test.adyen.link/PLE83C39B0A0DE0C1E\"\n}", + "originalRequest": { + "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 \"reference\" : \"{{$guid}}\",\n \"amount\" : {\n \"value\" : 1250,\n \"currency\" : \"BRL\"\n },\n \"countryCode\" : \"BR\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"shopperEmail\" : \"test@email.com\",\n \"shopperLocale\" : \"pt-BR\",\n \"billingAddress\" : {\n \"street\" : \"Roque Petroni Jr\",\n \"postalCode\" : \"59000060\",\n \"city\" : \"São Paulo\",\n \"houseNumberOrName\" : \"999\",\n \"country\" : \"BR\",\n \"stateOrProvince\" : \"SP\"\n },\n \"deliveryAddress\" : {\n \"street\" : \"Roque Petroni Jr\",\n \"postalCode\" : \"59000060\",\n \"city\" : \"São Paulo\",\n \"houseNumberOrName\" : \"999\",\n \"country\" : \"BR\",\n \"stateOrProvince\" : \"SP\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentLinks", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentLinks" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates a payment link to our hosted payment form where shoppers can pay. The list of payment methods presented to the shopper depends on the `currency` and `country` parameters sent in the request. For more information, refer to [Pay by Link documentation](https://docs.adyen.com/online-payments/pay-by-link#create-payment-links-through-api)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"reference\" : \"{{$guid}}\",\n \"amount\" : {\n \"value\" : 1250,\n \"currency\" : \"BRL\"\n },\n \"countryCode\" : \"BR\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"shopperEmail\" : \"test@email.com\",\n \"shopperLocale\" : \"pt-BR\",\n \"billingAddress\" : {\n \"street\" : \"Roque Petroni Jr\",\n \"postalCode\" : \"59000060\",\n \"city\" : \"São Paulo\",\n \"houseNumberOrName\" : \"999\",\n \"country\" : \"BR\",\n \"stateOrProvince\" : \"SP\"\n },\n \"deliveryAddress\" : {\n \"street\" : \"Roque Petroni Jr\",\n \"postalCode\" : \"59000060\",\n \"city\" : \"São Paulo\",\n \"houseNumberOrName\" : \"999\",\n \"country\" : \"BR\",\n \"stateOrProvince\" : \"SP\"\n }\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentLinks", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentLinks" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Creates a payment link to our hosted payment form where shoppers can pay. The list of payment methods presented to the shopper depends on the `currency` and `country` parameters sent in the request. For more information, refer to [Pay by Link documentation](https://docs.adyen.com/online-payments/pay-by-link#create-payment-links-through-api)." - } + ] } ] - } -, + }, { "name": "/paymentLinks/:linkId", "description": "Retrieves the payment link details using the payment link `id`.", @@ -2480,49 +4303,50 @@ { "name": "Get a payment link", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentLinks/:linkId", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentLinks", - ":linkId" - ], - "variable": [ - { - "key": "linkId", - "value": "", - "description": "Unique identifier of the payment link." - } - ], - "query": [ - ] - }, - "description": "Retrieves the payment link details using the payment link `id`." - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentLinks/:linkId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentLinks", + ":linkId" + ], + "variable": [ + { + "key": "linkId", + "value": "", + "description": "Unique identifier of the payment link." + } + ], + "query": [ + ] + }, + "description": "Retrieves the payment link details using the payment link `id`." +} + ,"response": [ + ] } ] - } -, + }, { "name": "/paymentLinks/:linkId", "description": "Updates the status of a payment link. Use this endpoint to [force the expiry of a payment link](https://docs.adyen.com/online-payments/pay-by-link#update-payment-link-status).", @@ -2530,55 +4354,113 @@ { "name": "Update the status of a payment link", "request": { - "method": "PATCH", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"status\" : \"expired\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentLinks/:linkId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentLinks", + ":linkId" + ], + "variable": [ + { + "key": "linkId", + "value": "", + "description": "Unique identifier of the payment link." + } + ], + "query": [ + ] + }, + "description": "Updates the status of a payment link. Use this endpoint to [force the expiry of a payment link](https://docs.adyen.com/online-payments/pay-by-link#update-payment-link-status)." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 8700\n },\n \"countryCode\" : \"NL\",\n \"expiresAt\" : \"2021-04-08T14:06:39Z\",\n \"merchantAccount\" : \"YOUR_MERCHANT_ACCOUNT\",\n \"reference\" : \"shopper-reference-ekvL83\",\n \"shopperLocale\" : \"hu-HU\",\n \"shopperReference\" : \"shopper-reference-LZfdWZ\",\n \"status\" : \"expired\",\n \"url\" : \"https://test.adyen.link/PL61C53A8B97E6915A\",\n \"id\" : \"PL61C53A8B97E6915A\"\n}", + "originalRequest": { + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"status\" : \"expired\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentLinks/:linkId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentLinks", + ":linkId" + ], + "variable": [ + { + "key": "linkId", + "value": "", + "description": "Unique identifier of the payment link." + } + ], + "query": [ + ] + }, + "description": "Updates the status of a payment link. Use this endpoint to [force the expiry of a payment link](https://docs.adyen.com/online-payments/pay-by-link#update-payment-link-status)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"status\" : \"expired\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentLinks/:linkId", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentLinks", - ":linkId" - ], - "variable": [ - { - "key": "linkId", - "value": "", - "description": "Unique identifier of the payment link." - } - ], - "query": [ - ] - }, - "description": "Updates the status of a payment link. Use this endpoint to [force the expiry of a payment link](https://docs.adyen.com/online-payments/pay-by-link#update-payment-link-status)." - } + ] } ] } - ] } ], diff --git a/postman/CheckoutService-v49.json b/postman/CheckoutService-v49.json index 00c3296..2a33530 100644 --- a/postman/CheckoutService-v49.json +++ b/postman/CheckoutService-v49.json @@ -19,55 +19,113 @@ { "name": "Cancel a payment using your own reference", "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 + "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 \"paymentReference\" : \"YOUR_UNIQUE_REFERENCE_FOR_THE_PAYMENT\",\n \"reference\" : \"YOUR_UNIQUE_REFERENCE_FOR_THE_CANCELLATION\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/cancels", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "cancels" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Cancels the authorisation on a payment that has not yet been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/captures), and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**TECHNICAL_CANCEL** webhook](https://docs.adyen.com/online-payments/cancel#cancellation-webhook). If you want to cancel a payment using the [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference), use the [`/payments/{paymentPspReference}/cancels`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/cancels) endpoint instead. If you want to cancel a payment but are not sure whether it has been captured, use the [`/payments/{paymentPspReference}/reversals`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/reversals) endpoint instead. For more information, refer to [Cancel](https://docs.adyen.com/online-payments/cancel)." +} + ,"response": [ + {"name": "Created - the request has been fulfilled and has resulted in one or more new resources being created.", + "code": 201, + "status": "Created", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"merchantAccount\" : \"YOUR_MERCHANT_ACCOUNT\",\n \"paymentReference\" : \"YOUR_UNIQUE_REFERENCE_FOR_THE_PAYMENT\",\n \"reference\" : \"YOUR_UNIQUE_REFERENCE_FOR_THE_CANCELLATION\",\n \"pspReference\" : \"993617894906488A\",\n \"status\" : \"received\"\n}", + "originalRequest": { + "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 \"paymentReference\" : \"YOUR_UNIQUE_REFERENCE_FOR_THE_PAYMENT\",\n \"reference\" : \"YOUR_UNIQUE_REFERENCE_FOR_THE_CANCELLATION\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/cancels", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "cancels" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Cancels the authorisation on a payment that has not yet been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/captures), and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**TECHNICAL_CANCEL** webhook](https://docs.adyen.com/online-payments/cancel#cancellation-webhook). If you want to cancel a payment using the [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference), use the [`/payments/{paymentPspReference}/cancels`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/cancels) endpoint instead. If you want to cancel a payment but are not sure whether it has been captured, use the [`/payments/{paymentPspReference}/reversals`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/reversals) endpoint instead. For more information, refer to [Cancel](https://docs.adyen.com/online-payments/cancel)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"paymentReference\" : \"YOUR_UNIQUE_REFERENCE_FOR_THE_PAYMENT\",\n \"reference\" : \"YOUR_UNIQUE_REFERENCE_FOR_THE_CANCELLATION\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/cancels", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "cancels" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Cancels the authorisation on a payment that has not yet been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/captures), and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**TECHNICAL_CANCEL** webhook](https://docs.adyen.com/online-payments/cancel#cancellation-webhook). If you want to cancel a payment using the [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference), use the [`/payments/{paymentPspReference}/cancels`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/cancels) endpoint instead. If you want to cancel a payment but are not sure whether it has been captured, use the [`/payments/{paymentPspReference}/reversals`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/reversals) endpoint instead. For more information, refer to [Cancel](https://docs.adyen.com/online-payments/cancel)." - } + ] } ] - } -, + }, { "name": "/payments/:paymentPspReference/amountUpdates", "description": "Increases or decreases the authorised payment amount and returns a unique reference for this request. You get the outcome of the request asynchronously, in an [**AUTHORISATION_ADJUSTMENT** webhook](https://docs.adyen.com/development-resources/webhooks/understand-notifications#event-codes). You can only update authorised amounts that have not yet been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/captures). The amount you specify in the request is the updated amount, which is larger or smaller than the initial authorised amount. For more information, refer to [Authorisation adjustment](https://docs.adyen.com/online-payments/adjust-authorisation#use-cases).", @@ -75,62 +133,127 @@ { "name": "Update the amount of an authorised payment", "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 + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 2500\n },\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments/:paymentPspReference/amountUpdates", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments", + ":paymentPspReference", + "amountUpdates" + ], + "variable": [ + { + "key": "paymentPspReference", + "value": "", + "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment." + } + ], + "query": [ + ] + }, + "description": "Increases or decreases the authorised payment amount and returns a unique reference for this request. You get the outcome of the request asynchronously, in an [**AUTHORISATION_ADJUSTMENT** webhook](https://docs.adyen.com/development-resources/webhooks/understand-notifications#event-codes). You can only update authorised amounts that have not yet been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/captures). The amount you specify in the request is the updated amount, which is larger or smaller than the initial authorised amount. For more information, refer to [Authorisation adjustment](https://docs.adyen.com/online-payments/adjust-authorisation#use-cases)." +} + ,"response": [ + {"name": "Created - the request has been fulfilled and has resulted in one or more new resources being created.", + "code": 201, + "status": "Created", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"merchantAccount\" : \"YOUR_MERCHANT_ACCOUNT\",\n \"paymentPspReference\" : \"993617894903480A\",\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"pspReference\" : \"993617894906488A\",\n \"status\" : \"received\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 2500\n }\n}", + "originalRequest": { + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 2500\n },\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments/:paymentPspReference/amountUpdates", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments", + ":paymentPspReference", + "amountUpdates" + ], + "variable": [ + { + "key": "paymentPspReference", + "value": "", + "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment." + } + ], + "query": [ + ] + }, + "description": "Increases or decreases the authorised payment amount and returns a unique reference for this request. You get the outcome of the request asynchronously, in an [**AUTHORISATION_ADJUSTMENT** webhook](https://docs.adyen.com/development-resources/webhooks/understand-notifications#event-codes). You can only update authorised amounts that have not yet been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/captures). The amount you specify in the request is the updated amount, which is larger or smaller than the initial authorised amount. For more information, refer to [Authorisation adjustment](https://docs.adyen.com/online-payments/adjust-authorisation#use-cases)." +} } - ], - "body": { - "mode": "raw", - "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" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments/:paymentPspReference/amountUpdates", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments", - ":paymentPspReference", - "amountUpdates" - ], - "variable": [ - { - "key": "paymentPspReference", - "value": "", - "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment." - } - ], - "query": [ - ] - }, - "description": "Increases or decreases the authorised payment amount and returns a unique reference for this request. You get the outcome of the request asynchronously, in an [**AUTHORISATION_ADJUSTMENT** webhook](https://docs.adyen.com/development-resources/webhooks/understand-notifications#event-codes). You can only update authorised amounts that have not yet been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/captures). The amount you specify in the request is the updated amount, which is larger or smaller than the initial authorised amount. For more information, refer to [Authorisation adjustment](https://docs.adyen.com/online-payments/adjust-authorisation#use-cases)." - } + ] } ] - } -, + }, { "name": "/payments/:paymentPspReference/cancels", "description": "Cancels the authorisation on a payment that has not yet been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/paymentPspReference/captures), and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CANCELLATION** webhook](https://docs.adyen.com/online-payments/cancel#cancellation-webhook). If you want to cancel a payment but don't have the [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference), use the [`/cancels`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cancels) endpoint instead. If you want to cancel a payment but are not sure whether it has been captured, use the [`/payments/{paymentPspReference}/reversals`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/reversals) endpoint instead. For more information, refer to [Cancel](https://docs.adyen.com/online-payments/cancel).", @@ -138,62 +261,127 @@ { "name": "Cancel payment using a PSP reference", "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 + "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 \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments/:paymentPspReference/cancels", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments", + ":paymentPspReference", + "cancels" + ], + "variable": [ + { + "key": "paymentPspReference", + "value": "", + "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to cancel. " + } + ], + "query": [ + ] + }, + "description": "Cancels the authorisation on a payment that has not yet been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/paymentPspReference/captures), and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CANCELLATION** webhook](https://docs.adyen.com/online-payments/cancel#cancellation-webhook). If you want to cancel a payment but don't have the [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference), use the [`/cancels`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cancels) endpoint instead. If you want to cancel a payment but are not sure whether it has been captured, use the [`/payments/{paymentPspReference}/reversals`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/reversals) endpoint instead. For more information, refer to [Cancel](https://docs.adyen.com/online-payments/cancel)." +} + ,"response": [ + {"name": "Created - the request has been fulfilled and has resulted in one or more new resources being created.", + "code": 201, + "status": "Created", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"merchantAccount\" : \"YOUR_MERCHANT_ACCOUNT\",\n \"paymentPspReference\" : \"993617894903480A\",\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"pspReference\" : \"993617894906488A\",\n \"status\" : \"received\"\n}", + "originalRequest": { + "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 \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments/:paymentPspReference/cancels", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments", + ":paymentPspReference", + "cancels" + ], + "variable": [ + { + "key": "paymentPspReference", + "value": "", + "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to cancel. " + } + ], + "query": [ + ] + }, + "description": "Cancels the authorisation on a payment that has not yet been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/paymentPspReference/captures), and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CANCELLATION** webhook](https://docs.adyen.com/online-payments/cancel#cancellation-webhook). If you want to cancel a payment but don't have the [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference), use the [`/cancels`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cancels) endpoint instead. If you want to cancel a payment but are not sure whether it has been captured, use the [`/payments/{paymentPspReference}/reversals`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/reversals) endpoint instead. For more information, refer to [Cancel](https://docs.adyen.com/online-payments/cancel)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments/:paymentPspReference/cancels", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments", - ":paymentPspReference", - "cancels" - ], - "variable": [ - { - "key": "paymentPspReference", - "value": "", - "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to cancel. " - } - ], - "query": [ - ] - }, - "description": "Cancels the authorisation on a payment that has not yet been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/paymentPspReference/captures), and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CANCELLATION** webhook](https://docs.adyen.com/online-payments/cancel#cancellation-webhook). If you want to cancel a payment but don't have the [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference), use the [`/cancels`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cancels) endpoint instead. If you want to cancel a payment but are not sure whether it has been captured, use the [`/payments/{paymentPspReference}/reversals`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/reversals) endpoint instead. For more information, refer to [Cancel](https://docs.adyen.com/online-payments/cancel)." - } + ] } ] - } -, + }, { "name": "/payments/:paymentPspReference/captures", "description": " Captures an authorised payment and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CAPTURE** webhook](https://docs.adyen.com/online-payments/capture#capture-notification). You can capture either the full authorised amount or a part of the authorised amount. By default, any unclaimed amount after a partial capture gets cancelled. This does not apply if you enabled multiple partial captures on your account and the payment method supports multiple partial captures. [Automatic capture](https://docs.adyen.com/online-payments/capture#automatic-capture) is the default setting for most payment methods. In these cases, you don't need to make capture requests. However, making capture requests for payments that are captured automatically does not result in double charges. For more information, refer to [Capture](https://docs.adyen.com/online-payments/capture).", @@ -201,62 +389,127 @@ { "name": "Capture an authorised payment", "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 + "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 \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"amount\" : {\n \"value\" : 2000,\n \"currency\" : \"EUR\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments/:paymentPspReference/captures", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments", + ":paymentPspReference", + "captures" + ], + "variable": [ + { + "key": "paymentPspReference", + "value": "", + "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to capture." + } + ], + "query": [ + ] + }, + "description": " Captures an authorised payment and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CAPTURE** webhook](https://docs.adyen.com/online-payments/capture#capture-notification). You can capture either the full authorised amount or a part of the authorised amount. By default, any unclaimed amount after a partial capture gets cancelled. This does not apply if you enabled multiple partial captures on your account and the payment method supports multiple partial captures. [Automatic capture](https://docs.adyen.com/online-payments/capture#automatic-capture) is the default setting for most payment methods. In these cases, you don't need to make capture requests. However, making capture requests for payments that are captured automatically does not result in double charges. For more information, refer to [Capture](https://docs.adyen.com/online-payments/capture)." +} + ,"response": [ + {"name": "Created - the request has been fulfilled and has resulted in one or more new resources being created.", + "code": 201, + "status": "Created", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"merchantAccount\" : \"YOUR_MERCHANT_ACCOUNT\",\n \"paymentPspReference\" : \"993617894903480A\",\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"pspReference\" : \"993617894906488A\",\n \"status\" : \"received\",\n \"amount\" : {\n \"value\" : 2000,\n \"currency\" : \"EUR\"\n }\n}", + "originalRequest": { + "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 \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"amount\" : {\n \"value\" : 2000,\n \"currency\" : \"EUR\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments/:paymentPspReference/captures", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments", + ":paymentPspReference", + "captures" + ], + "variable": [ + { + "key": "paymentPspReference", + "value": "", + "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to capture." + } + ], + "query": [ + ] + }, + "description": " Captures an authorised payment and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CAPTURE** webhook](https://docs.adyen.com/online-payments/capture#capture-notification). You can capture either the full authorised amount or a part of the authorised amount. By default, any unclaimed amount after a partial capture gets cancelled. This does not apply if you enabled multiple partial captures on your account and the payment method supports multiple partial captures. [Automatic capture](https://docs.adyen.com/online-payments/capture#automatic-capture) is the default setting for most payment methods. In these cases, you don't need to make capture requests. However, making capture requests for payments that are captured automatically does not result in double charges. For more information, refer to [Capture](https://docs.adyen.com/online-payments/capture)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"amount\" : {\n \"value\" : 2000,\n \"currency\" : \"EUR\"\n }\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments/:paymentPspReference/captures", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments", - ":paymentPspReference", - "captures" - ], - "variable": [ - { - "key": "paymentPspReference", - "value": "", - "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to capture." - } - ], - "query": [ - ] - }, - "description": " Captures an authorised payment and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CAPTURE** webhook](https://docs.adyen.com/online-payments/capture#capture-notification). You can capture either the full authorised amount or a part of the authorised amount. By default, any unclaimed amount after a partial capture gets cancelled. This does not apply if you enabled multiple partial captures on your account and the payment method supports multiple partial captures. [Automatic capture](https://docs.adyen.com/online-payments/capture#automatic-capture) is the default setting for most payment methods. In these cases, you don't need to make capture requests. However, making capture requests for payments that are captured automatically does not result in double charges. For more information, refer to [Capture](https://docs.adyen.com/online-payments/capture)." - } + ] } ] - } -, + }, { "name": "/payments/:paymentPspReference/refunds", "description": "Refunds a payment that has been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/captures), and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**REFUND** webhook](https://docs.adyen.com/online-payments/refund#refund-webhook). You can refund either the full captured amount or a part of the captured amount. You can also perform multiple partial refunds, as long as their sum doesn't exceed the captured amount. > Some payment methods do not support partial refunds. To learn if a payment method supports partial refunds, refer to the payment method page such as [cards](https://docs.adyen.com/payment-methods/cards#supported-cards), [iDEAL](https://docs.adyen.com/payment-methods/ideal), or [Klarna](https://docs.adyen.com/payment-methods/klarna). If you want to refund a payment but are not sure whether it has been captured, use the [`/payments/{paymentPspReference}/reversals`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/reversals) endpoint instead. For more information, refer to [Refund](https://docs.adyen.com/online-payments/refund).", @@ -264,62 +517,127 @@ { "name": "Refund a payment", "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 + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 2500\n },\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments/:paymentPspReference/refunds", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments", + ":paymentPspReference", + "refunds" + ], + "variable": [ + { + "key": "paymentPspReference", + "value": "", + "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to refund." + } + ], + "query": [ + ] + }, + "description": "Refunds a payment that has been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/captures), and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**REFUND** webhook](https://docs.adyen.com/online-payments/refund#refund-webhook). You can refund either the full captured amount or a part of the captured amount. You can also perform multiple partial refunds, as long as their sum doesn't exceed the captured amount. > Some payment methods do not support partial refunds. To learn if a payment method supports partial refunds, refer to the payment method page such as [cards](https://docs.adyen.com/payment-methods/cards#supported-cards), [iDEAL](https://docs.adyen.com/payment-methods/ideal), or [Klarna](https://docs.adyen.com/payment-methods/klarna). If you want to refund a payment but are not sure whether it has been captured, use the [`/payments/{paymentPspReference}/reversals`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/reversals) endpoint instead. For more information, refer to [Refund](https://docs.adyen.com/online-payments/refund)." +} + ,"response": [ + {"name": "Created - the request has been fulfilled and has resulted in one or more new resources being created.", + "code": 201, + "status": "Created", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"merchantAccount\" : \"YOUR_MERCHANT_ACCOUNT\",\n \"paymentPspReference\" : \"993617894903480A\",\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"pspReference\" : \"993617894906488A\",\n \"status\" : \"received\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 2500\n }\n}", + "originalRequest": { + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 2500\n },\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments/:paymentPspReference/refunds", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments", + ":paymentPspReference", + "refunds" + ], + "variable": [ + { + "key": "paymentPspReference", + "value": "", + "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to refund." + } + ], + "query": [ + ] + }, + "description": "Refunds a payment that has been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/captures), and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**REFUND** webhook](https://docs.adyen.com/online-payments/refund#refund-webhook). You can refund either the full captured amount or a part of the captured amount. You can also perform multiple partial refunds, as long as their sum doesn't exceed the captured amount. > Some payment methods do not support partial refunds. To learn if a payment method supports partial refunds, refer to the payment method page such as [cards](https://docs.adyen.com/payment-methods/cards#supported-cards), [iDEAL](https://docs.adyen.com/payment-methods/ideal), or [Klarna](https://docs.adyen.com/payment-methods/klarna). If you want to refund a payment but are not sure whether it has been captured, use the [`/payments/{paymentPspReference}/reversals`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/reversals) endpoint instead. For more information, refer to [Refund](https://docs.adyen.com/online-payments/refund)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 2500\n },\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments/:paymentPspReference/refunds", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments", - ":paymentPspReference", - "refunds" - ], - "variable": [ - { - "key": "paymentPspReference", - "value": "", - "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to refund." - } - ], - "query": [ - ] - }, - "description": "Refunds a payment that has been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/captures), and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**REFUND** webhook](https://docs.adyen.com/online-payments/refund#refund-webhook). You can refund either the full captured amount or a part of the captured amount. You can also perform multiple partial refunds, as long as their sum doesn't exceed the captured amount. > Some payment methods do not support partial refunds. To learn if a payment method supports partial refunds, refer to the payment method page such as [cards](https://docs.adyen.com/payment-methods/cards#supported-cards), [iDEAL](https://docs.adyen.com/payment-methods/ideal), or [Klarna](https://docs.adyen.com/payment-methods/klarna). If you want to refund a payment but are not sure whether it has been captured, use the [`/payments/{paymentPspReference}/reversals`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/reversals) endpoint instead. For more information, refer to [Refund](https://docs.adyen.com/online-payments/refund)." - } + ] } ] - } -, + }, { "name": "/payments/:paymentPspReference/reversals", "description": "[Refunds](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/refunds) a payment if it has already been captured, and [cancels](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/cancels) a payment if it has not yet been captured. Returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CANCEL_OR_REFUND** webhook](https://docs.adyen.com/online-payments/reverse#cancel-or-refund-webhook). The reversed amount is always the full payment amount. > Do not use this request for payments that involve multiple partial captures. For more information, refer to [Reversal](https://docs.adyen.com/online-payments/reversal).", @@ -327,62 +645,127 @@ { "name": "Reverse (cancel or refund) a payment", "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 + "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 \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments/:paymentPspReference/reversals", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments", + ":paymentPspReference", + "reversals" + ], + "variable": [ + { + "key": "paymentPspReference", + "value": "", + "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to reverse. " + } + ], + "query": [ + ] + }, + "description": "[Refunds](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/refunds) a payment if it has already been captured, and [cancels](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/cancels) a payment if it has not yet been captured. Returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CANCEL_OR_REFUND** webhook](https://docs.adyen.com/online-payments/reverse#cancel-or-refund-webhook). The reversed amount is always the full payment amount. > Do not use this request for payments that involve multiple partial captures. For more information, refer to [Reversal](https://docs.adyen.com/online-payments/reversal)." +} + ,"response": [ + {"name": "Created - the request has been fulfilled and has resulted in one or more new resources being created.", + "code": 201, + "status": "Created", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"merchantAccount\" : \"YOUR_MERCHANT_ACCOUNT\",\n \"paymentPspReference\" : \"993617894903480A\",\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"pspReference\" : \"993617894906488A\",\n \"status\" : \"received\"\n}", + "originalRequest": { + "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 \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments/:paymentPspReference/reversals", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments", + ":paymentPspReference", + "reversals" + ], + "variable": [ + { + "key": "paymentPspReference", + "value": "", + "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to reverse. " + } + ], + "query": [ + ] + }, + "description": "[Refunds](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/refunds) a payment if it has already been captured, and [cancels](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/cancels) a payment if it has not yet been captured. Returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CANCEL_OR_REFUND** webhook](https://docs.adyen.com/online-payments/reverse#cancel-or-refund-webhook). The reversed amount is always the full payment amount. > Do not use this request for payments that involve multiple partial captures. For more information, refer to [Reversal](https://docs.adyen.com/online-payments/reversal)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments/:paymentPspReference/reversals", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments", - ":paymentPspReference", - "reversals" - ], - "variable": [ - { - "key": "paymentPspReference", - "value": "", - "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to reverse. " - } - ], - "query": [ - ] - }, - "description": "[Refunds](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/refunds) a payment if it has already been captured, and [cancels](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/cancels) a payment if it has not yet been captured. Returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CANCEL_OR_REFUND** webhook](https://docs.adyen.com/online-payments/reverse#cancel-or-refund-webhook). The reversed amount is always the full payment amount. > Do not use this request for payments that involve multiple partial captures. For more information, refer to [Reversal](https://docs.adyen.com/online-payments/reversal)." - } + ] } ] } - ] }, { @@ -395,251 +778,374 @@ { "name": "Set up a payment session (Android)", "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 17408\n },\n \"reference\" : \"Your order number\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"channel\" : \"Android\",\n \"token\" : \"TOKEN_YOU_GET_FROM_CHECKOUT_SDK\",\n \"returnUrl\" : \"app://\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl_NL\",\n \"sessionValidity\" : \"2017-04-06T13:09:13Z\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentSession", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentSession" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Provides the data object that can be used to start the Checkout SDK. To set up the payment, pass its amount, currency, and other required parameters. We use this to optimise the payment flow and perform better risk assessment of the transaction. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." - } + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 17408\n },\n \"reference\" : \"Your order number\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"channel\" : \"Android\",\n \"token\" : \"TOKEN_YOU_GET_FROM_CHECKOUT_SDK\",\n \"returnUrl\" : \"app://\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl_NL\",\n \"sessionValidity\" : \"2017-04-06T13:09:13Z\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentSession", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentSession" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Provides the data object that can be used to start the Checkout SDK. To set up the payment, pass its amount, currency, and other required parameters. We use this to optimise the payment flow and perform better risk assessment of the transaction. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." +} + ,"response": [ + ] }, { "name": "Set up a payment session with the option to store card details", "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 + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 17408\n },\n \"reference\" : \"Your order number\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"enableOneClick\" : true,\n \"enableRecurring\" : true,\n \"channel\" : \"Web\",\n \"origin\" : \"https://www.yourwebsite.com\",\n \"returnUrl\" : \"https://www.yourshop.com/checkout/result\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl_NL\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"sdkVersion\" : \"1.7.0\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentSession", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentSession" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Provides the data object that can be used to start the Checkout SDK. To set up the payment, pass its amount, currency, and other required parameters. We use this to optimise the payment flow and perform better risk assessment of the transaction. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"paymentSession\" : \"eyJjaGVja291dHNob3BwZXJCYXN...\"\n}", + "originalRequest": { + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 17408\n },\n \"reference\" : \"Your order number\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"enableOneClick\" : true,\n \"enableRecurring\" : true,\n \"channel\" : \"Web\",\n \"origin\" : \"https://www.yourwebsite.com\",\n \"returnUrl\" : \"https://www.yourshop.com/checkout/result\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl_NL\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"sdkVersion\" : \"1.7.0\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentSession", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentSession" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Provides the data object that can be used to start the Checkout SDK. To set up the payment, pass its amount, currency, and other required parameters. We use this to optimise the payment flow and perform better risk assessment of the transaction. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 17408\n },\n \"reference\" : \"Your order number\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"enableOneClick\" : true,\n \"enableRecurring\" : true,\n \"channel\" : \"Web\",\n \"origin\" : \"https://www.yourwebsite.com\",\n \"returnUrl\" : \"https://www.yourshop.com/checkout/result\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl_NL\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"sdkVersion\" : \"1.7.0\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentSession", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentSession" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Provides the data object that can be used to start the Checkout SDK. To set up the payment, pass its amount, currency, and other required parameters. We use this to optimise the payment flow and perform better risk assessment of the transaction. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." - } + ] }, { "name": "Set up a payment session (iOS)", "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 17408\n },\n \"reference\" : \"Your order number\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"channel\" : \"iOS\",\n \"token\" : \"TOKEN_YOU_GET_FROM_CHECKOUT_SDK\",\n \"returnUrl\" : \"app://\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl_NL\",\n \"sessionValidity\" : \"2017-04-06T13:09:13Z\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentSession", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentSession" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Provides the data object that can be used to start the Checkout SDK. To set up the payment, pass its amount, currency, and other required parameters. We use this to optimise the payment flow and perform better risk assessment of the transaction. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." - } + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 17408\n },\n \"reference\" : \"Your order number\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"channel\" : \"iOS\",\n \"token\" : \"TOKEN_YOU_GET_FROM_CHECKOUT_SDK\",\n \"returnUrl\" : \"app://\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl_NL\",\n \"sessionValidity\" : \"2017-04-06T13:09:13Z\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentSession", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentSession" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Provides the data object that can be used to start the Checkout SDK. To set up the payment, pass its amount, currency, and other required parameters. We use this to optimise the payment flow and perform better risk assessment of the transaction. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." +} + ,"response": [ + ] }, { "name": "Split a payment between a sub-merchant and a platform account", "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 6200\n },\n \"additionalData\" : {\n \"split.api\" : \"1\",\n \"split.nrOfItems\" : \"2\",\n \"split.totalAmount\" : \"6200\",\n \"split.currencyCode\" : \"EUR\",\n \"split.item1.amount\" : \"6000\",\n \"split.item1.type\" : \"MarketPlace\",\n \"split.item1.account\" : \"151272963\",\n \"split.item1.reference\" : \"6124145\",\n \"split.item1.description\" : \"Porcelain Doll: Eliza (20cm)\",\n \"split.item2.amount\" : \"200\",\n \"split.item2.type\" : \"Commission\",\n \"split.item2.reference\" : \"6124146\"\n },\n \"reference\" : \"Your order number\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"channel\" : \"Android\",\n \"token\" : \"TOKEN_YOU_GET_FROM_CHECKOUT_SDK\",\n \"returnUrl\" : \"app://\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl_NL\",\n \"sessionValidity\" : \"2017-04-06T13:09:13Z\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentSession", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentSession" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Provides the data object that can be used to start the Checkout SDK. To set up the payment, pass its amount, currency, and other required parameters. We use this to optimise the payment flow and perform better risk assessment of the transaction. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." - } + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 6200\n },\n \"additionalData\" : {\n \"split.api\" : \"1\",\n \"split.nrOfItems\" : \"2\",\n \"split.totalAmount\" : \"6200\",\n \"split.currencyCode\" : \"EUR\",\n \"split.item1.amount\" : \"6000\",\n \"split.item1.type\" : \"MarketPlace\",\n \"split.item1.account\" : \"151272963\",\n \"split.item1.reference\" : \"6124145\",\n \"split.item1.description\" : \"Porcelain Doll: Eliza (20cm)\",\n \"split.item2.amount\" : \"200\",\n \"split.item2.type\" : \"Commission\",\n \"split.item2.reference\" : \"6124146\"\n },\n \"reference\" : \"Your order number\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"channel\" : \"Android\",\n \"token\" : \"TOKEN_YOU_GET_FROM_CHECKOUT_SDK\",\n \"returnUrl\" : \"app://\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl_NL\",\n \"sessionValidity\" : \"2017-04-06T13:09:13Z\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentSession", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentSession" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Provides the data object that can be used to start the Checkout SDK. To set up the payment, pass its amount, currency, and other required parameters. We use this to optimise the payment flow and perform better risk assessment of the transaction. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." +} + ,"response": [ + ] }, { "name": "Set up a payment session (Web)", "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 + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 17408\n },\n \"reference\" : \"Your order number\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"channel\" : \"Web\",\n \"origin\" : \"https://www.yourwebsite.com\",\n \"returnUrl\" : \"https://www.yourshop.com/checkout/result\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl_NL\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"sdkVersion\" : \"1.9.5\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentSession", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentSession" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Provides the data object that can be used to start the Checkout SDK. To set up the payment, pass its amount, currency, and other required parameters. We use this to optimise the payment flow and perform better risk assessment of the transaction. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"paymentSession\" : \"eyJjaGVja291dHNob3BwZXJCYXN...\"\n}", + "originalRequest": { + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 17408\n },\n \"reference\" : \"Your order number\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"channel\" : \"Web\",\n \"origin\" : \"https://www.yourwebsite.com\",\n \"returnUrl\" : \"https://www.yourshop.com/checkout/result\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl_NL\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"sdkVersion\" : \"1.9.5\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentSession", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentSession" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Provides the data object that can be used to start the Checkout SDK. To set up the payment, pass its amount, currency, and other required parameters. We use this to optimise the payment flow and perform better risk assessment of the transaction. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 17408\n },\n \"reference\" : \"Your order number\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"channel\" : \"Web\",\n \"origin\" : \"https://www.yourwebsite.com\",\n \"returnUrl\" : \"https://www.yourshop.com/checkout/result\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl_NL\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"sdkVersion\" : \"1.9.5\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentSession", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentSession" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Provides the data object that can be used to start the Checkout SDK. To set up the payment, pass its amount, currency, and other required parameters. We use this to optimise the payment flow and perform better risk assessment of the transaction. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." - } + ] } ] - } -, + }, { "name": "/payments/result (DEPRECATED)", "description": "Verifies the payment result using the payload returned from the Checkout SDK. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks).", @@ -647,56 +1153,115 @@ { "name": "Verify payment results", "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 + "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 \"payload\" : \"VALUE_YOU_GET_FROM_CHECKOUT_SDK\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments/result", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments", + "result" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Verifies the payment result using the payload returned from the Checkout SDK. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"pspReference\" : \"V4HZ4RBFJGXXGN82\",\n \"merchantReference\" : \"Your order number\",\n \"shopperLocale\" : \"nl_NL\",\n \"paymentMethod\" : \"ideal\"\n}", + "originalRequest": { + "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 \"payload\" : \"VALUE_YOU_GET_FROM_CHECKOUT_SDK\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments/result", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments", + "result" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Verifies the payment result using the payload returned from the Checkout SDK. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"payload\" : \"VALUE_YOU_GET_FROM_CHECKOUT_SDK\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments/result", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments", - "result" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Verifies the payment result using the payload returned from the Checkout SDK. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." - } + ] } ] } - ] }, { @@ -709,55 +1274,113 @@ { "name": "Create an order", "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 + "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 \"reference\" : \"YOUR_ORDER_REFERENCE\",\n \"amount\" : {\n \"value\" : 2500,\n \"currency\" : \"EUR\"\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/orders", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "orders" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates an order to be used for partial payments. Make a POST `/orders` call before making a `/payments` call when processing payments with different payment methods." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"pspReference\" : \"8616178914061985\",\n \"resultCode\" : \"Success\",\n \"expiresAt\" : \"2021-04-09T14:16:46Z\",\n \"orderData\" : \"Ab02b4c0!BQABAgCxXvknCldOcRElkxY8Za7iyym4Wv8aDzyNwmj/3nh4G6YtwnUIJHaK62NlN4oIsACdkn1FEjBwKlheG40jvXcYGBk4KFV5WvOhTVCpv/KXnkrI7xQv/u2lE7U4wA+HPB6K4Zj2L8xO/ogZi+zGZqFs5m16jmkH7ku6FzXygXLNuUCuOlmlXSZhdkHHTNVQSq1MELDK9OL74y532ETRPTCNxx8WlEiZB+LDqYrPvH9GgigtD5kw8Do45jfFfG72kWBEgfYqp4mbUmBB9ebXFYZKfF0qvW1x7A2Y9+/MFlTIdXfKW484bJeDBCTTrmKGXIj+U4r5imr5fXTyNLcrxyUqwrb9jg+5B4qg1XB6Cgj5UPlSI4O62I7v0s5TTj69dzLwUQRxSQbwLrZVGYavXzeVKI54BVLRV3d/+BbPvTqnTo34UhfZbPlOx9F2eyaS0ZXdOKnHw89uGUgxUpLsMqnbRysi/pxpZaulel+0mExb68wVxb/7Teob5eRG4gp7cfZVZs6tLXOYWL+W0TqIlsa3hWsfM0LeaovzkoDtW/pK5JABXwMtLig9tsxoEh9ONYtIzkXC21LZ8ebiuSIMaPizjF8yca+QxrCZalQsu6uKnBz/mm8nnsflaGU2QS5zcoxk1RudL1Bl36LM9UZGPpFEYWiYA4sUsnNLw7peJjWCGhDepnwMv4TlgsEtoDtz1T54AEp7ImtleSI6IkFGMEFBQTEwM0NBNTM3RUFFRDg3QzI0REQ1MzkwOUI4MEE3OEE5MjNFMzgyM0Q2OERBQ0M5NEI5RkY4MzA1REMifRslOdmfgUHTXl66WPD9xoW2whIeRx/jR++2MqNE16x6zQy+KtDN8/h60crZwmqkjVTQYqQlsYSYDHSIyb4wnnay16/5il1yS7vN3UCLaTXjYBIAyyx6Wr9j4P3CI/etB+PpviHoESC4mV6ZN4whMDQyziQ8s230GtboXbh42qND7rk9phySBogowQlXrtF+l2n2F46nyif0owEgik5fGARfvjZtY2w23s30KMLNwU4gWSvX4H6RMVS8TfZH2fKfNrwB3tZUXwYkELs5ntaHysswq5Mn5aq2BKAMHu/Rh/wureMSI73Qi0avjrzWCwzt3JH4wnzErMnOZwSdgA==\",\n \"reference\" : \"shopper-reference-ekvL83\",\n \"remainingAmount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 2500\n }\n}", + "originalRequest": { + "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 \"reference\" : \"YOUR_ORDER_REFERENCE\",\n \"amount\" : {\n \"value\" : 2500,\n \"currency\" : \"EUR\"\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/orders", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "orders" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates an order to be used for partial payments. Make a POST `/orders` call before making a `/payments` call when processing payments with different payment methods." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"reference\" : \"YOUR_ORDER_REFERENCE\",\n \"amount\" : {\n \"value\" : 2500,\n \"currency\" : \"EUR\"\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/orders", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "orders" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Creates an order to be used for partial payments. Make a POST `/orders` call before making a `/payments` call when processing payments with different payment methods." - } + ] } ] - } -, + }, { "name": "/orders/cancel", "description": "Cancels an order. Cancellation of an order results in an automatic rollback of all payments made in the order, either by canceling or refunding the payment, depending on the type of payment method.", @@ -765,56 +1388,115 @@ { "name": "Cancel an order", "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 + "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 \"order\" : {\n \"pspReference\" : \"8815517812932012\",\n \"orderData\" : \"823fh892f8f18f4...148f13f9f3f\"\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/orders/cancel", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "orders", + "cancel" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Cancels an order. Cancellation of an order results in an automatic rollback of all payments made in the order, either by canceling or refunding the payment, depending on the type of payment method." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"pspReference\" : \"8816178914079738\",\n \"resultCode\" : \"Received\"\n}", + "originalRequest": { + "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 \"order\" : {\n \"pspReference\" : \"8815517812932012\",\n \"orderData\" : \"823fh892f8f18f4...148f13f9f3f\"\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/orders/cancel", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "orders", + "cancel" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Cancels an order. Cancellation of an order results in an automatic rollback of all payments made in the order, either by canceling or refunding the payment, depending on the type of payment method." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"order\" : {\n \"pspReference\" : \"8815517812932012\",\n \"orderData\" : \"823fh892f8f18f4...148f13f9f3f\"\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/orders/cancel", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "orders", - "cancel" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Cancels an order. Cancellation of an order results in an automatic rollback of all payments made in the order, either by canceling or refunding the payment, depending on the type of payment method." - } + ] } ] - } -, + }, { "name": "/paymentMethods/balance", "description": "Retrieves the balance remaining on a shopper's gift card. To check a gift card's balance, make a POST `/paymentMethods/balance` call and include the gift card's details inside a `paymentMethod` object.", @@ -822,106 +1504,225 @@ { "name": "Get gift card balance specifying amount of 10 EUR", "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 + "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 \"paymentMethod\" : {\n \"type\" : \"givex\",\n \"number\" : \"4126491073027401\",\n \"cvc\" : \"737\"\n },\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentMethods/balance", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentMethods", + "balance" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Retrieves the balance remaining on a shopper's gift card. To check a gift card's balance, make a POST `/paymentMethods/balance` call and include the gift card's details inside a `paymentMethod` object." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"pspReference\" : \"KHQC5N7G84BLNK43\",\n \"resultCode\" : \"Success\",\n \"balance\" : {\n \"currency\" : \"EUR\",\n \"value\" : 5000\n }\n}", + "originalRequest": { + "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 \"paymentMethod\" : {\n \"type\" : \"givex\",\n \"number\" : \"4126491073027401\",\n \"cvc\" : \"737\"\n },\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentMethods/balance", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentMethods", + "balance" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Retrieves the balance remaining on a shopper's gift card. To check a gift card's balance, make a POST `/paymentMethods/balance` call and include the gift card's details inside a `paymentMethod` object." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"paymentMethod\" : {\n \"type\" : \"givex\",\n \"number\" : \"4126491073027401\",\n \"cvc\" : \"737\"\n },\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentMethods/balance", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentMethods", - "balance" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Retrieves the balance remaining on a shopper's gift card. To check a gift card's balance, make a POST `/paymentMethods/balance` call and include the gift card's details inside a `paymentMethod` object." - } + ] }, { "name": "Get gift card balance specifying amount of 100 EUR", "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 + "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 \"paymentMethod\" : {\n \"type\" : \"givex\",\n \"number\" : \"4126491073027401\",\n \"cvc\" : \"737\"\n },\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 10000\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentMethods/balance", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentMethods", + "balance" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Retrieves the balance remaining on a shopper's gift card. To check a gift card's balance, make a POST `/paymentMethods/balance` call and include the gift card's details inside a `paymentMethod` object." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"pspReference\" : \"FKSPNCQ8HXSKGK82\",\n \"resultCode\" : \"NotEnoughBalance\",\n \"balance\" : {\n \"currency\" : \"EUR\",\n \"value\" : 5000\n }\n}", + "originalRequest": { + "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 \"paymentMethod\" : {\n \"type\" : \"givex\",\n \"number\" : \"4126491073027401\",\n \"cvc\" : \"737\"\n },\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 10000\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentMethods/balance", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentMethods", + "balance" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Retrieves the balance remaining on a shopper's gift card. To check a gift card's balance, make a POST `/paymentMethods/balance` call and include the gift card's details inside a `paymentMethod` object." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"paymentMethod\" : {\n \"type\" : \"givex\",\n \"number\" : \"4126491073027401\",\n \"cvc\" : \"737\"\n },\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 10000\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentMethods/balance", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentMethods", - "balance" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Retrieves the balance remaining on a shopper's gift card. To check a gift card's balance, make a POST `/paymentMethods/balance` call and include the gift card's details inside a `paymentMethod` object." - } + ] } ] } - ] }, { @@ -934,56 +1735,115 @@ { "name": "Get payment session for Apple Pay", "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 + "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 \"displayName\" : \"YOUR_MERCHANT_NAME\",\n \"domainName\" : \"YOUR_DOMAIN_NAME\",\n \"merchantIdentifier\" : \"YOUR_MERCHANT_ID\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/applePay/sessions", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "applePay", + "sessions" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "You need to use this endpoint if you have an API-only integration with Apple Pay which uses Adyen's Apple Pay certificate. The endpoint returns the Apple Pay session data which you need to complete the [Apple Pay session validation](https://docs.adyen.com/payment-methods/apple-pay/api-only?tab=adyen-certificate-validation_1#complete-apple-pay-session-validation)." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"data\" : \"eyJ2Z...\"\n}", + "originalRequest": { + "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 \"displayName\" : \"YOUR_MERCHANT_NAME\",\n \"domainName\" : \"YOUR_DOMAIN_NAME\",\n \"merchantIdentifier\" : \"YOUR_MERCHANT_ID\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/applePay/sessions", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "applePay", + "sessions" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "You need to use this endpoint if you have an API-only integration with Apple Pay which uses Adyen's Apple Pay certificate. The endpoint returns the Apple Pay session data which you need to complete the [Apple Pay session validation](https://docs.adyen.com/payment-methods/apple-pay/api-only?tab=adyen-certificate-validation_1#complete-apple-pay-session-validation)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"displayName\" : \"YOUR_MERCHANT_NAME\",\n \"domainName\" : \"YOUR_DOMAIN_NAME\",\n \"merchantIdentifier\" : \"YOUR_MERCHANT_ID\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/applePay/sessions", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "applePay", - "sessions" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "You need to use this endpoint if you have an API-only integration with Apple Pay which uses Adyen's Apple Pay certificate. The endpoint returns the Apple Pay session data which you need to complete the [Apple Pay session validation](https://docs.adyen.com/payment-methods/apple-pay/api-only?tab=adyen-certificate-validation_1#complete-apple-pay-session-validation)." - } + ] } ] - } -, + }, { "name": "/originKeys", "description": "This operation takes the origin domains and returns a JSON object containing the corresponding origin keys for the domains. > If you're still using origin key for your Web Drop-in or Components integration, we recommend [switching to client key](https://docs.adyen.com/development-resources/client-side-authentication/migrate-from-origin-key-to-client-key). This allows you to use a single key for all origins, add or remove origins without generating a new key, and detect the card type from the number entered in your payment form. ", @@ -991,55 +1851,113 @@ { "name": "Get origin keys", "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 + "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 \"originDomains\" : [ \"https://www.your-domain1.com\", \"https://www.your-domain2.com\", \"https://www.your-domain3.com\" ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/originKeys", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "originKeys" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "This operation takes the origin domains and returns a JSON object containing the corresponding origin keys for the domains. > If you're still using origin key for your Web Drop-in or Components integration, we recommend [switching to client key](https://docs.adyen.com/development-resources/client-side-authentication/migrate-from-origin-key-to-client-key). This allows you to use a single key for all origins, add or remove origins without generating a new key, and detect the card type from the number entered in your payment form. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"originKeys\" : {\n \"https://www.your-domain1.com\" : \"pub.v2.8116178901076090.aHR0cHM6Ly93d3cueW91ci1kb21haW4xLmNvbQ.pvbYlrXz0ICP4kwMJXDGDLVMqALhwXr1MSRjT-fkhvw\",\n \"https://www.your-domain3.com\" : \"pub.v2.8116178901076090.aHR0cHM6Ly93d3cueW91ci1kb21haW4zLmNvbQ.FrTpVz7_RzAywKasM0kXCRoMfoMkKIKaxjFymRGORIc\",\n \"https://www.your-domain2.com\" : \"pub.v2.8116178901076090.aHR0cHM6Ly93d3cueW91ci1kb21haW4yLmNvbQ.LdN9kvJ35fYFFiBSJA4idMnwwxJ5_yXpeNS__Ap5wkg\"\n }\n}", + "originalRequest": { + "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 \"originDomains\" : [ \"https://www.your-domain1.com\", \"https://www.your-domain2.com\", \"https://www.your-domain3.com\" ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/originKeys", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "originKeys" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "This operation takes the origin domains and returns a JSON object containing the corresponding origin keys for the domains. > If you're still using origin key for your Web Drop-in or Components integration, we recommend [switching to client key](https://docs.adyen.com/development-resources/client-side-authentication/migrate-from-origin-key-to-client-key). This allows you to use a single key for all origins, add or remove origins without generating a new key, and detect the card type from the number entered in your payment form. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"originDomains\" : [ \"https://www.your-domain1.com\", \"https://www.your-domain2.com\", \"https://www.your-domain3.com\" ]\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/originKeys", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "originKeys" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "This operation takes the origin domains and returns a JSON object containing the corresponding origin keys for the domains. > If you're still using origin key for your Web Drop-in or Components integration, we recommend [switching to client key](https://docs.adyen.com/development-resources/client-side-authentication/migrate-from-origin-key-to-client-key). This allows you to use a single key for all origins, add or remove origins without generating a new key, and detect the card type from the number entered in your payment form. " - } + ] } ] } - ] }, { @@ -1052,104 +1970,164 @@ { "name": "Start a donation transaction", "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 + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"reference\" : \"YOUR_DONATION_REFERENCE\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\"\n },\n \"donationToken\" : \"YOUR_DONATION_TOKEN\",\n \"donationOriginalPspReference\" : \"991559660454807J\",\n \"donationAccount\" : \"CHARITY_ACCOUNT\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"shopperInteraction\" : \"ContAuth\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/donations", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "donations" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Takes in the donation token generated by the `/payments` request and uses it to make the donation for the donation account specified in the request. For more information, see [Donations](https://docs.adyen.com/online-payments/donations)." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"id\" : \"UNIQUE_RESOURCE_ID\",\n \"status\" : \"completed\",\n \"donationAccount\" : \"CHARITY_ACCOUNT\",\n \"merchantAccount\" : \"YOUR_MERCHANT_ACCOUNT\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"reference\" : \"YOUR_DONATION_REFERENCE\",\n \"payment\" : {\n \"pspReference\" : \"8535762347980628\",\n \"resultCode\" : \"Authorised\",\n \"merchantReference\" : \"YOUR_DONATION_REFERENCE\"\n }\n}", + "originalRequest": { + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"reference\" : \"YOUR_DONATION_REFERENCE\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\"\n },\n \"donationToken\" : \"YOUR_DONATION_TOKEN\",\n \"donationOriginalPspReference\" : \"991559660454807J\",\n \"donationAccount\" : \"CHARITY_ACCOUNT\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"shopperInteraction\" : \"ContAuth\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/donations", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "donations" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Takes in the donation token generated by the `/payments` request and uses it to make the donation for the donation account specified in the request. For more information, see [Donations](https://docs.adyen.com/online-payments/donations)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"reference\" : \"YOUR_DONATION_REFERENCE\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\"\n },\n \"donationToken\" : \"YOUR_DONATION_TOKEN\",\n \"donationOriginalPspReference\" : \"991559660454807J\",\n \"donationAccount\" : \"CHARITY_ACCOUNT\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"shopperInteraction\" : \"ContAuth\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/donations", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "donations" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Takes in the donation token generated by the `/payments` request and uses it to make the donation for the donation account specified in the request. For more information, see [Donations](https://docs.adyen.com/online-payments/donations)." - } + ] }, { "name": "Start a donation transaction with a token", "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"reference\" : \"YOUR_DONATION_REFERENCE\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"recurringDetailReference\" : \"7219687191761347\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"donationAccount\" : \"CHARITY_ACCOUNT\",\n \"shopperInteraction\" : \"ContAuth\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"recurringProcessingModel\" : \"CardOnFile\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/donations", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "donations" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Takes in the donation token generated by the `/payments` request and uses it to make the donation for the donation account specified in the request. For more information, see [Donations](https://docs.adyen.com/online-payments/donations)." - } + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"reference\" : \"YOUR_DONATION_REFERENCE\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"recurringDetailReference\" : \"7219687191761347\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"donationAccount\" : \"CHARITY_ACCOUNT\",\n \"shopperInteraction\" : \"ContAuth\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"recurringProcessingModel\" : \"CardOnFile\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/donations", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "donations" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Takes in the donation token generated by the `/payments` request and uses it to make the donation for the donation account specified in the request. For more information, see [Donations](https://docs.adyen.com/online-payments/donations)." +} + ,"response": [ + ] } ] } - ] }, { @@ -1162,104 +2140,221 @@ { "name": "Get a list of brands on a card", "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 + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"cardNumber\" : \"411111\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/cardDetails", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "cardDetails" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Send a request with at least the first 6 digits of the card number to get a response with an array of brands on the card. If you include [your supported brands](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__reqParam_supportedBrands) in the request, the response also tells you if you support each [brand that was identified](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__resParam_details). If you have an API-only integration and collect card data, use this endpoint to find out if the shopper's card is co-branded. For co-branded cards, you must let the shopper choose the brand to pay with if you support both brands. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"brands\" : [ {\n \"type\" : \"visa\",\n \"supported\" : true\n }, {\n \"type\" : \"cartebancaire\",\n \"supported\" : true\n } ]\n}", + "originalRequest": { + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"cardNumber\" : \"411111\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/cardDetails", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "cardDetails" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Send a request with at least the first 6 digits of the card number to get a response with an array of brands on the card. If you include [your supported brands](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__reqParam_supportedBrands) in the request, the response also tells you if you support each [brand that was identified](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__resParam_details). If you have an API-only integration and collect card data, use this endpoint to find out if the shopper's card is co-branded. For co-branded cards, you must let the shopper choose the brand to pay with if you support both brands. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"cardNumber\" : \"411111\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/cardDetails", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "cardDetails" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Send a request with at least the first 6 digits of the card number to get a response with an array of brands on the card. If you include [your supported brands](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__reqParam_supportedBrands) in the request, the response also tells you if you support each [brand that was identified](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__resParam_details). If you have an API-only integration and collect card data, use this endpoint to find out if the shopper's card is co-branded. For co-branded cards, you must let the shopper choose the brand to pay with if you support both brands. " - } + ] }, { "name": "Get a list of brands on a card specifying your supported card brands", "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 + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"cardNumber\" : \"411111\",\n \"supportedBrands\" : [ \"visa\", \"mc\", \"amex\" ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/cardDetails", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "cardDetails" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Send a request with at least the first 6 digits of the card number to get a response with an array of brands on the card. If you include [your supported brands](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__reqParam_supportedBrands) in the request, the response also tells you if you support each [brand that was identified](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__resParam_details). If you have an API-only integration and collect card data, use this endpoint to find out if the shopper's card is co-branded. For co-branded cards, you must let the shopper choose the brand to pay with if you support both brands. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"brands\" : [ {\n \"type\" : \"visa\",\n \"supported\" : true\n }, {\n \"type\" : \"cartebancaire\",\n \"supported\" : false\n } ]\n}", + "originalRequest": { + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"cardNumber\" : \"411111\",\n \"supportedBrands\" : [ \"visa\", \"mc\", \"amex\" ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/cardDetails", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "cardDetails" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Send a request with at least the first 6 digits of the card number to get a response with an array of brands on the card. If you include [your supported brands](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__reqParam_supportedBrands) in the request, the response also tells you if you support each [brand that was identified](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__resParam_details). If you have an API-only integration and collect card data, use this endpoint to find out if the shopper's card is co-branded. For co-branded cards, you must let the shopper choose the brand to pay with if you support both brands. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"cardNumber\" : \"411111\",\n \"supportedBrands\" : [ \"visa\", \"mc\", \"amex\" ]\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/cardDetails", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "cardDetails" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Send a request with at least the first 6 digits of the card number to get a response with an array of brands on the card. If you include [your supported brands](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__reqParam_supportedBrands) in the request, the response also tells you if you support each [brand that was identified](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__resParam_details). If you have an API-only integration and collect card data, use this endpoint to find out if the shopper's card is co-branded. For co-branded cards, you must let the shopper choose the brand to pay with if you support both brands. " - } + ] } ] - } -, + }, { "name": "/paymentMethods", "description": "Queries the available payment methods for a transaction based on the transaction context (like amount, country, and currency). Besides giving back a list of the available payment methods, the response also returns which input details you need to collect from the shopper (to be submitted to `/payments`). Although we highly recommend using this endpoint to ensure you are always offering the most up-to-date list of payment methods, its usage is optional. You can, for example, also cache the `/paymentMethods` response and update it once a week.", @@ -1267,153 +2362,329 @@ { "name": "Get available payment methods", "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 + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentMethods", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentMethods" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Queries the available payment methods for a transaction based on the transaction context (like amount, country, and currency). Besides giving back a list of the available payment methods, the response also returns which input details you need to collect from the shopper (to be submitted to `/payments`). Although we highly recommend using this endpoint to ensure you are always offering the most up-to-date list of payment methods, its usage is optional. You can, for example, also cache the `/paymentMethods` response and update it once a week." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"paymentMethods\" : [ {\n \"details\" : [ {\n \"details\" : [ {\n \"key\" : \"ownerName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"bankLocationId\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"bankAccountNumber\",\n \"type\" : \"text\"\n } ],\n \"key\" : \"bankAccount\",\n \"type\" : \"bankAccount\"\n } ],\n \"name\" : \"ACH Direct Debit\",\n \"type\" : \"ach\"\n }, {\n \"name\" : \"Adyen Voucher\",\n \"type\" : \"adyen_test_voucher\"\n }, {\n \"details\" : [ {\n \"details\" : [ {\n \"key\" : \"firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"lastName\",\n \"type\" : \"text\"\n }, {\n \"items\" : [ {\n \"id\" : \"M\",\n \"name\" : \"male\"\n }, {\n \"id\" : \"F\",\n \"name\" : \"female\"\n } ],\n \"key\" : \"gender\",\n \"type\" : \"radio\"\n }, {\n \"key\" : \"dateOfBirth\",\n \"type\" : \"date\"\n }, {\n \"key\" : \"telephoneNumber\",\n \"type\" : \"tel\"\n }, {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n } ],\n \"key\" : \"personalDetails\",\n \"type\" : \"fieldSet\"\n }, {\n \"details\" : [ {\n \"key\" : \"street\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"houseNumberOrName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"city\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"postalCode\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"stateOrProvince\",\n \"optional\" : true,\n \"type\" : \"text\"\n }, {\n \"items\" : [ {\n \"id\" : \"NL\",\n \"name\" : \"Netherlands\"\n }, {\n \"id\" : \"BE\",\n \"name\" : \"Belgium\"\n } ],\n \"key\" : \"country\",\n \"type\" : \"select\"\n } ],\n \"key\" : \"billingAddress\",\n \"type\" : \"address\"\n }, {\n \"key\" : \"separateDeliveryAddress\",\n \"optional\" : true,\n \"type\" : \"boolean\",\n \"value\" : \"false\"\n }, {\n \"details\" : [ {\n \"key\" : \"street\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"houseNumberOrName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"city\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"postalCode\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"stateOrProvince\",\n \"optional\" : true,\n \"type\" : \"text\"\n }, {\n \"items\" : [ {\n \"id\" : \"NL\",\n \"name\" : \"Netherlands\"\n }, {\n \"id\" : \"BE\",\n \"name\" : \"Belgium\"\n } ],\n \"key\" : \"country\",\n \"type\" : \"select\"\n } ],\n \"key\" : \"deliveryAddress\",\n \"optional\" : true,\n \"type\" : \"address\"\n } ],\n \"name\" : \"AfterPay Invoice\",\n \"type\" : \"afterpay_default\"\n }, {\n \"name\" : \"AfterPay DirectDebit\",\n \"type\" : \"afterpay_directdebit\"\n }, {\n \"name\" : \"Afterpay\",\n \"type\" : \"afterpaytouch\"\n }, {\n \"details\" : [ {\n \"key\" : \"encryptedCardNumber\",\n \"type\" : \"cardToken\"\n }, {\n \"key\" : \"encryptedSecurityCode\",\n \"type\" : \"cardToken\"\n }, {\n \"key\" : \"encryptedExpiryMonth\",\n \"type\" : \"cardToken\"\n }, {\n \"key\" : \"encryptedExpiryYear\",\n \"type\" : \"cardToken\"\n }, {\n \"key\" : \"holderName\",\n \"optional\" : true,\n \"type\" : \"text\"\n } ],\n \"name\" : \"Credit Card\",\n \"type\" : \"scheme\"\n }, {\n \"name\" : \"AliPay\",\n \"type\" : \"alipay\"\n }, {\n \"name\" : \"AliPay HK\",\n \"type\" : \"alipay_hk\"\n }, {\n \"name\" : \"AliPay\",\n \"type\" : \"alipay_wap\"\n }, {\n \"details\" : [ {\n \"key\" : \"additionalData.androidpay.token\",\n \"type\" : \"androidPayToken\"\n } ],\n \"name\" : \"Android Pay\",\n \"type\" : \"androidpay\"\n }, {\n \"details\" : [ {\n \"key\" : \"additionalData.applepay.token\",\n \"type\" : \"applePayToken\"\n } ],\n \"name\" : \"Apple Pay\",\n \"type\" : \"applepay\"\n }, {\n \"name\" : \"Credit Card via AsiaPay\",\n \"type\" : \"asiapay\"\n }, {\n \"name\" : \"China UnionPay\",\n \"type\" : \"asiapay_unionpay\"\n }, {\n \"name\" : \"Baby Gift Card\",\n \"type\" : \"babygiftcard\"\n }, {\n \"name\" : \"Baloto\",\n \"type\" : \"baloto\"\n }, {\n \"name\" : \"BancNet\",\n \"type\" : \"bancnet\"\n }, {\n \"name\" : \"Bank Transfer (BG)\",\n \"type\" : \"bankTransfer_BG\"\n }, {\n \"name\" : \"Bank Transfer (CH)\",\n \"type\" : \"bankTransfer_CH\"\n }, {\n \"name\" : \"Bank Transfer (DE)\",\n \"type\" : \"bankTransfer_DE\"\n }, {\n \"name\" : \"Bank Transfer (FI)\",\n \"type\" : \"bankTransfer_FI\"\n }, {\n \"name\" : \"Bank Transfer (GB)\",\n \"type\" : \"bankTransfer_GB\"\n }, {\n \"name\" : \"Bank Transfer (HU)\",\n \"type\" : \"bankTransfer_HU\"\n }, {\n \"name\" : \"SEPA Bank Transfer\",\n \"type\" : \"bankTransfer_IBAN\"\n }, {\n \"name\" : \"Bank Transfer (IE)\",\n \"type\" : \"bankTransfer_IE\"\n }, {\n \"name\" : \"Electronic Bank Transfer (MX)\",\n \"type\" : \"bankTransfer_MX_linked\"\n }, {\n \"name\" : \"Bank Transfer (MX)\",\n \"type\" : \"bankTransfer_MX_offline\"\n }, {\n \"name\" : \"Bank Transfer (NL)\",\n \"type\" : \"bankTransfer_NL\"\n }, {\n \"name\" : \"Bank Transfer (PL)\",\n \"type\" : \"bankTransfer_PL\"\n }, {\n \"name\" : \"Bank Transfer (SE)\",\n \"type\" : \"bankTransfer_SE\"\n }, {\n \"name\" : \"Bank Transfer (US)\",\n \"type\" : \"bankTransfer_US\"\n }, {\n \"name\" : \"Payconiq by Bancontact\",\n \"type\" : \"bcmc_mobile\"\n }, {\n \"name\" : \"Bijenkorf Cadeaucard\",\n \"type\" : \"bijcadeaucard\"\n }, {\n \"name\" : \"99Bill\",\n \"type\" : \"bill99\"\n }, {\n \"details\" : [ {\n \"items\" : [ {\n \"id\" : \"AUB_DIRECT\",\n \"name\" : \"AU Small Finance Bank\"\n }, {\n \"id\" : \"ALB_DIRECT\",\n \"name\" : \"Allahabad Bank \"\n }, {\n \"id\" : \"APG_DIRECT\",\n \"name\" : \"Andhra Pragathi Grameena Bank\"\n }, {\n \"id\" : \"BDN_DIRECT\",\n \"name\" : \"Bandhan bank\"\n }, {\n \"id\" : \"BBK_DIRECT\",\n \"name\" : \"Bank of Bahrain and Kuwait\"\n }, {\n \"id\" : \"BBR_DIRECT\",\n \"name\" : \"Bank of Baroda - Retail Banking\"\n }, {\n \"id\" : \"BCB_DIRECT\",\n \"name\" : \"Bassien Catholic Co-Operative Bank \"\n }, {\n \"id\" : \"CNB_DIRECT\",\n \"name\" : \"Canara Bank\"\n }, {\n \"id\" : \"SYD_DIRECT\",\n \"name\" : \"Canara Bank (e-Syndicate)\"\n }, {\n \"id\" : \"CSB_DIRECT\",\n \"name\" : \"Catholic Syrian Bank\"\n }, {\n \"id\" : \"CBI_DIRECT\",\n \"name\" : \"Central Bank of India\"\n }, {\n \"id\" : \"CUB_DIRECT\",\n \"name\" : \"City Union Bank\"\n }, {\n \"id\" : \"COB_DIRECT\",\n \"name\" : \"Cosmos Bank\"\n }, {\n \"id\" : \"DEN_DIRECT\",\n \"name\" : \"Dena Bank\"\n }, {\n \"id\" : \"DBK_DIRECT\",\n \"name\" : \"Deutsche Bank\"\n }, {\n \"id\" : \"DCB_DIRECT\",\n \"name\" : \"Development Credit Bank\"\n }, {\n \"id\" : \"DLB_DIRECT\",\n \"name\" : \"Dhanlakshmi Bank - Retail Net Banking\"\n }, {\n \"id\" : \"ESF_DIRECT\",\n \"name\" : \"ESAF Small Finance Bank\"\n }, {\n \"id\" : \"EQB_DIRECT\",\n \"name\" : \"Equitas Small Finance Bank\"\n }, {\n \"id\" : \"FBK_DIRECT\",\n \"name\" : \"Federal Bank\"\n }, {\n \"id\" : \"FNC_DIRECT\",\n \"name\" : \"Fincare Bank\"\n }, {\n \"id\" : \"HDF_DIRECT\",\n \"name\" : \"HDFC Bank\"\n }, {\n \"id\" : \"ICI_DIRECT\",\n \"name\" : \"ICICI Bank \"\n }, {\n \"id\" : \"IDB_DIRECT\",\n \"name\" : \"IDBI Bank - Retail Net Banking\"\n }, {\n \"id\" : \"IDN_DIRECT\",\n \"name\" : \"IDFC FIRST Bank\"\n }, {\n \"id\" : \"INB_DIRECT\",\n \"name\" : \"Indian Bank\"\n }, {\n \"id\" : \"IOB_DIRECT\",\n \"name\" : \"Indian Overseas Bank\"\n }, {\n \"id\" : \"IDS_DIRECT\",\n \"name\" : \"IndusInd Bank\"\n }, {\n \"id\" : \"JKB_DIRECT\",\n \"name\" : \"Jammu & Kashmir Bank\"\n }, {\n \"id\" : \"JNB_DIRECT\",\n \"name\" : \"Jana Small Finance Bank\"\n }, {\n \"id\" : \"JSB_DIRECT\",\n \"name\" : \"Janata Sahakari Bank Ltd Pune\"\n }, {\n \"id\" : \"KJB_DIRECT\",\n \"name\" : \"Kalyan Janata Sahakari Bank\"\n }, {\n \"id\" : \"KBL_DIRECT\",\n \"name\" : \"Karnataka Bank Ltd\"\n }, {\n \"id\" : \"KVB_DIRECT\",\n \"name\" : \"Karur Vysya Bank\"\n }, {\n \"id\" : \"162_DIRECT\",\n \"name\" : \"Kotak Bank\"\n }, {\n \"id\" : \"LVR_DIRECT\",\n \"name\" : \"Laxmi Vilas Bank - Retail\"\n }, {\n \"id\" : \"NKB_DIRECT\",\n \"name\" : \"NKGSB Co-op Bank\"\n }, {\n \"id\" : \"NEB_DIRECT\",\n \"name\" : \"North East Small Finance Bank\"\n }, {\n \"id\" : \"OBC_DIRECT\",\n \"name\" : \"PNB (Erstwhile-Oriental Bank of Commerce)\"\n }, {\n \"id\" : \"UNI_DIRECT\",\n \"name\" : \"PNB (Erstwhile-United Bank of India)\"\n }, {\n \"id\" : \"PMC_DIRECT\",\n \"name\" : \"Punjab & Maharastra Co-op Bank\"\n }, {\n \"id\" : \"PSB_DIRECT\",\n \"name\" : \"Punjab & Sind Bank\"\n }, {\n \"id\" : \"CPN_DIRECT\",\n \"name\" : \"Punjab National Bank - Corporate \"\n }, {\n \"id\" : \"PNB_DIRECT\",\n \"name\" : \"Punjab National Bank - Retail Banking\"\n }, {\n \"id\" : \"RBL_DIRECT\",\n \"name\" : \"RBL Bank Limited\"\n }, {\n \"id\" : \"SWB_DIRECT\",\n \"name\" : \"Saraswat Bank\"\n }, {\n \"id\" : \"SHB_DIRECT\",\n \"name\" : \"Shivalik Mercantile Cooperative Bank Ltd\"\n }, {\n \"id\" : \"SIB_DIRECT\",\n \"name\" : \"South Indian Bank\"\n }, {\n \"id\" : \"SCB_DIRECT\",\n \"name\" : \"Standard Chartered Bank\"\n }, {\n \"id\" : \"SBI_DIRECT\",\n \"name\" : \"State Bank of India\"\n }, {\n \"id\" : \"SRB_DIRECT\",\n \"name\" : \"Suryoday Small Finance Bank\"\n }, {\n \"id\" : \"TJB_DIRECT\",\n \"name\" : \"TJSB Bank\"\n }, {\n \"id\" : \"TNC_DIRECT\",\n \"name\" : \"Tamil Nadu State Co-operative Bank\"\n }, {\n \"id\" : \"TMB_DIRECT\",\n \"name\" : \"Tamilnad Mercantile Bank Ltd\"\n }, {\n \"id\" : \"TBB_DIRECT\",\n \"name\" : \"Thane Bharat Sahakari Bank Ltd\"\n }, {\n \"id\" : \"MSB_DIRECT\",\n \"name\" : \"The Mehsana Urban Co Op Bank Ltd\"\n }, {\n \"id\" : \"UCO_DIRECT\",\n \"name\" : \"UCO Bank\"\n }, {\n \"id\" : \"UBI_DIRECT\",\n \"name\" : \"Union Bank of India\"\n }, {\n \"id\" : \"ADB_DIRECT\",\n \"name\" : \"Union Bank of India (Erstwhile Andhra Bank)\"\n }, {\n \"id\" : \"CRP_DIRECT\",\n \"name\" : \"Union Bank of India (Erstwhile Corporation Bank)\"\n }, {\n \"id\" : \"VRB_DIRECT\",\n \"name\" : \"Varachha Co-operative Bank Limited\"\n }, {\n \"id\" : \"VJB_DIRECT\",\n \"name\" : \"Vijaya Bank\"\n }, {\n \"id\" : \"YBK_DIRECT\",\n \"name\" : \"Yes Bank\"\n }, {\n \"id\" : \"ZOB_DIRECT\",\n \"name\" : \"Zoroastrian Co-operative Bank Limited\"\n }, {\n \"id\" : \"DBS_DIRECT\",\n \"name\" : \"digibank by DBS\"\n } ],\n \"key\" : \"issuer\",\n \"type\" : \"select\"\n } ],\n \"name\" : \"Online Banking India\",\n \"type\" : \"billdesk_online\"\n }, {\n \"name\" : \"UPI\",\n \"type\" : \"billdesk_upi\"\n }, {\n \"details\" : [ {\n \"items\" : [ {\n \"id\" : \"DCW_DIRECT\",\n \"name\" : \"DCB Cippy\"\n }, {\n \"id\" : \"ICC_DIRECT\",\n \"name\" : \"ICC Cash Card\"\n }, {\n \"id\" : \"OXY_DIRECT\",\n \"name\" : \"Oxigen Wallet\"\n }, {\n \"id\" : \"PCH_DIRECT\",\n \"name\" : \"Pay World Money\"\n } ],\n \"key\" : \"issuer\",\n \"type\" : \"select\"\n } ],\n \"name\" : \"Wallets India\",\n \"type\" : \"billdesk_wallet\"\n }, {\n \"name\" : \"Blik\",\n \"type\" : \"blik\"\n }, {\n \"name\" : \"Bloemen Giftcard\",\n \"type\" : \"bloemengiftcard\"\n }, {\n \"name\" : \"Boekenbon Giftcard\",\n \"type\" : \"boekenbon\"\n }, {\n \"name\" : \"Boleto\",\n \"type\" : \"boleto\"\n }, {\n \"name\" : \"Boleto Bancario\",\n \"type\" : \"boletobancario_santander\"\n }, {\n \"name\" : \"Bradesco\",\n \"type\" : \"bradesco\"\n }, {\n \"name\" : \"Cash-Ticket\",\n \"type\" : \"cashticket\"\n }, {\n \"name\" : \"CashU\",\n \"type\" : \"cashu\"\n }, {\n \"name\" : \"CCAvenue\",\n \"type\" : \"ccavenue\"\n }, {\n \"name\" : \"Mula Checkout\",\n \"type\" : \"cellulant\"\n }, {\n \"name\" : \"Chasin Giftcard\",\n \"type\" : \"chasingiftcard\"\n }, {\n \"name\" : \"Clearpay\",\n \"type\" : \"clearpay\"\n }, {\n \"name\" : \"ClickandBuy\",\n \"type\" : \"clickandbuy\"\n }, {\n \"name\" : \"Paiement en 3 fois par Cartes Bancaires\",\n \"type\" : \"cofinoga_3xcb\"\n }, {\n \"name\" : \"Costes Giftcard\",\n \"type\" : \"costesgiftcard\"\n }, {\n \"name\" : \"custom_settlement\",\n \"type\" : \"custom_settlement\"\n }, {\n \"name\" : \"DANA\",\n \"type\" : \"dana\"\n }, {\n \"name\" : \"DineroMail\",\n \"type\" : \"dineromail\"\n }, {\n \"name\" : \"Online bank transfer.\",\n \"type\" : \"directEbanking\"\n }, {\n \"name\" : \"Direct Debit Brazil - Banco do Brazil\",\n \"type\" : \"directdebit_BR_bancodobrasil\"\n }, {\n \"name\" : \"Direct Debit Brazil - Bradesco\",\n \"type\" : \"directdebit_BR_bradesco\"\n }, {\n \"name\" : \"Direct Debit Brazil - Caixa Economica Federal\",\n \"type\" : \"directdebit_BR_caixa\"\n }, {\n \"name\" : \"Direct Debit Brazil - HSBC\",\n \"type\" : \"directdebit_BR_hsbc\"\n }, {\n \"name\" : \"Direct Debit Brazil - Itau\",\n \"type\" : \"directdebit_BR_itau\"\n }, {\n \"name\" : \"Direct Debit Brazil - Santander\",\n \"type\" : \"directdebit_BR_santander\"\n }, {\n \"name\" : \"BACS Direct Debit\",\n \"type\" : \"directdebit_GB\"\n }, {\n \"details\" : [ {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n }, {\n \"key\" : \"firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"lastName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"infix\",\n \"optional\" : true,\n \"type\" : \"text\"\n } ],\n \"name\" : \"Alfamart\",\n \"type\" : \"doku_alfamart\"\n }, {\n \"details\" : [ {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n }, {\n \"key\" : \"firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"lastName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"infix\",\n \"optional\" : true,\n \"type\" : \"text\"\n } ],\n \"name\" : \"BCA Bank Transfer\",\n \"type\" : \"doku_bca_va\"\n }, {\n \"details\" : [ {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n }, {\n \"key\" : \"firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"lastName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"infix\",\n \"optional\" : true,\n \"type\" : \"text\"\n } ],\n \"name\" : \"BNI VA\",\n \"type\" : \"doku_bni_va\"\n }, {\n \"details\" : [ {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n }, {\n \"key\" : \"firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"lastName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"infix\",\n \"optional\" : true,\n \"type\" : \"text\"\n } ],\n \"name\" : \"BRI VA\",\n \"type\" : \"doku_bri_va\"\n }, {\n \"details\" : [ {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n }, {\n \"key\" : \"firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"lastName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"infix\",\n \"optional\" : true,\n \"type\" : \"text\"\n } ],\n \"name\" : \"CIMB VA\",\n \"type\" : \"doku_cimb_va\"\n }, {\n \"details\" : [ {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n }, {\n \"key\" : \"firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"lastName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"infix\",\n \"optional\" : true,\n \"type\" : \"text\"\n } ],\n \"name\" : \"Danamon VA\",\n \"type\" : \"doku_danamon_va\"\n }, {\n \"details\" : [ {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n }, {\n \"key\" : \"firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"lastName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"infix\",\n \"optional\" : true,\n \"type\" : \"text\"\n } ],\n \"name\" : \"Indomaret\",\n \"type\" : \"doku_indomaret\"\n }, {\n \"details\" : [ {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n }, {\n \"key\" : \"firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"lastName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"infix\",\n \"optional\" : true,\n \"type\" : \"text\"\n } ],\n \"name\" : \"Mandiri VA\",\n \"type\" : \"doku_mandiri_va\"\n }, {\n \"details\" : [ {\n \"key\" : \"ovoId\",\n \"type\" : \"text\"\n } ],\n \"name\" : \"OVO\",\n \"type\" : \"doku_ovo\"\n }, {\n \"details\" : [ {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n }, {\n \"key\" : \"firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"lastName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"infix\",\n \"optional\" : true,\n \"type\" : \"text\"\n } ],\n \"name\" : \"Bank Transfer\",\n \"type\" : \"doku_permata_lite_atm\"\n }, {\n \"details\" : [ {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n }, {\n \"key\" : \"firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"lastName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"infix\",\n \"optional\" : true,\n \"type\" : \"text\"\n } ],\n \"name\" : \"DOKU wallet\",\n \"type\" : \"doku_wallet\"\n }, {\n \"details\" : [ {\n \"items\" : [ {\n \"id\" : \"66\",\n \"name\" : \"Bank Nowy BFG S.A.\"\n }, {\n \"id\" : \"92\",\n \"name\" : \"Bank Spółdzielczy w Brodnicy\"\n }, {\n \"id\" : \"11\",\n \"name\" : \"Bank transfer / postal\"\n }, {\n \"id\" : \"74\",\n \"name\" : \"Banki Spółdzielcze\"\n }, {\n \"id\" : \"73\",\n \"name\" : \"BLIK\"\n }, {\n \"id\" : \"90\",\n \"name\" : \"BNP Paribas - płacę z Pl@net\"\n }, {\n \"id\" : \"59\",\n \"name\" : \"CinkciarzPAY\"\n }, {\n \"id\" : \"87\",\n \"name\" : \"Credit Agricole PBL\"\n }, {\n \"id\" : \"83\",\n \"name\" : \"EnveloBank\"\n }, {\n \"id\" : \"76\",\n \"name\" : \"Getin Bank PBL\"\n }, {\n \"id\" : \"81\",\n \"name\" : \"Idea Cloud\"\n }, {\n \"id\" : \"7\",\n \"name\" : \"ING Corporate customers\"\n }, {\n \"id\" : \"93\",\n \"name\" : \"Kasa Stefczyka\"\n }, {\n \"id\" : \"44\",\n \"name\" : \"Millennium - Płatności Internetowe\"\n }, {\n \"id\" : \"10\",\n \"name\" : \"Millennium Corporate customers\"\n }, {\n \"id\" : \"68\",\n \"name\" : \"mRaty\"\n }, {\n \"id\" : \"1\",\n \"name\" : \"mTransfer\"\n }, {\n \"id\" : \"91\",\n \"name\" : \"Nest Bank\"\n }, {\n \"id\" : \"80\",\n \"name\" : \"Noble Pay\"\n }, {\n \"id\" : \"50\",\n \"name\" : \"Pay Way Toyota Bank\"\n }, {\n \"id\" : \"45\",\n \"name\" : \"Pay with Alior Bank\"\n }, {\n \"id\" : \"36\",\n \"name\" : \"Pekao24Przelew\"\n }, {\n \"id\" : \"70\",\n \"name\" : \"Pocztowy24\"\n }, {\n \"id\" : \"6\",\n \"name\" : \"Przelew24\"\n }, {\n \"id\" : \"46\",\n \"name\" : \"Płacę z Citi Handlowy\"\n }, {\n \"id\" : \"38\",\n \"name\" : \"Płacę z ING\"\n }, {\n \"id\" : \"2\",\n \"name\" : \"Płacę z Inteligo\"\n }, {\n \"id\" : \"4\",\n \"name\" : \"Płacę z iPKO\"\n }, {\n \"id\" : \"75\",\n \"name\" : \"Płacę z Plus Bank\"\n }, {\n \"id\" : \"51\",\n \"name\" : \"Płać z BOŚ\"\n }, {\n \"id\" : \"55\",\n \"name\" : \"Raty z Alior Bankiem PLN\"\n }, {\n \"id\" : \"89\",\n \"name\" : \"Santander\"\n }, {\n \"id\" : \"52\",\n \"name\" : \"SkyCash\"\n } ],\n \"key\" : \"issuer\",\n \"type\" : \"select\"\n } ],\n \"name\" : \"Local Polish Payment Methods\",\n \"type\" : \"dotpay\"\n }, {\n \"name\" : \"Dragonpay Prepaid Credits\",\n \"type\" : \"dragonpay_credits\"\n }, {\n \"name\" : \"Online Banking\",\n \"type\" : \"dragonpay_ebanking\"\n }, {\n \"name\" : \"GCash\",\n \"type\" : \"dragonpay_gcash\"\n }, {\n \"name\" : \"Over The Counter Banks\",\n \"type\" : \"dragonpay_otc_banking\"\n }, {\n \"name\" : \"OTC non-Bank via Dragonpay\",\n \"type\" : \"dragonpay_otc_non_banking\"\n }, {\n \"name\" : \"Convenience Stores\",\n \"type\" : \"dragonpay_otc_philippines\"\n }, {\n \"name\" : \"7/11\",\n \"type\" : \"dragonpay_seveneleven\"\n }, {\n \"name\" : \"eagleeye_voucher\",\n \"type\" : \"eagleeye_voucher\"\n }, {\n \"name\" : \"Finnish E-Banking\",\n \"type\" : \"ebanking_FI\"\n }, {\n \"name\" : \"Pay-easy ATM\",\n \"type\" : \"econtext_atm\"\n }, {\n \"name\" : \"Online Banking\",\n \"type\" : \"econtext_online\"\n }, {\n \"name\" : \"7-Eleven\",\n \"type\" : \"econtext_seven_eleven\"\n }, {\n \"name\" : \"Convenience Stores\",\n \"type\" : \"econtext_stores\"\n }, {\n \"name\" : \"eft_directdebit_CA\",\n \"type\" : \"eft_directdebit_CA\"\n }, {\n \"name\" : \"Lastschrift (ELV)\",\n \"type\" : \"elv\"\n }, {\n \"details\" : [ {\n \"items\" : [ {\n \"id\" : \"231\",\n \"name\" : \"POP Pankki\"\n }, {\n \"id\" : \"551\",\n \"name\" : \"Komerční banka\"\n }, {\n \"id\" : \"232\",\n \"name\" : \"Aktia\"\n }, {\n \"id\" : \"552\",\n \"name\" : \"Raiffeisen\"\n }, {\n \"id\" : \"233\",\n \"name\" : \"Säästöpankki\"\n }, {\n \"id\" : \"750\",\n \"name\" : \"Swedbank\"\n }, {\n \"id\" : \"211\",\n \"name\" : \"Nordea\"\n }, {\n \"id\" : \"553\",\n \"name\" : \"ČSOB\"\n }, {\n \"id\" : \"234\",\n \"name\" : \"S-Pankki\"\n }, {\n \"id\" : \"751\",\n \"name\" : \"SEB\"\n }, {\n \"id\" : \"554\",\n \"name\" : \"Moneta\"\n }, {\n \"id\" : \"235\",\n \"name\" : \"OmaSP\"\n }, {\n \"id\" : \"752\",\n \"name\" : \"Nordea\"\n }, {\n \"id\" : \"213\",\n \"name\" : \"Op-Pohjola\"\n }, {\n \"id\" : \"555\",\n \"name\" : \"UniCredit\"\n }, {\n \"id\" : \"753\",\n \"name\" : \"LHV\"\n }, {\n \"id\" : \"556\",\n \"name\" : \"Fio\"\n }, {\n \"id\" : \"557\",\n \"name\" : \"mBank\"\n }, {\n \"id\" : \"216\",\n \"name\" : \"Handelsbanken\"\n }, {\n \"id\" : \"558\",\n \"name\" : \"Air Bank\"\n }, {\n \"id\" : \"260\",\n \"name\" : \"Länsförsäkringar\"\n }, {\n \"id\" : \"240\",\n \"name\" : \"BankDeposit\"\n }, {\n \"id\" : \"265\",\n \"name\" : \"Sparbanken\"\n }, {\n \"id\" : \"640\",\n \"name\" : \"BankDeposit\"\n }, {\n \"id\" : \"200\",\n \"name\" : \"Ålandsbanken\"\n }, {\n \"id\" : \"940\",\n \"name\" : \"Swedbank\"\n }, {\n \"id\" : \"500\",\n \"name\" : \"Česká spořitelna\"\n }, {\n \"id\" : \"720\",\n \"name\" : \"Swedbank\"\n }, {\n \"id\" : \"941\",\n \"name\" : \"SEB\"\n }, {\n \"id\" : \"204\",\n \"name\" : \"Danske Bank\"\n }, {\n \"id\" : \"721\",\n \"name\" : \"SEB\"\n }, {\n \"id\" : \"942\",\n \"name\" : \"Citadele\"\n }, {\n \"id\" : \"205\",\n \"name\" : \"Handelsbanken\"\n }, {\n \"id\" : \"722\",\n \"name\" : \"DNB\"\n }, {\n \"id\" : \"943\",\n \"name\" : \"DNB\"\n }, {\n \"id\" : \"206\",\n \"name\" : \"Nordea\"\n }, {\n \"id\" : \"723\",\n \"name\" : \"Šiaulių bankas\"\n }, {\n \"id\" : \"207\",\n \"name\" : \"SEB\"\n }, {\n \"id\" : \"724\",\n \"name\" : \"Nordea\"\n }, {\n \"id\" : \"505\",\n \"name\" : \"Komerční banka\"\n }, {\n \"id\" : \"208\",\n \"name\" : \"Skandiabanken\"\n }, {\n \"id\" : \"209\",\n \"name\" : \"Swedbank\"\n } ],\n \"key\" : \"issuer\",\n \"type\" : \"select\"\n } ],\n \"name\" : \"Bank Payment\",\n \"type\" : \"entercash\"\n }, {\n \"name\" : \"Nationale Entertainment Card\",\n \"type\" : \"entertainmentcard\"\n }, {\n \"details\" : [ {\n \"items\" : [ {\n \"id\" : \"d5d5b133-1c0d-4c08-b2be-3c9b116dc326\",\n \"name\" : \"Dolomitenbank\"\n }, {\n \"id\" : \"ee9fc487-ebe0-486c-8101-17dce5141a67\",\n \"name\" : \"Raiffeissen Bankengruppe\"\n }, {\n \"id\" : \"6765e225-a0dc-4481-9666-e26303d4f221\",\n \"name\" : \"Hypo Tirol Bank AG\"\n }, {\n \"id\" : \"8b0bfeea-fbb0-4337-b3a1-0e25c0f060fc\",\n \"name\" : \"Sparda Bank Wien\"\n }, {\n \"id\" : \"1190c4d1-b37a-487e-9355-e0a067f54a9f\",\n \"name\" : \"Schoellerbank AG\"\n }, {\n \"id\" : \"e2e97aaa-de4c-4e18-9431-d99790773433\",\n \"name\" : \"Volksbank Gruppe\"\n }, {\n \"id\" : \"bb7d223a-17d5-48af-a6ef-8a2bf5a4e5d9\",\n \"name\" : \"Immo-Bank\"\n }, {\n \"id\" : \"e6819e7a-f663-414b-92ec-cf7c82d2f4e5\",\n \"name\" : \"Bank Austria\"\n }, {\n \"id\" : \"eff103e6-843d-48b7-a6e6-fbd88f511b11\",\n \"name\" : \"Easybank AG\"\n }, {\n \"id\" : \"25942cc9-617d-42a1-89ba-d1ab5a05770a\",\n \"name\" : \"VR-BankBraunau\"\n }, {\n \"id\" : \"4a0a975b-0594-4b40-9068-39f77b3a91f9\",\n \"name\" : \"Volkskreditbank\"\n }, {\n \"id\" : \"3fdc41fc-3d3d-4ee3-a1fe-cd79cfd58ea3\",\n \"name\" : \"Erste Bank und Sparkassen\"\n }, {\n \"id\" : \"ba7199cc-f057-42f2-9856-2378abf21638\",\n \"name\" : \"BAWAG P.S.K. Gruppe\"\n } ],\n \"key\" : \"issuer\",\n \"type\" : \"select\"\n } ],\n \"name\" : \"EPS\",\n \"type\" : \"eps\"\n }, {\n \"name\" : \"Expert Cadeaukaart\",\n \"type\" : \"expertgiftcard\"\n }, {\n \"details\" : [ {\n \"details\" : [ {\n \"key\" : \"firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"lastName\",\n \"type\" : \"text\"\n }, {\n \"items\" : [ {\n \"id\" : \"M\",\n \"name\" : \"male\"\n }, {\n \"id\" : \"F\",\n \"name\" : \"female\"\n } ],\n \"key\" : \"gender\",\n \"type\" : \"radio\"\n }, {\n \"key\" : \"telephoneNumber\",\n \"type\" : \"tel\"\n }, {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n } ],\n \"key\" : \"personalDetails\",\n \"type\" : \"fieldSet\"\n }, {\n \"details\" : [ {\n \"key\" : \"street\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"houseNumberOrName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"city\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"postalCode\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"stateOrProvince\",\n \"optional\" : true,\n \"type\" : \"text\"\n }, {\n \"items\" : [ {\n \"id\" : \"FR\",\n \"name\" : \"France\"\n }, {\n \"id\" : \"ES\",\n \"name\" : \"Spain\"\n } ],\n \"key\" : \"country\",\n \"type\" : \"select\"\n } ],\n \"key\" : \"billingAddress\",\n \"type\" : \"address\"\n }, {\n \"key\" : \"separateDeliveryAddress\",\n \"optional\" : true,\n \"type\" : \"boolean\",\n \"value\" : \"false\"\n }, {\n \"details\" : [ {\n \"key\" : \"street\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"houseNumberOrName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"city\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"postalCode\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"stateOrProvince\",\n \"optional\" : true,\n \"type\" : \"text\"\n }, {\n \"items\" : [ {\n \"id\" : \"FR\",\n \"name\" : \"France\"\n }, {\n \"id\" : \"ES\",\n \"name\" : \"Spain\"\n } ],\n \"key\" : \"country\",\n \"type\" : \"select\"\n } ],\n \"key\" : \"deliveryAddress\",\n \"optional\" : true,\n \"type\" : \"address\"\n } ],\n \"name\" : \"3x Oney\",\n \"type\" : \"facilypay_3x\"\n }, {\n \"details\" : [ {\n \"details\" : [ {\n \"key\" : \"firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"lastName\",\n \"type\" : \"text\"\n }, {\n \"items\" : [ {\n \"id\" : \"M\",\n \"name\" : \"male\"\n }, {\n \"id\" : \"F\",\n \"name\" : \"female\"\n } ],\n \"key\" : \"gender\",\n \"type\" : \"radio\"\n }, {\n \"key\" : \"telephoneNumber\",\n \"type\" : \"tel\"\n }, {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n } ],\n \"key\" : \"personalDetails\",\n \"type\" : \"fieldSet\"\n }, {\n \"details\" : [ {\n \"key\" : \"street\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"houseNumberOrName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"city\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"postalCode\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"stateOrProvince\",\n \"optional\" : true,\n \"type\" : \"text\"\n }, {\n \"items\" : [ {\n \"id\" : \"FR\",\n \"name\" : \"France\"\n }, {\n \"id\" : \"ES\",\n \"name\" : \"Spain\"\n } ],\n \"key\" : \"country\",\n \"type\" : \"select\"\n } ],\n \"key\" : \"billingAddress\",\n \"type\" : \"address\"\n }, {\n \"key\" : \"separateDeliveryAddress\",\n \"optional\" : true,\n \"type\" : \"boolean\",\n \"value\" : \"false\"\n }, {\n \"details\" : [ {\n \"key\" : \"street\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"houseNumberOrName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"city\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"postalCode\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"stateOrProvince\",\n \"optional\" : true,\n \"type\" : \"text\"\n }, {\n \"items\" : [ {\n \"id\" : \"FR\",\n \"name\" : \"France\"\n }, {\n \"id\" : \"ES\",\n \"name\" : \"Spain\"\n } ],\n \"key\" : \"country\",\n \"type\" : \"select\"\n } ],\n \"key\" : \"deliveryAddress\",\n \"optional\" : true,\n \"type\" : \"address\"\n } ],\n \"name\" : \"4x Oney\",\n \"type\" : \"facilypay_4x\"\n }, {\n \"name\" : \"Fashioncheque\",\n \"type\" : \"fashioncheque\"\n }, {\n \"details\" : [ {\n \"key\" : \"shopper.firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"shopper.lastName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"shopper.gender\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n }, {\n \"key\" : \"telephoneNumber\",\n \"type\" : \"tel\"\n }, {\n \"key\" : \"countryCode\",\n \"type\" : \"text\"\n } ],\n \"name\" : \"Fawry\",\n \"type\" : \"fawry\"\n }, {\n \"name\" : \"FijnCadeau\",\n \"type\" : \"fijncadeau\"\n }, {\n \"name\" : \"Fleurop Bloemenbon\",\n \"type\" : \"fleuropbloemenbon\"\n }, {\n \"name\" : \"Fonq Giftcard\",\n \"type\" : \"fonqgiftcard\"\n }, {\n \"name\" : \"Gall & Gall\",\n \"type\" : \"gallgall\"\n }, {\n \"name\" : \"GCash\",\n \"type\" : \"gcash\"\n }, {\n \"name\" : \"Generic GiftCard\",\n \"type\" : \"genericgiftcard\"\n }, {\n \"name\" : \"GiftFor2\",\n \"type\" : \"giftfor2card\"\n }, {\n \"name\" : \"Givex\",\n \"type\" : \"givex\"\n }, {\n \"name\" : \"Globe GCash\",\n \"type\" : \"globegcash\"\n }, {\n \"name\" : \"Goldsmiths Card\",\n \"type\" : \"goldsmithscard\"\n }, {\n \"name\" : \"GoPay Wallet\",\n \"type\" : \"gopay_wallet\"\n }, {\n \"name\" : \"OVO\",\n \"type\" : \"grabpay_ID\"\n }, {\n \"name\" : \"GrabPay\",\n \"type\" : \"grabpay_PH\"\n }, {\n \"name\" : \"GrabPay\",\n \"type\" : \"grabpay_SG\"\n }, {\n \"name\" : \"Hallmark Card\",\n \"type\" : \"hallmarkcard\"\n }, {\n \"name\" : \"HDFC\",\n \"type\" : \"hdfc\"\n }, {\n \"name\" : \"Hunkemoller Member Card\",\n \"type\" : \"hmclub\"\n }, {\n \"name\" : \"Hunkemoller Lingerie Card\",\n \"type\" : \"hmlingerie\"\n }, {\n \"details\" : [ {\n \"items\" : [ {\n \"id\" : \"1121\",\n \"name\" : \"Test Issuer\"\n }, {\n \"id\" : \"1154\",\n \"name\" : \"Test Issuer 5\"\n }, {\n \"id\" : \"1153\",\n \"name\" : \"Test Issuer 4\"\n }, {\n \"id\" : \"1152\",\n \"name\" : \"Test Issuer 3\"\n }, {\n \"id\" : \"1151\",\n \"name\" : \"Test Issuer 2\"\n }, {\n \"id\" : \"1162\",\n \"name\" : \"Test Issuer Cancelled\"\n }, {\n \"id\" : \"1161\",\n \"name\" : \"Test Issuer Pending\"\n }, {\n \"id\" : \"1160\",\n \"name\" : \"Test Issuer Refused\"\n }, {\n \"id\" : \"1159\",\n \"name\" : \"Test Issuer 10\"\n }, {\n \"id\" : \"1158\",\n \"name\" : \"Test Issuer 9\"\n }, {\n \"id\" : \"1157\",\n \"name\" : \"Test Issuer 8\"\n }, {\n \"id\" : \"1156\",\n \"name\" : \"Test Issuer 7\"\n }, {\n \"id\" : \"1155\",\n \"name\" : \"Test Issuer 6\"\n } ],\n \"key\" : \"issuer\",\n \"type\" : \"select\"\n } ],\n \"name\" : \"iDEAL\",\n \"type\" : \"ideal\"\n }, {\n \"name\" : \"igive\",\n \"type\" : \"igive\"\n }, {\n \"name\" : \"Korean Account Transfer (IniPay)\",\n \"type\" : \"inicisIniPay_accounttransfer\"\n }, {\n \"name\" : \"Korean Credit Cards (IniPay)\",\n \"type\" : \"inicisIniPay_creditcard\"\n }, {\n \"name\" : \"Korean Mobile Phone (IniPay)\",\n \"type\" : \"inicisIniPay_mobilephone\"\n }, {\n \"name\" : \"Korean Virtual Account (IniPay)\",\n \"type\" : \"inicisIniPay_virtualaccount\"\n }, {\n \"name\" : \"Korean Account Transfer (Mobile)\",\n \"type\" : \"inicisMobile_accounttransfer\"\n }, {\n \"name\" : \"Korean Credit Cards (Mobile)\",\n \"type\" : \"inicisMobile_creditcard\"\n }, {\n \"name\" : \"Korean Mobile Phone (Mobile)\",\n \"type\" : \"inicisMobile_mobilephone\"\n }, {\n \"name\" : \"Korean Virtual Account (Mobile)\",\n \"type\" : \"inicisMobile_virtualaccount\"\n }, {\n \"name\" : \"Korean Credit Cards\",\n \"type\" : \"inicis_creditcard\"\n }, {\n \"name\" : \"Interac® Online\",\n \"type\" : \"interac\"\n }, {\n \"name\" : \"Instant EFT\",\n \"type\" : \"ipay\"\n }, {\n \"name\" : \"iPay88\",\n \"type\" : \"ipay88\"\n }, {\n \"name\" : \"isracard\",\n \"type\" : \"isracard\"\n }, {\n \"name\" : \"Phone Payment\",\n \"type\" : \"ivr\"\n }, {\n \"name\" : \"Landline phone\",\n \"type\" : \"ivrLandline\"\n }, {\n \"name\" : \"Mobile phone\",\n \"type\" : \"ivrMobile\"\n }, {\n \"name\" : \"Kado Wereld\",\n \"type\" : \"kadowereld\"\n }, {\n \"name\" : \"KakaoPay\",\n \"type\" : \"kakaopay\"\n }, {\n \"name\" : \"Karen Millen Card\",\n \"type\" : \"karenmillen\"\n }, {\n \"name\" : \"Karen Millen GiftCard\",\n \"type\" : \"karenmillengiftcard\"\n }, {\n \"name\" : \"Bank Transfer\",\n \"type\" : \"kcp_banktransfer\"\n }, {\n \"name\" : \"Korea–issued cards\",\n \"type\" : \"kcp_creditcard\"\n }, {\n \"name\" : \"PayCo\",\n \"type\" : \"kcp_payco\"\n }, {\n \"name\" : \"Naver Pay\",\n \"type\" : \"kcp_naverpay\"\n }, {\n \"name\" : \"Virtual Account via KCP\",\n \"type\" : \"kcp_va\"\n }, {\n \"name\" : \"Pay later with Klarna.\",\n \"type\" : \"klarna\"\n }, {\n \"name\" : \"Pay over time with Klarna.\",\n \"type\" : \"klarna_account\"\n }, {\n \"name\" : \"Buy Now, Pay Later with Billie\",\n \"type\" : \"klarna_b2b\"\n }, {\n \"name\" : \"Pay now with Klarna.\",\n \"type\" : \"klarna_paynow\"\n }, {\n \"name\" : \"Leisure Card\",\n \"type\" : \"leisurecard\"\n }, {\n \"name\" : \"China Credit Card\",\n \"type\" : \"lianlianpay_creditcard\"\n }, {\n \"name\" : \"China Debit Card\",\n \"type\" : \"lianlianpay_debitcard\"\n }, {\n \"details\" : [ {\n \"key\" : \"telephoneNumber\",\n \"type\" : \"tel\"\n } ],\n \"name\" : \"China Online Banking - Credit Card\",\n \"type\" : \"lianlianpay_ebanking_credit\"\n }, {\n \"details\" : [ {\n \"items\" : [ {\n \"id\" : \"01030000\",\n \"name\" : \"Agricultural Bank of China\"\n }, {\n \"id\" : \"4031000\",\n \"name\" : \"Bank of Beijing\"\n }, {\n \"id\" : \"01040000\",\n \"name\" : \"Bank of China\"\n }, {\n \"id\" : \"03020000\",\n \"name\" : \"China Citic Bank\"\n }, {\n \"id\" : \"01050000\",\n \"name\" : \"China Construction Bank\"\n }, {\n \"id\" : \"03030000\",\n \"name\" : \"China Everbright Bank\"\n }, {\n \"id\" : \"03080000\",\n \"name\" : \"China Merchants Bank\"\n }, {\n \"id\" : \"03050000\",\n \"name\" : \"China Minsheng Banking Group\"\n }, {\n \"id\" : \"03040000\",\n \"name\" : \"Hua Xia Bank Co\"\n }, {\n \"id\" : \"01020000\",\n \"name\" : \"Industrial and Commercial Bank of China\"\n }, {\n \"id\" : \"03070000\",\n \"name\" : \"PingAn Bank\"\n }, {\n \"id\" : \"1000000\",\n \"name\" : \"Postal Savings Bank of China\"\n } ],\n \"key\" : \"issuer\",\n \"type\" : \"select\"\n }, {\n \"key\" : \"telephoneNumber\",\n \"type\" : \"tel\"\n } ],\n \"name\" : \"China Online Banking - Debit Card\",\n \"type\" : \"lianlianpay_ebanking_debit\"\n }, {\n \"details\" : [ {\n \"items\" : [ {\n \"id\" : \"01030000\",\n \"name\" : \"Agricultural Bank of China\"\n }, {\n \"id\" : \"01050000\",\n \"name\" : \"China Construction Bank\"\n }, {\n \"id\" : \"03080000\",\n \"name\" : \"China Merchants Bank\"\n }, {\n \"id\" : \"01020000\",\n \"name\" : \"Industrial and Commercial Bank of China\"\n }, {\n \"id\" : \"03100000\",\n \"name\" : \"Shanghai Pudong Development Bank\"\n } ],\n \"key\" : \"issuer\",\n \"type\" : \"select\"\n }, {\n \"key\" : \"telephoneNumber\",\n \"type\" : \"tel\"\n } ],\n \"name\" : \"China Online Banking - Enterprise\",\n \"type\" : \"lianlianpay_ebanking_enterprise\"\n }, {\n \"name\" : \"Loods5 Cadeaukaart\",\n \"type\" : \"loods5giftcard\"\n }, {\n \"name\" : \"Loods5 Tegoedbon\",\n \"type\" : \"loods5prepaidcard\"\n }, {\n \"name\" : \"Love2Shop GiftCard\",\n \"type\" : \"love2shop\"\n }, {\n \"details\" : [ {\n \"key\" : \"shopper.firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"shopper.lastName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"shopper.gender\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n }, {\n \"key\" : \"telephoneNumber\",\n \"type\" : \"tel\"\n }, {\n \"key\" : \"countryCode\",\n \"type\" : \"text\"\n } ],\n \"name\" : \"mada\",\n \"type\" : \"mada\"\n }, {\n \"name\" : \"Mappin & Webb Card\",\n \"type\" : \"mappinwebbcard\"\n }, {\n \"name\" : \"MB WAY\",\n \"type\" : \"mbway\"\n }, {\n \"details\" : [ {\n \"key\" : \"additionalData.amazonPayToken\",\n \"type\" : \"text\"\n } ],\n \"name\" : \"Amazon Pay\",\n \"supportsRecurring\" : true,\n \"type\" : \"amazonpay\"\n }, {\n \"name\" : \"Mercado Pago\",\n \"type\" : \"mercadopago\"\n }, {\n \"name\" : \"MobilePay\",\n \"type\" : \"mobilepay\"\n }, {\n \"name\" : \"AliPay via Razer Merchant Services\",\n \"type\" : \"molpay_alipay\"\n }, {\n \"name\" : \"7-Eleven\",\n \"type\" : \"molpay_cash\"\n }, {\n \"name\" : \"CIMB Virtual Account\",\n \"type\" : \"molpay_cimb_va\"\n }, {\n \"name\" : \"Malaysia E-Banking via Razer Merchant Services\",\n \"type\" : \"molpay_ebanking_MY\"\n }, {\n \"details\" : [ {\n \"items\" : [ {\n \"id\" : \"vtcpay-vietinbank\",\n \"name\" : \"Vietinbank\"\n }, {\n \"id\" : \"vtcpay-bidv\",\n \"name\" : \"BIDV\"\n }, {\n \"id\" : \"vtcpay-agribank\",\n \"name\" : \"Agribank\"\n }, {\n \"id\" : \"vtcpay-mb\",\n \"name\" : \"MB Bank\"\n }, {\n \"id\" : \"vtcpay-sacombank\",\n \"name\" : \"Sacombank\"\n }, {\n \"id\" : \"vtcpay-dongabank\",\n \"name\" : \"DongABank\"\n }, {\n \"id\" : \"vtcpay-maritimebank\",\n \"name\" : \"MaritimeBank\"\n }, {\n \"id\" : \"vtcpay-vietcombank\",\n \"name\" : \"Vietcombank\"\n }, {\n \"id\" : \"vtcpay-acb\",\n \"name\" : \"ACB\"\n }, {\n \"id\" : \"vtcpay-techcombank\",\n \"name\" : \"Techcombank\"\n } ],\n \"key\" : \"issuer\",\n \"type\" : \"select\"\n } ],\n \"name\" : \"Vietnam E-Banking\",\n \"type\" : \"molpay_ebanking_VN\"\n }, {\n \"details\" : [ {\n \"items\" : [ {\n \"id\" : \"fpx_bimb\",\n \"name\" : \"Bank Islam\"\n }, {\n \"id\" : \"fpx_uob\",\n \"name\" : \"UOB Bank\"\n }, {\n \"id\" : \"fpx_cimbclicks\",\n \"name\" : \"CIMB Clicks\"\n }, {\n \"id\" : \"fpx_kfh\",\n \"name\" : \"Kuwait Finance House\"\n }, {\n \"id\" : \"fpx_rhb\",\n \"name\" : \"RHB Now\"\n }, {\n \"id\" : \"fpx_abmb\",\n \"name\" : \"Alliance Bank\"\n }, {\n \"id\" : \"fpx_amb\",\n \"name\" : \"Am Online\"\n }, {\n \"id\" : \"fpx_hsbc\",\n \"name\" : \"HSBC\"\n }, {\n \"id\" : \"fpx_abb\",\n \"name\" : \"Affin Bank\"\n }, {\n \"id\" : \"fpx_ocbc\",\n \"name\" : \"OCBC Bank\"\n }, {\n \"id\" : \"fpx_pbb\",\n \"name\" : \"Public Bank\"\n }, {\n \"id\" : \"fpx_scb\",\n \"name\" : \"Standard Chartered Bank\"\n }, {\n \"id\" : \"fpx_bsn\",\n \"name\" : \"Bank Simpanan Nasional\"\n }, {\n \"id\" : \"fpx_mb2u\",\n \"name\" : \"Maybank2u\"\n }, {\n \"id\" : \"fpx_hlb\",\n \"name\" : \"Hong Leong Connect\"\n }, {\n \"id\" : \"fpx_bmmb\",\n \"name\" : \"Bank Muamalat\"\n }, {\n \"id\" : \"fpx_bkrm\",\n \"name\" : \"Bank Rakyat\"\n } ],\n \"key\" : \"issuer\",\n \"type\" : \"select\"\n } ],\n \"name\" : \"Malaysia E-Banking\",\n \"type\" : \"molpay_ebanking_fpx_MY\"\n }, {\n \"name\" : \"eNETS Debit\",\n \"type\" : \"molpay_enetsd\"\n }, {\n \"name\" : \"epay\",\n \"type\" : \"molpay_epay\"\n }, {\n \"name\" : \"Esapay\",\n \"type\" : \"molpay_esapay\"\n }, {\n \"name\" : \"MyClear FPX\",\n \"type\" : \"molpay_fpx\"\n }, {\n \"name\" : \"Maybank2u\",\n \"type\" : \"molpay_maybank2u\"\n }, {\n \"name\" : \"Nganluong\",\n \"type\" : \"molpay_nganluong\"\n }, {\n \"name\" : \"Convenience Stores Thailand\",\n \"type\" : \"molpay_paysbuy\"\n }, {\n \"name\" : \"MOLPoints\",\n \"type\" : \"molpay_points\"\n }, {\n \"name\" : \"RHB Now\",\n \"type\" : \"molpay_rhb\"\n }, {\n \"name\" : \"SAM by SingPost\",\n \"type\" : \"molpay_singpost\"\n }, {\n \"name\" : \"MOLWallet\",\n \"type\" : \"molpay_wallet\"\n }, {\n \"name\" : \"MoMo ATM\",\n \"type\" : \"momo_atm\"\n }, {\n \"name\" : \"Momo Wallet\",\n \"type\" : \"momo_wallet\"\n }, {\n \"name\" : \"Moneybookers\",\n \"type\" : \"moneybookers\"\n }, {\n \"name\" : \"Multibanco\",\n \"type\" : \"multibanco\"\n }, {\n \"name\" : \"De Nationale Musicalcard\",\n \"type\" : \"musicalcard\"\n }, {\n \"name\" : \"Nationale Bioscoopbon\",\n \"type\" : \"nationalebioscoopbon\"\n }, {\n \"name\" : \"Nationale Tuinbon\",\n \"type\" : \"nationaletuinbon\"\n }, {\n \"name\" : \"Nationale Verwen Cadeaubon\",\n \"type\" : \"nationaleverwencadeaubon\"\n }, {\n \"name\" : \"BankAxess\",\n \"type\" : \"netaxept_bankaxess\"\n }, {\n \"name\" : \"NETELLER\",\n \"type\" : \"neteller\"\n }, {\n \"name\" : \"Onebip\",\n \"type\" : \"onebip\"\n }, {\n \"name\" : \"One Two Three\",\n \"type\" : \"onetwothree\"\n }, {\n \"name\" : \"Online Banking PL\",\n \"type\" : \"onlineBanking_PL\"\n }, {\n \"details\" : [ {\n \"items\" : [ {\n \"id\" : \"1\",\n \"name\" : \"Model Bank v2\"\n } ],\n \"key\" : \"issuer\",\n \"type\" : \"select\"\n } ],\n \"name\" : \"Online banking\",\n \"type\" : \"openbanking_UK\"\n }, {\n \"name\" : \"Oxxo\",\n \"type\" : \"oxxo\"\n }, {\n \"name\" : \"Pathe Giftcard\",\n \"type\" : \"pathegiftcard\"\n }, {\n \"name\" : \"PayBright\",\n \"type\" : \"paybright\"\n }, {\n \"name\" : \"Maya Wallet\",\n \"type\" : \"paymaya_wallet\"\n }, {\n \"name\" : \"PayPal\",\n \"type\" : \"paypal\"\n }, {\n \"name\" : \"Paysafecard\",\n \"type\" : \"paysafecard\"\n }, {\n \"name\" : \"Payshop\",\n \"type\" : \"payshop\"\n }, {\n \"name\" : \"PayD AMT via Paythru\",\n \"type\" : \"paythru_amt\"\n }, {\n \"name\" : \"EFT via Paythru\",\n \"type\" : \"paythru_eft\"\n }, {\n \"name\" : \"PayTM\",\n \"type\" : \"paytm\"\n }, {\n \"details\" : [ {\n \"key\" : \"virtualPaymentAddress\",\n \"type\" : \"text\"\n } ],\n \"name\" : \"PayU UPI\",\n \"type\" : \"payu_IN_upi\"\n }, {\n \"name\" : \"EFT Pro via PayU\",\n \"type\" : \"payu_ZA_eftpro\"\n }, {\n \"details\" : [ {\n \"key\" : \"additionalData.paywithgoogle.token\",\n \"type\" : \"payWithGoogleToken\"\n } ],\n \"name\" : \"Google Pay\",\n \"type\" : \"paywithgoogle\"\n }, {\n \"name\" : \"pix\",\n \"type\" : \"pix\"\n }, {\n \"name\" : \"Plastix\",\n \"type\" : \"plastix\"\n }, {\n \"name\" : \"Pluim\",\n \"type\" : \"pluimgiftcard\"\n }, {\n \"name\" : \"Podium Card\",\n \"type\" : \"podiumcard\"\n }, {\n \"name\" : \"POLi\",\n \"type\" : \"poli\"\n }, {\n \"name\" : \"PPS\",\n \"type\" : \"pps\"\n }, {\n \"name\" : \"Primera Cadeaukaart\",\n \"type\" : \"primeracadeaucard\"\n }, {\n \"name\" : \"Illicado Gift Card\",\n \"type\" : \"prosodie_illicado\"\n }, {\n \"name\" : \"PSE\",\n \"type\" : \"pse\"\n }, {\n \"details\" : [ {\n \"items\" : [ {\n \"id\" : \"+7\",\n \"name\" : \"RU\"\n }, {\n \"id\" : \"+9955\",\n \"name\" : \"GE\"\n }, {\n \"id\" : \"+507\",\n \"name\" : \"PA\"\n }, {\n \"id\" : \"+44\",\n \"name\" : \"GB\"\n }, {\n \"id\" : \"+992\",\n \"name\" : \"TJ\"\n }, {\n \"id\" : \"+370\",\n \"name\" : \"LT\"\n }, {\n \"id\" : \"+972\",\n \"name\" : \"IL\"\n }, {\n \"id\" : \"+996\",\n \"name\" : \"KG\"\n }, {\n \"id\" : \"+380\",\n \"name\" : \"UA\"\n }, {\n \"id\" : \"+84\",\n \"name\" : \"VN\"\n }, {\n \"id\" : \"+90\",\n \"name\" : \"TR\"\n }, {\n \"id\" : \"+994\",\n \"name\" : \"AZ\"\n }, {\n \"id\" : \"+374\",\n \"name\" : \"AM\"\n }, {\n \"id\" : \"+371\",\n \"name\" : \"LV\"\n }, {\n \"id\" : \"+91\",\n \"name\" : \"IN\"\n }, {\n \"id\" : \"+66\",\n \"name\" : \"TH\"\n }, {\n \"id\" : \"+373\",\n \"name\" : \"MD\"\n }, {\n \"id\" : \"+1\",\n \"name\" : \"US\"\n }, {\n \"id\" : \"+81\",\n \"name\" : \"JP\"\n }, {\n \"id\" : \"+998\",\n \"name\" : \"UZ\"\n }, {\n \"id\" : \"+77\",\n \"name\" : \"KZ\"\n }, {\n \"id\" : \"+375\",\n \"name\" : \"BY\"\n }, {\n \"id\" : \"+372\",\n \"name\" : \"EE\"\n }, {\n \"id\" : \"+40\",\n \"name\" : \"RO\"\n }, {\n \"id\" : \"+82\",\n \"name\" : \"KR\"\n } ],\n \"key\" : \"qiwiwallet.telephoneNumberPrefix\",\n \"type\" : \"select\"\n }, {\n \"key\" : \"qiwiwallet.telephoneNumber\",\n \"type\" : \"text\"\n } ],\n \"name\" : \"Qiwi Wallet\",\n \"type\" : \"qiwiwallet\"\n }, {\n \"name\" : \"RatePay Invoice\",\n \"type\" : \"ratepay\"\n }, {\n \"name\" : \"RatePay Direct Debit\",\n \"type\" : \"ratepay_directdebit\"\n }, {\n \"name\" : \"Rituals Giftcard\",\n \"type\" : \"rituals\"\n }, {\n \"name\" : \"Rob Peetoom Giftcard\",\n \"type\" : \"robpeetoomgiftcard\"\n }, {\n \"name\" : \"SafetyPay\",\n \"type\" : \"safetypay\"\n }, {\n \"name\" : \"SafetyPay Cash\",\n \"type\" : \"safetypay_cash\"\n }, {\n \"name\" : \"Shoes&Accessories Cadeau\",\n \"type\" : \"sagiftcard\"\n }, {\n \"name\" : \"Score Giftcard\",\n \"type\" : \"scoregiftcard\"\n }, {\n \"name\" : \"SEB Direktbetalning\",\n \"type\" : \"sebdirectpayment\"\n }, {\n \"details\" : [ {\n \"key\" : \"sepa.ownerName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"sepa.ibanNumber\",\n \"type\" : \"text\"\n } ],\n \"name\" : \"SEPA Direct Debit\",\n \"type\" : \"sepadirectdebit\"\n }, {\n \"name\" : \"7-Eleven\",\n \"type\" : \"seveneleven\"\n }, {\n \"name\" : \"Premium SMS\",\n \"type\" : \"sms\"\n }, {\n \"name\" : \"SVS\",\n \"type\" : \"svs\"\n }, {\n \"name\" : \"Swish\",\n \"type\" : \"swish\"\n }, {\n \"name\" : \"TCS Test GiftCard\",\n \"type\" : \"tcstestgiftcard\"\n }, {\n \"name\" : \"TenPay\",\n \"type\" : \"tenpay\"\n }, {\n \"name\" : \"The Sting Giftcard\",\n \"type\" : \"thestinggiftcard\"\n }, {\n \"name\" : \"TrueMoney\",\n \"type\" : \"truemoney\"\n }, {\n \"name\" : \"Trustly\",\n \"type\" : \"trustly\"\n }, {\n \"name\" : \"Online Banking by Trustpay\",\n \"type\" : \"trustpay\"\n }, {\n \"name\" : \"TWINT\",\n \"type\" : \"twint\"\n }, {\n \"name\" : \"Ukash\",\n \"type\" : \"ukash\"\n }, {\n \"name\" : \"UnionPay\",\n \"type\" : \"unionpay\"\n }, {\n \"details\" : [ {\n \"key\" : \"virtualPaymentAddress\",\n \"type\" : \"text\"\n } ],\n \"name\" : \"UPI Collect\",\n \"type\" : \"upi_collect\"\n }, {\n \"name\" : \"Valuelink\",\n \"type\" : \"valuelink\"\n }, {\n \"name\" : \"V&D Cadeaukaart\",\n \"type\" : \"vdcadeaucard\"\n }, {\n \"details\" : [ {\n \"key\" : \"telephoneNumber\",\n \"optional\" : true,\n \"type\" : \"tel\"\n } ],\n \"name\" : \"Vipps\",\n \"type\" : \"vipps\"\n }, {\n \"details\" : [ {\n \"key\" : \"additionalData.visacheckout.callId\",\n \"type\" : \"text\"\n } ],\n \"name\" : \"Visa Checkout\",\n \"type\" : \"visacheckout\"\n }, {\n \"name\" : \"VVV Cadeaubon\",\n \"type\" : \"vvvcadeaubon\"\n }, {\n \"name\" : \"VVV Giftcard\",\n \"type\" : \"vvvgiftcard\"\n }, {\n \"name\" : \"Webshop Giftcard\",\n \"type\" : \"webshopgiftcard\"\n }, {\n \"name\" : \"WeChat Pay\",\n \"type\" : \"wechatpayMiniProgram\"\n }, {\n \"name\" : \"WeChat Pay\",\n \"type\" : \"wechatpayQR\"\n }, {\n \"name\" : \"WeChat Pay\",\n \"type\" : \"wechatpayWeb\"\n }, {\n \"name\" : \"WE Fashion Giftcard\",\n \"type\" : \"wefashiongiftcard\"\n }, {\n \"name\" : \"Western Union\",\n \"type\" : \"westernunion\"\n }, {\n \"name\" : \"Winkel Cheque\",\n \"type\" : \"winkelcheque\"\n }, {\n \"name\" : \"WOS Card\",\n \"type\" : \"woscard\"\n }, {\n \"name\" : \"Alfa-Click\",\n \"type\" : \"yandex_alfaclick\"\n }, {\n \"name\" : \"Pay using bank card\",\n \"type\" : \"yandex_bank_card\"\n }, {\n \"name\" : \"Cash terminals\",\n \"type\" : \"yandex_cash\"\n }, {\n \"name\" : \"Pay using installments\",\n \"type\" : \"yandex_installments\"\n }, {\n \"name\" : \"YooMoney\",\n \"type\" : \"yandex_money\"\n }, {\n \"name\" : \"Promsvyazbank\",\n \"type\" : \"yandex_promsvyazbank\"\n }, {\n \"name\" : \"SberPay\",\n \"type\" : \"yandex_sberbank\"\n }, {\n \"name\" : \"WebMoney\",\n \"type\" : \"yandex_webmoney\"\n }, {\n \"name\" : \"Your Gift\",\n \"type\" : \"yourgift\"\n }, {\n \"name\" : \"Zip\",\n \"type\" : \"zip\"\n } ]\n}", + "originalRequest": { + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentMethods", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentMethods" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Queries the available payment methods for a transaction based on the transaction context (like amount, country, and currency). Besides giving back a list of the available payment methods, the response also returns which input details you need to collect from the shopper (to be submitted to `/payments`). Although we highly recommend using this endpoint to ensure you are always offering the most up-to-date list of payment methods, its usage is optional. You can, for example, also cache the `/paymentMethods` response and update it once a week." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentMethods", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentMethods" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Queries the available payment methods for a transaction based on the transaction context (like amount, country, and currency). Besides giving back a list of the available payment methods, the response also returns which input details you need to collect from the shopper (to be submitted to `/payments`). Although we highly recommend using this endpoint to ensure you are always offering the most up-to-date list of payment methods, its usage is optional. You can, for example, also cache the `/paymentMethods` response and update it once a week." - } + ] }, { "name": "Get payment methods based on the country and amount", "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 + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl-NL\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentMethods", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentMethods" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Queries the available payment methods for a transaction based on the transaction context (like amount, country, and currency). Besides giving back a list of the available payment methods, the response also returns which input details you need to collect from the shopper (to be submitted to `/payments`). Although we highly recommend using this endpoint to ensure you are always offering the most up-to-date list of payment methods, its usage is optional. You can, for example, also cache the `/paymentMethods` response and update it once a week." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"paymentMethods\" : [ {\n \"details\" : [ {\n \"items\" : [ {\n \"id\" : \"1121\",\n \"name\" : \"Test Issuer\"\n }, {\n \"id\" : \"1154\",\n \"name\" : \"Test Issuer 5\"\n }, {\n \"id\" : \"1153\",\n \"name\" : \"Test Issuer 4\"\n }, {\n \"id\" : \"1152\",\n \"name\" : \"Test Issuer 3\"\n }, {\n \"id\" : \"1151\",\n \"name\" : \"Test Issuer 2\"\n }, {\n \"id\" : \"1162\",\n \"name\" : \"Test Issuer Cancelled\"\n }, {\n \"id\" : \"1161\",\n \"name\" : \"Test Issuer Pending\"\n }, {\n \"id\" : \"1160\",\n \"name\" : \"Test Issuer Refused\"\n }, {\n \"id\" : \"1159\",\n \"name\" : \"Test Issuer 10\"\n }, {\n \"id\" : \"1158\",\n \"name\" : \"Test Issuer 9\"\n }, {\n \"id\" : \"1157\",\n \"name\" : \"Test Issuer 8\"\n }, {\n \"id\" : \"1156\",\n \"name\" : \"Test Issuer 7\"\n }, {\n \"id\" : \"1155\",\n \"name\" : \"Test Issuer 6\"\n } ],\n \"key\" : \"issuer\",\n \"type\" : \"select\"\n } ],\n \"name\" : \"iDEAL\",\n \"type\" : \"ideal\"\n }, {\n \"details\" : [ {\n \"key\" : \"encryptedCardNumber\",\n \"type\" : \"cardToken\"\n }, {\n \"key\" : \"encryptedSecurityCode\",\n \"type\" : \"cardToken\"\n }, {\n \"key\" : \"encryptedExpiryMonth\",\n \"type\" : \"cardToken\"\n }, {\n \"key\" : \"encryptedExpiryYear\",\n \"type\" : \"cardToken\"\n }, {\n \"key\" : \"holderName\",\n \"optional\" : true,\n \"type\" : \"text\"\n } ],\n \"name\" : \"Hitelkártya\",\n \"type\" : \"scheme\"\n }, {\n \"name\" : \"PayPal\",\n \"type\" : \"paypal\"\n }, {\n \"details\" : [ {\n \"details\" : [ {\n \"key\" : \"firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"lastName\",\n \"type\" : \"text\"\n }, {\n \"items\" : [ {\n \"id\" : \"M\",\n \"name\" : \"male\"\n }, {\n \"id\" : \"F\",\n \"name\" : \"female\"\n } ],\n \"key\" : \"gender\",\n \"type\" : \"radio\"\n }, {\n \"key\" : \"dateOfBirth\",\n \"type\" : \"date\"\n }, {\n \"key\" : \"telephoneNumber\",\n \"type\" : \"tel\"\n }, {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n } ],\n \"key\" : \"personalDetails\",\n \"type\" : \"fieldSet\"\n }, {\n \"details\" : [ {\n \"key\" : \"street\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"houseNumberOrName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"city\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"postalCode\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"stateOrProvince\",\n \"optional\" : true,\n \"type\" : \"text\"\n }, {\n \"items\" : [ {\n \"id\" : \"NL\",\n \"name\" : \"Netherlands\"\n }, {\n \"id\" : \"BE\",\n \"name\" : \"Belgium\"\n } ],\n \"key\" : \"country\",\n \"type\" : \"select\",\n \"value\" : \"NL\"\n } ],\n \"key\" : \"billingAddress\",\n \"type\" : \"address\"\n }, {\n \"key\" : \"separateDeliveryAddress\",\n \"optional\" : true,\n \"type\" : \"boolean\",\n \"value\" : \"false\"\n }, {\n \"details\" : [ {\n \"key\" : \"street\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"houseNumberOrName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"city\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"postalCode\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"stateOrProvince\",\n \"optional\" : true,\n \"type\" : \"text\"\n }, {\n \"items\" : [ {\n \"id\" : \"NL\",\n \"name\" : \"Netherlands\"\n }, {\n \"id\" : \"BE\",\n \"name\" : \"Belgium\"\n } ],\n \"key\" : \"country\",\n \"type\" : \"select\",\n \"value\" : \"NL\"\n } ],\n \"key\" : \"deliveryAddress\",\n \"optional\" : true,\n \"type\" : \"address\"\n } ],\n \"name\" : \"AfterPay Invoice\",\n \"type\" : \"afterpay_default\"\n }, {\n \"name\" : \"Pay later with Klarna.\",\n \"type\" : \"klarna\"\n }, {\n \"details\" : [ {\n \"key\" : \"sepa.ownerName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"sepa.ibanNumber\",\n \"type\" : \"text\"\n } ],\n \"name\" : \"SEPA Direct Debit\",\n \"type\" : \"sepadirectdebit\"\n }, {\n \"name\" : \"Paysafecard\",\n \"type\" : \"paysafecard\"\n }, {\n \"name\" : \"Bijenkorf Cadeaucard\",\n \"type\" : \"bijcadeaucard\"\n }, {\n \"name\" : \"Fonq Giftcard\",\n \"type\" : \"fonqgiftcard\"\n }, {\n \"name\" : \"Bank Transfer (NL)\",\n \"type\" : \"bankTransfer_NL\"\n }, {\n \"name\" : \"Pathe Giftcard\",\n \"type\" : \"pathegiftcard\"\n }, {\n \"name\" : \"VVV Giftcard\",\n \"type\" : \"vvvgiftcard\"\n }, {\n \"name\" : \"Podium Card\",\n \"type\" : \"podiumcard\"\n }, {\n \"name\" : \"RatePay Direct Debit\",\n \"type\" : \"ratepay_directdebit\"\n }, {\n \"name\" : \"Rituals Giftcard\",\n \"type\" : \"rituals\"\n }, {\n \"name\" : \"Hunkemoller Lingerie Card\",\n \"type\" : \"hmlingerie\"\n }, {\n \"name\" : \"Primera Cadeaukaart\",\n \"type\" : \"primeracadeaucard\"\n }, {\n \"name\" : \"Fashioncheque\",\n \"type\" : \"fashioncheque\"\n }, {\n \"name\" : \"NETELLER\",\n \"type\" : \"neteller\"\n }, {\n \"name\" : \"Adyen Voucher\",\n \"type\" : \"adyen_test_voucher\"\n }, {\n \"name\" : \"AfterPay B2B\",\n \"type\" : \"afterpay_b2b\"\n }, {\n \"name\" : \"AfterPay DirectDebit\",\n \"type\" : \"afterpay_directdebit\"\n }, {\n \"name\" : \"AliPay\",\n \"type\" : \"alipay\"\n }, {\n \"name\" : \"AliPay\",\n \"type\" : \"alipay_wap\"\n }, {\n \"details\" : [ {\n \"key\" : \"additionalData.androidpay.token\",\n \"type\" : \"androidPayToken\"\n } ],\n \"name\" : \"Android Pay\",\n \"type\" : \"androidpay\"\n }, {\n \"details\" : [ {\n \"key\" : \"additionalData.applepay.token\",\n \"type\" : \"applePayToken\"\n } ],\n \"name\" : \"Apple Pay\",\n \"type\" : \"applepay\"\n }, {\n \"name\" : \"Baby Gift Card\",\n \"type\" : \"babygiftcard\"\n }, {\n \"name\" : \"SEPA Bank Transfer\",\n \"type\" : \"bankTransfer_IBAN\"\n }, {\n \"name\" : \"Bloemen Giftcard\",\n \"type\" : \"bloemengiftcard\"\n }, {\n \"name\" : \"Boekenbon Giftcard\",\n \"type\" : \"boekenbon\"\n }, {\n \"name\" : \"Cash-Ticket\",\n \"type\" : \"cashticket\"\n }, {\n \"name\" : \"Chasin Giftcard\",\n \"type\" : \"chasingiftcard\"\n }, {\n \"name\" : \"ClickandBuy\",\n \"type\" : \"clickandbuy\"\n }, {\n \"name\" : \"Costes Giftcard\",\n \"type\" : \"costesgiftcard\"\n }, {\n \"name\" : \"custom_settlement\",\n \"type\" : \"custom_settlement\"\n }, {\n \"name\" : \"eft_directdebit_CA\",\n \"type\" : \"eft_directdebit_CA\"\n }, {\n \"name\" : \"Nationale Entertainment Card\",\n \"type\" : \"entertainmentcard\"\n }, {\n \"name\" : \"Expert Cadeaukaart\",\n \"type\" : \"expertgiftcard\"\n }, {\n \"name\" : \"FijnCadeau\",\n \"type\" : \"fijncadeau\"\n }, {\n \"name\" : \"Fleurop Bloemenbon\",\n \"type\" : \"fleuropbloemenbon\"\n }, {\n \"name\" : \"Gall & Gall\",\n \"type\" : \"gallgall\"\n }, {\n \"name\" : \"Generic GiftCard\",\n \"type\" : \"genericgiftcard\"\n }, {\n \"name\" : \"GiftFor2\",\n \"type\" : \"giftfor2card\"\n }, {\n \"name\" : \"Givex\",\n \"type\" : \"givex\"\n }, {\n \"name\" : \"Goldsmiths Card\",\n \"type\" : \"goldsmithscard\"\n }, {\n \"name\" : \"Hunkemoller Member Card\",\n \"type\" : \"hmclub\"\n }, {\n \"name\" : \"Phone Payment\",\n \"type\" : \"ivr\"\n }, {\n \"name\" : \"Landline phone\",\n \"type\" : \"ivrLandline\"\n }, {\n \"name\" : \"Mobile phone\",\n \"type\" : \"ivrMobile\"\n }, {\n \"name\" : \"Kado Wereld\",\n \"type\" : \"kadowereld\"\n }, {\n \"name\" : \"Karen Millen GiftCard\",\n \"type\" : \"karenmillengiftcard\"\n }, {\n \"name\" : \"Leisure Card\",\n \"type\" : \"leisurecard\"\n }, {\n \"name\" : \"Loods5 Cadeaukaart\",\n \"type\" : \"loods5giftcard\"\n }, {\n \"name\" : \"Loods5 Tegoedbon\",\n \"type\" : \"loods5prepaidcard\"\n }, {\n \"details\" : [ {\n \"key\" : \"additionalData.amazonPayToken\",\n \"type\" : \"text\"\n } ],\n \"name\" : \"Amazon Pay\",\n \"supportsRecurring\" : true,\n \"type\" : \"amazonpay\"\n }, {\n \"name\" : \"MOLPoints\",\n \"type\" : \"molpay_points\"\n }, {\n \"name\" : \"Moneybookers\",\n \"type\" : \"moneybookers\"\n }, {\n \"name\" : \"De Nationale Musicalcard\",\n \"type\" : \"musicalcard\"\n }, {\n \"name\" : \"Nationale Bioscoopbon\",\n \"type\" : \"nationalebioscoopbon\"\n }, {\n \"name\" : \"Nationale Tuinbon\",\n \"type\" : \"nationaletuinbon\"\n }, {\n \"name\" : \"Nationale Verwen Cadeaubon\",\n \"type\" : \"nationaleverwencadeaubon\"\n }, {\n \"name\" : \"Onebip\",\n \"type\" : \"onebip\"\n }, {\n \"details\" : [ {\n \"key\" : \"additionalData.paywithgoogle.token\",\n \"type\" : \"payWithGoogleToken\"\n } ],\n \"name\" : \"Google Pay\",\n \"type\" : \"paywithgoogle\"\n }, {\n \"name\" : \"Plastix\",\n \"type\" : \"plastix\"\n }, {\n \"name\" : \"Pluim\",\n \"type\" : \"pluimgiftcard\"\n }, {\n \"name\" : \"Illicado Gift Card\",\n \"type\" : \"prosodie_illicado\"\n }, {\n \"name\" : \"RatePay Invoice\",\n \"type\" : \"ratepay\"\n }, {\n \"name\" : \"Rob Peetoom Giftcard\",\n \"type\" : \"robpeetoomgiftcard\"\n }, {\n \"name\" : \"Shoes&Accessories Cadeau\",\n \"type\" : \"sagiftcard\"\n }, {\n \"name\" : \"Score Giftcard\",\n \"type\" : \"scoregiftcard\"\n }, {\n \"name\" : \"Premium SMS\",\n \"type\" : \"sms\"\n }, {\n \"name\" : \"SVS\",\n \"type\" : \"svs\"\n }, {\n \"name\" : \"TCS Test GiftCard\",\n \"type\" : \"tcstestgiftcard\"\n }, {\n \"name\" : \"The Sting Giftcard\",\n \"type\" : \"thestinggiftcard\"\n }, {\n \"name\" : \"Ukash\",\n \"type\" : \"ukash\"\n }, {\n \"name\" : \"UnionPay\",\n \"type\" : \"unionpay\"\n }, {\n \"name\" : \"Valuelink\",\n \"type\" : \"valuelink\"\n }, {\n \"name\" : \"V&D Cadeaukaart\",\n \"type\" : \"vdcadeaucard\"\n }, {\n \"details\" : [ {\n \"key\" : \"additionalData.visacheckout.callId\",\n \"type\" : \"text\"\n } ],\n \"name\" : \"Visa Checkout\",\n \"type\" : \"visacheckout\"\n }, {\n \"name\" : \"VVV Cadeaubon\",\n \"type\" : \"vvvcadeaubon\"\n }, {\n \"name\" : \"Webshop Giftcard\",\n \"type\" : \"webshopgiftcard\"\n }, {\n \"name\" : \"WE Fashion Giftcard\",\n \"type\" : \"wefashiongiftcard\"\n }, {\n \"name\" : \"Western Union\",\n \"type\" : \"westernunion\"\n }, {\n \"name\" : \"Winkel Cheque\",\n \"type\" : \"winkelcheque\"\n }, {\n \"name\" : \"Your Gift\",\n \"type\" : \"yourgift\"\n } ]\n}", + "originalRequest": { + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl-NL\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentMethods", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentMethods" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Queries the available payment methods for a transaction based on the transaction context (like amount, country, and currency). Besides giving back a list of the available payment methods, the response also returns which input details you need to collect from the shopper (to be submitted to `/payments`). Although we highly recommend using this endpoint to ensure you are always offering the most up-to-date list of payment methods, its usage is optional. You can, for example, also cache the `/paymentMethods` response and update it once a week." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl-NL\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n }\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentMethods", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentMethods" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Queries the available payment methods for a transaction based on the transaction context (like amount, country, and currency). Besides giving back a list of the available payment methods, the response also returns which input details you need to collect from the shopper (to be submitted to `/payments`). Although we highly recommend using this endpoint to ensure you are always offering the most up-to-date list of payment methods, its usage is optional. You can, for example, also cache the `/paymentMethods` response and update it once a week." - } + ] }, { "name": "Get payment methods including stored card details", "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 + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"countryCode\" : \"NL\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentMethods", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentMethods" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Queries the available payment methods for a transaction based on the transaction context (like amount, country, and currency). Besides giving back a list of the available payment methods, the response also returns which input details you need to collect from the shopper (to be submitted to `/payments`). Although we highly recommend using this endpoint to ensure you are always offering the most up-to-date list of payment methods, its usage is optional. You can, for example, also cache the `/paymentMethods` response and update it once a week." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"paymentMethods\" : [ {\n \"details\" : [ {\n \"items\" : [ {\n \"id\" : \"1121\",\n \"name\" : \"Test Issuer\"\n }, {\n \"id\" : \"1154\",\n \"name\" : \"Test Issuer 5\"\n }, {\n \"id\" : \"1153\",\n \"name\" : \"Test Issuer 4\"\n }, {\n \"id\" : \"1152\",\n \"name\" : \"Test Issuer 3\"\n }, {\n \"id\" : \"1151\",\n \"name\" : \"Test Issuer 2\"\n }, {\n \"id\" : \"1162\",\n \"name\" : \"Test Issuer Cancelled\"\n }, {\n \"id\" : \"1161\",\n \"name\" : \"Test Issuer Pending\"\n }, {\n \"id\" : \"1160\",\n \"name\" : \"Test Issuer Refused\"\n }, {\n \"id\" : \"1159\",\n \"name\" : \"Test Issuer 10\"\n }, {\n \"id\" : \"1158\",\n \"name\" : \"Test Issuer 9\"\n }, {\n \"id\" : \"1157\",\n \"name\" : \"Test Issuer 8\"\n }, {\n \"id\" : \"1156\",\n \"name\" : \"Test Issuer 7\"\n }, {\n \"id\" : \"1155\",\n \"name\" : \"Test Issuer 6\"\n } ],\n \"key\" : \"issuer\",\n \"type\" : \"select\"\n } ],\n \"name\" : \"iDEAL\",\n \"type\" : \"ideal\"\n }, {\n \"details\" : [ {\n \"key\" : \"encryptedCardNumber\",\n \"type\" : \"cardToken\"\n }, {\n \"key\" : \"encryptedSecurityCode\",\n \"type\" : \"cardToken\"\n }, {\n \"key\" : \"encryptedExpiryMonth\",\n \"type\" : \"cardToken\"\n }, {\n \"key\" : \"encryptedExpiryYear\",\n \"type\" : \"cardToken\"\n }, {\n \"key\" : \"holderName\",\n \"optional\" : true,\n \"type\" : \"text\"\n } ],\n \"name\" : \"Credit Card\",\n \"type\" : \"scheme\"\n }, {\n \"name\" : \"PayPal\",\n \"type\" : \"paypal\"\n }, {\n \"details\" : [ {\n \"details\" : [ {\n \"key\" : \"firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"lastName\",\n \"type\" : \"text\"\n }, {\n \"items\" : [ {\n \"id\" : \"M\",\n \"name\" : \"male\"\n }, {\n \"id\" : \"F\",\n \"name\" : \"female\"\n } ],\n \"key\" : \"gender\",\n \"type\" : \"radio\"\n }, {\n \"key\" : \"dateOfBirth\",\n \"type\" : \"date\"\n }, {\n \"key\" : \"telephoneNumber\",\n \"type\" : \"tel\"\n }, {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n } ],\n \"key\" : \"personalDetails\",\n \"type\" : \"fieldSet\"\n }, {\n \"details\" : [ {\n \"key\" : \"street\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"houseNumberOrName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"city\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"postalCode\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"stateOrProvince\",\n \"optional\" : true,\n \"type\" : \"text\"\n }, {\n \"items\" : [ {\n \"id\" : \"NL\",\n \"name\" : \"Netherlands\"\n }, {\n \"id\" : \"BE\",\n \"name\" : \"Belgium\"\n } ],\n \"key\" : \"country\",\n \"type\" : \"select\",\n \"value\" : \"NL\"\n } ],\n \"key\" : \"billingAddress\",\n \"type\" : \"address\"\n }, {\n \"key\" : \"separateDeliveryAddress\",\n \"optional\" : true,\n \"type\" : \"boolean\",\n \"value\" : \"false\"\n }, {\n \"details\" : [ {\n \"key\" : \"street\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"houseNumberOrName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"city\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"postalCode\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"stateOrProvince\",\n \"optional\" : true,\n \"type\" : \"text\"\n }, {\n \"items\" : [ {\n \"id\" : \"NL\",\n \"name\" : \"Netherlands\"\n }, {\n \"id\" : \"BE\",\n \"name\" : \"Belgium\"\n } ],\n \"key\" : \"country\",\n \"type\" : \"select\",\n \"value\" : \"NL\"\n } ],\n \"key\" : \"deliveryAddress\",\n \"optional\" : true,\n \"type\" : \"address\"\n } ],\n \"name\" : \"AfterPay Invoice\",\n \"type\" : \"afterpay_default\"\n }, {\n \"name\" : \"Pay later with Klarna.\",\n \"type\" : \"klarna\"\n }, {\n \"details\" : [ {\n \"key\" : \"sepa.ownerName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"sepa.ibanNumber\",\n \"type\" : \"text\"\n } ],\n \"name\" : \"SEPA Direct Debit\",\n \"type\" : \"sepadirectdebit\"\n }, {\n \"name\" : \"Paysafecard\",\n \"type\" : \"paysafecard\"\n }, {\n \"name\" : \"Bijenkorf Cadeaucard\",\n \"type\" : \"bijcadeaucard\"\n }, {\n \"name\" : \"Fonq Giftcard\",\n \"type\" : \"fonqgiftcard\"\n }, {\n \"name\" : \"Bank Transfer (NL)\",\n \"type\" : \"bankTransfer_NL\"\n }, {\n \"name\" : \"Pathe Giftcard\",\n \"type\" : \"pathegiftcard\"\n }, {\n \"name\" : \"VVV Giftcard\",\n \"type\" : \"vvvgiftcard\"\n }, {\n \"name\" : \"Podium Card\",\n \"type\" : \"podiumcard\"\n }, {\n \"name\" : \"RatePay Direct Debit\",\n \"type\" : \"ratepay_directdebit\"\n }, {\n \"name\" : \"Rituals Giftcard\",\n \"type\" : \"rituals\"\n }, {\n \"name\" : \"Hunkemoller Lingerie Card\",\n \"type\" : \"hmlingerie\"\n }, {\n \"name\" : \"Primera Cadeaukaart\",\n \"type\" : \"primeracadeaucard\"\n }, {\n \"name\" : \"Fashioncheque\",\n \"type\" : \"fashioncheque\"\n }, {\n \"name\" : \"NETELLER\",\n \"type\" : \"neteller\"\n }, {\n \"name\" : \"Adyen Voucher\",\n \"type\" : \"adyen_test_voucher\"\n }, {\n \"name\" : \"AfterPay B2B\",\n \"type\" : \"afterpay_b2b\"\n }, {\n \"name\" : \"AfterPay DirectDebit\",\n \"type\" : \"afterpay_directdebit\"\n }, {\n \"name\" : \"AliPay\",\n \"type\" : \"alipay\"\n }, {\n \"name\" : \"AliPay\",\n \"type\" : \"alipay_wap\"\n }, {\n \"details\" : [ {\n \"key\" : \"additionalData.androidpay.token\",\n \"type\" : \"androidPayToken\"\n } ],\n \"name\" : \"Android Pay\",\n \"type\" : \"androidpay\"\n }, {\n \"details\" : [ {\n \"key\" : \"additionalData.applepay.token\",\n \"type\" : \"applePayToken\"\n } ],\n \"name\" : \"Apple Pay\",\n \"type\" : \"applepay\"\n }, {\n \"name\" : \"Baby Gift Card\",\n \"type\" : \"babygiftcard\"\n }, {\n \"name\" : \"SEPA Bank Transfer\",\n \"type\" : \"bankTransfer_IBAN\"\n }, {\n \"name\" : \"Bloemen Giftcard\",\n \"type\" : \"bloemengiftcard\"\n }, {\n \"name\" : \"Boekenbon Giftcard\",\n \"type\" : \"boekenbon\"\n }, {\n \"name\" : \"Cash-Ticket\",\n \"type\" : \"cashticket\"\n }, {\n \"name\" : \"Chasin Giftcard\",\n \"type\" : \"chasingiftcard\"\n }, {\n \"name\" : \"ClickandBuy\",\n \"type\" : \"clickandbuy\"\n }, {\n \"name\" : \"Costes Giftcard\",\n \"type\" : \"costesgiftcard\"\n }, {\n \"name\" : \"custom_settlement\",\n \"type\" : \"custom_settlement\"\n }, {\n \"name\" : \"eft_directdebit_CA\",\n \"type\" : \"eft_directdebit_CA\"\n }, {\n \"name\" : \"Nationale Entertainment Card\",\n \"type\" : \"entertainmentcard\"\n }, {\n \"name\" : \"Expert Cadeaukaart\",\n \"type\" : \"expertgiftcard\"\n }, {\n \"name\" : \"FijnCadeau\",\n \"type\" : \"fijncadeau\"\n }, {\n \"name\" : \"Fleurop Bloemenbon\",\n \"type\" : \"fleuropbloemenbon\"\n }, {\n \"name\" : \"Gall & Gall\",\n \"type\" : \"gallgall\"\n }, {\n \"name\" : \"Generic GiftCard\",\n \"type\" : \"genericgiftcard\"\n }, {\n \"name\" : \"GiftFor2\",\n \"type\" : \"giftfor2card\"\n }, {\n \"name\" : \"Givex\",\n \"type\" : \"givex\"\n }, {\n \"name\" : \"Goldsmiths Card\",\n \"type\" : \"goldsmithscard\"\n }, {\n \"name\" : \"Hunkemoller Member Card\",\n \"type\" : \"hmclub\"\n }, {\n \"name\" : \"Phone Payment\",\n \"type\" : \"ivr\"\n }, {\n \"name\" : \"Landline phone\",\n \"type\" : \"ivrLandline\"\n }, {\n \"name\" : \"Mobile phone\",\n \"type\" : \"ivrMobile\"\n }, {\n \"name\" : \"Kado Wereld\",\n \"type\" : \"kadowereld\"\n }, {\n \"name\" : \"Karen Millen GiftCard\",\n \"type\" : \"karenmillengiftcard\"\n }, {\n \"name\" : \"Leisure Card\",\n \"type\" : \"leisurecard\"\n }, {\n \"name\" : \"Loods5 Cadeaukaart\",\n \"type\" : \"loods5giftcard\"\n }, {\n \"name\" : \"Loods5 Tegoedbon\",\n \"type\" : \"loods5prepaidcard\"\n }, {\n \"details\" : [ {\n \"key\" : \"additionalData.amazonPayToken\",\n \"type\" : \"text\"\n } ],\n \"name\" : \"Amazon Pay\",\n \"supportsRecurring\" : true,\n \"type\" : \"amazonpay\"\n }, {\n \"name\" : \"MOLPoints\",\n \"type\" : \"molpay_points\"\n }, {\n \"name\" : \"Moneybookers\",\n \"type\" : \"moneybookers\"\n }, {\n \"name\" : \"De Nationale Musicalcard\",\n \"type\" : \"musicalcard\"\n }, {\n \"name\" : \"Nationale Bioscoopbon\",\n \"type\" : \"nationalebioscoopbon\"\n }, {\n \"name\" : \"Nationale Tuinbon\",\n \"type\" : \"nationaletuinbon\"\n }, {\n \"name\" : \"Nationale Verwen Cadeaubon\",\n \"type\" : \"nationaleverwencadeaubon\"\n }, {\n \"name\" : \"Onebip\",\n \"type\" : \"onebip\"\n }, {\n \"details\" : [ {\n \"key\" : \"additionalData.paywithgoogle.token\",\n \"type\" : \"payWithGoogleToken\"\n } ],\n \"name\" : \"Google Pay\",\n \"type\" : \"paywithgoogle\"\n }, {\n \"name\" : \"Plastix\",\n \"type\" : \"plastix\"\n }, {\n \"name\" : \"Pluim\",\n \"type\" : \"pluimgiftcard\"\n }, {\n \"name\" : \"Illicado Gift Card\",\n \"type\" : \"prosodie_illicado\"\n }, {\n \"name\" : \"RatePay Invoice\",\n \"type\" : \"ratepay\"\n }, {\n \"name\" : \"Rob Peetoom Giftcard\",\n \"type\" : \"robpeetoomgiftcard\"\n }, {\n \"name\" : \"Shoes&Accessories Cadeau\",\n \"type\" : \"sagiftcard\"\n }, {\n \"name\" : \"Score Giftcard\",\n \"type\" : \"scoregiftcard\"\n }, {\n \"name\" : \"Premium SMS\",\n \"type\" : \"sms\"\n }, {\n \"name\" : \"SVS\",\n \"type\" : \"svs\"\n }, {\n \"name\" : \"TCS Test GiftCard\",\n \"type\" : \"tcstestgiftcard\"\n }, {\n \"name\" : \"The Sting Giftcard\",\n \"type\" : \"thestinggiftcard\"\n }, {\n \"name\" : \"Ukash\",\n \"type\" : \"ukash\"\n }, {\n \"name\" : \"UnionPay\",\n \"type\" : \"unionpay\"\n }, {\n \"name\" : \"Valuelink\",\n \"type\" : \"valuelink\"\n }, {\n \"name\" : \"V&D Cadeaukaart\",\n \"type\" : \"vdcadeaucard\"\n }, {\n \"details\" : [ {\n \"key\" : \"additionalData.visacheckout.callId\",\n \"type\" : \"text\"\n } ],\n \"name\" : \"Visa Checkout\",\n \"type\" : \"visacheckout\"\n }, {\n \"name\" : \"VVV Cadeaubon\",\n \"type\" : \"vvvcadeaubon\"\n }, {\n \"name\" : \"Webshop Giftcard\",\n \"type\" : \"webshopgiftcard\"\n }, {\n \"name\" : \"WE Fashion Giftcard\",\n \"type\" : \"wefashiongiftcard\"\n }, {\n \"name\" : \"Western Union\",\n \"type\" : \"westernunion\"\n }, {\n \"name\" : \"Winkel Cheque\",\n \"type\" : \"winkelcheque\"\n }, {\n \"name\" : \"Your Gift\",\n \"type\" : \"yourgift\"\n } ]\n}", + "originalRequest": { + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"countryCode\" : \"NL\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentMethods", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentMethods" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Queries the available payment methods for a transaction based on the transaction context (like amount, country, and currency). Besides giving back a list of the available payment methods, the response also returns which input details you need to collect from the shopper (to be submitted to `/payments`). Although we highly recommend using this endpoint to ensure you are always offering the most up-to-date list of payment methods, its usage is optional. You can, for example, also cache the `/paymentMethods` response and update it once a week." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"countryCode\" : \"NL\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentMethods", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentMethods" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Queries the available payment methods for a transaction based on the transaction context (like amount, country, and currency). Besides giving back a list of the available payment methods, the response also returns which input details you need to collect from the shopper (to be submitted to `/payments`). Although we highly recommend using this endpoint to ensure you are always offering the most up-to-date list of payment methods, its usage is optional. You can, for example, also cache the `/paymentMethods` response and update it once a week." - } + ] } ] - } -, + }, { "name": "/payments", "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. ", @@ -1421,790 +2692,1277 @@ { "name": "Make an Apple Pay payment", "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"applepay\",\n \"applePayToken\" : \"VNRWtuNlNEWkRCSm1xWndjMDFFbktkQU...\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"applepay\",\n \"applePayToken\" : \"VNRWtuNlNEWkRCSm1xWndjMDFFbktkQU...\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + ] }, { "name": "Make a card payment with 3D Secure 2 native authentication", "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 + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"{{$guid}}\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4917610000000000\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\",\n \"cvc\" : \"737\"\n },\n \"additionalData\" : {\n \"allow3DS2\" : \"true\"\n },\n \"accountInfo\" : {\n \"accountCreationDate\" : \"2019-01-17T13:42:40+01:00\"\n },\n \"billingAddress\" : {\n \"country\" : \"US\",\n \"city\" : \"New York\",\n \"street\" : \"Redwood Block\",\n \"houseNumberOrName\" : \"37C\",\n \"stateOrProvince\" : \"NY\",\n \"postalCode\" : \"10039\"\n },\n \"shopperEmail\" : \"s.hopper@test.com\",\n \"shopperIP\" : \"192.0.2.1\",\n \"browserInfo\" : {\n \"userAgent\" : \"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.110 Safari/537.36\",\n \"acceptHeader\" : \"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8\",\n \"language\" : \"nl-NL\",\n \"colorDepth\" : 24,\n \"screenHeight\" : 723,\n \"screenWidth\" : 1536,\n \"timeZoneOffset\" : 0,\n \"javaEnabled\" : true\n },\n \"channel\" : \"Web\",\n \"origin\" : \"https://your-company.com\",\n \"returnUrl\" : \"https://your-company.com/checkout/\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"additionalData\" : {\n \"cvcResult\" : \"1 Matches\",\n \"authCode\" : \"044410\",\n \"avsResult\" : \"4 AVS not supported for this card type\",\n \"avsResultRaw\" : \"4\",\n \"cvcResultRaw\" : \"M\",\n \"refusalReasonRaw\" : \"AUTHORISED\",\n \"acquirerCode\" : \"TestPmmAcquirer\",\n \"acquirerReference\" : \"8PQMP9TI1O2\"\n },\n \"pspReference\" : \"993617895005515H\",\n \"resultCode\" : \"Authorised\"\n}", + "originalRequest": { + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"{{$guid}}\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4917610000000000\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\",\n \"cvc\" : \"737\"\n },\n \"additionalData\" : {\n \"allow3DS2\" : \"true\"\n },\n \"accountInfo\" : {\n \"accountCreationDate\" : \"2019-01-17T13:42:40+01:00\"\n },\n \"billingAddress\" : {\n \"country\" : \"US\",\n \"city\" : \"New York\",\n \"street\" : \"Redwood Block\",\n \"houseNumberOrName\" : \"37C\",\n \"stateOrProvince\" : \"NY\",\n \"postalCode\" : \"10039\"\n },\n \"shopperEmail\" : \"s.hopper@test.com\",\n \"shopperIP\" : \"192.0.2.1\",\n \"browserInfo\" : {\n \"userAgent\" : \"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.110 Safari/537.36\",\n \"acceptHeader\" : \"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8\",\n \"language\" : \"nl-NL\",\n \"colorDepth\" : 24,\n \"screenHeight\" : 723,\n \"screenWidth\" : 1536,\n \"timeZoneOffset\" : 0,\n \"javaEnabled\" : true\n },\n \"channel\" : \"Web\",\n \"origin\" : \"https://your-company.com\",\n \"returnUrl\" : \"https://your-company.com/checkout/\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"{{$guid}}\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4917610000000000\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\",\n \"cvc\" : \"737\"\n },\n \"additionalData\" : {\n \"allow3DS2\" : \"true\"\n },\n \"accountInfo\" : {\n \"accountCreationDate\" : \"2019-01-17T13:42:40+01:00\"\n },\n \"billingAddress\" : {\n \"country\" : \"US\",\n \"city\" : \"New York\",\n \"street\" : \"Redwood Block\",\n \"houseNumberOrName\" : \"37C\",\n \"stateOrProvince\" : \"NY\",\n \"postalCode\" : \"10039\"\n },\n \"shopperEmail\" : \"s.hopper@test.com\",\n \"shopperIP\" : \"192.0.2.1\",\n \"browserInfo\" : {\n \"userAgent\" : \"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.110 Safari/537.36\",\n \"acceptHeader\" : \"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8\",\n \"language\" : \"nl-NL\",\n \"colorDepth\" : 24,\n \"screenHeight\" : 723,\n \"screenWidth\" : 1536,\n \"timeZoneOffset\" : 0,\n \"javaEnabled\" : true\n },\n \"channel\" : \"Web\",\n \"origin\" : \"https://your-company.com\",\n \"returnUrl\" : \"https://your-company.com/checkout/\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + ] }, { "name": "Make a card payment with 3D Secure redirect authentication", "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 + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4212345678901237\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\",\n \"cvc\" : \"737\"\n },\n \"browserInfo\" : {\n \"colorDepth\" : 24,\n \"screenHeight\" : 1800,\n \"screenWidth\" : 2880,\n \"timeZoneOffset\" : 60,\n \"language\" : \"nl\",\n \"userAgent\" : \"Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9) Gecko/2008052912 Firefox/3.0\",\n \"acceptHeader\" : \"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8\",\n \"javaEnabled\" : true\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"additionalData\" : {\n \"cvcResult\" : \"1 Matches\",\n \"authCode\" : \"074516\",\n \"avsResult\" : \"4 AVS not supported for this card type\",\n \"avsResultRaw\" : \"4\",\n \"cvcResultRaw\" : \"M\",\n \"refusalReasonRaw\" : \"AUTHORISED\",\n \"acquirerCode\" : \"TestPmmAcquirer\",\n \"acquirerReference\" : \"8PQMP9SJ7DN\"\n },\n \"pspReference\" : \"993617894903480A\",\n \"resultCode\" : \"Authorised\"\n}", + "originalRequest": { + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4212345678901237\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\",\n \"cvc\" : \"737\"\n },\n \"browserInfo\" : {\n \"colorDepth\" : 24,\n \"screenHeight\" : 1800,\n \"screenWidth\" : 2880,\n \"timeZoneOffset\" : 60,\n \"language\" : \"nl\",\n \"userAgent\" : \"Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9) Gecko/2008052912 Firefox/3.0\",\n \"acceptHeader\" : \"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8\",\n \"javaEnabled\" : true\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4212345678901237\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\",\n \"cvc\" : \"737\"\n },\n \"browserInfo\" : {\n \"colorDepth\" : 24,\n \"screenHeight\" : 1800,\n \"screenWidth\" : 2880,\n \"timeZoneOffset\" : 60,\n \"language\" : \"nl\",\n \"userAgent\" : \"Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9) Gecko/2008052912 Firefox/3.0\",\n \"acceptHeader\" : \"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8\",\n \"javaEnabled\" : true\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + ] }, { "name": "Make a payment with 3D Secure 2 native authentication, using encrypted card details", "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 + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"encryptedCardNumber\" : \"test_4212345678901237\",\n \"encryptedExpiryMonth\" : \"test_03\",\n \"encryptedExpiryYear\" : \"test_2030\",\n \"encryptedSecurityCode\" : \"test_737\",\n \"holderName\" : \"John Smith\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"additionalData\" : {\n \"cvcResult\" : \"1 Matches\",\n \"authCode\" : \"083996\",\n \"avsResult\" : \"4 AVS not supported for this card type\",\n \"avsResultRaw\" : \"4\",\n \"cvcResultRaw\" : \"M\",\n \"refusalReasonRaw\" : \"AUTHORISED\",\n \"acquirerCode\" : \"TestPmmAcquirer\",\n \"acquirerReference\" : \"8PQMP9SJH66\"\n },\n \"pspReference\" : \"993617894905481G\",\n \"resultCode\" : \"Authorised\"\n}", + "originalRequest": { + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"encryptedCardNumber\" : \"test_4212345678901237\",\n \"encryptedExpiryMonth\" : \"test_03\",\n \"encryptedExpiryYear\" : \"test_2030\",\n \"encryptedSecurityCode\" : \"test_737\",\n \"holderName\" : \"John Smith\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"encryptedCardNumber\" : \"test_4212345678901237\",\n \"encryptedExpiryMonth\" : \"test_03\",\n \"encryptedExpiryYear\" : \"test_2030\",\n \"encryptedSecurityCode\" : \"test_737\",\n \"holderName\" : \"John Smith\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + ] }, { "name": "Make a card payment", "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 + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4111111111111111\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\",\n \"cvc\" : \"737\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"additionalData\" : {\n \"cvcResult\" : \"1 Matches\",\n \"authCode\" : \"036240\",\n \"avsResult\" : \"4 AVS not supported for this card type\",\n \"avsResultRaw\" : \"4\",\n \"cvcResultRaw\" : \"M\",\n \"refusalReasonRaw\" : \"AUTHORISED\",\n \"acquirerCode\" : \"TestPmmAcquirer\",\n \"acquirerReference\" : \"8PQMP9SJQUL\"\n },\n \"pspReference\" : \"993617894906488A\",\n \"resultCode\" : \"Authorised\"\n}", + "originalRequest": { + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4111111111111111\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\",\n \"cvc\" : \"737\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4111111111111111\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\",\n \"cvc\" : \"737\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + ] }, { "name": "Make a card payment using encrypted card details", "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 + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"encryptedCardNumber\" : \"test_4111111111111111\",\n \"encryptedExpiryMonth\" : \"test_03\",\n \"encryptedExpiryYear\" : \"test_2030\",\n \"encryptedSecurityCode\" : \"test_737\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"additionalData\" : {\n \"cvcResult\" : \"1 Matches\",\n \"authCode\" : \"064649\",\n \"avsResult\" : \"4 AVS not supported for this card type\",\n \"avsResultRaw\" : \"4\",\n \"cvcResultRaw\" : \"M\",\n \"refusalReasonRaw\" : \"AUTHORISED\",\n \"acquirerCode\" : \"TestPmmAcquirer\",\n \"acquirerReference\" : \"8PQMP9SM92L\"\n },\n \"pspReference\" : \"993617894914488A\",\n \"resultCode\" : \"Authorised\"\n}", + "originalRequest": { + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"encryptedCardNumber\" : \"test_4111111111111111\",\n \"encryptedExpiryMonth\" : \"test_03\",\n \"encryptedExpiryYear\" : \"test_2030\",\n \"encryptedSecurityCode\" : \"test_737\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"encryptedCardNumber\" : \"test_4111111111111111\",\n \"encryptedExpiryMonth\" : \"test_03\",\n \"encryptedExpiryYear\" : \"test_2030\",\n \"encryptedSecurityCode\" : \"test_737\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + ] }, { "name": "Tokenize card details for one-off payments, using encrypted card details", "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"encryptedCardNumber\" : \"adyenjs_0_1_18$MT6ppy0FAMVMLH...\",\n \"encryptedExpiryMonth\" : \"adyenjs_0_1_18$MT6ppy0FAMVMLH...\",\n \"encryptedExpiryYear\" : \"adyenjs_0_1_18$MT6ppy0FAMVMLH...\",\n \"encryptedSecurityCode\" : \"adyenjs_0_1_18$MT6ppy0FAMVMLH...\"\n },\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"encryptedCardNumber\" : \"adyenjs_0_1_18$MT6ppy0FAMVMLH...\",\n \"encryptedExpiryMonth\" : \"adyenjs_0_1_18$MT6ppy0FAMVMLH...\",\n \"encryptedExpiryYear\" : \"adyenjs_0_1_18$MT6ppy0FAMVMLH...\",\n \"encryptedSecurityCode\" : \"adyenjs_0_1_18$MT6ppy0FAMVMLH...\"\n },\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + ] }, { "name": "Tokenize card details for one-off payments", "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 + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4111111111111111\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\",\n \"cvc\" : \"737\"\n },\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"additionalData\" : {\n \"cvcResult\" : \"1 Matches\",\n \"authCode\" : \"022966\",\n \"avsResult\" : \"4 AVS not supported for this card type\",\n \"recurring.recurringDetailReference\" : \"9916178934434753\",\n \"recurringProcessingModel\" : \"CardOnFile\",\n \"avsResultRaw\" : \"4\",\n \"cvcResultRaw\" : \"M\",\n \"refusalReasonRaw\" : \"AUTHORISED\",\n \"recurring.shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID\",\n \"acquirerCode\" : \"TestPmmAcquirer\",\n \"acquirerReference\" : \"8PQMP9T0BB6\"\n },\n \"pspReference\" : \"993617894947495G\",\n \"resultCode\" : \"Authorised\"\n}", + "originalRequest": { + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4111111111111111\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\",\n \"cvc\" : \"737\"\n },\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4111111111111111\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\",\n \"cvc\" : \"737\"\n },\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + ] }, { "name": "Make a Google Pay payment", "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"paywithgoogle\",\n \"googlePayToken\" : \"==Payload as retrieved from Google Pay response==\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"YourMerchantAccount\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"paywithgoogle\",\n \"googlePayToken\" : \"==Payload as retrieved from Google Pay response==\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"YourMerchantAccount\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + ] }, { "name": "Make an iDEAL payment", "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 + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"ideal\",\n \"issuer\" : \"1121\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"resultCode\" : \"RedirectShopper\",\n \"details\" : [ {\n \"key\" : \"payload\",\n \"type\" : \"text\"\n } ],\n \"paymentData\" : \"Ab02b4c0!BQABAgBOBkMn4vBx6T3DgxR+OR/a1zEA0xbGaYKP9mh/vWDSADlyktW39HZckwcm4Wr9kw2TvE9SYngEf9f6kZb1OimKls3+HEn3dRGOrTbWZZ8/tpmlS62YoDh1eQIE3EHZsUm7CQxhXjm8F0HQCelzIkVgj8DpLgtxwM3nFZxfpzl91HSt9CP/GIsx8S/RPVG2Fwg2S/jtdQ4MlFeG89S+icDvTecTyGoYFZlS/KL77Q4zJCR8Vgn4M9DJZEGRxv6kApLwDMkMyUMQngN95xDSCdLSW7fKkVusSub2+2hB7rzWxtj1E8R9dbtkCxgTe0F/G7tqrzUfEmseiHoKmaF6F8bN0j6BZiFhQJ/KHXJ6Pb+a7f0qYbQCAZmwYmeSSfNzqIDehyufpL0bP3w38spuso3QlhtPIqSHrIHDIQzbYmxPtt/I6A/RCMXJ7VN4nB6JigEygV383lnr8wd7mEynOQXnq9zEF+GGJy0Ool05WEy8L/mATgg++6bpsuSB2Wea5/VffvG6KcMyzs7OBG9zLAdYcrfqlsyXz/42UBJTeA2s6kVb1sBUfd6CQuQRF+37sjMwKiNIxwVaNWIYZMiWhbqPXOS4ozt0kNCtruhHqHgULPfF6aia/BnZKib6n+pBSepTdS47wZ31xC8VPqsoPia8RGNziLO/MmSMpW2fQRdgrhCrSniHb8qrh0vwgbPB4S7vAEp7ImtleSI6IkFGMEFBQTEwM0NBNTM3RUFFRDg3QzI0REQ1MzkwOUI4MEE3OEE5MjNFMzgyM0Q2OERBQ0M5NEI5RkY4MzA1REMifTMy2HjS+Bb81E9m0fQAZJXCA1BJgLgstBw3wxbdpZevF8c+pSBGUYNUm9ZbwrD93dGdCU2RvlI1gcyKke0cEEqKGjqWFXOWIYkSNzfLrgP3ERdp5t9VGZi6BDQko2CFzP4uAR3jwgR3AP0/mQ/4YWDrBrnYZCWjOpo7izGhNbHYvWbBOqVDvnfReoCrSNSLSo8OfSxuFrN6sJLXrajGu1qbPqQtxFIRyqLgbOfHLHw/DN3I+BZKGrNYynRfM2NparXTQ6ZRgC8E5xIodApr4JHMNeiPTjMlReaLBQwbcqaBzzRNLdV0v8/ZSXexS68WBeUMt7OkomYJBFrpwmpzgx/nzRzV87MZ9TGhZht/1zjcyaSi0Toc6r7UhbADuDX5RH5L0T8Q3iGJfjrYuS5h9aiYSg8oaVJ5DZhJAicDbb8eLvdAGXFTIV+EXbD+4e9Xl+c5um4FdKfufcrrUEo2s6lUuSBSJ3Gf6r+yJMxkamWwfnRUtxt+axRcXfmywYqU7O1r0zzW+RKCbV2qZeUWWeN1u5UIPdJbQbH4633ukPp//aGh8R4IWckBp7DGH4M5P1ZiYJB8OQRS5gD/y+iuwensnq1rKFBOK4gFNSpKmuDQYLeWb5VljHgE1sS4DRhl0fl8UCabehP+3tZu/2i88JTWbdUuvPLmkyv8zQdY36YeSDWmwC40vvbB+lo2e8MgVpfDwn+xyQFpFhasbEyr4VVoPwHq1sGR/QEutxmeoJi1Zux48jSHoGOj5RZ4ei+b8Lxp4rj45wwm0AiROghLnZJZfJaySp/LVxQ=\",\n \"redirect\" : {\n \"method\" : \"GET\",\n \"url\" : \"https://test.adyen.com/hpp/checkout.shtml?u=redirectIdeal&p=eJxtUl1vozAQ-DXwFmQDAfLgh4jSC730Q1yoqr5Urr0NXIlNbUPj-PozXC6qqpOstTWz2p3Z9auigueSA2k50M5ng1IgmJ2hoq78VusBVMkJxiH2D6BYQ4VZMyYHYcgOtLk9YxeyFAb2ippWisDYHki*KfKf9-Xu5UdxV1Rl-t-MEZR2N4nRha7gDSY1QLRRrdh-IcygxBU1lKxWOMFptopXcZZEyc0l51e7J9XdcHpeDTxC4edG1pFF5WMHnw95FtHf3N5z1MWqipKjF17XXnTl99QewNk7zO4wQshXoOtqSxpjei9au0R3Oslo10htHJKhDDmINcDe5WB0I-selEM0qLFloN3z4W-ZUjB5cD4q4K0CZhwz4n-lzjm3YBrJvej626iduq-D9sJEzUNw2hw1qXONlpPA5STRBSsHtXANeyps4O4ZDILA16CnST-SruWtsSREIV6geIGyHU6cI7x0Ic6e-bOXaUuKsmlLpHCFJmXg6-dWzL*kH16DMQzOi0iTNE1xFsXBqRyfot1NwrPRFmGzPr4w3jTHGpX16S3*2H4Um22xB8u5-ANWgt0s\"\n }\n}", + "originalRequest": { + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"ideal\",\n \"issuer\" : \"1121\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"ideal\",\n \"issuer\" : \"1121\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + ] }, { "name": "Make a Klarna payment", "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 \"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" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + "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 \"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" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + ] }, { "name": "Make a one-off payment with a token and CVV", "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"storedPaymentMethodId\" : \"8416038790273850\",\n \"cvc\" : \"737\"\n },\n \"shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID_6738oneoff\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"storedPaymentMethodId\" : \"8416038790273850\",\n \"cvc\" : \"737\"\n },\n \"shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID_6738oneoff\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + ] }, { "name": "Make a one-off payment with a token and CVV, using encrypted card details", "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"recurringDetailReference\" : \"8416038790273850\",\n \"encryptedSecurityCode\" : \"adyenjs_0_1_18$MT6ppy0FAMVMLH...\"\n },\n \"shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID_6738oneoff\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"recurringDetailReference\" : \"8416038790273850\",\n \"encryptedSecurityCode\" : \"adyenjs_0_1_18$MT6ppy0FAMVMLH...\"\n },\n \"shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID_6738oneoff\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + ] }, { "name": "Make a card payment with a token", "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"storedPaymentMethodId\" : \"8316038796685850\"\n },\n \"shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID_IOfW3subscription\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"shopperInteraction\" : \"ContAuth\",\n \"recurringProcessingModel\" : \"Subscription\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"storedPaymentMethodId\" : \"8316038796685850\"\n },\n \"shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID_IOfW3subscription\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"shopperInteraction\" : \"ContAuth\",\n \"recurringProcessingModel\" : \"Subscription\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + ] }, { "name": "Split a payment between balance accounts", "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 + "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 \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4111111111111111\",\n \"cvc\" : \"737\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\"\n },\n \"amount\" : {\n \"value\" : 40000,\n \"currency\" : \"USD\"\n },\n \"reference\" : \"{{$guid}}\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"splits\" : [ {\n \"amount\" : {\n \"value\" : 39600\n },\n \"type\" : \"BalanceAccount\",\n \"account\" : \"BA00000000000000000000001\",\n \"reference\" : \"Your reference for the sale amount\",\n \"description\" : \"Your description for the sale amount\"\n }, {\n \"amount\" : {\n \"value\" : 400\n },\n \"type\" : \"Commission\",\n \"reference\" : \"Your reference for the commission\",\n \"description\" : \"Your description for the commission\"\n }, {\n \"type\" : \"PaymentFee\",\n \"account\" : \"BA00000000000000000000001\",\n \"reference\" : \"Your reference for the fees\",\n \"description\" : \"Your description for the fees\"\n } ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"additionalData\" : {\n \"refusalReasonRaw\" : \"AUTHORISED\",\n \"eci\" : \"N/A\",\n \"acquirerAccountCode\" : \"YOUR_ACQUIRER_ACCOUNT\",\n \"donationToken\" : \"81234567890123456...\",\n \"xid\" : \"N/A\",\n \"threeDAuthenticated\" : \"false\",\n \"paymentMethodVariant\" : \"visa\",\n \"issuerBin\" : \"41111111\",\n \"payoutEligible\" : \"Y\",\n \"fraudManualReview\" : \"false\",\n \"threeDOffered\" : \"false\",\n \"threeDOfferedResponse\" : \"N/A\",\n \"authorisationMid\" : \"50\",\n \"fundsAvailability\" : \"I\",\n \"authorisedAmountCurrency\" : \"USD\",\n \"threeDAuthenticatedResponse\" : \"N/A\",\n \"avsResultRaw\" : \"5\",\n \"retry.attempt1.rawResponse\" : \"AUTHORISED\",\n \"paymentMethod\" : \"visa\",\n \"avsResult\" : \"5 No AVS data provided\",\n \"cardSummary\" : \"1111\",\n \"retry.attempt1.avsResultRaw\" : \"5\",\n \"networkTxReference\" : \"777718270854480\",\n \"expiryDate\" : \"3/2030\",\n \"cavvAlgorithm\" : \"N/A\",\n \"cardBin\" : \"411111\",\n \"alias\" : \"8915844059375211\",\n \"cvcResultRaw\" : \"M\",\n \"merchantReference\" : \"YOUR_ORDER_NUMBER\",\n \"acquirerReference\" : \"YOUR_ACQUIRER_REFERENCE\",\n \"cardIssuingCountry\" : \"NL\",\n \"liabilityShift\" : \"false\",\n \"fraudResultType\" : \"GREEN\",\n \"authCode\" : \"035450\",\n \"cardHolderName\" : \"John Smith\",\n \"isCardCommercial\" : \"unknown\",\n \"PaymentAccountReference\" : \"6006491286999921374...\",\n \"retry.attempt1.acquirerAccount\" : \"YOUR_ACQUIRER_ACCOUNT\",\n \"cardIssuingBank\" : \"ISSUING_BANK_CUSTOMER\",\n \"retry.attempt1.acquirer\" : \"YOUR_ACQUIRER_CODE\",\n \"authorisedAmountValue\" : \"40000\",\n \"issuerCountry\" : \"NL\",\n \"cvcResult\" : \"1 Matches\",\n \"retry.attempt1.responseCode\" : \"Approved\",\n \"aliasType\" : \"Default\",\n \"retry.attempt1.shopperInteraction\" : \"Ecommerce\",\n \"cardPaymentMethod\" : \"visa\",\n \"acquirerCode\" : \"YOUR_ACQUIRER_CODE\"\n },\n \"pspReference\" : \"PPKFQ89R6QRXGN82\",\n \"resultCode\" : \"Authorised\",\n \"merchantReference\" : \"YOUR_ORDER_NUMBER\"\n}", + "originalRequest": { + "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 \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4111111111111111\",\n \"cvc\" : \"737\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\"\n },\n \"amount\" : {\n \"value\" : 40000,\n \"currency\" : \"USD\"\n },\n \"reference\" : \"{{$guid}}\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"splits\" : [ {\n \"amount\" : {\n \"value\" : 39600\n },\n \"type\" : \"BalanceAccount\",\n \"account\" : \"BA00000000000000000000001\",\n \"reference\" : \"Your reference for the sale amount\",\n \"description\" : \"Your description for the sale amount\"\n }, {\n \"amount\" : {\n \"value\" : 400\n },\n \"type\" : \"Commission\",\n \"reference\" : \"Your reference for the commission\",\n \"description\" : \"Your description for the commission\"\n }, {\n \"type\" : \"PaymentFee\",\n \"account\" : \"BA00000000000000000000001\",\n \"reference\" : \"Your reference for the fees\",\n \"description\" : \"Your description for the fees\"\n } ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4111111111111111\",\n \"cvc\" : \"737\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\"\n },\n \"amount\" : {\n \"value\" : 40000,\n \"currency\" : \"USD\"\n },\n \"reference\" : \"{{$guid}}\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"splits\" : [ {\n \"amount\" : {\n \"value\" : 39600\n },\n \"type\" : \"BalanceAccount\",\n \"account\" : \"BA00000000000000000000001\",\n \"reference\" : \"Your reference for the sale amount\",\n \"description\" : \"Your description for the sale amount\"\n }, {\n \"amount\" : {\n \"value\" : 400\n },\n \"type\" : \"Commission\",\n \"reference\" : \"Your reference for the commission\",\n \"description\" : \"Your description for the commission\"\n }, {\n \"type\" : \"PaymentFee\",\n \"account\" : \"BA00000000000000000000001\",\n \"reference\" : \"Your reference for the fees\",\n \"description\" : \"Your description for the fees\"\n } ]\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + ] }, { "name": "Split a payment in a Classic Platforms integration", "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 \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4111111111111111\",\n \"cvc\" : \"737\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\"\n },\n \"amount\" : {\n \"value\" : 6200,\n \"currency\" : \"EUR\"\n },\n \"reference\" : \"{{$guid}}\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"splits\" : [ {\n \"amount\" : {\n \"value\" : 6000\n },\n \"type\" : \"MarketPlace\",\n \"account\" : \"151272963\",\n \"reference\" : \"6124145\",\n \"description\" : \"Porcelain Doll: Eliza (20cm)\"\n }, {\n \"amount\" : {\n \"value\" : 200\n },\n \"type\" : \"Commission\",\n \"reference\" : \"6124146\"\n } ]\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + "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 \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4111111111111111\",\n \"cvc\" : \"737\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\"\n },\n \"amount\" : {\n \"value\" : 6200,\n \"currency\" : \"EUR\"\n },\n \"reference\" : \"{{$guid}}\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"splits\" : [ {\n \"amount\" : {\n \"value\" : 6000\n },\n \"type\" : \"MarketPlace\",\n \"account\" : \"151272963\",\n \"reference\" : \"6124145\",\n \"description\" : \"Porcelain Doll: Eliza (20cm)\"\n }, {\n \"amount\" : {\n \"value\" : 200\n },\n \"type\" : \"Commission\",\n \"reference\" : \"6124146\"\n } ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + ] } ] - } -, + }, { "name": "/payments/details", "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. ", @@ -2212,206 +3970,213 @@ { "name": "Submit details for the 3D Secure payment ", "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 \"MD\" : \"Ab02b4c0!BQABAgCW5sxB4e/==...\",\n \"PaRes\" : \"eNrNV0mTo7gS...\"\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. " - } + "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 \"MD\" : \"Ab02b4c0!BQABAgCW5sxB4e/==...\",\n \"PaRes\" : \"eNrNV0mTo7gS...\"\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. " +} + ,"response": [ + ] }, { "name": "Submit 3D Secure 2 callenge flow result", "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 \"details\" : {\n \"threeds2.challengeResult\" : \"eyJ0cmFuc1N0YXR1cyI6IlkifQ==\"\n },\n \"paymentData\" : \"YOUR_PAYMENT_DATA\"\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. " - } + "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 \"details\" : {\n \"threeds2.challengeResult\" : \"eyJ0cmFuc1N0YXR1cyI6IlkifQ==\"\n },\n \"paymentData\" : \"YOUR_PAYMENT_DATA\"\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. " +} + ,"response": [ + ] }, { "name": "Submit 3D Secure 2 device fingerprinting result", "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 \"details\" : {\n \"threeds2.fingerprint\" : \"eyJ0aHJlZURTQ29tcEluZCI6ICJZIn0=\"\n },\n \"paymentData\" : \"YOUR_PAYMENT_DATA...\"\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. " - } + "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 \"details\" : {\n \"threeds2.fingerprint\" : \"eyJ0aHJlZURTQ29tcEluZCI6ICJZIn0=\"\n },\n \"paymentData\" : \"YOUR_PAYMENT_DATA...\"\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. " +} + ,"response": [ + ] }, { "name": "Submit the redirect result", "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\" : \"Ab02b4c0!BQABAgCJN1wRZuGJmq8dMncmypvknj9s7l5Tj...\",\n \"details\" : {\n \"redirectResult\" : \"X6XtfGC3!Y...\"\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. " - } + "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\" : \"Ab02b4c0!BQABAgCJN1wRZuGJmq8dMncmypvknj9s7l5Tj...\",\n \"details\" : {\n \"redirectResult\" : \"X6XtfGC3!Y...\"\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. " +} + ,"response": [ + ] } ] } - ] }, { @@ -2424,55 +4189,113 @@ { "name": "Create a payment link", "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 + "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 \"reference\" : \"{{$guid}}\",\n \"amount\" : {\n \"value\" : 1250,\n \"currency\" : \"BRL\"\n },\n \"countryCode\" : \"BR\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"shopperEmail\" : \"test@email.com\",\n \"shopperLocale\" : \"pt-BR\",\n \"billingAddress\" : {\n \"street\" : \"Roque Petroni Jr\",\n \"postalCode\" : \"59000060\",\n \"city\" : \"São Paulo\",\n \"houseNumberOrName\" : \"999\",\n \"country\" : \"BR\",\n \"stateOrProvince\" : \"SP\"\n },\n \"deliveryAddress\" : {\n \"street\" : \"Roque Petroni Jr\",\n \"postalCode\" : \"59000060\",\n \"city\" : \"São Paulo\",\n \"houseNumberOrName\" : \"999\",\n \"country\" : \"BR\",\n \"stateOrProvince\" : \"SP\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentLinks", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentLinks" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates a payment link to our hosted payment form where shoppers can pay. The list of payment methods presented to the shopper depends on the `currency` and `country` parameters sent in the request. For more information, refer to [Pay by Link documentation](https://docs.adyen.com/online-payments/pay-by-link#create-payment-links-through-api)." +} + ,"response": [ + {"name": "Created - the request has succeeded.", + "code": 201, + "status": "Created", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"amount\" : {\n \"currency\" : \"BRL\",\n \"value\" : 1250\n },\n \"billingAddress\" : {\n \"city\" : \"São Paulo\",\n \"country\" : \"BR\",\n \"houseNumberOrName\" : \"999\",\n \"postalCode\" : \"59000060\",\n \"stateOrProvince\" : \"SP\",\n \"street\" : \"Roque Petroni Jr\"\n },\n \"countryCode\" : \"BR\",\n \"deliveryAddress\" : {\n \"city\" : \"São Paulo\",\n \"country\" : \"BR\",\n \"houseNumberOrName\" : \"999\",\n \"postalCode\" : \"59000060\",\n \"stateOrProvince\" : \"SP\",\n \"street\" : \"Roque Petroni Jr\"\n },\n \"expiresAt\" : \"2022-10-28T09:16:22Z\",\n \"merchantAccount\" : \"YOUR_MERCHANT_ACCOUNT\",\n \"reference\" : \"YOUR_ORDER_NUMBER\",\n \"reusable\" : false,\n \"shopperEmail\" : \"test@email.com\",\n \"shopperLocale\" : \"pt-BR\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"status\" : \"active\",\n \"url\" : \"https://test.adyen.link/PLE83C39B0A0DE0C1E\"\n}", + "originalRequest": { + "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 \"reference\" : \"{{$guid}}\",\n \"amount\" : {\n \"value\" : 1250,\n \"currency\" : \"BRL\"\n },\n \"countryCode\" : \"BR\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"shopperEmail\" : \"test@email.com\",\n \"shopperLocale\" : \"pt-BR\",\n \"billingAddress\" : {\n \"street\" : \"Roque Petroni Jr\",\n \"postalCode\" : \"59000060\",\n \"city\" : \"São Paulo\",\n \"houseNumberOrName\" : \"999\",\n \"country\" : \"BR\",\n \"stateOrProvince\" : \"SP\"\n },\n \"deliveryAddress\" : {\n \"street\" : \"Roque Petroni Jr\",\n \"postalCode\" : \"59000060\",\n \"city\" : \"São Paulo\",\n \"houseNumberOrName\" : \"999\",\n \"country\" : \"BR\",\n \"stateOrProvince\" : \"SP\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentLinks", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentLinks" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates a payment link to our hosted payment form where shoppers can pay. The list of payment methods presented to the shopper depends on the `currency` and `country` parameters sent in the request. For more information, refer to [Pay by Link documentation](https://docs.adyen.com/online-payments/pay-by-link#create-payment-links-through-api)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"reference\" : \"{{$guid}}\",\n \"amount\" : {\n \"value\" : 1250,\n \"currency\" : \"BRL\"\n },\n \"countryCode\" : \"BR\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"shopperEmail\" : \"test@email.com\",\n \"shopperLocale\" : \"pt-BR\",\n \"billingAddress\" : {\n \"street\" : \"Roque Petroni Jr\",\n \"postalCode\" : \"59000060\",\n \"city\" : \"São Paulo\",\n \"houseNumberOrName\" : \"999\",\n \"country\" : \"BR\",\n \"stateOrProvince\" : \"SP\"\n },\n \"deliveryAddress\" : {\n \"street\" : \"Roque Petroni Jr\",\n \"postalCode\" : \"59000060\",\n \"city\" : \"São Paulo\",\n \"houseNumberOrName\" : \"999\",\n \"country\" : \"BR\",\n \"stateOrProvince\" : \"SP\"\n }\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentLinks", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentLinks" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Creates a payment link to our hosted payment form where shoppers can pay. The list of payment methods presented to the shopper depends on the `currency` and `country` parameters sent in the request. For more information, refer to [Pay by Link documentation](https://docs.adyen.com/online-payments/pay-by-link#create-payment-links-through-api)." - } + ] } ] - } -, + }, { "name": "/paymentLinks/:linkId", "description": "Retrieves the payment link details using the payment link `id`.", @@ -2480,49 +4303,50 @@ { "name": "Get a payment link", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentLinks/:linkId", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentLinks", - ":linkId" - ], - "variable": [ - { - "key": "linkId", - "value": "", - "description": "Unique identifier of the payment link." - } - ], - "query": [ - ] - }, - "description": "Retrieves the payment link details using the payment link `id`." - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentLinks/:linkId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentLinks", + ":linkId" + ], + "variable": [ + { + "key": "linkId", + "value": "", + "description": "Unique identifier of the payment link." + } + ], + "query": [ + ] + }, + "description": "Retrieves the payment link details using the payment link `id`." +} + ,"response": [ + ] } ] - } -, + }, { "name": "/paymentLinks/:linkId", "description": "Updates the status of a payment link. Use this endpoint to [force the expiry of a payment link](https://docs.adyen.com/online-payments/pay-by-link#update-payment-link-status).", @@ -2530,55 +4354,113 @@ { "name": "Update the status of a payment link", "request": { - "method": "PATCH", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"status\" : \"expired\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentLinks/:linkId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentLinks", + ":linkId" + ], + "variable": [ + { + "key": "linkId", + "value": "", + "description": "Unique identifier of the payment link." + } + ], + "query": [ + ] + }, + "description": "Updates the status of a payment link. Use this endpoint to [force the expiry of a payment link](https://docs.adyen.com/online-payments/pay-by-link#update-payment-link-status)." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 8700\n },\n \"countryCode\" : \"NL\",\n \"expiresAt\" : \"2021-04-08T14:06:39Z\",\n \"merchantAccount\" : \"YOUR_MERCHANT_ACCOUNT\",\n \"reference\" : \"shopper-reference-ekvL83\",\n \"shopperLocale\" : \"hu-HU\",\n \"shopperReference\" : \"shopper-reference-LZfdWZ\",\n \"status\" : \"expired\",\n \"url\" : \"https://test.adyen.link/PL61C53A8B97E6915A\",\n \"id\" : \"PL61C53A8B97E6915A\"\n}", + "originalRequest": { + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"status\" : \"expired\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentLinks/:linkId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentLinks", + ":linkId" + ], + "variable": [ + { + "key": "linkId", + "value": "", + "description": "Unique identifier of the payment link." + } + ], + "query": [ + ] + }, + "description": "Updates the status of a payment link. Use this endpoint to [force the expiry of a payment link](https://docs.adyen.com/online-payments/pay-by-link#update-payment-link-status)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"status\" : \"expired\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentLinks/:linkId", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentLinks", - ":linkId" - ], - "variable": [ - { - "key": "linkId", - "value": "", - "description": "Unique identifier of the payment link." - } - ], - "query": [ - ] - }, - "description": "Updates the status of a payment link. Use this endpoint to [force the expiry of a payment link](https://docs.adyen.com/online-payments/pay-by-link#update-payment-link-status)." - } + ] } ] } - ] } ], diff --git a/postman/CheckoutService-v50.json b/postman/CheckoutService-v50.json index db1e6a3..642f4f3 100644 --- a/postman/CheckoutService-v50.json +++ b/postman/CheckoutService-v50.json @@ -19,55 +19,113 @@ { "name": "Cancel a payment using your own reference", "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 + "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 \"paymentReference\" : \"YOUR_UNIQUE_REFERENCE_FOR_THE_PAYMENT\",\n \"reference\" : \"YOUR_UNIQUE_REFERENCE_FOR_THE_CANCELLATION\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/cancels", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "cancels" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Cancels the authorisation on a payment that has not yet been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/captures), and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**TECHNICAL_CANCEL** webhook](https://docs.adyen.com/online-payments/cancel#cancellation-webhook). If you want to cancel a payment using the [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference), use the [`/payments/{paymentPspReference}/cancels`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/cancels) endpoint instead. If you want to cancel a payment but are not sure whether it has been captured, use the [`/payments/{paymentPspReference}/reversals`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/reversals) endpoint instead. For more information, refer to [Cancel](https://docs.adyen.com/online-payments/cancel)." +} + ,"response": [ + {"name": "Created - the request has been fulfilled and has resulted in one or more new resources being created.", + "code": 201, + "status": "Created", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"merchantAccount\" : \"YOUR_MERCHANT_ACCOUNT\",\n \"paymentReference\" : \"YOUR_UNIQUE_REFERENCE_FOR_THE_PAYMENT\",\n \"reference\" : \"YOUR_UNIQUE_REFERENCE_FOR_THE_CANCELLATION\",\n \"pspReference\" : \"993617894906488A\",\n \"status\" : \"received\"\n}", + "originalRequest": { + "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 \"paymentReference\" : \"YOUR_UNIQUE_REFERENCE_FOR_THE_PAYMENT\",\n \"reference\" : \"YOUR_UNIQUE_REFERENCE_FOR_THE_CANCELLATION\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/cancels", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "cancels" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Cancels the authorisation on a payment that has not yet been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/captures), and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**TECHNICAL_CANCEL** webhook](https://docs.adyen.com/online-payments/cancel#cancellation-webhook). If you want to cancel a payment using the [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference), use the [`/payments/{paymentPspReference}/cancels`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/cancels) endpoint instead. If you want to cancel a payment but are not sure whether it has been captured, use the [`/payments/{paymentPspReference}/reversals`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/reversals) endpoint instead. For more information, refer to [Cancel](https://docs.adyen.com/online-payments/cancel)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"paymentReference\" : \"YOUR_UNIQUE_REFERENCE_FOR_THE_PAYMENT\",\n \"reference\" : \"YOUR_UNIQUE_REFERENCE_FOR_THE_CANCELLATION\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/cancels", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "cancels" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Cancels the authorisation on a payment that has not yet been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/captures), and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**TECHNICAL_CANCEL** webhook](https://docs.adyen.com/online-payments/cancel#cancellation-webhook). If you want to cancel a payment using the [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference), use the [`/payments/{paymentPspReference}/cancels`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/cancels) endpoint instead. If you want to cancel a payment but are not sure whether it has been captured, use the [`/payments/{paymentPspReference}/reversals`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/reversals) endpoint instead. For more information, refer to [Cancel](https://docs.adyen.com/online-payments/cancel)." - } + ] } ] - } -, + }, { "name": "/payments/:paymentPspReference/amountUpdates", "description": "Increases or decreases the authorised payment amount and returns a unique reference for this request. You get the outcome of the request asynchronously, in an [**AUTHORISATION_ADJUSTMENT** webhook](https://docs.adyen.com/development-resources/webhooks/understand-notifications#event-codes). You can only update authorised amounts that have not yet been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/captures). The amount you specify in the request is the updated amount, which is larger or smaller than the initial authorised amount. For more information, refer to [Authorisation adjustment](https://docs.adyen.com/online-payments/adjust-authorisation#use-cases).", @@ -75,62 +133,127 @@ { "name": "Update the amount of an authorised payment", "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 + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 2500\n },\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments/:paymentPspReference/amountUpdates", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments", + ":paymentPspReference", + "amountUpdates" + ], + "variable": [ + { + "key": "paymentPspReference", + "value": "", + "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment." + } + ], + "query": [ + ] + }, + "description": "Increases or decreases the authorised payment amount and returns a unique reference for this request. You get the outcome of the request asynchronously, in an [**AUTHORISATION_ADJUSTMENT** webhook](https://docs.adyen.com/development-resources/webhooks/understand-notifications#event-codes). You can only update authorised amounts that have not yet been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/captures). The amount you specify in the request is the updated amount, which is larger or smaller than the initial authorised amount. For more information, refer to [Authorisation adjustment](https://docs.adyen.com/online-payments/adjust-authorisation#use-cases)." +} + ,"response": [ + {"name": "Created - the request has been fulfilled and has resulted in one or more new resources being created.", + "code": 201, + "status": "Created", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"merchantAccount\" : \"YOUR_MERCHANT_ACCOUNT\",\n \"paymentPspReference\" : \"993617894903480A\",\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"pspReference\" : \"993617894906488A\",\n \"status\" : \"received\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 2500\n }\n}", + "originalRequest": { + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 2500\n },\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments/:paymentPspReference/amountUpdates", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments", + ":paymentPspReference", + "amountUpdates" + ], + "variable": [ + { + "key": "paymentPspReference", + "value": "", + "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment." + } + ], + "query": [ + ] + }, + "description": "Increases or decreases the authorised payment amount and returns a unique reference for this request. You get the outcome of the request asynchronously, in an [**AUTHORISATION_ADJUSTMENT** webhook](https://docs.adyen.com/development-resources/webhooks/understand-notifications#event-codes). You can only update authorised amounts that have not yet been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/captures). The amount you specify in the request is the updated amount, which is larger or smaller than the initial authorised amount. For more information, refer to [Authorisation adjustment](https://docs.adyen.com/online-payments/adjust-authorisation#use-cases)." +} } - ], - "body": { - "mode": "raw", - "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" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments/:paymentPspReference/amountUpdates", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments", - ":paymentPspReference", - "amountUpdates" - ], - "variable": [ - { - "key": "paymentPspReference", - "value": "", - "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment." - } - ], - "query": [ - ] - }, - "description": "Increases or decreases the authorised payment amount and returns a unique reference for this request. You get the outcome of the request asynchronously, in an [**AUTHORISATION_ADJUSTMENT** webhook](https://docs.adyen.com/development-resources/webhooks/understand-notifications#event-codes). You can only update authorised amounts that have not yet been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/captures). The amount you specify in the request is the updated amount, which is larger or smaller than the initial authorised amount. For more information, refer to [Authorisation adjustment](https://docs.adyen.com/online-payments/adjust-authorisation#use-cases)." - } + ] } ] - } -, + }, { "name": "/payments/:paymentPspReference/cancels", "description": "Cancels the authorisation on a payment that has not yet been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/paymentPspReference/captures), and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CANCELLATION** webhook](https://docs.adyen.com/online-payments/cancel#cancellation-webhook). If you want to cancel a payment but don't have the [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference), use the [`/cancels`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cancels) endpoint instead. If you want to cancel a payment but are not sure whether it has been captured, use the [`/payments/{paymentPspReference}/reversals`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/reversals) endpoint instead. For more information, refer to [Cancel](https://docs.adyen.com/online-payments/cancel).", @@ -138,62 +261,127 @@ { "name": "Cancel payment using a PSP reference", "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 + "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 \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments/:paymentPspReference/cancels", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments", + ":paymentPspReference", + "cancels" + ], + "variable": [ + { + "key": "paymentPspReference", + "value": "", + "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to cancel. " + } + ], + "query": [ + ] + }, + "description": "Cancels the authorisation on a payment that has not yet been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/paymentPspReference/captures), and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CANCELLATION** webhook](https://docs.adyen.com/online-payments/cancel#cancellation-webhook). If you want to cancel a payment but don't have the [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference), use the [`/cancels`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cancels) endpoint instead. If you want to cancel a payment but are not sure whether it has been captured, use the [`/payments/{paymentPspReference}/reversals`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/reversals) endpoint instead. For more information, refer to [Cancel](https://docs.adyen.com/online-payments/cancel)." +} + ,"response": [ + {"name": "Created - the request has been fulfilled and has resulted in one or more new resources being created.", + "code": 201, + "status": "Created", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"merchantAccount\" : \"YOUR_MERCHANT_ACCOUNT\",\n \"paymentPspReference\" : \"993617894903480A\",\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"pspReference\" : \"993617894906488A\",\n \"status\" : \"received\"\n}", + "originalRequest": { + "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 \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments/:paymentPspReference/cancels", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments", + ":paymentPspReference", + "cancels" + ], + "variable": [ + { + "key": "paymentPspReference", + "value": "", + "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to cancel. " + } + ], + "query": [ + ] + }, + "description": "Cancels the authorisation on a payment that has not yet been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/paymentPspReference/captures), and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CANCELLATION** webhook](https://docs.adyen.com/online-payments/cancel#cancellation-webhook). If you want to cancel a payment but don't have the [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference), use the [`/cancels`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cancels) endpoint instead. If you want to cancel a payment but are not sure whether it has been captured, use the [`/payments/{paymentPspReference}/reversals`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/reversals) endpoint instead. For more information, refer to [Cancel](https://docs.adyen.com/online-payments/cancel)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments/:paymentPspReference/cancels", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments", - ":paymentPspReference", - "cancels" - ], - "variable": [ - { - "key": "paymentPspReference", - "value": "", - "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to cancel. " - } - ], - "query": [ - ] - }, - "description": "Cancels the authorisation on a payment that has not yet been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/paymentPspReference/captures), and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CANCELLATION** webhook](https://docs.adyen.com/online-payments/cancel#cancellation-webhook). If you want to cancel a payment but don't have the [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference), use the [`/cancels`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cancels) endpoint instead. If you want to cancel a payment but are not sure whether it has been captured, use the [`/payments/{paymentPspReference}/reversals`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/reversals) endpoint instead. For more information, refer to [Cancel](https://docs.adyen.com/online-payments/cancel)." - } + ] } ] - } -, + }, { "name": "/payments/:paymentPspReference/captures", "description": " Captures an authorised payment and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CAPTURE** webhook](https://docs.adyen.com/online-payments/capture#capture-notification). You can capture either the full authorised amount or a part of the authorised amount. By default, any unclaimed amount after a partial capture gets cancelled. This does not apply if you enabled multiple partial captures on your account and the payment method supports multiple partial captures. [Automatic capture](https://docs.adyen.com/online-payments/capture#automatic-capture) is the default setting for most payment methods. In these cases, you don't need to make capture requests. However, making capture requests for payments that are captured automatically does not result in double charges. For more information, refer to [Capture](https://docs.adyen.com/online-payments/capture).", @@ -201,62 +389,127 @@ { "name": "Capture an authorised payment", "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 + "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 \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"amount\" : {\n \"value\" : 2000,\n \"currency\" : \"EUR\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments/:paymentPspReference/captures", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments", + ":paymentPspReference", + "captures" + ], + "variable": [ + { + "key": "paymentPspReference", + "value": "", + "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to capture." + } + ], + "query": [ + ] + }, + "description": " Captures an authorised payment and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CAPTURE** webhook](https://docs.adyen.com/online-payments/capture#capture-notification). You can capture either the full authorised amount or a part of the authorised amount. By default, any unclaimed amount after a partial capture gets cancelled. This does not apply if you enabled multiple partial captures on your account and the payment method supports multiple partial captures. [Automatic capture](https://docs.adyen.com/online-payments/capture#automatic-capture) is the default setting for most payment methods. In these cases, you don't need to make capture requests. However, making capture requests for payments that are captured automatically does not result in double charges. For more information, refer to [Capture](https://docs.adyen.com/online-payments/capture)." +} + ,"response": [ + {"name": "Created - the request has been fulfilled and has resulted in one or more new resources being created.", + "code": 201, + "status": "Created", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"merchantAccount\" : \"YOUR_MERCHANT_ACCOUNT\",\n \"paymentPspReference\" : \"993617894903480A\",\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"pspReference\" : \"993617894906488A\",\n \"status\" : \"received\",\n \"amount\" : {\n \"value\" : 2000,\n \"currency\" : \"EUR\"\n }\n}", + "originalRequest": { + "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 \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"amount\" : {\n \"value\" : 2000,\n \"currency\" : \"EUR\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments/:paymentPspReference/captures", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments", + ":paymentPspReference", + "captures" + ], + "variable": [ + { + "key": "paymentPspReference", + "value": "", + "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to capture." + } + ], + "query": [ + ] + }, + "description": " Captures an authorised payment and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CAPTURE** webhook](https://docs.adyen.com/online-payments/capture#capture-notification). You can capture either the full authorised amount or a part of the authorised amount. By default, any unclaimed amount after a partial capture gets cancelled. This does not apply if you enabled multiple partial captures on your account and the payment method supports multiple partial captures. [Automatic capture](https://docs.adyen.com/online-payments/capture#automatic-capture) is the default setting for most payment methods. In these cases, you don't need to make capture requests. However, making capture requests for payments that are captured automatically does not result in double charges. For more information, refer to [Capture](https://docs.adyen.com/online-payments/capture)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"amount\" : {\n \"value\" : 2000,\n \"currency\" : \"EUR\"\n }\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments/:paymentPspReference/captures", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments", - ":paymentPspReference", - "captures" - ], - "variable": [ - { - "key": "paymentPspReference", - "value": "", - "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to capture." - } - ], - "query": [ - ] - }, - "description": " Captures an authorised payment and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CAPTURE** webhook](https://docs.adyen.com/online-payments/capture#capture-notification). You can capture either the full authorised amount or a part of the authorised amount. By default, any unclaimed amount after a partial capture gets cancelled. This does not apply if you enabled multiple partial captures on your account and the payment method supports multiple partial captures. [Automatic capture](https://docs.adyen.com/online-payments/capture#automatic-capture) is the default setting for most payment methods. In these cases, you don't need to make capture requests. However, making capture requests for payments that are captured automatically does not result in double charges. For more information, refer to [Capture](https://docs.adyen.com/online-payments/capture)." - } + ] } ] - } -, + }, { "name": "/payments/:paymentPspReference/refunds", "description": "Refunds a payment that has been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/captures), and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**REFUND** webhook](https://docs.adyen.com/online-payments/refund#refund-webhook). You can refund either the full captured amount or a part of the captured amount. You can also perform multiple partial refunds, as long as their sum doesn't exceed the captured amount. > Some payment methods do not support partial refunds. To learn if a payment method supports partial refunds, refer to the payment method page such as [cards](https://docs.adyen.com/payment-methods/cards#supported-cards), [iDEAL](https://docs.adyen.com/payment-methods/ideal), or [Klarna](https://docs.adyen.com/payment-methods/klarna). If you want to refund a payment but are not sure whether it has been captured, use the [`/payments/{paymentPspReference}/reversals`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/reversals) endpoint instead. For more information, refer to [Refund](https://docs.adyen.com/online-payments/refund).", @@ -264,62 +517,127 @@ { "name": "Refund a payment", "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 + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 2500\n },\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments/:paymentPspReference/refunds", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments", + ":paymentPspReference", + "refunds" + ], + "variable": [ + { + "key": "paymentPspReference", + "value": "", + "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to refund." + } + ], + "query": [ + ] + }, + "description": "Refunds a payment that has been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/captures), and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**REFUND** webhook](https://docs.adyen.com/online-payments/refund#refund-webhook). You can refund either the full captured amount or a part of the captured amount. You can also perform multiple partial refunds, as long as their sum doesn't exceed the captured amount. > Some payment methods do not support partial refunds. To learn if a payment method supports partial refunds, refer to the payment method page such as [cards](https://docs.adyen.com/payment-methods/cards#supported-cards), [iDEAL](https://docs.adyen.com/payment-methods/ideal), or [Klarna](https://docs.adyen.com/payment-methods/klarna). If you want to refund a payment but are not sure whether it has been captured, use the [`/payments/{paymentPspReference}/reversals`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/reversals) endpoint instead. For more information, refer to [Refund](https://docs.adyen.com/online-payments/refund)." +} + ,"response": [ + {"name": "Created - the request has been fulfilled and has resulted in one or more new resources being created.", + "code": 201, + "status": "Created", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"merchantAccount\" : \"YOUR_MERCHANT_ACCOUNT\",\n \"paymentPspReference\" : \"993617894903480A\",\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"pspReference\" : \"993617894906488A\",\n \"status\" : \"received\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 2500\n }\n}", + "originalRequest": { + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 2500\n },\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments/:paymentPspReference/refunds", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments", + ":paymentPspReference", + "refunds" + ], + "variable": [ + { + "key": "paymentPspReference", + "value": "", + "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to refund." + } + ], + "query": [ + ] + }, + "description": "Refunds a payment that has been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/captures), and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**REFUND** webhook](https://docs.adyen.com/online-payments/refund#refund-webhook). You can refund either the full captured amount or a part of the captured amount. You can also perform multiple partial refunds, as long as their sum doesn't exceed the captured amount. > Some payment methods do not support partial refunds. To learn if a payment method supports partial refunds, refer to the payment method page such as [cards](https://docs.adyen.com/payment-methods/cards#supported-cards), [iDEAL](https://docs.adyen.com/payment-methods/ideal), or [Klarna](https://docs.adyen.com/payment-methods/klarna). If you want to refund a payment but are not sure whether it has been captured, use the [`/payments/{paymentPspReference}/reversals`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/reversals) endpoint instead. For more information, refer to [Refund](https://docs.adyen.com/online-payments/refund)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 2500\n },\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments/:paymentPspReference/refunds", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments", - ":paymentPspReference", - "refunds" - ], - "variable": [ - { - "key": "paymentPspReference", - "value": "", - "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to refund." - } - ], - "query": [ - ] - }, - "description": "Refunds a payment that has been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/captures), and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**REFUND** webhook](https://docs.adyen.com/online-payments/refund#refund-webhook). You can refund either the full captured amount or a part of the captured amount. You can also perform multiple partial refunds, as long as their sum doesn't exceed the captured amount. > Some payment methods do not support partial refunds. To learn if a payment method supports partial refunds, refer to the payment method page such as [cards](https://docs.adyen.com/payment-methods/cards#supported-cards), [iDEAL](https://docs.adyen.com/payment-methods/ideal), or [Klarna](https://docs.adyen.com/payment-methods/klarna). If you want to refund a payment but are not sure whether it has been captured, use the [`/payments/{paymentPspReference}/reversals`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/reversals) endpoint instead. For more information, refer to [Refund](https://docs.adyen.com/online-payments/refund)." - } + ] } ] - } -, + }, { "name": "/payments/:paymentPspReference/reversals", "description": "[Refunds](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/refunds) a payment if it has already been captured, and [cancels](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/cancels) a payment if it has not yet been captured. Returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CANCEL_OR_REFUND** webhook](https://docs.adyen.com/online-payments/reverse#cancel-or-refund-webhook). The reversed amount is always the full payment amount. > Do not use this request for payments that involve multiple partial captures. For more information, refer to [Reversal](https://docs.adyen.com/online-payments/reversal).", @@ -327,62 +645,127 @@ { "name": "Reverse (cancel or refund) a payment", "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 + "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 \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments/:paymentPspReference/reversals", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments", + ":paymentPspReference", + "reversals" + ], + "variable": [ + { + "key": "paymentPspReference", + "value": "", + "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to reverse. " + } + ], + "query": [ + ] + }, + "description": "[Refunds](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/refunds) a payment if it has already been captured, and [cancels](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/cancels) a payment if it has not yet been captured. Returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CANCEL_OR_REFUND** webhook](https://docs.adyen.com/online-payments/reverse#cancel-or-refund-webhook). The reversed amount is always the full payment amount. > Do not use this request for payments that involve multiple partial captures. For more information, refer to [Reversal](https://docs.adyen.com/online-payments/reversal)." +} + ,"response": [ + {"name": "Created - the request has been fulfilled and has resulted in one or more new resources being created.", + "code": 201, + "status": "Created", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"merchantAccount\" : \"YOUR_MERCHANT_ACCOUNT\",\n \"paymentPspReference\" : \"993617894903480A\",\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"pspReference\" : \"993617894906488A\",\n \"status\" : \"received\"\n}", + "originalRequest": { + "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 \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments/:paymentPspReference/reversals", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments", + ":paymentPspReference", + "reversals" + ], + "variable": [ + { + "key": "paymentPspReference", + "value": "", + "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to reverse. " + } + ], + "query": [ + ] + }, + "description": "[Refunds](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/refunds) a payment if it has already been captured, and [cancels](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/cancels) a payment if it has not yet been captured. Returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CANCEL_OR_REFUND** webhook](https://docs.adyen.com/online-payments/reverse#cancel-or-refund-webhook). The reversed amount is always the full payment amount. > Do not use this request for payments that involve multiple partial captures. For more information, refer to [Reversal](https://docs.adyen.com/online-payments/reversal)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments/:paymentPspReference/reversals", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments", - ":paymentPspReference", - "reversals" - ], - "variable": [ - { - "key": "paymentPspReference", - "value": "", - "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to reverse. " - } - ], - "query": [ - ] - }, - "description": "[Refunds](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/refunds) a payment if it has already been captured, and [cancels](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/cancels) a payment if it has not yet been captured. Returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CANCEL_OR_REFUND** webhook](https://docs.adyen.com/online-payments/reverse#cancel-or-refund-webhook). The reversed amount is always the full payment amount. > Do not use this request for payments that involve multiple partial captures. For more information, refer to [Reversal](https://docs.adyen.com/online-payments/reversal)." - } + ] } ] } - ] }, { @@ -395,251 +778,374 @@ { "name": "Set up a payment session (Android)", "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 17408\n },\n \"reference\" : \"Your order number\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"channel\" : \"Android\",\n \"token\" : \"TOKEN_YOU_GET_FROM_CHECKOUT_SDK\",\n \"returnUrl\" : \"app://\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl_NL\",\n \"sessionValidity\" : \"2017-04-06T13:09:13Z\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentSession", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentSession" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Provides the data object that can be used to start the Checkout SDK. To set up the payment, pass its amount, currency, and other required parameters. We use this to optimise the payment flow and perform better risk assessment of the transaction. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." - } + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 17408\n },\n \"reference\" : \"Your order number\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"channel\" : \"Android\",\n \"token\" : \"TOKEN_YOU_GET_FROM_CHECKOUT_SDK\",\n \"returnUrl\" : \"app://\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl_NL\",\n \"sessionValidity\" : \"2017-04-06T13:09:13Z\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentSession", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentSession" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Provides the data object that can be used to start the Checkout SDK. To set up the payment, pass its amount, currency, and other required parameters. We use this to optimise the payment flow and perform better risk assessment of the transaction. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." +} + ,"response": [ + ] }, { "name": "Set up a payment session with the option to store card details", "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 + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 17408\n },\n \"reference\" : \"Your order number\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"enableOneClick\" : true,\n \"enableRecurring\" : true,\n \"channel\" : \"Web\",\n \"origin\" : \"https://www.yourwebsite.com\",\n \"returnUrl\" : \"https://www.yourshop.com/checkout/result\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl_NL\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"sdkVersion\" : \"1.7.0\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentSession", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentSession" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Provides the data object that can be used to start the Checkout SDK. To set up the payment, pass its amount, currency, and other required parameters. We use this to optimise the payment flow and perform better risk assessment of the transaction. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"paymentSession\" : \"eyJjaGVja291dHNob3BwZXJCYXN...\"\n}", + "originalRequest": { + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 17408\n },\n \"reference\" : \"Your order number\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"enableOneClick\" : true,\n \"enableRecurring\" : true,\n \"channel\" : \"Web\",\n \"origin\" : \"https://www.yourwebsite.com\",\n \"returnUrl\" : \"https://www.yourshop.com/checkout/result\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl_NL\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"sdkVersion\" : \"1.7.0\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentSession", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentSession" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Provides the data object that can be used to start the Checkout SDK. To set up the payment, pass its amount, currency, and other required parameters. We use this to optimise the payment flow and perform better risk assessment of the transaction. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 17408\n },\n \"reference\" : \"Your order number\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"enableOneClick\" : true,\n \"enableRecurring\" : true,\n \"channel\" : \"Web\",\n \"origin\" : \"https://www.yourwebsite.com\",\n \"returnUrl\" : \"https://www.yourshop.com/checkout/result\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl_NL\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"sdkVersion\" : \"1.7.0\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentSession", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentSession" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Provides the data object that can be used to start the Checkout SDK. To set up the payment, pass its amount, currency, and other required parameters. We use this to optimise the payment flow and perform better risk assessment of the transaction. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." - } + ] }, { "name": "Set up a payment session (iOS)", "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 17408\n },\n \"reference\" : \"Your order number\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"channel\" : \"iOS\",\n \"token\" : \"TOKEN_YOU_GET_FROM_CHECKOUT_SDK\",\n \"returnUrl\" : \"app://\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl_NL\",\n \"sessionValidity\" : \"2017-04-06T13:09:13Z\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentSession", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentSession" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Provides the data object that can be used to start the Checkout SDK. To set up the payment, pass its amount, currency, and other required parameters. We use this to optimise the payment flow and perform better risk assessment of the transaction. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." - } + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 17408\n },\n \"reference\" : \"Your order number\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"channel\" : \"iOS\",\n \"token\" : \"TOKEN_YOU_GET_FROM_CHECKOUT_SDK\",\n \"returnUrl\" : \"app://\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl_NL\",\n \"sessionValidity\" : \"2017-04-06T13:09:13Z\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentSession", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentSession" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Provides the data object that can be used to start the Checkout SDK. To set up the payment, pass its amount, currency, and other required parameters. We use this to optimise the payment flow and perform better risk assessment of the transaction. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." +} + ,"response": [ + ] }, { "name": "Split a payment between a sub-merchant and a platform account", "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 6200\n },\n \"additionalData\" : {\n \"split.api\" : \"1\",\n \"split.nrOfItems\" : \"2\",\n \"split.totalAmount\" : \"6200\",\n \"split.currencyCode\" : \"EUR\",\n \"split.item1.amount\" : \"6000\",\n \"split.item1.type\" : \"MarketPlace\",\n \"split.item1.account\" : \"151272963\",\n \"split.item1.reference\" : \"6124145\",\n \"split.item1.description\" : \"Porcelain Doll: Eliza (20cm)\",\n \"split.item2.amount\" : \"200\",\n \"split.item2.type\" : \"Commission\",\n \"split.item2.reference\" : \"6124146\"\n },\n \"reference\" : \"Your order number\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"channel\" : \"Android\",\n \"token\" : \"TOKEN_YOU_GET_FROM_CHECKOUT_SDK\",\n \"returnUrl\" : \"app://\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl_NL\",\n \"sessionValidity\" : \"2017-04-06T13:09:13Z\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentSession", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentSession" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Provides the data object that can be used to start the Checkout SDK. To set up the payment, pass its amount, currency, and other required parameters. We use this to optimise the payment flow and perform better risk assessment of the transaction. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." - } + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 6200\n },\n \"additionalData\" : {\n \"split.api\" : \"1\",\n \"split.nrOfItems\" : \"2\",\n \"split.totalAmount\" : \"6200\",\n \"split.currencyCode\" : \"EUR\",\n \"split.item1.amount\" : \"6000\",\n \"split.item1.type\" : \"MarketPlace\",\n \"split.item1.account\" : \"151272963\",\n \"split.item1.reference\" : \"6124145\",\n \"split.item1.description\" : \"Porcelain Doll: Eliza (20cm)\",\n \"split.item2.amount\" : \"200\",\n \"split.item2.type\" : \"Commission\",\n \"split.item2.reference\" : \"6124146\"\n },\n \"reference\" : \"Your order number\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"channel\" : \"Android\",\n \"token\" : \"TOKEN_YOU_GET_FROM_CHECKOUT_SDK\",\n \"returnUrl\" : \"app://\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl_NL\",\n \"sessionValidity\" : \"2017-04-06T13:09:13Z\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentSession", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentSession" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Provides the data object that can be used to start the Checkout SDK. To set up the payment, pass its amount, currency, and other required parameters. We use this to optimise the payment flow and perform better risk assessment of the transaction. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." +} + ,"response": [ + ] }, { "name": "Set up a payment session (Web)", "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 + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 17408\n },\n \"reference\" : \"Your order number\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"channel\" : \"Web\",\n \"origin\" : \"https://www.yourwebsite.com\",\n \"returnUrl\" : \"https://www.yourshop.com/checkout/result\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl_NL\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"sdkVersion\" : \"1.9.5\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentSession", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentSession" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Provides the data object that can be used to start the Checkout SDK. To set up the payment, pass its amount, currency, and other required parameters. We use this to optimise the payment flow and perform better risk assessment of the transaction. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"paymentSession\" : \"eyJjaGVja291dHNob3BwZXJCYXN...\"\n}", + "originalRequest": { + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 17408\n },\n \"reference\" : \"Your order number\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"channel\" : \"Web\",\n \"origin\" : \"https://www.yourwebsite.com\",\n \"returnUrl\" : \"https://www.yourshop.com/checkout/result\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl_NL\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"sdkVersion\" : \"1.9.5\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentSession", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentSession" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Provides the data object that can be used to start the Checkout SDK. To set up the payment, pass its amount, currency, and other required parameters. We use this to optimise the payment flow and perform better risk assessment of the transaction. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 17408\n },\n \"reference\" : \"Your order number\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"channel\" : \"Web\",\n \"origin\" : \"https://www.yourwebsite.com\",\n \"returnUrl\" : \"https://www.yourshop.com/checkout/result\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl_NL\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"sdkVersion\" : \"1.9.5\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentSession", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentSession" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Provides the data object that can be used to start the Checkout SDK. To set up the payment, pass its amount, currency, and other required parameters. We use this to optimise the payment flow and perform better risk assessment of the transaction. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." - } + ] } ] - } -, + }, { "name": "/payments/result (DEPRECATED)", "description": "Verifies the payment result using the payload returned from the Checkout SDK. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks).", @@ -647,56 +1153,115 @@ { "name": "Verify payment results", "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 + "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 \"payload\" : \"VALUE_YOU_GET_FROM_CHECKOUT_SDK\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments/result", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments", + "result" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Verifies the payment result using the payload returned from the Checkout SDK. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"pspReference\" : \"V4HZ4RBFJGXXGN82\",\n \"merchantReference\" : \"Your order number\",\n \"shopperLocale\" : \"nl_NL\",\n \"paymentMethod\" : \"ideal\"\n}", + "originalRequest": { + "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 \"payload\" : \"VALUE_YOU_GET_FROM_CHECKOUT_SDK\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments/result", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments", + "result" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Verifies the payment result using the payload returned from the Checkout SDK. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"payload\" : \"VALUE_YOU_GET_FROM_CHECKOUT_SDK\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments/result", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments", - "result" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Verifies the payment result using the payload returned from the Checkout SDK. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." - } + ] } ] } - ] }, { @@ -709,55 +1274,113 @@ { "name": "Create an order", "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 + "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 \"reference\" : \"YOUR_ORDER_REFERENCE\",\n \"amount\" : {\n \"value\" : 2500,\n \"currency\" : \"EUR\"\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/orders", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "orders" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates an order to be used for partial payments. Make a POST `/orders` call before making a `/payments` call when processing payments with different payment methods." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"pspReference\" : \"8616178914061985\",\n \"resultCode\" : \"Success\",\n \"expiresAt\" : \"2021-04-09T14:16:46Z\",\n \"orderData\" : \"Ab02b4c0!BQABAgCxXvknCldOcRElkxY8Za7iyym4Wv8aDzyNwmj/3nh4G6YtwnUIJHaK62NlN4oIsACdkn1FEjBwKlheG40jvXcYGBk4KFV5WvOhTVCpv/KXnkrI7xQv/u2lE7U4wA+HPB6K4Zj2L8xO/ogZi+zGZqFs5m16jmkH7ku6FzXygXLNuUCuOlmlXSZhdkHHTNVQSq1MELDK9OL74y532ETRPTCNxx8WlEiZB+LDqYrPvH9GgigtD5kw8Do45jfFfG72kWBEgfYqp4mbUmBB9ebXFYZKfF0qvW1x7A2Y9+/MFlTIdXfKW484bJeDBCTTrmKGXIj+U4r5imr5fXTyNLcrxyUqwrb9jg+5B4qg1XB6Cgj5UPlSI4O62I7v0s5TTj69dzLwUQRxSQbwLrZVGYavXzeVKI54BVLRV3d/+BbPvTqnTo34UhfZbPlOx9F2eyaS0ZXdOKnHw89uGUgxUpLsMqnbRysi/pxpZaulel+0mExb68wVxb/7Teob5eRG4gp7cfZVZs6tLXOYWL+W0TqIlsa3hWsfM0LeaovzkoDtW/pK5JABXwMtLig9tsxoEh9ONYtIzkXC21LZ8ebiuSIMaPizjF8yca+QxrCZalQsu6uKnBz/mm8nnsflaGU2QS5zcoxk1RudL1Bl36LM9UZGPpFEYWiYA4sUsnNLw7peJjWCGhDepnwMv4TlgsEtoDtz1T54AEp7ImtleSI6IkFGMEFBQTEwM0NBNTM3RUFFRDg3QzI0REQ1MzkwOUI4MEE3OEE5MjNFMzgyM0Q2OERBQ0M5NEI5RkY4MzA1REMifRslOdmfgUHTXl66WPD9xoW2whIeRx/jR++2MqNE16x6zQy+KtDN8/h60crZwmqkjVTQYqQlsYSYDHSIyb4wnnay16/5il1yS7vN3UCLaTXjYBIAyyx6Wr9j4P3CI/etB+PpviHoESC4mV6ZN4whMDQyziQ8s230GtboXbh42qND7rk9phySBogowQlXrtF+l2n2F46nyif0owEgik5fGARfvjZtY2w23s30KMLNwU4gWSvX4H6RMVS8TfZH2fKfNrwB3tZUXwYkELs5ntaHysswq5Mn5aq2BKAMHu/Rh/wureMSI73Qi0avjrzWCwzt3JH4wnzErMnOZwSdgA==\",\n \"reference\" : \"shopper-reference-ekvL83\",\n \"remainingAmount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 2500\n }\n}", + "originalRequest": { + "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 \"reference\" : \"YOUR_ORDER_REFERENCE\",\n \"amount\" : {\n \"value\" : 2500,\n \"currency\" : \"EUR\"\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/orders", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "orders" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates an order to be used for partial payments. Make a POST `/orders` call before making a `/payments` call when processing payments with different payment methods." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"reference\" : \"YOUR_ORDER_REFERENCE\",\n \"amount\" : {\n \"value\" : 2500,\n \"currency\" : \"EUR\"\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/orders", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "orders" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Creates an order to be used for partial payments. Make a POST `/orders` call before making a `/payments` call when processing payments with different payment methods." - } + ] } ] - } -, + }, { "name": "/orders/cancel", "description": "Cancels an order. Cancellation of an order results in an automatic rollback of all payments made in the order, either by canceling or refunding the payment, depending on the type of payment method.", @@ -765,56 +1388,115 @@ { "name": "Cancel an order", "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 + "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 \"order\" : {\n \"pspReference\" : \"8815517812932012\",\n \"orderData\" : \"823fh892f8f18f4...148f13f9f3f\"\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/orders/cancel", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "orders", + "cancel" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Cancels an order. Cancellation of an order results in an automatic rollback of all payments made in the order, either by canceling or refunding the payment, depending on the type of payment method." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"pspReference\" : \"8816178914079738\",\n \"resultCode\" : \"Received\"\n}", + "originalRequest": { + "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 \"order\" : {\n \"pspReference\" : \"8815517812932012\",\n \"orderData\" : \"823fh892f8f18f4...148f13f9f3f\"\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/orders/cancel", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "orders", + "cancel" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Cancels an order. Cancellation of an order results in an automatic rollback of all payments made in the order, either by canceling or refunding the payment, depending on the type of payment method." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"order\" : {\n \"pspReference\" : \"8815517812932012\",\n \"orderData\" : \"823fh892f8f18f4...148f13f9f3f\"\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/orders/cancel", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "orders", - "cancel" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Cancels an order. Cancellation of an order results in an automatic rollback of all payments made in the order, either by canceling or refunding the payment, depending on the type of payment method." - } + ] } ] - } -, + }, { "name": "/paymentMethods/balance", "description": "Retrieves the balance remaining on a shopper's gift card. To check a gift card's balance, make a POST `/paymentMethods/balance` call and include the gift card's details inside a `paymentMethod` object.", @@ -822,106 +1504,225 @@ { "name": "Get gift card balance specifying amount of 10 EUR", "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 + "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 \"paymentMethod\" : {\n \"type\" : \"givex\",\n \"number\" : \"4126491073027401\",\n \"cvc\" : \"737\"\n },\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentMethods/balance", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentMethods", + "balance" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Retrieves the balance remaining on a shopper's gift card. To check a gift card's balance, make a POST `/paymentMethods/balance` call and include the gift card's details inside a `paymentMethod` object." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"pspReference\" : \"KHQC5N7G84BLNK43\",\n \"resultCode\" : \"Success\",\n \"balance\" : {\n \"currency\" : \"EUR\",\n \"value\" : 5000\n }\n}", + "originalRequest": { + "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 \"paymentMethod\" : {\n \"type\" : \"givex\",\n \"number\" : \"4126491073027401\",\n \"cvc\" : \"737\"\n },\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentMethods/balance", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentMethods", + "balance" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Retrieves the balance remaining on a shopper's gift card. To check a gift card's balance, make a POST `/paymentMethods/balance` call and include the gift card's details inside a `paymentMethod` object." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"paymentMethod\" : {\n \"type\" : \"givex\",\n \"number\" : \"4126491073027401\",\n \"cvc\" : \"737\"\n },\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentMethods/balance", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentMethods", - "balance" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Retrieves the balance remaining on a shopper's gift card. To check a gift card's balance, make a POST `/paymentMethods/balance` call and include the gift card's details inside a `paymentMethod` object." - } + ] }, { "name": "Get gift card balance specifying amount of 100 EUR", "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 + "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 \"paymentMethod\" : {\n \"type\" : \"givex\",\n \"number\" : \"4126491073027401\",\n \"cvc\" : \"737\"\n },\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 10000\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentMethods/balance", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentMethods", + "balance" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Retrieves the balance remaining on a shopper's gift card. To check a gift card's balance, make a POST `/paymentMethods/balance` call and include the gift card's details inside a `paymentMethod` object." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"pspReference\" : \"FKSPNCQ8HXSKGK82\",\n \"resultCode\" : \"NotEnoughBalance\",\n \"balance\" : {\n \"currency\" : \"EUR\",\n \"value\" : 5000\n }\n}", + "originalRequest": { + "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 \"paymentMethod\" : {\n \"type\" : \"givex\",\n \"number\" : \"4126491073027401\",\n \"cvc\" : \"737\"\n },\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 10000\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentMethods/balance", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentMethods", + "balance" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Retrieves the balance remaining on a shopper's gift card. To check a gift card's balance, make a POST `/paymentMethods/balance` call and include the gift card's details inside a `paymentMethod` object." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"paymentMethod\" : {\n \"type\" : \"givex\",\n \"number\" : \"4126491073027401\",\n \"cvc\" : \"737\"\n },\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 10000\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentMethods/balance", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentMethods", - "balance" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Retrieves the balance remaining on a shopper's gift card. To check a gift card's balance, make a POST `/paymentMethods/balance` call and include the gift card's details inside a `paymentMethod` object." - } + ] } ] } - ] }, { @@ -934,56 +1735,115 @@ { "name": "Get payment session for Apple Pay", "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 + "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 \"displayName\" : \"YOUR_MERCHANT_NAME\",\n \"domainName\" : \"YOUR_DOMAIN_NAME\",\n \"merchantIdentifier\" : \"YOUR_MERCHANT_ID\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/applePay/sessions", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "applePay", + "sessions" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "You need to use this endpoint if you have an API-only integration with Apple Pay which uses Adyen's Apple Pay certificate. The endpoint returns the Apple Pay session data which you need to complete the [Apple Pay session validation](https://docs.adyen.com/payment-methods/apple-pay/api-only?tab=adyen-certificate-validation_1#complete-apple-pay-session-validation)." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"data\" : \"eyJ2Z...\"\n}", + "originalRequest": { + "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 \"displayName\" : \"YOUR_MERCHANT_NAME\",\n \"domainName\" : \"YOUR_DOMAIN_NAME\",\n \"merchantIdentifier\" : \"YOUR_MERCHANT_ID\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/applePay/sessions", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "applePay", + "sessions" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "You need to use this endpoint if you have an API-only integration with Apple Pay which uses Adyen's Apple Pay certificate. The endpoint returns the Apple Pay session data which you need to complete the [Apple Pay session validation](https://docs.adyen.com/payment-methods/apple-pay/api-only?tab=adyen-certificate-validation_1#complete-apple-pay-session-validation)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"displayName\" : \"YOUR_MERCHANT_NAME\",\n \"domainName\" : \"YOUR_DOMAIN_NAME\",\n \"merchantIdentifier\" : \"YOUR_MERCHANT_ID\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/applePay/sessions", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "applePay", - "sessions" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "You need to use this endpoint if you have an API-only integration with Apple Pay which uses Adyen's Apple Pay certificate. The endpoint returns the Apple Pay session data which you need to complete the [Apple Pay session validation](https://docs.adyen.com/payment-methods/apple-pay/api-only?tab=adyen-certificate-validation_1#complete-apple-pay-session-validation)." - } + ] } ] - } -, + }, { "name": "/originKeys", "description": "This operation takes the origin domains and returns a JSON object containing the corresponding origin keys for the domains. > If you're still using origin key for your Web Drop-in or Components integration, we recommend [switching to client key](https://docs.adyen.com/development-resources/client-side-authentication/migrate-from-origin-key-to-client-key). This allows you to use a single key for all origins, add or remove origins without generating a new key, and detect the card type from the number entered in your payment form. ", @@ -991,55 +1851,113 @@ { "name": "Get origin keys", "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 + "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 \"originDomains\" : [ \"https://www.your-domain1.com\", \"https://www.your-domain2.com\", \"https://www.your-domain3.com\" ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/originKeys", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "originKeys" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "This operation takes the origin domains and returns a JSON object containing the corresponding origin keys for the domains. > If you're still using origin key for your Web Drop-in or Components integration, we recommend [switching to client key](https://docs.adyen.com/development-resources/client-side-authentication/migrate-from-origin-key-to-client-key). This allows you to use a single key for all origins, add or remove origins without generating a new key, and detect the card type from the number entered in your payment form. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"originKeys\" : {\n \"https://www.your-domain1.com\" : \"pub.v2.8116178901076090.aHR0cHM6Ly93d3cueW91ci1kb21haW4xLmNvbQ.pvbYlrXz0ICP4kwMJXDGDLVMqALhwXr1MSRjT-fkhvw\",\n \"https://www.your-domain3.com\" : \"pub.v2.8116178901076090.aHR0cHM6Ly93d3cueW91ci1kb21haW4zLmNvbQ.FrTpVz7_RzAywKasM0kXCRoMfoMkKIKaxjFymRGORIc\",\n \"https://www.your-domain2.com\" : \"pub.v2.8116178901076090.aHR0cHM6Ly93d3cueW91ci1kb21haW4yLmNvbQ.LdN9kvJ35fYFFiBSJA4idMnwwxJ5_yXpeNS__Ap5wkg\"\n }\n}", + "originalRequest": { + "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 \"originDomains\" : [ \"https://www.your-domain1.com\", \"https://www.your-domain2.com\", \"https://www.your-domain3.com\" ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/originKeys", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "originKeys" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "This operation takes the origin domains and returns a JSON object containing the corresponding origin keys for the domains. > If you're still using origin key for your Web Drop-in or Components integration, we recommend [switching to client key](https://docs.adyen.com/development-resources/client-side-authentication/migrate-from-origin-key-to-client-key). This allows you to use a single key for all origins, add or remove origins without generating a new key, and detect the card type from the number entered in your payment form. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"originDomains\" : [ \"https://www.your-domain1.com\", \"https://www.your-domain2.com\", \"https://www.your-domain3.com\" ]\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/originKeys", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "originKeys" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "This operation takes the origin domains and returns a JSON object containing the corresponding origin keys for the domains. > If you're still using origin key for your Web Drop-in or Components integration, we recommend [switching to client key](https://docs.adyen.com/development-resources/client-side-authentication/migrate-from-origin-key-to-client-key). This allows you to use a single key for all origins, add or remove origins without generating a new key, and detect the card type from the number entered in your payment form. " - } + ] } ] } - ] }, { @@ -1052,104 +1970,164 @@ { "name": "Start a donation transaction", "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 + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"reference\" : \"YOUR_DONATION_REFERENCE\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\"\n },\n \"donationToken\" : \"YOUR_DONATION_TOKEN\",\n \"donationOriginalPspReference\" : \"991559660454807J\",\n \"donationAccount\" : \"CHARITY_ACCOUNT\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"shopperInteraction\" : \"ContAuth\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/donations", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "donations" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Takes in the donation token generated by the `/payments` request and uses it to make the donation for the donation account specified in the request. For more information, see [Donations](https://docs.adyen.com/online-payments/donations)." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"id\" : \"UNIQUE_RESOURCE_ID\",\n \"status\" : \"completed\",\n \"donationAccount\" : \"CHARITY_ACCOUNT\",\n \"merchantAccount\" : \"YOUR_MERCHANT_ACCOUNT\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"reference\" : \"YOUR_DONATION_REFERENCE\",\n \"payment\" : {\n \"pspReference\" : \"8535762347980628\",\n \"resultCode\" : \"Authorised\",\n \"merchantReference\" : \"YOUR_DONATION_REFERENCE\"\n }\n}", + "originalRequest": { + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"reference\" : \"YOUR_DONATION_REFERENCE\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\"\n },\n \"donationToken\" : \"YOUR_DONATION_TOKEN\",\n \"donationOriginalPspReference\" : \"991559660454807J\",\n \"donationAccount\" : \"CHARITY_ACCOUNT\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"shopperInteraction\" : \"ContAuth\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/donations", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "donations" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Takes in the donation token generated by the `/payments` request and uses it to make the donation for the donation account specified in the request. For more information, see [Donations](https://docs.adyen.com/online-payments/donations)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"reference\" : \"YOUR_DONATION_REFERENCE\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\"\n },\n \"donationToken\" : \"YOUR_DONATION_TOKEN\",\n \"donationOriginalPspReference\" : \"991559660454807J\",\n \"donationAccount\" : \"CHARITY_ACCOUNT\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"shopperInteraction\" : \"ContAuth\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/donations", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "donations" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Takes in the donation token generated by the `/payments` request and uses it to make the donation for the donation account specified in the request. For more information, see [Donations](https://docs.adyen.com/online-payments/donations)." - } + ] }, { "name": "Start a donation transaction with a token", "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"reference\" : \"YOUR_DONATION_REFERENCE\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"recurringDetailReference\" : \"7219687191761347\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"donationAccount\" : \"CHARITY_ACCOUNT\",\n \"shopperInteraction\" : \"ContAuth\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"recurringProcessingModel\" : \"CardOnFile\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/donations", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "donations" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Takes in the donation token generated by the `/payments` request and uses it to make the donation for the donation account specified in the request. For more information, see [Donations](https://docs.adyen.com/online-payments/donations)." - } + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"reference\" : \"YOUR_DONATION_REFERENCE\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"recurringDetailReference\" : \"7219687191761347\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"donationAccount\" : \"CHARITY_ACCOUNT\",\n \"shopperInteraction\" : \"ContAuth\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"recurringProcessingModel\" : \"CardOnFile\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/donations", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "donations" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Takes in the donation token generated by the `/payments` request and uses it to make the donation for the donation account specified in the request. For more information, see [Donations](https://docs.adyen.com/online-payments/donations)." +} + ,"response": [ + ] } ] } - ] }, { @@ -1162,104 +2140,221 @@ { "name": "Get a list of brands on a card", "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 + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"cardNumber\" : \"411111\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/cardDetails", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "cardDetails" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Send a request with at least the first 6 digits of the card number to get a response with an array of brands on the card. If you include [your supported brands](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__reqParam_supportedBrands) in the request, the response also tells you if you support each [brand that was identified](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__resParam_details). If you have an API-only integration and collect card data, use this endpoint to find out if the shopper's card is co-branded. For co-branded cards, you must let the shopper choose the brand to pay with if you support both brands. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"brands\" : [ {\n \"type\" : \"visa\",\n \"supported\" : true\n }, {\n \"type\" : \"cartebancaire\",\n \"supported\" : true\n } ]\n}", + "originalRequest": { + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"cardNumber\" : \"411111\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/cardDetails", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "cardDetails" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Send a request with at least the first 6 digits of the card number to get a response with an array of brands on the card. If you include [your supported brands](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__reqParam_supportedBrands) in the request, the response also tells you if you support each [brand that was identified](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__resParam_details). If you have an API-only integration and collect card data, use this endpoint to find out if the shopper's card is co-branded. For co-branded cards, you must let the shopper choose the brand to pay with if you support both brands. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"cardNumber\" : \"411111\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/cardDetails", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "cardDetails" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Send a request with at least the first 6 digits of the card number to get a response with an array of brands on the card. If you include [your supported brands](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__reqParam_supportedBrands) in the request, the response also tells you if you support each [brand that was identified](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__resParam_details). If you have an API-only integration and collect card data, use this endpoint to find out if the shopper's card is co-branded. For co-branded cards, you must let the shopper choose the brand to pay with if you support both brands. " - } + ] }, { "name": "Get a list of brands on a card specifying your supported card brands", "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 + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"cardNumber\" : \"411111\",\n \"supportedBrands\" : [ \"visa\", \"mc\", \"amex\" ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/cardDetails", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "cardDetails" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Send a request with at least the first 6 digits of the card number to get a response with an array of brands on the card. If you include [your supported brands](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__reqParam_supportedBrands) in the request, the response also tells you if you support each [brand that was identified](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__resParam_details). If you have an API-only integration and collect card data, use this endpoint to find out if the shopper's card is co-branded. For co-branded cards, you must let the shopper choose the brand to pay with if you support both brands. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"brands\" : [ {\n \"type\" : \"visa\",\n \"supported\" : true\n }, {\n \"type\" : \"cartebancaire\",\n \"supported\" : false\n } ]\n}", + "originalRequest": { + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"cardNumber\" : \"411111\",\n \"supportedBrands\" : [ \"visa\", \"mc\", \"amex\" ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/cardDetails", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "cardDetails" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Send a request with at least the first 6 digits of the card number to get a response with an array of brands on the card. If you include [your supported brands](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__reqParam_supportedBrands) in the request, the response also tells you if you support each [brand that was identified](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__resParam_details). If you have an API-only integration and collect card data, use this endpoint to find out if the shopper's card is co-branded. For co-branded cards, you must let the shopper choose the brand to pay with if you support both brands. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"cardNumber\" : \"411111\",\n \"supportedBrands\" : [ \"visa\", \"mc\", \"amex\" ]\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/cardDetails", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "cardDetails" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Send a request with at least the first 6 digits of the card number to get a response with an array of brands on the card. If you include [your supported brands](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__reqParam_supportedBrands) in the request, the response also tells you if you support each [brand that was identified](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__resParam_details). If you have an API-only integration and collect card data, use this endpoint to find out if the shopper's card is co-branded. For co-branded cards, you must let the shopper choose the brand to pay with if you support both brands. " - } + ] } ] - } -, + }, { "name": "/paymentMethods", "description": "Queries the available payment methods for a transaction based on the transaction context (like amount, country, and currency). Besides giving back a list of the available payment methods, the response also returns which input details you need to collect from the shopper (to be submitted to `/payments`). Although we highly recommend using this endpoint to ensure you are always offering the most up-to-date list of payment methods, its usage is optional. You can, for example, also cache the `/paymentMethods` response and update it once a week.", @@ -1267,153 +2362,329 @@ { "name": "Get available payment methods", "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 + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentMethods", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentMethods" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Queries the available payment methods for a transaction based on the transaction context (like amount, country, and currency). Besides giving back a list of the available payment methods, the response also returns which input details you need to collect from the shopper (to be submitted to `/payments`). Although we highly recommend using this endpoint to ensure you are always offering the most up-to-date list of payment methods, its usage is optional. You can, for example, also cache the `/paymentMethods` response and update it once a week." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"paymentMethods\" : [ {\n \"details\" : [ {\n \"details\" : [ {\n \"key\" : \"ownerName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"bankLocationId\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"bankAccountNumber\",\n \"type\" : \"text\"\n } ],\n \"key\" : \"bankAccount\",\n \"type\" : \"bankAccount\"\n } ],\n \"name\" : \"ACH Direct Debit\",\n \"type\" : \"ach\"\n }, {\n \"name\" : \"Adyen Voucher\",\n \"type\" : \"adyen_test_voucher\"\n }, {\n \"details\" : [ {\n \"details\" : [ {\n \"key\" : \"firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"lastName\",\n \"type\" : \"text\"\n }, {\n \"items\" : [ {\n \"id\" : \"M\",\n \"name\" : \"male\"\n }, {\n \"id\" : \"F\",\n \"name\" : \"female\"\n } ],\n \"key\" : \"gender\",\n \"type\" : \"radio\"\n }, {\n \"key\" : \"dateOfBirth\",\n \"type\" : \"date\"\n }, {\n \"key\" : \"telephoneNumber\",\n \"type\" : \"tel\"\n }, {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n } ],\n \"key\" : \"personalDetails\",\n \"type\" : \"fieldSet\"\n }, {\n \"details\" : [ {\n \"key\" : \"street\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"houseNumberOrName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"city\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"postalCode\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"stateOrProvince\",\n \"optional\" : true,\n \"type\" : \"text\"\n }, {\n \"items\" : [ {\n \"id\" : \"NL\",\n \"name\" : \"Netherlands\"\n }, {\n \"id\" : \"BE\",\n \"name\" : \"Belgium\"\n } ],\n \"key\" : \"country\",\n \"type\" : \"select\"\n } ],\n \"key\" : \"billingAddress\",\n \"type\" : \"address\"\n }, {\n \"key\" : \"separateDeliveryAddress\",\n \"optional\" : true,\n \"type\" : \"boolean\",\n \"value\" : \"false\"\n }, {\n \"details\" : [ {\n \"key\" : \"street\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"houseNumberOrName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"city\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"postalCode\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"stateOrProvince\",\n \"optional\" : true,\n \"type\" : \"text\"\n }, {\n \"items\" : [ {\n \"id\" : \"NL\",\n \"name\" : \"Netherlands\"\n }, {\n \"id\" : \"BE\",\n \"name\" : \"Belgium\"\n } ],\n \"key\" : \"country\",\n \"type\" : \"select\"\n } ],\n \"key\" : \"deliveryAddress\",\n \"optional\" : true,\n \"type\" : \"address\"\n } ],\n \"name\" : \"AfterPay Invoice\",\n \"type\" : \"afterpay_default\"\n }, {\n \"name\" : \"AfterPay DirectDebit\",\n \"type\" : \"afterpay_directdebit\"\n }, {\n \"name\" : \"Afterpay\",\n \"type\" : \"afterpaytouch\"\n }, {\n \"details\" : [ {\n \"key\" : \"encryptedCardNumber\",\n \"type\" : \"cardToken\"\n }, {\n \"key\" : \"encryptedSecurityCode\",\n \"type\" : \"cardToken\"\n }, {\n \"key\" : \"encryptedExpiryMonth\",\n \"type\" : \"cardToken\"\n }, {\n \"key\" : \"encryptedExpiryYear\",\n \"type\" : \"cardToken\"\n }, {\n \"key\" : \"holderName\",\n \"optional\" : true,\n \"type\" : \"text\"\n } ],\n \"name\" : \"Credit Card\",\n \"type\" : \"scheme\"\n }, {\n \"name\" : \"AliPay\",\n \"type\" : \"alipay\"\n }, {\n \"name\" : \"AliPay HK\",\n \"type\" : \"alipay_hk\"\n }, {\n \"name\" : \"AliPay\",\n \"type\" : \"alipay_wap\"\n }, {\n \"details\" : [ {\n \"key\" : \"additionalData.androidpay.token\",\n \"type\" : \"androidPayToken\"\n } ],\n \"name\" : \"Android Pay\",\n \"type\" : \"androidpay\"\n }, {\n \"details\" : [ {\n \"key\" : \"additionalData.applepay.token\",\n \"type\" : \"applePayToken\"\n } ],\n \"name\" : \"Apple Pay\",\n \"type\" : \"applepay\"\n }, {\n \"name\" : \"Credit Card via AsiaPay\",\n \"type\" : \"asiapay\"\n }, {\n \"name\" : \"China UnionPay\",\n \"type\" : \"asiapay_unionpay\"\n }, {\n \"name\" : \"Baby Gift Card\",\n \"type\" : \"babygiftcard\"\n }, {\n \"name\" : \"Baloto\",\n \"type\" : \"baloto\"\n }, {\n \"name\" : \"BancNet\",\n \"type\" : \"bancnet\"\n }, {\n \"name\" : \"Bank Transfer (BG)\",\n \"type\" : \"bankTransfer_BG\"\n }, {\n \"name\" : \"Bank Transfer (CH)\",\n \"type\" : \"bankTransfer_CH\"\n }, {\n \"name\" : \"Bank Transfer (DE)\",\n \"type\" : \"bankTransfer_DE\"\n }, {\n \"name\" : \"Bank Transfer (FI)\",\n \"type\" : \"bankTransfer_FI\"\n }, {\n \"name\" : \"Bank Transfer (GB)\",\n \"type\" : \"bankTransfer_GB\"\n }, {\n \"name\" : \"Bank Transfer (HU)\",\n \"type\" : \"bankTransfer_HU\"\n }, {\n \"name\" : \"SEPA Bank Transfer\",\n \"type\" : \"bankTransfer_IBAN\"\n }, {\n \"name\" : \"Bank Transfer (IE)\",\n \"type\" : \"bankTransfer_IE\"\n }, {\n \"name\" : \"Electronic Bank Transfer (MX)\",\n \"type\" : \"bankTransfer_MX_linked\"\n }, {\n \"name\" : \"Bank Transfer (MX)\",\n \"type\" : \"bankTransfer_MX_offline\"\n }, {\n \"name\" : \"Bank Transfer (NL)\",\n \"type\" : \"bankTransfer_NL\"\n }, {\n \"name\" : \"Bank Transfer (PL)\",\n \"type\" : \"bankTransfer_PL\"\n }, {\n \"name\" : \"Bank Transfer (SE)\",\n \"type\" : \"bankTransfer_SE\"\n }, {\n \"name\" : \"Bank Transfer (US)\",\n \"type\" : \"bankTransfer_US\"\n }, {\n \"name\" : \"Payconiq by Bancontact\",\n \"type\" : \"bcmc_mobile\"\n }, {\n \"name\" : \"Bijenkorf Cadeaucard\",\n \"type\" : \"bijcadeaucard\"\n }, {\n \"name\" : \"99Bill\",\n \"type\" : \"bill99\"\n }, {\n \"details\" : [ {\n \"items\" : [ {\n \"id\" : \"AUB_DIRECT\",\n \"name\" : \"AU Small Finance Bank\"\n }, {\n \"id\" : \"ALB_DIRECT\",\n \"name\" : \"Allahabad Bank \"\n }, {\n \"id\" : \"APG_DIRECT\",\n \"name\" : \"Andhra Pragathi Grameena Bank\"\n }, {\n \"id\" : \"BDN_DIRECT\",\n \"name\" : \"Bandhan bank\"\n }, {\n \"id\" : \"BBK_DIRECT\",\n \"name\" : \"Bank of Bahrain and Kuwait\"\n }, {\n \"id\" : \"BBR_DIRECT\",\n \"name\" : \"Bank of Baroda - Retail Banking\"\n }, {\n \"id\" : \"BCB_DIRECT\",\n \"name\" : \"Bassien Catholic Co-Operative Bank \"\n }, {\n \"id\" : \"CNB_DIRECT\",\n \"name\" : \"Canara Bank\"\n }, {\n \"id\" : \"SYD_DIRECT\",\n \"name\" : \"Canara Bank (e-Syndicate)\"\n }, {\n \"id\" : \"CSB_DIRECT\",\n \"name\" : \"Catholic Syrian Bank\"\n }, {\n \"id\" : \"CBI_DIRECT\",\n \"name\" : \"Central Bank of India\"\n }, {\n \"id\" : \"CUB_DIRECT\",\n \"name\" : \"City Union Bank\"\n }, {\n \"id\" : \"COB_DIRECT\",\n \"name\" : \"Cosmos Bank\"\n }, {\n \"id\" : \"DEN_DIRECT\",\n \"name\" : \"Dena Bank\"\n }, {\n \"id\" : \"DBK_DIRECT\",\n \"name\" : \"Deutsche Bank\"\n }, {\n \"id\" : \"DCB_DIRECT\",\n \"name\" : \"Development Credit Bank\"\n }, {\n \"id\" : \"DLB_DIRECT\",\n \"name\" : \"Dhanlakshmi Bank - Retail Net Banking\"\n }, {\n \"id\" : \"ESF_DIRECT\",\n \"name\" : \"ESAF Small Finance Bank\"\n }, {\n \"id\" : \"EQB_DIRECT\",\n \"name\" : \"Equitas Small Finance Bank\"\n }, {\n \"id\" : \"FBK_DIRECT\",\n \"name\" : \"Federal Bank\"\n }, {\n \"id\" : \"FNC_DIRECT\",\n \"name\" : \"Fincare Bank\"\n }, {\n \"id\" : \"HDF_DIRECT\",\n \"name\" : \"HDFC Bank\"\n }, {\n \"id\" : \"ICI_DIRECT\",\n \"name\" : \"ICICI Bank \"\n }, {\n \"id\" : \"IDB_DIRECT\",\n \"name\" : \"IDBI Bank - Retail Net Banking\"\n }, {\n \"id\" : \"IDN_DIRECT\",\n \"name\" : \"IDFC FIRST Bank\"\n }, {\n \"id\" : \"INB_DIRECT\",\n \"name\" : \"Indian Bank\"\n }, {\n \"id\" : \"IOB_DIRECT\",\n \"name\" : \"Indian Overseas Bank\"\n }, {\n \"id\" : \"IDS_DIRECT\",\n \"name\" : \"IndusInd Bank\"\n }, {\n \"id\" : \"JKB_DIRECT\",\n \"name\" : \"Jammu & Kashmir Bank\"\n }, {\n \"id\" : \"JNB_DIRECT\",\n \"name\" : \"Jana Small Finance Bank\"\n }, {\n \"id\" : \"JSB_DIRECT\",\n \"name\" : \"Janata Sahakari Bank Ltd Pune\"\n }, {\n \"id\" : \"KJB_DIRECT\",\n \"name\" : \"Kalyan Janata Sahakari Bank\"\n }, {\n \"id\" : \"KBL_DIRECT\",\n \"name\" : \"Karnataka Bank Ltd\"\n }, {\n \"id\" : \"KVB_DIRECT\",\n \"name\" : \"Karur Vysya Bank\"\n }, {\n \"id\" : \"162_DIRECT\",\n \"name\" : \"Kotak Bank\"\n }, {\n \"id\" : \"LVR_DIRECT\",\n \"name\" : \"Laxmi Vilas Bank - Retail\"\n }, {\n \"id\" : \"NKB_DIRECT\",\n \"name\" : \"NKGSB Co-op Bank\"\n }, {\n \"id\" : \"NEB_DIRECT\",\n \"name\" : \"North East Small Finance Bank\"\n }, {\n \"id\" : \"OBC_DIRECT\",\n \"name\" : \"PNB (Erstwhile-Oriental Bank of Commerce)\"\n }, {\n \"id\" : \"UNI_DIRECT\",\n \"name\" : \"PNB (Erstwhile-United Bank of India)\"\n }, {\n \"id\" : \"PMC_DIRECT\",\n \"name\" : \"Punjab & Maharastra Co-op Bank\"\n }, {\n \"id\" : \"PSB_DIRECT\",\n \"name\" : \"Punjab & Sind Bank\"\n }, {\n \"id\" : \"CPN_DIRECT\",\n \"name\" : \"Punjab National Bank - Corporate \"\n }, {\n \"id\" : \"PNB_DIRECT\",\n \"name\" : \"Punjab National Bank - Retail Banking\"\n }, {\n \"id\" : \"RBL_DIRECT\",\n \"name\" : \"RBL Bank Limited\"\n }, {\n \"id\" : \"SWB_DIRECT\",\n \"name\" : \"Saraswat Bank\"\n }, {\n \"id\" : \"SHB_DIRECT\",\n \"name\" : \"Shivalik Mercantile Cooperative Bank Ltd\"\n }, {\n \"id\" : \"SIB_DIRECT\",\n \"name\" : \"South Indian Bank\"\n }, {\n \"id\" : \"SCB_DIRECT\",\n \"name\" : \"Standard Chartered Bank\"\n }, {\n \"id\" : \"SBI_DIRECT\",\n \"name\" : \"State Bank of India\"\n }, {\n \"id\" : \"SRB_DIRECT\",\n \"name\" : \"Suryoday Small Finance Bank\"\n }, {\n \"id\" : \"TJB_DIRECT\",\n \"name\" : \"TJSB Bank\"\n }, {\n \"id\" : \"TNC_DIRECT\",\n \"name\" : \"Tamil Nadu State Co-operative Bank\"\n }, {\n \"id\" : \"TMB_DIRECT\",\n \"name\" : \"Tamilnad Mercantile Bank Ltd\"\n }, {\n \"id\" : \"TBB_DIRECT\",\n \"name\" : \"Thane Bharat Sahakari Bank Ltd\"\n }, {\n \"id\" : \"MSB_DIRECT\",\n \"name\" : \"The Mehsana Urban Co Op Bank Ltd\"\n }, {\n \"id\" : \"UCO_DIRECT\",\n \"name\" : \"UCO Bank\"\n }, {\n \"id\" : \"UBI_DIRECT\",\n \"name\" : \"Union Bank of India\"\n }, {\n \"id\" : \"ADB_DIRECT\",\n \"name\" : \"Union Bank of India (Erstwhile Andhra Bank)\"\n }, {\n \"id\" : \"CRP_DIRECT\",\n \"name\" : \"Union Bank of India (Erstwhile Corporation Bank)\"\n }, {\n \"id\" : \"VRB_DIRECT\",\n \"name\" : \"Varachha Co-operative Bank Limited\"\n }, {\n \"id\" : \"VJB_DIRECT\",\n \"name\" : \"Vijaya Bank\"\n }, {\n \"id\" : \"YBK_DIRECT\",\n \"name\" : \"Yes Bank\"\n }, {\n \"id\" : \"ZOB_DIRECT\",\n \"name\" : \"Zoroastrian Co-operative Bank Limited\"\n }, {\n \"id\" : \"DBS_DIRECT\",\n \"name\" : \"digibank by DBS\"\n } ],\n \"key\" : \"issuer\",\n \"type\" : \"select\"\n } ],\n \"name\" : \"Online Banking India\",\n \"type\" : \"billdesk_online\"\n }, {\n \"name\" : \"UPI\",\n \"type\" : \"billdesk_upi\"\n }, {\n \"details\" : [ {\n \"items\" : [ {\n \"id\" : \"DCW_DIRECT\",\n \"name\" : \"DCB Cippy\"\n }, {\n \"id\" : \"ICC_DIRECT\",\n \"name\" : \"ICC Cash Card\"\n }, {\n \"id\" : \"OXY_DIRECT\",\n \"name\" : \"Oxigen Wallet\"\n }, {\n \"id\" : \"PCH_DIRECT\",\n \"name\" : \"Pay World Money\"\n } ],\n \"key\" : \"issuer\",\n \"type\" : \"select\"\n } ],\n \"name\" : \"Wallets India\",\n \"type\" : \"billdesk_wallet\"\n }, {\n \"name\" : \"Blik\",\n \"type\" : \"blik\"\n }, {\n \"name\" : \"Bloemen Giftcard\",\n \"type\" : \"bloemengiftcard\"\n }, {\n \"name\" : \"Boekenbon Giftcard\",\n \"type\" : \"boekenbon\"\n }, {\n \"name\" : \"Boleto\",\n \"type\" : \"boleto\"\n }, {\n \"name\" : \"Boleto Bancario\",\n \"type\" : \"boletobancario_santander\"\n }, {\n \"name\" : \"Bradesco\",\n \"type\" : \"bradesco\"\n }, {\n \"name\" : \"Cash-Ticket\",\n \"type\" : \"cashticket\"\n }, {\n \"name\" : \"CashU\",\n \"type\" : \"cashu\"\n }, {\n \"name\" : \"CCAvenue\",\n \"type\" : \"ccavenue\"\n }, {\n \"name\" : \"Mula Checkout\",\n \"type\" : \"cellulant\"\n }, {\n \"name\" : \"Chasin Giftcard\",\n \"type\" : \"chasingiftcard\"\n }, {\n \"name\" : \"Clearpay\",\n \"type\" : \"clearpay\"\n }, {\n \"name\" : \"ClickandBuy\",\n \"type\" : \"clickandbuy\"\n }, {\n \"name\" : \"Paiement en 3 fois par Cartes Bancaires\",\n \"type\" : \"cofinoga_3xcb\"\n }, {\n \"name\" : \"Costes Giftcard\",\n \"type\" : \"costesgiftcard\"\n }, {\n \"name\" : \"custom_settlement\",\n \"type\" : \"custom_settlement\"\n }, {\n \"name\" : \"DANA\",\n \"type\" : \"dana\"\n }, {\n \"name\" : \"DineroMail\",\n \"type\" : \"dineromail\"\n }, {\n \"name\" : \"Online bank transfer.\",\n \"type\" : \"directEbanking\"\n }, {\n \"name\" : \"Direct Debit Brazil - Banco do Brazil\",\n \"type\" : \"directdebit_BR_bancodobrasil\"\n }, {\n \"name\" : \"Direct Debit Brazil - Bradesco\",\n \"type\" : \"directdebit_BR_bradesco\"\n }, {\n \"name\" : \"Direct Debit Brazil - Caixa Economica Federal\",\n \"type\" : \"directdebit_BR_caixa\"\n }, {\n \"name\" : \"Direct Debit Brazil - HSBC\",\n \"type\" : \"directdebit_BR_hsbc\"\n }, {\n \"name\" : \"Direct Debit Brazil - Itau\",\n \"type\" : \"directdebit_BR_itau\"\n }, {\n \"name\" : \"Direct Debit Brazil - Santander\",\n \"type\" : \"directdebit_BR_santander\"\n }, {\n \"name\" : \"BACS Direct Debit\",\n \"type\" : \"directdebit_GB\"\n }, {\n \"details\" : [ {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n }, {\n \"key\" : \"firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"lastName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"infix\",\n \"optional\" : true,\n \"type\" : \"text\"\n } ],\n \"name\" : \"Alfamart\",\n \"type\" : \"doku_alfamart\"\n }, {\n \"details\" : [ {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n }, {\n \"key\" : \"firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"lastName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"infix\",\n \"optional\" : true,\n \"type\" : \"text\"\n } ],\n \"name\" : \"BCA Bank Transfer\",\n \"type\" : \"doku_bca_va\"\n }, {\n \"details\" : [ {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n }, {\n \"key\" : \"firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"lastName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"infix\",\n \"optional\" : true,\n \"type\" : \"text\"\n } ],\n \"name\" : \"BNI VA\",\n \"type\" : \"doku_bni_va\"\n }, {\n \"details\" : [ {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n }, {\n \"key\" : \"firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"lastName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"infix\",\n \"optional\" : true,\n \"type\" : \"text\"\n } ],\n \"name\" : \"BRI VA\",\n \"type\" : \"doku_bri_va\"\n }, {\n \"details\" : [ {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n }, {\n \"key\" : \"firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"lastName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"infix\",\n \"optional\" : true,\n \"type\" : \"text\"\n } ],\n \"name\" : \"CIMB VA\",\n \"type\" : \"doku_cimb_va\"\n }, {\n \"details\" : [ {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n }, {\n \"key\" : \"firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"lastName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"infix\",\n \"optional\" : true,\n \"type\" : \"text\"\n } ],\n \"name\" : \"Danamon VA\",\n \"type\" : \"doku_danamon_va\"\n }, {\n \"details\" : [ {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n }, {\n \"key\" : \"firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"lastName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"infix\",\n \"optional\" : true,\n \"type\" : \"text\"\n } ],\n \"name\" : \"Indomaret\",\n \"type\" : \"doku_indomaret\"\n }, {\n \"details\" : [ {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n }, {\n \"key\" : \"firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"lastName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"infix\",\n \"optional\" : true,\n \"type\" : \"text\"\n } ],\n \"name\" : \"Mandiri VA\",\n \"type\" : \"doku_mandiri_va\"\n }, {\n \"details\" : [ {\n \"key\" : \"ovoId\",\n \"type\" : \"text\"\n } ],\n \"name\" : \"OVO\",\n \"type\" : \"doku_ovo\"\n }, {\n \"details\" : [ {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n }, {\n \"key\" : \"firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"lastName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"infix\",\n \"optional\" : true,\n \"type\" : \"text\"\n } ],\n \"name\" : \"Bank Transfer\",\n \"type\" : \"doku_permata_lite_atm\"\n }, {\n \"details\" : [ {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n }, {\n \"key\" : \"firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"lastName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"infix\",\n \"optional\" : true,\n \"type\" : \"text\"\n } ],\n \"name\" : \"DOKU wallet\",\n \"type\" : \"doku_wallet\"\n }, {\n \"details\" : [ {\n \"items\" : [ {\n \"id\" : \"66\",\n \"name\" : \"Bank Nowy BFG S.A.\"\n }, {\n \"id\" : \"92\",\n \"name\" : \"Bank Spółdzielczy w Brodnicy\"\n }, {\n \"id\" : \"11\",\n \"name\" : \"Bank transfer / postal\"\n }, {\n \"id\" : \"74\",\n \"name\" : \"Banki Spółdzielcze\"\n }, {\n \"id\" : \"73\",\n \"name\" : \"BLIK\"\n }, {\n \"id\" : \"90\",\n \"name\" : \"BNP Paribas - płacę z Pl@net\"\n }, {\n \"id\" : \"59\",\n \"name\" : \"CinkciarzPAY\"\n }, {\n \"id\" : \"87\",\n \"name\" : \"Credit Agricole PBL\"\n }, {\n \"id\" : \"83\",\n \"name\" : \"EnveloBank\"\n }, {\n \"id\" : \"76\",\n \"name\" : \"Getin Bank PBL\"\n }, {\n \"id\" : \"81\",\n \"name\" : \"Idea Cloud\"\n }, {\n \"id\" : \"7\",\n \"name\" : \"ING Corporate customers\"\n }, {\n \"id\" : \"93\",\n \"name\" : \"Kasa Stefczyka\"\n }, {\n \"id\" : \"44\",\n \"name\" : \"Millennium - Płatności Internetowe\"\n }, {\n \"id\" : \"10\",\n \"name\" : \"Millennium Corporate customers\"\n }, {\n \"id\" : \"68\",\n \"name\" : \"mRaty\"\n }, {\n \"id\" : \"1\",\n \"name\" : \"mTransfer\"\n }, {\n \"id\" : \"91\",\n \"name\" : \"Nest Bank\"\n }, {\n \"id\" : \"80\",\n \"name\" : \"Noble Pay\"\n }, {\n \"id\" : \"50\",\n \"name\" : \"Pay Way Toyota Bank\"\n }, {\n \"id\" : \"45\",\n \"name\" : \"Pay with Alior Bank\"\n }, {\n \"id\" : \"36\",\n \"name\" : \"Pekao24Przelew\"\n }, {\n \"id\" : \"70\",\n \"name\" : \"Pocztowy24\"\n }, {\n \"id\" : \"6\",\n \"name\" : \"Przelew24\"\n }, {\n \"id\" : \"46\",\n \"name\" : \"Płacę z Citi Handlowy\"\n }, {\n \"id\" : \"38\",\n \"name\" : \"Płacę z ING\"\n }, {\n \"id\" : \"2\",\n \"name\" : \"Płacę z Inteligo\"\n }, {\n \"id\" : \"4\",\n \"name\" : \"Płacę z iPKO\"\n }, {\n \"id\" : \"75\",\n \"name\" : \"Płacę z Plus Bank\"\n }, {\n \"id\" : \"51\",\n \"name\" : \"Płać z BOŚ\"\n }, {\n \"id\" : \"55\",\n \"name\" : \"Raty z Alior Bankiem PLN\"\n }, {\n \"id\" : \"89\",\n \"name\" : \"Santander\"\n }, {\n \"id\" : \"52\",\n \"name\" : \"SkyCash\"\n } ],\n \"key\" : \"issuer\",\n \"type\" : \"select\"\n } ],\n \"name\" : \"Local Polish Payment Methods\",\n \"type\" : \"dotpay\"\n }, {\n \"name\" : \"Dragonpay Prepaid Credits\",\n \"type\" : \"dragonpay_credits\"\n }, {\n \"name\" : \"Online Banking\",\n \"type\" : \"dragonpay_ebanking\"\n }, {\n \"name\" : \"GCash\",\n \"type\" : \"dragonpay_gcash\"\n }, {\n \"name\" : \"Over The Counter Banks\",\n \"type\" : \"dragonpay_otc_banking\"\n }, {\n \"name\" : \"OTC non-Bank via Dragonpay\",\n \"type\" : \"dragonpay_otc_non_banking\"\n }, {\n \"name\" : \"Convenience Stores\",\n \"type\" : \"dragonpay_otc_philippines\"\n }, {\n \"name\" : \"7/11\",\n \"type\" : \"dragonpay_seveneleven\"\n }, {\n \"name\" : \"eagleeye_voucher\",\n \"type\" : \"eagleeye_voucher\"\n }, {\n \"name\" : \"Finnish E-Banking\",\n \"type\" : \"ebanking_FI\"\n }, {\n \"name\" : \"Pay-easy ATM\",\n \"type\" : \"econtext_atm\"\n }, {\n \"name\" : \"Online Banking\",\n \"type\" : \"econtext_online\"\n }, {\n \"name\" : \"7-Eleven\",\n \"type\" : \"econtext_seven_eleven\"\n }, {\n \"name\" : \"Convenience Stores\",\n \"type\" : \"econtext_stores\"\n }, {\n \"name\" : \"eft_directdebit_CA\",\n \"type\" : \"eft_directdebit_CA\"\n }, {\n \"name\" : \"Lastschrift (ELV)\",\n \"type\" : \"elv\"\n }, {\n \"details\" : [ {\n \"items\" : [ {\n \"id\" : \"231\",\n \"name\" : \"POP Pankki\"\n }, {\n \"id\" : \"551\",\n \"name\" : \"Komerční banka\"\n }, {\n \"id\" : \"232\",\n \"name\" : \"Aktia\"\n }, {\n \"id\" : \"552\",\n \"name\" : \"Raiffeisen\"\n }, {\n \"id\" : \"233\",\n \"name\" : \"Säästöpankki\"\n }, {\n \"id\" : \"750\",\n \"name\" : \"Swedbank\"\n }, {\n \"id\" : \"211\",\n \"name\" : \"Nordea\"\n }, {\n \"id\" : \"553\",\n \"name\" : \"ČSOB\"\n }, {\n \"id\" : \"234\",\n \"name\" : \"S-Pankki\"\n }, {\n \"id\" : \"751\",\n \"name\" : \"SEB\"\n }, {\n \"id\" : \"554\",\n \"name\" : \"Moneta\"\n }, {\n \"id\" : \"235\",\n \"name\" : \"OmaSP\"\n }, {\n \"id\" : \"752\",\n \"name\" : \"Nordea\"\n }, {\n \"id\" : \"213\",\n \"name\" : \"Op-Pohjola\"\n }, {\n \"id\" : \"555\",\n \"name\" : \"UniCredit\"\n }, {\n \"id\" : \"753\",\n \"name\" : \"LHV\"\n }, {\n \"id\" : \"556\",\n \"name\" : \"Fio\"\n }, {\n \"id\" : \"557\",\n \"name\" : \"mBank\"\n }, {\n \"id\" : \"216\",\n \"name\" : \"Handelsbanken\"\n }, {\n \"id\" : \"558\",\n \"name\" : \"Air Bank\"\n }, {\n \"id\" : \"260\",\n \"name\" : \"Länsförsäkringar\"\n }, {\n \"id\" : \"240\",\n \"name\" : \"BankDeposit\"\n }, {\n \"id\" : \"265\",\n \"name\" : \"Sparbanken\"\n }, {\n \"id\" : \"640\",\n \"name\" : \"BankDeposit\"\n }, {\n \"id\" : \"200\",\n \"name\" : \"Ålandsbanken\"\n }, {\n \"id\" : \"940\",\n \"name\" : \"Swedbank\"\n }, {\n \"id\" : \"500\",\n \"name\" : \"Česká spořitelna\"\n }, {\n \"id\" : \"720\",\n \"name\" : \"Swedbank\"\n }, {\n \"id\" : \"941\",\n \"name\" : \"SEB\"\n }, {\n \"id\" : \"204\",\n \"name\" : \"Danske Bank\"\n }, {\n \"id\" : \"721\",\n \"name\" : \"SEB\"\n }, {\n \"id\" : \"942\",\n \"name\" : \"Citadele\"\n }, {\n \"id\" : \"205\",\n \"name\" : \"Handelsbanken\"\n }, {\n \"id\" : \"722\",\n \"name\" : \"DNB\"\n }, {\n \"id\" : \"943\",\n \"name\" : \"DNB\"\n }, {\n \"id\" : \"206\",\n \"name\" : \"Nordea\"\n }, {\n \"id\" : \"723\",\n \"name\" : \"Šiaulių bankas\"\n }, {\n \"id\" : \"207\",\n \"name\" : \"SEB\"\n }, {\n \"id\" : \"724\",\n \"name\" : \"Nordea\"\n }, {\n \"id\" : \"505\",\n \"name\" : \"Komerční banka\"\n }, {\n \"id\" : \"208\",\n \"name\" : \"Skandiabanken\"\n }, {\n \"id\" : \"209\",\n \"name\" : \"Swedbank\"\n } ],\n \"key\" : \"issuer\",\n \"type\" : \"select\"\n } ],\n \"name\" : \"Bank Payment\",\n \"type\" : \"entercash\"\n }, {\n \"name\" : \"Nationale Entertainment Card\",\n \"type\" : \"entertainmentcard\"\n }, {\n \"details\" : [ {\n \"items\" : [ {\n \"id\" : \"d5d5b133-1c0d-4c08-b2be-3c9b116dc326\",\n \"name\" : \"Dolomitenbank\"\n }, {\n \"id\" : \"ee9fc487-ebe0-486c-8101-17dce5141a67\",\n \"name\" : \"Raiffeissen Bankengruppe\"\n }, {\n \"id\" : \"6765e225-a0dc-4481-9666-e26303d4f221\",\n \"name\" : \"Hypo Tirol Bank AG\"\n }, {\n \"id\" : \"8b0bfeea-fbb0-4337-b3a1-0e25c0f060fc\",\n \"name\" : \"Sparda Bank Wien\"\n }, {\n \"id\" : \"1190c4d1-b37a-487e-9355-e0a067f54a9f\",\n \"name\" : \"Schoellerbank AG\"\n }, {\n \"id\" : \"e2e97aaa-de4c-4e18-9431-d99790773433\",\n \"name\" : \"Volksbank Gruppe\"\n }, {\n \"id\" : \"bb7d223a-17d5-48af-a6ef-8a2bf5a4e5d9\",\n \"name\" : \"Immo-Bank\"\n }, {\n \"id\" : \"e6819e7a-f663-414b-92ec-cf7c82d2f4e5\",\n \"name\" : \"Bank Austria\"\n }, {\n \"id\" : \"eff103e6-843d-48b7-a6e6-fbd88f511b11\",\n \"name\" : \"Easybank AG\"\n }, {\n \"id\" : \"25942cc9-617d-42a1-89ba-d1ab5a05770a\",\n \"name\" : \"VR-BankBraunau\"\n }, {\n \"id\" : \"4a0a975b-0594-4b40-9068-39f77b3a91f9\",\n \"name\" : \"Volkskreditbank\"\n }, {\n \"id\" : \"3fdc41fc-3d3d-4ee3-a1fe-cd79cfd58ea3\",\n \"name\" : \"Erste Bank und Sparkassen\"\n }, {\n \"id\" : \"ba7199cc-f057-42f2-9856-2378abf21638\",\n \"name\" : \"BAWAG P.S.K. Gruppe\"\n } ],\n \"key\" : \"issuer\",\n \"type\" : \"select\"\n } ],\n \"name\" : \"EPS\",\n \"type\" : \"eps\"\n }, {\n \"name\" : \"Expert Cadeaukaart\",\n \"type\" : \"expertgiftcard\"\n }, {\n \"details\" : [ {\n \"details\" : [ {\n \"key\" : \"firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"lastName\",\n \"type\" : \"text\"\n }, {\n \"items\" : [ {\n \"id\" : \"M\",\n \"name\" : \"male\"\n }, {\n \"id\" : \"F\",\n \"name\" : \"female\"\n } ],\n \"key\" : \"gender\",\n \"type\" : \"radio\"\n }, {\n \"key\" : \"telephoneNumber\",\n \"type\" : \"tel\"\n }, {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n } ],\n \"key\" : \"personalDetails\",\n \"type\" : \"fieldSet\"\n }, {\n \"details\" : [ {\n \"key\" : \"street\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"houseNumberOrName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"city\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"postalCode\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"stateOrProvince\",\n \"optional\" : true,\n \"type\" : \"text\"\n }, {\n \"items\" : [ {\n \"id\" : \"FR\",\n \"name\" : \"France\"\n }, {\n \"id\" : \"ES\",\n \"name\" : \"Spain\"\n } ],\n \"key\" : \"country\",\n \"type\" : \"select\"\n } ],\n \"key\" : \"billingAddress\",\n \"type\" : \"address\"\n }, {\n \"key\" : \"separateDeliveryAddress\",\n \"optional\" : true,\n \"type\" : \"boolean\",\n \"value\" : \"false\"\n }, {\n \"details\" : [ {\n \"key\" : \"street\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"houseNumberOrName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"city\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"postalCode\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"stateOrProvince\",\n \"optional\" : true,\n \"type\" : \"text\"\n }, {\n \"items\" : [ {\n \"id\" : \"FR\",\n \"name\" : \"France\"\n }, {\n \"id\" : \"ES\",\n \"name\" : \"Spain\"\n } ],\n \"key\" : \"country\",\n \"type\" : \"select\"\n } ],\n \"key\" : \"deliveryAddress\",\n \"optional\" : true,\n \"type\" : \"address\"\n } ],\n \"name\" : \"3x Oney\",\n \"type\" : \"facilypay_3x\"\n }, {\n \"details\" : [ {\n \"details\" : [ {\n \"key\" : \"firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"lastName\",\n \"type\" : \"text\"\n }, {\n \"items\" : [ {\n \"id\" : \"M\",\n \"name\" : \"male\"\n }, {\n \"id\" : \"F\",\n \"name\" : \"female\"\n } ],\n \"key\" : \"gender\",\n \"type\" : \"radio\"\n }, {\n \"key\" : \"telephoneNumber\",\n \"type\" : \"tel\"\n }, {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n } ],\n \"key\" : \"personalDetails\",\n \"type\" : \"fieldSet\"\n }, {\n \"details\" : [ {\n \"key\" : \"street\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"houseNumberOrName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"city\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"postalCode\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"stateOrProvince\",\n \"optional\" : true,\n \"type\" : \"text\"\n }, {\n \"items\" : [ {\n \"id\" : \"FR\",\n \"name\" : \"France\"\n }, {\n \"id\" : \"ES\",\n \"name\" : \"Spain\"\n } ],\n \"key\" : \"country\",\n \"type\" : \"select\"\n } ],\n \"key\" : \"billingAddress\",\n \"type\" : \"address\"\n }, {\n \"key\" : \"separateDeliveryAddress\",\n \"optional\" : true,\n \"type\" : \"boolean\",\n \"value\" : \"false\"\n }, {\n \"details\" : [ {\n \"key\" : \"street\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"houseNumberOrName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"city\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"postalCode\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"stateOrProvince\",\n \"optional\" : true,\n \"type\" : \"text\"\n }, {\n \"items\" : [ {\n \"id\" : \"FR\",\n \"name\" : \"France\"\n }, {\n \"id\" : \"ES\",\n \"name\" : \"Spain\"\n } ],\n \"key\" : \"country\",\n \"type\" : \"select\"\n } ],\n \"key\" : \"deliveryAddress\",\n \"optional\" : true,\n \"type\" : \"address\"\n } ],\n \"name\" : \"4x Oney\",\n \"type\" : \"facilypay_4x\"\n }, {\n \"name\" : \"Fashioncheque\",\n \"type\" : \"fashioncheque\"\n }, {\n \"details\" : [ {\n \"key\" : \"shopper.firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"shopper.lastName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"shopper.gender\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n }, {\n \"key\" : \"telephoneNumber\",\n \"type\" : \"tel\"\n }, {\n \"key\" : \"countryCode\",\n \"type\" : \"text\"\n } ],\n \"name\" : \"Fawry\",\n \"type\" : \"fawry\"\n }, {\n \"name\" : \"FijnCadeau\",\n \"type\" : \"fijncadeau\"\n }, {\n \"name\" : \"Fleurop Bloemenbon\",\n \"type\" : \"fleuropbloemenbon\"\n }, {\n \"name\" : \"Fonq Giftcard\",\n \"type\" : \"fonqgiftcard\"\n }, {\n \"name\" : \"Gall & Gall\",\n \"type\" : \"gallgall\"\n }, {\n \"name\" : \"GCash\",\n \"type\" : \"gcash\"\n }, {\n \"name\" : \"Generic GiftCard\",\n \"type\" : \"genericgiftcard\"\n }, {\n \"name\" : \"GiftFor2\",\n \"type\" : \"giftfor2card\"\n }, {\n \"name\" : \"Givex\",\n \"type\" : \"givex\"\n }, {\n \"name\" : \"Globe GCash\",\n \"type\" : \"globegcash\"\n }, {\n \"name\" : \"Goldsmiths Card\",\n \"type\" : \"goldsmithscard\"\n }, {\n \"name\" : \"GoPay Wallet\",\n \"type\" : \"gopay_wallet\"\n }, {\n \"name\" : \"OVO\",\n \"type\" : \"grabpay_ID\"\n }, {\n \"name\" : \"GrabPay\",\n \"type\" : \"grabpay_PH\"\n }, {\n \"name\" : \"GrabPay\",\n \"type\" : \"grabpay_SG\"\n }, {\n \"name\" : \"Hallmark Card\",\n \"type\" : \"hallmarkcard\"\n }, {\n \"name\" : \"HDFC\",\n \"type\" : \"hdfc\"\n }, {\n \"name\" : \"Hunkemoller Member Card\",\n \"type\" : \"hmclub\"\n }, {\n \"name\" : \"Hunkemoller Lingerie Card\",\n \"type\" : \"hmlingerie\"\n }, {\n \"details\" : [ {\n \"items\" : [ {\n \"id\" : \"1121\",\n \"name\" : \"Test Issuer\"\n }, {\n \"id\" : \"1154\",\n \"name\" : \"Test Issuer 5\"\n }, {\n \"id\" : \"1153\",\n \"name\" : \"Test Issuer 4\"\n }, {\n \"id\" : \"1152\",\n \"name\" : \"Test Issuer 3\"\n }, {\n \"id\" : \"1151\",\n \"name\" : \"Test Issuer 2\"\n }, {\n \"id\" : \"1162\",\n \"name\" : \"Test Issuer Cancelled\"\n }, {\n \"id\" : \"1161\",\n \"name\" : \"Test Issuer Pending\"\n }, {\n \"id\" : \"1160\",\n \"name\" : \"Test Issuer Refused\"\n }, {\n \"id\" : \"1159\",\n \"name\" : \"Test Issuer 10\"\n }, {\n \"id\" : \"1158\",\n \"name\" : \"Test Issuer 9\"\n }, {\n \"id\" : \"1157\",\n \"name\" : \"Test Issuer 8\"\n }, {\n \"id\" : \"1156\",\n \"name\" : \"Test Issuer 7\"\n }, {\n \"id\" : \"1155\",\n \"name\" : \"Test Issuer 6\"\n } ],\n \"key\" : \"issuer\",\n \"type\" : \"select\"\n } ],\n \"name\" : \"iDEAL\",\n \"type\" : \"ideal\"\n }, {\n \"name\" : \"igive\",\n \"type\" : \"igive\"\n }, {\n \"name\" : \"Korean Account Transfer (IniPay)\",\n \"type\" : \"inicisIniPay_accounttransfer\"\n }, {\n \"name\" : \"Korean Credit Cards (IniPay)\",\n \"type\" : \"inicisIniPay_creditcard\"\n }, {\n \"name\" : \"Korean Mobile Phone (IniPay)\",\n \"type\" : \"inicisIniPay_mobilephone\"\n }, {\n \"name\" : \"Korean Virtual Account (IniPay)\",\n \"type\" : \"inicisIniPay_virtualaccount\"\n }, {\n \"name\" : \"Korean Account Transfer (Mobile)\",\n \"type\" : \"inicisMobile_accounttransfer\"\n }, {\n \"name\" : \"Korean Credit Cards (Mobile)\",\n \"type\" : \"inicisMobile_creditcard\"\n }, {\n \"name\" : \"Korean Mobile Phone (Mobile)\",\n \"type\" : \"inicisMobile_mobilephone\"\n }, {\n \"name\" : \"Korean Virtual Account (Mobile)\",\n \"type\" : \"inicisMobile_virtualaccount\"\n }, {\n \"name\" : \"Korean Credit Cards\",\n \"type\" : \"inicis_creditcard\"\n }, {\n \"name\" : \"Interac® Online\",\n \"type\" : \"interac\"\n }, {\n \"name\" : \"Instant EFT\",\n \"type\" : \"ipay\"\n }, {\n \"name\" : \"iPay88\",\n \"type\" : \"ipay88\"\n }, {\n \"name\" : \"isracard\",\n \"type\" : \"isracard\"\n }, {\n \"name\" : \"Phone Payment\",\n \"type\" : \"ivr\"\n }, {\n \"name\" : \"Landline phone\",\n \"type\" : \"ivrLandline\"\n }, {\n \"name\" : \"Mobile phone\",\n \"type\" : \"ivrMobile\"\n }, {\n \"name\" : \"Kado Wereld\",\n \"type\" : \"kadowereld\"\n }, {\n \"name\" : \"KakaoPay\",\n \"type\" : \"kakaopay\"\n }, {\n \"name\" : \"Karen Millen Card\",\n \"type\" : \"karenmillen\"\n }, {\n \"name\" : \"Karen Millen GiftCard\",\n \"type\" : \"karenmillengiftcard\"\n }, {\n \"name\" : \"Bank Transfer\",\n \"type\" : \"kcp_banktransfer\"\n }, {\n \"name\" : \"Korea–issued cards\",\n \"type\" : \"kcp_creditcard\"\n }, {\n \"name\" : \"PayCo\",\n \"type\" : \"kcp_payco\"\n }, {\n \"name\" : \"Naver Pay\",\n \"type\" : \"kcp_naverpay\"\n }, {\n \"name\" : \"Virtual Account via KCP\",\n \"type\" : \"kcp_va\"\n }, {\n \"name\" : \"Pay later with Klarna.\",\n \"type\" : \"klarna\"\n }, {\n \"name\" : \"Pay over time with Klarna.\",\n \"type\" : \"klarna_account\"\n }, {\n \"name\" : \"Buy Now, Pay Later with Billie\",\n \"type\" : \"klarna_b2b\"\n }, {\n \"name\" : \"Pay now with Klarna.\",\n \"type\" : \"klarna_paynow\"\n }, {\n \"name\" : \"Leisure Card\",\n \"type\" : \"leisurecard\"\n }, {\n \"name\" : \"China Credit Card\",\n \"type\" : \"lianlianpay_creditcard\"\n }, {\n \"name\" : \"China Debit Card\",\n \"type\" : \"lianlianpay_debitcard\"\n }, {\n \"details\" : [ {\n \"key\" : \"telephoneNumber\",\n \"type\" : \"tel\"\n } ],\n \"name\" : \"China Online Banking - Credit Card\",\n \"type\" : \"lianlianpay_ebanking_credit\"\n }, {\n \"details\" : [ {\n \"items\" : [ {\n \"id\" : \"01030000\",\n \"name\" : \"Agricultural Bank of China\"\n }, {\n \"id\" : \"4031000\",\n \"name\" : \"Bank of Beijing\"\n }, {\n \"id\" : \"01040000\",\n \"name\" : \"Bank of China\"\n }, {\n \"id\" : \"03020000\",\n \"name\" : \"China Citic Bank\"\n }, {\n \"id\" : \"01050000\",\n \"name\" : \"China Construction Bank\"\n }, {\n \"id\" : \"03030000\",\n \"name\" : \"China Everbright Bank\"\n }, {\n \"id\" : \"03080000\",\n \"name\" : \"China Merchants Bank\"\n }, {\n \"id\" : \"03050000\",\n \"name\" : \"China Minsheng Banking Group\"\n }, {\n \"id\" : \"03040000\",\n \"name\" : \"Hua Xia Bank Co\"\n }, {\n \"id\" : \"01020000\",\n \"name\" : \"Industrial and Commercial Bank of China\"\n }, {\n \"id\" : \"03070000\",\n \"name\" : \"PingAn Bank\"\n }, {\n \"id\" : \"1000000\",\n \"name\" : \"Postal Savings Bank of China\"\n } ],\n \"key\" : \"issuer\",\n \"type\" : \"select\"\n }, {\n \"key\" : \"telephoneNumber\",\n \"type\" : \"tel\"\n } ],\n \"name\" : \"China Online Banking - Debit Card\",\n \"type\" : \"lianlianpay_ebanking_debit\"\n }, {\n \"details\" : [ {\n \"items\" : [ {\n \"id\" : \"01030000\",\n \"name\" : \"Agricultural Bank of China\"\n }, {\n \"id\" : \"01050000\",\n \"name\" : \"China Construction Bank\"\n }, {\n \"id\" : \"03080000\",\n \"name\" : \"China Merchants Bank\"\n }, {\n \"id\" : \"01020000\",\n \"name\" : \"Industrial and Commercial Bank of China\"\n }, {\n \"id\" : \"03100000\",\n \"name\" : \"Shanghai Pudong Development Bank\"\n } ],\n \"key\" : \"issuer\",\n \"type\" : \"select\"\n }, {\n \"key\" : \"telephoneNumber\",\n \"type\" : \"tel\"\n } ],\n \"name\" : \"China Online Banking - Enterprise\",\n \"type\" : \"lianlianpay_ebanking_enterprise\"\n }, {\n \"name\" : \"Loods5 Cadeaukaart\",\n \"type\" : \"loods5giftcard\"\n }, {\n \"name\" : \"Loods5 Tegoedbon\",\n \"type\" : \"loods5prepaidcard\"\n }, {\n \"name\" : \"Love2Shop GiftCard\",\n \"type\" : \"love2shop\"\n }, {\n \"details\" : [ {\n \"key\" : \"shopper.firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"shopper.lastName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"shopper.gender\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n }, {\n \"key\" : \"telephoneNumber\",\n \"type\" : \"tel\"\n }, {\n \"key\" : \"countryCode\",\n \"type\" : \"text\"\n } ],\n \"name\" : \"mada\",\n \"type\" : \"mada\"\n }, {\n \"name\" : \"Mappin & Webb Card\",\n \"type\" : \"mappinwebbcard\"\n }, {\n \"name\" : \"MB WAY\",\n \"type\" : \"mbway\"\n }, {\n \"details\" : [ {\n \"key\" : \"additionalData.amazonPayToken\",\n \"type\" : \"text\"\n } ],\n \"name\" : \"Amazon Pay\",\n \"supportsRecurring\" : true,\n \"type\" : \"amazonpay\"\n }, {\n \"name\" : \"Mercado Pago\",\n \"type\" : \"mercadopago\"\n }, {\n \"name\" : \"MobilePay\",\n \"type\" : \"mobilepay\"\n }, {\n \"name\" : \"AliPay via Razer Merchant Services\",\n \"type\" : \"molpay_alipay\"\n }, {\n \"name\" : \"7-Eleven\",\n \"type\" : \"molpay_cash\"\n }, {\n \"name\" : \"CIMB Virtual Account\",\n \"type\" : \"molpay_cimb_va\"\n }, {\n \"name\" : \"Malaysia E-Banking via Razer Merchant Services\",\n \"type\" : \"molpay_ebanking_MY\"\n }, {\n \"details\" : [ {\n \"items\" : [ {\n \"id\" : \"vtcpay-vietinbank\",\n \"name\" : \"Vietinbank\"\n }, {\n \"id\" : \"vtcpay-bidv\",\n \"name\" : \"BIDV\"\n }, {\n \"id\" : \"vtcpay-agribank\",\n \"name\" : \"Agribank\"\n }, {\n \"id\" : \"vtcpay-mb\",\n \"name\" : \"MB Bank\"\n }, {\n \"id\" : \"vtcpay-sacombank\",\n \"name\" : \"Sacombank\"\n }, {\n \"id\" : \"vtcpay-dongabank\",\n \"name\" : \"DongABank\"\n }, {\n \"id\" : \"vtcpay-maritimebank\",\n \"name\" : \"MaritimeBank\"\n }, {\n \"id\" : \"vtcpay-vietcombank\",\n \"name\" : \"Vietcombank\"\n }, {\n \"id\" : \"vtcpay-acb\",\n \"name\" : \"ACB\"\n }, {\n \"id\" : \"vtcpay-techcombank\",\n \"name\" : \"Techcombank\"\n } ],\n \"key\" : \"issuer\",\n \"type\" : \"select\"\n } ],\n \"name\" : \"Vietnam E-Banking\",\n \"type\" : \"molpay_ebanking_VN\"\n }, {\n \"details\" : [ {\n \"items\" : [ {\n \"id\" : \"fpx_bimb\",\n \"name\" : \"Bank Islam\"\n }, {\n \"id\" : \"fpx_uob\",\n \"name\" : \"UOB Bank\"\n }, {\n \"id\" : \"fpx_cimbclicks\",\n \"name\" : \"CIMB Clicks\"\n }, {\n \"id\" : \"fpx_kfh\",\n \"name\" : \"Kuwait Finance House\"\n }, {\n \"id\" : \"fpx_rhb\",\n \"name\" : \"RHB Now\"\n }, {\n \"id\" : \"fpx_abmb\",\n \"name\" : \"Alliance Bank\"\n }, {\n \"id\" : \"fpx_amb\",\n \"name\" : \"Am Online\"\n }, {\n \"id\" : \"fpx_hsbc\",\n \"name\" : \"HSBC\"\n }, {\n \"id\" : \"fpx_abb\",\n \"name\" : \"Affin Bank\"\n }, {\n \"id\" : \"fpx_ocbc\",\n \"name\" : \"OCBC Bank\"\n }, {\n \"id\" : \"fpx_pbb\",\n \"name\" : \"Public Bank\"\n }, {\n \"id\" : \"fpx_scb\",\n \"name\" : \"Standard Chartered Bank\"\n }, {\n \"id\" : \"fpx_bsn\",\n \"name\" : \"Bank Simpanan Nasional\"\n }, {\n \"id\" : \"fpx_mb2u\",\n \"name\" : \"Maybank2u\"\n }, {\n \"id\" : \"fpx_hlb\",\n \"name\" : \"Hong Leong Connect\"\n }, {\n \"id\" : \"fpx_bmmb\",\n \"name\" : \"Bank Muamalat\"\n }, {\n \"id\" : \"fpx_bkrm\",\n \"name\" : \"Bank Rakyat\"\n } ],\n \"key\" : \"issuer\",\n \"type\" : \"select\"\n } ],\n \"name\" : \"Malaysia E-Banking\",\n \"type\" : \"molpay_ebanking_fpx_MY\"\n }, {\n \"name\" : \"eNETS Debit\",\n \"type\" : \"molpay_enetsd\"\n }, {\n \"name\" : \"epay\",\n \"type\" : \"molpay_epay\"\n }, {\n \"name\" : \"Esapay\",\n \"type\" : \"molpay_esapay\"\n }, {\n \"name\" : \"MyClear FPX\",\n \"type\" : \"molpay_fpx\"\n }, {\n \"name\" : \"Maybank2u\",\n \"type\" : \"molpay_maybank2u\"\n }, {\n \"name\" : \"Nganluong\",\n \"type\" : \"molpay_nganluong\"\n }, {\n \"name\" : \"Convenience Stores Thailand\",\n \"type\" : \"molpay_paysbuy\"\n }, {\n \"name\" : \"MOLPoints\",\n \"type\" : \"molpay_points\"\n }, {\n \"name\" : \"RHB Now\",\n \"type\" : \"molpay_rhb\"\n }, {\n \"name\" : \"SAM by SingPost\",\n \"type\" : \"molpay_singpost\"\n }, {\n \"name\" : \"MOLWallet\",\n \"type\" : \"molpay_wallet\"\n }, {\n \"name\" : \"MoMo ATM\",\n \"type\" : \"momo_atm\"\n }, {\n \"name\" : \"Momo Wallet\",\n \"type\" : \"momo_wallet\"\n }, {\n \"name\" : \"Moneybookers\",\n \"type\" : \"moneybookers\"\n }, {\n \"name\" : \"Multibanco\",\n \"type\" : \"multibanco\"\n }, {\n \"name\" : \"De Nationale Musicalcard\",\n \"type\" : \"musicalcard\"\n }, {\n \"name\" : \"Nationale Bioscoopbon\",\n \"type\" : \"nationalebioscoopbon\"\n }, {\n \"name\" : \"Nationale Tuinbon\",\n \"type\" : \"nationaletuinbon\"\n }, {\n \"name\" : \"Nationale Verwen Cadeaubon\",\n \"type\" : \"nationaleverwencadeaubon\"\n }, {\n \"name\" : \"BankAxess\",\n \"type\" : \"netaxept_bankaxess\"\n }, {\n \"name\" : \"NETELLER\",\n \"type\" : \"neteller\"\n }, {\n \"name\" : \"Onebip\",\n \"type\" : \"onebip\"\n }, {\n \"name\" : \"One Two Three\",\n \"type\" : \"onetwothree\"\n }, {\n \"name\" : \"Online Banking PL\",\n \"type\" : \"onlineBanking_PL\"\n }, {\n \"details\" : [ {\n \"items\" : [ {\n \"id\" : \"1\",\n \"name\" : \"Model Bank v2\"\n } ],\n \"key\" : \"issuer\",\n \"type\" : \"select\"\n } ],\n \"name\" : \"Online banking\",\n \"type\" : \"openbanking_UK\"\n }, {\n \"name\" : \"Oxxo\",\n \"type\" : \"oxxo\"\n }, {\n \"name\" : \"Pathe Giftcard\",\n \"type\" : \"pathegiftcard\"\n }, {\n \"name\" : \"PayBright\",\n \"type\" : \"paybright\"\n }, {\n \"name\" : \"Maya Wallet\",\n \"type\" : \"paymaya_wallet\"\n }, {\n \"name\" : \"PayPal\",\n \"type\" : \"paypal\"\n }, {\n \"name\" : \"Paysafecard\",\n \"type\" : \"paysafecard\"\n }, {\n \"name\" : \"Payshop\",\n \"type\" : \"payshop\"\n }, {\n \"name\" : \"PayD AMT via Paythru\",\n \"type\" : \"paythru_amt\"\n }, {\n \"name\" : \"EFT via Paythru\",\n \"type\" : \"paythru_eft\"\n }, {\n \"name\" : \"PayTM\",\n \"type\" : \"paytm\"\n }, {\n \"details\" : [ {\n \"key\" : \"virtualPaymentAddress\",\n \"type\" : \"text\"\n } ],\n \"name\" : \"PayU UPI\",\n \"type\" : \"payu_IN_upi\"\n }, {\n \"name\" : \"EFT Pro via PayU\",\n \"type\" : \"payu_ZA_eftpro\"\n }, {\n \"details\" : [ {\n \"key\" : \"additionalData.paywithgoogle.token\",\n \"type\" : \"payWithGoogleToken\"\n } ],\n \"name\" : \"Google Pay\",\n \"type\" : \"paywithgoogle\"\n }, {\n \"name\" : \"pix\",\n \"type\" : \"pix\"\n }, {\n \"name\" : \"Plastix\",\n \"type\" : \"plastix\"\n }, {\n \"name\" : \"Pluim\",\n \"type\" : \"pluimgiftcard\"\n }, {\n \"name\" : \"Podium Card\",\n \"type\" : \"podiumcard\"\n }, {\n \"name\" : \"POLi\",\n \"type\" : \"poli\"\n }, {\n \"name\" : \"PPS\",\n \"type\" : \"pps\"\n }, {\n \"name\" : \"Primera Cadeaukaart\",\n \"type\" : \"primeracadeaucard\"\n }, {\n \"name\" : \"Illicado Gift Card\",\n \"type\" : \"prosodie_illicado\"\n }, {\n \"name\" : \"PSE\",\n \"type\" : \"pse\"\n }, {\n \"details\" : [ {\n \"items\" : [ {\n \"id\" : \"+7\",\n \"name\" : \"RU\"\n }, {\n \"id\" : \"+9955\",\n \"name\" : \"GE\"\n }, {\n \"id\" : \"+507\",\n \"name\" : \"PA\"\n }, {\n \"id\" : \"+44\",\n \"name\" : \"GB\"\n }, {\n \"id\" : \"+992\",\n \"name\" : \"TJ\"\n }, {\n \"id\" : \"+370\",\n \"name\" : \"LT\"\n }, {\n \"id\" : \"+972\",\n \"name\" : \"IL\"\n }, {\n \"id\" : \"+996\",\n \"name\" : \"KG\"\n }, {\n \"id\" : \"+380\",\n \"name\" : \"UA\"\n }, {\n \"id\" : \"+84\",\n \"name\" : \"VN\"\n }, {\n \"id\" : \"+90\",\n \"name\" : \"TR\"\n }, {\n \"id\" : \"+994\",\n \"name\" : \"AZ\"\n }, {\n \"id\" : \"+374\",\n \"name\" : \"AM\"\n }, {\n \"id\" : \"+371\",\n \"name\" : \"LV\"\n }, {\n \"id\" : \"+91\",\n \"name\" : \"IN\"\n }, {\n \"id\" : \"+66\",\n \"name\" : \"TH\"\n }, {\n \"id\" : \"+373\",\n \"name\" : \"MD\"\n }, {\n \"id\" : \"+1\",\n \"name\" : \"US\"\n }, {\n \"id\" : \"+81\",\n \"name\" : \"JP\"\n }, {\n \"id\" : \"+998\",\n \"name\" : \"UZ\"\n }, {\n \"id\" : \"+77\",\n \"name\" : \"KZ\"\n }, {\n \"id\" : \"+375\",\n \"name\" : \"BY\"\n }, {\n \"id\" : \"+372\",\n \"name\" : \"EE\"\n }, {\n \"id\" : \"+40\",\n \"name\" : \"RO\"\n }, {\n \"id\" : \"+82\",\n \"name\" : \"KR\"\n } ],\n \"key\" : \"qiwiwallet.telephoneNumberPrefix\",\n \"type\" : \"select\"\n }, {\n \"key\" : \"qiwiwallet.telephoneNumber\",\n \"type\" : \"text\"\n } ],\n \"name\" : \"Qiwi Wallet\",\n \"type\" : \"qiwiwallet\"\n }, {\n \"name\" : \"RatePay Invoice\",\n \"type\" : \"ratepay\"\n }, {\n \"name\" : \"RatePay Direct Debit\",\n \"type\" : \"ratepay_directdebit\"\n }, {\n \"name\" : \"Rituals Giftcard\",\n \"type\" : \"rituals\"\n }, {\n \"name\" : \"Rob Peetoom Giftcard\",\n \"type\" : \"robpeetoomgiftcard\"\n }, {\n \"name\" : \"SafetyPay\",\n \"type\" : \"safetypay\"\n }, {\n \"name\" : \"SafetyPay Cash\",\n \"type\" : \"safetypay_cash\"\n }, {\n \"name\" : \"Shoes&Accessories Cadeau\",\n \"type\" : \"sagiftcard\"\n }, {\n \"name\" : \"Score Giftcard\",\n \"type\" : \"scoregiftcard\"\n }, {\n \"name\" : \"SEB Direktbetalning\",\n \"type\" : \"sebdirectpayment\"\n }, {\n \"details\" : [ {\n \"key\" : \"sepa.ownerName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"sepa.ibanNumber\",\n \"type\" : \"text\"\n } ],\n \"name\" : \"SEPA Direct Debit\",\n \"type\" : \"sepadirectdebit\"\n }, {\n \"name\" : \"7-Eleven\",\n \"type\" : \"seveneleven\"\n }, {\n \"name\" : \"Premium SMS\",\n \"type\" : \"sms\"\n }, {\n \"name\" : \"SVS\",\n \"type\" : \"svs\"\n }, {\n \"name\" : \"Swish\",\n \"type\" : \"swish\"\n }, {\n \"name\" : \"TCS Test GiftCard\",\n \"type\" : \"tcstestgiftcard\"\n }, {\n \"name\" : \"TenPay\",\n \"type\" : \"tenpay\"\n }, {\n \"name\" : \"The Sting Giftcard\",\n \"type\" : \"thestinggiftcard\"\n }, {\n \"name\" : \"TrueMoney\",\n \"type\" : \"truemoney\"\n }, {\n \"name\" : \"Trustly\",\n \"type\" : \"trustly\"\n }, {\n \"name\" : \"Online Banking by Trustpay\",\n \"type\" : \"trustpay\"\n }, {\n \"name\" : \"TWINT\",\n \"type\" : \"twint\"\n }, {\n \"name\" : \"Ukash\",\n \"type\" : \"ukash\"\n }, {\n \"name\" : \"UnionPay\",\n \"type\" : \"unionpay\"\n }, {\n \"details\" : [ {\n \"key\" : \"virtualPaymentAddress\",\n \"type\" : \"text\"\n } ],\n \"name\" : \"UPI Collect\",\n \"type\" : \"upi_collect\"\n }, {\n \"name\" : \"Valuelink\",\n \"type\" : \"valuelink\"\n }, {\n \"name\" : \"V&D Cadeaukaart\",\n \"type\" : \"vdcadeaucard\"\n }, {\n \"details\" : [ {\n \"key\" : \"telephoneNumber\",\n \"optional\" : true,\n \"type\" : \"tel\"\n } ],\n \"name\" : \"Vipps\",\n \"type\" : \"vipps\"\n }, {\n \"details\" : [ {\n \"key\" : \"additionalData.visacheckout.callId\",\n \"type\" : \"text\"\n } ],\n \"name\" : \"Visa Checkout\",\n \"type\" : \"visacheckout\"\n }, {\n \"name\" : \"VVV Cadeaubon\",\n \"type\" : \"vvvcadeaubon\"\n }, {\n \"name\" : \"VVV Giftcard\",\n \"type\" : \"vvvgiftcard\"\n }, {\n \"name\" : \"Webshop Giftcard\",\n \"type\" : \"webshopgiftcard\"\n }, {\n \"name\" : \"WeChat Pay\",\n \"type\" : \"wechatpayMiniProgram\"\n }, {\n \"name\" : \"WeChat Pay\",\n \"type\" : \"wechatpayQR\"\n }, {\n \"name\" : \"WeChat Pay\",\n \"type\" : \"wechatpayWeb\"\n }, {\n \"name\" : \"WE Fashion Giftcard\",\n \"type\" : \"wefashiongiftcard\"\n }, {\n \"name\" : \"Western Union\",\n \"type\" : \"westernunion\"\n }, {\n \"name\" : \"Winkel Cheque\",\n \"type\" : \"winkelcheque\"\n }, {\n \"name\" : \"WOS Card\",\n \"type\" : \"woscard\"\n }, {\n \"name\" : \"Alfa-Click\",\n \"type\" : \"yandex_alfaclick\"\n }, {\n \"name\" : \"Pay using bank card\",\n \"type\" : \"yandex_bank_card\"\n }, {\n \"name\" : \"Cash terminals\",\n \"type\" : \"yandex_cash\"\n }, {\n \"name\" : \"Pay using installments\",\n \"type\" : \"yandex_installments\"\n }, {\n \"name\" : \"YooMoney\",\n \"type\" : \"yandex_money\"\n }, {\n \"name\" : \"Promsvyazbank\",\n \"type\" : \"yandex_promsvyazbank\"\n }, {\n \"name\" : \"SberPay\",\n \"type\" : \"yandex_sberbank\"\n }, {\n \"name\" : \"WebMoney\",\n \"type\" : \"yandex_webmoney\"\n }, {\n \"name\" : \"Your Gift\",\n \"type\" : \"yourgift\"\n }, {\n \"name\" : \"Zip\",\n \"type\" : \"zip\"\n } ]\n}", + "originalRequest": { + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentMethods", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentMethods" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Queries the available payment methods for a transaction based on the transaction context (like amount, country, and currency). Besides giving back a list of the available payment methods, the response also returns which input details you need to collect from the shopper (to be submitted to `/payments`). Although we highly recommend using this endpoint to ensure you are always offering the most up-to-date list of payment methods, its usage is optional. You can, for example, also cache the `/paymentMethods` response and update it once a week." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentMethods", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentMethods" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Queries the available payment methods for a transaction based on the transaction context (like amount, country, and currency). Besides giving back a list of the available payment methods, the response also returns which input details you need to collect from the shopper (to be submitted to `/payments`). Although we highly recommend using this endpoint to ensure you are always offering the most up-to-date list of payment methods, its usage is optional. You can, for example, also cache the `/paymentMethods` response and update it once a week." - } + ] }, { "name": "Get payment methods based on the country and amount", "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 + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl-NL\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentMethods", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentMethods" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Queries the available payment methods for a transaction based on the transaction context (like amount, country, and currency). Besides giving back a list of the available payment methods, the response also returns which input details you need to collect from the shopper (to be submitted to `/payments`). Although we highly recommend using this endpoint to ensure you are always offering the most up-to-date list of payment methods, its usage is optional. You can, for example, also cache the `/paymentMethods` response and update it once a week." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"paymentMethods\" : [ {\n \"details\" : [ {\n \"items\" : [ {\n \"id\" : \"1121\",\n \"name\" : \"Test Issuer\"\n }, {\n \"id\" : \"1154\",\n \"name\" : \"Test Issuer 5\"\n }, {\n \"id\" : \"1153\",\n \"name\" : \"Test Issuer 4\"\n }, {\n \"id\" : \"1152\",\n \"name\" : \"Test Issuer 3\"\n }, {\n \"id\" : \"1151\",\n \"name\" : \"Test Issuer 2\"\n }, {\n \"id\" : \"1162\",\n \"name\" : \"Test Issuer Cancelled\"\n }, {\n \"id\" : \"1161\",\n \"name\" : \"Test Issuer Pending\"\n }, {\n \"id\" : \"1160\",\n \"name\" : \"Test Issuer Refused\"\n }, {\n \"id\" : \"1159\",\n \"name\" : \"Test Issuer 10\"\n }, {\n \"id\" : \"1158\",\n \"name\" : \"Test Issuer 9\"\n }, {\n \"id\" : \"1157\",\n \"name\" : \"Test Issuer 8\"\n }, {\n \"id\" : \"1156\",\n \"name\" : \"Test Issuer 7\"\n }, {\n \"id\" : \"1155\",\n \"name\" : \"Test Issuer 6\"\n } ],\n \"key\" : \"issuer\",\n \"type\" : \"select\"\n } ],\n \"name\" : \"iDEAL\",\n \"type\" : \"ideal\"\n }, {\n \"details\" : [ {\n \"key\" : \"encryptedCardNumber\",\n \"type\" : \"cardToken\"\n }, {\n \"key\" : \"encryptedSecurityCode\",\n \"type\" : \"cardToken\"\n }, {\n \"key\" : \"encryptedExpiryMonth\",\n \"type\" : \"cardToken\"\n }, {\n \"key\" : \"encryptedExpiryYear\",\n \"type\" : \"cardToken\"\n }, {\n \"key\" : \"holderName\",\n \"optional\" : true,\n \"type\" : \"text\"\n } ],\n \"name\" : \"Hitelkártya\",\n \"type\" : \"scheme\"\n }, {\n \"name\" : \"PayPal\",\n \"type\" : \"paypal\"\n }, {\n \"details\" : [ {\n \"details\" : [ {\n \"key\" : \"firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"lastName\",\n \"type\" : \"text\"\n }, {\n \"items\" : [ {\n \"id\" : \"M\",\n \"name\" : \"male\"\n }, {\n \"id\" : \"F\",\n \"name\" : \"female\"\n } ],\n \"key\" : \"gender\",\n \"type\" : \"radio\"\n }, {\n \"key\" : \"dateOfBirth\",\n \"type\" : \"date\"\n }, {\n \"key\" : \"telephoneNumber\",\n \"type\" : \"tel\"\n }, {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n } ],\n \"key\" : \"personalDetails\",\n \"type\" : \"fieldSet\"\n }, {\n \"details\" : [ {\n \"key\" : \"street\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"houseNumberOrName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"city\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"postalCode\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"stateOrProvince\",\n \"optional\" : true,\n \"type\" : \"text\"\n }, {\n \"items\" : [ {\n \"id\" : \"NL\",\n \"name\" : \"Netherlands\"\n }, {\n \"id\" : \"BE\",\n \"name\" : \"Belgium\"\n } ],\n \"key\" : \"country\",\n \"type\" : \"select\",\n \"value\" : \"NL\"\n } ],\n \"key\" : \"billingAddress\",\n \"type\" : \"address\"\n }, {\n \"key\" : \"separateDeliveryAddress\",\n \"optional\" : true,\n \"type\" : \"boolean\",\n \"value\" : \"false\"\n }, {\n \"details\" : [ {\n \"key\" : \"street\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"houseNumberOrName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"city\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"postalCode\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"stateOrProvince\",\n \"optional\" : true,\n \"type\" : \"text\"\n }, {\n \"items\" : [ {\n \"id\" : \"NL\",\n \"name\" : \"Netherlands\"\n }, {\n \"id\" : \"BE\",\n \"name\" : \"Belgium\"\n } ],\n \"key\" : \"country\",\n \"type\" : \"select\",\n \"value\" : \"NL\"\n } ],\n \"key\" : \"deliveryAddress\",\n \"optional\" : true,\n \"type\" : \"address\"\n } ],\n \"name\" : \"AfterPay Invoice\",\n \"type\" : \"afterpay_default\"\n }, {\n \"name\" : \"Pay later with Klarna.\",\n \"type\" : \"klarna\"\n }, {\n \"details\" : [ {\n \"key\" : \"sepa.ownerName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"sepa.ibanNumber\",\n \"type\" : \"text\"\n } ],\n \"name\" : \"SEPA Direct Debit\",\n \"type\" : \"sepadirectdebit\"\n }, {\n \"name\" : \"Paysafecard\",\n \"type\" : \"paysafecard\"\n }, {\n \"name\" : \"Bijenkorf Cadeaucard\",\n \"type\" : \"bijcadeaucard\"\n }, {\n \"name\" : \"Fonq Giftcard\",\n \"type\" : \"fonqgiftcard\"\n }, {\n \"name\" : \"Bank Transfer (NL)\",\n \"type\" : \"bankTransfer_NL\"\n }, {\n \"name\" : \"Pathe Giftcard\",\n \"type\" : \"pathegiftcard\"\n }, {\n \"name\" : \"VVV Giftcard\",\n \"type\" : \"vvvgiftcard\"\n }, {\n \"name\" : \"Podium Card\",\n \"type\" : \"podiumcard\"\n }, {\n \"name\" : \"RatePay Direct Debit\",\n \"type\" : \"ratepay_directdebit\"\n }, {\n \"name\" : \"Rituals Giftcard\",\n \"type\" : \"rituals\"\n }, {\n \"name\" : \"Hunkemoller Lingerie Card\",\n \"type\" : \"hmlingerie\"\n }, {\n \"name\" : \"Primera Cadeaukaart\",\n \"type\" : \"primeracadeaucard\"\n }, {\n \"name\" : \"Fashioncheque\",\n \"type\" : \"fashioncheque\"\n }, {\n \"name\" : \"NETELLER\",\n \"type\" : \"neteller\"\n }, {\n \"name\" : \"Adyen Voucher\",\n \"type\" : \"adyen_test_voucher\"\n }, {\n \"name\" : \"AfterPay B2B\",\n \"type\" : \"afterpay_b2b\"\n }, {\n \"name\" : \"AfterPay DirectDebit\",\n \"type\" : \"afterpay_directdebit\"\n }, {\n \"name\" : \"AliPay\",\n \"type\" : \"alipay\"\n }, {\n \"name\" : \"AliPay\",\n \"type\" : \"alipay_wap\"\n }, {\n \"details\" : [ {\n \"key\" : \"additionalData.androidpay.token\",\n \"type\" : \"androidPayToken\"\n } ],\n \"name\" : \"Android Pay\",\n \"type\" : \"androidpay\"\n }, {\n \"details\" : [ {\n \"key\" : \"additionalData.applepay.token\",\n \"type\" : \"applePayToken\"\n } ],\n \"name\" : \"Apple Pay\",\n \"type\" : \"applepay\"\n }, {\n \"name\" : \"Baby Gift Card\",\n \"type\" : \"babygiftcard\"\n }, {\n \"name\" : \"SEPA Bank Transfer\",\n \"type\" : \"bankTransfer_IBAN\"\n }, {\n \"name\" : \"Bloemen Giftcard\",\n \"type\" : \"bloemengiftcard\"\n }, {\n \"name\" : \"Boekenbon Giftcard\",\n \"type\" : \"boekenbon\"\n }, {\n \"name\" : \"Cash-Ticket\",\n \"type\" : \"cashticket\"\n }, {\n \"name\" : \"Chasin Giftcard\",\n \"type\" : \"chasingiftcard\"\n }, {\n \"name\" : \"ClickandBuy\",\n \"type\" : \"clickandbuy\"\n }, {\n \"name\" : \"Costes Giftcard\",\n \"type\" : \"costesgiftcard\"\n }, {\n \"name\" : \"custom_settlement\",\n \"type\" : \"custom_settlement\"\n }, {\n \"name\" : \"eft_directdebit_CA\",\n \"type\" : \"eft_directdebit_CA\"\n }, {\n \"name\" : \"Nationale Entertainment Card\",\n \"type\" : \"entertainmentcard\"\n }, {\n \"name\" : \"Expert Cadeaukaart\",\n \"type\" : \"expertgiftcard\"\n }, {\n \"name\" : \"FijnCadeau\",\n \"type\" : \"fijncadeau\"\n }, {\n \"name\" : \"Fleurop Bloemenbon\",\n \"type\" : \"fleuropbloemenbon\"\n }, {\n \"name\" : \"Gall & Gall\",\n \"type\" : \"gallgall\"\n }, {\n \"name\" : \"Generic GiftCard\",\n \"type\" : \"genericgiftcard\"\n }, {\n \"name\" : \"GiftFor2\",\n \"type\" : \"giftfor2card\"\n }, {\n \"name\" : \"Givex\",\n \"type\" : \"givex\"\n }, {\n \"name\" : \"Goldsmiths Card\",\n \"type\" : \"goldsmithscard\"\n }, {\n \"name\" : \"Hunkemoller Member Card\",\n \"type\" : \"hmclub\"\n }, {\n \"name\" : \"Phone Payment\",\n \"type\" : \"ivr\"\n }, {\n \"name\" : \"Landline phone\",\n \"type\" : \"ivrLandline\"\n }, {\n \"name\" : \"Mobile phone\",\n \"type\" : \"ivrMobile\"\n }, {\n \"name\" : \"Kado Wereld\",\n \"type\" : \"kadowereld\"\n }, {\n \"name\" : \"Karen Millen GiftCard\",\n \"type\" : \"karenmillengiftcard\"\n }, {\n \"name\" : \"Leisure Card\",\n \"type\" : \"leisurecard\"\n }, {\n \"name\" : \"Loods5 Cadeaukaart\",\n \"type\" : \"loods5giftcard\"\n }, {\n \"name\" : \"Loods5 Tegoedbon\",\n \"type\" : \"loods5prepaidcard\"\n }, {\n \"details\" : [ {\n \"key\" : \"additionalData.amazonPayToken\",\n \"type\" : \"text\"\n } ],\n \"name\" : \"Amazon Pay\",\n \"supportsRecurring\" : true,\n \"type\" : \"amazonpay\"\n }, {\n \"name\" : \"MOLPoints\",\n \"type\" : \"molpay_points\"\n }, {\n \"name\" : \"Moneybookers\",\n \"type\" : \"moneybookers\"\n }, {\n \"name\" : \"De Nationale Musicalcard\",\n \"type\" : \"musicalcard\"\n }, {\n \"name\" : \"Nationale Bioscoopbon\",\n \"type\" : \"nationalebioscoopbon\"\n }, {\n \"name\" : \"Nationale Tuinbon\",\n \"type\" : \"nationaletuinbon\"\n }, {\n \"name\" : \"Nationale Verwen Cadeaubon\",\n \"type\" : \"nationaleverwencadeaubon\"\n }, {\n \"name\" : \"Onebip\",\n \"type\" : \"onebip\"\n }, {\n \"details\" : [ {\n \"key\" : \"additionalData.paywithgoogle.token\",\n \"type\" : \"payWithGoogleToken\"\n } ],\n \"name\" : \"Google Pay\",\n \"type\" : \"paywithgoogle\"\n }, {\n \"name\" : \"Plastix\",\n \"type\" : \"plastix\"\n }, {\n \"name\" : \"Pluim\",\n \"type\" : \"pluimgiftcard\"\n }, {\n \"name\" : \"Illicado Gift Card\",\n \"type\" : \"prosodie_illicado\"\n }, {\n \"name\" : \"RatePay Invoice\",\n \"type\" : \"ratepay\"\n }, {\n \"name\" : \"Rob Peetoom Giftcard\",\n \"type\" : \"robpeetoomgiftcard\"\n }, {\n \"name\" : \"Shoes&Accessories Cadeau\",\n \"type\" : \"sagiftcard\"\n }, {\n \"name\" : \"Score Giftcard\",\n \"type\" : \"scoregiftcard\"\n }, {\n \"name\" : \"Premium SMS\",\n \"type\" : \"sms\"\n }, {\n \"name\" : \"SVS\",\n \"type\" : \"svs\"\n }, {\n \"name\" : \"TCS Test GiftCard\",\n \"type\" : \"tcstestgiftcard\"\n }, {\n \"name\" : \"The Sting Giftcard\",\n \"type\" : \"thestinggiftcard\"\n }, {\n \"name\" : \"Ukash\",\n \"type\" : \"ukash\"\n }, {\n \"name\" : \"UnionPay\",\n \"type\" : \"unionpay\"\n }, {\n \"name\" : \"Valuelink\",\n \"type\" : \"valuelink\"\n }, {\n \"name\" : \"V&D Cadeaukaart\",\n \"type\" : \"vdcadeaucard\"\n }, {\n \"details\" : [ {\n \"key\" : \"additionalData.visacheckout.callId\",\n \"type\" : \"text\"\n } ],\n \"name\" : \"Visa Checkout\",\n \"type\" : \"visacheckout\"\n }, {\n \"name\" : \"VVV Cadeaubon\",\n \"type\" : \"vvvcadeaubon\"\n }, {\n \"name\" : \"Webshop Giftcard\",\n \"type\" : \"webshopgiftcard\"\n }, {\n \"name\" : \"WE Fashion Giftcard\",\n \"type\" : \"wefashiongiftcard\"\n }, {\n \"name\" : \"Western Union\",\n \"type\" : \"westernunion\"\n }, {\n \"name\" : \"Winkel Cheque\",\n \"type\" : \"winkelcheque\"\n }, {\n \"name\" : \"Your Gift\",\n \"type\" : \"yourgift\"\n } ]\n}", + "originalRequest": { + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl-NL\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentMethods", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentMethods" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Queries the available payment methods for a transaction based on the transaction context (like amount, country, and currency). Besides giving back a list of the available payment methods, the response also returns which input details you need to collect from the shopper (to be submitted to `/payments`). Although we highly recommend using this endpoint to ensure you are always offering the most up-to-date list of payment methods, its usage is optional. You can, for example, also cache the `/paymentMethods` response and update it once a week." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl-NL\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n }\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentMethods", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentMethods" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Queries the available payment methods for a transaction based on the transaction context (like amount, country, and currency). Besides giving back a list of the available payment methods, the response also returns which input details you need to collect from the shopper (to be submitted to `/payments`). Although we highly recommend using this endpoint to ensure you are always offering the most up-to-date list of payment methods, its usage is optional. You can, for example, also cache the `/paymentMethods` response and update it once a week." - } + ] }, { "name": "Get payment methods including stored card details", "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 + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"countryCode\" : \"NL\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentMethods", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentMethods" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Queries the available payment methods for a transaction based on the transaction context (like amount, country, and currency). Besides giving back a list of the available payment methods, the response also returns which input details you need to collect from the shopper (to be submitted to `/payments`). Although we highly recommend using this endpoint to ensure you are always offering the most up-to-date list of payment methods, its usage is optional. You can, for example, also cache the `/paymentMethods` response and update it once a week." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"paymentMethods\" : [ {\n \"details\" : [ {\n \"items\" : [ {\n \"id\" : \"1121\",\n \"name\" : \"Test Issuer\"\n }, {\n \"id\" : \"1154\",\n \"name\" : \"Test Issuer 5\"\n }, {\n \"id\" : \"1153\",\n \"name\" : \"Test Issuer 4\"\n }, {\n \"id\" : \"1152\",\n \"name\" : \"Test Issuer 3\"\n }, {\n \"id\" : \"1151\",\n \"name\" : \"Test Issuer 2\"\n }, {\n \"id\" : \"1162\",\n \"name\" : \"Test Issuer Cancelled\"\n }, {\n \"id\" : \"1161\",\n \"name\" : \"Test Issuer Pending\"\n }, {\n \"id\" : \"1160\",\n \"name\" : \"Test Issuer Refused\"\n }, {\n \"id\" : \"1159\",\n \"name\" : \"Test Issuer 10\"\n }, {\n \"id\" : \"1158\",\n \"name\" : \"Test Issuer 9\"\n }, {\n \"id\" : \"1157\",\n \"name\" : \"Test Issuer 8\"\n }, {\n \"id\" : \"1156\",\n \"name\" : \"Test Issuer 7\"\n }, {\n \"id\" : \"1155\",\n \"name\" : \"Test Issuer 6\"\n } ],\n \"key\" : \"issuer\",\n \"type\" : \"select\"\n } ],\n \"name\" : \"iDEAL\",\n \"type\" : \"ideal\"\n }, {\n \"details\" : [ {\n \"key\" : \"encryptedCardNumber\",\n \"type\" : \"cardToken\"\n }, {\n \"key\" : \"encryptedSecurityCode\",\n \"type\" : \"cardToken\"\n }, {\n \"key\" : \"encryptedExpiryMonth\",\n \"type\" : \"cardToken\"\n }, {\n \"key\" : \"encryptedExpiryYear\",\n \"type\" : \"cardToken\"\n }, {\n \"key\" : \"holderName\",\n \"optional\" : true,\n \"type\" : \"text\"\n } ],\n \"name\" : \"Credit Card\",\n \"type\" : \"scheme\"\n }, {\n \"name\" : \"PayPal\",\n \"type\" : \"paypal\"\n }, {\n \"details\" : [ {\n \"details\" : [ {\n \"key\" : \"firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"lastName\",\n \"type\" : \"text\"\n }, {\n \"items\" : [ {\n \"id\" : \"M\",\n \"name\" : \"male\"\n }, {\n \"id\" : \"F\",\n \"name\" : \"female\"\n } ],\n \"key\" : \"gender\",\n \"type\" : \"radio\"\n }, {\n \"key\" : \"dateOfBirth\",\n \"type\" : \"date\"\n }, {\n \"key\" : \"telephoneNumber\",\n \"type\" : \"tel\"\n }, {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n } ],\n \"key\" : \"personalDetails\",\n \"type\" : \"fieldSet\"\n }, {\n \"details\" : [ {\n \"key\" : \"street\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"houseNumberOrName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"city\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"postalCode\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"stateOrProvince\",\n \"optional\" : true,\n \"type\" : \"text\"\n }, {\n \"items\" : [ {\n \"id\" : \"NL\",\n \"name\" : \"Netherlands\"\n }, {\n \"id\" : \"BE\",\n \"name\" : \"Belgium\"\n } ],\n \"key\" : \"country\",\n \"type\" : \"select\",\n \"value\" : \"NL\"\n } ],\n \"key\" : \"billingAddress\",\n \"type\" : \"address\"\n }, {\n \"key\" : \"separateDeliveryAddress\",\n \"optional\" : true,\n \"type\" : \"boolean\",\n \"value\" : \"false\"\n }, {\n \"details\" : [ {\n \"key\" : \"street\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"houseNumberOrName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"city\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"postalCode\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"stateOrProvince\",\n \"optional\" : true,\n \"type\" : \"text\"\n }, {\n \"items\" : [ {\n \"id\" : \"NL\",\n \"name\" : \"Netherlands\"\n }, {\n \"id\" : \"BE\",\n \"name\" : \"Belgium\"\n } ],\n \"key\" : \"country\",\n \"type\" : \"select\",\n \"value\" : \"NL\"\n } ],\n \"key\" : \"deliveryAddress\",\n \"optional\" : true,\n \"type\" : \"address\"\n } ],\n \"name\" : \"AfterPay Invoice\",\n \"type\" : \"afterpay_default\"\n }, {\n \"name\" : \"Pay later with Klarna.\",\n \"type\" : \"klarna\"\n }, {\n \"details\" : [ {\n \"key\" : \"sepa.ownerName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"sepa.ibanNumber\",\n \"type\" : \"text\"\n } ],\n \"name\" : \"SEPA Direct Debit\",\n \"type\" : \"sepadirectdebit\"\n }, {\n \"name\" : \"Paysafecard\",\n \"type\" : \"paysafecard\"\n }, {\n \"name\" : \"Bijenkorf Cadeaucard\",\n \"type\" : \"bijcadeaucard\"\n }, {\n \"name\" : \"Fonq Giftcard\",\n \"type\" : \"fonqgiftcard\"\n }, {\n \"name\" : \"Bank Transfer (NL)\",\n \"type\" : \"bankTransfer_NL\"\n }, {\n \"name\" : \"Pathe Giftcard\",\n \"type\" : \"pathegiftcard\"\n }, {\n \"name\" : \"VVV Giftcard\",\n \"type\" : \"vvvgiftcard\"\n }, {\n \"name\" : \"Podium Card\",\n \"type\" : \"podiumcard\"\n }, {\n \"name\" : \"RatePay Direct Debit\",\n \"type\" : \"ratepay_directdebit\"\n }, {\n \"name\" : \"Rituals Giftcard\",\n \"type\" : \"rituals\"\n }, {\n \"name\" : \"Hunkemoller Lingerie Card\",\n \"type\" : \"hmlingerie\"\n }, {\n \"name\" : \"Primera Cadeaukaart\",\n \"type\" : \"primeracadeaucard\"\n }, {\n \"name\" : \"Fashioncheque\",\n \"type\" : \"fashioncheque\"\n }, {\n \"name\" : \"NETELLER\",\n \"type\" : \"neteller\"\n }, {\n \"name\" : \"Adyen Voucher\",\n \"type\" : \"adyen_test_voucher\"\n }, {\n \"name\" : \"AfterPay B2B\",\n \"type\" : \"afterpay_b2b\"\n }, {\n \"name\" : \"AfterPay DirectDebit\",\n \"type\" : \"afterpay_directdebit\"\n }, {\n \"name\" : \"AliPay\",\n \"type\" : \"alipay\"\n }, {\n \"name\" : \"AliPay\",\n \"type\" : \"alipay_wap\"\n }, {\n \"details\" : [ {\n \"key\" : \"additionalData.androidpay.token\",\n \"type\" : \"androidPayToken\"\n } ],\n \"name\" : \"Android Pay\",\n \"type\" : \"androidpay\"\n }, {\n \"details\" : [ {\n \"key\" : \"additionalData.applepay.token\",\n \"type\" : \"applePayToken\"\n } ],\n \"name\" : \"Apple Pay\",\n \"type\" : \"applepay\"\n }, {\n \"name\" : \"Baby Gift Card\",\n \"type\" : \"babygiftcard\"\n }, {\n \"name\" : \"SEPA Bank Transfer\",\n \"type\" : \"bankTransfer_IBAN\"\n }, {\n \"name\" : \"Bloemen Giftcard\",\n \"type\" : \"bloemengiftcard\"\n }, {\n \"name\" : \"Boekenbon Giftcard\",\n \"type\" : \"boekenbon\"\n }, {\n \"name\" : \"Cash-Ticket\",\n \"type\" : \"cashticket\"\n }, {\n \"name\" : \"Chasin Giftcard\",\n \"type\" : \"chasingiftcard\"\n }, {\n \"name\" : \"ClickandBuy\",\n \"type\" : \"clickandbuy\"\n }, {\n \"name\" : \"Costes Giftcard\",\n \"type\" : \"costesgiftcard\"\n }, {\n \"name\" : \"custom_settlement\",\n \"type\" : \"custom_settlement\"\n }, {\n \"name\" : \"eft_directdebit_CA\",\n \"type\" : \"eft_directdebit_CA\"\n }, {\n \"name\" : \"Nationale Entertainment Card\",\n \"type\" : \"entertainmentcard\"\n }, {\n \"name\" : \"Expert Cadeaukaart\",\n \"type\" : \"expertgiftcard\"\n }, {\n \"name\" : \"FijnCadeau\",\n \"type\" : \"fijncadeau\"\n }, {\n \"name\" : \"Fleurop Bloemenbon\",\n \"type\" : \"fleuropbloemenbon\"\n }, {\n \"name\" : \"Gall & Gall\",\n \"type\" : \"gallgall\"\n }, {\n \"name\" : \"Generic GiftCard\",\n \"type\" : \"genericgiftcard\"\n }, {\n \"name\" : \"GiftFor2\",\n \"type\" : \"giftfor2card\"\n }, {\n \"name\" : \"Givex\",\n \"type\" : \"givex\"\n }, {\n \"name\" : \"Goldsmiths Card\",\n \"type\" : \"goldsmithscard\"\n }, {\n \"name\" : \"Hunkemoller Member Card\",\n \"type\" : \"hmclub\"\n }, {\n \"name\" : \"Phone Payment\",\n \"type\" : \"ivr\"\n }, {\n \"name\" : \"Landline phone\",\n \"type\" : \"ivrLandline\"\n }, {\n \"name\" : \"Mobile phone\",\n \"type\" : \"ivrMobile\"\n }, {\n \"name\" : \"Kado Wereld\",\n \"type\" : \"kadowereld\"\n }, {\n \"name\" : \"Karen Millen GiftCard\",\n \"type\" : \"karenmillengiftcard\"\n }, {\n \"name\" : \"Leisure Card\",\n \"type\" : \"leisurecard\"\n }, {\n \"name\" : \"Loods5 Cadeaukaart\",\n \"type\" : \"loods5giftcard\"\n }, {\n \"name\" : \"Loods5 Tegoedbon\",\n \"type\" : \"loods5prepaidcard\"\n }, {\n \"details\" : [ {\n \"key\" : \"additionalData.amazonPayToken\",\n \"type\" : \"text\"\n } ],\n \"name\" : \"Amazon Pay\",\n \"supportsRecurring\" : true,\n \"type\" : \"amazonpay\"\n }, {\n \"name\" : \"MOLPoints\",\n \"type\" : \"molpay_points\"\n }, {\n \"name\" : \"Moneybookers\",\n \"type\" : \"moneybookers\"\n }, {\n \"name\" : \"De Nationale Musicalcard\",\n \"type\" : \"musicalcard\"\n }, {\n \"name\" : \"Nationale Bioscoopbon\",\n \"type\" : \"nationalebioscoopbon\"\n }, {\n \"name\" : \"Nationale Tuinbon\",\n \"type\" : \"nationaletuinbon\"\n }, {\n \"name\" : \"Nationale Verwen Cadeaubon\",\n \"type\" : \"nationaleverwencadeaubon\"\n }, {\n \"name\" : \"Onebip\",\n \"type\" : \"onebip\"\n }, {\n \"details\" : [ {\n \"key\" : \"additionalData.paywithgoogle.token\",\n \"type\" : \"payWithGoogleToken\"\n } ],\n \"name\" : \"Google Pay\",\n \"type\" : \"paywithgoogle\"\n }, {\n \"name\" : \"Plastix\",\n \"type\" : \"plastix\"\n }, {\n \"name\" : \"Pluim\",\n \"type\" : \"pluimgiftcard\"\n }, {\n \"name\" : \"Illicado Gift Card\",\n \"type\" : \"prosodie_illicado\"\n }, {\n \"name\" : \"RatePay Invoice\",\n \"type\" : \"ratepay\"\n }, {\n \"name\" : \"Rob Peetoom Giftcard\",\n \"type\" : \"robpeetoomgiftcard\"\n }, {\n \"name\" : \"Shoes&Accessories Cadeau\",\n \"type\" : \"sagiftcard\"\n }, {\n \"name\" : \"Score Giftcard\",\n \"type\" : \"scoregiftcard\"\n }, {\n \"name\" : \"Premium SMS\",\n \"type\" : \"sms\"\n }, {\n \"name\" : \"SVS\",\n \"type\" : \"svs\"\n }, {\n \"name\" : \"TCS Test GiftCard\",\n \"type\" : \"tcstestgiftcard\"\n }, {\n \"name\" : \"The Sting Giftcard\",\n \"type\" : \"thestinggiftcard\"\n }, {\n \"name\" : \"Ukash\",\n \"type\" : \"ukash\"\n }, {\n \"name\" : \"UnionPay\",\n \"type\" : \"unionpay\"\n }, {\n \"name\" : \"Valuelink\",\n \"type\" : \"valuelink\"\n }, {\n \"name\" : \"V&D Cadeaukaart\",\n \"type\" : \"vdcadeaucard\"\n }, {\n \"details\" : [ {\n \"key\" : \"additionalData.visacheckout.callId\",\n \"type\" : \"text\"\n } ],\n \"name\" : \"Visa Checkout\",\n \"type\" : \"visacheckout\"\n }, {\n \"name\" : \"VVV Cadeaubon\",\n \"type\" : \"vvvcadeaubon\"\n }, {\n \"name\" : \"Webshop Giftcard\",\n \"type\" : \"webshopgiftcard\"\n }, {\n \"name\" : \"WE Fashion Giftcard\",\n \"type\" : \"wefashiongiftcard\"\n }, {\n \"name\" : \"Western Union\",\n \"type\" : \"westernunion\"\n }, {\n \"name\" : \"Winkel Cheque\",\n \"type\" : \"winkelcheque\"\n }, {\n \"name\" : \"Your Gift\",\n \"type\" : \"yourgift\"\n } ]\n}", + "originalRequest": { + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"countryCode\" : \"NL\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentMethods", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentMethods" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Queries the available payment methods for a transaction based on the transaction context (like amount, country, and currency). Besides giving back a list of the available payment methods, the response also returns which input details you need to collect from the shopper (to be submitted to `/payments`). Although we highly recommend using this endpoint to ensure you are always offering the most up-to-date list of payment methods, its usage is optional. You can, for example, also cache the `/paymentMethods` response and update it once a week." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"countryCode\" : \"NL\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentMethods", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentMethods" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Queries the available payment methods for a transaction based on the transaction context (like amount, country, and currency). Besides giving back a list of the available payment methods, the response also returns which input details you need to collect from the shopper (to be submitted to `/payments`). Although we highly recommend using this endpoint to ensure you are always offering the most up-to-date list of payment methods, its usage is optional. You can, for example, also cache the `/paymentMethods` response and update it once a week." - } + ] } ] - } -, + }, { "name": "/payments", "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. ", @@ -1421,839 +2692,1385 @@ { "name": "Make an Apple Pay payment", "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"applepay\",\n \"applePayToken\" : \"VNRWtuNlNEWkRCSm1xWndjMDFFbktkQU...\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"applepay\",\n \"applePayToken\" : \"VNRWtuNlNEWkRCSm1xWndjMDFFbktkQU...\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + ] }, { "name": "Make a card payment with 3D Secure 2 native authentication", "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 + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"{{$guid}}\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4917610000000000\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\",\n \"cvc\" : \"737\"\n },\n \"additionalData\" : {\n \"allow3DS2\" : \"true\"\n },\n \"accountInfo\" : {\n \"accountCreationDate\" : \"2019-01-17T13:42:40+01:00\"\n },\n \"billingAddress\" : {\n \"country\" : \"US\",\n \"city\" : \"New York\",\n \"street\" : \"Redwood Block\",\n \"houseNumberOrName\" : \"37C\",\n \"stateOrProvince\" : \"NY\",\n \"postalCode\" : \"10039\"\n },\n \"shopperEmail\" : \"s.hopper@test.com\",\n \"shopperIP\" : \"192.0.2.1\",\n \"browserInfo\" : {\n \"userAgent\" : \"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.110 Safari/537.36\",\n \"acceptHeader\" : \"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8\",\n \"language\" : \"nl-NL\",\n \"colorDepth\" : 24,\n \"screenHeight\" : 723,\n \"screenWidth\" : 1536,\n \"timeZoneOffset\" : 0,\n \"javaEnabled\" : true\n },\n \"channel\" : \"Web\",\n \"origin\" : \"https://your-company.com\",\n \"returnUrl\" : \"https://your-company.com/checkout/\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"additionalData\" : {\n \"cvcResult\" : \"1 Matches\",\n \"authCode\" : \"044410\",\n \"avsResult\" : \"4 AVS not supported for this card type\",\n \"avsResultRaw\" : \"4\",\n \"cvcResultRaw\" : \"M\",\n \"refusalReasonRaw\" : \"AUTHORISED\",\n \"acquirerCode\" : \"TestPmmAcquirer\",\n \"acquirerReference\" : \"8PQMP9TI1O2\"\n },\n \"pspReference\" : \"993617895005515H\",\n \"resultCode\" : \"Authorised\"\n}", + "originalRequest": { + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"{{$guid}}\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4917610000000000\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\",\n \"cvc\" : \"737\"\n },\n \"additionalData\" : {\n \"allow3DS2\" : \"true\"\n },\n \"accountInfo\" : {\n \"accountCreationDate\" : \"2019-01-17T13:42:40+01:00\"\n },\n \"billingAddress\" : {\n \"country\" : \"US\",\n \"city\" : \"New York\",\n \"street\" : \"Redwood Block\",\n \"houseNumberOrName\" : \"37C\",\n \"stateOrProvince\" : \"NY\",\n \"postalCode\" : \"10039\"\n },\n \"shopperEmail\" : \"s.hopper@test.com\",\n \"shopperIP\" : \"192.0.2.1\",\n \"browserInfo\" : {\n \"userAgent\" : \"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.110 Safari/537.36\",\n \"acceptHeader\" : \"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8\",\n \"language\" : \"nl-NL\",\n \"colorDepth\" : 24,\n \"screenHeight\" : 723,\n \"screenWidth\" : 1536,\n \"timeZoneOffset\" : 0,\n \"javaEnabled\" : true\n },\n \"channel\" : \"Web\",\n \"origin\" : \"https://your-company.com\",\n \"returnUrl\" : \"https://your-company.com/checkout/\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"{{$guid}}\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4917610000000000\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\",\n \"cvc\" : \"737\"\n },\n \"additionalData\" : {\n \"allow3DS2\" : \"true\"\n },\n \"accountInfo\" : {\n \"accountCreationDate\" : \"2019-01-17T13:42:40+01:00\"\n },\n \"billingAddress\" : {\n \"country\" : \"US\",\n \"city\" : \"New York\",\n \"street\" : \"Redwood Block\",\n \"houseNumberOrName\" : \"37C\",\n \"stateOrProvince\" : \"NY\",\n \"postalCode\" : \"10039\"\n },\n \"shopperEmail\" : \"s.hopper@test.com\",\n \"shopperIP\" : \"192.0.2.1\",\n \"browserInfo\" : {\n \"userAgent\" : \"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.110 Safari/537.36\",\n \"acceptHeader\" : \"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8\",\n \"language\" : \"nl-NL\",\n \"colorDepth\" : 24,\n \"screenHeight\" : 723,\n \"screenWidth\" : 1536,\n \"timeZoneOffset\" : 0,\n \"javaEnabled\" : true\n },\n \"channel\" : \"Web\",\n \"origin\" : \"https://your-company.com\",\n \"returnUrl\" : \"https://your-company.com/checkout/\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + ] }, { "name": "Make a card payment with 3D Secure redirect authentication", "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 + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4212345678901237\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\",\n \"cvc\" : \"737\"\n },\n \"browserInfo\" : {\n \"colorDepth\" : 24,\n \"screenHeight\" : 1800,\n \"screenWidth\" : 2880,\n \"timeZoneOffset\" : 60,\n \"language\" : \"nl\",\n \"userAgent\" : \"Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9) Gecko/2008052912 Firefox/3.0\",\n \"acceptHeader\" : \"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8\",\n \"javaEnabled\" : true\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"additionalData\" : {\n \"cvcResult\" : \"1 Matches\",\n \"authCode\" : \"074516\",\n \"avsResult\" : \"4 AVS not supported for this card type\",\n \"avsResultRaw\" : \"4\",\n \"cvcResultRaw\" : \"M\",\n \"refusalReasonRaw\" : \"AUTHORISED\",\n \"acquirerCode\" : \"TestPmmAcquirer\",\n \"acquirerReference\" : \"8PQMP9SJ7DN\"\n },\n \"pspReference\" : \"993617894903480A\",\n \"resultCode\" : \"Authorised\"\n}", + "originalRequest": { + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4212345678901237\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\",\n \"cvc\" : \"737\"\n },\n \"browserInfo\" : {\n \"colorDepth\" : 24,\n \"screenHeight\" : 1800,\n \"screenWidth\" : 2880,\n \"timeZoneOffset\" : 60,\n \"language\" : \"nl\",\n \"userAgent\" : \"Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9) Gecko/2008052912 Firefox/3.0\",\n \"acceptHeader\" : \"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8\",\n \"javaEnabled\" : true\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4212345678901237\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\",\n \"cvc\" : \"737\"\n },\n \"browserInfo\" : {\n \"colorDepth\" : 24,\n \"screenHeight\" : 1800,\n \"screenWidth\" : 2880,\n \"timeZoneOffset\" : 60,\n \"language\" : \"nl\",\n \"userAgent\" : \"Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9) Gecko/2008052912 Firefox/3.0\",\n \"acceptHeader\" : \"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8\",\n \"javaEnabled\" : true\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + ] }, { "name": "Make a payment with 3D Secure 2 native authentication, using encrypted card details", "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 + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"encryptedCardNumber\" : \"test_4212345678901237\",\n \"encryptedExpiryMonth\" : \"test_03\",\n \"encryptedExpiryYear\" : \"test_2030\",\n \"encryptedSecurityCode\" : \"test_737\",\n \"holderName\" : \"John Smith\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"additionalData\" : {\n \"cvcResult\" : \"1 Matches\",\n \"authCode\" : \"083996\",\n \"avsResult\" : \"4 AVS not supported for this card type\",\n \"avsResultRaw\" : \"4\",\n \"cvcResultRaw\" : \"M\",\n \"refusalReasonRaw\" : \"AUTHORISED\",\n \"acquirerCode\" : \"TestPmmAcquirer\",\n \"acquirerReference\" : \"8PQMP9SJH66\"\n },\n \"pspReference\" : \"993617894905481G\",\n \"resultCode\" : \"Authorised\"\n}", + "originalRequest": { + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"encryptedCardNumber\" : \"test_4212345678901237\",\n \"encryptedExpiryMonth\" : \"test_03\",\n \"encryptedExpiryYear\" : \"test_2030\",\n \"encryptedSecurityCode\" : \"test_737\",\n \"holderName\" : \"John Smith\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"encryptedCardNumber\" : \"test_4212345678901237\",\n \"encryptedExpiryMonth\" : \"test_03\",\n \"encryptedExpiryYear\" : \"test_2030\",\n \"encryptedSecurityCode\" : \"test_737\",\n \"holderName\" : \"John Smith\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + ] }, { "name": "Make a card payment", "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 + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4111111111111111\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\",\n \"cvc\" : \"737\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"additionalData\" : {\n \"cvcResult\" : \"1 Matches\",\n \"authCode\" : \"036240\",\n \"avsResult\" : \"4 AVS not supported for this card type\",\n \"avsResultRaw\" : \"4\",\n \"cvcResultRaw\" : \"M\",\n \"refusalReasonRaw\" : \"AUTHORISED\",\n \"acquirerCode\" : \"TestPmmAcquirer\",\n \"acquirerReference\" : \"8PQMP9SJQUL\"\n },\n \"pspReference\" : \"993617894906488A\",\n \"resultCode\" : \"Authorised\"\n}", + "originalRequest": { + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4111111111111111\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\",\n \"cvc\" : \"737\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4111111111111111\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\",\n \"cvc\" : \"737\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + ] }, { "name": "Make a card payment using encrypted card details", "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 + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"encryptedCardNumber\" : \"test_4111111111111111\",\n \"encryptedExpiryMonth\" : \"test_03\",\n \"encryptedExpiryYear\" : \"test_2030\",\n \"encryptedSecurityCode\" : \"test_737\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"additionalData\" : {\n \"cvcResult\" : \"1 Matches\",\n \"authCode\" : \"064649\",\n \"avsResult\" : \"4 AVS not supported for this card type\",\n \"avsResultRaw\" : \"4\",\n \"cvcResultRaw\" : \"M\",\n \"refusalReasonRaw\" : \"AUTHORISED\",\n \"acquirerCode\" : \"TestPmmAcquirer\",\n \"acquirerReference\" : \"8PQMP9SM92L\"\n },\n \"pspReference\" : \"993617894914488A\",\n \"resultCode\" : \"Authorised\"\n}", + "originalRequest": { + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"encryptedCardNumber\" : \"test_4111111111111111\",\n \"encryptedExpiryMonth\" : \"test_03\",\n \"encryptedExpiryYear\" : \"test_2030\",\n \"encryptedSecurityCode\" : \"test_737\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"encryptedCardNumber\" : \"test_4111111111111111\",\n \"encryptedExpiryMonth\" : \"test_03\",\n \"encryptedExpiryYear\" : \"test_2030\",\n \"encryptedSecurityCode\" : \"test_737\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + ] }, { "name": "Tokenize card details for one-off payments, using encrypted card details", "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"encryptedCardNumber\" : \"adyenjs_0_1_18$MT6ppy0FAMVMLH...\",\n \"encryptedExpiryMonth\" : \"adyenjs_0_1_18$MT6ppy0FAMVMLH...\",\n \"encryptedExpiryYear\" : \"adyenjs_0_1_18$MT6ppy0FAMVMLH...\",\n \"encryptedSecurityCode\" : \"adyenjs_0_1_18$MT6ppy0FAMVMLH...\"\n },\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"encryptedCardNumber\" : \"adyenjs_0_1_18$MT6ppy0FAMVMLH...\",\n \"encryptedExpiryMonth\" : \"adyenjs_0_1_18$MT6ppy0FAMVMLH...\",\n \"encryptedExpiryYear\" : \"adyenjs_0_1_18$MT6ppy0FAMVMLH...\",\n \"encryptedSecurityCode\" : \"adyenjs_0_1_18$MT6ppy0FAMVMLH...\"\n },\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + ] }, { "name": "Tokenize card details for one-off payments", "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 + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4111111111111111\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\",\n \"cvc\" : \"737\"\n },\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"storePaymentMethod\" : true,\n \"shopperInteraction\" : \"Ecommerce\",\n \"recurringProcessingModel\" : \"CardOnFile\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"additionalData\" : {\n \"cvcResult\" : \"1 Matches\",\n \"authCode\" : \"022966\",\n \"avsResult\" : \"4 AVS not supported for this card type\",\n \"recurring.recurringDetailReference\" : \"9916178934434753\",\n \"recurringProcessingModel\" : \"CardOnFile\",\n \"avsResultRaw\" : \"4\",\n \"cvcResultRaw\" : \"M\",\n \"refusalReasonRaw\" : \"AUTHORISED\",\n \"recurring.shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID\",\n \"acquirerCode\" : \"TestPmmAcquirer\",\n \"acquirerReference\" : \"8PQMP9T0BB6\"\n },\n \"pspReference\" : \"993617894947495G\",\n \"resultCode\" : \"Authorised\"\n}", + "originalRequest": { + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4111111111111111\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\",\n \"cvc\" : \"737\"\n },\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"storePaymentMethod\" : true,\n \"shopperInteraction\" : \"Ecommerce\",\n \"recurringProcessingModel\" : \"CardOnFile\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4111111111111111\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\",\n \"cvc\" : \"737\"\n },\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"storePaymentMethod\" : true,\n \"shopperInteraction\" : \"Ecommerce\",\n \"recurringProcessingModel\" : \"CardOnFile\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + ] }, { "name": "Make a Google Pay payment", "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"paywithgoogle\",\n \"googlePayToken\" : \"==Payload as retrieved from Google Pay response==\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"YourMerchantAccount\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"paywithgoogle\",\n \"googlePayToken\" : \"==Payload as retrieved from Google Pay response==\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"YourMerchantAccount\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + ] }, { "name": "Make an iDEAL payment", "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 + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"ideal\",\n \"issuer\" : \"1121\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"resultCode\" : \"RedirectShopper\",\n \"details\" : [ {\n \"key\" : \"payload\",\n \"type\" : \"text\"\n } ],\n \"paymentData\" : \"Ab02b4c0!BQABAgBOBkMn4vBx6T3DgxR+OR/a1zEA0xbGaYKP9mh/vWDSADlyktW39HZckwcm4Wr9kw2TvE9SYngEf9f6kZb1OimKls3+HEn3dRGOrTbWZZ8/tpmlS62YoDh1eQIE3EHZsUm7CQxhXjm8F0HQCelzIkVgj8DpLgtxwM3nFZxfpzl91HSt9CP/GIsx8S/RPVG2Fwg2S/jtdQ4MlFeG89S+icDvTecTyGoYFZlS/KL77Q4zJCR8Vgn4M9DJZEGRxv6kApLwDMkMyUMQngN95xDSCdLSW7fKkVusSub2+2hB7rzWxtj1E8R9dbtkCxgTe0F/G7tqrzUfEmseiHoKmaF6F8bN0j6BZiFhQJ/KHXJ6Pb+a7f0qYbQCAZmwYmeSSfNzqIDehyufpL0bP3w38spuso3QlhtPIqSHrIHDIQzbYmxPtt/I6A/RCMXJ7VN4nB6JigEygV383lnr8wd7mEynOQXnq9zEF+GGJy0Ool05WEy8L/mATgg++6bpsuSB2Wea5/VffvG6KcMyzs7OBG9zLAdYcrfqlsyXz/42UBJTeA2s6kVb1sBUfd6CQuQRF+37sjMwKiNIxwVaNWIYZMiWhbqPXOS4ozt0kNCtruhHqHgULPfF6aia/BnZKib6n+pBSepTdS47wZ31xC8VPqsoPia8RGNziLO/MmSMpW2fQRdgrhCrSniHb8qrh0vwgbPB4S7vAEp7ImtleSI6IkFGMEFBQTEwM0NBNTM3RUFFRDg3QzI0REQ1MzkwOUI4MEE3OEE5MjNFMzgyM0Q2OERBQ0M5NEI5RkY4MzA1REMifTMy2HjS+Bb81E9m0fQAZJXCA1BJgLgstBw3wxbdpZevF8c+pSBGUYNUm9ZbwrD93dGdCU2RvlI1gcyKke0cEEqKGjqWFXOWIYkSNzfLrgP3ERdp5t9VGZi6BDQko2CFzP4uAR3jwgR3AP0/mQ/4YWDrBrnYZCWjOpo7izGhNbHYvWbBOqVDvnfReoCrSNSLSo8OfSxuFrN6sJLXrajGu1qbPqQtxFIRyqLgbOfHLHw/DN3I+BZKGrNYynRfM2NparXTQ6ZRgC8E5xIodApr4JHMNeiPTjMlReaLBQwbcqaBzzRNLdV0v8/ZSXexS68WBeUMt7OkomYJBFrpwmpzgx/nzRzV87MZ9TGhZht/1zjcyaSi0Toc6r7UhbADuDX5RH5L0T8Q3iGJfjrYuS5h9aiYSg8oaVJ5DZhJAicDbb8eLvdAGXFTIV+EXbD+4e9Xl+c5um4FdKfufcrrUEo2s6lUuSBSJ3Gf6r+yJMxkamWwfnRUtxt+axRcXfmywYqU7O1r0zzW+RKCbV2qZeUWWeN1u5UIPdJbQbH4633ukPp//aGh8R4IWckBp7DGH4M5P1ZiYJB8OQRS5gD/y+iuwensnq1rKFBOK4gFNSpKmuDQYLeWb5VljHgE1sS4DRhl0fl8UCabehP+3tZu/2i88JTWbdUuvPLmkyv8zQdY36YeSDWmwC40vvbB+lo2e8MgVpfDwn+xyQFpFhasbEyr4VVoPwHq1sGR/QEutxmeoJi1Zux48jSHoGOj5RZ4ei+b8Lxp4rj45wwm0AiROghLnZJZfJaySp/LVxQ=\",\n \"redirect\" : {\n \"method\" : \"GET\",\n \"url\" : \"https://test.adyen.com/hpp/checkout.shtml?u=redirectIdeal&p=eJxtUl1vozAQ-DXwFmQDAfLgh4jSC730Q1yoqr5Urr0NXIlNbUPj-PozXC6qqpOstTWz2p3Z9auigueSA2k50M5ng1IgmJ2hoq78VusBVMkJxiH2D6BYQ4VZMyYHYcgOtLk9YxeyFAb2ippWisDYHki*KfKf9-Xu5UdxV1Rl-t-MEZR2N4nRha7gDSY1QLRRrdh-IcygxBU1lKxWOMFptopXcZZEyc0l51e7J9XdcHpeDTxC4edG1pFF5WMHnw95FtHf3N5z1MWqipKjF17XXnTl99QewNk7zO4wQshXoOtqSxpjei9au0R3Oslo10htHJKhDDmINcDe5WB0I-selEM0qLFloN3z4W-ZUjB5cD4q4K0CZhwz4n-lzjm3YBrJvej626iduq-D9sJEzUNw2hw1qXONlpPA5STRBSsHtXANeyps4O4ZDILA16CnST-SruWtsSREIV6geIGyHU6cI7x0Ic6e-bOXaUuKsmlLpHCFJmXg6-dWzL*kH16DMQzOi0iTNE1xFsXBqRyfot1NwrPRFmGzPr4w3jTHGpX16S3*2H4Um22xB8u5-ANWgt0s\"\n }\n}", + "originalRequest": { + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"ideal\",\n \"issuer\" : \"1121\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"ideal\",\n \"issuer\" : \"1121\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + ] }, { "name": "Make a Klarna payment", "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 \"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" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + "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 \"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" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + ] }, { "name": "Make a one-off payment with a token and CVV", "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"storedPaymentMethodId\" : \"8416038790273850\",\n \"cvc\" : \"737\"\n },\n \"shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID_6738oneoff\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"storedPaymentMethodId\" : \"8416038790273850\",\n \"cvc\" : \"737\"\n },\n \"shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID_6738oneoff\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + ] }, { "name": "Make a one-off payment with a token and CVV, using encrypted card details", "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"recurringDetailReference\" : \"8416038790273850\",\n \"encryptedSecurityCode\" : \"adyenjs_0_1_18$MT6ppy0FAMVMLH...\"\n },\n \"shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID_6738oneoff\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"recurringDetailReference\" : \"8416038790273850\",\n \"encryptedSecurityCode\" : \"adyenjs_0_1_18$MT6ppy0FAMVMLH...\"\n },\n \"shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID_6738oneoff\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + ] }, { "name": "Make a card payment with a token", "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"storedPaymentMethodId\" : \"8316038796685850\"\n },\n \"shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID_IOfW3subscription\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"shopperInteraction\" : \"ContAuth\",\n \"recurringProcessingModel\" : \"Subscription\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"storedPaymentMethodId\" : \"8316038796685850\"\n },\n \"shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID_IOfW3subscription\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"shopperInteraction\" : \"ContAuth\",\n \"recurringProcessingModel\" : \"Subscription\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + ] }, { "name": "Split a payment between balance accounts", "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 + "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 \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4111111111111111\",\n \"cvc\" : \"737\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\"\n },\n \"amount\" : {\n \"value\" : 40000,\n \"currency\" : \"USD\"\n },\n \"reference\" : \"{{$guid}}\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"splits\" : [ {\n \"amount\" : {\n \"value\" : 39600\n },\n \"type\" : \"BalanceAccount\",\n \"account\" : \"BA00000000000000000000001\",\n \"reference\" : \"Your reference for the sale amount\",\n \"description\" : \"Your description for the sale amount\"\n }, {\n \"amount\" : {\n \"value\" : 400\n },\n \"type\" : \"Commission\",\n \"reference\" : \"Your reference for the commission\",\n \"description\" : \"Your description for the commission\"\n }, {\n \"type\" : \"PaymentFee\",\n \"account\" : \"BA00000000000000000000001\",\n \"reference\" : \"Your reference for the fees\",\n \"description\" : \"Your description for the fees\"\n } ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"additionalData\" : {\n \"refusalReasonRaw\" : \"AUTHORISED\",\n \"eci\" : \"N/A\",\n \"acquirerAccountCode\" : \"YOUR_ACQUIRER_ACCOUNT\",\n \"donationToken\" : \"81234567890123456...\",\n \"xid\" : \"N/A\",\n \"threeDAuthenticated\" : \"false\",\n \"paymentMethodVariant\" : \"visa\",\n \"issuerBin\" : \"41111111\",\n \"payoutEligible\" : \"Y\",\n \"fraudManualReview\" : \"false\",\n \"threeDOffered\" : \"false\",\n \"threeDOfferedResponse\" : \"N/A\",\n \"authorisationMid\" : \"50\",\n \"fundsAvailability\" : \"I\",\n \"authorisedAmountCurrency\" : \"USD\",\n \"threeDAuthenticatedResponse\" : \"N/A\",\n \"avsResultRaw\" : \"5\",\n \"retry.attempt1.rawResponse\" : \"AUTHORISED\",\n \"paymentMethod\" : \"visa\",\n \"avsResult\" : \"5 No AVS data provided\",\n \"cardSummary\" : \"1111\",\n \"retry.attempt1.avsResultRaw\" : \"5\",\n \"networkTxReference\" : \"777718270854480\",\n \"expiryDate\" : \"3/2030\",\n \"cavvAlgorithm\" : \"N/A\",\n \"cardBin\" : \"411111\",\n \"alias\" : \"8915844059375211\",\n \"cvcResultRaw\" : \"M\",\n \"merchantReference\" : \"YOUR_ORDER_NUMBER\",\n \"acquirerReference\" : \"YOUR_ACQUIRER_REFERENCE\",\n \"cardIssuingCountry\" : \"NL\",\n \"liabilityShift\" : \"false\",\n \"fraudResultType\" : \"GREEN\",\n \"authCode\" : \"035450\",\n \"cardHolderName\" : \"John Smith\",\n \"isCardCommercial\" : \"unknown\",\n \"PaymentAccountReference\" : \"6006491286999921374...\",\n \"retry.attempt1.acquirerAccount\" : \"YOUR_ACQUIRER_ACCOUNT\",\n \"cardIssuingBank\" : \"ISSUING_BANK_CUSTOMER\",\n \"retry.attempt1.acquirer\" : \"YOUR_ACQUIRER_CODE\",\n \"authorisedAmountValue\" : \"40000\",\n \"issuerCountry\" : \"NL\",\n \"cvcResult\" : \"1 Matches\",\n \"retry.attempt1.responseCode\" : \"Approved\",\n \"aliasType\" : \"Default\",\n \"retry.attempt1.shopperInteraction\" : \"Ecommerce\",\n \"cardPaymentMethod\" : \"visa\",\n \"acquirerCode\" : \"YOUR_ACQUIRER_CODE\"\n },\n \"pspReference\" : \"PPKFQ89R6QRXGN82\",\n \"resultCode\" : \"Authorised\",\n \"merchantReference\" : \"YOUR_ORDER_NUMBER\"\n}", + "originalRequest": { + "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 \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4111111111111111\",\n \"cvc\" : \"737\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\"\n },\n \"amount\" : {\n \"value\" : 40000,\n \"currency\" : \"USD\"\n },\n \"reference\" : \"{{$guid}}\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"splits\" : [ {\n \"amount\" : {\n \"value\" : 39600\n },\n \"type\" : \"BalanceAccount\",\n \"account\" : \"BA00000000000000000000001\",\n \"reference\" : \"Your reference for the sale amount\",\n \"description\" : \"Your description for the sale amount\"\n }, {\n \"amount\" : {\n \"value\" : 400\n },\n \"type\" : \"Commission\",\n \"reference\" : \"Your reference for the commission\",\n \"description\" : \"Your description for the commission\"\n }, {\n \"type\" : \"PaymentFee\",\n \"account\" : \"BA00000000000000000000001\",\n \"reference\" : \"Your reference for the fees\",\n \"description\" : \"Your description for the fees\"\n } ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4111111111111111\",\n \"cvc\" : \"737\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\"\n },\n \"amount\" : {\n \"value\" : 40000,\n \"currency\" : \"USD\"\n },\n \"reference\" : \"{{$guid}}\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"splits\" : [ {\n \"amount\" : {\n \"value\" : 39600\n },\n \"type\" : \"BalanceAccount\",\n \"account\" : \"BA00000000000000000000001\",\n \"reference\" : \"Your reference for the sale amount\",\n \"description\" : \"Your description for the sale amount\"\n }, {\n \"amount\" : {\n \"value\" : 400\n },\n \"type\" : \"Commission\",\n \"reference\" : \"Your reference for the commission\",\n \"description\" : \"Your description for the commission\"\n }, {\n \"type\" : \"PaymentFee\",\n \"account\" : \"BA00000000000000000000001\",\n \"reference\" : \"Your reference for the fees\",\n \"description\" : \"Your description for the fees\"\n } ]\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + ] }, { "name": "Split a payment in a Classic Platforms integration", "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 \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4111111111111111\",\n \"cvc\" : \"737\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\"\n },\n \"amount\" : {\n \"value\" : 6200,\n \"currency\" : \"EUR\"\n },\n \"reference\" : \"{{$guid}}\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"splits\" : [ {\n \"amount\" : {\n \"value\" : 6000\n },\n \"type\" : \"MarketPlace\",\n \"account\" : \"151272963\",\n \"reference\" : \"6124145\",\n \"description\" : \"Porcelain Doll: Eliza (20cm)\"\n }, {\n \"amount\" : {\n \"value\" : 200\n },\n \"type\" : \"Commission\",\n \"reference\" : \"6124146\"\n } ]\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + "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 \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4111111111111111\",\n \"cvc\" : \"737\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\"\n },\n \"amount\" : {\n \"value\" : 6200,\n \"currency\" : \"EUR\"\n },\n \"reference\" : \"{{$guid}}\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"splits\" : [ {\n \"amount\" : {\n \"value\" : 6000\n },\n \"type\" : \"MarketPlace\",\n \"account\" : \"151272963\",\n \"reference\" : \"6124145\",\n \"description\" : \"Porcelain Doll: Eliza (20cm)\"\n }, {\n \"amount\" : {\n \"value\" : 200\n },\n \"type\" : \"Commission\",\n \"reference\" : \"6124146\"\n } ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + ] }, { "name": "Tokenize card details for a subscription", "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 + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4111111111111111\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\",\n \"cvc\" : \"737\"\n },\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"storePaymentMethod\" : true,\n \"shopperInteraction\" : \"Ecommerce\",\n \"recurringProcessingModel\" : \"Subscription\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"additionalData\" : {\n \"cvcResult\" : \"1 Matches\",\n \"authCode\" : \"004908\",\n \"avsResult\" : \"4 AVS not supported for this card type\",\n \"recurring.recurringDetailReference\" : \"9916178934434753\",\n \"recurringProcessingModel\" : \"Subscription\",\n \"avsResultRaw\" : \"4\",\n \"cvcResultRaw\" : \"M\",\n \"refusalReasonRaw\" : \"AUTHORISED\",\n \"recurring.shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID\",\n \"acquirerCode\" : \"TestPmmAcquirer\",\n \"acquirerReference\" : \"8PQMP9UV722\"\n },\n \"pspReference\" : \"993617895153552A\",\n \"resultCode\" : \"Authorised\",\n \"merchantReference\" : \"string\"\n}", + "originalRequest": { + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4111111111111111\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\",\n \"cvc\" : \"737\"\n },\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"storePaymentMethod\" : true,\n \"shopperInteraction\" : \"Ecommerce\",\n \"recurringProcessingModel\" : \"Subscription\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4111111111111111\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\",\n \"cvc\" : \"737\"\n },\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"storePaymentMethod\" : true,\n \"shopperInteraction\" : \"Ecommerce\",\n \"recurringProcessingModel\" : \"Subscription\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + ] } ] - } -, + }, { "name": "/payments/details", "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. ", @@ -2261,206 +4078,213 @@ { "name": "Submit details for the 3D Secure payment ", "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 \"MD\" : \"Ab02b4c0!BQABAgCW5sxB4e/==...\",\n \"PaRes\" : \"eNrNV0mTo7gS...\"\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. " - } + "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 \"MD\" : \"Ab02b4c0!BQABAgCW5sxB4e/==...\",\n \"PaRes\" : \"eNrNV0mTo7gS...\"\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. " +} + ,"response": [ + ] }, { "name": "Submit 3D Secure 2 callenge flow result", "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 \"details\" : {\n \"threeds2.challengeResult\" : \"eyJ0cmFuc1N0YXR1cyI6IlkifQ==\"\n },\n \"paymentData\" : \"YOUR_PAYMENT_DATA\"\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. " - } + "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 \"details\" : {\n \"threeds2.challengeResult\" : \"eyJ0cmFuc1N0YXR1cyI6IlkifQ==\"\n },\n \"paymentData\" : \"YOUR_PAYMENT_DATA\"\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. " +} + ,"response": [ + ] }, { "name": "Submit 3D Secure 2 device fingerprinting result", "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 \"details\" : {\n \"threeds2.fingerprint\" : \"eyJ0aHJlZURTQ29tcEluZCI6ICJZIn0=\"\n },\n \"paymentData\" : \"YOUR_PAYMENT_DATA...\"\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. " - } + "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 \"details\" : {\n \"threeds2.fingerprint\" : \"eyJ0aHJlZURTQ29tcEluZCI6ICJZIn0=\"\n },\n \"paymentData\" : \"YOUR_PAYMENT_DATA...\"\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. " +} + ,"response": [ + ] }, { "name": "Submit the redirect result", "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\" : \"Ab02b4c0!BQABAgCJN1wRZuGJmq8dMncmypvknj9s7l5Tj...\",\n \"details\" : {\n \"redirectResult\" : \"X6XtfGC3!Y...\"\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. " - } + "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\" : \"Ab02b4c0!BQABAgCJN1wRZuGJmq8dMncmypvknj9s7l5Tj...\",\n \"details\" : {\n \"redirectResult\" : \"X6XtfGC3!Y...\"\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. " +} + ,"response": [ + ] } ] } - ] }, { @@ -2473,55 +4297,113 @@ { "name": "Create a payment link", "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 + "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 \"reference\" : \"{{$guid}}\",\n \"amount\" : {\n \"value\" : 1250,\n \"currency\" : \"BRL\"\n },\n \"countryCode\" : \"BR\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"shopperEmail\" : \"test@email.com\",\n \"shopperLocale\" : \"pt-BR\",\n \"billingAddress\" : {\n \"street\" : \"Roque Petroni Jr\",\n \"postalCode\" : \"59000060\",\n \"city\" : \"São Paulo\",\n \"houseNumberOrName\" : \"999\",\n \"country\" : \"BR\",\n \"stateOrProvince\" : \"SP\"\n },\n \"deliveryAddress\" : {\n \"street\" : \"Roque Petroni Jr\",\n \"postalCode\" : \"59000060\",\n \"city\" : \"São Paulo\",\n \"houseNumberOrName\" : \"999\",\n \"country\" : \"BR\",\n \"stateOrProvince\" : \"SP\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentLinks", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentLinks" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates a payment link to our hosted payment form where shoppers can pay. The list of payment methods presented to the shopper depends on the `currency` and `country` parameters sent in the request. For more information, refer to [Pay by Link documentation](https://docs.adyen.com/online-payments/pay-by-link#create-payment-links-through-api)." +} + ,"response": [ + {"name": "Created - the request has succeeded.", + "code": 201, + "status": "Created", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"amount\" : {\n \"currency\" : \"BRL\",\n \"value\" : 1250\n },\n \"billingAddress\" : {\n \"city\" : \"São Paulo\",\n \"country\" : \"BR\",\n \"houseNumberOrName\" : \"999\",\n \"postalCode\" : \"59000060\",\n \"stateOrProvince\" : \"SP\",\n \"street\" : \"Roque Petroni Jr\"\n },\n \"countryCode\" : \"BR\",\n \"deliveryAddress\" : {\n \"city\" : \"São Paulo\",\n \"country\" : \"BR\",\n \"houseNumberOrName\" : \"999\",\n \"postalCode\" : \"59000060\",\n \"stateOrProvince\" : \"SP\",\n \"street\" : \"Roque Petroni Jr\"\n },\n \"expiresAt\" : \"2022-10-28T09:16:22Z\",\n \"merchantAccount\" : \"YOUR_MERCHANT_ACCOUNT\",\n \"reference\" : \"YOUR_ORDER_NUMBER\",\n \"reusable\" : false,\n \"shopperEmail\" : \"test@email.com\",\n \"shopperLocale\" : \"pt-BR\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"status\" : \"active\",\n \"url\" : \"https://test.adyen.link/PLE83C39B0A0DE0C1E\"\n}", + "originalRequest": { + "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 \"reference\" : \"{{$guid}}\",\n \"amount\" : {\n \"value\" : 1250,\n \"currency\" : \"BRL\"\n },\n \"countryCode\" : \"BR\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"shopperEmail\" : \"test@email.com\",\n \"shopperLocale\" : \"pt-BR\",\n \"billingAddress\" : {\n \"street\" : \"Roque Petroni Jr\",\n \"postalCode\" : \"59000060\",\n \"city\" : \"São Paulo\",\n \"houseNumberOrName\" : \"999\",\n \"country\" : \"BR\",\n \"stateOrProvince\" : \"SP\"\n },\n \"deliveryAddress\" : {\n \"street\" : \"Roque Petroni Jr\",\n \"postalCode\" : \"59000060\",\n \"city\" : \"São Paulo\",\n \"houseNumberOrName\" : \"999\",\n \"country\" : \"BR\",\n \"stateOrProvince\" : \"SP\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentLinks", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentLinks" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates a payment link to our hosted payment form where shoppers can pay. The list of payment methods presented to the shopper depends on the `currency` and `country` parameters sent in the request. For more information, refer to [Pay by Link documentation](https://docs.adyen.com/online-payments/pay-by-link#create-payment-links-through-api)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"reference\" : \"{{$guid}}\",\n \"amount\" : {\n \"value\" : 1250,\n \"currency\" : \"BRL\"\n },\n \"countryCode\" : \"BR\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"shopperEmail\" : \"test@email.com\",\n \"shopperLocale\" : \"pt-BR\",\n \"billingAddress\" : {\n \"street\" : \"Roque Petroni Jr\",\n \"postalCode\" : \"59000060\",\n \"city\" : \"São Paulo\",\n \"houseNumberOrName\" : \"999\",\n \"country\" : \"BR\",\n \"stateOrProvince\" : \"SP\"\n },\n \"deliveryAddress\" : {\n \"street\" : \"Roque Petroni Jr\",\n \"postalCode\" : \"59000060\",\n \"city\" : \"São Paulo\",\n \"houseNumberOrName\" : \"999\",\n \"country\" : \"BR\",\n \"stateOrProvince\" : \"SP\"\n }\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentLinks", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentLinks" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Creates a payment link to our hosted payment form where shoppers can pay. The list of payment methods presented to the shopper depends on the `currency` and `country` parameters sent in the request. For more information, refer to [Pay by Link documentation](https://docs.adyen.com/online-payments/pay-by-link#create-payment-links-through-api)." - } + ] } ] - } -, + }, { "name": "/paymentLinks/:linkId", "description": "Retrieves the payment link details using the payment link `id`.", @@ -2529,49 +4411,50 @@ { "name": "Get a payment link", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentLinks/:linkId", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentLinks", - ":linkId" - ], - "variable": [ - { - "key": "linkId", - "value": "", - "description": "Unique identifier of the payment link." - } - ], - "query": [ - ] - }, - "description": "Retrieves the payment link details using the payment link `id`." - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentLinks/:linkId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentLinks", + ":linkId" + ], + "variable": [ + { + "key": "linkId", + "value": "", + "description": "Unique identifier of the payment link." + } + ], + "query": [ + ] + }, + "description": "Retrieves the payment link details using the payment link `id`." +} + ,"response": [ + ] } ] - } -, + }, { "name": "/paymentLinks/:linkId", "description": "Updates the status of a payment link. Use this endpoint to [force the expiry of a payment link](https://docs.adyen.com/online-payments/pay-by-link#update-payment-link-status).", @@ -2579,55 +4462,113 @@ { "name": "Update the status of a payment link", "request": { - "method": "PATCH", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"status\" : \"expired\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentLinks/:linkId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentLinks", + ":linkId" + ], + "variable": [ + { + "key": "linkId", + "value": "", + "description": "Unique identifier of the payment link." + } + ], + "query": [ + ] + }, + "description": "Updates the status of a payment link. Use this endpoint to [force the expiry of a payment link](https://docs.adyen.com/online-payments/pay-by-link#update-payment-link-status)." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 8700\n },\n \"countryCode\" : \"NL\",\n \"expiresAt\" : \"2021-04-08T14:06:39Z\",\n \"merchantAccount\" : \"YOUR_MERCHANT_ACCOUNT\",\n \"reference\" : \"shopper-reference-ekvL83\",\n \"shopperLocale\" : \"hu-HU\",\n \"shopperReference\" : \"shopper-reference-LZfdWZ\",\n \"status\" : \"expired\",\n \"url\" : \"https://test.adyen.link/PL61C53A8B97E6915A\",\n \"id\" : \"PL61C53A8B97E6915A\"\n}", + "originalRequest": { + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"status\" : \"expired\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentLinks/:linkId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentLinks", + ":linkId" + ], + "variable": [ + { + "key": "linkId", + "value": "", + "description": "Unique identifier of the payment link." + } + ], + "query": [ + ] + }, + "description": "Updates the status of a payment link. Use this endpoint to [force the expiry of a payment link](https://docs.adyen.com/online-payments/pay-by-link#update-payment-link-status)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"status\" : \"expired\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentLinks/:linkId", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentLinks", - ":linkId" - ], - "variable": [ - { - "key": "linkId", - "value": "", - "description": "Unique identifier of the payment link." - } - ], - "query": [ - ] - }, - "description": "Updates the status of a payment link. Use this endpoint to [force the expiry of a payment link](https://docs.adyen.com/online-payments/pay-by-link#update-payment-link-status)." - } + ] } ] } - ] } ], diff --git a/postman/CheckoutService-v51.json b/postman/CheckoutService-v51.json index 9b1306a..69a9d23 100644 --- a/postman/CheckoutService-v51.json +++ b/postman/CheckoutService-v51.json @@ -19,55 +19,113 @@ { "name": "Cancel a payment using your own reference", "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 + "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 \"paymentReference\" : \"YOUR_UNIQUE_REFERENCE_FOR_THE_PAYMENT\",\n \"reference\" : \"YOUR_UNIQUE_REFERENCE_FOR_THE_CANCELLATION\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/cancels", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "cancels" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Cancels the authorisation on a payment that has not yet been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/captures), and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**TECHNICAL_CANCEL** webhook](https://docs.adyen.com/online-payments/cancel#cancellation-webhook). If you want to cancel a payment using the [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference), use the [`/payments/{paymentPspReference}/cancels`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/cancels) endpoint instead. If you want to cancel a payment but are not sure whether it has been captured, use the [`/payments/{paymentPspReference}/reversals`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/reversals) endpoint instead. For more information, refer to [Cancel](https://docs.adyen.com/online-payments/cancel)." +} + ,"response": [ + {"name": "Created - the request has been fulfilled and has resulted in one or more new resources being created.", + "code": 201, + "status": "Created", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"merchantAccount\" : \"YOUR_MERCHANT_ACCOUNT\",\n \"paymentReference\" : \"YOUR_UNIQUE_REFERENCE_FOR_THE_PAYMENT\",\n \"reference\" : \"YOUR_UNIQUE_REFERENCE_FOR_THE_CANCELLATION\",\n \"pspReference\" : \"993617894906488A\",\n \"status\" : \"received\"\n}", + "originalRequest": { + "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 \"paymentReference\" : \"YOUR_UNIQUE_REFERENCE_FOR_THE_PAYMENT\",\n \"reference\" : \"YOUR_UNIQUE_REFERENCE_FOR_THE_CANCELLATION\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/cancels", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "cancels" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Cancels the authorisation on a payment that has not yet been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/captures), and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**TECHNICAL_CANCEL** webhook](https://docs.adyen.com/online-payments/cancel#cancellation-webhook). If you want to cancel a payment using the [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference), use the [`/payments/{paymentPspReference}/cancels`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/cancels) endpoint instead. If you want to cancel a payment but are not sure whether it has been captured, use the [`/payments/{paymentPspReference}/reversals`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/reversals) endpoint instead. For more information, refer to [Cancel](https://docs.adyen.com/online-payments/cancel)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"paymentReference\" : \"YOUR_UNIQUE_REFERENCE_FOR_THE_PAYMENT\",\n \"reference\" : \"YOUR_UNIQUE_REFERENCE_FOR_THE_CANCELLATION\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/cancels", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "cancels" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Cancels the authorisation on a payment that has not yet been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/captures), and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**TECHNICAL_CANCEL** webhook](https://docs.adyen.com/online-payments/cancel#cancellation-webhook). If you want to cancel a payment using the [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference), use the [`/payments/{paymentPspReference}/cancels`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/cancels) endpoint instead. If you want to cancel a payment but are not sure whether it has been captured, use the [`/payments/{paymentPspReference}/reversals`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/reversals) endpoint instead. For more information, refer to [Cancel](https://docs.adyen.com/online-payments/cancel)." - } + ] } ] - } -, + }, { "name": "/payments/:paymentPspReference/amountUpdates", "description": "Increases or decreases the authorised payment amount and returns a unique reference for this request. You get the outcome of the request asynchronously, in an [**AUTHORISATION_ADJUSTMENT** webhook](https://docs.adyen.com/development-resources/webhooks/understand-notifications#event-codes). You can only update authorised amounts that have not yet been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/captures). The amount you specify in the request is the updated amount, which is larger or smaller than the initial authorised amount. For more information, refer to [Authorisation adjustment](https://docs.adyen.com/online-payments/adjust-authorisation#use-cases).", @@ -75,62 +133,127 @@ { "name": "Update the amount of an authorised payment", "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 + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 2500\n },\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments/:paymentPspReference/amountUpdates", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments", + ":paymentPspReference", + "amountUpdates" + ], + "variable": [ + { + "key": "paymentPspReference", + "value": "", + "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment." + } + ], + "query": [ + ] + }, + "description": "Increases or decreases the authorised payment amount and returns a unique reference for this request. You get the outcome of the request asynchronously, in an [**AUTHORISATION_ADJUSTMENT** webhook](https://docs.adyen.com/development-resources/webhooks/understand-notifications#event-codes). You can only update authorised amounts that have not yet been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/captures). The amount you specify in the request is the updated amount, which is larger or smaller than the initial authorised amount. For more information, refer to [Authorisation adjustment](https://docs.adyen.com/online-payments/adjust-authorisation#use-cases)." +} + ,"response": [ + {"name": "Created - the request has been fulfilled and has resulted in one or more new resources being created.", + "code": 201, + "status": "Created", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"merchantAccount\" : \"YOUR_MERCHANT_ACCOUNT\",\n \"paymentPspReference\" : \"993617894903480A\",\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"pspReference\" : \"993617894906488A\",\n \"status\" : \"received\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 2500\n }\n}", + "originalRequest": { + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 2500\n },\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments/:paymentPspReference/amountUpdates", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments", + ":paymentPspReference", + "amountUpdates" + ], + "variable": [ + { + "key": "paymentPspReference", + "value": "", + "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment." + } + ], + "query": [ + ] + }, + "description": "Increases or decreases the authorised payment amount and returns a unique reference for this request. You get the outcome of the request asynchronously, in an [**AUTHORISATION_ADJUSTMENT** webhook](https://docs.adyen.com/development-resources/webhooks/understand-notifications#event-codes). You can only update authorised amounts that have not yet been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/captures). The amount you specify in the request is the updated amount, which is larger or smaller than the initial authorised amount. For more information, refer to [Authorisation adjustment](https://docs.adyen.com/online-payments/adjust-authorisation#use-cases)." +} } - ], - "body": { - "mode": "raw", - "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" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments/:paymentPspReference/amountUpdates", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments", - ":paymentPspReference", - "amountUpdates" - ], - "variable": [ - { - "key": "paymentPspReference", - "value": "", - "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment." - } - ], - "query": [ - ] - }, - "description": "Increases or decreases the authorised payment amount and returns a unique reference for this request. You get the outcome of the request asynchronously, in an [**AUTHORISATION_ADJUSTMENT** webhook](https://docs.adyen.com/development-resources/webhooks/understand-notifications#event-codes). You can only update authorised amounts that have not yet been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/captures). The amount you specify in the request is the updated amount, which is larger or smaller than the initial authorised amount. For more information, refer to [Authorisation adjustment](https://docs.adyen.com/online-payments/adjust-authorisation#use-cases)." - } + ] } ] - } -, + }, { "name": "/payments/:paymentPspReference/cancels", "description": "Cancels the authorisation on a payment that has not yet been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/paymentPspReference/captures), and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CANCELLATION** webhook](https://docs.adyen.com/online-payments/cancel#cancellation-webhook). If you want to cancel a payment but don't have the [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference), use the [`/cancels`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cancels) endpoint instead. If you want to cancel a payment but are not sure whether it has been captured, use the [`/payments/{paymentPspReference}/reversals`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/reversals) endpoint instead. For more information, refer to [Cancel](https://docs.adyen.com/online-payments/cancel).", @@ -138,62 +261,127 @@ { "name": "Cancel payment using a PSP reference", "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 + "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 \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments/:paymentPspReference/cancels", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments", + ":paymentPspReference", + "cancels" + ], + "variable": [ + { + "key": "paymentPspReference", + "value": "", + "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to cancel. " + } + ], + "query": [ + ] + }, + "description": "Cancels the authorisation on a payment that has not yet been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/paymentPspReference/captures), and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CANCELLATION** webhook](https://docs.adyen.com/online-payments/cancel#cancellation-webhook). If you want to cancel a payment but don't have the [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference), use the [`/cancels`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cancels) endpoint instead. If you want to cancel a payment but are not sure whether it has been captured, use the [`/payments/{paymentPspReference}/reversals`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/reversals) endpoint instead. For more information, refer to [Cancel](https://docs.adyen.com/online-payments/cancel)." +} + ,"response": [ + {"name": "Created - the request has been fulfilled and has resulted in one or more new resources being created.", + "code": 201, + "status": "Created", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"merchantAccount\" : \"YOUR_MERCHANT_ACCOUNT\",\n \"paymentPspReference\" : \"993617894903480A\",\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"pspReference\" : \"993617894906488A\",\n \"status\" : \"received\"\n}", + "originalRequest": { + "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 \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments/:paymentPspReference/cancels", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments", + ":paymentPspReference", + "cancels" + ], + "variable": [ + { + "key": "paymentPspReference", + "value": "", + "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to cancel. " + } + ], + "query": [ + ] + }, + "description": "Cancels the authorisation on a payment that has not yet been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/paymentPspReference/captures), and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CANCELLATION** webhook](https://docs.adyen.com/online-payments/cancel#cancellation-webhook). If you want to cancel a payment but don't have the [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference), use the [`/cancels`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cancels) endpoint instead. If you want to cancel a payment but are not sure whether it has been captured, use the [`/payments/{paymentPspReference}/reversals`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/reversals) endpoint instead. For more information, refer to [Cancel](https://docs.adyen.com/online-payments/cancel)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments/:paymentPspReference/cancels", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments", - ":paymentPspReference", - "cancels" - ], - "variable": [ - { - "key": "paymentPspReference", - "value": "", - "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to cancel. " - } - ], - "query": [ - ] - }, - "description": "Cancels the authorisation on a payment that has not yet been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/paymentPspReference/captures), and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CANCELLATION** webhook](https://docs.adyen.com/online-payments/cancel#cancellation-webhook). If you want to cancel a payment but don't have the [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference), use the [`/cancels`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cancels) endpoint instead. If you want to cancel a payment but are not sure whether it has been captured, use the [`/payments/{paymentPspReference}/reversals`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/reversals) endpoint instead. For more information, refer to [Cancel](https://docs.adyen.com/online-payments/cancel)." - } + ] } ] - } -, + }, { "name": "/payments/:paymentPspReference/captures", "description": " Captures an authorised payment and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CAPTURE** webhook](https://docs.adyen.com/online-payments/capture#capture-notification). You can capture either the full authorised amount or a part of the authorised amount. By default, any unclaimed amount after a partial capture gets cancelled. This does not apply if you enabled multiple partial captures on your account and the payment method supports multiple partial captures. [Automatic capture](https://docs.adyen.com/online-payments/capture#automatic-capture) is the default setting for most payment methods. In these cases, you don't need to make capture requests. However, making capture requests for payments that are captured automatically does not result in double charges. For more information, refer to [Capture](https://docs.adyen.com/online-payments/capture).", @@ -201,62 +389,127 @@ { "name": "Capture an authorised payment", "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 + "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 \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"amount\" : {\n \"value\" : 2000,\n \"currency\" : \"EUR\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments/:paymentPspReference/captures", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments", + ":paymentPspReference", + "captures" + ], + "variable": [ + { + "key": "paymentPspReference", + "value": "", + "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to capture." + } + ], + "query": [ + ] + }, + "description": " Captures an authorised payment and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CAPTURE** webhook](https://docs.adyen.com/online-payments/capture#capture-notification). You can capture either the full authorised amount or a part of the authorised amount. By default, any unclaimed amount after a partial capture gets cancelled. This does not apply if you enabled multiple partial captures on your account and the payment method supports multiple partial captures. [Automatic capture](https://docs.adyen.com/online-payments/capture#automatic-capture) is the default setting for most payment methods. In these cases, you don't need to make capture requests. However, making capture requests for payments that are captured automatically does not result in double charges. For more information, refer to [Capture](https://docs.adyen.com/online-payments/capture)." +} + ,"response": [ + {"name": "Created - the request has been fulfilled and has resulted in one or more new resources being created.", + "code": 201, + "status": "Created", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"merchantAccount\" : \"YOUR_MERCHANT_ACCOUNT\",\n \"paymentPspReference\" : \"993617894903480A\",\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"pspReference\" : \"993617894906488A\",\n \"status\" : \"received\",\n \"amount\" : {\n \"value\" : 2000,\n \"currency\" : \"EUR\"\n }\n}", + "originalRequest": { + "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 \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"amount\" : {\n \"value\" : 2000,\n \"currency\" : \"EUR\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments/:paymentPspReference/captures", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments", + ":paymentPspReference", + "captures" + ], + "variable": [ + { + "key": "paymentPspReference", + "value": "", + "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to capture." + } + ], + "query": [ + ] + }, + "description": " Captures an authorised payment and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CAPTURE** webhook](https://docs.adyen.com/online-payments/capture#capture-notification). You can capture either the full authorised amount or a part of the authorised amount. By default, any unclaimed amount after a partial capture gets cancelled. This does not apply if you enabled multiple partial captures on your account and the payment method supports multiple partial captures. [Automatic capture](https://docs.adyen.com/online-payments/capture#automatic-capture) is the default setting for most payment methods. In these cases, you don't need to make capture requests. However, making capture requests for payments that are captured automatically does not result in double charges. For more information, refer to [Capture](https://docs.adyen.com/online-payments/capture)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"amount\" : {\n \"value\" : 2000,\n \"currency\" : \"EUR\"\n }\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments/:paymentPspReference/captures", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments", - ":paymentPspReference", - "captures" - ], - "variable": [ - { - "key": "paymentPspReference", - "value": "", - "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to capture." - } - ], - "query": [ - ] - }, - "description": " Captures an authorised payment and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CAPTURE** webhook](https://docs.adyen.com/online-payments/capture#capture-notification). You can capture either the full authorised amount or a part of the authorised amount. By default, any unclaimed amount after a partial capture gets cancelled. This does not apply if you enabled multiple partial captures on your account and the payment method supports multiple partial captures. [Automatic capture](https://docs.adyen.com/online-payments/capture#automatic-capture) is the default setting for most payment methods. In these cases, you don't need to make capture requests. However, making capture requests for payments that are captured automatically does not result in double charges. For more information, refer to [Capture](https://docs.adyen.com/online-payments/capture)." - } + ] } ] - } -, + }, { "name": "/payments/:paymentPspReference/refunds", "description": "Refunds a payment that has been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/captures), and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**REFUND** webhook](https://docs.adyen.com/online-payments/refund#refund-webhook). You can refund either the full captured amount or a part of the captured amount. You can also perform multiple partial refunds, as long as their sum doesn't exceed the captured amount. > Some payment methods do not support partial refunds. To learn if a payment method supports partial refunds, refer to the payment method page such as [cards](https://docs.adyen.com/payment-methods/cards#supported-cards), [iDEAL](https://docs.adyen.com/payment-methods/ideal), or [Klarna](https://docs.adyen.com/payment-methods/klarna). If you want to refund a payment but are not sure whether it has been captured, use the [`/payments/{paymentPspReference}/reversals`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/reversals) endpoint instead. For more information, refer to [Refund](https://docs.adyen.com/online-payments/refund).", @@ -264,62 +517,127 @@ { "name": "Refund a payment", "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 + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 2500\n },\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments/:paymentPspReference/refunds", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments", + ":paymentPspReference", + "refunds" + ], + "variable": [ + { + "key": "paymentPspReference", + "value": "", + "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to refund." + } + ], + "query": [ + ] + }, + "description": "Refunds a payment that has been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/captures), and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**REFUND** webhook](https://docs.adyen.com/online-payments/refund#refund-webhook). You can refund either the full captured amount or a part of the captured amount. You can also perform multiple partial refunds, as long as their sum doesn't exceed the captured amount. > Some payment methods do not support partial refunds. To learn if a payment method supports partial refunds, refer to the payment method page such as [cards](https://docs.adyen.com/payment-methods/cards#supported-cards), [iDEAL](https://docs.adyen.com/payment-methods/ideal), or [Klarna](https://docs.adyen.com/payment-methods/klarna). If you want to refund a payment but are not sure whether it has been captured, use the [`/payments/{paymentPspReference}/reversals`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/reversals) endpoint instead. For more information, refer to [Refund](https://docs.adyen.com/online-payments/refund)." +} + ,"response": [ + {"name": "Created - the request has been fulfilled and has resulted in one or more new resources being created.", + "code": 201, + "status": "Created", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"merchantAccount\" : \"YOUR_MERCHANT_ACCOUNT\",\n \"paymentPspReference\" : \"993617894903480A\",\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"pspReference\" : \"993617894906488A\",\n \"status\" : \"received\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 2500\n }\n}", + "originalRequest": { + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 2500\n },\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments/:paymentPspReference/refunds", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments", + ":paymentPspReference", + "refunds" + ], + "variable": [ + { + "key": "paymentPspReference", + "value": "", + "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to refund." + } + ], + "query": [ + ] + }, + "description": "Refunds a payment that has been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/captures), and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**REFUND** webhook](https://docs.adyen.com/online-payments/refund#refund-webhook). You can refund either the full captured amount or a part of the captured amount. You can also perform multiple partial refunds, as long as their sum doesn't exceed the captured amount. > Some payment methods do not support partial refunds. To learn if a payment method supports partial refunds, refer to the payment method page such as [cards](https://docs.adyen.com/payment-methods/cards#supported-cards), [iDEAL](https://docs.adyen.com/payment-methods/ideal), or [Klarna](https://docs.adyen.com/payment-methods/klarna). If you want to refund a payment but are not sure whether it has been captured, use the [`/payments/{paymentPspReference}/reversals`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/reversals) endpoint instead. For more information, refer to [Refund](https://docs.adyen.com/online-payments/refund)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 2500\n },\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments/:paymentPspReference/refunds", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments", - ":paymentPspReference", - "refunds" - ], - "variable": [ - { - "key": "paymentPspReference", - "value": "", - "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to refund." - } - ], - "query": [ - ] - }, - "description": "Refunds a payment that has been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/captures), and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**REFUND** webhook](https://docs.adyen.com/online-payments/refund#refund-webhook). You can refund either the full captured amount or a part of the captured amount. You can also perform multiple partial refunds, as long as their sum doesn't exceed the captured amount. > Some payment methods do not support partial refunds. To learn if a payment method supports partial refunds, refer to the payment method page such as [cards](https://docs.adyen.com/payment-methods/cards#supported-cards), [iDEAL](https://docs.adyen.com/payment-methods/ideal), or [Klarna](https://docs.adyen.com/payment-methods/klarna). If you want to refund a payment but are not sure whether it has been captured, use the [`/payments/{paymentPspReference}/reversals`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/reversals) endpoint instead. For more information, refer to [Refund](https://docs.adyen.com/online-payments/refund)." - } + ] } ] - } -, + }, { "name": "/payments/:paymentPspReference/reversals", "description": "[Refunds](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/refunds) a payment if it has already been captured, and [cancels](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/cancels) a payment if it has not yet been captured. Returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CANCEL_OR_REFUND** webhook](https://docs.adyen.com/online-payments/reverse#cancel-or-refund-webhook). The reversed amount is always the full payment amount. > Do not use this request for payments that involve multiple partial captures. For more information, refer to [Reversal](https://docs.adyen.com/online-payments/reversal).", @@ -327,62 +645,127 @@ { "name": "Reverse (cancel or refund) a payment", "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 + "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 \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments/:paymentPspReference/reversals", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments", + ":paymentPspReference", + "reversals" + ], + "variable": [ + { + "key": "paymentPspReference", + "value": "", + "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to reverse. " + } + ], + "query": [ + ] + }, + "description": "[Refunds](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/refunds) a payment if it has already been captured, and [cancels](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/cancels) a payment if it has not yet been captured. Returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CANCEL_OR_REFUND** webhook](https://docs.adyen.com/online-payments/reverse#cancel-or-refund-webhook). The reversed amount is always the full payment amount. > Do not use this request for payments that involve multiple partial captures. For more information, refer to [Reversal](https://docs.adyen.com/online-payments/reversal)." +} + ,"response": [ + {"name": "Created - the request has been fulfilled and has resulted in one or more new resources being created.", + "code": 201, + "status": "Created", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"merchantAccount\" : \"YOUR_MERCHANT_ACCOUNT\",\n \"paymentPspReference\" : \"993617894903480A\",\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"pspReference\" : \"993617894906488A\",\n \"status\" : \"received\"\n}", + "originalRequest": { + "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 \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments/:paymentPspReference/reversals", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments", + ":paymentPspReference", + "reversals" + ], + "variable": [ + { + "key": "paymentPspReference", + "value": "", + "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to reverse. " + } + ], + "query": [ + ] + }, + "description": "[Refunds](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/refunds) a payment if it has already been captured, and [cancels](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/cancels) a payment if it has not yet been captured. Returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CANCEL_OR_REFUND** webhook](https://docs.adyen.com/online-payments/reverse#cancel-or-refund-webhook). The reversed amount is always the full payment amount. > Do not use this request for payments that involve multiple partial captures. For more information, refer to [Reversal](https://docs.adyen.com/online-payments/reversal)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments/:paymentPspReference/reversals", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments", - ":paymentPspReference", - "reversals" - ], - "variable": [ - { - "key": "paymentPspReference", - "value": "", - "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to reverse. " - } - ], - "query": [ - ] - }, - "description": "[Refunds](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/refunds) a payment if it has already been captured, and [cancels](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/cancels) a payment if it has not yet been captured. Returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CANCEL_OR_REFUND** webhook](https://docs.adyen.com/online-payments/reverse#cancel-or-refund-webhook). The reversed amount is always the full payment amount. > Do not use this request for payments that involve multiple partial captures. For more information, refer to [Reversal](https://docs.adyen.com/online-payments/reversal)." - } + ] } ] } - ] }, { @@ -395,251 +778,374 @@ { "name": "Set up a payment session (Android)", "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 17408\n },\n \"reference\" : \"Your order number\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"channel\" : \"Android\",\n \"token\" : \"TOKEN_YOU_GET_FROM_CHECKOUT_SDK\",\n \"returnUrl\" : \"app://\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl_NL\",\n \"sessionValidity\" : \"2017-04-06T13:09:13Z\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentSession", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentSession" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Provides the data object that can be used to start the Checkout SDK. To set up the payment, pass its amount, currency, and other required parameters. We use this to optimise the payment flow and perform better risk assessment of the transaction. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." - } + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 17408\n },\n \"reference\" : \"Your order number\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"channel\" : \"Android\",\n \"token\" : \"TOKEN_YOU_GET_FROM_CHECKOUT_SDK\",\n \"returnUrl\" : \"app://\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl_NL\",\n \"sessionValidity\" : \"2017-04-06T13:09:13Z\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentSession", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentSession" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Provides the data object that can be used to start the Checkout SDK. To set up the payment, pass its amount, currency, and other required parameters. We use this to optimise the payment flow and perform better risk assessment of the transaction. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." +} + ,"response": [ + ] }, { "name": "Set up a payment session with the option to store card details", "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 + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 17408\n },\n \"reference\" : \"Your order number\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"enableOneClick\" : true,\n \"enableRecurring\" : true,\n \"channel\" : \"Web\",\n \"origin\" : \"https://www.yourwebsite.com\",\n \"returnUrl\" : \"https://www.yourshop.com/checkout/result\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl_NL\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"sdkVersion\" : \"1.7.0\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentSession", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentSession" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Provides the data object that can be used to start the Checkout SDK. To set up the payment, pass its amount, currency, and other required parameters. We use this to optimise the payment flow and perform better risk assessment of the transaction. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"paymentSession\" : \"eyJjaGVja291dHNob3BwZXJCYXN...\"\n}", + "originalRequest": { + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 17408\n },\n \"reference\" : \"Your order number\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"enableOneClick\" : true,\n \"enableRecurring\" : true,\n \"channel\" : \"Web\",\n \"origin\" : \"https://www.yourwebsite.com\",\n \"returnUrl\" : \"https://www.yourshop.com/checkout/result\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl_NL\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"sdkVersion\" : \"1.7.0\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentSession", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentSession" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Provides the data object that can be used to start the Checkout SDK. To set up the payment, pass its amount, currency, and other required parameters. We use this to optimise the payment flow and perform better risk assessment of the transaction. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 17408\n },\n \"reference\" : \"Your order number\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"enableOneClick\" : true,\n \"enableRecurring\" : true,\n \"channel\" : \"Web\",\n \"origin\" : \"https://www.yourwebsite.com\",\n \"returnUrl\" : \"https://www.yourshop.com/checkout/result\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl_NL\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"sdkVersion\" : \"1.7.0\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentSession", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentSession" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Provides the data object that can be used to start the Checkout SDK. To set up the payment, pass its amount, currency, and other required parameters. We use this to optimise the payment flow and perform better risk assessment of the transaction. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." - } + ] }, { "name": "Set up a payment session (iOS)", "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 17408\n },\n \"reference\" : \"Your order number\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"channel\" : \"iOS\",\n \"token\" : \"TOKEN_YOU_GET_FROM_CHECKOUT_SDK\",\n \"returnUrl\" : \"app://\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl_NL\",\n \"sessionValidity\" : \"2017-04-06T13:09:13Z\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentSession", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentSession" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Provides the data object that can be used to start the Checkout SDK. To set up the payment, pass its amount, currency, and other required parameters. We use this to optimise the payment flow and perform better risk assessment of the transaction. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." - } + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 17408\n },\n \"reference\" : \"Your order number\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"channel\" : \"iOS\",\n \"token\" : \"TOKEN_YOU_GET_FROM_CHECKOUT_SDK\",\n \"returnUrl\" : \"app://\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl_NL\",\n \"sessionValidity\" : \"2017-04-06T13:09:13Z\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentSession", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentSession" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Provides the data object that can be used to start the Checkout SDK. To set up the payment, pass its amount, currency, and other required parameters. We use this to optimise the payment flow and perform better risk assessment of the transaction. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." +} + ,"response": [ + ] }, { "name": "Split a payment between a sub-merchant and a platform account", "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 6200\n },\n \"additionalData\" : {\n \"split.api\" : \"1\",\n \"split.nrOfItems\" : \"2\",\n \"split.totalAmount\" : \"6200\",\n \"split.currencyCode\" : \"EUR\",\n \"split.item1.amount\" : \"6000\",\n \"split.item1.type\" : \"MarketPlace\",\n \"split.item1.account\" : \"151272963\",\n \"split.item1.reference\" : \"6124145\",\n \"split.item1.description\" : \"Porcelain Doll: Eliza (20cm)\",\n \"split.item2.amount\" : \"200\",\n \"split.item2.type\" : \"Commission\",\n \"split.item2.reference\" : \"6124146\"\n },\n \"reference\" : \"Your order number\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"channel\" : \"Android\",\n \"token\" : \"TOKEN_YOU_GET_FROM_CHECKOUT_SDK\",\n \"returnUrl\" : \"app://\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl_NL\",\n \"sessionValidity\" : \"2017-04-06T13:09:13Z\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentSession", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentSession" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Provides the data object that can be used to start the Checkout SDK. To set up the payment, pass its amount, currency, and other required parameters. We use this to optimise the payment flow and perform better risk assessment of the transaction. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." - } + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 6200\n },\n \"additionalData\" : {\n \"split.api\" : \"1\",\n \"split.nrOfItems\" : \"2\",\n \"split.totalAmount\" : \"6200\",\n \"split.currencyCode\" : \"EUR\",\n \"split.item1.amount\" : \"6000\",\n \"split.item1.type\" : \"MarketPlace\",\n \"split.item1.account\" : \"151272963\",\n \"split.item1.reference\" : \"6124145\",\n \"split.item1.description\" : \"Porcelain Doll: Eliza (20cm)\",\n \"split.item2.amount\" : \"200\",\n \"split.item2.type\" : \"Commission\",\n \"split.item2.reference\" : \"6124146\"\n },\n \"reference\" : \"Your order number\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"channel\" : \"Android\",\n \"token\" : \"TOKEN_YOU_GET_FROM_CHECKOUT_SDK\",\n \"returnUrl\" : \"app://\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl_NL\",\n \"sessionValidity\" : \"2017-04-06T13:09:13Z\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentSession", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentSession" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Provides the data object that can be used to start the Checkout SDK. To set up the payment, pass its amount, currency, and other required parameters. We use this to optimise the payment flow and perform better risk assessment of the transaction. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." +} + ,"response": [ + ] }, { "name": "Set up a payment session (Web)", "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 + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 17408\n },\n \"reference\" : \"Your order number\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"channel\" : \"Web\",\n \"origin\" : \"https://www.yourwebsite.com\",\n \"returnUrl\" : \"https://www.yourshop.com/checkout/result\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl_NL\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"sdkVersion\" : \"1.9.5\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentSession", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentSession" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Provides the data object that can be used to start the Checkout SDK. To set up the payment, pass its amount, currency, and other required parameters. We use this to optimise the payment flow and perform better risk assessment of the transaction. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"paymentSession\" : \"eyJjaGVja291dHNob3BwZXJCYXN...\"\n}", + "originalRequest": { + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 17408\n },\n \"reference\" : \"Your order number\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"channel\" : \"Web\",\n \"origin\" : \"https://www.yourwebsite.com\",\n \"returnUrl\" : \"https://www.yourshop.com/checkout/result\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl_NL\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"sdkVersion\" : \"1.9.5\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentSession", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentSession" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Provides the data object that can be used to start the Checkout SDK. To set up the payment, pass its amount, currency, and other required parameters. We use this to optimise the payment flow and perform better risk assessment of the transaction. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 17408\n },\n \"reference\" : \"Your order number\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"channel\" : \"Web\",\n \"origin\" : \"https://www.yourwebsite.com\",\n \"returnUrl\" : \"https://www.yourshop.com/checkout/result\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl_NL\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"sdkVersion\" : \"1.9.5\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentSession", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentSession" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Provides the data object that can be used to start the Checkout SDK. To set up the payment, pass its amount, currency, and other required parameters. We use this to optimise the payment flow and perform better risk assessment of the transaction. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." - } + ] } ] - } -, + }, { "name": "/payments/result (DEPRECATED)", "description": "Verifies the payment result using the payload returned from the Checkout SDK. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks).", @@ -647,56 +1153,115 @@ { "name": "Verify payment results", "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 + "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 \"payload\" : \"VALUE_YOU_GET_FROM_CHECKOUT_SDK\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments/result", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments", + "result" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Verifies the payment result using the payload returned from the Checkout SDK. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"pspReference\" : \"V4HZ4RBFJGXXGN82\",\n \"merchantReference\" : \"Your order number\",\n \"shopperLocale\" : \"nl_NL\",\n \"paymentMethod\" : \"ideal\"\n}", + "originalRequest": { + "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 \"payload\" : \"VALUE_YOU_GET_FROM_CHECKOUT_SDK\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments/result", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments", + "result" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Verifies the payment result using the payload returned from the Checkout SDK. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"payload\" : \"VALUE_YOU_GET_FROM_CHECKOUT_SDK\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments/result", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments", - "result" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Verifies the payment result using the payload returned from the Checkout SDK. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." - } + ] } ] } - ] }, { @@ -709,55 +1274,113 @@ { "name": "Create an order", "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 + "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 \"reference\" : \"YOUR_ORDER_REFERENCE\",\n \"amount\" : {\n \"value\" : 2500,\n \"currency\" : \"EUR\"\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/orders", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "orders" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates an order to be used for partial payments. Make a POST `/orders` call before making a `/payments` call when processing payments with different payment methods." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"pspReference\" : \"8616178914061985\",\n \"resultCode\" : \"Success\",\n \"expiresAt\" : \"2021-04-09T14:16:46Z\",\n \"orderData\" : \"Ab02b4c0!BQABAgCxXvknCldOcRElkxY8Za7iyym4Wv8aDzyNwmj/3nh4G6YtwnUIJHaK62NlN4oIsACdkn1FEjBwKlheG40jvXcYGBk4KFV5WvOhTVCpv/KXnkrI7xQv/u2lE7U4wA+HPB6K4Zj2L8xO/ogZi+zGZqFs5m16jmkH7ku6FzXygXLNuUCuOlmlXSZhdkHHTNVQSq1MELDK9OL74y532ETRPTCNxx8WlEiZB+LDqYrPvH9GgigtD5kw8Do45jfFfG72kWBEgfYqp4mbUmBB9ebXFYZKfF0qvW1x7A2Y9+/MFlTIdXfKW484bJeDBCTTrmKGXIj+U4r5imr5fXTyNLcrxyUqwrb9jg+5B4qg1XB6Cgj5UPlSI4O62I7v0s5TTj69dzLwUQRxSQbwLrZVGYavXzeVKI54BVLRV3d/+BbPvTqnTo34UhfZbPlOx9F2eyaS0ZXdOKnHw89uGUgxUpLsMqnbRysi/pxpZaulel+0mExb68wVxb/7Teob5eRG4gp7cfZVZs6tLXOYWL+W0TqIlsa3hWsfM0LeaovzkoDtW/pK5JABXwMtLig9tsxoEh9ONYtIzkXC21LZ8ebiuSIMaPizjF8yca+QxrCZalQsu6uKnBz/mm8nnsflaGU2QS5zcoxk1RudL1Bl36LM9UZGPpFEYWiYA4sUsnNLw7peJjWCGhDepnwMv4TlgsEtoDtz1T54AEp7ImtleSI6IkFGMEFBQTEwM0NBNTM3RUFFRDg3QzI0REQ1MzkwOUI4MEE3OEE5MjNFMzgyM0Q2OERBQ0M5NEI5RkY4MzA1REMifRslOdmfgUHTXl66WPD9xoW2whIeRx/jR++2MqNE16x6zQy+KtDN8/h60crZwmqkjVTQYqQlsYSYDHSIyb4wnnay16/5il1yS7vN3UCLaTXjYBIAyyx6Wr9j4P3CI/etB+PpviHoESC4mV6ZN4whMDQyziQ8s230GtboXbh42qND7rk9phySBogowQlXrtF+l2n2F46nyif0owEgik5fGARfvjZtY2w23s30KMLNwU4gWSvX4H6RMVS8TfZH2fKfNrwB3tZUXwYkELs5ntaHysswq5Mn5aq2BKAMHu/Rh/wureMSI73Qi0avjrzWCwzt3JH4wnzErMnOZwSdgA==\",\n \"reference\" : \"shopper-reference-ekvL83\",\n \"remainingAmount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 2500\n }\n}", + "originalRequest": { + "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 \"reference\" : \"YOUR_ORDER_REFERENCE\",\n \"amount\" : {\n \"value\" : 2500,\n \"currency\" : \"EUR\"\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/orders", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "orders" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates an order to be used for partial payments. Make a POST `/orders` call before making a `/payments` call when processing payments with different payment methods." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"reference\" : \"YOUR_ORDER_REFERENCE\",\n \"amount\" : {\n \"value\" : 2500,\n \"currency\" : \"EUR\"\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/orders", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "orders" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Creates an order to be used for partial payments. Make a POST `/orders` call before making a `/payments` call when processing payments with different payment methods." - } + ] } ] - } -, + }, { "name": "/orders/cancel", "description": "Cancels an order. Cancellation of an order results in an automatic rollback of all payments made in the order, either by canceling or refunding the payment, depending on the type of payment method.", @@ -765,56 +1388,115 @@ { "name": "Cancel an order", "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 + "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 \"order\" : {\n \"pspReference\" : \"8815517812932012\",\n \"orderData\" : \"823fh892f8f18f4...148f13f9f3f\"\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/orders/cancel", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "orders", + "cancel" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Cancels an order. Cancellation of an order results in an automatic rollback of all payments made in the order, either by canceling or refunding the payment, depending on the type of payment method." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"pspReference\" : \"8816178914079738\",\n \"resultCode\" : \"Received\"\n}", + "originalRequest": { + "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 \"order\" : {\n \"pspReference\" : \"8815517812932012\",\n \"orderData\" : \"823fh892f8f18f4...148f13f9f3f\"\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/orders/cancel", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "orders", + "cancel" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Cancels an order. Cancellation of an order results in an automatic rollback of all payments made in the order, either by canceling or refunding the payment, depending on the type of payment method." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"order\" : {\n \"pspReference\" : \"8815517812932012\",\n \"orderData\" : \"823fh892f8f18f4...148f13f9f3f\"\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/orders/cancel", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "orders", - "cancel" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Cancels an order. Cancellation of an order results in an automatic rollback of all payments made in the order, either by canceling or refunding the payment, depending on the type of payment method." - } + ] } ] - } -, + }, { "name": "/paymentMethods/balance", "description": "Retrieves the balance remaining on a shopper's gift card. To check a gift card's balance, make a POST `/paymentMethods/balance` call and include the gift card's details inside a `paymentMethod` object.", @@ -822,106 +1504,225 @@ { "name": "Get gift card balance specifying amount of 10 EUR", "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 + "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 \"paymentMethod\" : {\n \"type\" : \"givex\",\n \"number\" : \"4126491073027401\",\n \"cvc\" : \"737\"\n },\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentMethods/balance", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentMethods", + "balance" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Retrieves the balance remaining on a shopper's gift card. To check a gift card's balance, make a POST `/paymentMethods/balance` call and include the gift card's details inside a `paymentMethod` object." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"pspReference\" : \"KHQC5N7G84BLNK43\",\n \"resultCode\" : \"Success\",\n \"balance\" : {\n \"currency\" : \"EUR\",\n \"value\" : 5000\n }\n}", + "originalRequest": { + "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 \"paymentMethod\" : {\n \"type\" : \"givex\",\n \"number\" : \"4126491073027401\",\n \"cvc\" : \"737\"\n },\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentMethods/balance", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentMethods", + "balance" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Retrieves the balance remaining on a shopper's gift card. To check a gift card's balance, make a POST `/paymentMethods/balance` call and include the gift card's details inside a `paymentMethod` object." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"paymentMethod\" : {\n \"type\" : \"givex\",\n \"number\" : \"4126491073027401\",\n \"cvc\" : \"737\"\n },\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentMethods/balance", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentMethods", - "balance" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Retrieves the balance remaining on a shopper's gift card. To check a gift card's balance, make a POST `/paymentMethods/balance` call and include the gift card's details inside a `paymentMethod` object." - } + ] }, { "name": "Get gift card balance specifying amount of 100 EUR", "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 + "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 \"paymentMethod\" : {\n \"type\" : \"givex\",\n \"number\" : \"4126491073027401\",\n \"cvc\" : \"737\"\n },\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 10000\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentMethods/balance", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentMethods", + "balance" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Retrieves the balance remaining on a shopper's gift card. To check a gift card's balance, make a POST `/paymentMethods/balance` call and include the gift card's details inside a `paymentMethod` object." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"pspReference\" : \"FKSPNCQ8HXSKGK82\",\n \"resultCode\" : \"NotEnoughBalance\",\n \"balance\" : {\n \"currency\" : \"EUR\",\n \"value\" : 5000\n }\n}", + "originalRequest": { + "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 \"paymentMethod\" : {\n \"type\" : \"givex\",\n \"number\" : \"4126491073027401\",\n \"cvc\" : \"737\"\n },\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 10000\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentMethods/balance", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentMethods", + "balance" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Retrieves the balance remaining on a shopper's gift card. To check a gift card's balance, make a POST `/paymentMethods/balance` call and include the gift card's details inside a `paymentMethod` object." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"paymentMethod\" : {\n \"type\" : \"givex\",\n \"number\" : \"4126491073027401\",\n \"cvc\" : \"737\"\n },\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 10000\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentMethods/balance", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentMethods", - "balance" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Retrieves the balance remaining on a shopper's gift card. To check a gift card's balance, make a POST `/paymentMethods/balance` call and include the gift card's details inside a `paymentMethod` object." - } + ] } ] } - ] }, { @@ -934,56 +1735,115 @@ { "name": "Get payment session for Apple Pay", "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 + "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 \"displayName\" : \"YOUR_MERCHANT_NAME\",\n \"domainName\" : \"YOUR_DOMAIN_NAME\",\n \"merchantIdentifier\" : \"YOUR_MERCHANT_ID\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/applePay/sessions", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "applePay", + "sessions" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "You need to use this endpoint if you have an API-only integration with Apple Pay which uses Adyen's Apple Pay certificate. The endpoint returns the Apple Pay session data which you need to complete the [Apple Pay session validation](https://docs.adyen.com/payment-methods/apple-pay/api-only?tab=adyen-certificate-validation_1#complete-apple-pay-session-validation)." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"data\" : \"eyJ2Z...\"\n}", + "originalRequest": { + "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 \"displayName\" : \"YOUR_MERCHANT_NAME\",\n \"domainName\" : \"YOUR_DOMAIN_NAME\",\n \"merchantIdentifier\" : \"YOUR_MERCHANT_ID\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/applePay/sessions", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "applePay", + "sessions" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "You need to use this endpoint if you have an API-only integration with Apple Pay which uses Adyen's Apple Pay certificate. The endpoint returns the Apple Pay session data which you need to complete the [Apple Pay session validation](https://docs.adyen.com/payment-methods/apple-pay/api-only?tab=adyen-certificate-validation_1#complete-apple-pay-session-validation)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"displayName\" : \"YOUR_MERCHANT_NAME\",\n \"domainName\" : \"YOUR_DOMAIN_NAME\",\n \"merchantIdentifier\" : \"YOUR_MERCHANT_ID\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/applePay/sessions", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "applePay", - "sessions" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "You need to use this endpoint if you have an API-only integration with Apple Pay which uses Adyen's Apple Pay certificate. The endpoint returns the Apple Pay session data which you need to complete the [Apple Pay session validation](https://docs.adyen.com/payment-methods/apple-pay/api-only?tab=adyen-certificate-validation_1#complete-apple-pay-session-validation)." - } + ] } ] - } -, + }, { "name": "/originKeys", "description": "This operation takes the origin domains and returns a JSON object containing the corresponding origin keys for the domains. > If you're still using origin key for your Web Drop-in or Components integration, we recommend [switching to client key](https://docs.adyen.com/development-resources/client-side-authentication/migrate-from-origin-key-to-client-key). This allows you to use a single key for all origins, add or remove origins without generating a new key, and detect the card type from the number entered in your payment form. ", @@ -991,55 +1851,113 @@ { "name": "Get origin keys", "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 + "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 \"originDomains\" : [ \"https://www.your-domain1.com\", \"https://www.your-domain2.com\", \"https://www.your-domain3.com\" ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/originKeys", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "originKeys" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "This operation takes the origin domains and returns a JSON object containing the corresponding origin keys for the domains. > If you're still using origin key for your Web Drop-in or Components integration, we recommend [switching to client key](https://docs.adyen.com/development-resources/client-side-authentication/migrate-from-origin-key-to-client-key). This allows you to use a single key for all origins, add or remove origins without generating a new key, and detect the card type from the number entered in your payment form. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"originKeys\" : {\n \"https://www.your-domain1.com\" : \"pub.v2.8116178901076090.aHR0cHM6Ly93d3cueW91ci1kb21haW4xLmNvbQ.pvbYlrXz0ICP4kwMJXDGDLVMqALhwXr1MSRjT-fkhvw\",\n \"https://www.your-domain3.com\" : \"pub.v2.8116178901076090.aHR0cHM6Ly93d3cueW91ci1kb21haW4zLmNvbQ.FrTpVz7_RzAywKasM0kXCRoMfoMkKIKaxjFymRGORIc\",\n \"https://www.your-domain2.com\" : \"pub.v2.8116178901076090.aHR0cHM6Ly93d3cueW91ci1kb21haW4yLmNvbQ.LdN9kvJ35fYFFiBSJA4idMnwwxJ5_yXpeNS__Ap5wkg\"\n }\n}", + "originalRequest": { + "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 \"originDomains\" : [ \"https://www.your-domain1.com\", \"https://www.your-domain2.com\", \"https://www.your-domain3.com\" ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/originKeys", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "originKeys" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "This operation takes the origin domains and returns a JSON object containing the corresponding origin keys for the domains. > If you're still using origin key for your Web Drop-in or Components integration, we recommend [switching to client key](https://docs.adyen.com/development-resources/client-side-authentication/migrate-from-origin-key-to-client-key). This allows you to use a single key for all origins, add or remove origins without generating a new key, and detect the card type from the number entered in your payment form. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"originDomains\" : [ \"https://www.your-domain1.com\", \"https://www.your-domain2.com\", \"https://www.your-domain3.com\" ]\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/originKeys", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "originKeys" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "This operation takes the origin domains and returns a JSON object containing the corresponding origin keys for the domains. > If you're still using origin key for your Web Drop-in or Components integration, we recommend [switching to client key](https://docs.adyen.com/development-resources/client-side-authentication/migrate-from-origin-key-to-client-key). This allows you to use a single key for all origins, add or remove origins without generating a new key, and detect the card type from the number entered in your payment form. " - } + ] } ] } - ] }, { @@ -1052,104 +1970,164 @@ { "name": "Start a donation transaction", "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 + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"reference\" : \"YOUR_DONATION_REFERENCE\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\"\n },\n \"donationToken\" : \"YOUR_DONATION_TOKEN\",\n \"donationOriginalPspReference\" : \"991559660454807J\",\n \"donationAccount\" : \"CHARITY_ACCOUNT\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"shopperInteraction\" : \"ContAuth\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/donations", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "donations" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Takes in the donation token generated by the `/payments` request and uses it to make the donation for the donation account specified in the request. For more information, see [Donations](https://docs.adyen.com/online-payments/donations)." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"id\" : \"UNIQUE_RESOURCE_ID\",\n \"status\" : \"completed\",\n \"donationAccount\" : \"CHARITY_ACCOUNT\",\n \"merchantAccount\" : \"YOUR_MERCHANT_ACCOUNT\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"reference\" : \"YOUR_DONATION_REFERENCE\",\n \"payment\" : {\n \"pspReference\" : \"8535762347980628\",\n \"resultCode\" : \"Authorised\",\n \"merchantReference\" : \"YOUR_DONATION_REFERENCE\"\n }\n}", + "originalRequest": { + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"reference\" : \"YOUR_DONATION_REFERENCE\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\"\n },\n \"donationToken\" : \"YOUR_DONATION_TOKEN\",\n \"donationOriginalPspReference\" : \"991559660454807J\",\n \"donationAccount\" : \"CHARITY_ACCOUNT\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"shopperInteraction\" : \"ContAuth\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/donations", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "donations" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Takes in the donation token generated by the `/payments` request and uses it to make the donation for the donation account specified in the request. For more information, see [Donations](https://docs.adyen.com/online-payments/donations)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"reference\" : \"YOUR_DONATION_REFERENCE\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\"\n },\n \"donationToken\" : \"YOUR_DONATION_TOKEN\",\n \"donationOriginalPspReference\" : \"991559660454807J\",\n \"donationAccount\" : \"CHARITY_ACCOUNT\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"shopperInteraction\" : \"ContAuth\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/donations", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "donations" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Takes in the donation token generated by the `/payments` request and uses it to make the donation for the donation account specified in the request. For more information, see [Donations](https://docs.adyen.com/online-payments/donations)." - } + ] }, { "name": "Start a donation transaction with a token", "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"reference\" : \"YOUR_DONATION_REFERENCE\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"recurringDetailReference\" : \"7219687191761347\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"donationAccount\" : \"CHARITY_ACCOUNT\",\n \"shopperInteraction\" : \"ContAuth\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"recurringProcessingModel\" : \"CardOnFile\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/donations", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "donations" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Takes in the donation token generated by the `/payments` request and uses it to make the donation for the donation account specified in the request. For more information, see [Donations](https://docs.adyen.com/online-payments/donations)." - } + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"reference\" : \"YOUR_DONATION_REFERENCE\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"recurringDetailReference\" : \"7219687191761347\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"donationAccount\" : \"CHARITY_ACCOUNT\",\n \"shopperInteraction\" : \"ContAuth\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"recurringProcessingModel\" : \"CardOnFile\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/donations", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "donations" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Takes in the donation token generated by the `/payments` request and uses it to make the donation for the donation account specified in the request. For more information, see [Donations](https://docs.adyen.com/online-payments/donations)." +} + ,"response": [ + ] } ] } - ] }, { @@ -1162,104 +2140,221 @@ { "name": "Get a list of brands on a card", "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 + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"cardNumber\" : \"411111\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/cardDetails", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "cardDetails" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Send a request with at least the first 6 digits of the card number to get a response with an array of brands on the card. If you include [your supported brands](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__reqParam_supportedBrands) in the request, the response also tells you if you support each [brand that was identified](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__resParam_details). If you have an API-only integration and collect card data, use this endpoint to find out if the shopper's card is co-branded. For co-branded cards, you must let the shopper choose the brand to pay with if you support both brands. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"brands\" : [ {\n \"type\" : \"visa\",\n \"supported\" : true\n }, {\n \"type\" : \"cartebancaire\",\n \"supported\" : true\n } ]\n}", + "originalRequest": { + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"cardNumber\" : \"411111\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/cardDetails", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "cardDetails" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Send a request with at least the first 6 digits of the card number to get a response with an array of brands on the card. If you include [your supported brands](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__reqParam_supportedBrands) in the request, the response also tells you if you support each [brand that was identified](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__resParam_details). If you have an API-only integration and collect card data, use this endpoint to find out if the shopper's card is co-branded. For co-branded cards, you must let the shopper choose the brand to pay with if you support both brands. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"cardNumber\" : \"411111\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/cardDetails", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "cardDetails" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Send a request with at least the first 6 digits of the card number to get a response with an array of brands on the card. If you include [your supported brands](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__reqParam_supportedBrands) in the request, the response also tells you if you support each [brand that was identified](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__resParam_details). If you have an API-only integration and collect card data, use this endpoint to find out if the shopper's card is co-branded. For co-branded cards, you must let the shopper choose the brand to pay with if you support both brands. " - } + ] }, { "name": "Get a list of brands on a card specifying your supported card brands", "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 + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"cardNumber\" : \"411111\",\n \"supportedBrands\" : [ \"visa\", \"mc\", \"amex\" ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/cardDetails", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "cardDetails" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Send a request with at least the first 6 digits of the card number to get a response with an array of brands on the card. If you include [your supported brands](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__reqParam_supportedBrands) in the request, the response also tells you if you support each [brand that was identified](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__resParam_details). If you have an API-only integration and collect card data, use this endpoint to find out if the shopper's card is co-branded. For co-branded cards, you must let the shopper choose the brand to pay with if you support both brands. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"brands\" : [ {\n \"type\" : \"visa\",\n \"supported\" : true\n }, {\n \"type\" : \"cartebancaire\",\n \"supported\" : false\n } ]\n}", + "originalRequest": { + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"cardNumber\" : \"411111\",\n \"supportedBrands\" : [ \"visa\", \"mc\", \"amex\" ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/cardDetails", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "cardDetails" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Send a request with at least the first 6 digits of the card number to get a response with an array of brands on the card. If you include [your supported brands](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__reqParam_supportedBrands) in the request, the response also tells you if you support each [brand that was identified](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__resParam_details). If you have an API-only integration and collect card data, use this endpoint to find out if the shopper's card is co-branded. For co-branded cards, you must let the shopper choose the brand to pay with if you support both brands. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"cardNumber\" : \"411111\",\n \"supportedBrands\" : [ \"visa\", \"mc\", \"amex\" ]\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/cardDetails", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "cardDetails" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Send a request with at least the first 6 digits of the card number to get a response with an array of brands on the card. If you include [your supported brands](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__reqParam_supportedBrands) in the request, the response also tells you if you support each [brand that was identified](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__resParam_details). If you have an API-only integration and collect card data, use this endpoint to find out if the shopper's card is co-branded. For co-branded cards, you must let the shopper choose the brand to pay with if you support both brands. " - } + ] } ] - } -, + }, { "name": "/paymentMethods", "description": "Queries the available payment methods for a transaction based on the transaction context (like amount, country, and currency). Besides giving back a list of the available payment methods, the response also returns which input details you need to collect from the shopper (to be submitted to `/payments`). Although we highly recommend using this endpoint to ensure you are always offering the most up-to-date list of payment methods, its usage is optional. You can, for example, also cache the `/paymentMethods` response and update it once a week.", @@ -1267,153 +2362,329 @@ { "name": "Get available payment methods", "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 + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentMethods", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentMethods" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Queries the available payment methods for a transaction based on the transaction context (like amount, country, and currency). Besides giving back a list of the available payment methods, the response also returns which input details you need to collect from the shopper (to be submitted to `/payments`). Although we highly recommend using this endpoint to ensure you are always offering the most up-to-date list of payment methods, its usage is optional. You can, for example, also cache the `/paymentMethods` response and update it once a week." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"paymentMethods\" : [ {\n \"details\" : [ {\n \"details\" : [ {\n \"key\" : \"ownerName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"bankLocationId\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"bankAccountNumber\",\n \"type\" : \"text\"\n } ],\n \"key\" : \"bankAccount\",\n \"type\" : \"bankAccount\"\n } ],\n \"name\" : \"ACH Direct Debit\",\n \"type\" : \"ach\"\n }, {\n \"name\" : \"Adyen Voucher\",\n \"type\" : \"adyen_test_voucher\"\n }, {\n \"details\" : [ {\n \"details\" : [ {\n \"key\" : \"firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"lastName\",\n \"type\" : \"text\"\n }, {\n \"items\" : [ {\n \"id\" : \"M\",\n \"name\" : \"male\"\n }, {\n \"id\" : \"F\",\n \"name\" : \"female\"\n } ],\n \"key\" : \"gender\",\n \"type\" : \"radio\"\n }, {\n \"key\" : \"dateOfBirth\",\n \"type\" : \"date\"\n }, {\n \"key\" : \"telephoneNumber\",\n \"type\" : \"tel\"\n }, {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n } ],\n \"key\" : \"personalDetails\",\n \"type\" : \"fieldSet\"\n }, {\n \"details\" : [ {\n \"key\" : \"street\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"houseNumberOrName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"city\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"postalCode\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"stateOrProvince\",\n \"optional\" : true,\n \"type\" : \"text\"\n }, {\n \"items\" : [ {\n \"id\" : \"NL\",\n \"name\" : \"Netherlands\"\n }, {\n \"id\" : \"BE\",\n \"name\" : \"Belgium\"\n } ],\n \"key\" : \"country\",\n \"type\" : \"select\"\n } ],\n \"key\" : \"billingAddress\",\n \"type\" : \"address\"\n }, {\n \"key\" : \"separateDeliveryAddress\",\n \"optional\" : true,\n \"type\" : \"boolean\",\n \"value\" : \"false\"\n }, {\n \"details\" : [ {\n \"key\" : \"street\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"houseNumberOrName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"city\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"postalCode\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"stateOrProvince\",\n \"optional\" : true,\n \"type\" : \"text\"\n }, {\n \"items\" : [ {\n \"id\" : \"NL\",\n \"name\" : \"Netherlands\"\n }, {\n \"id\" : \"BE\",\n \"name\" : \"Belgium\"\n } ],\n \"key\" : \"country\",\n \"type\" : \"select\"\n } ],\n \"key\" : \"deliveryAddress\",\n \"optional\" : true,\n \"type\" : \"address\"\n } ],\n \"name\" : \"AfterPay Invoice\",\n \"type\" : \"afterpay_default\"\n }, {\n \"name\" : \"AfterPay DirectDebit\",\n \"type\" : \"afterpay_directdebit\"\n }, {\n \"name\" : \"Afterpay\",\n \"type\" : \"afterpaytouch\"\n }, {\n \"details\" : [ {\n \"key\" : \"encryptedCardNumber\",\n \"type\" : \"cardToken\"\n }, {\n \"key\" : \"encryptedSecurityCode\",\n \"type\" : \"cardToken\"\n }, {\n \"key\" : \"encryptedExpiryMonth\",\n \"type\" : \"cardToken\"\n }, {\n \"key\" : \"encryptedExpiryYear\",\n \"type\" : \"cardToken\"\n }, {\n \"key\" : \"holderName\",\n \"optional\" : true,\n \"type\" : \"text\"\n } ],\n \"name\" : \"Credit Card\",\n \"type\" : \"scheme\"\n }, {\n \"name\" : \"AliPay\",\n \"type\" : \"alipay\"\n }, {\n \"name\" : \"AliPay HK\",\n \"type\" : \"alipay_hk\"\n }, {\n \"name\" : \"AliPay\",\n \"type\" : \"alipay_wap\"\n }, {\n \"details\" : [ {\n \"key\" : \"additionalData.androidpay.token\",\n \"type\" : \"androidPayToken\"\n } ],\n \"name\" : \"Android Pay\",\n \"type\" : \"androidpay\"\n }, {\n \"details\" : [ {\n \"key\" : \"additionalData.applepay.token\",\n \"type\" : \"applePayToken\"\n } ],\n \"name\" : \"Apple Pay\",\n \"type\" : \"applepay\"\n }, {\n \"name\" : \"Credit Card via AsiaPay\",\n \"type\" : \"asiapay\"\n }, {\n \"name\" : \"China UnionPay\",\n \"type\" : \"asiapay_unionpay\"\n }, {\n \"name\" : \"Baby Gift Card\",\n \"type\" : \"babygiftcard\"\n }, {\n \"name\" : \"Baloto\",\n \"type\" : \"baloto\"\n }, {\n \"name\" : \"BancNet\",\n \"type\" : \"bancnet\"\n }, {\n \"name\" : \"Bank Transfer (BG)\",\n \"type\" : \"bankTransfer_BG\"\n }, {\n \"name\" : \"Bank Transfer (CH)\",\n \"type\" : \"bankTransfer_CH\"\n }, {\n \"name\" : \"Bank Transfer (DE)\",\n \"type\" : \"bankTransfer_DE\"\n }, {\n \"name\" : \"Bank Transfer (FI)\",\n \"type\" : \"bankTransfer_FI\"\n }, {\n \"name\" : \"Bank Transfer (GB)\",\n \"type\" : \"bankTransfer_GB\"\n }, {\n \"name\" : \"Bank Transfer (HU)\",\n \"type\" : \"bankTransfer_HU\"\n }, {\n \"name\" : \"SEPA Bank Transfer\",\n \"type\" : \"bankTransfer_IBAN\"\n }, {\n \"name\" : \"Bank Transfer (IE)\",\n \"type\" : \"bankTransfer_IE\"\n }, {\n \"name\" : \"Electronic Bank Transfer (MX)\",\n \"type\" : \"bankTransfer_MX_linked\"\n }, {\n \"name\" : \"Bank Transfer (MX)\",\n \"type\" : \"bankTransfer_MX_offline\"\n }, {\n \"name\" : \"Bank Transfer (NL)\",\n \"type\" : \"bankTransfer_NL\"\n }, {\n \"name\" : \"Bank Transfer (PL)\",\n \"type\" : \"bankTransfer_PL\"\n }, {\n \"name\" : \"Bank Transfer (SE)\",\n \"type\" : \"bankTransfer_SE\"\n }, {\n \"name\" : \"Bank Transfer (US)\",\n \"type\" : \"bankTransfer_US\"\n }, {\n \"name\" : \"Payconiq by Bancontact\",\n \"type\" : \"bcmc_mobile\"\n }, {\n \"name\" : \"Bijenkorf Cadeaucard\",\n \"type\" : \"bijcadeaucard\"\n }, {\n \"name\" : \"99Bill\",\n \"type\" : \"bill99\"\n }, {\n \"details\" : [ {\n \"items\" : [ {\n \"id\" : \"AUB_DIRECT\",\n \"name\" : \"AU Small Finance Bank\"\n }, {\n \"id\" : \"ALB_DIRECT\",\n \"name\" : \"Allahabad Bank \"\n }, {\n \"id\" : \"APG_DIRECT\",\n \"name\" : \"Andhra Pragathi Grameena Bank\"\n }, {\n \"id\" : \"BDN_DIRECT\",\n \"name\" : \"Bandhan bank\"\n }, {\n \"id\" : \"BBK_DIRECT\",\n \"name\" : \"Bank of Bahrain and Kuwait\"\n }, {\n \"id\" : \"BBR_DIRECT\",\n \"name\" : \"Bank of Baroda - Retail Banking\"\n }, {\n \"id\" : \"BCB_DIRECT\",\n \"name\" : \"Bassien Catholic Co-Operative Bank \"\n }, {\n \"id\" : \"CNB_DIRECT\",\n \"name\" : \"Canara Bank\"\n }, {\n \"id\" : \"SYD_DIRECT\",\n \"name\" : \"Canara Bank (e-Syndicate)\"\n }, {\n \"id\" : \"CSB_DIRECT\",\n \"name\" : \"Catholic Syrian Bank\"\n }, {\n \"id\" : \"CBI_DIRECT\",\n \"name\" : \"Central Bank of India\"\n }, {\n \"id\" : \"CUB_DIRECT\",\n \"name\" : \"City Union Bank\"\n }, {\n \"id\" : \"COB_DIRECT\",\n \"name\" : \"Cosmos Bank\"\n }, {\n \"id\" : \"DEN_DIRECT\",\n \"name\" : \"Dena Bank\"\n }, {\n \"id\" : \"DBK_DIRECT\",\n \"name\" : \"Deutsche Bank\"\n }, {\n \"id\" : \"DCB_DIRECT\",\n \"name\" : \"Development Credit Bank\"\n }, {\n \"id\" : \"DLB_DIRECT\",\n \"name\" : \"Dhanlakshmi Bank - Retail Net Banking\"\n }, {\n \"id\" : \"ESF_DIRECT\",\n \"name\" : \"ESAF Small Finance Bank\"\n }, {\n \"id\" : \"EQB_DIRECT\",\n \"name\" : \"Equitas Small Finance Bank\"\n }, {\n \"id\" : \"FBK_DIRECT\",\n \"name\" : \"Federal Bank\"\n }, {\n \"id\" : \"FNC_DIRECT\",\n \"name\" : \"Fincare Bank\"\n }, {\n \"id\" : \"HDF_DIRECT\",\n \"name\" : \"HDFC Bank\"\n }, {\n \"id\" : \"ICI_DIRECT\",\n \"name\" : \"ICICI Bank \"\n }, {\n \"id\" : \"IDB_DIRECT\",\n \"name\" : \"IDBI Bank - Retail Net Banking\"\n }, {\n \"id\" : \"IDN_DIRECT\",\n \"name\" : \"IDFC FIRST Bank\"\n }, {\n \"id\" : \"INB_DIRECT\",\n \"name\" : \"Indian Bank\"\n }, {\n \"id\" : \"IOB_DIRECT\",\n \"name\" : \"Indian Overseas Bank\"\n }, {\n \"id\" : \"IDS_DIRECT\",\n \"name\" : \"IndusInd Bank\"\n }, {\n \"id\" : \"JKB_DIRECT\",\n \"name\" : \"Jammu & Kashmir Bank\"\n }, {\n \"id\" : \"JNB_DIRECT\",\n \"name\" : \"Jana Small Finance Bank\"\n }, {\n \"id\" : \"JSB_DIRECT\",\n \"name\" : \"Janata Sahakari Bank Ltd Pune\"\n }, {\n \"id\" : \"KJB_DIRECT\",\n \"name\" : \"Kalyan Janata Sahakari Bank\"\n }, {\n \"id\" : \"KBL_DIRECT\",\n \"name\" : \"Karnataka Bank Ltd\"\n }, {\n \"id\" : \"KVB_DIRECT\",\n \"name\" : \"Karur Vysya Bank\"\n }, {\n \"id\" : \"162_DIRECT\",\n \"name\" : \"Kotak Bank\"\n }, {\n \"id\" : \"LVR_DIRECT\",\n \"name\" : \"Laxmi Vilas Bank - Retail\"\n }, {\n \"id\" : \"NKB_DIRECT\",\n \"name\" : \"NKGSB Co-op Bank\"\n }, {\n \"id\" : \"NEB_DIRECT\",\n \"name\" : \"North East Small Finance Bank\"\n }, {\n \"id\" : \"OBC_DIRECT\",\n \"name\" : \"PNB (Erstwhile-Oriental Bank of Commerce)\"\n }, {\n \"id\" : \"UNI_DIRECT\",\n \"name\" : \"PNB (Erstwhile-United Bank of India)\"\n }, {\n \"id\" : \"PMC_DIRECT\",\n \"name\" : \"Punjab & Maharastra Co-op Bank\"\n }, {\n \"id\" : \"PSB_DIRECT\",\n \"name\" : \"Punjab & Sind Bank\"\n }, {\n \"id\" : \"CPN_DIRECT\",\n \"name\" : \"Punjab National Bank - Corporate \"\n }, {\n \"id\" : \"PNB_DIRECT\",\n \"name\" : \"Punjab National Bank - Retail Banking\"\n }, {\n \"id\" : \"RBL_DIRECT\",\n \"name\" : \"RBL Bank Limited\"\n }, {\n \"id\" : \"SWB_DIRECT\",\n \"name\" : \"Saraswat Bank\"\n }, {\n \"id\" : \"SHB_DIRECT\",\n \"name\" : \"Shivalik Mercantile Cooperative Bank Ltd\"\n }, {\n \"id\" : \"SIB_DIRECT\",\n \"name\" : \"South Indian Bank\"\n }, {\n \"id\" : \"SCB_DIRECT\",\n \"name\" : \"Standard Chartered Bank\"\n }, {\n \"id\" : \"SBI_DIRECT\",\n \"name\" : \"State Bank of India\"\n }, {\n \"id\" : \"SRB_DIRECT\",\n \"name\" : \"Suryoday Small Finance Bank\"\n }, {\n \"id\" : \"TJB_DIRECT\",\n \"name\" : \"TJSB Bank\"\n }, {\n \"id\" : \"TNC_DIRECT\",\n \"name\" : \"Tamil Nadu State Co-operative Bank\"\n }, {\n \"id\" : \"TMB_DIRECT\",\n \"name\" : \"Tamilnad Mercantile Bank Ltd\"\n }, {\n \"id\" : \"TBB_DIRECT\",\n \"name\" : \"Thane Bharat Sahakari Bank Ltd\"\n }, {\n \"id\" : \"MSB_DIRECT\",\n \"name\" : \"The Mehsana Urban Co Op Bank Ltd\"\n }, {\n \"id\" : \"UCO_DIRECT\",\n \"name\" : \"UCO Bank\"\n }, {\n \"id\" : \"UBI_DIRECT\",\n \"name\" : \"Union Bank of India\"\n }, {\n \"id\" : \"ADB_DIRECT\",\n \"name\" : \"Union Bank of India (Erstwhile Andhra Bank)\"\n }, {\n \"id\" : \"CRP_DIRECT\",\n \"name\" : \"Union Bank of India (Erstwhile Corporation Bank)\"\n }, {\n \"id\" : \"VRB_DIRECT\",\n \"name\" : \"Varachha Co-operative Bank Limited\"\n }, {\n \"id\" : \"VJB_DIRECT\",\n \"name\" : \"Vijaya Bank\"\n }, {\n \"id\" : \"YBK_DIRECT\",\n \"name\" : \"Yes Bank\"\n }, {\n \"id\" : \"ZOB_DIRECT\",\n \"name\" : \"Zoroastrian Co-operative Bank Limited\"\n }, {\n \"id\" : \"DBS_DIRECT\",\n \"name\" : \"digibank by DBS\"\n } ],\n \"key\" : \"issuer\",\n \"type\" : \"select\"\n } ],\n \"name\" : \"Online Banking India\",\n \"type\" : \"billdesk_online\"\n }, {\n \"name\" : \"UPI\",\n \"type\" : \"billdesk_upi\"\n }, {\n \"details\" : [ {\n \"items\" : [ {\n \"id\" : \"DCW_DIRECT\",\n \"name\" : \"DCB Cippy\"\n }, {\n \"id\" : \"ICC_DIRECT\",\n \"name\" : \"ICC Cash Card\"\n }, {\n \"id\" : \"OXY_DIRECT\",\n \"name\" : \"Oxigen Wallet\"\n }, {\n \"id\" : \"PCH_DIRECT\",\n \"name\" : \"Pay World Money\"\n } ],\n \"key\" : \"issuer\",\n \"type\" : \"select\"\n } ],\n \"name\" : \"Wallets India\",\n \"type\" : \"billdesk_wallet\"\n }, {\n \"name\" : \"Blik\",\n \"type\" : \"blik\"\n }, {\n \"name\" : \"Bloemen Giftcard\",\n \"type\" : \"bloemengiftcard\"\n }, {\n \"name\" : \"Boekenbon Giftcard\",\n \"type\" : \"boekenbon\"\n }, {\n \"name\" : \"Boleto\",\n \"type\" : \"boleto\"\n }, {\n \"name\" : \"Boleto Bancario\",\n \"type\" : \"boletobancario_santander\"\n }, {\n \"name\" : \"Bradesco\",\n \"type\" : \"bradesco\"\n }, {\n \"name\" : \"Cash-Ticket\",\n \"type\" : \"cashticket\"\n }, {\n \"name\" : \"CashU\",\n \"type\" : \"cashu\"\n }, {\n \"name\" : \"CCAvenue\",\n \"type\" : \"ccavenue\"\n }, {\n \"name\" : \"Mula Checkout\",\n \"type\" : \"cellulant\"\n }, {\n \"name\" : \"Chasin Giftcard\",\n \"type\" : \"chasingiftcard\"\n }, {\n \"name\" : \"Clearpay\",\n \"type\" : \"clearpay\"\n }, {\n \"name\" : \"ClickandBuy\",\n \"type\" : \"clickandbuy\"\n }, {\n \"name\" : \"Paiement en 3 fois par Cartes Bancaires\",\n \"type\" : \"cofinoga_3xcb\"\n }, {\n \"name\" : \"Costes Giftcard\",\n \"type\" : \"costesgiftcard\"\n }, {\n \"name\" : \"custom_settlement\",\n \"type\" : \"custom_settlement\"\n }, {\n \"name\" : \"DANA\",\n \"type\" : \"dana\"\n }, {\n \"name\" : \"DineroMail\",\n \"type\" : \"dineromail\"\n }, {\n \"name\" : \"Online bank transfer.\",\n \"type\" : \"directEbanking\"\n }, {\n \"name\" : \"Direct Debit Brazil - Banco do Brazil\",\n \"type\" : \"directdebit_BR_bancodobrasil\"\n }, {\n \"name\" : \"Direct Debit Brazil - Bradesco\",\n \"type\" : \"directdebit_BR_bradesco\"\n }, {\n \"name\" : \"Direct Debit Brazil - Caixa Economica Federal\",\n \"type\" : \"directdebit_BR_caixa\"\n }, {\n \"name\" : \"Direct Debit Brazil - HSBC\",\n \"type\" : \"directdebit_BR_hsbc\"\n }, {\n \"name\" : \"Direct Debit Brazil - Itau\",\n \"type\" : \"directdebit_BR_itau\"\n }, {\n \"name\" : \"Direct Debit Brazil - Santander\",\n \"type\" : \"directdebit_BR_santander\"\n }, {\n \"name\" : \"BACS Direct Debit\",\n \"type\" : \"directdebit_GB\"\n }, {\n \"details\" : [ {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n }, {\n \"key\" : \"firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"lastName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"infix\",\n \"optional\" : true,\n \"type\" : \"text\"\n } ],\n \"name\" : \"Alfamart\",\n \"type\" : \"doku_alfamart\"\n }, {\n \"details\" : [ {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n }, {\n \"key\" : \"firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"lastName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"infix\",\n \"optional\" : true,\n \"type\" : \"text\"\n } ],\n \"name\" : \"BCA Bank Transfer\",\n \"type\" : \"doku_bca_va\"\n }, {\n \"details\" : [ {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n }, {\n \"key\" : \"firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"lastName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"infix\",\n \"optional\" : true,\n \"type\" : \"text\"\n } ],\n \"name\" : \"BNI VA\",\n \"type\" : \"doku_bni_va\"\n }, {\n \"details\" : [ {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n }, {\n \"key\" : \"firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"lastName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"infix\",\n \"optional\" : true,\n \"type\" : \"text\"\n } ],\n \"name\" : \"BRI VA\",\n \"type\" : \"doku_bri_va\"\n }, {\n \"details\" : [ {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n }, {\n \"key\" : \"firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"lastName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"infix\",\n \"optional\" : true,\n \"type\" : \"text\"\n } ],\n \"name\" : \"CIMB VA\",\n \"type\" : \"doku_cimb_va\"\n }, {\n \"details\" : [ {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n }, {\n \"key\" : \"firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"lastName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"infix\",\n \"optional\" : true,\n \"type\" : \"text\"\n } ],\n \"name\" : \"Danamon VA\",\n \"type\" : \"doku_danamon_va\"\n }, {\n \"details\" : [ {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n }, {\n \"key\" : \"firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"lastName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"infix\",\n \"optional\" : true,\n \"type\" : \"text\"\n } ],\n \"name\" : \"Indomaret\",\n \"type\" : \"doku_indomaret\"\n }, {\n \"details\" : [ {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n }, {\n \"key\" : \"firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"lastName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"infix\",\n \"optional\" : true,\n \"type\" : \"text\"\n } ],\n \"name\" : \"Mandiri VA\",\n \"type\" : \"doku_mandiri_va\"\n }, {\n \"details\" : [ {\n \"key\" : \"ovoId\",\n \"type\" : \"text\"\n } ],\n \"name\" : \"OVO\",\n \"type\" : \"doku_ovo\"\n }, {\n \"details\" : [ {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n }, {\n \"key\" : \"firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"lastName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"infix\",\n \"optional\" : true,\n \"type\" : \"text\"\n } ],\n \"name\" : \"Bank Transfer\",\n \"type\" : \"doku_permata_lite_atm\"\n }, {\n \"details\" : [ {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n }, {\n \"key\" : \"firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"lastName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"infix\",\n \"optional\" : true,\n \"type\" : \"text\"\n } ],\n \"name\" : \"DOKU wallet\",\n \"type\" : \"doku_wallet\"\n }, {\n \"details\" : [ {\n \"items\" : [ {\n \"id\" : \"66\",\n \"name\" : \"Bank Nowy BFG S.A.\"\n }, {\n \"id\" : \"92\",\n \"name\" : \"Bank Spółdzielczy w Brodnicy\"\n }, {\n \"id\" : \"11\",\n \"name\" : \"Bank transfer / postal\"\n }, {\n \"id\" : \"74\",\n \"name\" : \"Banki Spółdzielcze\"\n }, {\n \"id\" : \"73\",\n \"name\" : \"BLIK\"\n }, {\n \"id\" : \"90\",\n \"name\" : \"BNP Paribas - płacę z Pl@net\"\n }, {\n \"id\" : \"59\",\n \"name\" : \"CinkciarzPAY\"\n }, {\n \"id\" : \"87\",\n \"name\" : \"Credit Agricole PBL\"\n }, {\n \"id\" : \"83\",\n \"name\" : \"EnveloBank\"\n }, {\n \"id\" : \"76\",\n \"name\" : \"Getin Bank PBL\"\n }, {\n \"id\" : \"81\",\n \"name\" : \"Idea Cloud\"\n }, {\n \"id\" : \"7\",\n \"name\" : \"ING Corporate customers\"\n }, {\n \"id\" : \"93\",\n \"name\" : \"Kasa Stefczyka\"\n }, {\n \"id\" : \"44\",\n \"name\" : \"Millennium - Płatności Internetowe\"\n }, {\n \"id\" : \"10\",\n \"name\" : \"Millennium Corporate customers\"\n }, {\n \"id\" : \"68\",\n \"name\" : \"mRaty\"\n }, {\n \"id\" : \"1\",\n \"name\" : \"mTransfer\"\n }, {\n \"id\" : \"91\",\n \"name\" : \"Nest Bank\"\n }, {\n \"id\" : \"80\",\n \"name\" : \"Noble Pay\"\n }, {\n \"id\" : \"50\",\n \"name\" : \"Pay Way Toyota Bank\"\n }, {\n \"id\" : \"45\",\n \"name\" : \"Pay with Alior Bank\"\n }, {\n \"id\" : \"36\",\n \"name\" : \"Pekao24Przelew\"\n }, {\n \"id\" : \"70\",\n \"name\" : \"Pocztowy24\"\n }, {\n \"id\" : \"6\",\n \"name\" : \"Przelew24\"\n }, {\n \"id\" : \"46\",\n \"name\" : \"Płacę z Citi Handlowy\"\n }, {\n \"id\" : \"38\",\n \"name\" : \"Płacę z ING\"\n }, {\n \"id\" : \"2\",\n \"name\" : \"Płacę z Inteligo\"\n }, {\n \"id\" : \"4\",\n \"name\" : \"Płacę z iPKO\"\n }, {\n \"id\" : \"75\",\n \"name\" : \"Płacę z Plus Bank\"\n }, {\n \"id\" : \"51\",\n \"name\" : \"Płać z BOŚ\"\n }, {\n \"id\" : \"55\",\n \"name\" : \"Raty z Alior Bankiem PLN\"\n }, {\n \"id\" : \"89\",\n \"name\" : \"Santander\"\n }, {\n \"id\" : \"52\",\n \"name\" : \"SkyCash\"\n } ],\n \"key\" : \"issuer\",\n \"type\" : \"select\"\n } ],\n \"name\" : \"Local Polish Payment Methods\",\n \"type\" : \"dotpay\"\n }, {\n \"name\" : \"Dragonpay Prepaid Credits\",\n \"type\" : \"dragonpay_credits\"\n }, {\n \"name\" : \"Online Banking\",\n \"type\" : \"dragonpay_ebanking\"\n }, {\n \"name\" : \"GCash\",\n \"type\" : \"dragonpay_gcash\"\n }, {\n \"name\" : \"Over The Counter Banks\",\n \"type\" : \"dragonpay_otc_banking\"\n }, {\n \"name\" : \"OTC non-Bank via Dragonpay\",\n \"type\" : \"dragonpay_otc_non_banking\"\n }, {\n \"name\" : \"Convenience Stores\",\n \"type\" : \"dragonpay_otc_philippines\"\n }, {\n \"name\" : \"7/11\",\n \"type\" : \"dragonpay_seveneleven\"\n }, {\n \"name\" : \"eagleeye_voucher\",\n \"type\" : \"eagleeye_voucher\"\n }, {\n \"name\" : \"Finnish E-Banking\",\n \"type\" : \"ebanking_FI\"\n }, {\n \"name\" : \"Pay-easy ATM\",\n \"type\" : \"econtext_atm\"\n }, {\n \"name\" : \"Online Banking\",\n \"type\" : \"econtext_online\"\n }, {\n \"name\" : \"7-Eleven\",\n \"type\" : \"econtext_seven_eleven\"\n }, {\n \"name\" : \"Convenience Stores\",\n \"type\" : \"econtext_stores\"\n }, {\n \"name\" : \"eft_directdebit_CA\",\n \"type\" : \"eft_directdebit_CA\"\n }, {\n \"name\" : \"Lastschrift (ELV)\",\n \"type\" : \"elv\"\n }, {\n \"details\" : [ {\n \"items\" : [ {\n \"id\" : \"231\",\n \"name\" : \"POP Pankki\"\n }, {\n \"id\" : \"551\",\n \"name\" : \"Komerční banka\"\n }, {\n \"id\" : \"232\",\n \"name\" : \"Aktia\"\n }, {\n \"id\" : \"552\",\n \"name\" : \"Raiffeisen\"\n }, {\n \"id\" : \"233\",\n \"name\" : \"Säästöpankki\"\n }, {\n \"id\" : \"750\",\n \"name\" : \"Swedbank\"\n }, {\n \"id\" : \"211\",\n \"name\" : \"Nordea\"\n }, {\n \"id\" : \"553\",\n \"name\" : \"ČSOB\"\n }, {\n \"id\" : \"234\",\n \"name\" : \"S-Pankki\"\n }, {\n \"id\" : \"751\",\n \"name\" : \"SEB\"\n }, {\n \"id\" : \"554\",\n \"name\" : \"Moneta\"\n }, {\n \"id\" : \"235\",\n \"name\" : \"OmaSP\"\n }, {\n \"id\" : \"752\",\n \"name\" : \"Nordea\"\n }, {\n \"id\" : \"213\",\n \"name\" : \"Op-Pohjola\"\n }, {\n \"id\" : \"555\",\n \"name\" : \"UniCredit\"\n }, {\n \"id\" : \"753\",\n \"name\" : \"LHV\"\n }, {\n \"id\" : \"556\",\n \"name\" : \"Fio\"\n }, {\n \"id\" : \"557\",\n \"name\" : \"mBank\"\n }, {\n \"id\" : \"216\",\n \"name\" : \"Handelsbanken\"\n }, {\n \"id\" : \"558\",\n \"name\" : \"Air Bank\"\n }, {\n \"id\" : \"260\",\n \"name\" : \"Länsförsäkringar\"\n }, {\n \"id\" : \"240\",\n \"name\" : \"BankDeposit\"\n }, {\n \"id\" : \"265\",\n \"name\" : \"Sparbanken\"\n }, {\n \"id\" : \"640\",\n \"name\" : \"BankDeposit\"\n }, {\n \"id\" : \"200\",\n \"name\" : \"Ålandsbanken\"\n }, {\n \"id\" : \"940\",\n \"name\" : \"Swedbank\"\n }, {\n \"id\" : \"500\",\n \"name\" : \"Česká spořitelna\"\n }, {\n \"id\" : \"720\",\n \"name\" : \"Swedbank\"\n }, {\n \"id\" : \"941\",\n \"name\" : \"SEB\"\n }, {\n \"id\" : \"204\",\n \"name\" : \"Danske Bank\"\n }, {\n \"id\" : \"721\",\n \"name\" : \"SEB\"\n }, {\n \"id\" : \"942\",\n \"name\" : \"Citadele\"\n }, {\n \"id\" : \"205\",\n \"name\" : \"Handelsbanken\"\n }, {\n \"id\" : \"722\",\n \"name\" : \"DNB\"\n }, {\n \"id\" : \"943\",\n \"name\" : \"DNB\"\n }, {\n \"id\" : \"206\",\n \"name\" : \"Nordea\"\n }, {\n \"id\" : \"723\",\n \"name\" : \"Šiaulių bankas\"\n }, {\n \"id\" : \"207\",\n \"name\" : \"SEB\"\n }, {\n \"id\" : \"724\",\n \"name\" : \"Nordea\"\n }, {\n \"id\" : \"505\",\n \"name\" : \"Komerční banka\"\n }, {\n \"id\" : \"208\",\n \"name\" : \"Skandiabanken\"\n }, {\n \"id\" : \"209\",\n \"name\" : \"Swedbank\"\n } ],\n \"key\" : \"issuer\",\n \"type\" : \"select\"\n } ],\n \"name\" : \"Bank Payment\",\n \"type\" : \"entercash\"\n }, {\n \"name\" : \"Nationale Entertainment Card\",\n \"type\" : \"entertainmentcard\"\n }, {\n \"details\" : [ {\n \"items\" : [ {\n \"id\" : \"d5d5b133-1c0d-4c08-b2be-3c9b116dc326\",\n \"name\" : \"Dolomitenbank\"\n }, {\n \"id\" : \"ee9fc487-ebe0-486c-8101-17dce5141a67\",\n \"name\" : \"Raiffeissen Bankengruppe\"\n }, {\n \"id\" : \"6765e225-a0dc-4481-9666-e26303d4f221\",\n \"name\" : \"Hypo Tirol Bank AG\"\n }, {\n \"id\" : \"8b0bfeea-fbb0-4337-b3a1-0e25c0f060fc\",\n \"name\" : \"Sparda Bank Wien\"\n }, {\n \"id\" : \"1190c4d1-b37a-487e-9355-e0a067f54a9f\",\n \"name\" : \"Schoellerbank AG\"\n }, {\n \"id\" : \"e2e97aaa-de4c-4e18-9431-d99790773433\",\n \"name\" : \"Volksbank Gruppe\"\n }, {\n \"id\" : \"bb7d223a-17d5-48af-a6ef-8a2bf5a4e5d9\",\n \"name\" : \"Immo-Bank\"\n }, {\n \"id\" : \"e6819e7a-f663-414b-92ec-cf7c82d2f4e5\",\n \"name\" : \"Bank Austria\"\n }, {\n \"id\" : \"eff103e6-843d-48b7-a6e6-fbd88f511b11\",\n \"name\" : \"Easybank AG\"\n }, {\n \"id\" : \"25942cc9-617d-42a1-89ba-d1ab5a05770a\",\n \"name\" : \"VR-BankBraunau\"\n }, {\n \"id\" : \"4a0a975b-0594-4b40-9068-39f77b3a91f9\",\n \"name\" : \"Volkskreditbank\"\n }, {\n \"id\" : \"3fdc41fc-3d3d-4ee3-a1fe-cd79cfd58ea3\",\n \"name\" : \"Erste Bank und Sparkassen\"\n }, {\n \"id\" : \"ba7199cc-f057-42f2-9856-2378abf21638\",\n \"name\" : \"BAWAG P.S.K. Gruppe\"\n } ],\n \"key\" : \"issuer\",\n \"type\" : \"select\"\n } ],\n \"name\" : \"EPS\",\n \"type\" : \"eps\"\n }, {\n \"name\" : \"Expert Cadeaukaart\",\n \"type\" : \"expertgiftcard\"\n }, {\n \"details\" : [ {\n \"details\" : [ {\n \"key\" : \"firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"lastName\",\n \"type\" : \"text\"\n }, {\n \"items\" : [ {\n \"id\" : \"M\",\n \"name\" : \"male\"\n }, {\n \"id\" : \"F\",\n \"name\" : \"female\"\n } ],\n \"key\" : \"gender\",\n \"type\" : \"radio\"\n }, {\n \"key\" : \"telephoneNumber\",\n \"type\" : \"tel\"\n }, {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n } ],\n \"key\" : \"personalDetails\",\n \"type\" : \"fieldSet\"\n }, {\n \"details\" : [ {\n \"key\" : \"street\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"houseNumberOrName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"city\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"postalCode\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"stateOrProvince\",\n \"optional\" : true,\n \"type\" : \"text\"\n }, {\n \"items\" : [ {\n \"id\" : \"FR\",\n \"name\" : \"France\"\n }, {\n \"id\" : \"ES\",\n \"name\" : \"Spain\"\n } ],\n \"key\" : \"country\",\n \"type\" : \"select\"\n } ],\n \"key\" : \"billingAddress\",\n \"type\" : \"address\"\n }, {\n \"key\" : \"separateDeliveryAddress\",\n \"optional\" : true,\n \"type\" : \"boolean\",\n \"value\" : \"false\"\n }, {\n \"details\" : [ {\n \"key\" : \"street\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"houseNumberOrName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"city\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"postalCode\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"stateOrProvince\",\n \"optional\" : true,\n \"type\" : \"text\"\n }, {\n \"items\" : [ {\n \"id\" : \"FR\",\n \"name\" : \"France\"\n }, {\n \"id\" : \"ES\",\n \"name\" : \"Spain\"\n } ],\n \"key\" : \"country\",\n \"type\" : \"select\"\n } ],\n \"key\" : \"deliveryAddress\",\n \"optional\" : true,\n \"type\" : \"address\"\n } ],\n \"name\" : \"3x Oney\",\n \"type\" : \"facilypay_3x\"\n }, {\n \"details\" : [ {\n \"details\" : [ {\n \"key\" : \"firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"lastName\",\n \"type\" : \"text\"\n }, {\n \"items\" : [ {\n \"id\" : \"M\",\n \"name\" : \"male\"\n }, {\n \"id\" : \"F\",\n \"name\" : \"female\"\n } ],\n \"key\" : \"gender\",\n \"type\" : \"radio\"\n }, {\n \"key\" : \"telephoneNumber\",\n \"type\" : \"tel\"\n }, {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n } ],\n \"key\" : \"personalDetails\",\n \"type\" : \"fieldSet\"\n }, {\n \"details\" : [ {\n \"key\" : \"street\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"houseNumberOrName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"city\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"postalCode\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"stateOrProvince\",\n \"optional\" : true,\n \"type\" : \"text\"\n }, {\n \"items\" : [ {\n \"id\" : \"FR\",\n \"name\" : \"France\"\n }, {\n \"id\" : \"ES\",\n \"name\" : \"Spain\"\n } ],\n \"key\" : \"country\",\n \"type\" : \"select\"\n } ],\n \"key\" : \"billingAddress\",\n \"type\" : \"address\"\n }, {\n \"key\" : \"separateDeliveryAddress\",\n \"optional\" : true,\n \"type\" : \"boolean\",\n \"value\" : \"false\"\n }, {\n \"details\" : [ {\n \"key\" : \"street\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"houseNumberOrName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"city\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"postalCode\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"stateOrProvince\",\n \"optional\" : true,\n \"type\" : \"text\"\n }, {\n \"items\" : [ {\n \"id\" : \"FR\",\n \"name\" : \"France\"\n }, {\n \"id\" : \"ES\",\n \"name\" : \"Spain\"\n } ],\n \"key\" : \"country\",\n \"type\" : \"select\"\n } ],\n \"key\" : \"deliveryAddress\",\n \"optional\" : true,\n \"type\" : \"address\"\n } ],\n \"name\" : \"4x Oney\",\n \"type\" : \"facilypay_4x\"\n }, {\n \"name\" : \"Fashioncheque\",\n \"type\" : \"fashioncheque\"\n }, {\n \"details\" : [ {\n \"key\" : \"shopper.firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"shopper.lastName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"shopper.gender\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n }, {\n \"key\" : \"telephoneNumber\",\n \"type\" : \"tel\"\n }, {\n \"key\" : \"countryCode\",\n \"type\" : \"text\"\n } ],\n \"name\" : \"Fawry\",\n \"type\" : \"fawry\"\n }, {\n \"name\" : \"FijnCadeau\",\n \"type\" : \"fijncadeau\"\n }, {\n \"name\" : \"Fleurop Bloemenbon\",\n \"type\" : \"fleuropbloemenbon\"\n }, {\n \"name\" : \"Fonq Giftcard\",\n \"type\" : \"fonqgiftcard\"\n }, {\n \"name\" : \"Gall & Gall\",\n \"type\" : \"gallgall\"\n }, {\n \"name\" : \"GCash\",\n \"type\" : \"gcash\"\n }, {\n \"name\" : \"Generic GiftCard\",\n \"type\" : \"genericgiftcard\"\n }, {\n \"name\" : \"GiftFor2\",\n \"type\" : \"giftfor2card\"\n }, {\n \"name\" : \"Givex\",\n \"type\" : \"givex\"\n }, {\n \"name\" : \"Globe GCash\",\n \"type\" : \"globegcash\"\n }, {\n \"name\" : \"Goldsmiths Card\",\n \"type\" : \"goldsmithscard\"\n }, {\n \"name\" : \"GoPay Wallet\",\n \"type\" : \"gopay_wallet\"\n }, {\n \"name\" : \"OVO\",\n \"type\" : \"grabpay_ID\"\n }, {\n \"name\" : \"GrabPay\",\n \"type\" : \"grabpay_PH\"\n }, {\n \"name\" : \"GrabPay\",\n \"type\" : \"grabpay_SG\"\n }, {\n \"name\" : \"Hallmark Card\",\n \"type\" : \"hallmarkcard\"\n }, {\n \"name\" : \"HDFC\",\n \"type\" : \"hdfc\"\n }, {\n \"name\" : \"Hunkemoller Member Card\",\n \"type\" : \"hmclub\"\n }, {\n \"name\" : \"Hunkemoller Lingerie Card\",\n \"type\" : \"hmlingerie\"\n }, {\n \"details\" : [ {\n \"items\" : [ {\n \"id\" : \"1121\",\n \"name\" : \"Test Issuer\"\n }, {\n \"id\" : \"1154\",\n \"name\" : \"Test Issuer 5\"\n }, {\n \"id\" : \"1153\",\n \"name\" : \"Test Issuer 4\"\n }, {\n \"id\" : \"1152\",\n \"name\" : \"Test Issuer 3\"\n }, {\n \"id\" : \"1151\",\n \"name\" : \"Test Issuer 2\"\n }, {\n \"id\" : \"1162\",\n \"name\" : \"Test Issuer Cancelled\"\n }, {\n \"id\" : \"1161\",\n \"name\" : \"Test Issuer Pending\"\n }, {\n \"id\" : \"1160\",\n \"name\" : \"Test Issuer Refused\"\n }, {\n \"id\" : \"1159\",\n \"name\" : \"Test Issuer 10\"\n }, {\n \"id\" : \"1158\",\n \"name\" : \"Test Issuer 9\"\n }, {\n \"id\" : \"1157\",\n \"name\" : \"Test Issuer 8\"\n }, {\n \"id\" : \"1156\",\n \"name\" : \"Test Issuer 7\"\n }, {\n \"id\" : \"1155\",\n \"name\" : \"Test Issuer 6\"\n } ],\n \"key\" : \"issuer\",\n \"type\" : \"select\"\n } ],\n \"name\" : \"iDEAL\",\n \"type\" : \"ideal\"\n }, {\n \"name\" : \"igive\",\n \"type\" : \"igive\"\n }, {\n \"name\" : \"Korean Account Transfer (IniPay)\",\n \"type\" : \"inicisIniPay_accounttransfer\"\n }, {\n \"name\" : \"Korean Credit Cards (IniPay)\",\n \"type\" : \"inicisIniPay_creditcard\"\n }, {\n \"name\" : \"Korean Mobile Phone (IniPay)\",\n \"type\" : \"inicisIniPay_mobilephone\"\n }, {\n \"name\" : \"Korean Virtual Account (IniPay)\",\n \"type\" : \"inicisIniPay_virtualaccount\"\n }, {\n \"name\" : \"Korean Account Transfer (Mobile)\",\n \"type\" : \"inicisMobile_accounttransfer\"\n }, {\n \"name\" : \"Korean Credit Cards (Mobile)\",\n \"type\" : \"inicisMobile_creditcard\"\n }, {\n \"name\" : \"Korean Mobile Phone (Mobile)\",\n \"type\" : \"inicisMobile_mobilephone\"\n }, {\n \"name\" : \"Korean Virtual Account (Mobile)\",\n \"type\" : \"inicisMobile_virtualaccount\"\n }, {\n \"name\" : \"Korean Credit Cards\",\n \"type\" : \"inicis_creditcard\"\n }, {\n \"name\" : \"Interac® Online\",\n \"type\" : \"interac\"\n }, {\n \"name\" : \"Instant EFT\",\n \"type\" : \"ipay\"\n }, {\n \"name\" : \"iPay88\",\n \"type\" : \"ipay88\"\n }, {\n \"name\" : \"isracard\",\n \"type\" : \"isracard\"\n }, {\n \"name\" : \"Phone Payment\",\n \"type\" : \"ivr\"\n }, {\n \"name\" : \"Landline phone\",\n \"type\" : \"ivrLandline\"\n }, {\n \"name\" : \"Mobile phone\",\n \"type\" : \"ivrMobile\"\n }, {\n \"name\" : \"Kado Wereld\",\n \"type\" : \"kadowereld\"\n }, {\n \"name\" : \"KakaoPay\",\n \"type\" : \"kakaopay\"\n }, {\n \"name\" : \"Karen Millen Card\",\n \"type\" : \"karenmillen\"\n }, {\n \"name\" : \"Karen Millen GiftCard\",\n \"type\" : \"karenmillengiftcard\"\n }, {\n \"name\" : \"Bank Transfer\",\n \"type\" : \"kcp_banktransfer\"\n }, {\n \"name\" : \"Korea–issued cards\",\n \"type\" : \"kcp_creditcard\"\n }, {\n \"name\" : \"PayCo\",\n \"type\" : \"kcp_payco\"\n }, {\n \"name\" : \"Naver Pay\",\n \"type\" : \"kcp_naverpay\"\n }, {\n \"name\" : \"Virtual Account via KCP\",\n \"type\" : \"kcp_va\"\n }, {\n \"name\" : \"Pay later with Klarna.\",\n \"type\" : \"klarna\"\n }, {\n \"name\" : \"Pay over time with Klarna.\",\n \"type\" : \"klarna_account\"\n }, {\n \"name\" : \"Buy Now, Pay Later with Billie\",\n \"type\" : \"klarna_b2b\"\n }, {\n \"name\" : \"Pay now with Klarna.\",\n \"type\" : \"klarna_paynow\"\n }, {\n \"name\" : \"Leisure Card\",\n \"type\" : \"leisurecard\"\n }, {\n \"name\" : \"China Credit Card\",\n \"type\" : \"lianlianpay_creditcard\"\n }, {\n \"name\" : \"China Debit Card\",\n \"type\" : \"lianlianpay_debitcard\"\n }, {\n \"details\" : [ {\n \"key\" : \"telephoneNumber\",\n \"type\" : \"tel\"\n } ],\n \"name\" : \"China Online Banking - Credit Card\",\n \"type\" : \"lianlianpay_ebanking_credit\"\n }, {\n \"details\" : [ {\n \"items\" : [ {\n \"id\" : \"01030000\",\n \"name\" : \"Agricultural Bank of China\"\n }, {\n \"id\" : \"4031000\",\n \"name\" : \"Bank of Beijing\"\n }, {\n \"id\" : \"01040000\",\n \"name\" : \"Bank of China\"\n }, {\n \"id\" : \"03020000\",\n \"name\" : \"China Citic Bank\"\n }, {\n \"id\" : \"01050000\",\n \"name\" : \"China Construction Bank\"\n }, {\n \"id\" : \"03030000\",\n \"name\" : \"China Everbright Bank\"\n }, {\n \"id\" : \"03080000\",\n \"name\" : \"China Merchants Bank\"\n }, {\n \"id\" : \"03050000\",\n \"name\" : \"China Minsheng Banking Group\"\n }, {\n \"id\" : \"03040000\",\n \"name\" : \"Hua Xia Bank Co\"\n }, {\n \"id\" : \"01020000\",\n \"name\" : \"Industrial and Commercial Bank of China\"\n }, {\n \"id\" : \"03070000\",\n \"name\" : \"PingAn Bank\"\n }, {\n \"id\" : \"1000000\",\n \"name\" : \"Postal Savings Bank of China\"\n } ],\n \"key\" : \"issuer\",\n \"type\" : \"select\"\n }, {\n \"key\" : \"telephoneNumber\",\n \"type\" : \"tel\"\n } ],\n \"name\" : \"China Online Banking - Debit Card\",\n \"type\" : \"lianlianpay_ebanking_debit\"\n }, {\n \"details\" : [ {\n \"items\" : [ {\n \"id\" : \"01030000\",\n \"name\" : \"Agricultural Bank of China\"\n }, {\n \"id\" : \"01050000\",\n \"name\" : \"China Construction Bank\"\n }, {\n \"id\" : \"03080000\",\n \"name\" : \"China Merchants Bank\"\n }, {\n \"id\" : \"01020000\",\n \"name\" : \"Industrial and Commercial Bank of China\"\n }, {\n \"id\" : \"03100000\",\n \"name\" : \"Shanghai Pudong Development Bank\"\n } ],\n \"key\" : \"issuer\",\n \"type\" : \"select\"\n }, {\n \"key\" : \"telephoneNumber\",\n \"type\" : \"tel\"\n } ],\n \"name\" : \"China Online Banking - Enterprise\",\n \"type\" : \"lianlianpay_ebanking_enterprise\"\n }, {\n \"name\" : \"Loods5 Cadeaukaart\",\n \"type\" : \"loods5giftcard\"\n }, {\n \"name\" : \"Loods5 Tegoedbon\",\n \"type\" : \"loods5prepaidcard\"\n }, {\n \"name\" : \"Love2Shop GiftCard\",\n \"type\" : \"love2shop\"\n }, {\n \"details\" : [ {\n \"key\" : \"shopper.firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"shopper.lastName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"shopper.gender\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n }, {\n \"key\" : \"telephoneNumber\",\n \"type\" : \"tel\"\n }, {\n \"key\" : \"countryCode\",\n \"type\" : \"text\"\n } ],\n \"name\" : \"mada\",\n \"type\" : \"mada\"\n }, {\n \"name\" : \"Mappin & Webb Card\",\n \"type\" : \"mappinwebbcard\"\n }, {\n \"name\" : \"MB WAY\",\n \"type\" : \"mbway\"\n }, {\n \"details\" : [ {\n \"key\" : \"additionalData.amazonPayToken\",\n \"type\" : \"text\"\n } ],\n \"name\" : \"Amazon Pay\",\n \"supportsRecurring\" : true,\n \"type\" : \"amazonpay\"\n }, {\n \"name\" : \"Mercado Pago\",\n \"type\" : \"mercadopago\"\n }, {\n \"name\" : \"MobilePay\",\n \"type\" : \"mobilepay\"\n }, {\n \"name\" : \"AliPay via Razer Merchant Services\",\n \"type\" : \"molpay_alipay\"\n }, {\n \"name\" : \"7-Eleven\",\n \"type\" : \"molpay_cash\"\n }, {\n \"name\" : \"CIMB Virtual Account\",\n \"type\" : \"molpay_cimb_va\"\n }, {\n \"name\" : \"Malaysia E-Banking via Razer Merchant Services\",\n \"type\" : \"molpay_ebanking_MY\"\n }, {\n \"details\" : [ {\n \"items\" : [ {\n \"id\" : \"vtcpay-vietinbank\",\n \"name\" : \"Vietinbank\"\n }, {\n \"id\" : \"vtcpay-bidv\",\n \"name\" : \"BIDV\"\n }, {\n \"id\" : \"vtcpay-agribank\",\n \"name\" : \"Agribank\"\n }, {\n \"id\" : \"vtcpay-mb\",\n \"name\" : \"MB Bank\"\n }, {\n \"id\" : \"vtcpay-sacombank\",\n \"name\" : \"Sacombank\"\n }, {\n \"id\" : \"vtcpay-dongabank\",\n \"name\" : \"DongABank\"\n }, {\n \"id\" : \"vtcpay-maritimebank\",\n \"name\" : \"MaritimeBank\"\n }, {\n \"id\" : \"vtcpay-vietcombank\",\n \"name\" : \"Vietcombank\"\n }, {\n \"id\" : \"vtcpay-acb\",\n \"name\" : \"ACB\"\n }, {\n \"id\" : \"vtcpay-techcombank\",\n \"name\" : \"Techcombank\"\n } ],\n \"key\" : \"issuer\",\n \"type\" : \"select\"\n } ],\n \"name\" : \"Vietnam E-Banking\",\n \"type\" : \"molpay_ebanking_VN\"\n }, {\n \"details\" : [ {\n \"items\" : [ {\n \"id\" : \"fpx_bimb\",\n \"name\" : \"Bank Islam\"\n }, {\n \"id\" : \"fpx_uob\",\n \"name\" : \"UOB Bank\"\n }, {\n \"id\" : \"fpx_cimbclicks\",\n \"name\" : \"CIMB Clicks\"\n }, {\n \"id\" : \"fpx_kfh\",\n \"name\" : \"Kuwait Finance House\"\n }, {\n \"id\" : \"fpx_rhb\",\n \"name\" : \"RHB Now\"\n }, {\n \"id\" : \"fpx_abmb\",\n \"name\" : \"Alliance Bank\"\n }, {\n \"id\" : \"fpx_amb\",\n \"name\" : \"Am Online\"\n }, {\n \"id\" : \"fpx_hsbc\",\n \"name\" : \"HSBC\"\n }, {\n \"id\" : \"fpx_abb\",\n \"name\" : \"Affin Bank\"\n }, {\n \"id\" : \"fpx_ocbc\",\n \"name\" : \"OCBC Bank\"\n }, {\n \"id\" : \"fpx_pbb\",\n \"name\" : \"Public Bank\"\n }, {\n \"id\" : \"fpx_scb\",\n \"name\" : \"Standard Chartered Bank\"\n }, {\n \"id\" : \"fpx_bsn\",\n \"name\" : \"Bank Simpanan Nasional\"\n }, {\n \"id\" : \"fpx_mb2u\",\n \"name\" : \"Maybank2u\"\n }, {\n \"id\" : \"fpx_hlb\",\n \"name\" : \"Hong Leong Connect\"\n }, {\n \"id\" : \"fpx_bmmb\",\n \"name\" : \"Bank Muamalat\"\n }, {\n \"id\" : \"fpx_bkrm\",\n \"name\" : \"Bank Rakyat\"\n } ],\n \"key\" : \"issuer\",\n \"type\" : \"select\"\n } ],\n \"name\" : \"Malaysia E-Banking\",\n \"type\" : \"molpay_ebanking_fpx_MY\"\n }, {\n \"name\" : \"eNETS Debit\",\n \"type\" : \"molpay_enetsd\"\n }, {\n \"name\" : \"epay\",\n \"type\" : \"molpay_epay\"\n }, {\n \"name\" : \"Esapay\",\n \"type\" : \"molpay_esapay\"\n }, {\n \"name\" : \"MyClear FPX\",\n \"type\" : \"molpay_fpx\"\n }, {\n \"name\" : \"Maybank2u\",\n \"type\" : \"molpay_maybank2u\"\n }, {\n \"name\" : \"Nganluong\",\n \"type\" : \"molpay_nganluong\"\n }, {\n \"name\" : \"Convenience Stores Thailand\",\n \"type\" : \"molpay_paysbuy\"\n }, {\n \"name\" : \"MOLPoints\",\n \"type\" : \"molpay_points\"\n }, {\n \"name\" : \"RHB Now\",\n \"type\" : \"molpay_rhb\"\n }, {\n \"name\" : \"SAM by SingPost\",\n \"type\" : \"molpay_singpost\"\n }, {\n \"name\" : \"MOLWallet\",\n \"type\" : \"molpay_wallet\"\n }, {\n \"name\" : \"MoMo ATM\",\n \"type\" : \"momo_atm\"\n }, {\n \"name\" : \"Momo Wallet\",\n \"type\" : \"momo_wallet\"\n }, {\n \"name\" : \"Moneybookers\",\n \"type\" : \"moneybookers\"\n }, {\n \"name\" : \"Multibanco\",\n \"type\" : \"multibanco\"\n }, {\n \"name\" : \"De Nationale Musicalcard\",\n \"type\" : \"musicalcard\"\n }, {\n \"name\" : \"Nationale Bioscoopbon\",\n \"type\" : \"nationalebioscoopbon\"\n }, {\n \"name\" : \"Nationale Tuinbon\",\n \"type\" : \"nationaletuinbon\"\n }, {\n \"name\" : \"Nationale Verwen Cadeaubon\",\n \"type\" : \"nationaleverwencadeaubon\"\n }, {\n \"name\" : \"BankAxess\",\n \"type\" : \"netaxept_bankaxess\"\n }, {\n \"name\" : \"NETELLER\",\n \"type\" : \"neteller\"\n }, {\n \"name\" : \"Onebip\",\n \"type\" : \"onebip\"\n }, {\n \"name\" : \"One Two Three\",\n \"type\" : \"onetwothree\"\n }, {\n \"name\" : \"Online Banking PL\",\n \"type\" : \"onlineBanking_PL\"\n }, {\n \"details\" : [ {\n \"items\" : [ {\n \"id\" : \"1\",\n \"name\" : \"Model Bank v2\"\n } ],\n \"key\" : \"issuer\",\n \"type\" : \"select\"\n } ],\n \"name\" : \"Online banking\",\n \"type\" : \"openbanking_UK\"\n }, {\n \"name\" : \"Oxxo\",\n \"type\" : \"oxxo\"\n }, {\n \"name\" : \"Pathe Giftcard\",\n \"type\" : \"pathegiftcard\"\n }, {\n \"name\" : \"PayBright\",\n \"type\" : \"paybright\"\n }, {\n \"name\" : \"Maya Wallet\",\n \"type\" : \"paymaya_wallet\"\n }, {\n \"name\" : \"PayPal\",\n \"type\" : \"paypal\"\n }, {\n \"name\" : \"Paysafecard\",\n \"type\" : \"paysafecard\"\n }, {\n \"name\" : \"Payshop\",\n \"type\" : \"payshop\"\n }, {\n \"name\" : \"PayD AMT via Paythru\",\n \"type\" : \"paythru_amt\"\n }, {\n \"name\" : \"EFT via Paythru\",\n \"type\" : \"paythru_eft\"\n }, {\n \"name\" : \"PayTM\",\n \"type\" : \"paytm\"\n }, {\n \"details\" : [ {\n \"key\" : \"virtualPaymentAddress\",\n \"type\" : \"text\"\n } ],\n \"name\" : \"PayU UPI\",\n \"type\" : \"payu_IN_upi\"\n }, {\n \"name\" : \"EFT Pro via PayU\",\n \"type\" : \"payu_ZA_eftpro\"\n }, {\n \"details\" : [ {\n \"key\" : \"additionalData.paywithgoogle.token\",\n \"type\" : \"payWithGoogleToken\"\n } ],\n \"name\" : \"Google Pay\",\n \"type\" : \"paywithgoogle\"\n }, {\n \"name\" : \"pix\",\n \"type\" : \"pix\"\n }, {\n \"name\" : \"Plastix\",\n \"type\" : \"plastix\"\n }, {\n \"name\" : \"Pluim\",\n \"type\" : \"pluimgiftcard\"\n }, {\n \"name\" : \"Podium Card\",\n \"type\" : \"podiumcard\"\n }, {\n \"name\" : \"POLi\",\n \"type\" : \"poli\"\n }, {\n \"name\" : \"PPS\",\n \"type\" : \"pps\"\n }, {\n \"name\" : \"Primera Cadeaukaart\",\n \"type\" : \"primeracadeaucard\"\n }, {\n \"name\" : \"Illicado Gift Card\",\n \"type\" : \"prosodie_illicado\"\n }, {\n \"name\" : \"PSE\",\n \"type\" : \"pse\"\n }, {\n \"details\" : [ {\n \"items\" : [ {\n \"id\" : \"+7\",\n \"name\" : \"RU\"\n }, {\n \"id\" : \"+9955\",\n \"name\" : \"GE\"\n }, {\n \"id\" : \"+507\",\n \"name\" : \"PA\"\n }, {\n \"id\" : \"+44\",\n \"name\" : \"GB\"\n }, {\n \"id\" : \"+992\",\n \"name\" : \"TJ\"\n }, {\n \"id\" : \"+370\",\n \"name\" : \"LT\"\n }, {\n \"id\" : \"+972\",\n \"name\" : \"IL\"\n }, {\n \"id\" : \"+996\",\n \"name\" : \"KG\"\n }, {\n \"id\" : \"+380\",\n \"name\" : \"UA\"\n }, {\n \"id\" : \"+84\",\n \"name\" : \"VN\"\n }, {\n \"id\" : \"+90\",\n \"name\" : \"TR\"\n }, {\n \"id\" : \"+994\",\n \"name\" : \"AZ\"\n }, {\n \"id\" : \"+374\",\n \"name\" : \"AM\"\n }, {\n \"id\" : \"+371\",\n \"name\" : \"LV\"\n }, {\n \"id\" : \"+91\",\n \"name\" : \"IN\"\n }, {\n \"id\" : \"+66\",\n \"name\" : \"TH\"\n }, {\n \"id\" : \"+373\",\n \"name\" : \"MD\"\n }, {\n \"id\" : \"+1\",\n \"name\" : \"US\"\n }, {\n \"id\" : \"+81\",\n \"name\" : \"JP\"\n }, {\n \"id\" : \"+998\",\n \"name\" : \"UZ\"\n }, {\n \"id\" : \"+77\",\n \"name\" : \"KZ\"\n }, {\n \"id\" : \"+375\",\n \"name\" : \"BY\"\n }, {\n \"id\" : \"+372\",\n \"name\" : \"EE\"\n }, {\n \"id\" : \"+40\",\n \"name\" : \"RO\"\n }, {\n \"id\" : \"+82\",\n \"name\" : \"KR\"\n } ],\n \"key\" : \"qiwiwallet.telephoneNumberPrefix\",\n \"type\" : \"select\"\n }, {\n \"key\" : \"qiwiwallet.telephoneNumber\",\n \"type\" : \"text\"\n } ],\n \"name\" : \"Qiwi Wallet\",\n \"type\" : \"qiwiwallet\"\n }, {\n \"name\" : \"RatePay Invoice\",\n \"type\" : \"ratepay\"\n }, {\n \"name\" : \"RatePay Direct Debit\",\n \"type\" : \"ratepay_directdebit\"\n }, {\n \"name\" : \"Rituals Giftcard\",\n \"type\" : \"rituals\"\n }, {\n \"name\" : \"Rob Peetoom Giftcard\",\n \"type\" : \"robpeetoomgiftcard\"\n }, {\n \"name\" : \"SafetyPay\",\n \"type\" : \"safetypay\"\n }, {\n \"name\" : \"SafetyPay Cash\",\n \"type\" : \"safetypay_cash\"\n }, {\n \"name\" : \"Shoes&Accessories Cadeau\",\n \"type\" : \"sagiftcard\"\n }, {\n \"name\" : \"Score Giftcard\",\n \"type\" : \"scoregiftcard\"\n }, {\n \"name\" : \"SEB Direktbetalning\",\n \"type\" : \"sebdirectpayment\"\n }, {\n \"details\" : [ {\n \"key\" : \"sepa.ownerName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"sepa.ibanNumber\",\n \"type\" : \"text\"\n } ],\n \"name\" : \"SEPA Direct Debit\",\n \"type\" : \"sepadirectdebit\"\n }, {\n \"name\" : \"7-Eleven\",\n \"type\" : \"seveneleven\"\n }, {\n \"name\" : \"Premium SMS\",\n \"type\" : \"sms\"\n }, {\n \"name\" : \"SVS\",\n \"type\" : \"svs\"\n }, {\n \"name\" : \"Swish\",\n \"type\" : \"swish\"\n }, {\n \"name\" : \"TCS Test GiftCard\",\n \"type\" : \"tcstestgiftcard\"\n }, {\n \"name\" : \"TenPay\",\n \"type\" : \"tenpay\"\n }, {\n \"name\" : \"The Sting Giftcard\",\n \"type\" : \"thestinggiftcard\"\n }, {\n \"name\" : \"TrueMoney\",\n \"type\" : \"truemoney\"\n }, {\n \"name\" : \"Trustly\",\n \"type\" : \"trustly\"\n }, {\n \"name\" : \"Online Banking by Trustpay\",\n \"type\" : \"trustpay\"\n }, {\n \"name\" : \"TWINT\",\n \"type\" : \"twint\"\n }, {\n \"name\" : \"Ukash\",\n \"type\" : \"ukash\"\n }, {\n \"name\" : \"UnionPay\",\n \"type\" : \"unionpay\"\n }, {\n \"details\" : [ {\n \"key\" : \"virtualPaymentAddress\",\n \"type\" : \"text\"\n } ],\n \"name\" : \"UPI Collect\",\n \"type\" : \"upi_collect\"\n }, {\n \"name\" : \"Valuelink\",\n \"type\" : \"valuelink\"\n }, {\n \"name\" : \"V&D Cadeaukaart\",\n \"type\" : \"vdcadeaucard\"\n }, {\n \"details\" : [ {\n \"key\" : \"telephoneNumber\",\n \"optional\" : true,\n \"type\" : \"tel\"\n } ],\n \"name\" : \"Vipps\",\n \"type\" : \"vipps\"\n }, {\n \"details\" : [ {\n \"key\" : \"additionalData.visacheckout.callId\",\n \"type\" : \"text\"\n } ],\n \"name\" : \"Visa Checkout\",\n \"type\" : \"visacheckout\"\n }, {\n \"name\" : \"VVV Cadeaubon\",\n \"type\" : \"vvvcadeaubon\"\n }, {\n \"name\" : \"VVV Giftcard\",\n \"type\" : \"vvvgiftcard\"\n }, {\n \"name\" : \"Webshop Giftcard\",\n \"type\" : \"webshopgiftcard\"\n }, {\n \"name\" : \"WeChat Pay\",\n \"type\" : \"wechatpayMiniProgram\"\n }, {\n \"name\" : \"WeChat Pay\",\n \"type\" : \"wechatpayQR\"\n }, {\n \"name\" : \"WeChat Pay\",\n \"type\" : \"wechatpayWeb\"\n }, {\n \"name\" : \"WE Fashion Giftcard\",\n \"type\" : \"wefashiongiftcard\"\n }, {\n \"name\" : \"Western Union\",\n \"type\" : \"westernunion\"\n }, {\n \"name\" : \"Winkel Cheque\",\n \"type\" : \"winkelcheque\"\n }, {\n \"name\" : \"WOS Card\",\n \"type\" : \"woscard\"\n }, {\n \"name\" : \"Alfa-Click\",\n \"type\" : \"yandex_alfaclick\"\n }, {\n \"name\" : \"Pay using bank card\",\n \"type\" : \"yandex_bank_card\"\n }, {\n \"name\" : \"Cash terminals\",\n \"type\" : \"yandex_cash\"\n }, {\n \"name\" : \"Pay using installments\",\n \"type\" : \"yandex_installments\"\n }, {\n \"name\" : \"YooMoney\",\n \"type\" : \"yandex_money\"\n }, {\n \"name\" : \"Promsvyazbank\",\n \"type\" : \"yandex_promsvyazbank\"\n }, {\n \"name\" : \"SberPay\",\n \"type\" : \"yandex_sberbank\"\n }, {\n \"name\" : \"WebMoney\",\n \"type\" : \"yandex_webmoney\"\n }, {\n \"name\" : \"Your Gift\",\n \"type\" : \"yourgift\"\n }, {\n \"name\" : \"Zip\",\n \"type\" : \"zip\"\n } ]\n}", + "originalRequest": { + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentMethods", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentMethods" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Queries the available payment methods for a transaction based on the transaction context (like amount, country, and currency). Besides giving back a list of the available payment methods, the response also returns which input details you need to collect from the shopper (to be submitted to `/payments`). Although we highly recommend using this endpoint to ensure you are always offering the most up-to-date list of payment methods, its usage is optional. You can, for example, also cache the `/paymentMethods` response and update it once a week." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentMethods", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentMethods" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Queries the available payment methods for a transaction based on the transaction context (like amount, country, and currency). Besides giving back a list of the available payment methods, the response also returns which input details you need to collect from the shopper (to be submitted to `/payments`). Although we highly recommend using this endpoint to ensure you are always offering the most up-to-date list of payment methods, its usage is optional. You can, for example, also cache the `/paymentMethods` response and update it once a week." - } + ] }, { "name": "Get payment methods based on the country and amount", "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 + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl-NL\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentMethods", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentMethods" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Queries the available payment methods for a transaction based on the transaction context (like amount, country, and currency). Besides giving back a list of the available payment methods, the response also returns which input details you need to collect from the shopper (to be submitted to `/payments`). Although we highly recommend using this endpoint to ensure you are always offering the most up-to-date list of payment methods, its usage is optional. You can, for example, also cache the `/paymentMethods` response and update it once a week." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"paymentMethods\" : [ {\n \"details\" : [ {\n \"items\" : [ {\n \"id\" : \"1121\",\n \"name\" : \"Test Issuer\"\n }, {\n \"id\" : \"1154\",\n \"name\" : \"Test Issuer 5\"\n }, {\n \"id\" : \"1153\",\n \"name\" : \"Test Issuer 4\"\n }, {\n \"id\" : \"1152\",\n \"name\" : \"Test Issuer 3\"\n }, {\n \"id\" : \"1151\",\n \"name\" : \"Test Issuer 2\"\n }, {\n \"id\" : \"1162\",\n \"name\" : \"Test Issuer Cancelled\"\n }, {\n \"id\" : \"1161\",\n \"name\" : \"Test Issuer Pending\"\n }, {\n \"id\" : \"1160\",\n \"name\" : \"Test Issuer Refused\"\n }, {\n \"id\" : \"1159\",\n \"name\" : \"Test Issuer 10\"\n }, {\n \"id\" : \"1158\",\n \"name\" : \"Test Issuer 9\"\n }, {\n \"id\" : \"1157\",\n \"name\" : \"Test Issuer 8\"\n }, {\n \"id\" : \"1156\",\n \"name\" : \"Test Issuer 7\"\n }, {\n \"id\" : \"1155\",\n \"name\" : \"Test Issuer 6\"\n } ],\n \"key\" : \"issuer\",\n \"type\" : \"select\"\n } ],\n \"name\" : \"iDEAL\",\n \"type\" : \"ideal\"\n }, {\n \"details\" : [ {\n \"key\" : \"encryptedCardNumber\",\n \"type\" : \"cardToken\"\n }, {\n \"key\" : \"encryptedSecurityCode\",\n \"type\" : \"cardToken\"\n }, {\n \"key\" : \"encryptedExpiryMonth\",\n \"type\" : \"cardToken\"\n }, {\n \"key\" : \"encryptedExpiryYear\",\n \"type\" : \"cardToken\"\n }, {\n \"key\" : \"holderName\",\n \"optional\" : true,\n \"type\" : \"text\"\n } ],\n \"name\" : \"Hitelkártya\",\n \"type\" : \"scheme\"\n }, {\n \"name\" : \"PayPal\",\n \"type\" : \"paypal\"\n }, {\n \"details\" : [ {\n \"details\" : [ {\n \"key\" : \"firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"lastName\",\n \"type\" : \"text\"\n }, {\n \"items\" : [ {\n \"id\" : \"M\",\n \"name\" : \"male\"\n }, {\n \"id\" : \"F\",\n \"name\" : \"female\"\n } ],\n \"key\" : \"gender\",\n \"type\" : \"radio\"\n }, {\n \"key\" : \"dateOfBirth\",\n \"type\" : \"date\"\n }, {\n \"key\" : \"telephoneNumber\",\n \"type\" : \"tel\"\n }, {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n } ],\n \"key\" : \"personalDetails\",\n \"type\" : \"fieldSet\"\n }, {\n \"details\" : [ {\n \"key\" : \"street\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"houseNumberOrName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"city\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"postalCode\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"stateOrProvince\",\n \"optional\" : true,\n \"type\" : \"text\"\n }, {\n \"items\" : [ {\n \"id\" : \"NL\",\n \"name\" : \"Netherlands\"\n }, {\n \"id\" : \"BE\",\n \"name\" : \"Belgium\"\n } ],\n \"key\" : \"country\",\n \"type\" : \"select\",\n \"value\" : \"NL\"\n } ],\n \"key\" : \"billingAddress\",\n \"type\" : \"address\"\n }, {\n \"key\" : \"separateDeliveryAddress\",\n \"optional\" : true,\n \"type\" : \"boolean\",\n \"value\" : \"false\"\n }, {\n \"details\" : [ {\n \"key\" : \"street\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"houseNumberOrName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"city\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"postalCode\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"stateOrProvince\",\n \"optional\" : true,\n \"type\" : \"text\"\n }, {\n \"items\" : [ {\n \"id\" : \"NL\",\n \"name\" : \"Netherlands\"\n }, {\n \"id\" : \"BE\",\n \"name\" : \"Belgium\"\n } ],\n \"key\" : \"country\",\n \"type\" : \"select\",\n \"value\" : \"NL\"\n } ],\n \"key\" : \"deliveryAddress\",\n \"optional\" : true,\n \"type\" : \"address\"\n } ],\n \"name\" : \"AfterPay Invoice\",\n \"type\" : \"afterpay_default\"\n }, {\n \"name\" : \"Pay later with Klarna.\",\n \"type\" : \"klarna\"\n }, {\n \"details\" : [ {\n \"key\" : \"sepa.ownerName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"sepa.ibanNumber\",\n \"type\" : \"text\"\n } ],\n \"name\" : \"SEPA Direct Debit\",\n \"type\" : \"sepadirectdebit\"\n }, {\n \"name\" : \"Paysafecard\",\n \"type\" : \"paysafecard\"\n }, {\n \"name\" : \"Bijenkorf Cadeaucard\",\n \"type\" : \"bijcadeaucard\"\n }, {\n \"name\" : \"Fonq Giftcard\",\n \"type\" : \"fonqgiftcard\"\n }, {\n \"name\" : \"Bank Transfer (NL)\",\n \"type\" : \"bankTransfer_NL\"\n }, {\n \"name\" : \"Pathe Giftcard\",\n \"type\" : \"pathegiftcard\"\n }, {\n \"name\" : \"VVV Giftcard\",\n \"type\" : \"vvvgiftcard\"\n }, {\n \"name\" : \"Podium Card\",\n \"type\" : \"podiumcard\"\n }, {\n \"name\" : \"RatePay Direct Debit\",\n \"type\" : \"ratepay_directdebit\"\n }, {\n \"name\" : \"Rituals Giftcard\",\n \"type\" : \"rituals\"\n }, {\n \"name\" : \"Hunkemoller Lingerie Card\",\n \"type\" : \"hmlingerie\"\n }, {\n \"name\" : \"Primera Cadeaukaart\",\n \"type\" : \"primeracadeaucard\"\n }, {\n \"name\" : \"Fashioncheque\",\n \"type\" : \"fashioncheque\"\n }, {\n \"name\" : \"NETELLER\",\n \"type\" : \"neteller\"\n }, {\n \"name\" : \"Adyen Voucher\",\n \"type\" : \"adyen_test_voucher\"\n }, {\n \"name\" : \"AfterPay B2B\",\n \"type\" : \"afterpay_b2b\"\n }, {\n \"name\" : \"AfterPay DirectDebit\",\n \"type\" : \"afterpay_directdebit\"\n }, {\n \"name\" : \"AliPay\",\n \"type\" : \"alipay\"\n }, {\n \"name\" : \"AliPay\",\n \"type\" : \"alipay_wap\"\n }, {\n \"details\" : [ {\n \"key\" : \"additionalData.androidpay.token\",\n \"type\" : \"androidPayToken\"\n } ],\n \"name\" : \"Android Pay\",\n \"type\" : \"androidpay\"\n }, {\n \"details\" : [ {\n \"key\" : \"additionalData.applepay.token\",\n \"type\" : \"applePayToken\"\n } ],\n \"name\" : \"Apple Pay\",\n \"type\" : \"applepay\"\n }, {\n \"name\" : \"Baby Gift Card\",\n \"type\" : \"babygiftcard\"\n }, {\n \"name\" : \"SEPA Bank Transfer\",\n \"type\" : \"bankTransfer_IBAN\"\n }, {\n \"name\" : \"Bloemen Giftcard\",\n \"type\" : \"bloemengiftcard\"\n }, {\n \"name\" : \"Boekenbon Giftcard\",\n \"type\" : \"boekenbon\"\n }, {\n \"name\" : \"Cash-Ticket\",\n \"type\" : \"cashticket\"\n }, {\n \"name\" : \"Chasin Giftcard\",\n \"type\" : \"chasingiftcard\"\n }, {\n \"name\" : \"ClickandBuy\",\n \"type\" : \"clickandbuy\"\n }, {\n \"name\" : \"Costes Giftcard\",\n \"type\" : \"costesgiftcard\"\n }, {\n \"name\" : \"custom_settlement\",\n \"type\" : \"custom_settlement\"\n }, {\n \"name\" : \"eft_directdebit_CA\",\n \"type\" : \"eft_directdebit_CA\"\n }, {\n \"name\" : \"Nationale Entertainment Card\",\n \"type\" : \"entertainmentcard\"\n }, {\n \"name\" : \"Expert Cadeaukaart\",\n \"type\" : \"expertgiftcard\"\n }, {\n \"name\" : \"FijnCadeau\",\n \"type\" : \"fijncadeau\"\n }, {\n \"name\" : \"Fleurop Bloemenbon\",\n \"type\" : \"fleuropbloemenbon\"\n }, {\n \"name\" : \"Gall & Gall\",\n \"type\" : \"gallgall\"\n }, {\n \"name\" : \"Generic GiftCard\",\n \"type\" : \"genericgiftcard\"\n }, {\n \"name\" : \"GiftFor2\",\n \"type\" : \"giftfor2card\"\n }, {\n \"name\" : \"Givex\",\n \"type\" : \"givex\"\n }, {\n \"name\" : \"Goldsmiths Card\",\n \"type\" : \"goldsmithscard\"\n }, {\n \"name\" : \"Hunkemoller Member Card\",\n \"type\" : \"hmclub\"\n }, {\n \"name\" : \"Phone Payment\",\n \"type\" : \"ivr\"\n }, {\n \"name\" : \"Landline phone\",\n \"type\" : \"ivrLandline\"\n }, {\n \"name\" : \"Mobile phone\",\n \"type\" : \"ivrMobile\"\n }, {\n \"name\" : \"Kado Wereld\",\n \"type\" : \"kadowereld\"\n }, {\n \"name\" : \"Karen Millen GiftCard\",\n \"type\" : \"karenmillengiftcard\"\n }, {\n \"name\" : \"Leisure Card\",\n \"type\" : \"leisurecard\"\n }, {\n \"name\" : \"Loods5 Cadeaukaart\",\n \"type\" : \"loods5giftcard\"\n }, {\n \"name\" : \"Loods5 Tegoedbon\",\n \"type\" : \"loods5prepaidcard\"\n }, {\n \"details\" : [ {\n \"key\" : \"additionalData.amazonPayToken\",\n \"type\" : \"text\"\n } ],\n \"name\" : \"Amazon Pay\",\n \"supportsRecurring\" : true,\n \"type\" : \"amazonpay\"\n }, {\n \"name\" : \"MOLPoints\",\n \"type\" : \"molpay_points\"\n }, {\n \"name\" : \"Moneybookers\",\n \"type\" : \"moneybookers\"\n }, {\n \"name\" : \"De Nationale Musicalcard\",\n \"type\" : \"musicalcard\"\n }, {\n \"name\" : \"Nationale Bioscoopbon\",\n \"type\" : \"nationalebioscoopbon\"\n }, {\n \"name\" : \"Nationale Tuinbon\",\n \"type\" : \"nationaletuinbon\"\n }, {\n \"name\" : \"Nationale Verwen Cadeaubon\",\n \"type\" : \"nationaleverwencadeaubon\"\n }, {\n \"name\" : \"Onebip\",\n \"type\" : \"onebip\"\n }, {\n \"details\" : [ {\n \"key\" : \"additionalData.paywithgoogle.token\",\n \"type\" : \"payWithGoogleToken\"\n } ],\n \"name\" : \"Google Pay\",\n \"type\" : \"paywithgoogle\"\n }, {\n \"name\" : \"Plastix\",\n \"type\" : \"plastix\"\n }, {\n \"name\" : \"Pluim\",\n \"type\" : \"pluimgiftcard\"\n }, {\n \"name\" : \"Illicado Gift Card\",\n \"type\" : \"prosodie_illicado\"\n }, {\n \"name\" : \"RatePay Invoice\",\n \"type\" : \"ratepay\"\n }, {\n \"name\" : \"Rob Peetoom Giftcard\",\n \"type\" : \"robpeetoomgiftcard\"\n }, {\n \"name\" : \"Shoes&Accessories Cadeau\",\n \"type\" : \"sagiftcard\"\n }, {\n \"name\" : \"Score Giftcard\",\n \"type\" : \"scoregiftcard\"\n }, {\n \"name\" : \"Premium SMS\",\n \"type\" : \"sms\"\n }, {\n \"name\" : \"SVS\",\n \"type\" : \"svs\"\n }, {\n \"name\" : \"TCS Test GiftCard\",\n \"type\" : \"tcstestgiftcard\"\n }, {\n \"name\" : \"The Sting Giftcard\",\n \"type\" : \"thestinggiftcard\"\n }, {\n \"name\" : \"Ukash\",\n \"type\" : \"ukash\"\n }, {\n \"name\" : \"UnionPay\",\n \"type\" : \"unionpay\"\n }, {\n \"name\" : \"Valuelink\",\n \"type\" : \"valuelink\"\n }, {\n \"name\" : \"V&D Cadeaukaart\",\n \"type\" : \"vdcadeaucard\"\n }, {\n \"details\" : [ {\n \"key\" : \"additionalData.visacheckout.callId\",\n \"type\" : \"text\"\n } ],\n \"name\" : \"Visa Checkout\",\n \"type\" : \"visacheckout\"\n }, {\n \"name\" : \"VVV Cadeaubon\",\n \"type\" : \"vvvcadeaubon\"\n }, {\n \"name\" : \"Webshop Giftcard\",\n \"type\" : \"webshopgiftcard\"\n }, {\n \"name\" : \"WE Fashion Giftcard\",\n \"type\" : \"wefashiongiftcard\"\n }, {\n \"name\" : \"Western Union\",\n \"type\" : \"westernunion\"\n }, {\n \"name\" : \"Winkel Cheque\",\n \"type\" : \"winkelcheque\"\n }, {\n \"name\" : \"Your Gift\",\n \"type\" : \"yourgift\"\n } ]\n}", + "originalRequest": { + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl-NL\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentMethods", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentMethods" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Queries the available payment methods for a transaction based on the transaction context (like amount, country, and currency). Besides giving back a list of the available payment methods, the response also returns which input details you need to collect from the shopper (to be submitted to `/payments`). Although we highly recommend using this endpoint to ensure you are always offering the most up-to-date list of payment methods, its usage is optional. You can, for example, also cache the `/paymentMethods` response and update it once a week." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl-NL\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n }\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentMethods", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentMethods" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Queries the available payment methods for a transaction based on the transaction context (like amount, country, and currency). Besides giving back a list of the available payment methods, the response also returns which input details you need to collect from the shopper (to be submitted to `/payments`). Although we highly recommend using this endpoint to ensure you are always offering the most up-to-date list of payment methods, its usage is optional. You can, for example, also cache the `/paymentMethods` response and update it once a week." - } + ] }, { "name": "Get payment methods including stored card details", "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 + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"countryCode\" : \"NL\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentMethods", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentMethods" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Queries the available payment methods for a transaction based on the transaction context (like amount, country, and currency). Besides giving back a list of the available payment methods, the response also returns which input details you need to collect from the shopper (to be submitted to `/payments`). Although we highly recommend using this endpoint to ensure you are always offering the most up-to-date list of payment methods, its usage is optional. You can, for example, also cache the `/paymentMethods` response and update it once a week." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"paymentMethods\" : [ {\n \"details\" : [ {\n \"items\" : [ {\n \"id\" : \"1121\",\n \"name\" : \"Test Issuer\"\n }, {\n \"id\" : \"1154\",\n \"name\" : \"Test Issuer 5\"\n }, {\n \"id\" : \"1153\",\n \"name\" : \"Test Issuer 4\"\n }, {\n \"id\" : \"1152\",\n \"name\" : \"Test Issuer 3\"\n }, {\n \"id\" : \"1151\",\n \"name\" : \"Test Issuer 2\"\n }, {\n \"id\" : \"1162\",\n \"name\" : \"Test Issuer Cancelled\"\n }, {\n \"id\" : \"1161\",\n \"name\" : \"Test Issuer Pending\"\n }, {\n \"id\" : \"1160\",\n \"name\" : \"Test Issuer Refused\"\n }, {\n \"id\" : \"1159\",\n \"name\" : \"Test Issuer 10\"\n }, {\n \"id\" : \"1158\",\n \"name\" : \"Test Issuer 9\"\n }, {\n \"id\" : \"1157\",\n \"name\" : \"Test Issuer 8\"\n }, {\n \"id\" : \"1156\",\n \"name\" : \"Test Issuer 7\"\n }, {\n \"id\" : \"1155\",\n \"name\" : \"Test Issuer 6\"\n } ],\n \"key\" : \"issuer\",\n \"type\" : \"select\"\n } ],\n \"name\" : \"iDEAL\",\n \"type\" : \"ideal\"\n }, {\n \"details\" : [ {\n \"key\" : \"encryptedCardNumber\",\n \"type\" : \"cardToken\"\n }, {\n \"key\" : \"encryptedSecurityCode\",\n \"type\" : \"cardToken\"\n }, {\n \"key\" : \"encryptedExpiryMonth\",\n \"type\" : \"cardToken\"\n }, {\n \"key\" : \"encryptedExpiryYear\",\n \"type\" : \"cardToken\"\n }, {\n \"key\" : \"holderName\",\n \"optional\" : true,\n \"type\" : \"text\"\n } ],\n \"name\" : \"Credit Card\",\n \"type\" : \"scheme\"\n }, {\n \"name\" : \"PayPal\",\n \"type\" : \"paypal\"\n }, {\n \"details\" : [ {\n \"details\" : [ {\n \"key\" : \"firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"lastName\",\n \"type\" : \"text\"\n }, {\n \"items\" : [ {\n \"id\" : \"M\",\n \"name\" : \"male\"\n }, {\n \"id\" : \"F\",\n \"name\" : \"female\"\n } ],\n \"key\" : \"gender\",\n \"type\" : \"radio\"\n }, {\n \"key\" : \"dateOfBirth\",\n \"type\" : \"date\"\n }, {\n \"key\" : \"telephoneNumber\",\n \"type\" : \"tel\"\n }, {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n } ],\n \"key\" : \"personalDetails\",\n \"type\" : \"fieldSet\"\n }, {\n \"details\" : [ {\n \"key\" : \"street\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"houseNumberOrName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"city\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"postalCode\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"stateOrProvince\",\n \"optional\" : true,\n \"type\" : \"text\"\n }, {\n \"items\" : [ {\n \"id\" : \"NL\",\n \"name\" : \"Netherlands\"\n }, {\n \"id\" : \"BE\",\n \"name\" : \"Belgium\"\n } ],\n \"key\" : \"country\",\n \"type\" : \"select\",\n \"value\" : \"NL\"\n } ],\n \"key\" : \"billingAddress\",\n \"type\" : \"address\"\n }, {\n \"key\" : \"separateDeliveryAddress\",\n \"optional\" : true,\n \"type\" : \"boolean\",\n \"value\" : \"false\"\n }, {\n \"details\" : [ {\n \"key\" : \"street\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"houseNumberOrName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"city\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"postalCode\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"stateOrProvince\",\n \"optional\" : true,\n \"type\" : \"text\"\n }, {\n \"items\" : [ {\n \"id\" : \"NL\",\n \"name\" : \"Netherlands\"\n }, {\n \"id\" : \"BE\",\n \"name\" : \"Belgium\"\n } ],\n \"key\" : \"country\",\n \"type\" : \"select\",\n \"value\" : \"NL\"\n } ],\n \"key\" : \"deliveryAddress\",\n \"optional\" : true,\n \"type\" : \"address\"\n } ],\n \"name\" : \"AfterPay Invoice\",\n \"type\" : \"afterpay_default\"\n }, {\n \"name\" : \"Pay later with Klarna.\",\n \"type\" : \"klarna\"\n }, {\n \"details\" : [ {\n \"key\" : \"sepa.ownerName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"sepa.ibanNumber\",\n \"type\" : \"text\"\n } ],\n \"name\" : \"SEPA Direct Debit\",\n \"type\" : \"sepadirectdebit\"\n }, {\n \"name\" : \"Paysafecard\",\n \"type\" : \"paysafecard\"\n }, {\n \"name\" : \"Bijenkorf Cadeaucard\",\n \"type\" : \"bijcadeaucard\"\n }, {\n \"name\" : \"Fonq Giftcard\",\n \"type\" : \"fonqgiftcard\"\n }, {\n \"name\" : \"Bank Transfer (NL)\",\n \"type\" : \"bankTransfer_NL\"\n }, {\n \"name\" : \"Pathe Giftcard\",\n \"type\" : \"pathegiftcard\"\n }, {\n \"name\" : \"VVV Giftcard\",\n \"type\" : \"vvvgiftcard\"\n }, {\n \"name\" : \"Podium Card\",\n \"type\" : \"podiumcard\"\n }, {\n \"name\" : \"RatePay Direct Debit\",\n \"type\" : \"ratepay_directdebit\"\n }, {\n \"name\" : \"Rituals Giftcard\",\n \"type\" : \"rituals\"\n }, {\n \"name\" : \"Hunkemoller Lingerie Card\",\n \"type\" : \"hmlingerie\"\n }, {\n \"name\" : \"Primera Cadeaukaart\",\n \"type\" : \"primeracadeaucard\"\n }, {\n \"name\" : \"Fashioncheque\",\n \"type\" : \"fashioncheque\"\n }, {\n \"name\" : \"NETELLER\",\n \"type\" : \"neteller\"\n }, {\n \"name\" : \"Adyen Voucher\",\n \"type\" : \"adyen_test_voucher\"\n }, {\n \"name\" : \"AfterPay B2B\",\n \"type\" : \"afterpay_b2b\"\n }, {\n \"name\" : \"AfterPay DirectDebit\",\n \"type\" : \"afterpay_directdebit\"\n }, {\n \"name\" : \"AliPay\",\n \"type\" : \"alipay\"\n }, {\n \"name\" : \"AliPay\",\n \"type\" : \"alipay_wap\"\n }, {\n \"details\" : [ {\n \"key\" : \"additionalData.androidpay.token\",\n \"type\" : \"androidPayToken\"\n } ],\n \"name\" : \"Android Pay\",\n \"type\" : \"androidpay\"\n }, {\n \"details\" : [ {\n \"key\" : \"additionalData.applepay.token\",\n \"type\" : \"applePayToken\"\n } ],\n \"name\" : \"Apple Pay\",\n \"type\" : \"applepay\"\n }, {\n \"name\" : \"Baby Gift Card\",\n \"type\" : \"babygiftcard\"\n }, {\n \"name\" : \"SEPA Bank Transfer\",\n \"type\" : \"bankTransfer_IBAN\"\n }, {\n \"name\" : \"Bloemen Giftcard\",\n \"type\" : \"bloemengiftcard\"\n }, {\n \"name\" : \"Boekenbon Giftcard\",\n \"type\" : \"boekenbon\"\n }, {\n \"name\" : \"Cash-Ticket\",\n \"type\" : \"cashticket\"\n }, {\n \"name\" : \"Chasin Giftcard\",\n \"type\" : \"chasingiftcard\"\n }, {\n \"name\" : \"ClickandBuy\",\n \"type\" : \"clickandbuy\"\n }, {\n \"name\" : \"Costes Giftcard\",\n \"type\" : \"costesgiftcard\"\n }, {\n \"name\" : \"custom_settlement\",\n \"type\" : \"custom_settlement\"\n }, {\n \"name\" : \"eft_directdebit_CA\",\n \"type\" : \"eft_directdebit_CA\"\n }, {\n \"name\" : \"Nationale Entertainment Card\",\n \"type\" : \"entertainmentcard\"\n }, {\n \"name\" : \"Expert Cadeaukaart\",\n \"type\" : \"expertgiftcard\"\n }, {\n \"name\" : \"FijnCadeau\",\n \"type\" : \"fijncadeau\"\n }, {\n \"name\" : \"Fleurop Bloemenbon\",\n \"type\" : \"fleuropbloemenbon\"\n }, {\n \"name\" : \"Gall & Gall\",\n \"type\" : \"gallgall\"\n }, {\n \"name\" : \"Generic GiftCard\",\n \"type\" : \"genericgiftcard\"\n }, {\n \"name\" : \"GiftFor2\",\n \"type\" : \"giftfor2card\"\n }, {\n \"name\" : \"Givex\",\n \"type\" : \"givex\"\n }, {\n \"name\" : \"Goldsmiths Card\",\n \"type\" : \"goldsmithscard\"\n }, {\n \"name\" : \"Hunkemoller Member Card\",\n \"type\" : \"hmclub\"\n }, {\n \"name\" : \"Phone Payment\",\n \"type\" : \"ivr\"\n }, {\n \"name\" : \"Landline phone\",\n \"type\" : \"ivrLandline\"\n }, {\n \"name\" : \"Mobile phone\",\n \"type\" : \"ivrMobile\"\n }, {\n \"name\" : \"Kado Wereld\",\n \"type\" : \"kadowereld\"\n }, {\n \"name\" : \"Karen Millen GiftCard\",\n \"type\" : \"karenmillengiftcard\"\n }, {\n \"name\" : \"Leisure Card\",\n \"type\" : \"leisurecard\"\n }, {\n \"name\" : \"Loods5 Cadeaukaart\",\n \"type\" : \"loods5giftcard\"\n }, {\n \"name\" : \"Loods5 Tegoedbon\",\n \"type\" : \"loods5prepaidcard\"\n }, {\n \"details\" : [ {\n \"key\" : \"additionalData.amazonPayToken\",\n \"type\" : \"text\"\n } ],\n \"name\" : \"Amazon Pay\",\n \"supportsRecurring\" : true,\n \"type\" : \"amazonpay\"\n }, {\n \"name\" : \"MOLPoints\",\n \"type\" : \"molpay_points\"\n }, {\n \"name\" : \"Moneybookers\",\n \"type\" : \"moneybookers\"\n }, {\n \"name\" : \"De Nationale Musicalcard\",\n \"type\" : \"musicalcard\"\n }, {\n \"name\" : \"Nationale Bioscoopbon\",\n \"type\" : \"nationalebioscoopbon\"\n }, {\n \"name\" : \"Nationale Tuinbon\",\n \"type\" : \"nationaletuinbon\"\n }, {\n \"name\" : \"Nationale Verwen Cadeaubon\",\n \"type\" : \"nationaleverwencadeaubon\"\n }, {\n \"name\" : \"Onebip\",\n \"type\" : \"onebip\"\n }, {\n \"details\" : [ {\n \"key\" : \"additionalData.paywithgoogle.token\",\n \"type\" : \"payWithGoogleToken\"\n } ],\n \"name\" : \"Google Pay\",\n \"type\" : \"paywithgoogle\"\n }, {\n \"name\" : \"Plastix\",\n \"type\" : \"plastix\"\n }, {\n \"name\" : \"Pluim\",\n \"type\" : \"pluimgiftcard\"\n }, {\n \"name\" : \"Illicado Gift Card\",\n \"type\" : \"prosodie_illicado\"\n }, {\n \"name\" : \"RatePay Invoice\",\n \"type\" : \"ratepay\"\n }, {\n \"name\" : \"Rob Peetoom Giftcard\",\n \"type\" : \"robpeetoomgiftcard\"\n }, {\n \"name\" : \"Shoes&Accessories Cadeau\",\n \"type\" : \"sagiftcard\"\n }, {\n \"name\" : \"Score Giftcard\",\n \"type\" : \"scoregiftcard\"\n }, {\n \"name\" : \"Premium SMS\",\n \"type\" : \"sms\"\n }, {\n \"name\" : \"SVS\",\n \"type\" : \"svs\"\n }, {\n \"name\" : \"TCS Test GiftCard\",\n \"type\" : \"tcstestgiftcard\"\n }, {\n \"name\" : \"The Sting Giftcard\",\n \"type\" : \"thestinggiftcard\"\n }, {\n \"name\" : \"Ukash\",\n \"type\" : \"ukash\"\n }, {\n \"name\" : \"UnionPay\",\n \"type\" : \"unionpay\"\n }, {\n \"name\" : \"Valuelink\",\n \"type\" : \"valuelink\"\n }, {\n \"name\" : \"V&D Cadeaukaart\",\n \"type\" : \"vdcadeaucard\"\n }, {\n \"details\" : [ {\n \"key\" : \"additionalData.visacheckout.callId\",\n \"type\" : \"text\"\n } ],\n \"name\" : \"Visa Checkout\",\n \"type\" : \"visacheckout\"\n }, {\n \"name\" : \"VVV Cadeaubon\",\n \"type\" : \"vvvcadeaubon\"\n }, {\n \"name\" : \"Webshop Giftcard\",\n \"type\" : \"webshopgiftcard\"\n }, {\n \"name\" : \"WE Fashion Giftcard\",\n \"type\" : \"wefashiongiftcard\"\n }, {\n \"name\" : \"Western Union\",\n \"type\" : \"westernunion\"\n }, {\n \"name\" : \"Winkel Cheque\",\n \"type\" : \"winkelcheque\"\n }, {\n \"name\" : \"Your Gift\",\n \"type\" : \"yourgift\"\n } ]\n}", + "originalRequest": { + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"countryCode\" : \"NL\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentMethods", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentMethods" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Queries the available payment methods for a transaction based on the transaction context (like amount, country, and currency). Besides giving back a list of the available payment methods, the response also returns which input details you need to collect from the shopper (to be submitted to `/payments`). Although we highly recommend using this endpoint to ensure you are always offering the most up-to-date list of payment methods, its usage is optional. You can, for example, also cache the `/paymentMethods` response and update it once a week." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"countryCode\" : \"NL\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentMethods", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentMethods" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Queries the available payment methods for a transaction based on the transaction context (like amount, country, and currency). Besides giving back a list of the available payment methods, the response also returns which input details you need to collect from the shopper (to be submitted to `/payments`). Although we highly recommend using this endpoint to ensure you are always offering the most up-to-date list of payment methods, its usage is optional. You can, for example, also cache the `/paymentMethods` response and update it once a week." - } + ] } ] - } -, + }, { "name": "/payments", "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. ", @@ -1421,839 +2692,1385 @@ { "name": "Make an Apple Pay payment", "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"applepay\",\n \"applePayToken\" : \"VNRWtuNlNEWkRCSm1xWndjMDFFbktkQU...\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"applepay\",\n \"applePayToken\" : \"VNRWtuNlNEWkRCSm1xWndjMDFFbktkQU...\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + ] }, { "name": "Make a card payment with 3D Secure 2 native authentication", "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 + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"{{$guid}}\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4917610000000000\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\",\n \"cvc\" : \"737\"\n },\n \"additionalData\" : {\n \"allow3DS2\" : \"true\"\n },\n \"accountInfo\" : {\n \"accountCreationDate\" : \"2019-01-17T13:42:40+01:00\"\n },\n \"billingAddress\" : {\n \"country\" : \"US\",\n \"city\" : \"New York\",\n \"street\" : \"Redwood Block\",\n \"houseNumberOrName\" : \"37C\",\n \"stateOrProvince\" : \"NY\",\n \"postalCode\" : \"10039\"\n },\n \"shopperEmail\" : \"s.hopper@test.com\",\n \"shopperIP\" : \"192.0.2.1\",\n \"browserInfo\" : {\n \"userAgent\" : \"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.110 Safari/537.36\",\n \"acceptHeader\" : \"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8\",\n \"language\" : \"nl-NL\",\n \"colorDepth\" : 24,\n \"screenHeight\" : 723,\n \"screenWidth\" : 1536,\n \"timeZoneOffset\" : 0,\n \"javaEnabled\" : true\n },\n \"channel\" : \"Web\",\n \"origin\" : \"https://your-company.com\",\n \"returnUrl\" : \"https://your-company.com/checkout/\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"additionalData\" : {\n \"cvcResult\" : \"1 Matches\",\n \"authCode\" : \"044410\",\n \"avsResult\" : \"4 AVS not supported for this card type\",\n \"avsResultRaw\" : \"4\",\n \"cvcResultRaw\" : \"M\",\n \"refusalReasonRaw\" : \"AUTHORISED\",\n \"acquirerCode\" : \"TestPmmAcquirer\",\n \"acquirerReference\" : \"8PQMP9TI1O2\"\n },\n \"pspReference\" : \"993617895005515H\",\n \"resultCode\" : \"Authorised\"\n}", + "originalRequest": { + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"{{$guid}}\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4917610000000000\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\",\n \"cvc\" : \"737\"\n },\n \"additionalData\" : {\n \"allow3DS2\" : \"true\"\n },\n \"accountInfo\" : {\n \"accountCreationDate\" : \"2019-01-17T13:42:40+01:00\"\n },\n \"billingAddress\" : {\n \"country\" : \"US\",\n \"city\" : \"New York\",\n \"street\" : \"Redwood Block\",\n \"houseNumberOrName\" : \"37C\",\n \"stateOrProvince\" : \"NY\",\n \"postalCode\" : \"10039\"\n },\n \"shopperEmail\" : \"s.hopper@test.com\",\n \"shopperIP\" : \"192.0.2.1\",\n \"browserInfo\" : {\n \"userAgent\" : \"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.110 Safari/537.36\",\n \"acceptHeader\" : \"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8\",\n \"language\" : \"nl-NL\",\n \"colorDepth\" : 24,\n \"screenHeight\" : 723,\n \"screenWidth\" : 1536,\n \"timeZoneOffset\" : 0,\n \"javaEnabled\" : true\n },\n \"channel\" : \"Web\",\n \"origin\" : \"https://your-company.com\",\n \"returnUrl\" : \"https://your-company.com/checkout/\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"{{$guid}}\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4917610000000000\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\",\n \"cvc\" : \"737\"\n },\n \"additionalData\" : {\n \"allow3DS2\" : \"true\"\n },\n \"accountInfo\" : {\n \"accountCreationDate\" : \"2019-01-17T13:42:40+01:00\"\n },\n \"billingAddress\" : {\n \"country\" : \"US\",\n \"city\" : \"New York\",\n \"street\" : \"Redwood Block\",\n \"houseNumberOrName\" : \"37C\",\n \"stateOrProvince\" : \"NY\",\n \"postalCode\" : \"10039\"\n },\n \"shopperEmail\" : \"s.hopper@test.com\",\n \"shopperIP\" : \"192.0.2.1\",\n \"browserInfo\" : {\n \"userAgent\" : \"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.110 Safari/537.36\",\n \"acceptHeader\" : \"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8\",\n \"language\" : \"nl-NL\",\n \"colorDepth\" : 24,\n \"screenHeight\" : 723,\n \"screenWidth\" : 1536,\n \"timeZoneOffset\" : 0,\n \"javaEnabled\" : true\n },\n \"channel\" : \"Web\",\n \"origin\" : \"https://your-company.com\",\n \"returnUrl\" : \"https://your-company.com/checkout/\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + ] }, { "name": "Make a card payment with 3D Secure redirect authentication", "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 + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4212345678901237\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\",\n \"cvc\" : \"737\"\n },\n \"browserInfo\" : {\n \"colorDepth\" : 24,\n \"screenHeight\" : 1800,\n \"screenWidth\" : 2880,\n \"timeZoneOffset\" : 60,\n \"language\" : \"nl\",\n \"userAgent\" : \"Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9) Gecko/2008052912 Firefox/3.0\",\n \"acceptHeader\" : \"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8\",\n \"javaEnabled\" : true\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"additionalData\" : {\n \"cvcResult\" : \"1 Matches\",\n \"authCode\" : \"074516\",\n \"avsResult\" : \"4 AVS not supported for this card type\",\n \"avsResultRaw\" : \"4\",\n \"cvcResultRaw\" : \"M\",\n \"refusalReasonRaw\" : \"AUTHORISED\",\n \"acquirerCode\" : \"TestPmmAcquirer\",\n \"acquirerReference\" : \"8PQMP9SJ7DN\"\n },\n \"pspReference\" : \"993617894903480A\",\n \"resultCode\" : \"Authorised\"\n}", + "originalRequest": { + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4212345678901237\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\",\n \"cvc\" : \"737\"\n },\n \"browserInfo\" : {\n \"colorDepth\" : 24,\n \"screenHeight\" : 1800,\n \"screenWidth\" : 2880,\n \"timeZoneOffset\" : 60,\n \"language\" : \"nl\",\n \"userAgent\" : \"Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9) Gecko/2008052912 Firefox/3.0\",\n \"acceptHeader\" : \"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8\",\n \"javaEnabled\" : true\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4212345678901237\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\",\n \"cvc\" : \"737\"\n },\n \"browserInfo\" : {\n \"colorDepth\" : 24,\n \"screenHeight\" : 1800,\n \"screenWidth\" : 2880,\n \"timeZoneOffset\" : 60,\n \"language\" : \"nl\",\n \"userAgent\" : \"Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9) Gecko/2008052912 Firefox/3.0\",\n \"acceptHeader\" : \"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8\",\n \"javaEnabled\" : true\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + ] }, { "name": "Make a payment with 3D Secure 2 native authentication, using encrypted card details", "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 + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"encryptedCardNumber\" : \"test_4212345678901237\",\n \"encryptedExpiryMonth\" : \"test_03\",\n \"encryptedExpiryYear\" : \"test_2030\",\n \"encryptedSecurityCode\" : \"test_737\",\n \"holderName\" : \"John Smith\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"additionalData\" : {\n \"cvcResult\" : \"1 Matches\",\n \"authCode\" : \"083996\",\n \"avsResult\" : \"4 AVS not supported for this card type\",\n \"avsResultRaw\" : \"4\",\n \"cvcResultRaw\" : \"M\",\n \"refusalReasonRaw\" : \"AUTHORISED\",\n \"acquirerCode\" : \"TestPmmAcquirer\",\n \"acquirerReference\" : \"8PQMP9SJH66\"\n },\n \"pspReference\" : \"993617894905481G\",\n \"resultCode\" : \"Authorised\"\n}", + "originalRequest": { + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"encryptedCardNumber\" : \"test_4212345678901237\",\n \"encryptedExpiryMonth\" : \"test_03\",\n \"encryptedExpiryYear\" : \"test_2030\",\n \"encryptedSecurityCode\" : \"test_737\",\n \"holderName\" : \"John Smith\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"encryptedCardNumber\" : \"test_4212345678901237\",\n \"encryptedExpiryMonth\" : \"test_03\",\n \"encryptedExpiryYear\" : \"test_2030\",\n \"encryptedSecurityCode\" : \"test_737\",\n \"holderName\" : \"John Smith\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + ] }, { "name": "Make a card payment", "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 + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4111111111111111\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\",\n \"cvc\" : \"737\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"additionalData\" : {\n \"cvcResult\" : \"1 Matches\",\n \"authCode\" : \"036240\",\n \"avsResult\" : \"4 AVS not supported for this card type\",\n \"avsResultRaw\" : \"4\",\n \"cvcResultRaw\" : \"M\",\n \"refusalReasonRaw\" : \"AUTHORISED\",\n \"acquirerCode\" : \"TestPmmAcquirer\",\n \"acquirerReference\" : \"8PQMP9SJQUL\"\n },\n \"pspReference\" : \"993617894906488A\",\n \"resultCode\" : \"Authorised\"\n}", + "originalRequest": { + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4111111111111111\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\",\n \"cvc\" : \"737\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4111111111111111\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\",\n \"cvc\" : \"737\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + ] }, { "name": "Make a card payment using encrypted card details", "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 + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"encryptedCardNumber\" : \"test_4111111111111111\",\n \"encryptedExpiryMonth\" : \"test_03\",\n \"encryptedExpiryYear\" : \"test_2030\",\n \"encryptedSecurityCode\" : \"test_737\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"additionalData\" : {\n \"cvcResult\" : \"1 Matches\",\n \"authCode\" : \"064649\",\n \"avsResult\" : \"4 AVS not supported for this card type\",\n \"avsResultRaw\" : \"4\",\n \"cvcResultRaw\" : \"M\",\n \"refusalReasonRaw\" : \"AUTHORISED\",\n \"acquirerCode\" : \"TestPmmAcquirer\",\n \"acquirerReference\" : \"8PQMP9SM92L\"\n },\n \"pspReference\" : \"993617894914488A\",\n \"resultCode\" : \"Authorised\"\n}", + "originalRequest": { + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"encryptedCardNumber\" : \"test_4111111111111111\",\n \"encryptedExpiryMonth\" : \"test_03\",\n \"encryptedExpiryYear\" : \"test_2030\",\n \"encryptedSecurityCode\" : \"test_737\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"encryptedCardNumber\" : \"test_4111111111111111\",\n \"encryptedExpiryMonth\" : \"test_03\",\n \"encryptedExpiryYear\" : \"test_2030\",\n \"encryptedSecurityCode\" : \"test_737\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + ] }, { "name": "Tokenize card details for one-off payments, using encrypted card details", "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"encryptedCardNumber\" : \"adyenjs_0_1_18$MT6ppy0FAMVMLH...\",\n \"encryptedExpiryMonth\" : \"adyenjs_0_1_18$MT6ppy0FAMVMLH...\",\n \"encryptedExpiryYear\" : \"adyenjs_0_1_18$MT6ppy0FAMVMLH...\",\n \"encryptedSecurityCode\" : \"adyenjs_0_1_18$MT6ppy0FAMVMLH...\"\n },\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"encryptedCardNumber\" : \"adyenjs_0_1_18$MT6ppy0FAMVMLH...\",\n \"encryptedExpiryMonth\" : \"adyenjs_0_1_18$MT6ppy0FAMVMLH...\",\n \"encryptedExpiryYear\" : \"adyenjs_0_1_18$MT6ppy0FAMVMLH...\",\n \"encryptedSecurityCode\" : \"adyenjs_0_1_18$MT6ppy0FAMVMLH...\"\n },\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + ] }, { "name": "Tokenize card details for one-off payments", "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 + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4111111111111111\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\",\n \"cvc\" : \"737\"\n },\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"storePaymentMethod\" : true,\n \"shopperInteraction\" : \"Ecommerce\",\n \"recurringProcessingModel\" : \"CardOnFile\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"additionalData\" : {\n \"cvcResult\" : \"1 Matches\",\n \"authCode\" : \"022966\",\n \"avsResult\" : \"4 AVS not supported for this card type\",\n \"recurring.recurringDetailReference\" : \"9916178934434753\",\n \"recurringProcessingModel\" : \"CardOnFile\",\n \"avsResultRaw\" : \"4\",\n \"cvcResultRaw\" : \"M\",\n \"refusalReasonRaw\" : \"AUTHORISED\",\n \"recurring.shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID\",\n \"acquirerCode\" : \"TestPmmAcquirer\",\n \"acquirerReference\" : \"8PQMP9T0BB6\"\n },\n \"pspReference\" : \"993617894947495G\",\n \"resultCode\" : \"Authorised\"\n}", + "originalRequest": { + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4111111111111111\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\",\n \"cvc\" : \"737\"\n },\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"storePaymentMethod\" : true,\n \"shopperInteraction\" : \"Ecommerce\",\n \"recurringProcessingModel\" : \"CardOnFile\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4111111111111111\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\",\n \"cvc\" : \"737\"\n },\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"storePaymentMethod\" : true,\n \"shopperInteraction\" : \"Ecommerce\",\n \"recurringProcessingModel\" : \"CardOnFile\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + ] }, { "name": "Make a Google Pay payment", "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"paywithgoogle\",\n \"googlePayToken\" : \"==Payload as retrieved from Google Pay response==\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"YourMerchantAccount\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"paywithgoogle\",\n \"googlePayToken\" : \"==Payload as retrieved from Google Pay response==\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"YourMerchantAccount\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + ] }, { "name": "Make an iDEAL payment", "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 + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"ideal\",\n \"issuer\" : \"1121\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"resultCode\" : \"RedirectShopper\",\n \"details\" : [ {\n \"key\" : \"payload\",\n \"type\" : \"text\"\n } ],\n \"paymentData\" : \"Ab02b4c0!BQABAgBOBkMn4vBx6T3DgxR+OR/a1zEA0xbGaYKP9mh/vWDSADlyktW39HZckwcm4Wr9kw2TvE9SYngEf9f6kZb1OimKls3+HEn3dRGOrTbWZZ8/tpmlS62YoDh1eQIE3EHZsUm7CQxhXjm8F0HQCelzIkVgj8DpLgtxwM3nFZxfpzl91HSt9CP/GIsx8S/RPVG2Fwg2S/jtdQ4MlFeG89S+icDvTecTyGoYFZlS/KL77Q4zJCR8Vgn4M9DJZEGRxv6kApLwDMkMyUMQngN95xDSCdLSW7fKkVusSub2+2hB7rzWxtj1E8R9dbtkCxgTe0F/G7tqrzUfEmseiHoKmaF6F8bN0j6BZiFhQJ/KHXJ6Pb+a7f0qYbQCAZmwYmeSSfNzqIDehyufpL0bP3w38spuso3QlhtPIqSHrIHDIQzbYmxPtt/I6A/RCMXJ7VN4nB6JigEygV383lnr8wd7mEynOQXnq9zEF+GGJy0Ool05WEy8L/mATgg++6bpsuSB2Wea5/VffvG6KcMyzs7OBG9zLAdYcrfqlsyXz/42UBJTeA2s6kVb1sBUfd6CQuQRF+37sjMwKiNIxwVaNWIYZMiWhbqPXOS4ozt0kNCtruhHqHgULPfF6aia/BnZKib6n+pBSepTdS47wZ31xC8VPqsoPia8RGNziLO/MmSMpW2fQRdgrhCrSniHb8qrh0vwgbPB4S7vAEp7ImtleSI6IkFGMEFBQTEwM0NBNTM3RUFFRDg3QzI0REQ1MzkwOUI4MEE3OEE5MjNFMzgyM0Q2OERBQ0M5NEI5RkY4MzA1REMifTMy2HjS+Bb81E9m0fQAZJXCA1BJgLgstBw3wxbdpZevF8c+pSBGUYNUm9ZbwrD93dGdCU2RvlI1gcyKke0cEEqKGjqWFXOWIYkSNzfLrgP3ERdp5t9VGZi6BDQko2CFzP4uAR3jwgR3AP0/mQ/4YWDrBrnYZCWjOpo7izGhNbHYvWbBOqVDvnfReoCrSNSLSo8OfSxuFrN6sJLXrajGu1qbPqQtxFIRyqLgbOfHLHw/DN3I+BZKGrNYynRfM2NparXTQ6ZRgC8E5xIodApr4JHMNeiPTjMlReaLBQwbcqaBzzRNLdV0v8/ZSXexS68WBeUMt7OkomYJBFrpwmpzgx/nzRzV87MZ9TGhZht/1zjcyaSi0Toc6r7UhbADuDX5RH5L0T8Q3iGJfjrYuS5h9aiYSg8oaVJ5DZhJAicDbb8eLvdAGXFTIV+EXbD+4e9Xl+c5um4FdKfufcrrUEo2s6lUuSBSJ3Gf6r+yJMxkamWwfnRUtxt+axRcXfmywYqU7O1r0zzW+RKCbV2qZeUWWeN1u5UIPdJbQbH4633ukPp//aGh8R4IWckBp7DGH4M5P1ZiYJB8OQRS5gD/y+iuwensnq1rKFBOK4gFNSpKmuDQYLeWb5VljHgE1sS4DRhl0fl8UCabehP+3tZu/2i88JTWbdUuvPLmkyv8zQdY36YeSDWmwC40vvbB+lo2e8MgVpfDwn+xyQFpFhasbEyr4VVoPwHq1sGR/QEutxmeoJi1Zux48jSHoGOj5RZ4ei+b8Lxp4rj45wwm0AiROghLnZJZfJaySp/LVxQ=\",\n \"redirect\" : {\n \"method\" : \"GET\",\n \"url\" : \"https://test.adyen.com/hpp/checkout.shtml?u=redirectIdeal&p=eJxtUl1vozAQ-DXwFmQDAfLgh4jSC730Q1yoqr5Urr0NXIlNbUPj-PozXC6qqpOstTWz2p3Z9auigueSA2k50M5ng1IgmJ2hoq78VusBVMkJxiH2D6BYQ4VZMyYHYcgOtLk9YxeyFAb2ippWisDYHki*KfKf9-Xu5UdxV1Rl-t-MEZR2N4nRha7gDSY1QLRRrdh-IcygxBU1lKxWOMFptopXcZZEyc0l51e7J9XdcHpeDTxC4edG1pFF5WMHnw95FtHf3N5z1MWqipKjF17XXnTl99QewNk7zO4wQshXoOtqSxpjei9au0R3Oslo10htHJKhDDmINcDe5WB0I-selEM0qLFloN3z4W-ZUjB5cD4q4K0CZhwz4n-lzjm3YBrJvej626iduq-D9sJEzUNw2hw1qXONlpPA5STRBSsHtXANeyps4O4ZDILA16CnST-SruWtsSREIV6geIGyHU6cI7x0Ic6e-bOXaUuKsmlLpHCFJmXg6-dWzL*kH16DMQzOi0iTNE1xFsXBqRyfot1NwrPRFmGzPr4w3jTHGpX16S3*2H4Um22xB8u5-ANWgt0s\"\n }\n}", + "originalRequest": { + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"ideal\",\n \"issuer\" : \"1121\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"ideal\",\n \"issuer\" : \"1121\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + ] }, { "name": "Make a Klarna payment", "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 \"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" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + "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 \"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" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + ] }, { "name": "Make a one-off payment with a token and CVV", "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"storedPaymentMethodId\" : \"8416038790273850\",\n \"cvc\" : \"737\"\n },\n \"shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID_6738oneoff\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"storedPaymentMethodId\" : \"8416038790273850\",\n \"cvc\" : \"737\"\n },\n \"shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID_6738oneoff\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + ] }, { "name": "Make a one-off payment with a token and CVV, using encrypted card details", "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"recurringDetailReference\" : \"8416038790273850\",\n \"encryptedSecurityCode\" : \"adyenjs_0_1_18$MT6ppy0FAMVMLH...\"\n },\n \"shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID_6738oneoff\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"recurringDetailReference\" : \"8416038790273850\",\n \"encryptedSecurityCode\" : \"adyenjs_0_1_18$MT6ppy0FAMVMLH...\"\n },\n \"shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID_6738oneoff\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + ] }, { "name": "Make a card payment with a token", "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"storedPaymentMethodId\" : \"8316038796685850\"\n },\n \"shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID_IOfW3subscription\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"shopperInteraction\" : \"ContAuth\",\n \"recurringProcessingModel\" : \"Subscription\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"storedPaymentMethodId\" : \"8316038796685850\"\n },\n \"shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID_IOfW3subscription\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"shopperInteraction\" : \"ContAuth\",\n \"recurringProcessingModel\" : \"Subscription\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + ] }, { "name": "Split a payment between balance accounts", "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 + "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 \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4111111111111111\",\n \"cvc\" : \"737\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\"\n },\n \"amount\" : {\n \"value\" : 40000,\n \"currency\" : \"USD\"\n },\n \"reference\" : \"{{$guid}}\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"splits\" : [ {\n \"amount\" : {\n \"value\" : 39600\n },\n \"type\" : \"BalanceAccount\",\n \"account\" : \"BA00000000000000000000001\",\n \"reference\" : \"Your reference for the sale amount\",\n \"description\" : \"Your description for the sale amount\"\n }, {\n \"amount\" : {\n \"value\" : 400\n },\n \"type\" : \"Commission\",\n \"reference\" : \"Your reference for the commission\",\n \"description\" : \"Your description for the commission\"\n }, {\n \"type\" : \"PaymentFee\",\n \"account\" : \"BA00000000000000000000001\",\n \"reference\" : \"Your reference for the fees\",\n \"description\" : \"Your description for the fees\"\n } ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"additionalData\" : {\n \"refusalReasonRaw\" : \"AUTHORISED\",\n \"eci\" : \"N/A\",\n \"acquirerAccountCode\" : \"YOUR_ACQUIRER_ACCOUNT\",\n \"donationToken\" : \"81234567890123456...\",\n \"xid\" : \"N/A\",\n \"threeDAuthenticated\" : \"false\",\n \"paymentMethodVariant\" : \"visa\",\n \"issuerBin\" : \"41111111\",\n \"payoutEligible\" : \"Y\",\n \"fraudManualReview\" : \"false\",\n \"threeDOffered\" : \"false\",\n \"threeDOfferedResponse\" : \"N/A\",\n \"authorisationMid\" : \"50\",\n \"fundsAvailability\" : \"I\",\n \"authorisedAmountCurrency\" : \"USD\",\n \"threeDAuthenticatedResponse\" : \"N/A\",\n \"avsResultRaw\" : \"5\",\n \"retry.attempt1.rawResponse\" : \"AUTHORISED\",\n \"paymentMethod\" : \"visa\",\n \"avsResult\" : \"5 No AVS data provided\",\n \"cardSummary\" : \"1111\",\n \"retry.attempt1.avsResultRaw\" : \"5\",\n \"networkTxReference\" : \"777718270854480\",\n \"expiryDate\" : \"3/2030\",\n \"cavvAlgorithm\" : \"N/A\",\n \"cardBin\" : \"411111\",\n \"alias\" : \"8915844059375211\",\n \"cvcResultRaw\" : \"M\",\n \"merchantReference\" : \"YOUR_ORDER_NUMBER\",\n \"acquirerReference\" : \"YOUR_ACQUIRER_REFERENCE\",\n \"cardIssuingCountry\" : \"NL\",\n \"liabilityShift\" : \"false\",\n \"fraudResultType\" : \"GREEN\",\n \"authCode\" : \"035450\",\n \"cardHolderName\" : \"John Smith\",\n \"isCardCommercial\" : \"unknown\",\n \"PaymentAccountReference\" : \"6006491286999921374...\",\n \"retry.attempt1.acquirerAccount\" : \"YOUR_ACQUIRER_ACCOUNT\",\n \"cardIssuingBank\" : \"ISSUING_BANK_CUSTOMER\",\n \"retry.attempt1.acquirer\" : \"YOUR_ACQUIRER_CODE\",\n \"authorisedAmountValue\" : \"40000\",\n \"issuerCountry\" : \"NL\",\n \"cvcResult\" : \"1 Matches\",\n \"retry.attempt1.responseCode\" : \"Approved\",\n \"aliasType\" : \"Default\",\n \"retry.attempt1.shopperInteraction\" : \"Ecommerce\",\n \"cardPaymentMethod\" : \"visa\",\n \"acquirerCode\" : \"YOUR_ACQUIRER_CODE\"\n },\n \"pspReference\" : \"PPKFQ89R6QRXGN82\",\n \"resultCode\" : \"Authorised\",\n \"merchantReference\" : \"YOUR_ORDER_NUMBER\"\n}", + "originalRequest": { + "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 \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4111111111111111\",\n \"cvc\" : \"737\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\"\n },\n \"amount\" : {\n \"value\" : 40000,\n \"currency\" : \"USD\"\n },\n \"reference\" : \"{{$guid}}\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"splits\" : [ {\n \"amount\" : {\n \"value\" : 39600\n },\n \"type\" : \"BalanceAccount\",\n \"account\" : \"BA00000000000000000000001\",\n \"reference\" : \"Your reference for the sale amount\",\n \"description\" : \"Your description for the sale amount\"\n }, {\n \"amount\" : {\n \"value\" : 400\n },\n \"type\" : \"Commission\",\n \"reference\" : \"Your reference for the commission\",\n \"description\" : \"Your description for the commission\"\n }, {\n \"type\" : \"PaymentFee\",\n \"account\" : \"BA00000000000000000000001\",\n \"reference\" : \"Your reference for the fees\",\n \"description\" : \"Your description for the fees\"\n } ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4111111111111111\",\n \"cvc\" : \"737\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\"\n },\n \"amount\" : {\n \"value\" : 40000,\n \"currency\" : \"USD\"\n },\n \"reference\" : \"{{$guid}}\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"splits\" : [ {\n \"amount\" : {\n \"value\" : 39600\n },\n \"type\" : \"BalanceAccount\",\n \"account\" : \"BA00000000000000000000001\",\n \"reference\" : \"Your reference for the sale amount\",\n \"description\" : \"Your description for the sale amount\"\n }, {\n \"amount\" : {\n \"value\" : 400\n },\n \"type\" : \"Commission\",\n \"reference\" : \"Your reference for the commission\",\n \"description\" : \"Your description for the commission\"\n }, {\n \"type\" : \"PaymentFee\",\n \"account\" : \"BA00000000000000000000001\",\n \"reference\" : \"Your reference for the fees\",\n \"description\" : \"Your description for the fees\"\n } ]\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + ] }, { "name": "Split a payment in a Classic Platforms integration", "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 \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4111111111111111\",\n \"cvc\" : \"737\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\"\n },\n \"amount\" : {\n \"value\" : 6200,\n \"currency\" : \"EUR\"\n },\n \"reference\" : \"{{$guid}}\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"splits\" : [ {\n \"amount\" : {\n \"value\" : 6000\n },\n \"type\" : \"MarketPlace\",\n \"account\" : \"151272963\",\n \"reference\" : \"6124145\",\n \"description\" : \"Porcelain Doll: Eliza (20cm)\"\n }, {\n \"amount\" : {\n \"value\" : 200\n },\n \"type\" : \"Commission\",\n \"reference\" : \"6124146\"\n } ]\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + "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 \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4111111111111111\",\n \"cvc\" : \"737\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\"\n },\n \"amount\" : {\n \"value\" : 6200,\n \"currency\" : \"EUR\"\n },\n \"reference\" : \"{{$guid}}\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"splits\" : [ {\n \"amount\" : {\n \"value\" : 6000\n },\n \"type\" : \"MarketPlace\",\n \"account\" : \"151272963\",\n \"reference\" : \"6124145\",\n \"description\" : \"Porcelain Doll: Eliza (20cm)\"\n }, {\n \"amount\" : {\n \"value\" : 200\n },\n \"type\" : \"Commission\",\n \"reference\" : \"6124146\"\n } ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + ] }, { "name": "Tokenize card details for a subscription", "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 + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4111111111111111\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\",\n \"cvc\" : \"737\"\n },\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"storePaymentMethod\" : true,\n \"shopperInteraction\" : \"Ecommerce\",\n \"recurringProcessingModel\" : \"Subscription\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"additionalData\" : {\n \"cvcResult\" : \"1 Matches\",\n \"authCode\" : \"004908\",\n \"avsResult\" : \"4 AVS not supported for this card type\",\n \"recurring.recurringDetailReference\" : \"9916178934434753\",\n \"recurringProcessingModel\" : \"Subscription\",\n \"avsResultRaw\" : \"4\",\n \"cvcResultRaw\" : \"M\",\n \"refusalReasonRaw\" : \"AUTHORISED\",\n \"recurring.shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID\",\n \"acquirerCode\" : \"TestPmmAcquirer\",\n \"acquirerReference\" : \"8PQMP9UV722\"\n },\n \"pspReference\" : \"993617895153552A\",\n \"resultCode\" : \"Authorised\",\n \"merchantReference\" : \"string\"\n}", + "originalRequest": { + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4111111111111111\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\",\n \"cvc\" : \"737\"\n },\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"storePaymentMethod\" : true,\n \"shopperInteraction\" : \"Ecommerce\",\n \"recurringProcessingModel\" : \"Subscription\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4111111111111111\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\",\n \"cvc\" : \"737\"\n },\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"storePaymentMethod\" : true,\n \"shopperInteraction\" : \"Ecommerce\",\n \"recurringProcessingModel\" : \"Subscription\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + ] } ] - } -, + }, { "name": "/payments/details", "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. ", @@ -2261,206 +4078,213 @@ { "name": "Submit details for the 3D Secure payment ", "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 \"MD\" : \"Ab02b4c0!BQABAgCW5sxB4e/==...\",\n \"PaRes\" : \"eNrNV0mTo7gS...\"\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. " - } + "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 \"MD\" : \"Ab02b4c0!BQABAgCW5sxB4e/==...\",\n \"PaRes\" : \"eNrNV0mTo7gS...\"\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. " +} + ,"response": [ + ] }, { "name": "Submit 3D Secure 2 callenge flow result", "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 \"details\" : {\n \"threeds2.challengeResult\" : \"eyJ0cmFuc1N0YXR1cyI6IlkifQ==\"\n },\n \"paymentData\" : \"YOUR_PAYMENT_DATA\"\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. " - } + "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 \"details\" : {\n \"threeds2.challengeResult\" : \"eyJ0cmFuc1N0YXR1cyI6IlkifQ==\"\n },\n \"paymentData\" : \"YOUR_PAYMENT_DATA\"\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. " +} + ,"response": [ + ] }, { "name": "Submit 3D Secure 2 device fingerprinting result", "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 \"details\" : {\n \"threeds2.fingerprint\" : \"eyJ0aHJlZURTQ29tcEluZCI6ICJZIn0=\"\n },\n \"paymentData\" : \"YOUR_PAYMENT_DATA...\"\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. " - } + "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 \"details\" : {\n \"threeds2.fingerprint\" : \"eyJ0aHJlZURTQ29tcEluZCI6ICJZIn0=\"\n },\n \"paymentData\" : \"YOUR_PAYMENT_DATA...\"\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. " +} + ,"response": [ + ] }, { "name": "Submit the redirect result", "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\" : \"Ab02b4c0!BQABAgCJN1wRZuGJmq8dMncmypvknj9s7l5Tj...\",\n \"details\" : {\n \"redirectResult\" : \"X6XtfGC3!Y...\"\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. " - } + "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\" : \"Ab02b4c0!BQABAgCJN1wRZuGJmq8dMncmypvknj9s7l5Tj...\",\n \"details\" : {\n \"redirectResult\" : \"X6XtfGC3!Y...\"\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. " +} + ,"response": [ + ] } ] } - ] }, { @@ -2473,55 +4297,113 @@ { "name": "Create a payment link", "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 + "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 \"reference\" : \"{{$guid}}\",\n \"amount\" : {\n \"value\" : 1250,\n \"currency\" : \"BRL\"\n },\n \"countryCode\" : \"BR\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"shopperEmail\" : \"test@email.com\",\n \"shopperLocale\" : \"pt-BR\",\n \"billingAddress\" : {\n \"street\" : \"Roque Petroni Jr\",\n \"postalCode\" : \"59000060\",\n \"city\" : \"São Paulo\",\n \"houseNumberOrName\" : \"999\",\n \"country\" : \"BR\",\n \"stateOrProvince\" : \"SP\"\n },\n \"deliveryAddress\" : {\n \"street\" : \"Roque Petroni Jr\",\n \"postalCode\" : \"59000060\",\n \"city\" : \"São Paulo\",\n \"houseNumberOrName\" : \"999\",\n \"country\" : \"BR\",\n \"stateOrProvince\" : \"SP\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentLinks", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentLinks" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates a payment link to our hosted payment form where shoppers can pay. The list of payment methods presented to the shopper depends on the `currency` and `country` parameters sent in the request. For more information, refer to [Pay by Link documentation](https://docs.adyen.com/online-payments/pay-by-link#create-payment-links-through-api)." +} + ,"response": [ + {"name": "Created - the request has succeeded.", + "code": 201, + "status": "Created", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"amount\" : {\n \"currency\" : \"BRL\",\n \"value\" : 1250\n },\n \"billingAddress\" : {\n \"city\" : \"São Paulo\",\n \"country\" : \"BR\",\n \"houseNumberOrName\" : \"999\",\n \"postalCode\" : \"59000060\",\n \"stateOrProvince\" : \"SP\",\n \"street\" : \"Roque Petroni Jr\"\n },\n \"countryCode\" : \"BR\",\n \"deliveryAddress\" : {\n \"city\" : \"São Paulo\",\n \"country\" : \"BR\",\n \"houseNumberOrName\" : \"999\",\n \"postalCode\" : \"59000060\",\n \"stateOrProvince\" : \"SP\",\n \"street\" : \"Roque Petroni Jr\"\n },\n \"expiresAt\" : \"2022-10-28T09:16:22Z\",\n \"merchantAccount\" : \"YOUR_MERCHANT_ACCOUNT\",\n \"reference\" : \"YOUR_ORDER_NUMBER\",\n \"reusable\" : false,\n \"shopperEmail\" : \"test@email.com\",\n \"shopperLocale\" : \"pt-BR\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"id\" : \"PLE83C39B0A0DE0C1E\",\n \"status\" : \"active\",\n \"url\" : \"https://test.adyen.link/PLE83C39B0A0DE0C1E\"\n}", + "originalRequest": { + "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 \"reference\" : \"{{$guid}}\",\n \"amount\" : {\n \"value\" : 1250,\n \"currency\" : \"BRL\"\n },\n \"countryCode\" : \"BR\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"shopperEmail\" : \"test@email.com\",\n \"shopperLocale\" : \"pt-BR\",\n \"billingAddress\" : {\n \"street\" : \"Roque Petroni Jr\",\n \"postalCode\" : \"59000060\",\n \"city\" : \"São Paulo\",\n \"houseNumberOrName\" : \"999\",\n \"country\" : \"BR\",\n \"stateOrProvince\" : \"SP\"\n },\n \"deliveryAddress\" : {\n \"street\" : \"Roque Petroni Jr\",\n \"postalCode\" : \"59000060\",\n \"city\" : \"São Paulo\",\n \"houseNumberOrName\" : \"999\",\n \"country\" : \"BR\",\n \"stateOrProvince\" : \"SP\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentLinks", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentLinks" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates a payment link to our hosted payment form where shoppers can pay. The list of payment methods presented to the shopper depends on the `currency` and `country` parameters sent in the request. For more information, refer to [Pay by Link documentation](https://docs.adyen.com/online-payments/pay-by-link#create-payment-links-through-api)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"reference\" : \"{{$guid}}\",\n \"amount\" : {\n \"value\" : 1250,\n \"currency\" : \"BRL\"\n },\n \"countryCode\" : \"BR\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"shopperEmail\" : \"test@email.com\",\n \"shopperLocale\" : \"pt-BR\",\n \"billingAddress\" : {\n \"street\" : \"Roque Petroni Jr\",\n \"postalCode\" : \"59000060\",\n \"city\" : \"São Paulo\",\n \"houseNumberOrName\" : \"999\",\n \"country\" : \"BR\",\n \"stateOrProvince\" : \"SP\"\n },\n \"deliveryAddress\" : {\n \"street\" : \"Roque Petroni Jr\",\n \"postalCode\" : \"59000060\",\n \"city\" : \"São Paulo\",\n \"houseNumberOrName\" : \"999\",\n \"country\" : \"BR\",\n \"stateOrProvince\" : \"SP\"\n }\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentLinks", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentLinks" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Creates a payment link to our hosted payment form where shoppers can pay. The list of payment methods presented to the shopper depends on the `currency` and `country` parameters sent in the request. For more information, refer to [Pay by Link documentation](https://docs.adyen.com/online-payments/pay-by-link#create-payment-links-through-api)." - } + ] } ] - } -, + }, { "name": "/paymentLinks/:linkId", "description": "Retrieves the payment link details using the payment link `id`.", @@ -2529,49 +4411,50 @@ { "name": "Get a payment link", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentLinks/:linkId", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentLinks", - ":linkId" - ], - "variable": [ - { - "key": "linkId", - "value": "", - "description": "Unique identifier of the payment link." - } - ], - "query": [ - ] - }, - "description": "Retrieves the payment link details using the payment link `id`." - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentLinks/:linkId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentLinks", + ":linkId" + ], + "variable": [ + { + "key": "linkId", + "value": "", + "description": "Unique identifier of the payment link." + } + ], + "query": [ + ] + }, + "description": "Retrieves the payment link details using the payment link `id`." +} + ,"response": [ + ] } ] - } -, + }, { "name": "/paymentLinks/:linkId", "description": "Updates the status of a payment link. Use this endpoint to [force the expiry of a payment link](https://docs.adyen.com/online-payments/pay-by-link#update-payment-link-status).", @@ -2579,55 +4462,113 @@ { "name": "Update the status of a payment link", "request": { - "method": "PATCH", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"status\" : \"expired\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentLinks/:linkId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentLinks", + ":linkId" + ], + "variable": [ + { + "key": "linkId", + "value": "", + "description": "Unique identifier of the payment link." + } + ], + "query": [ + ] + }, + "description": "Updates the status of a payment link. Use this endpoint to [force the expiry of a payment link](https://docs.adyen.com/online-payments/pay-by-link#update-payment-link-status)." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 8700\n },\n \"countryCode\" : \"NL\",\n \"expiresAt\" : \"2021-04-08T14:06:39Z\",\n \"merchantAccount\" : \"YOUR_MERCHANT_ACCOUNT\",\n \"reference\" : \"shopper-reference-ekvL83\",\n \"shopperLocale\" : \"hu-HU\",\n \"shopperReference\" : \"shopper-reference-LZfdWZ\",\n \"status\" : \"expired\",\n \"url\" : \"https://test.adyen.link/PL61C53A8B97E6915A\",\n \"id\" : \"PL61C53A8B97E6915A\"\n}", + "originalRequest": { + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"status\" : \"expired\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentLinks/:linkId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentLinks", + ":linkId" + ], + "variable": [ + { + "key": "linkId", + "value": "", + "description": "Unique identifier of the payment link." + } + ], + "query": [ + ] + }, + "description": "Updates the status of a payment link. Use this endpoint to [force the expiry of a payment link](https://docs.adyen.com/online-payments/pay-by-link#update-payment-link-status)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"status\" : \"expired\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentLinks/:linkId", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentLinks", - ":linkId" - ], - "variable": [ - { - "key": "linkId", - "value": "", - "description": "Unique identifier of the payment link." - } - ], - "query": [ - ] - }, - "description": "Updates the status of a payment link. Use this endpoint to [force the expiry of a payment link](https://docs.adyen.com/online-payments/pay-by-link#update-payment-link-status)." - } + ] } ] } - ] } ], diff --git a/postman/CheckoutService-v52.json b/postman/CheckoutService-v52.json index 17e7232..54d1221 100644 --- a/postman/CheckoutService-v52.json +++ b/postman/CheckoutService-v52.json @@ -19,55 +19,113 @@ { "name": "Cancel a payment using your own reference", "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 + "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 \"paymentReference\" : \"YOUR_UNIQUE_REFERENCE_FOR_THE_PAYMENT\",\n \"reference\" : \"YOUR_UNIQUE_REFERENCE_FOR_THE_CANCELLATION\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/cancels", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "cancels" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Cancels the authorisation on a payment that has not yet been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/captures), and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**TECHNICAL_CANCEL** webhook](https://docs.adyen.com/online-payments/cancel#cancellation-webhook). If you want to cancel a payment using the [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference), use the [`/payments/{paymentPspReference}/cancels`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/cancels) endpoint instead. If you want to cancel a payment but are not sure whether it has been captured, use the [`/payments/{paymentPspReference}/reversals`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/reversals) endpoint instead. For more information, refer to [Cancel](https://docs.adyen.com/online-payments/cancel)." +} + ,"response": [ + {"name": "Created - the request has been fulfilled and has resulted in one or more new resources being created.", + "code": 201, + "status": "Created", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"merchantAccount\" : \"YOUR_MERCHANT_ACCOUNT\",\n \"paymentReference\" : \"YOUR_UNIQUE_REFERENCE_FOR_THE_PAYMENT\",\n \"reference\" : \"YOUR_UNIQUE_REFERENCE_FOR_THE_CANCELLATION\",\n \"pspReference\" : \"993617894906488A\",\n \"status\" : \"received\"\n}", + "originalRequest": { + "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 \"paymentReference\" : \"YOUR_UNIQUE_REFERENCE_FOR_THE_PAYMENT\",\n \"reference\" : \"YOUR_UNIQUE_REFERENCE_FOR_THE_CANCELLATION\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/cancels", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "cancels" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Cancels the authorisation on a payment that has not yet been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/captures), and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**TECHNICAL_CANCEL** webhook](https://docs.adyen.com/online-payments/cancel#cancellation-webhook). If you want to cancel a payment using the [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference), use the [`/payments/{paymentPspReference}/cancels`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/cancels) endpoint instead. If you want to cancel a payment but are not sure whether it has been captured, use the [`/payments/{paymentPspReference}/reversals`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/reversals) endpoint instead. For more information, refer to [Cancel](https://docs.adyen.com/online-payments/cancel)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"paymentReference\" : \"YOUR_UNIQUE_REFERENCE_FOR_THE_PAYMENT\",\n \"reference\" : \"YOUR_UNIQUE_REFERENCE_FOR_THE_CANCELLATION\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/cancels", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "cancels" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Cancels the authorisation on a payment that has not yet been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/captures), and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**TECHNICAL_CANCEL** webhook](https://docs.adyen.com/online-payments/cancel#cancellation-webhook). If you want to cancel a payment using the [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference), use the [`/payments/{paymentPspReference}/cancels`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/cancels) endpoint instead. If you want to cancel a payment but are not sure whether it has been captured, use the [`/payments/{paymentPspReference}/reversals`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/reversals) endpoint instead. For more information, refer to [Cancel](https://docs.adyen.com/online-payments/cancel)." - } + ] } ] - } -, + }, { "name": "/payments/:paymentPspReference/amountUpdates", "description": "Increases or decreases the authorised payment amount and returns a unique reference for this request. You get the outcome of the request asynchronously, in an [**AUTHORISATION_ADJUSTMENT** webhook](https://docs.adyen.com/development-resources/webhooks/understand-notifications#event-codes). You can only update authorised amounts that have not yet been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/captures). The amount you specify in the request is the updated amount, which is larger or smaller than the initial authorised amount. For more information, refer to [Authorisation adjustment](https://docs.adyen.com/online-payments/adjust-authorisation#use-cases).", @@ -75,62 +133,127 @@ { "name": "Update the amount of an authorised payment", "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 + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 2500\n },\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments/:paymentPspReference/amountUpdates", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments", + ":paymentPspReference", + "amountUpdates" + ], + "variable": [ + { + "key": "paymentPspReference", + "value": "", + "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment." + } + ], + "query": [ + ] + }, + "description": "Increases or decreases the authorised payment amount and returns a unique reference for this request. You get the outcome of the request asynchronously, in an [**AUTHORISATION_ADJUSTMENT** webhook](https://docs.adyen.com/development-resources/webhooks/understand-notifications#event-codes). You can only update authorised amounts that have not yet been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/captures). The amount you specify in the request is the updated amount, which is larger or smaller than the initial authorised amount. For more information, refer to [Authorisation adjustment](https://docs.adyen.com/online-payments/adjust-authorisation#use-cases)." +} + ,"response": [ + {"name": "Created - the request has been fulfilled and has resulted in one or more new resources being created.", + "code": 201, + "status": "Created", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"merchantAccount\" : \"YOUR_MERCHANT_ACCOUNT\",\n \"paymentPspReference\" : \"993617894903480A\",\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"pspReference\" : \"993617894906488A\",\n \"status\" : \"received\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 2500\n }\n}", + "originalRequest": { + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 2500\n },\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments/:paymentPspReference/amountUpdates", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments", + ":paymentPspReference", + "amountUpdates" + ], + "variable": [ + { + "key": "paymentPspReference", + "value": "", + "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment." + } + ], + "query": [ + ] + }, + "description": "Increases or decreases the authorised payment amount and returns a unique reference for this request. You get the outcome of the request asynchronously, in an [**AUTHORISATION_ADJUSTMENT** webhook](https://docs.adyen.com/development-resources/webhooks/understand-notifications#event-codes). You can only update authorised amounts that have not yet been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/captures). The amount you specify in the request is the updated amount, which is larger or smaller than the initial authorised amount. For more information, refer to [Authorisation adjustment](https://docs.adyen.com/online-payments/adjust-authorisation#use-cases)." +} } - ], - "body": { - "mode": "raw", - "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" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments/:paymentPspReference/amountUpdates", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments", - ":paymentPspReference", - "amountUpdates" - ], - "variable": [ - { - "key": "paymentPspReference", - "value": "", - "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment." - } - ], - "query": [ - ] - }, - "description": "Increases or decreases the authorised payment amount and returns a unique reference for this request. You get the outcome of the request asynchronously, in an [**AUTHORISATION_ADJUSTMENT** webhook](https://docs.adyen.com/development-resources/webhooks/understand-notifications#event-codes). You can only update authorised amounts that have not yet been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/captures). The amount you specify in the request is the updated amount, which is larger or smaller than the initial authorised amount. For more information, refer to [Authorisation adjustment](https://docs.adyen.com/online-payments/adjust-authorisation#use-cases)." - } + ] } ] - } -, + }, { "name": "/payments/:paymentPspReference/cancels", "description": "Cancels the authorisation on a payment that has not yet been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/paymentPspReference/captures), and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CANCELLATION** webhook](https://docs.adyen.com/online-payments/cancel#cancellation-webhook). If you want to cancel a payment but don't have the [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference), use the [`/cancels`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cancels) endpoint instead. If you want to cancel a payment but are not sure whether it has been captured, use the [`/payments/{paymentPspReference}/reversals`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/reversals) endpoint instead. For more information, refer to [Cancel](https://docs.adyen.com/online-payments/cancel).", @@ -138,62 +261,127 @@ { "name": "Cancel payment using a PSP reference", "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 + "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 \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments/:paymentPspReference/cancels", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments", + ":paymentPspReference", + "cancels" + ], + "variable": [ + { + "key": "paymentPspReference", + "value": "", + "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to cancel. " + } + ], + "query": [ + ] + }, + "description": "Cancels the authorisation on a payment that has not yet been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/paymentPspReference/captures), and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CANCELLATION** webhook](https://docs.adyen.com/online-payments/cancel#cancellation-webhook). If you want to cancel a payment but don't have the [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference), use the [`/cancels`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cancels) endpoint instead. If you want to cancel a payment but are not sure whether it has been captured, use the [`/payments/{paymentPspReference}/reversals`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/reversals) endpoint instead. For more information, refer to [Cancel](https://docs.adyen.com/online-payments/cancel)." +} + ,"response": [ + {"name": "Created - the request has been fulfilled and has resulted in one or more new resources being created.", + "code": 201, + "status": "Created", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"merchantAccount\" : \"YOUR_MERCHANT_ACCOUNT\",\n \"paymentPspReference\" : \"993617894903480A\",\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"pspReference\" : \"993617894906488A\",\n \"status\" : \"received\"\n}", + "originalRequest": { + "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 \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments/:paymentPspReference/cancels", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments", + ":paymentPspReference", + "cancels" + ], + "variable": [ + { + "key": "paymentPspReference", + "value": "", + "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to cancel. " + } + ], + "query": [ + ] + }, + "description": "Cancels the authorisation on a payment that has not yet been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/paymentPspReference/captures), and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CANCELLATION** webhook](https://docs.adyen.com/online-payments/cancel#cancellation-webhook). If you want to cancel a payment but don't have the [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference), use the [`/cancels`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cancels) endpoint instead. If you want to cancel a payment but are not sure whether it has been captured, use the [`/payments/{paymentPspReference}/reversals`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/reversals) endpoint instead. For more information, refer to [Cancel](https://docs.adyen.com/online-payments/cancel)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments/:paymentPspReference/cancels", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments", - ":paymentPspReference", - "cancels" - ], - "variable": [ - { - "key": "paymentPspReference", - "value": "", - "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to cancel. " - } - ], - "query": [ - ] - }, - "description": "Cancels the authorisation on a payment that has not yet been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/paymentPspReference/captures), and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CANCELLATION** webhook](https://docs.adyen.com/online-payments/cancel#cancellation-webhook). If you want to cancel a payment but don't have the [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference), use the [`/cancels`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cancels) endpoint instead. If you want to cancel a payment but are not sure whether it has been captured, use the [`/payments/{paymentPspReference}/reversals`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/reversals) endpoint instead. For more information, refer to [Cancel](https://docs.adyen.com/online-payments/cancel)." - } + ] } ] - } -, + }, { "name": "/payments/:paymentPspReference/captures", "description": " Captures an authorised payment and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CAPTURE** webhook](https://docs.adyen.com/online-payments/capture#capture-notification). You can capture either the full authorised amount or a part of the authorised amount. By default, any unclaimed amount after a partial capture gets cancelled. This does not apply if you enabled multiple partial captures on your account and the payment method supports multiple partial captures. [Automatic capture](https://docs.adyen.com/online-payments/capture#automatic-capture) is the default setting for most payment methods. In these cases, you don't need to make capture requests. However, making capture requests for payments that are captured automatically does not result in double charges. For more information, refer to [Capture](https://docs.adyen.com/online-payments/capture).", @@ -201,62 +389,127 @@ { "name": "Capture an authorised payment", "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 + "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 \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"amount\" : {\n \"value\" : 2000,\n \"currency\" : \"EUR\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments/:paymentPspReference/captures", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments", + ":paymentPspReference", + "captures" + ], + "variable": [ + { + "key": "paymentPspReference", + "value": "", + "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to capture." + } + ], + "query": [ + ] + }, + "description": " Captures an authorised payment and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CAPTURE** webhook](https://docs.adyen.com/online-payments/capture#capture-notification). You can capture either the full authorised amount or a part of the authorised amount. By default, any unclaimed amount after a partial capture gets cancelled. This does not apply if you enabled multiple partial captures on your account and the payment method supports multiple partial captures. [Automatic capture](https://docs.adyen.com/online-payments/capture#automatic-capture) is the default setting for most payment methods. In these cases, you don't need to make capture requests. However, making capture requests for payments that are captured automatically does not result in double charges. For more information, refer to [Capture](https://docs.adyen.com/online-payments/capture)." +} + ,"response": [ + {"name": "Created - the request has been fulfilled and has resulted in one or more new resources being created.", + "code": 201, + "status": "Created", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"merchantAccount\" : \"YOUR_MERCHANT_ACCOUNT\",\n \"paymentPspReference\" : \"993617894903480A\",\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"pspReference\" : \"993617894906488A\",\n \"status\" : \"received\",\n \"amount\" : {\n \"value\" : 2000,\n \"currency\" : \"EUR\"\n }\n}", + "originalRequest": { + "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 \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"amount\" : {\n \"value\" : 2000,\n \"currency\" : \"EUR\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments/:paymentPspReference/captures", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments", + ":paymentPspReference", + "captures" + ], + "variable": [ + { + "key": "paymentPspReference", + "value": "", + "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to capture." + } + ], + "query": [ + ] + }, + "description": " Captures an authorised payment and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CAPTURE** webhook](https://docs.adyen.com/online-payments/capture#capture-notification). You can capture either the full authorised amount or a part of the authorised amount. By default, any unclaimed amount after a partial capture gets cancelled. This does not apply if you enabled multiple partial captures on your account and the payment method supports multiple partial captures. [Automatic capture](https://docs.adyen.com/online-payments/capture#automatic-capture) is the default setting for most payment methods. In these cases, you don't need to make capture requests. However, making capture requests for payments that are captured automatically does not result in double charges. For more information, refer to [Capture](https://docs.adyen.com/online-payments/capture)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"amount\" : {\n \"value\" : 2000,\n \"currency\" : \"EUR\"\n }\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments/:paymentPspReference/captures", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments", - ":paymentPspReference", - "captures" - ], - "variable": [ - { - "key": "paymentPspReference", - "value": "", - "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to capture." - } - ], - "query": [ - ] - }, - "description": " Captures an authorised payment and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CAPTURE** webhook](https://docs.adyen.com/online-payments/capture#capture-notification). You can capture either the full authorised amount or a part of the authorised amount. By default, any unclaimed amount after a partial capture gets cancelled. This does not apply if you enabled multiple partial captures on your account and the payment method supports multiple partial captures. [Automatic capture](https://docs.adyen.com/online-payments/capture#automatic-capture) is the default setting for most payment methods. In these cases, you don't need to make capture requests. However, making capture requests for payments that are captured automatically does not result in double charges. For more information, refer to [Capture](https://docs.adyen.com/online-payments/capture)." - } + ] } ] - } -, + }, { "name": "/payments/:paymentPspReference/refunds", "description": "Refunds a payment that has been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/captures), and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**REFUND** webhook](https://docs.adyen.com/online-payments/refund#refund-webhook). You can refund either the full captured amount or a part of the captured amount. You can also perform multiple partial refunds, as long as their sum doesn't exceed the captured amount. > Some payment methods do not support partial refunds. To learn if a payment method supports partial refunds, refer to the payment method page such as [cards](https://docs.adyen.com/payment-methods/cards#supported-cards), [iDEAL](https://docs.adyen.com/payment-methods/ideal), or [Klarna](https://docs.adyen.com/payment-methods/klarna). If you want to refund a payment but are not sure whether it has been captured, use the [`/payments/{paymentPspReference}/reversals`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/reversals) endpoint instead. For more information, refer to [Refund](https://docs.adyen.com/online-payments/refund).", @@ -264,62 +517,127 @@ { "name": "Refund a payment", "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 + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 2500\n },\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments/:paymentPspReference/refunds", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments", + ":paymentPspReference", + "refunds" + ], + "variable": [ + { + "key": "paymentPspReference", + "value": "", + "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to refund." + } + ], + "query": [ + ] + }, + "description": "Refunds a payment that has been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/captures), and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**REFUND** webhook](https://docs.adyen.com/online-payments/refund#refund-webhook). You can refund either the full captured amount or a part of the captured amount. You can also perform multiple partial refunds, as long as their sum doesn't exceed the captured amount. > Some payment methods do not support partial refunds. To learn if a payment method supports partial refunds, refer to the payment method page such as [cards](https://docs.adyen.com/payment-methods/cards#supported-cards), [iDEAL](https://docs.adyen.com/payment-methods/ideal), or [Klarna](https://docs.adyen.com/payment-methods/klarna). If you want to refund a payment but are not sure whether it has been captured, use the [`/payments/{paymentPspReference}/reversals`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/reversals) endpoint instead. For more information, refer to [Refund](https://docs.adyen.com/online-payments/refund)." +} + ,"response": [ + {"name": "Created - the request has been fulfilled and has resulted in one or more new resources being created.", + "code": 201, + "status": "Created", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"merchantAccount\" : \"YOUR_MERCHANT_ACCOUNT\",\n \"paymentPspReference\" : \"993617894903480A\",\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"pspReference\" : \"993617894906488A\",\n \"status\" : \"received\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 2500\n }\n}", + "originalRequest": { + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 2500\n },\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments/:paymentPspReference/refunds", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments", + ":paymentPspReference", + "refunds" + ], + "variable": [ + { + "key": "paymentPspReference", + "value": "", + "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to refund." + } + ], + "query": [ + ] + }, + "description": "Refunds a payment that has been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/captures), and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**REFUND** webhook](https://docs.adyen.com/online-payments/refund#refund-webhook). You can refund either the full captured amount or a part of the captured amount. You can also perform multiple partial refunds, as long as their sum doesn't exceed the captured amount. > Some payment methods do not support partial refunds. To learn if a payment method supports partial refunds, refer to the payment method page such as [cards](https://docs.adyen.com/payment-methods/cards#supported-cards), [iDEAL](https://docs.adyen.com/payment-methods/ideal), or [Klarna](https://docs.adyen.com/payment-methods/klarna). If you want to refund a payment but are not sure whether it has been captured, use the [`/payments/{paymentPspReference}/reversals`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/reversals) endpoint instead. For more information, refer to [Refund](https://docs.adyen.com/online-payments/refund)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 2500\n },\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments/:paymentPspReference/refunds", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments", - ":paymentPspReference", - "refunds" - ], - "variable": [ - { - "key": "paymentPspReference", - "value": "", - "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to refund." - } - ], - "query": [ - ] - }, - "description": "Refunds a payment that has been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/captures), and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**REFUND** webhook](https://docs.adyen.com/online-payments/refund#refund-webhook). You can refund either the full captured amount or a part of the captured amount. You can also perform multiple partial refunds, as long as their sum doesn't exceed the captured amount. > Some payment methods do not support partial refunds. To learn if a payment method supports partial refunds, refer to the payment method page such as [cards](https://docs.adyen.com/payment-methods/cards#supported-cards), [iDEAL](https://docs.adyen.com/payment-methods/ideal), or [Klarna](https://docs.adyen.com/payment-methods/klarna). If you want to refund a payment but are not sure whether it has been captured, use the [`/payments/{paymentPspReference}/reversals`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/reversals) endpoint instead. For more information, refer to [Refund](https://docs.adyen.com/online-payments/refund)." - } + ] } ] - } -, + }, { "name": "/payments/:paymentPspReference/reversals", "description": "[Refunds](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/refunds) a payment if it has already been captured, and [cancels](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/cancels) a payment if it has not yet been captured. Returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CANCEL_OR_REFUND** webhook](https://docs.adyen.com/online-payments/reverse#cancel-or-refund-webhook). The reversed amount is always the full payment amount. > Do not use this request for payments that involve multiple partial captures. For more information, refer to [Reversal](https://docs.adyen.com/online-payments/reversal).", @@ -327,62 +645,127 @@ { "name": "Reverse (cancel or refund) a payment", "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 + "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 \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments/:paymentPspReference/reversals", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments", + ":paymentPspReference", + "reversals" + ], + "variable": [ + { + "key": "paymentPspReference", + "value": "", + "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to reverse. " + } + ], + "query": [ + ] + }, + "description": "[Refunds](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/refunds) a payment if it has already been captured, and [cancels](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/cancels) a payment if it has not yet been captured. Returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CANCEL_OR_REFUND** webhook](https://docs.adyen.com/online-payments/reverse#cancel-or-refund-webhook). The reversed amount is always the full payment amount. > Do not use this request for payments that involve multiple partial captures. For more information, refer to [Reversal](https://docs.adyen.com/online-payments/reversal)." +} + ,"response": [ + {"name": "Created - the request has been fulfilled and has resulted in one or more new resources being created.", + "code": 201, + "status": "Created", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"merchantAccount\" : \"YOUR_MERCHANT_ACCOUNT\",\n \"paymentPspReference\" : \"993617894903480A\",\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"pspReference\" : \"993617894906488A\",\n \"status\" : \"received\"\n}", + "originalRequest": { + "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 \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments/:paymentPspReference/reversals", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments", + ":paymentPspReference", + "reversals" + ], + "variable": [ + { + "key": "paymentPspReference", + "value": "", + "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to reverse. " + } + ], + "query": [ + ] + }, + "description": "[Refunds](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/refunds) a payment if it has already been captured, and [cancels](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/cancels) a payment if it has not yet been captured. Returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CANCEL_OR_REFUND** webhook](https://docs.adyen.com/online-payments/reverse#cancel-or-refund-webhook). The reversed amount is always the full payment amount. > Do not use this request for payments that involve multiple partial captures. For more information, refer to [Reversal](https://docs.adyen.com/online-payments/reversal)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments/:paymentPspReference/reversals", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments", - ":paymentPspReference", - "reversals" - ], - "variable": [ - { - "key": "paymentPspReference", - "value": "", - "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to reverse. " - } - ], - "query": [ - ] - }, - "description": "[Refunds](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/refunds) a payment if it has already been captured, and [cancels](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/cancels) a payment if it has not yet been captured. Returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CANCEL_OR_REFUND** webhook](https://docs.adyen.com/online-payments/reverse#cancel-or-refund-webhook). The reversed amount is always the full payment amount. > Do not use this request for payments that involve multiple partial captures. For more information, refer to [Reversal](https://docs.adyen.com/online-payments/reversal)." - } + ] } ] } - ] }, { @@ -395,251 +778,374 @@ { "name": "Set up a payment session (Android)", "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 17408\n },\n \"reference\" : \"Your order number\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"channel\" : \"Android\",\n \"token\" : \"TOKEN_YOU_GET_FROM_CHECKOUT_SDK\",\n \"returnUrl\" : \"app://\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl_NL\",\n \"sessionValidity\" : \"2017-04-06T13:09:13Z\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentSession", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentSession" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Provides the data object that can be used to start the Checkout SDK. To set up the payment, pass its amount, currency, and other required parameters. We use this to optimise the payment flow and perform better risk assessment of the transaction. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." - } + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 17408\n },\n \"reference\" : \"Your order number\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"channel\" : \"Android\",\n \"token\" : \"TOKEN_YOU_GET_FROM_CHECKOUT_SDK\",\n \"returnUrl\" : \"app://\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl_NL\",\n \"sessionValidity\" : \"2017-04-06T13:09:13Z\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentSession", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentSession" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Provides the data object that can be used to start the Checkout SDK. To set up the payment, pass its amount, currency, and other required parameters. We use this to optimise the payment flow and perform better risk assessment of the transaction. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." +} + ,"response": [ + ] }, { "name": "Set up a payment session with the option to store card details", "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 + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 17408\n },\n \"reference\" : \"Your order number\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"enableOneClick\" : true,\n \"enableRecurring\" : true,\n \"channel\" : \"Web\",\n \"origin\" : \"https://www.yourwebsite.com\",\n \"returnUrl\" : \"https://www.yourshop.com/checkout/result\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl_NL\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"sdkVersion\" : \"1.7.0\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentSession", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentSession" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Provides the data object that can be used to start the Checkout SDK. To set up the payment, pass its amount, currency, and other required parameters. We use this to optimise the payment flow and perform better risk assessment of the transaction. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"paymentSession\" : \"eyJjaGVja291dHNob3BwZXJCYXN...\"\n}", + "originalRequest": { + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 17408\n },\n \"reference\" : \"Your order number\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"enableOneClick\" : true,\n \"enableRecurring\" : true,\n \"channel\" : \"Web\",\n \"origin\" : \"https://www.yourwebsite.com\",\n \"returnUrl\" : \"https://www.yourshop.com/checkout/result\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl_NL\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"sdkVersion\" : \"1.7.0\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentSession", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentSession" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Provides the data object that can be used to start the Checkout SDK. To set up the payment, pass its amount, currency, and other required parameters. We use this to optimise the payment flow and perform better risk assessment of the transaction. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 17408\n },\n \"reference\" : \"Your order number\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"enableOneClick\" : true,\n \"enableRecurring\" : true,\n \"channel\" : \"Web\",\n \"origin\" : \"https://www.yourwebsite.com\",\n \"returnUrl\" : \"https://www.yourshop.com/checkout/result\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl_NL\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"sdkVersion\" : \"1.7.0\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentSession", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentSession" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Provides the data object that can be used to start the Checkout SDK. To set up the payment, pass its amount, currency, and other required parameters. We use this to optimise the payment flow and perform better risk assessment of the transaction. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." - } + ] }, { "name": "Set up a payment session (iOS)", "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 17408\n },\n \"reference\" : \"Your order number\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"channel\" : \"iOS\",\n \"token\" : \"TOKEN_YOU_GET_FROM_CHECKOUT_SDK\",\n \"returnUrl\" : \"app://\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl_NL\",\n \"sessionValidity\" : \"2017-04-06T13:09:13Z\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentSession", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentSession" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Provides the data object that can be used to start the Checkout SDK. To set up the payment, pass its amount, currency, and other required parameters. We use this to optimise the payment flow and perform better risk assessment of the transaction. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." - } + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 17408\n },\n \"reference\" : \"Your order number\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"channel\" : \"iOS\",\n \"token\" : \"TOKEN_YOU_GET_FROM_CHECKOUT_SDK\",\n \"returnUrl\" : \"app://\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl_NL\",\n \"sessionValidity\" : \"2017-04-06T13:09:13Z\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentSession", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentSession" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Provides the data object that can be used to start the Checkout SDK. To set up the payment, pass its amount, currency, and other required parameters. We use this to optimise the payment flow and perform better risk assessment of the transaction. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." +} + ,"response": [ + ] }, { "name": "Split a payment between a sub-merchant and a platform account", "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 6200\n },\n \"additionalData\" : {\n \"split.api\" : \"1\",\n \"split.nrOfItems\" : \"2\",\n \"split.totalAmount\" : \"6200\",\n \"split.currencyCode\" : \"EUR\",\n \"split.item1.amount\" : \"6000\",\n \"split.item1.type\" : \"MarketPlace\",\n \"split.item1.account\" : \"151272963\",\n \"split.item1.reference\" : \"6124145\",\n \"split.item1.description\" : \"Porcelain Doll: Eliza (20cm)\",\n \"split.item2.amount\" : \"200\",\n \"split.item2.type\" : \"Commission\",\n \"split.item2.reference\" : \"6124146\"\n },\n \"reference\" : \"Your order number\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"channel\" : \"Android\",\n \"token\" : \"TOKEN_YOU_GET_FROM_CHECKOUT_SDK\",\n \"returnUrl\" : \"app://\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl_NL\",\n \"sessionValidity\" : \"2017-04-06T13:09:13Z\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentSession", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentSession" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Provides the data object that can be used to start the Checkout SDK. To set up the payment, pass its amount, currency, and other required parameters. We use this to optimise the payment flow and perform better risk assessment of the transaction. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." - } + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 6200\n },\n \"additionalData\" : {\n \"split.api\" : \"1\",\n \"split.nrOfItems\" : \"2\",\n \"split.totalAmount\" : \"6200\",\n \"split.currencyCode\" : \"EUR\",\n \"split.item1.amount\" : \"6000\",\n \"split.item1.type\" : \"MarketPlace\",\n \"split.item1.account\" : \"151272963\",\n \"split.item1.reference\" : \"6124145\",\n \"split.item1.description\" : \"Porcelain Doll: Eliza (20cm)\",\n \"split.item2.amount\" : \"200\",\n \"split.item2.type\" : \"Commission\",\n \"split.item2.reference\" : \"6124146\"\n },\n \"reference\" : \"Your order number\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"channel\" : \"Android\",\n \"token\" : \"TOKEN_YOU_GET_FROM_CHECKOUT_SDK\",\n \"returnUrl\" : \"app://\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl_NL\",\n \"sessionValidity\" : \"2017-04-06T13:09:13Z\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentSession", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentSession" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Provides the data object that can be used to start the Checkout SDK. To set up the payment, pass its amount, currency, and other required parameters. We use this to optimise the payment flow and perform better risk assessment of the transaction. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." +} + ,"response": [ + ] }, { "name": "Set up a payment session (Web)", "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 + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 17408\n },\n \"reference\" : \"Your order number\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"channel\" : \"Web\",\n \"origin\" : \"https://www.yourwebsite.com\",\n \"returnUrl\" : \"https://www.yourshop.com/checkout/result\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl_NL\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"sdkVersion\" : \"1.9.5\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentSession", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentSession" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Provides the data object that can be used to start the Checkout SDK. To set up the payment, pass its amount, currency, and other required parameters. We use this to optimise the payment flow and perform better risk assessment of the transaction. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"paymentSession\" : \"eyJjaGVja291dHNob3BwZXJCYXN...\"\n}", + "originalRequest": { + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 17408\n },\n \"reference\" : \"Your order number\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"channel\" : \"Web\",\n \"origin\" : \"https://www.yourwebsite.com\",\n \"returnUrl\" : \"https://www.yourshop.com/checkout/result\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl_NL\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"sdkVersion\" : \"1.9.5\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentSession", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentSession" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Provides the data object that can be used to start the Checkout SDK. To set up the payment, pass its amount, currency, and other required parameters. We use this to optimise the payment flow and perform better risk assessment of the transaction. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 17408\n },\n \"reference\" : \"Your order number\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"channel\" : \"Web\",\n \"origin\" : \"https://www.yourwebsite.com\",\n \"returnUrl\" : \"https://www.yourshop.com/checkout/result\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl_NL\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"sdkVersion\" : \"1.9.5\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentSession", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentSession" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Provides the data object that can be used to start the Checkout SDK. To set up the payment, pass its amount, currency, and other required parameters. We use this to optimise the payment flow and perform better risk assessment of the transaction. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." - } + ] } ] - } -, + }, { "name": "/payments/result (DEPRECATED)", "description": "Verifies the payment result using the payload returned from the Checkout SDK. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks).", @@ -647,56 +1153,115 @@ { "name": "Verify payment results", "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 + "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 \"payload\" : \"VALUE_YOU_GET_FROM_CHECKOUT_SDK\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments/result", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments", + "result" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Verifies the payment result using the payload returned from the Checkout SDK. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"pspReference\" : \"V4HZ4RBFJGXXGN82\",\n \"merchantReference\" : \"Your order number\",\n \"shopperLocale\" : \"nl_NL\",\n \"paymentMethod\" : \"ideal\"\n}", + "originalRequest": { + "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 \"payload\" : \"VALUE_YOU_GET_FROM_CHECKOUT_SDK\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments/result", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments", + "result" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Verifies the payment result using the payload returned from the Checkout SDK. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"payload\" : \"VALUE_YOU_GET_FROM_CHECKOUT_SDK\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments/result", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments", - "result" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Verifies the payment result using the payload returned from the Checkout SDK. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." - } + ] } ] } - ] }, { @@ -709,55 +1274,113 @@ { "name": "Create an order", "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 + "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 \"reference\" : \"YOUR_ORDER_REFERENCE\",\n \"amount\" : {\n \"value\" : 2500,\n \"currency\" : \"EUR\"\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/orders", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "orders" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates an order to be used for partial payments. Make a POST `/orders` call before making a `/payments` call when processing payments with different payment methods." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"pspReference\" : \"8616178914061985\",\n \"resultCode\" : \"Success\",\n \"expiresAt\" : \"2021-04-09T14:16:46Z\",\n \"orderData\" : \"Ab02b4c0!BQABAgCxXvknCldOcRElkxY8Za7iyym4Wv8aDzyNwmj/3nh4G6YtwnUIJHaK62NlN4oIsACdkn1FEjBwKlheG40jvXcYGBk4KFV5WvOhTVCpv/KXnkrI7xQv/u2lE7U4wA+HPB6K4Zj2L8xO/ogZi+zGZqFs5m16jmkH7ku6FzXygXLNuUCuOlmlXSZhdkHHTNVQSq1MELDK9OL74y532ETRPTCNxx8WlEiZB+LDqYrPvH9GgigtD5kw8Do45jfFfG72kWBEgfYqp4mbUmBB9ebXFYZKfF0qvW1x7A2Y9+/MFlTIdXfKW484bJeDBCTTrmKGXIj+U4r5imr5fXTyNLcrxyUqwrb9jg+5B4qg1XB6Cgj5UPlSI4O62I7v0s5TTj69dzLwUQRxSQbwLrZVGYavXzeVKI54BVLRV3d/+BbPvTqnTo34UhfZbPlOx9F2eyaS0ZXdOKnHw89uGUgxUpLsMqnbRysi/pxpZaulel+0mExb68wVxb/7Teob5eRG4gp7cfZVZs6tLXOYWL+W0TqIlsa3hWsfM0LeaovzkoDtW/pK5JABXwMtLig9tsxoEh9ONYtIzkXC21LZ8ebiuSIMaPizjF8yca+QxrCZalQsu6uKnBz/mm8nnsflaGU2QS5zcoxk1RudL1Bl36LM9UZGPpFEYWiYA4sUsnNLw7peJjWCGhDepnwMv4TlgsEtoDtz1T54AEp7ImtleSI6IkFGMEFBQTEwM0NBNTM3RUFFRDg3QzI0REQ1MzkwOUI4MEE3OEE5MjNFMzgyM0Q2OERBQ0M5NEI5RkY4MzA1REMifRslOdmfgUHTXl66WPD9xoW2whIeRx/jR++2MqNE16x6zQy+KtDN8/h60crZwmqkjVTQYqQlsYSYDHSIyb4wnnay16/5il1yS7vN3UCLaTXjYBIAyyx6Wr9j4P3CI/etB+PpviHoESC4mV6ZN4whMDQyziQ8s230GtboXbh42qND7rk9phySBogowQlXrtF+l2n2F46nyif0owEgik5fGARfvjZtY2w23s30KMLNwU4gWSvX4H6RMVS8TfZH2fKfNrwB3tZUXwYkELs5ntaHysswq5Mn5aq2BKAMHu/Rh/wureMSI73Qi0avjrzWCwzt3JH4wnzErMnOZwSdgA==\",\n \"reference\" : \"shopper-reference-ekvL83\",\n \"remainingAmount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 2500\n }\n}", + "originalRequest": { + "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 \"reference\" : \"YOUR_ORDER_REFERENCE\",\n \"amount\" : {\n \"value\" : 2500,\n \"currency\" : \"EUR\"\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/orders", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "orders" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates an order to be used for partial payments. Make a POST `/orders` call before making a `/payments` call when processing payments with different payment methods." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"reference\" : \"YOUR_ORDER_REFERENCE\",\n \"amount\" : {\n \"value\" : 2500,\n \"currency\" : \"EUR\"\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/orders", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "orders" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Creates an order to be used for partial payments. Make a POST `/orders` call before making a `/payments` call when processing payments with different payment methods." - } + ] } ] - } -, + }, { "name": "/orders/cancel", "description": "Cancels an order. Cancellation of an order results in an automatic rollback of all payments made in the order, either by canceling or refunding the payment, depending on the type of payment method.", @@ -765,56 +1388,115 @@ { "name": "Cancel an order", "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 + "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 \"order\" : {\n \"pspReference\" : \"8815517812932012\",\n \"orderData\" : \"823fh892f8f18f4...148f13f9f3f\"\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/orders/cancel", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "orders", + "cancel" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Cancels an order. Cancellation of an order results in an automatic rollback of all payments made in the order, either by canceling or refunding the payment, depending on the type of payment method." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"pspReference\" : \"8816178914079738\",\n \"resultCode\" : \"Received\"\n}", + "originalRequest": { + "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 \"order\" : {\n \"pspReference\" : \"8815517812932012\",\n \"orderData\" : \"823fh892f8f18f4...148f13f9f3f\"\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/orders/cancel", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "orders", + "cancel" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Cancels an order. Cancellation of an order results in an automatic rollback of all payments made in the order, either by canceling or refunding the payment, depending on the type of payment method." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"order\" : {\n \"pspReference\" : \"8815517812932012\",\n \"orderData\" : \"823fh892f8f18f4...148f13f9f3f\"\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/orders/cancel", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "orders", - "cancel" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Cancels an order. Cancellation of an order results in an automatic rollback of all payments made in the order, either by canceling or refunding the payment, depending on the type of payment method." - } + ] } ] - } -, + }, { "name": "/paymentMethods/balance", "description": "Retrieves the balance remaining on a shopper's gift card. To check a gift card's balance, make a POST `/paymentMethods/balance` call and include the gift card's details inside a `paymentMethod` object.", @@ -822,106 +1504,225 @@ { "name": "Get gift card balance specifying amount of 10 EUR", "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 + "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 \"paymentMethod\" : {\n \"type\" : \"givex\",\n \"number\" : \"4126491073027401\",\n \"cvc\" : \"737\"\n },\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentMethods/balance", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentMethods", + "balance" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Retrieves the balance remaining on a shopper's gift card. To check a gift card's balance, make a POST `/paymentMethods/balance` call and include the gift card's details inside a `paymentMethod` object." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"pspReference\" : \"KHQC5N7G84BLNK43\",\n \"resultCode\" : \"Success\",\n \"balance\" : {\n \"currency\" : \"EUR\",\n \"value\" : 5000\n }\n}", + "originalRequest": { + "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 \"paymentMethod\" : {\n \"type\" : \"givex\",\n \"number\" : \"4126491073027401\",\n \"cvc\" : \"737\"\n },\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentMethods/balance", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentMethods", + "balance" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Retrieves the balance remaining on a shopper's gift card. To check a gift card's balance, make a POST `/paymentMethods/balance` call and include the gift card's details inside a `paymentMethod` object." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"paymentMethod\" : {\n \"type\" : \"givex\",\n \"number\" : \"4126491073027401\",\n \"cvc\" : \"737\"\n },\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentMethods/balance", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentMethods", - "balance" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Retrieves the balance remaining on a shopper's gift card. To check a gift card's balance, make a POST `/paymentMethods/balance` call and include the gift card's details inside a `paymentMethod` object." - } + ] }, { "name": "Get gift card balance specifying amount of 100 EUR", "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 + "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 \"paymentMethod\" : {\n \"type\" : \"givex\",\n \"number\" : \"4126491073027401\",\n \"cvc\" : \"737\"\n },\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 10000\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentMethods/balance", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentMethods", + "balance" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Retrieves the balance remaining on a shopper's gift card. To check a gift card's balance, make a POST `/paymentMethods/balance` call and include the gift card's details inside a `paymentMethod` object." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"pspReference\" : \"FKSPNCQ8HXSKGK82\",\n \"resultCode\" : \"NotEnoughBalance\",\n \"balance\" : {\n \"currency\" : \"EUR\",\n \"value\" : 5000\n }\n}", + "originalRequest": { + "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 \"paymentMethod\" : {\n \"type\" : \"givex\",\n \"number\" : \"4126491073027401\",\n \"cvc\" : \"737\"\n },\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 10000\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentMethods/balance", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentMethods", + "balance" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Retrieves the balance remaining on a shopper's gift card. To check a gift card's balance, make a POST `/paymentMethods/balance` call and include the gift card's details inside a `paymentMethod` object." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"paymentMethod\" : {\n \"type\" : \"givex\",\n \"number\" : \"4126491073027401\",\n \"cvc\" : \"737\"\n },\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 10000\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentMethods/balance", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentMethods", - "balance" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Retrieves the balance remaining on a shopper's gift card. To check a gift card's balance, make a POST `/paymentMethods/balance` call and include the gift card's details inside a `paymentMethod` object." - } + ] } ] } - ] }, { @@ -934,56 +1735,115 @@ { "name": "Get payment session for Apple Pay", "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 + "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 \"displayName\" : \"YOUR_MERCHANT_NAME\",\n \"domainName\" : \"YOUR_DOMAIN_NAME\",\n \"merchantIdentifier\" : \"YOUR_MERCHANT_ID\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/applePay/sessions", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "applePay", + "sessions" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "You need to use this endpoint if you have an API-only integration with Apple Pay which uses Adyen's Apple Pay certificate. The endpoint returns the Apple Pay session data which you need to complete the [Apple Pay session validation](https://docs.adyen.com/payment-methods/apple-pay/api-only?tab=adyen-certificate-validation_1#complete-apple-pay-session-validation)." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"data\" : \"eyJ2Z...\"\n}", + "originalRequest": { + "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 \"displayName\" : \"YOUR_MERCHANT_NAME\",\n \"domainName\" : \"YOUR_DOMAIN_NAME\",\n \"merchantIdentifier\" : \"YOUR_MERCHANT_ID\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/applePay/sessions", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "applePay", + "sessions" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "You need to use this endpoint if you have an API-only integration with Apple Pay which uses Adyen's Apple Pay certificate. The endpoint returns the Apple Pay session data which you need to complete the [Apple Pay session validation](https://docs.adyen.com/payment-methods/apple-pay/api-only?tab=adyen-certificate-validation_1#complete-apple-pay-session-validation)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"displayName\" : \"YOUR_MERCHANT_NAME\",\n \"domainName\" : \"YOUR_DOMAIN_NAME\",\n \"merchantIdentifier\" : \"YOUR_MERCHANT_ID\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/applePay/sessions", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "applePay", - "sessions" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "You need to use this endpoint if you have an API-only integration with Apple Pay which uses Adyen's Apple Pay certificate. The endpoint returns the Apple Pay session data which you need to complete the [Apple Pay session validation](https://docs.adyen.com/payment-methods/apple-pay/api-only?tab=adyen-certificate-validation_1#complete-apple-pay-session-validation)." - } + ] } ] - } -, + }, { "name": "/originKeys", "description": "This operation takes the origin domains and returns a JSON object containing the corresponding origin keys for the domains. > If you're still using origin key for your Web Drop-in or Components integration, we recommend [switching to client key](https://docs.adyen.com/development-resources/client-side-authentication/migrate-from-origin-key-to-client-key). This allows you to use a single key for all origins, add or remove origins without generating a new key, and detect the card type from the number entered in your payment form. ", @@ -991,55 +1851,113 @@ { "name": "Get origin keys", "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 + "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 \"originDomains\" : [ \"https://www.your-domain1.com\", \"https://www.your-domain2.com\", \"https://www.your-domain3.com\" ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/originKeys", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "originKeys" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "This operation takes the origin domains and returns a JSON object containing the corresponding origin keys for the domains. > If you're still using origin key for your Web Drop-in or Components integration, we recommend [switching to client key](https://docs.adyen.com/development-resources/client-side-authentication/migrate-from-origin-key-to-client-key). This allows you to use a single key for all origins, add or remove origins without generating a new key, and detect the card type from the number entered in your payment form. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"originKeys\" : {\n \"https://www.your-domain1.com\" : \"pub.v2.8116178901076090.aHR0cHM6Ly93d3cueW91ci1kb21haW4xLmNvbQ.pvbYlrXz0ICP4kwMJXDGDLVMqALhwXr1MSRjT-fkhvw\",\n \"https://www.your-domain3.com\" : \"pub.v2.8116178901076090.aHR0cHM6Ly93d3cueW91ci1kb21haW4zLmNvbQ.FrTpVz7_RzAywKasM0kXCRoMfoMkKIKaxjFymRGORIc\",\n \"https://www.your-domain2.com\" : \"pub.v2.8116178901076090.aHR0cHM6Ly93d3cueW91ci1kb21haW4yLmNvbQ.LdN9kvJ35fYFFiBSJA4idMnwwxJ5_yXpeNS__Ap5wkg\"\n }\n}", + "originalRequest": { + "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 \"originDomains\" : [ \"https://www.your-domain1.com\", \"https://www.your-domain2.com\", \"https://www.your-domain3.com\" ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/originKeys", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "originKeys" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "This operation takes the origin domains and returns a JSON object containing the corresponding origin keys for the domains. > If you're still using origin key for your Web Drop-in or Components integration, we recommend [switching to client key](https://docs.adyen.com/development-resources/client-side-authentication/migrate-from-origin-key-to-client-key). This allows you to use a single key for all origins, add or remove origins without generating a new key, and detect the card type from the number entered in your payment form. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"originDomains\" : [ \"https://www.your-domain1.com\", \"https://www.your-domain2.com\", \"https://www.your-domain3.com\" ]\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/originKeys", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "originKeys" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "This operation takes the origin domains and returns a JSON object containing the corresponding origin keys for the domains. > If you're still using origin key for your Web Drop-in or Components integration, we recommend [switching to client key](https://docs.adyen.com/development-resources/client-side-authentication/migrate-from-origin-key-to-client-key). This allows you to use a single key for all origins, add or remove origins without generating a new key, and detect the card type from the number entered in your payment form. " - } + ] } ] } - ] }, { @@ -1052,104 +1970,164 @@ { "name": "Start a donation transaction", "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 + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"reference\" : \"YOUR_DONATION_REFERENCE\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\"\n },\n \"donationToken\" : \"YOUR_DONATION_TOKEN\",\n \"donationOriginalPspReference\" : \"991559660454807J\",\n \"donationAccount\" : \"CHARITY_ACCOUNT\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"shopperInteraction\" : \"ContAuth\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/donations", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "donations" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Takes in the donation token generated by the `/payments` request and uses it to make the donation for the donation account specified in the request. For more information, see [Donations](https://docs.adyen.com/online-payments/donations)." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"id\" : \"UNIQUE_RESOURCE_ID\",\n \"status\" : \"completed\",\n \"donationAccount\" : \"CHARITY_ACCOUNT\",\n \"merchantAccount\" : \"YOUR_MERCHANT_ACCOUNT\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"reference\" : \"YOUR_DONATION_REFERENCE\",\n \"payment\" : {\n \"pspReference\" : \"8535762347980628\",\n \"resultCode\" : \"Authorised\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"merchantReference\" : \"YOUR_DONATION_REFERENCE\"\n }\n}", + "originalRequest": { + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"reference\" : \"YOUR_DONATION_REFERENCE\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\"\n },\n \"donationToken\" : \"YOUR_DONATION_TOKEN\",\n \"donationOriginalPspReference\" : \"991559660454807J\",\n \"donationAccount\" : \"CHARITY_ACCOUNT\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"shopperInteraction\" : \"ContAuth\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/donations", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "donations" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Takes in the donation token generated by the `/payments` request and uses it to make the donation for the donation account specified in the request. For more information, see [Donations](https://docs.adyen.com/online-payments/donations)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"reference\" : \"YOUR_DONATION_REFERENCE\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\"\n },\n \"donationToken\" : \"YOUR_DONATION_TOKEN\",\n \"donationOriginalPspReference\" : \"991559660454807J\",\n \"donationAccount\" : \"CHARITY_ACCOUNT\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"shopperInteraction\" : \"ContAuth\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/donations", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "donations" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Takes in the donation token generated by the `/payments` request and uses it to make the donation for the donation account specified in the request. For more information, see [Donations](https://docs.adyen.com/online-payments/donations)." - } + ] }, { "name": "Start a donation transaction with a token", "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"reference\" : \"YOUR_DONATION_REFERENCE\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"recurringDetailReference\" : \"7219687191761347\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"donationAccount\" : \"CHARITY_ACCOUNT\",\n \"shopperInteraction\" : \"ContAuth\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"recurringProcessingModel\" : \"CardOnFile\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/donations", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "donations" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Takes in the donation token generated by the `/payments` request and uses it to make the donation for the donation account specified in the request. For more information, see [Donations](https://docs.adyen.com/online-payments/donations)." - } + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"reference\" : \"YOUR_DONATION_REFERENCE\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"recurringDetailReference\" : \"7219687191761347\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"donationAccount\" : \"CHARITY_ACCOUNT\",\n \"shopperInteraction\" : \"ContAuth\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"recurringProcessingModel\" : \"CardOnFile\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/donations", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "donations" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Takes in the donation token generated by the `/payments` request and uses it to make the donation for the donation account specified in the request. For more information, see [Donations](https://docs.adyen.com/online-payments/donations)." +} + ,"response": [ + ] } ] } - ] }, { @@ -1162,104 +2140,221 @@ { "name": "Get a list of brands on a card", "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 + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"cardNumber\" : \"411111\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/cardDetails", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "cardDetails" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Send a request with at least the first 6 digits of the card number to get a response with an array of brands on the card. If you include [your supported brands](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__reqParam_supportedBrands) in the request, the response also tells you if you support each [brand that was identified](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__resParam_details). If you have an API-only integration and collect card data, use this endpoint to find out if the shopper's card is co-branded. For co-branded cards, you must let the shopper choose the brand to pay with if you support both brands. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"brands\" : [ {\n \"type\" : \"visa\",\n \"supported\" : true\n }, {\n \"type\" : \"cartebancaire\",\n \"supported\" : true\n } ]\n}", + "originalRequest": { + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"cardNumber\" : \"411111\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/cardDetails", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "cardDetails" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Send a request with at least the first 6 digits of the card number to get a response with an array of brands on the card. If you include [your supported brands](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__reqParam_supportedBrands) in the request, the response also tells you if you support each [brand that was identified](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__resParam_details). If you have an API-only integration and collect card data, use this endpoint to find out if the shopper's card is co-branded. For co-branded cards, you must let the shopper choose the brand to pay with if you support both brands. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"cardNumber\" : \"411111\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/cardDetails", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "cardDetails" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Send a request with at least the first 6 digits of the card number to get a response with an array of brands on the card. If you include [your supported brands](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__reqParam_supportedBrands) in the request, the response also tells you if you support each [brand that was identified](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__resParam_details). If you have an API-only integration and collect card data, use this endpoint to find out if the shopper's card is co-branded. For co-branded cards, you must let the shopper choose the brand to pay with if you support both brands. " - } + ] }, { "name": "Get a list of brands on a card specifying your supported card brands", "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 + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"cardNumber\" : \"411111\",\n \"supportedBrands\" : [ \"visa\", \"mc\", \"amex\" ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/cardDetails", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "cardDetails" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Send a request with at least the first 6 digits of the card number to get a response with an array of brands on the card. If you include [your supported brands](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__reqParam_supportedBrands) in the request, the response also tells you if you support each [brand that was identified](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__resParam_details). If you have an API-only integration and collect card data, use this endpoint to find out if the shopper's card is co-branded. For co-branded cards, you must let the shopper choose the brand to pay with if you support both brands. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"brands\" : [ {\n \"type\" : \"visa\",\n \"supported\" : true\n }, {\n \"type\" : \"cartebancaire\",\n \"supported\" : false\n } ]\n}", + "originalRequest": { + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"cardNumber\" : \"411111\",\n \"supportedBrands\" : [ \"visa\", \"mc\", \"amex\" ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/cardDetails", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "cardDetails" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Send a request with at least the first 6 digits of the card number to get a response with an array of brands on the card. If you include [your supported brands](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__reqParam_supportedBrands) in the request, the response also tells you if you support each [brand that was identified](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__resParam_details). If you have an API-only integration and collect card data, use this endpoint to find out if the shopper's card is co-branded. For co-branded cards, you must let the shopper choose the brand to pay with if you support both brands. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"cardNumber\" : \"411111\",\n \"supportedBrands\" : [ \"visa\", \"mc\", \"amex\" ]\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/cardDetails", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "cardDetails" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Send a request with at least the first 6 digits of the card number to get a response with an array of brands on the card. If you include [your supported brands](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__reqParam_supportedBrands) in the request, the response also tells you if you support each [brand that was identified](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__resParam_details). If you have an API-only integration and collect card data, use this endpoint to find out if the shopper's card is co-branded. For co-branded cards, you must let the shopper choose the brand to pay with if you support both brands. " - } + ] } ] - } -, + }, { "name": "/paymentMethods", "description": "Queries the available payment methods for a transaction based on the transaction context (like amount, country, and currency). Besides giving back a list of the available payment methods, the response also returns which input details you need to collect from the shopper (to be submitted to `/payments`). Although we highly recommend using this endpoint to ensure you are always offering the most up-to-date list of payment methods, its usage is optional. You can, for example, also cache the `/paymentMethods` response and update it once a week.", @@ -1267,153 +2362,329 @@ { "name": "Get available payment methods", "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 + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentMethods", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentMethods" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Queries the available payment methods for a transaction based on the transaction context (like amount, country, and currency). Besides giving back a list of the available payment methods, the response also returns which input details you need to collect from the shopper (to be submitted to `/payments`). Although we highly recommend using this endpoint to ensure you are always offering the most up-to-date list of payment methods, its usage is optional. You can, for example, also cache the `/paymentMethods` response and update it once a week." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"paymentMethods\" : [ {\n \"details\" : [ {\n \"details\" : [ {\n \"key\" : \"ownerName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"bankLocationId\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"bankAccountNumber\",\n \"type\" : \"text\"\n } ],\n \"key\" : \"bankAccount\",\n \"type\" : \"bankAccount\"\n } ],\n \"name\" : \"ACH Direct Debit\",\n \"type\" : \"ach\"\n }, {\n \"name\" : \"Adyen Voucher\",\n \"type\" : \"adyen_test_voucher\"\n }, {\n \"details\" : [ {\n \"details\" : [ {\n \"key\" : \"firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"lastName\",\n \"type\" : \"text\"\n }, {\n \"items\" : [ {\n \"id\" : \"M\",\n \"name\" : \"male\"\n }, {\n \"id\" : \"F\",\n \"name\" : \"female\"\n } ],\n \"key\" : \"gender\",\n \"type\" : \"radio\"\n }, {\n \"key\" : \"dateOfBirth\",\n \"type\" : \"date\"\n }, {\n \"key\" : \"telephoneNumber\",\n \"type\" : \"tel\"\n }, {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n } ],\n \"key\" : \"personalDetails\",\n \"type\" : \"fieldSet\"\n }, {\n \"details\" : [ {\n \"key\" : \"street\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"houseNumberOrName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"city\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"postalCode\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"stateOrProvince\",\n \"optional\" : true,\n \"type\" : \"text\"\n }, {\n \"items\" : [ {\n \"id\" : \"NL\",\n \"name\" : \"Netherlands\"\n }, {\n \"id\" : \"BE\",\n \"name\" : \"Belgium\"\n } ],\n \"key\" : \"country\",\n \"type\" : \"select\"\n } ],\n \"key\" : \"billingAddress\",\n \"type\" : \"address\"\n }, {\n \"key\" : \"separateDeliveryAddress\",\n \"optional\" : true,\n \"type\" : \"boolean\",\n \"value\" : \"false\"\n }, {\n \"details\" : [ {\n \"key\" : \"street\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"houseNumberOrName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"city\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"postalCode\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"stateOrProvince\",\n \"optional\" : true,\n \"type\" : \"text\"\n }, {\n \"items\" : [ {\n \"id\" : \"NL\",\n \"name\" : \"Netherlands\"\n }, {\n \"id\" : \"BE\",\n \"name\" : \"Belgium\"\n } ],\n \"key\" : \"country\",\n \"type\" : \"select\"\n } ],\n \"key\" : \"deliveryAddress\",\n \"optional\" : true,\n \"type\" : \"address\"\n } ],\n \"name\" : \"AfterPay Invoice\",\n \"type\" : \"afterpay_default\"\n }, {\n \"name\" : \"AfterPay DirectDebit\",\n \"type\" : \"afterpay_directdebit\"\n }, {\n \"name\" : \"Afterpay\",\n \"type\" : \"afterpaytouch\"\n }, {\n \"details\" : [ {\n \"key\" : \"encryptedCardNumber\",\n \"type\" : \"cardToken\"\n }, {\n \"key\" : \"encryptedSecurityCode\",\n \"type\" : \"cardToken\"\n }, {\n \"key\" : \"encryptedExpiryMonth\",\n \"type\" : \"cardToken\"\n }, {\n \"key\" : \"encryptedExpiryYear\",\n \"type\" : \"cardToken\"\n }, {\n \"key\" : \"holderName\",\n \"optional\" : true,\n \"type\" : \"text\"\n } ],\n \"name\" : \"Credit Card\",\n \"type\" : \"scheme\"\n }, {\n \"name\" : \"AliPay\",\n \"type\" : \"alipay\"\n }, {\n \"name\" : \"AliPay HK\",\n \"type\" : \"alipay_hk\"\n }, {\n \"name\" : \"AliPay\",\n \"type\" : \"alipay_wap\"\n }, {\n \"details\" : [ {\n \"key\" : \"additionalData.androidpay.token\",\n \"type\" : \"androidPayToken\"\n } ],\n \"name\" : \"Android Pay\",\n \"type\" : \"androidpay\"\n }, {\n \"details\" : [ {\n \"key\" : \"additionalData.applepay.token\",\n \"type\" : \"applePayToken\"\n } ],\n \"name\" : \"Apple Pay\",\n \"type\" : \"applepay\"\n }, {\n \"name\" : \"Credit Card via AsiaPay\",\n \"type\" : \"asiapay\"\n }, {\n \"name\" : \"China UnionPay\",\n \"type\" : \"asiapay_unionpay\"\n }, {\n \"name\" : \"Baby Gift Card\",\n \"type\" : \"babygiftcard\"\n }, {\n \"name\" : \"Baloto\",\n \"type\" : \"baloto\"\n }, {\n \"name\" : \"BancNet\",\n \"type\" : \"bancnet\"\n }, {\n \"name\" : \"Bank Transfer (BG)\",\n \"type\" : \"bankTransfer_BG\"\n }, {\n \"name\" : \"Bank Transfer (CH)\",\n \"type\" : \"bankTransfer_CH\"\n }, {\n \"name\" : \"Bank Transfer (DE)\",\n \"type\" : \"bankTransfer_DE\"\n }, {\n \"name\" : \"Bank Transfer (FI)\",\n \"type\" : \"bankTransfer_FI\"\n }, {\n \"name\" : \"Bank Transfer (GB)\",\n \"type\" : \"bankTransfer_GB\"\n }, {\n \"name\" : \"Bank Transfer (HU)\",\n \"type\" : \"bankTransfer_HU\"\n }, {\n \"name\" : \"SEPA Bank Transfer\",\n \"type\" : \"bankTransfer_IBAN\"\n }, {\n \"name\" : \"Bank Transfer (IE)\",\n \"type\" : \"bankTransfer_IE\"\n }, {\n \"name\" : \"Electronic Bank Transfer (MX)\",\n \"type\" : \"bankTransfer_MX_linked\"\n }, {\n \"name\" : \"Bank Transfer (MX)\",\n \"type\" : \"bankTransfer_MX_offline\"\n }, {\n \"name\" : \"Bank Transfer (NL)\",\n \"type\" : \"bankTransfer_NL\"\n }, {\n \"name\" : \"Bank Transfer (PL)\",\n \"type\" : \"bankTransfer_PL\"\n }, {\n \"name\" : \"Bank Transfer (SE)\",\n \"type\" : \"bankTransfer_SE\"\n }, {\n \"name\" : \"Bank Transfer (US)\",\n \"type\" : \"bankTransfer_US\"\n }, {\n \"name\" : \"Payconiq by Bancontact\",\n \"type\" : \"bcmc_mobile\"\n }, {\n \"name\" : \"Bijenkorf Cadeaucard\",\n \"type\" : \"bijcadeaucard\"\n }, {\n \"name\" : \"99Bill\",\n \"type\" : \"bill99\"\n }, {\n \"details\" : [ {\n \"items\" : [ {\n \"id\" : \"AUB_DIRECT\",\n \"name\" : \"AU Small Finance Bank\"\n }, {\n \"id\" : \"ALB_DIRECT\",\n \"name\" : \"Allahabad Bank \"\n }, {\n \"id\" : \"APG_DIRECT\",\n \"name\" : \"Andhra Pragathi Grameena Bank\"\n }, {\n \"id\" : \"BDN_DIRECT\",\n \"name\" : \"Bandhan bank\"\n }, {\n \"id\" : \"BBK_DIRECT\",\n \"name\" : \"Bank of Bahrain and Kuwait\"\n }, {\n \"id\" : \"BBR_DIRECT\",\n \"name\" : \"Bank of Baroda - Retail Banking\"\n }, {\n \"id\" : \"BCB_DIRECT\",\n \"name\" : \"Bassien Catholic Co-Operative Bank \"\n }, {\n \"id\" : \"CNB_DIRECT\",\n \"name\" : \"Canara Bank\"\n }, {\n \"id\" : \"SYD_DIRECT\",\n \"name\" : \"Canara Bank (e-Syndicate)\"\n }, {\n \"id\" : \"CSB_DIRECT\",\n \"name\" : \"Catholic Syrian Bank\"\n }, {\n \"id\" : \"CBI_DIRECT\",\n \"name\" : \"Central Bank of India\"\n }, {\n \"id\" : \"CUB_DIRECT\",\n \"name\" : \"City Union Bank\"\n }, {\n \"id\" : \"COB_DIRECT\",\n \"name\" : \"Cosmos Bank\"\n }, {\n \"id\" : \"DEN_DIRECT\",\n \"name\" : \"Dena Bank\"\n }, {\n \"id\" : \"DBK_DIRECT\",\n \"name\" : \"Deutsche Bank\"\n }, {\n \"id\" : \"DCB_DIRECT\",\n \"name\" : \"Development Credit Bank\"\n }, {\n \"id\" : \"DLB_DIRECT\",\n \"name\" : \"Dhanlakshmi Bank - Retail Net Banking\"\n }, {\n \"id\" : \"ESF_DIRECT\",\n \"name\" : \"ESAF Small Finance Bank\"\n }, {\n \"id\" : \"EQB_DIRECT\",\n \"name\" : \"Equitas Small Finance Bank\"\n }, {\n \"id\" : \"FBK_DIRECT\",\n \"name\" : \"Federal Bank\"\n }, {\n \"id\" : \"FNC_DIRECT\",\n \"name\" : \"Fincare Bank\"\n }, {\n \"id\" : \"HDF_DIRECT\",\n \"name\" : \"HDFC Bank\"\n }, {\n \"id\" : \"ICI_DIRECT\",\n \"name\" : \"ICICI Bank \"\n }, {\n \"id\" : \"IDB_DIRECT\",\n \"name\" : \"IDBI Bank - Retail Net Banking\"\n }, {\n \"id\" : \"IDN_DIRECT\",\n \"name\" : \"IDFC FIRST Bank\"\n }, {\n \"id\" : \"INB_DIRECT\",\n \"name\" : \"Indian Bank\"\n }, {\n \"id\" : \"IOB_DIRECT\",\n \"name\" : \"Indian Overseas Bank\"\n }, {\n \"id\" : \"IDS_DIRECT\",\n \"name\" : \"IndusInd Bank\"\n }, {\n \"id\" : \"JKB_DIRECT\",\n \"name\" : \"Jammu & Kashmir Bank\"\n }, {\n \"id\" : \"JNB_DIRECT\",\n \"name\" : \"Jana Small Finance Bank\"\n }, {\n \"id\" : \"JSB_DIRECT\",\n \"name\" : \"Janata Sahakari Bank Ltd Pune\"\n }, {\n \"id\" : \"KJB_DIRECT\",\n \"name\" : \"Kalyan Janata Sahakari Bank\"\n }, {\n \"id\" : \"KBL_DIRECT\",\n \"name\" : \"Karnataka Bank Ltd\"\n }, {\n \"id\" : \"KVB_DIRECT\",\n \"name\" : \"Karur Vysya Bank\"\n }, {\n \"id\" : \"162_DIRECT\",\n \"name\" : \"Kotak Bank\"\n }, {\n \"id\" : \"LVR_DIRECT\",\n \"name\" : \"Laxmi Vilas Bank - Retail\"\n }, {\n \"id\" : \"NKB_DIRECT\",\n \"name\" : \"NKGSB Co-op Bank\"\n }, {\n \"id\" : \"NEB_DIRECT\",\n \"name\" : \"North East Small Finance Bank\"\n }, {\n \"id\" : \"OBC_DIRECT\",\n \"name\" : \"PNB (Erstwhile-Oriental Bank of Commerce)\"\n }, {\n \"id\" : \"UNI_DIRECT\",\n \"name\" : \"PNB (Erstwhile-United Bank of India)\"\n }, {\n \"id\" : \"PMC_DIRECT\",\n \"name\" : \"Punjab & Maharastra Co-op Bank\"\n }, {\n \"id\" : \"PSB_DIRECT\",\n \"name\" : \"Punjab & Sind Bank\"\n }, {\n \"id\" : \"CPN_DIRECT\",\n \"name\" : \"Punjab National Bank - Corporate \"\n }, {\n \"id\" : \"PNB_DIRECT\",\n \"name\" : \"Punjab National Bank - Retail Banking\"\n }, {\n \"id\" : \"RBL_DIRECT\",\n \"name\" : \"RBL Bank Limited\"\n }, {\n \"id\" : \"SWB_DIRECT\",\n \"name\" : \"Saraswat Bank\"\n }, {\n \"id\" : \"SHB_DIRECT\",\n \"name\" : \"Shivalik Mercantile Cooperative Bank Ltd\"\n }, {\n \"id\" : \"SIB_DIRECT\",\n \"name\" : \"South Indian Bank\"\n }, {\n \"id\" : \"SCB_DIRECT\",\n \"name\" : \"Standard Chartered Bank\"\n }, {\n \"id\" : \"SBI_DIRECT\",\n \"name\" : \"State Bank of India\"\n }, {\n \"id\" : \"SRB_DIRECT\",\n \"name\" : \"Suryoday Small Finance Bank\"\n }, {\n \"id\" : \"TJB_DIRECT\",\n \"name\" : \"TJSB Bank\"\n }, {\n \"id\" : \"TNC_DIRECT\",\n \"name\" : \"Tamil Nadu State Co-operative Bank\"\n }, {\n \"id\" : \"TMB_DIRECT\",\n \"name\" : \"Tamilnad Mercantile Bank Ltd\"\n }, {\n \"id\" : \"TBB_DIRECT\",\n \"name\" : \"Thane Bharat Sahakari Bank Ltd\"\n }, {\n \"id\" : \"MSB_DIRECT\",\n \"name\" : \"The Mehsana Urban Co Op Bank Ltd\"\n }, {\n \"id\" : \"UCO_DIRECT\",\n \"name\" : \"UCO Bank\"\n }, {\n \"id\" : \"UBI_DIRECT\",\n \"name\" : \"Union Bank of India\"\n }, {\n \"id\" : \"ADB_DIRECT\",\n \"name\" : \"Union Bank of India (Erstwhile Andhra Bank)\"\n }, {\n \"id\" : \"CRP_DIRECT\",\n \"name\" : \"Union Bank of India (Erstwhile Corporation Bank)\"\n }, {\n \"id\" : \"VRB_DIRECT\",\n \"name\" : \"Varachha Co-operative Bank Limited\"\n }, {\n \"id\" : \"VJB_DIRECT\",\n \"name\" : \"Vijaya Bank\"\n }, {\n \"id\" : \"YBK_DIRECT\",\n \"name\" : \"Yes Bank\"\n }, {\n \"id\" : \"ZOB_DIRECT\",\n \"name\" : \"Zoroastrian Co-operative Bank Limited\"\n }, {\n \"id\" : \"DBS_DIRECT\",\n \"name\" : \"digibank by DBS\"\n } ],\n \"key\" : \"issuer\",\n \"type\" : \"select\"\n } ],\n \"name\" : \"Online Banking India\",\n \"type\" : \"billdesk_online\"\n }, {\n \"name\" : \"UPI\",\n \"type\" : \"billdesk_upi\"\n }, {\n \"details\" : [ {\n \"items\" : [ {\n \"id\" : \"DCW_DIRECT\",\n \"name\" : \"DCB Cippy\"\n }, {\n \"id\" : \"ICC_DIRECT\",\n \"name\" : \"ICC Cash Card\"\n }, {\n \"id\" : \"OXY_DIRECT\",\n \"name\" : \"Oxigen Wallet\"\n }, {\n \"id\" : \"PCH_DIRECT\",\n \"name\" : \"Pay World Money\"\n } ],\n \"key\" : \"issuer\",\n \"type\" : \"select\"\n } ],\n \"name\" : \"Wallets India\",\n \"type\" : \"billdesk_wallet\"\n }, {\n \"name\" : \"Blik\",\n \"type\" : \"blik\"\n }, {\n \"name\" : \"Bloemen Giftcard\",\n \"type\" : \"bloemengiftcard\"\n }, {\n \"name\" : \"Boekenbon Giftcard\",\n \"type\" : \"boekenbon\"\n }, {\n \"name\" : \"Boleto\",\n \"type\" : \"boleto\"\n }, {\n \"name\" : \"Boleto Bancario\",\n \"type\" : \"boletobancario_santander\"\n }, {\n \"name\" : \"Bradesco\",\n \"type\" : \"bradesco\"\n }, {\n \"name\" : \"Cash-Ticket\",\n \"type\" : \"cashticket\"\n }, {\n \"name\" : \"CashU\",\n \"type\" : \"cashu\"\n }, {\n \"name\" : \"CCAvenue\",\n \"type\" : \"ccavenue\"\n }, {\n \"name\" : \"Mula Checkout\",\n \"type\" : \"cellulant\"\n }, {\n \"name\" : \"Chasin Giftcard\",\n \"type\" : \"chasingiftcard\"\n }, {\n \"name\" : \"Clearpay\",\n \"type\" : \"clearpay\"\n }, {\n \"name\" : \"ClickandBuy\",\n \"type\" : \"clickandbuy\"\n }, {\n \"name\" : \"Paiement en 3 fois par Cartes Bancaires\",\n \"type\" : \"cofinoga_3xcb\"\n }, {\n \"name\" : \"Costes Giftcard\",\n \"type\" : \"costesgiftcard\"\n }, {\n \"name\" : \"custom_settlement\",\n \"type\" : \"custom_settlement\"\n }, {\n \"name\" : \"DANA\",\n \"type\" : \"dana\"\n }, {\n \"name\" : \"DineroMail\",\n \"type\" : \"dineromail\"\n }, {\n \"name\" : \"Online bank transfer.\",\n \"type\" : \"directEbanking\"\n }, {\n \"name\" : \"Direct Debit Brazil - Banco do Brazil\",\n \"type\" : \"directdebit_BR_bancodobrasil\"\n }, {\n \"name\" : \"Direct Debit Brazil - Bradesco\",\n \"type\" : \"directdebit_BR_bradesco\"\n }, {\n \"name\" : \"Direct Debit Brazil - Caixa Economica Federal\",\n \"type\" : \"directdebit_BR_caixa\"\n }, {\n \"name\" : \"Direct Debit Brazil - HSBC\",\n \"type\" : \"directdebit_BR_hsbc\"\n }, {\n \"name\" : \"Direct Debit Brazil - Itau\",\n \"type\" : \"directdebit_BR_itau\"\n }, {\n \"name\" : \"Direct Debit Brazil - Santander\",\n \"type\" : \"directdebit_BR_santander\"\n }, {\n \"name\" : \"BACS Direct Debit\",\n \"type\" : \"directdebit_GB\"\n }, {\n \"details\" : [ {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n }, {\n \"key\" : \"firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"lastName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"infix\",\n \"optional\" : true,\n \"type\" : \"text\"\n } ],\n \"name\" : \"Alfamart\",\n \"type\" : \"doku_alfamart\"\n }, {\n \"details\" : [ {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n }, {\n \"key\" : \"firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"lastName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"infix\",\n \"optional\" : true,\n \"type\" : \"text\"\n } ],\n \"name\" : \"BCA Bank Transfer\",\n \"type\" : \"doku_bca_va\"\n }, {\n \"details\" : [ {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n }, {\n \"key\" : \"firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"lastName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"infix\",\n \"optional\" : true,\n \"type\" : \"text\"\n } ],\n \"name\" : \"BNI VA\",\n \"type\" : \"doku_bni_va\"\n }, {\n \"details\" : [ {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n }, {\n \"key\" : \"firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"lastName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"infix\",\n \"optional\" : true,\n \"type\" : \"text\"\n } ],\n \"name\" : \"BRI VA\",\n \"type\" : \"doku_bri_va\"\n }, {\n \"details\" : [ {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n }, {\n \"key\" : \"firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"lastName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"infix\",\n \"optional\" : true,\n \"type\" : \"text\"\n } ],\n \"name\" : \"CIMB VA\",\n \"type\" : \"doku_cimb_va\"\n }, {\n \"details\" : [ {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n }, {\n \"key\" : \"firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"lastName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"infix\",\n \"optional\" : true,\n \"type\" : \"text\"\n } ],\n \"name\" : \"Danamon VA\",\n \"type\" : \"doku_danamon_va\"\n }, {\n \"details\" : [ {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n }, {\n \"key\" : \"firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"lastName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"infix\",\n \"optional\" : true,\n \"type\" : \"text\"\n } ],\n \"name\" : \"Indomaret\",\n \"type\" : \"doku_indomaret\"\n }, {\n \"details\" : [ {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n }, {\n \"key\" : \"firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"lastName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"infix\",\n \"optional\" : true,\n \"type\" : \"text\"\n } ],\n \"name\" : \"Mandiri VA\",\n \"type\" : \"doku_mandiri_va\"\n }, {\n \"details\" : [ {\n \"key\" : \"ovoId\",\n \"type\" : \"text\"\n } ],\n \"name\" : \"OVO\",\n \"type\" : \"doku_ovo\"\n }, {\n \"details\" : [ {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n }, {\n \"key\" : \"firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"lastName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"infix\",\n \"optional\" : true,\n \"type\" : \"text\"\n } ],\n \"name\" : \"Bank Transfer\",\n \"type\" : \"doku_permata_lite_atm\"\n }, {\n \"details\" : [ {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n }, {\n \"key\" : \"firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"lastName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"infix\",\n \"optional\" : true,\n \"type\" : \"text\"\n } ],\n \"name\" : \"DOKU wallet\",\n \"type\" : \"doku_wallet\"\n }, {\n \"details\" : [ {\n \"items\" : [ {\n \"id\" : \"66\",\n \"name\" : \"Bank Nowy BFG S.A.\"\n }, {\n \"id\" : \"92\",\n \"name\" : \"Bank Spółdzielczy w Brodnicy\"\n }, {\n \"id\" : \"11\",\n \"name\" : \"Bank transfer / postal\"\n }, {\n \"id\" : \"74\",\n \"name\" : \"Banki Spółdzielcze\"\n }, {\n \"id\" : \"73\",\n \"name\" : \"BLIK\"\n }, {\n \"id\" : \"90\",\n \"name\" : \"BNP Paribas - płacę z Pl@net\"\n }, {\n \"id\" : \"59\",\n \"name\" : \"CinkciarzPAY\"\n }, {\n \"id\" : \"87\",\n \"name\" : \"Credit Agricole PBL\"\n }, {\n \"id\" : \"83\",\n \"name\" : \"EnveloBank\"\n }, {\n \"id\" : \"76\",\n \"name\" : \"Getin Bank PBL\"\n }, {\n \"id\" : \"81\",\n \"name\" : \"Idea Cloud\"\n }, {\n \"id\" : \"7\",\n \"name\" : \"ING Corporate customers\"\n }, {\n \"id\" : \"93\",\n \"name\" : \"Kasa Stefczyka\"\n }, {\n \"id\" : \"44\",\n \"name\" : \"Millennium - Płatności Internetowe\"\n }, {\n \"id\" : \"10\",\n \"name\" : \"Millennium Corporate customers\"\n }, {\n \"id\" : \"68\",\n \"name\" : \"mRaty\"\n }, {\n \"id\" : \"1\",\n \"name\" : \"mTransfer\"\n }, {\n \"id\" : \"91\",\n \"name\" : \"Nest Bank\"\n }, {\n \"id\" : \"80\",\n \"name\" : \"Noble Pay\"\n }, {\n \"id\" : \"50\",\n \"name\" : \"Pay Way Toyota Bank\"\n }, {\n \"id\" : \"45\",\n \"name\" : \"Pay with Alior Bank\"\n }, {\n \"id\" : \"36\",\n \"name\" : \"Pekao24Przelew\"\n }, {\n \"id\" : \"70\",\n \"name\" : \"Pocztowy24\"\n }, {\n \"id\" : \"6\",\n \"name\" : \"Przelew24\"\n }, {\n \"id\" : \"46\",\n \"name\" : \"Płacę z Citi Handlowy\"\n }, {\n \"id\" : \"38\",\n \"name\" : \"Płacę z ING\"\n }, {\n \"id\" : \"2\",\n \"name\" : \"Płacę z Inteligo\"\n }, {\n \"id\" : \"4\",\n \"name\" : \"Płacę z iPKO\"\n }, {\n \"id\" : \"75\",\n \"name\" : \"Płacę z Plus Bank\"\n }, {\n \"id\" : \"51\",\n \"name\" : \"Płać z BOŚ\"\n }, {\n \"id\" : \"55\",\n \"name\" : \"Raty z Alior Bankiem PLN\"\n }, {\n \"id\" : \"89\",\n \"name\" : \"Santander\"\n }, {\n \"id\" : \"52\",\n \"name\" : \"SkyCash\"\n } ],\n \"key\" : \"issuer\",\n \"type\" : \"select\"\n } ],\n \"name\" : \"Local Polish Payment Methods\",\n \"type\" : \"dotpay\"\n }, {\n \"name\" : \"Dragonpay Prepaid Credits\",\n \"type\" : \"dragonpay_credits\"\n }, {\n \"name\" : \"Online Banking\",\n \"type\" : \"dragonpay_ebanking\"\n }, {\n \"name\" : \"GCash\",\n \"type\" : \"dragonpay_gcash\"\n }, {\n \"name\" : \"Over The Counter Banks\",\n \"type\" : \"dragonpay_otc_banking\"\n }, {\n \"name\" : \"OTC non-Bank via Dragonpay\",\n \"type\" : \"dragonpay_otc_non_banking\"\n }, {\n \"name\" : \"Convenience Stores\",\n \"type\" : \"dragonpay_otc_philippines\"\n }, {\n \"name\" : \"7/11\",\n \"type\" : \"dragonpay_seveneleven\"\n }, {\n \"name\" : \"eagleeye_voucher\",\n \"type\" : \"eagleeye_voucher\"\n }, {\n \"name\" : \"Finnish E-Banking\",\n \"type\" : \"ebanking_FI\"\n }, {\n \"name\" : \"Pay-easy ATM\",\n \"type\" : \"econtext_atm\"\n }, {\n \"name\" : \"Online Banking\",\n \"type\" : \"econtext_online\"\n }, {\n \"name\" : \"7-Eleven\",\n \"type\" : \"econtext_seven_eleven\"\n }, {\n \"name\" : \"Convenience Stores\",\n \"type\" : \"econtext_stores\"\n }, {\n \"name\" : \"eft_directdebit_CA\",\n \"type\" : \"eft_directdebit_CA\"\n }, {\n \"name\" : \"Lastschrift (ELV)\",\n \"type\" : \"elv\"\n }, {\n \"details\" : [ {\n \"items\" : [ {\n \"id\" : \"231\",\n \"name\" : \"POP Pankki\"\n }, {\n \"id\" : \"551\",\n \"name\" : \"Komerční banka\"\n }, {\n \"id\" : \"232\",\n \"name\" : \"Aktia\"\n }, {\n \"id\" : \"552\",\n \"name\" : \"Raiffeisen\"\n }, {\n \"id\" : \"233\",\n \"name\" : \"Säästöpankki\"\n }, {\n \"id\" : \"750\",\n \"name\" : \"Swedbank\"\n }, {\n \"id\" : \"211\",\n \"name\" : \"Nordea\"\n }, {\n \"id\" : \"553\",\n \"name\" : \"ČSOB\"\n }, {\n \"id\" : \"234\",\n \"name\" : \"S-Pankki\"\n }, {\n \"id\" : \"751\",\n \"name\" : \"SEB\"\n }, {\n \"id\" : \"554\",\n \"name\" : \"Moneta\"\n }, {\n \"id\" : \"235\",\n \"name\" : \"OmaSP\"\n }, {\n \"id\" : \"752\",\n \"name\" : \"Nordea\"\n }, {\n \"id\" : \"213\",\n \"name\" : \"Op-Pohjola\"\n }, {\n \"id\" : \"555\",\n \"name\" : \"UniCredit\"\n }, {\n \"id\" : \"753\",\n \"name\" : \"LHV\"\n }, {\n \"id\" : \"556\",\n \"name\" : \"Fio\"\n }, {\n \"id\" : \"557\",\n \"name\" : \"mBank\"\n }, {\n \"id\" : \"216\",\n \"name\" : \"Handelsbanken\"\n }, {\n \"id\" : \"558\",\n \"name\" : \"Air Bank\"\n }, {\n \"id\" : \"260\",\n \"name\" : \"Länsförsäkringar\"\n }, {\n \"id\" : \"240\",\n \"name\" : \"BankDeposit\"\n }, {\n \"id\" : \"265\",\n \"name\" : \"Sparbanken\"\n }, {\n \"id\" : \"640\",\n \"name\" : \"BankDeposit\"\n }, {\n \"id\" : \"200\",\n \"name\" : \"Ålandsbanken\"\n }, {\n \"id\" : \"940\",\n \"name\" : \"Swedbank\"\n }, {\n \"id\" : \"500\",\n \"name\" : \"Česká spořitelna\"\n }, {\n \"id\" : \"720\",\n \"name\" : \"Swedbank\"\n }, {\n \"id\" : \"941\",\n \"name\" : \"SEB\"\n }, {\n \"id\" : \"204\",\n \"name\" : \"Danske Bank\"\n }, {\n \"id\" : \"721\",\n \"name\" : \"SEB\"\n }, {\n \"id\" : \"942\",\n \"name\" : \"Citadele\"\n }, {\n \"id\" : \"205\",\n \"name\" : \"Handelsbanken\"\n }, {\n \"id\" : \"722\",\n \"name\" : \"DNB\"\n }, {\n \"id\" : \"943\",\n \"name\" : \"DNB\"\n }, {\n \"id\" : \"206\",\n \"name\" : \"Nordea\"\n }, {\n \"id\" : \"723\",\n \"name\" : \"Šiaulių bankas\"\n }, {\n \"id\" : \"207\",\n \"name\" : \"SEB\"\n }, {\n \"id\" : \"724\",\n \"name\" : \"Nordea\"\n }, {\n \"id\" : \"505\",\n \"name\" : \"Komerční banka\"\n }, {\n \"id\" : \"208\",\n \"name\" : \"Skandiabanken\"\n }, {\n \"id\" : \"209\",\n \"name\" : \"Swedbank\"\n } ],\n \"key\" : \"issuer\",\n \"type\" : \"select\"\n } ],\n \"name\" : \"Bank Payment\",\n \"type\" : \"entercash\"\n }, {\n \"name\" : \"Nationale Entertainment Card\",\n \"type\" : \"entertainmentcard\"\n }, {\n \"details\" : [ {\n \"items\" : [ {\n \"id\" : \"d5d5b133-1c0d-4c08-b2be-3c9b116dc326\",\n \"name\" : \"Dolomitenbank\"\n }, {\n \"id\" : \"ee9fc487-ebe0-486c-8101-17dce5141a67\",\n \"name\" : \"Raiffeissen Bankengruppe\"\n }, {\n \"id\" : \"6765e225-a0dc-4481-9666-e26303d4f221\",\n \"name\" : \"Hypo Tirol Bank AG\"\n }, {\n \"id\" : \"8b0bfeea-fbb0-4337-b3a1-0e25c0f060fc\",\n \"name\" : \"Sparda Bank Wien\"\n }, {\n \"id\" : \"1190c4d1-b37a-487e-9355-e0a067f54a9f\",\n \"name\" : \"Schoellerbank AG\"\n }, {\n \"id\" : \"e2e97aaa-de4c-4e18-9431-d99790773433\",\n \"name\" : \"Volksbank Gruppe\"\n }, {\n \"id\" : \"bb7d223a-17d5-48af-a6ef-8a2bf5a4e5d9\",\n \"name\" : \"Immo-Bank\"\n }, {\n \"id\" : \"e6819e7a-f663-414b-92ec-cf7c82d2f4e5\",\n \"name\" : \"Bank Austria\"\n }, {\n \"id\" : \"eff103e6-843d-48b7-a6e6-fbd88f511b11\",\n \"name\" : \"Easybank AG\"\n }, {\n \"id\" : \"25942cc9-617d-42a1-89ba-d1ab5a05770a\",\n \"name\" : \"VR-BankBraunau\"\n }, {\n \"id\" : \"4a0a975b-0594-4b40-9068-39f77b3a91f9\",\n \"name\" : \"Volkskreditbank\"\n }, {\n \"id\" : \"3fdc41fc-3d3d-4ee3-a1fe-cd79cfd58ea3\",\n \"name\" : \"Erste Bank und Sparkassen\"\n }, {\n \"id\" : \"ba7199cc-f057-42f2-9856-2378abf21638\",\n \"name\" : \"BAWAG P.S.K. Gruppe\"\n } ],\n \"key\" : \"issuer\",\n \"type\" : \"select\"\n } ],\n \"name\" : \"EPS\",\n \"type\" : \"eps\"\n }, {\n \"name\" : \"Expert Cadeaukaart\",\n \"type\" : \"expertgiftcard\"\n }, {\n \"details\" : [ {\n \"details\" : [ {\n \"key\" : \"firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"lastName\",\n \"type\" : \"text\"\n }, {\n \"items\" : [ {\n \"id\" : \"M\",\n \"name\" : \"male\"\n }, {\n \"id\" : \"F\",\n \"name\" : \"female\"\n } ],\n \"key\" : \"gender\",\n \"type\" : \"radio\"\n }, {\n \"key\" : \"telephoneNumber\",\n \"type\" : \"tel\"\n }, {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n } ],\n \"key\" : \"personalDetails\",\n \"type\" : \"fieldSet\"\n }, {\n \"details\" : [ {\n \"key\" : \"street\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"houseNumberOrName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"city\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"postalCode\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"stateOrProvince\",\n \"optional\" : true,\n \"type\" : \"text\"\n }, {\n \"items\" : [ {\n \"id\" : \"FR\",\n \"name\" : \"France\"\n }, {\n \"id\" : \"ES\",\n \"name\" : \"Spain\"\n } ],\n \"key\" : \"country\",\n \"type\" : \"select\"\n } ],\n \"key\" : \"billingAddress\",\n \"type\" : \"address\"\n }, {\n \"key\" : \"separateDeliveryAddress\",\n \"optional\" : true,\n \"type\" : \"boolean\",\n \"value\" : \"false\"\n }, {\n \"details\" : [ {\n \"key\" : \"street\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"houseNumberOrName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"city\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"postalCode\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"stateOrProvince\",\n \"optional\" : true,\n \"type\" : \"text\"\n }, {\n \"items\" : [ {\n \"id\" : \"FR\",\n \"name\" : \"France\"\n }, {\n \"id\" : \"ES\",\n \"name\" : \"Spain\"\n } ],\n \"key\" : \"country\",\n \"type\" : \"select\"\n } ],\n \"key\" : \"deliveryAddress\",\n \"optional\" : true,\n \"type\" : \"address\"\n } ],\n \"name\" : \"3x Oney\",\n \"type\" : \"facilypay_3x\"\n }, {\n \"details\" : [ {\n \"details\" : [ {\n \"key\" : \"firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"lastName\",\n \"type\" : \"text\"\n }, {\n \"items\" : [ {\n \"id\" : \"M\",\n \"name\" : \"male\"\n }, {\n \"id\" : \"F\",\n \"name\" : \"female\"\n } ],\n \"key\" : \"gender\",\n \"type\" : \"radio\"\n }, {\n \"key\" : \"telephoneNumber\",\n \"type\" : \"tel\"\n }, {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n } ],\n \"key\" : \"personalDetails\",\n \"type\" : \"fieldSet\"\n }, {\n \"details\" : [ {\n \"key\" : \"street\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"houseNumberOrName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"city\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"postalCode\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"stateOrProvince\",\n \"optional\" : true,\n \"type\" : \"text\"\n }, {\n \"items\" : [ {\n \"id\" : \"FR\",\n \"name\" : \"France\"\n }, {\n \"id\" : \"ES\",\n \"name\" : \"Spain\"\n } ],\n \"key\" : \"country\",\n \"type\" : \"select\"\n } ],\n \"key\" : \"billingAddress\",\n \"type\" : \"address\"\n }, {\n \"key\" : \"separateDeliveryAddress\",\n \"optional\" : true,\n \"type\" : \"boolean\",\n \"value\" : \"false\"\n }, {\n \"details\" : [ {\n \"key\" : \"street\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"houseNumberOrName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"city\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"postalCode\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"stateOrProvince\",\n \"optional\" : true,\n \"type\" : \"text\"\n }, {\n \"items\" : [ {\n \"id\" : \"FR\",\n \"name\" : \"France\"\n }, {\n \"id\" : \"ES\",\n \"name\" : \"Spain\"\n } ],\n \"key\" : \"country\",\n \"type\" : \"select\"\n } ],\n \"key\" : \"deliveryAddress\",\n \"optional\" : true,\n \"type\" : \"address\"\n } ],\n \"name\" : \"4x Oney\",\n \"type\" : \"facilypay_4x\"\n }, {\n \"name\" : \"Fashioncheque\",\n \"type\" : \"fashioncheque\"\n }, {\n \"details\" : [ {\n \"key\" : \"shopper.firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"shopper.lastName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"shopper.gender\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n }, {\n \"key\" : \"telephoneNumber\",\n \"type\" : \"tel\"\n }, {\n \"key\" : \"countryCode\",\n \"type\" : \"text\"\n } ],\n \"name\" : \"Fawry\",\n \"type\" : \"fawry\"\n }, {\n \"name\" : \"FijnCadeau\",\n \"type\" : \"fijncadeau\"\n }, {\n \"name\" : \"Fleurop Bloemenbon\",\n \"type\" : \"fleuropbloemenbon\"\n }, {\n \"name\" : \"Fonq Giftcard\",\n \"type\" : \"fonqgiftcard\"\n }, {\n \"name\" : \"Gall & Gall\",\n \"type\" : \"gallgall\"\n }, {\n \"name\" : \"GCash\",\n \"type\" : \"gcash\"\n }, {\n \"name\" : \"Generic GiftCard\",\n \"type\" : \"genericgiftcard\"\n }, {\n \"name\" : \"GiftFor2\",\n \"type\" : \"giftfor2card\"\n }, {\n \"name\" : \"Givex\",\n \"type\" : \"givex\"\n }, {\n \"name\" : \"Globe GCash\",\n \"type\" : \"globegcash\"\n }, {\n \"name\" : \"Goldsmiths Card\",\n \"type\" : \"goldsmithscard\"\n }, {\n \"name\" : \"GoPay Wallet\",\n \"type\" : \"gopay_wallet\"\n }, {\n \"name\" : \"OVO\",\n \"type\" : \"grabpay_ID\"\n }, {\n \"name\" : \"GrabPay\",\n \"type\" : \"grabpay_PH\"\n }, {\n \"name\" : \"GrabPay\",\n \"type\" : \"grabpay_SG\"\n }, {\n \"name\" : \"Hallmark Card\",\n \"type\" : \"hallmarkcard\"\n }, {\n \"name\" : \"HDFC\",\n \"type\" : \"hdfc\"\n }, {\n \"name\" : \"Hunkemoller Member Card\",\n \"type\" : \"hmclub\"\n }, {\n \"name\" : \"Hunkemoller Lingerie Card\",\n \"type\" : \"hmlingerie\"\n }, {\n \"details\" : [ {\n \"items\" : [ {\n \"id\" : \"1121\",\n \"name\" : \"Test Issuer\"\n }, {\n \"id\" : \"1154\",\n \"name\" : \"Test Issuer 5\"\n }, {\n \"id\" : \"1153\",\n \"name\" : \"Test Issuer 4\"\n }, {\n \"id\" : \"1152\",\n \"name\" : \"Test Issuer 3\"\n }, {\n \"id\" : \"1151\",\n \"name\" : \"Test Issuer 2\"\n }, {\n \"id\" : \"1162\",\n \"name\" : \"Test Issuer Cancelled\"\n }, {\n \"id\" : \"1161\",\n \"name\" : \"Test Issuer Pending\"\n }, {\n \"id\" : \"1160\",\n \"name\" : \"Test Issuer Refused\"\n }, {\n \"id\" : \"1159\",\n \"name\" : \"Test Issuer 10\"\n }, {\n \"id\" : \"1158\",\n \"name\" : \"Test Issuer 9\"\n }, {\n \"id\" : \"1157\",\n \"name\" : \"Test Issuer 8\"\n }, {\n \"id\" : \"1156\",\n \"name\" : \"Test Issuer 7\"\n }, {\n \"id\" : \"1155\",\n \"name\" : \"Test Issuer 6\"\n } ],\n \"key\" : \"issuer\",\n \"type\" : \"select\"\n } ],\n \"name\" : \"iDEAL\",\n \"type\" : \"ideal\"\n }, {\n \"name\" : \"igive\",\n \"type\" : \"igive\"\n }, {\n \"name\" : \"Korean Account Transfer (IniPay)\",\n \"type\" : \"inicisIniPay_accounttransfer\"\n }, {\n \"name\" : \"Korean Credit Cards (IniPay)\",\n \"type\" : \"inicisIniPay_creditcard\"\n }, {\n \"name\" : \"Korean Mobile Phone (IniPay)\",\n \"type\" : \"inicisIniPay_mobilephone\"\n }, {\n \"name\" : \"Korean Virtual Account (IniPay)\",\n \"type\" : \"inicisIniPay_virtualaccount\"\n }, {\n \"name\" : \"Korean Account Transfer (Mobile)\",\n \"type\" : \"inicisMobile_accounttransfer\"\n }, {\n \"name\" : \"Korean Credit Cards (Mobile)\",\n \"type\" : \"inicisMobile_creditcard\"\n }, {\n \"name\" : \"Korean Mobile Phone (Mobile)\",\n \"type\" : \"inicisMobile_mobilephone\"\n }, {\n \"name\" : \"Korean Virtual Account (Mobile)\",\n \"type\" : \"inicisMobile_virtualaccount\"\n }, {\n \"name\" : \"Korean Credit Cards\",\n \"type\" : \"inicis_creditcard\"\n }, {\n \"name\" : \"Interac® Online\",\n \"type\" : \"interac\"\n }, {\n \"name\" : \"Instant EFT\",\n \"type\" : \"ipay\"\n }, {\n \"name\" : \"iPay88\",\n \"type\" : \"ipay88\"\n }, {\n \"name\" : \"isracard\",\n \"type\" : \"isracard\"\n }, {\n \"name\" : \"Phone Payment\",\n \"type\" : \"ivr\"\n }, {\n \"name\" : \"Landline phone\",\n \"type\" : \"ivrLandline\"\n }, {\n \"name\" : \"Mobile phone\",\n \"type\" : \"ivrMobile\"\n }, {\n \"name\" : \"Kado Wereld\",\n \"type\" : \"kadowereld\"\n }, {\n \"name\" : \"KakaoPay\",\n \"type\" : \"kakaopay\"\n }, {\n \"name\" : \"Karen Millen Card\",\n \"type\" : \"karenmillen\"\n }, {\n \"name\" : \"Karen Millen GiftCard\",\n \"type\" : \"karenmillengiftcard\"\n }, {\n \"name\" : \"Bank Transfer\",\n \"type\" : \"kcp_banktransfer\"\n }, {\n \"name\" : \"Korea–issued cards\",\n \"type\" : \"kcp_creditcard\"\n }, {\n \"name\" : \"PayCo\",\n \"type\" : \"kcp_payco\"\n }, {\n \"name\" : \"Naver Pay\",\n \"type\" : \"kcp_naverpay\"\n }, {\n \"name\" : \"Virtual Account via KCP\",\n \"type\" : \"kcp_va\"\n }, {\n \"name\" : \"Pay later with Klarna.\",\n \"type\" : \"klarna\"\n }, {\n \"name\" : \"Pay over time with Klarna.\",\n \"type\" : \"klarna_account\"\n }, {\n \"name\" : \"Buy Now, Pay Later with Billie\",\n \"type\" : \"klarna_b2b\"\n }, {\n \"name\" : \"Pay now with Klarna.\",\n \"type\" : \"klarna_paynow\"\n }, {\n \"name\" : \"Leisure Card\",\n \"type\" : \"leisurecard\"\n }, {\n \"name\" : \"China Credit Card\",\n \"type\" : \"lianlianpay_creditcard\"\n }, {\n \"name\" : \"China Debit Card\",\n \"type\" : \"lianlianpay_debitcard\"\n }, {\n \"details\" : [ {\n \"key\" : \"telephoneNumber\",\n \"type\" : \"tel\"\n } ],\n \"name\" : \"China Online Banking - Credit Card\",\n \"type\" : \"lianlianpay_ebanking_credit\"\n }, {\n \"details\" : [ {\n \"items\" : [ {\n \"id\" : \"01030000\",\n \"name\" : \"Agricultural Bank of China\"\n }, {\n \"id\" : \"4031000\",\n \"name\" : \"Bank of Beijing\"\n }, {\n \"id\" : \"01040000\",\n \"name\" : \"Bank of China\"\n }, {\n \"id\" : \"03020000\",\n \"name\" : \"China Citic Bank\"\n }, {\n \"id\" : \"01050000\",\n \"name\" : \"China Construction Bank\"\n }, {\n \"id\" : \"03030000\",\n \"name\" : \"China Everbright Bank\"\n }, {\n \"id\" : \"03080000\",\n \"name\" : \"China Merchants Bank\"\n }, {\n \"id\" : \"03050000\",\n \"name\" : \"China Minsheng Banking Group\"\n }, {\n \"id\" : \"03040000\",\n \"name\" : \"Hua Xia Bank Co\"\n }, {\n \"id\" : \"01020000\",\n \"name\" : \"Industrial and Commercial Bank of China\"\n }, {\n \"id\" : \"03070000\",\n \"name\" : \"PingAn Bank\"\n }, {\n \"id\" : \"1000000\",\n \"name\" : \"Postal Savings Bank of China\"\n } ],\n \"key\" : \"issuer\",\n \"type\" : \"select\"\n }, {\n \"key\" : \"telephoneNumber\",\n \"type\" : \"tel\"\n } ],\n \"name\" : \"China Online Banking - Debit Card\",\n \"type\" : \"lianlianpay_ebanking_debit\"\n }, {\n \"details\" : [ {\n \"items\" : [ {\n \"id\" : \"01030000\",\n \"name\" : \"Agricultural Bank of China\"\n }, {\n \"id\" : \"01050000\",\n \"name\" : \"China Construction Bank\"\n }, {\n \"id\" : \"03080000\",\n \"name\" : \"China Merchants Bank\"\n }, {\n \"id\" : \"01020000\",\n \"name\" : \"Industrial and Commercial Bank of China\"\n }, {\n \"id\" : \"03100000\",\n \"name\" : \"Shanghai Pudong Development Bank\"\n } ],\n \"key\" : \"issuer\",\n \"type\" : \"select\"\n }, {\n \"key\" : \"telephoneNumber\",\n \"type\" : \"tel\"\n } ],\n \"name\" : \"China Online Banking - Enterprise\",\n \"type\" : \"lianlianpay_ebanking_enterprise\"\n }, {\n \"name\" : \"Loods5 Cadeaukaart\",\n \"type\" : \"loods5giftcard\"\n }, {\n \"name\" : \"Loods5 Tegoedbon\",\n \"type\" : \"loods5prepaidcard\"\n }, {\n \"name\" : \"Love2Shop GiftCard\",\n \"type\" : \"love2shop\"\n }, {\n \"details\" : [ {\n \"key\" : \"shopper.firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"shopper.lastName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"shopper.gender\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n }, {\n \"key\" : \"telephoneNumber\",\n \"type\" : \"tel\"\n }, {\n \"key\" : \"countryCode\",\n \"type\" : \"text\"\n } ],\n \"name\" : \"mada\",\n \"type\" : \"mada\"\n }, {\n \"name\" : \"Mappin & Webb Card\",\n \"type\" : \"mappinwebbcard\"\n }, {\n \"name\" : \"MB WAY\",\n \"type\" : \"mbway\"\n }, {\n \"details\" : [ {\n \"key\" : \"additionalData.amazonPayToken\",\n \"type\" : \"text\"\n } ],\n \"name\" : \"Amazon Pay\",\n \"supportsRecurring\" : true,\n \"type\" : \"amazonpay\"\n }, {\n \"name\" : \"Mercado Pago\",\n \"type\" : \"mercadopago\"\n }, {\n \"name\" : \"MobilePay\",\n \"type\" : \"mobilepay\"\n }, {\n \"name\" : \"AliPay via Razer Merchant Services\",\n \"type\" : \"molpay_alipay\"\n }, {\n \"name\" : \"7-Eleven\",\n \"type\" : \"molpay_cash\"\n }, {\n \"name\" : \"CIMB Virtual Account\",\n \"type\" : \"molpay_cimb_va\"\n }, {\n \"name\" : \"Malaysia E-Banking via Razer Merchant Services\",\n \"type\" : \"molpay_ebanking_MY\"\n }, {\n \"details\" : [ {\n \"items\" : [ {\n \"id\" : \"vtcpay-vietinbank\",\n \"name\" : \"Vietinbank\"\n }, {\n \"id\" : \"vtcpay-bidv\",\n \"name\" : \"BIDV\"\n }, {\n \"id\" : \"vtcpay-agribank\",\n \"name\" : \"Agribank\"\n }, {\n \"id\" : \"vtcpay-mb\",\n \"name\" : \"MB Bank\"\n }, {\n \"id\" : \"vtcpay-sacombank\",\n \"name\" : \"Sacombank\"\n }, {\n \"id\" : \"vtcpay-dongabank\",\n \"name\" : \"DongABank\"\n }, {\n \"id\" : \"vtcpay-maritimebank\",\n \"name\" : \"MaritimeBank\"\n }, {\n \"id\" : \"vtcpay-vietcombank\",\n \"name\" : \"Vietcombank\"\n }, {\n \"id\" : \"vtcpay-acb\",\n \"name\" : \"ACB\"\n }, {\n \"id\" : \"vtcpay-techcombank\",\n \"name\" : \"Techcombank\"\n } ],\n \"key\" : \"issuer\",\n \"type\" : \"select\"\n } ],\n \"name\" : \"Vietnam E-Banking\",\n \"type\" : \"molpay_ebanking_VN\"\n }, {\n \"details\" : [ {\n \"items\" : [ {\n \"id\" : \"fpx_bimb\",\n \"name\" : \"Bank Islam\"\n }, {\n \"id\" : \"fpx_uob\",\n \"name\" : \"UOB Bank\"\n }, {\n \"id\" : \"fpx_cimbclicks\",\n \"name\" : \"CIMB Clicks\"\n }, {\n \"id\" : \"fpx_kfh\",\n \"name\" : \"Kuwait Finance House\"\n }, {\n \"id\" : \"fpx_rhb\",\n \"name\" : \"RHB Now\"\n }, {\n \"id\" : \"fpx_abmb\",\n \"name\" : \"Alliance Bank\"\n }, {\n \"id\" : \"fpx_amb\",\n \"name\" : \"Am Online\"\n }, {\n \"id\" : \"fpx_hsbc\",\n \"name\" : \"HSBC\"\n }, {\n \"id\" : \"fpx_abb\",\n \"name\" : \"Affin Bank\"\n }, {\n \"id\" : \"fpx_ocbc\",\n \"name\" : \"OCBC Bank\"\n }, {\n \"id\" : \"fpx_pbb\",\n \"name\" : \"Public Bank\"\n }, {\n \"id\" : \"fpx_scb\",\n \"name\" : \"Standard Chartered Bank\"\n }, {\n \"id\" : \"fpx_bsn\",\n \"name\" : \"Bank Simpanan Nasional\"\n }, {\n \"id\" : \"fpx_mb2u\",\n \"name\" : \"Maybank2u\"\n }, {\n \"id\" : \"fpx_hlb\",\n \"name\" : \"Hong Leong Connect\"\n }, {\n \"id\" : \"fpx_bmmb\",\n \"name\" : \"Bank Muamalat\"\n }, {\n \"id\" : \"fpx_bkrm\",\n \"name\" : \"Bank Rakyat\"\n } ],\n \"key\" : \"issuer\",\n \"type\" : \"select\"\n } ],\n \"name\" : \"Malaysia E-Banking\",\n \"type\" : \"molpay_ebanking_fpx_MY\"\n }, {\n \"name\" : \"eNETS Debit\",\n \"type\" : \"molpay_enetsd\"\n }, {\n \"name\" : \"epay\",\n \"type\" : \"molpay_epay\"\n }, {\n \"name\" : \"Esapay\",\n \"type\" : \"molpay_esapay\"\n }, {\n \"name\" : \"MyClear FPX\",\n \"type\" : \"molpay_fpx\"\n }, {\n \"name\" : \"Maybank2u\",\n \"type\" : \"molpay_maybank2u\"\n }, {\n \"name\" : \"Nganluong\",\n \"type\" : \"molpay_nganluong\"\n }, {\n \"name\" : \"Convenience Stores Thailand\",\n \"type\" : \"molpay_paysbuy\"\n }, {\n \"name\" : \"MOLPoints\",\n \"type\" : \"molpay_points\"\n }, {\n \"name\" : \"RHB Now\",\n \"type\" : \"molpay_rhb\"\n }, {\n \"name\" : \"SAM by SingPost\",\n \"type\" : \"molpay_singpost\"\n }, {\n \"name\" : \"MOLWallet\",\n \"type\" : \"molpay_wallet\"\n }, {\n \"name\" : \"MoMo ATM\",\n \"type\" : \"momo_atm\"\n }, {\n \"name\" : \"Momo Wallet\",\n \"type\" : \"momo_wallet\"\n }, {\n \"name\" : \"Moneybookers\",\n \"type\" : \"moneybookers\"\n }, {\n \"name\" : \"Multibanco\",\n \"type\" : \"multibanco\"\n }, {\n \"name\" : \"De Nationale Musicalcard\",\n \"type\" : \"musicalcard\"\n }, {\n \"name\" : \"Nationale Bioscoopbon\",\n \"type\" : \"nationalebioscoopbon\"\n }, {\n \"name\" : \"Nationale Tuinbon\",\n \"type\" : \"nationaletuinbon\"\n }, {\n \"name\" : \"Nationale Verwen Cadeaubon\",\n \"type\" : \"nationaleverwencadeaubon\"\n }, {\n \"name\" : \"BankAxess\",\n \"type\" : \"netaxept_bankaxess\"\n }, {\n \"name\" : \"NETELLER\",\n \"type\" : \"neteller\"\n }, {\n \"name\" : \"Onebip\",\n \"type\" : \"onebip\"\n }, {\n \"name\" : \"One Two Three\",\n \"type\" : \"onetwothree\"\n }, {\n \"name\" : \"Online Banking PL\",\n \"type\" : \"onlineBanking_PL\"\n }, {\n \"details\" : [ {\n \"items\" : [ {\n \"id\" : \"1\",\n \"name\" : \"Model Bank v2\"\n } ],\n \"key\" : \"issuer\",\n \"type\" : \"select\"\n } ],\n \"name\" : \"Online banking\",\n \"type\" : \"openbanking_UK\"\n }, {\n \"name\" : \"Oxxo\",\n \"type\" : \"oxxo\"\n }, {\n \"name\" : \"Pathe Giftcard\",\n \"type\" : \"pathegiftcard\"\n }, {\n \"name\" : \"PayBright\",\n \"type\" : \"paybright\"\n }, {\n \"name\" : \"Maya Wallet\",\n \"type\" : \"paymaya_wallet\"\n }, {\n \"name\" : \"PayPal\",\n \"type\" : \"paypal\"\n }, {\n \"name\" : \"Paysafecard\",\n \"type\" : \"paysafecard\"\n }, {\n \"name\" : \"Payshop\",\n \"type\" : \"payshop\"\n }, {\n \"name\" : \"PayD AMT via Paythru\",\n \"type\" : \"paythru_amt\"\n }, {\n \"name\" : \"EFT via Paythru\",\n \"type\" : \"paythru_eft\"\n }, {\n \"name\" : \"PayTM\",\n \"type\" : \"paytm\"\n }, {\n \"details\" : [ {\n \"key\" : \"virtualPaymentAddress\",\n \"type\" : \"text\"\n } ],\n \"name\" : \"PayU UPI\",\n \"type\" : \"payu_IN_upi\"\n }, {\n \"name\" : \"EFT Pro via PayU\",\n \"type\" : \"payu_ZA_eftpro\"\n }, {\n \"details\" : [ {\n \"key\" : \"additionalData.paywithgoogle.token\",\n \"type\" : \"payWithGoogleToken\"\n } ],\n \"name\" : \"Google Pay\",\n \"type\" : \"paywithgoogle\"\n }, {\n \"name\" : \"pix\",\n \"type\" : \"pix\"\n }, {\n \"name\" : \"Plastix\",\n \"type\" : \"plastix\"\n }, {\n \"name\" : \"Pluim\",\n \"type\" : \"pluimgiftcard\"\n }, {\n \"name\" : \"Podium Card\",\n \"type\" : \"podiumcard\"\n }, {\n \"name\" : \"POLi\",\n \"type\" : \"poli\"\n }, {\n \"name\" : \"PPS\",\n \"type\" : \"pps\"\n }, {\n \"name\" : \"Primera Cadeaukaart\",\n \"type\" : \"primeracadeaucard\"\n }, {\n \"name\" : \"Illicado Gift Card\",\n \"type\" : \"prosodie_illicado\"\n }, {\n \"name\" : \"PSE\",\n \"type\" : \"pse\"\n }, {\n \"details\" : [ {\n \"items\" : [ {\n \"id\" : \"+7\",\n \"name\" : \"RU\"\n }, {\n \"id\" : \"+9955\",\n \"name\" : \"GE\"\n }, {\n \"id\" : \"+507\",\n \"name\" : \"PA\"\n }, {\n \"id\" : \"+44\",\n \"name\" : \"GB\"\n }, {\n \"id\" : \"+992\",\n \"name\" : \"TJ\"\n }, {\n \"id\" : \"+370\",\n \"name\" : \"LT\"\n }, {\n \"id\" : \"+972\",\n \"name\" : \"IL\"\n }, {\n \"id\" : \"+996\",\n \"name\" : \"KG\"\n }, {\n \"id\" : \"+380\",\n \"name\" : \"UA\"\n }, {\n \"id\" : \"+84\",\n \"name\" : \"VN\"\n }, {\n \"id\" : \"+90\",\n \"name\" : \"TR\"\n }, {\n \"id\" : \"+994\",\n \"name\" : \"AZ\"\n }, {\n \"id\" : \"+374\",\n \"name\" : \"AM\"\n }, {\n \"id\" : \"+371\",\n \"name\" : \"LV\"\n }, {\n \"id\" : \"+91\",\n \"name\" : \"IN\"\n }, {\n \"id\" : \"+66\",\n \"name\" : \"TH\"\n }, {\n \"id\" : \"+373\",\n \"name\" : \"MD\"\n }, {\n \"id\" : \"+1\",\n \"name\" : \"US\"\n }, {\n \"id\" : \"+81\",\n \"name\" : \"JP\"\n }, {\n \"id\" : \"+998\",\n \"name\" : \"UZ\"\n }, {\n \"id\" : \"+77\",\n \"name\" : \"KZ\"\n }, {\n \"id\" : \"+375\",\n \"name\" : \"BY\"\n }, {\n \"id\" : \"+372\",\n \"name\" : \"EE\"\n }, {\n \"id\" : \"+40\",\n \"name\" : \"RO\"\n }, {\n \"id\" : \"+82\",\n \"name\" : \"KR\"\n } ],\n \"key\" : \"qiwiwallet.telephoneNumberPrefix\",\n \"type\" : \"select\"\n }, {\n \"key\" : \"qiwiwallet.telephoneNumber\",\n \"type\" : \"text\"\n } ],\n \"name\" : \"Qiwi Wallet\",\n \"type\" : \"qiwiwallet\"\n }, {\n \"name\" : \"RatePay Invoice\",\n \"type\" : \"ratepay\"\n }, {\n \"name\" : \"RatePay Direct Debit\",\n \"type\" : \"ratepay_directdebit\"\n }, {\n \"name\" : \"Rituals Giftcard\",\n \"type\" : \"rituals\"\n }, {\n \"name\" : \"Rob Peetoom Giftcard\",\n \"type\" : \"robpeetoomgiftcard\"\n }, {\n \"name\" : \"SafetyPay\",\n \"type\" : \"safetypay\"\n }, {\n \"name\" : \"SafetyPay Cash\",\n \"type\" : \"safetypay_cash\"\n }, {\n \"name\" : \"Shoes&Accessories Cadeau\",\n \"type\" : \"sagiftcard\"\n }, {\n \"name\" : \"Score Giftcard\",\n \"type\" : \"scoregiftcard\"\n }, {\n \"name\" : \"SEB Direktbetalning\",\n \"type\" : \"sebdirectpayment\"\n }, {\n \"details\" : [ {\n \"key\" : \"sepa.ownerName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"sepa.ibanNumber\",\n \"type\" : \"text\"\n } ],\n \"name\" : \"SEPA Direct Debit\",\n \"type\" : \"sepadirectdebit\"\n }, {\n \"name\" : \"7-Eleven\",\n \"type\" : \"seveneleven\"\n }, {\n \"name\" : \"Premium SMS\",\n \"type\" : \"sms\"\n }, {\n \"name\" : \"SVS\",\n \"type\" : \"svs\"\n }, {\n \"name\" : \"Swish\",\n \"type\" : \"swish\"\n }, {\n \"name\" : \"TCS Test GiftCard\",\n \"type\" : \"tcstestgiftcard\"\n }, {\n \"name\" : \"TenPay\",\n \"type\" : \"tenpay\"\n }, {\n \"name\" : \"The Sting Giftcard\",\n \"type\" : \"thestinggiftcard\"\n }, {\n \"name\" : \"TrueMoney\",\n \"type\" : \"truemoney\"\n }, {\n \"name\" : \"Trustly\",\n \"type\" : \"trustly\"\n }, {\n \"name\" : \"Online Banking by Trustpay\",\n \"type\" : \"trustpay\"\n }, {\n \"name\" : \"TWINT\",\n \"type\" : \"twint\"\n }, {\n \"name\" : \"Ukash\",\n \"type\" : \"ukash\"\n }, {\n \"name\" : \"UnionPay\",\n \"type\" : \"unionpay\"\n }, {\n \"details\" : [ {\n \"key\" : \"virtualPaymentAddress\",\n \"type\" : \"text\"\n } ],\n \"name\" : \"UPI Collect\",\n \"type\" : \"upi_collect\"\n }, {\n \"name\" : \"Valuelink\",\n \"type\" : \"valuelink\"\n }, {\n \"name\" : \"V&D Cadeaukaart\",\n \"type\" : \"vdcadeaucard\"\n }, {\n \"details\" : [ {\n \"key\" : \"telephoneNumber\",\n \"optional\" : true,\n \"type\" : \"tel\"\n } ],\n \"name\" : \"Vipps\",\n \"type\" : \"vipps\"\n }, {\n \"details\" : [ {\n \"key\" : \"additionalData.visacheckout.callId\",\n \"type\" : \"text\"\n } ],\n \"name\" : \"Visa Checkout\",\n \"type\" : \"visacheckout\"\n }, {\n \"name\" : \"VVV Cadeaubon\",\n \"type\" : \"vvvcadeaubon\"\n }, {\n \"name\" : \"VVV Giftcard\",\n \"type\" : \"vvvgiftcard\"\n }, {\n \"name\" : \"Webshop Giftcard\",\n \"type\" : \"webshopgiftcard\"\n }, {\n \"name\" : \"WeChat Pay\",\n \"type\" : \"wechatpayMiniProgram\"\n }, {\n \"name\" : \"WeChat Pay\",\n \"type\" : \"wechatpayQR\"\n }, {\n \"name\" : \"WeChat Pay\",\n \"type\" : \"wechatpayWeb\"\n }, {\n \"name\" : \"WE Fashion Giftcard\",\n \"type\" : \"wefashiongiftcard\"\n }, {\n \"name\" : \"Western Union\",\n \"type\" : \"westernunion\"\n }, {\n \"name\" : \"Winkel Cheque\",\n \"type\" : \"winkelcheque\"\n }, {\n \"name\" : \"WOS Card\",\n \"type\" : \"woscard\"\n }, {\n \"name\" : \"Alfa-Click\",\n \"type\" : \"yandex_alfaclick\"\n }, {\n \"name\" : \"Pay using bank card\",\n \"type\" : \"yandex_bank_card\"\n }, {\n \"name\" : \"Cash terminals\",\n \"type\" : \"yandex_cash\"\n }, {\n \"name\" : \"Pay using installments\",\n \"type\" : \"yandex_installments\"\n }, {\n \"name\" : \"YooMoney\",\n \"type\" : \"yandex_money\"\n }, {\n \"name\" : \"Promsvyazbank\",\n \"type\" : \"yandex_promsvyazbank\"\n }, {\n \"name\" : \"SberPay\",\n \"type\" : \"yandex_sberbank\"\n }, {\n \"name\" : \"WebMoney\",\n \"type\" : \"yandex_webmoney\"\n }, {\n \"name\" : \"Your Gift\",\n \"type\" : \"yourgift\"\n }, {\n \"name\" : \"Zip\",\n \"type\" : \"zip\"\n } ]\n}", + "originalRequest": { + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentMethods", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentMethods" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Queries the available payment methods for a transaction based on the transaction context (like amount, country, and currency). Besides giving back a list of the available payment methods, the response also returns which input details you need to collect from the shopper (to be submitted to `/payments`). Although we highly recommend using this endpoint to ensure you are always offering the most up-to-date list of payment methods, its usage is optional. You can, for example, also cache the `/paymentMethods` response and update it once a week." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentMethods", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentMethods" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Queries the available payment methods for a transaction based on the transaction context (like amount, country, and currency). Besides giving back a list of the available payment methods, the response also returns which input details you need to collect from the shopper (to be submitted to `/payments`). Although we highly recommend using this endpoint to ensure you are always offering the most up-to-date list of payment methods, its usage is optional. You can, for example, also cache the `/paymentMethods` response and update it once a week." - } + ] }, { "name": "Get payment methods based on the country and amount", "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 + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl-NL\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentMethods", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentMethods" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Queries the available payment methods for a transaction based on the transaction context (like amount, country, and currency). Besides giving back a list of the available payment methods, the response also returns which input details you need to collect from the shopper (to be submitted to `/payments`). Although we highly recommend using this endpoint to ensure you are always offering the most up-to-date list of payment methods, its usage is optional. You can, for example, also cache the `/paymentMethods` response and update it once a week." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"paymentMethods\" : [ {\n \"details\" : [ {\n \"items\" : [ {\n \"id\" : \"1121\",\n \"name\" : \"Test Issuer\"\n }, {\n \"id\" : \"1154\",\n \"name\" : \"Test Issuer 5\"\n }, {\n \"id\" : \"1153\",\n \"name\" : \"Test Issuer 4\"\n }, {\n \"id\" : \"1152\",\n \"name\" : \"Test Issuer 3\"\n }, {\n \"id\" : \"1151\",\n \"name\" : \"Test Issuer 2\"\n }, {\n \"id\" : \"1162\",\n \"name\" : \"Test Issuer Cancelled\"\n }, {\n \"id\" : \"1161\",\n \"name\" : \"Test Issuer Pending\"\n }, {\n \"id\" : \"1160\",\n \"name\" : \"Test Issuer Refused\"\n }, {\n \"id\" : \"1159\",\n \"name\" : \"Test Issuer 10\"\n }, {\n \"id\" : \"1158\",\n \"name\" : \"Test Issuer 9\"\n }, {\n \"id\" : \"1157\",\n \"name\" : \"Test Issuer 8\"\n }, {\n \"id\" : \"1156\",\n \"name\" : \"Test Issuer 7\"\n }, {\n \"id\" : \"1155\",\n \"name\" : \"Test Issuer 6\"\n } ],\n \"key\" : \"issuer\",\n \"type\" : \"select\"\n } ],\n \"name\" : \"iDEAL\",\n \"type\" : \"ideal\"\n }, {\n \"details\" : [ {\n \"key\" : \"encryptedCardNumber\",\n \"type\" : \"cardToken\"\n }, {\n \"key\" : \"encryptedSecurityCode\",\n \"type\" : \"cardToken\"\n }, {\n \"key\" : \"encryptedExpiryMonth\",\n \"type\" : \"cardToken\"\n }, {\n \"key\" : \"encryptedExpiryYear\",\n \"type\" : \"cardToken\"\n }, {\n \"key\" : \"holderName\",\n \"optional\" : true,\n \"type\" : \"text\"\n } ],\n \"name\" : \"Hitelkártya\",\n \"type\" : \"scheme\"\n }, {\n \"name\" : \"PayPal\",\n \"type\" : \"paypal\"\n }, {\n \"details\" : [ {\n \"details\" : [ {\n \"key\" : \"firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"lastName\",\n \"type\" : \"text\"\n }, {\n \"items\" : [ {\n \"id\" : \"M\",\n \"name\" : \"male\"\n }, {\n \"id\" : \"F\",\n \"name\" : \"female\"\n } ],\n \"key\" : \"gender\",\n \"type\" : \"radio\"\n }, {\n \"key\" : \"dateOfBirth\",\n \"type\" : \"date\"\n }, {\n \"key\" : \"telephoneNumber\",\n \"type\" : \"tel\"\n }, {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n } ],\n \"key\" : \"personalDetails\",\n \"type\" : \"fieldSet\"\n }, {\n \"details\" : [ {\n \"key\" : \"street\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"houseNumberOrName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"city\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"postalCode\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"stateOrProvince\",\n \"optional\" : true,\n \"type\" : \"text\"\n }, {\n \"items\" : [ {\n \"id\" : \"NL\",\n \"name\" : \"Netherlands\"\n }, {\n \"id\" : \"BE\",\n \"name\" : \"Belgium\"\n } ],\n \"key\" : \"country\",\n \"type\" : \"select\",\n \"value\" : \"NL\"\n } ],\n \"key\" : \"billingAddress\",\n \"type\" : \"address\"\n }, {\n \"key\" : \"separateDeliveryAddress\",\n \"optional\" : true,\n \"type\" : \"boolean\",\n \"value\" : \"false\"\n }, {\n \"details\" : [ {\n \"key\" : \"street\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"houseNumberOrName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"city\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"postalCode\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"stateOrProvince\",\n \"optional\" : true,\n \"type\" : \"text\"\n }, {\n \"items\" : [ {\n \"id\" : \"NL\",\n \"name\" : \"Netherlands\"\n }, {\n \"id\" : \"BE\",\n \"name\" : \"Belgium\"\n } ],\n \"key\" : \"country\",\n \"type\" : \"select\",\n \"value\" : \"NL\"\n } ],\n \"key\" : \"deliveryAddress\",\n \"optional\" : true,\n \"type\" : \"address\"\n } ],\n \"name\" : \"AfterPay Invoice\",\n \"type\" : \"afterpay_default\"\n }, {\n \"name\" : \"Pay later with Klarna.\",\n \"type\" : \"klarna\"\n }, {\n \"details\" : [ {\n \"key\" : \"sepa.ownerName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"sepa.ibanNumber\",\n \"type\" : \"text\"\n } ],\n \"name\" : \"SEPA Direct Debit\",\n \"type\" : \"sepadirectdebit\"\n }, {\n \"name\" : \"Paysafecard\",\n \"type\" : \"paysafecard\"\n }, {\n \"name\" : \"Bijenkorf Cadeaucard\",\n \"type\" : \"bijcadeaucard\"\n }, {\n \"name\" : \"Fonq Giftcard\",\n \"type\" : \"fonqgiftcard\"\n }, {\n \"name\" : \"Bank Transfer (NL)\",\n \"type\" : \"bankTransfer_NL\"\n }, {\n \"name\" : \"Pathe Giftcard\",\n \"type\" : \"pathegiftcard\"\n }, {\n \"name\" : \"VVV Giftcard\",\n \"type\" : \"vvvgiftcard\"\n }, {\n \"name\" : \"Podium Card\",\n \"type\" : \"podiumcard\"\n }, {\n \"name\" : \"RatePay Direct Debit\",\n \"type\" : \"ratepay_directdebit\"\n }, {\n \"name\" : \"Rituals Giftcard\",\n \"type\" : \"rituals\"\n }, {\n \"name\" : \"Hunkemoller Lingerie Card\",\n \"type\" : \"hmlingerie\"\n }, {\n \"name\" : \"Primera Cadeaukaart\",\n \"type\" : \"primeracadeaucard\"\n }, {\n \"name\" : \"Fashioncheque\",\n \"type\" : \"fashioncheque\"\n }, {\n \"name\" : \"NETELLER\",\n \"type\" : \"neteller\"\n }, {\n \"name\" : \"Adyen Voucher\",\n \"type\" : \"adyen_test_voucher\"\n }, {\n \"name\" : \"AfterPay B2B\",\n \"type\" : \"afterpay_b2b\"\n }, {\n \"name\" : \"AfterPay DirectDebit\",\n \"type\" : \"afterpay_directdebit\"\n }, {\n \"name\" : \"AliPay\",\n \"type\" : \"alipay\"\n }, {\n \"name\" : \"AliPay\",\n \"type\" : \"alipay_wap\"\n }, {\n \"details\" : [ {\n \"key\" : \"additionalData.androidpay.token\",\n \"type\" : \"androidPayToken\"\n } ],\n \"name\" : \"Android Pay\",\n \"type\" : \"androidpay\"\n }, {\n \"details\" : [ {\n \"key\" : \"additionalData.applepay.token\",\n \"type\" : \"applePayToken\"\n } ],\n \"name\" : \"Apple Pay\",\n \"type\" : \"applepay\"\n }, {\n \"name\" : \"Baby Gift Card\",\n \"type\" : \"babygiftcard\"\n }, {\n \"name\" : \"SEPA Bank Transfer\",\n \"type\" : \"bankTransfer_IBAN\"\n }, {\n \"name\" : \"Bloemen Giftcard\",\n \"type\" : \"bloemengiftcard\"\n }, {\n \"name\" : \"Boekenbon Giftcard\",\n \"type\" : \"boekenbon\"\n }, {\n \"name\" : \"Cash-Ticket\",\n \"type\" : \"cashticket\"\n }, {\n \"name\" : \"Chasin Giftcard\",\n \"type\" : \"chasingiftcard\"\n }, {\n \"name\" : \"ClickandBuy\",\n \"type\" : \"clickandbuy\"\n }, {\n \"name\" : \"Costes Giftcard\",\n \"type\" : \"costesgiftcard\"\n }, {\n \"name\" : \"custom_settlement\",\n \"type\" : \"custom_settlement\"\n }, {\n \"name\" : \"eft_directdebit_CA\",\n \"type\" : \"eft_directdebit_CA\"\n }, {\n \"name\" : \"Nationale Entertainment Card\",\n \"type\" : \"entertainmentcard\"\n }, {\n \"name\" : \"Expert Cadeaukaart\",\n \"type\" : \"expertgiftcard\"\n }, {\n \"name\" : \"FijnCadeau\",\n \"type\" : \"fijncadeau\"\n }, {\n \"name\" : \"Fleurop Bloemenbon\",\n \"type\" : \"fleuropbloemenbon\"\n }, {\n \"name\" : \"Gall & Gall\",\n \"type\" : \"gallgall\"\n }, {\n \"name\" : \"Generic GiftCard\",\n \"type\" : \"genericgiftcard\"\n }, {\n \"name\" : \"GiftFor2\",\n \"type\" : \"giftfor2card\"\n }, {\n \"name\" : \"Givex\",\n \"type\" : \"givex\"\n }, {\n \"name\" : \"Goldsmiths Card\",\n \"type\" : \"goldsmithscard\"\n }, {\n \"name\" : \"Hunkemoller Member Card\",\n \"type\" : \"hmclub\"\n }, {\n \"name\" : \"Phone Payment\",\n \"type\" : \"ivr\"\n }, {\n \"name\" : \"Landline phone\",\n \"type\" : \"ivrLandline\"\n }, {\n \"name\" : \"Mobile phone\",\n \"type\" : \"ivrMobile\"\n }, {\n \"name\" : \"Kado Wereld\",\n \"type\" : \"kadowereld\"\n }, {\n \"name\" : \"Karen Millen GiftCard\",\n \"type\" : \"karenmillengiftcard\"\n }, {\n \"name\" : \"Leisure Card\",\n \"type\" : \"leisurecard\"\n }, {\n \"name\" : \"Loods5 Cadeaukaart\",\n \"type\" : \"loods5giftcard\"\n }, {\n \"name\" : \"Loods5 Tegoedbon\",\n \"type\" : \"loods5prepaidcard\"\n }, {\n \"details\" : [ {\n \"key\" : \"additionalData.amazonPayToken\",\n \"type\" : \"text\"\n } ],\n \"name\" : \"Amazon Pay\",\n \"supportsRecurring\" : true,\n \"type\" : \"amazonpay\"\n }, {\n \"name\" : \"MOLPoints\",\n \"type\" : \"molpay_points\"\n }, {\n \"name\" : \"Moneybookers\",\n \"type\" : \"moneybookers\"\n }, {\n \"name\" : \"De Nationale Musicalcard\",\n \"type\" : \"musicalcard\"\n }, {\n \"name\" : \"Nationale Bioscoopbon\",\n \"type\" : \"nationalebioscoopbon\"\n }, {\n \"name\" : \"Nationale Tuinbon\",\n \"type\" : \"nationaletuinbon\"\n }, {\n \"name\" : \"Nationale Verwen Cadeaubon\",\n \"type\" : \"nationaleverwencadeaubon\"\n }, {\n \"name\" : \"Onebip\",\n \"type\" : \"onebip\"\n }, {\n \"details\" : [ {\n \"key\" : \"additionalData.paywithgoogle.token\",\n \"type\" : \"payWithGoogleToken\"\n } ],\n \"name\" : \"Google Pay\",\n \"type\" : \"paywithgoogle\"\n }, {\n \"name\" : \"Plastix\",\n \"type\" : \"plastix\"\n }, {\n \"name\" : \"Pluim\",\n \"type\" : \"pluimgiftcard\"\n }, {\n \"name\" : \"Illicado Gift Card\",\n \"type\" : \"prosodie_illicado\"\n }, {\n \"name\" : \"RatePay Invoice\",\n \"type\" : \"ratepay\"\n }, {\n \"name\" : \"Rob Peetoom Giftcard\",\n \"type\" : \"robpeetoomgiftcard\"\n }, {\n \"name\" : \"Shoes&Accessories Cadeau\",\n \"type\" : \"sagiftcard\"\n }, {\n \"name\" : \"Score Giftcard\",\n \"type\" : \"scoregiftcard\"\n }, {\n \"name\" : \"Premium SMS\",\n \"type\" : \"sms\"\n }, {\n \"name\" : \"SVS\",\n \"type\" : \"svs\"\n }, {\n \"name\" : \"TCS Test GiftCard\",\n \"type\" : \"tcstestgiftcard\"\n }, {\n \"name\" : \"The Sting Giftcard\",\n \"type\" : \"thestinggiftcard\"\n }, {\n \"name\" : \"Ukash\",\n \"type\" : \"ukash\"\n }, {\n \"name\" : \"UnionPay\",\n \"type\" : \"unionpay\"\n }, {\n \"name\" : \"Valuelink\",\n \"type\" : \"valuelink\"\n }, {\n \"name\" : \"V&D Cadeaukaart\",\n \"type\" : \"vdcadeaucard\"\n }, {\n \"details\" : [ {\n \"key\" : \"additionalData.visacheckout.callId\",\n \"type\" : \"text\"\n } ],\n \"name\" : \"Visa Checkout\",\n \"type\" : \"visacheckout\"\n }, {\n \"name\" : \"VVV Cadeaubon\",\n \"type\" : \"vvvcadeaubon\"\n }, {\n \"name\" : \"Webshop Giftcard\",\n \"type\" : \"webshopgiftcard\"\n }, {\n \"name\" : \"WE Fashion Giftcard\",\n \"type\" : \"wefashiongiftcard\"\n }, {\n \"name\" : \"Western Union\",\n \"type\" : \"westernunion\"\n }, {\n \"name\" : \"Winkel Cheque\",\n \"type\" : \"winkelcheque\"\n }, {\n \"name\" : \"Your Gift\",\n \"type\" : \"yourgift\"\n } ]\n}", + "originalRequest": { + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl-NL\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentMethods", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentMethods" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Queries the available payment methods for a transaction based on the transaction context (like amount, country, and currency). Besides giving back a list of the available payment methods, the response also returns which input details you need to collect from the shopper (to be submitted to `/payments`). Although we highly recommend using this endpoint to ensure you are always offering the most up-to-date list of payment methods, its usage is optional. You can, for example, also cache the `/paymentMethods` response and update it once a week." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl-NL\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n }\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentMethods", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentMethods" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Queries the available payment methods for a transaction based on the transaction context (like amount, country, and currency). Besides giving back a list of the available payment methods, the response also returns which input details you need to collect from the shopper (to be submitted to `/payments`). Although we highly recommend using this endpoint to ensure you are always offering the most up-to-date list of payment methods, its usage is optional. You can, for example, also cache the `/paymentMethods` response and update it once a week." - } + ] }, { "name": "Get payment methods including stored card details", "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 + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"countryCode\" : \"NL\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentMethods", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentMethods" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Queries the available payment methods for a transaction based on the transaction context (like amount, country, and currency). Besides giving back a list of the available payment methods, the response also returns which input details you need to collect from the shopper (to be submitted to `/payments`). Although we highly recommend using this endpoint to ensure you are always offering the most up-to-date list of payment methods, its usage is optional. You can, for example, also cache the `/paymentMethods` response and update it once a week." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"paymentMethods\" : [ {\n \"details\" : [ {\n \"items\" : [ {\n \"id\" : \"1121\",\n \"name\" : \"Test Issuer\"\n }, {\n \"id\" : \"1154\",\n \"name\" : \"Test Issuer 5\"\n }, {\n \"id\" : \"1153\",\n \"name\" : \"Test Issuer 4\"\n }, {\n \"id\" : \"1152\",\n \"name\" : \"Test Issuer 3\"\n }, {\n \"id\" : \"1151\",\n \"name\" : \"Test Issuer 2\"\n }, {\n \"id\" : \"1162\",\n \"name\" : \"Test Issuer Cancelled\"\n }, {\n \"id\" : \"1161\",\n \"name\" : \"Test Issuer Pending\"\n }, {\n \"id\" : \"1160\",\n \"name\" : \"Test Issuer Refused\"\n }, {\n \"id\" : \"1159\",\n \"name\" : \"Test Issuer 10\"\n }, {\n \"id\" : \"1158\",\n \"name\" : \"Test Issuer 9\"\n }, {\n \"id\" : \"1157\",\n \"name\" : \"Test Issuer 8\"\n }, {\n \"id\" : \"1156\",\n \"name\" : \"Test Issuer 7\"\n }, {\n \"id\" : \"1155\",\n \"name\" : \"Test Issuer 6\"\n } ],\n \"key\" : \"issuer\",\n \"type\" : \"select\"\n } ],\n \"name\" : \"iDEAL\",\n \"type\" : \"ideal\"\n }, {\n \"details\" : [ {\n \"key\" : \"encryptedCardNumber\",\n \"type\" : \"cardToken\"\n }, {\n \"key\" : \"encryptedSecurityCode\",\n \"type\" : \"cardToken\"\n }, {\n \"key\" : \"encryptedExpiryMonth\",\n \"type\" : \"cardToken\"\n }, {\n \"key\" : \"encryptedExpiryYear\",\n \"type\" : \"cardToken\"\n }, {\n \"key\" : \"holderName\",\n \"optional\" : true,\n \"type\" : \"text\"\n } ],\n \"name\" : \"Credit Card\",\n \"type\" : \"scheme\"\n }, {\n \"name\" : \"PayPal\",\n \"type\" : \"paypal\"\n }, {\n \"details\" : [ {\n \"details\" : [ {\n \"key\" : \"firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"lastName\",\n \"type\" : \"text\"\n }, {\n \"items\" : [ {\n \"id\" : \"M\",\n \"name\" : \"male\"\n }, {\n \"id\" : \"F\",\n \"name\" : \"female\"\n } ],\n \"key\" : \"gender\",\n \"type\" : \"radio\"\n }, {\n \"key\" : \"dateOfBirth\",\n \"type\" : \"date\"\n }, {\n \"key\" : \"telephoneNumber\",\n \"type\" : \"tel\"\n }, {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n } ],\n \"key\" : \"personalDetails\",\n \"type\" : \"fieldSet\"\n }, {\n \"details\" : [ {\n \"key\" : \"street\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"houseNumberOrName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"city\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"postalCode\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"stateOrProvince\",\n \"optional\" : true,\n \"type\" : \"text\"\n }, {\n \"items\" : [ {\n \"id\" : \"NL\",\n \"name\" : \"Netherlands\"\n }, {\n \"id\" : \"BE\",\n \"name\" : \"Belgium\"\n } ],\n \"key\" : \"country\",\n \"type\" : \"select\",\n \"value\" : \"NL\"\n } ],\n \"key\" : \"billingAddress\",\n \"type\" : \"address\"\n }, {\n \"key\" : \"separateDeliveryAddress\",\n \"optional\" : true,\n \"type\" : \"boolean\",\n \"value\" : \"false\"\n }, {\n \"details\" : [ {\n \"key\" : \"street\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"houseNumberOrName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"city\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"postalCode\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"stateOrProvince\",\n \"optional\" : true,\n \"type\" : \"text\"\n }, {\n \"items\" : [ {\n \"id\" : \"NL\",\n \"name\" : \"Netherlands\"\n }, {\n \"id\" : \"BE\",\n \"name\" : \"Belgium\"\n } ],\n \"key\" : \"country\",\n \"type\" : \"select\",\n \"value\" : \"NL\"\n } ],\n \"key\" : \"deliveryAddress\",\n \"optional\" : true,\n \"type\" : \"address\"\n } ],\n \"name\" : \"AfterPay Invoice\",\n \"type\" : \"afterpay_default\"\n }, {\n \"name\" : \"Pay later with Klarna.\",\n \"type\" : \"klarna\"\n }, {\n \"details\" : [ {\n \"key\" : \"sepa.ownerName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"sepa.ibanNumber\",\n \"type\" : \"text\"\n } ],\n \"name\" : \"SEPA Direct Debit\",\n \"type\" : \"sepadirectdebit\"\n }, {\n \"name\" : \"Paysafecard\",\n \"type\" : \"paysafecard\"\n }, {\n \"name\" : \"Bijenkorf Cadeaucard\",\n \"type\" : \"bijcadeaucard\"\n }, {\n \"name\" : \"Fonq Giftcard\",\n \"type\" : \"fonqgiftcard\"\n }, {\n \"name\" : \"Bank Transfer (NL)\",\n \"type\" : \"bankTransfer_NL\"\n }, {\n \"name\" : \"Pathe Giftcard\",\n \"type\" : \"pathegiftcard\"\n }, {\n \"name\" : \"VVV Giftcard\",\n \"type\" : \"vvvgiftcard\"\n }, {\n \"name\" : \"Podium Card\",\n \"type\" : \"podiumcard\"\n }, {\n \"name\" : \"RatePay Direct Debit\",\n \"type\" : \"ratepay_directdebit\"\n }, {\n \"name\" : \"Rituals Giftcard\",\n \"type\" : \"rituals\"\n }, {\n \"name\" : \"Hunkemoller Lingerie Card\",\n \"type\" : \"hmlingerie\"\n }, {\n \"name\" : \"Primera Cadeaukaart\",\n \"type\" : \"primeracadeaucard\"\n }, {\n \"name\" : \"Fashioncheque\",\n \"type\" : \"fashioncheque\"\n }, {\n \"name\" : \"NETELLER\",\n \"type\" : \"neteller\"\n }, {\n \"name\" : \"Adyen Voucher\",\n \"type\" : \"adyen_test_voucher\"\n }, {\n \"name\" : \"AfterPay B2B\",\n \"type\" : \"afterpay_b2b\"\n }, {\n \"name\" : \"AfterPay DirectDebit\",\n \"type\" : \"afterpay_directdebit\"\n }, {\n \"name\" : \"AliPay\",\n \"type\" : \"alipay\"\n }, {\n \"name\" : \"AliPay\",\n \"type\" : \"alipay_wap\"\n }, {\n \"details\" : [ {\n \"key\" : \"additionalData.androidpay.token\",\n \"type\" : \"androidPayToken\"\n } ],\n \"name\" : \"Android Pay\",\n \"type\" : \"androidpay\"\n }, {\n \"details\" : [ {\n \"key\" : \"additionalData.applepay.token\",\n \"type\" : \"applePayToken\"\n } ],\n \"name\" : \"Apple Pay\",\n \"type\" : \"applepay\"\n }, {\n \"name\" : \"Baby Gift Card\",\n \"type\" : \"babygiftcard\"\n }, {\n \"name\" : \"SEPA Bank Transfer\",\n \"type\" : \"bankTransfer_IBAN\"\n }, {\n \"name\" : \"Bloemen Giftcard\",\n \"type\" : \"bloemengiftcard\"\n }, {\n \"name\" : \"Boekenbon Giftcard\",\n \"type\" : \"boekenbon\"\n }, {\n \"name\" : \"Cash-Ticket\",\n \"type\" : \"cashticket\"\n }, {\n \"name\" : \"Chasin Giftcard\",\n \"type\" : \"chasingiftcard\"\n }, {\n \"name\" : \"ClickandBuy\",\n \"type\" : \"clickandbuy\"\n }, {\n \"name\" : \"Costes Giftcard\",\n \"type\" : \"costesgiftcard\"\n }, {\n \"name\" : \"custom_settlement\",\n \"type\" : \"custom_settlement\"\n }, {\n \"name\" : \"eft_directdebit_CA\",\n \"type\" : \"eft_directdebit_CA\"\n }, {\n \"name\" : \"Nationale Entertainment Card\",\n \"type\" : \"entertainmentcard\"\n }, {\n \"name\" : \"Expert Cadeaukaart\",\n \"type\" : \"expertgiftcard\"\n }, {\n \"name\" : \"FijnCadeau\",\n \"type\" : \"fijncadeau\"\n }, {\n \"name\" : \"Fleurop Bloemenbon\",\n \"type\" : \"fleuropbloemenbon\"\n }, {\n \"name\" : \"Gall & Gall\",\n \"type\" : \"gallgall\"\n }, {\n \"name\" : \"Generic GiftCard\",\n \"type\" : \"genericgiftcard\"\n }, {\n \"name\" : \"GiftFor2\",\n \"type\" : \"giftfor2card\"\n }, {\n \"name\" : \"Givex\",\n \"type\" : \"givex\"\n }, {\n \"name\" : \"Goldsmiths Card\",\n \"type\" : \"goldsmithscard\"\n }, {\n \"name\" : \"Hunkemoller Member Card\",\n \"type\" : \"hmclub\"\n }, {\n \"name\" : \"Phone Payment\",\n \"type\" : \"ivr\"\n }, {\n \"name\" : \"Landline phone\",\n \"type\" : \"ivrLandline\"\n }, {\n \"name\" : \"Mobile phone\",\n \"type\" : \"ivrMobile\"\n }, {\n \"name\" : \"Kado Wereld\",\n \"type\" : \"kadowereld\"\n }, {\n \"name\" : \"Karen Millen GiftCard\",\n \"type\" : \"karenmillengiftcard\"\n }, {\n \"name\" : \"Leisure Card\",\n \"type\" : \"leisurecard\"\n }, {\n \"name\" : \"Loods5 Cadeaukaart\",\n \"type\" : \"loods5giftcard\"\n }, {\n \"name\" : \"Loods5 Tegoedbon\",\n \"type\" : \"loods5prepaidcard\"\n }, {\n \"details\" : [ {\n \"key\" : \"additionalData.amazonPayToken\",\n \"type\" : \"text\"\n } ],\n \"name\" : \"Amazon Pay\",\n \"supportsRecurring\" : true,\n \"type\" : \"amazonpay\"\n }, {\n \"name\" : \"MOLPoints\",\n \"type\" : \"molpay_points\"\n }, {\n \"name\" : \"Moneybookers\",\n \"type\" : \"moneybookers\"\n }, {\n \"name\" : \"De Nationale Musicalcard\",\n \"type\" : \"musicalcard\"\n }, {\n \"name\" : \"Nationale Bioscoopbon\",\n \"type\" : \"nationalebioscoopbon\"\n }, {\n \"name\" : \"Nationale Tuinbon\",\n \"type\" : \"nationaletuinbon\"\n }, {\n \"name\" : \"Nationale Verwen Cadeaubon\",\n \"type\" : \"nationaleverwencadeaubon\"\n }, {\n \"name\" : \"Onebip\",\n \"type\" : \"onebip\"\n }, {\n \"details\" : [ {\n \"key\" : \"additionalData.paywithgoogle.token\",\n \"type\" : \"payWithGoogleToken\"\n } ],\n \"name\" : \"Google Pay\",\n \"type\" : \"paywithgoogle\"\n }, {\n \"name\" : \"Plastix\",\n \"type\" : \"plastix\"\n }, {\n \"name\" : \"Pluim\",\n \"type\" : \"pluimgiftcard\"\n }, {\n \"name\" : \"Illicado Gift Card\",\n \"type\" : \"prosodie_illicado\"\n }, {\n \"name\" : \"RatePay Invoice\",\n \"type\" : \"ratepay\"\n }, {\n \"name\" : \"Rob Peetoom Giftcard\",\n \"type\" : \"robpeetoomgiftcard\"\n }, {\n \"name\" : \"Shoes&Accessories Cadeau\",\n \"type\" : \"sagiftcard\"\n }, {\n \"name\" : \"Score Giftcard\",\n \"type\" : \"scoregiftcard\"\n }, {\n \"name\" : \"Premium SMS\",\n \"type\" : \"sms\"\n }, {\n \"name\" : \"SVS\",\n \"type\" : \"svs\"\n }, {\n \"name\" : \"TCS Test GiftCard\",\n \"type\" : \"tcstestgiftcard\"\n }, {\n \"name\" : \"The Sting Giftcard\",\n \"type\" : \"thestinggiftcard\"\n }, {\n \"name\" : \"Ukash\",\n \"type\" : \"ukash\"\n }, {\n \"name\" : \"UnionPay\",\n \"type\" : \"unionpay\"\n }, {\n \"name\" : \"Valuelink\",\n \"type\" : \"valuelink\"\n }, {\n \"name\" : \"V&D Cadeaukaart\",\n \"type\" : \"vdcadeaucard\"\n }, {\n \"details\" : [ {\n \"key\" : \"additionalData.visacheckout.callId\",\n \"type\" : \"text\"\n } ],\n \"name\" : \"Visa Checkout\",\n \"type\" : \"visacheckout\"\n }, {\n \"name\" : \"VVV Cadeaubon\",\n \"type\" : \"vvvcadeaubon\"\n }, {\n \"name\" : \"Webshop Giftcard\",\n \"type\" : \"webshopgiftcard\"\n }, {\n \"name\" : \"WE Fashion Giftcard\",\n \"type\" : \"wefashiongiftcard\"\n }, {\n \"name\" : \"Western Union\",\n \"type\" : \"westernunion\"\n }, {\n \"name\" : \"Winkel Cheque\",\n \"type\" : \"winkelcheque\"\n }, {\n \"name\" : \"Your Gift\",\n \"type\" : \"yourgift\"\n } ]\n}", + "originalRequest": { + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"countryCode\" : \"NL\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentMethods", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentMethods" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Queries the available payment methods for a transaction based on the transaction context (like amount, country, and currency). Besides giving back a list of the available payment methods, the response also returns which input details you need to collect from the shopper (to be submitted to `/payments`). Although we highly recommend using this endpoint to ensure you are always offering the most up-to-date list of payment methods, its usage is optional. You can, for example, also cache the `/paymentMethods` response and update it once a week." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"countryCode\" : \"NL\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentMethods", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentMethods" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Queries the available payment methods for a transaction based on the transaction context (like amount, country, and currency). Besides giving back a list of the available payment methods, the response also returns which input details you need to collect from the shopper (to be submitted to `/payments`). Although we highly recommend using this endpoint to ensure you are always offering the most up-to-date list of payment methods, its usage is optional. You can, for example, also cache the `/paymentMethods` response and update it once a week." - } + ] } ] - } -, + }, { "name": "/payments", "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. ", @@ -1421,839 +2692,1385 @@ { "name": "Make an Apple Pay payment", "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"applepay\",\n \"applePayToken\" : \"VNRWtuNlNEWkRCSm1xWndjMDFFbktkQU...\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"applepay\",\n \"applePayToken\" : \"VNRWtuNlNEWkRCSm1xWndjMDFFbktkQU...\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + ] }, { "name": "Make a card payment with 3D Secure 2 native authentication", "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 + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"{{$guid}}\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4917610000000000\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\",\n \"cvc\" : \"737\"\n },\n \"additionalData\" : {\n \"allow3DS2\" : \"true\"\n },\n \"accountInfo\" : {\n \"accountCreationDate\" : \"2019-01-17T13:42:40+01:00\"\n },\n \"billingAddress\" : {\n \"country\" : \"US\",\n \"city\" : \"New York\",\n \"street\" : \"Redwood Block\",\n \"houseNumberOrName\" : \"37C\",\n \"stateOrProvince\" : \"NY\",\n \"postalCode\" : \"10039\"\n },\n \"shopperEmail\" : \"s.hopper@test.com\",\n \"shopperIP\" : \"192.0.2.1\",\n \"browserInfo\" : {\n \"userAgent\" : \"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.110 Safari/537.36\",\n \"acceptHeader\" : \"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8\",\n \"language\" : \"nl-NL\",\n \"colorDepth\" : 24,\n \"screenHeight\" : 723,\n \"screenWidth\" : 1536,\n \"timeZoneOffset\" : 0,\n \"javaEnabled\" : true\n },\n \"channel\" : \"Web\",\n \"origin\" : \"https://your-company.com\",\n \"returnUrl\" : \"https://your-company.com/checkout/\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"additionalData\" : {\n \"cvcResult\" : \"1 Matches\",\n \"authCode\" : \"044410\",\n \"avsResult\" : \"4 AVS not supported for this card type\",\n \"avsResultRaw\" : \"4\",\n \"cvcResultRaw\" : \"M\",\n \"refusalReasonRaw\" : \"AUTHORISED\",\n \"acquirerCode\" : \"TestPmmAcquirer\",\n \"acquirerReference\" : \"8PQMP9TI1O2\"\n },\n \"pspReference\" : \"993617895005515H\",\n \"resultCode\" : \"Authorised\"\n}", + "originalRequest": { + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"{{$guid}}\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4917610000000000\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\",\n \"cvc\" : \"737\"\n },\n \"additionalData\" : {\n \"allow3DS2\" : \"true\"\n },\n \"accountInfo\" : {\n \"accountCreationDate\" : \"2019-01-17T13:42:40+01:00\"\n },\n \"billingAddress\" : {\n \"country\" : \"US\",\n \"city\" : \"New York\",\n \"street\" : \"Redwood Block\",\n \"houseNumberOrName\" : \"37C\",\n \"stateOrProvince\" : \"NY\",\n \"postalCode\" : \"10039\"\n },\n \"shopperEmail\" : \"s.hopper@test.com\",\n \"shopperIP\" : \"192.0.2.1\",\n \"browserInfo\" : {\n \"userAgent\" : \"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.110 Safari/537.36\",\n \"acceptHeader\" : \"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8\",\n \"language\" : \"nl-NL\",\n \"colorDepth\" : 24,\n \"screenHeight\" : 723,\n \"screenWidth\" : 1536,\n \"timeZoneOffset\" : 0,\n \"javaEnabled\" : true\n },\n \"channel\" : \"Web\",\n \"origin\" : \"https://your-company.com\",\n \"returnUrl\" : \"https://your-company.com/checkout/\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"{{$guid}}\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4917610000000000\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\",\n \"cvc\" : \"737\"\n },\n \"additionalData\" : {\n \"allow3DS2\" : \"true\"\n },\n \"accountInfo\" : {\n \"accountCreationDate\" : \"2019-01-17T13:42:40+01:00\"\n },\n \"billingAddress\" : {\n \"country\" : \"US\",\n \"city\" : \"New York\",\n \"street\" : \"Redwood Block\",\n \"houseNumberOrName\" : \"37C\",\n \"stateOrProvince\" : \"NY\",\n \"postalCode\" : \"10039\"\n },\n \"shopperEmail\" : \"s.hopper@test.com\",\n \"shopperIP\" : \"192.0.2.1\",\n \"browserInfo\" : {\n \"userAgent\" : \"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.110 Safari/537.36\",\n \"acceptHeader\" : \"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8\",\n \"language\" : \"nl-NL\",\n \"colorDepth\" : 24,\n \"screenHeight\" : 723,\n \"screenWidth\" : 1536,\n \"timeZoneOffset\" : 0,\n \"javaEnabled\" : true\n },\n \"channel\" : \"Web\",\n \"origin\" : \"https://your-company.com\",\n \"returnUrl\" : \"https://your-company.com/checkout/\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + ] }, { "name": "Make a card payment with 3D Secure redirect authentication", "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 + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4212345678901237\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\",\n \"cvc\" : \"737\"\n },\n \"browserInfo\" : {\n \"colorDepth\" : 24,\n \"screenHeight\" : 1800,\n \"screenWidth\" : 2880,\n \"timeZoneOffset\" : 60,\n \"language\" : \"nl\",\n \"userAgent\" : \"Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9) Gecko/2008052912 Firefox/3.0\",\n \"acceptHeader\" : \"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8\",\n \"javaEnabled\" : true\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"additionalData\" : {\n \"cvcResult\" : \"1 Matches\",\n \"authCode\" : \"074516\",\n \"avsResult\" : \"4 AVS not supported for this card type\",\n \"avsResultRaw\" : \"4\",\n \"cvcResultRaw\" : \"M\",\n \"refusalReasonRaw\" : \"AUTHORISED\",\n \"acquirerCode\" : \"TestPmmAcquirer\",\n \"acquirerReference\" : \"8PQMP9SJ7DN\"\n },\n \"pspReference\" : \"993617894903480A\",\n \"resultCode\" : \"Authorised\"\n}", + "originalRequest": { + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4212345678901237\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\",\n \"cvc\" : \"737\"\n },\n \"browserInfo\" : {\n \"colorDepth\" : 24,\n \"screenHeight\" : 1800,\n \"screenWidth\" : 2880,\n \"timeZoneOffset\" : 60,\n \"language\" : \"nl\",\n \"userAgent\" : \"Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9) Gecko/2008052912 Firefox/3.0\",\n \"acceptHeader\" : \"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8\",\n \"javaEnabled\" : true\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4212345678901237\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\",\n \"cvc\" : \"737\"\n },\n \"browserInfo\" : {\n \"colorDepth\" : 24,\n \"screenHeight\" : 1800,\n \"screenWidth\" : 2880,\n \"timeZoneOffset\" : 60,\n \"language\" : \"nl\",\n \"userAgent\" : \"Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9) Gecko/2008052912 Firefox/3.0\",\n \"acceptHeader\" : \"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8\",\n \"javaEnabled\" : true\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + ] }, { "name": "Make a payment with 3D Secure 2 native authentication, using encrypted card details", "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 + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"encryptedCardNumber\" : \"test_4212345678901237\",\n \"encryptedExpiryMonth\" : \"test_03\",\n \"encryptedExpiryYear\" : \"test_2030\",\n \"encryptedSecurityCode\" : \"test_737\",\n \"holderName\" : \"John Smith\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"additionalData\" : {\n \"cvcResult\" : \"1 Matches\",\n \"authCode\" : \"083996\",\n \"avsResult\" : \"4 AVS not supported for this card type\",\n \"avsResultRaw\" : \"4\",\n \"cvcResultRaw\" : \"M\",\n \"refusalReasonRaw\" : \"AUTHORISED\",\n \"acquirerCode\" : \"TestPmmAcquirer\",\n \"acquirerReference\" : \"8PQMP9SJH66\"\n },\n \"pspReference\" : \"993617894905481G\",\n \"resultCode\" : \"Authorised\"\n}", + "originalRequest": { + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"encryptedCardNumber\" : \"test_4212345678901237\",\n \"encryptedExpiryMonth\" : \"test_03\",\n \"encryptedExpiryYear\" : \"test_2030\",\n \"encryptedSecurityCode\" : \"test_737\",\n \"holderName\" : \"John Smith\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"encryptedCardNumber\" : \"test_4212345678901237\",\n \"encryptedExpiryMonth\" : \"test_03\",\n \"encryptedExpiryYear\" : \"test_2030\",\n \"encryptedSecurityCode\" : \"test_737\",\n \"holderName\" : \"John Smith\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + ] }, { "name": "Make a card payment", "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 + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4111111111111111\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\",\n \"cvc\" : \"737\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"additionalData\" : {\n \"cvcResult\" : \"1 Matches\",\n \"authCode\" : \"036240\",\n \"avsResult\" : \"4 AVS not supported for this card type\",\n \"avsResultRaw\" : \"4\",\n \"cvcResultRaw\" : \"M\",\n \"refusalReasonRaw\" : \"AUTHORISED\",\n \"acquirerCode\" : \"TestPmmAcquirer\",\n \"acquirerReference\" : \"8PQMP9SJQUL\"\n },\n \"pspReference\" : \"993617894906488A\",\n \"resultCode\" : \"Authorised\"\n}", + "originalRequest": { + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4111111111111111\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\",\n \"cvc\" : \"737\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4111111111111111\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\",\n \"cvc\" : \"737\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + ] }, { "name": "Make a card payment using encrypted card details", "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 + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"encryptedCardNumber\" : \"test_4111111111111111\",\n \"encryptedExpiryMonth\" : \"test_03\",\n \"encryptedExpiryYear\" : \"test_2030\",\n \"encryptedSecurityCode\" : \"test_737\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"additionalData\" : {\n \"cvcResult\" : \"1 Matches\",\n \"authCode\" : \"064649\",\n \"avsResult\" : \"4 AVS not supported for this card type\",\n \"avsResultRaw\" : \"4\",\n \"cvcResultRaw\" : \"M\",\n \"refusalReasonRaw\" : \"AUTHORISED\",\n \"acquirerCode\" : \"TestPmmAcquirer\",\n \"acquirerReference\" : \"8PQMP9SM92L\"\n },\n \"pspReference\" : \"993617894914488A\",\n \"resultCode\" : \"Authorised\"\n}", + "originalRequest": { + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"encryptedCardNumber\" : \"test_4111111111111111\",\n \"encryptedExpiryMonth\" : \"test_03\",\n \"encryptedExpiryYear\" : \"test_2030\",\n \"encryptedSecurityCode\" : \"test_737\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"encryptedCardNumber\" : \"test_4111111111111111\",\n \"encryptedExpiryMonth\" : \"test_03\",\n \"encryptedExpiryYear\" : \"test_2030\",\n \"encryptedSecurityCode\" : \"test_737\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + ] }, { "name": "Tokenize card details for one-off payments, using encrypted card details", "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"encryptedCardNumber\" : \"adyenjs_0_1_18$MT6ppy0FAMVMLH...\",\n \"encryptedExpiryMonth\" : \"adyenjs_0_1_18$MT6ppy0FAMVMLH...\",\n \"encryptedExpiryYear\" : \"adyenjs_0_1_18$MT6ppy0FAMVMLH...\",\n \"encryptedSecurityCode\" : \"adyenjs_0_1_18$MT6ppy0FAMVMLH...\"\n },\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"encryptedCardNumber\" : \"adyenjs_0_1_18$MT6ppy0FAMVMLH...\",\n \"encryptedExpiryMonth\" : \"adyenjs_0_1_18$MT6ppy0FAMVMLH...\",\n \"encryptedExpiryYear\" : \"adyenjs_0_1_18$MT6ppy0FAMVMLH...\",\n \"encryptedSecurityCode\" : \"adyenjs_0_1_18$MT6ppy0FAMVMLH...\"\n },\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + ] }, { "name": "Tokenize card details for one-off payments", "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 + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4111111111111111\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\",\n \"cvc\" : \"737\"\n },\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"storePaymentMethod\" : true,\n \"shopperInteraction\" : \"Ecommerce\",\n \"recurringProcessingModel\" : \"CardOnFile\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"additionalData\" : {\n \"cvcResult\" : \"1 Matches\",\n \"authCode\" : \"022966\",\n \"avsResult\" : \"4 AVS not supported for this card type\",\n \"recurring.recurringDetailReference\" : \"9916178934434753\",\n \"recurringProcessingModel\" : \"CardOnFile\",\n \"avsResultRaw\" : \"4\",\n \"cvcResultRaw\" : \"M\",\n \"refusalReasonRaw\" : \"AUTHORISED\",\n \"recurring.shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID\",\n \"acquirerCode\" : \"TestPmmAcquirer\",\n \"acquirerReference\" : \"8PQMP9T0BB6\"\n },\n \"pspReference\" : \"993617894947495G\",\n \"resultCode\" : \"Authorised\"\n}", + "originalRequest": { + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4111111111111111\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\",\n \"cvc\" : \"737\"\n },\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"storePaymentMethod\" : true,\n \"shopperInteraction\" : \"Ecommerce\",\n \"recurringProcessingModel\" : \"CardOnFile\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4111111111111111\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\",\n \"cvc\" : \"737\"\n },\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"storePaymentMethod\" : true,\n \"shopperInteraction\" : \"Ecommerce\",\n \"recurringProcessingModel\" : \"CardOnFile\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + ] }, { "name": "Make a Google Pay payment", "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"paywithgoogle\",\n \"googlePayToken\" : \"==Payload as retrieved from Google Pay response==\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"YourMerchantAccount\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"paywithgoogle\",\n \"googlePayToken\" : \"==Payload as retrieved from Google Pay response==\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"YourMerchantAccount\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + ] }, { "name": "Make an iDEAL payment", "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 + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"ideal\",\n \"issuer\" : \"1121\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"resultCode\" : \"RedirectShopper\",\n \"details\" : [ {\n \"key\" : \"payload\",\n \"type\" : \"text\"\n } ],\n \"paymentData\" : \"Ab02b4c0!BQABAgBOBkMn4vBx6T3DgxR+OR/a1zEA0xbGaYKP9mh/vWDSADlyktW39HZckwcm4Wr9kw2TvE9SYngEf9f6kZb1OimKls3+HEn3dRGOrTbWZZ8/tpmlS62YoDh1eQIE3EHZsUm7CQxhXjm8F0HQCelzIkVgj8DpLgtxwM3nFZxfpzl91HSt9CP/GIsx8S/RPVG2Fwg2S/jtdQ4MlFeG89S+icDvTecTyGoYFZlS/KL77Q4zJCR8Vgn4M9DJZEGRxv6kApLwDMkMyUMQngN95xDSCdLSW7fKkVusSub2+2hB7rzWxtj1E8R9dbtkCxgTe0F/G7tqrzUfEmseiHoKmaF6F8bN0j6BZiFhQJ/KHXJ6Pb+a7f0qYbQCAZmwYmeSSfNzqIDehyufpL0bP3w38spuso3QlhtPIqSHrIHDIQzbYmxPtt/I6A/RCMXJ7VN4nB6JigEygV383lnr8wd7mEynOQXnq9zEF+GGJy0Ool05WEy8L/mATgg++6bpsuSB2Wea5/VffvG6KcMyzs7OBG9zLAdYcrfqlsyXz/42UBJTeA2s6kVb1sBUfd6CQuQRF+37sjMwKiNIxwVaNWIYZMiWhbqPXOS4ozt0kNCtruhHqHgULPfF6aia/BnZKib6n+pBSepTdS47wZ31xC8VPqsoPia8RGNziLO/MmSMpW2fQRdgrhCrSniHb8qrh0vwgbPB4S7vAEp7ImtleSI6IkFGMEFBQTEwM0NBNTM3RUFFRDg3QzI0REQ1MzkwOUI4MEE3OEE5MjNFMzgyM0Q2OERBQ0M5NEI5RkY4MzA1REMifTMy2HjS+Bb81E9m0fQAZJXCA1BJgLgstBw3wxbdpZevF8c+pSBGUYNUm9ZbwrD93dGdCU2RvlI1gcyKke0cEEqKGjqWFXOWIYkSNzfLrgP3ERdp5t9VGZi6BDQko2CFzP4uAR3jwgR3AP0/mQ/4YWDrBrnYZCWjOpo7izGhNbHYvWbBOqVDvnfReoCrSNSLSo8OfSxuFrN6sJLXrajGu1qbPqQtxFIRyqLgbOfHLHw/DN3I+BZKGrNYynRfM2NparXTQ6ZRgC8E5xIodApr4JHMNeiPTjMlReaLBQwbcqaBzzRNLdV0v8/ZSXexS68WBeUMt7OkomYJBFrpwmpzgx/nzRzV87MZ9TGhZht/1zjcyaSi0Toc6r7UhbADuDX5RH5L0T8Q3iGJfjrYuS5h9aiYSg8oaVJ5DZhJAicDbb8eLvdAGXFTIV+EXbD+4e9Xl+c5um4FdKfufcrrUEo2s6lUuSBSJ3Gf6r+yJMxkamWwfnRUtxt+axRcXfmywYqU7O1r0zzW+RKCbV2qZeUWWeN1u5UIPdJbQbH4633ukPp//aGh8R4IWckBp7DGH4M5P1ZiYJB8OQRS5gD/y+iuwensnq1rKFBOK4gFNSpKmuDQYLeWb5VljHgE1sS4DRhl0fl8UCabehP+3tZu/2i88JTWbdUuvPLmkyv8zQdY36YeSDWmwC40vvbB+lo2e8MgVpfDwn+xyQFpFhasbEyr4VVoPwHq1sGR/QEutxmeoJi1Zux48jSHoGOj5RZ4ei+b8Lxp4rj45wwm0AiROghLnZJZfJaySp/LVxQ=\",\n \"redirect\" : {\n \"method\" : \"GET\",\n \"url\" : \"https://test.adyen.com/hpp/checkout.shtml?u=redirectIdeal&p=eJxtUl1vozAQ-DXwFmQDAfLgh4jSC730Q1yoqr5Urr0NXIlNbUPj-PozXC6qqpOstTWz2p3Z9auigueSA2k50M5ng1IgmJ2hoq78VusBVMkJxiH2D6BYQ4VZMyYHYcgOtLk9YxeyFAb2ippWisDYHki*KfKf9-Xu5UdxV1Rl-t-MEZR2N4nRha7gDSY1QLRRrdh-IcygxBU1lKxWOMFptopXcZZEyc0l51e7J9XdcHpeDTxC4edG1pFF5WMHnw95FtHf3N5z1MWqipKjF17XXnTl99QewNk7zO4wQshXoOtqSxpjei9au0R3Oslo10htHJKhDDmINcDe5WB0I-selEM0qLFloN3z4W-ZUjB5cD4q4K0CZhwz4n-lzjm3YBrJvej626iduq-D9sJEzUNw2hw1qXONlpPA5STRBSsHtXANeyps4O4ZDILA16CnST-SruWtsSREIV6geIGyHU6cI7x0Ic6e-bOXaUuKsmlLpHCFJmXg6-dWzL*kH16DMQzOi0iTNE1xFsXBqRyfot1NwrPRFmGzPr4w3jTHGpX16S3*2H4Um22xB8u5-ANWgt0s\"\n }\n}", + "originalRequest": { + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"ideal\",\n \"issuer\" : \"1121\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"ideal\",\n \"issuer\" : \"1121\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + ] }, { "name": "Make a Klarna payment", "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 \"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" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + "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 \"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" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + ] }, { "name": "Make a one-off payment with a token and CVV", "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"storedPaymentMethodId\" : \"8416038790273850\",\n \"cvc\" : \"737\"\n },\n \"shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID_6738oneoff\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"storedPaymentMethodId\" : \"8416038790273850\",\n \"cvc\" : \"737\"\n },\n \"shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID_6738oneoff\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + ] }, { "name": "Make a one-off payment with a token and CVV, using encrypted card details", "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"recurringDetailReference\" : \"8416038790273850\",\n \"encryptedSecurityCode\" : \"adyenjs_0_1_18$MT6ppy0FAMVMLH...\"\n },\n \"shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID_6738oneoff\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"recurringDetailReference\" : \"8416038790273850\",\n \"encryptedSecurityCode\" : \"adyenjs_0_1_18$MT6ppy0FAMVMLH...\"\n },\n \"shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID_6738oneoff\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + ] }, { "name": "Make a card payment with a token", "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"storedPaymentMethodId\" : \"8316038796685850\"\n },\n \"shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID_IOfW3subscription\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"shopperInteraction\" : \"ContAuth\",\n \"recurringProcessingModel\" : \"Subscription\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"storedPaymentMethodId\" : \"8316038796685850\"\n },\n \"shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID_IOfW3subscription\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"shopperInteraction\" : \"ContAuth\",\n \"recurringProcessingModel\" : \"Subscription\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + ] }, { "name": "Split a payment between balance accounts", "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 + "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 \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4111111111111111\",\n \"cvc\" : \"737\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\"\n },\n \"amount\" : {\n \"value\" : 40000,\n \"currency\" : \"USD\"\n },\n \"reference\" : \"{{$guid}}\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"splits\" : [ {\n \"amount\" : {\n \"value\" : 39600\n },\n \"type\" : \"BalanceAccount\",\n \"account\" : \"BA00000000000000000000001\",\n \"reference\" : \"Your reference for the sale amount\",\n \"description\" : \"Your description for the sale amount\"\n }, {\n \"amount\" : {\n \"value\" : 400\n },\n \"type\" : \"Commission\",\n \"reference\" : \"Your reference for the commission\",\n \"description\" : \"Your description for the commission\"\n }, {\n \"type\" : \"PaymentFee\",\n \"account\" : \"BA00000000000000000000001\",\n \"reference\" : \"Your reference for the fees\",\n \"description\" : \"Your description for the fees\"\n } ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"additionalData\" : {\n \"refusalReasonRaw\" : \"AUTHORISED\",\n \"eci\" : \"N/A\",\n \"acquirerAccountCode\" : \"YOUR_ACQUIRER_ACCOUNT\",\n \"xid\" : \"N/A\",\n \"threeDAuthenticated\" : \"false\",\n \"paymentMethodVariant\" : \"visa\",\n \"issuerBin\" : \"41111111\",\n \"payoutEligible\" : \"Y\",\n \"fraudManualReview\" : \"false\",\n \"threeDOffered\" : \"false\",\n \"threeDOfferedResponse\" : \"N/A\",\n \"authorisationMid\" : \"50\",\n \"fundsAvailability\" : \"I\",\n \"authorisedAmountCurrency\" : \"USD\",\n \"threeDAuthenticatedResponse\" : \"N/A\",\n \"avsResultRaw\" : \"5\",\n \"retry.attempt1.rawResponse\" : \"AUTHORISED\",\n \"paymentMethod\" : \"visa\",\n \"avsResult\" : \"5 No AVS data provided\",\n \"cardSummary\" : \"1111\",\n \"retry.attempt1.avsResultRaw\" : \"5\",\n \"networkTxReference\" : \"777718270854480\",\n \"expiryDate\" : \"3/2030\",\n \"cavvAlgorithm\" : \"N/A\",\n \"cardBin\" : \"411111\",\n \"alias\" : \"8915844059375211\",\n \"cvcResultRaw\" : \"M\",\n \"merchantReference\" : \"YOUR_ORDER_NUMBER\",\n \"acquirerReference\" : \"YOUR_ACQUIRER_REFERENCE\",\n \"cardIssuingCountry\" : \"NL\",\n \"liabilityShift\" : \"false\",\n \"fraudResultType\" : \"GREEN\",\n \"authCode\" : \"035450\",\n \"cardHolderName\" : \"John Smith\",\n \"isCardCommercial\" : \"unknown\",\n \"PaymentAccountReference\" : \"6006491286999921374...\",\n \"retry.attempt1.acquirerAccount\" : \"YOUR_ACQUIRER_ACCOUNT\",\n \"cardIssuingBank\" : \"ISSUING_BANK_CUSTOMER\",\n \"retry.attempt1.acquirer\" : \"YOUR_ACQUIRER_CODE\",\n \"authorisedAmountValue\" : \"40000\",\n \"issuerCountry\" : \"NL\",\n \"cvcResult\" : \"1 Matches\",\n \"retry.attempt1.responseCode\" : \"Approved\",\n \"aliasType\" : \"Default\",\n \"retry.attempt1.shopperInteraction\" : \"Ecommerce\",\n \"cardPaymentMethod\" : \"visa\",\n \"acquirerCode\" : \"YOUR_ACQUIRER_CODE\"\n },\n \"pspReference\" : \"PPKFQ89R6QRXGN82\",\n \"resultCode\" : \"Authorised\",\n \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 40000\n },\n \"donationToken\" : \"81234567890123456...\",\n \"merchantReference\" : \"YOUR_ORDER_NUMBER\"\n}", + "originalRequest": { + "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 \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4111111111111111\",\n \"cvc\" : \"737\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\"\n },\n \"amount\" : {\n \"value\" : 40000,\n \"currency\" : \"USD\"\n },\n \"reference\" : \"{{$guid}}\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"splits\" : [ {\n \"amount\" : {\n \"value\" : 39600\n },\n \"type\" : \"BalanceAccount\",\n \"account\" : \"BA00000000000000000000001\",\n \"reference\" : \"Your reference for the sale amount\",\n \"description\" : \"Your description for the sale amount\"\n }, {\n \"amount\" : {\n \"value\" : 400\n },\n \"type\" : \"Commission\",\n \"reference\" : \"Your reference for the commission\",\n \"description\" : \"Your description for the commission\"\n }, {\n \"type\" : \"PaymentFee\",\n \"account\" : \"BA00000000000000000000001\",\n \"reference\" : \"Your reference for the fees\",\n \"description\" : \"Your description for the fees\"\n } ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4111111111111111\",\n \"cvc\" : \"737\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\"\n },\n \"amount\" : {\n \"value\" : 40000,\n \"currency\" : \"USD\"\n },\n \"reference\" : \"{{$guid}}\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"splits\" : [ {\n \"amount\" : {\n \"value\" : 39600\n },\n \"type\" : \"BalanceAccount\",\n \"account\" : \"BA00000000000000000000001\",\n \"reference\" : \"Your reference for the sale amount\",\n \"description\" : \"Your description for the sale amount\"\n }, {\n \"amount\" : {\n \"value\" : 400\n },\n \"type\" : \"Commission\",\n \"reference\" : \"Your reference for the commission\",\n \"description\" : \"Your description for the commission\"\n }, {\n \"type\" : \"PaymentFee\",\n \"account\" : \"BA00000000000000000000001\",\n \"reference\" : \"Your reference for the fees\",\n \"description\" : \"Your description for the fees\"\n } ]\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + ] }, { "name": "Split a payment in a Classic Platforms integration", "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 \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4111111111111111\",\n \"cvc\" : \"737\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\"\n },\n \"amount\" : {\n \"value\" : 6200,\n \"currency\" : \"EUR\"\n },\n \"reference\" : \"{{$guid}}\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"splits\" : [ {\n \"amount\" : {\n \"value\" : 6000\n },\n \"type\" : \"MarketPlace\",\n \"account\" : \"151272963\",\n \"reference\" : \"6124145\",\n \"description\" : \"Porcelain Doll: Eliza (20cm)\"\n }, {\n \"amount\" : {\n \"value\" : 200\n },\n \"type\" : \"Commission\",\n \"reference\" : \"6124146\"\n } ]\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + "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 \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4111111111111111\",\n \"cvc\" : \"737\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\"\n },\n \"amount\" : {\n \"value\" : 6200,\n \"currency\" : \"EUR\"\n },\n \"reference\" : \"{{$guid}}\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"splits\" : [ {\n \"amount\" : {\n \"value\" : 6000\n },\n \"type\" : \"MarketPlace\",\n \"account\" : \"151272963\",\n \"reference\" : \"6124145\",\n \"description\" : \"Porcelain Doll: Eliza (20cm)\"\n }, {\n \"amount\" : {\n \"value\" : 200\n },\n \"type\" : \"Commission\",\n \"reference\" : \"6124146\"\n } ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + ] }, { "name": "Tokenize card details for a subscription", "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 + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4111111111111111\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\",\n \"cvc\" : \"737\"\n },\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"storePaymentMethod\" : true,\n \"shopperInteraction\" : \"Ecommerce\",\n \"recurringProcessingModel\" : \"Subscription\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"additionalData\" : {\n \"cvcResult\" : \"1 Matches\",\n \"authCode\" : \"004908\",\n \"avsResult\" : \"4 AVS not supported for this card type\",\n \"recurring.recurringDetailReference\" : \"9916178934434753\",\n \"recurringProcessingModel\" : \"Subscription\",\n \"avsResultRaw\" : \"4\",\n \"cvcResultRaw\" : \"M\",\n \"refusalReasonRaw\" : \"AUTHORISED\",\n \"recurring.shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID\",\n \"acquirerCode\" : \"TestPmmAcquirer\",\n \"acquirerReference\" : \"8PQMP9UV722\"\n },\n \"pspReference\" : \"993617895153552A\",\n \"resultCode\" : \"Authorised\",\n \"merchantReference\" : \"string\"\n}", + "originalRequest": { + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4111111111111111\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\",\n \"cvc\" : \"737\"\n },\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"storePaymentMethod\" : true,\n \"shopperInteraction\" : \"Ecommerce\",\n \"recurringProcessingModel\" : \"Subscription\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4111111111111111\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\",\n \"cvc\" : \"737\"\n },\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"storePaymentMethod\" : true,\n \"shopperInteraction\" : \"Ecommerce\",\n \"recurringProcessingModel\" : \"Subscription\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + ] } ] - } -, + }, { "name": "/payments/details", "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. ", @@ -2261,206 +4078,213 @@ { "name": "Submit details for the 3D Secure payment ", "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 \"MD\" : \"Ab02b4c0!BQABAgCW5sxB4e/==...\",\n \"PaRes\" : \"eNrNV0mTo7gS...\"\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. " - } + "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 \"MD\" : \"Ab02b4c0!BQABAgCW5sxB4e/==...\",\n \"PaRes\" : \"eNrNV0mTo7gS...\"\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. " +} + ,"response": [ + ] }, { "name": "Submit 3D Secure 2 callenge flow result", "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 \"details\" : {\n \"threeds2.challengeResult\" : \"eyJ0cmFuc1N0YXR1cyI6IlkifQ==\"\n },\n \"paymentData\" : \"YOUR_PAYMENT_DATA\"\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. " - } + "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 \"details\" : {\n \"threeds2.challengeResult\" : \"eyJ0cmFuc1N0YXR1cyI6IlkifQ==\"\n },\n \"paymentData\" : \"YOUR_PAYMENT_DATA\"\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. " +} + ,"response": [ + ] }, { "name": "Submit 3D Secure 2 device fingerprinting result", "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 \"details\" : {\n \"threeds2.fingerprint\" : \"eyJ0aHJlZURTQ29tcEluZCI6ICJZIn0=\"\n },\n \"paymentData\" : \"YOUR_PAYMENT_DATA...\"\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. " - } + "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 \"details\" : {\n \"threeds2.fingerprint\" : \"eyJ0aHJlZURTQ29tcEluZCI6ICJZIn0=\"\n },\n \"paymentData\" : \"YOUR_PAYMENT_DATA...\"\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. " +} + ,"response": [ + ] }, { "name": "Submit the redirect result", "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\" : \"Ab02b4c0!BQABAgCJN1wRZuGJmq8dMncmypvknj9s7l5Tj...\",\n \"details\" : {\n \"redirectResult\" : \"X6XtfGC3!Y...\"\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. " - } + "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\" : \"Ab02b4c0!BQABAgCJN1wRZuGJmq8dMncmypvknj9s7l5Tj...\",\n \"details\" : {\n \"redirectResult\" : \"X6XtfGC3!Y...\"\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. " +} + ,"response": [ + ] } ] } - ] }, { @@ -2473,55 +4297,113 @@ { "name": "Create a payment link", "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 + "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 \"reference\" : \"{{$guid}}\",\n \"amount\" : {\n \"value\" : 1250,\n \"currency\" : \"BRL\"\n },\n \"countryCode\" : \"BR\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"shopperEmail\" : \"test@email.com\",\n \"shopperLocale\" : \"pt-BR\",\n \"billingAddress\" : {\n \"street\" : \"Roque Petroni Jr\",\n \"postalCode\" : \"59000060\",\n \"city\" : \"São Paulo\",\n \"houseNumberOrName\" : \"999\",\n \"country\" : \"BR\",\n \"stateOrProvince\" : \"SP\"\n },\n \"deliveryAddress\" : {\n \"street\" : \"Roque Petroni Jr\",\n \"postalCode\" : \"59000060\",\n \"city\" : \"São Paulo\",\n \"houseNumberOrName\" : \"999\",\n \"country\" : \"BR\",\n \"stateOrProvince\" : \"SP\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentLinks", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentLinks" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates a payment link to our hosted payment form where shoppers can pay. The list of payment methods presented to the shopper depends on the `currency` and `country` parameters sent in the request. For more information, refer to [Pay by Link documentation](https://docs.adyen.com/online-payments/pay-by-link#create-payment-links-through-api)." +} + ,"response": [ + {"name": "Created - the request has succeeded.", + "code": 201, + "status": "Created", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"amount\" : {\n \"currency\" : \"BRL\",\n \"value\" : 1250\n },\n \"billingAddress\" : {\n \"city\" : \"São Paulo\",\n \"country\" : \"BR\",\n \"houseNumberOrName\" : \"999\",\n \"postalCode\" : \"59000060\",\n \"stateOrProvince\" : \"SP\",\n \"street\" : \"Roque Petroni Jr\"\n },\n \"countryCode\" : \"BR\",\n \"deliveryAddress\" : {\n \"city\" : \"São Paulo\",\n \"country\" : \"BR\",\n \"houseNumberOrName\" : \"999\",\n \"postalCode\" : \"59000060\",\n \"stateOrProvince\" : \"SP\",\n \"street\" : \"Roque Petroni Jr\"\n },\n \"expiresAt\" : \"2022-10-28T09:16:22Z\",\n \"merchantAccount\" : \"YOUR_MERCHANT_ACCOUNT\",\n \"reference\" : \"YOUR_ORDER_NUMBER\",\n \"reusable\" : false,\n \"shopperEmail\" : \"test@email.com\",\n \"shopperLocale\" : \"pt-BR\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"id\" : \"PLE83C39B0A0DE0C1E\",\n \"status\" : \"active\",\n \"url\" : \"https://test.adyen.link/PLE83C39B0A0DE0C1E\"\n}", + "originalRequest": { + "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 \"reference\" : \"{{$guid}}\",\n \"amount\" : {\n \"value\" : 1250,\n \"currency\" : \"BRL\"\n },\n \"countryCode\" : \"BR\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"shopperEmail\" : \"test@email.com\",\n \"shopperLocale\" : \"pt-BR\",\n \"billingAddress\" : {\n \"street\" : \"Roque Petroni Jr\",\n \"postalCode\" : \"59000060\",\n \"city\" : \"São Paulo\",\n \"houseNumberOrName\" : \"999\",\n \"country\" : \"BR\",\n \"stateOrProvince\" : \"SP\"\n },\n \"deliveryAddress\" : {\n \"street\" : \"Roque Petroni Jr\",\n \"postalCode\" : \"59000060\",\n \"city\" : \"São Paulo\",\n \"houseNumberOrName\" : \"999\",\n \"country\" : \"BR\",\n \"stateOrProvince\" : \"SP\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentLinks", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentLinks" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates a payment link to our hosted payment form where shoppers can pay. The list of payment methods presented to the shopper depends on the `currency` and `country` parameters sent in the request. For more information, refer to [Pay by Link documentation](https://docs.adyen.com/online-payments/pay-by-link#create-payment-links-through-api)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"reference\" : \"{{$guid}}\",\n \"amount\" : {\n \"value\" : 1250,\n \"currency\" : \"BRL\"\n },\n \"countryCode\" : \"BR\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"shopperEmail\" : \"test@email.com\",\n \"shopperLocale\" : \"pt-BR\",\n \"billingAddress\" : {\n \"street\" : \"Roque Petroni Jr\",\n \"postalCode\" : \"59000060\",\n \"city\" : \"São Paulo\",\n \"houseNumberOrName\" : \"999\",\n \"country\" : \"BR\",\n \"stateOrProvince\" : \"SP\"\n },\n \"deliveryAddress\" : {\n \"street\" : \"Roque Petroni Jr\",\n \"postalCode\" : \"59000060\",\n \"city\" : \"São Paulo\",\n \"houseNumberOrName\" : \"999\",\n \"country\" : \"BR\",\n \"stateOrProvince\" : \"SP\"\n }\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentLinks", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentLinks" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Creates a payment link to our hosted payment form where shoppers can pay. The list of payment methods presented to the shopper depends on the `currency` and `country` parameters sent in the request. For more information, refer to [Pay by Link documentation](https://docs.adyen.com/online-payments/pay-by-link#create-payment-links-through-api)." - } + ] } ] - } -, + }, { "name": "/paymentLinks/:linkId", "description": "Retrieves the payment link details using the payment link `id`.", @@ -2529,49 +4411,50 @@ { "name": "Get a payment link", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentLinks/:linkId", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentLinks", - ":linkId" - ], - "variable": [ - { - "key": "linkId", - "value": "", - "description": "Unique identifier of the payment link." - } - ], - "query": [ - ] - }, - "description": "Retrieves the payment link details using the payment link `id`." - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentLinks/:linkId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentLinks", + ":linkId" + ], + "variable": [ + { + "key": "linkId", + "value": "", + "description": "Unique identifier of the payment link." + } + ], + "query": [ + ] + }, + "description": "Retrieves the payment link details using the payment link `id`." +} + ,"response": [ + ] } ] - } -, + }, { "name": "/paymentLinks/:linkId", "description": "Updates the status of a payment link. Use this endpoint to [force the expiry of a payment link](https://docs.adyen.com/online-payments/pay-by-link#update-payment-link-status).", @@ -2579,55 +4462,113 @@ { "name": "Update the status of a payment link", "request": { - "method": "PATCH", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"status\" : \"expired\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentLinks/:linkId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentLinks", + ":linkId" + ], + "variable": [ + { + "key": "linkId", + "value": "", + "description": "Unique identifier of the payment link." + } + ], + "query": [ + ] + }, + "description": "Updates the status of a payment link. Use this endpoint to [force the expiry of a payment link](https://docs.adyen.com/online-payments/pay-by-link#update-payment-link-status)." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 8700\n },\n \"countryCode\" : \"NL\",\n \"expiresAt\" : \"2021-04-08T14:06:39Z\",\n \"merchantAccount\" : \"YOUR_MERCHANT_ACCOUNT\",\n \"reference\" : \"shopper-reference-ekvL83\",\n \"shopperLocale\" : \"hu-HU\",\n \"shopperReference\" : \"shopper-reference-LZfdWZ\",\n \"status\" : \"expired\",\n \"url\" : \"https://test.adyen.link/PL61C53A8B97E6915A\",\n \"id\" : \"PL61C53A8B97E6915A\"\n}", + "originalRequest": { + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"status\" : \"expired\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentLinks/:linkId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentLinks", + ":linkId" + ], + "variable": [ + { + "key": "linkId", + "value": "", + "description": "Unique identifier of the payment link." + } + ], + "query": [ + ] + }, + "description": "Updates the status of a payment link. Use this endpoint to [force the expiry of a payment link](https://docs.adyen.com/online-payments/pay-by-link#update-payment-link-status)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"status\" : \"expired\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentLinks/:linkId", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentLinks", - ":linkId" - ], - "variable": [ - { - "key": "linkId", - "value": "", - "description": "Unique identifier of the payment link." - } - ], - "query": [ - ] - }, - "description": "Updates the status of a payment link. Use this endpoint to [force the expiry of a payment link](https://docs.adyen.com/online-payments/pay-by-link#update-payment-link-status)." - } + ] } ] } - ] } ], diff --git a/postman/CheckoutService-v53.json b/postman/CheckoutService-v53.json index 5938126..1ed4519 100644 --- a/postman/CheckoutService-v53.json +++ b/postman/CheckoutService-v53.json @@ -19,55 +19,113 @@ { "name": "Cancel a payment using your own reference", "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 + "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 \"paymentReference\" : \"YOUR_UNIQUE_REFERENCE_FOR_THE_PAYMENT\",\n \"reference\" : \"YOUR_UNIQUE_REFERENCE_FOR_THE_CANCELLATION\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/cancels", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "cancels" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Cancels the authorisation on a payment that has not yet been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/captures), and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**TECHNICAL_CANCEL** webhook](https://docs.adyen.com/online-payments/cancel#cancellation-webhook). If you want to cancel a payment using the [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference), use the [`/payments/{paymentPspReference}/cancels`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/cancels) endpoint instead. If you want to cancel a payment but are not sure whether it has been captured, use the [`/payments/{paymentPspReference}/reversals`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/reversals) endpoint instead. For more information, refer to [Cancel](https://docs.adyen.com/online-payments/cancel)." +} + ,"response": [ + {"name": "Created - the request has been fulfilled and has resulted in one or more new resources being created.", + "code": 201, + "status": "Created", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"merchantAccount\" : \"YOUR_MERCHANT_ACCOUNT\",\n \"paymentReference\" : \"YOUR_UNIQUE_REFERENCE_FOR_THE_PAYMENT\",\n \"reference\" : \"YOUR_UNIQUE_REFERENCE_FOR_THE_CANCELLATION\",\n \"pspReference\" : \"993617894906488A\",\n \"status\" : \"received\"\n}", + "originalRequest": { + "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 \"paymentReference\" : \"YOUR_UNIQUE_REFERENCE_FOR_THE_PAYMENT\",\n \"reference\" : \"YOUR_UNIQUE_REFERENCE_FOR_THE_CANCELLATION\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/cancels", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "cancels" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Cancels the authorisation on a payment that has not yet been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/captures), and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**TECHNICAL_CANCEL** webhook](https://docs.adyen.com/online-payments/cancel#cancellation-webhook). If you want to cancel a payment using the [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference), use the [`/payments/{paymentPspReference}/cancels`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/cancels) endpoint instead. If you want to cancel a payment but are not sure whether it has been captured, use the [`/payments/{paymentPspReference}/reversals`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/reversals) endpoint instead. For more information, refer to [Cancel](https://docs.adyen.com/online-payments/cancel)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"paymentReference\" : \"YOUR_UNIQUE_REFERENCE_FOR_THE_PAYMENT\",\n \"reference\" : \"YOUR_UNIQUE_REFERENCE_FOR_THE_CANCELLATION\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/cancels", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "cancels" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Cancels the authorisation on a payment that has not yet been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/captures), and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**TECHNICAL_CANCEL** webhook](https://docs.adyen.com/online-payments/cancel#cancellation-webhook). If you want to cancel a payment using the [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference), use the [`/payments/{paymentPspReference}/cancels`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/cancels) endpoint instead. If you want to cancel a payment but are not sure whether it has been captured, use the [`/payments/{paymentPspReference}/reversals`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/reversals) endpoint instead. For more information, refer to [Cancel](https://docs.adyen.com/online-payments/cancel)." - } + ] } ] - } -, + }, { "name": "/payments/:paymentPspReference/amountUpdates", "description": "Increases or decreases the authorised payment amount and returns a unique reference for this request. You get the outcome of the request asynchronously, in an [**AUTHORISATION_ADJUSTMENT** webhook](https://docs.adyen.com/development-resources/webhooks/understand-notifications#event-codes). You can only update authorised amounts that have not yet been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/captures). The amount you specify in the request is the updated amount, which is larger or smaller than the initial authorised amount. For more information, refer to [Authorisation adjustment](https://docs.adyen.com/online-payments/adjust-authorisation#use-cases).", @@ -75,62 +133,127 @@ { "name": "Update the amount of an authorised payment", "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 + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 2500\n },\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments/:paymentPspReference/amountUpdates", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments", + ":paymentPspReference", + "amountUpdates" + ], + "variable": [ + { + "key": "paymentPspReference", + "value": "", + "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment." + } + ], + "query": [ + ] + }, + "description": "Increases or decreases the authorised payment amount and returns a unique reference for this request. You get the outcome of the request asynchronously, in an [**AUTHORISATION_ADJUSTMENT** webhook](https://docs.adyen.com/development-resources/webhooks/understand-notifications#event-codes). You can only update authorised amounts that have not yet been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/captures). The amount you specify in the request is the updated amount, which is larger or smaller than the initial authorised amount. For more information, refer to [Authorisation adjustment](https://docs.adyen.com/online-payments/adjust-authorisation#use-cases)." +} + ,"response": [ + {"name": "Created - the request has been fulfilled and has resulted in one or more new resources being created.", + "code": 201, + "status": "Created", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"merchantAccount\" : \"YOUR_MERCHANT_ACCOUNT\",\n \"paymentPspReference\" : \"993617894903480A\",\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"pspReference\" : \"993617894906488A\",\n \"status\" : \"received\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 2500\n }\n}", + "originalRequest": { + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 2500\n },\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments/:paymentPspReference/amountUpdates", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments", + ":paymentPspReference", + "amountUpdates" + ], + "variable": [ + { + "key": "paymentPspReference", + "value": "", + "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment." + } + ], + "query": [ + ] + }, + "description": "Increases or decreases the authorised payment amount and returns a unique reference for this request. You get the outcome of the request asynchronously, in an [**AUTHORISATION_ADJUSTMENT** webhook](https://docs.adyen.com/development-resources/webhooks/understand-notifications#event-codes). You can only update authorised amounts that have not yet been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/captures). The amount you specify in the request is the updated amount, which is larger or smaller than the initial authorised amount. For more information, refer to [Authorisation adjustment](https://docs.adyen.com/online-payments/adjust-authorisation#use-cases)." +} } - ], - "body": { - "mode": "raw", - "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" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments/:paymentPspReference/amountUpdates", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments", - ":paymentPspReference", - "amountUpdates" - ], - "variable": [ - { - "key": "paymentPspReference", - "value": "", - "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment." - } - ], - "query": [ - ] - }, - "description": "Increases or decreases the authorised payment amount and returns a unique reference for this request. You get the outcome of the request asynchronously, in an [**AUTHORISATION_ADJUSTMENT** webhook](https://docs.adyen.com/development-resources/webhooks/understand-notifications#event-codes). You can only update authorised amounts that have not yet been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/captures). The amount you specify in the request is the updated amount, which is larger or smaller than the initial authorised amount. For more information, refer to [Authorisation adjustment](https://docs.adyen.com/online-payments/adjust-authorisation#use-cases)." - } + ] } ] - } -, + }, { "name": "/payments/:paymentPspReference/cancels", "description": "Cancels the authorisation on a payment that has not yet been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/paymentPspReference/captures), and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CANCELLATION** webhook](https://docs.adyen.com/online-payments/cancel#cancellation-webhook). If you want to cancel a payment but don't have the [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference), use the [`/cancels`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cancels) endpoint instead. If you want to cancel a payment but are not sure whether it has been captured, use the [`/payments/{paymentPspReference}/reversals`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/reversals) endpoint instead. For more information, refer to [Cancel](https://docs.adyen.com/online-payments/cancel).", @@ -138,62 +261,127 @@ { "name": "Cancel payment using a PSP reference", "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 + "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 \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments/:paymentPspReference/cancels", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments", + ":paymentPspReference", + "cancels" + ], + "variable": [ + { + "key": "paymentPspReference", + "value": "", + "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to cancel. " + } + ], + "query": [ + ] + }, + "description": "Cancels the authorisation on a payment that has not yet been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/paymentPspReference/captures), and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CANCELLATION** webhook](https://docs.adyen.com/online-payments/cancel#cancellation-webhook). If you want to cancel a payment but don't have the [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference), use the [`/cancels`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cancels) endpoint instead. If you want to cancel a payment but are not sure whether it has been captured, use the [`/payments/{paymentPspReference}/reversals`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/reversals) endpoint instead. For more information, refer to [Cancel](https://docs.adyen.com/online-payments/cancel)." +} + ,"response": [ + {"name": "Created - the request has been fulfilled and has resulted in one or more new resources being created.", + "code": 201, + "status": "Created", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"merchantAccount\" : \"YOUR_MERCHANT_ACCOUNT\",\n \"paymentPspReference\" : \"993617894903480A\",\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"pspReference\" : \"993617894906488A\",\n \"status\" : \"received\"\n}", + "originalRequest": { + "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 \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments/:paymentPspReference/cancels", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments", + ":paymentPspReference", + "cancels" + ], + "variable": [ + { + "key": "paymentPspReference", + "value": "", + "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to cancel. " + } + ], + "query": [ + ] + }, + "description": "Cancels the authorisation on a payment that has not yet been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/paymentPspReference/captures), and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CANCELLATION** webhook](https://docs.adyen.com/online-payments/cancel#cancellation-webhook). If you want to cancel a payment but don't have the [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference), use the [`/cancels`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cancels) endpoint instead. If you want to cancel a payment but are not sure whether it has been captured, use the [`/payments/{paymentPspReference}/reversals`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/reversals) endpoint instead. For more information, refer to [Cancel](https://docs.adyen.com/online-payments/cancel)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments/:paymentPspReference/cancels", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments", - ":paymentPspReference", - "cancels" - ], - "variable": [ - { - "key": "paymentPspReference", - "value": "", - "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to cancel. " - } - ], - "query": [ - ] - }, - "description": "Cancels the authorisation on a payment that has not yet been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/paymentPspReference/captures), and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CANCELLATION** webhook](https://docs.adyen.com/online-payments/cancel#cancellation-webhook). If you want to cancel a payment but don't have the [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference), use the [`/cancels`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cancels) endpoint instead. If you want to cancel a payment but are not sure whether it has been captured, use the [`/payments/{paymentPspReference}/reversals`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/reversals) endpoint instead. For more information, refer to [Cancel](https://docs.adyen.com/online-payments/cancel)." - } + ] } ] - } -, + }, { "name": "/payments/:paymentPspReference/captures", "description": " Captures an authorised payment and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CAPTURE** webhook](https://docs.adyen.com/online-payments/capture#capture-notification). You can capture either the full authorised amount or a part of the authorised amount. By default, any unclaimed amount after a partial capture gets cancelled. This does not apply if you enabled multiple partial captures on your account and the payment method supports multiple partial captures. [Automatic capture](https://docs.adyen.com/online-payments/capture#automatic-capture) is the default setting for most payment methods. In these cases, you don't need to make capture requests. However, making capture requests for payments that are captured automatically does not result in double charges. For more information, refer to [Capture](https://docs.adyen.com/online-payments/capture).", @@ -201,62 +389,127 @@ { "name": "Capture an authorised payment", "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 + "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 \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"amount\" : {\n \"value\" : 2000,\n \"currency\" : \"EUR\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments/:paymentPspReference/captures", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments", + ":paymentPspReference", + "captures" + ], + "variable": [ + { + "key": "paymentPspReference", + "value": "", + "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to capture." + } + ], + "query": [ + ] + }, + "description": " Captures an authorised payment and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CAPTURE** webhook](https://docs.adyen.com/online-payments/capture#capture-notification). You can capture either the full authorised amount or a part of the authorised amount. By default, any unclaimed amount after a partial capture gets cancelled. This does not apply if you enabled multiple partial captures on your account and the payment method supports multiple partial captures. [Automatic capture](https://docs.adyen.com/online-payments/capture#automatic-capture) is the default setting for most payment methods. In these cases, you don't need to make capture requests. However, making capture requests for payments that are captured automatically does not result in double charges. For more information, refer to [Capture](https://docs.adyen.com/online-payments/capture)." +} + ,"response": [ + {"name": "Created - the request has been fulfilled and has resulted in one or more new resources being created.", + "code": 201, + "status": "Created", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"merchantAccount\" : \"YOUR_MERCHANT_ACCOUNT\",\n \"paymentPspReference\" : \"993617894903480A\",\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"pspReference\" : \"993617894906488A\",\n \"status\" : \"received\",\n \"amount\" : {\n \"value\" : 2000,\n \"currency\" : \"EUR\"\n }\n}", + "originalRequest": { + "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 \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"amount\" : {\n \"value\" : 2000,\n \"currency\" : \"EUR\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments/:paymentPspReference/captures", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments", + ":paymentPspReference", + "captures" + ], + "variable": [ + { + "key": "paymentPspReference", + "value": "", + "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to capture." + } + ], + "query": [ + ] + }, + "description": " Captures an authorised payment and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CAPTURE** webhook](https://docs.adyen.com/online-payments/capture#capture-notification). You can capture either the full authorised amount or a part of the authorised amount. By default, any unclaimed amount after a partial capture gets cancelled. This does not apply if you enabled multiple partial captures on your account and the payment method supports multiple partial captures. [Automatic capture](https://docs.adyen.com/online-payments/capture#automatic-capture) is the default setting for most payment methods. In these cases, you don't need to make capture requests. However, making capture requests for payments that are captured automatically does not result in double charges. For more information, refer to [Capture](https://docs.adyen.com/online-payments/capture)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"amount\" : {\n \"value\" : 2000,\n \"currency\" : \"EUR\"\n }\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments/:paymentPspReference/captures", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments", - ":paymentPspReference", - "captures" - ], - "variable": [ - { - "key": "paymentPspReference", - "value": "", - "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to capture." - } - ], - "query": [ - ] - }, - "description": " Captures an authorised payment and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CAPTURE** webhook](https://docs.adyen.com/online-payments/capture#capture-notification). You can capture either the full authorised amount or a part of the authorised amount. By default, any unclaimed amount after a partial capture gets cancelled. This does not apply if you enabled multiple partial captures on your account and the payment method supports multiple partial captures. [Automatic capture](https://docs.adyen.com/online-payments/capture#automatic-capture) is the default setting for most payment methods. In these cases, you don't need to make capture requests. However, making capture requests for payments that are captured automatically does not result in double charges. For more information, refer to [Capture](https://docs.adyen.com/online-payments/capture)." - } + ] } ] - } -, + }, { "name": "/payments/:paymentPspReference/refunds", "description": "Refunds a payment that has been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/captures), and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**REFUND** webhook](https://docs.adyen.com/online-payments/refund#refund-webhook). You can refund either the full captured amount or a part of the captured amount. You can also perform multiple partial refunds, as long as their sum doesn't exceed the captured amount. > Some payment methods do not support partial refunds. To learn if a payment method supports partial refunds, refer to the payment method page such as [cards](https://docs.adyen.com/payment-methods/cards#supported-cards), [iDEAL](https://docs.adyen.com/payment-methods/ideal), or [Klarna](https://docs.adyen.com/payment-methods/klarna). If you want to refund a payment but are not sure whether it has been captured, use the [`/payments/{paymentPspReference}/reversals`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/reversals) endpoint instead. For more information, refer to [Refund](https://docs.adyen.com/online-payments/refund).", @@ -264,62 +517,127 @@ { "name": "Refund a payment", "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 + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 2500\n },\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments/:paymentPspReference/refunds", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments", + ":paymentPspReference", + "refunds" + ], + "variable": [ + { + "key": "paymentPspReference", + "value": "", + "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to refund." + } + ], + "query": [ + ] + }, + "description": "Refunds a payment that has been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/captures), and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**REFUND** webhook](https://docs.adyen.com/online-payments/refund#refund-webhook). You can refund either the full captured amount or a part of the captured amount. You can also perform multiple partial refunds, as long as their sum doesn't exceed the captured amount. > Some payment methods do not support partial refunds. To learn if a payment method supports partial refunds, refer to the payment method page such as [cards](https://docs.adyen.com/payment-methods/cards#supported-cards), [iDEAL](https://docs.adyen.com/payment-methods/ideal), or [Klarna](https://docs.adyen.com/payment-methods/klarna). If you want to refund a payment but are not sure whether it has been captured, use the [`/payments/{paymentPspReference}/reversals`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/reversals) endpoint instead. For more information, refer to [Refund](https://docs.adyen.com/online-payments/refund)." +} + ,"response": [ + {"name": "Created - the request has been fulfilled and has resulted in one or more new resources being created.", + "code": 201, + "status": "Created", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"merchantAccount\" : \"YOUR_MERCHANT_ACCOUNT\",\n \"paymentPspReference\" : \"993617894903480A\",\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"pspReference\" : \"993617894906488A\",\n \"status\" : \"received\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 2500\n }\n}", + "originalRequest": { + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 2500\n },\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments/:paymentPspReference/refunds", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments", + ":paymentPspReference", + "refunds" + ], + "variable": [ + { + "key": "paymentPspReference", + "value": "", + "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to refund." + } + ], + "query": [ + ] + }, + "description": "Refunds a payment that has been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/captures), and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**REFUND** webhook](https://docs.adyen.com/online-payments/refund#refund-webhook). You can refund either the full captured amount or a part of the captured amount. You can also perform multiple partial refunds, as long as their sum doesn't exceed the captured amount. > Some payment methods do not support partial refunds. To learn if a payment method supports partial refunds, refer to the payment method page such as [cards](https://docs.adyen.com/payment-methods/cards#supported-cards), [iDEAL](https://docs.adyen.com/payment-methods/ideal), or [Klarna](https://docs.adyen.com/payment-methods/klarna). If you want to refund a payment but are not sure whether it has been captured, use the [`/payments/{paymentPspReference}/reversals`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/reversals) endpoint instead. For more information, refer to [Refund](https://docs.adyen.com/online-payments/refund)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 2500\n },\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments/:paymentPspReference/refunds", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments", - ":paymentPspReference", - "refunds" - ], - "variable": [ - { - "key": "paymentPspReference", - "value": "", - "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to refund." - } - ], - "query": [ - ] - }, - "description": "Refunds a payment that has been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/captures), and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**REFUND** webhook](https://docs.adyen.com/online-payments/refund#refund-webhook). You can refund either the full captured amount or a part of the captured amount. You can also perform multiple partial refunds, as long as their sum doesn't exceed the captured amount. > Some payment methods do not support partial refunds. To learn if a payment method supports partial refunds, refer to the payment method page such as [cards](https://docs.adyen.com/payment-methods/cards#supported-cards), [iDEAL](https://docs.adyen.com/payment-methods/ideal), or [Klarna](https://docs.adyen.com/payment-methods/klarna). If you want to refund a payment but are not sure whether it has been captured, use the [`/payments/{paymentPspReference}/reversals`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/reversals) endpoint instead. For more information, refer to [Refund](https://docs.adyen.com/online-payments/refund)." - } + ] } ] - } -, + }, { "name": "/payments/:paymentPspReference/reversals", "description": "[Refunds](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/refunds) a payment if it has already been captured, and [cancels](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/cancels) a payment if it has not yet been captured. Returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CANCEL_OR_REFUND** webhook](https://docs.adyen.com/online-payments/reverse#cancel-or-refund-webhook). The reversed amount is always the full payment amount. > Do not use this request for payments that involve multiple partial captures. For more information, refer to [Reversal](https://docs.adyen.com/online-payments/reversal).", @@ -327,62 +645,127 @@ { "name": "Reverse (cancel or refund) a payment", "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 + "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 \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments/:paymentPspReference/reversals", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments", + ":paymentPspReference", + "reversals" + ], + "variable": [ + { + "key": "paymentPspReference", + "value": "", + "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to reverse. " + } + ], + "query": [ + ] + }, + "description": "[Refunds](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/refunds) a payment if it has already been captured, and [cancels](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/cancels) a payment if it has not yet been captured. Returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CANCEL_OR_REFUND** webhook](https://docs.adyen.com/online-payments/reverse#cancel-or-refund-webhook). The reversed amount is always the full payment amount. > Do not use this request for payments that involve multiple partial captures. For more information, refer to [Reversal](https://docs.adyen.com/online-payments/reversal)." +} + ,"response": [ + {"name": "Created - the request has been fulfilled and has resulted in one or more new resources being created.", + "code": 201, + "status": "Created", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"merchantAccount\" : \"YOUR_MERCHANT_ACCOUNT\",\n \"paymentPspReference\" : \"993617894903480A\",\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"pspReference\" : \"993617894906488A\",\n \"status\" : \"received\"\n}", + "originalRequest": { + "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 \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments/:paymentPspReference/reversals", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments", + ":paymentPspReference", + "reversals" + ], + "variable": [ + { + "key": "paymentPspReference", + "value": "", + "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to reverse. " + } + ], + "query": [ + ] + }, + "description": "[Refunds](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/refunds) a payment if it has already been captured, and [cancels](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/cancels) a payment if it has not yet been captured. Returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CANCEL_OR_REFUND** webhook](https://docs.adyen.com/online-payments/reverse#cancel-or-refund-webhook). The reversed amount is always the full payment amount. > Do not use this request for payments that involve multiple partial captures. For more information, refer to [Reversal](https://docs.adyen.com/online-payments/reversal)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments/:paymentPspReference/reversals", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments", - ":paymentPspReference", - "reversals" - ], - "variable": [ - { - "key": "paymentPspReference", - "value": "", - "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to reverse. " - } - ], - "query": [ - ] - }, - "description": "[Refunds](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/refunds) a payment if it has already been captured, and [cancels](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/cancels) a payment if it has not yet been captured. Returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CANCEL_OR_REFUND** webhook](https://docs.adyen.com/online-payments/reverse#cancel-or-refund-webhook). The reversed amount is always the full payment amount. > Do not use this request for payments that involve multiple partial captures. For more information, refer to [Reversal](https://docs.adyen.com/online-payments/reversal)." - } + ] } ] } - ] }, { @@ -395,251 +778,374 @@ { "name": "Set up a payment session (Android)", "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 17408\n },\n \"reference\" : \"Your order number\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"channel\" : \"Android\",\n \"token\" : \"TOKEN_YOU_GET_FROM_CHECKOUT_SDK\",\n \"returnUrl\" : \"app://\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl_NL\",\n \"sessionValidity\" : \"2017-04-06T13:09:13Z\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentSession", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentSession" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Provides the data object that can be used to start the Checkout SDK. To set up the payment, pass its amount, currency, and other required parameters. We use this to optimise the payment flow and perform better risk assessment of the transaction. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." - } + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 17408\n },\n \"reference\" : \"Your order number\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"channel\" : \"Android\",\n \"token\" : \"TOKEN_YOU_GET_FROM_CHECKOUT_SDK\",\n \"returnUrl\" : \"app://\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl_NL\",\n \"sessionValidity\" : \"2017-04-06T13:09:13Z\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentSession", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentSession" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Provides the data object that can be used to start the Checkout SDK. To set up the payment, pass its amount, currency, and other required parameters. We use this to optimise the payment flow and perform better risk assessment of the transaction. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." +} + ,"response": [ + ] }, { "name": "Set up a payment session with the option to store card details", "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 + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 17408\n },\n \"reference\" : \"Your order number\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"enableOneClick\" : true,\n \"enableRecurring\" : true,\n \"channel\" : \"Web\",\n \"origin\" : \"https://www.yourwebsite.com\",\n \"returnUrl\" : \"https://www.yourshop.com/checkout/result\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl_NL\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"sdkVersion\" : \"1.7.0\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentSession", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentSession" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Provides the data object that can be used to start the Checkout SDK. To set up the payment, pass its amount, currency, and other required parameters. We use this to optimise the payment flow and perform better risk assessment of the transaction. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"paymentSession\" : \"eyJjaGVja291dHNob3BwZXJCYXN...\"\n}", + "originalRequest": { + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 17408\n },\n \"reference\" : \"Your order number\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"enableOneClick\" : true,\n \"enableRecurring\" : true,\n \"channel\" : \"Web\",\n \"origin\" : \"https://www.yourwebsite.com\",\n \"returnUrl\" : \"https://www.yourshop.com/checkout/result\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl_NL\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"sdkVersion\" : \"1.7.0\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentSession", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentSession" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Provides the data object that can be used to start the Checkout SDK. To set up the payment, pass its amount, currency, and other required parameters. We use this to optimise the payment flow and perform better risk assessment of the transaction. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 17408\n },\n \"reference\" : \"Your order number\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"enableOneClick\" : true,\n \"enableRecurring\" : true,\n \"channel\" : \"Web\",\n \"origin\" : \"https://www.yourwebsite.com\",\n \"returnUrl\" : \"https://www.yourshop.com/checkout/result\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl_NL\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"sdkVersion\" : \"1.7.0\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentSession", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentSession" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Provides the data object that can be used to start the Checkout SDK. To set up the payment, pass its amount, currency, and other required parameters. We use this to optimise the payment flow and perform better risk assessment of the transaction. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." - } + ] }, { "name": "Set up a payment session (iOS)", "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 17408\n },\n \"reference\" : \"Your order number\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"channel\" : \"iOS\",\n \"token\" : \"TOKEN_YOU_GET_FROM_CHECKOUT_SDK\",\n \"returnUrl\" : \"app://\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl_NL\",\n \"sessionValidity\" : \"2017-04-06T13:09:13Z\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentSession", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentSession" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Provides the data object that can be used to start the Checkout SDK. To set up the payment, pass its amount, currency, and other required parameters. We use this to optimise the payment flow and perform better risk assessment of the transaction. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." - } + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 17408\n },\n \"reference\" : \"Your order number\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"channel\" : \"iOS\",\n \"token\" : \"TOKEN_YOU_GET_FROM_CHECKOUT_SDK\",\n \"returnUrl\" : \"app://\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl_NL\",\n \"sessionValidity\" : \"2017-04-06T13:09:13Z\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentSession", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentSession" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Provides the data object that can be used to start the Checkout SDK. To set up the payment, pass its amount, currency, and other required parameters. We use this to optimise the payment flow and perform better risk assessment of the transaction. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." +} + ,"response": [ + ] }, { "name": "Split a payment between a sub-merchant and a platform account", "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 6200\n },\n \"additionalData\" : {\n \"split.api\" : \"1\",\n \"split.nrOfItems\" : \"2\",\n \"split.totalAmount\" : \"6200\",\n \"split.currencyCode\" : \"EUR\",\n \"split.item1.amount\" : \"6000\",\n \"split.item1.type\" : \"MarketPlace\",\n \"split.item1.account\" : \"151272963\",\n \"split.item1.reference\" : \"6124145\",\n \"split.item1.description\" : \"Porcelain Doll: Eliza (20cm)\",\n \"split.item2.amount\" : \"200\",\n \"split.item2.type\" : \"Commission\",\n \"split.item2.reference\" : \"6124146\"\n },\n \"reference\" : \"Your order number\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"channel\" : \"Android\",\n \"token\" : \"TOKEN_YOU_GET_FROM_CHECKOUT_SDK\",\n \"returnUrl\" : \"app://\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl_NL\",\n \"sessionValidity\" : \"2017-04-06T13:09:13Z\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentSession", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentSession" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Provides the data object that can be used to start the Checkout SDK. To set up the payment, pass its amount, currency, and other required parameters. We use this to optimise the payment flow and perform better risk assessment of the transaction. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." - } + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 6200\n },\n \"additionalData\" : {\n \"split.api\" : \"1\",\n \"split.nrOfItems\" : \"2\",\n \"split.totalAmount\" : \"6200\",\n \"split.currencyCode\" : \"EUR\",\n \"split.item1.amount\" : \"6000\",\n \"split.item1.type\" : \"MarketPlace\",\n \"split.item1.account\" : \"151272963\",\n \"split.item1.reference\" : \"6124145\",\n \"split.item1.description\" : \"Porcelain Doll: Eliza (20cm)\",\n \"split.item2.amount\" : \"200\",\n \"split.item2.type\" : \"Commission\",\n \"split.item2.reference\" : \"6124146\"\n },\n \"reference\" : \"Your order number\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"channel\" : \"Android\",\n \"token\" : \"TOKEN_YOU_GET_FROM_CHECKOUT_SDK\",\n \"returnUrl\" : \"app://\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl_NL\",\n \"sessionValidity\" : \"2017-04-06T13:09:13Z\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentSession", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentSession" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Provides the data object that can be used to start the Checkout SDK. To set up the payment, pass its amount, currency, and other required parameters. We use this to optimise the payment flow and perform better risk assessment of the transaction. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." +} + ,"response": [ + ] }, { "name": "Set up a payment session (Web)", "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 + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 17408\n },\n \"reference\" : \"Your order number\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"channel\" : \"Web\",\n \"origin\" : \"https://www.yourwebsite.com\",\n \"returnUrl\" : \"https://www.yourshop.com/checkout/result\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl_NL\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"sdkVersion\" : \"1.9.5\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentSession", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentSession" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Provides the data object that can be used to start the Checkout SDK. To set up the payment, pass its amount, currency, and other required parameters. We use this to optimise the payment flow and perform better risk assessment of the transaction. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"paymentSession\" : \"eyJjaGVja291dHNob3BwZXJCYXN...\"\n}", + "originalRequest": { + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 17408\n },\n \"reference\" : \"Your order number\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"channel\" : \"Web\",\n \"origin\" : \"https://www.yourwebsite.com\",\n \"returnUrl\" : \"https://www.yourshop.com/checkout/result\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl_NL\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"sdkVersion\" : \"1.9.5\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentSession", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentSession" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Provides the data object that can be used to start the Checkout SDK. To set up the payment, pass its amount, currency, and other required parameters. We use this to optimise the payment flow and perform better risk assessment of the transaction. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 17408\n },\n \"reference\" : \"Your order number\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"channel\" : \"Web\",\n \"origin\" : \"https://www.yourwebsite.com\",\n \"returnUrl\" : \"https://www.yourshop.com/checkout/result\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl_NL\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"sdkVersion\" : \"1.9.5\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentSession", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentSession" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Provides the data object that can be used to start the Checkout SDK. To set up the payment, pass its amount, currency, and other required parameters. We use this to optimise the payment flow and perform better risk assessment of the transaction. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." - } + ] } ] - } -, + }, { "name": "/payments/result (DEPRECATED)", "description": "Verifies the payment result using the payload returned from the Checkout SDK. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks).", @@ -647,56 +1153,115 @@ { "name": "Verify payment results", "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 + "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 \"payload\" : \"VALUE_YOU_GET_FROM_CHECKOUT_SDK\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments/result", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments", + "result" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Verifies the payment result using the payload returned from the Checkout SDK. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"pspReference\" : \"V4HZ4RBFJGXXGN82\",\n \"merchantReference\" : \"Your order number\",\n \"shopperLocale\" : \"nl_NL\",\n \"paymentMethod\" : \"ideal\"\n}", + "originalRequest": { + "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 \"payload\" : \"VALUE_YOU_GET_FROM_CHECKOUT_SDK\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments/result", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments", + "result" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Verifies the payment result using the payload returned from the Checkout SDK. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"payload\" : \"VALUE_YOU_GET_FROM_CHECKOUT_SDK\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments/result", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments", - "result" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Verifies the payment result using the payload returned from the Checkout SDK. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." - } + ] } ] } - ] }, { @@ -709,55 +1274,113 @@ { "name": "Create an order", "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 + "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 \"reference\" : \"YOUR_ORDER_REFERENCE\",\n \"amount\" : {\n \"value\" : 2500,\n \"currency\" : \"EUR\"\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/orders", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "orders" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates an order to be used for partial payments. Make a POST `/orders` call before making a `/payments` call when processing payments with different payment methods." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"pspReference\" : \"8616178914061985\",\n \"resultCode\" : \"Success\",\n \"expiresAt\" : \"2021-04-09T14:16:46Z\",\n \"orderData\" : \"Ab02b4c0!BQABAgCxXvknCldOcRElkxY8Za7iyym4Wv8aDzyNwmj/3nh4G6YtwnUIJHaK62NlN4oIsACdkn1FEjBwKlheG40jvXcYGBk4KFV5WvOhTVCpv/KXnkrI7xQv/u2lE7U4wA+HPB6K4Zj2L8xO/ogZi+zGZqFs5m16jmkH7ku6FzXygXLNuUCuOlmlXSZhdkHHTNVQSq1MELDK9OL74y532ETRPTCNxx8WlEiZB+LDqYrPvH9GgigtD5kw8Do45jfFfG72kWBEgfYqp4mbUmBB9ebXFYZKfF0qvW1x7A2Y9+/MFlTIdXfKW484bJeDBCTTrmKGXIj+U4r5imr5fXTyNLcrxyUqwrb9jg+5B4qg1XB6Cgj5UPlSI4O62I7v0s5TTj69dzLwUQRxSQbwLrZVGYavXzeVKI54BVLRV3d/+BbPvTqnTo34UhfZbPlOx9F2eyaS0ZXdOKnHw89uGUgxUpLsMqnbRysi/pxpZaulel+0mExb68wVxb/7Teob5eRG4gp7cfZVZs6tLXOYWL+W0TqIlsa3hWsfM0LeaovzkoDtW/pK5JABXwMtLig9tsxoEh9ONYtIzkXC21LZ8ebiuSIMaPizjF8yca+QxrCZalQsu6uKnBz/mm8nnsflaGU2QS5zcoxk1RudL1Bl36LM9UZGPpFEYWiYA4sUsnNLw7peJjWCGhDepnwMv4TlgsEtoDtz1T54AEp7ImtleSI6IkFGMEFBQTEwM0NBNTM3RUFFRDg3QzI0REQ1MzkwOUI4MEE3OEE5MjNFMzgyM0Q2OERBQ0M5NEI5RkY4MzA1REMifRslOdmfgUHTXl66WPD9xoW2whIeRx/jR++2MqNE16x6zQy+KtDN8/h60crZwmqkjVTQYqQlsYSYDHSIyb4wnnay16/5il1yS7vN3UCLaTXjYBIAyyx6Wr9j4P3CI/etB+PpviHoESC4mV6ZN4whMDQyziQ8s230GtboXbh42qND7rk9phySBogowQlXrtF+l2n2F46nyif0owEgik5fGARfvjZtY2w23s30KMLNwU4gWSvX4H6RMVS8TfZH2fKfNrwB3tZUXwYkELs5ntaHysswq5Mn5aq2BKAMHu/Rh/wureMSI73Qi0avjrzWCwzt3JH4wnzErMnOZwSdgA==\",\n \"reference\" : \"shopper-reference-ekvL83\",\n \"remainingAmount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 2500\n }\n}", + "originalRequest": { + "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 \"reference\" : \"YOUR_ORDER_REFERENCE\",\n \"amount\" : {\n \"value\" : 2500,\n \"currency\" : \"EUR\"\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/orders", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "orders" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates an order to be used for partial payments. Make a POST `/orders` call before making a `/payments` call when processing payments with different payment methods." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"reference\" : \"YOUR_ORDER_REFERENCE\",\n \"amount\" : {\n \"value\" : 2500,\n \"currency\" : \"EUR\"\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/orders", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "orders" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Creates an order to be used for partial payments. Make a POST `/orders` call before making a `/payments` call when processing payments with different payment methods." - } + ] } ] - } -, + }, { "name": "/orders/cancel", "description": "Cancels an order. Cancellation of an order results in an automatic rollback of all payments made in the order, either by canceling or refunding the payment, depending on the type of payment method.", @@ -765,56 +1388,115 @@ { "name": "Cancel an order", "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 + "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 \"order\" : {\n \"pspReference\" : \"8815517812932012\",\n \"orderData\" : \"823fh892f8f18f4...148f13f9f3f\"\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/orders/cancel", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "orders", + "cancel" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Cancels an order. Cancellation of an order results in an automatic rollback of all payments made in the order, either by canceling or refunding the payment, depending on the type of payment method." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"pspReference\" : \"8816178914079738\",\n \"resultCode\" : \"Received\"\n}", + "originalRequest": { + "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 \"order\" : {\n \"pspReference\" : \"8815517812932012\",\n \"orderData\" : \"823fh892f8f18f4...148f13f9f3f\"\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/orders/cancel", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "orders", + "cancel" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Cancels an order. Cancellation of an order results in an automatic rollback of all payments made in the order, either by canceling or refunding the payment, depending on the type of payment method." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"order\" : {\n \"pspReference\" : \"8815517812932012\",\n \"orderData\" : \"823fh892f8f18f4...148f13f9f3f\"\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/orders/cancel", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "orders", - "cancel" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Cancels an order. Cancellation of an order results in an automatic rollback of all payments made in the order, either by canceling or refunding the payment, depending on the type of payment method." - } + ] } ] - } -, + }, { "name": "/paymentMethods/balance", "description": "Retrieves the balance remaining on a shopper's gift card. To check a gift card's balance, make a POST `/paymentMethods/balance` call and include the gift card's details inside a `paymentMethod` object.", @@ -822,106 +1504,225 @@ { "name": "Get gift card balance specifying amount of 10 EUR", "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 + "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 \"paymentMethod\" : {\n \"type\" : \"givex\",\n \"number\" : \"4126491073027401\",\n \"cvc\" : \"737\"\n },\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentMethods/balance", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentMethods", + "balance" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Retrieves the balance remaining on a shopper's gift card. To check a gift card's balance, make a POST `/paymentMethods/balance` call and include the gift card's details inside a `paymentMethod` object." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"pspReference\" : \"KHQC5N7G84BLNK43\",\n \"resultCode\" : \"Success\",\n \"balance\" : {\n \"currency\" : \"EUR\",\n \"value\" : 5000\n }\n}", + "originalRequest": { + "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 \"paymentMethod\" : {\n \"type\" : \"givex\",\n \"number\" : \"4126491073027401\",\n \"cvc\" : \"737\"\n },\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentMethods/balance", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentMethods", + "balance" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Retrieves the balance remaining on a shopper's gift card. To check a gift card's balance, make a POST `/paymentMethods/balance` call and include the gift card's details inside a `paymentMethod` object." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"paymentMethod\" : {\n \"type\" : \"givex\",\n \"number\" : \"4126491073027401\",\n \"cvc\" : \"737\"\n },\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentMethods/balance", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentMethods", - "balance" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Retrieves the balance remaining on a shopper's gift card. To check a gift card's balance, make a POST `/paymentMethods/balance` call and include the gift card's details inside a `paymentMethod` object." - } + ] }, { "name": "Get gift card balance specifying amount of 100 EUR", "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 + "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 \"paymentMethod\" : {\n \"type\" : \"givex\",\n \"number\" : \"4126491073027401\",\n \"cvc\" : \"737\"\n },\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 10000\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentMethods/balance", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentMethods", + "balance" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Retrieves the balance remaining on a shopper's gift card. To check a gift card's balance, make a POST `/paymentMethods/balance` call and include the gift card's details inside a `paymentMethod` object." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"pspReference\" : \"FKSPNCQ8HXSKGK82\",\n \"resultCode\" : \"NotEnoughBalance\",\n \"balance\" : {\n \"currency\" : \"EUR\",\n \"value\" : 5000\n }\n}", + "originalRequest": { + "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 \"paymentMethod\" : {\n \"type\" : \"givex\",\n \"number\" : \"4126491073027401\",\n \"cvc\" : \"737\"\n },\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 10000\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentMethods/balance", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentMethods", + "balance" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Retrieves the balance remaining on a shopper's gift card. To check a gift card's balance, make a POST `/paymentMethods/balance` call and include the gift card's details inside a `paymentMethod` object." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"paymentMethod\" : {\n \"type\" : \"givex\",\n \"number\" : \"4126491073027401\",\n \"cvc\" : \"737\"\n },\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 10000\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentMethods/balance", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentMethods", - "balance" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Retrieves the balance remaining on a shopper's gift card. To check a gift card's balance, make a POST `/paymentMethods/balance` call and include the gift card's details inside a `paymentMethod` object." - } + ] } ] } - ] }, { @@ -934,56 +1735,115 @@ { "name": "Get payment session for Apple Pay", "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 + "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 \"displayName\" : \"YOUR_MERCHANT_NAME\",\n \"domainName\" : \"YOUR_DOMAIN_NAME\",\n \"merchantIdentifier\" : \"YOUR_MERCHANT_ID\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/applePay/sessions", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "applePay", + "sessions" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "You need to use this endpoint if you have an API-only integration with Apple Pay which uses Adyen's Apple Pay certificate. The endpoint returns the Apple Pay session data which you need to complete the [Apple Pay session validation](https://docs.adyen.com/payment-methods/apple-pay/api-only?tab=adyen-certificate-validation_1#complete-apple-pay-session-validation)." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"data\" : \"eyJ2Z...\"\n}", + "originalRequest": { + "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 \"displayName\" : \"YOUR_MERCHANT_NAME\",\n \"domainName\" : \"YOUR_DOMAIN_NAME\",\n \"merchantIdentifier\" : \"YOUR_MERCHANT_ID\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/applePay/sessions", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "applePay", + "sessions" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "You need to use this endpoint if you have an API-only integration with Apple Pay which uses Adyen's Apple Pay certificate. The endpoint returns the Apple Pay session data which you need to complete the [Apple Pay session validation](https://docs.adyen.com/payment-methods/apple-pay/api-only?tab=adyen-certificate-validation_1#complete-apple-pay-session-validation)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"displayName\" : \"YOUR_MERCHANT_NAME\",\n \"domainName\" : \"YOUR_DOMAIN_NAME\",\n \"merchantIdentifier\" : \"YOUR_MERCHANT_ID\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/applePay/sessions", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "applePay", - "sessions" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "You need to use this endpoint if you have an API-only integration with Apple Pay which uses Adyen's Apple Pay certificate. The endpoint returns the Apple Pay session data which you need to complete the [Apple Pay session validation](https://docs.adyen.com/payment-methods/apple-pay/api-only?tab=adyen-certificate-validation_1#complete-apple-pay-session-validation)." - } + ] } ] - } -, + }, { "name": "/originKeys", "description": "This operation takes the origin domains and returns a JSON object containing the corresponding origin keys for the domains. > If you're still using origin key for your Web Drop-in or Components integration, we recommend [switching to client key](https://docs.adyen.com/development-resources/client-side-authentication/migrate-from-origin-key-to-client-key). This allows you to use a single key for all origins, add or remove origins without generating a new key, and detect the card type from the number entered in your payment form. ", @@ -991,55 +1851,113 @@ { "name": "Get origin keys", "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 + "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 \"originDomains\" : [ \"https://www.your-domain1.com\", \"https://www.your-domain2.com\", \"https://www.your-domain3.com\" ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/originKeys", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "originKeys" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "This operation takes the origin domains and returns a JSON object containing the corresponding origin keys for the domains. > If you're still using origin key for your Web Drop-in or Components integration, we recommend [switching to client key](https://docs.adyen.com/development-resources/client-side-authentication/migrate-from-origin-key-to-client-key). This allows you to use a single key for all origins, add or remove origins without generating a new key, and detect the card type from the number entered in your payment form. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"originKeys\" : {\n \"https://www.your-domain1.com\" : \"pub.v2.8116178901076090.aHR0cHM6Ly93d3cueW91ci1kb21haW4xLmNvbQ.pvbYlrXz0ICP4kwMJXDGDLVMqALhwXr1MSRjT-fkhvw\",\n \"https://www.your-domain3.com\" : \"pub.v2.8116178901076090.aHR0cHM6Ly93d3cueW91ci1kb21haW4zLmNvbQ.FrTpVz7_RzAywKasM0kXCRoMfoMkKIKaxjFymRGORIc\",\n \"https://www.your-domain2.com\" : \"pub.v2.8116178901076090.aHR0cHM6Ly93d3cueW91ci1kb21haW4yLmNvbQ.LdN9kvJ35fYFFiBSJA4idMnwwxJ5_yXpeNS__Ap5wkg\"\n }\n}", + "originalRequest": { + "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 \"originDomains\" : [ \"https://www.your-domain1.com\", \"https://www.your-domain2.com\", \"https://www.your-domain3.com\" ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/originKeys", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "originKeys" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "This operation takes the origin domains and returns a JSON object containing the corresponding origin keys for the domains. > If you're still using origin key for your Web Drop-in or Components integration, we recommend [switching to client key](https://docs.adyen.com/development-resources/client-side-authentication/migrate-from-origin-key-to-client-key). This allows you to use a single key for all origins, add or remove origins without generating a new key, and detect the card type from the number entered in your payment form. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"originDomains\" : [ \"https://www.your-domain1.com\", \"https://www.your-domain2.com\", \"https://www.your-domain3.com\" ]\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/originKeys", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "originKeys" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "This operation takes the origin domains and returns a JSON object containing the corresponding origin keys for the domains. > If you're still using origin key for your Web Drop-in or Components integration, we recommend [switching to client key](https://docs.adyen.com/development-resources/client-side-authentication/migrate-from-origin-key-to-client-key). This allows you to use a single key for all origins, add or remove origins without generating a new key, and detect the card type from the number entered in your payment form. " - } + ] } ] } - ] }, { @@ -1052,104 +1970,164 @@ { "name": "Start a donation transaction", "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 + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"reference\" : \"YOUR_DONATION_REFERENCE\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\"\n },\n \"donationToken\" : \"YOUR_DONATION_TOKEN\",\n \"donationOriginalPspReference\" : \"991559660454807J\",\n \"donationAccount\" : \"CHARITY_ACCOUNT\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"shopperInteraction\" : \"ContAuth\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/donations", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "donations" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Takes in the donation token generated by the `/payments` request and uses it to make the donation for the donation account specified in the request. For more information, see [Donations](https://docs.adyen.com/online-payments/donations)." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"id\" : \"UNIQUE_RESOURCE_ID\",\n \"status\" : \"completed\",\n \"donationAccount\" : \"CHARITY_ACCOUNT\",\n \"merchantAccount\" : \"YOUR_MERCHANT_ACCOUNT\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"reference\" : \"YOUR_DONATION_REFERENCE\",\n \"payment\" : {\n \"pspReference\" : \"8535762347980628\",\n \"resultCode\" : \"Authorised\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"merchantReference\" : \"YOUR_DONATION_REFERENCE\"\n }\n}", + "originalRequest": { + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"reference\" : \"YOUR_DONATION_REFERENCE\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\"\n },\n \"donationToken\" : \"YOUR_DONATION_TOKEN\",\n \"donationOriginalPspReference\" : \"991559660454807J\",\n \"donationAccount\" : \"CHARITY_ACCOUNT\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"shopperInteraction\" : \"ContAuth\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/donations", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "donations" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Takes in the donation token generated by the `/payments` request and uses it to make the donation for the donation account specified in the request. For more information, see [Donations](https://docs.adyen.com/online-payments/donations)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"reference\" : \"YOUR_DONATION_REFERENCE\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\"\n },\n \"donationToken\" : \"YOUR_DONATION_TOKEN\",\n \"donationOriginalPspReference\" : \"991559660454807J\",\n \"donationAccount\" : \"CHARITY_ACCOUNT\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"shopperInteraction\" : \"ContAuth\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/donations", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "donations" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Takes in the donation token generated by the `/payments` request and uses it to make the donation for the donation account specified in the request. For more information, see [Donations](https://docs.adyen.com/online-payments/donations)." - } + ] }, { "name": "Start a donation transaction with a token", "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"reference\" : \"YOUR_DONATION_REFERENCE\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"recurringDetailReference\" : \"7219687191761347\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"donationAccount\" : \"CHARITY_ACCOUNT\",\n \"shopperInteraction\" : \"ContAuth\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"recurringProcessingModel\" : \"CardOnFile\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/donations", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "donations" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Takes in the donation token generated by the `/payments` request and uses it to make the donation for the donation account specified in the request. For more information, see [Donations](https://docs.adyen.com/online-payments/donations)." - } + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"reference\" : \"YOUR_DONATION_REFERENCE\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"recurringDetailReference\" : \"7219687191761347\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"donationAccount\" : \"CHARITY_ACCOUNT\",\n \"shopperInteraction\" : \"ContAuth\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"recurringProcessingModel\" : \"CardOnFile\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/donations", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "donations" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Takes in the donation token generated by the `/payments` request and uses it to make the donation for the donation account specified in the request. For more information, see [Donations](https://docs.adyen.com/online-payments/donations)." +} + ,"response": [ + ] } ] } - ] }, { @@ -1162,104 +2140,221 @@ { "name": "Get a list of brands on a card", "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 + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"cardNumber\" : \"411111\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/cardDetails", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "cardDetails" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Send a request with at least the first 6 digits of the card number to get a response with an array of brands on the card. If you include [your supported brands](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__reqParam_supportedBrands) in the request, the response also tells you if you support each [brand that was identified](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__resParam_details). If you have an API-only integration and collect card data, use this endpoint to find out if the shopper's card is co-branded. For co-branded cards, you must let the shopper choose the brand to pay with if you support both brands. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"brands\" : [ {\n \"type\" : \"visa\",\n \"supported\" : true\n }, {\n \"type\" : \"cartebancaire\",\n \"supported\" : true\n } ]\n}", + "originalRequest": { + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"cardNumber\" : \"411111\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/cardDetails", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "cardDetails" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Send a request with at least the first 6 digits of the card number to get a response with an array of brands on the card. If you include [your supported brands](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__reqParam_supportedBrands) in the request, the response also tells you if you support each [brand that was identified](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__resParam_details). If you have an API-only integration and collect card data, use this endpoint to find out if the shopper's card is co-branded. For co-branded cards, you must let the shopper choose the brand to pay with if you support both brands. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"cardNumber\" : \"411111\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/cardDetails", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "cardDetails" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Send a request with at least the first 6 digits of the card number to get a response with an array of brands on the card. If you include [your supported brands](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__reqParam_supportedBrands) in the request, the response also tells you if you support each [brand that was identified](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__resParam_details). If you have an API-only integration and collect card data, use this endpoint to find out if the shopper's card is co-branded. For co-branded cards, you must let the shopper choose the brand to pay with if you support both brands. " - } + ] }, { "name": "Get a list of brands on a card specifying your supported card brands", "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 + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"cardNumber\" : \"411111\",\n \"supportedBrands\" : [ \"visa\", \"mc\", \"amex\" ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/cardDetails", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "cardDetails" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Send a request with at least the first 6 digits of the card number to get a response with an array of brands on the card. If you include [your supported brands](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__reqParam_supportedBrands) in the request, the response also tells you if you support each [brand that was identified](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__resParam_details). If you have an API-only integration and collect card data, use this endpoint to find out if the shopper's card is co-branded. For co-branded cards, you must let the shopper choose the brand to pay with if you support both brands. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"brands\" : [ {\n \"type\" : \"visa\",\n \"supported\" : true\n }, {\n \"type\" : \"cartebancaire\",\n \"supported\" : false\n } ]\n}", + "originalRequest": { + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"cardNumber\" : \"411111\",\n \"supportedBrands\" : [ \"visa\", \"mc\", \"amex\" ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/cardDetails", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "cardDetails" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Send a request with at least the first 6 digits of the card number to get a response with an array of brands on the card. If you include [your supported brands](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__reqParam_supportedBrands) in the request, the response also tells you if you support each [brand that was identified](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__resParam_details). If you have an API-only integration and collect card data, use this endpoint to find out if the shopper's card is co-branded. For co-branded cards, you must let the shopper choose the brand to pay with if you support both brands. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"cardNumber\" : \"411111\",\n \"supportedBrands\" : [ \"visa\", \"mc\", \"amex\" ]\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/cardDetails", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "cardDetails" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Send a request with at least the first 6 digits of the card number to get a response with an array of brands on the card. If you include [your supported brands](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__reqParam_supportedBrands) in the request, the response also tells you if you support each [brand that was identified](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__resParam_details). If you have an API-only integration and collect card data, use this endpoint to find out if the shopper's card is co-branded. For co-branded cards, you must let the shopper choose the brand to pay with if you support both brands. " - } + ] } ] - } -, + }, { "name": "/paymentMethods", "description": "Queries the available payment methods for a transaction based on the transaction context (like amount, country, and currency). Besides giving back a list of the available payment methods, the response also returns which input details you need to collect from the shopper (to be submitted to `/payments`). Although we highly recommend using this endpoint to ensure you are always offering the most up-to-date list of payment methods, its usage is optional. You can, for example, also cache the `/paymentMethods` response and update it once a week.", @@ -1267,153 +2362,329 @@ { "name": "Get available payment methods", "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 + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentMethods", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentMethods" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Queries the available payment methods for a transaction based on the transaction context (like amount, country, and currency). Besides giving back a list of the available payment methods, the response also returns which input details you need to collect from the shopper (to be submitted to `/payments`). Although we highly recommend using this endpoint to ensure you are always offering the most up-to-date list of payment methods, its usage is optional. You can, for example, also cache the `/paymentMethods` response and update it once a week." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"paymentMethods\" : [ {\n \"details\" : [ {\n \"details\" : [ {\n \"key\" : \"ownerName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"bankLocationId\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"bankAccountNumber\",\n \"type\" : \"text\"\n } ],\n \"key\" : \"bankAccount\",\n \"type\" : \"bankAccount\"\n } ],\n \"name\" : \"ACH Direct Debit\",\n \"type\" : \"ach\"\n }, {\n \"name\" : \"Adyen Voucher\",\n \"type\" : \"adyen_test_voucher\"\n }, {\n \"details\" : [ {\n \"details\" : [ {\n \"key\" : \"firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"lastName\",\n \"type\" : \"text\"\n }, {\n \"items\" : [ {\n \"id\" : \"M\",\n \"name\" : \"male\"\n }, {\n \"id\" : \"F\",\n \"name\" : \"female\"\n } ],\n \"key\" : \"gender\",\n \"type\" : \"radio\"\n }, {\n \"key\" : \"dateOfBirth\",\n \"type\" : \"date\"\n }, {\n \"key\" : \"telephoneNumber\",\n \"type\" : \"tel\"\n }, {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n } ],\n \"key\" : \"personalDetails\",\n \"type\" : \"fieldSet\"\n }, {\n \"details\" : [ {\n \"key\" : \"street\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"houseNumberOrName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"city\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"postalCode\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"stateOrProvince\",\n \"optional\" : true,\n \"type\" : \"text\"\n }, {\n \"items\" : [ {\n \"id\" : \"NL\",\n \"name\" : \"Netherlands\"\n }, {\n \"id\" : \"BE\",\n \"name\" : \"Belgium\"\n } ],\n \"key\" : \"country\",\n \"type\" : \"select\"\n } ],\n \"key\" : \"billingAddress\",\n \"type\" : \"address\"\n }, {\n \"key\" : \"separateDeliveryAddress\",\n \"optional\" : true,\n \"type\" : \"boolean\",\n \"value\" : \"false\"\n }, {\n \"details\" : [ {\n \"key\" : \"street\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"houseNumberOrName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"city\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"postalCode\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"stateOrProvince\",\n \"optional\" : true,\n \"type\" : \"text\"\n }, {\n \"items\" : [ {\n \"id\" : \"NL\",\n \"name\" : \"Netherlands\"\n }, {\n \"id\" : \"BE\",\n \"name\" : \"Belgium\"\n } ],\n \"key\" : \"country\",\n \"type\" : \"select\"\n } ],\n \"key\" : \"deliveryAddress\",\n \"optional\" : true,\n \"type\" : \"address\"\n } ],\n \"name\" : \"AfterPay Invoice\",\n \"type\" : \"afterpay_default\"\n }, {\n \"name\" : \"AfterPay DirectDebit\",\n \"type\" : \"afterpay_directdebit\"\n }, {\n \"name\" : \"Afterpay\",\n \"type\" : \"afterpaytouch\"\n }, {\n \"details\" : [ {\n \"key\" : \"encryptedCardNumber\",\n \"type\" : \"cardToken\"\n }, {\n \"key\" : \"encryptedSecurityCode\",\n \"type\" : \"cardToken\"\n }, {\n \"key\" : \"encryptedExpiryMonth\",\n \"type\" : \"cardToken\"\n }, {\n \"key\" : \"encryptedExpiryYear\",\n \"type\" : \"cardToken\"\n }, {\n \"key\" : \"holderName\",\n \"optional\" : true,\n \"type\" : \"text\"\n } ],\n \"name\" : \"Credit Card\",\n \"type\" : \"scheme\"\n }, {\n \"name\" : \"AliPay\",\n \"type\" : \"alipay\"\n }, {\n \"name\" : \"AliPay HK\",\n \"type\" : \"alipay_hk\"\n }, {\n \"name\" : \"AliPay\",\n \"type\" : \"alipay_wap\"\n }, {\n \"details\" : [ {\n \"key\" : \"additionalData.androidpay.token\",\n \"type\" : \"androidPayToken\"\n } ],\n \"name\" : \"Android Pay\",\n \"type\" : \"androidpay\"\n }, {\n \"details\" : [ {\n \"key\" : \"additionalData.applepay.token\",\n \"type\" : \"applePayToken\"\n } ],\n \"name\" : \"Apple Pay\",\n \"type\" : \"applepay\"\n }, {\n \"name\" : \"Credit Card via AsiaPay\",\n \"type\" : \"asiapay\"\n }, {\n \"name\" : \"China UnionPay\",\n \"type\" : \"asiapay_unionpay\"\n }, {\n \"name\" : \"Baby Gift Card\",\n \"type\" : \"babygiftcard\"\n }, {\n \"name\" : \"Baloto\",\n \"type\" : \"baloto\"\n }, {\n \"name\" : \"BancNet\",\n \"type\" : \"bancnet\"\n }, {\n \"name\" : \"Bank Transfer (BG)\",\n \"type\" : \"bankTransfer_BG\"\n }, {\n \"name\" : \"Bank Transfer (CH)\",\n \"type\" : \"bankTransfer_CH\"\n }, {\n \"name\" : \"Bank Transfer (DE)\",\n \"type\" : \"bankTransfer_DE\"\n }, {\n \"name\" : \"Bank Transfer (FI)\",\n \"type\" : \"bankTransfer_FI\"\n }, {\n \"name\" : \"Bank Transfer (GB)\",\n \"type\" : \"bankTransfer_GB\"\n }, {\n \"name\" : \"Bank Transfer (HU)\",\n \"type\" : \"bankTransfer_HU\"\n }, {\n \"name\" : \"SEPA Bank Transfer\",\n \"type\" : \"bankTransfer_IBAN\"\n }, {\n \"name\" : \"Bank Transfer (IE)\",\n \"type\" : \"bankTransfer_IE\"\n }, {\n \"name\" : \"Electronic Bank Transfer (MX)\",\n \"type\" : \"bankTransfer_MX_linked\"\n }, {\n \"name\" : \"Bank Transfer (MX)\",\n \"type\" : \"bankTransfer_MX_offline\"\n }, {\n \"name\" : \"Bank Transfer (NL)\",\n \"type\" : \"bankTransfer_NL\"\n }, {\n \"name\" : \"Bank Transfer (PL)\",\n \"type\" : \"bankTransfer_PL\"\n }, {\n \"name\" : \"Bank Transfer (SE)\",\n \"type\" : \"bankTransfer_SE\"\n }, {\n \"name\" : \"Bank Transfer (US)\",\n \"type\" : \"bankTransfer_US\"\n }, {\n \"name\" : \"Payconiq by Bancontact\",\n \"type\" : \"bcmc_mobile\"\n }, {\n \"name\" : \"Bijenkorf Cadeaucard\",\n \"type\" : \"bijcadeaucard\"\n }, {\n \"name\" : \"99Bill\",\n \"type\" : \"bill99\"\n }, {\n \"details\" : [ {\n \"items\" : [ {\n \"id\" : \"AUB_DIRECT\",\n \"name\" : \"AU Small Finance Bank\"\n }, {\n \"id\" : \"ALB_DIRECT\",\n \"name\" : \"Allahabad Bank \"\n }, {\n \"id\" : \"APG_DIRECT\",\n \"name\" : \"Andhra Pragathi Grameena Bank\"\n }, {\n \"id\" : \"BDN_DIRECT\",\n \"name\" : \"Bandhan bank\"\n }, {\n \"id\" : \"BBK_DIRECT\",\n \"name\" : \"Bank of Bahrain and Kuwait\"\n }, {\n \"id\" : \"BBR_DIRECT\",\n \"name\" : \"Bank of Baroda - Retail Banking\"\n }, {\n \"id\" : \"BCB_DIRECT\",\n \"name\" : \"Bassien Catholic Co-Operative Bank \"\n }, {\n \"id\" : \"CNB_DIRECT\",\n \"name\" : \"Canara Bank\"\n }, {\n \"id\" : \"SYD_DIRECT\",\n \"name\" : \"Canara Bank (e-Syndicate)\"\n }, {\n \"id\" : \"CSB_DIRECT\",\n \"name\" : \"Catholic Syrian Bank\"\n }, {\n \"id\" : \"CBI_DIRECT\",\n \"name\" : \"Central Bank of India\"\n }, {\n \"id\" : \"CUB_DIRECT\",\n \"name\" : \"City Union Bank\"\n }, {\n \"id\" : \"COB_DIRECT\",\n \"name\" : \"Cosmos Bank\"\n }, {\n \"id\" : \"DEN_DIRECT\",\n \"name\" : \"Dena Bank\"\n }, {\n \"id\" : \"DBK_DIRECT\",\n \"name\" : \"Deutsche Bank\"\n }, {\n \"id\" : \"DCB_DIRECT\",\n \"name\" : \"Development Credit Bank\"\n }, {\n \"id\" : \"DLB_DIRECT\",\n \"name\" : \"Dhanlakshmi Bank - Retail Net Banking\"\n }, {\n \"id\" : \"ESF_DIRECT\",\n \"name\" : \"ESAF Small Finance Bank\"\n }, {\n \"id\" : \"EQB_DIRECT\",\n \"name\" : \"Equitas Small Finance Bank\"\n }, {\n \"id\" : \"FBK_DIRECT\",\n \"name\" : \"Federal Bank\"\n }, {\n \"id\" : \"FNC_DIRECT\",\n \"name\" : \"Fincare Bank\"\n }, {\n \"id\" : \"HDF_DIRECT\",\n \"name\" : \"HDFC Bank\"\n }, {\n \"id\" : \"ICI_DIRECT\",\n \"name\" : \"ICICI Bank \"\n }, {\n \"id\" : \"IDB_DIRECT\",\n \"name\" : \"IDBI Bank - Retail Net Banking\"\n }, {\n \"id\" : \"IDN_DIRECT\",\n \"name\" : \"IDFC FIRST Bank\"\n }, {\n \"id\" : \"INB_DIRECT\",\n \"name\" : \"Indian Bank\"\n }, {\n \"id\" : \"IOB_DIRECT\",\n \"name\" : \"Indian Overseas Bank\"\n }, {\n \"id\" : \"IDS_DIRECT\",\n \"name\" : \"IndusInd Bank\"\n }, {\n \"id\" : \"JKB_DIRECT\",\n \"name\" : \"Jammu & Kashmir Bank\"\n }, {\n \"id\" : \"JNB_DIRECT\",\n \"name\" : \"Jana Small Finance Bank\"\n }, {\n \"id\" : \"JSB_DIRECT\",\n \"name\" : \"Janata Sahakari Bank Ltd Pune\"\n }, {\n \"id\" : \"KJB_DIRECT\",\n \"name\" : \"Kalyan Janata Sahakari Bank\"\n }, {\n \"id\" : \"KBL_DIRECT\",\n \"name\" : \"Karnataka Bank Ltd\"\n }, {\n \"id\" : \"KVB_DIRECT\",\n \"name\" : \"Karur Vysya Bank\"\n }, {\n \"id\" : \"162_DIRECT\",\n \"name\" : \"Kotak Bank\"\n }, {\n \"id\" : \"LVR_DIRECT\",\n \"name\" : \"Laxmi Vilas Bank - Retail\"\n }, {\n \"id\" : \"NKB_DIRECT\",\n \"name\" : \"NKGSB Co-op Bank\"\n }, {\n \"id\" : \"NEB_DIRECT\",\n \"name\" : \"North East Small Finance Bank\"\n }, {\n \"id\" : \"OBC_DIRECT\",\n \"name\" : \"PNB (Erstwhile-Oriental Bank of Commerce)\"\n }, {\n \"id\" : \"UNI_DIRECT\",\n \"name\" : \"PNB (Erstwhile-United Bank of India)\"\n }, {\n \"id\" : \"PMC_DIRECT\",\n \"name\" : \"Punjab & Maharastra Co-op Bank\"\n }, {\n \"id\" : \"PSB_DIRECT\",\n \"name\" : \"Punjab & Sind Bank\"\n }, {\n \"id\" : \"CPN_DIRECT\",\n \"name\" : \"Punjab National Bank - Corporate \"\n }, {\n \"id\" : \"PNB_DIRECT\",\n \"name\" : \"Punjab National Bank - Retail Banking\"\n }, {\n \"id\" : \"RBL_DIRECT\",\n \"name\" : \"RBL Bank Limited\"\n }, {\n \"id\" : \"SWB_DIRECT\",\n \"name\" : \"Saraswat Bank\"\n }, {\n \"id\" : \"SHB_DIRECT\",\n \"name\" : \"Shivalik Mercantile Cooperative Bank Ltd\"\n }, {\n \"id\" : \"SIB_DIRECT\",\n \"name\" : \"South Indian Bank\"\n }, {\n \"id\" : \"SCB_DIRECT\",\n \"name\" : \"Standard Chartered Bank\"\n }, {\n \"id\" : \"SBI_DIRECT\",\n \"name\" : \"State Bank of India\"\n }, {\n \"id\" : \"SRB_DIRECT\",\n \"name\" : \"Suryoday Small Finance Bank\"\n }, {\n \"id\" : \"TJB_DIRECT\",\n \"name\" : \"TJSB Bank\"\n }, {\n \"id\" : \"TNC_DIRECT\",\n \"name\" : \"Tamil Nadu State Co-operative Bank\"\n }, {\n \"id\" : \"TMB_DIRECT\",\n \"name\" : \"Tamilnad Mercantile Bank Ltd\"\n }, {\n \"id\" : \"TBB_DIRECT\",\n \"name\" : \"Thane Bharat Sahakari Bank Ltd\"\n }, {\n \"id\" : \"MSB_DIRECT\",\n \"name\" : \"The Mehsana Urban Co Op Bank Ltd\"\n }, {\n \"id\" : \"UCO_DIRECT\",\n \"name\" : \"UCO Bank\"\n }, {\n \"id\" : \"UBI_DIRECT\",\n \"name\" : \"Union Bank of India\"\n }, {\n \"id\" : \"ADB_DIRECT\",\n \"name\" : \"Union Bank of India (Erstwhile Andhra Bank)\"\n }, {\n \"id\" : \"CRP_DIRECT\",\n \"name\" : \"Union Bank of India (Erstwhile Corporation Bank)\"\n }, {\n \"id\" : \"VRB_DIRECT\",\n \"name\" : \"Varachha Co-operative Bank Limited\"\n }, {\n \"id\" : \"VJB_DIRECT\",\n \"name\" : \"Vijaya Bank\"\n }, {\n \"id\" : \"YBK_DIRECT\",\n \"name\" : \"Yes Bank\"\n }, {\n \"id\" : \"ZOB_DIRECT\",\n \"name\" : \"Zoroastrian Co-operative Bank Limited\"\n }, {\n \"id\" : \"DBS_DIRECT\",\n \"name\" : \"digibank by DBS\"\n } ],\n \"key\" : \"issuer\",\n \"type\" : \"select\"\n } ],\n \"name\" : \"Online Banking India\",\n \"type\" : \"billdesk_online\"\n }, {\n \"name\" : \"UPI\",\n \"type\" : \"billdesk_upi\"\n }, {\n \"details\" : [ {\n \"items\" : [ {\n \"id\" : \"DCW_DIRECT\",\n \"name\" : \"DCB Cippy\"\n }, {\n \"id\" : \"ICC_DIRECT\",\n \"name\" : \"ICC Cash Card\"\n }, {\n \"id\" : \"OXY_DIRECT\",\n \"name\" : \"Oxigen Wallet\"\n }, {\n \"id\" : \"PCH_DIRECT\",\n \"name\" : \"Pay World Money\"\n } ],\n \"key\" : \"issuer\",\n \"type\" : \"select\"\n } ],\n \"name\" : \"Wallets India\",\n \"type\" : \"billdesk_wallet\"\n }, {\n \"name\" : \"Blik\",\n \"type\" : \"blik\"\n }, {\n \"name\" : \"Bloemen Giftcard\",\n \"type\" : \"bloemengiftcard\"\n }, {\n \"name\" : \"Boekenbon Giftcard\",\n \"type\" : \"boekenbon\"\n }, {\n \"name\" : \"Boleto\",\n \"type\" : \"boleto\"\n }, {\n \"name\" : \"Boleto Bancario\",\n \"type\" : \"boletobancario_santander\"\n }, {\n \"name\" : \"Bradesco\",\n \"type\" : \"bradesco\"\n }, {\n \"name\" : \"Cash-Ticket\",\n \"type\" : \"cashticket\"\n }, {\n \"name\" : \"CashU\",\n \"type\" : \"cashu\"\n }, {\n \"name\" : \"CCAvenue\",\n \"type\" : \"ccavenue\"\n }, {\n \"name\" : \"Mula Checkout\",\n \"type\" : \"cellulant\"\n }, {\n \"name\" : \"Chasin Giftcard\",\n \"type\" : \"chasingiftcard\"\n }, {\n \"name\" : \"Clearpay\",\n \"type\" : \"clearpay\"\n }, {\n \"name\" : \"ClickandBuy\",\n \"type\" : \"clickandbuy\"\n }, {\n \"name\" : \"Paiement en 3 fois par Cartes Bancaires\",\n \"type\" : \"cofinoga_3xcb\"\n }, {\n \"name\" : \"Costes Giftcard\",\n \"type\" : \"costesgiftcard\"\n }, {\n \"name\" : \"custom_settlement\",\n \"type\" : \"custom_settlement\"\n }, {\n \"name\" : \"DANA\",\n \"type\" : \"dana\"\n }, {\n \"name\" : \"DineroMail\",\n \"type\" : \"dineromail\"\n }, {\n \"name\" : \"Online bank transfer.\",\n \"type\" : \"directEbanking\"\n }, {\n \"name\" : \"Direct Debit Brazil - Banco do Brazil\",\n \"type\" : \"directdebit_BR_bancodobrasil\"\n }, {\n \"name\" : \"Direct Debit Brazil - Bradesco\",\n \"type\" : \"directdebit_BR_bradesco\"\n }, {\n \"name\" : \"Direct Debit Brazil - Caixa Economica Federal\",\n \"type\" : \"directdebit_BR_caixa\"\n }, {\n \"name\" : \"Direct Debit Brazil - HSBC\",\n \"type\" : \"directdebit_BR_hsbc\"\n }, {\n \"name\" : \"Direct Debit Brazil - Itau\",\n \"type\" : \"directdebit_BR_itau\"\n }, {\n \"name\" : \"Direct Debit Brazil - Santander\",\n \"type\" : \"directdebit_BR_santander\"\n }, {\n \"name\" : \"BACS Direct Debit\",\n \"type\" : \"directdebit_GB\"\n }, {\n \"details\" : [ {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n }, {\n \"key\" : \"firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"lastName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"infix\",\n \"optional\" : true,\n \"type\" : \"text\"\n } ],\n \"name\" : \"Alfamart\",\n \"type\" : \"doku_alfamart\"\n }, {\n \"details\" : [ {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n }, {\n \"key\" : \"firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"lastName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"infix\",\n \"optional\" : true,\n \"type\" : \"text\"\n } ],\n \"name\" : \"BCA Bank Transfer\",\n \"type\" : \"doku_bca_va\"\n }, {\n \"details\" : [ {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n }, {\n \"key\" : \"firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"lastName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"infix\",\n \"optional\" : true,\n \"type\" : \"text\"\n } ],\n \"name\" : \"BNI VA\",\n \"type\" : \"doku_bni_va\"\n }, {\n \"details\" : [ {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n }, {\n \"key\" : \"firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"lastName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"infix\",\n \"optional\" : true,\n \"type\" : \"text\"\n } ],\n \"name\" : \"BRI VA\",\n \"type\" : \"doku_bri_va\"\n }, {\n \"details\" : [ {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n }, {\n \"key\" : \"firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"lastName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"infix\",\n \"optional\" : true,\n \"type\" : \"text\"\n } ],\n \"name\" : \"CIMB VA\",\n \"type\" : \"doku_cimb_va\"\n }, {\n \"details\" : [ {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n }, {\n \"key\" : \"firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"lastName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"infix\",\n \"optional\" : true,\n \"type\" : \"text\"\n } ],\n \"name\" : \"Danamon VA\",\n \"type\" : \"doku_danamon_va\"\n }, {\n \"details\" : [ {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n }, {\n \"key\" : \"firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"lastName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"infix\",\n \"optional\" : true,\n \"type\" : \"text\"\n } ],\n \"name\" : \"Indomaret\",\n \"type\" : \"doku_indomaret\"\n }, {\n \"details\" : [ {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n }, {\n \"key\" : \"firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"lastName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"infix\",\n \"optional\" : true,\n \"type\" : \"text\"\n } ],\n \"name\" : \"Mandiri VA\",\n \"type\" : \"doku_mandiri_va\"\n }, {\n \"details\" : [ {\n \"key\" : \"ovoId\",\n \"type\" : \"text\"\n } ],\n \"name\" : \"OVO\",\n \"type\" : \"doku_ovo\"\n }, {\n \"details\" : [ {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n }, {\n \"key\" : \"firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"lastName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"infix\",\n \"optional\" : true,\n \"type\" : \"text\"\n } ],\n \"name\" : \"Bank Transfer\",\n \"type\" : \"doku_permata_lite_atm\"\n }, {\n \"details\" : [ {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n }, {\n \"key\" : \"firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"lastName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"infix\",\n \"optional\" : true,\n \"type\" : \"text\"\n } ],\n \"name\" : \"DOKU wallet\",\n \"type\" : \"doku_wallet\"\n }, {\n \"details\" : [ {\n \"items\" : [ {\n \"id\" : \"66\",\n \"name\" : \"Bank Nowy BFG S.A.\"\n }, {\n \"id\" : \"92\",\n \"name\" : \"Bank Spółdzielczy w Brodnicy\"\n }, {\n \"id\" : \"11\",\n \"name\" : \"Bank transfer / postal\"\n }, {\n \"id\" : \"74\",\n \"name\" : \"Banki Spółdzielcze\"\n }, {\n \"id\" : \"73\",\n \"name\" : \"BLIK\"\n }, {\n \"id\" : \"90\",\n \"name\" : \"BNP Paribas - płacę z Pl@net\"\n }, {\n \"id\" : \"59\",\n \"name\" : \"CinkciarzPAY\"\n }, {\n \"id\" : \"87\",\n \"name\" : \"Credit Agricole PBL\"\n }, {\n \"id\" : \"83\",\n \"name\" : \"EnveloBank\"\n }, {\n \"id\" : \"76\",\n \"name\" : \"Getin Bank PBL\"\n }, {\n \"id\" : \"81\",\n \"name\" : \"Idea Cloud\"\n }, {\n \"id\" : \"7\",\n \"name\" : \"ING Corporate customers\"\n }, {\n \"id\" : \"93\",\n \"name\" : \"Kasa Stefczyka\"\n }, {\n \"id\" : \"44\",\n \"name\" : \"Millennium - Płatności Internetowe\"\n }, {\n \"id\" : \"10\",\n \"name\" : \"Millennium Corporate customers\"\n }, {\n \"id\" : \"68\",\n \"name\" : \"mRaty\"\n }, {\n \"id\" : \"1\",\n \"name\" : \"mTransfer\"\n }, {\n \"id\" : \"91\",\n \"name\" : \"Nest Bank\"\n }, {\n \"id\" : \"80\",\n \"name\" : \"Noble Pay\"\n }, {\n \"id\" : \"50\",\n \"name\" : \"Pay Way Toyota Bank\"\n }, {\n \"id\" : \"45\",\n \"name\" : \"Pay with Alior Bank\"\n }, {\n \"id\" : \"36\",\n \"name\" : \"Pekao24Przelew\"\n }, {\n \"id\" : \"70\",\n \"name\" : \"Pocztowy24\"\n }, {\n \"id\" : \"6\",\n \"name\" : \"Przelew24\"\n }, {\n \"id\" : \"46\",\n \"name\" : \"Płacę z Citi Handlowy\"\n }, {\n \"id\" : \"38\",\n \"name\" : \"Płacę z ING\"\n }, {\n \"id\" : \"2\",\n \"name\" : \"Płacę z Inteligo\"\n }, {\n \"id\" : \"4\",\n \"name\" : \"Płacę z iPKO\"\n }, {\n \"id\" : \"75\",\n \"name\" : \"Płacę z Plus Bank\"\n }, {\n \"id\" : \"51\",\n \"name\" : \"Płać z BOŚ\"\n }, {\n \"id\" : \"55\",\n \"name\" : \"Raty z Alior Bankiem PLN\"\n }, {\n \"id\" : \"89\",\n \"name\" : \"Santander\"\n }, {\n \"id\" : \"52\",\n \"name\" : \"SkyCash\"\n } ],\n \"key\" : \"issuer\",\n \"type\" : \"select\"\n } ],\n \"name\" : \"Local Polish Payment Methods\",\n \"type\" : \"dotpay\"\n }, {\n \"name\" : \"Dragonpay Prepaid Credits\",\n \"type\" : \"dragonpay_credits\"\n }, {\n \"name\" : \"Online Banking\",\n \"type\" : \"dragonpay_ebanking\"\n }, {\n \"name\" : \"GCash\",\n \"type\" : \"dragonpay_gcash\"\n }, {\n \"name\" : \"Over The Counter Banks\",\n \"type\" : \"dragonpay_otc_banking\"\n }, {\n \"name\" : \"OTC non-Bank via Dragonpay\",\n \"type\" : \"dragonpay_otc_non_banking\"\n }, {\n \"name\" : \"Convenience Stores\",\n \"type\" : \"dragonpay_otc_philippines\"\n }, {\n \"name\" : \"7/11\",\n \"type\" : \"dragonpay_seveneleven\"\n }, {\n \"name\" : \"eagleeye_voucher\",\n \"type\" : \"eagleeye_voucher\"\n }, {\n \"name\" : \"Finnish E-Banking\",\n \"type\" : \"ebanking_FI\"\n }, {\n \"name\" : \"Pay-easy ATM\",\n \"type\" : \"econtext_atm\"\n }, {\n \"name\" : \"Online Banking\",\n \"type\" : \"econtext_online\"\n }, {\n \"name\" : \"7-Eleven\",\n \"type\" : \"econtext_seven_eleven\"\n }, {\n \"name\" : \"Convenience Stores\",\n \"type\" : \"econtext_stores\"\n }, {\n \"name\" : \"eft_directdebit_CA\",\n \"type\" : \"eft_directdebit_CA\"\n }, {\n \"name\" : \"Lastschrift (ELV)\",\n \"type\" : \"elv\"\n }, {\n \"details\" : [ {\n \"items\" : [ {\n \"id\" : \"231\",\n \"name\" : \"POP Pankki\"\n }, {\n \"id\" : \"551\",\n \"name\" : \"Komerční banka\"\n }, {\n \"id\" : \"232\",\n \"name\" : \"Aktia\"\n }, {\n \"id\" : \"552\",\n \"name\" : \"Raiffeisen\"\n }, {\n \"id\" : \"233\",\n \"name\" : \"Säästöpankki\"\n }, {\n \"id\" : \"750\",\n \"name\" : \"Swedbank\"\n }, {\n \"id\" : \"211\",\n \"name\" : \"Nordea\"\n }, {\n \"id\" : \"553\",\n \"name\" : \"ČSOB\"\n }, {\n \"id\" : \"234\",\n \"name\" : \"S-Pankki\"\n }, {\n \"id\" : \"751\",\n \"name\" : \"SEB\"\n }, {\n \"id\" : \"554\",\n \"name\" : \"Moneta\"\n }, {\n \"id\" : \"235\",\n \"name\" : \"OmaSP\"\n }, {\n \"id\" : \"752\",\n \"name\" : \"Nordea\"\n }, {\n \"id\" : \"213\",\n \"name\" : \"Op-Pohjola\"\n }, {\n \"id\" : \"555\",\n \"name\" : \"UniCredit\"\n }, {\n \"id\" : \"753\",\n \"name\" : \"LHV\"\n }, {\n \"id\" : \"556\",\n \"name\" : \"Fio\"\n }, {\n \"id\" : \"557\",\n \"name\" : \"mBank\"\n }, {\n \"id\" : \"216\",\n \"name\" : \"Handelsbanken\"\n }, {\n \"id\" : \"558\",\n \"name\" : \"Air Bank\"\n }, {\n \"id\" : \"260\",\n \"name\" : \"Länsförsäkringar\"\n }, {\n \"id\" : \"240\",\n \"name\" : \"BankDeposit\"\n }, {\n \"id\" : \"265\",\n \"name\" : \"Sparbanken\"\n }, {\n \"id\" : \"640\",\n \"name\" : \"BankDeposit\"\n }, {\n \"id\" : \"200\",\n \"name\" : \"Ålandsbanken\"\n }, {\n \"id\" : \"940\",\n \"name\" : \"Swedbank\"\n }, {\n \"id\" : \"500\",\n \"name\" : \"Česká spořitelna\"\n }, {\n \"id\" : \"720\",\n \"name\" : \"Swedbank\"\n }, {\n \"id\" : \"941\",\n \"name\" : \"SEB\"\n }, {\n \"id\" : \"204\",\n \"name\" : \"Danske Bank\"\n }, {\n \"id\" : \"721\",\n \"name\" : \"SEB\"\n }, {\n \"id\" : \"942\",\n \"name\" : \"Citadele\"\n }, {\n \"id\" : \"205\",\n \"name\" : \"Handelsbanken\"\n }, {\n \"id\" : \"722\",\n \"name\" : \"DNB\"\n }, {\n \"id\" : \"943\",\n \"name\" : \"DNB\"\n }, {\n \"id\" : \"206\",\n \"name\" : \"Nordea\"\n }, {\n \"id\" : \"723\",\n \"name\" : \"Šiaulių bankas\"\n }, {\n \"id\" : \"207\",\n \"name\" : \"SEB\"\n }, {\n \"id\" : \"724\",\n \"name\" : \"Nordea\"\n }, {\n \"id\" : \"505\",\n \"name\" : \"Komerční banka\"\n }, {\n \"id\" : \"208\",\n \"name\" : \"Skandiabanken\"\n }, {\n \"id\" : \"209\",\n \"name\" : \"Swedbank\"\n } ],\n \"key\" : \"issuer\",\n \"type\" : \"select\"\n } ],\n \"name\" : \"Bank Payment\",\n \"type\" : \"entercash\"\n }, {\n \"name\" : \"Nationale Entertainment Card\",\n \"type\" : \"entertainmentcard\"\n }, {\n \"details\" : [ {\n \"items\" : [ {\n \"id\" : \"d5d5b133-1c0d-4c08-b2be-3c9b116dc326\",\n \"name\" : \"Dolomitenbank\"\n }, {\n \"id\" : \"ee9fc487-ebe0-486c-8101-17dce5141a67\",\n \"name\" : \"Raiffeissen Bankengruppe\"\n }, {\n \"id\" : \"6765e225-a0dc-4481-9666-e26303d4f221\",\n \"name\" : \"Hypo Tirol Bank AG\"\n }, {\n \"id\" : \"8b0bfeea-fbb0-4337-b3a1-0e25c0f060fc\",\n \"name\" : \"Sparda Bank Wien\"\n }, {\n \"id\" : \"1190c4d1-b37a-487e-9355-e0a067f54a9f\",\n \"name\" : \"Schoellerbank AG\"\n }, {\n \"id\" : \"e2e97aaa-de4c-4e18-9431-d99790773433\",\n \"name\" : \"Volksbank Gruppe\"\n }, {\n \"id\" : \"bb7d223a-17d5-48af-a6ef-8a2bf5a4e5d9\",\n \"name\" : \"Immo-Bank\"\n }, {\n \"id\" : \"e6819e7a-f663-414b-92ec-cf7c82d2f4e5\",\n \"name\" : \"Bank Austria\"\n }, {\n \"id\" : \"eff103e6-843d-48b7-a6e6-fbd88f511b11\",\n \"name\" : \"Easybank AG\"\n }, {\n \"id\" : \"25942cc9-617d-42a1-89ba-d1ab5a05770a\",\n \"name\" : \"VR-BankBraunau\"\n }, {\n \"id\" : \"4a0a975b-0594-4b40-9068-39f77b3a91f9\",\n \"name\" : \"Volkskreditbank\"\n }, {\n \"id\" : \"3fdc41fc-3d3d-4ee3-a1fe-cd79cfd58ea3\",\n \"name\" : \"Erste Bank und Sparkassen\"\n }, {\n \"id\" : \"ba7199cc-f057-42f2-9856-2378abf21638\",\n \"name\" : \"BAWAG P.S.K. Gruppe\"\n } ],\n \"key\" : \"issuer\",\n \"type\" : \"select\"\n } ],\n \"name\" : \"EPS\",\n \"type\" : \"eps\"\n }, {\n \"name\" : \"Expert Cadeaukaart\",\n \"type\" : \"expertgiftcard\"\n }, {\n \"details\" : [ {\n \"details\" : [ {\n \"key\" : \"firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"lastName\",\n \"type\" : \"text\"\n }, {\n \"items\" : [ {\n \"id\" : \"M\",\n \"name\" : \"male\"\n }, {\n \"id\" : \"F\",\n \"name\" : \"female\"\n } ],\n \"key\" : \"gender\",\n \"type\" : \"radio\"\n }, {\n \"key\" : \"telephoneNumber\",\n \"type\" : \"tel\"\n }, {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n } ],\n \"key\" : \"personalDetails\",\n \"type\" : \"fieldSet\"\n }, {\n \"details\" : [ {\n \"key\" : \"street\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"houseNumberOrName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"city\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"postalCode\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"stateOrProvince\",\n \"optional\" : true,\n \"type\" : \"text\"\n }, {\n \"items\" : [ {\n \"id\" : \"FR\",\n \"name\" : \"France\"\n }, {\n \"id\" : \"ES\",\n \"name\" : \"Spain\"\n } ],\n \"key\" : \"country\",\n \"type\" : \"select\"\n } ],\n \"key\" : \"billingAddress\",\n \"type\" : \"address\"\n }, {\n \"key\" : \"separateDeliveryAddress\",\n \"optional\" : true,\n \"type\" : \"boolean\",\n \"value\" : \"false\"\n }, {\n \"details\" : [ {\n \"key\" : \"street\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"houseNumberOrName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"city\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"postalCode\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"stateOrProvince\",\n \"optional\" : true,\n \"type\" : \"text\"\n }, {\n \"items\" : [ {\n \"id\" : \"FR\",\n \"name\" : \"France\"\n }, {\n \"id\" : \"ES\",\n \"name\" : \"Spain\"\n } ],\n \"key\" : \"country\",\n \"type\" : \"select\"\n } ],\n \"key\" : \"deliveryAddress\",\n \"optional\" : true,\n \"type\" : \"address\"\n } ],\n \"name\" : \"3x Oney\",\n \"type\" : \"facilypay_3x\"\n }, {\n \"details\" : [ {\n \"details\" : [ {\n \"key\" : \"firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"lastName\",\n \"type\" : \"text\"\n }, {\n \"items\" : [ {\n \"id\" : \"M\",\n \"name\" : \"male\"\n }, {\n \"id\" : \"F\",\n \"name\" : \"female\"\n } ],\n \"key\" : \"gender\",\n \"type\" : \"radio\"\n }, {\n \"key\" : \"telephoneNumber\",\n \"type\" : \"tel\"\n }, {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n } ],\n \"key\" : \"personalDetails\",\n \"type\" : \"fieldSet\"\n }, {\n \"details\" : [ {\n \"key\" : \"street\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"houseNumberOrName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"city\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"postalCode\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"stateOrProvince\",\n \"optional\" : true,\n \"type\" : \"text\"\n }, {\n \"items\" : [ {\n \"id\" : \"FR\",\n \"name\" : \"France\"\n }, {\n \"id\" : \"ES\",\n \"name\" : \"Spain\"\n } ],\n \"key\" : \"country\",\n \"type\" : \"select\"\n } ],\n \"key\" : \"billingAddress\",\n \"type\" : \"address\"\n }, {\n \"key\" : \"separateDeliveryAddress\",\n \"optional\" : true,\n \"type\" : \"boolean\",\n \"value\" : \"false\"\n }, {\n \"details\" : [ {\n \"key\" : \"street\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"houseNumberOrName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"city\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"postalCode\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"stateOrProvince\",\n \"optional\" : true,\n \"type\" : \"text\"\n }, {\n \"items\" : [ {\n \"id\" : \"FR\",\n \"name\" : \"France\"\n }, {\n \"id\" : \"ES\",\n \"name\" : \"Spain\"\n } ],\n \"key\" : \"country\",\n \"type\" : \"select\"\n } ],\n \"key\" : \"deliveryAddress\",\n \"optional\" : true,\n \"type\" : \"address\"\n } ],\n \"name\" : \"4x Oney\",\n \"type\" : \"facilypay_4x\"\n }, {\n \"name\" : \"Fashioncheque\",\n \"type\" : \"fashioncheque\"\n }, {\n \"details\" : [ {\n \"key\" : \"shopper.firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"shopper.lastName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"shopper.gender\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n }, {\n \"key\" : \"telephoneNumber\",\n \"type\" : \"tel\"\n }, {\n \"key\" : \"countryCode\",\n \"type\" : \"text\"\n } ],\n \"name\" : \"Fawry\",\n \"type\" : \"fawry\"\n }, {\n \"name\" : \"FijnCadeau\",\n \"type\" : \"fijncadeau\"\n }, {\n \"name\" : \"Fleurop Bloemenbon\",\n \"type\" : \"fleuropbloemenbon\"\n }, {\n \"name\" : \"Fonq Giftcard\",\n \"type\" : \"fonqgiftcard\"\n }, {\n \"name\" : \"Gall & Gall\",\n \"type\" : \"gallgall\"\n }, {\n \"name\" : \"GCash\",\n \"type\" : \"gcash\"\n }, {\n \"name\" : \"Generic GiftCard\",\n \"type\" : \"genericgiftcard\"\n }, {\n \"name\" : \"GiftFor2\",\n \"type\" : \"giftfor2card\"\n }, {\n \"name\" : \"Givex\",\n \"type\" : \"givex\"\n }, {\n \"name\" : \"Globe GCash\",\n \"type\" : \"globegcash\"\n }, {\n \"name\" : \"Goldsmiths Card\",\n \"type\" : \"goldsmithscard\"\n }, {\n \"name\" : \"GoPay Wallet\",\n \"type\" : \"gopay_wallet\"\n }, {\n \"name\" : \"OVO\",\n \"type\" : \"grabpay_ID\"\n }, {\n \"name\" : \"GrabPay\",\n \"type\" : \"grabpay_PH\"\n }, {\n \"name\" : \"GrabPay\",\n \"type\" : \"grabpay_SG\"\n }, {\n \"name\" : \"Hallmark Card\",\n \"type\" : \"hallmarkcard\"\n }, {\n \"name\" : \"HDFC\",\n \"type\" : \"hdfc\"\n }, {\n \"name\" : \"Hunkemoller Member Card\",\n \"type\" : \"hmclub\"\n }, {\n \"name\" : \"Hunkemoller Lingerie Card\",\n \"type\" : \"hmlingerie\"\n }, {\n \"details\" : [ {\n \"items\" : [ {\n \"id\" : \"1121\",\n \"name\" : \"Test Issuer\"\n }, {\n \"id\" : \"1154\",\n \"name\" : \"Test Issuer 5\"\n }, {\n \"id\" : \"1153\",\n \"name\" : \"Test Issuer 4\"\n }, {\n \"id\" : \"1152\",\n \"name\" : \"Test Issuer 3\"\n }, {\n \"id\" : \"1151\",\n \"name\" : \"Test Issuer 2\"\n }, {\n \"id\" : \"1162\",\n \"name\" : \"Test Issuer Cancelled\"\n }, {\n \"id\" : \"1161\",\n \"name\" : \"Test Issuer Pending\"\n }, {\n \"id\" : \"1160\",\n \"name\" : \"Test Issuer Refused\"\n }, {\n \"id\" : \"1159\",\n \"name\" : \"Test Issuer 10\"\n }, {\n \"id\" : \"1158\",\n \"name\" : \"Test Issuer 9\"\n }, {\n \"id\" : \"1157\",\n \"name\" : \"Test Issuer 8\"\n }, {\n \"id\" : \"1156\",\n \"name\" : \"Test Issuer 7\"\n }, {\n \"id\" : \"1155\",\n \"name\" : \"Test Issuer 6\"\n } ],\n \"key\" : \"issuer\",\n \"type\" : \"select\"\n } ],\n \"name\" : \"iDEAL\",\n \"type\" : \"ideal\"\n }, {\n \"name\" : \"igive\",\n \"type\" : \"igive\"\n }, {\n \"name\" : \"Korean Account Transfer (IniPay)\",\n \"type\" : \"inicisIniPay_accounttransfer\"\n }, {\n \"name\" : \"Korean Credit Cards (IniPay)\",\n \"type\" : \"inicisIniPay_creditcard\"\n }, {\n \"name\" : \"Korean Mobile Phone (IniPay)\",\n \"type\" : \"inicisIniPay_mobilephone\"\n }, {\n \"name\" : \"Korean Virtual Account (IniPay)\",\n \"type\" : \"inicisIniPay_virtualaccount\"\n }, {\n \"name\" : \"Korean Account Transfer (Mobile)\",\n \"type\" : \"inicisMobile_accounttransfer\"\n }, {\n \"name\" : \"Korean Credit Cards (Mobile)\",\n \"type\" : \"inicisMobile_creditcard\"\n }, {\n \"name\" : \"Korean Mobile Phone (Mobile)\",\n \"type\" : \"inicisMobile_mobilephone\"\n }, {\n \"name\" : \"Korean Virtual Account (Mobile)\",\n \"type\" : \"inicisMobile_virtualaccount\"\n }, {\n \"name\" : \"Korean Credit Cards\",\n \"type\" : \"inicis_creditcard\"\n }, {\n \"name\" : \"Interac® Online\",\n \"type\" : \"interac\"\n }, {\n \"name\" : \"Instant EFT\",\n \"type\" : \"ipay\"\n }, {\n \"name\" : \"iPay88\",\n \"type\" : \"ipay88\"\n }, {\n \"name\" : \"isracard\",\n \"type\" : \"isracard\"\n }, {\n \"name\" : \"Phone Payment\",\n \"type\" : \"ivr\"\n }, {\n \"name\" : \"Landline phone\",\n \"type\" : \"ivrLandline\"\n }, {\n \"name\" : \"Mobile phone\",\n \"type\" : \"ivrMobile\"\n }, {\n \"name\" : \"Kado Wereld\",\n \"type\" : \"kadowereld\"\n }, {\n \"name\" : \"KakaoPay\",\n \"type\" : \"kakaopay\"\n }, {\n \"name\" : \"Karen Millen Card\",\n \"type\" : \"karenmillen\"\n }, {\n \"name\" : \"Karen Millen GiftCard\",\n \"type\" : \"karenmillengiftcard\"\n }, {\n \"name\" : \"Bank Transfer\",\n \"type\" : \"kcp_banktransfer\"\n }, {\n \"name\" : \"Korea–issued cards\",\n \"type\" : \"kcp_creditcard\"\n }, {\n \"name\" : \"PayCo\",\n \"type\" : \"kcp_payco\"\n }, {\n \"name\" : \"Naver Pay\",\n \"type\" : \"kcp_naverpay\"\n }, {\n \"name\" : \"Virtual Account via KCP\",\n \"type\" : \"kcp_va\"\n }, {\n \"name\" : \"Pay later with Klarna.\",\n \"type\" : \"klarna\"\n }, {\n \"name\" : \"Pay over time with Klarna.\",\n \"type\" : \"klarna_account\"\n }, {\n \"name\" : \"Buy Now, Pay Later with Billie\",\n \"type\" : \"klarna_b2b\"\n }, {\n \"name\" : \"Pay now with Klarna.\",\n \"type\" : \"klarna_paynow\"\n }, {\n \"name\" : \"Leisure Card\",\n \"type\" : \"leisurecard\"\n }, {\n \"name\" : \"China Credit Card\",\n \"type\" : \"lianlianpay_creditcard\"\n }, {\n \"name\" : \"China Debit Card\",\n \"type\" : \"lianlianpay_debitcard\"\n }, {\n \"details\" : [ {\n \"key\" : \"telephoneNumber\",\n \"type\" : \"tel\"\n } ],\n \"name\" : \"China Online Banking - Credit Card\",\n \"type\" : \"lianlianpay_ebanking_credit\"\n }, {\n \"details\" : [ {\n \"items\" : [ {\n \"id\" : \"01030000\",\n \"name\" : \"Agricultural Bank of China\"\n }, {\n \"id\" : \"4031000\",\n \"name\" : \"Bank of Beijing\"\n }, {\n \"id\" : \"01040000\",\n \"name\" : \"Bank of China\"\n }, {\n \"id\" : \"03020000\",\n \"name\" : \"China Citic Bank\"\n }, {\n \"id\" : \"01050000\",\n \"name\" : \"China Construction Bank\"\n }, {\n \"id\" : \"03030000\",\n \"name\" : \"China Everbright Bank\"\n }, {\n \"id\" : \"03080000\",\n \"name\" : \"China Merchants Bank\"\n }, {\n \"id\" : \"03050000\",\n \"name\" : \"China Minsheng Banking Group\"\n }, {\n \"id\" : \"03040000\",\n \"name\" : \"Hua Xia Bank Co\"\n }, {\n \"id\" : \"01020000\",\n \"name\" : \"Industrial and Commercial Bank of China\"\n }, {\n \"id\" : \"03070000\",\n \"name\" : \"PingAn Bank\"\n }, {\n \"id\" : \"1000000\",\n \"name\" : \"Postal Savings Bank of China\"\n } ],\n \"key\" : \"issuer\",\n \"type\" : \"select\"\n }, {\n \"key\" : \"telephoneNumber\",\n \"type\" : \"tel\"\n } ],\n \"name\" : \"China Online Banking - Debit Card\",\n \"type\" : \"lianlianpay_ebanking_debit\"\n }, {\n \"details\" : [ {\n \"items\" : [ {\n \"id\" : \"01030000\",\n \"name\" : \"Agricultural Bank of China\"\n }, {\n \"id\" : \"01050000\",\n \"name\" : \"China Construction Bank\"\n }, {\n \"id\" : \"03080000\",\n \"name\" : \"China Merchants Bank\"\n }, {\n \"id\" : \"01020000\",\n \"name\" : \"Industrial and Commercial Bank of China\"\n }, {\n \"id\" : \"03100000\",\n \"name\" : \"Shanghai Pudong Development Bank\"\n } ],\n \"key\" : \"issuer\",\n \"type\" : \"select\"\n }, {\n \"key\" : \"telephoneNumber\",\n \"type\" : \"tel\"\n } ],\n \"name\" : \"China Online Banking - Enterprise\",\n \"type\" : \"lianlianpay_ebanking_enterprise\"\n }, {\n \"name\" : \"Loods5 Cadeaukaart\",\n \"type\" : \"loods5giftcard\"\n }, {\n \"name\" : \"Loods5 Tegoedbon\",\n \"type\" : \"loods5prepaidcard\"\n }, {\n \"name\" : \"Love2Shop GiftCard\",\n \"type\" : \"love2shop\"\n }, {\n \"details\" : [ {\n \"key\" : \"shopper.firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"shopper.lastName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"shopper.gender\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n }, {\n \"key\" : \"telephoneNumber\",\n \"type\" : \"tel\"\n }, {\n \"key\" : \"countryCode\",\n \"type\" : \"text\"\n } ],\n \"name\" : \"mada\",\n \"type\" : \"mada\"\n }, {\n \"name\" : \"Mappin & Webb Card\",\n \"type\" : \"mappinwebbcard\"\n }, {\n \"name\" : \"MB WAY\",\n \"type\" : \"mbway\"\n }, {\n \"details\" : [ {\n \"key\" : \"additionalData.amazonPayToken\",\n \"type\" : \"text\"\n } ],\n \"name\" : \"Amazon Pay\",\n \"supportsRecurring\" : true,\n \"type\" : \"amazonpay\"\n }, {\n \"name\" : \"Mercado Pago\",\n \"type\" : \"mercadopago\"\n }, {\n \"name\" : \"MobilePay\",\n \"type\" : \"mobilepay\"\n }, {\n \"name\" : \"AliPay via Razer Merchant Services\",\n \"type\" : \"molpay_alipay\"\n }, {\n \"name\" : \"7-Eleven\",\n \"type\" : \"molpay_cash\"\n }, {\n \"name\" : \"CIMB Virtual Account\",\n \"type\" : \"molpay_cimb_va\"\n }, {\n \"name\" : \"Malaysia E-Banking via Razer Merchant Services\",\n \"type\" : \"molpay_ebanking_MY\"\n }, {\n \"details\" : [ {\n \"items\" : [ {\n \"id\" : \"vtcpay-vietinbank\",\n \"name\" : \"Vietinbank\"\n }, {\n \"id\" : \"vtcpay-bidv\",\n \"name\" : \"BIDV\"\n }, {\n \"id\" : \"vtcpay-agribank\",\n \"name\" : \"Agribank\"\n }, {\n \"id\" : \"vtcpay-mb\",\n \"name\" : \"MB Bank\"\n }, {\n \"id\" : \"vtcpay-sacombank\",\n \"name\" : \"Sacombank\"\n }, {\n \"id\" : \"vtcpay-dongabank\",\n \"name\" : \"DongABank\"\n }, {\n \"id\" : \"vtcpay-maritimebank\",\n \"name\" : \"MaritimeBank\"\n }, {\n \"id\" : \"vtcpay-vietcombank\",\n \"name\" : \"Vietcombank\"\n }, {\n \"id\" : \"vtcpay-acb\",\n \"name\" : \"ACB\"\n }, {\n \"id\" : \"vtcpay-techcombank\",\n \"name\" : \"Techcombank\"\n } ],\n \"key\" : \"issuer\",\n \"type\" : \"select\"\n } ],\n \"name\" : \"Vietnam E-Banking\",\n \"type\" : \"molpay_ebanking_VN\"\n }, {\n \"details\" : [ {\n \"items\" : [ {\n \"id\" : \"fpx_bimb\",\n \"name\" : \"Bank Islam\"\n }, {\n \"id\" : \"fpx_uob\",\n \"name\" : \"UOB Bank\"\n }, {\n \"id\" : \"fpx_cimbclicks\",\n \"name\" : \"CIMB Clicks\"\n }, {\n \"id\" : \"fpx_kfh\",\n \"name\" : \"Kuwait Finance House\"\n }, {\n \"id\" : \"fpx_rhb\",\n \"name\" : \"RHB Now\"\n }, {\n \"id\" : \"fpx_abmb\",\n \"name\" : \"Alliance Bank\"\n }, {\n \"id\" : \"fpx_amb\",\n \"name\" : \"Am Online\"\n }, {\n \"id\" : \"fpx_hsbc\",\n \"name\" : \"HSBC\"\n }, {\n \"id\" : \"fpx_abb\",\n \"name\" : \"Affin Bank\"\n }, {\n \"id\" : \"fpx_ocbc\",\n \"name\" : \"OCBC Bank\"\n }, {\n \"id\" : \"fpx_pbb\",\n \"name\" : \"Public Bank\"\n }, {\n \"id\" : \"fpx_scb\",\n \"name\" : \"Standard Chartered Bank\"\n }, {\n \"id\" : \"fpx_bsn\",\n \"name\" : \"Bank Simpanan Nasional\"\n }, {\n \"id\" : \"fpx_mb2u\",\n \"name\" : \"Maybank2u\"\n }, {\n \"id\" : \"fpx_hlb\",\n \"name\" : \"Hong Leong Connect\"\n }, {\n \"id\" : \"fpx_bmmb\",\n \"name\" : \"Bank Muamalat\"\n }, {\n \"id\" : \"fpx_bkrm\",\n \"name\" : \"Bank Rakyat\"\n } ],\n \"key\" : \"issuer\",\n \"type\" : \"select\"\n } ],\n \"name\" : \"Malaysia E-Banking\",\n \"type\" : \"molpay_ebanking_fpx_MY\"\n }, {\n \"name\" : \"eNETS Debit\",\n \"type\" : \"molpay_enetsd\"\n }, {\n \"name\" : \"epay\",\n \"type\" : \"molpay_epay\"\n }, {\n \"name\" : \"Esapay\",\n \"type\" : \"molpay_esapay\"\n }, {\n \"name\" : \"MyClear FPX\",\n \"type\" : \"molpay_fpx\"\n }, {\n \"name\" : \"Maybank2u\",\n \"type\" : \"molpay_maybank2u\"\n }, {\n \"name\" : \"Nganluong\",\n \"type\" : \"molpay_nganluong\"\n }, {\n \"name\" : \"Convenience Stores Thailand\",\n \"type\" : \"molpay_paysbuy\"\n }, {\n \"name\" : \"MOLPoints\",\n \"type\" : \"molpay_points\"\n }, {\n \"name\" : \"RHB Now\",\n \"type\" : \"molpay_rhb\"\n }, {\n \"name\" : \"SAM by SingPost\",\n \"type\" : \"molpay_singpost\"\n }, {\n \"name\" : \"MOLWallet\",\n \"type\" : \"molpay_wallet\"\n }, {\n \"name\" : \"MoMo ATM\",\n \"type\" : \"momo_atm\"\n }, {\n \"name\" : \"Momo Wallet\",\n \"type\" : \"momo_wallet\"\n }, {\n \"name\" : \"Moneybookers\",\n \"type\" : \"moneybookers\"\n }, {\n \"name\" : \"Multibanco\",\n \"type\" : \"multibanco\"\n }, {\n \"name\" : \"De Nationale Musicalcard\",\n \"type\" : \"musicalcard\"\n }, {\n \"name\" : \"Nationale Bioscoopbon\",\n \"type\" : \"nationalebioscoopbon\"\n }, {\n \"name\" : \"Nationale Tuinbon\",\n \"type\" : \"nationaletuinbon\"\n }, {\n \"name\" : \"Nationale Verwen Cadeaubon\",\n \"type\" : \"nationaleverwencadeaubon\"\n }, {\n \"name\" : \"BankAxess\",\n \"type\" : \"netaxept_bankaxess\"\n }, {\n \"name\" : \"NETELLER\",\n \"type\" : \"neteller\"\n }, {\n \"name\" : \"Onebip\",\n \"type\" : \"onebip\"\n }, {\n \"name\" : \"One Two Three\",\n \"type\" : \"onetwothree\"\n }, {\n \"name\" : \"Online Banking PL\",\n \"type\" : \"onlineBanking_PL\"\n }, {\n \"details\" : [ {\n \"items\" : [ {\n \"id\" : \"1\",\n \"name\" : \"Model Bank v2\"\n } ],\n \"key\" : \"issuer\",\n \"type\" : \"select\"\n } ],\n \"name\" : \"Online banking\",\n \"type\" : \"openbanking_UK\"\n }, {\n \"name\" : \"Oxxo\",\n \"type\" : \"oxxo\"\n }, {\n \"name\" : \"Pathe Giftcard\",\n \"type\" : \"pathegiftcard\"\n }, {\n \"name\" : \"PayBright\",\n \"type\" : \"paybright\"\n }, {\n \"name\" : \"Maya Wallet\",\n \"type\" : \"paymaya_wallet\"\n }, {\n \"name\" : \"PayPal\",\n \"type\" : \"paypal\"\n }, {\n \"name\" : \"Paysafecard\",\n \"type\" : \"paysafecard\"\n }, {\n \"name\" : \"Payshop\",\n \"type\" : \"payshop\"\n }, {\n \"name\" : \"PayD AMT via Paythru\",\n \"type\" : \"paythru_amt\"\n }, {\n \"name\" : \"EFT via Paythru\",\n \"type\" : \"paythru_eft\"\n }, {\n \"name\" : \"PayTM\",\n \"type\" : \"paytm\"\n }, {\n \"details\" : [ {\n \"key\" : \"virtualPaymentAddress\",\n \"type\" : \"text\"\n } ],\n \"name\" : \"PayU UPI\",\n \"type\" : \"payu_IN_upi\"\n }, {\n \"name\" : \"EFT Pro via PayU\",\n \"type\" : \"payu_ZA_eftpro\"\n }, {\n \"details\" : [ {\n \"key\" : \"additionalData.paywithgoogle.token\",\n \"type\" : \"payWithGoogleToken\"\n } ],\n \"name\" : \"Google Pay\",\n \"type\" : \"paywithgoogle\"\n }, {\n \"name\" : \"pix\",\n \"type\" : \"pix\"\n }, {\n \"name\" : \"Plastix\",\n \"type\" : \"plastix\"\n }, {\n \"name\" : \"Pluim\",\n \"type\" : \"pluimgiftcard\"\n }, {\n \"name\" : \"Podium Card\",\n \"type\" : \"podiumcard\"\n }, {\n \"name\" : \"POLi\",\n \"type\" : \"poli\"\n }, {\n \"name\" : \"PPS\",\n \"type\" : \"pps\"\n }, {\n \"name\" : \"Primera Cadeaukaart\",\n \"type\" : \"primeracadeaucard\"\n }, {\n \"name\" : \"Illicado Gift Card\",\n \"type\" : \"prosodie_illicado\"\n }, {\n \"name\" : \"PSE\",\n \"type\" : \"pse\"\n }, {\n \"details\" : [ {\n \"items\" : [ {\n \"id\" : \"+7\",\n \"name\" : \"RU\"\n }, {\n \"id\" : \"+9955\",\n \"name\" : \"GE\"\n }, {\n \"id\" : \"+507\",\n \"name\" : \"PA\"\n }, {\n \"id\" : \"+44\",\n \"name\" : \"GB\"\n }, {\n \"id\" : \"+992\",\n \"name\" : \"TJ\"\n }, {\n \"id\" : \"+370\",\n \"name\" : \"LT\"\n }, {\n \"id\" : \"+972\",\n \"name\" : \"IL\"\n }, {\n \"id\" : \"+996\",\n \"name\" : \"KG\"\n }, {\n \"id\" : \"+380\",\n \"name\" : \"UA\"\n }, {\n \"id\" : \"+84\",\n \"name\" : \"VN\"\n }, {\n \"id\" : \"+90\",\n \"name\" : \"TR\"\n }, {\n \"id\" : \"+994\",\n \"name\" : \"AZ\"\n }, {\n \"id\" : \"+374\",\n \"name\" : \"AM\"\n }, {\n \"id\" : \"+371\",\n \"name\" : \"LV\"\n }, {\n \"id\" : \"+91\",\n \"name\" : \"IN\"\n }, {\n \"id\" : \"+66\",\n \"name\" : \"TH\"\n }, {\n \"id\" : \"+373\",\n \"name\" : \"MD\"\n }, {\n \"id\" : \"+1\",\n \"name\" : \"US\"\n }, {\n \"id\" : \"+81\",\n \"name\" : \"JP\"\n }, {\n \"id\" : \"+998\",\n \"name\" : \"UZ\"\n }, {\n \"id\" : \"+77\",\n \"name\" : \"KZ\"\n }, {\n \"id\" : \"+375\",\n \"name\" : \"BY\"\n }, {\n \"id\" : \"+372\",\n \"name\" : \"EE\"\n }, {\n \"id\" : \"+40\",\n \"name\" : \"RO\"\n }, {\n \"id\" : \"+82\",\n \"name\" : \"KR\"\n } ],\n \"key\" : \"qiwiwallet.telephoneNumberPrefix\",\n \"type\" : \"select\"\n }, {\n \"key\" : \"qiwiwallet.telephoneNumber\",\n \"type\" : \"text\"\n } ],\n \"name\" : \"Qiwi Wallet\",\n \"type\" : \"qiwiwallet\"\n }, {\n \"name\" : \"RatePay Invoice\",\n \"type\" : \"ratepay\"\n }, {\n \"name\" : \"RatePay Direct Debit\",\n \"type\" : \"ratepay_directdebit\"\n }, {\n \"name\" : \"Rituals Giftcard\",\n \"type\" : \"rituals\"\n }, {\n \"name\" : \"Rob Peetoom Giftcard\",\n \"type\" : \"robpeetoomgiftcard\"\n }, {\n \"name\" : \"SafetyPay\",\n \"type\" : \"safetypay\"\n }, {\n \"name\" : \"SafetyPay Cash\",\n \"type\" : \"safetypay_cash\"\n }, {\n \"name\" : \"Shoes&Accessories Cadeau\",\n \"type\" : \"sagiftcard\"\n }, {\n \"name\" : \"Score Giftcard\",\n \"type\" : \"scoregiftcard\"\n }, {\n \"name\" : \"SEB Direktbetalning\",\n \"type\" : \"sebdirectpayment\"\n }, {\n \"details\" : [ {\n \"key\" : \"sepa.ownerName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"sepa.ibanNumber\",\n \"type\" : \"text\"\n } ],\n \"name\" : \"SEPA Direct Debit\",\n \"type\" : \"sepadirectdebit\"\n }, {\n \"name\" : \"7-Eleven\",\n \"type\" : \"seveneleven\"\n }, {\n \"name\" : \"Premium SMS\",\n \"type\" : \"sms\"\n }, {\n \"name\" : \"SVS\",\n \"type\" : \"svs\"\n }, {\n \"name\" : \"Swish\",\n \"type\" : \"swish\"\n }, {\n \"name\" : \"TCS Test GiftCard\",\n \"type\" : \"tcstestgiftcard\"\n }, {\n \"name\" : \"TenPay\",\n \"type\" : \"tenpay\"\n }, {\n \"name\" : \"The Sting Giftcard\",\n \"type\" : \"thestinggiftcard\"\n }, {\n \"name\" : \"TrueMoney\",\n \"type\" : \"truemoney\"\n }, {\n \"name\" : \"Trustly\",\n \"type\" : \"trustly\"\n }, {\n \"name\" : \"Online Banking by Trustpay\",\n \"type\" : \"trustpay\"\n }, {\n \"name\" : \"TWINT\",\n \"type\" : \"twint\"\n }, {\n \"name\" : \"Ukash\",\n \"type\" : \"ukash\"\n }, {\n \"name\" : \"UnionPay\",\n \"type\" : \"unionpay\"\n }, {\n \"details\" : [ {\n \"key\" : \"virtualPaymentAddress\",\n \"type\" : \"text\"\n } ],\n \"name\" : \"UPI Collect\",\n \"type\" : \"upi_collect\"\n }, {\n \"name\" : \"Valuelink\",\n \"type\" : \"valuelink\"\n }, {\n \"name\" : \"V&D Cadeaukaart\",\n \"type\" : \"vdcadeaucard\"\n }, {\n \"details\" : [ {\n \"key\" : \"telephoneNumber\",\n \"optional\" : true,\n \"type\" : \"tel\"\n } ],\n \"name\" : \"Vipps\",\n \"type\" : \"vipps\"\n }, {\n \"details\" : [ {\n \"key\" : \"additionalData.visacheckout.callId\",\n \"type\" : \"text\"\n } ],\n \"name\" : \"Visa Checkout\",\n \"type\" : \"visacheckout\"\n }, {\n \"name\" : \"VVV Cadeaubon\",\n \"type\" : \"vvvcadeaubon\"\n }, {\n \"name\" : \"VVV Giftcard\",\n \"type\" : \"vvvgiftcard\"\n }, {\n \"name\" : \"Webshop Giftcard\",\n \"type\" : \"webshopgiftcard\"\n }, {\n \"name\" : \"WeChat Pay\",\n \"type\" : \"wechatpayMiniProgram\"\n }, {\n \"name\" : \"WeChat Pay\",\n \"type\" : \"wechatpayQR\"\n }, {\n \"name\" : \"WeChat Pay\",\n \"type\" : \"wechatpayWeb\"\n }, {\n \"name\" : \"WE Fashion Giftcard\",\n \"type\" : \"wefashiongiftcard\"\n }, {\n \"name\" : \"Western Union\",\n \"type\" : \"westernunion\"\n }, {\n \"name\" : \"Winkel Cheque\",\n \"type\" : \"winkelcheque\"\n }, {\n \"name\" : \"WOS Card\",\n \"type\" : \"woscard\"\n }, {\n \"name\" : \"Alfa-Click\",\n \"type\" : \"yandex_alfaclick\"\n }, {\n \"name\" : \"Pay using bank card\",\n \"type\" : \"yandex_bank_card\"\n }, {\n \"name\" : \"Cash terminals\",\n \"type\" : \"yandex_cash\"\n }, {\n \"name\" : \"Pay using installments\",\n \"type\" : \"yandex_installments\"\n }, {\n \"name\" : \"YooMoney\",\n \"type\" : \"yandex_money\"\n }, {\n \"name\" : \"Promsvyazbank\",\n \"type\" : \"yandex_promsvyazbank\"\n }, {\n \"name\" : \"SberPay\",\n \"type\" : \"yandex_sberbank\"\n }, {\n \"name\" : \"WebMoney\",\n \"type\" : \"yandex_webmoney\"\n }, {\n \"name\" : \"Your Gift\",\n \"type\" : \"yourgift\"\n }, {\n \"name\" : \"Zip\",\n \"type\" : \"zip\"\n } ]\n}", + "originalRequest": { + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentMethods", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentMethods" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Queries the available payment methods for a transaction based on the transaction context (like amount, country, and currency). Besides giving back a list of the available payment methods, the response also returns which input details you need to collect from the shopper (to be submitted to `/payments`). Although we highly recommend using this endpoint to ensure you are always offering the most up-to-date list of payment methods, its usage is optional. You can, for example, also cache the `/paymentMethods` response and update it once a week." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentMethods", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentMethods" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Queries the available payment methods for a transaction based on the transaction context (like amount, country, and currency). Besides giving back a list of the available payment methods, the response also returns which input details you need to collect from the shopper (to be submitted to `/payments`). Although we highly recommend using this endpoint to ensure you are always offering the most up-to-date list of payment methods, its usage is optional. You can, for example, also cache the `/paymentMethods` response and update it once a week." - } + ] }, { "name": "Get payment methods based on the country and amount", "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 + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl-NL\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentMethods", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentMethods" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Queries the available payment methods for a transaction based on the transaction context (like amount, country, and currency). Besides giving back a list of the available payment methods, the response also returns which input details you need to collect from the shopper (to be submitted to `/payments`). Although we highly recommend using this endpoint to ensure you are always offering the most up-to-date list of payment methods, its usage is optional. You can, for example, also cache the `/paymentMethods` response and update it once a week." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"paymentMethods\" : [ {\n \"details\" : [ {\n \"items\" : [ {\n \"id\" : \"1121\",\n \"name\" : \"Test Issuer\"\n }, {\n \"id\" : \"1154\",\n \"name\" : \"Test Issuer 5\"\n }, {\n \"id\" : \"1153\",\n \"name\" : \"Test Issuer 4\"\n }, {\n \"id\" : \"1152\",\n \"name\" : \"Test Issuer 3\"\n }, {\n \"id\" : \"1151\",\n \"name\" : \"Test Issuer 2\"\n }, {\n \"id\" : \"1162\",\n \"name\" : \"Test Issuer Cancelled\"\n }, {\n \"id\" : \"1161\",\n \"name\" : \"Test Issuer Pending\"\n }, {\n \"id\" : \"1160\",\n \"name\" : \"Test Issuer Refused\"\n }, {\n \"id\" : \"1159\",\n \"name\" : \"Test Issuer 10\"\n }, {\n \"id\" : \"1158\",\n \"name\" : \"Test Issuer 9\"\n }, {\n \"id\" : \"1157\",\n \"name\" : \"Test Issuer 8\"\n }, {\n \"id\" : \"1156\",\n \"name\" : \"Test Issuer 7\"\n }, {\n \"id\" : \"1155\",\n \"name\" : \"Test Issuer 6\"\n } ],\n \"key\" : \"issuer\",\n \"type\" : \"select\"\n } ],\n \"name\" : \"iDEAL\",\n \"type\" : \"ideal\"\n }, {\n \"details\" : [ {\n \"key\" : \"encryptedCardNumber\",\n \"type\" : \"cardToken\"\n }, {\n \"key\" : \"encryptedSecurityCode\",\n \"type\" : \"cardToken\"\n }, {\n \"key\" : \"encryptedExpiryMonth\",\n \"type\" : \"cardToken\"\n }, {\n \"key\" : \"encryptedExpiryYear\",\n \"type\" : \"cardToken\"\n }, {\n \"key\" : \"holderName\",\n \"optional\" : true,\n \"type\" : \"text\"\n } ],\n \"name\" : \"Hitelkártya\",\n \"type\" : \"scheme\"\n }, {\n \"name\" : \"PayPal\",\n \"type\" : \"paypal\"\n }, {\n \"details\" : [ {\n \"details\" : [ {\n \"key\" : \"firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"lastName\",\n \"type\" : \"text\"\n }, {\n \"items\" : [ {\n \"id\" : \"M\",\n \"name\" : \"male\"\n }, {\n \"id\" : \"F\",\n \"name\" : \"female\"\n } ],\n \"key\" : \"gender\",\n \"type\" : \"radio\"\n }, {\n \"key\" : \"dateOfBirth\",\n \"type\" : \"date\"\n }, {\n \"key\" : \"telephoneNumber\",\n \"type\" : \"tel\"\n }, {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n } ],\n \"key\" : \"personalDetails\",\n \"type\" : \"fieldSet\"\n }, {\n \"details\" : [ {\n \"key\" : \"street\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"houseNumberOrName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"city\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"postalCode\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"stateOrProvince\",\n \"optional\" : true,\n \"type\" : \"text\"\n }, {\n \"items\" : [ {\n \"id\" : \"NL\",\n \"name\" : \"Netherlands\"\n }, {\n \"id\" : \"BE\",\n \"name\" : \"Belgium\"\n } ],\n \"key\" : \"country\",\n \"type\" : \"select\",\n \"value\" : \"NL\"\n } ],\n \"key\" : \"billingAddress\",\n \"type\" : \"address\"\n }, {\n \"key\" : \"separateDeliveryAddress\",\n \"optional\" : true,\n \"type\" : \"boolean\",\n \"value\" : \"false\"\n }, {\n \"details\" : [ {\n \"key\" : \"street\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"houseNumberOrName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"city\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"postalCode\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"stateOrProvince\",\n \"optional\" : true,\n \"type\" : \"text\"\n }, {\n \"items\" : [ {\n \"id\" : \"NL\",\n \"name\" : \"Netherlands\"\n }, {\n \"id\" : \"BE\",\n \"name\" : \"Belgium\"\n } ],\n \"key\" : \"country\",\n \"type\" : \"select\",\n \"value\" : \"NL\"\n } ],\n \"key\" : \"deliveryAddress\",\n \"optional\" : true,\n \"type\" : \"address\"\n } ],\n \"name\" : \"AfterPay Invoice\",\n \"type\" : \"afterpay_default\"\n }, {\n \"name\" : \"Pay later with Klarna.\",\n \"type\" : \"klarna\"\n }, {\n \"details\" : [ {\n \"key\" : \"sepa.ownerName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"sepa.ibanNumber\",\n \"type\" : \"text\"\n } ],\n \"name\" : \"SEPA Direct Debit\",\n \"type\" : \"sepadirectdebit\"\n }, {\n \"name\" : \"Paysafecard\",\n \"type\" : \"paysafecard\"\n }, {\n \"name\" : \"Bijenkorf Cadeaucard\",\n \"type\" : \"bijcadeaucard\"\n }, {\n \"name\" : \"Fonq Giftcard\",\n \"type\" : \"fonqgiftcard\"\n }, {\n \"name\" : \"Bank Transfer (NL)\",\n \"type\" : \"bankTransfer_NL\"\n }, {\n \"name\" : \"Pathe Giftcard\",\n \"type\" : \"pathegiftcard\"\n }, {\n \"name\" : \"VVV Giftcard\",\n \"type\" : \"vvvgiftcard\"\n }, {\n \"name\" : \"Podium Card\",\n \"type\" : \"podiumcard\"\n }, {\n \"name\" : \"RatePay Direct Debit\",\n \"type\" : \"ratepay_directdebit\"\n }, {\n \"name\" : \"Rituals Giftcard\",\n \"type\" : \"rituals\"\n }, {\n \"name\" : \"Hunkemoller Lingerie Card\",\n \"type\" : \"hmlingerie\"\n }, {\n \"name\" : \"Primera Cadeaukaart\",\n \"type\" : \"primeracadeaucard\"\n }, {\n \"name\" : \"Fashioncheque\",\n \"type\" : \"fashioncheque\"\n }, {\n \"name\" : \"NETELLER\",\n \"type\" : \"neteller\"\n }, {\n \"name\" : \"Adyen Voucher\",\n \"type\" : \"adyen_test_voucher\"\n }, {\n \"name\" : \"AfterPay B2B\",\n \"type\" : \"afterpay_b2b\"\n }, {\n \"name\" : \"AfterPay DirectDebit\",\n \"type\" : \"afterpay_directdebit\"\n }, {\n \"name\" : \"AliPay\",\n \"type\" : \"alipay\"\n }, {\n \"name\" : \"AliPay\",\n \"type\" : \"alipay_wap\"\n }, {\n \"details\" : [ {\n \"key\" : \"additionalData.androidpay.token\",\n \"type\" : \"androidPayToken\"\n } ],\n \"name\" : \"Android Pay\",\n \"type\" : \"androidpay\"\n }, {\n \"details\" : [ {\n \"key\" : \"additionalData.applepay.token\",\n \"type\" : \"applePayToken\"\n } ],\n \"name\" : \"Apple Pay\",\n \"type\" : \"applepay\"\n }, {\n \"name\" : \"Baby Gift Card\",\n \"type\" : \"babygiftcard\"\n }, {\n \"name\" : \"SEPA Bank Transfer\",\n \"type\" : \"bankTransfer_IBAN\"\n }, {\n \"name\" : \"Bloemen Giftcard\",\n \"type\" : \"bloemengiftcard\"\n }, {\n \"name\" : \"Boekenbon Giftcard\",\n \"type\" : \"boekenbon\"\n }, {\n \"name\" : \"Cash-Ticket\",\n \"type\" : \"cashticket\"\n }, {\n \"name\" : \"Chasin Giftcard\",\n \"type\" : \"chasingiftcard\"\n }, {\n \"name\" : \"ClickandBuy\",\n \"type\" : \"clickandbuy\"\n }, {\n \"name\" : \"Costes Giftcard\",\n \"type\" : \"costesgiftcard\"\n }, {\n \"name\" : \"custom_settlement\",\n \"type\" : \"custom_settlement\"\n }, {\n \"name\" : \"eft_directdebit_CA\",\n \"type\" : \"eft_directdebit_CA\"\n }, {\n \"name\" : \"Nationale Entertainment Card\",\n \"type\" : \"entertainmentcard\"\n }, {\n \"name\" : \"Expert Cadeaukaart\",\n \"type\" : \"expertgiftcard\"\n }, {\n \"name\" : \"FijnCadeau\",\n \"type\" : \"fijncadeau\"\n }, {\n \"name\" : \"Fleurop Bloemenbon\",\n \"type\" : \"fleuropbloemenbon\"\n }, {\n \"name\" : \"Gall & Gall\",\n \"type\" : \"gallgall\"\n }, {\n \"name\" : \"Generic GiftCard\",\n \"type\" : \"genericgiftcard\"\n }, {\n \"name\" : \"GiftFor2\",\n \"type\" : \"giftfor2card\"\n }, {\n \"name\" : \"Givex\",\n \"type\" : \"givex\"\n }, {\n \"name\" : \"Goldsmiths Card\",\n \"type\" : \"goldsmithscard\"\n }, {\n \"name\" : \"Hunkemoller Member Card\",\n \"type\" : \"hmclub\"\n }, {\n \"name\" : \"Phone Payment\",\n \"type\" : \"ivr\"\n }, {\n \"name\" : \"Landline phone\",\n \"type\" : \"ivrLandline\"\n }, {\n \"name\" : \"Mobile phone\",\n \"type\" : \"ivrMobile\"\n }, {\n \"name\" : \"Kado Wereld\",\n \"type\" : \"kadowereld\"\n }, {\n \"name\" : \"Karen Millen GiftCard\",\n \"type\" : \"karenmillengiftcard\"\n }, {\n \"name\" : \"Leisure Card\",\n \"type\" : \"leisurecard\"\n }, {\n \"name\" : \"Loods5 Cadeaukaart\",\n \"type\" : \"loods5giftcard\"\n }, {\n \"name\" : \"Loods5 Tegoedbon\",\n \"type\" : \"loods5prepaidcard\"\n }, {\n \"details\" : [ {\n \"key\" : \"additionalData.amazonPayToken\",\n \"type\" : \"text\"\n } ],\n \"name\" : \"Amazon Pay\",\n \"supportsRecurring\" : true,\n \"type\" : \"amazonpay\"\n }, {\n \"name\" : \"MOLPoints\",\n \"type\" : \"molpay_points\"\n }, {\n \"name\" : \"Moneybookers\",\n \"type\" : \"moneybookers\"\n }, {\n \"name\" : \"De Nationale Musicalcard\",\n \"type\" : \"musicalcard\"\n }, {\n \"name\" : \"Nationale Bioscoopbon\",\n \"type\" : \"nationalebioscoopbon\"\n }, {\n \"name\" : \"Nationale Tuinbon\",\n \"type\" : \"nationaletuinbon\"\n }, {\n \"name\" : \"Nationale Verwen Cadeaubon\",\n \"type\" : \"nationaleverwencadeaubon\"\n }, {\n \"name\" : \"Onebip\",\n \"type\" : \"onebip\"\n }, {\n \"details\" : [ {\n \"key\" : \"additionalData.paywithgoogle.token\",\n \"type\" : \"payWithGoogleToken\"\n } ],\n \"name\" : \"Google Pay\",\n \"type\" : \"paywithgoogle\"\n }, {\n \"name\" : \"Plastix\",\n \"type\" : \"plastix\"\n }, {\n \"name\" : \"Pluim\",\n \"type\" : \"pluimgiftcard\"\n }, {\n \"name\" : \"Illicado Gift Card\",\n \"type\" : \"prosodie_illicado\"\n }, {\n \"name\" : \"RatePay Invoice\",\n \"type\" : \"ratepay\"\n }, {\n \"name\" : \"Rob Peetoom Giftcard\",\n \"type\" : \"robpeetoomgiftcard\"\n }, {\n \"name\" : \"Shoes&Accessories Cadeau\",\n \"type\" : \"sagiftcard\"\n }, {\n \"name\" : \"Score Giftcard\",\n \"type\" : \"scoregiftcard\"\n }, {\n \"name\" : \"Premium SMS\",\n \"type\" : \"sms\"\n }, {\n \"name\" : \"SVS\",\n \"type\" : \"svs\"\n }, {\n \"name\" : \"TCS Test GiftCard\",\n \"type\" : \"tcstestgiftcard\"\n }, {\n \"name\" : \"The Sting Giftcard\",\n \"type\" : \"thestinggiftcard\"\n }, {\n \"name\" : \"Ukash\",\n \"type\" : \"ukash\"\n }, {\n \"name\" : \"UnionPay\",\n \"type\" : \"unionpay\"\n }, {\n \"name\" : \"Valuelink\",\n \"type\" : \"valuelink\"\n }, {\n \"name\" : \"V&D Cadeaukaart\",\n \"type\" : \"vdcadeaucard\"\n }, {\n \"details\" : [ {\n \"key\" : \"additionalData.visacheckout.callId\",\n \"type\" : \"text\"\n } ],\n \"name\" : \"Visa Checkout\",\n \"type\" : \"visacheckout\"\n }, {\n \"name\" : \"VVV Cadeaubon\",\n \"type\" : \"vvvcadeaubon\"\n }, {\n \"name\" : \"Webshop Giftcard\",\n \"type\" : \"webshopgiftcard\"\n }, {\n \"name\" : \"WE Fashion Giftcard\",\n \"type\" : \"wefashiongiftcard\"\n }, {\n \"name\" : \"Western Union\",\n \"type\" : \"westernunion\"\n }, {\n \"name\" : \"Winkel Cheque\",\n \"type\" : \"winkelcheque\"\n }, {\n \"name\" : \"Your Gift\",\n \"type\" : \"yourgift\"\n } ]\n}", + "originalRequest": { + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl-NL\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentMethods", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentMethods" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Queries the available payment methods for a transaction based on the transaction context (like amount, country, and currency). Besides giving back a list of the available payment methods, the response also returns which input details you need to collect from the shopper (to be submitted to `/payments`). Although we highly recommend using this endpoint to ensure you are always offering the most up-to-date list of payment methods, its usage is optional. You can, for example, also cache the `/paymentMethods` response and update it once a week." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl-NL\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n }\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentMethods", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentMethods" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Queries the available payment methods for a transaction based on the transaction context (like amount, country, and currency). Besides giving back a list of the available payment methods, the response also returns which input details you need to collect from the shopper (to be submitted to `/payments`). Although we highly recommend using this endpoint to ensure you are always offering the most up-to-date list of payment methods, its usage is optional. You can, for example, also cache the `/paymentMethods` response and update it once a week." - } + ] }, { "name": "Get payment methods including stored card details", "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 + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"countryCode\" : \"NL\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentMethods", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentMethods" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Queries the available payment methods for a transaction based on the transaction context (like amount, country, and currency). Besides giving back a list of the available payment methods, the response also returns which input details you need to collect from the shopper (to be submitted to `/payments`). Although we highly recommend using this endpoint to ensure you are always offering the most up-to-date list of payment methods, its usage is optional. You can, for example, also cache the `/paymentMethods` response and update it once a week." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"paymentMethods\" : [ {\n \"details\" : [ {\n \"items\" : [ {\n \"id\" : \"1121\",\n \"name\" : \"Test Issuer\"\n }, {\n \"id\" : \"1154\",\n \"name\" : \"Test Issuer 5\"\n }, {\n \"id\" : \"1153\",\n \"name\" : \"Test Issuer 4\"\n }, {\n \"id\" : \"1152\",\n \"name\" : \"Test Issuer 3\"\n }, {\n \"id\" : \"1151\",\n \"name\" : \"Test Issuer 2\"\n }, {\n \"id\" : \"1162\",\n \"name\" : \"Test Issuer Cancelled\"\n }, {\n \"id\" : \"1161\",\n \"name\" : \"Test Issuer Pending\"\n }, {\n \"id\" : \"1160\",\n \"name\" : \"Test Issuer Refused\"\n }, {\n \"id\" : \"1159\",\n \"name\" : \"Test Issuer 10\"\n }, {\n \"id\" : \"1158\",\n \"name\" : \"Test Issuer 9\"\n }, {\n \"id\" : \"1157\",\n \"name\" : \"Test Issuer 8\"\n }, {\n \"id\" : \"1156\",\n \"name\" : \"Test Issuer 7\"\n }, {\n \"id\" : \"1155\",\n \"name\" : \"Test Issuer 6\"\n } ],\n \"key\" : \"issuer\",\n \"type\" : \"select\"\n } ],\n \"name\" : \"iDEAL\",\n \"type\" : \"ideal\"\n }, {\n \"details\" : [ {\n \"key\" : \"encryptedCardNumber\",\n \"type\" : \"cardToken\"\n }, {\n \"key\" : \"encryptedSecurityCode\",\n \"type\" : \"cardToken\"\n }, {\n \"key\" : \"encryptedExpiryMonth\",\n \"type\" : \"cardToken\"\n }, {\n \"key\" : \"encryptedExpiryYear\",\n \"type\" : \"cardToken\"\n }, {\n \"key\" : \"holderName\",\n \"optional\" : true,\n \"type\" : \"text\"\n } ],\n \"name\" : \"Credit Card\",\n \"type\" : \"scheme\"\n }, {\n \"name\" : \"PayPal\",\n \"type\" : \"paypal\"\n }, {\n \"details\" : [ {\n \"details\" : [ {\n \"key\" : \"firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"lastName\",\n \"type\" : \"text\"\n }, {\n \"items\" : [ {\n \"id\" : \"M\",\n \"name\" : \"male\"\n }, {\n \"id\" : \"F\",\n \"name\" : \"female\"\n } ],\n \"key\" : \"gender\",\n \"type\" : \"radio\"\n }, {\n \"key\" : \"dateOfBirth\",\n \"type\" : \"date\"\n }, {\n \"key\" : \"telephoneNumber\",\n \"type\" : \"tel\"\n }, {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n } ],\n \"key\" : \"personalDetails\",\n \"type\" : \"fieldSet\"\n }, {\n \"details\" : [ {\n \"key\" : \"street\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"houseNumberOrName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"city\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"postalCode\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"stateOrProvince\",\n \"optional\" : true,\n \"type\" : \"text\"\n }, {\n \"items\" : [ {\n \"id\" : \"NL\",\n \"name\" : \"Netherlands\"\n }, {\n \"id\" : \"BE\",\n \"name\" : \"Belgium\"\n } ],\n \"key\" : \"country\",\n \"type\" : \"select\",\n \"value\" : \"NL\"\n } ],\n \"key\" : \"billingAddress\",\n \"type\" : \"address\"\n }, {\n \"key\" : \"separateDeliveryAddress\",\n \"optional\" : true,\n \"type\" : \"boolean\",\n \"value\" : \"false\"\n }, {\n \"details\" : [ {\n \"key\" : \"street\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"houseNumberOrName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"city\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"postalCode\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"stateOrProvince\",\n \"optional\" : true,\n \"type\" : \"text\"\n }, {\n \"items\" : [ {\n \"id\" : \"NL\",\n \"name\" : \"Netherlands\"\n }, {\n \"id\" : \"BE\",\n \"name\" : \"Belgium\"\n } ],\n \"key\" : \"country\",\n \"type\" : \"select\",\n \"value\" : \"NL\"\n } ],\n \"key\" : \"deliveryAddress\",\n \"optional\" : true,\n \"type\" : \"address\"\n } ],\n \"name\" : \"AfterPay Invoice\",\n \"type\" : \"afterpay_default\"\n }, {\n \"name\" : \"Pay later with Klarna.\",\n \"type\" : \"klarna\"\n }, {\n \"details\" : [ {\n \"key\" : \"sepa.ownerName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"sepa.ibanNumber\",\n \"type\" : \"text\"\n } ],\n \"name\" : \"SEPA Direct Debit\",\n \"type\" : \"sepadirectdebit\"\n }, {\n \"name\" : \"Paysafecard\",\n \"type\" : \"paysafecard\"\n }, {\n \"name\" : \"Bijenkorf Cadeaucard\",\n \"type\" : \"bijcadeaucard\"\n }, {\n \"name\" : \"Fonq Giftcard\",\n \"type\" : \"fonqgiftcard\"\n }, {\n \"name\" : \"Bank Transfer (NL)\",\n \"type\" : \"bankTransfer_NL\"\n }, {\n \"name\" : \"Pathe Giftcard\",\n \"type\" : \"pathegiftcard\"\n }, {\n \"name\" : \"VVV Giftcard\",\n \"type\" : \"vvvgiftcard\"\n }, {\n \"name\" : \"Podium Card\",\n \"type\" : \"podiumcard\"\n }, {\n \"name\" : \"RatePay Direct Debit\",\n \"type\" : \"ratepay_directdebit\"\n }, {\n \"name\" : \"Rituals Giftcard\",\n \"type\" : \"rituals\"\n }, {\n \"name\" : \"Hunkemoller Lingerie Card\",\n \"type\" : \"hmlingerie\"\n }, {\n \"name\" : \"Primera Cadeaukaart\",\n \"type\" : \"primeracadeaucard\"\n }, {\n \"name\" : \"Fashioncheque\",\n \"type\" : \"fashioncheque\"\n }, {\n \"name\" : \"NETELLER\",\n \"type\" : \"neteller\"\n }, {\n \"name\" : \"Adyen Voucher\",\n \"type\" : \"adyen_test_voucher\"\n }, {\n \"name\" : \"AfterPay B2B\",\n \"type\" : \"afterpay_b2b\"\n }, {\n \"name\" : \"AfterPay DirectDebit\",\n \"type\" : \"afterpay_directdebit\"\n }, {\n \"name\" : \"AliPay\",\n \"type\" : \"alipay\"\n }, {\n \"name\" : \"AliPay\",\n \"type\" : \"alipay_wap\"\n }, {\n \"details\" : [ {\n \"key\" : \"additionalData.androidpay.token\",\n \"type\" : \"androidPayToken\"\n } ],\n \"name\" : \"Android Pay\",\n \"type\" : \"androidpay\"\n }, {\n \"details\" : [ {\n \"key\" : \"additionalData.applepay.token\",\n \"type\" : \"applePayToken\"\n } ],\n \"name\" : \"Apple Pay\",\n \"type\" : \"applepay\"\n }, {\n \"name\" : \"Baby Gift Card\",\n \"type\" : \"babygiftcard\"\n }, {\n \"name\" : \"SEPA Bank Transfer\",\n \"type\" : \"bankTransfer_IBAN\"\n }, {\n \"name\" : \"Bloemen Giftcard\",\n \"type\" : \"bloemengiftcard\"\n }, {\n \"name\" : \"Boekenbon Giftcard\",\n \"type\" : \"boekenbon\"\n }, {\n \"name\" : \"Cash-Ticket\",\n \"type\" : \"cashticket\"\n }, {\n \"name\" : \"Chasin Giftcard\",\n \"type\" : \"chasingiftcard\"\n }, {\n \"name\" : \"ClickandBuy\",\n \"type\" : \"clickandbuy\"\n }, {\n \"name\" : \"Costes Giftcard\",\n \"type\" : \"costesgiftcard\"\n }, {\n \"name\" : \"custom_settlement\",\n \"type\" : \"custom_settlement\"\n }, {\n \"name\" : \"eft_directdebit_CA\",\n \"type\" : \"eft_directdebit_CA\"\n }, {\n \"name\" : \"Nationale Entertainment Card\",\n \"type\" : \"entertainmentcard\"\n }, {\n \"name\" : \"Expert Cadeaukaart\",\n \"type\" : \"expertgiftcard\"\n }, {\n \"name\" : \"FijnCadeau\",\n \"type\" : \"fijncadeau\"\n }, {\n \"name\" : \"Fleurop Bloemenbon\",\n \"type\" : \"fleuropbloemenbon\"\n }, {\n \"name\" : \"Gall & Gall\",\n \"type\" : \"gallgall\"\n }, {\n \"name\" : \"Generic GiftCard\",\n \"type\" : \"genericgiftcard\"\n }, {\n \"name\" : \"GiftFor2\",\n \"type\" : \"giftfor2card\"\n }, {\n \"name\" : \"Givex\",\n \"type\" : \"givex\"\n }, {\n \"name\" : \"Goldsmiths Card\",\n \"type\" : \"goldsmithscard\"\n }, {\n \"name\" : \"Hunkemoller Member Card\",\n \"type\" : \"hmclub\"\n }, {\n \"name\" : \"Phone Payment\",\n \"type\" : \"ivr\"\n }, {\n \"name\" : \"Landline phone\",\n \"type\" : \"ivrLandline\"\n }, {\n \"name\" : \"Mobile phone\",\n \"type\" : \"ivrMobile\"\n }, {\n \"name\" : \"Kado Wereld\",\n \"type\" : \"kadowereld\"\n }, {\n \"name\" : \"Karen Millen GiftCard\",\n \"type\" : \"karenmillengiftcard\"\n }, {\n \"name\" : \"Leisure Card\",\n \"type\" : \"leisurecard\"\n }, {\n \"name\" : \"Loods5 Cadeaukaart\",\n \"type\" : \"loods5giftcard\"\n }, {\n \"name\" : \"Loods5 Tegoedbon\",\n \"type\" : \"loods5prepaidcard\"\n }, {\n \"details\" : [ {\n \"key\" : \"additionalData.amazonPayToken\",\n \"type\" : \"text\"\n } ],\n \"name\" : \"Amazon Pay\",\n \"supportsRecurring\" : true,\n \"type\" : \"amazonpay\"\n }, {\n \"name\" : \"MOLPoints\",\n \"type\" : \"molpay_points\"\n }, {\n \"name\" : \"Moneybookers\",\n \"type\" : \"moneybookers\"\n }, {\n \"name\" : \"De Nationale Musicalcard\",\n \"type\" : \"musicalcard\"\n }, {\n \"name\" : \"Nationale Bioscoopbon\",\n \"type\" : \"nationalebioscoopbon\"\n }, {\n \"name\" : \"Nationale Tuinbon\",\n \"type\" : \"nationaletuinbon\"\n }, {\n \"name\" : \"Nationale Verwen Cadeaubon\",\n \"type\" : \"nationaleverwencadeaubon\"\n }, {\n \"name\" : \"Onebip\",\n \"type\" : \"onebip\"\n }, {\n \"details\" : [ {\n \"key\" : \"additionalData.paywithgoogle.token\",\n \"type\" : \"payWithGoogleToken\"\n } ],\n \"name\" : \"Google Pay\",\n \"type\" : \"paywithgoogle\"\n }, {\n \"name\" : \"Plastix\",\n \"type\" : \"plastix\"\n }, {\n \"name\" : \"Pluim\",\n \"type\" : \"pluimgiftcard\"\n }, {\n \"name\" : \"Illicado Gift Card\",\n \"type\" : \"prosodie_illicado\"\n }, {\n \"name\" : \"RatePay Invoice\",\n \"type\" : \"ratepay\"\n }, {\n \"name\" : \"Rob Peetoom Giftcard\",\n \"type\" : \"robpeetoomgiftcard\"\n }, {\n \"name\" : \"Shoes&Accessories Cadeau\",\n \"type\" : \"sagiftcard\"\n }, {\n \"name\" : \"Score Giftcard\",\n \"type\" : \"scoregiftcard\"\n }, {\n \"name\" : \"Premium SMS\",\n \"type\" : \"sms\"\n }, {\n \"name\" : \"SVS\",\n \"type\" : \"svs\"\n }, {\n \"name\" : \"TCS Test GiftCard\",\n \"type\" : \"tcstestgiftcard\"\n }, {\n \"name\" : \"The Sting Giftcard\",\n \"type\" : \"thestinggiftcard\"\n }, {\n \"name\" : \"Ukash\",\n \"type\" : \"ukash\"\n }, {\n \"name\" : \"UnionPay\",\n \"type\" : \"unionpay\"\n }, {\n \"name\" : \"Valuelink\",\n \"type\" : \"valuelink\"\n }, {\n \"name\" : \"V&D Cadeaukaart\",\n \"type\" : \"vdcadeaucard\"\n }, {\n \"details\" : [ {\n \"key\" : \"additionalData.visacheckout.callId\",\n \"type\" : \"text\"\n } ],\n \"name\" : \"Visa Checkout\",\n \"type\" : \"visacheckout\"\n }, {\n \"name\" : \"VVV Cadeaubon\",\n \"type\" : \"vvvcadeaubon\"\n }, {\n \"name\" : \"Webshop Giftcard\",\n \"type\" : \"webshopgiftcard\"\n }, {\n \"name\" : \"WE Fashion Giftcard\",\n \"type\" : \"wefashiongiftcard\"\n }, {\n \"name\" : \"Western Union\",\n \"type\" : \"westernunion\"\n }, {\n \"name\" : \"Winkel Cheque\",\n \"type\" : \"winkelcheque\"\n }, {\n \"name\" : \"Your Gift\",\n \"type\" : \"yourgift\"\n } ]\n}", + "originalRequest": { + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"countryCode\" : \"NL\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentMethods", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentMethods" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Queries the available payment methods for a transaction based on the transaction context (like amount, country, and currency). Besides giving back a list of the available payment methods, the response also returns which input details you need to collect from the shopper (to be submitted to `/payments`). Although we highly recommend using this endpoint to ensure you are always offering the most up-to-date list of payment methods, its usage is optional. You can, for example, also cache the `/paymentMethods` response and update it once a week." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"countryCode\" : \"NL\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentMethods", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentMethods" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Queries the available payment methods for a transaction based on the transaction context (like amount, country, and currency). Besides giving back a list of the available payment methods, the response also returns which input details you need to collect from the shopper (to be submitted to `/payments`). Although we highly recommend using this endpoint to ensure you are always offering the most up-to-date list of payment methods, its usage is optional. You can, for example, also cache the `/paymentMethods` response and update it once a week." - } + ] } ] - } -, + }, { "name": "/payments", "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. ", @@ -1421,839 +2692,1385 @@ { "name": "Make an Apple Pay payment", "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"applepay\",\n \"applePayToken\" : \"VNRWtuNlNEWkRCSm1xWndjMDFFbktkQU...\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"applepay\",\n \"applePayToken\" : \"VNRWtuNlNEWkRCSm1xWndjMDFFbktkQU...\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + ] }, { "name": "Make a card payment with 3D Secure 2 native authentication", "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 + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"{{$guid}}\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4917610000000000\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\",\n \"cvc\" : \"737\"\n },\n \"additionalData\" : {\n \"allow3DS2\" : \"true\"\n },\n \"accountInfo\" : {\n \"accountCreationDate\" : \"2019-01-17T13:42:40+01:00\"\n },\n \"billingAddress\" : {\n \"country\" : \"US\",\n \"city\" : \"New York\",\n \"street\" : \"Redwood Block\",\n \"houseNumberOrName\" : \"37C\",\n \"stateOrProvince\" : \"NY\",\n \"postalCode\" : \"10039\"\n },\n \"shopperEmail\" : \"s.hopper@test.com\",\n \"shopperIP\" : \"192.0.2.1\",\n \"browserInfo\" : {\n \"userAgent\" : \"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.110 Safari/537.36\",\n \"acceptHeader\" : \"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8\",\n \"language\" : \"nl-NL\",\n \"colorDepth\" : 24,\n \"screenHeight\" : 723,\n \"screenWidth\" : 1536,\n \"timeZoneOffset\" : 0,\n \"javaEnabled\" : true\n },\n \"channel\" : \"Web\",\n \"origin\" : \"https://your-company.com\",\n \"returnUrl\" : \"https://your-company.com/checkout/\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"additionalData\" : {\n \"cvcResult\" : \"1 Matches\",\n \"authCode\" : \"044410\",\n \"avsResult\" : \"4 AVS not supported for this card type\",\n \"avsResultRaw\" : \"4\",\n \"cvcResultRaw\" : \"M\",\n \"refusalReasonRaw\" : \"AUTHORISED\",\n \"acquirerCode\" : \"TestPmmAcquirer\",\n \"acquirerReference\" : \"8PQMP9TI1O2\"\n },\n \"pspReference\" : \"993617895005515H\",\n \"resultCode\" : \"Authorised\"\n}", + "originalRequest": { + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"{{$guid}}\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4917610000000000\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\",\n \"cvc\" : \"737\"\n },\n \"additionalData\" : {\n \"allow3DS2\" : \"true\"\n },\n \"accountInfo\" : {\n \"accountCreationDate\" : \"2019-01-17T13:42:40+01:00\"\n },\n \"billingAddress\" : {\n \"country\" : \"US\",\n \"city\" : \"New York\",\n \"street\" : \"Redwood Block\",\n \"houseNumberOrName\" : \"37C\",\n \"stateOrProvince\" : \"NY\",\n \"postalCode\" : \"10039\"\n },\n \"shopperEmail\" : \"s.hopper@test.com\",\n \"shopperIP\" : \"192.0.2.1\",\n \"browserInfo\" : {\n \"userAgent\" : \"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.110 Safari/537.36\",\n \"acceptHeader\" : \"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8\",\n \"language\" : \"nl-NL\",\n \"colorDepth\" : 24,\n \"screenHeight\" : 723,\n \"screenWidth\" : 1536,\n \"timeZoneOffset\" : 0,\n \"javaEnabled\" : true\n },\n \"channel\" : \"Web\",\n \"origin\" : \"https://your-company.com\",\n \"returnUrl\" : \"https://your-company.com/checkout/\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"{{$guid}}\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4917610000000000\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\",\n \"cvc\" : \"737\"\n },\n \"additionalData\" : {\n \"allow3DS2\" : \"true\"\n },\n \"accountInfo\" : {\n \"accountCreationDate\" : \"2019-01-17T13:42:40+01:00\"\n },\n \"billingAddress\" : {\n \"country\" : \"US\",\n \"city\" : \"New York\",\n \"street\" : \"Redwood Block\",\n \"houseNumberOrName\" : \"37C\",\n \"stateOrProvince\" : \"NY\",\n \"postalCode\" : \"10039\"\n },\n \"shopperEmail\" : \"s.hopper@test.com\",\n \"shopperIP\" : \"192.0.2.1\",\n \"browserInfo\" : {\n \"userAgent\" : \"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.110 Safari/537.36\",\n \"acceptHeader\" : \"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8\",\n \"language\" : \"nl-NL\",\n \"colorDepth\" : 24,\n \"screenHeight\" : 723,\n \"screenWidth\" : 1536,\n \"timeZoneOffset\" : 0,\n \"javaEnabled\" : true\n },\n \"channel\" : \"Web\",\n \"origin\" : \"https://your-company.com\",\n \"returnUrl\" : \"https://your-company.com/checkout/\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + ] }, { "name": "Make a card payment with 3D Secure redirect authentication", "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 + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4212345678901237\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\",\n \"cvc\" : \"737\"\n },\n \"browserInfo\" : {\n \"colorDepth\" : 24,\n \"screenHeight\" : 1800,\n \"screenWidth\" : 2880,\n \"timeZoneOffset\" : 60,\n \"language\" : \"nl\",\n \"userAgent\" : \"Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9) Gecko/2008052912 Firefox/3.0\",\n \"acceptHeader\" : \"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8\",\n \"javaEnabled\" : true\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"additionalData\" : {\n \"cvcResult\" : \"1 Matches\",\n \"authCode\" : \"074516\",\n \"avsResult\" : \"4 AVS not supported for this card type\",\n \"avsResultRaw\" : \"4\",\n \"cvcResultRaw\" : \"M\",\n \"refusalReasonRaw\" : \"AUTHORISED\",\n \"acquirerCode\" : \"TestPmmAcquirer\",\n \"acquirerReference\" : \"8PQMP9SJ7DN\"\n },\n \"pspReference\" : \"993617894903480A\",\n \"resultCode\" : \"Authorised\"\n}", + "originalRequest": { + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4212345678901237\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\",\n \"cvc\" : \"737\"\n },\n \"browserInfo\" : {\n \"colorDepth\" : 24,\n \"screenHeight\" : 1800,\n \"screenWidth\" : 2880,\n \"timeZoneOffset\" : 60,\n \"language\" : \"nl\",\n \"userAgent\" : \"Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9) Gecko/2008052912 Firefox/3.0\",\n \"acceptHeader\" : \"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8\",\n \"javaEnabled\" : true\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4212345678901237\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\",\n \"cvc\" : \"737\"\n },\n \"browserInfo\" : {\n \"colorDepth\" : 24,\n \"screenHeight\" : 1800,\n \"screenWidth\" : 2880,\n \"timeZoneOffset\" : 60,\n \"language\" : \"nl\",\n \"userAgent\" : \"Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9) Gecko/2008052912 Firefox/3.0\",\n \"acceptHeader\" : \"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8\",\n \"javaEnabled\" : true\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + ] }, { "name": "Make a payment with 3D Secure 2 native authentication, using encrypted card details", "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 + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"encryptedCardNumber\" : \"test_4212345678901237\",\n \"encryptedExpiryMonth\" : \"test_03\",\n \"encryptedExpiryYear\" : \"test_2030\",\n \"encryptedSecurityCode\" : \"test_737\",\n \"holderName\" : \"John Smith\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"additionalData\" : {\n \"cvcResult\" : \"1 Matches\",\n \"authCode\" : \"083996\",\n \"avsResult\" : \"4 AVS not supported for this card type\",\n \"avsResultRaw\" : \"4\",\n \"cvcResultRaw\" : \"M\",\n \"refusalReasonRaw\" : \"AUTHORISED\",\n \"acquirerCode\" : \"TestPmmAcquirer\",\n \"acquirerReference\" : \"8PQMP9SJH66\"\n },\n \"pspReference\" : \"993617894905481G\",\n \"resultCode\" : \"Authorised\"\n}", + "originalRequest": { + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"encryptedCardNumber\" : \"test_4212345678901237\",\n \"encryptedExpiryMonth\" : \"test_03\",\n \"encryptedExpiryYear\" : \"test_2030\",\n \"encryptedSecurityCode\" : \"test_737\",\n \"holderName\" : \"John Smith\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"encryptedCardNumber\" : \"test_4212345678901237\",\n \"encryptedExpiryMonth\" : \"test_03\",\n \"encryptedExpiryYear\" : \"test_2030\",\n \"encryptedSecurityCode\" : \"test_737\",\n \"holderName\" : \"John Smith\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + ] }, { "name": "Make a card payment", "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 + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4111111111111111\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\",\n \"cvc\" : \"737\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"additionalData\" : {\n \"cvcResult\" : \"1 Matches\",\n \"authCode\" : \"036240\",\n \"avsResult\" : \"4 AVS not supported for this card type\",\n \"avsResultRaw\" : \"4\",\n \"cvcResultRaw\" : \"M\",\n \"refusalReasonRaw\" : \"AUTHORISED\",\n \"acquirerCode\" : \"TestPmmAcquirer\",\n \"acquirerReference\" : \"8PQMP9SJQUL\"\n },\n \"pspReference\" : \"993617894906488A\",\n \"resultCode\" : \"Authorised\"\n}", + "originalRequest": { + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4111111111111111\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\",\n \"cvc\" : \"737\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4111111111111111\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\",\n \"cvc\" : \"737\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + ] }, { "name": "Make a card payment using encrypted card details", "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 + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"encryptedCardNumber\" : \"test_4111111111111111\",\n \"encryptedExpiryMonth\" : \"test_03\",\n \"encryptedExpiryYear\" : \"test_2030\",\n \"encryptedSecurityCode\" : \"test_737\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"additionalData\" : {\n \"cvcResult\" : \"1 Matches\",\n \"authCode\" : \"064649\",\n \"avsResult\" : \"4 AVS not supported for this card type\",\n \"avsResultRaw\" : \"4\",\n \"cvcResultRaw\" : \"M\",\n \"refusalReasonRaw\" : \"AUTHORISED\",\n \"acquirerCode\" : \"TestPmmAcquirer\",\n \"acquirerReference\" : \"8PQMP9SM92L\"\n },\n \"pspReference\" : \"993617894914488A\",\n \"resultCode\" : \"Authorised\"\n}", + "originalRequest": { + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"encryptedCardNumber\" : \"test_4111111111111111\",\n \"encryptedExpiryMonth\" : \"test_03\",\n \"encryptedExpiryYear\" : \"test_2030\",\n \"encryptedSecurityCode\" : \"test_737\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"encryptedCardNumber\" : \"test_4111111111111111\",\n \"encryptedExpiryMonth\" : \"test_03\",\n \"encryptedExpiryYear\" : \"test_2030\",\n \"encryptedSecurityCode\" : \"test_737\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + ] }, { "name": "Tokenize card details for one-off payments, using encrypted card details", "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"encryptedCardNumber\" : \"adyenjs_0_1_18$MT6ppy0FAMVMLH...\",\n \"encryptedExpiryMonth\" : \"adyenjs_0_1_18$MT6ppy0FAMVMLH...\",\n \"encryptedExpiryYear\" : \"adyenjs_0_1_18$MT6ppy0FAMVMLH...\",\n \"encryptedSecurityCode\" : \"adyenjs_0_1_18$MT6ppy0FAMVMLH...\"\n },\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"encryptedCardNumber\" : \"adyenjs_0_1_18$MT6ppy0FAMVMLH...\",\n \"encryptedExpiryMonth\" : \"adyenjs_0_1_18$MT6ppy0FAMVMLH...\",\n \"encryptedExpiryYear\" : \"adyenjs_0_1_18$MT6ppy0FAMVMLH...\",\n \"encryptedSecurityCode\" : \"adyenjs_0_1_18$MT6ppy0FAMVMLH...\"\n },\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + ] }, { "name": "Tokenize card details for one-off payments", "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 + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4111111111111111\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\",\n \"cvc\" : \"737\"\n },\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"storePaymentMethod\" : true,\n \"shopperInteraction\" : \"Ecommerce\",\n \"recurringProcessingModel\" : \"CardOnFile\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"additionalData\" : {\n \"cvcResult\" : \"1 Matches\",\n \"authCode\" : \"022966\",\n \"avsResult\" : \"4 AVS not supported for this card type\",\n \"recurring.recurringDetailReference\" : \"9916178934434753\",\n \"recurringProcessingModel\" : \"CardOnFile\",\n \"avsResultRaw\" : \"4\",\n \"cvcResultRaw\" : \"M\",\n \"refusalReasonRaw\" : \"AUTHORISED\",\n \"recurring.shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID\",\n \"acquirerCode\" : \"TestPmmAcquirer\",\n \"acquirerReference\" : \"8PQMP9T0BB6\"\n },\n \"pspReference\" : \"993617894947495G\",\n \"resultCode\" : \"Authorised\"\n}", + "originalRequest": { + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4111111111111111\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\",\n \"cvc\" : \"737\"\n },\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"storePaymentMethod\" : true,\n \"shopperInteraction\" : \"Ecommerce\",\n \"recurringProcessingModel\" : \"CardOnFile\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4111111111111111\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\",\n \"cvc\" : \"737\"\n },\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"storePaymentMethod\" : true,\n \"shopperInteraction\" : \"Ecommerce\",\n \"recurringProcessingModel\" : \"CardOnFile\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + ] }, { "name": "Make a Google Pay payment", "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"paywithgoogle\",\n \"googlePayToken\" : \"==Payload as retrieved from Google Pay response==\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"YourMerchantAccount\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"paywithgoogle\",\n \"googlePayToken\" : \"==Payload as retrieved from Google Pay response==\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"YourMerchantAccount\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + ] }, { "name": "Make an iDEAL payment", "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 + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"ideal\",\n \"issuer\" : \"1121\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"resultCode\" : \"RedirectShopper\",\n \"details\" : [ {\n \"key\" : \"payload\",\n \"type\" : \"text\"\n } ],\n \"paymentData\" : \"Ab02b4c0!BQABAgBOBkMn4vBx6T3DgxR+OR/a1zEA0xbGaYKP9mh/vWDSADlyktW39HZckwcm4Wr9kw2TvE9SYngEf9f6kZb1OimKls3+HEn3dRGOrTbWZZ8/tpmlS62YoDh1eQIE3EHZsUm7CQxhXjm8F0HQCelzIkVgj8DpLgtxwM3nFZxfpzl91HSt9CP/GIsx8S/RPVG2Fwg2S/jtdQ4MlFeG89S+icDvTecTyGoYFZlS/KL77Q4zJCR8Vgn4M9DJZEGRxv6kApLwDMkMyUMQngN95xDSCdLSW7fKkVusSub2+2hB7rzWxtj1E8R9dbtkCxgTe0F/G7tqrzUfEmseiHoKmaF6F8bN0j6BZiFhQJ/KHXJ6Pb+a7f0qYbQCAZmwYmeSSfNzqIDehyufpL0bP3w38spuso3QlhtPIqSHrIHDIQzbYmxPtt/I6A/RCMXJ7VN4nB6JigEygV383lnr8wd7mEynOQXnq9zEF+GGJy0Ool05WEy8L/mATgg++6bpsuSB2Wea5/VffvG6KcMyzs7OBG9zLAdYcrfqlsyXz/42UBJTeA2s6kVb1sBUfd6CQuQRF+37sjMwKiNIxwVaNWIYZMiWhbqPXOS4ozt0kNCtruhHqHgULPfF6aia/BnZKib6n+pBSepTdS47wZ31xC8VPqsoPia8RGNziLO/MmSMpW2fQRdgrhCrSniHb8qrh0vwgbPB4S7vAEp7ImtleSI6IkFGMEFBQTEwM0NBNTM3RUFFRDg3QzI0REQ1MzkwOUI4MEE3OEE5MjNFMzgyM0Q2OERBQ0M5NEI5RkY4MzA1REMifTMy2HjS+Bb81E9m0fQAZJXCA1BJgLgstBw3wxbdpZevF8c+pSBGUYNUm9ZbwrD93dGdCU2RvlI1gcyKke0cEEqKGjqWFXOWIYkSNzfLrgP3ERdp5t9VGZi6BDQko2CFzP4uAR3jwgR3AP0/mQ/4YWDrBrnYZCWjOpo7izGhNbHYvWbBOqVDvnfReoCrSNSLSo8OfSxuFrN6sJLXrajGu1qbPqQtxFIRyqLgbOfHLHw/DN3I+BZKGrNYynRfM2NparXTQ6ZRgC8E5xIodApr4JHMNeiPTjMlReaLBQwbcqaBzzRNLdV0v8/ZSXexS68WBeUMt7OkomYJBFrpwmpzgx/nzRzV87MZ9TGhZht/1zjcyaSi0Toc6r7UhbADuDX5RH5L0T8Q3iGJfjrYuS5h9aiYSg8oaVJ5DZhJAicDbb8eLvdAGXFTIV+EXbD+4e9Xl+c5um4FdKfufcrrUEo2s6lUuSBSJ3Gf6r+yJMxkamWwfnRUtxt+axRcXfmywYqU7O1r0zzW+RKCbV2qZeUWWeN1u5UIPdJbQbH4633ukPp//aGh8R4IWckBp7DGH4M5P1ZiYJB8OQRS5gD/y+iuwensnq1rKFBOK4gFNSpKmuDQYLeWb5VljHgE1sS4DRhl0fl8UCabehP+3tZu/2i88JTWbdUuvPLmkyv8zQdY36YeSDWmwC40vvbB+lo2e8MgVpfDwn+xyQFpFhasbEyr4VVoPwHq1sGR/QEutxmeoJi1Zux48jSHoGOj5RZ4ei+b8Lxp4rj45wwm0AiROghLnZJZfJaySp/LVxQ=\",\n \"redirect\" : {\n \"method\" : \"GET\",\n \"url\" : \"https://test.adyen.com/hpp/checkout.shtml?u=redirectIdeal&p=eJxtUl1vozAQ-DXwFmQDAfLgh4jSC730Q1yoqr5Urr0NXIlNbUPj-PozXC6qqpOstTWz2p3Z9auigueSA2k50M5ng1IgmJ2hoq78VusBVMkJxiH2D6BYQ4VZMyYHYcgOtLk9YxeyFAb2ippWisDYHki*KfKf9-Xu5UdxV1Rl-t-MEZR2N4nRha7gDSY1QLRRrdh-IcygxBU1lKxWOMFptopXcZZEyc0l51e7J9XdcHpeDTxC4edG1pFF5WMHnw95FtHf3N5z1MWqipKjF17XXnTl99QewNk7zO4wQshXoOtqSxpjei9au0R3Oslo10htHJKhDDmINcDe5WB0I-selEM0qLFloN3z4W-ZUjB5cD4q4K0CZhwz4n-lzjm3YBrJvej626iduq-D9sJEzUNw2hw1qXONlpPA5STRBSsHtXANeyps4O4ZDILA16CnST-SruWtsSREIV6geIGyHU6cI7x0Ic6e-bOXaUuKsmlLpHCFJmXg6-dWzL*kH16DMQzOi0iTNE1xFsXBqRyfot1NwrPRFmGzPr4w3jTHGpX16S3*2H4Um22xB8u5-ANWgt0s\"\n }\n}", + "originalRequest": { + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"ideal\",\n \"issuer\" : \"1121\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"ideal\",\n \"issuer\" : \"1121\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + ] }, { "name": "Make a Klarna payment", "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 \"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" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + "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 \"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" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + ] }, { "name": "Make a one-off payment with a token and CVV", "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"storedPaymentMethodId\" : \"8416038790273850\",\n \"cvc\" : \"737\"\n },\n \"shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID_6738oneoff\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"storedPaymentMethodId\" : \"8416038790273850\",\n \"cvc\" : \"737\"\n },\n \"shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID_6738oneoff\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + ] }, { "name": "Make a one-off payment with a token and CVV, using encrypted card details", "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"recurringDetailReference\" : \"8416038790273850\",\n \"encryptedSecurityCode\" : \"adyenjs_0_1_18$MT6ppy0FAMVMLH...\"\n },\n \"shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID_6738oneoff\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"recurringDetailReference\" : \"8416038790273850\",\n \"encryptedSecurityCode\" : \"adyenjs_0_1_18$MT6ppy0FAMVMLH...\"\n },\n \"shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID_6738oneoff\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + ] }, { "name": "Make a card payment with a token", "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"storedPaymentMethodId\" : \"8316038796685850\"\n },\n \"shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID_IOfW3subscription\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"shopperInteraction\" : \"ContAuth\",\n \"recurringProcessingModel\" : \"Subscription\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"storedPaymentMethodId\" : \"8316038796685850\"\n },\n \"shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID_IOfW3subscription\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"shopperInteraction\" : \"ContAuth\",\n \"recurringProcessingModel\" : \"Subscription\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + ] }, { "name": "Split a payment between balance accounts", "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 + "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 \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4111111111111111\",\n \"cvc\" : \"737\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\"\n },\n \"amount\" : {\n \"value\" : 40000,\n \"currency\" : \"USD\"\n },\n \"reference\" : \"{{$guid}}\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"splits\" : [ {\n \"amount\" : {\n \"value\" : 39600\n },\n \"type\" : \"BalanceAccount\",\n \"account\" : \"BA00000000000000000000001\",\n \"reference\" : \"Your reference for the sale amount\",\n \"description\" : \"Your description for the sale amount\"\n }, {\n \"amount\" : {\n \"value\" : 400\n },\n \"type\" : \"Commission\",\n \"reference\" : \"Your reference for the commission\",\n \"description\" : \"Your description for the commission\"\n }, {\n \"type\" : \"PaymentFee\",\n \"account\" : \"BA00000000000000000000001\",\n \"reference\" : \"Your reference for the fees\",\n \"description\" : \"Your description for the fees\"\n } ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"additionalData\" : {\n \"refusalReasonRaw\" : \"AUTHORISED\",\n \"eci\" : \"N/A\",\n \"acquirerAccountCode\" : \"YOUR_ACQUIRER_ACCOUNT\",\n \"xid\" : \"N/A\",\n \"threeDAuthenticated\" : \"false\",\n \"paymentMethodVariant\" : \"visa\",\n \"issuerBin\" : \"41111111\",\n \"payoutEligible\" : \"Y\",\n \"fraudManualReview\" : \"false\",\n \"threeDOffered\" : \"false\",\n \"threeDOfferedResponse\" : \"N/A\",\n \"authorisationMid\" : \"50\",\n \"fundsAvailability\" : \"I\",\n \"authorisedAmountCurrency\" : \"USD\",\n \"threeDAuthenticatedResponse\" : \"N/A\",\n \"avsResultRaw\" : \"5\",\n \"retry.attempt1.rawResponse\" : \"AUTHORISED\",\n \"paymentMethod\" : \"visa\",\n \"avsResult\" : \"5 No AVS data provided\",\n \"cardSummary\" : \"1111\",\n \"retry.attempt1.avsResultRaw\" : \"5\",\n \"networkTxReference\" : \"777718270854480\",\n \"expiryDate\" : \"3/2030\",\n \"cavvAlgorithm\" : \"N/A\",\n \"cardBin\" : \"411111\",\n \"alias\" : \"8915844059375211\",\n \"cvcResultRaw\" : \"M\",\n \"merchantReference\" : \"YOUR_ORDER_NUMBER\",\n \"acquirerReference\" : \"YOUR_ACQUIRER_REFERENCE\",\n \"cardIssuingCountry\" : \"NL\",\n \"liabilityShift\" : \"false\",\n \"fraudResultType\" : \"GREEN\",\n \"authCode\" : \"035450\",\n \"cardHolderName\" : \"John Smith\",\n \"isCardCommercial\" : \"unknown\",\n \"PaymentAccountReference\" : \"6006491286999921374...\",\n \"retry.attempt1.acquirerAccount\" : \"YOUR_ACQUIRER_ACCOUNT\",\n \"cardIssuingBank\" : \"ISSUING_BANK_CUSTOMER\",\n \"retry.attempt1.acquirer\" : \"YOUR_ACQUIRER_CODE\",\n \"authorisedAmountValue\" : \"40000\",\n \"issuerCountry\" : \"NL\",\n \"cvcResult\" : \"1 Matches\",\n \"retry.attempt1.responseCode\" : \"Approved\",\n \"aliasType\" : \"Default\",\n \"retry.attempt1.shopperInteraction\" : \"Ecommerce\",\n \"cardPaymentMethod\" : \"visa\",\n \"acquirerCode\" : \"YOUR_ACQUIRER_CODE\"\n },\n \"pspReference\" : \"PPKFQ89R6QRXGN82\",\n \"resultCode\" : \"Authorised\",\n \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 40000\n },\n \"donationToken\" : \"81234567890123456...\",\n \"merchantReference\" : \"YOUR_ORDER_NUMBER\"\n}", + "originalRequest": { + "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 \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4111111111111111\",\n \"cvc\" : \"737\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\"\n },\n \"amount\" : {\n \"value\" : 40000,\n \"currency\" : \"USD\"\n },\n \"reference\" : \"{{$guid}}\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"splits\" : [ {\n \"amount\" : {\n \"value\" : 39600\n },\n \"type\" : \"BalanceAccount\",\n \"account\" : \"BA00000000000000000000001\",\n \"reference\" : \"Your reference for the sale amount\",\n \"description\" : \"Your description for the sale amount\"\n }, {\n \"amount\" : {\n \"value\" : 400\n },\n \"type\" : \"Commission\",\n \"reference\" : \"Your reference for the commission\",\n \"description\" : \"Your description for the commission\"\n }, {\n \"type\" : \"PaymentFee\",\n \"account\" : \"BA00000000000000000000001\",\n \"reference\" : \"Your reference for the fees\",\n \"description\" : \"Your description for the fees\"\n } ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4111111111111111\",\n \"cvc\" : \"737\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\"\n },\n \"amount\" : {\n \"value\" : 40000,\n \"currency\" : \"USD\"\n },\n \"reference\" : \"{{$guid}}\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"splits\" : [ {\n \"amount\" : {\n \"value\" : 39600\n },\n \"type\" : \"BalanceAccount\",\n \"account\" : \"BA00000000000000000000001\",\n \"reference\" : \"Your reference for the sale amount\",\n \"description\" : \"Your description for the sale amount\"\n }, {\n \"amount\" : {\n \"value\" : 400\n },\n \"type\" : \"Commission\",\n \"reference\" : \"Your reference for the commission\",\n \"description\" : \"Your description for the commission\"\n }, {\n \"type\" : \"PaymentFee\",\n \"account\" : \"BA00000000000000000000001\",\n \"reference\" : \"Your reference for the fees\",\n \"description\" : \"Your description for the fees\"\n } ]\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + ] }, { "name": "Split a payment in a Classic Platforms integration", "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 \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4111111111111111\",\n \"cvc\" : \"737\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\"\n },\n \"amount\" : {\n \"value\" : 6200,\n \"currency\" : \"EUR\"\n },\n \"reference\" : \"{{$guid}}\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"splits\" : [ {\n \"amount\" : {\n \"value\" : 6000\n },\n \"type\" : \"MarketPlace\",\n \"account\" : \"151272963\",\n \"reference\" : \"6124145\",\n \"description\" : \"Porcelain Doll: Eliza (20cm)\"\n }, {\n \"amount\" : {\n \"value\" : 200\n },\n \"type\" : \"Commission\",\n \"reference\" : \"6124146\"\n } ]\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + "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 \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4111111111111111\",\n \"cvc\" : \"737\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\"\n },\n \"amount\" : {\n \"value\" : 6200,\n \"currency\" : \"EUR\"\n },\n \"reference\" : \"{{$guid}}\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"splits\" : [ {\n \"amount\" : {\n \"value\" : 6000\n },\n \"type\" : \"MarketPlace\",\n \"account\" : \"151272963\",\n \"reference\" : \"6124145\",\n \"description\" : \"Porcelain Doll: Eliza (20cm)\"\n }, {\n \"amount\" : {\n \"value\" : 200\n },\n \"type\" : \"Commission\",\n \"reference\" : \"6124146\"\n } ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + ] }, { "name": "Tokenize card details for a subscription", "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 + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4111111111111111\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\",\n \"cvc\" : \"737\"\n },\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"storePaymentMethod\" : true,\n \"shopperInteraction\" : \"Ecommerce\",\n \"recurringProcessingModel\" : \"Subscription\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"additionalData\" : {\n \"cvcResult\" : \"1 Matches\",\n \"authCode\" : \"004908\",\n \"avsResult\" : \"4 AVS not supported for this card type\",\n \"recurring.recurringDetailReference\" : \"9916178934434753\",\n \"recurringProcessingModel\" : \"Subscription\",\n \"avsResultRaw\" : \"4\",\n \"cvcResultRaw\" : \"M\",\n \"refusalReasonRaw\" : \"AUTHORISED\",\n \"recurring.shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID\",\n \"acquirerCode\" : \"TestPmmAcquirer\",\n \"acquirerReference\" : \"8PQMP9UV722\"\n },\n \"pspReference\" : \"993617895153552A\",\n \"resultCode\" : \"Authorised\",\n \"merchantReference\" : \"string\"\n}", + "originalRequest": { + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4111111111111111\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\",\n \"cvc\" : \"737\"\n },\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"storePaymentMethod\" : true,\n \"shopperInteraction\" : \"Ecommerce\",\n \"recurringProcessingModel\" : \"Subscription\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4111111111111111\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\",\n \"cvc\" : \"737\"\n },\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"storePaymentMethod\" : true,\n \"shopperInteraction\" : \"Ecommerce\",\n \"recurringProcessingModel\" : \"Subscription\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + ] } ] - } -, + }, { "name": "/payments/details", "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. ", @@ -2261,206 +4078,213 @@ { "name": "Submit details for the 3D Secure payment ", "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 \"MD\" : \"Ab02b4c0!BQABAgCW5sxB4e/==...\",\n \"PaRes\" : \"eNrNV0mTo7gS...\"\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. " - } + "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 \"MD\" : \"Ab02b4c0!BQABAgCW5sxB4e/==...\",\n \"PaRes\" : \"eNrNV0mTo7gS...\"\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. " +} + ,"response": [ + ] }, { "name": "Submit 3D Secure 2 callenge flow result", "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 \"details\" : {\n \"threeds2.challengeResult\" : \"eyJ0cmFuc1N0YXR1cyI6IlkifQ==\"\n },\n \"paymentData\" : \"YOUR_PAYMENT_DATA\"\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. " - } + "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 \"details\" : {\n \"threeds2.challengeResult\" : \"eyJ0cmFuc1N0YXR1cyI6IlkifQ==\"\n },\n \"paymentData\" : \"YOUR_PAYMENT_DATA\"\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. " +} + ,"response": [ + ] }, { "name": "Submit 3D Secure 2 device fingerprinting result", "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 \"details\" : {\n \"threeds2.fingerprint\" : \"eyJ0aHJlZURTQ29tcEluZCI6ICJZIn0=\"\n },\n \"paymentData\" : \"YOUR_PAYMENT_DATA...\"\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. " - } + "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 \"details\" : {\n \"threeds2.fingerprint\" : \"eyJ0aHJlZURTQ29tcEluZCI6ICJZIn0=\"\n },\n \"paymentData\" : \"YOUR_PAYMENT_DATA...\"\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. " +} + ,"response": [ + ] }, { "name": "Submit the redirect result", "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\" : \"Ab02b4c0!BQABAgCJN1wRZuGJmq8dMncmypvknj9s7l5Tj...\",\n \"details\" : {\n \"redirectResult\" : \"X6XtfGC3!Y...\"\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. " - } + "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\" : \"Ab02b4c0!BQABAgCJN1wRZuGJmq8dMncmypvknj9s7l5Tj...\",\n \"details\" : {\n \"redirectResult\" : \"X6XtfGC3!Y...\"\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. " +} + ,"response": [ + ] } ] } - ] }, { @@ -2473,55 +4297,113 @@ { "name": "Create a payment link", "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 + "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 \"reference\" : \"{{$guid}}\",\n \"amount\" : {\n \"value\" : 1250,\n \"currency\" : \"BRL\"\n },\n \"countryCode\" : \"BR\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"shopperEmail\" : \"test@email.com\",\n \"shopperLocale\" : \"pt-BR\",\n \"billingAddress\" : {\n \"street\" : \"Roque Petroni Jr\",\n \"postalCode\" : \"59000060\",\n \"city\" : \"São Paulo\",\n \"houseNumberOrName\" : \"999\",\n \"country\" : \"BR\",\n \"stateOrProvince\" : \"SP\"\n },\n \"deliveryAddress\" : {\n \"street\" : \"Roque Petroni Jr\",\n \"postalCode\" : \"59000060\",\n \"city\" : \"São Paulo\",\n \"houseNumberOrName\" : \"999\",\n \"country\" : \"BR\",\n \"stateOrProvince\" : \"SP\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentLinks", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentLinks" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates a payment link to our hosted payment form where shoppers can pay. The list of payment methods presented to the shopper depends on the `currency` and `country` parameters sent in the request. For more information, refer to [Pay by Link documentation](https://docs.adyen.com/online-payments/pay-by-link#create-payment-links-through-api)." +} + ,"response": [ + {"name": "Created - the request has succeeded.", + "code": 201, + "status": "Created", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"amount\" : {\n \"currency\" : \"BRL\",\n \"value\" : 1250\n },\n \"billingAddress\" : {\n \"city\" : \"São Paulo\",\n \"country\" : \"BR\",\n \"houseNumberOrName\" : \"999\",\n \"postalCode\" : \"59000060\",\n \"stateOrProvince\" : \"SP\",\n \"street\" : \"Roque Petroni Jr\"\n },\n \"countryCode\" : \"BR\",\n \"deliveryAddress\" : {\n \"city\" : \"São Paulo\",\n \"country\" : \"BR\",\n \"houseNumberOrName\" : \"999\",\n \"postalCode\" : \"59000060\",\n \"stateOrProvince\" : \"SP\",\n \"street\" : \"Roque Petroni Jr\"\n },\n \"expiresAt\" : \"2022-10-28T09:16:22Z\",\n \"merchantAccount\" : \"YOUR_MERCHANT_ACCOUNT\",\n \"reference\" : \"YOUR_ORDER_NUMBER\",\n \"reusable\" : false,\n \"shopperEmail\" : \"test@email.com\",\n \"shopperLocale\" : \"pt-BR\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"id\" : \"PLE83C39B0A0DE0C1E\",\n \"status\" : \"active\",\n \"url\" : \"https://test.adyen.link/PLE83C39B0A0DE0C1E\"\n}", + "originalRequest": { + "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 \"reference\" : \"{{$guid}}\",\n \"amount\" : {\n \"value\" : 1250,\n \"currency\" : \"BRL\"\n },\n \"countryCode\" : \"BR\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"shopperEmail\" : \"test@email.com\",\n \"shopperLocale\" : \"pt-BR\",\n \"billingAddress\" : {\n \"street\" : \"Roque Petroni Jr\",\n \"postalCode\" : \"59000060\",\n \"city\" : \"São Paulo\",\n \"houseNumberOrName\" : \"999\",\n \"country\" : \"BR\",\n \"stateOrProvince\" : \"SP\"\n },\n \"deliveryAddress\" : {\n \"street\" : \"Roque Petroni Jr\",\n \"postalCode\" : \"59000060\",\n \"city\" : \"São Paulo\",\n \"houseNumberOrName\" : \"999\",\n \"country\" : \"BR\",\n \"stateOrProvince\" : \"SP\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentLinks", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentLinks" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates a payment link to our hosted payment form where shoppers can pay. The list of payment methods presented to the shopper depends on the `currency` and `country` parameters sent in the request. For more information, refer to [Pay by Link documentation](https://docs.adyen.com/online-payments/pay-by-link#create-payment-links-through-api)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"reference\" : \"{{$guid}}\",\n \"amount\" : {\n \"value\" : 1250,\n \"currency\" : \"BRL\"\n },\n \"countryCode\" : \"BR\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"shopperEmail\" : \"test@email.com\",\n \"shopperLocale\" : \"pt-BR\",\n \"billingAddress\" : {\n \"street\" : \"Roque Petroni Jr\",\n \"postalCode\" : \"59000060\",\n \"city\" : \"São Paulo\",\n \"houseNumberOrName\" : \"999\",\n \"country\" : \"BR\",\n \"stateOrProvince\" : \"SP\"\n },\n \"deliveryAddress\" : {\n \"street\" : \"Roque Petroni Jr\",\n \"postalCode\" : \"59000060\",\n \"city\" : \"São Paulo\",\n \"houseNumberOrName\" : \"999\",\n \"country\" : \"BR\",\n \"stateOrProvince\" : \"SP\"\n }\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentLinks", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentLinks" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Creates a payment link to our hosted payment form where shoppers can pay. The list of payment methods presented to the shopper depends on the `currency` and `country` parameters sent in the request. For more information, refer to [Pay by Link documentation](https://docs.adyen.com/online-payments/pay-by-link#create-payment-links-through-api)." - } + ] } ] - } -, + }, { "name": "/paymentLinks/:linkId", "description": "Retrieves the payment link details using the payment link `id`.", @@ -2529,49 +4411,50 @@ { "name": "Get a payment link", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentLinks/:linkId", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentLinks", - ":linkId" - ], - "variable": [ - { - "key": "linkId", - "value": "", - "description": "Unique identifier of the payment link." - } - ], - "query": [ - ] - }, - "description": "Retrieves the payment link details using the payment link `id`." - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentLinks/:linkId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentLinks", + ":linkId" + ], + "variable": [ + { + "key": "linkId", + "value": "", + "description": "Unique identifier of the payment link." + } + ], + "query": [ + ] + }, + "description": "Retrieves the payment link details using the payment link `id`." +} + ,"response": [ + ] } ] - } -, + }, { "name": "/paymentLinks/:linkId", "description": "Updates the status of a payment link. Use this endpoint to [force the expiry of a payment link](https://docs.adyen.com/online-payments/pay-by-link#update-payment-link-status).", @@ -2579,55 +4462,113 @@ { "name": "Update the status of a payment link", "request": { - "method": "PATCH", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"status\" : \"expired\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentLinks/:linkId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentLinks", + ":linkId" + ], + "variable": [ + { + "key": "linkId", + "value": "", + "description": "Unique identifier of the payment link." + } + ], + "query": [ + ] + }, + "description": "Updates the status of a payment link. Use this endpoint to [force the expiry of a payment link](https://docs.adyen.com/online-payments/pay-by-link#update-payment-link-status)." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 8700\n },\n \"countryCode\" : \"NL\",\n \"expiresAt\" : \"2021-04-08T14:06:39Z\",\n \"merchantAccount\" : \"YOUR_MERCHANT_ACCOUNT\",\n \"reference\" : \"shopper-reference-ekvL83\",\n \"shopperLocale\" : \"hu-HU\",\n \"shopperReference\" : \"shopper-reference-LZfdWZ\",\n \"status\" : \"expired\",\n \"url\" : \"https://test.adyen.link/PL61C53A8B97E6915A\",\n \"id\" : \"PL61C53A8B97E6915A\"\n}", + "originalRequest": { + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"status\" : \"expired\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentLinks/:linkId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentLinks", + ":linkId" + ], + "variable": [ + { + "key": "linkId", + "value": "", + "description": "Unique identifier of the payment link." + } + ], + "query": [ + ] + }, + "description": "Updates the status of a payment link. Use this endpoint to [force the expiry of a payment link](https://docs.adyen.com/online-payments/pay-by-link#update-payment-link-status)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"status\" : \"expired\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentLinks/:linkId", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentLinks", - ":linkId" - ], - "variable": [ - { - "key": "linkId", - "value": "", - "description": "Unique identifier of the payment link." - } - ], - "query": [ - ] - }, - "description": "Updates the status of a payment link. Use this endpoint to [force the expiry of a payment link](https://docs.adyen.com/online-payments/pay-by-link#update-payment-link-status)." - } + ] } ] } - ] } ], diff --git a/postman/CheckoutService-v64.json b/postman/CheckoutService-v64.json index 67d1c83..1def0d2 100644 --- a/postman/CheckoutService-v64.json +++ b/postman/CheckoutService-v64.json @@ -19,55 +19,113 @@ { "name": "Cancel a payment using your own reference", "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 + "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 \"paymentReference\" : \"YOUR_UNIQUE_REFERENCE_FOR_THE_PAYMENT\",\n \"reference\" : \"YOUR_UNIQUE_REFERENCE_FOR_THE_CANCELLATION\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/cancels", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "cancels" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Cancels the authorisation on a payment that has not yet been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/captures), and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**TECHNICAL_CANCEL** webhook](https://docs.adyen.com/online-payments/cancel#cancellation-webhook). If you want to cancel a payment using the [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference), use the [`/payments/{paymentPspReference}/cancels`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/cancels) endpoint instead. If you want to cancel a payment but are not sure whether it has been captured, use the [`/payments/{paymentPspReference}/reversals`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/reversals) endpoint instead. For more information, refer to [Cancel](https://docs.adyen.com/online-payments/cancel)." +} + ,"response": [ + {"name": "Created - the request has been fulfilled and has resulted in one or more new resources being created.", + "code": 201, + "status": "Created", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"merchantAccount\" : \"YOUR_MERCHANT_ACCOUNT\",\n \"paymentReference\" : \"YOUR_UNIQUE_REFERENCE_FOR_THE_PAYMENT\",\n \"reference\" : \"YOUR_UNIQUE_REFERENCE_FOR_THE_CANCELLATION\",\n \"pspReference\" : \"993617894906488A\",\n \"status\" : \"received\"\n}", + "originalRequest": { + "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 \"paymentReference\" : \"YOUR_UNIQUE_REFERENCE_FOR_THE_PAYMENT\",\n \"reference\" : \"YOUR_UNIQUE_REFERENCE_FOR_THE_CANCELLATION\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/cancels", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "cancels" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Cancels the authorisation on a payment that has not yet been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/captures), and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**TECHNICAL_CANCEL** webhook](https://docs.adyen.com/online-payments/cancel#cancellation-webhook). If you want to cancel a payment using the [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference), use the [`/payments/{paymentPspReference}/cancels`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/cancels) endpoint instead. If you want to cancel a payment but are not sure whether it has been captured, use the [`/payments/{paymentPspReference}/reversals`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/reversals) endpoint instead. For more information, refer to [Cancel](https://docs.adyen.com/online-payments/cancel)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"paymentReference\" : \"YOUR_UNIQUE_REFERENCE_FOR_THE_PAYMENT\",\n \"reference\" : \"YOUR_UNIQUE_REFERENCE_FOR_THE_CANCELLATION\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/cancels", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "cancels" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Cancels the authorisation on a payment that has not yet been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/captures), and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**TECHNICAL_CANCEL** webhook](https://docs.adyen.com/online-payments/cancel#cancellation-webhook). If you want to cancel a payment using the [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference), use the [`/payments/{paymentPspReference}/cancels`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/cancels) endpoint instead. If you want to cancel a payment but are not sure whether it has been captured, use the [`/payments/{paymentPspReference}/reversals`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/reversals) endpoint instead. For more information, refer to [Cancel](https://docs.adyen.com/online-payments/cancel)." - } + ] } ] - } -, + }, { "name": "/payments/:paymentPspReference/amountUpdates", "description": "Increases or decreases the authorised payment amount and returns a unique reference for this request. You get the outcome of the request asynchronously, in an [**AUTHORISATION_ADJUSTMENT** webhook](https://docs.adyen.com/development-resources/webhooks/understand-notifications#event-codes). You can only update authorised amounts that have not yet been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/captures). The amount you specify in the request is the updated amount, which is larger or smaller than the initial authorised amount. For more information, refer to [Authorisation adjustment](https://docs.adyen.com/online-payments/adjust-authorisation#use-cases).", @@ -75,62 +133,127 @@ { "name": "Update the amount of an authorised payment", "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 + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 2500\n },\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments/:paymentPspReference/amountUpdates", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments", + ":paymentPspReference", + "amountUpdates" + ], + "variable": [ + { + "key": "paymentPspReference", + "value": "", + "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment." + } + ], + "query": [ + ] + }, + "description": "Increases or decreases the authorised payment amount and returns a unique reference for this request. You get the outcome of the request asynchronously, in an [**AUTHORISATION_ADJUSTMENT** webhook](https://docs.adyen.com/development-resources/webhooks/understand-notifications#event-codes). You can only update authorised amounts that have not yet been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/captures). The amount you specify in the request is the updated amount, which is larger or smaller than the initial authorised amount. For more information, refer to [Authorisation adjustment](https://docs.adyen.com/online-payments/adjust-authorisation#use-cases)." +} + ,"response": [ + {"name": "Created - the request has been fulfilled and has resulted in one or more new resources being created.", + "code": 201, + "status": "Created", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"merchantAccount\" : \"YOUR_MERCHANT_ACCOUNT\",\n \"paymentPspReference\" : \"993617894903480A\",\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"pspReference\" : \"993617894906488A\",\n \"status\" : \"received\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 2500\n }\n}", + "originalRequest": { + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 2500\n },\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments/:paymentPspReference/amountUpdates", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments", + ":paymentPspReference", + "amountUpdates" + ], + "variable": [ + { + "key": "paymentPspReference", + "value": "", + "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment." + } + ], + "query": [ + ] + }, + "description": "Increases or decreases the authorised payment amount and returns a unique reference for this request. You get the outcome of the request asynchronously, in an [**AUTHORISATION_ADJUSTMENT** webhook](https://docs.adyen.com/development-resources/webhooks/understand-notifications#event-codes). You can only update authorised amounts that have not yet been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/captures). The amount you specify in the request is the updated amount, which is larger or smaller than the initial authorised amount. For more information, refer to [Authorisation adjustment](https://docs.adyen.com/online-payments/adjust-authorisation#use-cases)." +} } - ], - "body": { - "mode": "raw", - "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" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments/:paymentPspReference/amountUpdates", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments", - ":paymentPspReference", - "amountUpdates" - ], - "variable": [ - { - "key": "paymentPspReference", - "value": "", - "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment." - } - ], - "query": [ - ] - }, - "description": "Increases or decreases the authorised payment amount and returns a unique reference for this request. You get the outcome of the request asynchronously, in an [**AUTHORISATION_ADJUSTMENT** webhook](https://docs.adyen.com/development-resources/webhooks/understand-notifications#event-codes). You can only update authorised amounts that have not yet been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/captures). The amount you specify in the request is the updated amount, which is larger or smaller than the initial authorised amount. For more information, refer to [Authorisation adjustment](https://docs.adyen.com/online-payments/adjust-authorisation#use-cases)." - } + ] } ] - } -, + }, { "name": "/payments/:paymentPspReference/cancels", "description": "Cancels the authorisation on a payment that has not yet been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/paymentPspReference/captures), and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CANCELLATION** webhook](https://docs.adyen.com/online-payments/cancel#cancellation-webhook). If you want to cancel a payment but don't have the [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference), use the [`/cancels`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cancels) endpoint instead. If you want to cancel a payment but are not sure whether it has been captured, use the [`/payments/{paymentPspReference}/reversals`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/reversals) endpoint instead. For more information, refer to [Cancel](https://docs.adyen.com/online-payments/cancel).", @@ -138,62 +261,127 @@ { "name": "Cancel payment using a PSP reference", "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 + "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 \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments/:paymentPspReference/cancels", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments", + ":paymentPspReference", + "cancels" + ], + "variable": [ + { + "key": "paymentPspReference", + "value": "", + "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to cancel. " + } + ], + "query": [ + ] + }, + "description": "Cancels the authorisation on a payment that has not yet been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/paymentPspReference/captures), and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CANCELLATION** webhook](https://docs.adyen.com/online-payments/cancel#cancellation-webhook). If you want to cancel a payment but don't have the [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference), use the [`/cancels`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cancels) endpoint instead. If you want to cancel a payment but are not sure whether it has been captured, use the [`/payments/{paymentPspReference}/reversals`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/reversals) endpoint instead. For more information, refer to [Cancel](https://docs.adyen.com/online-payments/cancel)." +} + ,"response": [ + {"name": "Created - the request has been fulfilled and has resulted in one or more new resources being created.", + "code": 201, + "status": "Created", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"merchantAccount\" : \"YOUR_MERCHANT_ACCOUNT\",\n \"paymentPspReference\" : \"993617894903480A\",\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"pspReference\" : \"993617894906488A\",\n \"status\" : \"received\"\n}", + "originalRequest": { + "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 \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments/:paymentPspReference/cancels", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments", + ":paymentPspReference", + "cancels" + ], + "variable": [ + { + "key": "paymentPspReference", + "value": "", + "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to cancel. " + } + ], + "query": [ + ] + }, + "description": "Cancels the authorisation on a payment that has not yet been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/paymentPspReference/captures), and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CANCELLATION** webhook](https://docs.adyen.com/online-payments/cancel#cancellation-webhook). If you want to cancel a payment but don't have the [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference), use the [`/cancels`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cancels) endpoint instead. If you want to cancel a payment but are not sure whether it has been captured, use the [`/payments/{paymentPspReference}/reversals`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/reversals) endpoint instead. For more information, refer to [Cancel](https://docs.adyen.com/online-payments/cancel)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments/:paymentPspReference/cancels", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments", - ":paymentPspReference", - "cancels" - ], - "variable": [ - { - "key": "paymentPspReference", - "value": "", - "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to cancel. " - } - ], - "query": [ - ] - }, - "description": "Cancels the authorisation on a payment that has not yet been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/paymentPspReference/captures), and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CANCELLATION** webhook](https://docs.adyen.com/online-payments/cancel#cancellation-webhook). If you want to cancel a payment but don't have the [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference), use the [`/cancels`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cancels) endpoint instead. If you want to cancel a payment but are not sure whether it has been captured, use the [`/payments/{paymentPspReference}/reversals`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/reversals) endpoint instead. For more information, refer to [Cancel](https://docs.adyen.com/online-payments/cancel)." - } + ] } ] - } -, + }, { "name": "/payments/:paymentPspReference/captures", "description": " Captures an authorised payment and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CAPTURE** webhook](https://docs.adyen.com/online-payments/capture#capture-notification). You can capture either the full authorised amount or a part of the authorised amount. By default, any unclaimed amount after a partial capture gets cancelled. This does not apply if you enabled multiple partial captures on your account and the payment method supports multiple partial captures. [Automatic capture](https://docs.adyen.com/online-payments/capture#automatic-capture) is the default setting for most payment methods. In these cases, you don't need to make capture requests. However, making capture requests for payments that are captured automatically does not result in double charges. For more information, refer to [Capture](https://docs.adyen.com/online-payments/capture).", @@ -201,62 +389,127 @@ { "name": "Capture an authorised payment", "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 + "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 \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"amount\" : {\n \"value\" : 2000,\n \"currency\" : \"EUR\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments/:paymentPspReference/captures", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments", + ":paymentPspReference", + "captures" + ], + "variable": [ + { + "key": "paymentPspReference", + "value": "", + "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to capture." + } + ], + "query": [ + ] + }, + "description": " Captures an authorised payment and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CAPTURE** webhook](https://docs.adyen.com/online-payments/capture#capture-notification). You can capture either the full authorised amount or a part of the authorised amount. By default, any unclaimed amount after a partial capture gets cancelled. This does not apply if you enabled multiple partial captures on your account and the payment method supports multiple partial captures. [Automatic capture](https://docs.adyen.com/online-payments/capture#automatic-capture) is the default setting for most payment methods. In these cases, you don't need to make capture requests. However, making capture requests for payments that are captured automatically does not result in double charges. For more information, refer to [Capture](https://docs.adyen.com/online-payments/capture)." +} + ,"response": [ + {"name": "Created - the request has been fulfilled and has resulted in one or more new resources being created.", + "code": 201, + "status": "Created", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"merchantAccount\" : \"YOUR_MERCHANT_ACCOUNT\",\n \"paymentPspReference\" : \"993617894903480A\",\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"pspReference\" : \"993617894906488A\",\n \"status\" : \"received\",\n \"amount\" : {\n \"value\" : 2000,\n \"currency\" : \"EUR\"\n }\n}", + "originalRequest": { + "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 \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"amount\" : {\n \"value\" : 2000,\n \"currency\" : \"EUR\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments/:paymentPspReference/captures", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments", + ":paymentPspReference", + "captures" + ], + "variable": [ + { + "key": "paymentPspReference", + "value": "", + "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to capture." + } + ], + "query": [ + ] + }, + "description": " Captures an authorised payment and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CAPTURE** webhook](https://docs.adyen.com/online-payments/capture#capture-notification). You can capture either the full authorised amount or a part of the authorised amount. By default, any unclaimed amount after a partial capture gets cancelled. This does not apply if you enabled multiple partial captures on your account and the payment method supports multiple partial captures. [Automatic capture](https://docs.adyen.com/online-payments/capture#automatic-capture) is the default setting for most payment methods. In these cases, you don't need to make capture requests. However, making capture requests for payments that are captured automatically does not result in double charges. For more information, refer to [Capture](https://docs.adyen.com/online-payments/capture)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"amount\" : {\n \"value\" : 2000,\n \"currency\" : \"EUR\"\n }\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments/:paymentPspReference/captures", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments", - ":paymentPspReference", - "captures" - ], - "variable": [ - { - "key": "paymentPspReference", - "value": "", - "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to capture." - } - ], - "query": [ - ] - }, - "description": " Captures an authorised payment and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CAPTURE** webhook](https://docs.adyen.com/online-payments/capture#capture-notification). You can capture either the full authorised amount or a part of the authorised amount. By default, any unclaimed amount after a partial capture gets cancelled. This does not apply if you enabled multiple partial captures on your account and the payment method supports multiple partial captures. [Automatic capture](https://docs.adyen.com/online-payments/capture#automatic-capture) is the default setting for most payment methods. In these cases, you don't need to make capture requests. However, making capture requests for payments that are captured automatically does not result in double charges. For more information, refer to [Capture](https://docs.adyen.com/online-payments/capture)." - } + ] } ] - } -, + }, { "name": "/payments/:paymentPspReference/refunds", "description": "Refunds a payment that has been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/captures), and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**REFUND** webhook](https://docs.adyen.com/online-payments/refund#refund-webhook). You can refund either the full captured amount or a part of the captured amount. You can also perform multiple partial refunds, as long as their sum doesn't exceed the captured amount. > Some payment methods do not support partial refunds. To learn if a payment method supports partial refunds, refer to the payment method page such as [cards](https://docs.adyen.com/payment-methods/cards#supported-cards), [iDEAL](https://docs.adyen.com/payment-methods/ideal), or [Klarna](https://docs.adyen.com/payment-methods/klarna). If you want to refund a payment but are not sure whether it has been captured, use the [`/payments/{paymentPspReference}/reversals`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/reversals) endpoint instead. For more information, refer to [Refund](https://docs.adyen.com/online-payments/refund).", @@ -264,62 +517,127 @@ { "name": "Refund a payment", "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 + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 2500\n },\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments/:paymentPspReference/refunds", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments", + ":paymentPspReference", + "refunds" + ], + "variable": [ + { + "key": "paymentPspReference", + "value": "", + "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to refund." + } + ], + "query": [ + ] + }, + "description": "Refunds a payment that has been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/captures), and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**REFUND** webhook](https://docs.adyen.com/online-payments/refund#refund-webhook). You can refund either the full captured amount or a part of the captured amount. You can also perform multiple partial refunds, as long as their sum doesn't exceed the captured amount. > Some payment methods do not support partial refunds. To learn if a payment method supports partial refunds, refer to the payment method page such as [cards](https://docs.adyen.com/payment-methods/cards#supported-cards), [iDEAL](https://docs.adyen.com/payment-methods/ideal), or [Klarna](https://docs.adyen.com/payment-methods/klarna). If you want to refund a payment but are not sure whether it has been captured, use the [`/payments/{paymentPspReference}/reversals`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/reversals) endpoint instead. For more information, refer to [Refund](https://docs.adyen.com/online-payments/refund)." +} + ,"response": [ + {"name": "Created - the request has been fulfilled and has resulted in one or more new resources being created.", + "code": 201, + "status": "Created", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"merchantAccount\" : \"YOUR_MERCHANT_ACCOUNT\",\n \"paymentPspReference\" : \"993617894903480A\",\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"pspReference\" : \"993617894906488A\",\n \"status\" : \"received\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 2500\n }\n}", + "originalRequest": { + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 2500\n },\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments/:paymentPspReference/refunds", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments", + ":paymentPspReference", + "refunds" + ], + "variable": [ + { + "key": "paymentPspReference", + "value": "", + "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to refund." + } + ], + "query": [ + ] + }, + "description": "Refunds a payment that has been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/captures), and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**REFUND** webhook](https://docs.adyen.com/online-payments/refund#refund-webhook). You can refund either the full captured amount or a part of the captured amount. You can also perform multiple partial refunds, as long as their sum doesn't exceed the captured amount. > Some payment methods do not support partial refunds. To learn if a payment method supports partial refunds, refer to the payment method page such as [cards](https://docs.adyen.com/payment-methods/cards#supported-cards), [iDEAL](https://docs.adyen.com/payment-methods/ideal), or [Klarna](https://docs.adyen.com/payment-methods/klarna). If you want to refund a payment but are not sure whether it has been captured, use the [`/payments/{paymentPspReference}/reversals`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/reversals) endpoint instead. For more information, refer to [Refund](https://docs.adyen.com/online-payments/refund)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 2500\n },\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments/:paymentPspReference/refunds", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments", - ":paymentPspReference", - "refunds" - ], - "variable": [ - { - "key": "paymentPspReference", - "value": "", - "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to refund." - } - ], - "query": [ - ] - }, - "description": "Refunds a payment that has been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/captures), and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**REFUND** webhook](https://docs.adyen.com/online-payments/refund#refund-webhook). You can refund either the full captured amount or a part of the captured amount. You can also perform multiple partial refunds, as long as their sum doesn't exceed the captured amount. > Some payment methods do not support partial refunds. To learn if a payment method supports partial refunds, refer to the payment method page such as [cards](https://docs.adyen.com/payment-methods/cards#supported-cards), [iDEAL](https://docs.adyen.com/payment-methods/ideal), or [Klarna](https://docs.adyen.com/payment-methods/klarna). If you want to refund a payment but are not sure whether it has been captured, use the [`/payments/{paymentPspReference}/reversals`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/reversals) endpoint instead. For more information, refer to [Refund](https://docs.adyen.com/online-payments/refund)." - } + ] } ] - } -, + }, { "name": "/payments/:paymentPspReference/reversals", "description": "[Refunds](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/refunds) a payment if it has already been captured, and [cancels](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/cancels) a payment if it has not yet been captured. Returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CANCEL_OR_REFUND** webhook](https://docs.adyen.com/online-payments/reverse#cancel-or-refund-webhook). The reversed amount is always the full payment amount. > Do not use this request for payments that involve multiple partial captures. For more information, refer to [Reversal](https://docs.adyen.com/online-payments/reversal).", @@ -327,62 +645,127 @@ { "name": "Reverse (cancel or refund) a payment", "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 + "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 \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments/:paymentPspReference/reversals", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments", + ":paymentPspReference", + "reversals" + ], + "variable": [ + { + "key": "paymentPspReference", + "value": "", + "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to reverse. " + } + ], + "query": [ + ] + }, + "description": "[Refunds](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/refunds) a payment if it has already been captured, and [cancels](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/cancels) a payment if it has not yet been captured. Returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CANCEL_OR_REFUND** webhook](https://docs.adyen.com/online-payments/reverse#cancel-or-refund-webhook). The reversed amount is always the full payment amount. > Do not use this request for payments that involve multiple partial captures. For more information, refer to [Reversal](https://docs.adyen.com/online-payments/reversal)." +} + ,"response": [ + {"name": "Created - the request has been fulfilled and has resulted in one or more new resources being created.", + "code": 201, + "status": "Created", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"merchantAccount\" : \"YOUR_MERCHANT_ACCOUNT\",\n \"paymentPspReference\" : \"993617894903480A\",\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"pspReference\" : \"993617894906488A\",\n \"status\" : \"received\"\n}", + "originalRequest": { + "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 \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments/:paymentPspReference/reversals", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments", + ":paymentPspReference", + "reversals" + ], + "variable": [ + { + "key": "paymentPspReference", + "value": "", + "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to reverse. " + } + ], + "query": [ + ] + }, + "description": "[Refunds](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/refunds) a payment if it has already been captured, and [cancels](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/cancels) a payment if it has not yet been captured. Returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CANCEL_OR_REFUND** webhook](https://docs.adyen.com/online-payments/reverse#cancel-or-refund-webhook). The reversed amount is always the full payment amount. > Do not use this request for payments that involve multiple partial captures. For more information, refer to [Reversal](https://docs.adyen.com/online-payments/reversal)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments/:paymentPspReference/reversals", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments", - ":paymentPspReference", - "reversals" - ], - "variable": [ - { - "key": "paymentPspReference", - "value": "", - "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to reverse. " - } - ], - "query": [ - ] - }, - "description": "[Refunds](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/refunds) a payment if it has already been captured, and [cancels](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/cancels) a payment if it has not yet been captured. Returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CANCEL_OR_REFUND** webhook](https://docs.adyen.com/online-payments/reverse#cancel-or-refund-webhook). The reversed amount is always the full payment amount. > Do not use this request for payments that involve multiple partial captures. For more information, refer to [Reversal](https://docs.adyen.com/online-payments/reversal)." - } + ] } ] } - ] }, { @@ -395,251 +778,374 @@ { "name": "Set up a payment session (Android)", "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 17408\n },\n \"reference\" : \"Your order number\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"channel\" : \"Android\",\n \"token\" : \"TOKEN_YOU_GET_FROM_CHECKOUT_SDK\",\n \"returnUrl\" : \"app://\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl_NL\",\n \"sessionValidity\" : \"2017-04-06T13:09:13Z\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentSession", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentSession" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Provides the data object that can be used to start the Checkout SDK. To set up the payment, pass its amount, currency, and other required parameters. We use this to optimise the payment flow and perform better risk assessment of the transaction. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." - } + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 17408\n },\n \"reference\" : \"Your order number\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"channel\" : \"Android\",\n \"token\" : \"TOKEN_YOU_GET_FROM_CHECKOUT_SDK\",\n \"returnUrl\" : \"app://\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl_NL\",\n \"sessionValidity\" : \"2017-04-06T13:09:13Z\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentSession", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentSession" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Provides the data object that can be used to start the Checkout SDK. To set up the payment, pass its amount, currency, and other required parameters. We use this to optimise the payment flow and perform better risk assessment of the transaction. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." +} + ,"response": [ + ] }, { "name": "Set up a payment session with the option to store card details", "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 + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 17408\n },\n \"reference\" : \"Your order number\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"enableOneClick\" : true,\n \"enableRecurring\" : true,\n \"channel\" : \"Web\",\n \"origin\" : \"https://www.yourwebsite.com\",\n \"returnUrl\" : \"https://www.yourshop.com/checkout/result\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl_NL\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"sdkVersion\" : \"1.7.0\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentSession", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentSession" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Provides the data object that can be used to start the Checkout SDK. To set up the payment, pass its amount, currency, and other required parameters. We use this to optimise the payment flow and perform better risk assessment of the transaction. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"paymentSession\" : \"eyJjaGVja291dHNob3BwZXJCYXN...\"\n}", + "originalRequest": { + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 17408\n },\n \"reference\" : \"Your order number\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"enableOneClick\" : true,\n \"enableRecurring\" : true,\n \"channel\" : \"Web\",\n \"origin\" : \"https://www.yourwebsite.com\",\n \"returnUrl\" : \"https://www.yourshop.com/checkout/result\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl_NL\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"sdkVersion\" : \"1.7.0\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentSession", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentSession" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Provides the data object that can be used to start the Checkout SDK. To set up the payment, pass its amount, currency, and other required parameters. We use this to optimise the payment flow and perform better risk assessment of the transaction. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 17408\n },\n \"reference\" : \"Your order number\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"enableOneClick\" : true,\n \"enableRecurring\" : true,\n \"channel\" : \"Web\",\n \"origin\" : \"https://www.yourwebsite.com\",\n \"returnUrl\" : \"https://www.yourshop.com/checkout/result\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl_NL\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"sdkVersion\" : \"1.7.0\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentSession", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentSession" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Provides the data object that can be used to start the Checkout SDK. To set up the payment, pass its amount, currency, and other required parameters. We use this to optimise the payment flow and perform better risk assessment of the transaction. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." - } + ] }, { "name": "Set up a payment session (iOS)", "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 17408\n },\n \"reference\" : \"Your order number\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"channel\" : \"iOS\",\n \"token\" : \"TOKEN_YOU_GET_FROM_CHECKOUT_SDK\",\n \"returnUrl\" : \"app://\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl_NL\",\n \"sessionValidity\" : \"2017-04-06T13:09:13Z\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentSession", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentSession" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Provides the data object that can be used to start the Checkout SDK. To set up the payment, pass its amount, currency, and other required parameters. We use this to optimise the payment flow and perform better risk assessment of the transaction. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." - } + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 17408\n },\n \"reference\" : \"Your order number\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"channel\" : \"iOS\",\n \"token\" : \"TOKEN_YOU_GET_FROM_CHECKOUT_SDK\",\n \"returnUrl\" : \"app://\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl_NL\",\n \"sessionValidity\" : \"2017-04-06T13:09:13Z\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentSession", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentSession" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Provides the data object that can be used to start the Checkout SDK. To set up the payment, pass its amount, currency, and other required parameters. We use this to optimise the payment flow and perform better risk assessment of the transaction. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." +} + ,"response": [ + ] }, { "name": "Split a payment between a sub-merchant and a platform account", "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 6200\n },\n \"additionalData\" : {\n \"split.api\" : \"1\",\n \"split.nrOfItems\" : \"2\",\n \"split.totalAmount\" : \"6200\",\n \"split.currencyCode\" : \"EUR\",\n \"split.item1.amount\" : \"6000\",\n \"split.item1.type\" : \"MarketPlace\",\n \"split.item1.account\" : \"151272963\",\n \"split.item1.reference\" : \"6124145\",\n \"split.item1.description\" : \"Porcelain Doll: Eliza (20cm)\",\n \"split.item2.amount\" : \"200\",\n \"split.item2.type\" : \"Commission\",\n \"split.item2.reference\" : \"6124146\"\n },\n \"reference\" : \"Your order number\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"channel\" : \"Android\",\n \"token\" : \"TOKEN_YOU_GET_FROM_CHECKOUT_SDK\",\n \"returnUrl\" : \"app://\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl_NL\",\n \"sessionValidity\" : \"2017-04-06T13:09:13Z\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentSession", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentSession" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Provides the data object that can be used to start the Checkout SDK. To set up the payment, pass its amount, currency, and other required parameters. We use this to optimise the payment flow and perform better risk assessment of the transaction. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." - } + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 6200\n },\n \"additionalData\" : {\n \"split.api\" : \"1\",\n \"split.nrOfItems\" : \"2\",\n \"split.totalAmount\" : \"6200\",\n \"split.currencyCode\" : \"EUR\",\n \"split.item1.amount\" : \"6000\",\n \"split.item1.type\" : \"MarketPlace\",\n \"split.item1.account\" : \"151272963\",\n \"split.item1.reference\" : \"6124145\",\n \"split.item1.description\" : \"Porcelain Doll: Eliza (20cm)\",\n \"split.item2.amount\" : \"200\",\n \"split.item2.type\" : \"Commission\",\n \"split.item2.reference\" : \"6124146\"\n },\n \"reference\" : \"Your order number\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"channel\" : \"Android\",\n \"token\" : \"TOKEN_YOU_GET_FROM_CHECKOUT_SDK\",\n \"returnUrl\" : \"app://\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl_NL\",\n \"sessionValidity\" : \"2017-04-06T13:09:13Z\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentSession", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentSession" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Provides the data object that can be used to start the Checkout SDK. To set up the payment, pass its amount, currency, and other required parameters. We use this to optimise the payment flow and perform better risk assessment of the transaction. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." +} + ,"response": [ + ] }, { "name": "Set up a payment session (Web)", "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 + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 17408\n },\n \"reference\" : \"Your order number\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"channel\" : \"Web\",\n \"origin\" : \"https://www.yourwebsite.com\",\n \"returnUrl\" : \"https://www.yourshop.com/checkout/result\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl_NL\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"sdkVersion\" : \"1.9.5\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentSession", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentSession" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Provides the data object that can be used to start the Checkout SDK. To set up the payment, pass its amount, currency, and other required parameters. We use this to optimise the payment flow and perform better risk assessment of the transaction. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"paymentSession\" : \"eyJjaGVja291dHNob3BwZXJCYXN...\"\n}", + "originalRequest": { + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 17408\n },\n \"reference\" : \"Your order number\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"channel\" : \"Web\",\n \"origin\" : \"https://www.yourwebsite.com\",\n \"returnUrl\" : \"https://www.yourshop.com/checkout/result\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl_NL\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"sdkVersion\" : \"1.9.5\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentSession", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentSession" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Provides the data object that can be used to start the Checkout SDK. To set up the payment, pass its amount, currency, and other required parameters. We use this to optimise the payment flow and perform better risk assessment of the transaction. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 17408\n },\n \"reference\" : \"Your order number\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"channel\" : \"Web\",\n \"origin\" : \"https://www.yourwebsite.com\",\n \"returnUrl\" : \"https://www.yourshop.com/checkout/result\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl_NL\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"sdkVersion\" : \"1.9.5\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentSession", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentSession" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Provides the data object that can be used to start the Checkout SDK. To set up the payment, pass its amount, currency, and other required parameters. We use this to optimise the payment flow and perform better risk assessment of the transaction. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." - } + ] } ] - } -, + }, { "name": "/payments/result (DEPRECATED)", "description": "Verifies the payment result using the payload returned from the Checkout SDK. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks).", @@ -647,56 +1153,115 @@ { "name": "Verify payment results", "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 + "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 \"payload\" : \"VALUE_YOU_GET_FROM_CHECKOUT_SDK\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments/result", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments", + "result" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Verifies the payment result using the payload returned from the Checkout SDK. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"pspReference\" : \"V4HZ4RBFJGXXGN82\",\n \"merchantReference\" : \"Your order number\",\n \"shopperLocale\" : \"nl_NL\",\n \"paymentMethod\" : \"ideal\"\n}", + "originalRequest": { + "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 \"payload\" : \"VALUE_YOU_GET_FROM_CHECKOUT_SDK\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments/result", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments", + "result" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Verifies the payment result using the payload returned from the Checkout SDK. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"payload\" : \"VALUE_YOU_GET_FROM_CHECKOUT_SDK\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments/result", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments", - "result" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Verifies the payment result using the payload returned from the Checkout SDK. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." - } + ] } ] } - ] }, { @@ -709,55 +1274,113 @@ { "name": "Create an order", "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 + "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 \"reference\" : \"YOUR_ORDER_REFERENCE\",\n \"amount\" : {\n \"value\" : 2500,\n \"currency\" : \"EUR\"\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/orders", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "orders" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates an order to be used for partial payments. Make a POST `/orders` call before making a `/payments` call when processing payments with different payment methods." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"pspReference\" : \"8616178914061985\",\n \"resultCode\" : \"Success\",\n \"expiresAt\" : \"2021-04-09T14:16:46Z\",\n \"orderData\" : \"Ab02b4c0!BQABAgCxXvknCldOcRElkxY8Za7iyym4Wv8aDzyNwmj/3nh4G6YtwnUIJHaK62NlN4oIsACdkn1FEjBwKlheG40jvXcYGBk4KFV5WvOhTVCpv/KXnkrI7xQv/u2lE7U4wA+HPB6K4Zj2L8xO/ogZi+zGZqFs5m16jmkH7ku6FzXygXLNuUCuOlmlXSZhdkHHTNVQSq1MELDK9OL74y532ETRPTCNxx8WlEiZB+LDqYrPvH9GgigtD5kw8Do45jfFfG72kWBEgfYqp4mbUmBB9ebXFYZKfF0qvW1x7A2Y9+/MFlTIdXfKW484bJeDBCTTrmKGXIj+U4r5imr5fXTyNLcrxyUqwrb9jg+5B4qg1XB6Cgj5UPlSI4O62I7v0s5TTj69dzLwUQRxSQbwLrZVGYavXzeVKI54BVLRV3d/+BbPvTqnTo34UhfZbPlOx9F2eyaS0ZXdOKnHw89uGUgxUpLsMqnbRysi/pxpZaulel+0mExb68wVxb/7Teob5eRG4gp7cfZVZs6tLXOYWL+W0TqIlsa3hWsfM0LeaovzkoDtW/pK5JABXwMtLig9tsxoEh9ONYtIzkXC21LZ8ebiuSIMaPizjF8yca+QxrCZalQsu6uKnBz/mm8nnsflaGU2QS5zcoxk1RudL1Bl36LM9UZGPpFEYWiYA4sUsnNLw7peJjWCGhDepnwMv4TlgsEtoDtz1T54AEp7ImtleSI6IkFGMEFBQTEwM0NBNTM3RUFFRDg3QzI0REQ1MzkwOUI4MEE3OEE5MjNFMzgyM0Q2OERBQ0M5NEI5RkY4MzA1REMifRslOdmfgUHTXl66WPD9xoW2whIeRx/jR++2MqNE16x6zQy+KtDN8/h60crZwmqkjVTQYqQlsYSYDHSIyb4wnnay16/5il1yS7vN3UCLaTXjYBIAyyx6Wr9j4P3CI/etB+PpviHoESC4mV6ZN4whMDQyziQ8s230GtboXbh42qND7rk9phySBogowQlXrtF+l2n2F46nyif0owEgik5fGARfvjZtY2w23s30KMLNwU4gWSvX4H6RMVS8TfZH2fKfNrwB3tZUXwYkELs5ntaHysswq5Mn5aq2BKAMHu/Rh/wureMSI73Qi0avjrzWCwzt3JH4wnzErMnOZwSdgA==\",\n \"reference\" : \"shopper-reference-ekvL83\",\n \"remainingAmount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 2500\n }\n}", + "originalRequest": { + "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 \"reference\" : \"YOUR_ORDER_REFERENCE\",\n \"amount\" : {\n \"value\" : 2500,\n \"currency\" : \"EUR\"\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/orders", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "orders" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates an order to be used for partial payments. Make a POST `/orders` call before making a `/payments` call when processing payments with different payment methods." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"reference\" : \"YOUR_ORDER_REFERENCE\",\n \"amount\" : {\n \"value\" : 2500,\n \"currency\" : \"EUR\"\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/orders", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "orders" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Creates an order to be used for partial payments. Make a POST `/orders` call before making a `/payments` call when processing payments with different payment methods." - } + ] } ] - } -, + }, { "name": "/orders/cancel", "description": "Cancels an order. Cancellation of an order results in an automatic rollback of all payments made in the order, either by canceling or refunding the payment, depending on the type of payment method.", @@ -765,56 +1388,115 @@ { "name": "Cancel an order", "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 + "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 \"order\" : {\n \"pspReference\" : \"8815517812932012\",\n \"orderData\" : \"823fh892f8f18f4...148f13f9f3f\"\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/orders/cancel", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "orders", + "cancel" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Cancels an order. Cancellation of an order results in an automatic rollback of all payments made in the order, either by canceling or refunding the payment, depending on the type of payment method." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"pspReference\" : \"8816178914079738\",\n \"resultCode\" : \"Received\"\n}", + "originalRequest": { + "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 \"order\" : {\n \"pspReference\" : \"8815517812932012\",\n \"orderData\" : \"823fh892f8f18f4...148f13f9f3f\"\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/orders/cancel", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "orders", + "cancel" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Cancels an order. Cancellation of an order results in an automatic rollback of all payments made in the order, either by canceling or refunding the payment, depending on the type of payment method." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"order\" : {\n \"pspReference\" : \"8815517812932012\",\n \"orderData\" : \"823fh892f8f18f4...148f13f9f3f\"\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/orders/cancel", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "orders", - "cancel" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Cancels an order. Cancellation of an order results in an automatic rollback of all payments made in the order, either by canceling or refunding the payment, depending on the type of payment method." - } + ] } ] - } -, + }, { "name": "/paymentMethods/balance", "description": "Retrieves the balance remaining on a shopper's gift card. To check a gift card's balance, make a POST `/paymentMethods/balance` call and include the gift card's details inside a `paymentMethod` object.", @@ -822,106 +1504,225 @@ { "name": "Get gift card balance specifying amount of 10 EUR", "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 + "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 \"paymentMethod\" : {\n \"type\" : \"givex\",\n \"number\" : \"4126491073027401\",\n \"cvc\" : \"737\"\n },\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentMethods/balance", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentMethods", + "balance" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Retrieves the balance remaining on a shopper's gift card. To check a gift card's balance, make a POST `/paymentMethods/balance` call and include the gift card's details inside a `paymentMethod` object." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"pspReference\" : \"KHQC5N7G84BLNK43\",\n \"resultCode\" : \"Success\",\n \"balance\" : {\n \"currency\" : \"EUR\",\n \"value\" : 5000\n }\n}", + "originalRequest": { + "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 \"paymentMethod\" : {\n \"type\" : \"givex\",\n \"number\" : \"4126491073027401\",\n \"cvc\" : \"737\"\n },\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentMethods/balance", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentMethods", + "balance" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Retrieves the balance remaining on a shopper's gift card. To check a gift card's balance, make a POST `/paymentMethods/balance` call and include the gift card's details inside a `paymentMethod` object." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"paymentMethod\" : {\n \"type\" : \"givex\",\n \"number\" : \"4126491073027401\",\n \"cvc\" : \"737\"\n },\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentMethods/balance", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentMethods", - "balance" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Retrieves the balance remaining on a shopper's gift card. To check a gift card's balance, make a POST `/paymentMethods/balance` call and include the gift card's details inside a `paymentMethod` object." - } + ] }, { "name": "Get gift card balance specifying amount of 100 EUR", "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 + "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 \"paymentMethod\" : {\n \"type\" : \"givex\",\n \"number\" : \"4126491073027401\",\n \"cvc\" : \"737\"\n },\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 10000\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentMethods/balance", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentMethods", + "balance" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Retrieves the balance remaining on a shopper's gift card. To check a gift card's balance, make a POST `/paymentMethods/balance` call and include the gift card's details inside a `paymentMethod` object." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"pspReference\" : \"FKSPNCQ8HXSKGK82\",\n \"resultCode\" : \"NotEnoughBalance\",\n \"balance\" : {\n \"currency\" : \"EUR\",\n \"value\" : 5000\n }\n}", + "originalRequest": { + "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 \"paymentMethod\" : {\n \"type\" : \"givex\",\n \"number\" : \"4126491073027401\",\n \"cvc\" : \"737\"\n },\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 10000\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentMethods/balance", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentMethods", + "balance" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Retrieves the balance remaining on a shopper's gift card. To check a gift card's balance, make a POST `/paymentMethods/balance` call and include the gift card's details inside a `paymentMethod` object." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"paymentMethod\" : {\n \"type\" : \"givex\",\n \"number\" : \"4126491073027401\",\n \"cvc\" : \"737\"\n },\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 10000\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentMethods/balance", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentMethods", - "balance" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Retrieves the balance remaining on a shopper's gift card. To check a gift card's balance, make a POST `/paymentMethods/balance` call and include the gift card's details inside a `paymentMethod` object." - } + ] } ] } - ] }, { @@ -934,56 +1735,115 @@ { "name": "Get payment session for Apple Pay", "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 + "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 \"displayName\" : \"YOUR_MERCHANT_NAME\",\n \"domainName\" : \"YOUR_DOMAIN_NAME\",\n \"merchantIdentifier\" : \"YOUR_MERCHANT_ID\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/applePay/sessions", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "applePay", + "sessions" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "You need to use this endpoint if you have an API-only integration with Apple Pay which uses Adyen's Apple Pay certificate. The endpoint returns the Apple Pay session data which you need to complete the [Apple Pay session validation](https://docs.adyen.com/payment-methods/apple-pay/api-only?tab=adyen-certificate-validation_1#complete-apple-pay-session-validation)." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"data\" : \"eyJ2Z...\"\n}", + "originalRequest": { + "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 \"displayName\" : \"YOUR_MERCHANT_NAME\",\n \"domainName\" : \"YOUR_DOMAIN_NAME\",\n \"merchantIdentifier\" : \"YOUR_MERCHANT_ID\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/applePay/sessions", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "applePay", + "sessions" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "You need to use this endpoint if you have an API-only integration with Apple Pay which uses Adyen's Apple Pay certificate. The endpoint returns the Apple Pay session data which you need to complete the [Apple Pay session validation](https://docs.adyen.com/payment-methods/apple-pay/api-only?tab=adyen-certificate-validation_1#complete-apple-pay-session-validation)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"displayName\" : \"YOUR_MERCHANT_NAME\",\n \"domainName\" : \"YOUR_DOMAIN_NAME\",\n \"merchantIdentifier\" : \"YOUR_MERCHANT_ID\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/applePay/sessions", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "applePay", - "sessions" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "You need to use this endpoint if you have an API-only integration with Apple Pay which uses Adyen's Apple Pay certificate. The endpoint returns the Apple Pay session data which you need to complete the [Apple Pay session validation](https://docs.adyen.com/payment-methods/apple-pay/api-only?tab=adyen-certificate-validation_1#complete-apple-pay-session-validation)." - } + ] } ] - } -, + }, { "name": "/originKeys", "description": "This operation takes the origin domains and returns a JSON object containing the corresponding origin keys for the domains. > If you're still using origin key for your Web Drop-in or Components integration, we recommend [switching to client key](https://docs.adyen.com/development-resources/client-side-authentication/migrate-from-origin-key-to-client-key). This allows you to use a single key for all origins, add or remove origins without generating a new key, and detect the card type from the number entered in your payment form. ", @@ -991,55 +1851,113 @@ { "name": "Get origin keys", "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 + "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 \"originDomains\" : [ \"https://www.your-domain1.com\", \"https://www.your-domain2.com\", \"https://www.your-domain3.com\" ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/originKeys", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "originKeys" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "This operation takes the origin domains and returns a JSON object containing the corresponding origin keys for the domains. > If you're still using origin key for your Web Drop-in or Components integration, we recommend [switching to client key](https://docs.adyen.com/development-resources/client-side-authentication/migrate-from-origin-key-to-client-key). This allows you to use a single key for all origins, add or remove origins without generating a new key, and detect the card type from the number entered in your payment form. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"originKeys\" : {\n \"https://www.your-domain1.com\" : \"pub.v2.8116178901076090.aHR0cHM6Ly93d3cueW91ci1kb21haW4xLmNvbQ.pvbYlrXz0ICP4kwMJXDGDLVMqALhwXr1MSRjT-fkhvw\",\n \"https://www.your-domain3.com\" : \"pub.v2.8116178901076090.aHR0cHM6Ly93d3cueW91ci1kb21haW4zLmNvbQ.FrTpVz7_RzAywKasM0kXCRoMfoMkKIKaxjFymRGORIc\",\n \"https://www.your-domain2.com\" : \"pub.v2.8116178901076090.aHR0cHM6Ly93d3cueW91ci1kb21haW4yLmNvbQ.LdN9kvJ35fYFFiBSJA4idMnwwxJ5_yXpeNS__Ap5wkg\"\n }\n}", + "originalRequest": { + "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 \"originDomains\" : [ \"https://www.your-domain1.com\", \"https://www.your-domain2.com\", \"https://www.your-domain3.com\" ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/originKeys", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "originKeys" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "This operation takes the origin domains and returns a JSON object containing the corresponding origin keys for the domains. > If you're still using origin key for your Web Drop-in or Components integration, we recommend [switching to client key](https://docs.adyen.com/development-resources/client-side-authentication/migrate-from-origin-key-to-client-key). This allows you to use a single key for all origins, add or remove origins without generating a new key, and detect the card type from the number entered in your payment form. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"originDomains\" : [ \"https://www.your-domain1.com\", \"https://www.your-domain2.com\", \"https://www.your-domain3.com\" ]\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/originKeys", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "originKeys" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "This operation takes the origin domains and returns a JSON object containing the corresponding origin keys for the domains. > If you're still using origin key for your Web Drop-in or Components integration, we recommend [switching to client key](https://docs.adyen.com/development-resources/client-side-authentication/migrate-from-origin-key-to-client-key). This allows you to use a single key for all origins, add or remove origins without generating a new key, and detect the card type from the number entered in your payment form. " - } + ] } ] } - ] }, { @@ -1052,104 +1970,164 @@ { "name": "Start a donation transaction", "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 + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"reference\" : \"YOUR_DONATION_REFERENCE\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\"\n },\n \"donationToken\" : \"YOUR_DONATION_TOKEN\",\n \"donationOriginalPspReference\" : \"991559660454807J\",\n \"donationAccount\" : \"CHARITY_ACCOUNT\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"shopperInteraction\" : \"ContAuth\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/donations", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "donations" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Takes in the donation token generated by the `/payments` request and uses it to make the donation for the donation account specified in the request. For more information, see [Donations](https://docs.adyen.com/online-payments/donations)." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"id\" : \"UNIQUE_RESOURCE_ID\",\n \"status\" : \"completed\",\n \"donationAccount\" : \"CHARITY_ACCOUNT\",\n \"merchantAccount\" : \"YOUR_MERCHANT_ACCOUNT\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"reference\" : \"YOUR_DONATION_REFERENCE\",\n \"payment\" : {\n \"pspReference\" : \"8535762347980628\",\n \"resultCode\" : \"Authorised\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"merchantReference\" : \"YOUR_DONATION_REFERENCE\"\n }\n}", + "originalRequest": { + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"reference\" : \"YOUR_DONATION_REFERENCE\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\"\n },\n \"donationToken\" : \"YOUR_DONATION_TOKEN\",\n \"donationOriginalPspReference\" : \"991559660454807J\",\n \"donationAccount\" : \"CHARITY_ACCOUNT\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"shopperInteraction\" : \"ContAuth\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/donations", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "donations" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Takes in the donation token generated by the `/payments` request and uses it to make the donation for the donation account specified in the request. For more information, see [Donations](https://docs.adyen.com/online-payments/donations)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"reference\" : \"YOUR_DONATION_REFERENCE\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\"\n },\n \"donationToken\" : \"YOUR_DONATION_TOKEN\",\n \"donationOriginalPspReference\" : \"991559660454807J\",\n \"donationAccount\" : \"CHARITY_ACCOUNT\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"shopperInteraction\" : \"ContAuth\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/donations", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "donations" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Takes in the donation token generated by the `/payments` request and uses it to make the donation for the donation account specified in the request. For more information, see [Donations](https://docs.adyen.com/online-payments/donations)." - } + ] }, { "name": "Start a donation transaction with a token", "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"reference\" : \"YOUR_DONATION_REFERENCE\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"recurringDetailReference\" : \"7219687191761347\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"donationAccount\" : \"CHARITY_ACCOUNT\",\n \"shopperInteraction\" : \"ContAuth\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"recurringProcessingModel\" : \"CardOnFile\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/donations", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "donations" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Takes in the donation token generated by the `/payments` request and uses it to make the donation for the donation account specified in the request. For more information, see [Donations](https://docs.adyen.com/online-payments/donations)." - } + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"reference\" : \"YOUR_DONATION_REFERENCE\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"recurringDetailReference\" : \"7219687191761347\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"donationAccount\" : \"CHARITY_ACCOUNT\",\n \"shopperInteraction\" : \"ContAuth\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"recurringProcessingModel\" : \"CardOnFile\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/donations", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "donations" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Takes in the donation token generated by the `/payments` request and uses it to make the donation for the donation account specified in the request. For more information, see [Donations](https://docs.adyen.com/online-payments/donations)." +} + ,"response": [ + ] } ] } - ] }, { @@ -1162,104 +2140,221 @@ { "name": "Get a list of brands on a card", "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 + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"cardNumber\" : \"411111\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/cardDetails", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "cardDetails" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Send a request with at least the first 6 digits of the card number to get a response with an array of brands on the card. If you include [your supported brands](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__reqParam_supportedBrands) in the request, the response also tells you if you support each [brand that was identified](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__resParam_details). If you have an API-only integration and collect card data, use this endpoint to find out if the shopper's card is co-branded. For co-branded cards, you must let the shopper choose the brand to pay with if you support both brands. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"brands\" : [ {\n \"type\" : \"visa\",\n \"supported\" : true\n }, {\n \"type\" : \"cartebancaire\",\n \"supported\" : true\n } ]\n}", + "originalRequest": { + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"cardNumber\" : \"411111\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/cardDetails", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "cardDetails" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Send a request with at least the first 6 digits of the card number to get a response with an array of brands on the card. If you include [your supported brands](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__reqParam_supportedBrands) in the request, the response also tells you if you support each [brand that was identified](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__resParam_details). If you have an API-only integration and collect card data, use this endpoint to find out if the shopper's card is co-branded. For co-branded cards, you must let the shopper choose the brand to pay with if you support both brands. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"cardNumber\" : \"411111\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/cardDetails", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "cardDetails" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Send a request with at least the first 6 digits of the card number to get a response with an array of brands on the card. If you include [your supported brands](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__reqParam_supportedBrands) in the request, the response also tells you if you support each [brand that was identified](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__resParam_details). If you have an API-only integration and collect card data, use this endpoint to find out if the shopper's card is co-branded. For co-branded cards, you must let the shopper choose the brand to pay with if you support both brands. " - } + ] }, { "name": "Get a list of brands on a card specifying your supported card brands", "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 + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"cardNumber\" : \"411111\",\n \"supportedBrands\" : [ \"visa\", \"mc\", \"amex\" ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/cardDetails", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "cardDetails" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Send a request with at least the first 6 digits of the card number to get a response with an array of brands on the card. If you include [your supported brands](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__reqParam_supportedBrands) in the request, the response also tells you if you support each [brand that was identified](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__resParam_details). If you have an API-only integration and collect card data, use this endpoint to find out if the shopper's card is co-branded. For co-branded cards, you must let the shopper choose the brand to pay with if you support both brands. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"brands\" : [ {\n \"type\" : \"visa\",\n \"supported\" : true\n }, {\n \"type\" : \"cartebancaire\",\n \"supported\" : false\n } ]\n}", + "originalRequest": { + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"cardNumber\" : \"411111\",\n \"supportedBrands\" : [ \"visa\", \"mc\", \"amex\" ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/cardDetails", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "cardDetails" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Send a request with at least the first 6 digits of the card number to get a response with an array of brands on the card. If you include [your supported brands](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__reqParam_supportedBrands) in the request, the response also tells you if you support each [brand that was identified](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__resParam_details). If you have an API-only integration and collect card data, use this endpoint to find out if the shopper's card is co-branded. For co-branded cards, you must let the shopper choose the brand to pay with if you support both brands. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"cardNumber\" : \"411111\",\n \"supportedBrands\" : [ \"visa\", \"mc\", \"amex\" ]\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/cardDetails", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "cardDetails" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Send a request with at least the first 6 digits of the card number to get a response with an array of brands on the card. If you include [your supported brands](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__reqParam_supportedBrands) in the request, the response also tells you if you support each [brand that was identified](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__resParam_details). If you have an API-only integration and collect card data, use this endpoint to find out if the shopper's card is co-branded. For co-branded cards, you must let the shopper choose the brand to pay with if you support both brands. " - } + ] } ] - } -, + }, { "name": "/paymentMethods", "description": "Queries the available payment methods for a transaction based on the transaction context (like amount, country, and currency). Besides giving back a list of the available payment methods, the response also returns which input details you need to collect from the shopper (to be submitted to `/payments`). Although we highly recommend using this endpoint to ensure you are always offering the most up-to-date list of payment methods, its usage is optional. You can, for example, also cache the `/paymentMethods` response and update it once a week.", @@ -1267,153 +2362,329 @@ { "name": "Get available payment methods", "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 + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentMethods", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentMethods" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Queries the available payment methods for a transaction based on the transaction context (like amount, country, and currency). Besides giving back a list of the available payment methods, the response also returns which input details you need to collect from the shopper (to be submitted to `/payments`). Although we highly recommend using this endpoint to ensure you are always offering the most up-to-date list of payment methods, its usage is optional. You can, for example, also cache the `/paymentMethods` response and update it once a week." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"paymentMethods\" : [ {\n \"details\" : [ {\n \"details\" : [ {\n \"key\" : \"ownerName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"bankLocationId\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"bankAccountNumber\",\n \"type\" : \"text\"\n } ],\n \"key\" : \"bankAccount\",\n \"type\" : \"bankAccount\"\n } ],\n \"name\" : \"ACH Direct Debit\",\n \"type\" : \"ach\"\n }, {\n \"name\" : \"Adyen Voucher\",\n \"type\" : \"adyen_test_voucher\"\n }, {\n \"details\" : [ {\n \"details\" : [ {\n \"key\" : \"firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"lastName\",\n \"type\" : \"text\"\n }, {\n \"items\" : [ {\n \"id\" : \"M\",\n \"name\" : \"male\"\n }, {\n \"id\" : \"F\",\n \"name\" : \"female\"\n } ],\n \"key\" : \"gender\",\n \"type\" : \"radio\"\n }, {\n \"key\" : \"dateOfBirth\",\n \"type\" : \"date\"\n }, {\n \"key\" : \"telephoneNumber\",\n \"type\" : \"tel\"\n }, {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n } ],\n \"key\" : \"personalDetails\",\n \"type\" : \"fieldSet\"\n }, {\n \"details\" : [ {\n \"key\" : \"street\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"houseNumberOrName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"city\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"postalCode\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"stateOrProvince\",\n \"optional\" : true,\n \"type\" : \"text\"\n }, {\n \"items\" : [ {\n \"id\" : \"NL\",\n \"name\" : \"Netherlands\"\n }, {\n \"id\" : \"BE\",\n \"name\" : \"Belgium\"\n } ],\n \"key\" : \"country\",\n \"type\" : \"select\"\n } ],\n \"key\" : \"billingAddress\",\n \"type\" : \"address\"\n }, {\n \"key\" : \"separateDeliveryAddress\",\n \"optional\" : true,\n \"type\" : \"boolean\",\n \"value\" : \"false\"\n }, {\n \"details\" : [ {\n \"key\" : \"street\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"houseNumberOrName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"city\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"postalCode\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"stateOrProvince\",\n \"optional\" : true,\n \"type\" : \"text\"\n }, {\n \"items\" : [ {\n \"id\" : \"NL\",\n \"name\" : \"Netherlands\"\n }, {\n \"id\" : \"BE\",\n \"name\" : \"Belgium\"\n } ],\n \"key\" : \"country\",\n \"type\" : \"select\"\n } ],\n \"key\" : \"deliveryAddress\",\n \"optional\" : true,\n \"type\" : \"address\"\n } ],\n \"name\" : \"AfterPay Invoice\",\n \"type\" : \"afterpay_default\"\n }, {\n \"name\" : \"AfterPay DirectDebit\",\n \"type\" : \"afterpay_directdebit\"\n }, {\n \"name\" : \"Afterpay\",\n \"type\" : \"afterpaytouch\"\n }, {\n \"details\" : [ {\n \"key\" : \"encryptedCardNumber\",\n \"type\" : \"cardToken\"\n }, {\n \"key\" : \"encryptedSecurityCode\",\n \"type\" : \"cardToken\"\n }, {\n \"key\" : \"encryptedExpiryMonth\",\n \"type\" : \"cardToken\"\n }, {\n \"key\" : \"encryptedExpiryYear\",\n \"type\" : \"cardToken\"\n }, {\n \"key\" : \"holderName\",\n \"optional\" : true,\n \"type\" : \"text\"\n } ],\n \"name\" : \"Credit Card\",\n \"type\" : \"scheme\"\n }, {\n \"name\" : \"AliPay\",\n \"type\" : \"alipay\"\n }, {\n \"name\" : \"AliPay HK\",\n \"type\" : \"alipay_hk\"\n }, {\n \"name\" : \"AliPay\",\n \"type\" : \"alipay_wap\"\n }, {\n \"details\" : [ {\n \"key\" : \"additionalData.androidpay.token\",\n \"type\" : \"androidPayToken\"\n } ],\n \"name\" : \"Android Pay\",\n \"type\" : \"androidpay\"\n }, {\n \"details\" : [ {\n \"key\" : \"additionalData.applepay.token\",\n \"type\" : \"applePayToken\"\n } ],\n \"name\" : \"Apple Pay\",\n \"type\" : \"applepay\"\n }, {\n \"name\" : \"Credit Card via AsiaPay\",\n \"type\" : \"asiapay\"\n }, {\n \"name\" : \"China UnionPay\",\n \"type\" : \"asiapay_unionpay\"\n }, {\n \"name\" : \"Baby Gift Card\",\n \"type\" : \"babygiftcard\"\n }, {\n \"name\" : \"Baloto\",\n \"type\" : \"baloto\"\n }, {\n \"name\" : \"BancNet\",\n \"type\" : \"bancnet\"\n }, {\n \"name\" : \"Bank Transfer (BG)\",\n \"type\" : \"bankTransfer_BG\"\n }, {\n \"name\" : \"Bank Transfer (CH)\",\n \"type\" : \"bankTransfer_CH\"\n }, {\n \"name\" : \"Bank Transfer (DE)\",\n \"type\" : \"bankTransfer_DE\"\n }, {\n \"name\" : \"Bank Transfer (FI)\",\n \"type\" : \"bankTransfer_FI\"\n }, {\n \"name\" : \"Bank Transfer (GB)\",\n \"type\" : \"bankTransfer_GB\"\n }, {\n \"name\" : \"Bank Transfer (HU)\",\n \"type\" : \"bankTransfer_HU\"\n }, {\n \"name\" : \"SEPA Bank Transfer\",\n \"type\" : \"bankTransfer_IBAN\"\n }, {\n \"name\" : \"Bank Transfer (IE)\",\n \"type\" : \"bankTransfer_IE\"\n }, {\n \"name\" : \"Electronic Bank Transfer (MX)\",\n \"type\" : \"bankTransfer_MX_linked\"\n }, {\n \"name\" : \"Bank Transfer (MX)\",\n \"type\" : \"bankTransfer_MX_offline\"\n }, {\n \"name\" : \"Bank Transfer (NL)\",\n \"type\" : \"bankTransfer_NL\"\n }, {\n \"name\" : \"Bank Transfer (PL)\",\n \"type\" : \"bankTransfer_PL\"\n }, {\n \"name\" : \"Bank Transfer (SE)\",\n \"type\" : \"bankTransfer_SE\"\n }, {\n \"name\" : \"Bank Transfer (US)\",\n \"type\" : \"bankTransfer_US\"\n }, {\n \"name\" : \"Payconiq by Bancontact\",\n \"type\" : \"bcmc_mobile\"\n }, {\n \"name\" : \"Bijenkorf Cadeaucard\",\n \"type\" : \"bijcadeaucard\"\n }, {\n \"name\" : \"99Bill\",\n \"type\" : \"bill99\"\n }, {\n \"details\" : [ {\n \"items\" : [ {\n \"id\" : \"AUB_DIRECT\",\n \"name\" : \"AU Small Finance Bank\"\n }, {\n \"id\" : \"ALB_DIRECT\",\n \"name\" : \"Allahabad Bank \"\n }, {\n \"id\" : \"APG_DIRECT\",\n \"name\" : \"Andhra Pragathi Grameena Bank\"\n }, {\n \"id\" : \"BDN_DIRECT\",\n \"name\" : \"Bandhan bank\"\n }, {\n \"id\" : \"BBK_DIRECT\",\n \"name\" : \"Bank of Bahrain and Kuwait\"\n }, {\n \"id\" : \"BBR_DIRECT\",\n \"name\" : \"Bank of Baroda - Retail Banking\"\n }, {\n \"id\" : \"BCB_DIRECT\",\n \"name\" : \"Bassien Catholic Co-Operative Bank \"\n }, {\n \"id\" : \"CNB_DIRECT\",\n \"name\" : \"Canara Bank\"\n }, {\n \"id\" : \"SYD_DIRECT\",\n \"name\" : \"Canara Bank (e-Syndicate)\"\n }, {\n \"id\" : \"CSB_DIRECT\",\n \"name\" : \"Catholic Syrian Bank\"\n }, {\n \"id\" : \"CBI_DIRECT\",\n \"name\" : \"Central Bank of India\"\n }, {\n \"id\" : \"CUB_DIRECT\",\n \"name\" : \"City Union Bank\"\n }, {\n \"id\" : \"COB_DIRECT\",\n \"name\" : \"Cosmos Bank\"\n }, {\n \"id\" : \"DEN_DIRECT\",\n \"name\" : \"Dena Bank\"\n }, {\n \"id\" : \"DBK_DIRECT\",\n \"name\" : \"Deutsche Bank\"\n }, {\n \"id\" : \"DCB_DIRECT\",\n \"name\" : \"Development Credit Bank\"\n }, {\n \"id\" : \"DLB_DIRECT\",\n \"name\" : \"Dhanlakshmi Bank - Retail Net Banking\"\n }, {\n \"id\" : \"ESF_DIRECT\",\n \"name\" : \"ESAF Small Finance Bank\"\n }, {\n \"id\" : \"EQB_DIRECT\",\n \"name\" : \"Equitas Small Finance Bank\"\n }, {\n \"id\" : \"FBK_DIRECT\",\n \"name\" : \"Federal Bank\"\n }, {\n \"id\" : \"FNC_DIRECT\",\n \"name\" : \"Fincare Bank\"\n }, {\n \"id\" : \"HDF_DIRECT\",\n \"name\" : \"HDFC Bank\"\n }, {\n \"id\" : \"ICI_DIRECT\",\n \"name\" : \"ICICI Bank \"\n }, {\n \"id\" : \"IDB_DIRECT\",\n \"name\" : \"IDBI Bank - Retail Net Banking\"\n }, {\n \"id\" : \"IDN_DIRECT\",\n \"name\" : \"IDFC FIRST Bank\"\n }, {\n \"id\" : \"INB_DIRECT\",\n \"name\" : \"Indian Bank\"\n }, {\n \"id\" : \"IOB_DIRECT\",\n \"name\" : \"Indian Overseas Bank\"\n }, {\n \"id\" : \"IDS_DIRECT\",\n \"name\" : \"IndusInd Bank\"\n }, {\n \"id\" : \"JKB_DIRECT\",\n \"name\" : \"Jammu & Kashmir Bank\"\n }, {\n \"id\" : \"JNB_DIRECT\",\n \"name\" : \"Jana Small Finance Bank\"\n }, {\n \"id\" : \"JSB_DIRECT\",\n \"name\" : \"Janata Sahakari Bank Ltd Pune\"\n }, {\n \"id\" : \"KJB_DIRECT\",\n \"name\" : \"Kalyan Janata Sahakari Bank\"\n }, {\n \"id\" : \"KBL_DIRECT\",\n \"name\" : \"Karnataka Bank Ltd\"\n }, {\n \"id\" : \"KVB_DIRECT\",\n \"name\" : \"Karur Vysya Bank\"\n }, {\n \"id\" : \"162_DIRECT\",\n \"name\" : \"Kotak Bank\"\n }, {\n \"id\" : \"LVR_DIRECT\",\n \"name\" : \"Laxmi Vilas Bank - Retail\"\n }, {\n \"id\" : \"NKB_DIRECT\",\n \"name\" : \"NKGSB Co-op Bank\"\n }, {\n \"id\" : \"NEB_DIRECT\",\n \"name\" : \"North East Small Finance Bank\"\n }, {\n \"id\" : \"OBC_DIRECT\",\n \"name\" : \"PNB (Erstwhile-Oriental Bank of Commerce)\"\n }, {\n \"id\" : \"UNI_DIRECT\",\n \"name\" : \"PNB (Erstwhile-United Bank of India)\"\n }, {\n \"id\" : \"PMC_DIRECT\",\n \"name\" : \"Punjab & Maharastra Co-op Bank\"\n }, {\n \"id\" : \"PSB_DIRECT\",\n \"name\" : \"Punjab & Sind Bank\"\n }, {\n \"id\" : \"CPN_DIRECT\",\n \"name\" : \"Punjab National Bank - Corporate \"\n }, {\n \"id\" : \"PNB_DIRECT\",\n \"name\" : \"Punjab National Bank - Retail Banking\"\n }, {\n \"id\" : \"RBL_DIRECT\",\n \"name\" : \"RBL Bank Limited\"\n }, {\n \"id\" : \"SWB_DIRECT\",\n \"name\" : \"Saraswat Bank\"\n }, {\n \"id\" : \"SHB_DIRECT\",\n \"name\" : \"Shivalik Mercantile Cooperative Bank Ltd\"\n }, {\n \"id\" : \"SIB_DIRECT\",\n \"name\" : \"South Indian Bank\"\n }, {\n \"id\" : \"SCB_DIRECT\",\n \"name\" : \"Standard Chartered Bank\"\n }, {\n \"id\" : \"SBI_DIRECT\",\n \"name\" : \"State Bank of India\"\n }, {\n \"id\" : \"SRB_DIRECT\",\n \"name\" : \"Suryoday Small Finance Bank\"\n }, {\n \"id\" : \"TJB_DIRECT\",\n \"name\" : \"TJSB Bank\"\n }, {\n \"id\" : \"TNC_DIRECT\",\n \"name\" : \"Tamil Nadu State Co-operative Bank\"\n }, {\n \"id\" : \"TMB_DIRECT\",\n \"name\" : \"Tamilnad Mercantile Bank Ltd\"\n }, {\n \"id\" : \"TBB_DIRECT\",\n \"name\" : \"Thane Bharat Sahakari Bank Ltd\"\n }, {\n \"id\" : \"MSB_DIRECT\",\n \"name\" : \"The Mehsana Urban Co Op Bank Ltd\"\n }, {\n \"id\" : \"UCO_DIRECT\",\n \"name\" : \"UCO Bank\"\n }, {\n \"id\" : \"UBI_DIRECT\",\n \"name\" : \"Union Bank of India\"\n }, {\n \"id\" : \"ADB_DIRECT\",\n \"name\" : \"Union Bank of India (Erstwhile Andhra Bank)\"\n }, {\n \"id\" : \"CRP_DIRECT\",\n \"name\" : \"Union Bank of India (Erstwhile Corporation Bank)\"\n }, {\n \"id\" : \"VRB_DIRECT\",\n \"name\" : \"Varachha Co-operative Bank Limited\"\n }, {\n \"id\" : \"VJB_DIRECT\",\n \"name\" : \"Vijaya Bank\"\n }, {\n \"id\" : \"YBK_DIRECT\",\n \"name\" : \"Yes Bank\"\n }, {\n \"id\" : \"ZOB_DIRECT\",\n \"name\" : \"Zoroastrian Co-operative Bank Limited\"\n }, {\n \"id\" : \"DBS_DIRECT\",\n \"name\" : \"digibank by DBS\"\n } ],\n \"key\" : \"issuer\",\n \"type\" : \"select\"\n } ],\n \"name\" : \"Online Banking India\",\n \"type\" : \"billdesk_online\"\n }, {\n \"name\" : \"UPI\",\n \"type\" : \"billdesk_upi\"\n }, {\n \"details\" : [ {\n \"items\" : [ {\n \"id\" : \"DCW_DIRECT\",\n \"name\" : \"DCB Cippy\"\n }, {\n \"id\" : \"ICC_DIRECT\",\n \"name\" : \"ICC Cash Card\"\n }, {\n \"id\" : \"OXY_DIRECT\",\n \"name\" : \"Oxigen Wallet\"\n }, {\n \"id\" : \"PCH_DIRECT\",\n \"name\" : \"Pay World Money\"\n } ],\n \"key\" : \"issuer\",\n \"type\" : \"select\"\n } ],\n \"name\" : \"Wallets India\",\n \"type\" : \"billdesk_wallet\"\n }, {\n \"name\" : \"Blik\",\n \"type\" : \"blik\"\n }, {\n \"name\" : \"Bloemen Giftcard\",\n \"type\" : \"bloemengiftcard\"\n }, {\n \"name\" : \"Boekenbon Giftcard\",\n \"type\" : \"boekenbon\"\n }, {\n \"name\" : \"Boleto\",\n \"type\" : \"boleto\"\n }, {\n \"name\" : \"Boleto Bancario\",\n \"type\" : \"boletobancario_santander\"\n }, {\n \"name\" : \"Bradesco\",\n \"type\" : \"bradesco\"\n }, {\n \"name\" : \"Cash-Ticket\",\n \"type\" : \"cashticket\"\n }, {\n \"name\" : \"CashU\",\n \"type\" : \"cashu\"\n }, {\n \"name\" : \"CCAvenue\",\n \"type\" : \"ccavenue\"\n }, {\n \"name\" : \"Mula Checkout\",\n \"type\" : \"cellulant\"\n }, {\n \"name\" : \"Chasin Giftcard\",\n \"type\" : \"chasingiftcard\"\n }, {\n \"name\" : \"Clearpay\",\n \"type\" : \"clearpay\"\n }, {\n \"name\" : \"ClickandBuy\",\n \"type\" : \"clickandbuy\"\n }, {\n \"name\" : \"Paiement en 3 fois par Cartes Bancaires\",\n \"type\" : \"cofinoga_3xcb\"\n }, {\n \"name\" : \"Costes Giftcard\",\n \"type\" : \"costesgiftcard\"\n }, {\n \"name\" : \"custom_settlement\",\n \"type\" : \"custom_settlement\"\n }, {\n \"name\" : \"DANA\",\n \"type\" : \"dana\"\n }, {\n \"name\" : \"DineroMail\",\n \"type\" : \"dineromail\"\n }, {\n \"name\" : \"Online bank transfer.\",\n \"type\" : \"directEbanking\"\n }, {\n \"name\" : \"Direct Debit Brazil - Banco do Brazil\",\n \"type\" : \"directdebit_BR_bancodobrasil\"\n }, {\n \"name\" : \"Direct Debit Brazil - Bradesco\",\n \"type\" : \"directdebit_BR_bradesco\"\n }, {\n \"name\" : \"Direct Debit Brazil - Caixa Economica Federal\",\n \"type\" : \"directdebit_BR_caixa\"\n }, {\n \"name\" : \"Direct Debit Brazil - HSBC\",\n \"type\" : \"directdebit_BR_hsbc\"\n }, {\n \"name\" : \"Direct Debit Brazil - Itau\",\n \"type\" : \"directdebit_BR_itau\"\n }, {\n \"name\" : \"Direct Debit Brazil - Santander\",\n \"type\" : \"directdebit_BR_santander\"\n }, {\n \"name\" : \"BACS Direct Debit\",\n \"type\" : \"directdebit_GB\"\n }, {\n \"details\" : [ {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n }, {\n \"key\" : \"firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"lastName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"infix\",\n \"optional\" : true,\n \"type\" : \"text\"\n } ],\n \"name\" : \"Alfamart\",\n \"type\" : \"doku_alfamart\"\n }, {\n \"details\" : [ {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n }, {\n \"key\" : \"firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"lastName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"infix\",\n \"optional\" : true,\n \"type\" : \"text\"\n } ],\n \"name\" : \"BCA Bank Transfer\",\n \"type\" : \"doku_bca_va\"\n }, {\n \"details\" : [ {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n }, {\n \"key\" : \"firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"lastName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"infix\",\n \"optional\" : true,\n \"type\" : \"text\"\n } ],\n \"name\" : \"BNI VA\",\n \"type\" : \"doku_bni_va\"\n }, {\n \"details\" : [ {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n }, {\n \"key\" : \"firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"lastName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"infix\",\n \"optional\" : true,\n \"type\" : \"text\"\n } ],\n \"name\" : \"BRI VA\",\n \"type\" : \"doku_bri_va\"\n }, {\n \"details\" : [ {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n }, {\n \"key\" : \"firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"lastName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"infix\",\n \"optional\" : true,\n \"type\" : \"text\"\n } ],\n \"name\" : \"CIMB VA\",\n \"type\" : \"doku_cimb_va\"\n }, {\n \"details\" : [ {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n }, {\n \"key\" : \"firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"lastName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"infix\",\n \"optional\" : true,\n \"type\" : \"text\"\n } ],\n \"name\" : \"Danamon VA\",\n \"type\" : \"doku_danamon_va\"\n }, {\n \"details\" : [ {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n }, {\n \"key\" : \"firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"lastName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"infix\",\n \"optional\" : true,\n \"type\" : \"text\"\n } ],\n \"name\" : \"Indomaret\",\n \"type\" : \"doku_indomaret\"\n }, {\n \"details\" : [ {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n }, {\n \"key\" : \"firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"lastName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"infix\",\n \"optional\" : true,\n \"type\" : \"text\"\n } ],\n \"name\" : \"Mandiri VA\",\n \"type\" : \"doku_mandiri_va\"\n }, {\n \"details\" : [ {\n \"key\" : \"ovoId\",\n \"type\" : \"text\"\n } ],\n \"name\" : \"OVO\",\n \"type\" : \"doku_ovo\"\n }, {\n \"details\" : [ {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n }, {\n \"key\" : \"firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"lastName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"infix\",\n \"optional\" : true,\n \"type\" : \"text\"\n } ],\n \"name\" : \"Bank Transfer\",\n \"type\" : \"doku_permata_lite_atm\"\n }, {\n \"details\" : [ {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n }, {\n \"key\" : \"firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"lastName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"infix\",\n \"optional\" : true,\n \"type\" : \"text\"\n } ],\n \"name\" : \"DOKU wallet\",\n \"type\" : \"doku_wallet\"\n }, {\n \"details\" : [ {\n \"items\" : [ {\n \"id\" : \"66\",\n \"name\" : \"Bank Nowy BFG S.A.\"\n }, {\n \"id\" : \"92\",\n \"name\" : \"Bank Spółdzielczy w Brodnicy\"\n }, {\n \"id\" : \"11\",\n \"name\" : \"Bank transfer / postal\"\n }, {\n \"id\" : \"74\",\n \"name\" : \"Banki Spółdzielcze\"\n }, {\n \"id\" : \"73\",\n \"name\" : \"BLIK\"\n }, {\n \"id\" : \"90\",\n \"name\" : \"BNP Paribas - płacę z Pl@net\"\n }, {\n \"id\" : \"59\",\n \"name\" : \"CinkciarzPAY\"\n }, {\n \"id\" : \"87\",\n \"name\" : \"Credit Agricole PBL\"\n }, {\n \"id\" : \"83\",\n \"name\" : \"EnveloBank\"\n }, {\n \"id\" : \"76\",\n \"name\" : \"Getin Bank PBL\"\n }, {\n \"id\" : \"81\",\n \"name\" : \"Idea Cloud\"\n }, {\n \"id\" : \"7\",\n \"name\" : \"ING Corporate customers\"\n }, {\n \"id\" : \"93\",\n \"name\" : \"Kasa Stefczyka\"\n }, {\n \"id\" : \"44\",\n \"name\" : \"Millennium - Płatności Internetowe\"\n }, {\n \"id\" : \"10\",\n \"name\" : \"Millennium Corporate customers\"\n }, {\n \"id\" : \"68\",\n \"name\" : \"mRaty\"\n }, {\n \"id\" : \"1\",\n \"name\" : \"mTransfer\"\n }, {\n \"id\" : \"91\",\n \"name\" : \"Nest Bank\"\n }, {\n \"id\" : \"80\",\n \"name\" : \"Noble Pay\"\n }, {\n \"id\" : \"50\",\n \"name\" : \"Pay Way Toyota Bank\"\n }, {\n \"id\" : \"45\",\n \"name\" : \"Pay with Alior Bank\"\n }, {\n \"id\" : \"36\",\n \"name\" : \"Pekao24Przelew\"\n }, {\n \"id\" : \"70\",\n \"name\" : \"Pocztowy24\"\n }, {\n \"id\" : \"6\",\n \"name\" : \"Przelew24\"\n }, {\n \"id\" : \"46\",\n \"name\" : \"Płacę z Citi Handlowy\"\n }, {\n \"id\" : \"38\",\n \"name\" : \"Płacę z ING\"\n }, {\n \"id\" : \"2\",\n \"name\" : \"Płacę z Inteligo\"\n }, {\n \"id\" : \"4\",\n \"name\" : \"Płacę z iPKO\"\n }, {\n \"id\" : \"75\",\n \"name\" : \"Płacę z Plus Bank\"\n }, {\n \"id\" : \"51\",\n \"name\" : \"Płać z BOŚ\"\n }, {\n \"id\" : \"55\",\n \"name\" : \"Raty z Alior Bankiem PLN\"\n }, {\n \"id\" : \"89\",\n \"name\" : \"Santander\"\n }, {\n \"id\" : \"52\",\n \"name\" : \"SkyCash\"\n } ],\n \"key\" : \"issuer\",\n \"type\" : \"select\"\n } ],\n \"name\" : \"Local Polish Payment Methods\",\n \"type\" : \"dotpay\"\n }, {\n \"name\" : \"Dragonpay Prepaid Credits\",\n \"type\" : \"dragonpay_credits\"\n }, {\n \"name\" : \"Online Banking\",\n \"type\" : \"dragonpay_ebanking\"\n }, {\n \"name\" : \"GCash\",\n \"type\" : \"dragonpay_gcash\"\n }, {\n \"name\" : \"Over The Counter Banks\",\n \"type\" : \"dragonpay_otc_banking\"\n }, {\n \"name\" : \"OTC non-Bank via Dragonpay\",\n \"type\" : \"dragonpay_otc_non_banking\"\n }, {\n \"name\" : \"Convenience Stores\",\n \"type\" : \"dragonpay_otc_philippines\"\n }, {\n \"name\" : \"7/11\",\n \"type\" : \"dragonpay_seveneleven\"\n }, {\n \"name\" : \"eagleeye_voucher\",\n \"type\" : \"eagleeye_voucher\"\n }, {\n \"name\" : \"Finnish E-Banking\",\n \"type\" : \"ebanking_FI\"\n }, {\n \"name\" : \"Pay-easy ATM\",\n \"type\" : \"econtext_atm\"\n }, {\n \"name\" : \"Online Banking\",\n \"type\" : \"econtext_online\"\n }, {\n \"name\" : \"7-Eleven\",\n \"type\" : \"econtext_seven_eleven\"\n }, {\n \"name\" : \"Convenience Stores\",\n \"type\" : \"econtext_stores\"\n }, {\n \"name\" : \"eft_directdebit_CA\",\n \"type\" : \"eft_directdebit_CA\"\n }, {\n \"name\" : \"Lastschrift (ELV)\",\n \"type\" : \"elv\"\n }, {\n \"details\" : [ {\n \"items\" : [ {\n \"id\" : \"231\",\n \"name\" : \"POP Pankki\"\n }, {\n \"id\" : \"551\",\n \"name\" : \"Komerční banka\"\n }, {\n \"id\" : \"232\",\n \"name\" : \"Aktia\"\n }, {\n \"id\" : \"552\",\n \"name\" : \"Raiffeisen\"\n }, {\n \"id\" : \"233\",\n \"name\" : \"Säästöpankki\"\n }, {\n \"id\" : \"750\",\n \"name\" : \"Swedbank\"\n }, {\n \"id\" : \"211\",\n \"name\" : \"Nordea\"\n }, {\n \"id\" : \"553\",\n \"name\" : \"ČSOB\"\n }, {\n \"id\" : \"234\",\n \"name\" : \"S-Pankki\"\n }, {\n \"id\" : \"751\",\n \"name\" : \"SEB\"\n }, {\n \"id\" : \"554\",\n \"name\" : \"Moneta\"\n }, {\n \"id\" : \"235\",\n \"name\" : \"OmaSP\"\n }, {\n \"id\" : \"752\",\n \"name\" : \"Nordea\"\n }, {\n \"id\" : \"213\",\n \"name\" : \"Op-Pohjola\"\n }, {\n \"id\" : \"555\",\n \"name\" : \"UniCredit\"\n }, {\n \"id\" : \"753\",\n \"name\" : \"LHV\"\n }, {\n \"id\" : \"556\",\n \"name\" : \"Fio\"\n }, {\n \"id\" : \"557\",\n \"name\" : \"mBank\"\n }, {\n \"id\" : \"216\",\n \"name\" : \"Handelsbanken\"\n }, {\n \"id\" : \"558\",\n \"name\" : \"Air Bank\"\n }, {\n \"id\" : \"260\",\n \"name\" : \"Länsförsäkringar\"\n }, {\n \"id\" : \"240\",\n \"name\" : \"BankDeposit\"\n }, {\n \"id\" : \"265\",\n \"name\" : \"Sparbanken\"\n }, {\n \"id\" : \"640\",\n \"name\" : \"BankDeposit\"\n }, {\n \"id\" : \"200\",\n \"name\" : \"Ålandsbanken\"\n }, {\n \"id\" : \"940\",\n \"name\" : \"Swedbank\"\n }, {\n \"id\" : \"500\",\n \"name\" : \"Česká spořitelna\"\n }, {\n \"id\" : \"720\",\n \"name\" : \"Swedbank\"\n }, {\n \"id\" : \"941\",\n \"name\" : \"SEB\"\n }, {\n \"id\" : \"204\",\n \"name\" : \"Danske Bank\"\n }, {\n \"id\" : \"721\",\n \"name\" : \"SEB\"\n }, {\n \"id\" : \"942\",\n \"name\" : \"Citadele\"\n }, {\n \"id\" : \"205\",\n \"name\" : \"Handelsbanken\"\n }, {\n \"id\" : \"722\",\n \"name\" : \"DNB\"\n }, {\n \"id\" : \"943\",\n \"name\" : \"DNB\"\n }, {\n \"id\" : \"206\",\n \"name\" : \"Nordea\"\n }, {\n \"id\" : \"723\",\n \"name\" : \"Šiaulių bankas\"\n }, {\n \"id\" : \"207\",\n \"name\" : \"SEB\"\n }, {\n \"id\" : \"724\",\n \"name\" : \"Nordea\"\n }, {\n \"id\" : \"505\",\n \"name\" : \"Komerční banka\"\n }, {\n \"id\" : \"208\",\n \"name\" : \"Skandiabanken\"\n }, {\n \"id\" : \"209\",\n \"name\" : \"Swedbank\"\n } ],\n \"key\" : \"issuer\",\n \"type\" : \"select\"\n } ],\n \"name\" : \"Bank Payment\",\n \"type\" : \"entercash\"\n }, {\n \"name\" : \"Nationale Entertainment Card\",\n \"type\" : \"entertainmentcard\"\n }, {\n \"details\" : [ {\n \"items\" : [ {\n \"id\" : \"d5d5b133-1c0d-4c08-b2be-3c9b116dc326\",\n \"name\" : \"Dolomitenbank\"\n }, {\n \"id\" : \"ee9fc487-ebe0-486c-8101-17dce5141a67\",\n \"name\" : \"Raiffeissen Bankengruppe\"\n }, {\n \"id\" : \"6765e225-a0dc-4481-9666-e26303d4f221\",\n \"name\" : \"Hypo Tirol Bank AG\"\n }, {\n \"id\" : \"8b0bfeea-fbb0-4337-b3a1-0e25c0f060fc\",\n \"name\" : \"Sparda Bank Wien\"\n }, {\n \"id\" : \"1190c4d1-b37a-487e-9355-e0a067f54a9f\",\n \"name\" : \"Schoellerbank AG\"\n }, {\n \"id\" : \"e2e97aaa-de4c-4e18-9431-d99790773433\",\n \"name\" : \"Volksbank Gruppe\"\n }, {\n \"id\" : \"bb7d223a-17d5-48af-a6ef-8a2bf5a4e5d9\",\n \"name\" : \"Immo-Bank\"\n }, {\n \"id\" : \"e6819e7a-f663-414b-92ec-cf7c82d2f4e5\",\n \"name\" : \"Bank Austria\"\n }, {\n \"id\" : \"eff103e6-843d-48b7-a6e6-fbd88f511b11\",\n \"name\" : \"Easybank AG\"\n }, {\n \"id\" : \"25942cc9-617d-42a1-89ba-d1ab5a05770a\",\n \"name\" : \"VR-BankBraunau\"\n }, {\n \"id\" : \"4a0a975b-0594-4b40-9068-39f77b3a91f9\",\n \"name\" : \"Volkskreditbank\"\n }, {\n \"id\" : \"3fdc41fc-3d3d-4ee3-a1fe-cd79cfd58ea3\",\n \"name\" : \"Erste Bank und Sparkassen\"\n }, {\n \"id\" : \"ba7199cc-f057-42f2-9856-2378abf21638\",\n \"name\" : \"BAWAG P.S.K. Gruppe\"\n } ],\n \"key\" : \"issuer\",\n \"type\" : \"select\"\n } ],\n \"name\" : \"EPS\",\n \"type\" : \"eps\"\n }, {\n \"name\" : \"Expert Cadeaukaart\",\n \"type\" : \"expertgiftcard\"\n }, {\n \"details\" : [ {\n \"details\" : [ {\n \"key\" : \"firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"lastName\",\n \"type\" : \"text\"\n }, {\n \"items\" : [ {\n \"id\" : \"M\",\n \"name\" : \"male\"\n }, {\n \"id\" : \"F\",\n \"name\" : \"female\"\n } ],\n \"key\" : \"gender\",\n \"type\" : \"radio\"\n }, {\n \"key\" : \"telephoneNumber\",\n \"type\" : \"tel\"\n }, {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n } ],\n \"key\" : \"personalDetails\",\n \"type\" : \"fieldSet\"\n }, {\n \"details\" : [ {\n \"key\" : \"street\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"houseNumberOrName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"city\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"postalCode\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"stateOrProvince\",\n \"optional\" : true,\n \"type\" : \"text\"\n }, {\n \"items\" : [ {\n \"id\" : \"FR\",\n \"name\" : \"France\"\n }, {\n \"id\" : \"ES\",\n \"name\" : \"Spain\"\n } ],\n \"key\" : \"country\",\n \"type\" : \"select\"\n } ],\n \"key\" : \"billingAddress\",\n \"type\" : \"address\"\n }, {\n \"key\" : \"separateDeliveryAddress\",\n \"optional\" : true,\n \"type\" : \"boolean\",\n \"value\" : \"false\"\n }, {\n \"details\" : [ {\n \"key\" : \"street\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"houseNumberOrName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"city\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"postalCode\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"stateOrProvince\",\n \"optional\" : true,\n \"type\" : \"text\"\n }, {\n \"items\" : [ {\n \"id\" : \"FR\",\n \"name\" : \"France\"\n }, {\n \"id\" : \"ES\",\n \"name\" : \"Spain\"\n } ],\n \"key\" : \"country\",\n \"type\" : \"select\"\n } ],\n \"key\" : \"deliveryAddress\",\n \"optional\" : true,\n \"type\" : \"address\"\n } ],\n \"name\" : \"3x Oney\",\n \"type\" : \"facilypay_3x\"\n }, {\n \"details\" : [ {\n \"details\" : [ {\n \"key\" : \"firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"lastName\",\n \"type\" : \"text\"\n }, {\n \"items\" : [ {\n \"id\" : \"M\",\n \"name\" : \"male\"\n }, {\n \"id\" : \"F\",\n \"name\" : \"female\"\n } ],\n \"key\" : \"gender\",\n \"type\" : \"radio\"\n }, {\n \"key\" : \"telephoneNumber\",\n \"type\" : \"tel\"\n }, {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n } ],\n \"key\" : \"personalDetails\",\n \"type\" : \"fieldSet\"\n }, {\n \"details\" : [ {\n \"key\" : \"street\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"houseNumberOrName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"city\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"postalCode\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"stateOrProvince\",\n \"optional\" : true,\n \"type\" : \"text\"\n }, {\n \"items\" : [ {\n \"id\" : \"FR\",\n \"name\" : \"France\"\n }, {\n \"id\" : \"ES\",\n \"name\" : \"Spain\"\n } ],\n \"key\" : \"country\",\n \"type\" : \"select\"\n } ],\n \"key\" : \"billingAddress\",\n \"type\" : \"address\"\n }, {\n \"key\" : \"separateDeliveryAddress\",\n \"optional\" : true,\n \"type\" : \"boolean\",\n \"value\" : \"false\"\n }, {\n \"details\" : [ {\n \"key\" : \"street\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"houseNumberOrName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"city\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"postalCode\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"stateOrProvince\",\n \"optional\" : true,\n \"type\" : \"text\"\n }, {\n \"items\" : [ {\n \"id\" : \"FR\",\n \"name\" : \"France\"\n }, {\n \"id\" : \"ES\",\n \"name\" : \"Spain\"\n } ],\n \"key\" : \"country\",\n \"type\" : \"select\"\n } ],\n \"key\" : \"deliveryAddress\",\n \"optional\" : true,\n \"type\" : \"address\"\n } ],\n \"name\" : \"4x Oney\",\n \"type\" : \"facilypay_4x\"\n }, {\n \"name\" : \"Fashioncheque\",\n \"type\" : \"fashioncheque\"\n }, {\n \"details\" : [ {\n \"key\" : \"shopper.firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"shopper.lastName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"shopper.gender\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n }, {\n \"key\" : \"telephoneNumber\",\n \"type\" : \"tel\"\n }, {\n \"key\" : \"countryCode\",\n \"type\" : \"text\"\n } ],\n \"name\" : \"Fawry\",\n \"type\" : \"fawry\"\n }, {\n \"name\" : \"FijnCadeau\",\n \"type\" : \"fijncadeau\"\n }, {\n \"name\" : \"Fleurop Bloemenbon\",\n \"type\" : \"fleuropbloemenbon\"\n }, {\n \"name\" : \"Fonq Giftcard\",\n \"type\" : \"fonqgiftcard\"\n }, {\n \"name\" : \"Gall & Gall\",\n \"type\" : \"gallgall\"\n }, {\n \"name\" : \"GCash\",\n \"type\" : \"gcash\"\n }, {\n \"name\" : \"Generic GiftCard\",\n \"type\" : \"genericgiftcard\"\n }, {\n \"name\" : \"GiftFor2\",\n \"type\" : \"giftfor2card\"\n }, {\n \"name\" : \"Givex\",\n \"type\" : \"givex\"\n }, {\n \"name\" : \"Globe GCash\",\n \"type\" : \"globegcash\"\n }, {\n \"name\" : \"Goldsmiths Card\",\n \"type\" : \"goldsmithscard\"\n }, {\n \"name\" : \"GoPay Wallet\",\n \"type\" : \"gopay_wallet\"\n }, {\n \"name\" : \"OVO\",\n \"type\" : \"grabpay_ID\"\n }, {\n \"name\" : \"GrabPay\",\n \"type\" : \"grabpay_PH\"\n }, {\n \"name\" : \"GrabPay\",\n \"type\" : \"grabpay_SG\"\n }, {\n \"name\" : \"Hallmark Card\",\n \"type\" : \"hallmarkcard\"\n }, {\n \"name\" : \"HDFC\",\n \"type\" : \"hdfc\"\n }, {\n \"name\" : \"Hunkemoller Member Card\",\n \"type\" : \"hmclub\"\n }, {\n \"name\" : \"Hunkemoller Lingerie Card\",\n \"type\" : \"hmlingerie\"\n }, {\n \"details\" : [ {\n \"items\" : [ {\n \"id\" : \"1121\",\n \"name\" : \"Test Issuer\"\n }, {\n \"id\" : \"1154\",\n \"name\" : \"Test Issuer 5\"\n }, {\n \"id\" : \"1153\",\n \"name\" : \"Test Issuer 4\"\n }, {\n \"id\" : \"1152\",\n \"name\" : \"Test Issuer 3\"\n }, {\n \"id\" : \"1151\",\n \"name\" : \"Test Issuer 2\"\n }, {\n \"id\" : \"1162\",\n \"name\" : \"Test Issuer Cancelled\"\n }, {\n \"id\" : \"1161\",\n \"name\" : \"Test Issuer Pending\"\n }, {\n \"id\" : \"1160\",\n \"name\" : \"Test Issuer Refused\"\n }, {\n \"id\" : \"1159\",\n \"name\" : \"Test Issuer 10\"\n }, {\n \"id\" : \"1158\",\n \"name\" : \"Test Issuer 9\"\n }, {\n \"id\" : \"1157\",\n \"name\" : \"Test Issuer 8\"\n }, {\n \"id\" : \"1156\",\n \"name\" : \"Test Issuer 7\"\n }, {\n \"id\" : \"1155\",\n \"name\" : \"Test Issuer 6\"\n } ],\n \"key\" : \"issuer\",\n \"type\" : \"select\"\n } ],\n \"name\" : \"iDEAL\",\n \"type\" : \"ideal\"\n }, {\n \"name\" : \"igive\",\n \"type\" : \"igive\"\n }, {\n \"name\" : \"Korean Account Transfer (IniPay)\",\n \"type\" : \"inicisIniPay_accounttransfer\"\n }, {\n \"name\" : \"Korean Credit Cards (IniPay)\",\n \"type\" : \"inicisIniPay_creditcard\"\n }, {\n \"name\" : \"Korean Mobile Phone (IniPay)\",\n \"type\" : \"inicisIniPay_mobilephone\"\n }, {\n \"name\" : \"Korean Virtual Account (IniPay)\",\n \"type\" : \"inicisIniPay_virtualaccount\"\n }, {\n \"name\" : \"Korean Account Transfer (Mobile)\",\n \"type\" : \"inicisMobile_accounttransfer\"\n }, {\n \"name\" : \"Korean Credit Cards (Mobile)\",\n \"type\" : \"inicisMobile_creditcard\"\n }, {\n \"name\" : \"Korean Mobile Phone (Mobile)\",\n \"type\" : \"inicisMobile_mobilephone\"\n }, {\n \"name\" : \"Korean Virtual Account (Mobile)\",\n \"type\" : \"inicisMobile_virtualaccount\"\n }, {\n \"name\" : \"Korean Credit Cards\",\n \"type\" : \"inicis_creditcard\"\n }, {\n \"name\" : \"Interac® Online\",\n \"type\" : \"interac\"\n }, {\n \"name\" : \"Instant EFT\",\n \"type\" : \"ipay\"\n }, {\n \"name\" : \"iPay88\",\n \"type\" : \"ipay88\"\n }, {\n \"name\" : \"isracard\",\n \"type\" : \"isracard\"\n }, {\n \"name\" : \"Phone Payment\",\n \"type\" : \"ivr\"\n }, {\n \"name\" : \"Landline phone\",\n \"type\" : \"ivrLandline\"\n }, {\n \"name\" : \"Mobile phone\",\n \"type\" : \"ivrMobile\"\n }, {\n \"name\" : \"Kado Wereld\",\n \"type\" : \"kadowereld\"\n }, {\n \"name\" : \"KakaoPay\",\n \"type\" : \"kakaopay\"\n }, {\n \"name\" : \"Karen Millen Card\",\n \"type\" : \"karenmillen\"\n }, {\n \"name\" : \"Karen Millen GiftCard\",\n \"type\" : \"karenmillengiftcard\"\n }, {\n \"name\" : \"Bank Transfer\",\n \"type\" : \"kcp_banktransfer\"\n }, {\n \"name\" : \"Korea–issued cards\",\n \"type\" : \"kcp_creditcard\"\n }, {\n \"name\" : \"PayCo\",\n \"type\" : \"kcp_payco\"\n }, {\n \"name\" : \"Naver Pay\",\n \"type\" : \"kcp_naverpay\"\n }, {\n \"name\" : \"Virtual Account via KCP\",\n \"type\" : \"kcp_va\"\n }, {\n \"name\" : \"Pay later with Klarna.\",\n \"type\" : \"klarna\"\n }, {\n \"name\" : \"Pay over time with Klarna.\",\n \"type\" : \"klarna_account\"\n }, {\n \"name\" : \"Buy Now, Pay Later with Billie\",\n \"type\" : \"klarna_b2b\"\n }, {\n \"name\" : \"Pay now with Klarna.\",\n \"type\" : \"klarna_paynow\"\n }, {\n \"name\" : \"Leisure Card\",\n \"type\" : \"leisurecard\"\n }, {\n \"name\" : \"China Credit Card\",\n \"type\" : \"lianlianpay_creditcard\"\n }, {\n \"name\" : \"China Debit Card\",\n \"type\" : \"lianlianpay_debitcard\"\n }, {\n \"details\" : [ {\n \"key\" : \"telephoneNumber\",\n \"type\" : \"tel\"\n } ],\n \"name\" : \"China Online Banking - Credit Card\",\n \"type\" : \"lianlianpay_ebanking_credit\"\n }, {\n \"details\" : [ {\n \"items\" : [ {\n \"id\" : \"01030000\",\n \"name\" : \"Agricultural Bank of China\"\n }, {\n \"id\" : \"4031000\",\n \"name\" : \"Bank of Beijing\"\n }, {\n \"id\" : \"01040000\",\n \"name\" : \"Bank of China\"\n }, {\n \"id\" : \"03020000\",\n \"name\" : \"China Citic Bank\"\n }, {\n \"id\" : \"01050000\",\n \"name\" : \"China Construction Bank\"\n }, {\n \"id\" : \"03030000\",\n \"name\" : \"China Everbright Bank\"\n }, {\n \"id\" : \"03080000\",\n \"name\" : \"China Merchants Bank\"\n }, {\n \"id\" : \"03050000\",\n \"name\" : \"China Minsheng Banking Group\"\n }, {\n \"id\" : \"03040000\",\n \"name\" : \"Hua Xia Bank Co\"\n }, {\n \"id\" : \"01020000\",\n \"name\" : \"Industrial and Commercial Bank of China\"\n }, {\n \"id\" : \"03070000\",\n \"name\" : \"PingAn Bank\"\n }, {\n \"id\" : \"1000000\",\n \"name\" : \"Postal Savings Bank of China\"\n } ],\n \"key\" : \"issuer\",\n \"type\" : \"select\"\n }, {\n \"key\" : \"telephoneNumber\",\n \"type\" : \"tel\"\n } ],\n \"name\" : \"China Online Banking - Debit Card\",\n \"type\" : \"lianlianpay_ebanking_debit\"\n }, {\n \"details\" : [ {\n \"items\" : [ {\n \"id\" : \"01030000\",\n \"name\" : \"Agricultural Bank of China\"\n }, {\n \"id\" : \"01050000\",\n \"name\" : \"China Construction Bank\"\n }, {\n \"id\" : \"03080000\",\n \"name\" : \"China Merchants Bank\"\n }, {\n \"id\" : \"01020000\",\n \"name\" : \"Industrial and Commercial Bank of China\"\n }, {\n \"id\" : \"03100000\",\n \"name\" : \"Shanghai Pudong Development Bank\"\n } ],\n \"key\" : \"issuer\",\n \"type\" : \"select\"\n }, {\n \"key\" : \"telephoneNumber\",\n \"type\" : \"tel\"\n } ],\n \"name\" : \"China Online Banking - Enterprise\",\n \"type\" : \"lianlianpay_ebanking_enterprise\"\n }, {\n \"name\" : \"Loods5 Cadeaukaart\",\n \"type\" : \"loods5giftcard\"\n }, {\n \"name\" : \"Loods5 Tegoedbon\",\n \"type\" : \"loods5prepaidcard\"\n }, {\n \"name\" : \"Love2Shop GiftCard\",\n \"type\" : \"love2shop\"\n }, {\n \"details\" : [ {\n \"key\" : \"shopper.firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"shopper.lastName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"shopper.gender\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n }, {\n \"key\" : \"telephoneNumber\",\n \"type\" : \"tel\"\n }, {\n \"key\" : \"countryCode\",\n \"type\" : \"text\"\n } ],\n \"name\" : \"mada\",\n \"type\" : \"mada\"\n }, {\n \"name\" : \"Mappin & Webb Card\",\n \"type\" : \"mappinwebbcard\"\n }, {\n \"name\" : \"MB WAY\",\n \"type\" : \"mbway\"\n }, {\n \"details\" : [ {\n \"key\" : \"additionalData.amazonPayToken\",\n \"type\" : \"text\"\n } ],\n \"name\" : \"Amazon Pay\",\n \"supportsRecurring\" : true,\n \"type\" : \"amazonpay\"\n }, {\n \"name\" : \"Mercado Pago\",\n \"type\" : \"mercadopago\"\n }, {\n \"name\" : \"MobilePay\",\n \"type\" : \"mobilepay\"\n }, {\n \"name\" : \"AliPay via Razer Merchant Services\",\n \"type\" : \"molpay_alipay\"\n }, {\n \"name\" : \"7-Eleven\",\n \"type\" : \"molpay_cash\"\n }, {\n \"name\" : \"CIMB Virtual Account\",\n \"type\" : \"molpay_cimb_va\"\n }, {\n \"name\" : \"Malaysia E-Banking via Razer Merchant Services\",\n \"type\" : \"molpay_ebanking_MY\"\n }, {\n \"details\" : [ {\n \"items\" : [ {\n \"id\" : \"vtcpay-vietinbank\",\n \"name\" : \"Vietinbank\"\n }, {\n \"id\" : \"vtcpay-bidv\",\n \"name\" : \"BIDV\"\n }, {\n \"id\" : \"vtcpay-agribank\",\n \"name\" : \"Agribank\"\n }, {\n \"id\" : \"vtcpay-mb\",\n \"name\" : \"MB Bank\"\n }, {\n \"id\" : \"vtcpay-sacombank\",\n \"name\" : \"Sacombank\"\n }, {\n \"id\" : \"vtcpay-dongabank\",\n \"name\" : \"DongABank\"\n }, {\n \"id\" : \"vtcpay-maritimebank\",\n \"name\" : \"MaritimeBank\"\n }, {\n \"id\" : \"vtcpay-vietcombank\",\n \"name\" : \"Vietcombank\"\n }, {\n \"id\" : \"vtcpay-acb\",\n \"name\" : \"ACB\"\n }, {\n \"id\" : \"vtcpay-techcombank\",\n \"name\" : \"Techcombank\"\n } ],\n \"key\" : \"issuer\",\n \"type\" : \"select\"\n } ],\n \"name\" : \"Vietnam E-Banking\",\n \"type\" : \"molpay_ebanking_VN\"\n }, {\n \"details\" : [ {\n \"items\" : [ {\n \"id\" : \"fpx_bimb\",\n \"name\" : \"Bank Islam\"\n }, {\n \"id\" : \"fpx_uob\",\n \"name\" : \"UOB Bank\"\n }, {\n \"id\" : \"fpx_cimbclicks\",\n \"name\" : \"CIMB Clicks\"\n }, {\n \"id\" : \"fpx_kfh\",\n \"name\" : \"Kuwait Finance House\"\n }, {\n \"id\" : \"fpx_rhb\",\n \"name\" : \"RHB Now\"\n }, {\n \"id\" : \"fpx_abmb\",\n \"name\" : \"Alliance Bank\"\n }, {\n \"id\" : \"fpx_amb\",\n \"name\" : \"Am Online\"\n }, {\n \"id\" : \"fpx_hsbc\",\n \"name\" : \"HSBC\"\n }, {\n \"id\" : \"fpx_abb\",\n \"name\" : \"Affin Bank\"\n }, {\n \"id\" : \"fpx_ocbc\",\n \"name\" : \"OCBC Bank\"\n }, {\n \"id\" : \"fpx_pbb\",\n \"name\" : \"Public Bank\"\n }, {\n \"id\" : \"fpx_scb\",\n \"name\" : \"Standard Chartered Bank\"\n }, {\n \"id\" : \"fpx_bsn\",\n \"name\" : \"Bank Simpanan Nasional\"\n }, {\n \"id\" : \"fpx_mb2u\",\n \"name\" : \"Maybank2u\"\n }, {\n \"id\" : \"fpx_hlb\",\n \"name\" : \"Hong Leong Connect\"\n }, {\n \"id\" : \"fpx_bmmb\",\n \"name\" : \"Bank Muamalat\"\n }, {\n \"id\" : \"fpx_bkrm\",\n \"name\" : \"Bank Rakyat\"\n } ],\n \"key\" : \"issuer\",\n \"type\" : \"select\"\n } ],\n \"name\" : \"Malaysia E-Banking\",\n \"type\" : \"molpay_ebanking_fpx_MY\"\n }, {\n \"name\" : \"eNETS Debit\",\n \"type\" : \"molpay_enetsd\"\n }, {\n \"name\" : \"epay\",\n \"type\" : \"molpay_epay\"\n }, {\n \"name\" : \"Esapay\",\n \"type\" : \"molpay_esapay\"\n }, {\n \"name\" : \"MyClear FPX\",\n \"type\" : \"molpay_fpx\"\n }, {\n \"name\" : \"Maybank2u\",\n \"type\" : \"molpay_maybank2u\"\n }, {\n \"name\" : \"Nganluong\",\n \"type\" : \"molpay_nganluong\"\n }, {\n \"name\" : \"Convenience Stores Thailand\",\n \"type\" : \"molpay_paysbuy\"\n }, {\n \"name\" : \"MOLPoints\",\n \"type\" : \"molpay_points\"\n }, {\n \"name\" : \"RHB Now\",\n \"type\" : \"molpay_rhb\"\n }, {\n \"name\" : \"SAM by SingPost\",\n \"type\" : \"molpay_singpost\"\n }, {\n \"name\" : \"MOLWallet\",\n \"type\" : \"molpay_wallet\"\n }, {\n \"name\" : \"MoMo ATM\",\n \"type\" : \"momo_atm\"\n }, {\n \"name\" : \"Momo Wallet\",\n \"type\" : \"momo_wallet\"\n }, {\n \"name\" : \"Moneybookers\",\n \"type\" : \"moneybookers\"\n }, {\n \"name\" : \"Multibanco\",\n \"type\" : \"multibanco\"\n }, {\n \"name\" : \"De Nationale Musicalcard\",\n \"type\" : \"musicalcard\"\n }, {\n \"name\" : \"Nationale Bioscoopbon\",\n \"type\" : \"nationalebioscoopbon\"\n }, {\n \"name\" : \"Nationale Tuinbon\",\n \"type\" : \"nationaletuinbon\"\n }, {\n \"name\" : \"Nationale Verwen Cadeaubon\",\n \"type\" : \"nationaleverwencadeaubon\"\n }, {\n \"name\" : \"BankAxess\",\n \"type\" : \"netaxept_bankaxess\"\n }, {\n \"name\" : \"NETELLER\",\n \"type\" : \"neteller\"\n }, {\n \"name\" : \"Onebip\",\n \"type\" : \"onebip\"\n }, {\n \"name\" : \"One Two Three\",\n \"type\" : \"onetwothree\"\n }, {\n \"name\" : \"Online Banking PL\",\n \"type\" : \"onlineBanking_PL\"\n }, {\n \"details\" : [ {\n \"items\" : [ {\n \"id\" : \"1\",\n \"name\" : \"Model Bank v2\"\n } ],\n \"key\" : \"issuer\",\n \"type\" : \"select\"\n } ],\n \"name\" : \"Online banking\",\n \"type\" : \"openbanking_UK\"\n }, {\n \"name\" : \"Oxxo\",\n \"type\" : \"oxxo\"\n }, {\n \"name\" : \"Pathe Giftcard\",\n \"type\" : \"pathegiftcard\"\n }, {\n \"name\" : \"PayBright\",\n \"type\" : \"paybright\"\n }, {\n \"name\" : \"Maya Wallet\",\n \"type\" : \"paymaya_wallet\"\n }, {\n \"name\" : \"PayPal\",\n \"type\" : \"paypal\"\n }, {\n \"name\" : \"Paysafecard\",\n \"type\" : \"paysafecard\"\n }, {\n \"name\" : \"Payshop\",\n \"type\" : \"payshop\"\n }, {\n \"name\" : \"PayD AMT via Paythru\",\n \"type\" : \"paythru_amt\"\n }, {\n \"name\" : \"EFT via Paythru\",\n \"type\" : \"paythru_eft\"\n }, {\n \"name\" : \"PayTM\",\n \"type\" : \"paytm\"\n }, {\n \"details\" : [ {\n \"key\" : \"virtualPaymentAddress\",\n \"type\" : \"text\"\n } ],\n \"name\" : \"PayU UPI\",\n \"type\" : \"payu_IN_upi\"\n }, {\n \"name\" : \"EFT Pro via PayU\",\n \"type\" : \"payu_ZA_eftpro\"\n }, {\n \"details\" : [ {\n \"key\" : \"additionalData.paywithgoogle.token\",\n \"type\" : \"payWithGoogleToken\"\n } ],\n \"name\" : \"Google Pay\",\n \"type\" : \"paywithgoogle\"\n }, {\n \"name\" : \"pix\",\n \"type\" : \"pix\"\n }, {\n \"name\" : \"Plastix\",\n \"type\" : \"plastix\"\n }, {\n \"name\" : \"Pluim\",\n \"type\" : \"pluimgiftcard\"\n }, {\n \"name\" : \"Podium Card\",\n \"type\" : \"podiumcard\"\n }, {\n \"name\" : \"POLi\",\n \"type\" : \"poli\"\n }, {\n \"name\" : \"PPS\",\n \"type\" : \"pps\"\n }, {\n \"name\" : \"Primera Cadeaukaart\",\n \"type\" : \"primeracadeaucard\"\n }, {\n \"name\" : \"Illicado Gift Card\",\n \"type\" : \"prosodie_illicado\"\n }, {\n \"name\" : \"PSE\",\n \"type\" : \"pse\"\n }, {\n \"details\" : [ {\n \"items\" : [ {\n \"id\" : \"+7\",\n \"name\" : \"RU\"\n }, {\n \"id\" : \"+9955\",\n \"name\" : \"GE\"\n }, {\n \"id\" : \"+507\",\n \"name\" : \"PA\"\n }, {\n \"id\" : \"+44\",\n \"name\" : \"GB\"\n }, {\n \"id\" : \"+992\",\n \"name\" : \"TJ\"\n }, {\n \"id\" : \"+370\",\n \"name\" : \"LT\"\n }, {\n \"id\" : \"+972\",\n \"name\" : \"IL\"\n }, {\n \"id\" : \"+996\",\n \"name\" : \"KG\"\n }, {\n \"id\" : \"+380\",\n \"name\" : \"UA\"\n }, {\n \"id\" : \"+84\",\n \"name\" : \"VN\"\n }, {\n \"id\" : \"+90\",\n \"name\" : \"TR\"\n }, {\n \"id\" : \"+994\",\n \"name\" : \"AZ\"\n }, {\n \"id\" : \"+374\",\n \"name\" : \"AM\"\n }, {\n \"id\" : \"+371\",\n \"name\" : \"LV\"\n }, {\n \"id\" : \"+91\",\n \"name\" : \"IN\"\n }, {\n \"id\" : \"+66\",\n \"name\" : \"TH\"\n }, {\n \"id\" : \"+373\",\n \"name\" : \"MD\"\n }, {\n \"id\" : \"+1\",\n \"name\" : \"US\"\n }, {\n \"id\" : \"+81\",\n \"name\" : \"JP\"\n }, {\n \"id\" : \"+998\",\n \"name\" : \"UZ\"\n }, {\n \"id\" : \"+77\",\n \"name\" : \"KZ\"\n }, {\n \"id\" : \"+375\",\n \"name\" : \"BY\"\n }, {\n \"id\" : \"+372\",\n \"name\" : \"EE\"\n }, {\n \"id\" : \"+40\",\n \"name\" : \"RO\"\n }, {\n \"id\" : \"+82\",\n \"name\" : \"KR\"\n } ],\n \"key\" : \"qiwiwallet.telephoneNumberPrefix\",\n \"type\" : \"select\"\n }, {\n \"key\" : \"qiwiwallet.telephoneNumber\",\n \"type\" : \"text\"\n } ],\n \"name\" : \"Qiwi Wallet\",\n \"type\" : \"qiwiwallet\"\n }, {\n \"name\" : \"RatePay Invoice\",\n \"type\" : \"ratepay\"\n }, {\n \"name\" : \"RatePay Direct Debit\",\n \"type\" : \"ratepay_directdebit\"\n }, {\n \"name\" : \"Rituals Giftcard\",\n \"type\" : \"rituals\"\n }, {\n \"name\" : \"Rob Peetoom Giftcard\",\n \"type\" : \"robpeetoomgiftcard\"\n }, {\n \"name\" : \"SafetyPay\",\n \"type\" : \"safetypay\"\n }, {\n \"name\" : \"SafetyPay Cash\",\n \"type\" : \"safetypay_cash\"\n }, {\n \"name\" : \"Shoes&Accessories Cadeau\",\n \"type\" : \"sagiftcard\"\n }, {\n \"name\" : \"Score Giftcard\",\n \"type\" : \"scoregiftcard\"\n }, {\n \"name\" : \"SEB Direktbetalning\",\n \"type\" : \"sebdirectpayment\"\n }, {\n \"details\" : [ {\n \"key\" : \"sepa.ownerName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"sepa.ibanNumber\",\n \"type\" : \"text\"\n } ],\n \"name\" : \"SEPA Direct Debit\",\n \"type\" : \"sepadirectdebit\"\n }, {\n \"name\" : \"7-Eleven\",\n \"type\" : \"seveneleven\"\n }, {\n \"name\" : \"Premium SMS\",\n \"type\" : \"sms\"\n }, {\n \"name\" : \"SVS\",\n \"type\" : \"svs\"\n }, {\n \"name\" : \"Swish\",\n \"type\" : \"swish\"\n }, {\n \"name\" : \"TCS Test GiftCard\",\n \"type\" : \"tcstestgiftcard\"\n }, {\n \"name\" : \"TenPay\",\n \"type\" : \"tenpay\"\n }, {\n \"name\" : \"The Sting Giftcard\",\n \"type\" : \"thestinggiftcard\"\n }, {\n \"name\" : \"TrueMoney\",\n \"type\" : \"truemoney\"\n }, {\n \"name\" : \"Trustly\",\n \"type\" : \"trustly\"\n }, {\n \"name\" : \"Online Banking by Trustpay\",\n \"type\" : \"trustpay\"\n }, {\n \"name\" : \"TWINT\",\n \"type\" : \"twint\"\n }, {\n \"name\" : \"Ukash\",\n \"type\" : \"ukash\"\n }, {\n \"name\" : \"UnionPay\",\n \"type\" : \"unionpay\"\n }, {\n \"details\" : [ {\n \"key\" : \"virtualPaymentAddress\",\n \"type\" : \"text\"\n } ],\n \"name\" : \"UPI Collect\",\n \"type\" : \"upi_collect\"\n }, {\n \"name\" : \"Valuelink\",\n \"type\" : \"valuelink\"\n }, {\n \"name\" : \"V&D Cadeaukaart\",\n \"type\" : \"vdcadeaucard\"\n }, {\n \"details\" : [ {\n \"key\" : \"telephoneNumber\",\n \"optional\" : true,\n \"type\" : \"tel\"\n } ],\n \"name\" : \"Vipps\",\n \"type\" : \"vipps\"\n }, {\n \"details\" : [ {\n \"key\" : \"additionalData.visacheckout.callId\",\n \"type\" : \"text\"\n } ],\n \"name\" : \"Visa Checkout\",\n \"type\" : \"visacheckout\"\n }, {\n \"name\" : \"VVV Cadeaubon\",\n \"type\" : \"vvvcadeaubon\"\n }, {\n \"name\" : \"VVV Giftcard\",\n \"type\" : \"vvvgiftcard\"\n }, {\n \"name\" : \"Webshop Giftcard\",\n \"type\" : \"webshopgiftcard\"\n }, {\n \"name\" : \"WeChat Pay\",\n \"type\" : \"wechatpayMiniProgram\"\n }, {\n \"name\" : \"WeChat Pay\",\n \"type\" : \"wechatpayQR\"\n }, {\n \"name\" : \"WeChat Pay\",\n \"type\" : \"wechatpayWeb\"\n }, {\n \"name\" : \"WE Fashion Giftcard\",\n \"type\" : \"wefashiongiftcard\"\n }, {\n \"name\" : \"Western Union\",\n \"type\" : \"westernunion\"\n }, {\n \"name\" : \"Winkel Cheque\",\n \"type\" : \"winkelcheque\"\n }, {\n \"name\" : \"WOS Card\",\n \"type\" : \"woscard\"\n }, {\n \"name\" : \"Alfa-Click\",\n \"type\" : \"yandex_alfaclick\"\n }, {\n \"name\" : \"Pay using bank card\",\n \"type\" : \"yandex_bank_card\"\n }, {\n \"name\" : \"Cash terminals\",\n \"type\" : \"yandex_cash\"\n }, {\n \"name\" : \"Pay using installments\",\n \"type\" : \"yandex_installments\"\n }, {\n \"name\" : \"YooMoney\",\n \"type\" : \"yandex_money\"\n }, {\n \"name\" : \"Promsvyazbank\",\n \"type\" : \"yandex_promsvyazbank\"\n }, {\n \"name\" : \"SberPay\",\n \"type\" : \"yandex_sberbank\"\n }, {\n \"name\" : \"WebMoney\",\n \"type\" : \"yandex_webmoney\"\n }, {\n \"name\" : \"Your Gift\",\n \"type\" : \"yourgift\"\n }, {\n \"name\" : \"Zip\",\n \"type\" : \"zip\"\n } ]\n}", + "originalRequest": { + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentMethods", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentMethods" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Queries the available payment methods for a transaction based on the transaction context (like amount, country, and currency). Besides giving back a list of the available payment methods, the response also returns which input details you need to collect from the shopper (to be submitted to `/payments`). Although we highly recommend using this endpoint to ensure you are always offering the most up-to-date list of payment methods, its usage is optional. You can, for example, also cache the `/paymentMethods` response and update it once a week." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentMethods", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentMethods" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Queries the available payment methods for a transaction based on the transaction context (like amount, country, and currency). Besides giving back a list of the available payment methods, the response also returns which input details you need to collect from the shopper (to be submitted to `/payments`). Although we highly recommend using this endpoint to ensure you are always offering the most up-to-date list of payment methods, its usage is optional. You can, for example, also cache the `/paymentMethods` response and update it once a week." - } + ] }, { "name": "Get payment methods based on the country and amount", "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 + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl-NL\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentMethods", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentMethods" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Queries the available payment methods for a transaction based on the transaction context (like amount, country, and currency). Besides giving back a list of the available payment methods, the response also returns which input details you need to collect from the shopper (to be submitted to `/payments`). Although we highly recommend using this endpoint to ensure you are always offering the most up-to-date list of payment methods, its usage is optional. You can, for example, also cache the `/paymentMethods` response and update it once a week." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"paymentMethods\" : [ {\n \"details\" : [ {\n \"items\" : [ {\n \"id\" : \"1121\",\n \"name\" : \"Test Issuer\"\n }, {\n \"id\" : \"1154\",\n \"name\" : \"Test Issuer 5\"\n }, {\n \"id\" : \"1153\",\n \"name\" : \"Test Issuer 4\"\n }, {\n \"id\" : \"1152\",\n \"name\" : \"Test Issuer 3\"\n }, {\n \"id\" : \"1151\",\n \"name\" : \"Test Issuer 2\"\n }, {\n \"id\" : \"1162\",\n \"name\" : \"Test Issuer Cancelled\"\n }, {\n \"id\" : \"1161\",\n \"name\" : \"Test Issuer Pending\"\n }, {\n \"id\" : \"1160\",\n \"name\" : \"Test Issuer Refused\"\n }, {\n \"id\" : \"1159\",\n \"name\" : \"Test Issuer 10\"\n }, {\n \"id\" : \"1158\",\n \"name\" : \"Test Issuer 9\"\n }, {\n \"id\" : \"1157\",\n \"name\" : \"Test Issuer 8\"\n }, {\n \"id\" : \"1156\",\n \"name\" : \"Test Issuer 7\"\n }, {\n \"id\" : \"1155\",\n \"name\" : \"Test Issuer 6\"\n } ],\n \"key\" : \"issuer\",\n \"type\" : \"select\"\n } ],\n \"name\" : \"iDEAL\",\n \"type\" : \"ideal\"\n }, {\n \"details\" : [ {\n \"key\" : \"encryptedCardNumber\",\n \"type\" : \"cardToken\"\n }, {\n \"key\" : \"encryptedSecurityCode\",\n \"type\" : \"cardToken\"\n }, {\n \"key\" : \"encryptedExpiryMonth\",\n \"type\" : \"cardToken\"\n }, {\n \"key\" : \"encryptedExpiryYear\",\n \"type\" : \"cardToken\"\n }, {\n \"key\" : \"holderName\",\n \"optional\" : true,\n \"type\" : \"text\"\n } ],\n \"name\" : \"Hitelkártya\",\n \"type\" : \"scheme\"\n }, {\n \"name\" : \"PayPal\",\n \"type\" : \"paypal\"\n }, {\n \"details\" : [ {\n \"details\" : [ {\n \"key\" : \"firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"lastName\",\n \"type\" : \"text\"\n }, {\n \"items\" : [ {\n \"id\" : \"M\",\n \"name\" : \"male\"\n }, {\n \"id\" : \"F\",\n \"name\" : \"female\"\n } ],\n \"key\" : \"gender\",\n \"type\" : \"radio\"\n }, {\n \"key\" : \"dateOfBirth\",\n \"type\" : \"date\"\n }, {\n \"key\" : \"telephoneNumber\",\n \"type\" : \"tel\"\n }, {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n } ],\n \"key\" : \"personalDetails\",\n \"type\" : \"fieldSet\"\n }, {\n \"details\" : [ {\n \"key\" : \"street\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"houseNumberOrName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"city\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"postalCode\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"stateOrProvince\",\n \"optional\" : true,\n \"type\" : \"text\"\n }, {\n \"items\" : [ {\n \"id\" : \"NL\",\n \"name\" : \"Netherlands\"\n }, {\n \"id\" : \"BE\",\n \"name\" : \"Belgium\"\n } ],\n \"key\" : \"country\",\n \"type\" : \"select\",\n \"value\" : \"NL\"\n } ],\n \"key\" : \"billingAddress\",\n \"type\" : \"address\"\n }, {\n \"key\" : \"separateDeliveryAddress\",\n \"optional\" : true,\n \"type\" : \"boolean\",\n \"value\" : \"false\"\n }, {\n \"details\" : [ {\n \"key\" : \"street\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"houseNumberOrName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"city\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"postalCode\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"stateOrProvince\",\n \"optional\" : true,\n \"type\" : \"text\"\n }, {\n \"items\" : [ {\n \"id\" : \"NL\",\n \"name\" : \"Netherlands\"\n }, {\n \"id\" : \"BE\",\n \"name\" : \"Belgium\"\n } ],\n \"key\" : \"country\",\n \"type\" : \"select\",\n \"value\" : \"NL\"\n } ],\n \"key\" : \"deliveryAddress\",\n \"optional\" : true,\n \"type\" : \"address\"\n } ],\n \"name\" : \"AfterPay Invoice\",\n \"type\" : \"afterpay_default\"\n }, {\n \"name\" : \"Pay later with Klarna.\",\n \"type\" : \"klarna\"\n }, {\n \"details\" : [ {\n \"key\" : \"sepa.ownerName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"sepa.ibanNumber\",\n \"type\" : \"text\"\n } ],\n \"name\" : \"SEPA Direct Debit\",\n \"type\" : \"sepadirectdebit\"\n }, {\n \"name\" : \"Paysafecard\",\n \"type\" : \"paysafecard\"\n }, {\n \"name\" : \"Bijenkorf Cadeaucard\",\n \"type\" : \"bijcadeaucard\"\n }, {\n \"name\" : \"Fonq Giftcard\",\n \"type\" : \"fonqgiftcard\"\n }, {\n \"name\" : \"Bank Transfer (NL)\",\n \"type\" : \"bankTransfer_NL\"\n }, {\n \"name\" : \"Pathe Giftcard\",\n \"type\" : \"pathegiftcard\"\n }, {\n \"name\" : \"VVV Giftcard\",\n \"type\" : \"vvvgiftcard\"\n }, {\n \"name\" : \"Podium Card\",\n \"type\" : \"podiumcard\"\n }, {\n \"name\" : \"RatePay Direct Debit\",\n \"type\" : \"ratepay_directdebit\"\n }, {\n \"name\" : \"Rituals Giftcard\",\n \"type\" : \"rituals\"\n }, {\n \"name\" : \"Hunkemoller Lingerie Card\",\n \"type\" : \"hmlingerie\"\n }, {\n \"name\" : \"Primera Cadeaukaart\",\n \"type\" : \"primeracadeaucard\"\n }, {\n \"name\" : \"Fashioncheque\",\n \"type\" : \"fashioncheque\"\n }, {\n \"name\" : \"NETELLER\",\n \"type\" : \"neteller\"\n }, {\n \"name\" : \"Adyen Voucher\",\n \"type\" : \"adyen_test_voucher\"\n }, {\n \"name\" : \"AfterPay B2B\",\n \"type\" : \"afterpay_b2b\"\n }, {\n \"name\" : \"AfterPay DirectDebit\",\n \"type\" : \"afterpay_directdebit\"\n }, {\n \"name\" : \"AliPay\",\n \"type\" : \"alipay\"\n }, {\n \"name\" : \"AliPay\",\n \"type\" : \"alipay_wap\"\n }, {\n \"details\" : [ {\n \"key\" : \"additionalData.androidpay.token\",\n \"type\" : \"androidPayToken\"\n } ],\n \"name\" : \"Android Pay\",\n \"type\" : \"androidpay\"\n }, {\n \"details\" : [ {\n \"key\" : \"additionalData.applepay.token\",\n \"type\" : \"applePayToken\"\n } ],\n \"name\" : \"Apple Pay\",\n \"type\" : \"applepay\"\n }, {\n \"name\" : \"Baby Gift Card\",\n \"type\" : \"babygiftcard\"\n }, {\n \"name\" : \"SEPA Bank Transfer\",\n \"type\" : \"bankTransfer_IBAN\"\n }, {\n \"name\" : \"Bloemen Giftcard\",\n \"type\" : \"bloemengiftcard\"\n }, {\n \"name\" : \"Boekenbon Giftcard\",\n \"type\" : \"boekenbon\"\n }, {\n \"name\" : \"Cash-Ticket\",\n \"type\" : \"cashticket\"\n }, {\n \"name\" : \"Chasin Giftcard\",\n \"type\" : \"chasingiftcard\"\n }, {\n \"name\" : \"ClickandBuy\",\n \"type\" : \"clickandbuy\"\n }, {\n \"name\" : \"Costes Giftcard\",\n \"type\" : \"costesgiftcard\"\n }, {\n \"name\" : \"custom_settlement\",\n \"type\" : \"custom_settlement\"\n }, {\n \"name\" : \"eft_directdebit_CA\",\n \"type\" : \"eft_directdebit_CA\"\n }, {\n \"name\" : \"Nationale Entertainment Card\",\n \"type\" : \"entertainmentcard\"\n }, {\n \"name\" : \"Expert Cadeaukaart\",\n \"type\" : \"expertgiftcard\"\n }, {\n \"name\" : \"FijnCadeau\",\n \"type\" : \"fijncadeau\"\n }, {\n \"name\" : \"Fleurop Bloemenbon\",\n \"type\" : \"fleuropbloemenbon\"\n }, {\n \"name\" : \"Gall & Gall\",\n \"type\" : \"gallgall\"\n }, {\n \"name\" : \"Generic GiftCard\",\n \"type\" : \"genericgiftcard\"\n }, {\n \"name\" : \"GiftFor2\",\n \"type\" : \"giftfor2card\"\n }, {\n \"name\" : \"Givex\",\n \"type\" : \"givex\"\n }, {\n \"name\" : \"Goldsmiths Card\",\n \"type\" : \"goldsmithscard\"\n }, {\n \"name\" : \"Hunkemoller Member Card\",\n \"type\" : \"hmclub\"\n }, {\n \"name\" : \"Phone Payment\",\n \"type\" : \"ivr\"\n }, {\n \"name\" : \"Landline phone\",\n \"type\" : \"ivrLandline\"\n }, {\n \"name\" : \"Mobile phone\",\n \"type\" : \"ivrMobile\"\n }, {\n \"name\" : \"Kado Wereld\",\n \"type\" : \"kadowereld\"\n }, {\n \"name\" : \"Karen Millen GiftCard\",\n \"type\" : \"karenmillengiftcard\"\n }, {\n \"name\" : \"Leisure Card\",\n \"type\" : \"leisurecard\"\n }, {\n \"name\" : \"Loods5 Cadeaukaart\",\n \"type\" : \"loods5giftcard\"\n }, {\n \"name\" : \"Loods5 Tegoedbon\",\n \"type\" : \"loods5prepaidcard\"\n }, {\n \"details\" : [ {\n \"key\" : \"additionalData.amazonPayToken\",\n \"type\" : \"text\"\n } ],\n \"name\" : \"Amazon Pay\",\n \"supportsRecurring\" : true,\n \"type\" : \"amazonpay\"\n }, {\n \"name\" : \"MOLPoints\",\n \"type\" : \"molpay_points\"\n }, {\n \"name\" : \"Moneybookers\",\n \"type\" : \"moneybookers\"\n }, {\n \"name\" : \"De Nationale Musicalcard\",\n \"type\" : \"musicalcard\"\n }, {\n \"name\" : \"Nationale Bioscoopbon\",\n \"type\" : \"nationalebioscoopbon\"\n }, {\n \"name\" : \"Nationale Tuinbon\",\n \"type\" : \"nationaletuinbon\"\n }, {\n \"name\" : \"Nationale Verwen Cadeaubon\",\n \"type\" : \"nationaleverwencadeaubon\"\n }, {\n \"name\" : \"Onebip\",\n \"type\" : \"onebip\"\n }, {\n \"details\" : [ {\n \"key\" : \"additionalData.paywithgoogle.token\",\n \"type\" : \"payWithGoogleToken\"\n } ],\n \"name\" : \"Google Pay\",\n \"type\" : \"paywithgoogle\"\n }, {\n \"name\" : \"Plastix\",\n \"type\" : \"plastix\"\n }, {\n \"name\" : \"Pluim\",\n \"type\" : \"pluimgiftcard\"\n }, {\n \"name\" : \"Illicado Gift Card\",\n \"type\" : \"prosodie_illicado\"\n }, {\n \"name\" : \"RatePay Invoice\",\n \"type\" : \"ratepay\"\n }, {\n \"name\" : \"Rob Peetoom Giftcard\",\n \"type\" : \"robpeetoomgiftcard\"\n }, {\n \"name\" : \"Shoes&Accessories Cadeau\",\n \"type\" : \"sagiftcard\"\n }, {\n \"name\" : \"Score Giftcard\",\n \"type\" : \"scoregiftcard\"\n }, {\n \"name\" : \"Premium SMS\",\n \"type\" : \"sms\"\n }, {\n \"name\" : \"SVS\",\n \"type\" : \"svs\"\n }, {\n \"name\" : \"TCS Test GiftCard\",\n \"type\" : \"tcstestgiftcard\"\n }, {\n \"name\" : \"The Sting Giftcard\",\n \"type\" : \"thestinggiftcard\"\n }, {\n \"name\" : \"Ukash\",\n \"type\" : \"ukash\"\n }, {\n \"name\" : \"UnionPay\",\n \"type\" : \"unionpay\"\n }, {\n \"name\" : \"Valuelink\",\n \"type\" : \"valuelink\"\n }, {\n \"name\" : \"V&D Cadeaukaart\",\n \"type\" : \"vdcadeaucard\"\n }, {\n \"details\" : [ {\n \"key\" : \"additionalData.visacheckout.callId\",\n \"type\" : \"text\"\n } ],\n \"name\" : \"Visa Checkout\",\n \"type\" : \"visacheckout\"\n }, {\n \"name\" : \"VVV Cadeaubon\",\n \"type\" : \"vvvcadeaubon\"\n }, {\n \"name\" : \"Webshop Giftcard\",\n \"type\" : \"webshopgiftcard\"\n }, {\n \"name\" : \"WE Fashion Giftcard\",\n \"type\" : \"wefashiongiftcard\"\n }, {\n \"name\" : \"Western Union\",\n \"type\" : \"westernunion\"\n }, {\n \"name\" : \"Winkel Cheque\",\n \"type\" : \"winkelcheque\"\n }, {\n \"name\" : \"Your Gift\",\n \"type\" : \"yourgift\"\n } ]\n}", + "originalRequest": { + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl-NL\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentMethods", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentMethods" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Queries the available payment methods for a transaction based on the transaction context (like amount, country, and currency). Besides giving back a list of the available payment methods, the response also returns which input details you need to collect from the shopper (to be submitted to `/payments`). Although we highly recommend using this endpoint to ensure you are always offering the most up-to-date list of payment methods, its usage is optional. You can, for example, also cache the `/paymentMethods` response and update it once a week." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl-NL\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n }\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentMethods", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentMethods" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Queries the available payment methods for a transaction based on the transaction context (like amount, country, and currency). Besides giving back a list of the available payment methods, the response also returns which input details you need to collect from the shopper (to be submitted to `/payments`). Although we highly recommend using this endpoint to ensure you are always offering the most up-to-date list of payment methods, its usage is optional. You can, for example, also cache the `/paymentMethods` response and update it once a week." - } + ] }, { "name": "Get payment methods including stored card details", "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 + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"countryCode\" : \"NL\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentMethods", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentMethods" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Queries the available payment methods for a transaction based on the transaction context (like amount, country, and currency). Besides giving back a list of the available payment methods, the response also returns which input details you need to collect from the shopper (to be submitted to `/payments`). Although we highly recommend using this endpoint to ensure you are always offering the most up-to-date list of payment methods, its usage is optional. You can, for example, also cache the `/paymentMethods` response and update it once a week." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"paymentMethods\" : [ {\n \"details\" : [ {\n \"items\" : [ {\n \"id\" : \"1121\",\n \"name\" : \"Test Issuer\"\n }, {\n \"id\" : \"1154\",\n \"name\" : \"Test Issuer 5\"\n }, {\n \"id\" : \"1153\",\n \"name\" : \"Test Issuer 4\"\n }, {\n \"id\" : \"1152\",\n \"name\" : \"Test Issuer 3\"\n }, {\n \"id\" : \"1151\",\n \"name\" : \"Test Issuer 2\"\n }, {\n \"id\" : \"1162\",\n \"name\" : \"Test Issuer Cancelled\"\n }, {\n \"id\" : \"1161\",\n \"name\" : \"Test Issuer Pending\"\n }, {\n \"id\" : \"1160\",\n \"name\" : \"Test Issuer Refused\"\n }, {\n \"id\" : \"1159\",\n \"name\" : \"Test Issuer 10\"\n }, {\n \"id\" : \"1158\",\n \"name\" : \"Test Issuer 9\"\n }, {\n \"id\" : \"1157\",\n \"name\" : \"Test Issuer 8\"\n }, {\n \"id\" : \"1156\",\n \"name\" : \"Test Issuer 7\"\n }, {\n \"id\" : \"1155\",\n \"name\" : \"Test Issuer 6\"\n } ],\n \"key\" : \"issuer\",\n \"type\" : \"select\"\n } ],\n \"name\" : \"iDEAL\",\n \"type\" : \"ideal\"\n }, {\n \"details\" : [ {\n \"key\" : \"encryptedCardNumber\",\n \"type\" : \"cardToken\"\n }, {\n \"key\" : \"encryptedSecurityCode\",\n \"type\" : \"cardToken\"\n }, {\n \"key\" : \"encryptedExpiryMonth\",\n \"type\" : \"cardToken\"\n }, {\n \"key\" : \"encryptedExpiryYear\",\n \"type\" : \"cardToken\"\n }, {\n \"key\" : \"holderName\",\n \"optional\" : true,\n \"type\" : \"text\"\n } ],\n \"name\" : \"Credit Card\",\n \"type\" : \"scheme\"\n }, {\n \"name\" : \"PayPal\",\n \"type\" : \"paypal\"\n }, {\n \"details\" : [ {\n \"details\" : [ {\n \"key\" : \"firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"lastName\",\n \"type\" : \"text\"\n }, {\n \"items\" : [ {\n \"id\" : \"M\",\n \"name\" : \"male\"\n }, {\n \"id\" : \"F\",\n \"name\" : \"female\"\n } ],\n \"key\" : \"gender\",\n \"type\" : \"radio\"\n }, {\n \"key\" : \"dateOfBirth\",\n \"type\" : \"date\"\n }, {\n \"key\" : \"telephoneNumber\",\n \"type\" : \"tel\"\n }, {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n } ],\n \"key\" : \"personalDetails\",\n \"type\" : \"fieldSet\"\n }, {\n \"details\" : [ {\n \"key\" : \"street\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"houseNumberOrName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"city\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"postalCode\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"stateOrProvince\",\n \"optional\" : true,\n \"type\" : \"text\"\n }, {\n \"items\" : [ {\n \"id\" : \"NL\",\n \"name\" : \"Netherlands\"\n }, {\n \"id\" : \"BE\",\n \"name\" : \"Belgium\"\n } ],\n \"key\" : \"country\",\n \"type\" : \"select\",\n \"value\" : \"NL\"\n } ],\n \"key\" : \"billingAddress\",\n \"type\" : \"address\"\n }, {\n \"key\" : \"separateDeliveryAddress\",\n \"optional\" : true,\n \"type\" : \"boolean\",\n \"value\" : \"false\"\n }, {\n \"details\" : [ {\n \"key\" : \"street\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"houseNumberOrName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"city\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"postalCode\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"stateOrProvince\",\n \"optional\" : true,\n \"type\" : \"text\"\n }, {\n \"items\" : [ {\n \"id\" : \"NL\",\n \"name\" : \"Netherlands\"\n }, {\n \"id\" : \"BE\",\n \"name\" : \"Belgium\"\n } ],\n \"key\" : \"country\",\n \"type\" : \"select\",\n \"value\" : \"NL\"\n } ],\n \"key\" : \"deliveryAddress\",\n \"optional\" : true,\n \"type\" : \"address\"\n } ],\n \"name\" : \"AfterPay Invoice\",\n \"type\" : \"afterpay_default\"\n }, {\n \"name\" : \"Pay later with Klarna.\",\n \"type\" : \"klarna\"\n }, {\n \"details\" : [ {\n \"key\" : \"sepa.ownerName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"sepa.ibanNumber\",\n \"type\" : \"text\"\n } ],\n \"name\" : \"SEPA Direct Debit\",\n \"type\" : \"sepadirectdebit\"\n }, {\n \"name\" : \"Paysafecard\",\n \"type\" : \"paysafecard\"\n }, {\n \"name\" : \"Bijenkorf Cadeaucard\",\n \"type\" : \"bijcadeaucard\"\n }, {\n \"name\" : \"Fonq Giftcard\",\n \"type\" : \"fonqgiftcard\"\n }, {\n \"name\" : \"Bank Transfer (NL)\",\n \"type\" : \"bankTransfer_NL\"\n }, {\n \"name\" : \"Pathe Giftcard\",\n \"type\" : \"pathegiftcard\"\n }, {\n \"name\" : \"VVV Giftcard\",\n \"type\" : \"vvvgiftcard\"\n }, {\n \"name\" : \"Podium Card\",\n \"type\" : \"podiumcard\"\n }, {\n \"name\" : \"RatePay Direct Debit\",\n \"type\" : \"ratepay_directdebit\"\n }, {\n \"name\" : \"Rituals Giftcard\",\n \"type\" : \"rituals\"\n }, {\n \"name\" : \"Hunkemoller Lingerie Card\",\n \"type\" : \"hmlingerie\"\n }, {\n \"name\" : \"Primera Cadeaukaart\",\n \"type\" : \"primeracadeaucard\"\n }, {\n \"name\" : \"Fashioncheque\",\n \"type\" : \"fashioncheque\"\n }, {\n \"name\" : \"NETELLER\",\n \"type\" : \"neteller\"\n }, {\n \"name\" : \"Adyen Voucher\",\n \"type\" : \"adyen_test_voucher\"\n }, {\n \"name\" : \"AfterPay B2B\",\n \"type\" : \"afterpay_b2b\"\n }, {\n \"name\" : \"AfterPay DirectDebit\",\n \"type\" : \"afterpay_directdebit\"\n }, {\n \"name\" : \"AliPay\",\n \"type\" : \"alipay\"\n }, {\n \"name\" : \"AliPay\",\n \"type\" : \"alipay_wap\"\n }, {\n \"details\" : [ {\n \"key\" : \"additionalData.androidpay.token\",\n \"type\" : \"androidPayToken\"\n } ],\n \"name\" : \"Android Pay\",\n \"type\" : \"androidpay\"\n }, {\n \"details\" : [ {\n \"key\" : \"additionalData.applepay.token\",\n \"type\" : \"applePayToken\"\n } ],\n \"name\" : \"Apple Pay\",\n \"type\" : \"applepay\"\n }, {\n \"name\" : \"Baby Gift Card\",\n \"type\" : \"babygiftcard\"\n }, {\n \"name\" : \"SEPA Bank Transfer\",\n \"type\" : \"bankTransfer_IBAN\"\n }, {\n \"name\" : \"Bloemen Giftcard\",\n \"type\" : \"bloemengiftcard\"\n }, {\n \"name\" : \"Boekenbon Giftcard\",\n \"type\" : \"boekenbon\"\n }, {\n \"name\" : \"Cash-Ticket\",\n \"type\" : \"cashticket\"\n }, {\n \"name\" : \"Chasin Giftcard\",\n \"type\" : \"chasingiftcard\"\n }, {\n \"name\" : \"ClickandBuy\",\n \"type\" : \"clickandbuy\"\n }, {\n \"name\" : \"Costes Giftcard\",\n \"type\" : \"costesgiftcard\"\n }, {\n \"name\" : \"custom_settlement\",\n \"type\" : \"custom_settlement\"\n }, {\n \"name\" : \"eft_directdebit_CA\",\n \"type\" : \"eft_directdebit_CA\"\n }, {\n \"name\" : \"Nationale Entertainment Card\",\n \"type\" : \"entertainmentcard\"\n }, {\n \"name\" : \"Expert Cadeaukaart\",\n \"type\" : \"expertgiftcard\"\n }, {\n \"name\" : \"FijnCadeau\",\n \"type\" : \"fijncadeau\"\n }, {\n \"name\" : \"Fleurop Bloemenbon\",\n \"type\" : \"fleuropbloemenbon\"\n }, {\n \"name\" : \"Gall & Gall\",\n \"type\" : \"gallgall\"\n }, {\n \"name\" : \"Generic GiftCard\",\n \"type\" : \"genericgiftcard\"\n }, {\n \"name\" : \"GiftFor2\",\n \"type\" : \"giftfor2card\"\n }, {\n \"name\" : \"Givex\",\n \"type\" : \"givex\"\n }, {\n \"name\" : \"Goldsmiths Card\",\n \"type\" : \"goldsmithscard\"\n }, {\n \"name\" : \"Hunkemoller Member Card\",\n \"type\" : \"hmclub\"\n }, {\n \"name\" : \"Phone Payment\",\n \"type\" : \"ivr\"\n }, {\n \"name\" : \"Landline phone\",\n \"type\" : \"ivrLandline\"\n }, {\n \"name\" : \"Mobile phone\",\n \"type\" : \"ivrMobile\"\n }, {\n \"name\" : \"Kado Wereld\",\n \"type\" : \"kadowereld\"\n }, {\n \"name\" : \"Karen Millen GiftCard\",\n \"type\" : \"karenmillengiftcard\"\n }, {\n \"name\" : \"Leisure Card\",\n \"type\" : \"leisurecard\"\n }, {\n \"name\" : \"Loods5 Cadeaukaart\",\n \"type\" : \"loods5giftcard\"\n }, {\n \"name\" : \"Loods5 Tegoedbon\",\n \"type\" : \"loods5prepaidcard\"\n }, {\n \"details\" : [ {\n \"key\" : \"additionalData.amazonPayToken\",\n \"type\" : \"text\"\n } ],\n \"name\" : \"Amazon Pay\",\n \"supportsRecurring\" : true,\n \"type\" : \"amazonpay\"\n }, {\n \"name\" : \"MOLPoints\",\n \"type\" : \"molpay_points\"\n }, {\n \"name\" : \"Moneybookers\",\n \"type\" : \"moneybookers\"\n }, {\n \"name\" : \"De Nationale Musicalcard\",\n \"type\" : \"musicalcard\"\n }, {\n \"name\" : \"Nationale Bioscoopbon\",\n \"type\" : \"nationalebioscoopbon\"\n }, {\n \"name\" : \"Nationale Tuinbon\",\n \"type\" : \"nationaletuinbon\"\n }, {\n \"name\" : \"Nationale Verwen Cadeaubon\",\n \"type\" : \"nationaleverwencadeaubon\"\n }, {\n \"name\" : \"Onebip\",\n \"type\" : \"onebip\"\n }, {\n \"details\" : [ {\n \"key\" : \"additionalData.paywithgoogle.token\",\n \"type\" : \"payWithGoogleToken\"\n } ],\n \"name\" : \"Google Pay\",\n \"type\" : \"paywithgoogle\"\n }, {\n \"name\" : \"Plastix\",\n \"type\" : \"plastix\"\n }, {\n \"name\" : \"Pluim\",\n \"type\" : \"pluimgiftcard\"\n }, {\n \"name\" : \"Illicado Gift Card\",\n \"type\" : \"prosodie_illicado\"\n }, {\n \"name\" : \"RatePay Invoice\",\n \"type\" : \"ratepay\"\n }, {\n \"name\" : \"Rob Peetoom Giftcard\",\n \"type\" : \"robpeetoomgiftcard\"\n }, {\n \"name\" : \"Shoes&Accessories Cadeau\",\n \"type\" : \"sagiftcard\"\n }, {\n \"name\" : \"Score Giftcard\",\n \"type\" : \"scoregiftcard\"\n }, {\n \"name\" : \"Premium SMS\",\n \"type\" : \"sms\"\n }, {\n \"name\" : \"SVS\",\n \"type\" : \"svs\"\n }, {\n \"name\" : \"TCS Test GiftCard\",\n \"type\" : \"tcstestgiftcard\"\n }, {\n \"name\" : \"The Sting Giftcard\",\n \"type\" : \"thestinggiftcard\"\n }, {\n \"name\" : \"Ukash\",\n \"type\" : \"ukash\"\n }, {\n \"name\" : \"UnionPay\",\n \"type\" : \"unionpay\"\n }, {\n \"name\" : \"Valuelink\",\n \"type\" : \"valuelink\"\n }, {\n \"name\" : \"V&D Cadeaukaart\",\n \"type\" : \"vdcadeaucard\"\n }, {\n \"details\" : [ {\n \"key\" : \"additionalData.visacheckout.callId\",\n \"type\" : \"text\"\n } ],\n \"name\" : \"Visa Checkout\",\n \"type\" : \"visacheckout\"\n }, {\n \"name\" : \"VVV Cadeaubon\",\n \"type\" : \"vvvcadeaubon\"\n }, {\n \"name\" : \"Webshop Giftcard\",\n \"type\" : \"webshopgiftcard\"\n }, {\n \"name\" : \"WE Fashion Giftcard\",\n \"type\" : \"wefashiongiftcard\"\n }, {\n \"name\" : \"Western Union\",\n \"type\" : \"westernunion\"\n }, {\n \"name\" : \"Winkel Cheque\",\n \"type\" : \"winkelcheque\"\n }, {\n \"name\" : \"Your Gift\",\n \"type\" : \"yourgift\"\n } ]\n}", + "originalRequest": { + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"countryCode\" : \"NL\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentMethods", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentMethods" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Queries the available payment methods for a transaction based on the transaction context (like amount, country, and currency). Besides giving back a list of the available payment methods, the response also returns which input details you need to collect from the shopper (to be submitted to `/payments`). Although we highly recommend using this endpoint to ensure you are always offering the most up-to-date list of payment methods, its usage is optional. You can, for example, also cache the `/paymentMethods` response and update it once a week." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"countryCode\" : \"NL\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentMethods", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentMethods" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Queries the available payment methods for a transaction based on the transaction context (like amount, country, and currency). Besides giving back a list of the available payment methods, the response also returns which input details you need to collect from the shopper (to be submitted to `/payments`). Although we highly recommend using this endpoint to ensure you are always offering the most up-to-date list of payment methods, its usage is optional. You can, for example, also cache the `/paymentMethods` response and update it once a week." - } + ] } ] - } -, + }, { "name": "/payments", "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. ", @@ -1421,839 +2692,1385 @@ { "name": "Make an Apple Pay payment", "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"applepay\",\n \"applePayToken\" : \"VNRWtuNlNEWkRCSm1xWndjMDFFbktkQU...\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"applepay\",\n \"applePayToken\" : \"VNRWtuNlNEWkRCSm1xWndjMDFFbktkQU...\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + ] }, { "name": "Make a card payment with 3D Secure 2 native authentication", "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 + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"{{$guid}}\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4917610000000000\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\",\n \"cvc\" : \"737\"\n },\n \"additionalData\" : {\n \"allow3DS2\" : \"true\"\n },\n \"accountInfo\" : {\n \"accountCreationDate\" : \"2019-01-17T13:42:40+01:00\"\n },\n \"billingAddress\" : {\n \"country\" : \"US\",\n \"city\" : \"New York\",\n \"street\" : \"Redwood Block\",\n \"houseNumberOrName\" : \"37C\",\n \"stateOrProvince\" : \"NY\",\n \"postalCode\" : \"10039\"\n },\n \"shopperEmail\" : \"s.hopper@test.com\",\n \"shopperIP\" : \"192.0.2.1\",\n \"browserInfo\" : {\n \"userAgent\" : \"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.110 Safari/537.36\",\n \"acceptHeader\" : \"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8\",\n \"language\" : \"nl-NL\",\n \"colorDepth\" : 24,\n \"screenHeight\" : 723,\n \"screenWidth\" : 1536,\n \"timeZoneOffset\" : 0,\n \"javaEnabled\" : true\n },\n \"channel\" : \"Web\",\n \"origin\" : \"https://your-company.com\",\n \"returnUrl\" : \"https://your-company.com/checkout/\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"additionalData\" : {\n \"cvcResult\" : \"1 Matches\",\n \"authCode\" : \"044410\",\n \"avsResult\" : \"4 AVS not supported for this card type\",\n \"avsResultRaw\" : \"4\",\n \"cvcResultRaw\" : \"M\",\n \"refusalReasonRaw\" : \"AUTHORISED\",\n \"acquirerCode\" : \"TestPmmAcquirer\",\n \"acquirerReference\" : \"8PQMP9TI1O2\"\n },\n \"pspReference\" : \"993617895005515H\",\n \"resultCode\" : \"Authorised\"\n}", + "originalRequest": { + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"{{$guid}}\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4917610000000000\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\",\n \"cvc\" : \"737\"\n },\n \"additionalData\" : {\n \"allow3DS2\" : \"true\"\n },\n \"accountInfo\" : {\n \"accountCreationDate\" : \"2019-01-17T13:42:40+01:00\"\n },\n \"billingAddress\" : {\n \"country\" : \"US\",\n \"city\" : \"New York\",\n \"street\" : \"Redwood Block\",\n \"houseNumberOrName\" : \"37C\",\n \"stateOrProvince\" : \"NY\",\n \"postalCode\" : \"10039\"\n },\n \"shopperEmail\" : \"s.hopper@test.com\",\n \"shopperIP\" : \"192.0.2.1\",\n \"browserInfo\" : {\n \"userAgent\" : \"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.110 Safari/537.36\",\n \"acceptHeader\" : \"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8\",\n \"language\" : \"nl-NL\",\n \"colorDepth\" : 24,\n \"screenHeight\" : 723,\n \"screenWidth\" : 1536,\n \"timeZoneOffset\" : 0,\n \"javaEnabled\" : true\n },\n \"channel\" : \"Web\",\n \"origin\" : \"https://your-company.com\",\n \"returnUrl\" : \"https://your-company.com/checkout/\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"{{$guid}}\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4917610000000000\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\",\n \"cvc\" : \"737\"\n },\n \"additionalData\" : {\n \"allow3DS2\" : \"true\"\n },\n \"accountInfo\" : {\n \"accountCreationDate\" : \"2019-01-17T13:42:40+01:00\"\n },\n \"billingAddress\" : {\n \"country\" : \"US\",\n \"city\" : \"New York\",\n \"street\" : \"Redwood Block\",\n \"houseNumberOrName\" : \"37C\",\n \"stateOrProvince\" : \"NY\",\n \"postalCode\" : \"10039\"\n },\n \"shopperEmail\" : \"s.hopper@test.com\",\n \"shopperIP\" : \"192.0.2.1\",\n \"browserInfo\" : {\n \"userAgent\" : \"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.110 Safari/537.36\",\n \"acceptHeader\" : \"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8\",\n \"language\" : \"nl-NL\",\n \"colorDepth\" : 24,\n \"screenHeight\" : 723,\n \"screenWidth\" : 1536,\n \"timeZoneOffset\" : 0,\n \"javaEnabled\" : true\n },\n \"channel\" : \"Web\",\n \"origin\" : \"https://your-company.com\",\n \"returnUrl\" : \"https://your-company.com/checkout/\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + ] }, { "name": "Make a card payment with 3D Secure redirect authentication", "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 + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4212345678901237\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\",\n \"cvc\" : \"737\"\n },\n \"browserInfo\" : {\n \"colorDepth\" : 24,\n \"screenHeight\" : 1800,\n \"screenWidth\" : 2880,\n \"timeZoneOffset\" : 60,\n \"language\" : \"nl\",\n \"userAgent\" : \"Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9) Gecko/2008052912 Firefox/3.0\",\n \"acceptHeader\" : \"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8\",\n \"javaEnabled\" : true\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"additionalData\" : {\n \"cvcResult\" : \"1 Matches\",\n \"authCode\" : \"074516\",\n \"avsResult\" : \"4 AVS not supported for this card type\",\n \"avsResultRaw\" : \"4\",\n \"cvcResultRaw\" : \"M\",\n \"refusalReasonRaw\" : \"AUTHORISED\",\n \"acquirerCode\" : \"TestPmmAcquirer\",\n \"acquirerReference\" : \"8PQMP9SJ7DN\"\n },\n \"pspReference\" : \"993617894903480A\",\n \"resultCode\" : \"Authorised\"\n}", + "originalRequest": { + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4212345678901237\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\",\n \"cvc\" : \"737\"\n },\n \"browserInfo\" : {\n \"colorDepth\" : 24,\n \"screenHeight\" : 1800,\n \"screenWidth\" : 2880,\n \"timeZoneOffset\" : 60,\n \"language\" : \"nl\",\n \"userAgent\" : \"Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9) Gecko/2008052912 Firefox/3.0\",\n \"acceptHeader\" : \"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8\",\n \"javaEnabled\" : true\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4212345678901237\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\",\n \"cvc\" : \"737\"\n },\n \"browserInfo\" : {\n \"colorDepth\" : 24,\n \"screenHeight\" : 1800,\n \"screenWidth\" : 2880,\n \"timeZoneOffset\" : 60,\n \"language\" : \"nl\",\n \"userAgent\" : \"Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9) Gecko/2008052912 Firefox/3.0\",\n \"acceptHeader\" : \"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8\",\n \"javaEnabled\" : true\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + ] }, { "name": "Make a payment with 3D Secure 2 native authentication, using encrypted card details", "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 + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"encryptedCardNumber\" : \"test_4212345678901237\",\n \"encryptedExpiryMonth\" : \"test_03\",\n \"encryptedExpiryYear\" : \"test_2030\",\n \"encryptedSecurityCode\" : \"test_737\",\n \"holderName\" : \"John Smith\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"additionalData\" : {\n \"cvcResult\" : \"1 Matches\",\n \"authCode\" : \"083996\",\n \"avsResult\" : \"4 AVS not supported for this card type\",\n \"avsResultRaw\" : \"4\",\n \"cvcResultRaw\" : \"M\",\n \"refusalReasonRaw\" : \"AUTHORISED\",\n \"acquirerCode\" : \"TestPmmAcquirer\",\n \"acquirerReference\" : \"8PQMP9SJH66\"\n },\n \"pspReference\" : \"993617894905481G\",\n \"resultCode\" : \"Authorised\"\n}", + "originalRequest": { + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"encryptedCardNumber\" : \"test_4212345678901237\",\n \"encryptedExpiryMonth\" : \"test_03\",\n \"encryptedExpiryYear\" : \"test_2030\",\n \"encryptedSecurityCode\" : \"test_737\",\n \"holderName\" : \"John Smith\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"encryptedCardNumber\" : \"test_4212345678901237\",\n \"encryptedExpiryMonth\" : \"test_03\",\n \"encryptedExpiryYear\" : \"test_2030\",\n \"encryptedSecurityCode\" : \"test_737\",\n \"holderName\" : \"John Smith\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + ] }, { "name": "Make a card payment", "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 + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4111111111111111\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\",\n \"cvc\" : \"737\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"additionalData\" : {\n \"cvcResult\" : \"1 Matches\",\n \"authCode\" : \"036240\",\n \"avsResult\" : \"4 AVS not supported for this card type\",\n \"avsResultRaw\" : \"4\",\n \"cvcResultRaw\" : \"M\",\n \"refusalReasonRaw\" : \"AUTHORISED\",\n \"acquirerCode\" : \"TestPmmAcquirer\",\n \"acquirerReference\" : \"8PQMP9SJQUL\"\n },\n \"pspReference\" : \"993617894906488A\",\n \"resultCode\" : \"Authorised\"\n}", + "originalRequest": { + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4111111111111111\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\",\n \"cvc\" : \"737\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4111111111111111\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\",\n \"cvc\" : \"737\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + ] }, { "name": "Make a card payment using encrypted card details", "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 + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"encryptedCardNumber\" : \"test_4111111111111111\",\n \"encryptedExpiryMonth\" : \"test_03\",\n \"encryptedExpiryYear\" : \"test_2030\",\n \"encryptedSecurityCode\" : \"test_737\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"additionalData\" : {\n \"cvcResult\" : \"1 Matches\",\n \"authCode\" : \"064649\",\n \"avsResult\" : \"4 AVS not supported for this card type\",\n \"avsResultRaw\" : \"4\",\n \"cvcResultRaw\" : \"M\",\n \"refusalReasonRaw\" : \"AUTHORISED\",\n \"acquirerCode\" : \"TestPmmAcquirer\",\n \"acquirerReference\" : \"8PQMP9SM92L\"\n },\n \"pspReference\" : \"993617894914488A\",\n \"resultCode\" : \"Authorised\"\n}", + "originalRequest": { + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"encryptedCardNumber\" : \"test_4111111111111111\",\n \"encryptedExpiryMonth\" : \"test_03\",\n \"encryptedExpiryYear\" : \"test_2030\",\n \"encryptedSecurityCode\" : \"test_737\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"encryptedCardNumber\" : \"test_4111111111111111\",\n \"encryptedExpiryMonth\" : \"test_03\",\n \"encryptedExpiryYear\" : \"test_2030\",\n \"encryptedSecurityCode\" : \"test_737\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + ] }, { "name": "Tokenize card details for one-off payments, using encrypted card details", "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"encryptedCardNumber\" : \"adyenjs_0_1_18$MT6ppy0FAMVMLH...\",\n \"encryptedExpiryMonth\" : \"adyenjs_0_1_18$MT6ppy0FAMVMLH...\",\n \"encryptedExpiryYear\" : \"adyenjs_0_1_18$MT6ppy0FAMVMLH...\",\n \"encryptedSecurityCode\" : \"adyenjs_0_1_18$MT6ppy0FAMVMLH...\"\n },\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"encryptedCardNumber\" : \"adyenjs_0_1_18$MT6ppy0FAMVMLH...\",\n \"encryptedExpiryMonth\" : \"adyenjs_0_1_18$MT6ppy0FAMVMLH...\",\n \"encryptedExpiryYear\" : \"adyenjs_0_1_18$MT6ppy0FAMVMLH...\",\n \"encryptedSecurityCode\" : \"adyenjs_0_1_18$MT6ppy0FAMVMLH...\"\n },\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + ] }, { "name": "Tokenize card details for one-off payments", "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 + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4111111111111111\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\",\n \"cvc\" : \"737\"\n },\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"storePaymentMethod\" : true,\n \"shopperInteraction\" : \"Ecommerce\",\n \"recurringProcessingModel\" : \"CardOnFile\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"additionalData\" : {\n \"cvcResult\" : \"1 Matches\",\n \"authCode\" : \"022966\",\n \"avsResult\" : \"4 AVS not supported for this card type\",\n \"recurring.recurringDetailReference\" : \"9916178934434753\",\n \"recurringProcessingModel\" : \"CardOnFile\",\n \"avsResultRaw\" : \"4\",\n \"cvcResultRaw\" : \"M\",\n \"refusalReasonRaw\" : \"AUTHORISED\",\n \"recurring.shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID\",\n \"acquirerCode\" : \"TestPmmAcquirer\",\n \"acquirerReference\" : \"8PQMP9T0BB6\"\n },\n \"pspReference\" : \"993617894947495G\",\n \"resultCode\" : \"Authorised\"\n}", + "originalRequest": { + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4111111111111111\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\",\n \"cvc\" : \"737\"\n },\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"storePaymentMethod\" : true,\n \"shopperInteraction\" : \"Ecommerce\",\n \"recurringProcessingModel\" : \"CardOnFile\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4111111111111111\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\",\n \"cvc\" : \"737\"\n },\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"storePaymentMethod\" : true,\n \"shopperInteraction\" : \"Ecommerce\",\n \"recurringProcessingModel\" : \"CardOnFile\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + ] }, { "name": "Make a Google Pay payment", "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"paywithgoogle\",\n \"googlePayToken\" : \"==Payload as retrieved from Google Pay response==\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"YourMerchantAccount\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"paywithgoogle\",\n \"googlePayToken\" : \"==Payload as retrieved from Google Pay response==\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"YourMerchantAccount\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + ] }, { "name": "Make an iDEAL payment", "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 + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"ideal\",\n \"issuer\" : \"1121\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"resultCode\" : \"RedirectShopper\",\n \"details\" : [ {\n \"key\" : \"payload\",\n \"type\" : \"text\"\n } ],\n \"paymentData\" : \"Ab02b4c0!BQABAgBOBkMn4vBx6T3DgxR+OR/a1zEA0xbGaYKP9mh/vWDSADlyktW39HZckwcm4Wr9kw2TvE9SYngEf9f6kZb1OimKls3+HEn3dRGOrTbWZZ8/tpmlS62YoDh1eQIE3EHZsUm7CQxhXjm8F0HQCelzIkVgj8DpLgtxwM3nFZxfpzl91HSt9CP/GIsx8S/RPVG2Fwg2S/jtdQ4MlFeG89S+icDvTecTyGoYFZlS/KL77Q4zJCR8Vgn4M9DJZEGRxv6kApLwDMkMyUMQngN95xDSCdLSW7fKkVusSub2+2hB7rzWxtj1E8R9dbtkCxgTe0F/G7tqrzUfEmseiHoKmaF6F8bN0j6BZiFhQJ/KHXJ6Pb+a7f0qYbQCAZmwYmeSSfNzqIDehyufpL0bP3w38spuso3QlhtPIqSHrIHDIQzbYmxPtt/I6A/RCMXJ7VN4nB6JigEygV383lnr8wd7mEynOQXnq9zEF+GGJy0Ool05WEy8L/mATgg++6bpsuSB2Wea5/VffvG6KcMyzs7OBG9zLAdYcrfqlsyXz/42UBJTeA2s6kVb1sBUfd6CQuQRF+37sjMwKiNIxwVaNWIYZMiWhbqPXOS4ozt0kNCtruhHqHgULPfF6aia/BnZKib6n+pBSepTdS47wZ31xC8VPqsoPia8RGNziLO/MmSMpW2fQRdgrhCrSniHb8qrh0vwgbPB4S7vAEp7ImtleSI6IkFGMEFBQTEwM0NBNTM3RUFFRDg3QzI0REQ1MzkwOUI4MEE3OEE5MjNFMzgyM0Q2OERBQ0M5NEI5RkY4MzA1REMifTMy2HjS+Bb81E9m0fQAZJXCA1BJgLgstBw3wxbdpZevF8c+pSBGUYNUm9ZbwrD93dGdCU2RvlI1gcyKke0cEEqKGjqWFXOWIYkSNzfLrgP3ERdp5t9VGZi6BDQko2CFzP4uAR3jwgR3AP0/mQ/4YWDrBrnYZCWjOpo7izGhNbHYvWbBOqVDvnfReoCrSNSLSo8OfSxuFrN6sJLXrajGu1qbPqQtxFIRyqLgbOfHLHw/DN3I+BZKGrNYynRfM2NparXTQ6ZRgC8E5xIodApr4JHMNeiPTjMlReaLBQwbcqaBzzRNLdV0v8/ZSXexS68WBeUMt7OkomYJBFrpwmpzgx/nzRzV87MZ9TGhZht/1zjcyaSi0Toc6r7UhbADuDX5RH5L0T8Q3iGJfjrYuS5h9aiYSg8oaVJ5DZhJAicDbb8eLvdAGXFTIV+EXbD+4e9Xl+c5um4FdKfufcrrUEo2s6lUuSBSJ3Gf6r+yJMxkamWwfnRUtxt+axRcXfmywYqU7O1r0zzW+RKCbV2qZeUWWeN1u5UIPdJbQbH4633ukPp//aGh8R4IWckBp7DGH4M5P1ZiYJB8OQRS5gD/y+iuwensnq1rKFBOK4gFNSpKmuDQYLeWb5VljHgE1sS4DRhl0fl8UCabehP+3tZu/2i88JTWbdUuvPLmkyv8zQdY36YeSDWmwC40vvbB+lo2e8MgVpfDwn+xyQFpFhasbEyr4VVoPwHq1sGR/QEutxmeoJi1Zux48jSHoGOj5RZ4ei+b8Lxp4rj45wwm0AiROghLnZJZfJaySp/LVxQ=\",\n \"redirect\" : {\n \"method\" : \"GET\",\n \"url\" : \"https://test.adyen.com/hpp/checkout.shtml?u=redirectIdeal&p=eJxtUl1vozAQ-DXwFmQDAfLgh4jSC730Q1yoqr5Urr0NXIlNbUPj-PozXC6qqpOstTWz2p3Z9auigueSA2k50M5ng1IgmJ2hoq78VusBVMkJxiH2D6BYQ4VZMyYHYcgOtLk9YxeyFAb2ippWisDYHki*KfKf9-Xu5UdxV1Rl-t-MEZR2N4nRha7gDSY1QLRRrdh-IcygxBU1lKxWOMFptopXcZZEyc0l51e7J9XdcHpeDTxC4edG1pFF5WMHnw95FtHf3N5z1MWqipKjF17XXnTl99QewNk7zO4wQshXoOtqSxpjei9au0R3Oslo10htHJKhDDmINcDe5WB0I-selEM0qLFloN3z4W-ZUjB5cD4q4K0CZhwz4n-lzjm3YBrJvej626iduq-D9sJEzUNw2hw1qXONlpPA5STRBSsHtXANeyps4O4ZDILA16CnST-SruWtsSREIV6geIGyHU6cI7x0Ic6e-bOXaUuKsmlLpHCFJmXg6-dWzL*kH16DMQzOi0iTNE1xFsXBqRyfot1NwrPRFmGzPr4w3jTHGpX16S3*2H4Um22xB8u5-ANWgt0s\"\n }\n}", + "originalRequest": { + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"ideal\",\n \"issuer\" : \"1121\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"ideal\",\n \"issuer\" : \"1121\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + ] }, { "name": "Make a Klarna payment", "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 \"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" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + "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 \"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" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + ] }, { "name": "Make a one-off payment with a token and CVV", "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"storedPaymentMethodId\" : \"8416038790273850\",\n \"cvc\" : \"737\"\n },\n \"shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID_6738oneoff\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"storedPaymentMethodId\" : \"8416038790273850\",\n \"cvc\" : \"737\"\n },\n \"shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID_6738oneoff\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + ] }, { "name": "Make a one-off payment with a token and CVV, using encrypted card details", "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"recurringDetailReference\" : \"8416038790273850\",\n \"encryptedSecurityCode\" : \"adyenjs_0_1_18$MT6ppy0FAMVMLH...\"\n },\n \"shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID_6738oneoff\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"recurringDetailReference\" : \"8416038790273850\",\n \"encryptedSecurityCode\" : \"adyenjs_0_1_18$MT6ppy0FAMVMLH...\"\n },\n \"shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID_6738oneoff\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + ] }, { "name": "Make a card payment with a token", "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"storedPaymentMethodId\" : \"8316038796685850\"\n },\n \"shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID_IOfW3subscription\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"shopperInteraction\" : \"ContAuth\",\n \"recurringProcessingModel\" : \"Subscription\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"storedPaymentMethodId\" : \"8316038796685850\"\n },\n \"shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID_IOfW3subscription\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"shopperInteraction\" : \"ContAuth\",\n \"recurringProcessingModel\" : \"Subscription\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + ] }, { "name": "Split a payment between balance accounts", "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 + "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 \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4111111111111111\",\n \"cvc\" : \"737\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\"\n },\n \"amount\" : {\n \"value\" : 40000,\n \"currency\" : \"USD\"\n },\n \"reference\" : \"{{$guid}}\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"splits\" : [ {\n \"amount\" : {\n \"value\" : 39600\n },\n \"type\" : \"BalanceAccount\",\n \"account\" : \"BA00000000000000000000001\",\n \"reference\" : \"Your reference for the sale amount\",\n \"description\" : \"Your description for the sale amount\"\n }, {\n \"amount\" : {\n \"value\" : 400\n },\n \"type\" : \"Commission\",\n \"reference\" : \"Your reference for the commission\",\n \"description\" : \"Your description for the commission\"\n }, {\n \"type\" : \"PaymentFee\",\n \"account\" : \"BA00000000000000000000001\",\n \"reference\" : \"Your reference for the fees\",\n \"description\" : \"Your description for the fees\"\n } ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"additionalData\" : {\n \"refusalReasonRaw\" : \"AUTHORISED\",\n \"eci\" : \"N/A\",\n \"acquirerAccountCode\" : \"YOUR_ACQUIRER_ACCOUNT\",\n \"xid\" : \"N/A\",\n \"threeDAuthenticated\" : \"false\",\n \"paymentMethodVariant\" : \"visa\",\n \"issuerBin\" : \"41111111\",\n \"payoutEligible\" : \"Y\",\n \"fraudManualReview\" : \"false\",\n \"threeDOffered\" : \"false\",\n \"threeDOfferedResponse\" : \"N/A\",\n \"authorisationMid\" : \"50\",\n \"fundsAvailability\" : \"I\",\n \"authorisedAmountCurrency\" : \"USD\",\n \"threeDAuthenticatedResponse\" : \"N/A\",\n \"avsResultRaw\" : \"5\",\n \"retry.attempt1.rawResponse\" : \"AUTHORISED\",\n \"paymentMethod\" : \"visa\",\n \"avsResult\" : \"5 No AVS data provided\",\n \"cardSummary\" : \"1111\",\n \"retry.attempt1.avsResultRaw\" : \"5\",\n \"networkTxReference\" : \"777718270854480\",\n \"expiryDate\" : \"3/2030\",\n \"cavvAlgorithm\" : \"N/A\",\n \"cardBin\" : \"411111\",\n \"alias\" : \"8915844059375211\",\n \"cvcResultRaw\" : \"M\",\n \"merchantReference\" : \"YOUR_ORDER_NUMBER\",\n \"acquirerReference\" : \"YOUR_ACQUIRER_REFERENCE\",\n \"cardIssuingCountry\" : \"NL\",\n \"liabilityShift\" : \"false\",\n \"fraudResultType\" : \"GREEN\",\n \"authCode\" : \"035450\",\n \"cardHolderName\" : \"John Smith\",\n \"isCardCommercial\" : \"unknown\",\n \"PaymentAccountReference\" : \"6006491286999921374...\",\n \"retry.attempt1.acquirerAccount\" : \"YOUR_ACQUIRER_ACCOUNT\",\n \"cardIssuingBank\" : \"ISSUING_BANK_CUSTOMER\",\n \"retry.attempt1.acquirer\" : \"YOUR_ACQUIRER_CODE\",\n \"authorisedAmountValue\" : \"40000\",\n \"issuerCountry\" : \"NL\",\n \"cvcResult\" : \"1 Matches\",\n \"retry.attempt1.responseCode\" : \"Approved\",\n \"aliasType\" : \"Default\",\n \"retry.attempt1.shopperInteraction\" : \"Ecommerce\",\n \"cardPaymentMethod\" : \"visa\",\n \"acquirerCode\" : \"YOUR_ACQUIRER_CODE\"\n },\n \"pspReference\" : \"PPKFQ89R6QRXGN82\",\n \"resultCode\" : \"Authorised\",\n \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 40000\n },\n \"donationToken\" : \"81234567890123456...\",\n \"merchantReference\" : \"YOUR_ORDER_NUMBER\"\n}", + "originalRequest": { + "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 \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4111111111111111\",\n \"cvc\" : \"737\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\"\n },\n \"amount\" : {\n \"value\" : 40000,\n \"currency\" : \"USD\"\n },\n \"reference\" : \"{{$guid}}\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"splits\" : [ {\n \"amount\" : {\n \"value\" : 39600\n },\n \"type\" : \"BalanceAccount\",\n \"account\" : \"BA00000000000000000000001\",\n \"reference\" : \"Your reference for the sale amount\",\n \"description\" : \"Your description for the sale amount\"\n }, {\n \"amount\" : {\n \"value\" : 400\n },\n \"type\" : \"Commission\",\n \"reference\" : \"Your reference for the commission\",\n \"description\" : \"Your description for the commission\"\n }, {\n \"type\" : \"PaymentFee\",\n \"account\" : \"BA00000000000000000000001\",\n \"reference\" : \"Your reference for the fees\",\n \"description\" : \"Your description for the fees\"\n } ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4111111111111111\",\n \"cvc\" : \"737\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\"\n },\n \"amount\" : {\n \"value\" : 40000,\n \"currency\" : \"USD\"\n },\n \"reference\" : \"{{$guid}}\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"splits\" : [ {\n \"amount\" : {\n \"value\" : 39600\n },\n \"type\" : \"BalanceAccount\",\n \"account\" : \"BA00000000000000000000001\",\n \"reference\" : \"Your reference for the sale amount\",\n \"description\" : \"Your description for the sale amount\"\n }, {\n \"amount\" : {\n \"value\" : 400\n },\n \"type\" : \"Commission\",\n \"reference\" : \"Your reference for the commission\",\n \"description\" : \"Your description for the commission\"\n }, {\n \"type\" : \"PaymentFee\",\n \"account\" : \"BA00000000000000000000001\",\n \"reference\" : \"Your reference for the fees\",\n \"description\" : \"Your description for the fees\"\n } ]\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + ] }, { "name": "Split a payment in a Classic Platforms integration", "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 \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4111111111111111\",\n \"cvc\" : \"737\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\"\n },\n \"amount\" : {\n \"value\" : 6200,\n \"currency\" : \"EUR\"\n },\n \"reference\" : \"{{$guid}}\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"splits\" : [ {\n \"amount\" : {\n \"value\" : 6000\n },\n \"type\" : \"MarketPlace\",\n \"account\" : \"151272963\",\n \"reference\" : \"6124145\",\n \"description\" : \"Porcelain Doll: Eliza (20cm)\"\n }, {\n \"amount\" : {\n \"value\" : 200\n },\n \"type\" : \"Commission\",\n \"reference\" : \"6124146\"\n } ]\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + "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 \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4111111111111111\",\n \"cvc\" : \"737\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\"\n },\n \"amount\" : {\n \"value\" : 6200,\n \"currency\" : \"EUR\"\n },\n \"reference\" : \"{{$guid}}\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"splits\" : [ {\n \"amount\" : {\n \"value\" : 6000\n },\n \"type\" : \"MarketPlace\",\n \"account\" : \"151272963\",\n \"reference\" : \"6124145\",\n \"description\" : \"Porcelain Doll: Eliza (20cm)\"\n }, {\n \"amount\" : {\n \"value\" : 200\n },\n \"type\" : \"Commission\",\n \"reference\" : \"6124146\"\n } ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + ] }, { "name": "Tokenize card details for a subscription", "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 + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4111111111111111\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\",\n \"cvc\" : \"737\"\n },\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"storePaymentMethod\" : true,\n \"shopperInteraction\" : \"Ecommerce\",\n \"recurringProcessingModel\" : \"Subscription\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"additionalData\" : {\n \"cvcResult\" : \"1 Matches\",\n \"authCode\" : \"004908\",\n \"avsResult\" : \"4 AVS not supported for this card type\",\n \"recurring.recurringDetailReference\" : \"9916178934434753\",\n \"recurringProcessingModel\" : \"Subscription\",\n \"avsResultRaw\" : \"4\",\n \"cvcResultRaw\" : \"M\",\n \"refusalReasonRaw\" : \"AUTHORISED\",\n \"recurring.shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID\",\n \"acquirerCode\" : \"TestPmmAcquirer\",\n \"acquirerReference\" : \"8PQMP9UV722\"\n },\n \"pspReference\" : \"993617895153552A\",\n \"resultCode\" : \"Authorised\",\n \"merchantReference\" : \"string\"\n}", + "originalRequest": { + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4111111111111111\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\",\n \"cvc\" : \"737\"\n },\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"storePaymentMethod\" : true,\n \"shopperInteraction\" : \"Ecommerce\",\n \"recurringProcessingModel\" : \"Subscription\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4111111111111111\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\",\n \"cvc\" : \"737\"\n },\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"storePaymentMethod\" : true,\n \"shopperInteraction\" : \"Ecommerce\",\n \"recurringProcessingModel\" : \"Subscription\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + ] } ] - } -, + }, { "name": "/payments/details", "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. ", @@ -2261,206 +4078,213 @@ { "name": "Submit details for the 3D Secure payment ", "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 \"MD\" : \"Ab02b4c0!BQABAgCW5sxB4e/==...\",\n \"PaRes\" : \"eNrNV0mTo7gS...\"\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. " - } + "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 \"MD\" : \"Ab02b4c0!BQABAgCW5sxB4e/==...\",\n \"PaRes\" : \"eNrNV0mTo7gS...\"\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. " +} + ,"response": [ + ] }, { "name": "Submit 3D Secure 2 callenge flow result", "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 \"details\" : {\n \"threeds2.challengeResult\" : \"eyJ0cmFuc1N0YXR1cyI6IlkifQ==\"\n },\n \"paymentData\" : \"YOUR_PAYMENT_DATA\"\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. " - } + "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 \"details\" : {\n \"threeds2.challengeResult\" : \"eyJ0cmFuc1N0YXR1cyI6IlkifQ==\"\n },\n \"paymentData\" : \"YOUR_PAYMENT_DATA\"\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. " +} + ,"response": [ + ] }, { "name": "Submit 3D Secure 2 device fingerprinting result", "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 \"details\" : {\n \"threeds2.fingerprint\" : \"eyJ0aHJlZURTQ29tcEluZCI6ICJZIn0=\"\n },\n \"paymentData\" : \"YOUR_PAYMENT_DATA...\"\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. " - } + "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 \"details\" : {\n \"threeds2.fingerprint\" : \"eyJ0aHJlZURTQ29tcEluZCI6ICJZIn0=\"\n },\n \"paymentData\" : \"YOUR_PAYMENT_DATA...\"\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. " +} + ,"response": [ + ] }, { "name": "Submit the redirect result", "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\" : \"Ab02b4c0!BQABAgCJN1wRZuGJmq8dMncmypvknj9s7l5Tj...\",\n \"details\" : {\n \"redirectResult\" : \"X6XtfGC3!Y...\"\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. " - } + "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\" : \"Ab02b4c0!BQABAgCJN1wRZuGJmq8dMncmypvknj9s7l5Tj...\",\n \"details\" : {\n \"redirectResult\" : \"X6XtfGC3!Y...\"\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. " +} + ,"response": [ + ] } ] } - ] }, { @@ -2473,55 +4297,113 @@ { "name": "Create a payment link", "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 + "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 \"reference\" : \"{{$guid}}\",\n \"amount\" : {\n \"value\" : 1250,\n \"currency\" : \"BRL\"\n },\n \"countryCode\" : \"BR\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"shopperEmail\" : \"test@email.com\",\n \"shopperLocale\" : \"pt-BR\",\n \"billingAddress\" : {\n \"street\" : \"Roque Petroni Jr\",\n \"postalCode\" : \"59000060\",\n \"city\" : \"São Paulo\",\n \"houseNumberOrName\" : \"999\",\n \"country\" : \"BR\",\n \"stateOrProvince\" : \"SP\"\n },\n \"deliveryAddress\" : {\n \"street\" : \"Roque Petroni Jr\",\n \"postalCode\" : \"59000060\",\n \"city\" : \"São Paulo\",\n \"houseNumberOrName\" : \"999\",\n \"country\" : \"BR\",\n \"stateOrProvince\" : \"SP\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentLinks", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentLinks" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates a payment link to our hosted payment form where shoppers can pay. The list of payment methods presented to the shopper depends on the `currency` and `country` parameters sent in the request. For more information, refer to [Pay by Link documentation](https://docs.adyen.com/online-payments/pay-by-link#create-payment-links-through-api)." +} + ,"response": [ + {"name": "Created - the request has succeeded.", + "code": 201, + "status": "Created", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"amount\" : {\n \"currency\" : \"BRL\",\n \"value\" : 1250\n },\n \"billingAddress\" : {\n \"city\" : \"São Paulo\",\n \"country\" : \"BR\",\n \"houseNumberOrName\" : \"999\",\n \"postalCode\" : \"59000060\",\n \"stateOrProvince\" : \"SP\",\n \"street\" : \"Roque Petroni Jr\"\n },\n \"countryCode\" : \"BR\",\n \"deliveryAddress\" : {\n \"city\" : \"São Paulo\",\n \"country\" : \"BR\",\n \"houseNumberOrName\" : \"999\",\n \"postalCode\" : \"59000060\",\n \"stateOrProvince\" : \"SP\",\n \"street\" : \"Roque Petroni Jr\"\n },\n \"expiresAt\" : \"2022-10-28T09:16:22Z\",\n \"merchantAccount\" : \"YOUR_MERCHANT_ACCOUNT\",\n \"reference\" : \"YOUR_ORDER_NUMBER\",\n \"reusable\" : false,\n \"shopperEmail\" : \"test@email.com\",\n \"shopperLocale\" : \"pt-BR\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"id\" : \"PLE83C39B0A0DE0C1E\",\n \"status\" : \"active\",\n \"url\" : \"https://test.adyen.link/PLE83C39B0A0DE0C1E\"\n}", + "originalRequest": { + "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 \"reference\" : \"{{$guid}}\",\n \"amount\" : {\n \"value\" : 1250,\n \"currency\" : \"BRL\"\n },\n \"countryCode\" : \"BR\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"shopperEmail\" : \"test@email.com\",\n \"shopperLocale\" : \"pt-BR\",\n \"billingAddress\" : {\n \"street\" : \"Roque Petroni Jr\",\n \"postalCode\" : \"59000060\",\n \"city\" : \"São Paulo\",\n \"houseNumberOrName\" : \"999\",\n \"country\" : \"BR\",\n \"stateOrProvince\" : \"SP\"\n },\n \"deliveryAddress\" : {\n \"street\" : \"Roque Petroni Jr\",\n \"postalCode\" : \"59000060\",\n \"city\" : \"São Paulo\",\n \"houseNumberOrName\" : \"999\",\n \"country\" : \"BR\",\n \"stateOrProvince\" : \"SP\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentLinks", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentLinks" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates a payment link to our hosted payment form where shoppers can pay. The list of payment methods presented to the shopper depends on the `currency` and `country` parameters sent in the request. For more information, refer to [Pay by Link documentation](https://docs.adyen.com/online-payments/pay-by-link#create-payment-links-through-api)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"reference\" : \"{{$guid}}\",\n \"amount\" : {\n \"value\" : 1250,\n \"currency\" : \"BRL\"\n },\n \"countryCode\" : \"BR\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"shopperEmail\" : \"test@email.com\",\n \"shopperLocale\" : \"pt-BR\",\n \"billingAddress\" : {\n \"street\" : \"Roque Petroni Jr\",\n \"postalCode\" : \"59000060\",\n \"city\" : \"São Paulo\",\n \"houseNumberOrName\" : \"999\",\n \"country\" : \"BR\",\n \"stateOrProvince\" : \"SP\"\n },\n \"deliveryAddress\" : {\n \"street\" : \"Roque Petroni Jr\",\n \"postalCode\" : \"59000060\",\n \"city\" : \"São Paulo\",\n \"houseNumberOrName\" : \"999\",\n \"country\" : \"BR\",\n \"stateOrProvince\" : \"SP\"\n }\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentLinks", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentLinks" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Creates a payment link to our hosted payment form where shoppers can pay. The list of payment methods presented to the shopper depends on the `currency` and `country` parameters sent in the request. For more information, refer to [Pay by Link documentation](https://docs.adyen.com/online-payments/pay-by-link#create-payment-links-through-api)." - } + ] } ] - } -, + }, { "name": "/paymentLinks/:linkId", "description": "Retrieves the payment link details using the payment link `id`.", @@ -2529,49 +4411,50 @@ { "name": "Get a payment link", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentLinks/:linkId", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentLinks", - ":linkId" - ], - "variable": [ - { - "key": "linkId", - "value": "", - "description": "Unique identifier of the payment link." - } - ], - "query": [ - ] - }, - "description": "Retrieves the payment link details using the payment link `id`." - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentLinks/:linkId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentLinks", + ":linkId" + ], + "variable": [ + { + "key": "linkId", + "value": "", + "description": "Unique identifier of the payment link." + } + ], + "query": [ + ] + }, + "description": "Retrieves the payment link details using the payment link `id`." +} + ,"response": [ + ] } ] - } -, + }, { "name": "/paymentLinks/:linkId", "description": "Updates the status of a payment link. Use this endpoint to [force the expiry of a payment link](https://docs.adyen.com/online-payments/pay-by-link#update-payment-link-status).", @@ -2579,55 +4462,113 @@ { "name": "Update the status of a payment link", "request": { - "method": "PATCH", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"status\" : \"expired\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentLinks/:linkId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentLinks", + ":linkId" + ], + "variable": [ + { + "key": "linkId", + "value": "", + "description": "Unique identifier of the payment link." + } + ], + "query": [ + ] + }, + "description": "Updates the status of a payment link. Use this endpoint to [force the expiry of a payment link](https://docs.adyen.com/online-payments/pay-by-link#update-payment-link-status)." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 8700\n },\n \"countryCode\" : \"NL\",\n \"expiresAt\" : \"2021-04-08T14:06:39Z\",\n \"merchantAccount\" : \"YOUR_MERCHANT_ACCOUNT\",\n \"reference\" : \"shopper-reference-ekvL83\",\n \"shopperLocale\" : \"hu-HU\",\n \"shopperReference\" : \"shopper-reference-LZfdWZ\",\n \"status\" : \"expired\",\n \"url\" : \"https://test.adyen.link/PL61C53A8B97E6915A\",\n \"id\" : \"PL61C53A8B97E6915A\"\n}", + "originalRequest": { + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"status\" : \"expired\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentLinks/:linkId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentLinks", + ":linkId" + ], + "variable": [ + { + "key": "linkId", + "value": "", + "description": "Unique identifier of the payment link." + } + ], + "query": [ + ] + }, + "description": "Updates the status of a payment link. Use this endpoint to [force the expiry of a payment link](https://docs.adyen.com/online-payments/pay-by-link#update-payment-link-status)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"status\" : \"expired\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentLinks/:linkId", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentLinks", - ":linkId" - ], - "variable": [ - { - "key": "linkId", - "value": "", - "description": "Unique identifier of the payment link." - } - ], - "query": [ - ] - }, - "description": "Updates the status of a payment link. Use this endpoint to [force the expiry of a payment link](https://docs.adyen.com/online-payments/pay-by-link#update-payment-link-status)." - } + ] } ] } - ] } ], diff --git a/postman/CheckoutService-v65.json b/postman/CheckoutService-v65.json index f76142d..692dcfa 100644 --- a/postman/CheckoutService-v65.json +++ b/postman/CheckoutService-v65.json @@ -19,55 +19,113 @@ { "name": "Cancel a payment using your own reference", "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 + "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 \"paymentReference\" : \"YOUR_UNIQUE_REFERENCE_FOR_THE_PAYMENT\",\n \"reference\" : \"YOUR_UNIQUE_REFERENCE_FOR_THE_CANCELLATION\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/cancels", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "cancels" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Cancels the authorisation on a payment that has not yet been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/captures), and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**TECHNICAL_CANCEL** webhook](https://docs.adyen.com/online-payments/cancel#cancellation-webhook). If you want to cancel a payment using the [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference), use the [`/payments/{paymentPspReference}/cancels`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/cancels) endpoint instead. If you want to cancel a payment but are not sure whether it has been captured, use the [`/payments/{paymentPspReference}/reversals`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/reversals) endpoint instead. For more information, refer to [Cancel](https://docs.adyen.com/online-payments/cancel)." +} + ,"response": [ + {"name": "Created - the request has been fulfilled and has resulted in one or more new resources being created.", + "code": 201, + "status": "Created", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"merchantAccount\" : \"YOUR_MERCHANT_ACCOUNT\",\n \"paymentReference\" : \"YOUR_UNIQUE_REFERENCE_FOR_THE_PAYMENT\",\n \"reference\" : \"YOUR_UNIQUE_REFERENCE_FOR_THE_CANCELLATION\",\n \"pspReference\" : \"993617894906488A\",\n \"status\" : \"received\"\n}", + "originalRequest": { + "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 \"paymentReference\" : \"YOUR_UNIQUE_REFERENCE_FOR_THE_PAYMENT\",\n \"reference\" : \"YOUR_UNIQUE_REFERENCE_FOR_THE_CANCELLATION\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/cancels", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "cancels" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Cancels the authorisation on a payment that has not yet been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/captures), and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**TECHNICAL_CANCEL** webhook](https://docs.adyen.com/online-payments/cancel#cancellation-webhook). If you want to cancel a payment using the [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference), use the [`/payments/{paymentPspReference}/cancels`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/cancels) endpoint instead. If you want to cancel a payment but are not sure whether it has been captured, use the [`/payments/{paymentPspReference}/reversals`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/reversals) endpoint instead. For more information, refer to [Cancel](https://docs.adyen.com/online-payments/cancel)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"paymentReference\" : \"YOUR_UNIQUE_REFERENCE_FOR_THE_PAYMENT\",\n \"reference\" : \"YOUR_UNIQUE_REFERENCE_FOR_THE_CANCELLATION\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/cancels", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "cancels" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Cancels the authorisation on a payment that has not yet been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/captures), and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**TECHNICAL_CANCEL** webhook](https://docs.adyen.com/online-payments/cancel#cancellation-webhook). If you want to cancel a payment using the [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference), use the [`/payments/{paymentPspReference}/cancels`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/cancels) endpoint instead. If you want to cancel a payment but are not sure whether it has been captured, use the [`/payments/{paymentPspReference}/reversals`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/reversals) endpoint instead. For more information, refer to [Cancel](https://docs.adyen.com/online-payments/cancel)." - } + ] } ] - } -, + }, { "name": "/payments/:paymentPspReference/amountUpdates", "description": "Increases or decreases the authorised payment amount and returns a unique reference for this request. You get the outcome of the request asynchronously, in an [**AUTHORISATION_ADJUSTMENT** webhook](https://docs.adyen.com/development-resources/webhooks/understand-notifications#event-codes). You can only update authorised amounts that have not yet been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/captures). The amount you specify in the request is the updated amount, which is larger or smaller than the initial authorised amount. For more information, refer to [Authorisation adjustment](https://docs.adyen.com/online-payments/adjust-authorisation#use-cases).", @@ -75,62 +133,127 @@ { "name": "Update the amount of an authorised payment", "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 + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 2500\n },\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments/:paymentPspReference/amountUpdates", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments", + ":paymentPspReference", + "amountUpdates" + ], + "variable": [ + { + "key": "paymentPspReference", + "value": "", + "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment." + } + ], + "query": [ + ] + }, + "description": "Increases or decreases the authorised payment amount and returns a unique reference for this request. You get the outcome of the request asynchronously, in an [**AUTHORISATION_ADJUSTMENT** webhook](https://docs.adyen.com/development-resources/webhooks/understand-notifications#event-codes). You can only update authorised amounts that have not yet been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/captures). The amount you specify in the request is the updated amount, which is larger or smaller than the initial authorised amount. For more information, refer to [Authorisation adjustment](https://docs.adyen.com/online-payments/adjust-authorisation#use-cases)." +} + ,"response": [ + {"name": "Created - the request has been fulfilled and has resulted in one or more new resources being created.", + "code": 201, + "status": "Created", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"merchantAccount\" : \"YOUR_MERCHANT_ACCOUNT\",\n \"paymentPspReference\" : \"993617894903480A\",\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"pspReference\" : \"993617894906488A\",\n \"status\" : \"received\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 2500\n }\n}", + "originalRequest": { + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 2500\n },\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments/:paymentPspReference/amountUpdates", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments", + ":paymentPspReference", + "amountUpdates" + ], + "variable": [ + { + "key": "paymentPspReference", + "value": "", + "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment." + } + ], + "query": [ + ] + }, + "description": "Increases or decreases the authorised payment amount and returns a unique reference for this request. You get the outcome of the request asynchronously, in an [**AUTHORISATION_ADJUSTMENT** webhook](https://docs.adyen.com/development-resources/webhooks/understand-notifications#event-codes). You can only update authorised amounts that have not yet been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/captures). The amount you specify in the request is the updated amount, which is larger or smaller than the initial authorised amount. For more information, refer to [Authorisation adjustment](https://docs.adyen.com/online-payments/adjust-authorisation#use-cases)." +} } - ], - "body": { - "mode": "raw", - "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" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments/:paymentPspReference/amountUpdates", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments", - ":paymentPspReference", - "amountUpdates" - ], - "variable": [ - { - "key": "paymentPspReference", - "value": "", - "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment." - } - ], - "query": [ - ] - }, - "description": "Increases or decreases the authorised payment amount and returns a unique reference for this request. You get the outcome of the request asynchronously, in an [**AUTHORISATION_ADJUSTMENT** webhook](https://docs.adyen.com/development-resources/webhooks/understand-notifications#event-codes). You can only update authorised amounts that have not yet been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/captures). The amount you specify in the request is the updated amount, which is larger or smaller than the initial authorised amount. For more information, refer to [Authorisation adjustment](https://docs.adyen.com/online-payments/adjust-authorisation#use-cases)." - } + ] } ] - } -, + }, { "name": "/payments/:paymentPspReference/cancels", "description": "Cancels the authorisation on a payment that has not yet been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/paymentPspReference/captures), and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CANCELLATION** webhook](https://docs.adyen.com/online-payments/cancel#cancellation-webhook). If you want to cancel a payment but don't have the [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference), use the [`/cancels`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cancels) endpoint instead. If you want to cancel a payment but are not sure whether it has been captured, use the [`/payments/{paymentPspReference}/reversals`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/reversals) endpoint instead. For more information, refer to [Cancel](https://docs.adyen.com/online-payments/cancel).", @@ -138,62 +261,127 @@ { "name": "Cancel payment using a PSP reference", "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 + "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 \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments/:paymentPspReference/cancels", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments", + ":paymentPspReference", + "cancels" + ], + "variable": [ + { + "key": "paymentPspReference", + "value": "", + "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to cancel. " + } + ], + "query": [ + ] + }, + "description": "Cancels the authorisation on a payment that has not yet been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/paymentPspReference/captures), and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CANCELLATION** webhook](https://docs.adyen.com/online-payments/cancel#cancellation-webhook). If you want to cancel a payment but don't have the [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference), use the [`/cancels`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cancels) endpoint instead. If you want to cancel a payment but are not sure whether it has been captured, use the [`/payments/{paymentPspReference}/reversals`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/reversals) endpoint instead. For more information, refer to [Cancel](https://docs.adyen.com/online-payments/cancel)." +} + ,"response": [ + {"name": "Created - the request has been fulfilled and has resulted in one or more new resources being created.", + "code": 201, + "status": "Created", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"merchantAccount\" : \"YOUR_MERCHANT_ACCOUNT\",\n \"paymentPspReference\" : \"993617894903480A\",\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"pspReference\" : \"993617894906488A\",\n \"status\" : \"received\"\n}", + "originalRequest": { + "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 \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments/:paymentPspReference/cancels", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments", + ":paymentPspReference", + "cancels" + ], + "variable": [ + { + "key": "paymentPspReference", + "value": "", + "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to cancel. " + } + ], + "query": [ + ] + }, + "description": "Cancels the authorisation on a payment that has not yet been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/paymentPspReference/captures), and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CANCELLATION** webhook](https://docs.adyen.com/online-payments/cancel#cancellation-webhook). If you want to cancel a payment but don't have the [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference), use the [`/cancels`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cancels) endpoint instead. If you want to cancel a payment but are not sure whether it has been captured, use the [`/payments/{paymentPspReference}/reversals`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/reversals) endpoint instead. For more information, refer to [Cancel](https://docs.adyen.com/online-payments/cancel)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments/:paymentPspReference/cancels", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments", - ":paymentPspReference", - "cancels" - ], - "variable": [ - { - "key": "paymentPspReference", - "value": "", - "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to cancel. " - } - ], - "query": [ - ] - }, - "description": "Cancels the authorisation on a payment that has not yet been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/paymentPspReference/captures), and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CANCELLATION** webhook](https://docs.adyen.com/online-payments/cancel#cancellation-webhook). If you want to cancel a payment but don't have the [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference), use the [`/cancels`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cancels) endpoint instead. If you want to cancel a payment but are not sure whether it has been captured, use the [`/payments/{paymentPspReference}/reversals`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/reversals) endpoint instead. For more information, refer to [Cancel](https://docs.adyen.com/online-payments/cancel)." - } + ] } ] - } -, + }, { "name": "/payments/:paymentPspReference/captures", "description": " Captures an authorised payment and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CAPTURE** webhook](https://docs.adyen.com/online-payments/capture#capture-notification). You can capture either the full authorised amount or a part of the authorised amount. By default, any unclaimed amount after a partial capture gets cancelled. This does not apply if you enabled multiple partial captures on your account and the payment method supports multiple partial captures. [Automatic capture](https://docs.adyen.com/online-payments/capture#automatic-capture) is the default setting for most payment methods. In these cases, you don't need to make capture requests. However, making capture requests for payments that are captured automatically does not result in double charges. For more information, refer to [Capture](https://docs.adyen.com/online-payments/capture).", @@ -201,62 +389,127 @@ { "name": "Capture an authorised payment", "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 + "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 \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"amount\" : {\n \"value\" : 2000,\n \"currency\" : \"EUR\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments/:paymentPspReference/captures", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments", + ":paymentPspReference", + "captures" + ], + "variable": [ + { + "key": "paymentPspReference", + "value": "", + "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to capture." + } + ], + "query": [ + ] + }, + "description": " Captures an authorised payment and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CAPTURE** webhook](https://docs.adyen.com/online-payments/capture#capture-notification). You can capture either the full authorised amount or a part of the authorised amount. By default, any unclaimed amount after a partial capture gets cancelled. This does not apply if you enabled multiple partial captures on your account and the payment method supports multiple partial captures. [Automatic capture](https://docs.adyen.com/online-payments/capture#automatic-capture) is the default setting for most payment methods. In these cases, you don't need to make capture requests. However, making capture requests for payments that are captured automatically does not result in double charges. For more information, refer to [Capture](https://docs.adyen.com/online-payments/capture)." +} + ,"response": [ + {"name": "Created - the request has been fulfilled and has resulted in one or more new resources being created.", + "code": 201, + "status": "Created", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"merchantAccount\" : \"YOUR_MERCHANT_ACCOUNT\",\n \"paymentPspReference\" : \"993617894903480A\",\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"pspReference\" : \"993617894906488A\",\n \"status\" : \"received\",\n \"amount\" : {\n \"value\" : 2000,\n \"currency\" : \"EUR\"\n }\n}", + "originalRequest": { + "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 \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"amount\" : {\n \"value\" : 2000,\n \"currency\" : \"EUR\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments/:paymentPspReference/captures", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments", + ":paymentPspReference", + "captures" + ], + "variable": [ + { + "key": "paymentPspReference", + "value": "", + "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to capture." + } + ], + "query": [ + ] + }, + "description": " Captures an authorised payment and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CAPTURE** webhook](https://docs.adyen.com/online-payments/capture#capture-notification). You can capture either the full authorised amount or a part of the authorised amount. By default, any unclaimed amount after a partial capture gets cancelled. This does not apply if you enabled multiple partial captures on your account and the payment method supports multiple partial captures. [Automatic capture](https://docs.adyen.com/online-payments/capture#automatic-capture) is the default setting for most payment methods. In these cases, you don't need to make capture requests. However, making capture requests for payments that are captured automatically does not result in double charges. For more information, refer to [Capture](https://docs.adyen.com/online-payments/capture)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"amount\" : {\n \"value\" : 2000,\n \"currency\" : \"EUR\"\n }\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments/:paymentPspReference/captures", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments", - ":paymentPspReference", - "captures" - ], - "variable": [ - { - "key": "paymentPspReference", - "value": "", - "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to capture." - } - ], - "query": [ - ] - }, - "description": " Captures an authorised payment and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CAPTURE** webhook](https://docs.adyen.com/online-payments/capture#capture-notification). You can capture either the full authorised amount or a part of the authorised amount. By default, any unclaimed amount after a partial capture gets cancelled. This does not apply if you enabled multiple partial captures on your account and the payment method supports multiple partial captures. [Automatic capture](https://docs.adyen.com/online-payments/capture#automatic-capture) is the default setting for most payment methods. In these cases, you don't need to make capture requests. However, making capture requests for payments that are captured automatically does not result in double charges. For more information, refer to [Capture](https://docs.adyen.com/online-payments/capture)." - } + ] } ] - } -, + }, { "name": "/payments/:paymentPspReference/refunds", "description": "Refunds a payment that has been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/captures), and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**REFUND** webhook](https://docs.adyen.com/online-payments/refund#refund-webhook). You can refund either the full captured amount or a part of the captured amount. You can also perform multiple partial refunds, as long as their sum doesn't exceed the captured amount. > Some payment methods do not support partial refunds. To learn if a payment method supports partial refunds, refer to the payment method page such as [cards](https://docs.adyen.com/payment-methods/cards#supported-cards), [iDEAL](https://docs.adyen.com/payment-methods/ideal), or [Klarna](https://docs.adyen.com/payment-methods/klarna). If you want to refund a payment but are not sure whether it has been captured, use the [`/payments/{paymentPspReference}/reversals`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/reversals) endpoint instead. For more information, refer to [Refund](https://docs.adyen.com/online-payments/refund).", @@ -264,62 +517,127 @@ { "name": "Refund a payment", "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 + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 2500\n },\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments/:paymentPspReference/refunds", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments", + ":paymentPspReference", + "refunds" + ], + "variable": [ + { + "key": "paymentPspReference", + "value": "", + "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to refund." + } + ], + "query": [ + ] + }, + "description": "Refunds a payment that has been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/captures), and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**REFUND** webhook](https://docs.adyen.com/online-payments/refund#refund-webhook). You can refund either the full captured amount or a part of the captured amount. You can also perform multiple partial refunds, as long as their sum doesn't exceed the captured amount. > Some payment methods do not support partial refunds. To learn if a payment method supports partial refunds, refer to the payment method page such as [cards](https://docs.adyen.com/payment-methods/cards#supported-cards), [iDEAL](https://docs.adyen.com/payment-methods/ideal), or [Klarna](https://docs.adyen.com/payment-methods/klarna). If you want to refund a payment but are not sure whether it has been captured, use the [`/payments/{paymentPspReference}/reversals`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/reversals) endpoint instead. For more information, refer to [Refund](https://docs.adyen.com/online-payments/refund)." +} + ,"response": [ + {"name": "Created - the request has been fulfilled and has resulted in one or more new resources being created.", + "code": 201, + "status": "Created", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"merchantAccount\" : \"YOUR_MERCHANT_ACCOUNT\",\n \"paymentPspReference\" : \"993617894903480A\",\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"pspReference\" : \"993617894906488A\",\n \"status\" : \"received\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 2500\n }\n}", + "originalRequest": { + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 2500\n },\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments/:paymentPspReference/refunds", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments", + ":paymentPspReference", + "refunds" + ], + "variable": [ + { + "key": "paymentPspReference", + "value": "", + "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to refund." + } + ], + "query": [ + ] + }, + "description": "Refunds a payment that has been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/captures), and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**REFUND** webhook](https://docs.adyen.com/online-payments/refund#refund-webhook). You can refund either the full captured amount or a part of the captured amount. You can also perform multiple partial refunds, as long as their sum doesn't exceed the captured amount. > Some payment methods do not support partial refunds. To learn if a payment method supports partial refunds, refer to the payment method page such as [cards](https://docs.adyen.com/payment-methods/cards#supported-cards), [iDEAL](https://docs.adyen.com/payment-methods/ideal), or [Klarna](https://docs.adyen.com/payment-methods/klarna). If you want to refund a payment but are not sure whether it has been captured, use the [`/payments/{paymentPspReference}/reversals`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/reversals) endpoint instead. For more information, refer to [Refund](https://docs.adyen.com/online-payments/refund)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 2500\n },\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments/:paymentPspReference/refunds", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments", - ":paymentPspReference", - "refunds" - ], - "variable": [ - { - "key": "paymentPspReference", - "value": "", - "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to refund." - } - ], - "query": [ - ] - }, - "description": "Refunds a payment that has been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/captures), and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**REFUND** webhook](https://docs.adyen.com/online-payments/refund#refund-webhook). You can refund either the full captured amount or a part of the captured amount. You can also perform multiple partial refunds, as long as their sum doesn't exceed the captured amount. > Some payment methods do not support partial refunds. To learn if a payment method supports partial refunds, refer to the payment method page such as [cards](https://docs.adyen.com/payment-methods/cards#supported-cards), [iDEAL](https://docs.adyen.com/payment-methods/ideal), or [Klarna](https://docs.adyen.com/payment-methods/klarna). If you want to refund a payment but are not sure whether it has been captured, use the [`/payments/{paymentPspReference}/reversals`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/reversals) endpoint instead. For more information, refer to [Refund](https://docs.adyen.com/online-payments/refund)." - } + ] } ] - } -, + }, { "name": "/payments/:paymentPspReference/reversals", "description": "[Refunds](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/refunds) a payment if it has already been captured, and [cancels](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/cancels) a payment if it has not yet been captured. Returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CANCEL_OR_REFUND** webhook](https://docs.adyen.com/online-payments/reverse#cancel-or-refund-webhook). The reversed amount is always the full payment amount. > Do not use this request for payments that involve multiple partial captures. For more information, refer to [Reversal](https://docs.adyen.com/online-payments/reversal).", @@ -327,62 +645,127 @@ { "name": "Reverse (cancel or refund) a payment", "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 + "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 \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments/:paymentPspReference/reversals", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments", + ":paymentPspReference", + "reversals" + ], + "variable": [ + { + "key": "paymentPspReference", + "value": "", + "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to reverse. " + } + ], + "query": [ + ] + }, + "description": "[Refunds](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/refunds) a payment if it has already been captured, and [cancels](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/cancels) a payment if it has not yet been captured. Returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CANCEL_OR_REFUND** webhook](https://docs.adyen.com/online-payments/reverse#cancel-or-refund-webhook). The reversed amount is always the full payment amount. > Do not use this request for payments that involve multiple partial captures. For more information, refer to [Reversal](https://docs.adyen.com/online-payments/reversal)." +} + ,"response": [ + {"name": "Created - the request has been fulfilled and has resulted in one or more new resources being created.", + "code": 201, + "status": "Created", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"merchantAccount\" : \"YOUR_MERCHANT_ACCOUNT\",\n \"paymentPspReference\" : \"993617894903480A\",\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"pspReference\" : \"993617894906488A\",\n \"status\" : \"received\"\n}", + "originalRequest": { + "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 \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments/:paymentPspReference/reversals", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments", + ":paymentPspReference", + "reversals" + ], + "variable": [ + { + "key": "paymentPspReference", + "value": "", + "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to reverse. " + } + ], + "query": [ + ] + }, + "description": "[Refunds](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/refunds) a payment if it has already been captured, and [cancels](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/cancels) a payment if it has not yet been captured. Returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CANCEL_OR_REFUND** webhook](https://docs.adyen.com/online-payments/reverse#cancel-or-refund-webhook). The reversed amount is always the full payment amount. > Do not use this request for payments that involve multiple partial captures. For more information, refer to [Reversal](https://docs.adyen.com/online-payments/reversal)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments/:paymentPspReference/reversals", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments", - ":paymentPspReference", - "reversals" - ], - "variable": [ - { - "key": "paymentPspReference", - "value": "", - "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to reverse. " - } - ], - "query": [ - ] - }, - "description": "[Refunds](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/refunds) a payment if it has already been captured, and [cancels](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/cancels) a payment if it has not yet been captured. Returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CANCEL_OR_REFUND** webhook](https://docs.adyen.com/online-payments/reverse#cancel-or-refund-webhook). The reversed amount is always the full payment amount. > Do not use this request for payments that involve multiple partial captures. For more information, refer to [Reversal](https://docs.adyen.com/online-payments/reversal)." - } + ] } ] } - ] }, { @@ -395,251 +778,374 @@ { "name": "Set up a payment session (Android)", "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 17408\n },\n \"reference\" : \"Your order number\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"channel\" : \"Android\",\n \"token\" : \"TOKEN_YOU_GET_FROM_CHECKOUT_SDK\",\n \"returnUrl\" : \"app://\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl_NL\",\n \"sessionValidity\" : \"2017-04-06T13:09:13Z\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentSession", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentSession" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Provides the data object that can be used to start the Checkout SDK. To set up the payment, pass its amount, currency, and other required parameters. We use this to optimise the payment flow and perform better risk assessment of the transaction. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." - } + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 17408\n },\n \"reference\" : \"Your order number\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"channel\" : \"Android\",\n \"token\" : \"TOKEN_YOU_GET_FROM_CHECKOUT_SDK\",\n \"returnUrl\" : \"app://\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl_NL\",\n \"sessionValidity\" : \"2017-04-06T13:09:13Z\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentSession", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentSession" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Provides the data object that can be used to start the Checkout SDK. To set up the payment, pass its amount, currency, and other required parameters. We use this to optimise the payment flow and perform better risk assessment of the transaction. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." +} + ,"response": [ + ] }, { "name": "Set up a payment session with the option to store card details", "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 + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 17408\n },\n \"reference\" : \"Your order number\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"enableOneClick\" : true,\n \"enableRecurring\" : true,\n \"channel\" : \"Web\",\n \"origin\" : \"https://www.yourwebsite.com\",\n \"returnUrl\" : \"https://www.yourshop.com/checkout/result\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl_NL\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"sdkVersion\" : \"1.7.0\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentSession", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentSession" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Provides the data object that can be used to start the Checkout SDK. To set up the payment, pass its amount, currency, and other required parameters. We use this to optimise the payment flow and perform better risk assessment of the transaction. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"paymentSession\" : \"eyJjaGVja291dHNob3BwZXJCYXN...\"\n}", + "originalRequest": { + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 17408\n },\n \"reference\" : \"Your order number\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"enableOneClick\" : true,\n \"enableRecurring\" : true,\n \"channel\" : \"Web\",\n \"origin\" : \"https://www.yourwebsite.com\",\n \"returnUrl\" : \"https://www.yourshop.com/checkout/result\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl_NL\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"sdkVersion\" : \"1.7.0\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentSession", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentSession" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Provides the data object that can be used to start the Checkout SDK. To set up the payment, pass its amount, currency, and other required parameters. We use this to optimise the payment flow and perform better risk assessment of the transaction. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 17408\n },\n \"reference\" : \"Your order number\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"enableOneClick\" : true,\n \"enableRecurring\" : true,\n \"channel\" : \"Web\",\n \"origin\" : \"https://www.yourwebsite.com\",\n \"returnUrl\" : \"https://www.yourshop.com/checkout/result\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl_NL\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"sdkVersion\" : \"1.7.0\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentSession", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentSession" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Provides the data object that can be used to start the Checkout SDK. To set up the payment, pass its amount, currency, and other required parameters. We use this to optimise the payment flow and perform better risk assessment of the transaction. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." - } + ] }, { "name": "Set up a payment session (iOS)", "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 17408\n },\n \"reference\" : \"Your order number\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"channel\" : \"iOS\",\n \"token\" : \"TOKEN_YOU_GET_FROM_CHECKOUT_SDK\",\n \"returnUrl\" : \"app://\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl_NL\",\n \"sessionValidity\" : \"2017-04-06T13:09:13Z\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentSession", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentSession" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Provides the data object that can be used to start the Checkout SDK. To set up the payment, pass its amount, currency, and other required parameters. We use this to optimise the payment flow and perform better risk assessment of the transaction. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." - } + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 17408\n },\n \"reference\" : \"Your order number\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"channel\" : \"iOS\",\n \"token\" : \"TOKEN_YOU_GET_FROM_CHECKOUT_SDK\",\n \"returnUrl\" : \"app://\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl_NL\",\n \"sessionValidity\" : \"2017-04-06T13:09:13Z\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentSession", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentSession" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Provides the data object that can be used to start the Checkout SDK. To set up the payment, pass its amount, currency, and other required parameters. We use this to optimise the payment flow and perform better risk assessment of the transaction. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." +} + ,"response": [ + ] }, { "name": "Split a payment between a sub-merchant and a platform account", "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 6200\n },\n \"additionalData\" : {\n \"split.api\" : \"1\",\n \"split.nrOfItems\" : \"2\",\n \"split.totalAmount\" : \"6200\",\n \"split.currencyCode\" : \"EUR\",\n \"split.item1.amount\" : \"6000\",\n \"split.item1.type\" : \"MarketPlace\",\n \"split.item1.account\" : \"151272963\",\n \"split.item1.reference\" : \"6124145\",\n \"split.item1.description\" : \"Porcelain Doll: Eliza (20cm)\",\n \"split.item2.amount\" : \"200\",\n \"split.item2.type\" : \"Commission\",\n \"split.item2.reference\" : \"6124146\"\n },\n \"reference\" : \"Your order number\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"channel\" : \"Android\",\n \"token\" : \"TOKEN_YOU_GET_FROM_CHECKOUT_SDK\",\n \"returnUrl\" : \"app://\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl_NL\",\n \"sessionValidity\" : \"2017-04-06T13:09:13Z\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentSession", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentSession" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Provides the data object that can be used to start the Checkout SDK. To set up the payment, pass its amount, currency, and other required parameters. We use this to optimise the payment flow and perform better risk assessment of the transaction. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." - } + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 6200\n },\n \"additionalData\" : {\n \"split.api\" : \"1\",\n \"split.nrOfItems\" : \"2\",\n \"split.totalAmount\" : \"6200\",\n \"split.currencyCode\" : \"EUR\",\n \"split.item1.amount\" : \"6000\",\n \"split.item1.type\" : \"MarketPlace\",\n \"split.item1.account\" : \"151272963\",\n \"split.item1.reference\" : \"6124145\",\n \"split.item1.description\" : \"Porcelain Doll: Eliza (20cm)\",\n \"split.item2.amount\" : \"200\",\n \"split.item2.type\" : \"Commission\",\n \"split.item2.reference\" : \"6124146\"\n },\n \"reference\" : \"Your order number\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"channel\" : \"Android\",\n \"token\" : \"TOKEN_YOU_GET_FROM_CHECKOUT_SDK\",\n \"returnUrl\" : \"app://\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl_NL\",\n \"sessionValidity\" : \"2017-04-06T13:09:13Z\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentSession", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentSession" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Provides the data object that can be used to start the Checkout SDK. To set up the payment, pass its amount, currency, and other required parameters. We use this to optimise the payment flow and perform better risk assessment of the transaction. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." +} + ,"response": [ + ] }, { "name": "Set up a payment session (Web)", "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 + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 17408\n },\n \"reference\" : \"Your order number\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"channel\" : \"Web\",\n \"origin\" : \"https://www.yourwebsite.com\",\n \"returnUrl\" : \"https://www.yourshop.com/checkout/result\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl_NL\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"sdkVersion\" : \"1.9.5\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentSession", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentSession" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Provides the data object that can be used to start the Checkout SDK. To set up the payment, pass its amount, currency, and other required parameters. We use this to optimise the payment flow and perform better risk assessment of the transaction. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"paymentSession\" : \"eyJjaGVja291dHNob3BwZXJCYXN...\"\n}", + "originalRequest": { + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 17408\n },\n \"reference\" : \"Your order number\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"channel\" : \"Web\",\n \"origin\" : \"https://www.yourwebsite.com\",\n \"returnUrl\" : \"https://www.yourshop.com/checkout/result\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl_NL\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"sdkVersion\" : \"1.9.5\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentSession", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentSession" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Provides the data object that can be used to start the Checkout SDK. To set up the payment, pass its amount, currency, and other required parameters. We use this to optimise the payment flow and perform better risk assessment of the transaction. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 17408\n },\n \"reference\" : \"Your order number\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"channel\" : \"Web\",\n \"origin\" : \"https://www.yourwebsite.com\",\n \"returnUrl\" : \"https://www.yourshop.com/checkout/result\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl_NL\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"sdkVersion\" : \"1.9.5\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentSession", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentSession" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Provides the data object that can be used to start the Checkout SDK. To set up the payment, pass its amount, currency, and other required parameters. We use this to optimise the payment flow and perform better risk assessment of the transaction. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." - } + ] } ] - } -, + }, { "name": "/payments/result (DEPRECATED)", "description": "Verifies the payment result using the payload returned from the Checkout SDK. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks).", @@ -647,56 +1153,115 @@ { "name": "Verify payment results", "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 + "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 \"payload\" : \"VALUE_YOU_GET_FROM_CHECKOUT_SDK\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments/result", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments", + "result" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Verifies the payment result using the payload returned from the Checkout SDK. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"pspReference\" : \"V4HZ4RBFJGXXGN82\",\n \"merchantReference\" : \"Your order number\",\n \"shopperLocale\" : \"nl_NL\",\n \"paymentMethod\" : \"ideal\"\n}", + "originalRequest": { + "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 \"payload\" : \"VALUE_YOU_GET_FROM_CHECKOUT_SDK\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments/result", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments", + "result" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Verifies the payment result using the payload returned from the Checkout SDK. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"payload\" : \"VALUE_YOU_GET_FROM_CHECKOUT_SDK\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments/result", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments", - "result" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Verifies the payment result using the payload returned from the Checkout SDK. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." - } + ] } ] } - ] }, { @@ -709,55 +1274,113 @@ { "name": "Create an order", "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 + "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 \"reference\" : \"YOUR_ORDER_REFERENCE\",\n \"amount\" : {\n \"value\" : 2500,\n \"currency\" : \"EUR\"\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/orders", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "orders" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates an order to be used for partial payments. Make a POST `/orders` call before making a `/payments` call when processing payments with different payment methods." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"pspReference\" : \"8616178914061985\",\n \"resultCode\" : \"Success\",\n \"expiresAt\" : \"2021-04-09T14:16:46Z\",\n \"orderData\" : \"Ab02b4c0!BQABAgCxXvknCldOcRElkxY8Za7iyym4Wv8aDzyNwmj/3nh4G6YtwnUIJHaK62NlN4oIsACdkn1FEjBwKlheG40jvXcYGBk4KFV5WvOhTVCpv/KXnkrI7xQv/u2lE7U4wA+HPB6K4Zj2L8xO/ogZi+zGZqFs5m16jmkH7ku6FzXygXLNuUCuOlmlXSZhdkHHTNVQSq1MELDK9OL74y532ETRPTCNxx8WlEiZB+LDqYrPvH9GgigtD5kw8Do45jfFfG72kWBEgfYqp4mbUmBB9ebXFYZKfF0qvW1x7A2Y9+/MFlTIdXfKW484bJeDBCTTrmKGXIj+U4r5imr5fXTyNLcrxyUqwrb9jg+5B4qg1XB6Cgj5UPlSI4O62I7v0s5TTj69dzLwUQRxSQbwLrZVGYavXzeVKI54BVLRV3d/+BbPvTqnTo34UhfZbPlOx9F2eyaS0ZXdOKnHw89uGUgxUpLsMqnbRysi/pxpZaulel+0mExb68wVxb/7Teob5eRG4gp7cfZVZs6tLXOYWL+W0TqIlsa3hWsfM0LeaovzkoDtW/pK5JABXwMtLig9tsxoEh9ONYtIzkXC21LZ8ebiuSIMaPizjF8yca+QxrCZalQsu6uKnBz/mm8nnsflaGU2QS5zcoxk1RudL1Bl36LM9UZGPpFEYWiYA4sUsnNLw7peJjWCGhDepnwMv4TlgsEtoDtz1T54AEp7ImtleSI6IkFGMEFBQTEwM0NBNTM3RUFFRDg3QzI0REQ1MzkwOUI4MEE3OEE5MjNFMzgyM0Q2OERBQ0M5NEI5RkY4MzA1REMifRslOdmfgUHTXl66WPD9xoW2whIeRx/jR++2MqNE16x6zQy+KtDN8/h60crZwmqkjVTQYqQlsYSYDHSIyb4wnnay16/5il1yS7vN3UCLaTXjYBIAyyx6Wr9j4P3CI/etB+PpviHoESC4mV6ZN4whMDQyziQ8s230GtboXbh42qND7rk9phySBogowQlXrtF+l2n2F46nyif0owEgik5fGARfvjZtY2w23s30KMLNwU4gWSvX4H6RMVS8TfZH2fKfNrwB3tZUXwYkELs5ntaHysswq5Mn5aq2BKAMHu/Rh/wureMSI73Qi0avjrzWCwzt3JH4wnzErMnOZwSdgA==\",\n \"reference\" : \"shopper-reference-ekvL83\",\n \"remainingAmount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 2500\n }\n}", + "originalRequest": { + "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 \"reference\" : \"YOUR_ORDER_REFERENCE\",\n \"amount\" : {\n \"value\" : 2500,\n \"currency\" : \"EUR\"\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/orders", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "orders" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates an order to be used for partial payments. Make a POST `/orders` call before making a `/payments` call when processing payments with different payment methods." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"reference\" : \"YOUR_ORDER_REFERENCE\",\n \"amount\" : {\n \"value\" : 2500,\n \"currency\" : \"EUR\"\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/orders", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "orders" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Creates an order to be used for partial payments. Make a POST `/orders` call before making a `/payments` call when processing payments with different payment methods." - } + ] } ] - } -, + }, { "name": "/orders/cancel", "description": "Cancels an order. Cancellation of an order results in an automatic rollback of all payments made in the order, either by canceling or refunding the payment, depending on the type of payment method.", @@ -765,56 +1388,115 @@ { "name": "Cancel an order", "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 + "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 \"order\" : {\n \"pspReference\" : \"8815517812932012\",\n \"orderData\" : \"823fh892f8f18f4...148f13f9f3f\"\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/orders/cancel", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "orders", + "cancel" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Cancels an order. Cancellation of an order results in an automatic rollback of all payments made in the order, either by canceling or refunding the payment, depending on the type of payment method." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"pspReference\" : \"8816178914079738\",\n \"resultCode\" : \"Received\"\n}", + "originalRequest": { + "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 \"order\" : {\n \"pspReference\" : \"8815517812932012\",\n \"orderData\" : \"823fh892f8f18f4...148f13f9f3f\"\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/orders/cancel", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "orders", + "cancel" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Cancels an order. Cancellation of an order results in an automatic rollback of all payments made in the order, either by canceling or refunding the payment, depending on the type of payment method." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"order\" : {\n \"pspReference\" : \"8815517812932012\",\n \"orderData\" : \"823fh892f8f18f4...148f13f9f3f\"\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/orders/cancel", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "orders", - "cancel" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Cancels an order. Cancellation of an order results in an automatic rollback of all payments made in the order, either by canceling or refunding the payment, depending on the type of payment method." - } + ] } ] - } -, + }, { "name": "/paymentMethods/balance", "description": "Retrieves the balance remaining on a shopper's gift card. To check a gift card's balance, make a POST `/paymentMethods/balance` call and include the gift card's details inside a `paymentMethod` object.", @@ -822,106 +1504,225 @@ { "name": "Get gift card balance specifying amount of 10 EUR", "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 + "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 \"paymentMethod\" : {\n \"type\" : \"givex\",\n \"number\" : \"4126491073027401\",\n \"cvc\" : \"737\"\n },\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentMethods/balance", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentMethods", + "balance" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Retrieves the balance remaining on a shopper's gift card. To check a gift card's balance, make a POST `/paymentMethods/balance` call and include the gift card's details inside a `paymentMethod` object." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"pspReference\" : \"KHQC5N7G84BLNK43\",\n \"resultCode\" : \"Success\",\n \"balance\" : {\n \"currency\" : \"EUR\",\n \"value\" : 5000\n }\n}", + "originalRequest": { + "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 \"paymentMethod\" : {\n \"type\" : \"givex\",\n \"number\" : \"4126491073027401\",\n \"cvc\" : \"737\"\n },\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentMethods/balance", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentMethods", + "balance" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Retrieves the balance remaining on a shopper's gift card. To check a gift card's balance, make a POST `/paymentMethods/balance` call and include the gift card's details inside a `paymentMethod` object." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"paymentMethod\" : {\n \"type\" : \"givex\",\n \"number\" : \"4126491073027401\",\n \"cvc\" : \"737\"\n },\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentMethods/balance", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentMethods", - "balance" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Retrieves the balance remaining on a shopper's gift card. To check a gift card's balance, make a POST `/paymentMethods/balance` call and include the gift card's details inside a `paymentMethod` object." - } + ] }, { "name": "Get gift card balance specifying amount of 100 EUR", "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 + "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 \"paymentMethod\" : {\n \"type\" : \"givex\",\n \"number\" : \"4126491073027401\",\n \"cvc\" : \"737\"\n },\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 10000\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentMethods/balance", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentMethods", + "balance" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Retrieves the balance remaining on a shopper's gift card. To check a gift card's balance, make a POST `/paymentMethods/balance` call and include the gift card's details inside a `paymentMethod` object." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"pspReference\" : \"FKSPNCQ8HXSKGK82\",\n \"resultCode\" : \"NotEnoughBalance\",\n \"balance\" : {\n \"currency\" : \"EUR\",\n \"value\" : 5000\n }\n}", + "originalRequest": { + "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 \"paymentMethod\" : {\n \"type\" : \"givex\",\n \"number\" : \"4126491073027401\",\n \"cvc\" : \"737\"\n },\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 10000\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentMethods/balance", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentMethods", + "balance" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Retrieves the balance remaining on a shopper's gift card. To check a gift card's balance, make a POST `/paymentMethods/balance` call and include the gift card's details inside a `paymentMethod` object." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"paymentMethod\" : {\n \"type\" : \"givex\",\n \"number\" : \"4126491073027401\",\n \"cvc\" : \"737\"\n },\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 10000\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentMethods/balance", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentMethods", - "balance" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Retrieves the balance remaining on a shopper's gift card. To check a gift card's balance, make a POST `/paymentMethods/balance` call and include the gift card's details inside a `paymentMethod` object." - } + ] } ] } - ] }, { @@ -934,56 +1735,115 @@ { "name": "Get payment session for Apple Pay", "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 + "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 \"displayName\" : \"YOUR_MERCHANT_NAME\",\n \"domainName\" : \"YOUR_DOMAIN_NAME\",\n \"merchantIdentifier\" : \"YOUR_MERCHANT_ID\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/applePay/sessions", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "applePay", + "sessions" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "You need to use this endpoint if you have an API-only integration with Apple Pay which uses Adyen's Apple Pay certificate. The endpoint returns the Apple Pay session data which you need to complete the [Apple Pay session validation](https://docs.adyen.com/payment-methods/apple-pay/api-only?tab=adyen-certificate-validation_1#complete-apple-pay-session-validation)." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"data\" : \"eyJ2Z...\"\n}", + "originalRequest": { + "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 \"displayName\" : \"YOUR_MERCHANT_NAME\",\n \"domainName\" : \"YOUR_DOMAIN_NAME\",\n \"merchantIdentifier\" : \"YOUR_MERCHANT_ID\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/applePay/sessions", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "applePay", + "sessions" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "You need to use this endpoint if you have an API-only integration with Apple Pay which uses Adyen's Apple Pay certificate. The endpoint returns the Apple Pay session data which you need to complete the [Apple Pay session validation](https://docs.adyen.com/payment-methods/apple-pay/api-only?tab=adyen-certificate-validation_1#complete-apple-pay-session-validation)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"displayName\" : \"YOUR_MERCHANT_NAME\",\n \"domainName\" : \"YOUR_DOMAIN_NAME\",\n \"merchantIdentifier\" : \"YOUR_MERCHANT_ID\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/applePay/sessions", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "applePay", - "sessions" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "You need to use this endpoint if you have an API-only integration with Apple Pay which uses Adyen's Apple Pay certificate. The endpoint returns the Apple Pay session data which you need to complete the [Apple Pay session validation](https://docs.adyen.com/payment-methods/apple-pay/api-only?tab=adyen-certificate-validation_1#complete-apple-pay-session-validation)." - } + ] } ] - } -, + }, { "name": "/originKeys", "description": "This operation takes the origin domains and returns a JSON object containing the corresponding origin keys for the domains. > If you're still using origin key for your Web Drop-in or Components integration, we recommend [switching to client key](https://docs.adyen.com/development-resources/client-side-authentication/migrate-from-origin-key-to-client-key). This allows you to use a single key for all origins, add or remove origins without generating a new key, and detect the card type from the number entered in your payment form. ", @@ -991,55 +1851,113 @@ { "name": "Get origin keys", "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 + "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 \"originDomains\" : [ \"https://www.your-domain1.com\", \"https://www.your-domain2.com\", \"https://www.your-domain3.com\" ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/originKeys", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "originKeys" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "This operation takes the origin domains and returns a JSON object containing the corresponding origin keys for the domains. > If you're still using origin key for your Web Drop-in or Components integration, we recommend [switching to client key](https://docs.adyen.com/development-resources/client-side-authentication/migrate-from-origin-key-to-client-key). This allows you to use a single key for all origins, add or remove origins without generating a new key, and detect the card type from the number entered in your payment form. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"originKeys\" : {\n \"https://www.your-domain1.com\" : \"pub.v2.8116178901076090.aHR0cHM6Ly93d3cueW91ci1kb21haW4xLmNvbQ.pvbYlrXz0ICP4kwMJXDGDLVMqALhwXr1MSRjT-fkhvw\",\n \"https://www.your-domain3.com\" : \"pub.v2.8116178901076090.aHR0cHM6Ly93d3cueW91ci1kb21haW4zLmNvbQ.FrTpVz7_RzAywKasM0kXCRoMfoMkKIKaxjFymRGORIc\",\n \"https://www.your-domain2.com\" : \"pub.v2.8116178901076090.aHR0cHM6Ly93d3cueW91ci1kb21haW4yLmNvbQ.LdN9kvJ35fYFFiBSJA4idMnwwxJ5_yXpeNS__Ap5wkg\"\n }\n}", + "originalRequest": { + "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 \"originDomains\" : [ \"https://www.your-domain1.com\", \"https://www.your-domain2.com\", \"https://www.your-domain3.com\" ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/originKeys", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "originKeys" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "This operation takes the origin domains and returns a JSON object containing the corresponding origin keys for the domains. > If you're still using origin key for your Web Drop-in or Components integration, we recommend [switching to client key](https://docs.adyen.com/development-resources/client-side-authentication/migrate-from-origin-key-to-client-key). This allows you to use a single key for all origins, add or remove origins without generating a new key, and detect the card type from the number entered in your payment form. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"originDomains\" : [ \"https://www.your-domain1.com\", \"https://www.your-domain2.com\", \"https://www.your-domain3.com\" ]\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/originKeys", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "originKeys" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "This operation takes the origin domains and returns a JSON object containing the corresponding origin keys for the domains. > If you're still using origin key for your Web Drop-in or Components integration, we recommend [switching to client key](https://docs.adyen.com/development-resources/client-side-authentication/migrate-from-origin-key-to-client-key). This allows you to use a single key for all origins, add or remove origins without generating a new key, and detect the card type from the number entered in your payment form. " - } + ] } ] } - ] }, { @@ -1052,104 +1970,164 @@ { "name": "Start a donation transaction", "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 + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"reference\" : \"YOUR_DONATION_REFERENCE\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\"\n },\n \"donationToken\" : \"YOUR_DONATION_TOKEN\",\n \"donationOriginalPspReference\" : \"991559660454807J\",\n \"donationAccount\" : \"CHARITY_ACCOUNT\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"shopperInteraction\" : \"ContAuth\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/donations", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "donations" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Takes in the donation token generated by the `/payments` request and uses it to make the donation for the donation account specified in the request. For more information, see [Donations](https://docs.adyen.com/online-payments/donations)." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"id\" : \"UNIQUE_RESOURCE_ID\",\n \"status\" : \"completed\",\n \"donationAccount\" : \"CHARITY_ACCOUNT\",\n \"merchantAccount\" : \"YOUR_MERCHANT_ACCOUNT\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"reference\" : \"YOUR_DONATION_REFERENCE\",\n \"payment\" : {\n \"pspReference\" : \"8535762347980628\",\n \"resultCode\" : \"Authorised\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"merchantReference\" : \"YOUR_DONATION_REFERENCE\"\n }\n}", + "originalRequest": { + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"reference\" : \"YOUR_DONATION_REFERENCE\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\"\n },\n \"donationToken\" : \"YOUR_DONATION_TOKEN\",\n \"donationOriginalPspReference\" : \"991559660454807J\",\n \"donationAccount\" : \"CHARITY_ACCOUNT\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"shopperInteraction\" : \"ContAuth\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/donations", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "donations" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Takes in the donation token generated by the `/payments` request and uses it to make the donation for the donation account specified in the request. For more information, see [Donations](https://docs.adyen.com/online-payments/donations)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"reference\" : \"YOUR_DONATION_REFERENCE\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\"\n },\n \"donationToken\" : \"YOUR_DONATION_TOKEN\",\n \"donationOriginalPspReference\" : \"991559660454807J\",\n \"donationAccount\" : \"CHARITY_ACCOUNT\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"shopperInteraction\" : \"ContAuth\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/donations", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "donations" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Takes in the donation token generated by the `/payments` request and uses it to make the donation for the donation account specified in the request. For more information, see [Donations](https://docs.adyen.com/online-payments/donations)." - } + ] }, { "name": "Start a donation transaction with a token", "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"reference\" : \"YOUR_DONATION_REFERENCE\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"recurringDetailReference\" : \"7219687191761347\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"donationAccount\" : \"CHARITY_ACCOUNT\",\n \"shopperInteraction\" : \"ContAuth\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"recurringProcessingModel\" : \"CardOnFile\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/donations", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "donations" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Takes in the donation token generated by the `/payments` request and uses it to make the donation for the donation account specified in the request. For more information, see [Donations](https://docs.adyen.com/online-payments/donations)." - } + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"reference\" : \"YOUR_DONATION_REFERENCE\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"recurringDetailReference\" : \"7219687191761347\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"donationAccount\" : \"CHARITY_ACCOUNT\",\n \"shopperInteraction\" : \"ContAuth\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"recurringProcessingModel\" : \"CardOnFile\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/donations", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "donations" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Takes in the donation token generated by the `/payments` request and uses it to make the donation for the donation account specified in the request. For more information, see [Donations](https://docs.adyen.com/online-payments/donations)." +} + ,"response": [ + ] } ] } - ] }, { @@ -1162,104 +2140,221 @@ { "name": "Get a list of brands on a card", "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 + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"cardNumber\" : \"411111\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/cardDetails", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "cardDetails" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Send a request with at least the first 6 digits of the card number to get a response with an array of brands on the card. If you include [your supported brands](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__reqParam_supportedBrands) in the request, the response also tells you if you support each [brand that was identified](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__resParam_details). If you have an API-only integration and collect card data, use this endpoint to find out if the shopper's card is co-branded. For co-branded cards, you must let the shopper choose the brand to pay with if you support both brands. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"brands\" : [ {\n \"type\" : \"visa\",\n \"supported\" : true\n }, {\n \"type\" : \"cartebancaire\",\n \"supported\" : true\n } ]\n}", + "originalRequest": { + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"cardNumber\" : \"411111\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/cardDetails", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "cardDetails" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Send a request with at least the first 6 digits of the card number to get a response with an array of brands on the card. If you include [your supported brands](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__reqParam_supportedBrands) in the request, the response also tells you if you support each [brand that was identified](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__resParam_details). If you have an API-only integration and collect card data, use this endpoint to find out if the shopper's card is co-branded. For co-branded cards, you must let the shopper choose the brand to pay with if you support both brands. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"cardNumber\" : \"411111\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/cardDetails", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "cardDetails" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Send a request with at least the first 6 digits of the card number to get a response with an array of brands on the card. If you include [your supported brands](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__reqParam_supportedBrands) in the request, the response also tells you if you support each [brand that was identified](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__resParam_details). If you have an API-only integration and collect card data, use this endpoint to find out if the shopper's card is co-branded. For co-branded cards, you must let the shopper choose the brand to pay with if you support both brands. " - } + ] }, { "name": "Get a list of brands on a card specifying your supported card brands", "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 + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"cardNumber\" : \"411111\",\n \"supportedBrands\" : [ \"visa\", \"mc\", \"amex\" ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/cardDetails", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "cardDetails" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Send a request with at least the first 6 digits of the card number to get a response with an array of brands on the card. If you include [your supported brands](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__reqParam_supportedBrands) in the request, the response also tells you if you support each [brand that was identified](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__resParam_details). If you have an API-only integration and collect card data, use this endpoint to find out if the shopper's card is co-branded. For co-branded cards, you must let the shopper choose the brand to pay with if you support both brands. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"brands\" : [ {\n \"type\" : \"visa\",\n \"supported\" : true\n }, {\n \"type\" : \"cartebancaire\",\n \"supported\" : false\n } ]\n}", + "originalRequest": { + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"cardNumber\" : \"411111\",\n \"supportedBrands\" : [ \"visa\", \"mc\", \"amex\" ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/cardDetails", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "cardDetails" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Send a request with at least the first 6 digits of the card number to get a response with an array of brands on the card. If you include [your supported brands](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__reqParam_supportedBrands) in the request, the response also tells you if you support each [brand that was identified](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__resParam_details). If you have an API-only integration and collect card data, use this endpoint to find out if the shopper's card is co-branded. For co-branded cards, you must let the shopper choose the brand to pay with if you support both brands. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"cardNumber\" : \"411111\",\n \"supportedBrands\" : [ \"visa\", \"mc\", \"amex\" ]\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/cardDetails", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "cardDetails" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Send a request with at least the first 6 digits of the card number to get a response with an array of brands on the card. If you include [your supported brands](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__reqParam_supportedBrands) in the request, the response also tells you if you support each [brand that was identified](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__resParam_details). If you have an API-only integration and collect card data, use this endpoint to find out if the shopper's card is co-branded. For co-branded cards, you must let the shopper choose the brand to pay with if you support both brands. " - } + ] } ] - } -, + }, { "name": "/paymentMethods", "description": "Queries the available payment methods for a transaction based on the transaction context (like amount, country, and currency). Besides giving back a list of the available payment methods, the response also returns which input details you need to collect from the shopper (to be submitted to `/payments`). Although we highly recommend using this endpoint to ensure you are always offering the most up-to-date list of payment methods, its usage is optional. You can, for example, also cache the `/paymentMethods` response and update it once a week.", @@ -1267,153 +2362,329 @@ { "name": "Get available payment methods", "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 + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentMethods", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentMethods" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Queries the available payment methods for a transaction based on the transaction context (like amount, country, and currency). Besides giving back a list of the available payment methods, the response also returns which input details you need to collect from the shopper (to be submitted to `/payments`). Although we highly recommend using this endpoint to ensure you are always offering the most up-to-date list of payment methods, its usage is optional. You can, for example, also cache the `/paymentMethods` response and update it once a week." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"paymentMethods\" : [ {\n \"details\" : [ {\n \"details\" : [ {\n \"key\" : \"ownerName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"bankLocationId\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"bankAccountNumber\",\n \"type\" : \"text\"\n } ],\n \"key\" : \"bankAccount\",\n \"type\" : \"bankAccount\"\n } ],\n \"name\" : \"ACH Direct Debit\",\n \"type\" : \"ach\"\n }, {\n \"name\" : \"Adyen Voucher\",\n \"type\" : \"adyen_test_voucher\"\n }, {\n \"details\" : [ {\n \"details\" : [ {\n \"key\" : \"firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"lastName\",\n \"type\" : \"text\"\n }, {\n \"items\" : [ {\n \"id\" : \"M\",\n \"name\" : \"male\"\n }, {\n \"id\" : \"F\",\n \"name\" : \"female\"\n } ],\n \"key\" : \"gender\",\n \"type\" : \"radio\"\n }, {\n \"key\" : \"dateOfBirth\",\n \"type\" : \"date\"\n }, {\n \"key\" : \"telephoneNumber\",\n \"type\" : \"tel\"\n }, {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n } ],\n \"key\" : \"personalDetails\",\n \"type\" : \"fieldSet\"\n }, {\n \"details\" : [ {\n \"key\" : \"street\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"houseNumberOrName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"city\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"postalCode\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"stateOrProvince\",\n \"optional\" : true,\n \"type\" : \"text\"\n }, {\n \"items\" : [ {\n \"id\" : \"NL\",\n \"name\" : \"Netherlands\"\n }, {\n \"id\" : \"BE\",\n \"name\" : \"Belgium\"\n } ],\n \"key\" : \"country\",\n \"type\" : \"select\"\n } ],\n \"key\" : \"billingAddress\",\n \"type\" : \"address\"\n }, {\n \"key\" : \"separateDeliveryAddress\",\n \"optional\" : true,\n \"type\" : \"boolean\",\n \"value\" : \"false\"\n }, {\n \"details\" : [ {\n \"key\" : \"street\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"houseNumberOrName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"city\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"postalCode\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"stateOrProvince\",\n \"optional\" : true,\n \"type\" : \"text\"\n }, {\n \"items\" : [ {\n \"id\" : \"NL\",\n \"name\" : \"Netherlands\"\n }, {\n \"id\" : \"BE\",\n \"name\" : \"Belgium\"\n } ],\n \"key\" : \"country\",\n \"type\" : \"select\"\n } ],\n \"key\" : \"deliveryAddress\",\n \"optional\" : true,\n \"type\" : \"address\"\n } ],\n \"name\" : \"AfterPay Invoice\",\n \"type\" : \"afterpay_default\"\n }, {\n \"name\" : \"AfterPay DirectDebit\",\n \"type\" : \"afterpay_directdebit\"\n }, {\n \"name\" : \"Afterpay\",\n \"type\" : \"afterpaytouch\"\n }, {\n \"details\" : [ {\n \"key\" : \"encryptedCardNumber\",\n \"type\" : \"cardToken\"\n }, {\n \"key\" : \"encryptedSecurityCode\",\n \"type\" : \"cardToken\"\n }, {\n \"key\" : \"encryptedExpiryMonth\",\n \"type\" : \"cardToken\"\n }, {\n \"key\" : \"encryptedExpiryYear\",\n \"type\" : \"cardToken\"\n }, {\n \"key\" : \"holderName\",\n \"optional\" : true,\n \"type\" : \"text\"\n } ],\n \"name\" : \"Credit Card\",\n \"type\" : \"scheme\"\n }, {\n \"name\" : \"AliPay\",\n \"type\" : \"alipay\"\n }, {\n \"name\" : \"AliPay HK\",\n \"type\" : \"alipay_hk\"\n }, {\n \"name\" : \"AliPay\",\n \"type\" : \"alipay_wap\"\n }, {\n \"details\" : [ {\n \"key\" : \"additionalData.androidpay.token\",\n \"type\" : \"androidPayToken\"\n } ],\n \"name\" : \"Android Pay\",\n \"type\" : \"androidpay\"\n }, {\n \"details\" : [ {\n \"key\" : \"additionalData.applepay.token\",\n \"type\" : \"applePayToken\"\n } ],\n \"name\" : \"Apple Pay\",\n \"type\" : \"applepay\"\n }, {\n \"name\" : \"Credit Card via AsiaPay\",\n \"type\" : \"asiapay\"\n }, {\n \"name\" : \"China UnionPay\",\n \"type\" : \"asiapay_unionpay\"\n }, {\n \"name\" : \"Baby Gift Card\",\n \"type\" : \"babygiftcard\"\n }, {\n \"name\" : \"Baloto\",\n \"type\" : \"baloto\"\n }, {\n \"name\" : \"BancNet\",\n \"type\" : \"bancnet\"\n }, {\n \"name\" : \"Bank Transfer (BG)\",\n \"type\" : \"bankTransfer_BG\"\n }, {\n \"name\" : \"Bank Transfer (CH)\",\n \"type\" : \"bankTransfer_CH\"\n }, {\n \"name\" : \"Bank Transfer (DE)\",\n \"type\" : \"bankTransfer_DE\"\n }, {\n \"name\" : \"Bank Transfer (FI)\",\n \"type\" : \"bankTransfer_FI\"\n }, {\n \"name\" : \"Bank Transfer (GB)\",\n \"type\" : \"bankTransfer_GB\"\n }, {\n \"name\" : \"Bank Transfer (HU)\",\n \"type\" : \"bankTransfer_HU\"\n }, {\n \"name\" : \"SEPA Bank Transfer\",\n \"type\" : \"bankTransfer_IBAN\"\n }, {\n \"name\" : \"Bank Transfer (IE)\",\n \"type\" : \"bankTransfer_IE\"\n }, {\n \"name\" : \"Electronic Bank Transfer (MX)\",\n \"type\" : \"bankTransfer_MX_linked\"\n }, {\n \"name\" : \"Bank Transfer (MX)\",\n \"type\" : \"bankTransfer_MX_offline\"\n }, {\n \"name\" : \"Bank Transfer (NL)\",\n \"type\" : \"bankTransfer_NL\"\n }, {\n \"name\" : \"Bank Transfer (PL)\",\n \"type\" : \"bankTransfer_PL\"\n }, {\n \"name\" : \"Bank Transfer (SE)\",\n \"type\" : \"bankTransfer_SE\"\n }, {\n \"name\" : \"Bank Transfer (US)\",\n \"type\" : \"bankTransfer_US\"\n }, {\n \"name\" : \"Payconiq by Bancontact\",\n \"type\" : \"bcmc_mobile\"\n }, {\n \"name\" : \"Bijenkorf Cadeaucard\",\n \"type\" : \"bijcadeaucard\"\n }, {\n \"name\" : \"99Bill\",\n \"type\" : \"bill99\"\n }, {\n \"details\" : [ {\n \"items\" : [ {\n \"id\" : \"AUB_DIRECT\",\n \"name\" : \"AU Small Finance Bank\"\n }, {\n \"id\" : \"ALB_DIRECT\",\n \"name\" : \"Allahabad Bank \"\n }, {\n \"id\" : \"APG_DIRECT\",\n \"name\" : \"Andhra Pragathi Grameena Bank\"\n }, {\n \"id\" : \"BDN_DIRECT\",\n \"name\" : \"Bandhan bank\"\n }, {\n \"id\" : \"BBK_DIRECT\",\n \"name\" : \"Bank of Bahrain and Kuwait\"\n }, {\n \"id\" : \"BBR_DIRECT\",\n \"name\" : \"Bank of Baroda - Retail Banking\"\n }, {\n \"id\" : \"BCB_DIRECT\",\n \"name\" : \"Bassien Catholic Co-Operative Bank \"\n }, {\n \"id\" : \"CNB_DIRECT\",\n \"name\" : \"Canara Bank\"\n }, {\n \"id\" : \"SYD_DIRECT\",\n \"name\" : \"Canara Bank (e-Syndicate)\"\n }, {\n \"id\" : \"CSB_DIRECT\",\n \"name\" : \"Catholic Syrian Bank\"\n }, {\n \"id\" : \"CBI_DIRECT\",\n \"name\" : \"Central Bank of India\"\n }, {\n \"id\" : \"CUB_DIRECT\",\n \"name\" : \"City Union Bank\"\n }, {\n \"id\" : \"COB_DIRECT\",\n \"name\" : \"Cosmos Bank\"\n }, {\n \"id\" : \"DEN_DIRECT\",\n \"name\" : \"Dena Bank\"\n }, {\n \"id\" : \"DBK_DIRECT\",\n \"name\" : \"Deutsche Bank\"\n }, {\n \"id\" : \"DCB_DIRECT\",\n \"name\" : \"Development Credit Bank\"\n }, {\n \"id\" : \"DLB_DIRECT\",\n \"name\" : \"Dhanlakshmi Bank - Retail Net Banking\"\n }, {\n \"id\" : \"ESF_DIRECT\",\n \"name\" : \"ESAF Small Finance Bank\"\n }, {\n \"id\" : \"EQB_DIRECT\",\n \"name\" : \"Equitas Small Finance Bank\"\n }, {\n \"id\" : \"FBK_DIRECT\",\n \"name\" : \"Federal Bank\"\n }, {\n \"id\" : \"FNC_DIRECT\",\n \"name\" : \"Fincare Bank\"\n }, {\n \"id\" : \"HDF_DIRECT\",\n \"name\" : \"HDFC Bank\"\n }, {\n \"id\" : \"ICI_DIRECT\",\n \"name\" : \"ICICI Bank \"\n }, {\n \"id\" : \"IDB_DIRECT\",\n \"name\" : \"IDBI Bank - Retail Net Banking\"\n }, {\n \"id\" : \"IDN_DIRECT\",\n \"name\" : \"IDFC FIRST Bank\"\n }, {\n \"id\" : \"INB_DIRECT\",\n \"name\" : \"Indian Bank\"\n }, {\n \"id\" : \"IOB_DIRECT\",\n \"name\" : \"Indian Overseas Bank\"\n }, {\n \"id\" : \"IDS_DIRECT\",\n \"name\" : \"IndusInd Bank\"\n }, {\n \"id\" : \"JKB_DIRECT\",\n \"name\" : \"Jammu & Kashmir Bank\"\n }, {\n \"id\" : \"JNB_DIRECT\",\n \"name\" : \"Jana Small Finance Bank\"\n }, {\n \"id\" : \"JSB_DIRECT\",\n \"name\" : \"Janata Sahakari Bank Ltd Pune\"\n }, {\n \"id\" : \"KJB_DIRECT\",\n \"name\" : \"Kalyan Janata Sahakari Bank\"\n }, {\n \"id\" : \"KBL_DIRECT\",\n \"name\" : \"Karnataka Bank Ltd\"\n }, {\n \"id\" : \"KVB_DIRECT\",\n \"name\" : \"Karur Vysya Bank\"\n }, {\n \"id\" : \"162_DIRECT\",\n \"name\" : \"Kotak Bank\"\n }, {\n \"id\" : \"LVR_DIRECT\",\n \"name\" : \"Laxmi Vilas Bank - Retail\"\n }, {\n \"id\" : \"NKB_DIRECT\",\n \"name\" : \"NKGSB Co-op Bank\"\n }, {\n \"id\" : \"NEB_DIRECT\",\n \"name\" : \"North East Small Finance Bank\"\n }, {\n \"id\" : \"OBC_DIRECT\",\n \"name\" : \"PNB (Erstwhile-Oriental Bank of Commerce)\"\n }, {\n \"id\" : \"UNI_DIRECT\",\n \"name\" : \"PNB (Erstwhile-United Bank of India)\"\n }, {\n \"id\" : \"PMC_DIRECT\",\n \"name\" : \"Punjab & Maharastra Co-op Bank\"\n }, {\n \"id\" : \"PSB_DIRECT\",\n \"name\" : \"Punjab & Sind Bank\"\n }, {\n \"id\" : \"CPN_DIRECT\",\n \"name\" : \"Punjab National Bank - Corporate \"\n }, {\n \"id\" : \"PNB_DIRECT\",\n \"name\" : \"Punjab National Bank - Retail Banking\"\n }, {\n \"id\" : \"RBL_DIRECT\",\n \"name\" : \"RBL Bank Limited\"\n }, {\n \"id\" : \"SWB_DIRECT\",\n \"name\" : \"Saraswat Bank\"\n }, {\n \"id\" : \"SHB_DIRECT\",\n \"name\" : \"Shivalik Mercantile Cooperative Bank Ltd\"\n }, {\n \"id\" : \"SIB_DIRECT\",\n \"name\" : \"South Indian Bank\"\n }, {\n \"id\" : \"SCB_DIRECT\",\n \"name\" : \"Standard Chartered Bank\"\n }, {\n \"id\" : \"SBI_DIRECT\",\n \"name\" : \"State Bank of India\"\n }, {\n \"id\" : \"SRB_DIRECT\",\n \"name\" : \"Suryoday Small Finance Bank\"\n }, {\n \"id\" : \"TJB_DIRECT\",\n \"name\" : \"TJSB Bank\"\n }, {\n \"id\" : \"TNC_DIRECT\",\n \"name\" : \"Tamil Nadu State Co-operative Bank\"\n }, {\n \"id\" : \"TMB_DIRECT\",\n \"name\" : \"Tamilnad Mercantile Bank Ltd\"\n }, {\n \"id\" : \"TBB_DIRECT\",\n \"name\" : \"Thane Bharat Sahakari Bank Ltd\"\n }, {\n \"id\" : \"MSB_DIRECT\",\n \"name\" : \"The Mehsana Urban Co Op Bank Ltd\"\n }, {\n \"id\" : \"UCO_DIRECT\",\n \"name\" : \"UCO Bank\"\n }, {\n \"id\" : \"UBI_DIRECT\",\n \"name\" : \"Union Bank of India\"\n }, {\n \"id\" : \"ADB_DIRECT\",\n \"name\" : \"Union Bank of India (Erstwhile Andhra Bank)\"\n }, {\n \"id\" : \"CRP_DIRECT\",\n \"name\" : \"Union Bank of India (Erstwhile Corporation Bank)\"\n }, {\n \"id\" : \"VRB_DIRECT\",\n \"name\" : \"Varachha Co-operative Bank Limited\"\n }, {\n \"id\" : \"VJB_DIRECT\",\n \"name\" : \"Vijaya Bank\"\n }, {\n \"id\" : \"YBK_DIRECT\",\n \"name\" : \"Yes Bank\"\n }, {\n \"id\" : \"ZOB_DIRECT\",\n \"name\" : \"Zoroastrian Co-operative Bank Limited\"\n }, {\n \"id\" : \"DBS_DIRECT\",\n \"name\" : \"digibank by DBS\"\n } ],\n \"key\" : \"issuer\",\n \"type\" : \"select\"\n } ],\n \"name\" : \"Online Banking India\",\n \"type\" : \"billdesk_online\"\n }, {\n \"name\" : \"UPI\",\n \"type\" : \"billdesk_upi\"\n }, {\n \"details\" : [ {\n \"items\" : [ {\n \"id\" : \"DCW_DIRECT\",\n \"name\" : \"DCB Cippy\"\n }, {\n \"id\" : \"ICC_DIRECT\",\n \"name\" : \"ICC Cash Card\"\n }, {\n \"id\" : \"OXY_DIRECT\",\n \"name\" : \"Oxigen Wallet\"\n }, {\n \"id\" : \"PCH_DIRECT\",\n \"name\" : \"Pay World Money\"\n } ],\n \"key\" : \"issuer\",\n \"type\" : \"select\"\n } ],\n \"name\" : \"Wallets India\",\n \"type\" : \"billdesk_wallet\"\n }, {\n \"name\" : \"Blik\",\n \"type\" : \"blik\"\n }, {\n \"name\" : \"Bloemen Giftcard\",\n \"type\" : \"bloemengiftcard\"\n }, {\n \"name\" : \"Boekenbon Giftcard\",\n \"type\" : \"boekenbon\"\n }, {\n \"name\" : \"Boleto\",\n \"type\" : \"boleto\"\n }, {\n \"name\" : \"Boleto Bancario\",\n \"type\" : \"boletobancario_santander\"\n }, {\n \"name\" : \"Bradesco\",\n \"type\" : \"bradesco\"\n }, {\n \"name\" : \"Cash-Ticket\",\n \"type\" : \"cashticket\"\n }, {\n \"name\" : \"CashU\",\n \"type\" : \"cashu\"\n }, {\n \"name\" : \"CCAvenue\",\n \"type\" : \"ccavenue\"\n }, {\n \"name\" : \"Mula Checkout\",\n \"type\" : \"cellulant\"\n }, {\n \"name\" : \"Chasin Giftcard\",\n \"type\" : \"chasingiftcard\"\n }, {\n \"name\" : \"Clearpay\",\n \"type\" : \"clearpay\"\n }, {\n \"name\" : \"ClickandBuy\",\n \"type\" : \"clickandbuy\"\n }, {\n \"name\" : \"Paiement en 3 fois par Cartes Bancaires\",\n \"type\" : \"cofinoga_3xcb\"\n }, {\n \"name\" : \"Costes Giftcard\",\n \"type\" : \"costesgiftcard\"\n }, {\n \"name\" : \"custom_settlement\",\n \"type\" : \"custom_settlement\"\n }, {\n \"name\" : \"DANA\",\n \"type\" : \"dana\"\n }, {\n \"name\" : \"DineroMail\",\n \"type\" : \"dineromail\"\n }, {\n \"name\" : \"Online bank transfer.\",\n \"type\" : \"directEbanking\"\n }, {\n \"name\" : \"Direct Debit Brazil - Banco do Brazil\",\n \"type\" : \"directdebit_BR_bancodobrasil\"\n }, {\n \"name\" : \"Direct Debit Brazil - Bradesco\",\n \"type\" : \"directdebit_BR_bradesco\"\n }, {\n \"name\" : \"Direct Debit Brazil - Caixa Economica Federal\",\n \"type\" : \"directdebit_BR_caixa\"\n }, {\n \"name\" : \"Direct Debit Brazil - HSBC\",\n \"type\" : \"directdebit_BR_hsbc\"\n }, {\n \"name\" : \"Direct Debit Brazil - Itau\",\n \"type\" : \"directdebit_BR_itau\"\n }, {\n \"name\" : \"Direct Debit Brazil - Santander\",\n \"type\" : \"directdebit_BR_santander\"\n }, {\n \"name\" : \"BACS Direct Debit\",\n \"type\" : \"directdebit_GB\"\n }, {\n \"details\" : [ {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n }, {\n \"key\" : \"firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"lastName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"infix\",\n \"optional\" : true,\n \"type\" : \"text\"\n } ],\n \"name\" : \"Alfamart\",\n \"type\" : \"doku_alfamart\"\n }, {\n \"details\" : [ {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n }, {\n \"key\" : \"firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"lastName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"infix\",\n \"optional\" : true,\n \"type\" : \"text\"\n } ],\n \"name\" : \"BCA Bank Transfer\",\n \"type\" : \"doku_bca_va\"\n }, {\n \"details\" : [ {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n }, {\n \"key\" : \"firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"lastName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"infix\",\n \"optional\" : true,\n \"type\" : \"text\"\n } ],\n \"name\" : \"BNI VA\",\n \"type\" : \"doku_bni_va\"\n }, {\n \"details\" : [ {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n }, {\n \"key\" : \"firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"lastName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"infix\",\n \"optional\" : true,\n \"type\" : \"text\"\n } ],\n \"name\" : \"BRI VA\",\n \"type\" : \"doku_bri_va\"\n }, {\n \"details\" : [ {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n }, {\n \"key\" : \"firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"lastName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"infix\",\n \"optional\" : true,\n \"type\" : \"text\"\n } ],\n \"name\" : \"CIMB VA\",\n \"type\" : \"doku_cimb_va\"\n }, {\n \"details\" : [ {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n }, {\n \"key\" : \"firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"lastName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"infix\",\n \"optional\" : true,\n \"type\" : \"text\"\n } ],\n \"name\" : \"Danamon VA\",\n \"type\" : \"doku_danamon_va\"\n }, {\n \"details\" : [ {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n }, {\n \"key\" : \"firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"lastName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"infix\",\n \"optional\" : true,\n \"type\" : \"text\"\n } ],\n \"name\" : \"Indomaret\",\n \"type\" : \"doku_indomaret\"\n }, {\n \"details\" : [ {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n }, {\n \"key\" : \"firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"lastName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"infix\",\n \"optional\" : true,\n \"type\" : \"text\"\n } ],\n \"name\" : \"Mandiri VA\",\n \"type\" : \"doku_mandiri_va\"\n }, {\n \"details\" : [ {\n \"key\" : \"ovoId\",\n \"type\" : \"text\"\n } ],\n \"name\" : \"OVO\",\n \"type\" : \"doku_ovo\"\n }, {\n \"details\" : [ {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n }, {\n \"key\" : \"firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"lastName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"infix\",\n \"optional\" : true,\n \"type\" : \"text\"\n } ],\n \"name\" : \"Bank Transfer\",\n \"type\" : \"doku_permata_lite_atm\"\n }, {\n \"details\" : [ {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n }, {\n \"key\" : \"firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"lastName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"infix\",\n \"optional\" : true,\n \"type\" : \"text\"\n } ],\n \"name\" : \"DOKU wallet\",\n \"type\" : \"doku_wallet\"\n }, {\n \"details\" : [ {\n \"items\" : [ {\n \"id\" : \"66\",\n \"name\" : \"Bank Nowy BFG S.A.\"\n }, {\n \"id\" : \"92\",\n \"name\" : \"Bank Spółdzielczy w Brodnicy\"\n }, {\n \"id\" : \"11\",\n \"name\" : \"Bank transfer / postal\"\n }, {\n \"id\" : \"74\",\n \"name\" : \"Banki Spółdzielcze\"\n }, {\n \"id\" : \"73\",\n \"name\" : \"BLIK\"\n }, {\n \"id\" : \"90\",\n \"name\" : \"BNP Paribas - płacę z Pl@net\"\n }, {\n \"id\" : \"59\",\n \"name\" : \"CinkciarzPAY\"\n }, {\n \"id\" : \"87\",\n \"name\" : \"Credit Agricole PBL\"\n }, {\n \"id\" : \"83\",\n \"name\" : \"EnveloBank\"\n }, {\n \"id\" : \"76\",\n \"name\" : \"Getin Bank PBL\"\n }, {\n \"id\" : \"81\",\n \"name\" : \"Idea Cloud\"\n }, {\n \"id\" : \"7\",\n \"name\" : \"ING Corporate customers\"\n }, {\n \"id\" : \"93\",\n \"name\" : \"Kasa Stefczyka\"\n }, {\n \"id\" : \"44\",\n \"name\" : \"Millennium - Płatności Internetowe\"\n }, {\n \"id\" : \"10\",\n \"name\" : \"Millennium Corporate customers\"\n }, {\n \"id\" : \"68\",\n \"name\" : \"mRaty\"\n }, {\n \"id\" : \"1\",\n \"name\" : \"mTransfer\"\n }, {\n \"id\" : \"91\",\n \"name\" : \"Nest Bank\"\n }, {\n \"id\" : \"80\",\n \"name\" : \"Noble Pay\"\n }, {\n \"id\" : \"50\",\n \"name\" : \"Pay Way Toyota Bank\"\n }, {\n \"id\" : \"45\",\n \"name\" : \"Pay with Alior Bank\"\n }, {\n \"id\" : \"36\",\n \"name\" : \"Pekao24Przelew\"\n }, {\n \"id\" : \"70\",\n \"name\" : \"Pocztowy24\"\n }, {\n \"id\" : \"6\",\n \"name\" : \"Przelew24\"\n }, {\n \"id\" : \"46\",\n \"name\" : \"Płacę z Citi Handlowy\"\n }, {\n \"id\" : \"38\",\n \"name\" : \"Płacę z ING\"\n }, {\n \"id\" : \"2\",\n \"name\" : \"Płacę z Inteligo\"\n }, {\n \"id\" : \"4\",\n \"name\" : \"Płacę z iPKO\"\n }, {\n \"id\" : \"75\",\n \"name\" : \"Płacę z Plus Bank\"\n }, {\n \"id\" : \"51\",\n \"name\" : \"Płać z BOŚ\"\n }, {\n \"id\" : \"55\",\n \"name\" : \"Raty z Alior Bankiem PLN\"\n }, {\n \"id\" : \"89\",\n \"name\" : \"Santander\"\n }, {\n \"id\" : \"52\",\n \"name\" : \"SkyCash\"\n } ],\n \"key\" : \"issuer\",\n \"type\" : \"select\"\n } ],\n \"name\" : \"Local Polish Payment Methods\",\n \"type\" : \"dotpay\"\n }, {\n \"name\" : \"Dragonpay Prepaid Credits\",\n \"type\" : \"dragonpay_credits\"\n }, {\n \"name\" : \"Online Banking\",\n \"type\" : \"dragonpay_ebanking\"\n }, {\n \"name\" : \"GCash\",\n \"type\" : \"dragonpay_gcash\"\n }, {\n \"name\" : \"Over The Counter Banks\",\n \"type\" : \"dragonpay_otc_banking\"\n }, {\n \"name\" : \"OTC non-Bank via Dragonpay\",\n \"type\" : \"dragonpay_otc_non_banking\"\n }, {\n \"name\" : \"Convenience Stores\",\n \"type\" : \"dragonpay_otc_philippines\"\n }, {\n \"name\" : \"7/11\",\n \"type\" : \"dragonpay_seveneleven\"\n }, {\n \"name\" : \"eagleeye_voucher\",\n \"type\" : \"eagleeye_voucher\"\n }, {\n \"name\" : \"Finnish E-Banking\",\n \"type\" : \"ebanking_FI\"\n }, {\n \"name\" : \"Pay-easy ATM\",\n \"type\" : \"econtext_atm\"\n }, {\n \"name\" : \"Online Banking\",\n \"type\" : \"econtext_online\"\n }, {\n \"name\" : \"7-Eleven\",\n \"type\" : \"econtext_seven_eleven\"\n }, {\n \"name\" : \"Convenience Stores\",\n \"type\" : \"econtext_stores\"\n }, {\n \"name\" : \"eft_directdebit_CA\",\n \"type\" : \"eft_directdebit_CA\"\n }, {\n \"name\" : \"Lastschrift (ELV)\",\n \"type\" : \"elv\"\n }, {\n \"details\" : [ {\n \"items\" : [ {\n \"id\" : \"231\",\n \"name\" : \"POP Pankki\"\n }, {\n \"id\" : \"551\",\n \"name\" : \"Komerční banka\"\n }, {\n \"id\" : \"232\",\n \"name\" : \"Aktia\"\n }, {\n \"id\" : \"552\",\n \"name\" : \"Raiffeisen\"\n }, {\n \"id\" : \"233\",\n \"name\" : \"Säästöpankki\"\n }, {\n \"id\" : \"750\",\n \"name\" : \"Swedbank\"\n }, {\n \"id\" : \"211\",\n \"name\" : \"Nordea\"\n }, {\n \"id\" : \"553\",\n \"name\" : \"ČSOB\"\n }, {\n \"id\" : \"234\",\n \"name\" : \"S-Pankki\"\n }, {\n \"id\" : \"751\",\n \"name\" : \"SEB\"\n }, {\n \"id\" : \"554\",\n \"name\" : \"Moneta\"\n }, {\n \"id\" : \"235\",\n \"name\" : \"OmaSP\"\n }, {\n \"id\" : \"752\",\n \"name\" : \"Nordea\"\n }, {\n \"id\" : \"213\",\n \"name\" : \"Op-Pohjola\"\n }, {\n \"id\" : \"555\",\n \"name\" : \"UniCredit\"\n }, {\n \"id\" : \"753\",\n \"name\" : \"LHV\"\n }, {\n \"id\" : \"556\",\n \"name\" : \"Fio\"\n }, {\n \"id\" : \"557\",\n \"name\" : \"mBank\"\n }, {\n \"id\" : \"216\",\n \"name\" : \"Handelsbanken\"\n }, {\n \"id\" : \"558\",\n \"name\" : \"Air Bank\"\n }, {\n \"id\" : \"260\",\n \"name\" : \"Länsförsäkringar\"\n }, {\n \"id\" : \"240\",\n \"name\" : \"BankDeposit\"\n }, {\n \"id\" : \"265\",\n \"name\" : \"Sparbanken\"\n }, {\n \"id\" : \"640\",\n \"name\" : \"BankDeposit\"\n }, {\n \"id\" : \"200\",\n \"name\" : \"Ålandsbanken\"\n }, {\n \"id\" : \"940\",\n \"name\" : \"Swedbank\"\n }, {\n \"id\" : \"500\",\n \"name\" : \"Česká spořitelna\"\n }, {\n \"id\" : \"720\",\n \"name\" : \"Swedbank\"\n }, {\n \"id\" : \"941\",\n \"name\" : \"SEB\"\n }, {\n \"id\" : \"204\",\n \"name\" : \"Danske Bank\"\n }, {\n \"id\" : \"721\",\n \"name\" : \"SEB\"\n }, {\n \"id\" : \"942\",\n \"name\" : \"Citadele\"\n }, {\n \"id\" : \"205\",\n \"name\" : \"Handelsbanken\"\n }, {\n \"id\" : \"722\",\n \"name\" : \"DNB\"\n }, {\n \"id\" : \"943\",\n \"name\" : \"DNB\"\n }, {\n \"id\" : \"206\",\n \"name\" : \"Nordea\"\n }, {\n \"id\" : \"723\",\n \"name\" : \"Šiaulių bankas\"\n }, {\n \"id\" : \"207\",\n \"name\" : \"SEB\"\n }, {\n \"id\" : \"724\",\n \"name\" : \"Nordea\"\n }, {\n \"id\" : \"505\",\n \"name\" : \"Komerční banka\"\n }, {\n \"id\" : \"208\",\n \"name\" : \"Skandiabanken\"\n }, {\n \"id\" : \"209\",\n \"name\" : \"Swedbank\"\n } ],\n \"key\" : \"issuer\",\n \"type\" : \"select\"\n } ],\n \"name\" : \"Bank Payment\",\n \"type\" : \"entercash\"\n }, {\n \"name\" : \"Nationale Entertainment Card\",\n \"type\" : \"entertainmentcard\"\n }, {\n \"details\" : [ {\n \"items\" : [ {\n \"id\" : \"d5d5b133-1c0d-4c08-b2be-3c9b116dc326\",\n \"name\" : \"Dolomitenbank\"\n }, {\n \"id\" : \"ee9fc487-ebe0-486c-8101-17dce5141a67\",\n \"name\" : \"Raiffeissen Bankengruppe\"\n }, {\n \"id\" : \"6765e225-a0dc-4481-9666-e26303d4f221\",\n \"name\" : \"Hypo Tirol Bank AG\"\n }, {\n \"id\" : \"8b0bfeea-fbb0-4337-b3a1-0e25c0f060fc\",\n \"name\" : \"Sparda Bank Wien\"\n }, {\n \"id\" : \"1190c4d1-b37a-487e-9355-e0a067f54a9f\",\n \"name\" : \"Schoellerbank AG\"\n }, {\n \"id\" : \"e2e97aaa-de4c-4e18-9431-d99790773433\",\n \"name\" : \"Volksbank Gruppe\"\n }, {\n \"id\" : \"bb7d223a-17d5-48af-a6ef-8a2bf5a4e5d9\",\n \"name\" : \"Immo-Bank\"\n }, {\n \"id\" : \"e6819e7a-f663-414b-92ec-cf7c82d2f4e5\",\n \"name\" : \"Bank Austria\"\n }, {\n \"id\" : \"eff103e6-843d-48b7-a6e6-fbd88f511b11\",\n \"name\" : \"Easybank AG\"\n }, {\n \"id\" : \"25942cc9-617d-42a1-89ba-d1ab5a05770a\",\n \"name\" : \"VR-BankBraunau\"\n }, {\n \"id\" : \"4a0a975b-0594-4b40-9068-39f77b3a91f9\",\n \"name\" : \"Volkskreditbank\"\n }, {\n \"id\" : \"3fdc41fc-3d3d-4ee3-a1fe-cd79cfd58ea3\",\n \"name\" : \"Erste Bank und Sparkassen\"\n }, {\n \"id\" : \"ba7199cc-f057-42f2-9856-2378abf21638\",\n \"name\" : \"BAWAG P.S.K. Gruppe\"\n } ],\n \"key\" : \"issuer\",\n \"type\" : \"select\"\n } ],\n \"name\" : \"EPS\",\n \"type\" : \"eps\"\n }, {\n \"name\" : \"Expert Cadeaukaart\",\n \"type\" : \"expertgiftcard\"\n }, {\n \"details\" : [ {\n \"details\" : [ {\n \"key\" : \"firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"lastName\",\n \"type\" : \"text\"\n }, {\n \"items\" : [ {\n \"id\" : \"M\",\n \"name\" : \"male\"\n }, {\n \"id\" : \"F\",\n \"name\" : \"female\"\n } ],\n \"key\" : \"gender\",\n \"type\" : \"radio\"\n }, {\n \"key\" : \"telephoneNumber\",\n \"type\" : \"tel\"\n }, {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n } ],\n \"key\" : \"personalDetails\",\n \"type\" : \"fieldSet\"\n }, {\n \"details\" : [ {\n \"key\" : \"street\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"houseNumberOrName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"city\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"postalCode\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"stateOrProvince\",\n \"optional\" : true,\n \"type\" : \"text\"\n }, {\n \"items\" : [ {\n \"id\" : \"FR\",\n \"name\" : \"France\"\n }, {\n \"id\" : \"ES\",\n \"name\" : \"Spain\"\n } ],\n \"key\" : \"country\",\n \"type\" : \"select\"\n } ],\n \"key\" : \"billingAddress\",\n \"type\" : \"address\"\n }, {\n \"key\" : \"separateDeliveryAddress\",\n \"optional\" : true,\n \"type\" : \"boolean\",\n \"value\" : \"false\"\n }, {\n \"details\" : [ {\n \"key\" : \"street\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"houseNumberOrName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"city\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"postalCode\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"stateOrProvince\",\n \"optional\" : true,\n \"type\" : \"text\"\n }, {\n \"items\" : [ {\n \"id\" : \"FR\",\n \"name\" : \"France\"\n }, {\n \"id\" : \"ES\",\n \"name\" : \"Spain\"\n } ],\n \"key\" : \"country\",\n \"type\" : \"select\"\n } ],\n \"key\" : \"deliveryAddress\",\n \"optional\" : true,\n \"type\" : \"address\"\n } ],\n \"name\" : \"3x Oney\",\n \"type\" : \"facilypay_3x\"\n }, {\n \"details\" : [ {\n \"details\" : [ {\n \"key\" : \"firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"lastName\",\n \"type\" : \"text\"\n }, {\n \"items\" : [ {\n \"id\" : \"M\",\n \"name\" : \"male\"\n }, {\n \"id\" : \"F\",\n \"name\" : \"female\"\n } ],\n \"key\" : \"gender\",\n \"type\" : \"radio\"\n }, {\n \"key\" : \"telephoneNumber\",\n \"type\" : \"tel\"\n }, {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n } ],\n \"key\" : \"personalDetails\",\n \"type\" : \"fieldSet\"\n }, {\n \"details\" : [ {\n \"key\" : \"street\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"houseNumberOrName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"city\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"postalCode\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"stateOrProvince\",\n \"optional\" : true,\n \"type\" : \"text\"\n }, {\n \"items\" : [ {\n \"id\" : \"FR\",\n \"name\" : \"France\"\n }, {\n \"id\" : \"ES\",\n \"name\" : \"Spain\"\n } ],\n \"key\" : \"country\",\n \"type\" : \"select\"\n } ],\n \"key\" : \"billingAddress\",\n \"type\" : \"address\"\n }, {\n \"key\" : \"separateDeliveryAddress\",\n \"optional\" : true,\n \"type\" : \"boolean\",\n \"value\" : \"false\"\n }, {\n \"details\" : [ {\n \"key\" : \"street\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"houseNumberOrName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"city\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"postalCode\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"stateOrProvince\",\n \"optional\" : true,\n \"type\" : \"text\"\n }, {\n \"items\" : [ {\n \"id\" : \"FR\",\n \"name\" : \"France\"\n }, {\n \"id\" : \"ES\",\n \"name\" : \"Spain\"\n } ],\n \"key\" : \"country\",\n \"type\" : \"select\"\n } ],\n \"key\" : \"deliveryAddress\",\n \"optional\" : true,\n \"type\" : \"address\"\n } ],\n \"name\" : \"4x Oney\",\n \"type\" : \"facilypay_4x\"\n }, {\n \"name\" : \"Fashioncheque\",\n \"type\" : \"fashioncheque\"\n }, {\n \"details\" : [ {\n \"key\" : \"shopper.firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"shopper.lastName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"shopper.gender\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n }, {\n \"key\" : \"telephoneNumber\",\n \"type\" : \"tel\"\n }, {\n \"key\" : \"countryCode\",\n \"type\" : \"text\"\n } ],\n \"name\" : \"Fawry\",\n \"type\" : \"fawry\"\n }, {\n \"name\" : \"FijnCadeau\",\n \"type\" : \"fijncadeau\"\n }, {\n \"name\" : \"Fleurop Bloemenbon\",\n \"type\" : \"fleuropbloemenbon\"\n }, {\n \"name\" : \"Fonq Giftcard\",\n \"type\" : \"fonqgiftcard\"\n }, {\n \"name\" : \"Gall & Gall\",\n \"type\" : \"gallgall\"\n }, {\n \"name\" : \"GCash\",\n \"type\" : \"gcash\"\n }, {\n \"name\" : \"Generic GiftCard\",\n \"type\" : \"genericgiftcard\"\n }, {\n \"name\" : \"GiftFor2\",\n \"type\" : \"giftfor2card\"\n }, {\n \"name\" : \"Givex\",\n \"type\" : \"givex\"\n }, {\n \"name\" : \"Globe GCash\",\n \"type\" : \"globegcash\"\n }, {\n \"name\" : \"Goldsmiths Card\",\n \"type\" : \"goldsmithscard\"\n }, {\n \"name\" : \"GoPay Wallet\",\n \"type\" : \"gopay_wallet\"\n }, {\n \"name\" : \"OVO\",\n \"type\" : \"grabpay_ID\"\n }, {\n \"name\" : \"GrabPay\",\n \"type\" : \"grabpay_PH\"\n }, {\n \"name\" : \"GrabPay\",\n \"type\" : \"grabpay_SG\"\n }, {\n \"name\" : \"Hallmark Card\",\n \"type\" : \"hallmarkcard\"\n }, {\n \"name\" : \"HDFC\",\n \"type\" : \"hdfc\"\n }, {\n \"name\" : \"Hunkemoller Member Card\",\n \"type\" : \"hmclub\"\n }, {\n \"name\" : \"Hunkemoller Lingerie Card\",\n \"type\" : \"hmlingerie\"\n }, {\n \"details\" : [ {\n \"items\" : [ {\n \"id\" : \"1121\",\n \"name\" : \"Test Issuer\"\n }, {\n \"id\" : \"1154\",\n \"name\" : \"Test Issuer 5\"\n }, {\n \"id\" : \"1153\",\n \"name\" : \"Test Issuer 4\"\n }, {\n \"id\" : \"1152\",\n \"name\" : \"Test Issuer 3\"\n }, {\n \"id\" : \"1151\",\n \"name\" : \"Test Issuer 2\"\n }, {\n \"id\" : \"1162\",\n \"name\" : \"Test Issuer Cancelled\"\n }, {\n \"id\" : \"1161\",\n \"name\" : \"Test Issuer Pending\"\n }, {\n \"id\" : \"1160\",\n \"name\" : \"Test Issuer Refused\"\n }, {\n \"id\" : \"1159\",\n \"name\" : \"Test Issuer 10\"\n }, {\n \"id\" : \"1158\",\n \"name\" : \"Test Issuer 9\"\n }, {\n \"id\" : \"1157\",\n \"name\" : \"Test Issuer 8\"\n }, {\n \"id\" : \"1156\",\n \"name\" : \"Test Issuer 7\"\n }, {\n \"id\" : \"1155\",\n \"name\" : \"Test Issuer 6\"\n } ],\n \"key\" : \"issuer\",\n \"type\" : \"select\"\n } ],\n \"name\" : \"iDEAL\",\n \"type\" : \"ideal\"\n }, {\n \"name\" : \"igive\",\n \"type\" : \"igive\"\n }, {\n \"name\" : \"Korean Account Transfer (IniPay)\",\n \"type\" : \"inicisIniPay_accounttransfer\"\n }, {\n \"name\" : \"Korean Credit Cards (IniPay)\",\n \"type\" : \"inicisIniPay_creditcard\"\n }, {\n \"name\" : \"Korean Mobile Phone (IniPay)\",\n \"type\" : \"inicisIniPay_mobilephone\"\n }, {\n \"name\" : \"Korean Virtual Account (IniPay)\",\n \"type\" : \"inicisIniPay_virtualaccount\"\n }, {\n \"name\" : \"Korean Account Transfer (Mobile)\",\n \"type\" : \"inicisMobile_accounttransfer\"\n }, {\n \"name\" : \"Korean Credit Cards (Mobile)\",\n \"type\" : \"inicisMobile_creditcard\"\n }, {\n \"name\" : \"Korean Mobile Phone (Mobile)\",\n \"type\" : \"inicisMobile_mobilephone\"\n }, {\n \"name\" : \"Korean Virtual Account (Mobile)\",\n \"type\" : \"inicisMobile_virtualaccount\"\n }, {\n \"name\" : \"Korean Credit Cards\",\n \"type\" : \"inicis_creditcard\"\n }, {\n \"name\" : \"Interac® Online\",\n \"type\" : \"interac\"\n }, {\n \"name\" : \"Instant EFT\",\n \"type\" : \"ipay\"\n }, {\n \"name\" : \"iPay88\",\n \"type\" : \"ipay88\"\n }, {\n \"name\" : \"isracard\",\n \"type\" : \"isracard\"\n }, {\n \"name\" : \"Phone Payment\",\n \"type\" : \"ivr\"\n }, {\n \"name\" : \"Landline phone\",\n \"type\" : \"ivrLandline\"\n }, {\n \"name\" : \"Mobile phone\",\n \"type\" : \"ivrMobile\"\n }, {\n \"name\" : \"Kado Wereld\",\n \"type\" : \"kadowereld\"\n }, {\n \"name\" : \"KakaoPay\",\n \"type\" : \"kakaopay\"\n }, {\n \"name\" : \"Karen Millen Card\",\n \"type\" : \"karenmillen\"\n }, {\n \"name\" : \"Karen Millen GiftCard\",\n \"type\" : \"karenmillengiftcard\"\n }, {\n \"name\" : \"Bank Transfer\",\n \"type\" : \"kcp_banktransfer\"\n }, {\n \"name\" : \"Korea–issued cards\",\n \"type\" : \"kcp_creditcard\"\n }, {\n \"name\" : \"PayCo\",\n \"type\" : \"kcp_payco\"\n }, {\n \"name\" : \"Naver Pay\",\n \"type\" : \"kcp_naverpay\"\n }, {\n \"name\" : \"Virtual Account via KCP\",\n \"type\" : \"kcp_va\"\n }, {\n \"name\" : \"Pay later with Klarna.\",\n \"type\" : \"klarna\"\n }, {\n \"name\" : \"Pay over time with Klarna.\",\n \"type\" : \"klarna_account\"\n }, {\n \"name\" : \"Buy Now, Pay Later with Billie\",\n \"type\" : \"klarna_b2b\"\n }, {\n \"name\" : \"Pay now with Klarna.\",\n \"type\" : \"klarna_paynow\"\n }, {\n \"name\" : \"Leisure Card\",\n \"type\" : \"leisurecard\"\n }, {\n \"name\" : \"China Credit Card\",\n \"type\" : \"lianlianpay_creditcard\"\n }, {\n \"name\" : \"China Debit Card\",\n \"type\" : \"lianlianpay_debitcard\"\n }, {\n \"details\" : [ {\n \"key\" : \"telephoneNumber\",\n \"type\" : \"tel\"\n } ],\n \"name\" : \"China Online Banking - Credit Card\",\n \"type\" : \"lianlianpay_ebanking_credit\"\n }, {\n \"details\" : [ {\n \"items\" : [ {\n \"id\" : \"01030000\",\n \"name\" : \"Agricultural Bank of China\"\n }, {\n \"id\" : \"4031000\",\n \"name\" : \"Bank of Beijing\"\n }, {\n \"id\" : \"01040000\",\n \"name\" : \"Bank of China\"\n }, {\n \"id\" : \"03020000\",\n \"name\" : \"China Citic Bank\"\n }, {\n \"id\" : \"01050000\",\n \"name\" : \"China Construction Bank\"\n }, {\n \"id\" : \"03030000\",\n \"name\" : \"China Everbright Bank\"\n }, {\n \"id\" : \"03080000\",\n \"name\" : \"China Merchants Bank\"\n }, {\n \"id\" : \"03050000\",\n \"name\" : \"China Minsheng Banking Group\"\n }, {\n \"id\" : \"03040000\",\n \"name\" : \"Hua Xia Bank Co\"\n }, {\n \"id\" : \"01020000\",\n \"name\" : \"Industrial and Commercial Bank of China\"\n }, {\n \"id\" : \"03070000\",\n \"name\" : \"PingAn Bank\"\n }, {\n \"id\" : \"1000000\",\n \"name\" : \"Postal Savings Bank of China\"\n } ],\n \"key\" : \"issuer\",\n \"type\" : \"select\"\n }, {\n \"key\" : \"telephoneNumber\",\n \"type\" : \"tel\"\n } ],\n \"name\" : \"China Online Banking - Debit Card\",\n \"type\" : \"lianlianpay_ebanking_debit\"\n }, {\n \"details\" : [ {\n \"items\" : [ {\n \"id\" : \"01030000\",\n \"name\" : \"Agricultural Bank of China\"\n }, {\n \"id\" : \"01050000\",\n \"name\" : \"China Construction Bank\"\n }, {\n \"id\" : \"03080000\",\n \"name\" : \"China Merchants Bank\"\n }, {\n \"id\" : \"01020000\",\n \"name\" : \"Industrial and Commercial Bank of China\"\n }, {\n \"id\" : \"03100000\",\n \"name\" : \"Shanghai Pudong Development Bank\"\n } ],\n \"key\" : \"issuer\",\n \"type\" : \"select\"\n }, {\n \"key\" : \"telephoneNumber\",\n \"type\" : \"tel\"\n } ],\n \"name\" : \"China Online Banking - Enterprise\",\n \"type\" : \"lianlianpay_ebanking_enterprise\"\n }, {\n \"name\" : \"Loods5 Cadeaukaart\",\n \"type\" : \"loods5giftcard\"\n }, {\n \"name\" : \"Loods5 Tegoedbon\",\n \"type\" : \"loods5prepaidcard\"\n }, {\n \"name\" : \"Love2Shop GiftCard\",\n \"type\" : \"love2shop\"\n }, {\n \"details\" : [ {\n \"key\" : \"shopper.firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"shopper.lastName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"shopper.gender\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n }, {\n \"key\" : \"telephoneNumber\",\n \"type\" : \"tel\"\n }, {\n \"key\" : \"countryCode\",\n \"type\" : \"text\"\n } ],\n \"name\" : \"mada\",\n \"type\" : \"mada\"\n }, {\n \"name\" : \"Mappin & Webb Card\",\n \"type\" : \"mappinwebbcard\"\n }, {\n \"name\" : \"MB WAY\",\n \"type\" : \"mbway\"\n }, {\n \"details\" : [ {\n \"key\" : \"additionalData.amazonPayToken\",\n \"type\" : \"text\"\n } ],\n \"name\" : \"Amazon Pay\",\n \"type\" : \"amazonpay\"\n }, {\n \"name\" : \"Mercado Pago\",\n \"type\" : \"mercadopago\"\n }, {\n \"name\" : \"MobilePay\",\n \"type\" : \"mobilepay\"\n }, {\n \"name\" : \"AliPay via Razer Merchant Services\",\n \"type\" : \"molpay_alipay\"\n }, {\n \"name\" : \"7-Eleven\",\n \"type\" : \"molpay_cash\"\n }, {\n \"name\" : \"CIMB Virtual Account\",\n \"type\" : \"molpay_cimb_va\"\n }, {\n \"name\" : \"Malaysia E-Banking via Razer Merchant Services\",\n \"type\" : \"molpay_ebanking_MY\"\n }, {\n \"details\" : [ {\n \"items\" : [ {\n \"id\" : \"vtcpay-vietinbank\",\n \"name\" : \"Vietinbank\"\n }, {\n \"id\" : \"vtcpay-bidv\",\n \"name\" : \"BIDV\"\n }, {\n \"id\" : \"vtcpay-agribank\",\n \"name\" : \"Agribank\"\n }, {\n \"id\" : \"vtcpay-mb\",\n \"name\" : \"MB Bank\"\n }, {\n \"id\" : \"vtcpay-sacombank\",\n \"name\" : \"Sacombank\"\n }, {\n \"id\" : \"vtcpay-dongabank\",\n \"name\" : \"DongABank\"\n }, {\n \"id\" : \"vtcpay-maritimebank\",\n \"name\" : \"MaritimeBank\"\n }, {\n \"id\" : \"vtcpay-vietcombank\",\n \"name\" : \"Vietcombank\"\n }, {\n \"id\" : \"vtcpay-acb\",\n \"name\" : \"ACB\"\n }, {\n \"id\" : \"vtcpay-techcombank\",\n \"name\" : \"Techcombank\"\n } ],\n \"key\" : \"issuer\",\n \"type\" : \"select\"\n } ],\n \"name\" : \"Vietnam E-Banking\",\n \"type\" : \"molpay_ebanking_VN\"\n }, {\n \"details\" : [ {\n \"items\" : [ {\n \"id\" : \"fpx_bimb\",\n \"name\" : \"Bank Islam\"\n }, {\n \"id\" : \"fpx_uob\",\n \"name\" : \"UOB Bank\"\n }, {\n \"id\" : \"fpx_cimbclicks\",\n \"name\" : \"CIMB Clicks\"\n }, {\n \"id\" : \"fpx_kfh\",\n \"name\" : \"Kuwait Finance House\"\n }, {\n \"id\" : \"fpx_rhb\",\n \"name\" : \"RHB Now\"\n }, {\n \"id\" : \"fpx_abmb\",\n \"name\" : \"Alliance Bank\"\n }, {\n \"id\" : \"fpx_amb\",\n \"name\" : \"Am Online\"\n }, {\n \"id\" : \"fpx_hsbc\",\n \"name\" : \"HSBC\"\n }, {\n \"id\" : \"fpx_abb\",\n \"name\" : \"Affin Bank\"\n }, {\n \"id\" : \"fpx_ocbc\",\n \"name\" : \"OCBC Bank\"\n }, {\n \"id\" : \"fpx_pbb\",\n \"name\" : \"Public Bank\"\n }, {\n \"id\" : \"fpx_scb\",\n \"name\" : \"Standard Chartered Bank\"\n }, {\n \"id\" : \"fpx_bsn\",\n \"name\" : \"Bank Simpanan Nasional\"\n }, {\n \"id\" : \"fpx_mb2u\",\n \"name\" : \"Maybank2u\"\n }, {\n \"id\" : \"fpx_hlb\",\n \"name\" : \"Hong Leong Connect\"\n }, {\n \"id\" : \"fpx_bmmb\",\n \"name\" : \"Bank Muamalat\"\n }, {\n \"id\" : \"fpx_bkrm\",\n \"name\" : \"Bank Rakyat\"\n } ],\n \"key\" : \"issuer\",\n \"type\" : \"select\"\n } ],\n \"name\" : \"Malaysia E-Banking\",\n \"type\" : \"molpay_ebanking_fpx_MY\"\n }, {\n \"name\" : \"eNETS Debit\",\n \"type\" : \"molpay_enetsd\"\n }, {\n \"name\" : \"epay\",\n \"type\" : \"molpay_epay\"\n }, {\n \"name\" : \"Esapay\",\n \"type\" : \"molpay_esapay\"\n }, {\n \"name\" : \"MyClear FPX\",\n \"type\" : \"molpay_fpx\"\n }, {\n \"name\" : \"Maybank2u\",\n \"type\" : \"molpay_maybank2u\"\n }, {\n \"name\" : \"Nganluong\",\n \"type\" : \"molpay_nganluong\"\n }, {\n \"name\" : \"Convenience Stores Thailand\",\n \"type\" : \"molpay_paysbuy\"\n }, {\n \"name\" : \"MOLPoints\",\n \"type\" : \"molpay_points\"\n }, {\n \"name\" : \"RHB Now\",\n \"type\" : \"molpay_rhb\"\n }, {\n \"name\" : \"SAM by SingPost\",\n \"type\" : \"molpay_singpost\"\n }, {\n \"name\" : \"MOLWallet\",\n \"type\" : \"molpay_wallet\"\n }, {\n \"name\" : \"MoMo ATM\",\n \"type\" : \"momo_atm\"\n }, {\n \"name\" : \"Momo Wallet\",\n \"type\" : \"momo_wallet\"\n }, {\n \"name\" : \"Moneybookers\",\n \"type\" : \"moneybookers\"\n }, {\n \"name\" : \"Multibanco\",\n \"type\" : \"multibanco\"\n }, {\n \"name\" : \"De Nationale Musicalcard\",\n \"type\" : \"musicalcard\"\n }, {\n \"name\" : \"Nationale Bioscoopbon\",\n \"type\" : \"nationalebioscoopbon\"\n }, {\n \"name\" : \"Nationale Tuinbon\",\n \"type\" : \"nationaletuinbon\"\n }, {\n \"name\" : \"Nationale Verwen Cadeaubon\",\n \"type\" : \"nationaleverwencadeaubon\"\n }, {\n \"name\" : \"BankAxess\",\n \"type\" : \"netaxept_bankaxess\"\n }, {\n \"name\" : \"NETELLER\",\n \"type\" : \"neteller\"\n }, {\n \"name\" : \"Onebip\",\n \"type\" : \"onebip\"\n }, {\n \"name\" : \"One Two Three\",\n \"type\" : \"onetwothree\"\n }, {\n \"name\" : \"Online Banking PL\",\n \"type\" : \"onlineBanking_PL\"\n }, {\n \"details\" : [ {\n \"items\" : [ {\n \"id\" : \"1\",\n \"name\" : \"Model Bank v2\"\n } ],\n \"key\" : \"issuer\",\n \"type\" : \"select\"\n } ],\n \"name\" : \"Online banking\",\n \"type\" : \"openbanking_UK\"\n }, {\n \"name\" : \"Oxxo\",\n \"type\" : \"oxxo\"\n }, {\n \"name\" : \"Pathe Giftcard\",\n \"type\" : \"pathegiftcard\"\n }, {\n \"name\" : \"PayBright\",\n \"type\" : \"paybright\"\n }, {\n \"name\" : \"Maya Wallet\",\n \"type\" : \"paymaya_wallet\"\n }, {\n \"name\" : \"PayPal\",\n \"type\" : \"paypal\"\n }, {\n \"name\" : \"Paysafecard\",\n \"type\" : \"paysafecard\"\n }, {\n \"name\" : \"Payshop\",\n \"type\" : \"payshop\"\n }, {\n \"name\" : \"PayD AMT via Paythru\",\n \"type\" : \"paythru_amt\"\n }, {\n \"name\" : \"EFT via Paythru\",\n \"type\" : \"paythru_eft\"\n }, {\n \"name\" : \"PayTM\",\n \"type\" : \"paytm\"\n }, {\n \"details\" : [ {\n \"key\" : \"virtualPaymentAddress\",\n \"type\" : \"text\"\n } ],\n \"name\" : \"PayU UPI\",\n \"type\" : \"payu_IN_upi\"\n }, {\n \"name\" : \"EFT Pro via PayU\",\n \"type\" : \"payu_ZA_eftpro\"\n }, {\n \"details\" : [ {\n \"key\" : \"additionalData.paywithgoogle.token\",\n \"type\" : \"payWithGoogleToken\"\n } ],\n \"name\" : \"Google Pay\",\n \"type\" : \"paywithgoogle\"\n }, {\n \"name\" : \"pix\",\n \"type\" : \"pix\"\n }, {\n \"name\" : \"Plastix\",\n \"type\" : \"plastix\"\n }, {\n \"name\" : \"Pluim\",\n \"type\" : \"pluimgiftcard\"\n }, {\n \"name\" : \"Podium Card\",\n \"type\" : \"podiumcard\"\n }, {\n \"name\" : \"POLi\",\n \"type\" : \"poli\"\n }, {\n \"name\" : \"PPS\",\n \"type\" : \"pps\"\n }, {\n \"name\" : \"Primera Cadeaukaart\",\n \"type\" : \"primeracadeaucard\"\n }, {\n \"name\" : \"Illicado Gift Card\",\n \"type\" : \"prosodie_illicado\"\n }, {\n \"name\" : \"PSE\",\n \"type\" : \"pse\"\n }, {\n \"details\" : [ {\n \"items\" : [ {\n \"id\" : \"+7\",\n \"name\" : \"RU\"\n }, {\n \"id\" : \"+9955\",\n \"name\" : \"GE\"\n }, {\n \"id\" : \"+507\",\n \"name\" : \"PA\"\n }, {\n \"id\" : \"+44\",\n \"name\" : \"GB\"\n }, {\n \"id\" : \"+992\",\n \"name\" : \"TJ\"\n }, {\n \"id\" : \"+370\",\n \"name\" : \"LT\"\n }, {\n \"id\" : \"+972\",\n \"name\" : \"IL\"\n }, {\n \"id\" : \"+996\",\n \"name\" : \"KG\"\n }, {\n \"id\" : \"+380\",\n \"name\" : \"UA\"\n }, {\n \"id\" : \"+84\",\n \"name\" : \"VN\"\n }, {\n \"id\" : \"+90\",\n \"name\" : \"TR\"\n }, {\n \"id\" : \"+994\",\n \"name\" : \"AZ\"\n }, {\n \"id\" : \"+374\",\n \"name\" : \"AM\"\n }, {\n \"id\" : \"+371\",\n \"name\" : \"LV\"\n }, {\n \"id\" : \"+91\",\n \"name\" : \"IN\"\n }, {\n \"id\" : \"+66\",\n \"name\" : \"TH\"\n }, {\n \"id\" : \"+373\",\n \"name\" : \"MD\"\n }, {\n \"id\" : \"+1\",\n \"name\" : \"US\"\n }, {\n \"id\" : \"+81\",\n \"name\" : \"JP\"\n }, {\n \"id\" : \"+998\",\n \"name\" : \"UZ\"\n }, {\n \"id\" : \"+77\",\n \"name\" : \"KZ\"\n }, {\n \"id\" : \"+375\",\n \"name\" : \"BY\"\n }, {\n \"id\" : \"+372\",\n \"name\" : \"EE\"\n }, {\n \"id\" : \"+40\",\n \"name\" : \"RO\"\n }, {\n \"id\" : \"+82\",\n \"name\" : \"KR\"\n } ],\n \"key\" : \"qiwiwallet.telephoneNumberPrefix\",\n \"type\" : \"select\"\n }, {\n \"key\" : \"qiwiwallet.telephoneNumber\",\n \"type\" : \"text\"\n } ],\n \"name\" : \"Qiwi Wallet\",\n \"type\" : \"qiwiwallet\"\n }, {\n \"name\" : \"RatePay Invoice\",\n \"type\" : \"ratepay\"\n }, {\n \"name\" : \"RatePay Direct Debit\",\n \"type\" : \"ratepay_directdebit\"\n }, {\n \"name\" : \"Rituals Giftcard\",\n \"type\" : \"rituals\"\n }, {\n \"name\" : \"Rob Peetoom Giftcard\",\n \"type\" : \"robpeetoomgiftcard\"\n }, {\n \"name\" : \"SafetyPay\",\n \"type\" : \"safetypay\"\n }, {\n \"name\" : \"SafetyPay Cash\",\n \"type\" : \"safetypay_cash\"\n }, {\n \"name\" : \"Shoes&Accessories Cadeau\",\n \"type\" : \"sagiftcard\"\n }, {\n \"name\" : \"Score Giftcard\",\n \"type\" : \"scoregiftcard\"\n }, {\n \"name\" : \"SEB Direktbetalning\",\n \"type\" : \"sebdirectpayment\"\n }, {\n \"details\" : [ {\n \"key\" : \"sepa.ownerName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"sepa.ibanNumber\",\n \"type\" : \"text\"\n } ],\n \"name\" : \"SEPA Direct Debit\",\n \"type\" : \"sepadirectdebit\"\n }, {\n \"name\" : \"7-Eleven\",\n \"type\" : \"seveneleven\"\n }, {\n \"name\" : \"Premium SMS\",\n \"type\" : \"sms\"\n }, {\n \"name\" : \"SVS\",\n \"type\" : \"svs\"\n }, {\n \"name\" : \"Swish\",\n \"type\" : \"swish\"\n }, {\n \"name\" : \"TCS Test GiftCard\",\n \"type\" : \"tcstestgiftcard\"\n }, {\n \"name\" : \"TenPay\",\n \"type\" : \"tenpay\"\n }, {\n \"name\" : \"The Sting Giftcard\",\n \"type\" : \"thestinggiftcard\"\n }, {\n \"name\" : \"TrueMoney\",\n \"type\" : \"truemoney\"\n }, {\n \"name\" : \"Trustly\",\n \"type\" : \"trustly\"\n }, {\n \"name\" : \"Online Banking by Trustpay\",\n \"type\" : \"trustpay\"\n }, {\n \"name\" : \"TWINT\",\n \"type\" : \"twint\"\n }, {\n \"name\" : \"Ukash\",\n \"type\" : \"ukash\"\n }, {\n \"name\" : \"UnionPay\",\n \"type\" : \"unionpay\"\n }, {\n \"details\" : [ {\n \"key\" : \"virtualPaymentAddress\",\n \"type\" : \"text\"\n } ],\n \"name\" : \"UPI Collect\",\n \"type\" : \"upi_collect\"\n }, {\n \"name\" : \"Valuelink\",\n \"type\" : \"valuelink\"\n }, {\n \"name\" : \"V&D Cadeaukaart\",\n \"type\" : \"vdcadeaucard\"\n }, {\n \"details\" : [ {\n \"key\" : \"telephoneNumber\",\n \"optional\" : true,\n \"type\" : \"tel\"\n } ],\n \"name\" : \"Vipps\",\n \"type\" : \"vipps\"\n }, {\n \"details\" : [ {\n \"key\" : \"additionalData.visacheckout.callId\",\n \"type\" : \"text\"\n } ],\n \"name\" : \"Visa Checkout\",\n \"type\" : \"visacheckout\"\n }, {\n \"name\" : \"VVV Cadeaubon\",\n \"type\" : \"vvvcadeaubon\"\n }, {\n \"name\" : \"VVV Giftcard\",\n \"type\" : \"vvvgiftcard\"\n }, {\n \"name\" : \"Webshop Giftcard\",\n \"type\" : \"webshopgiftcard\"\n }, {\n \"name\" : \"WeChat Pay\",\n \"type\" : \"wechatpayMiniProgram\"\n }, {\n \"name\" : \"WeChat Pay\",\n \"type\" : \"wechatpayQR\"\n }, {\n \"name\" : \"WeChat Pay\",\n \"type\" : \"wechatpayWeb\"\n }, {\n \"name\" : \"WE Fashion Giftcard\",\n \"type\" : \"wefashiongiftcard\"\n }, {\n \"name\" : \"Western Union\",\n \"type\" : \"westernunion\"\n }, {\n \"name\" : \"Winkel Cheque\",\n \"type\" : \"winkelcheque\"\n }, {\n \"name\" : \"WOS Card\",\n \"type\" : \"woscard\"\n }, {\n \"name\" : \"Alfa-Click\",\n \"type\" : \"yandex_alfaclick\"\n }, {\n \"name\" : \"Pay using bank card\",\n \"type\" : \"yandex_bank_card\"\n }, {\n \"name\" : \"Cash terminals\",\n \"type\" : \"yandex_cash\"\n }, {\n \"name\" : \"Pay using installments\",\n \"type\" : \"yandex_installments\"\n }, {\n \"name\" : \"YooMoney\",\n \"type\" : \"yandex_money\"\n }, {\n \"name\" : \"Promsvyazbank\",\n \"type\" : \"yandex_promsvyazbank\"\n }, {\n \"name\" : \"SberPay\",\n \"type\" : \"yandex_sberbank\"\n }, {\n \"name\" : \"WebMoney\",\n \"type\" : \"yandex_webmoney\"\n }, {\n \"name\" : \"Your Gift\",\n \"type\" : \"yourgift\"\n }, {\n \"name\" : \"Zip\",\n \"type\" : \"zip\"\n } ]\n}", + "originalRequest": { + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentMethods", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentMethods" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Queries the available payment methods for a transaction based on the transaction context (like amount, country, and currency). Besides giving back a list of the available payment methods, the response also returns which input details you need to collect from the shopper (to be submitted to `/payments`). Although we highly recommend using this endpoint to ensure you are always offering the most up-to-date list of payment methods, its usage is optional. You can, for example, also cache the `/paymentMethods` response and update it once a week." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentMethods", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentMethods" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Queries the available payment methods for a transaction based on the transaction context (like amount, country, and currency). Besides giving back a list of the available payment methods, the response also returns which input details you need to collect from the shopper (to be submitted to `/payments`). Although we highly recommend using this endpoint to ensure you are always offering the most up-to-date list of payment methods, its usage is optional. You can, for example, also cache the `/paymentMethods` response and update it once a week." - } + ] }, { "name": "Get payment methods based on the country and amount", "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 + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl-NL\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentMethods", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentMethods" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Queries the available payment methods for a transaction based on the transaction context (like amount, country, and currency). Besides giving back a list of the available payment methods, the response also returns which input details you need to collect from the shopper (to be submitted to `/payments`). Although we highly recommend using this endpoint to ensure you are always offering the most up-to-date list of payment methods, its usage is optional. You can, for example, also cache the `/paymentMethods` response and update it once a week." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"paymentMethods\" : [ {\n \"details\" : [ {\n \"items\" : [ {\n \"id\" : \"1121\",\n \"name\" : \"Test Issuer\"\n }, {\n \"id\" : \"1154\",\n \"name\" : \"Test Issuer 5\"\n }, {\n \"id\" : \"1153\",\n \"name\" : \"Test Issuer 4\"\n }, {\n \"id\" : \"1152\",\n \"name\" : \"Test Issuer 3\"\n }, {\n \"id\" : \"1151\",\n \"name\" : \"Test Issuer 2\"\n }, {\n \"id\" : \"1162\",\n \"name\" : \"Test Issuer Cancelled\"\n }, {\n \"id\" : \"1161\",\n \"name\" : \"Test Issuer Pending\"\n }, {\n \"id\" : \"1160\",\n \"name\" : \"Test Issuer Refused\"\n }, {\n \"id\" : \"1159\",\n \"name\" : \"Test Issuer 10\"\n }, {\n \"id\" : \"1158\",\n \"name\" : \"Test Issuer 9\"\n }, {\n \"id\" : \"1157\",\n \"name\" : \"Test Issuer 8\"\n }, {\n \"id\" : \"1156\",\n \"name\" : \"Test Issuer 7\"\n }, {\n \"id\" : \"1155\",\n \"name\" : \"Test Issuer 6\"\n } ],\n \"key\" : \"issuer\",\n \"type\" : \"select\"\n } ],\n \"name\" : \"iDEAL\",\n \"type\" : \"ideal\"\n }, {\n \"details\" : [ {\n \"key\" : \"encryptedCardNumber\",\n \"type\" : \"cardToken\"\n }, {\n \"key\" : \"encryptedSecurityCode\",\n \"type\" : \"cardToken\"\n }, {\n \"key\" : \"encryptedExpiryMonth\",\n \"type\" : \"cardToken\"\n }, {\n \"key\" : \"encryptedExpiryYear\",\n \"type\" : \"cardToken\"\n }, {\n \"key\" : \"holderName\",\n \"optional\" : true,\n \"type\" : \"text\"\n } ],\n \"name\" : \"Hitelkártya\",\n \"type\" : \"scheme\"\n }, {\n \"name\" : \"PayPal\",\n \"type\" : \"paypal\"\n }, {\n \"details\" : [ {\n \"details\" : [ {\n \"key\" : \"firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"lastName\",\n \"type\" : \"text\"\n }, {\n \"items\" : [ {\n \"id\" : \"M\",\n \"name\" : \"male\"\n }, {\n \"id\" : \"F\",\n \"name\" : \"female\"\n } ],\n \"key\" : \"gender\",\n \"type\" : \"radio\"\n }, {\n \"key\" : \"dateOfBirth\",\n \"type\" : \"date\"\n }, {\n \"key\" : \"telephoneNumber\",\n \"type\" : \"tel\"\n }, {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n } ],\n \"key\" : \"personalDetails\",\n \"type\" : \"fieldSet\"\n }, {\n \"details\" : [ {\n \"key\" : \"street\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"houseNumberOrName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"city\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"postalCode\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"stateOrProvince\",\n \"optional\" : true,\n \"type\" : \"text\"\n }, {\n \"items\" : [ {\n \"id\" : \"NL\",\n \"name\" : \"Netherlands\"\n }, {\n \"id\" : \"BE\",\n \"name\" : \"Belgium\"\n } ],\n \"key\" : \"country\",\n \"type\" : \"select\",\n \"value\" : \"NL\"\n } ],\n \"key\" : \"billingAddress\",\n \"type\" : \"address\"\n }, {\n \"key\" : \"separateDeliveryAddress\",\n \"optional\" : true,\n \"type\" : \"boolean\",\n \"value\" : \"false\"\n }, {\n \"details\" : [ {\n \"key\" : \"street\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"houseNumberOrName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"city\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"postalCode\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"stateOrProvince\",\n \"optional\" : true,\n \"type\" : \"text\"\n }, {\n \"items\" : [ {\n \"id\" : \"NL\",\n \"name\" : \"Netherlands\"\n }, {\n \"id\" : \"BE\",\n \"name\" : \"Belgium\"\n } ],\n \"key\" : \"country\",\n \"type\" : \"select\",\n \"value\" : \"NL\"\n } ],\n \"key\" : \"deliveryAddress\",\n \"optional\" : true,\n \"type\" : \"address\"\n } ],\n \"name\" : \"AfterPay Invoice\",\n \"type\" : \"afterpay_default\"\n }, {\n \"name\" : \"Pay later with Klarna.\",\n \"type\" : \"klarna\"\n }, {\n \"details\" : [ {\n \"key\" : \"sepa.ownerName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"sepa.ibanNumber\",\n \"type\" : \"text\"\n } ],\n \"name\" : \"SEPA Direct Debit\",\n \"type\" : \"sepadirectdebit\"\n }, {\n \"name\" : \"Paysafecard\",\n \"type\" : \"paysafecard\"\n }, {\n \"name\" : \"Bijenkorf Cadeaucard\",\n \"type\" : \"bijcadeaucard\"\n }, {\n \"name\" : \"Fonq Giftcard\",\n \"type\" : \"fonqgiftcard\"\n }, {\n \"name\" : \"Bank Transfer (NL)\",\n \"type\" : \"bankTransfer_NL\"\n }, {\n \"name\" : \"Pathe Giftcard\",\n \"type\" : \"pathegiftcard\"\n }, {\n \"name\" : \"VVV Giftcard\",\n \"type\" : \"vvvgiftcard\"\n }, {\n \"name\" : \"Podium Card\",\n \"type\" : \"podiumcard\"\n }, {\n \"name\" : \"RatePay Direct Debit\",\n \"type\" : \"ratepay_directdebit\"\n }, {\n \"name\" : \"Rituals Giftcard\",\n \"type\" : \"rituals\"\n }, {\n \"name\" : \"Hunkemoller Lingerie Card\",\n \"type\" : \"hmlingerie\"\n }, {\n \"name\" : \"Primera Cadeaukaart\",\n \"type\" : \"primeracadeaucard\"\n }, {\n \"name\" : \"Fashioncheque\",\n \"type\" : \"fashioncheque\"\n }, {\n \"name\" : \"NETELLER\",\n \"type\" : \"neteller\"\n }, {\n \"name\" : \"Adyen Voucher\",\n \"type\" : \"adyen_test_voucher\"\n }, {\n \"name\" : \"AfterPay B2B\",\n \"type\" : \"afterpay_b2b\"\n }, {\n \"name\" : \"AfterPay DirectDebit\",\n \"type\" : \"afterpay_directdebit\"\n }, {\n \"name\" : \"AliPay\",\n \"type\" : \"alipay\"\n }, {\n \"name\" : \"AliPay\",\n \"type\" : \"alipay_wap\"\n }, {\n \"details\" : [ {\n \"key\" : \"additionalData.androidpay.token\",\n \"type\" : \"androidPayToken\"\n } ],\n \"name\" : \"Android Pay\",\n \"type\" : \"androidpay\"\n }, {\n \"details\" : [ {\n \"key\" : \"additionalData.applepay.token\",\n \"type\" : \"applePayToken\"\n } ],\n \"name\" : \"Apple Pay\",\n \"type\" : \"applepay\"\n }, {\n \"name\" : \"Baby Gift Card\",\n \"type\" : \"babygiftcard\"\n }, {\n \"name\" : \"SEPA Bank Transfer\",\n \"type\" : \"bankTransfer_IBAN\"\n }, {\n \"name\" : \"Bloemen Giftcard\",\n \"type\" : \"bloemengiftcard\"\n }, {\n \"name\" : \"Boekenbon Giftcard\",\n \"type\" : \"boekenbon\"\n }, {\n \"name\" : \"Cash-Ticket\",\n \"type\" : \"cashticket\"\n }, {\n \"name\" : \"Chasin Giftcard\",\n \"type\" : \"chasingiftcard\"\n }, {\n \"name\" : \"ClickandBuy\",\n \"type\" : \"clickandbuy\"\n }, {\n \"name\" : \"Costes Giftcard\",\n \"type\" : \"costesgiftcard\"\n }, {\n \"name\" : \"custom_settlement\",\n \"type\" : \"custom_settlement\"\n }, {\n \"name\" : \"eft_directdebit_CA\",\n \"type\" : \"eft_directdebit_CA\"\n }, {\n \"name\" : \"Nationale Entertainment Card\",\n \"type\" : \"entertainmentcard\"\n }, {\n \"name\" : \"Expert Cadeaukaart\",\n \"type\" : \"expertgiftcard\"\n }, {\n \"name\" : \"FijnCadeau\",\n \"type\" : \"fijncadeau\"\n }, {\n \"name\" : \"Fleurop Bloemenbon\",\n \"type\" : \"fleuropbloemenbon\"\n }, {\n \"name\" : \"Gall & Gall\",\n \"type\" : \"gallgall\"\n }, {\n \"name\" : \"Generic GiftCard\",\n \"type\" : \"genericgiftcard\"\n }, {\n \"name\" : \"GiftFor2\",\n \"type\" : \"giftfor2card\"\n }, {\n \"name\" : \"Givex\",\n \"type\" : \"givex\"\n }, {\n \"name\" : \"Goldsmiths Card\",\n \"type\" : \"goldsmithscard\"\n }, {\n \"name\" : \"Hunkemoller Member Card\",\n \"type\" : \"hmclub\"\n }, {\n \"name\" : \"Phone Payment\",\n \"type\" : \"ivr\"\n }, {\n \"name\" : \"Landline phone\",\n \"type\" : \"ivrLandline\"\n }, {\n \"name\" : \"Mobile phone\",\n \"type\" : \"ivrMobile\"\n }, {\n \"name\" : \"Kado Wereld\",\n \"type\" : \"kadowereld\"\n }, {\n \"name\" : \"Karen Millen GiftCard\",\n \"type\" : \"karenmillengiftcard\"\n }, {\n \"name\" : \"Leisure Card\",\n \"type\" : \"leisurecard\"\n }, {\n \"name\" : \"Loods5 Cadeaukaart\",\n \"type\" : \"loods5giftcard\"\n }, {\n \"name\" : \"Loods5 Tegoedbon\",\n \"type\" : \"loods5prepaidcard\"\n }, {\n \"details\" : [ {\n \"key\" : \"additionalData.amazonPayToken\",\n \"type\" : \"text\"\n } ],\n \"name\" : \"Amazon Pay\",\n \"type\" : \"amazonpay\"\n }, {\n \"name\" : \"MOLPoints\",\n \"type\" : \"molpay_points\"\n }, {\n \"name\" : \"Moneybookers\",\n \"type\" : \"moneybookers\"\n }, {\n \"name\" : \"De Nationale Musicalcard\",\n \"type\" : \"musicalcard\"\n }, {\n \"name\" : \"Nationale Bioscoopbon\",\n \"type\" : \"nationalebioscoopbon\"\n }, {\n \"name\" : \"Nationale Tuinbon\",\n \"type\" : \"nationaletuinbon\"\n }, {\n \"name\" : \"Nationale Verwen Cadeaubon\",\n \"type\" : \"nationaleverwencadeaubon\"\n }, {\n \"name\" : \"Onebip\",\n \"type\" : \"onebip\"\n }, {\n \"details\" : [ {\n \"key\" : \"additionalData.paywithgoogle.token\",\n \"type\" : \"payWithGoogleToken\"\n } ],\n \"name\" : \"Google Pay\",\n \"type\" : \"paywithgoogle\"\n }, {\n \"name\" : \"Plastix\",\n \"type\" : \"plastix\"\n }, {\n \"name\" : \"Pluim\",\n \"type\" : \"pluimgiftcard\"\n }, {\n \"name\" : \"Illicado Gift Card\",\n \"type\" : \"prosodie_illicado\"\n }, {\n \"name\" : \"RatePay Invoice\",\n \"type\" : \"ratepay\"\n }, {\n \"name\" : \"Rob Peetoom Giftcard\",\n \"type\" : \"robpeetoomgiftcard\"\n }, {\n \"name\" : \"Shoes&Accessories Cadeau\",\n \"type\" : \"sagiftcard\"\n }, {\n \"name\" : \"Score Giftcard\",\n \"type\" : \"scoregiftcard\"\n }, {\n \"name\" : \"Premium SMS\",\n \"type\" : \"sms\"\n }, {\n \"name\" : \"SVS\",\n \"type\" : \"svs\"\n }, {\n \"name\" : \"TCS Test GiftCard\",\n \"type\" : \"tcstestgiftcard\"\n }, {\n \"name\" : \"The Sting Giftcard\",\n \"type\" : \"thestinggiftcard\"\n }, {\n \"name\" : \"Ukash\",\n \"type\" : \"ukash\"\n }, {\n \"name\" : \"UnionPay\",\n \"type\" : \"unionpay\"\n }, {\n \"name\" : \"Valuelink\",\n \"type\" : \"valuelink\"\n }, {\n \"name\" : \"V&D Cadeaukaart\",\n \"type\" : \"vdcadeaucard\"\n }, {\n \"details\" : [ {\n \"key\" : \"additionalData.visacheckout.callId\",\n \"type\" : \"text\"\n } ],\n \"name\" : \"Visa Checkout\",\n \"type\" : \"visacheckout\"\n }, {\n \"name\" : \"VVV Cadeaubon\",\n \"type\" : \"vvvcadeaubon\"\n }, {\n \"name\" : \"Webshop Giftcard\",\n \"type\" : \"webshopgiftcard\"\n }, {\n \"name\" : \"WE Fashion Giftcard\",\n \"type\" : \"wefashiongiftcard\"\n }, {\n \"name\" : \"Western Union\",\n \"type\" : \"westernunion\"\n }, {\n \"name\" : \"Winkel Cheque\",\n \"type\" : \"winkelcheque\"\n }, {\n \"name\" : \"Your Gift\",\n \"type\" : \"yourgift\"\n } ]\n}", + "originalRequest": { + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl-NL\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentMethods", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentMethods" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Queries the available payment methods for a transaction based on the transaction context (like amount, country, and currency). Besides giving back a list of the available payment methods, the response also returns which input details you need to collect from the shopper (to be submitted to `/payments`). Although we highly recommend using this endpoint to ensure you are always offering the most up-to-date list of payment methods, its usage is optional. You can, for example, also cache the `/paymentMethods` response and update it once a week." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl-NL\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n }\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentMethods", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentMethods" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Queries the available payment methods for a transaction based on the transaction context (like amount, country, and currency). Besides giving back a list of the available payment methods, the response also returns which input details you need to collect from the shopper (to be submitted to `/payments`). Although we highly recommend using this endpoint to ensure you are always offering the most up-to-date list of payment methods, its usage is optional. You can, for example, also cache the `/paymentMethods` response and update it once a week." - } + ] }, { "name": "Get payment methods including stored card details", "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 + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"countryCode\" : \"NL\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentMethods", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentMethods" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Queries the available payment methods for a transaction based on the transaction context (like amount, country, and currency). Besides giving back a list of the available payment methods, the response also returns which input details you need to collect from the shopper (to be submitted to `/payments`). Although we highly recommend using this endpoint to ensure you are always offering the most up-to-date list of payment methods, its usage is optional. You can, for example, also cache the `/paymentMethods` response and update it once a week." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"paymentMethods\" : [ {\n \"details\" : [ {\n \"items\" : [ {\n \"id\" : \"1121\",\n \"name\" : \"Test Issuer\"\n }, {\n \"id\" : \"1154\",\n \"name\" : \"Test Issuer 5\"\n }, {\n \"id\" : \"1153\",\n \"name\" : \"Test Issuer 4\"\n }, {\n \"id\" : \"1152\",\n \"name\" : \"Test Issuer 3\"\n }, {\n \"id\" : \"1151\",\n \"name\" : \"Test Issuer 2\"\n }, {\n \"id\" : \"1162\",\n \"name\" : \"Test Issuer Cancelled\"\n }, {\n \"id\" : \"1161\",\n \"name\" : \"Test Issuer Pending\"\n }, {\n \"id\" : \"1160\",\n \"name\" : \"Test Issuer Refused\"\n }, {\n \"id\" : \"1159\",\n \"name\" : \"Test Issuer 10\"\n }, {\n \"id\" : \"1158\",\n \"name\" : \"Test Issuer 9\"\n }, {\n \"id\" : \"1157\",\n \"name\" : \"Test Issuer 8\"\n }, {\n \"id\" : \"1156\",\n \"name\" : \"Test Issuer 7\"\n }, {\n \"id\" : \"1155\",\n \"name\" : \"Test Issuer 6\"\n } ],\n \"key\" : \"issuer\",\n \"type\" : \"select\"\n } ],\n \"name\" : \"iDEAL\",\n \"type\" : \"ideal\"\n }, {\n \"details\" : [ {\n \"key\" : \"encryptedCardNumber\",\n \"type\" : \"cardToken\"\n }, {\n \"key\" : \"encryptedSecurityCode\",\n \"type\" : \"cardToken\"\n }, {\n \"key\" : \"encryptedExpiryMonth\",\n \"type\" : \"cardToken\"\n }, {\n \"key\" : \"encryptedExpiryYear\",\n \"type\" : \"cardToken\"\n }, {\n \"key\" : \"holderName\",\n \"optional\" : true,\n \"type\" : \"text\"\n } ],\n \"name\" : \"Credit Card\",\n \"type\" : \"scheme\"\n }, {\n \"name\" : \"PayPal\",\n \"type\" : \"paypal\"\n }, {\n \"details\" : [ {\n \"details\" : [ {\n \"key\" : \"firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"lastName\",\n \"type\" : \"text\"\n }, {\n \"items\" : [ {\n \"id\" : \"M\",\n \"name\" : \"male\"\n }, {\n \"id\" : \"F\",\n \"name\" : \"female\"\n } ],\n \"key\" : \"gender\",\n \"type\" : \"radio\"\n }, {\n \"key\" : \"dateOfBirth\",\n \"type\" : \"date\"\n }, {\n \"key\" : \"telephoneNumber\",\n \"type\" : \"tel\"\n }, {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n } ],\n \"key\" : \"personalDetails\",\n \"type\" : \"fieldSet\"\n }, {\n \"details\" : [ {\n \"key\" : \"street\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"houseNumberOrName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"city\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"postalCode\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"stateOrProvince\",\n \"optional\" : true,\n \"type\" : \"text\"\n }, {\n \"items\" : [ {\n \"id\" : \"NL\",\n \"name\" : \"Netherlands\"\n }, {\n \"id\" : \"BE\",\n \"name\" : \"Belgium\"\n } ],\n \"key\" : \"country\",\n \"type\" : \"select\",\n \"value\" : \"NL\"\n } ],\n \"key\" : \"billingAddress\",\n \"type\" : \"address\"\n }, {\n \"key\" : \"separateDeliveryAddress\",\n \"optional\" : true,\n \"type\" : \"boolean\",\n \"value\" : \"false\"\n }, {\n \"details\" : [ {\n \"key\" : \"street\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"houseNumberOrName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"city\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"postalCode\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"stateOrProvince\",\n \"optional\" : true,\n \"type\" : \"text\"\n }, {\n \"items\" : [ {\n \"id\" : \"NL\",\n \"name\" : \"Netherlands\"\n }, {\n \"id\" : \"BE\",\n \"name\" : \"Belgium\"\n } ],\n \"key\" : \"country\",\n \"type\" : \"select\",\n \"value\" : \"NL\"\n } ],\n \"key\" : \"deliveryAddress\",\n \"optional\" : true,\n \"type\" : \"address\"\n } ],\n \"name\" : \"AfterPay Invoice\",\n \"type\" : \"afterpay_default\"\n }, {\n \"name\" : \"Pay later with Klarna.\",\n \"type\" : \"klarna\"\n }, {\n \"details\" : [ {\n \"key\" : \"sepa.ownerName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"sepa.ibanNumber\",\n \"type\" : \"text\"\n } ],\n \"name\" : \"SEPA Direct Debit\",\n \"type\" : \"sepadirectdebit\"\n }, {\n \"name\" : \"Paysafecard\",\n \"type\" : \"paysafecard\"\n }, {\n \"name\" : \"Bijenkorf Cadeaucard\",\n \"type\" : \"bijcadeaucard\"\n }, {\n \"name\" : \"Fonq Giftcard\",\n \"type\" : \"fonqgiftcard\"\n }, {\n \"name\" : \"Bank Transfer (NL)\",\n \"type\" : \"bankTransfer_NL\"\n }, {\n \"name\" : \"Pathe Giftcard\",\n \"type\" : \"pathegiftcard\"\n }, {\n \"name\" : \"VVV Giftcard\",\n \"type\" : \"vvvgiftcard\"\n }, {\n \"name\" : \"Podium Card\",\n \"type\" : \"podiumcard\"\n }, {\n \"name\" : \"RatePay Direct Debit\",\n \"type\" : \"ratepay_directdebit\"\n }, {\n \"name\" : \"Rituals Giftcard\",\n \"type\" : \"rituals\"\n }, {\n \"name\" : \"Hunkemoller Lingerie Card\",\n \"type\" : \"hmlingerie\"\n }, {\n \"name\" : \"Primera Cadeaukaart\",\n \"type\" : \"primeracadeaucard\"\n }, {\n \"name\" : \"Fashioncheque\",\n \"type\" : \"fashioncheque\"\n }, {\n \"name\" : \"NETELLER\",\n \"type\" : \"neteller\"\n }, {\n \"name\" : \"Adyen Voucher\",\n \"type\" : \"adyen_test_voucher\"\n }, {\n \"name\" : \"AfterPay B2B\",\n \"type\" : \"afterpay_b2b\"\n }, {\n \"name\" : \"AfterPay DirectDebit\",\n \"type\" : \"afterpay_directdebit\"\n }, {\n \"name\" : \"AliPay\",\n \"type\" : \"alipay\"\n }, {\n \"name\" : \"AliPay\",\n \"type\" : \"alipay_wap\"\n }, {\n \"details\" : [ {\n \"key\" : \"additionalData.androidpay.token\",\n \"type\" : \"androidPayToken\"\n } ],\n \"name\" : \"Android Pay\",\n \"type\" : \"androidpay\"\n }, {\n \"details\" : [ {\n \"key\" : \"additionalData.applepay.token\",\n \"type\" : \"applePayToken\"\n } ],\n \"name\" : \"Apple Pay\",\n \"type\" : \"applepay\"\n }, {\n \"name\" : \"Baby Gift Card\",\n \"type\" : \"babygiftcard\"\n }, {\n \"name\" : \"SEPA Bank Transfer\",\n \"type\" : \"bankTransfer_IBAN\"\n }, {\n \"name\" : \"Bloemen Giftcard\",\n \"type\" : \"bloemengiftcard\"\n }, {\n \"name\" : \"Boekenbon Giftcard\",\n \"type\" : \"boekenbon\"\n }, {\n \"name\" : \"Cash-Ticket\",\n \"type\" : \"cashticket\"\n }, {\n \"name\" : \"Chasin Giftcard\",\n \"type\" : \"chasingiftcard\"\n }, {\n \"name\" : \"ClickandBuy\",\n \"type\" : \"clickandbuy\"\n }, {\n \"name\" : \"Costes Giftcard\",\n \"type\" : \"costesgiftcard\"\n }, {\n \"name\" : \"custom_settlement\",\n \"type\" : \"custom_settlement\"\n }, {\n \"name\" : \"eft_directdebit_CA\",\n \"type\" : \"eft_directdebit_CA\"\n }, {\n \"name\" : \"Nationale Entertainment Card\",\n \"type\" : \"entertainmentcard\"\n }, {\n \"name\" : \"Expert Cadeaukaart\",\n \"type\" : \"expertgiftcard\"\n }, {\n \"name\" : \"FijnCadeau\",\n \"type\" : \"fijncadeau\"\n }, {\n \"name\" : \"Fleurop Bloemenbon\",\n \"type\" : \"fleuropbloemenbon\"\n }, {\n \"name\" : \"Gall & Gall\",\n \"type\" : \"gallgall\"\n }, {\n \"name\" : \"Generic GiftCard\",\n \"type\" : \"genericgiftcard\"\n }, {\n \"name\" : \"GiftFor2\",\n \"type\" : \"giftfor2card\"\n }, {\n \"name\" : \"Givex\",\n \"type\" : \"givex\"\n }, {\n \"name\" : \"Goldsmiths Card\",\n \"type\" : \"goldsmithscard\"\n }, {\n \"name\" : \"Hunkemoller Member Card\",\n \"type\" : \"hmclub\"\n }, {\n \"name\" : \"Phone Payment\",\n \"type\" : \"ivr\"\n }, {\n \"name\" : \"Landline phone\",\n \"type\" : \"ivrLandline\"\n }, {\n \"name\" : \"Mobile phone\",\n \"type\" : \"ivrMobile\"\n }, {\n \"name\" : \"Kado Wereld\",\n \"type\" : \"kadowereld\"\n }, {\n \"name\" : \"Karen Millen GiftCard\",\n \"type\" : \"karenmillengiftcard\"\n }, {\n \"name\" : \"Leisure Card\",\n \"type\" : \"leisurecard\"\n }, {\n \"name\" : \"Loods5 Cadeaukaart\",\n \"type\" : \"loods5giftcard\"\n }, {\n \"name\" : \"Loods5 Tegoedbon\",\n \"type\" : \"loods5prepaidcard\"\n }, {\n \"details\" : [ {\n \"key\" : \"additionalData.amazonPayToken\",\n \"type\" : \"text\"\n } ],\n \"name\" : \"Amazon Pay\",\n \"type\" : \"amazonpay\"\n }, {\n \"name\" : \"MOLPoints\",\n \"type\" : \"molpay_points\"\n }, {\n \"name\" : \"Moneybookers\",\n \"type\" : \"moneybookers\"\n }, {\n \"name\" : \"De Nationale Musicalcard\",\n \"type\" : \"musicalcard\"\n }, {\n \"name\" : \"Nationale Bioscoopbon\",\n \"type\" : \"nationalebioscoopbon\"\n }, {\n \"name\" : \"Nationale Tuinbon\",\n \"type\" : \"nationaletuinbon\"\n }, {\n \"name\" : \"Nationale Verwen Cadeaubon\",\n \"type\" : \"nationaleverwencadeaubon\"\n }, {\n \"name\" : \"Onebip\",\n \"type\" : \"onebip\"\n }, {\n \"details\" : [ {\n \"key\" : \"additionalData.paywithgoogle.token\",\n \"type\" : \"payWithGoogleToken\"\n } ],\n \"name\" : \"Google Pay\",\n \"type\" : \"paywithgoogle\"\n }, {\n \"name\" : \"Plastix\",\n \"type\" : \"plastix\"\n }, {\n \"name\" : \"Pluim\",\n \"type\" : \"pluimgiftcard\"\n }, {\n \"name\" : \"Illicado Gift Card\",\n \"type\" : \"prosodie_illicado\"\n }, {\n \"name\" : \"RatePay Invoice\",\n \"type\" : \"ratepay\"\n }, {\n \"name\" : \"Rob Peetoom Giftcard\",\n \"type\" : \"robpeetoomgiftcard\"\n }, {\n \"name\" : \"Shoes&Accessories Cadeau\",\n \"type\" : \"sagiftcard\"\n }, {\n \"name\" : \"Score Giftcard\",\n \"type\" : \"scoregiftcard\"\n }, {\n \"name\" : \"Premium SMS\",\n \"type\" : \"sms\"\n }, {\n \"name\" : \"SVS\",\n \"type\" : \"svs\"\n }, {\n \"name\" : \"TCS Test GiftCard\",\n \"type\" : \"tcstestgiftcard\"\n }, {\n \"name\" : \"The Sting Giftcard\",\n \"type\" : \"thestinggiftcard\"\n }, {\n \"name\" : \"Ukash\",\n \"type\" : \"ukash\"\n }, {\n \"name\" : \"UnionPay\",\n \"type\" : \"unionpay\"\n }, {\n \"name\" : \"Valuelink\",\n \"type\" : \"valuelink\"\n }, {\n \"name\" : \"V&D Cadeaukaart\",\n \"type\" : \"vdcadeaucard\"\n }, {\n \"details\" : [ {\n \"key\" : \"additionalData.visacheckout.callId\",\n \"type\" : \"text\"\n } ],\n \"name\" : \"Visa Checkout\",\n \"type\" : \"visacheckout\"\n }, {\n \"name\" : \"VVV Cadeaubon\",\n \"type\" : \"vvvcadeaubon\"\n }, {\n \"name\" : \"Webshop Giftcard\",\n \"type\" : \"webshopgiftcard\"\n }, {\n \"name\" : \"WE Fashion Giftcard\",\n \"type\" : \"wefashiongiftcard\"\n }, {\n \"name\" : \"Western Union\",\n \"type\" : \"westernunion\"\n }, {\n \"name\" : \"Winkel Cheque\",\n \"type\" : \"winkelcheque\"\n }, {\n \"name\" : \"Your Gift\",\n \"type\" : \"yourgift\"\n } ],\n \"storedPaymentMethods\" : [ {\n \"brand\" : \"visa\",\n \"expiryMonth\" : \"10\",\n \"expiryYear\" : \"30\",\n \"holderName\" : \"John Smith\",\n \"id\" : \"7219687191761347\",\n \"issuerName\" : \"ISSUER_NAME\",\n \"lastFour\" : \"1111\",\n \"name\" : \"VISA\",\n \"shopperEmail\" : \"john.smith@example.com\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"supportedRecurringProcessingModels\" : [ \"CardOnFile\", \"Subscription\", \"UnscheduledCardOnFile\" ],\n \"type\" : \"scheme\"\n } ]\n}", + "originalRequest": { + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"countryCode\" : \"NL\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentMethods", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentMethods" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Queries the available payment methods for a transaction based on the transaction context (like amount, country, and currency). Besides giving back a list of the available payment methods, the response also returns which input details you need to collect from the shopper (to be submitted to `/payments`). Although we highly recommend using this endpoint to ensure you are always offering the most up-to-date list of payment methods, its usage is optional. You can, for example, also cache the `/paymentMethods` response and update it once a week." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"countryCode\" : \"NL\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentMethods", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentMethods" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Queries the available payment methods for a transaction based on the transaction context (like amount, country, and currency). Besides giving back a list of the available payment methods, the response also returns which input details you need to collect from the shopper (to be submitted to `/payments`). Although we highly recommend using this endpoint to ensure you are always offering the most up-to-date list of payment methods, its usage is optional. You can, for example, also cache the `/paymentMethods` response and update it once a week." - } + ] } ] - } -, + }, { "name": "/payments", "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. ", @@ -1421,839 +2692,1385 @@ { "name": "Make an Apple Pay payment", "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"applepay\",\n \"applePayToken\" : \"VNRWtuNlNEWkRCSm1xWndjMDFFbktkQU...\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"applepay\",\n \"applePayToken\" : \"VNRWtuNlNEWkRCSm1xWndjMDFFbktkQU...\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + ] }, { "name": "Make a card payment with 3D Secure 2 native authentication", "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 + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"{{$guid}}\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4917610000000000\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\",\n \"cvc\" : \"737\"\n },\n \"additionalData\" : {\n \"allow3DS2\" : \"true\"\n },\n \"accountInfo\" : {\n \"accountCreationDate\" : \"2019-01-17T13:42:40+01:00\"\n },\n \"billingAddress\" : {\n \"country\" : \"US\",\n \"city\" : \"New York\",\n \"street\" : \"Redwood Block\",\n \"houseNumberOrName\" : \"37C\",\n \"stateOrProvince\" : \"NY\",\n \"postalCode\" : \"10039\"\n },\n \"shopperEmail\" : \"s.hopper@test.com\",\n \"shopperIP\" : \"192.0.2.1\",\n \"browserInfo\" : {\n \"userAgent\" : \"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.110 Safari/537.36\",\n \"acceptHeader\" : \"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8\",\n \"language\" : \"nl-NL\",\n \"colorDepth\" : 24,\n \"screenHeight\" : 723,\n \"screenWidth\" : 1536,\n \"timeZoneOffset\" : 0,\n \"javaEnabled\" : true\n },\n \"channel\" : \"Web\",\n \"origin\" : \"https://your-company.com\",\n \"returnUrl\" : \"https://your-company.com/checkout/\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"additionalData\" : {\n \"cvcResult\" : \"1 Matches\",\n \"authCode\" : \"044410\",\n \"avsResult\" : \"4 AVS not supported for this card type\",\n \"avsResultRaw\" : \"4\",\n \"cvcResultRaw\" : \"M\",\n \"refusalReasonRaw\" : \"AUTHORISED\",\n \"acquirerCode\" : \"TestPmmAcquirer\",\n \"acquirerReference\" : \"8PQMP9TI1O2\"\n },\n \"pspReference\" : \"993617895005515H\",\n \"resultCode\" : \"Authorised\"\n}", + "originalRequest": { + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"{{$guid}}\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4917610000000000\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\",\n \"cvc\" : \"737\"\n },\n \"additionalData\" : {\n \"allow3DS2\" : \"true\"\n },\n \"accountInfo\" : {\n \"accountCreationDate\" : \"2019-01-17T13:42:40+01:00\"\n },\n \"billingAddress\" : {\n \"country\" : \"US\",\n \"city\" : \"New York\",\n \"street\" : \"Redwood Block\",\n \"houseNumberOrName\" : \"37C\",\n \"stateOrProvince\" : \"NY\",\n \"postalCode\" : \"10039\"\n },\n \"shopperEmail\" : \"s.hopper@test.com\",\n \"shopperIP\" : \"192.0.2.1\",\n \"browserInfo\" : {\n \"userAgent\" : \"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.110 Safari/537.36\",\n \"acceptHeader\" : \"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8\",\n \"language\" : \"nl-NL\",\n \"colorDepth\" : 24,\n \"screenHeight\" : 723,\n \"screenWidth\" : 1536,\n \"timeZoneOffset\" : 0,\n \"javaEnabled\" : true\n },\n \"channel\" : \"Web\",\n \"origin\" : \"https://your-company.com\",\n \"returnUrl\" : \"https://your-company.com/checkout/\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"{{$guid}}\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4917610000000000\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\",\n \"cvc\" : \"737\"\n },\n \"additionalData\" : {\n \"allow3DS2\" : \"true\"\n },\n \"accountInfo\" : {\n \"accountCreationDate\" : \"2019-01-17T13:42:40+01:00\"\n },\n \"billingAddress\" : {\n \"country\" : \"US\",\n \"city\" : \"New York\",\n \"street\" : \"Redwood Block\",\n \"houseNumberOrName\" : \"37C\",\n \"stateOrProvince\" : \"NY\",\n \"postalCode\" : \"10039\"\n },\n \"shopperEmail\" : \"s.hopper@test.com\",\n \"shopperIP\" : \"192.0.2.1\",\n \"browserInfo\" : {\n \"userAgent\" : \"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.110 Safari/537.36\",\n \"acceptHeader\" : \"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8\",\n \"language\" : \"nl-NL\",\n \"colorDepth\" : 24,\n \"screenHeight\" : 723,\n \"screenWidth\" : 1536,\n \"timeZoneOffset\" : 0,\n \"javaEnabled\" : true\n },\n \"channel\" : \"Web\",\n \"origin\" : \"https://your-company.com\",\n \"returnUrl\" : \"https://your-company.com/checkout/\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + ] }, { "name": "Make a card payment with 3D Secure redirect authentication", "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 + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4212345678901237\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\",\n \"cvc\" : \"737\"\n },\n \"browserInfo\" : {\n \"colorDepth\" : 24,\n \"screenHeight\" : 1800,\n \"screenWidth\" : 2880,\n \"timeZoneOffset\" : 60,\n \"language\" : \"nl\",\n \"userAgent\" : \"Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9) Gecko/2008052912 Firefox/3.0\",\n \"acceptHeader\" : \"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8\",\n \"javaEnabled\" : true\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"additionalData\" : {\n \"cvcResult\" : \"1 Matches\",\n \"authCode\" : \"074516\",\n \"avsResult\" : \"4 AVS not supported for this card type\",\n \"avsResultRaw\" : \"4\",\n \"cvcResultRaw\" : \"M\",\n \"refusalReasonRaw\" : \"AUTHORISED\",\n \"acquirerCode\" : \"TestPmmAcquirer\",\n \"acquirerReference\" : \"8PQMP9SJ7DN\"\n },\n \"pspReference\" : \"993617894903480A\",\n \"resultCode\" : \"Authorised\"\n}", + "originalRequest": { + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4212345678901237\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\",\n \"cvc\" : \"737\"\n },\n \"browserInfo\" : {\n \"colorDepth\" : 24,\n \"screenHeight\" : 1800,\n \"screenWidth\" : 2880,\n \"timeZoneOffset\" : 60,\n \"language\" : \"nl\",\n \"userAgent\" : \"Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9) Gecko/2008052912 Firefox/3.0\",\n \"acceptHeader\" : \"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8\",\n \"javaEnabled\" : true\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4212345678901237\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\",\n \"cvc\" : \"737\"\n },\n \"browserInfo\" : {\n \"colorDepth\" : 24,\n \"screenHeight\" : 1800,\n \"screenWidth\" : 2880,\n \"timeZoneOffset\" : 60,\n \"language\" : \"nl\",\n \"userAgent\" : \"Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9) Gecko/2008052912 Firefox/3.0\",\n \"acceptHeader\" : \"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8\",\n \"javaEnabled\" : true\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + ] }, { "name": "Make a payment with 3D Secure 2 native authentication, using encrypted card details", "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 + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"encryptedCardNumber\" : \"test_4212345678901237\",\n \"encryptedExpiryMonth\" : \"test_03\",\n \"encryptedExpiryYear\" : \"test_2030\",\n \"encryptedSecurityCode\" : \"test_737\",\n \"holderName\" : \"John Smith\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"additionalData\" : {\n \"cvcResult\" : \"1 Matches\",\n \"authCode\" : \"083996\",\n \"avsResult\" : \"4 AVS not supported for this card type\",\n \"avsResultRaw\" : \"4\",\n \"cvcResultRaw\" : \"M\",\n \"refusalReasonRaw\" : \"AUTHORISED\",\n \"acquirerCode\" : \"TestPmmAcquirer\",\n \"acquirerReference\" : \"8PQMP9SJH66\"\n },\n \"pspReference\" : \"993617894905481G\",\n \"resultCode\" : \"Authorised\"\n}", + "originalRequest": { + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"encryptedCardNumber\" : \"test_4212345678901237\",\n \"encryptedExpiryMonth\" : \"test_03\",\n \"encryptedExpiryYear\" : \"test_2030\",\n \"encryptedSecurityCode\" : \"test_737\",\n \"holderName\" : \"John Smith\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"encryptedCardNumber\" : \"test_4212345678901237\",\n \"encryptedExpiryMonth\" : \"test_03\",\n \"encryptedExpiryYear\" : \"test_2030\",\n \"encryptedSecurityCode\" : \"test_737\",\n \"holderName\" : \"John Smith\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + ] }, { "name": "Make a card payment", "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 + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4111111111111111\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\",\n \"cvc\" : \"737\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"additionalData\" : {\n \"cvcResult\" : \"1 Matches\",\n \"authCode\" : \"036240\",\n \"avsResult\" : \"4 AVS not supported for this card type\",\n \"avsResultRaw\" : \"4\",\n \"cvcResultRaw\" : \"M\",\n \"refusalReasonRaw\" : \"AUTHORISED\",\n \"acquirerCode\" : \"TestPmmAcquirer\",\n \"acquirerReference\" : \"8PQMP9SJQUL\"\n },\n \"pspReference\" : \"993617894906488A\",\n \"resultCode\" : \"Authorised\"\n}", + "originalRequest": { + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4111111111111111\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\",\n \"cvc\" : \"737\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4111111111111111\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\",\n \"cvc\" : \"737\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + ] }, { "name": "Make a card payment using encrypted card details", "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 + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"encryptedCardNumber\" : \"test_4111111111111111\",\n \"encryptedExpiryMonth\" : \"test_03\",\n \"encryptedExpiryYear\" : \"test_2030\",\n \"encryptedSecurityCode\" : \"test_737\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"additionalData\" : {\n \"cvcResult\" : \"1 Matches\",\n \"authCode\" : \"064649\",\n \"avsResult\" : \"4 AVS not supported for this card type\",\n \"avsResultRaw\" : \"4\",\n \"cvcResultRaw\" : \"M\",\n \"refusalReasonRaw\" : \"AUTHORISED\",\n \"acquirerCode\" : \"TestPmmAcquirer\",\n \"acquirerReference\" : \"8PQMP9SM92L\"\n },\n \"pspReference\" : \"993617894914488A\",\n \"resultCode\" : \"Authorised\"\n}", + "originalRequest": { + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"encryptedCardNumber\" : \"test_4111111111111111\",\n \"encryptedExpiryMonth\" : \"test_03\",\n \"encryptedExpiryYear\" : \"test_2030\",\n \"encryptedSecurityCode\" : \"test_737\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"encryptedCardNumber\" : \"test_4111111111111111\",\n \"encryptedExpiryMonth\" : \"test_03\",\n \"encryptedExpiryYear\" : \"test_2030\",\n \"encryptedSecurityCode\" : \"test_737\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + ] }, { "name": "Tokenize card details for one-off payments, using encrypted card details", "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"encryptedCardNumber\" : \"adyenjs_0_1_18$MT6ppy0FAMVMLH...\",\n \"encryptedExpiryMonth\" : \"adyenjs_0_1_18$MT6ppy0FAMVMLH...\",\n \"encryptedExpiryYear\" : \"adyenjs_0_1_18$MT6ppy0FAMVMLH...\",\n \"encryptedSecurityCode\" : \"adyenjs_0_1_18$MT6ppy0FAMVMLH...\"\n },\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"encryptedCardNumber\" : \"adyenjs_0_1_18$MT6ppy0FAMVMLH...\",\n \"encryptedExpiryMonth\" : \"adyenjs_0_1_18$MT6ppy0FAMVMLH...\",\n \"encryptedExpiryYear\" : \"adyenjs_0_1_18$MT6ppy0FAMVMLH...\",\n \"encryptedSecurityCode\" : \"adyenjs_0_1_18$MT6ppy0FAMVMLH...\"\n },\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + ] }, { "name": "Tokenize card details for one-off payments", "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 + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4111111111111111\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\",\n \"cvc\" : \"737\"\n },\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"storePaymentMethod\" : true,\n \"shopperInteraction\" : \"Ecommerce\",\n \"recurringProcessingModel\" : \"CardOnFile\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"additionalData\" : {\n \"cvcResult\" : \"1 Matches\",\n \"authCode\" : \"022966\",\n \"avsResult\" : \"4 AVS not supported for this card type\",\n \"recurring.recurringDetailReference\" : \"9916178934434753\",\n \"recurringProcessingModel\" : \"CardOnFile\",\n \"avsResultRaw\" : \"4\",\n \"cvcResultRaw\" : \"M\",\n \"refusalReasonRaw\" : \"AUTHORISED\",\n \"recurring.shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID\",\n \"acquirerCode\" : \"TestPmmAcquirer\",\n \"acquirerReference\" : \"8PQMP9T0BB6\"\n },\n \"pspReference\" : \"993617894947495G\",\n \"resultCode\" : \"Authorised\"\n}", + "originalRequest": { + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4111111111111111\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\",\n \"cvc\" : \"737\"\n },\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"storePaymentMethod\" : true,\n \"shopperInteraction\" : \"Ecommerce\",\n \"recurringProcessingModel\" : \"CardOnFile\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4111111111111111\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\",\n \"cvc\" : \"737\"\n },\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"storePaymentMethod\" : true,\n \"shopperInteraction\" : \"Ecommerce\",\n \"recurringProcessingModel\" : \"CardOnFile\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + ] }, { "name": "Make a Google Pay payment", "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"paywithgoogle\",\n \"googlePayToken\" : \"==Payload as retrieved from Google Pay response==\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"YourMerchantAccount\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"paywithgoogle\",\n \"googlePayToken\" : \"==Payload as retrieved from Google Pay response==\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"YourMerchantAccount\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + ] }, { "name": "Make an iDEAL payment", "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 + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"ideal\",\n \"issuer\" : \"1121\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"resultCode\" : \"RedirectShopper\",\n \"details\" : [ {\n \"key\" : \"payload\",\n \"type\" : \"text\"\n } ],\n \"paymentData\" : \"Ab02b4c0!BQABAgBOBkMn4vBx6T3DgxR+OR/a1zEA0xbGaYKP9mh/vWDSADlyktW39HZckwcm4Wr9kw2TvE9SYngEf9f6kZb1OimKls3+HEn3dRGOrTbWZZ8/tpmlS62YoDh1eQIE3EHZsUm7CQxhXjm8F0HQCelzIkVgj8DpLgtxwM3nFZxfpzl91HSt9CP/GIsx8S/RPVG2Fwg2S/jtdQ4MlFeG89S+icDvTecTyGoYFZlS/KL77Q4zJCR8Vgn4M9DJZEGRxv6kApLwDMkMyUMQngN95xDSCdLSW7fKkVusSub2+2hB7rzWxtj1E8R9dbtkCxgTe0F/G7tqrzUfEmseiHoKmaF6F8bN0j6BZiFhQJ/KHXJ6Pb+a7f0qYbQCAZmwYmeSSfNzqIDehyufpL0bP3w38spuso3QlhtPIqSHrIHDIQzbYmxPtt/I6A/RCMXJ7VN4nB6JigEygV383lnr8wd7mEynOQXnq9zEF+GGJy0Ool05WEy8L/mATgg++6bpsuSB2Wea5/VffvG6KcMyzs7OBG9zLAdYcrfqlsyXz/42UBJTeA2s6kVb1sBUfd6CQuQRF+37sjMwKiNIxwVaNWIYZMiWhbqPXOS4ozt0kNCtruhHqHgULPfF6aia/BnZKib6n+pBSepTdS47wZ31xC8VPqsoPia8RGNziLO/MmSMpW2fQRdgrhCrSniHb8qrh0vwgbPB4S7vAEp7ImtleSI6IkFGMEFBQTEwM0NBNTM3RUFFRDg3QzI0REQ1MzkwOUI4MEE3OEE5MjNFMzgyM0Q2OERBQ0M5NEI5RkY4MzA1REMifTMy2HjS+Bb81E9m0fQAZJXCA1BJgLgstBw3wxbdpZevF8c+pSBGUYNUm9ZbwrD93dGdCU2RvlI1gcyKke0cEEqKGjqWFXOWIYkSNzfLrgP3ERdp5t9VGZi6BDQko2CFzP4uAR3jwgR3AP0/mQ/4YWDrBrnYZCWjOpo7izGhNbHYvWbBOqVDvnfReoCrSNSLSo8OfSxuFrN6sJLXrajGu1qbPqQtxFIRyqLgbOfHLHw/DN3I+BZKGrNYynRfM2NparXTQ6ZRgC8E5xIodApr4JHMNeiPTjMlReaLBQwbcqaBzzRNLdV0v8/ZSXexS68WBeUMt7OkomYJBFrpwmpzgx/nzRzV87MZ9TGhZht/1zjcyaSi0Toc6r7UhbADuDX5RH5L0T8Q3iGJfjrYuS5h9aiYSg8oaVJ5DZhJAicDbb8eLvdAGXFTIV+EXbD+4e9Xl+c5um4FdKfufcrrUEo2s6lUuSBSJ3Gf6r+yJMxkamWwfnRUtxt+axRcXfmywYqU7O1r0zzW+RKCbV2qZeUWWeN1u5UIPdJbQbH4633ukPp//aGh8R4IWckBp7DGH4M5P1ZiYJB8OQRS5gD/y+iuwensnq1rKFBOK4gFNSpKmuDQYLeWb5VljHgE1sS4DRhl0fl8UCabehP+3tZu/2i88JTWbdUuvPLmkyv8zQdY36YeSDWmwC40vvbB+lo2e8MgVpfDwn+xyQFpFhasbEyr4VVoPwHq1sGR/QEutxmeoJi1Zux48jSHoGOj5RZ4ei+b8Lxp4rj45wwm0AiROghLnZJZfJaySp/LVxQ=\",\n \"redirect\" : {\n \"method\" : \"GET\",\n \"url\" : \"https://test.adyen.com/hpp/checkout.shtml?u=redirectIdeal&p=eJxtUl1vozAQ-DXwFmQDAfLgh4jSC730Q1yoqr5Urr0NXIlNbUPj-PozXC6qqpOstTWz2p3Z9auigueSA2k50M5ng1IgmJ2hoq78VusBVMkJxiH2D6BYQ4VZMyYHYcgOtLk9YxeyFAb2ippWisDYHki*KfKf9-Xu5UdxV1Rl-t-MEZR2N4nRha7gDSY1QLRRrdh-IcygxBU1lKxWOMFptopXcZZEyc0l51e7J9XdcHpeDTxC4edG1pFF5WMHnw95FtHf3N5z1MWqipKjF17XXnTl99QewNk7zO4wQshXoOtqSxpjei9au0R3Oslo10htHJKhDDmINcDe5WB0I-selEM0qLFloN3z4W-ZUjB5cD4q4K0CZhwz4n-lzjm3YBrJvej626iduq-D9sJEzUNw2hw1qXONlpPA5STRBSsHtXANeyps4O4ZDILA16CnST-SruWtsSREIV6geIGyHU6cI7x0Ic6e-bOXaUuKsmlLpHCFJmXg6-dWzL*kH16DMQzOi0iTNE1xFsXBqRyfot1NwrPRFmGzPr4w3jTHGpX16S3*2H4Um22xB8u5-ANWgt0s\"\n }\n}", + "originalRequest": { + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"ideal\",\n \"issuer\" : \"1121\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"ideal\",\n \"issuer\" : \"1121\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + ] }, { "name": "Make a Klarna payment", "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 \"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" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + "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 \"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" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + ] }, { "name": "Make a one-off payment with a token and CVV", "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"storedPaymentMethodId\" : \"8416038790273850\",\n \"cvc\" : \"737\"\n },\n \"shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID_6738oneoff\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"storedPaymentMethodId\" : \"8416038790273850\",\n \"cvc\" : \"737\"\n },\n \"shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID_6738oneoff\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + ] }, { "name": "Make a one-off payment with a token and CVV, using encrypted card details", "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"recurringDetailReference\" : \"8416038790273850\",\n \"encryptedSecurityCode\" : \"adyenjs_0_1_18$MT6ppy0FAMVMLH...\"\n },\n \"shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID_6738oneoff\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"recurringDetailReference\" : \"8416038790273850\",\n \"encryptedSecurityCode\" : \"adyenjs_0_1_18$MT6ppy0FAMVMLH...\"\n },\n \"shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID_6738oneoff\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + ] }, { "name": "Make a card payment with a token", "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"storedPaymentMethodId\" : \"8316038796685850\"\n },\n \"shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID_IOfW3subscription\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"shopperInteraction\" : \"ContAuth\",\n \"recurringProcessingModel\" : \"Subscription\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"storedPaymentMethodId\" : \"8316038796685850\"\n },\n \"shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID_IOfW3subscription\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"shopperInteraction\" : \"ContAuth\",\n \"recurringProcessingModel\" : \"Subscription\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + ] }, { "name": "Split a payment between balance accounts", "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 + "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 \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4111111111111111\",\n \"cvc\" : \"737\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\"\n },\n \"amount\" : {\n \"value\" : 40000,\n \"currency\" : \"USD\"\n },\n \"reference\" : \"{{$guid}}\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"splits\" : [ {\n \"amount\" : {\n \"value\" : 39600\n },\n \"type\" : \"BalanceAccount\",\n \"account\" : \"BA00000000000000000000001\",\n \"reference\" : \"Your reference for the sale amount\",\n \"description\" : \"Your description for the sale amount\"\n }, {\n \"amount\" : {\n \"value\" : 400\n },\n \"type\" : \"Commission\",\n \"reference\" : \"Your reference for the commission\",\n \"description\" : \"Your description for the commission\"\n }, {\n \"type\" : \"PaymentFee\",\n \"account\" : \"BA00000000000000000000001\",\n \"reference\" : \"Your reference for the fees\",\n \"description\" : \"Your description for the fees\"\n } ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"additionalData\" : {\n \"refusalReasonRaw\" : \"AUTHORISED\",\n \"eci\" : \"N/A\",\n \"acquirerAccountCode\" : \"YOUR_ACQUIRER_ACCOUNT\",\n \"xid\" : \"N/A\",\n \"threeDAuthenticated\" : \"false\",\n \"paymentMethodVariant\" : \"visa\",\n \"issuerBin\" : \"41111111\",\n \"payoutEligible\" : \"Y\",\n \"fraudManualReview\" : \"false\",\n \"threeDOffered\" : \"false\",\n \"threeDOfferedResponse\" : \"N/A\",\n \"authorisationMid\" : \"50\",\n \"fundsAvailability\" : \"I\",\n \"authorisedAmountCurrency\" : \"USD\",\n \"threeDAuthenticatedResponse\" : \"N/A\",\n \"avsResultRaw\" : \"5\",\n \"retry.attempt1.rawResponse\" : \"AUTHORISED\",\n \"paymentMethod\" : \"visa\",\n \"avsResult\" : \"5 No AVS data provided\",\n \"cardSummary\" : \"1111\",\n \"retry.attempt1.avsResultRaw\" : \"5\",\n \"networkTxReference\" : \"777718270854480\",\n \"expiryDate\" : \"3/2030\",\n \"cavvAlgorithm\" : \"N/A\",\n \"cardBin\" : \"411111\",\n \"alias\" : \"8915844059375211\",\n \"cvcResultRaw\" : \"M\",\n \"merchantReference\" : \"YOUR_ORDER_NUMBER\",\n \"acquirerReference\" : \"YOUR_ACQUIRER_REFERENCE\",\n \"cardIssuingCountry\" : \"NL\",\n \"liabilityShift\" : \"false\",\n \"fraudResultType\" : \"GREEN\",\n \"authCode\" : \"035450\",\n \"cardHolderName\" : \"John Smith\",\n \"isCardCommercial\" : \"unknown\",\n \"PaymentAccountReference\" : \"6006491286999921374...\",\n \"retry.attempt1.acquirerAccount\" : \"YOUR_ACQUIRER_ACCOUNT\",\n \"cardIssuingBank\" : \"ISSUING_BANK_CUSTOMER\",\n \"retry.attempt1.acquirer\" : \"YOUR_ACQUIRER_CODE\",\n \"authorisedAmountValue\" : \"40000\",\n \"issuerCountry\" : \"NL\",\n \"cvcResult\" : \"1 Matches\",\n \"retry.attempt1.responseCode\" : \"Approved\",\n \"aliasType\" : \"Default\",\n \"retry.attempt1.shopperInteraction\" : \"Ecommerce\",\n \"cardPaymentMethod\" : \"visa\",\n \"acquirerCode\" : \"YOUR_ACQUIRER_CODE\"\n },\n \"pspReference\" : \"PPKFQ89R6QRXGN82\",\n \"resultCode\" : \"Authorised\",\n \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 40000\n },\n \"donationToken\" : \"81234567890123456...\",\n \"merchantReference\" : \"YOUR_ORDER_NUMBER\"\n}", + "originalRequest": { + "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 \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4111111111111111\",\n \"cvc\" : \"737\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\"\n },\n \"amount\" : {\n \"value\" : 40000,\n \"currency\" : \"USD\"\n },\n \"reference\" : \"{{$guid}}\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"splits\" : [ {\n \"amount\" : {\n \"value\" : 39600\n },\n \"type\" : \"BalanceAccount\",\n \"account\" : \"BA00000000000000000000001\",\n \"reference\" : \"Your reference for the sale amount\",\n \"description\" : \"Your description for the sale amount\"\n }, {\n \"amount\" : {\n \"value\" : 400\n },\n \"type\" : \"Commission\",\n \"reference\" : \"Your reference for the commission\",\n \"description\" : \"Your description for the commission\"\n }, {\n \"type\" : \"PaymentFee\",\n \"account\" : \"BA00000000000000000000001\",\n \"reference\" : \"Your reference for the fees\",\n \"description\" : \"Your description for the fees\"\n } ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4111111111111111\",\n \"cvc\" : \"737\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\"\n },\n \"amount\" : {\n \"value\" : 40000,\n \"currency\" : \"USD\"\n },\n \"reference\" : \"{{$guid}}\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"splits\" : [ {\n \"amount\" : {\n \"value\" : 39600\n },\n \"type\" : \"BalanceAccount\",\n \"account\" : \"BA00000000000000000000001\",\n \"reference\" : \"Your reference for the sale amount\",\n \"description\" : \"Your description for the sale amount\"\n }, {\n \"amount\" : {\n \"value\" : 400\n },\n \"type\" : \"Commission\",\n \"reference\" : \"Your reference for the commission\",\n \"description\" : \"Your description for the commission\"\n }, {\n \"type\" : \"PaymentFee\",\n \"account\" : \"BA00000000000000000000001\",\n \"reference\" : \"Your reference for the fees\",\n \"description\" : \"Your description for the fees\"\n } ]\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + ] }, { "name": "Split a payment in a Classic Platforms integration", "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 \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4111111111111111\",\n \"cvc\" : \"737\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\"\n },\n \"amount\" : {\n \"value\" : 6200,\n \"currency\" : \"EUR\"\n },\n \"reference\" : \"{{$guid}}\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"splits\" : [ {\n \"amount\" : {\n \"value\" : 6000\n },\n \"type\" : \"MarketPlace\",\n \"account\" : \"151272963\",\n \"reference\" : \"6124145\",\n \"description\" : \"Porcelain Doll: Eliza (20cm)\"\n }, {\n \"amount\" : {\n \"value\" : 200\n },\n \"type\" : \"Commission\",\n \"reference\" : \"6124146\"\n } ]\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + "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 \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4111111111111111\",\n \"cvc\" : \"737\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\"\n },\n \"amount\" : {\n \"value\" : 6200,\n \"currency\" : \"EUR\"\n },\n \"reference\" : \"{{$guid}}\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"splits\" : [ {\n \"amount\" : {\n \"value\" : 6000\n },\n \"type\" : \"MarketPlace\",\n \"account\" : \"151272963\",\n \"reference\" : \"6124145\",\n \"description\" : \"Porcelain Doll: Eliza (20cm)\"\n }, {\n \"amount\" : {\n \"value\" : 200\n },\n \"type\" : \"Commission\",\n \"reference\" : \"6124146\"\n } ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + ] }, { "name": "Tokenize card details for a subscription", "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 + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4111111111111111\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\",\n \"cvc\" : \"737\"\n },\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"storePaymentMethod\" : true,\n \"shopperInteraction\" : \"Ecommerce\",\n \"recurringProcessingModel\" : \"Subscription\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"additionalData\" : {\n \"cvcResult\" : \"1 Matches\",\n \"authCode\" : \"004908\",\n \"avsResult\" : \"4 AVS not supported for this card type\",\n \"recurring.recurringDetailReference\" : \"9916178934434753\",\n \"recurringProcessingModel\" : \"Subscription\",\n \"avsResultRaw\" : \"4\",\n \"cvcResultRaw\" : \"M\",\n \"refusalReasonRaw\" : \"AUTHORISED\",\n \"recurring.shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID\",\n \"acquirerCode\" : \"TestPmmAcquirer\",\n \"acquirerReference\" : \"8PQMP9UV722\"\n },\n \"pspReference\" : \"993617895153552A\",\n \"resultCode\" : \"Authorised\",\n \"merchantReference\" : \"string\"\n}", + "originalRequest": { + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4111111111111111\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\",\n \"cvc\" : \"737\"\n },\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"storePaymentMethod\" : true,\n \"shopperInteraction\" : \"Ecommerce\",\n \"recurringProcessingModel\" : \"Subscription\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4111111111111111\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\",\n \"cvc\" : \"737\"\n },\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"storePaymentMethod\" : true,\n \"shopperInteraction\" : \"Ecommerce\",\n \"recurringProcessingModel\" : \"Subscription\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + ] } ] - } -, + }, { "name": "/payments/details", "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. ", @@ -2261,206 +4078,213 @@ { "name": "Submit details for the 3D Secure payment ", "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 \"MD\" : \"Ab02b4c0!BQABAgCW5sxB4e/==...\",\n \"PaRes\" : \"eNrNV0mTo7gS...\"\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. " - } + "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 \"MD\" : \"Ab02b4c0!BQABAgCW5sxB4e/==...\",\n \"PaRes\" : \"eNrNV0mTo7gS...\"\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. " +} + ,"response": [ + ] }, { "name": "Submit 3D Secure 2 callenge flow result", "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 \"details\" : {\n \"threeds2.challengeResult\" : \"eyJ0cmFuc1N0YXR1cyI6IlkifQ==\"\n },\n \"paymentData\" : \"YOUR_PAYMENT_DATA\"\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. " - } + "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 \"details\" : {\n \"threeds2.challengeResult\" : \"eyJ0cmFuc1N0YXR1cyI6IlkifQ==\"\n },\n \"paymentData\" : \"YOUR_PAYMENT_DATA\"\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. " +} + ,"response": [ + ] }, { "name": "Submit 3D Secure 2 device fingerprinting result", "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 \"details\" : {\n \"threeds2.fingerprint\" : \"eyJ0aHJlZURTQ29tcEluZCI6ICJZIn0=\"\n },\n \"paymentData\" : \"YOUR_PAYMENT_DATA...\"\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. " - } + "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 \"details\" : {\n \"threeds2.fingerprint\" : \"eyJ0aHJlZURTQ29tcEluZCI6ICJZIn0=\"\n },\n \"paymentData\" : \"YOUR_PAYMENT_DATA...\"\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. " +} + ,"response": [ + ] }, { "name": "Submit the redirect result", "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\" : \"Ab02b4c0!BQABAgCJN1wRZuGJmq8dMncmypvknj9s7l5Tj...\",\n \"details\" : {\n \"redirectResult\" : \"X6XtfGC3!Y...\"\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. " - } + "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\" : \"Ab02b4c0!BQABAgCJN1wRZuGJmq8dMncmypvknj9s7l5Tj...\",\n \"details\" : {\n \"redirectResult\" : \"X6XtfGC3!Y...\"\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. " +} + ,"response": [ + ] } ] } - ] }, { @@ -2473,55 +4297,113 @@ { "name": "Create a payment link", "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 + "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 \"reference\" : \"{{$guid}}\",\n \"amount\" : {\n \"value\" : 1250,\n \"currency\" : \"BRL\"\n },\n \"countryCode\" : \"BR\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"shopperEmail\" : \"test@email.com\",\n \"shopperLocale\" : \"pt-BR\",\n \"billingAddress\" : {\n \"street\" : \"Roque Petroni Jr\",\n \"postalCode\" : \"59000060\",\n \"city\" : \"São Paulo\",\n \"houseNumberOrName\" : \"999\",\n \"country\" : \"BR\",\n \"stateOrProvince\" : \"SP\"\n },\n \"deliveryAddress\" : {\n \"street\" : \"Roque Petroni Jr\",\n \"postalCode\" : \"59000060\",\n \"city\" : \"São Paulo\",\n \"houseNumberOrName\" : \"999\",\n \"country\" : \"BR\",\n \"stateOrProvince\" : \"SP\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentLinks", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentLinks" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates a payment link to our hosted payment form where shoppers can pay. The list of payment methods presented to the shopper depends on the `currency` and `country` parameters sent in the request. For more information, refer to [Pay by Link documentation](https://docs.adyen.com/online-payments/pay-by-link#create-payment-links-through-api)." +} + ,"response": [ + {"name": "Created - the request has succeeded.", + "code": 201, + "status": "Created", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"amount\" : {\n \"currency\" : \"BRL\",\n \"value\" : 1250\n },\n \"billingAddress\" : {\n \"city\" : \"São Paulo\",\n \"country\" : \"BR\",\n \"houseNumberOrName\" : \"999\",\n \"postalCode\" : \"59000060\",\n \"stateOrProvince\" : \"SP\",\n \"street\" : \"Roque Petroni Jr\"\n },\n \"countryCode\" : \"BR\",\n \"deliveryAddress\" : {\n \"city\" : \"São Paulo\",\n \"country\" : \"BR\",\n \"houseNumberOrName\" : \"999\",\n \"postalCode\" : \"59000060\",\n \"stateOrProvince\" : \"SP\",\n \"street\" : \"Roque Petroni Jr\"\n },\n \"expiresAt\" : \"2022-10-28T09:16:22Z\",\n \"merchantAccount\" : \"YOUR_MERCHANT_ACCOUNT\",\n \"reference\" : \"YOUR_ORDER_NUMBER\",\n \"reusable\" : false,\n \"shopperEmail\" : \"test@email.com\",\n \"shopperLocale\" : \"pt-BR\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"id\" : \"PLE83C39B0A0DE0C1E\",\n \"status\" : \"active\",\n \"url\" : \"https://test.adyen.link/PLE83C39B0A0DE0C1E\"\n}", + "originalRequest": { + "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 \"reference\" : \"{{$guid}}\",\n \"amount\" : {\n \"value\" : 1250,\n \"currency\" : \"BRL\"\n },\n \"countryCode\" : \"BR\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"shopperEmail\" : \"test@email.com\",\n \"shopperLocale\" : \"pt-BR\",\n \"billingAddress\" : {\n \"street\" : \"Roque Petroni Jr\",\n \"postalCode\" : \"59000060\",\n \"city\" : \"São Paulo\",\n \"houseNumberOrName\" : \"999\",\n \"country\" : \"BR\",\n \"stateOrProvince\" : \"SP\"\n },\n \"deliveryAddress\" : {\n \"street\" : \"Roque Petroni Jr\",\n \"postalCode\" : \"59000060\",\n \"city\" : \"São Paulo\",\n \"houseNumberOrName\" : \"999\",\n \"country\" : \"BR\",\n \"stateOrProvince\" : \"SP\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentLinks", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentLinks" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates a payment link to our hosted payment form where shoppers can pay. The list of payment methods presented to the shopper depends on the `currency` and `country` parameters sent in the request. For more information, refer to [Pay by Link documentation](https://docs.adyen.com/online-payments/pay-by-link#create-payment-links-through-api)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"reference\" : \"{{$guid}}\",\n \"amount\" : {\n \"value\" : 1250,\n \"currency\" : \"BRL\"\n },\n \"countryCode\" : \"BR\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"shopperEmail\" : \"test@email.com\",\n \"shopperLocale\" : \"pt-BR\",\n \"billingAddress\" : {\n \"street\" : \"Roque Petroni Jr\",\n \"postalCode\" : \"59000060\",\n \"city\" : \"São Paulo\",\n \"houseNumberOrName\" : \"999\",\n \"country\" : \"BR\",\n \"stateOrProvince\" : \"SP\"\n },\n \"deliveryAddress\" : {\n \"street\" : \"Roque Petroni Jr\",\n \"postalCode\" : \"59000060\",\n \"city\" : \"São Paulo\",\n \"houseNumberOrName\" : \"999\",\n \"country\" : \"BR\",\n \"stateOrProvince\" : \"SP\"\n }\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentLinks", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentLinks" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Creates a payment link to our hosted payment form where shoppers can pay. The list of payment methods presented to the shopper depends on the `currency` and `country` parameters sent in the request. For more information, refer to [Pay by Link documentation](https://docs.adyen.com/online-payments/pay-by-link#create-payment-links-through-api)." - } + ] } ] - } -, + }, { "name": "/paymentLinks/:linkId", "description": "Retrieves the payment link details using the payment link `id`.", @@ -2529,49 +4411,50 @@ { "name": "Get a payment link", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentLinks/:linkId", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentLinks", - ":linkId" - ], - "variable": [ - { - "key": "linkId", - "value": "", - "description": "Unique identifier of the payment link." - } - ], - "query": [ - ] - }, - "description": "Retrieves the payment link details using the payment link `id`." - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentLinks/:linkId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentLinks", + ":linkId" + ], + "variable": [ + { + "key": "linkId", + "value": "", + "description": "Unique identifier of the payment link." + } + ], + "query": [ + ] + }, + "description": "Retrieves the payment link details using the payment link `id`." +} + ,"response": [ + ] } ] - } -, + }, { "name": "/paymentLinks/:linkId", "description": "Updates the status of a payment link. Use this endpoint to [force the expiry of a payment link](https://docs.adyen.com/online-payments/pay-by-link#update-payment-link-status).", @@ -2579,55 +4462,113 @@ { "name": "Update the status of a payment link", "request": { - "method": "PATCH", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"status\" : \"expired\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentLinks/:linkId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentLinks", + ":linkId" + ], + "variable": [ + { + "key": "linkId", + "value": "", + "description": "Unique identifier of the payment link." + } + ], + "query": [ + ] + }, + "description": "Updates the status of a payment link. Use this endpoint to [force the expiry of a payment link](https://docs.adyen.com/online-payments/pay-by-link#update-payment-link-status)." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 8700\n },\n \"countryCode\" : \"NL\",\n \"expiresAt\" : \"2021-04-08T14:06:39Z\",\n \"merchantAccount\" : \"YOUR_MERCHANT_ACCOUNT\",\n \"reference\" : \"shopper-reference-ekvL83\",\n \"shopperLocale\" : \"hu-HU\",\n \"shopperReference\" : \"shopper-reference-LZfdWZ\",\n \"status\" : \"expired\",\n \"url\" : \"https://test.adyen.link/PL61C53A8B97E6915A\",\n \"id\" : \"PL61C53A8B97E6915A\"\n}", + "originalRequest": { + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"status\" : \"expired\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentLinks/:linkId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentLinks", + ":linkId" + ], + "variable": [ + { + "key": "linkId", + "value": "", + "description": "Unique identifier of the payment link." + } + ], + "query": [ + ] + }, + "description": "Updates the status of a payment link. Use this endpoint to [force the expiry of a payment link](https://docs.adyen.com/online-payments/pay-by-link#update-payment-link-status)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"status\" : \"expired\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentLinks/:linkId", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentLinks", - ":linkId" - ], - "variable": [ - { - "key": "linkId", - "value": "", - "description": "Unique identifier of the payment link." - } - ], - "query": [ - ] - }, - "description": "Updates the status of a payment link. Use this endpoint to [force the expiry of a payment link](https://docs.adyen.com/online-payments/pay-by-link#update-payment-link-status)." - } + ] } ] } - ] } ], diff --git a/postman/CheckoutService-v66.json b/postman/CheckoutService-v66.json index 73e84a5..9c6e0de 100644 --- a/postman/CheckoutService-v66.json +++ b/postman/CheckoutService-v66.json @@ -19,55 +19,113 @@ { "name": "Cancel a payment using your own reference", "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 + "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 \"paymentReference\" : \"YOUR_UNIQUE_REFERENCE_FOR_THE_PAYMENT\",\n \"reference\" : \"YOUR_UNIQUE_REFERENCE_FOR_THE_CANCELLATION\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/cancels", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "cancels" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Cancels the authorisation on a payment that has not yet been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/captures), and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**TECHNICAL_CANCEL** webhook](https://docs.adyen.com/online-payments/cancel#cancellation-webhook). If you want to cancel a payment using the [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference), use the [`/payments/{paymentPspReference}/cancels`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/cancels) endpoint instead. If you want to cancel a payment but are not sure whether it has been captured, use the [`/payments/{paymentPspReference}/reversals`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/reversals) endpoint instead. For more information, refer to [Cancel](https://docs.adyen.com/online-payments/cancel)." +} + ,"response": [ + {"name": "Created - the request has been fulfilled and has resulted in one or more new resources being created.", + "code": 201, + "status": "Created", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"merchantAccount\" : \"YOUR_MERCHANT_ACCOUNT\",\n \"paymentReference\" : \"YOUR_UNIQUE_REFERENCE_FOR_THE_PAYMENT\",\n \"reference\" : \"YOUR_UNIQUE_REFERENCE_FOR_THE_CANCELLATION\",\n \"pspReference\" : \"993617894906488A\",\n \"status\" : \"received\"\n}", + "originalRequest": { + "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 \"paymentReference\" : \"YOUR_UNIQUE_REFERENCE_FOR_THE_PAYMENT\",\n \"reference\" : \"YOUR_UNIQUE_REFERENCE_FOR_THE_CANCELLATION\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/cancels", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "cancels" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Cancels the authorisation on a payment that has not yet been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/captures), and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**TECHNICAL_CANCEL** webhook](https://docs.adyen.com/online-payments/cancel#cancellation-webhook). If you want to cancel a payment using the [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference), use the [`/payments/{paymentPspReference}/cancels`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/cancels) endpoint instead. If you want to cancel a payment but are not sure whether it has been captured, use the [`/payments/{paymentPspReference}/reversals`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/reversals) endpoint instead. For more information, refer to [Cancel](https://docs.adyen.com/online-payments/cancel)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"paymentReference\" : \"YOUR_UNIQUE_REFERENCE_FOR_THE_PAYMENT\",\n \"reference\" : \"YOUR_UNIQUE_REFERENCE_FOR_THE_CANCELLATION\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/cancels", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "cancels" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Cancels the authorisation on a payment that has not yet been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/captures), and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**TECHNICAL_CANCEL** webhook](https://docs.adyen.com/online-payments/cancel#cancellation-webhook). If you want to cancel a payment using the [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference), use the [`/payments/{paymentPspReference}/cancels`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/cancels) endpoint instead. If you want to cancel a payment but are not sure whether it has been captured, use the [`/payments/{paymentPspReference}/reversals`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/reversals) endpoint instead. For more information, refer to [Cancel](https://docs.adyen.com/online-payments/cancel)." - } + ] } ] - } -, + }, { "name": "/payments/:paymentPspReference/amountUpdates", "description": "Increases or decreases the authorised payment amount and returns a unique reference for this request. You get the outcome of the request asynchronously, in an [**AUTHORISATION_ADJUSTMENT** webhook](https://docs.adyen.com/development-resources/webhooks/understand-notifications#event-codes). You can only update authorised amounts that have not yet been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/captures). The amount you specify in the request is the updated amount, which is larger or smaller than the initial authorised amount. For more information, refer to [Authorisation adjustment](https://docs.adyen.com/online-payments/adjust-authorisation#use-cases).", @@ -75,62 +133,127 @@ { "name": "Update the amount of an authorised payment", "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 + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 2500\n },\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments/:paymentPspReference/amountUpdates", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments", + ":paymentPspReference", + "amountUpdates" + ], + "variable": [ + { + "key": "paymentPspReference", + "value": "", + "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment." + } + ], + "query": [ + ] + }, + "description": "Increases or decreases the authorised payment amount and returns a unique reference for this request. You get the outcome of the request asynchronously, in an [**AUTHORISATION_ADJUSTMENT** webhook](https://docs.adyen.com/development-resources/webhooks/understand-notifications#event-codes). You can only update authorised amounts that have not yet been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/captures). The amount you specify in the request is the updated amount, which is larger or smaller than the initial authorised amount. For more information, refer to [Authorisation adjustment](https://docs.adyen.com/online-payments/adjust-authorisation#use-cases)." +} + ,"response": [ + {"name": "Created - the request has been fulfilled and has resulted in one or more new resources being created.", + "code": 201, + "status": "Created", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"merchantAccount\" : \"YOUR_MERCHANT_ACCOUNT\",\n \"paymentPspReference\" : \"993617894903480A\",\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"pspReference\" : \"993617894906488A\",\n \"status\" : \"received\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 2500\n }\n}", + "originalRequest": { + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 2500\n },\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments/:paymentPspReference/amountUpdates", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments", + ":paymentPspReference", + "amountUpdates" + ], + "variable": [ + { + "key": "paymentPspReference", + "value": "", + "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment." + } + ], + "query": [ + ] + }, + "description": "Increases or decreases the authorised payment amount and returns a unique reference for this request. You get the outcome of the request asynchronously, in an [**AUTHORISATION_ADJUSTMENT** webhook](https://docs.adyen.com/development-resources/webhooks/understand-notifications#event-codes). You can only update authorised amounts that have not yet been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/captures). The amount you specify in the request is the updated amount, which is larger or smaller than the initial authorised amount. For more information, refer to [Authorisation adjustment](https://docs.adyen.com/online-payments/adjust-authorisation#use-cases)." +} } - ], - "body": { - "mode": "raw", - "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" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments/:paymentPspReference/amountUpdates", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments", - ":paymentPspReference", - "amountUpdates" - ], - "variable": [ - { - "key": "paymentPspReference", - "value": "", - "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment." - } - ], - "query": [ - ] - }, - "description": "Increases or decreases the authorised payment amount and returns a unique reference for this request. You get the outcome of the request asynchronously, in an [**AUTHORISATION_ADJUSTMENT** webhook](https://docs.adyen.com/development-resources/webhooks/understand-notifications#event-codes). You can only update authorised amounts that have not yet been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/captures). The amount you specify in the request is the updated amount, which is larger or smaller than the initial authorised amount. For more information, refer to [Authorisation adjustment](https://docs.adyen.com/online-payments/adjust-authorisation#use-cases)." - } + ] } ] - } -, + }, { "name": "/payments/:paymentPspReference/cancels", "description": "Cancels the authorisation on a payment that has not yet been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/paymentPspReference/captures), and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CANCELLATION** webhook](https://docs.adyen.com/online-payments/cancel#cancellation-webhook). If you want to cancel a payment but don't have the [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference), use the [`/cancels`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cancels) endpoint instead. If you want to cancel a payment but are not sure whether it has been captured, use the [`/payments/{paymentPspReference}/reversals`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/reversals) endpoint instead. For more information, refer to [Cancel](https://docs.adyen.com/online-payments/cancel).", @@ -138,62 +261,127 @@ { "name": "Cancel payment using a PSP reference", "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 + "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 \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments/:paymentPspReference/cancels", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments", + ":paymentPspReference", + "cancels" + ], + "variable": [ + { + "key": "paymentPspReference", + "value": "", + "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to cancel. " + } + ], + "query": [ + ] + }, + "description": "Cancels the authorisation on a payment that has not yet been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/paymentPspReference/captures), and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CANCELLATION** webhook](https://docs.adyen.com/online-payments/cancel#cancellation-webhook). If you want to cancel a payment but don't have the [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference), use the [`/cancels`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cancels) endpoint instead. If you want to cancel a payment but are not sure whether it has been captured, use the [`/payments/{paymentPspReference}/reversals`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/reversals) endpoint instead. For more information, refer to [Cancel](https://docs.adyen.com/online-payments/cancel)." +} + ,"response": [ + {"name": "Created - the request has been fulfilled and has resulted in one or more new resources being created.", + "code": 201, + "status": "Created", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"merchantAccount\" : \"YOUR_MERCHANT_ACCOUNT\",\n \"paymentPspReference\" : \"993617894903480A\",\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"pspReference\" : \"993617894906488A\",\n \"status\" : \"received\"\n}", + "originalRequest": { + "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 \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments/:paymentPspReference/cancels", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments", + ":paymentPspReference", + "cancels" + ], + "variable": [ + { + "key": "paymentPspReference", + "value": "", + "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to cancel. " + } + ], + "query": [ + ] + }, + "description": "Cancels the authorisation on a payment that has not yet been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/paymentPspReference/captures), and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CANCELLATION** webhook](https://docs.adyen.com/online-payments/cancel#cancellation-webhook). If you want to cancel a payment but don't have the [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference), use the [`/cancels`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cancels) endpoint instead. If you want to cancel a payment but are not sure whether it has been captured, use the [`/payments/{paymentPspReference}/reversals`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/reversals) endpoint instead. For more information, refer to [Cancel](https://docs.adyen.com/online-payments/cancel)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments/:paymentPspReference/cancels", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments", - ":paymentPspReference", - "cancels" - ], - "variable": [ - { - "key": "paymentPspReference", - "value": "", - "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to cancel. " - } - ], - "query": [ - ] - }, - "description": "Cancels the authorisation on a payment that has not yet been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/paymentPspReference/captures), and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CANCELLATION** webhook](https://docs.adyen.com/online-payments/cancel#cancellation-webhook). If you want to cancel a payment but don't have the [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference), use the [`/cancels`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cancels) endpoint instead. If you want to cancel a payment but are not sure whether it has been captured, use the [`/payments/{paymentPspReference}/reversals`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/reversals) endpoint instead. For more information, refer to [Cancel](https://docs.adyen.com/online-payments/cancel)." - } + ] } ] - } -, + }, { "name": "/payments/:paymentPspReference/captures", "description": " Captures an authorised payment and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CAPTURE** webhook](https://docs.adyen.com/online-payments/capture#capture-notification). You can capture either the full authorised amount or a part of the authorised amount. By default, any unclaimed amount after a partial capture gets cancelled. This does not apply if you enabled multiple partial captures on your account and the payment method supports multiple partial captures. [Automatic capture](https://docs.adyen.com/online-payments/capture#automatic-capture) is the default setting for most payment methods. In these cases, you don't need to make capture requests. However, making capture requests for payments that are captured automatically does not result in double charges. For more information, refer to [Capture](https://docs.adyen.com/online-payments/capture).", @@ -201,62 +389,127 @@ { "name": "Capture an authorised payment", "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 + "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 \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"amount\" : {\n \"value\" : 2000,\n \"currency\" : \"EUR\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments/:paymentPspReference/captures", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments", + ":paymentPspReference", + "captures" + ], + "variable": [ + { + "key": "paymentPspReference", + "value": "", + "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to capture." + } + ], + "query": [ + ] + }, + "description": " Captures an authorised payment and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CAPTURE** webhook](https://docs.adyen.com/online-payments/capture#capture-notification). You can capture either the full authorised amount or a part of the authorised amount. By default, any unclaimed amount after a partial capture gets cancelled. This does not apply if you enabled multiple partial captures on your account and the payment method supports multiple partial captures. [Automatic capture](https://docs.adyen.com/online-payments/capture#automatic-capture) is the default setting for most payment methods. In these cases, you don't need to make capture requests. However, making capture requests for payments that are captured automatically does not result in double charges. For more information, refer to [Capture](https://docs.adyen.com/online-payments/capture)." +} + ,"response": [ + {"name": "Created - the request has been fulfilled and has resulted in one or more new resources being created.", + "code": 201, + "status": "Created", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"merchantAccount\" : \"YOUR_MERCHANT_ACCOUNT\",\n \"paymentPspReference\" : \"993617894903480A\",\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"pspReference\" : \"993617894906488A\",\n \"status\" : \"received\",\n \"amount\" : {\n \"value\" : 2000,\n \"currency\" : \"EUR\"\n }\n}", + "originalRequest": { + "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 \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"amount\" : {\n \"value\" : 2000,\n \"currency\" : \"EUR\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments/:paymentPspReference/captures", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments", + ":paymentPspReference", + "captures" + ], + "variable": [ + { + "key": "paymentPspReference", + "value": "", + "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to capture." + } + ], + "query": [ + ] + }, + "description": " Captures an authorised payment and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CAPTURE** webhook](https://docs.adyen.com/online-payments/capture#capture-notification). You can capture either the full authorised amount or a part of the authorised amount. By default, any unclaimed amount after a partial capture gets cancelled. This does not apply if you enabled multiple partial captures on your account and the payment method supports multiple partial captures. [Automatic capture](https://docs.adyen.com/online-payments/capture#automatic-capture) is the default setting for most payment methods. In these cases, you don't need to make capture requests. However, making capture requests for payments that are captured automatically does not result in double charges. For more information, refer to [Capture](https://docs.adyen.com/online-payments/capture)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"amount\" : {\n \"value\" : 2000,\n \"currency\" : \"EUR\"\n }\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments/:paymentPspReference/captures", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments", - ":paymentPspReference", - "captures" - ], - "variable": [ - { - "key": "paymentPspReference", - "value": "", - "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to capture." - } - ], - "query": [ - ] - }, - "description": " Captures an authorised payment and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CAPTURE** webhook](https://docs.adyen.com/online-payments/capture#capture-notification). You can capture either the full authorised amount or a part of the authorised amount. By default, any unclaimed amount after a partial capture gets cancelled. This does not apply if you enabled multiple partial captures on your account and the payment method supports multiple partial captures. [Automatic capture](https://docs.adyen.com/online-payments/capture#automatic-capture) is the default setting for most payment methods. In these cases, you don't need to make capture requests. However, making capture requests for payments that are captured automatically does not result in double charges. For more information, refer to [Capture](https://docs.adyen.com/online-payments/capture)." - } + ] } ] - } -, + }, { "name": "/payments/:paymentPspReference/refunds", "description": "Refunds a payment that has been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/captures), and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**REFUND** webhook](https://docs.adyen.com/online-payments/refund#refund-webhook). You can refund either the full captured amount or a part of the captured amount. You can also perform multiple partial refunds, as long as their sum doesn't exceed the captured amount. > Some payment methods do not support partial refunds. To learn if a payment method supports partial refunds, refer to the payment method page such as [cards](https://docs.adyen.com/payment-methods/cards#supported-cards), [iDEAL](https://docs.adyen.com/payment-methods/ideal), or [Klarna](https://docs.adyen.com/payment-methods/klarna). If you want to refund a payment but are not sure whether it has been captured, use the [`/payments/{paymentPspReference}/reversals`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/reversals) endpoint instead. For more information, refer to [Refund](https://docs.adyen.com/online-payments/refund).", @@ -264,62 +517,127 @@ { "name": "Refund a payment", "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 + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 2500\n },\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments/:paymentPspReference/refunds", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments", + ":paymentPspReference", + "refunds" + ], + "variable": [ + { + "key": "paymentPspReference", + "value": "", + "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to refund." + } + ], + "query": [ + ] + }, + "description": "Refunds a payment that has been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/captures), and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**REFUND** webhook](https://docs.adyen.com/online-payments/refund#refund-webhook). You can refund either the full captured amount or a part of the captured amount. You can also perform multiple partial refunds, as long as their sum doesn't exceed the captured amount. > Some payment methods do not support partial refunds. To learn if a payment method supports partial refunds, refer to the payment method page such as [cards](https://docs.adyen.com/payment-methods/cards#supported-cards), [iDEAL](https://docs.adyen.com/payment-methods/ideal), or [Klarna](https://docs.adyen.com/payment-methods/klarna). If you want to refund a payment but are not sure whether it has been captured, use the [`/payments/{paymentPspReference}/reversals`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/reversals) endpoint instead. For more information, refer to [Refund](https://docs.adyen.com/online-payments/refund)." +} + ,"response": [ + {"name": "Created - the request has been fulfilled and has resulted in one or more new resources being created.", + "code": 201, + "status": "Created", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"merchantAccount\" : \"YOUR_MERCHANT_ACCOUNT\",\n \"paymentPspReference\" : \"993617894903480A\",\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"pspReference\" : \"993617894906488A\",\n \"status\" : \"received\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 2500\n }\n}", + "originalRequest": { + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 2500\n },\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments/:paymentPspReference/refunds", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments", + ":paymentPspReference", + "refunds" + ], + "variable": [ + { + "key": "paymentPspReference", + "value": "", + "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to refund." + } + ], + "query": [ + ] + }, + "description": "Refunds a payment that has been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/captures), and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**REFUND** webhook](https://docs.adyen.com/online-payments/refund#refund-webhook). You can refund either the full captured amount or a part of the captured amount. You can also perform multiple partial refunds, as long as their sum doesn't exceed the captured amount. > Some payment methods do not support partial refunds. To learn if a payment method supports partial refunds, refer to the payment method page such as [cards](https://docs.adyen.com/payment-methods/cards#supported-cards), [iDEAL](https://docs.adyen.com/payment-methods/ideal), or [Klarna](https://docs.adyen.com/payment-methods/klarna). If you want to refund a payment but are not sure whether it has been captured, use the [`/payments/{paymentPspReference}/reversals`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/reversals) endpoint instead. For more information, refer to [Refund](https://docs.adyen.com/online-payments/refund)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 2500\n },\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments/:paymentPspReference/refunds", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments", - ":paymentPspReference", - "refunds" - ], - "variable": [ - { - "key": "paymentPspReference", - "value": "", - "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to refund." - } - ], - "query": [ - ] - }, - "description": "Refunds a payment that has been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/captures), and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**REFUND** webhook](https://docs.adyen.com/online-payments/refund#refund-webhook). You can refund either the full captured amount or a part of the captured amount. You can also perform multiple partial refunds, as long as their sum doesn't exceed the captured amount. > Some payment methods do not support partial refunds. To learn if a payment method supports partial refunds, refer to the payment method page such as [cards](https://docs.adyen.com/payment-methods/cards#supported-cards), [iDEAL](https://docs.adyen.com/payment-methods/ideal), or [Klarna](https://docs.adyen.com/payment-methods/klarna). If you want to refund a payment but are not sure whether it has been captured, use the [`/payments/{paymentPspReference}/reversals`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/reversals) endpoint instead. For more information, refer to [Refund](https://docs.adyen.com/online-payments/refund)." - } + ] } ] - } -, + }, { "name": "/payments/:paymentPspReference/reversals", "description": "[Refunds](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/refunds) a payment if it has already been captured, and [cancels](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/cancels) a payment if it has not yet been captured. Returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CANCEL_OR_REFUND** webhook](https://docs.adyen.com/online-payments/reverse#cancel-or-refund-webhook). The reversed amount is always the full payment amount. > Do not use this request for payments that involve multiple partial captures. For more information, refer to [Reversal](https://docs.adyen.com/online-payments/reversal).", @@ -327,62 +645,127 @@ { "name": "Reverse (cancel or refund) a payment", "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 + "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 \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments/:paymentPspReference/reversals", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments", + ":paymentPspReference", + "reversals" + ], + "variable": [ + { + "key": "paymentPspReference", + "value": "", + "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to reverse. " + } + ], + "query": [ + ] + }, + "description": "[Refunds](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/refunds) a payment if it has already been captured, and [cancels](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/cancels) a payment if it has not yet been captured. Returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CANCEL_OR_REFUND** webhook](https://docs.adyen.com/online-payments/reverse#cancel-or-refund-webhook). The reversed amount is always the full payment amount. > Do not use this request for payments that involve multiple partial captures. For more information, refer to [Reversal](https://docs.adyen.com/online-payments/reversal)." +} + ,"response": [ + {"name": "Created - the request has been fulfilled and has resulted in one or more new resources being created.", + "code": 201, + "status": "Created", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"merchantAccount\" : \"YOUR_MERCHANT_ACCOUNT\",\n \"paymentPspReference\" : \"993617894903480A\",\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"pspReference\" : \"993617894906488A\",\n \"status\" : \"received\"\n}", + "originalRequest": { + "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 \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments/:paymentPspReference/reversals", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments", + ":paymentPspReference", + "reversals" + ], + "variable": [ + { + "key": "paymentPspReference", + "value": "", + "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to reverse. " + } + ], + "query": [ + ] + }, + "description": "[Refunds](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/refunds) a payment if it has already been captured, and [cancels](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/cancels) a payment if it has not yet been captured. Returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CANCEL_OR_REFUND** webhook](https://docs.adyen.com/online-payments/reverse#cancel-or-refund-webhook). The reversed amount is always the full payment amount. > Do not use this request for payments that involve multiple partial captures. For more information, refer to [Reversal](https://docs.adyen.com/online-payments/reversal)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments/:paymentPspReference/reversals", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments", - ":paymentPspReference", - "reversals" - ], - "variable": [ - { - "key": "paymentPspReference", - "value": "", - "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to reverse. " - } - ], - "query": [ - ] - }, - "description": "[Refunds](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/refunds) a payment if it has already been captured, and [cancels](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/cancels) a payment if it has not yet been captured. Returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CANCEL_OR_REFUND** webhook](https://docs.adyen.com/online-payments/reverse#cancel-or-refund-webhook). The reversed amount is always the full payment amount. > Do not use this request for payments that involve multiple partial captures. For more information, refer to [Reversal](https://docs.adyen.com/online-payments/reversal)." - } + ] } ] } - ] }, { @@ -395,251 +778,374 @@ { "name": "Set up a payment session (Android)", "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 17408\n },\n \"reference\" : \"Your order number\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"channel\" : \"Android\",\n \"token\" : \"TOKEN_YOU_GET_FROM_CHECKOUT_SDK\",\n \"returnUrl\" : \"app://\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl_NL\",\n \"sessionValidity\" : \"2017-04-06T13:09:13Z\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentSession", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentSession" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Provides the data object that can be used to start the Checkout SDK. To set up the payment, pass its amount, currency, and other required parameters. We use this to optimise the payment flow and perform better risk assessment of the transaction. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." - } + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 17408\n },\n \"reference\" : \"Your order number\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"channel\" : \"Android\",\n \"token\" : \"TOKEN_YOU_GET_FROM_CHECKOUT_SDK\",\n \"returnUrl\" : \"app://\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl_NL\",\n \"sessionValidity\" : \"2017-04-06T13:09:13Z\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentSession", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentSession" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Provides the data object that can be used to start the Checkout SDK. To set up the payment, pass its amount, currency, and other required parameters. We use this to optimise the payment flow and perform better risk assessment of the transaction. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." +} + ,"response": [ + ] }, { "name": "Set up a payment session with the option to store card details", "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 + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 17408\n },\n \"reference\" : \"Your order number\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"enableOneClick\" : true,\n \"enableRecurring\" : true,\n \"channel\" : \"Web\",\n \"origin\" : \"https://www.yourwebsite.com\",\n \"returnUrl\" : \"https://www.yourshop.com/checkout/result\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl_NL\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"sdkVersion\" : \"1.7.0\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentSession", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentSession" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Provides the data object that can be used to start the Checkout SDK. To set up the payment, pass its amount, currency, and other required parameters. We use this to optimise the payment flow and perform better risk assessment of the transaction. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"paymentSession\" : \"eyJjaGVja291dHNob3BwZXJCYXN...\"\n}", + "originalRequest": { + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 17408\n },\n \"reference\" : \"Your order number\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"enableOneClick\" : true,\n \"enableRecurring\" : true,\n \"channel\" : \"Web\",\n \"origin\" : \"https://www.yourwebsite.com\",\n \"returnUrl\" : \"https://www.yourshop.com/checkout/result\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl_NL\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"sdkVersion\" : \"1.7.0\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentSession", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentSession" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Provides the data object that can be used to start the Checkout SDK. To set up the payment, pass its amount, currency, and other required parameters. We use this to optimise the payment flow and perform better risk assessment of the transaction. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 17408\n },\n \"reference\" : \"Your order number\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"enableOneClick\" : true,\n \"enableRecurring\" : true,\n \"channel\" : \"Web\",\n \"origin\" : \"https://www.yourwebsite.com\",\n \"returnUrl\" : \"https://www.yourshop.com/checkout/result\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl_NL\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"sdkVersion\" : \"1.7.0\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentSession", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentSession" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Provides the data object that can be used to start the Checkout SDK. To set up the payment, pass its amount, currency, and other required parameters. We use this to optimise the payment flow and perform better risk assessment of the transaction. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." - } + ] }, { "name": "Set up a payment session (iOS)", "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 17408\n },\n \"reference\" : \"Your order number\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"channel\" : \"iOS\",\n \"token\" : \"TOKEN_YOU_GET_FROM_CHECKOUT_SDK\",\n \"returnUrl\" : \"app://\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl_NL\",\n \"sessionValidity\" : \"2017-04-06T13:09:13Z\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentSession", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentSession" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Provides the data object that can be used to start the Checkout SDK. To set up the payment, pass its amount, currency, and other required parameters. We use this to optimise the payment flow and perform better risk assessment of the transaction. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." - } + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 17408\n },\n \"reference\" : \"Your order number\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"channel\" : \"iOS\",\n \"token\" : \"TOKEN_YOU_GET_FROM_CHECKOUT_SDK\",\n \"returnUrl\" : \"app://\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl_NL\",\n \"sessionValidity\" : \"2017-04-06T13:09:13Z\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentSession", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentSession" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Provides the data object that can be used to start the Checkout SDK. To set up the payment, pass its amount, currency, and other required parameters. We use this to optimise the payment flow and perform better risk assessment of the transaction. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." +} + ,"response": [ + ] }, { "name": "Split a payment between a sub-merchant and a platform account", "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 6200\n },\n \"additionalData\" : {\n \"split.api\" : \"1\",\n \"split.nrOfItems\" : \"2\",\n \"split.totalAmount\" : \"6200\",\n \"split.currencyCode\" : \"EUR\",\n \"split.item1.amount\" : \"6000\",\n \"split.item1.type\" : \"MarketPlace\",\n \"split.item1.account\" : \"151272963\",\n \"split.item1.reference\" : \"6124145\",\n \"split.item1.description\" : \"Porcelain Doll: Eliza (20cm)\",\n \"split.item2.amount\" : \"200\",\n \"split.item2.type\" : \"Commission\",\n \"split.item2.reference\" : \"6124146\"\n },\n \"reference\" : \"Your order number\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"channel\" : \"Android\",\n \"token\" : \"TOKEN_YOU_GET_FROM_CHECKOUT_SDK\",\n \"returnUrl\" : \"app://\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl_NL\",\n \"sessionValidity\" : \"2017-04-06T13:09:13Z\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentSession", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentSession" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Provides the data object that can be used to start the Checkout SDK. To set up the payment, pass its amount, currency, and other required parameters. We use this to optimise the payment flow and perform better risk assessment of the transaction. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." - } + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 6200\n },\n \"additionalData\" : {\n \"split.api\" : \"1\",\n \"split.nrOfItems\" : \"2\",\n \"split.totalAmount\" : \"6200\",\n \"split.currencyCode\" : \"EUR\",\n \"split.item1.amount\" : \"6000\",\n \"split.item1.type\" : \"MarketPlace\",\n \"split.item1.account\" : \"151272963\",\n \"split.item1.reference\" : \"6124145\",\n \"split.item1.description\" : \"Porcelain Doll: Eliza (20cm)\",\n \"split.item2.amount\" : \"200\",\n \"split.item2.type\" : \"Commission\",\n \"split.item2.reference\" : \"6124146\"\n },\n \"reference\" : \"Your order number\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"channel\" : \"Android\",\n \"token\" : \"TOKEN_YOU_GET_FROM_CHECKOUT_SDK\",\n \"returnUrl\" : \"app://\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl_NL\",\n \"sessionValidity\" : \"2017-04-06T13:09:13Z\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentSession", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentSession" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Provides the data object that can be used to start the Checkout SDK. To set up the payment, pass its amount, currency, and other required parameters. We use this to optimise the payment flow and perform better risk assessment of the transaction. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." +} + ,"response": [ + ] }, { "name": "Set up a payment session (Web)", "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 + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 17408\n },\n \"reference\" : \"Your order number\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"channel\" : \"Web\",\n \"origin\" : \"https://www.yourwebsite.com\",\n \"returnUrl\" : \"https://www.yourshop.com/checkout/result\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl_NL\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"sdkVersion\" : \"1.9.5\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentSession", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentSession" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Provides the data object that can be used to start the Checkout SDK. To set up the payment, pass its amount, currency, and other required parameters. We use this to optimise the payment flow and perform better risk assessment of the transaction. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"paymentSession\" : \"eyJjaGVja291dHNob3BwZXJCYXN...\"\n}", + "originalRequest": { + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 17408\n },\n \"reference\" : \"Your order number\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"channel\" : \"Web\",\n \"origin\" : \"https://www.yourwebsite.com\",\n \"returnUrl\" : \"https://www.yourshop.com/checkout/result\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl_NL\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"sdkVersion\" : \"1.9.5\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentSession", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentSession" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Provides the data object that can be used to start the Checkout SDK. To set up the payment, pass its amount, currency, and other required parameters. We use this to optimise the payment flow and perform better risk assessment of the transaction. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 17408\n },\n \"reference\" : \"Your order number\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"channel\" : \"Web\",\n \"origin\" : \"https://www.yourwebsite.com\",\n \"returnUrl\" : \"https://www.yourshop.com/checkout/result\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl_NL\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"sdkVersion\" : \"1.9.5\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentSession", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentSession" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Provides the data object that can be used to start the Checkout SDK. To set up the payment, pass its amount, currency, and other required parameters. We use this to optimise the payment flow and perform better risk assessment of the transaction. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." - } + ] } ] - } -, + }, { "name": "/payments/result (DEPRECATED)", "description": "Verifies the payment result using the payload returned from the Checkout SDK. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks).", @@ -647,56 +1153,115 @@ { "name": "Verify payment results", "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 + "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 \"payload\" : \"VALUE_YOU_GET_FROM_CHECKOUT_SDK\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments/result", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments", + "result" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Verifies the payment result using the payload returned from the Checkout SDK. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"pspReference\" : \"V4HZ4RBFJGXXGN82\",\n \"merchantReference\" : \"Your order number\",\n \"shopperLocale\" : \"nl_NL\",\n \"paymentMethod\" : \"ideal\"\n}", + "originalRequest": { + "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 \"payload\" : \"VALUE_YOU_GET_FROM_CHECKOUT_SDK\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments/result", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments", + "result" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Verifies the payment result using the payload returned from the Checkout SDK. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"payload\" : \"VALUE_YOU_GET_FROM_CHECKOUT_SDK\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments/result", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments", - "result" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Verifies the payment result using the payload returned from the Checkout SDK. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." - } + ] } ] } - ] }, { @@ -709,55 +1274,113 @@ { "name": "Create an order", "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 + "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 \"reference\" : \"YOUR_ORDER_REFERENCE\",\n \"amount\" : {\n \"value\" : 2500,\n \"currency\" : \"EUR\"\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/orders", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "orders" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates an order to be used for partial payments. Make a POST `/orders` call before making a `/payments` call when processing payments with different payment methods." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"pspReference\" : \"8616178914061985\",\n \"resultCode\" : \"Success\",\n \"expiresAt\" : \"2021-04-09T14:16:46Z\",\n \"orderData\" : \"Ab02b4c0!BQABAgCxXvknCldOcRElkxY8Za7iyym4Wv8aDzyNwmj/3nh4G6YtwnUIJHaK62NlN4oIsACdkn1FEjBwKlheG40jvXcYGBk4KFV5WvOhTVCpv/KXnkrI7xQv/u2lE7U4wA+HPB6K4Zj2L8xO/ogZi+zGZqFs5m16jmkH7ku6FzXygXLNuUCuOlmlXSZhdkHHTNVQSq1MELDK9OL74y532ETRPTCNxx8WlEiZB+LDqYrPvH9GgigtD5kw8Do45jfFfG72kWBEgfYqp4mbUmBB9ebXFYZKfF0qvW1x7A2Y9+/MFlTIdXfKW484bJeDBCTTrmKGXIj+U4r5imr5fXTyNLcrxyUqwrb9jg+5B4qg1XB6Cgj5UPlSI4O62I7v0s5TTj69dzLwUQRxSQbwLrZVGYavXzeVKI54BVLRV3d/+BbPvTqnTo34UhfZbPlOx9F2eyaS0ZXdOKnHw89uGUgxUpLsMqnbRysi/pxpZaulel+0mExb68wVxb/7Teob5eRG4gp7cfZVZs6tLXOYWL+W0TqIlsa3hWsfM0LeaovzkoDtW/pK5JABXwMtLig9tsxoEh9ONYtIzkXC21LZ8ebiuSIMaPizjF8yca+QxrCZalQsu6uKnBz/mm8nnsflaGU2QS5zcoxk1RudL1Bl36LM9UZGPpFEYWiYA4sUsnNLw7peJjWCGhDepnwMv4TlgsEtoDtz1T54AEp7ImtleSI6IkFGMEFBQTEwM0NBNTM3RUFFRDg3QzI0REQ1MzkwOUI4MEE3OEE5MjNFMzgyM0Q2OERBQ0M5NEI5RkY4MzA1REMifRslOdmfgUHTXl66WPD9xoW2whIeRx/jR++2MqNE16x6zQy+KtDN8/h60crZwmqkjVTQYqQlsYSYDHSIyb4wnnay16/5il1yS7vN3UCLaTXjYBIAyyx6Wr9j4P3CI/etB+PpviHoESC4mV6ZN4whMDQyziQ8s230GtboXbh42qND7rk9phySBogowQlXrtF+l2n2F46nyif0owEgik5fGARfvjZtY2w23s30KMLNwU4gWSvX4H6RMVS8TfZH2fKfNrwB3tZUXwYkELs5ntaHysswq5Mn5aq2BKAMHu/Rh/wureMSI73Qi0avjrzWCwzt3JH4wnzErMnOZwSdgA==\",\n \"reference\" : \"shopper-reference-ekvL83\",\n \"remainingAmount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 2500\n }\n}", + "originalRequest": { + "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 \"reference\" : \"YOUR_ORDER_REFERENCE\",\n \"amount\" : {\n \"value\" : 2500,\n \"currency\" : \"EUR\"\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/orders", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "orders" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates an order to be used for partial payments. Make a POST `/orders` call before making a `/payments` call when processing payments with different payment methods." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"reference\" : \"YOUR_ORDER_REFERENCE\",\n \"amount\" : {\n \"value\" : 2500,\n \"currency\" : \"EUR\"\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/orders", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "orders" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Creates an order to be used for partial payments. Make a POST `/orders` call before making a `/payments` call when processing payments with different payment methods." - } + ] } ] - } -, + }, { "name": "/orders/cancel", "description": "Cancels an order. Cancellation of an order results in an automatic rollback of all payments made in the order, either by canceling or refunding the payment, depending on the type of payment method.", @@ -765,56 +1388,115 @@ { "name": "Cancel an order", "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 + "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 \"order\" : {\n \"pspReference\" : \"8815517812932012\",\n \"orderData\" : \"823fh892f8f18f4...148f13f9f3f\"\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/orders/cancel", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "orders", + "cancel" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Cancels an order. Cancellation of an order results in an automatic rollback of all payments made in the order, either by canceling or refunding the payment, depending on the type of payment method." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"pspReference\" : \"8816178914079738\",\n \"resultCode\" : \"Received\"\n}", + "originalRequest": { + "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 \"order\" : {\n \"pspReference\" : \"8815517812932012\",\n \"orderData\" : \"823fh892f8f18f4...148f13f9f3f\"\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/orders/cancel", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "orders", + "cancel" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Cancels an order. Cancellation of an order results in an automatic rollback of all payments made in the order, either by canceling or refunding the payment, depending on the type of payment method." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"order\" : {\n \"pspReference\" : \"8815517812932012\",\n \"orderData\" : \"823fh892f8f18f4...148f13f9f3f\"\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/orders/cancel", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "orders", - "cancel" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Cancels an order. Cancellation of an order results in an automatic rollback of all payments made in the order, either by canceling or refunding the payment, depending on the type of payment method." - } + ] } ] - } -, + }, { "name": "/paymentMethods/balance", "description": "Retrieves the balance remaining on a shopper's gift card. To check a gift card's balance, make a POST `/paymentMethods/balance` call and include the gift card's details inside a `paymentMethod` object.", @@ -822,106 +1504,225 @@ { "name": "Get gift card balance specifying amount of 10 EUR", "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 + "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 \"paymentMethod\" : {\n \"type\" : \"givex\",\n \"number\" : \"4126491073027401\",\n \"cvc\" : \"737\"\n },\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentMethods/balance", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentMethods", + "balance" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Retrieves the balance remaining on a shopper's gift card. To check a gift card's balance, make a POST `/paymentMethods/balance` call and include the gift card's details inside a `paymentMethod` object." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"pspReference\" : \"KHQC5N7G84BLNK43\",\n \"resultCode\" : \"Success\",\n \"balance\" : {\n \"currency\" : \"EUR\",\n \"value\" : 5000\n }\n}", + "originalRequest": { + "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 \"paymentMethod\" : {\n \"type\" : \"givex\",\n \"number\" : \"4126491073027401\",\n \"cvc\" : \"737\"\n },\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentMethods/balance", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentMethods", + "balance" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Retrieves the balance remaining on a shopper's gift card. To check a gift card's balance, make a POST `/paymentMethods/balance` call and include the gift card's details inside a `paymentMethod` object." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"paymentMethod\" : {\n \"type\" : \"givex\",\n \"number\" : \"4126491073027401\",\n \"cvc\" : \"737\"\n },\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentMethods/balance", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentMethods", - "balance" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Retrieves the balance remaining on a shopper's gift card. To check a gift card's balance, make a POST `/paymentMethods/balance` call and include the gift card's details inside a `paymentMethod` object." - } + ] }, { "name": "Get gift card balance specifying amount of 100 EUR", "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 + "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 \"paymentMethod\" : {\n \"type\" : \"givex\",\n \"number\" : \"4126491073027401\",\n \"cvc\" : \"737\"\n },\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 10000\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentMethods/balance", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentMethods", + "balance" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Retrieves the balance remaining on a shopper's gift card. To check a gift card's balance, make a POST `/paymentMethods/balance` call and include the gift card's details inside a `paymentMethod` object." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"pspReference\" : \"FKSPNCQ8HXSKGK82\",\n \"resultCode\" : \"NotEnoughBalance\",\n \"balance\" : {\n \"currency\" : \"EUR\",\n \"value\" : 5000\n }\n}", + "originalRequest": { + "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 \"paymentMethod\" : {\n \"type\" : \"givex\",\n \"number\" : \"4126491073027401\",\n \"cvc\" : \"737\"\n },\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 10000\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentMethods/balance", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentMethods", + "balance" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Retrieves the balance remaining on a shopper's gift card. To check a gift card's balance, make a POST `/paymentMethods/balance` call and include the gift card's details inside a `paymentMethod` object." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"paymentMethod\" : {\n \"type\" : \"givex\",\n \"number\" : \"4126491073027401\",\n \"cvc\" : \"737\"\n },\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 10000\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentMethods/balance", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentMethods", - "balance" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Retrieves the balance remaining on a shopper's gift card. To check a gift card's balance, make a POST `/paymentMethods/balance` call and include the gift card's details inside a `paymentMethod` object." - } + ] } ] } - ] }, { @@ -934,56 +1735,115 @@ { "name": "Get payment session for Apple Pay", "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 + "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 \"displayName\" : \"YOUR_MERCHANT_NAME\",\n \"domainName\" : \"YOUR_DOMAIN_NAME\",\n \"merchantIdentifier\" : \"YOUR_MERCHANT_ID\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/applePay/sessions", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "applePay", + "sessions" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "You need to use this endpoint if you have an API-only integration with Apple Pay which uses Adyen's Apple Pay certificate. The endpoint returns the Apple Pay session data which you need to complete the [Apple Pay session validation](https://docs.adyen.com/payment-methods/apple-pay/api-only?tab=adyen-certificate-validation_1#complete-apple-pay-session-validation)." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"data\" : \"eyJ2Z...\"\n}", + "originalRequest": { + "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 \"displayName\" : \"YOUR_MERCHANT_NAME\",\n \"domainName\" : \"YOUR_DOMAIN_NAME\",\n \"merchantIdentifier\" : \"YOUR_MERCHANT_ID\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/applePay/sessions", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "applePay", + "sessions" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "You need to use this endpoint if you have an API-only integration with Apple Pay which uses Adyen's Apple Pay certificate. The endpoint returns the Apple Pay session data which you need to complete the [Apple Pay session validation](https://docs.adyen.com/payment-methods/apple-pay/api-only?tab=adyen-certificate-validation_1#complete-apple-pay-session-validation)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"displayName\" : \"YOUR_MERCHANT_NAME\",\n \"domainName\" : \"YOUR_DOMAIN_NAME\",\n \"merchantIdentifier\" : \"YOUR_MERCHANT_ID\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/applePay/sessions", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "applePay", - "sessions" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "You need to use this endpoint if you have an API-only integration with Apple Pay which uses Adyen's Apple Pay certificate. The endpoint returns the Apple Pay session data which you need to complete the [Apple Pay session validation](https://docs.adyen.com/payment-methods/apple-pay/api-only?tab=adyen-certificate-validation_1#complete-apple-pay-session-validation)." - } + ] } ] - } -, + }, { "name": "/originKeys", "description": "This operation takes the origin domains and returns a JSON object containing the corresponding origin keys for the domains. > If you're still using origin key for your Web Drop-in or Components integration, we recommend [switching to client key](https://docs.adyen.com/development-resources/client-side-authentication/migrate-from-origin-key-to-client-key). This allows you to use a single key for all origins, add or remove origins without generating a new key, and detect the card type from the number entered in your payment form. ", @@ -991,55 +1851,113 @@ { "name": "Get origin keys", "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 + "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 \"originDomains\" : [ \"https://www.your-domain1.com\", \"https://www.your-domain2.com\", \"https://www.your-domain3.com\" ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/originKeys", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "originKeys" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "This operation takes the origin domains and returns a JSON object containing the corresponding origin keys for the domains. > If you're still using origin key for your Web Drop-in or Components integration, we recommend [switching to client key](https://docs.adyen.com/development-resources/client-side-authentication/migrate-from-origin-key-to-client-key). This allows you to use a single key for all origins, add or remove origins without generating a new key, and detect the card type from the number entered in your payment form. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"originKeys\" : {\n \"https://www.your-domain1.com\" : \"pub.v2.8116178901076090.aHR0cHM6Ly93d3cueW91ci1kb21haW4xLmNvbQ.pvbYlrXz0ICP4kwMJXDGDLVMqALhwXr1MSRjT-fkhvw\",\n \"https://www.your-domain3.com\" : \"pub.v2.8116178901076090.aHR0cHM6Ly93d3cueW91ci1kb21haW4zLmNvbQ.FrTpVz7_RzAywKasM0kXCRoMfoMkKIKaxjFymRGORIc\",\n \"https://www.your-domain2.com\" : \"pub.v2.8116178901076090.aHR0cHM6Ly93d3cueW91ci1kb21haW4yLmNvbQ.LdN9kvJ35fYFFiBSJA4idMnwwxJ5_yXpeNS__Ap5wkg\"\n }\n}", + "originalRequest": { + "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 \"originDomains\" : [ \"https://www.your-domain1.com\", \"https://www.your-domain2.com\", \"https://www.your-domain3.com\" ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/originKeys", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "originKeys" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "This operation takes the origin domains and returns a JSON object containing the corresponding origin keys for the domains. > If you're still using origin key for your Web Drop-in or Components integration, we recommend [switching to client key](https://docs.adyen.com/development-resources/client-side-authentication/migrate-from-origin-key-to-client-key). This allows you to use a single key for all origins, add or remove origins without generating a new key, and detect the card type from the number entered in your payment form. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"originDomains\" : [ \"https://www.your-domain1.com\", \"https://www.your-domain2.com\", \"https://www.your-domain3.com\" ]\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/originKeys", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "originKeys" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "This operation takes the origin domains and returns a JSON object containing the corresponding origin keys for the domains. > If you're still using origin key for your Web Drop-in or Components integration, we recommend [switching to client key](https://docs.adyen.com/development-resources/client-side-authentication/migrate-from-origin-key-to-client-key). This allows you to use a single key for all origins, add or remove origins without generating a new key, and detect the card type from the number entered in your payment form. " - } + ] } ] } - ] }, { @@ -1052,104 +1970,164 @@ { "name": "Start a donation transaction", "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 + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"reference\" : \"YOUR_DONATION_REFERENCE\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\"\n },\n \"donationToken\" : \"YOUR_DONATION_TOKEN\",\n \"donationOriginalPspReference\" : \"991559660454807J\",\n \"donationAccount\" : \"CHARITY_ACCOUNT\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"shopperInteraction\" : \"ContAuth\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/donations", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "donations" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Takes in the donation token generated by the `/payments` request and uses it to make the donation for the donation account specified in the request. For more information, see [Donations](https://docs.adyen.com/online-payments/donations)." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"id\" : \"UNIQUE_RESOURCE_ID\",\n \"status\" : \"completed\",\n \"donationAccount\" : \"CHARITY_ACCOUNT\",\n \"merchantAccount\" : \"YOUR_MERCHANT_ACCOUNT\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"reference\" : \"YOUR_DONATION_REFERENCE\",\n \"payment\" : {\n \"pspReference\" : \"8535762347980628\",\n \"resultCode\" : \"Authorised\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"merchantReference\" : \"YOUR_DONATION_REFERENCE\"\n }\n}", + "originalRequest": { + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"reference\" : \"YOUR_DONATION_REFERENCE\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\"\n },\n \"donationToken\" : \"YOUR_DONATION_TOKEN\",\n \"donationOriginalPspReference\" : \"991559660454807J\",\n \"donationAccount\" : \"CHARITY_ACCOUNT\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"shopperInteraction\" : \"ContAuth\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/donations", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "donations" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Takes in the donation token generated by the `/payments` request and uses it to make the donation for the donation account specified in the request. For more information, see [Donations](https://docs.adyen.com/online-payments/donations)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"reference\" : \"YOUR_DONATION_REFERENCE\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\"\n },\n \"donationToken\" : \"YOUR_DONATION_TOKEN\",\n \"donationOriginalPspReference\" : \"991559660454807J\",\n \"donationAccount\" : \"CHARITY_ACCOUNT\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"shopperInteraction\" : \"ContAuth\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/donations", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "donations" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Takes in the donation token generated by the `/payments` request and uses it to make the donation for the donation account specified in the request. For more information, see [Donations](https://docs.adyen.com/online-payments/donations)." - } + ] }, { "name": "Start a donation transaction with a token", "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"reference\" : \"YOUR_DONATION_REFERENCE\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"recurringDetailReference\" : \"7219687191761347\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"donationAccount\" : \"CHARITY_ACCOUNT\",\n \"shopperInteraction\" : \"ContAuth\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"recurringProcessingModel\" : \"CardOnFile\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/donations", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "donations" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Takes in the donation token generated by the `/payments` request and uses it to make the donation for the donation account specified in the request. For more information, see [Donations](https://docs.adyen.com/online-payments/donations)." - } + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"reference\" : \"YOUR_DONATION_REFERENCE\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"recurringDetailReference\" : \"7219687191761347\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"donationAccount\" : \"CHARITY_ACCOUNT\",\n \"shopperInteraction\" : \"ContAuth\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"recurringProcessingModel\" : \"CardOnFile\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/donations", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "donations" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Takes in the donation token generated by the `/payments` request and uses it to make the donation for the donation account specified in the request. For more information, see [Donations](https://docs.adyen.com/online-payments/donations)." +} + ,"response": [ + ] } ] } - ] }, { @@ -1162,104 +2140,221 @@ { "name": "Get a list of brands on a card", "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 + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"cardNumber\" : \"411111\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/cardDetails", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "cardDetails" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Send a request with at least the first 6 digits of the card number to get a response with an array of brands on the card. If you include [your supported brands](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__reqParam_supportedBrands) in the request, the response also tells you if you support each [brand that was identified](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__resParam_details). If you have an API-only integration and collect card data, use this endpoint to find out if the shopper's card is co-branded. For co-branded cards, you must let the shopper choose the brand to pay with if you support both brands. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"brands\" : [ {\n \"type\" : \"visa\",\n \"supported\" : true\n }, {\n \"type\" : \"cartebancaire\",\n \"supported\" : true\n } ]\n}", + "originalRequest": { + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"cardNumber\" : \"411111\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/cardDetails", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "cardDetails" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Send a request with at least the first 6 digits of the card number to get a response with an array of brands on the card. If you include [your supported brands](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__reqParam_supportedBrands) in the request, the response also tells you if you support each [brand that was identified](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__resParam_details). If you have an API-only integration and collect card data, use this endpoint to find out if the shopper's card is co-branded. For co-branded cards, you must let the shopper choose the brand to pay with if you support both brands. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"cardNumber\" : \"411111\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/cardDetails", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "cardDetails" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Send a request with at least the first 6 digits of the card number to get a response with an array of brands on the card. If you include [your supported brands](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__reqParam_supportedBrands) in the request, the response also tells you if you support each [brand that was identified](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__resParam_details). If you have an API-only integration and collect card data, use this endpoint to find out if the shopper's card is co-branded. For co-branded cards, you must let the shopper choose the brand to pay with if you support both brands. " - } + ] }, { "name": "Get a list of brands on a card specifying your supported card brands", "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 + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"cardNumber\" : \"411111\",\n \"supportedBrands\" : [ \"visa\", \"mc\", \"amex\" ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/cardDetails", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "cardDetails" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Send a request with at least the first 6 digits of the card number to get a response with an array of brands on the card. If you include [your supported brands](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__reqParam_supportedBrands) in the request, the response also tells you if you support each [brand that was identified](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__resParam_details). If you have an API-only integration and collect card data, use this endpoint to find out if the shopper's card is co-branded. For co-branded cards, you must let the shopper choose the brand to pay with if you support both brands. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"brands\" : [ {\n \"type\" : \"visa\",\n \"supported\" : true\n }, {\n \"type\" : \"cartebancaire\",\n \"supported\" : false\n } ]\n}", + "originalRequest": { + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"cardNumber\" : \"411111\",\n \"supportedBrands\" : [ \"visa\", \"mc\", \"amex\" ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/cardDetails", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "cardDetails" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Send a request with at least the first 6 digits of the card number to get a response with an array of brands on the card. If you include [your supported brands](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__reqParam_supportedBrands) in the request, the response also tells you if you support each [brand that was identified](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__resParam_details). If you have an API-only integration and collect card data, use this endpoint to find out if the shopper's card is co-branded. For co-branded cards, you must let the shopper choose the brand to pay with if you support both brands. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"cardNumber\" : \"411111\",\n \"supportedBrands\" : [ \"visa\", \"mc\", \"amex\" ]\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/cardDetails", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "cardDetails" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Send a request with at least the first 6 digits of the card number to get a response with an array of brands on the card. If you include [your supported brands](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__reqParam_supportedBrands) in the request, the response also tells you if you support each [brand that was identified](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__resParam_details). If you have an API-only integration and collect card data, use this endpoint to find out if the shopper's card is co-branded. For co-branded cards, you must let the shopper choose the brand to pay with if you support both brands. " - } + ] } ] - } -, + }, { "name": "/paymentMethods", "description": "Queries the available payment methods for a transaction based on the transaction context (like amount, country, and currency). Besides giving back a list of the available payment methods, the response also returns which input details you need to collect from the shopper (to be submitted to `/payments`). Although we highly recommend using this endpoint to ensure you are always offering the most up-to-date list of payment methods, its usage is optional. You can, for example, also cache the `/paymentMethods` response and update it once a week.", @@ -1267,153 +2362,329 @@ { "name": "Get available payment methods", "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 + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentMethods", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentMethods" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Queries the available payment methods for a transaction based on the transaction context (like amount, country, and currency). Besides giving back a list of the available payment methods, the response also returns which input details you need to collect from the shopper (to be submitted to `/payments`). Although we highly recommend using this endpoint to ensure you are always offering the most up-to-date list of payment methods, its usage is optional. You can, for example, also cache the `/paymentMethods` response and update it once a week." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"paymentMethods\" : [ {\n \"details\" : [ {\n \"details\" : [ {\n \"key\" : \"ownerName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"bankLocationId\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"bankAccountNumber\",\n \"type\" : \"text\"\n } ],\n \"key\" : \"bankAccount\",\n \"type\" : \"bankAccount\"\n } ],\n \"name\" : \"ACH Direct Debit\",\n \"type\" : \"ach\"\n }, {\n \"name\" : \"Adyen Voucher\",\n \"type\" : \"adyen_test_voucher\"\n }, {\n \"details\" : [ {\n \"details\" : [ {\n \"key\" : \"firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"lastName\",\n \"type\" : \"text\"\n }, {\n \"items\" : [ {\n \"id\" : \"M\",\n \"name\" : \"male\"\n }, {\n \"id\" : \"F\",\n \"name\" : \"female\"\n } ],\n \"key\" : \"gender\",\n \"type\" : \"radio\"\n }, {\n \"key\" : \"dateOfBirth\",\n \"type\" : \"date\"\n }, {\n \"key\" : \"telephoneNumber\",\n \"type\" : \"tel\"\n }, {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n } ],\n \"key\" : \"personalDetails\",\n \"type\" : \"fieldSet\"\n }, {\n \"details\" : [ {\n \"key\" : \"street\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"houseNumberOrName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"city\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"postalCode\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"stateOrProvince\",\n \"optional\" : true,\n \"type\" : \"text\"\n }, {\n \"items\" : [ {\n \"id\" : \"NL\",\n \"name\" : \"Netherlands\"\n }, {\n \"id\" : \"BE\",\n \"name\" : \"Belgium\"\n } ],\n \"key\" : \"country\",\n \"type\" : \"select\"\n } ],\n \"key\" : \"billingAddress\",\n \"type\" : \"address\"\n }, {\n \"key\" : \"separateDeliveryAddress\",\n \"optional\" : true,\n \"type\" : \"boolean\",\n \"value\" : \"false\"\n }, {\n \"details\" : [ {\n \"key\" : \"street\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"houseNumberOrName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"city\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"postalCode\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"stateOrProvince\",\n \"optional\" : true,\n \"type\" : \"text\"\n }, {\n \"items\" : [ {\n \"id\" : \"NL\",\n \"name\" : \"Netherlands\"\n }, {\n \"id\" : \"BE\",\n \"name\" : \"Belgium\"\n } ],\n \"key\" : \"country\",\n \"type\" : \"select\"\n } ],\n \"key\" : \"deliveryAddress\",\n \"optional\" : true,\n \"type\" : \"address\"\n } ],\n \"name\" : \"AfterPay Invoice\",\n \"type\" : \"afterpay_default\"\n }, {\n \"name\" : \"AfterPay DirectDebit\",\n \"type\" : \"afterpay_directdebit\"\n }, {\n \"name\" : \"Afterpay\",\n \"type\" : \"afterpaytouch\"\n }, {\n \"details\" : [ {\n \"key\" : \"encryptedCardNumber\",\n \"type\" : \"cardToken\"\n }, {\n \"key\" : \"encryptedSecurityCode\",\n \"type\" : \"cardToken\"\n }, {\n \"key\" : \"encryptedExpiryMonth\",\n \"type\" : \"cardToken\"\n }, {\n \"key\" : \"encryptedExpiryYear\",\n \"type\" : \"cardToken\"\n }, {\n \"key\" : \"holderName\",\n \"optional\" : true,\n \"type\" : \"text\"\n } ],\n \"name\" : \"Credit Card\",\n \"type\" : \"scheme\"\n }, {\n \"name\" : \"AliPay\",\n \"type\" : \"alipay\"\n }, {\n \"name\" : \"AliPay HK\",\n \"type\" : \"alipay_hk\"\n }, {\n \"name\" : \"AliPay\",\n \"type\" : \"alipay_wap\"\n }, {\n \"details\" : [ {\n \"key\" : \"additionalData.androidpay.token\",\n \"type\" : \"androidPayToken\"\n } ],\n \"name\" : \"Android Pay\",\n \"type\" : \"androidpay\"\n }, {\n \"details\" : [ {\n \"key\" : \"additionalData.applepay.token\",\n \"type\" : \"applePayToken\"\n } ],\n \"name\" : \"Apple Pay\",\n \"type\" : \"applepay\"\n }, {\n \"name\" : \"Credit Card via AsiaPay\",\n \"type\" : \"asiapay\"\n }, {\n \"name\" : \"China UnionPay\",\n \"type\" : \"asiapay_unionpay\"\n }, {\n \"name\" : \"Baby Gift Card\",\n \"type\" : \"babygiftcard\"\n }, {\n \"name\" : \"Baloto\",\n \"type\" : \"baloto\"\n }, {\n \"name\" : \"BancNet\",\n \"type\" : \"bancnet\"\n }, {\n \"name\" : \"Bank Transfer (BG)\",\n \"type\" : \"bankTransfer_BG\"\n }, {\n \"name\" : \"Bank Transfer (CH)\",\n \"type\" : \"bankTransfer_CH\"\n }, {\n \"name\" : \"Bank Transfer (DE)\",\n \"type\" : \"bankTransfer_DE\"\n }, {\n \"name\" : \"Bank Transfer (FI)\",\n \"type\" : \"bankTransfer_FI\"\n }, {\n \"name\" : \"Bank Transfer (GB)\",\n \"type\" : \"bankTransfer_GB\"\n }, {\n \"name\" : \"Bank Transfer (HU)\",\n \"type\" : \"bankTransfer_HU\"\n }, {\n \"name\" : \"SEPA Bank Transfer\",\n \"type\" : \"bankTransfer_IBAN\"\n }, {\n \"name\" : \"Bank Transfer (IE)\",\n \"type\" : \"bankTransfer_IE\"\n }, {\n \"name\" : \"Electronic Bank Transfer (MX)\",\n \"type\" : \"bankTransfer_MX_linked\"\n }, {\n \"name\" : \"Bank Transfer (MX)\",\n \"type\" : \"bankTransfer_MX_offline\"\n }, {\n \"name\" : \"Bank Transfer (NL)\",\n \"type\" : \"bankTransfer_NL\"\n }, {\n \"name\" : \"Bank Transfer (PL)\",\n \"type\" : \"bankTransfer_PL\"\n }, {\n \"name\" : \"Bank Transfer (SE)\",\n \"type\" : \"bankTransfer_SE\"\n }, {\n \"name\" : \"Bank Transfer (US)\",\n \"type\" : \"bankTransfer_US\"\n }, {\n \"name\" : \"Payconiq by Bancontact\",\n \"type\" : \"bcmc_mobile\"\n }, {\n \"name\" : \"Bijenkorf Cadeaucard\",\n \"type\" : \"bijcadeaucard\"\n }, {\n \"name\" : \"99Bill\",\n \"type\" : \"bill99\"\n }, {\n \"details\" : [ {\n \"items\" : [ {\n \"id\" : \"AUB_DIRECT\",\n \"name\" : \"AU Small Finance Bank\"\n }, {\n \"id\" : \"ALB_DIRECT\",\n \"name\" : \"Allahabad Bank \"\n }, {\n \"id\" : \"APG_DIRECT\",\n \"name\" : \"Andhra Pragathi Grameena Bank\"\n }, {\n \"id\" : \"BDN_DIRECT\",\n \"name\" : \"Bandhan bank\"\n }, {\n \"id\" : \"BBK_DIRECT\",\n \"name\" : \"Bank of Bahrain and Kuwait\"\n }, {\n \"id\" : \"BBR_DIRECT\",\n \"name\" : \"Bank of Baroda - Retail Banking\"\n }, {\n \"id\" : \"BCB_DIRECT\",\n \"name\" : \"Bassien Catholic Co-Operative Bank \"\n }, {\n \"id\" : \"CNB_DIRECT\",\n \"name\" : \"Canara Bank\"\n }, {\n \"id\" : \"SYD_DIRECT\",\n \"name\" : \"Canara Bank (e-Syndicate)\"\n }, {\n \"id\" : \"CSB_DIRECT\",\n \"name\" : \"Catholic Syrian Bank\"\n }, {\n \"id\" : \"CBI_DIRECT\",\n \"name\" : \"Central Bank of India\"\n }, {\n \"id\" : \"CUB_DIRECT\",\n \"name\" : \"City Union Bank\"\n }, {\n \"id\" : \"COB_DIRECT\",\n \"name\" : \"Cosmos Bank\"\n }, {\n \"id\" : \"DEN_DIRECT\",\n \"name\" : \"Dena Bank\"\n }, {\n \"id\" : \"DBK_DIRECT\",\n \"name\" : \"Deutsche Bank\"\n }, {\n \"id\" : \"DCB_DIRECT\",\n \"name\" : \"Development Credit Bank\"\n }, {\n \"id\" : \"DLB_DIRECT\",\n \"name\" : \"Dhanlakshmi Bank - Retail Net Banking\"\n }, {\n \"id\" : \"ESF_DIRECT\",\n \"name\" : \"ESAF Small Finance Bank\"\n }, {\n \"id\" : \"EQB_DIRECT\",\n \"name\" : \"Equitas Small Finance Bank\"\n }, {\n \"id\" : \"FBK_DIRECT\",\n \"name\" : \"Federal Bank\"\n }, {\n \"id\" : \"FNC_DIRECT\",\n \"name\" : \"Fincare Bank\"\n }, {\n \"id\" : \"HDF_DIRECT\",\n \"name\" : \"HDFC Bank\"\n }, {\n \"id\" : \"ICI_DIRECT\",\n \"name\" : \"ICICI Bank \"\n }, {\n \"id\" : \"IDB_DIRECT\",\n \"name\" : \"IDBI Bank - Retail Net Banking\"\n }, {\n \"id\" : \"IDN_DIRECT\",\n \"name\" : \"IDFC FIRST Bank\"\n }, {\n \"id\" : \"INB_DIRECT\",\n \"name\" : \"Indian Bank\"\n }, {\n \"id\" : \"IOB_DIRECT\",\n \"name\" : \"Indian Overseas Bank\"\n }, {\n \"id\" : \"IDS_DIRECT\",\n \"name\" : \"IndusInd Bank\"\n }, {\n \"id\" : \"JKB_DIRECT\",\n \"name\" : \"Jammu & Kashmir Bank\"\n }, {\n \"id\" : \"JNB_DIRECT\",\n \"name\" : \"Jana Small Finance Bank\"\n }, {\n \"id\" : \"JSB_DIRECT\",\n \"name\" : \"Janata Sahakari Bank Ltd Pune\"\n }, {\n \"id\" : \"KJB_DIRECT\",\n \"name\" : \"Kalyan Janata Sahakari Bank\"\n }, {\n \"id\" : \"KBL_DIRECT\",\n \"name\" : \"Karnataka Bank Ltd\"\n }, {\n \"id\" : \"KVB_DIRECT\",\n \"name\" : \"Karur Vysya Bank\"\n }, {\n \"id\" : \"162_DIRECT\",\n \"name\" : \"Kotak Bank\"\n }, {\n \"id\" : \"LVR_DIRECT\",\n \"name\" : \"Laxmi Vilas Bank - Retail\"\n }, {\n \"id\" : \"NKB_DIRECT\",\n \"name\" : \"NKGSB Co-op Bank\"\n }, {\n \"id\" : \"NEB_DIRECT\",\n \"name\" : \"North East Small Finance Bank\"\n }, {\n \"id\" : \"OBC_DIRECT\",\n \"name\" : \"PNB (Erstwhile-Oriental Bank of Commerce)\"\n }, {\n \"id\" : \"UNI_DIRECT\",\n \"name\" : \"PNB (Erstwhile-United Bank of India)\"\n }, {\n \"id\" : \"PMC_DIRECT\",\n \"name\" : \"Punjab & Maharastra Co-op Bank\"\n }, {\n \"id\" : \"PSB_DIRECT\",\n \"name\" : \"Punjab & Sind Bank\"\n }, {\n \"id\" : \"CPN_DIRECT\",\n \"name\" : \"Punjab National Bank - Corporate \"\n }, {\n \"id\" : \"PNB_DIRECT\",\n \"name\" : \"Punjab National Bank - Retail Banking\"\n }, {\n \"id\" : \"RBL_DIRECT\",\n \"name\" : \"RBL Bank Limited\"\n }, {\n \"id\" : \"SWB_DIRECT\",\n \"name\" : \"Saraswat Bank\"\n }, {\n \"id\" : \"SHB_DIRECT\",\n \"name\" : \"Shivalik Mercantile Cooperative Bank Ltd\"\n }, {\n \"id\" : \"SIB_DIRECT\",\n \"name\" : \"South Indian Bank\"\n }, {\n \"id\" : \"SCB_DIRECT\",\n \"name\" : \"Standard Chartered Bank\"\n }, {\n \"id\" : \"SBI_DIRECT\",\n \"name\" : \"State Bank of India\"\n }, {\n \"id\" : \"SRB_DIRECT\",\n \"name\" : \"Suryoday Small Finance Bank\"\n }, {\n \"id\" : \"TJB_DIRECT\",\n \"name\" : \"TJSB Bank\"\n }, {\n \"id\" : \"TNC_DIRECT\",\n \"name\" : \"Tamil Nadu State Co-operative Bank\"\n }, {\n \"id\" : \"TMB_DIRECT\",\n \"name\" : \"Tamilnad Mercantile Bank Ltd\"\n }, {\n \"id\" : \"TBB_DIRECT\",\n \"name\" : \"Thane Bharat Sahakari Bank Ltd\"\n }, {\n \"id\" : \"MSB_DIRECT\",\n \"name\" : \"The Mehsana Urban Co Op Bank Ltd\"\n }, {\n \"id\" : \"UCO_DIRECT\",\n \"name\" : \"UCO Bank\"\n }, {\n \"id\" : \"UBI_DIRECT\",\n \"name\" : \"Union Bank of India\"\n }, {\n \"id\" : \"ADB_DIRECT\",\n \"name\" : \"Union Bank of India (Erstwhile Andhra Bank)\"\n }, {\n \"id\" : \"CRP_DIRECT\",\n \"name\" : \"Union Bank of India (Erstwhile Corporation Bank)\"\n }, {\n \"id\" : \"VRB_DIRECT\",\n \"name\" : \"Varachha Co-operative Bank Limited\"\n }, {\n \"id\" : \"VJB_DIRECT\",\n \"name\" : \"Vijaya Bank\"\n }, {\n \"id\" : \"YBK_DIRECT\",\n \"name\" : \"Yes Bank\"\n }, {\n \"id\" : \"ZOB_DIRECT\",\n \"name\" : \"Zoroastrian Co-operative Bank Limited\"\n }, {\n \"id\" : \"DBS_DIRECT\",\n \"name\" : \"digibank by DBS\"\n } ],\n \"key\" : \"issuer\",\n \"type\" : \"select\"\n } ],\n \"name\" : \"Online Banking India\",\n \"type\" : \"billdesk_online\"\n }, {\n \"name\" : \"UPI\",\n \"type\" : \"billdesk_upi\"\n }, {\n \"details\" : [ {\n \"items\" : [ {\n \"id\" : \"DCW_DIRECT\",\n \"name\" : \"DCB Cippy\"\n }, {\n \"id\" : \"ICC_DIRECT\",\n \"name\" : \"ICC Cash Card\"\n }, {\n \"id\" : \"OXY_DIRECT\",\n \"name\" : \"Oxigen Wallet\"\n }, {\n \"id\" : \"PCH_DIRECT\",\n \"name\" : \"Pay World Money\"\n } ],\n \"key\" : \"issuer\",\n \"type\" : \"select\"\n } ],\n \"name\" : \"Wallets India\",\n \"type\" : \"billdesk_wallet\"\n }, {\n \"name\" : \"Blik\",\n \"type\" : \"blik\"\n }, {\n \"name\" : \"Bloemen Giftcard\",\n \"type\" : \"bloemengiftcard\"\n }, {\n \"name\" : \"Boekenbon Giftcard\",\n \"type\" : \"boekenbon\"\n }, {\n \"name\" : \"Boleto\",\n \"type\" : \"boleto\"\n }, {\n \"name\" : \"Boleto Bancario\",\n \"type\" : \"boletobancario_santander\"\n }, {\n \"name\" : \"Bradesco\",\n \"type\" : \"bradesco\"\n }, {\n \"name\" : \"Cash-Ticket\",\n \"type\" : \"cashticket\"\n }, {\n \"name\" : \"CashU\",\n \"type\" : \"cashu\"\n }, {\n \"name\" : \"CCAvenue\",\n \"type\" : \"ccavenue\"\n }, {\n \"name\" : \"Mula Checkout\",\n \"type\" : \"cellulant\"\n }, {\n \"name\" : \"Chasin Giftcard\",\n \"type\" : \"chasingiftcard\"\n }, {\n \"name\" : \"Clearpay\",\n \"type\" : \"clearpay\"\n }, {\n \"name\" : \"ClickandBuy\",\n \"type\" : \"clickandbuy\"\n }, {\n \"name\" : \"Paiement en 3 fois par Cartes Bancaires\",\n \"type\" : \"cofinoga_3xcb\"\n }, {\n \"name\" : \"Costes Giftcard\",\n \"type\" : \"costesgiftcard\"\n }, {\n \"name\" : \"custom_settlement\",\n \"type\" : \"custom_settlement\"\n }, {\n \"name\" : \"DANA\",\n \"type\" : \"dana\"\n }, {\n \"name\" : \"DineroMail\",\n \"type\" : \"dineromail\"\n }, {\n \"name\" : \"Online bank transfer.\",\n \"type\" : \"directEbanking\"\n }, {\n \"name\" : \"Direct Debit Brazil - Banco do Brazil\",\n \"type\" : \"directdebit_BR_bancodobrasil\"\n }, {\n \"name\" : \"Direct Debit Brazil - Bradesco\",\n \"type\" : \"directdebit_BR_bradesco\"\n }, {\n \"name\" : \"Direct Debit Brazil - Caixa Economica Federal\",\n \"type\" : \"directdebit_BR_caixa\"\n }, {\n \"name\" : \"Direct Debit Brazil - HSBC\",\n \"type\" : \"directdebit_BR_hsbc\"\n }, {\n \"name\" : \"Direct Debit Brazil - Itau\",\n \"type\" : \"directdebit_BR_itau\"\n }, {\n \"name\" : \"Direct Debit Brazil - Santander\",\n \"type\" : \"directdebit_BR_santander\"\n }, {\n \"name\" : \"BACS Direct Debit\",\n \"type\" : \"directdebit_GB\"\n }, {\n \"details\" : [ {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n }, {\n \"key\" : \"firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"lastName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"infix\",\n \"optional\" : true,\n \"type\" : \"text\"\n } ],\n \"name\" : \"Alfamart\",\n \"type\" : \"doku_alfamart\"\n }, {\n \"details\" : [ {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n }, {\n \"key\" : \"firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"lastName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"infix\",\n \"optional\" : true,\n \"type\" : \"text\"\n } ],\n \"name\" : \"BCA Bank Transfer\",\n \"type\" : \"doku_bca_va\"\n }, {\n \"details\" : [ {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n }, {\n \"key\" : \"firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"lastName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"infix\",\n \"optional\" : true,\n \"type\" : \"text\"\n } ],\n \"name\" : \"BNI VA\",\n \"type\" : \"doku_bni_va\"\n }, {\n \"details\" : [ {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n }, {\n \"key\" : \"firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"lastName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"infix\",\n \"optional\" : true,\n \"type\" : \"text\"\n } ],\n \"name\" : \"BRI VA\",\n \"type\" : \"doku_bri_va\"\n }, {\n \"details\" : [ {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n }, {\n \"key\" : \"firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"lastName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"infix\",\n \"optional\" : true,\n \"type\" : \"text\"\n } ],\n \"name\" : \"CIMB VA\",\n \"type\" : \"doku_cimb_va\"\n }, {\n \"details\" : [ {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n }, {\n \"key\" : \"firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"lastName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"infix\",\n \"optional\" : true,\n \"type\" : \"text\"\n } ],\n \"name\" : \"Danamon VA\",\n \"type\" : \"doku_danamon_va\"\n }, {\n \"details\" : [ {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n }, {\n \"key\" : \"firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"lastName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"infix\",\n \"optional\" : true,\n \"type\" : \"text\"\n } ],\n \"name\" : \"Indomaret\",\n \"type\" : \"doku_indomaret\"\n }, {\n \"details\" : [ {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n }, {\n \"key\" : \"firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"lastName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"infix\",\n \"optional\" : true,\n \"type\" : \"text\"\n } ],\n \"name\" : \"Mandiri VA\",\n \"type\" : \"doku_mandiri_va\"\n }, {\n \"details\" : [ {\n \"key\" : \"ovoId\",\n \"type\" : \"text\"\n } ],\n \"name\" : \"OVO\",\n \"type\" : \"doku_ovo\"\n }, {\n \"details\" : [ {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n }, {\n \"key\" : \"firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"lastName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"infix\",\n \"optional\" : true,\n \"type\" : \"text\"\n } ],\n \"name\" : \"Bank Transfer\",\n \"type\" : \"doku_permata_lite_atm\"\n }, {\n \"details\" : [ {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n }, {\n \"key\" : \"firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"lastName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"infix\",\n \"optional\" : true,\n \"type\" : \"text\"\n } ],\n \"name\" : \"DOKU wallet\",\n \"type\" : \"doku_wallet\"\n }, {\n \"details\" : [ {\n \"items\" : [ {\n \"id\" : \"66\",\n \"name\" : \"Bank Nowy BFG S.A.\"\n }, {\n \"id\" : \"92\",\n \"name\" : \"Bank Spółdzielczy w Brodnicy\"\n }, {\n \"id\" : \"11\",\n \"name\" : \"Bank transfer / postal\"\n }, {\n \"id\" : \"74\",\n \"name\" : \"Banki Spółdzielcze\"\n }, {\n \"id\" : \"73\",\n \"name\" : \"BLIK\"\n }, {\n \"id\" : \"90\",\n \"name\" : \"BNP Paribas - płacę z Pl@net\"\n }, {\n \"id\" : \"59\",\n \"name\" : \"CinkciarzPAY\"\n }, {\n \"id\" : \"87\",\n \"name\" : \"Credit Agricole PBL\"\n }, {\n \"id\" : \"83\",\n \"name\" : \"EnveloBank\"\n }, {\n \"id\" : \"76\",\n \"name\" : \"Getin Bank PBL\"\n }, {\n \"id\" : \"81\",\n \"name\" : \"Idea Cloud\"\n }, {\n \"id\" : \"7\",\n \"name\" : \"ING Corporate customers\"\n }, {\n \"id\" : \"93\",\n \"name\" : \"Kasa Stefczyka\"\n }, {\n \"id\" : \"44\",\n \"name\" : \"Millennium - Płatności Internetowe\"\n }, {\n \"id\" : \"10\",\n \"name\" : \"Millennium Corporate customers\"\n }, {\n \"id\" : \"68\",\n \"name\" : \"mRaty\"\n }, {\n \"id\" : \"1\",\n \"name\" : \"mTransfer\"\n }, {\n \"id\" : \"91\",\n \"name\" : \"Nest Bank\"\n }, {\n \"id\" : \"80\",\n \"name\" : \"Noble Pay\"\n }, {\n \"id\" : \"50\",\n \"name\" : \"Pay Way Toyota Bank\"\n }, {\n \"id\" : \"45\",\n \"name\" : \"Pay with Alior Bank\"\n }, {\n \"id\" : \"36\",\n \"name\" : \"Pekao24Przelew\"\n }, {\n \"id\" : \"70\",\n \"name\" : \"Pocztowy24\"\n }, {\n \"id\" : \"6\",\n \"name\" : \"Przelew24\"\n }, {\n \"id\" : \"46\",\n \"name\" : \"Płacę z Citi Handlowy\"\n }, {\n \"id\" : \"38\",\n \"name\" : \"Płacę z ING\"\n }, {\n \"id\" : \"2\",\n \"name\" : \"Płacę z Inteligo\"\n }, {\n \"id\" : \"4\",\n \"name\" : \"Płacę z iPKO\"\n }, {\n \"id\" : \"75\",\n \"name\" : \"Płacę z Plus Bank\"\n }, {\n \"id\" : \"51\",\n \"name\" : \"Płać z BOŚ\"\n }, {\n \"id\" : \"55\",\n \"name\" : \"Raty z Alior Bankiem PLN\"\n }, {\n \"id\" : \"89\",\n \"name\" : \"Santander\"\n }, {\n \"id\" : \"52\",\n \"name\" : \"SkyCash\"\n } ],\n \"key\" : \"issuer\",\n \"type\" : \"select\"\n } ],\n \"name\" : \"Local Polish Payment Methods\",\n \"type\" : \"dotpay\"\n }, {\n \"name\" : \"Dragonpay Prepaid Credits\",\n \"type\" : \"dragonpay_credits\"\n }, {\n \"name\" : \"Online Banking\",\n \"type\" : \"dragonpay_ebanking\"\n }, {\n \"name\" : \"GCash\",\n \"type\" : \"dragonpay_gcash\"\n }, {\n \"name\" : \"Over The Counter Banks\",\n \"type\" : \"dragonpay_otc_banking\"\n }, {\n \"name\" : \"OTC non-Bank via Dragonpay\",\n \"type\" : \"dragonpay_otc_non_banking\"\n }, {\n \"name\" : \"Convenience Stores\",\n \"type\" : \"dragonpay_otc_philippines\"\n }, {\n \"name\" : \"7/11\",\n \"type\" : \"dragonpay_seveneleven\"\n }, {\n \"name\" : \"eagleeye_voucher\",\n \"type\" : \"eagleeye_voucher\"\n }, {\n \"name\" : \"Finnish E-Banking\",\n \"type\" : \"ebanking_FI\"\n }, {\n \"name\" : \"Pay-easy ATM\",\n \"type\" : \"econtext_atm\"\n }, {\n \"name\" : \"Online Banking\",\n \"type\" : \"econtext_online\"\n }, {\n \"name\" : \"7-Eleven\",\n \"type\" : \"econtext_seven_eleven\"\n }, {\n \"name\" : \"Convenience Stores\",\n \"type\" : \"econtext_stores\"\n }, {\n \"name\" : \"eft_directdebit_CA\",\n \"type\" : \"eft_directdebit_CA\"\n }, {\n \"name\" : \"Lastschrift (ELV)\",\n \"type\" : \"elv\"\n }, {\n \"details\" : [ {\n \"items\" : [ {\n \"id\" : \"231\",\n \"name\" : \"POP Pankki\"\n }, {\n \"id\" : \"551\",\n \"name\" : \"Komerční banka\"\n }, {\n \"id\" : \"232\",\n \"name\" : \"Aktia\"\n }, {\n \"id\" : \"552\",\n \"name\" : \"Raiffeisen\"\n }, {\n \"id\" : \"233\",\n \"name\" : \"Säästöpankki\"\n }, {\n \"id\" : \"750\",\n \"name\" : \"Swedbank\"\n }, {\n \"id\" : \"211\",\n \"name\" : \"Nordea\"\n }, {\n \"id\" : \"553\",\n \"name\" : \"ČSOB\"\n }, {\n \"id\" : \"234\",\n \"name\" : \"S-Pankki\"\n }, {\n \"id\" : \"751\",\n \"name\" : \"SEB\"\n }, {\n \"id\" : \"554\",\n \"name\" : \"Moneta\"\n }, {\n \"id\" : \"235\",\n \"name\" : \"OmaSP\"\n }, {\n \"id\" : \"752\",\n \"name\" : \"Nordea\"\n }, {\n \"id\" : \"213\",\n \"name\" : \"Op-Pohjola\"\n }, {\n \"id\" : \"555\",\n \"name\" : \"UniCredit\"\n }, {\n \"id\" : \"753\",\n \"name\" : \"LHV\"\n }, {\n \"id\" : \"556\",\n \"name\" : \"Fio\"\n }, {\n \"id\" : \"557\",\n \"name\" : \"mBank\"\n }, {\n \"id\" : \"216\",\n \"name\" : \"Handelsbanken\"\n }, {\n \"id\" : \"558\",\n \"name\" : \"Air Bank\"\n }, {\n \"id\" : \"260\",\n \"name\" : \"Länsförsäkringar\"\n }, {\n \"id\" : \"240\",\n \"name\" : \"BankDeposit\"\n }, {\n \"id\" : \"265\",\n \"name\" : \"Sparbanken\"\n }, {\n \"id\" : \"640\",\n \"name\" : \"BankDeposit\"\n }, {\n \"id\" : \"200\",\n \"name\" : \"Ålandsbanken\"\n }, {\n \"id\" : \"940\",\n \"name\" : \"Swedbank\"\n }, {\n \"id\" : \"500\",\n \"name\" : \"Česká spořitelna\"\n }, {\n \"id\" : \"720\",\n \"name\" : \"Swedbank\"\n }, {\n \"id\" : \"941\",\n \"name\" : \"SEB\"\n }, {\n \"id\" : \"204\",\n \"name\" : \"Danske Bank\"\n }, {\n \"id\" : \"721\",\n \"name\" : \"SEB\"\n }, {\n \"id\" : \"942\",\n \"name\" : \"Citadele\"\n }, {\n \"id\" : \"205\",\n \"name\" : \"Handelsbanken\"\n }, {\n \"id\" : \"722\",\n \"name\" : \"DNB\"\n }, {\n \"id\" : \"943\",\n \"name\" : \"DNB\"\n }, {\n \"id\" : \"206\",\n \"name\" : \"Nordea\"\n }, {\n \"id\" : \"723\",\n \"name\" : \"Šiaulių bankas\"\n }, {\n \"id\" : \"207\",\n \"name\" : \"SEB\"\n }, {\n \"id\" : \"724\",\n \"name\" : \"Nordea\"\n }, {\n \"id\" : \"505\",\n \"name\" : \"Komerční banka\"\n }, {\n \"id\" : \"208\",\n \"name\" : \"Skandiabanken\"\n }, {\n \"id\" : \"209\",\n \"name\" : \"Swedbank\"\n } ],\n \"key\" : \"issuer\",\n \"type\" : \"select\"\n } ],\n \"name\" : \"Bank Payment\",\n \"type\" : \"entercash\"\n }, {\n \"name\" : \"Nationale Entertainment Card\",\n \"type\" : \"entertainmentcard\"\n }, {\n \"details\" : [ {\n \"items\" : [ {\n \"id\" : \"d5d5b133-1c0d-4c08-b2be-3c9b116dc326\",\n \"name\" : \"Dolomitenbank\"\n }, {\n \"id\" : \"ee9fc487-ebe0-486c-8101-17dce5141a67\",\n \"name\" : \"Raiffeissen Bankengruppe\"\n }, {\n \"id\" : \"6765e225-a0dc-4481-9666-e26303d4f221\",\n \"name\" : \"Hypo Tirol Bank AG\"\n }, {\n \"id\" : \"8b0bfeea-fbb0-4337-b3a1-0e25c0f060fc\",\n \"name\" : \"Sparda Bank Wien\"\n }, {\n \"id\" : \"1190c4d1-b37a-487e-9355-e0a067f54a9f\",\n \"name\" : \"Schoellerbank AG\"\n }, {\n \"id\" : \"e2e97aaa-de4c-4e18-9431-d99790773433\",\n \"name\" : \"Volksbank Gruppe\"\n }, {\n \"id\" : \"bb7d223a-17d5-48af-a6ef-8a2bf5a4e5d9\",\n \"name\" : \"Immo-Bank\"\n }, {\n \"id\" : \"e6819e7a-f663-414b-92ec-cf7c82d2f4e5\",\n \"name\" : \"Bank Austria\"\n }, {\n \"id\" : \"eff103e6-843d-48b7-a6e6-fbd88f511b11\",\n \"name\" : \"Easybank AG\"\n }, {\n \"id\" : \"25942cc9-617d-42a1-89ba-d1ab5a05770a\",\n \"name\" : \"VR-BankBraunau\"\n }, {\n \"id\" : \"4a0a975b-0594-4b40-9068-39f77b3a91f9\",\n \"name\" : \"Volkskreditbank\"\n }, {\n \"id\" : \"3fdc41fc-3d3d-4ee3-a1fe-cd79cfd58ea3\",\n \"name\" : \"Erste Bank und Sparkassen\"\n }, {\n \"id\" : \"ba7199cc-f057-42f2-9856-2378abf21638\",\n \"name\" : \"BAWAG P.S.K. Gruppe\"\n } ],\n \"key\" : \"issuer\",\n \"type\" : \"select\"\n } ],\n \"name\" : \"EPS\",\n \"type\" : \"eps\"\n }, {\n \"name\" : \"Expert Cadeaukaart\",\n \"type\" : \"expertgiftcard\"\n }, {\n \"details\" : [ {\n \"details\" : [ {\n \"key\" : \"firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"lastName\",\n \"type\" : \"text\"\n }, {\n \"items\" : [ {\n \"id\" : \"M\",\n \"name\" : \"male\"\n }, {\n \"id\" : \"F\",\n \"name\" : \"female\"\n } ],\n \"key\" : \"gender\",\n \"type\" : \"radio\"\n }, {\n \"key\" : \"telephoneNumber\",\n \"type\" : \"tel\"\n }, {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n } ],\n \"key\" : \"personalDetails\",\n \"type\" : \"fieldSet\"\n }, {\n \"details\" : [ {\n \"key\" : \"street\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"houseNumberOrName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"city\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"postalCode\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"stateOrProvince\",\n \"optional\" : true,\n \"type\" : \"text\"\n }, {\n \"items\" : [ {\n \"id\" : \"FR\",\n \"name\" : \"France\"\n }, {\n \"id\" : \"ES\",\n \"name\" : \"Spain\"\n } ],\n \"key\" : \"country\",\n \"type\" : \"select\"\n } ],\n \"key\" : \"billingAddress\",\n \"type\" : \"address\"\n }, {\n \"key\" : \"separateDeliveryAddress\",\n \"optional\" : true,\n \"type\" : \"boolean\",\n \"value\" : \"false\"\n }, {\n \"details\" : [ {\n \"key\" : \"street\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"houseNumberOrName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"city\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"postalCode\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"stateOrProvince\",\n \"optional\" : true,\n \"type\" : \"text\"\n }, {\n \"items\" : [ {\n \"id\" : \"FR\",\n \"name\" : \"France\"\n }, {\n \"id\" : \"ES\",\n \"name\" : \"Spain\"\n } ],\n \"key\" : \"country\",\n \"type\" : \"select\"\n } ],\n \"key\" : \"deliveryAddress\",\n \"optional\" : true,\n \"type\" : \"address\"\n } ],\n \"name\" : \"3x Oney\",\n \"type\" : \"facilypay_3x\"\n }, {\n \"details\" : [ {\n \"details\" : [ {\n \"key\" : \"firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"lastName\",\n \"type\" : \"text\"\n }, {\n \"items\" : [ {\n \"id\" : \"M\",\n \"name\" : \"male\"\n }, {\n \"id\" : \"F\",\n \"name\" : \"female\"\n } ],\n \"key\" : \"gender\",\n \"type\" : \"radio\"\n }, {\n \"key\" : \"telephoneNumber\",\n \"type\" : \"tel\"\n }, {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n } ],\n \"key\" : \"personalDetails\",\n \"type\" : \"fieldSet\"\n }, {\n \"details\" : [ {\n \"key\" : \"street\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"houseNumberOrName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"city\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"postalCode\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"stateOrProvince\",\n \"optional\" : true,\n \"type\" : \"text\"\n }, {\n \"items\" : [ {\n \"id\" : \"FR\",\n \"name\" : \"France\"\n }, {\n \"id\" : \"ES\",\n \"name\" : \"Spain\"\n } ],\n \"key\" : \"country\",\n \"type\" : \"select\"\n } ],\n \"key\" : \"billingAddress\",\n \"type\" : \"address\"\n }, {\n \"key\" : \"separateDeliveryAddress\",\n \"optional\" : true,\n \"type\" : \"boolean\",\n \"value\" : \"false\"\n }, {\n \"details\" : [ {\n \"key\" : \"street\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"houseNumberOrName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"city\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"postalCode\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"stateOrProvince\",\n \"optional\" : true,\n \"type\" : \"text\"\n }, {\n \"items\" : [ {\n \"id\" : \"FR\",\n \"name\" : \"France\"\n }, {\n \"id\" : \"ES\",\n \"name\" : \"Spain\"\n } ],\n \"key\" : \"country\",\n \"type\" : \"select\"\n } ],\n \"key\" : \"deliveryAddress\",\n \"optional\" : true,\n \"type\" : \"address\"\n } ],\n \"name\" : \"4x Oney\",\n \"type\" : \"facilypay_4x\"\n }, {\n \"name\" : \"Fashioncheque\",\n \"type\" : \"fashioncheque\"\n }, {\n \"details\" : [ {\n \"key\" : \"shopper.firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"shopper.lastName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"shopper.gender\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n }, {\n \"key\" : \"telephoneNumber\",\n \"type\" : \"tel\"\n }, {\n \"key\" : \"countryCode\",\n \"type\" : \"text\"\n } ],\n \"name\" : \"Fawry\",\n \"type\" : \"fawry\"\n }, {\n \"name\" : \"FijnCadeau\",\n \"type\" : \"fijncadeau\"\n }, {\n \"name\" : \"Fleurop Bloemenbon\",\n \"type\" : \"fleuropbloemenbon\"\n }, {\n \"name\" : \"Fonq Giftcard\",\n \"type\" : \"fonqgiftcard\"\n }, {\n \"name\" : \"Gall & Gall\",\n \"type\" : \"gallgall\"\n }, {\n \"name\" : \"GCash\",\n \"type\" : \"gcash\"\n }, {\n \"name\" : \"Generic GiftCard\",\n \"type\" : \"genericgiftcard\"\n }, {\n \"name\" : \"GiftFor2\",\n \"type\" : \"giftfor2card\"\n }, {\n \"name\" : \"Givex\",\n \"type\" : \"givex\"\n }, {\n \"name\" : \"Globe GCash\",\n \"type\" : \"globegcash\"\n }, {\n \"name\" : \"Goldsmiths Card\",\n \"type\" : \"goldsmithscard\"\n }, {\n \"name\" : \"GoPay Wallet\",\n \"type\" : \"gopay_wallet\"\n }, {\n \"name\" : \"OVO\",\n \"type\" : \"grabpay_ID\"\n }, {\n \"name\" : \"GrabPay\",\n \"type\" : \"grabpay_PH\"\n }, {\n \"name\" : \"GrabPay\",\n \"type\" : \"grabpay_SG\"\n }, {\n \"name\" : \"Hallmark Card\",\n \"type\" : \"hallmarkcard\"\n }, {\n \"name\" : \"HDFC\",\n \"type\" : \"hdfc\"\n }, {\n \"name\" : \"Hunkemoller Member Card\",\n \"type\" : \"hmclub\"\n }, {\n \"name\" : \"Hunkemoller Lingerie Card\",\n \"type\" : \"hmlingerie\"\n }, {\n \"details\" : [ {\n \"items\" : [ {\n \"id\" : \"1121\",\n \"name\" : \"Test Issuer\"\n }, {\n \"id\" : \"1154\",\n \"name\" : \"Test Issuer 5\"\n }, {\n \"id\" : \"1153\",\n \"name\" : \"Test Issuer 4\"\n }, {\n \"id\" : \"1152\",\n \"name\" : \"Test Issuer 3\"\n }, {\n \"id\" : \"1151\",\n \"name\" : \"Test Issuer 2\"\n }, {\n \"id\" : \"1162\",\n \"name\" : \"Test Issuer Cancelled\"\n }, {\n \"id\" : \"1161\",\n \"name\" : \"Test Issuer Pending\"\n }, {\n \"id\" : \"1160\",\n \"name\" : \"Test Issuer Refused\"\n }, {\n \"id\" : \"1159\",\n \"name\" : \"Test Issuer 10\"\n }, {\n \"id\" : \"1158\",\n \"name\" : \"Test Issuer 9\"\n }, {\n \"id\" : \"1157\",\n \"name\" : \"Test Issuer 8\"\n }, {\n \"id\" : \"1156\",\n \"name\" : \"Test Issuer 7\"\n }, {\n \"id\" : \"1155\",\n \"name\" : \"Test Issuer 6\"\n } ],\n \"key\" : \"issuer\",\n \"type\" : \"select\"\n } ],\n \"name\" : \"iDEAL\",\n \"type\" : \"ideal\"\n }, {\n \"name\" : \"igive\",\n \"type\" : \"igive\"\n }, {\n \"name\" : \"Korean Account Transfer (IniPay)\",\n \"type\" : \"inicisIniPay_accounttransfer\"\n }, {\n \"name\" : \"Korean Credit Cards (IniPay)\",\n \"type\" : \"inicisIniPay_creditcard\"\n }, {\n \"name\" : \"Korean Mobile Phone (IniPay)\",\n \"type\" : \"inicisIniPay_mobilephone\"\n }, {\n \"name\" : \"Korean Virtual Account (IniPay)\",\n \"type\" : \"inicisIniPay_virtualaccount\"\n }, {\n \"name\" : \"Korean Account Transfer (Mobile)\",\n \"type\" : \"inicisMobile_accounttransfer\"\n }, {\n \"name\" : \"Korean Credit Cards (Mobile)\",\n \"type\" : \"inicisMobile_creditcard\"\n }, {\n \"name\" : \"Korean Mobile Phone (Mobile)\",\n \"type\" : \"inicisMobile_mobilephone\"\n }, {\n \"name\" : \"Korean Virtual Account (Mobile)\",\n \"type\" : \"inicisMobile_virtualaccount\"\n }, {\n \"name\" : \"Korean Credit Cards\",\n \"type\" : \"inicis_creditcard\"\n }, {\n \"name\" : \"Interac® Online\",\n \"type\" : \"interac\"\n }, {\n \"name\" : \"Instant EFT\",\n \"type\" : \"ipay\"\n }, {\n \"name\" : \"iPay88\",\n \"type\" : \"ipay88\"\n }, {\n \"name\" : \"isracard\",\n \"type\" : \"isracard\"\n }, {\n \"name\" : \"Phone Payment\",\n \"type\" : \"ivr\"\n }, {\n \"name\" : \"Landline phone\",\n \"type\" : \"ivrLandline\"\n }, {\n \"name\" : \"Mobile phone\",\n \"type\" : \"ivrMobile\"\n }, {\n \"name\" : \"Kado Wereld\",\n \"type\" : \"kadowereld\"\n }, {\n \"name\" : \"KakaoPay\",\n \"type\" : \"kakaopay\"\n }, {\n \"name\" : \"Karen Millen Card\",\n \"type\" : \"karenmillen\"\n }, {\n \"name\" : \"Karen Millen GiftCard\",\n \"type\" : \"karenmillengiftcard\"\n }, {\n \"name\" : \"Bank Transfer\",\n \"type\" : \"kcp_banktransfer\"\n }, {\n \"name\" : \"Korea–issued cards\",\n \"type\" : \"kcp_creditcard\"\n }, {\n \"name\" : \"PayCo\",\n \"type\" : \"kcp_payco\"\n }, {\n \"name\" : \"Naver Pay\",\n \"type\" : \"kcp_naverpay\"\n }, {\n \"name\" : \"Virtual Account via KCP\",\n \"type\" : \"kcp_va\"\n }, {\n \"name\" : \"Pay later with Klarna.\",\n \"type\" : \"klarna\"\n }, {\n \"name\" : \"Pay over time with Klarna.\",\n \"type\" : \"klarna_account\"\n }, {\n \"name\" : \"Buy Now, Pay Later with Billie\",\n \"type\" : \"klarna_b2b\"\n }, {\n \"name\" : \"Pay now with Klarna.\",\n \"type\" : \"klarna_paynow\"\n }, {\n \"name\" : \"Leisure Card\",\n \"type\" : \"leisurecard\"\n }, {\n \"name\" : \"China Credit Card\",\n \"type\" : \"lianlianpay_creditcard\"\n }, {\n \"name\" : \"China Debit Card\",\n \"type\" : \"lianlianpay_debitcard\"\n }, {\n \"details\" : [ {\n \"key\" : \"telephoneNumber\",\n \"type\" : \"tel\"\n } ],\n \"name\" : \"China Online Banking - Credit Card\",\n \"type\" : \"lianlianpay_ebanking_credit\"\n }, {\n \"details\" : [ {\n \"items\" : [ {\n \"id\" : \"01030000\",\n \"name\" : \"Agricultural Bank of China\"\n }, {\n \"id\" : \"4031000\",\n \"name\" : \"Bank of Beijing\"\n }, {\n \"id\" : \"01040000\",\n \"name\" : \"Bank of China\"\n }, {\n \"id\" : \"03020000\",\n \"name\" : \"China Citic Bank\"\n }, {\n \"id\" : \"01050000\",\n \"name\" : \"China Construction Bank\"\n }, {\n \"id\" : \"03030000\",\n \"name\" : \"China Everbright Bank\"\n }, {\n \"id\" : \"03080000\",\n \"name\" : \"China Merchants Bank\"\n }, {\n \"id\" : \"03050000\",\n \"name\" : \"China Minsheng Banking Group\"\n }, {\n \"id\" : \"03040000\",\n \"name\" : \"Hua Xia Bank Co\"\n }, {\n \"id\" : \"01020000\",\n \"name\" : \"Industrial and Commercial Bank of China\"\n }, {\n \"id\" : \"03070000\",\n \"name\" : \"PingAn Bank\"\n }, {\n \"id\" : \"1000000\",\n \"name\" : \"Postal Savings Bank of China\"\n } ],\n \"key\" : \"issuer\",\n \"type\" : \"select\"\n }, {\n \"key\" : \"telephoneNumber\",\n \"type\" : \"tel\"\n } ],\n \"name\" : \"China Online Banking - Debit Card\",\n \"type\" : \"lianlianpay_ebanking_debit\"\n }, {\n \"details\" : [ {\n \"items\" : [ {\n \"id\" : \"01030000\",\n \"name\" : \"Agricultural Bank of China\"\n }, {\n \"id\" : \"01050000\",\n \"name\" : \"China Construction Bank\"\n }, {\n \"id\" : \"03080000\",\n \"name\" : \"China Merchants Bank\"\n }, {\n \"id\" : \"01020000\",\n \"name\" : \"Industrial and Commercial Bank of China\"\n }, {\n \"id\" : \"03100000\",\n \"name\" : \"Shanghai Pudong Development Bank\"\n } ],\n \"key\" : \"issuer\",\n \"type\" : \"select\"\n }, {\n \"key\" : \"telephoneNumber\",\n \"type\" : \"tel\"\n } ],\n \"name\" : \"China Online Banking - Enterprise\",\n \"type\" : \"lianlianpay_ebanking_enterprise\"\n }, {\n \"name\" : \"Loods5 Cadeaukaart\",\n \"type\" : \"loods5giftcard\"\n }, {\n \"name\" : \"Loods5 Tegoedbon\",\n \"type\" : \"loods5prepaidcard\"\n }, {\n \"name\" : \"Love2Shop GiftCard\",\n \"type\" : \"love2shop\"\n }, {\n \"details\" : [ {\n \"key\" : \"shopper.firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"shopper.lastName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"shopper.gender\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n }, {\n \"key\" : \"telephoneNumber\",\n \"type\" : \"tel\"\n }, {\n \"key\" : \"countryCode\",\n \"type\" : \"text\"\n } ],\n \"name\" : \"mada\",\n \"type\" : \"mada\"\n }, {\n \"name\" : \"Mappin & Webb Card\",\n \"type\" : \"mappinwebbcard\"\n }, {\n \"name\" : \"MB WAY\",\n \"type\" : \"mbway\"\n }, {\n \"details\" : [ {\n \"key\" : \"additionalData.amazonPayToken\",\n \"type\" : \"text\"\n } ],\n \"name\" : \"Amazon Pay\",\n \"type\" : \"amazonpay\"\n }, {\n \"name\" : \"Mercado Pago\",\n \"type\" : \"mercadopago\"\n }, {\n \"name\" : \"MobilePay\",\n \"type\" : \"mobilepay\"\n }, {\n \"name\" : \"AliPay via Razer Merchant Services\",\n \"type\" : \"molpay_alipay\"\n }, {\n \"name\" : \"7-Eleven\",\n \"type\" : \"molpay_cash\"\n }, {\n \"name\" : \"CIMB Virtual Account\",\n \"type\" : \"molpay_cimb_va\"\n }, {\n \"name\" : \"Malaysia E-Banking via Razer Merchant Services\",\n \"type\" : \"molpay_ebanking_MY\"\n }, {\n \"details\" : [ {\n \"items\" : [ {\n \"id\" : \"vtcpay-vietinbank\",\n \"name\" : \"Vietinbank\"\n }, {\n \"id\" : \"vtcpay-bidv\",\n \"name\" : \"BIDV\"\n }, {\n \"id\" : \"vtcpay-agribank\",\n \"name\" : \"Agribank\"\n }, {\n \"id\" : \"vtcpay-mb\",\n \"name\" : \"MB Bank\"\n }, {\n \"id\" : \"vtcpay-sacombank\",\n \"name\" : \"Sacombank\"\n }, {\n \"id\" : \"vtcpay-dongabank\",\n \"name\" : \"DongABank\"\n }, {\n \"id\" : \"vtcpay-maritimebank\",\n \"name\" : \"MaritimeBank\"\n }, {\n \"id\" : \"vtcpay-vietcombank\",\n \"name\" : \"Vietcombank\"\n }, {\n \"id\" : \"vtcpay-acb\",\n \"name\" : \"ACB\"\n }, {\n \"id\" : \"vtcpay-techcombank\",\n \"name\" : \"Techcombank\"\n } ],\n \"key\" : \"issuer\",\n \"type\" : \"select\"\n } ],\n \"name\" : \"Vietnam E-Banking\",\n \"type\" : \"molpay_ebanking_VN\"\n }, {\n \"details\" : [ {\n \"items\" : [ {\n \"id\" : \"fpx_bimb\",\n \"name\" : \"Bank Islam\"\n }, {\n \"id\" : \"fpx_uob\",\n \"name\" : \"UOB Bank\"\n }, {\n \"id\" : \"fpx_cimbclicks\",\n \"name\" : \"CIMB Clicks\"\n }, {\n \"id\" : \"fpx_kfh\",\n \"name\" : \"Kuwait Finance House\"\n }, {\n \"id\" : \"fpx_rhb\",\n \"name\" : \"RHB Now\"\n }, {\n \"id\" : \"fpx_abmb\",\n \"name\" : \"Alliance Bank\"\n }, {\n \"id\" : \"fpx_amb\",\n \"name\" : \"Am Online\"\n }, {\n \"id\" : \"fpx_hsbc\",\n \"name\" : \"HSBC\"\n }, {\n \"id\" : \"fpx_abb\",\n \"name\" : \"Affin Bank\"\n }, {\n \"id\" : \"fpx_ocbc\",\n \"name\" : \"OCBC Bank\"\n }, {\n \"id\" : \"fpx_pbb\",\n \"name\" : \"Public Bank\"\n }, {\n \"id\" : \"fpx_scb\",\n \"name\" : \"Standard Chartered Bank\"\n }, {\n \"id\" : \"fpx_bsn\",\n \"name\" : \"Bank Simpanan Nasional\"\n }, {\n \"id\" : \"fpx_mb2u\",\n \"name\" : \"Maybank2u\"\n }, {\n \"id\" : \"fpx_hlb\",\n \"name\" : \"Hong Leong Connect\"\n }, {\n \"id\" : \"fpx_bmmb\",\n \"name\" : \"Bank Muamalat\"\n }, {\n \"id\" : \"fpx_bkrm\",\n \"name\" : \"Bank Rakyat\"\n } ],\n \"key\" : \"issuer\",\n \"type\" : \"select\"\n } ],\n \"name\" : \"Malaysia E-Banking\",\n \"type\" : \"molpay_ebanking_fpx_MY\"\n }, {\n \"name\" : \"eNETS Debit\",\n \"type\" : \"molpay_enetsd\"\n }, {\n \"name\" : \"epay\",\n \"type\" : \"molpay_epay\"\n }, {\n \"name\" : \"Esapay\",\n \"type\" : \"molpay_esapay\"\n }, {\n \"name\" : \"MyClear FPX\",\n \"type\" : \"molpay_fpx\"\n }, {\n \"name\" : \"Maybank2u\",\n \"type\" : \"molpay_maybank2u\"\n }, {\n \"name\" : \"Nganluong\",\n \"type\" : \"molpay_nganluong\"\n }, {\n \"name\" : \"Convenience Stores Thailand\",\n \"type\" : \"molpay_paysbuy\"\n }, {\n \"name\" : \"MOLPoints\",\n \"type\" : \"molpay_points\"\n }, {\n \"name\" : \"RHB Now\",\n \"type\" : \"molpay_rhb\"\n }, {\n \"name\" : \"SAM by SingPost\",\n \"type\" : \"molpay_singpost\"\n }, {\n \"name\" : \"MOLWallet\",\n \"type\" : \"molpay_wallet\"\n }, {\n \"name\" : \"MoMo ATM\",\n \"type\" : \"momo_atm\"\n }, {\n \"name\" : \"Momo Wallet\",\n \"type\" : \"momo_wallet\"\n }, {\n \"name\" : \"Moneybookers\",\n \"type\" : \"moneybookers\"\n }, {\n \"name\" : \"Multibanco\",\n \"type\" : \"multibanco\"\n }, {\n \"name\" : \"De Nationale Musicalcard\",\n \"type\" : \"musicalcard\"\n }, {\n \"name\" : \"Nationale Bioscoopbon\",\n \"type\" : \"nationalebioscoopbon\"\n }, {\n \"name\" : \"Nationale Tuinbon\",\n \"type\" : \"nationaletuinbon\"\n }, {\n \"name\" : \"Nationale Verwen Cadeaubon\",\n \"type\" : \"nationaleverwencadeaubon\"\n }, {\n \"name\" : \"BankAxess\",\n \"type\" : \"netaxept_bankaxess\"\n }, {\n \"name\" : \"NETELLER\",\n \"type\" : \"neteller\"\n }, {\n \"name\" : \"Onebip\",\n \"type\" : \"onebip\"\n }, {\n \"name\" : \"One Two Three\",\n \"type\" : \"onetwothree\"\n }, {\n \"name\" : \"Online Banking PL\",\n \"type\" : \"onlineBanking_PL\"\n }, {\n \"details\" : [ {\n \"items\" : [ {\n \"id\" : \"1\",\n \"name\" : \"Model Bank v2\"\n } ],\n \"key\" : \"issuer\",\n \"type\" : \"select\"\n } ],\n \"name\" : \"Online banking\",\n \"type\" : \"openbanking_UK\"\n }, {\n \"name\" : \"Oxxo\",\n \"type\" : \"oxxo\"\n }, {\n \"name\" : \"Pathe Giftcard\",\n \"type\" : \"pathegiftcard\"\n }, {\n \"name\" : \"PayBright\",\n \"type\" : \"paybright\"\n }, {\n \"name\" : \"Maya Wallet\",\n \"type\" : \"paymaya_wallet\"\n }, {\n \"name\" : \"PayPal\",\n \"type\" : \"paypal\"\n }, {\n \"name\" : \"Paysafecard\",\n \"type\" : \"paysafecard\"\n }, {\n \"name\" : \"Payshop\",\n \"type\" : \"payshop\"\n }, {\n \"name\" : \"PayD AMT via Paythru\",\n \"type\" : \"paythru_amt\"\n }, {\n \"name\" : \"EFT via Paythru\",\n \"type\" : \"paythru_eft\"\n }, {\n \"name\" : \"PayTM\",\n \"type\" : \"paytm\"\n }, {\n \"details\" : [ {\n \"key\" : \"virtualPaymentAddress\",\n \"type\" : \"text\"\n } ],\n \"name\" : \"PayU UPI\",\n \"type\" : \"payu_IN_upi\"\n }, {\n \"name\" : \"EFT Pro via PayU\",\n \"type\" : \"payu_ZA_eftpro\"\n }, {\n \"details\" : [ {\n \"key\" : \"additionalData.paywithgoogle.token\",\n \"type\" : \"payWithGoogleToken\"\n } ],\n \"name\" : \"Google Pay\",\n \"type\" : \"paywithgoogle\"\n }, {\n \"name\" : \"pix\",\n \"type\" : \"pix\"\n }, {\n \"name\" : \"Plastix\",\n \"type\" : \"plastix\"\n }, {\n \"name\" : \"Pluim\",\n \"type\" : \"pluimgiftcard\"\n }, {\n \"name\" : \"Podium Card\",\n \"type\" : \"podiumcard\"\n }, {\n \"name\" : \"POLi\",\n \"type\" : \"poli\"\n }, {\n \"name\" : \"PPS\",\n \"type\" : \"pps\"\n }, {\n \"name\" : \"Primera Cadeaukaart\",\n \"type\" : \"primeracadeaucard\"\n }, {\n \"name\" : \"Illicado Gift Card\",\n \"type\" : \"prosodie_illicado\"\n }, {\n \"name\" : \"PSE\",\n \"type\" : \"pse\"\n }, {\n \"details\" : [ {\n \"items\" : [ {\n \"id\" : \"+7\",\n \"name\" : \"RU\"\n }, {\n \"id\" : \"+9955\",\n \"name\" : \"GE\"\n }, {\n \"id\" : \"+507\",\n \"name\" : \"PA\"\n }, {\n \"id\" : \"+44\",\n \"name\" : \"GB\"\n }, {\n \"id\" : \"+992\",\n \"name\" : \"TJ\"\n }, {\n \"id\" : \"+370\",\n \"name\" : \"LT\"\n }, {\n \"id\" : \"+972\",\n \"name\" : \"IL\"\n }, {\n \"id\" : \"+996\",\n \"name\" : \"KG\"\n }, {\n \"id\" : \"+380\",\n \"name\" : \"UA\"\n }, {\n \"id\" : \"+84\",\n \"name\" : \"VN\"\n }, {\n \"id\" : \"+90\",\n \"name\" : \"TR\"\n }, {\n \"id\" : \"+994\",\n \"name\" : \"AZ\"\n }, {\n \"id\" : \"+374\",\n \"name\" : \"AM\"\n }, {\n \"id\" : \"+371\",\n \"name\" : \"LV\"\n }, {\n \"id\" : \"+91\",\n \"name\" : \"IN\"\n }, {\n \"id\" : \"+66\",\n \"name\" : \"TH\"\n }, {\n \"id\" : \"+373\",\n \"name\" : \"MD\"\n }, {\n \"id\" : \"+1\",\n \"name\" : \"US\"\n }, {\n \"id\" : \"+81\",\n \"name\" : \"JP\"\n }, {\n \"id\" : \"+998\",\n \"name\" : \"UZ\"\n }, {\n \"id\" : \"+77\",\n \"name\" : \"KZ\"\n }, {\n \"id\" : \"+375\",\n \"name\" : \"BY\"\n }, {\n \"id\" : \"+372\",\n \"name\" : \"EE\"\n }, {\n \"id\" : \"+40\",\n \"name\" : \"RO\"\n }, {\n \"id\" : \"+82\",\n \"name\" : \"KR\"\n } ],\n \"key\" : \"qiwiwallet.telephoneNumberPrefix\",\n \"type\" : \"select\"\n }, {\n \"key\" : \"qiwiwallet.telephoneNumber\",\n \"type\" : \"text\"\n } ],\n \"name\" : \"Qiwi Wallet\",\n \"type\" : \"qiwiwallet\"\n }, {\n \"name\" : \"RatePay Invoice\",\n \"type\" : \"ratepay\"\n }, {\n \"name\" : \"RatePay Direct Debit\",\n \"type\" : \"ratepay_directdebit\"\n }, {\n \"name\" : \"Rituals Giftcard\",\n \"type\" : \"rituals\"\n }, {\n \"name\" : \"Rob Peetoom Giftcard\",\n \"type\" : \"robpeetoomgiftcard\"\n }, {\n \"name\" : \"SafetyPay\",\n \"type\" : \"safetypay\"\n }, {\n \"name\" : \"SafetyPay Cash\",\n \"type\" : \"safetypay_cash\"\n }, {\n \"name\" : \"Shoes&Accessories Cadeau\",\n \"type\" : \"sagiftcard\"\n }, {\n \"name\" : \"Score Giftcard\",\n \"type\" : \"scoregiftcard\"\n }, {\n \"name\" : \"SEB Direktbetalning\",\n \"type\" : \"sebdirectpayment\"\n }, {\n \"details\" : [ {\n \"key\" : \"sepa.ownerName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"sepa.ibanNumber\",\n \"type\" : \"text\"\n } ],\n \"name\" : \"SEPA Direct Debit\",\n \"type\" : \"sepadirectdebit\"\n }, {\n \"name\" : \"7-Eleven\",\n \"type\" : \"seveneleven\"\n }, {\n \"name\" : \"Premium SMS\",\n \"type\" : \"sms\"\n }, {\n \"name\" : \"SVS\",\n \"type\" : \"svs\"\n }, {\n \"name\" : \"Swish\",\n \"type\" : \"swish\"\n }, {\n \"name\" : \"TCS Test GiftCard\",\n \"type\" : \"tcstestgiftcard\"\n }, {\n \"name\" : \"TenPay\",\n \"type\" : \"tenpay\"\n }, {\n \"name\" : \"The Sting Giftcard\",\n \"type\" : \"thestinggiftcard\"\n }, {\n \"name\" : \"TrueMoney\",\n \"type\" : \"truemoney\"\n }, {\n \"name\" : \"Trustly\",\n \"type\" : \"trustly\"\n }, {\n \"name\" : \"Online Banking by Trustpay\",\n \"type\" : \"trustpay\"\n }, {\n \"name\" : \"TWINT\",\n \"type\" : \"twint\"\n }, {\n \"name\" : \"Ukash\",\n \"type\" : \"ukash\"\n }, {\n \"name\" : \"UnionPay\",\n \"type\" : \"unionpay\"\n }, {\n \"details\" : [ {\n \"key\" : \"virtualPaymentAddress\",\n \"type\" : \"text\"\n } ],\n \"name\" : \"UPI Collect\",\n \"type\" : \"upi_collect\"\n }, {\n \"name\" : \"Valuelink\",\n \"type\" : \"valuelink\"\n }, {\n \"name\" : \"V&D Cadeaukaart\",\n \"type\" : \"vdcadeaucard\"\n }, {\n \"details\" : [ {\n \"key\" : \"telephoneNumber\",\n \"optional\" : true,\n \"type\" : \"tel\"\n } ],\n \"name\" : \"Vipps\",\n \"type\" : \"vipps\"\n }, {\n \"details\" : [ {\n \"key\" : \"additionalData.visacheckout.callId\",\n \"type\" : \"text\"\n } ],\n \"name\" : \"Visa Checkout\",\n \"type\" : \"visacheckout\"\n }, {\n \"name\" : \"VVV Cadeaubon\",\n \"type\" : \"vvvcadeaubon\"\n }, {\n \"name\" : \"VVV Giftcard\",\n \"type\" : \"vvvgiftcard\"\n }, {\n \"name\" : \"Webshop Giftcard\",\n \"type\" : \"webshopgiftcard\"\n }, {\n \"name\" : \"WeChat Pay\",\n \"type\" : \"wechatpayMiniProgram\"\n }, {\n \"name\" : \"WeChat Pay\",\n \"type\" : \"wechatpayQR\"\n }, {\n \"name\" : \"WeChat Pay\",\n \"type\" : \"wechatpayWeb\"\n }, {\n \"name\" : \"WE Fashion Giftcard\",\n \"type\" : \"wefashiongiftcard\"\n }, {\n \"name\" : \"Western Union\",\n \"type\" : \"westernunion\"\n }, {\n \"name\" : \"Winkel Cheque\",\n \"type\" : \"winkelcheque\"\n }, {\n \"name\" : \"WOS Card\",\n \"type\" : \"woscard\"\n }, {\n \"name\" : \"Alfa-Click\",\n \"type\" : \"yandex_alfaclick\"\n }, {\n \"name\" : \"Pay using bank card\",\n \"type\" : \"yandex_bank_card\"\n }, {\n \"name\" : \"Cash terminals\",\n \"type\" : \"yandex_cash\"\n }, {\n \"name\" : \"Pay using installments\",\n \"type\" : \"yandex_installments\"\n }, {\n \"name\" : \"YooMoney\",\n \"type\" : \"yandex_money\"\n }, {\n \"name\" : \"Promsvyazbank\",\n \"type\" : \"yandex_promsvyazbank\"\n }, {\n \"name\" : \"SberPay\",\n \"type\" : \"yandex_sberbank\"\n }, {\n \"name\" : \"WebMoney\",\n \"type\" : \"yandex_webmoney\"\n }, {\n \"name\" : \"Your Gift\",\n \"type\" : \"yourgift\"\n }, {\n \"name\" : \"Zip\",\n \"type\" : \"zip\"\n } ]\n}", + "originalRequest": { + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentMethods", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentMethods" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Queries the available payment methods for a transaction based on the transaction context (like amount, country, and currency). Besides giving back a list of the available payment methods, the response also returns which input details you need to collect from the shopper (to be submitted to `/payments`). Although we highly recommend using this endpoint to ensure you are always offering the most up-to-date list of payment methods, its usage is optional. You can, for example, also cache the `/paymentMethods` response and update it once a week." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentMethods", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentMethods" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Queries the available payment methods for a transaction based on the transaction context (like amount, country, and currency). Besides giving back a list of the available payment methods, the response also returns which input details you need to collect from the shopper (to be submitted to `/payments`). Although we highly recommend using this endpoint to ensure you are always offering the most up-to-date list of payment methods, its usage is optional. You can, for example, also cache the `/paymentMethods` response and update it once a week." - } + ] }, { "name": "Get payment methods based on the country and amount", "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 + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl-NL\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentMethods", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentMethods" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Queries the available payment methods for a transaction based on the transaction context (like amount, country, and currency). Besides giving back a list of the available payment methods, the response also returns which input details you need to collect from the shopper (to be submitted to `/payments`). Although we highly recommend using this endpoint to ensure you are always offering the most up-to-date list of payment methods, its usage is optional. You can, for example, also cache the `/paymentMethods` response and update it once a week." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"paymentMethods\" : [ {\n \"details\" : [ {\n \"items\" : [ {\n \"id\" : \"1121\",\n \"name\" : \"Test Issuer\"\n }, {\n \"id\" : \"1154\",\n \"name\" : \"Test Issuer 5\"\n }, {\n \"id\" : \"1153\",\n \"name\" : \"Test Issuer 4\"\n }, {\n \"id\" : \"1152\",\n \"name\" : \"Test Issuer 3\"\n }, {\n \"id\" : \"1151\",\n \"name\" : \"Test Issuer 2\"\n }, {\n \"id\" : \"1162\",\n \"name\" : \"Test Issuer Cancelled\"\n }, {\n \"id\" : \"1161\",\n \"name\" : \"Test Issuer Pending\"\n }, {\n \"id\" : \"1160\",\n \"name\" : \"Test Issuer Refused\"\n }, {\n \"id\" : \"1159\",\n \"name\" : \"Test Issuer 10\"\n }, {\n \"id\" : \"1158\",\n \"name\" : \"Test Issuer 9\"\n }, {\n \"id\" : \"1157\",\n \"name\" : \"Test Issuer 8\"\n }, {\n \"id\" : \"1156\",\n \"name\" : \"Test Issuer 7\"\n }, {\n \"id\" : \"1155\",\n \"name\" : \"Test Issuer 6\"\n } ],\n \"key\" : \"issuer\",\n \"type\" : \"select\"\n } ],\n \"name\" : \"iDEAL\",\n \"type\" : \"ideal\"\n }, {\n \"details\" : [ {\n \"key\" : \"encryptedCardNumber\",\n \"type\" : \"cardToken\"\n }, {\n \"key\" : \"encryptedSecurityCode\",\n \"type\" : \"cardToken\"\n }, {\n \"key\" : \"encryptedExpiryMonth\",\n \"type\" : \"cardToken\"\n }, {\n \"key\" : \"encryptedExpiryYear\",\n \"type\" : \"cardToken\"\n }, {\n \"key\" : \"holderName\",\n \"optional\" : true,\n \"type\" : \"text\"\n } ],\n \"name\" : \"Hitelkártya\",\n \"type\" : \"scheme\"\n }, {\n \"name\" : \"PayPal\",\n \"type\" : \"paypal\"\n }, {\n \"details\" : [ {\n \"details\" : [ {\n \"key\" : \"firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"lastName\",\n \"type\" : \"text\"\n }, {\n \"items\" : [ {\n \"id\" : \"M\",\n \"name\" : \"male\"\n }, {\n \"id\" : \"F\",\n \"name\" : \"female\"\n } ],\n \"key\" : \"gender\",\n \"type\" : \"radio\"\n }, {\n \"key\" : \"dateOfBirth\",\n \"type\" : \"date\"\n }, {\n \"key\" : \"telephoneNumber\",\n \"type\" : \"tel\"\n }, {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n } ],\n \"key\" : \"personalDetails\",\n \"type\" : \"fieldSet\"\n }, {\n \"details\" : [ {\n \"key\" : \"street\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"houseNumberOrName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"city\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"postalCode\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"stateOrProvince\",\n \"optional\" : true,\n \"type\" : \"text\"\n }, {\n \"items\" : [ {\n \"id\" : \"NL\",\n \"name\" : \"Netherlands\"\n }, {\n \"id\" : \"BE\",\n \"name\" : \"Belgium\"\n } ],\n \"key\" : \"country\",\n \"type\" : \"select\",\n \"value\" : \"NL\"\n } ],\n \"key\" : \"billingAddress\",\n \"type\" : \"address\"\n }, {\n \"key\" : \"separateDeliveryAddress\",\n \"optional\" : true,\n \"type\" : \"boolean\",\n \"value\" : \"false\"\n }, {\n \"details\" : [ {\n \"key\" : \"street\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"houseNumberOrName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"city\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"postalCode\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"stateOrProvince\",\n \"optional\" : true,\n \"type\" : \"text\"\n }, {\n \"items\" : [ {\n \"id\" : \"NL\",\n \"name\" : \"Netherlands\"\n }, {\n \"id\" : \"BE\",\n \"name\" : \"Belgium\"\n } ],\n \"key\" : \"country\",\n \"type\" : \"select\",\n \"value\" : \"NL\"\n } ],\n \"key\" : \"deliveryAddress\",\n \"optional\" : true,\n \"type\" : \"address\"\n } ],\n \"name\" : \"AfterPay Invoice\",\n \"type\" : \"afterpay_default\"\n }, {\n \"name\" : \"Pay later with Klarna.\",\n \"type\" : \"klarna\"\n }, {\n \"details\" : [ {\n \"key\" : \"sepa.ownerName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"sepa.ibanNumber\",\n \"type\" : \"text\"\n } ],\n \"name\" : \"SEPA Direct Debit\",\n \"type\" : \"sepadirectdebit\"\n }, {\n \"name\" : \"Paysafecard\",\n \"type\" : \"paysafecard\"\n }, {\n \"name\" : \"Bijenkorf Cadeaucard\",\n \"type\" : \"bijcadeaucard\"\n }, {\n \"name\" : \"Fonq Giftcard\",\n \"type\" : \"fonqgiftcard\"\n }, {\n \"name\" : \"Bank Transfer (NL)\",\n \"type\" : \"bankTransfer_NL\"\n }, {\n \"name\" : \"Pathe Giftcard\",\n \"type\" : \"pathegiftcard\"\n }, {\n \"name\" : \"VVV Giftcard\",\n \"type\" : \"vvvgiftcard\"\n }, {\n \"name\" : \"Podium Card\",\n \"type\" : \"podiumcard\"\n }, {\n \"name\" : \"RatePay Direct Debit\",\n \"type\" : \"ratepay_directdebit\"\n }, {\n \"name\" : \"Rituals Giftcard\",\n \"type\" : \"rituals\"\n }, {\n \"name\" : \"Hunkemoller Lingerie Card\",\n \"type\" : \"hmlingerie\"\n }, {\n \"name\" : \"Primera Cadeaukaart\",\n \"type\" : \"primeracadeaucard\"\n }, {\n \"name\" : \"Fashioncheque\",\n \"type\" : \"fashioncheque\"\n }, {\n \"name\" : \"NETELLER\",\n \"type\" : \"neteller\"\n }, {\n \"name\" : \"Adyen Voucher\",\n \"type\" : \"adyen_test_voucher\"\n }, {\n \"name\" : \"AfterPay B2B\",\n \"type\" : \"afterpay_b2b\"\n }, {\n \"name\" : \"AfterPay DirectDebit\",\n \"type\" : \"afterpay_directdebit\"\n }, {\n \"name\" : \"AliPay\",\n \"type\" : \"alipay\"\n }, {\n \"name\" : \"AliPay\",\n \"type\" : \"alipay_wap\"\n }, {\n \"details\" : [ {\n \"key\" : \"additionalData.androidpay.token\",\n \"type\" : \"androidPayToken\"\n } ],\n \"name\" : \"Android Pay\",\n \"type\" : \"androidpay\"\n }, {\n \"details\" : [ {\n \"key\" : \"additionalData.applepay.token\",\n \"type\" : \"applePayToken\"\n } ],\n \"name\" : \"Apple Pay\",\n \"type\" : \"applepay\"\n }, {\n \"name\" : \"Baby Gift Card\",\n \"type\" : \"babygiftcard\"\n }, {\n \"name\" : \"SEPA Bank Transfer\",\n \"type\" : \"bankTransfer_IBAN\"\n }, {\n \"name\" : \"Bloemen Giftcard\",\n \"type\" : \"bloemengiftcard\"\n }, {\n \"name\" : \"Boekenbon Giftcard\",\n \"type\" : \"boekenbon\"\n }, {\n \"name\" : \"Cash-Ticket\",\n \"type\" : \"cashticket\"\n }, {\n \"name\" : \"Chasin Giftcard\",\n \"type\" : \"chasingiftcard\"\n }, {\n \"name\" : \"ClickandBuy\",\n \"type\" : \"clickandbuy\"\n }, {\n \"name\" : \"Costes Giftcard\",\n \"type\" : \"costesgiftcard\"\n }, {\n \"name\" : \"custom_settlement\",\n \"type\" : \"custom_settlement\"\n }, {\n \"name\" : \"eft_directdebit_CA\",\n \"type\" : \"eft_directdebit_CA\"\n }, {\n \"name\" : \"Nationale Entertainment Card\",\n \"type\" : \"entertainmentcard\"\n }, {\n \"name\" : \"Expert Cadeaukaart\",\n \"type\" : \"expertgiftcard\"\n }, {\n \"name\" : \"FijnCadeau\",\n \"type\" : \"fijncadeau\"\n }, {\n \"name\" : \"Fleurop Bloemenbon\",\n \"type\" : \"fleuropbloemenbon\"\n }, {\n \"name\" : \"Gall & Gall\",\n \"type\" : \"gallgall\"\n }, {\n \"name\" : \"Generic GiftCard\",\n \"type\" : \"genericgiftcard\"\n }, {\n \"name\" : \"GiftFor2\",\n \"type\" : \"giftfor2card\"\n }, {\n \"name\" : \"Givex\",\n \"type\" : \"givex\"\n }, {\n \"name\" : \"Goldsmiths Card\",\n \"type\" : \"goldsmithscard\"\n }, {\n \"name\" : \"Hunkemoller Member Card\",\n \"type\" : \"hmclub\"\n }, {\n \"name\" : \"Phone Payment\",\n \"type\" : \"ivr\"\n }, {\n \"name\" : \"Landline phone\",\n \"type\" : \"ivrLandline\"\n }, {\n \"name\" : \"Mobile phone\",\n \"type\" : \"ivrMobile\"\n }, {\n \"name\" : \"Kado Wereld\",\n \"type\" : \"kadowereld\"\n }, {\n \"name\" : \"Karen Millen GiftCard\",\n \"type\" : \"karenmillengiftcard\"\n }, {\n \"name\" : \"Leisure Card\",\n \"type\" : \"leisurecard\"\n }, {\n \"name\" : \"Loods5 Cadeaukaart\",\n \"type\" : \"loods5giftcard\"\n }, {\n \"name\" : \"Loods5 Tegoedbon\",\n \"type\" : \"loods5prepaidcard\"\n }, {\n \"details\" : [ {\n \"key\" : \"additionalData.amazonPayToken\",\n \"type\" : \"text\"\n } ],\n \"name\" : \"Amazon Pay\",\n \"type\" : \"amazonpay\"\n }, {\n \"name\" : \"MOLPoints\",\n \"type\" : \"molpay_points\"\n }, {\n \"name\" : \"Moneybookers\",\n \"type\" : \"moneybookers\"\n }, {\n \"name\" : \"De Nationale Musicalcard\",\n \"type\" : \"musicalcard\"\n }, {\n \"name\" : \"Nationale Bioscoopbon\",\n \"type\" : \"nationalebioscoopbon\"\n }, {\n \"name\" : \"Nationale Tuinbon\",\n \"type\" : \"nationaletuinbon\"\n }, {\n \"name\" : \"Nationale Verwen Cadeaubon\",\n \"type\" : \"nationaleverwencadeaubon\"\n }, {\n \"name\" : \"Onebip\",\n \"type\" : \"onebip\"\n }, {\n \"details\" : [ {\n \"key\" : \"additionalData.paywithgoogle.token\",\n \"type\" : \"payWithGoogleToken\"\n } ],\n \"name\" : \"Google Pay\",\n \"type\" : \"paywithgoogle\"\n }, {\n \"name\" : \"Plastix\",\n \"type\" : \"plastix\"\n }, {\n \"name\" : \"Pluim\",\n \"type\" : \"pluimgiftcard\"\n }, {\n \"name\" : \"Illicado Gift Card\",\n \"type\" : \"prosodie_illicado\"\n }, {\n \"name\" : \"RatePay Invoice\",\n \"type\" : \"ratepay\"\n }, {\n \"name\" : \"Rob Peetoom Giftcard\",\n \"type\" : \"robpeetoomgiftcard\"\n }, {\n \"name\" : \"Shoes&Accessories Cadeau\",\n \"type\" : \"sagiftcard\"\n }, {\n \"name\" : \"Score Giftcard\",\n \"type\" : \"scoregiftcard\"\n }, {\n \"name\" : \"Premium SMS\",\n \"type\" : \"sms\"\n }, {\n \"name\" : \"SVS\",\n \"type\" : \"svs\"\n }, {\n \"name\" : \"TCS Test GiftCard\",\n \"type\" : \"tcstestgiftcard\"\n }, {\n \"name\" : \"The Sting Giftcard\",\n \"type\" : \"thestinggiftcard\"\n }, {\n \"name\" : \"Ukash\",\n \"type\" : \"ukash\"\n }, {\n \"name\" : \"UnionPay\",\n \"type\" : \"unionpay\"\n }, {\n \"name\" : \"Valuelink\",\n \"type\" : \"valuelink\"\n }, {\n \"name\" : \"V&D Cadeaukaart\",\n \"type\" : \"vdcadeaucard\"\n }, {\n \"details\" : [ {\n \"key\" : \"additionalData.visacheckout.callId\",\n \"type\" : \"text\"\n } ],\n \"name\" : \"Visa Checkout\",\n \"type\" : \"visacheckout\"\n }, {\n \"name\" : \"VVV Cadeaubon\",\n \"type\" : \"vvvcadeaubon\"\n }, {\n \"name\" : \"Webshop Giftcard\",\n \"type\" : \"webshopgiftcard\"\n }, {\n \"name\" : \"WE Fashion Giftcard\",\n \"type\" : \"wefashiongiftcard\"\n }, {\n \"name\" : \"Western Union\",\n \"type\" : \"westernunion\"\n }, {\n \"name\" : \"Winkel Cheque\",\n \"type\" : \"winkelcheque\"\n }, {\n \"name\" : \"Your Gift\",\n \"type\" : \"yourgift\"\n } ]\n}", + "originalRequest": { + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl-NL\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentMethods", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentMethods" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Queries the available payment methods for a transaction based on the transaction context (like amount, country, and currency). Besides giving back a list of the available payment methods, the response also returns which input details you need to collect from the shopper (to be submitted to `/payments`). Although we highly recommend using this endpoint to ensure you are always offering the most up-to-date list of payment methods, its usage is optional. You can, for example, also cache the `/paymentMethods` response and update it once a week." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl-NL\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n }\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentMethods", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentMethods" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Queries the available payment methods for a transaction based on the transaction context (like amount, country, and currency). Besides giving back a list of the available payment methods, the response also returns which input details you need to collect from the shopper (to be submitted to `/payments`). Although we highly recommend using this endpoint to ensure you are always offering the most up-to-date list of payment methods, its usage is optional. You can, for example, also cache the `/paymentMethods` response and update it once a week." - } + ] }, { "name": "Get payment methods including stored card details", "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 + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"countryCode\" : \"NL\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentMethods", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentMethods" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Queries the available payment methods for a transaction based on the transaction context (like amount, country, and currency). Besides giving back a list of the available payment methods, the response also returns which input details you need to collect from the shopper (to be submitted to `/payments`). Although we highly recommend using this endpoint to ensure you are always offering the most up-to-date list of payment methods, its usage is optional. You can, for example, also cache the `/paymentMethods` response and update it once a week." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"paymentMethods\" : [ {\n \"details\" : [ {\n \"items\" : [ {\n \"id\" : \"1121\",\n \"name\" : \"Test Issuer\"\n }, {\n \"id\" : \"1154\",\n \"name\" : \"Test Issuer 5\"\n }, {\n \"id\" : \"1153\",\n \"name\" : \"Test Issuer 4\"\n }, {\n \"id\" : \"1152\",\n \"name\" : \"Test Issuer 3\"\n }, {\n \"id\" : \"1151\",\n \"name\" : \"Test Issuer 2\"\n }, {\n \"id\" : \"1162\",\n \"name\" : \"Test Issuer Cancelled\"\n }, {\n \"id\" : \"1161\",\n \"name\" : \"Test Issuer Pending\"\n }, {\n \"id\" : \"1160\",\n \"name\" : \"Test Issuer Refused\"\n }, {\n \"id\" : \"1159\",\n \"name\" : \"Test Issuer 10\"\n }, {\n \"id\" : \"1158\",\n \"name\" : \"Test Issuer 9\"\n }, {\n \"id\" : \"1157\",\n \"name\" : \"Test Issuer 8\"\n }, {\n \"id\" : \"1156\",\n \"name\" : \"Test Issuer 7\"\n }, {\n \"id\" : \"1155\",\n \"name\" : \"Test Issuer 6\"\n } ],\n \"key\" : \"issuer\",\n \"type\" : \"select\"\n } ],\n \"name\" : \"iDEAL\",\n \"type\" : \"ideal\"\n }, {\n \"details\" : [ {\n \"key\" : \"encryptedCardNumber\",\n \"type\" : \"cardToken\"\n }, {\n \"key\" : \"encryptedSecurityCode\",\n \"type\" : \"cardToken\"\n }, {\n \"key\" : \"encryptedExpiryMonth\",\n \"type\" : \"cardToken\"\n }, {\n \"key\" : \"encryptedExpiryYear\",\n \"type\" : \"cardToken\"\n }, {\n \"key\" : \"holderName\",\n \"optional\" : true,\n \"type\" : \"text\"\n } ],\n \"name\" : \"Credit Card\",\n \"type\" : \"scheme\"\n }, {\n \"name\" : \"PayPal\",\n \"type\" : \"paypal\"\n }, {\n \"details\" : [ {\n \"details\" : [ {\n \"key\" : \"firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"lastName\",\n \"type\" : \"text\"\n }, {\n \"items\" : [ {\n \"id\" : \"M\",\n \"name\" : \"male\"\n }, {\n \"id\" : \"F\",\n \"name\" : \"female\"\n } ],\n \"key\" : \"gender\",\n \"type\" : \"radio\"\n }, {\n \"key\" : \"dateOfBirth\",\n \"type\" : \"date\"\n }, {\n \"key\" : \"telephoneNumber\",\n \"type\" : \"tel\"\n }, {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n } ],\n \"key\" : \"personalDetails\",\n \"type\" : \"fieldSet\"\n }, {\n \"details\" : [ {\n \"key\" : \"street\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"houseNumberOrName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"city\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"postalCode\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"stateOrProvince\",\n \"optional\" : true,\n \"type\" : \"text\"\n }, {\n \"items\" : [ {\n \"id\" : \"NL\",\n \"name\" : \"Netherlands\"\n }, {\n \"id\" : \"BE\",\n \"name\" : \"Belgium\"\n } ],\n \"key\" : \"country\",\n \"type\" : \"select\",\n \"value\" : \"NL\"\n } ],\n \"key\" : \"billingAddress\",\n \"type\" : \"address\"\n }, {\n \"key\" : \"separateDeliveryAddress\",\n \"optional\" : true,\n \"type\" : \"boolean\",\n \"value\" : \"false\"\n }, {\n \"details\" : [ {\n \"key\" : \"street\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"houseNumberOrName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"city\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"postalCode\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"stateOrProvince\",\n \"optional\" : true,\n \"type\" : \"text\"\n }, {\n \"items\" : [ {\n \"id\" : \"NL\",\n \"name\" : \"Netherlands\"\n }, {\n \"id\" : \"BE\",\n \"name\" : \"Belgium\"\n } ],\n \"key\" : \"country\",\n \"type\" : \"select\",\n \"value\" : \"NL\"\n } ],\n \"key\" : \"deliveryAddress\",\n \"optional\" : true,\n \"type\" : \"address\"\n } ],\n \"name\" : \"AfterPay Invoice\",\n \"type\" : \"afterpay_default\"\n }, {\n \"name\" : \"Pay later with Klarna.\",\n \"type\" : \"klarna\"\n }, {\n \"details\" : [ {\n \"key\" : \"sepa.ownerName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"sepa.ibanNumber\",\n \"type\" : \"text\"\n } ],\n \"name\" : \"SEPA Direct Debit\",\n \"type\" : \"sepadirectdebit\"\n }, {\n \"name\" : \"Paysafecard\",\n \"type\" : \"paysafecard\"\n }, {\n \"name\" : \"Bijenkorf Cadeaucard\",\n \"type\" : \"bijcadeaucard\"\n }, {\n \"name\" : \"Fonq Giftcard\",\n \"type\" : \"fonqgiftcard\"\n }, {\n \"name\" : \"Bank Transfer (NL)\",\n \"type\" : \"bankTransfer_NL\"\n }, {\n \"name\" : \"Pathe Giftcard\",\n \"type\" : \"pathegiftcard\"\n }, {\n \"name\" : \"VVV Giftcard\",\n \"type\" : \"vvvgiftcard\"\n }, {\n \"name\" : \"Podium Card\",\n \"type\" : \"podiumcard\"\n }, {\n \"name\" : \"RatePay Direct Debit\",\n \"type\" : \"ratepay_directdebit\"\n }, {\n \"name\" : \"Rituals Giftcard\",\n \"type\" : \"rituals\"\n }, {\n \"name\" : \"Hunkemoller Lingerie Card\",\n \"type\" : \"hmlingerie\"\n }, {\n \"name\" : \"Primera Cadeaukaart\",\n \"type\" : \"primeracadeaucard\"\n }, {\n \"name\" : \"Fashioncheque\",\n \"type\" : \"fashioncheque\"\n }, {\n \"name\" : \"NETELLER\",\n \"type\" : \"neteller\"\n }, {\n \"name\" : \"Adyen Voucher\",\n \"type\" : \"adyen_test_voucher\"\n }, {\n \"name\" : \"AfterPay B2B\",\n \"type\" : \"afterpay_b2b\"\n }, {\n \"name\" : \"AfterPay DirectDebit\",\n \"type\" : \"afterpay_directdebit\"\n }, {\n \"name\" : \"AliPay\",\n \"type\" : \"alipay\"\n }, {\n \"name\" : \"AliPay\",\n \"type\" : \"alipay_wap\"\n }, {\n \"details\" : [ {\n \"key\" : \"additionalData.androidpay.token\",\n \"type\" : \"androidPayToken\"\n } ],\n \"name\" : \"Android Pay\",\n \"type\" : \"androidpay\"\n }, {\n \"details\" : [ {\n \"key\" : \"additionalData.applepay.token\",\n \"type\" : \"applePayToken\"\n } ],\n \"name\" : \"Apple Pay\",\n \"type\" : \"applepay\"\n }, {\n \"name\" : \"Baby Gift Card\",\n \"type\" : \"babygiftcard\"\n }, {\n \"name\" : \"SEPA Bank Transfer\",\n \"type\" : \"bankTransfer_IBAN\"\n }, {\n \"name\" : \"Bloemen Giftcard\",\n \"type\" : \"bloemengiftcard\"\n }, {\n \"name\" : \"Boekenbon Giftcard\",\n \"type\" : \"boekenbon\"\n }, {\n \"name\" : \"Cash-Ticket\",\n \"type\" : \"cashticket\"\n }, {\n \"name\" : \"Chasin Giftcard\",\n \"type\" : \"chasingiftcard\"\n }, {\n \"name\" : \"ClickandBuy\",\n \"type\" : \"clickandbuy\"\n }, {\n \"name\" : \"Costes Giftcard\",\n \"type\" : \"costesgiftcard\"\n }, {\n \"name\" : \"custom_settlement\",\n \"type\" : \"custom_settlement\"\n }, {\n \"name\" : \"eft_directdebit_CA\",\n \"type\" : \"eft_directdebit_CA\"\n }, {\n \"name\" : \"Nationale Entertainment Card\",\n \"type\" : \"entertainmentcard\"\n }, {\n \"name\" : \"Expert Cadeaukaart\",\n \"type\" : \"expertgiftcard\"\n }, {\n \"name\" : \"FijnCadeau\",\n \"type\" : \"fijncadeau\"\n }, {\n \"name\" : \"Fleurop Bloemenbon\",\n \"type\" : \"fleuropbloemenbon\"\n }, {\n \"name\" : \"Gall & Gall\",\n \"type\" : \"gallgall\"\n }, {\n \"name\" : \"Generic GiftCard\",\n \"type\" : \"genericgiftcard\"\n }, {\n \"name\" : \"GiftFor2\",\n \"type\" : \"giftfor2card\"\n }, {\n \"name\" : \"Givex\",\n \"type\" : \"givex\"\n }, {\n \"name\" : \"Goldsmiths Card\",\n \"type\" : \"goldsmithscard\"\n }, {\n \"name\" : \"Hunkemoller Member Card\",\n \"type\" : \"hmclub\"\n }, {\n \"name\" : \"Phone Payment\",\n \"type\" : \"ivr\"\n }, {\n \"name\" : \"Landline phone\",\n \"type\" : \"ivrLandline\"\n }, {\n \"name\" : \"Mobile phone\",\n \"type\" : \"ivrMobile\"\n }, {\n \"name\" : \"Kado Wereld\",\n \"type\" : \"kadowereld\"\n }, {\n \"name\" : \"Karen Millen GiftCard\",\n \"type\" : \"karenmillengiftcard\"\n }, {\n \"name\" : \"Leisure Card\",\n \"type\" : \"leisurecard\"\n }, {\n \"name\" : \"Loods5 Cadeaukaart\",\n \"type\" : \"loods5giftcard\"\n }, {\n \"name\" : \"Loods5 Tegoedbon\",\n \"type\" : \"loods5prepaidcard\"\n }, {\n \"details\" : [ {\n \"key\" : \"additionalData.amazonPayToken\",\n \"type\" : \"text\"\n } ],\n \"name\" : \"Amazon Pay\",\n \"type\" : \"amazonpay\"\n }, {\n \"name\" : \"MOLPoints\",\n \"type\" : \"molpay_points\"\n }, {\n \"name\" : \"Moneybookers\",\n \"type\" : \"moneybookers\"\n }, {\n \"name\" : \"De Nationale Musicalcard\",\n \"type\" : \"musicalcard\"\n }, {\n \"name\" : \"Nationale Bioscoopbon\",\n \"type\" : \"nationalebioscoopbon\"\n }, {\n \"name\" : \"Nationale Tuinbon\",\n \"type\" : \"nationaletuinbon\"\n }, {\n \"name\" : \"Nationale Verwen Cadeaubon\",\n \"type\" : \"nationaleverwencadeaubon\"\n }, {\n \"name\" : \"Onebip\",\n \"type\" : \"onebip\"\n }, {\n \"details\" : [ {\n \"key\" : \"additionalData.paywithgoogle.token\",\n \"type\" : \"payWithGoogleToken\"\n } ],\n \"name\" : \"Google Pay\",\n \"type\" : \"paywithgoogle\"\n }, {\n \"name\" : \"Plastix\",\n \"type\" : \"plastix\"\n }, {\n \"name\" : \"Pluim\",\n \"type\" : \"pluimgiftcard\"\n }, {\n \"name\" : \"Illicado Gift Card\",\n \"type\" : \"prosodie_illicado\"\n }, {\n \"name\" : \"RatePay Invoice\",\n \"type\" : \"ratepay\"\n }, {\n \"name\" : \"Rob Peetoom Giftcard\",\n \"type\" : \"robpeetoomgiftcard\"\n }, {\n \"name\" : \"Shoes&Accessories Cadeau\",\n \"type\" : \"sagiftcard\"\n }, {\n \"name\" : \"Score Giftcard\",\n \"type\" : \"scoregiftcard\"\n }, {\n \"name\" : \"Premium SMS\",\n \"type\" : \"sms\"\n }, {\n \"name\" : \"SVS\",\n \"type\" : \"svs\"\n }, {\n \"name\" : \"TCS Test GiftCard\",\n \"type\" : \"tcstestgiftcard\"\n }, {\n \"name\" : \"The Sting Giftcard\",\n \"type\" : \"thestinggiftcard\"\n }, {\n \"name\" : \"Ukash\",\n \"type\" : \"ukash\"\n }, {\n \"name\" : \"UnionPay\",\n \"type\" : \"unionpay\"\n }, {\n \"name\" : \"Valuelink\",\n \"type\" : \"valuelink\"\n }, {\n \"name\" : \"V&D Cadeaukaart\",\n \"type\" : \"vdcadeaucard\"\n }, {\n \"details\" : [ {\n \"key\" : \"additionalData.visacheckout.callId\",\n \"type\" : \"text\"\n } ],\n \"name\" : \"Visa Checkout\",\n \"type\" : \"visacheckout\"\n }, {\n \"name\" : \"VVV Cadeaubon\",\n \"type\" : \"vvvcadeaubon\"\n }, {\n \"name\" : \"Webshop Giftcard\",\n \"type\" : \"webshopgiftcard\"\n }, {\n \"name\" : \"WE Fashion Giftcard\",\n \"type\" : \"wefashiongiftcard\"\n }, {\n \"name\" : \"Western Union\",\n \"type\" : \"westernunion\"\n }, {\n \"name\" : \"Winkel Cheque\",\n \"type\" : \"winkelcheque\"\n }, {\n \"name\" : \"Your Gift\",\n \"type\" : \"yourgift\"\n } ],\n \"storedPaymentMethods\" : [ {\n \"brand\" : \"visa\",\n \"expiryMonth\" : \"10\",\n \"expiryYear\" : \"30\",\n \"holderName\" : \"John Smith\",\n \"id\" : \"7219687191761347\",\n \"issuerName\" : \"ISSUER_NAME\",\n \"lastFour\" : \"1111\",\n \"name\" : \"VISA\",\n \"shopperEmail\" : \"john.smith@example.com\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"supportedRecurringProcessingModels\" : [ \"CardOnFile\", \"Subscription\", \"UnscheduledCardOnFile\" ],\n \"type\" : \"scheme\"\n } ]\n}", + "originalRequest": { + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"countryCode\" : \"NL\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentMethods", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentMethods" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Queries the available payment methods for a transaction based on the transaction context (like amount, country, and currency). Besides giving back a list of the available payment methods, the response also returns which input details you need to collect from the shopper (to be submitted to `/payments`). Although we highly recommend using this endpoint to ensure you are always offering the most up-to-date list of payment methods, its usage is optional. You can, for example, also cache the `/paymentMethods` response and update it once a week." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"countryCode\" : \"NL\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentMethods", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentMethods" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Queries the available payment methods for a transaction based on the transaction context (like amount, country, and currency). Besides giving back a list of the available payment methods, the response also returns which input details you need to collect from the shopper (to be submitted to `/payments`). Although we highly recommend using this endpoint to ensure you are always offering the most up-to-date list of payment methods, its usage is optional. You can, for example, also cache the `/paymentMethods` response and update it once a week." - } + ] } ] - } -, + }, { "name": "/payments", "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. ", @@ -1421,839 +2692,1385 @@ { "name": "Make an Apple Pay payment", "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"applepay\",\n \"applePayToken\" : \"VNRWtuNlNEWkRCSm1xWndjMDFFbktkQU...\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"applepay\",\n \"applePayToken\" : \"VNRWtuNlNEWkRCSm1xWndjMDFFbktkQU...\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + ] }, { "name": "Make a card payment with 3D Secure 2 native authentication", "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 + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"{{$guid}}\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4917610000000000\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\",\n \"cvc\" : \"737\"\n },\n \"additionalData\" : {\n \"allow3DS2\" : \"true\"\n },\n \"accountInfo\" : {\n \"accountCreationDate\" : \"2019-01-17T13:42:40+01:00\"\n },\n \"billingAddress\" : {\n \"country\" : \"US\",\n \"city\" : \"New York\",\n \"street\" : \"Redwood Block\",\n \"houseNumberOrName\" : \"37C\",\n \"stateOrProvince\" : \"NY\",\n \"postalCode\" : \"10039\"\n },\n \"shopperEmail\" : \"s.hopper@test.com\",\n \"shopperIP\" : \"192.0.2.1\",\n \"browserInfo\" : {\n \"userAgent\" : \"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.110 Safari/537.36\",\n \"acceptHeader\" : \"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8\",\n \"language\" : \"nl-NL\",\n \"colorDepth\" : 24,\n \"screenHeight\" : 723,\n \"screenWidth\" : 1536,\n \"timeZoneOffset\" : 0,\n \"javaEnabled\" : true\n },\n \"channel\" : \"Web\",\n \"origin\" : \"https://your-company.com\",\n \"returnUrl\" : \"https://your-company.com/checkout/\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"additionalData\" : {\n \"cvcResult\" : \"1 Matches\",\n \"authCode\" : \"044410\",\n \"avsResult\" : \"4 AVS not supported for this card type\",\n \"avsResultRaw\" : \"4\",\n \"cvcResultRaw\" : \"M\",\n \"refusalReasonRaw\" : \"AUTHORISED\",\n \"acquirerCode\" : \"TestPmmAcquirer\",\n \"acquirerReference\" : \"8PQMP9TI1O2\"\n },\n \"pspReference\" : \"993617895005515H\",\n \"resultCode\" : \"Authorised\"\n}", + "originalRequest": { + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"{{$guid}}\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4917610000000000\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\",\n \"cvc\" : \"737\"\n },\n \"additionalData\" : {\n \"allow3DS2\" : \"true\"\n },\n \"accountInfo\" : {\n \"accountCreationDate\" : \"2019-01-17T13:42:40+01:00\"\n },\n \"billingAddress\" : {\n \"country\" : \"US\",\n \"city\" : \"New York\",\n \"street\" : \"Redwood Block\",\n \"houseNumberOrName\" : \"37C\",\n \"stateOrProvince\" : \"NY\",\n \"postalCode\" : \"10039\"\n },\n \"shopperEmail\" : \"s.hopper@test.com\",\n \"shopperIP\" : \"192.0.2.1\",\n \"browserInfo\" : {\n \"userAgent\" : \"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.110 Safari/537.36\",\n \"acceptHeader\" : \"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8\",\n \"language\" : \"nl-NL\",\n \"colorDepth\" : 24,\n \"screenHeight\" : 723,\n \"screenWidth\" : 1536,\n \"timeZoneOffset\" : 0,\n \"javaEnabled\" : true\n },\n \"channel\" : \"Web\",\n \"origin\" : \"https://your-company.com\",\n \"returnUrl\" : \"https://your-company.com/checkout/\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"{{$guid}}\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4917610000000000\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\",\n \"cvc\" : \"737\"\n },\n \"additionalData\" : {\n \"allow3DS2\" : \"true\"\n },\n \"accountInfo\" : {\n \"accountCreationDate\" : \"2019-01-17T13:42:40+01:00\"\n },\n \"billingAddress\" : {\n \"country\" : \"US\",\n \"city\" : \"New York\",\n \"street\" : \"Redwood Block\",\n \"houseNumberOrName\" : \"37C\",\n \"stateOrProvince\" : \"NY\",\n \"postalCode\" : \"10039\"\n },\n \"shopperEmail\" : \"s.hopper@test.com\",\n \"shopperIP\" : \"192.0.2.1\",\n \"browserInfo\" : {\n \"userAgent\" : \"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.110 Safari/537.36\",\n \"acceptHeader\" : \"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8\",\n \"language\" : \"nl-NL\",\n \"colorDepth\" : 24,\n \"screenHeight\" : 723,\n \"screenWidth\" : 1536,\n \"timeZoneOffset\" : 0,\n \"javaEnabled\" : true\n },\n \"channel\" : \"Web\",\n \"origin\" : \"https://your-company.com\",\n \"returnUrl\" : \"https://your-company.com/checkout/\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + ] }, { "name": "Make a card payment with 3D Secure redirect authentication", "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 + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4212345678901237\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\",\n \"cvc\" : \"737\"\n },\n \"browserInfo\" : {\n \"colorDepth\" : 24,\n \"screenHeight\" : 1800,\n \"screenWidth\" : 2880,\n \"timeZoneOffset\" : 60,\n \"language\" : \"nl\",\n \"userAgent\" : \"Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9) Gecko/2008052912 Firefox/3.0\",\n \"acceptHeader\" : \"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8\",\n \"javaEnabled\" : true\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"additionalData\" : {\n \"cvcResult\" : \"1 Matches\",\n \"authCode\" : \"074516\",\n \"avsResult\" : \"4 AVS not supported for this card type\",\n \"avsResultRaw\" : \"4\",\n \"cvcResultRaw\" : \"M\",\n \"refusalReasonRaw\" : \"AUTHORISED\",\n \"acquirerCode\" : \"TestPmmAcquirer\",\n \"acquirerReference\" : \"8PQMP9SJ7DN\"\n },\n \"pspReference\" : \"993617894903480A\",\n \"resultCode\" : \"Authorised\"\n}", + "originalRequest": { + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4212345678901237\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\",\n \"cvc\" : \"737\"\n },\n \"browserInfo\" : {\n \"colorDepth\" : 24,\n \"screenHeight\" : 1800,\n \"screenWidth\" : 2880,\n \"timeZoneOffset\" : 60,\n \"language\" : \"nl\",\n \"userAgent\" : \"Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9) Gecko/2008052912 Firefox/3.0\",\n \"acceptHeader\" : \"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8\",\n \"javaEnabled\" : true\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4212345678901237\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\",\n \"cvc\" : \"737\"\n },\n \"browserInfo\" : {\n \"colorDepth\" : 24,\n \"screenHeight\" : 1800,\n \"screenWidth\" : 2880,\n \"timeZoneOffset\" : 60,\n \"language\" : \"nl\",\n \"userAgent\" : \"Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9) Gecko/2008052912 Firefox/3.0\",\n \"acceptHeader\" : \"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8\",\n \"javaEnabled\" : true\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + ] }, { "name": "Make a payment with 3D Secure 2 native authentication, using encrypted card details", "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 + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"encryptedCardNumber\" : \"test_4212345678901237\",\n \"encryptedExpiryMonth\" : \"test_03\",\n \"encryptedExpiryYear\" : \"test_2030\",\n \"encryptedSecurityCode\" : \"test_737\",\n \"holderName\" : \"John Smith\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"additionalData\" : {\n \"cvcResult\" : \"1 Matches\",\n \"authCode\" : \"083996\",\n \"avsResult\" : \"4 AVS not supported for this card type\",\n \"avsResultRaw\" : \"4\",\n \"cvcResultRaw\" : \"M\",\n \"refusalReasonRaw\" : \"AUTHORISED\",\n \"acquirerCode\" : \"TestPmmAcquirer\",\n \"acquirerReference\" : \"8PQMP9SJH66\"\n },\n \"pspReference\" : \"993617894905481G\",\n \"resultCode\" : \"Authorised\"\n}", + "originalRequest": { + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"encryptedCardNumber\" : \"test_4212345678901237\",\n \"encryptedExpiryMonth\" : \"test_03\",\n \"encryptedExpiryYear\" : \"test_2030\",\n \"encryptedSecurityCode\" : \"test_737\",\n \"holderName\" : \"John Smith\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"encryptedCardNumber\" : \"test_4212345678901237\",\n \"encryptedExpiryMonth\" : \"test_03\",\n \"encryptedExpiryYear\" : \"test_2030\",\n \"encryptedSecurityCode\" : \"test_737\",\n \"holderName\" : \"John Smith\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + ] }, { "name": "Make a card payment", "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 + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4111111111111111\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\",\n \"cvc\" : \"737\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"additionalData\" : {\n \"cvcResult\" : \"1 Matches\",\n \"authCode\" : \"036240\",\n \"avsResult\" : \"4 AVS not supported for this card type\",\n \"avsResultRaw\" : \"4\",\n \"cvcResultRaw\" : \"M\",\n \"refusalReasonRaw\" : \"AUTHORISED\",\n \"acquirerCode\" : \"TestPmmAcquirer\",\n \"acquirerReference\" : \"8PQMP9SJQUL\"\n },\n \"pspReference\" : \"993617894906488A\",\n \"resultCode\" : \"Authorised\"\n}", + "originalRequest": { + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4111111111111111\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\",\n \"cvc\" : \"737\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4111111111111111\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\",\n \"cvc\" : \"737\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + ] }, { "name": "Make a card payment using encrypted card details", "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 + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"encryptedCardNumber\" : \"test_4111111111111111\",\n \"encryptedExpiryMonth\" : \"test_03\",\n \"encryptedExpiryYear\" : \"test_2030\",\n \"encryptedSecurityCode\" : \"test_737\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"additionalData\" : {\n \"cvcResult\" : \"1 Matches\",\n \"authCode\" : \"064649\",\n \"avsResult\" : \"4 AVS not supported for this card type\",\n \"avsResultRaw\" : \"4\",\n \"cvcResultRaw\" : \"M\",\n \"refusalReasonRaw\" : \"AUTHORISED\",\n \"acquirerCode\" : \"TestPmmAcquirer\",\n \"acquirerReference\" : \"8PQMP9SM92L\"\n },\n \"pspReference\" : \"993617894914488A\",\n \"resultCode\" : \"Authorised\"\n}", + "originalRequest": { + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"encryptedCardNumber\" : \"test_4111111111111111\",\n \"encryptedExpiryMonth\" : \"test_03\",\n \"encryptedExpiryYear\" : \"test_2030\",\n \"encryptedSecurityCode\" : \"test_737\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"encryptedCardNumber\" : \"test_4111111111111111\",\n \"encryptedExpiryMonth\" : \"test_03\",\n \"encryptedExpiryYear\" : \"test_2030\",\n \"encryptedSecurityCode\" : \"test_737\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + ] }, { "name": "Tokenize card details for one-off payments, using encrypted card details", "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"encryptedCardNumber\" : \"adyenjs_0_1_18$MT6ppy0FAMVMLH...\",\n \"encryptedExpiryMonth\" : \"adyenjs_0_1_18$MT6ppy0FAMVMLH...\",\n \"encryptedExpiryYear\" : \"adyenjs_0_1_18$MT6ppy0FAMVMLH...\",\n \"encryptedSecurityCode\" : \"adyenjs_0_1_18$MT6ppy0FAMVMLH...\"\n },\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"encryptedCardNumber\" : \"adyenjs_0_1_18$MT6ppy0FAMVMLH...\",\n \"encryptedExpiryMonth\" : \"adyenjs_0_1_18$MT6ppy0FAMVMLH...\",\n \"encryptedExpiryYear\" : \"adyenjs_0_1_18$MT6ppy0FAMVMLH...\",\n \"encryptedSecurityCode\" : \"adyenjs_0_1_18$MT6ppy0FAMVMLH...\"\n },\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + ] }, { "name": "Tokenize card details for one-off payments", "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 + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4111111111111111\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\",\n \"cvc\" : \"737\"\n },\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"storePaymentMethod\" : true,\n \"shopperInteraction\" : \"Ecommerce\",\n \"recurringProcessingModel\" : \"CardOnFile\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"additionalData\" : {\n \"cvcResult\" : \"1 Matches\",\n \"authCode\" : \"022966\",\n \"avsResult\" : \"4 AVS not supported for this card type\",\n \"recurring.recurringDetailReference\" : \"9916178934434753\",\n \"recurringProcessingModel\" : \"CardOnFile\",\n \"avsResultRaw\" : \"4\",\n \"cvcResultRaw\" : \"M\",\n \"refusalReasonRaw\" : \"AUTHORISED\",\n \"recurring.shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID\",\n \"acquirerCode\" : \"TestPmmAcquirer\",\n \"acquirerReference\" : \"8PQMP9T0BB6\"\n },\n \"pspReference\" : \"993617894947495G\",\n \"resultCode\" : \"Authorised\"\n}", + "originalRequest": { + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4111111111111111\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\",\n \"cvc\" : \"737\"\n },\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"storePaymentMethod\" : true,\n \"shopperInteraction\" : \"Ecommerce\",\n \"recurringProcessingModel\" : \"CardOnFile\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4111111111111111\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\",\n \"cvc\" : \"737\"\n },\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"storePaymentMethod\" : true,\n \"shopperInteraction\" : \"Ecommerce\",\n \"recurringProcessingModel\" : \"CardOnFile\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + ] }, { "name": "Make a Google Pay payment", "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"paywithgoogle\",\n \"googlePayToken\" : \"==Payload as retrieved from Google Pay response==\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"YourMerchantAccount\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"paywithgoogle\",\n \"googlePayToken\" : \"==Payload as retrieved from Google Pay response==\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"YourMerchantAccount\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + ] }, { "name": "Make an iDEAL payment", "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 + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"ideal\",\n \"issuer\" : \"1121\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"resultCode\" : \"RedirectShopper\",\n \"details\" : [ {\n \"key\" : \"payload\",\n \"type\" : \"text\"\n } ],\n \"paymentData\" : \"Ab02b4c0!BQABAgBOBkMn4vBx6T3DgxR+OR/a1zEA0xbGaYKP9mh/vWDSADlyktW39HZckwcm4Wr9kw2TvE9SYngEf9f6kZb1OimKls3+HEn3dRGOrTbWZZ8/tpmlS62YoDh1eQIE3EHZsUm7CQxhXjm8F0HQCelzIkVgj8DpLgtxwM3nFZxfpzl91HSt9CP/GIsx8S/RPVG2Fwg2S/jtdQ4MlFeG89S+icDvTecTyGoYFZlS/KL77Q4zJCR8Vgn4M9DJZEGRxv6kApLwDMkMyUMQngN95xDSCdLSW7fKkVusSub2+2hB7rzWxtj1E8R9dbtkCxgTe0F/G7tqrzUfEmseiHoKmaF6F8bN0j6BZiFhQJ/KHXJ6Pb+a7f0qYbQCAZmwYmeSSfNzqIDehyufpL0bP3w38spuso3QlhtPIqSHrIHDIQzbYmxPtt/I6A/RCMXJ7VN4nB6JigEygV383lnr8wd7mEynOQXnq9zEF+GGJy0Ool05WEy8L/mATgg++6bpsuSB2Wea5/VffvG6KcMyzs7OBG9zLAdYcrfqlsyXz/42UBJTeA2s6kVb1sBUfd6CQuQRF+37sjMwKiNIxwVaNWIYZMiWhbqPXOS4ozt0kNCtruhHqHgULPfF6aia/BnZKib6n+pBSepTdS47wZ31xC8VPqsoPia8RGNziLO/MmSMpW2fQRdgrhCrSniHb8qrh0vwgbPB4S7vAEp7ImtleSI6IkFGMEFBQTEwM0NBNTM3RUFFRDg3QzI0REQ1MzkwOUI4MEE3OEE5MjNFMzgyM0Q2OERBQ0M5NEI5RkY4MzA1REMifTMy2HjS+Bb81E9m0fQAZJXCA1BJgLgstBw3wxbdpZevF8c+pSBGUYNUm9ZbwrD93dGdCU2RvlI1gcyKke0cEEqKGjqWFXOWIYkSNzfLrgP3ERdp5t9VGZi6BDQko2CFzP4uAR3jwgR3AP0/mQ/4YWDrBrnYZCWjOpo7izGhNbHYvWbBOqVDvnfReoCrSNSLSo8OfSxuFrN6sJLXrajGu1qbPqQtxFIRyqLgbOfHLHw/DN3I+BZKGrNYynRfM2NparXTQ6ZRgC8E5xIodApr4JHMNeiPTjMlReaLBQwbcqaBzzRNLdV0v8/ZSXexS68WBeUMt7OkomYJBFrpwmpzgx/nzRzV87MZ9TGhZht/1zjcyaSi0Toc6r7UhbADuDX5RH5L0T8Q3iGJfjrYuS5h9aiYSg8oaVJ5DZhJAicDbb8eLvdAGXFTIV+EXbD+4e9Xl+c5um4FdKfufcrrUEo2s6lUuSBSJ3Gf6r+yJMxkamWwfnRUtxt+axRcXfmywYqU7O1r0zzW+RKCbV2qZeUWWeN1u5UIPdJbQbH4633ukPp//aGh8R4IWckBp7DGH4M5P1ZiYJB8OQRS5gD/y+iuwensnq1rKFBOK4gFNSpKmuDQYLeWb5VljHgE1sS4DRhl0fl8UCabehP+3tZu/2i88JTWbdUuvPLmkyv8zQdY36YeSDWmwC40vvbB+lo2e8MgVpfDwn+xyQFpFhasbEyr4VVoPwHq1sGR/QEutxmeoJi1Zux48jSHoGOj5RZ4ei+b8Lxp4rj45wwm0AiROghLnZJZfJaySp/LVxQ=\",\n \"redirect\" : {\n \"method\" : \"GET\",\n \"url\" : \"https://test.adyen.com/hpp/checkout.shtml?u=redirectIdeal&p=eJxtUl1vozAQ-DXwFmQDAfLgh4jSC730Q1yoqr5Urr0NXIlNbUPj-PozXC6qqpOstTWz2p3Z9auigueSA2k50M5ng1IgmJ2hoq78VusBVMkJxiH2D6BYQ4VZMyYHYcgOtLk9YxeyFAb2ippWisDYHki*KfKf9-Xu5UdxV1Rl-t-MEZR2N4nRha7gDSY1QLRRrdh-IcygxBU1lKxWOMFptopXcZZEyc0l51e7J9XdcHpeDTxC4edG1pFF5WMHnw95FtHf3N5z1MWqipKjF17XXnTl99QewNk7zO4wQshXoOtqSxpjei9au0R3Oslo10htHJKhDDmINcDe5WB0I-selEM0qLFloN3z4W-ZUjB5cD4q4K0CZhwz4n-lzjm3YBrJvej626iduq-D9sJEzUNw2hw1qXONlpPA5STRBSsHtXANeyps4O4ZDILA16CnST-SruWtsSREIV6geIGyHU6cI7x0Ic6e-bOXaUuKsmlLpHCFJmXg6-dWzL*kH16DMQzOi0iTNE1xFsXBqRyfot1NwrPRFmGzPr4w3jTHGpX16S3*2H4Um22xB8u5-ANWgt0s\"\n }\n}", + "originalRequest": { + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"ideal\",\n \"issuer\" : \"1121\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"ideal\",\n \"issuer\" : \"1121\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + ] }, { "name": "Make a Klarna payment", "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 \"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" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + "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 \"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" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + ] }, { "name": "Make a one-off payment with a token and CVV", "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"storedPaymentMethodId\" : \"8416038790273850\",\n \"cvc\" : \"737\"\n },\n \"shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID_6738oneoff\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"storedPaymentMethodId\" : \"8416038790273850\",\n \"cvc\" : \"737\"\n },\n \"shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID_6738oneoff\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + ] }, { "name": "Make a one-off payment with a token and CVV, using encrypted card details", "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"recurringDetailReference\" : \"8416038790273850\",\n \"encryptedSecurityCode\" : \"adyenjs_0_1_18$MT6ppy0FAMVMLH...\"\n },\n \"shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID_6738oneoff\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"recurringDetailReference\" : \"8416038790273850\",\n \"encryptedSecurityCode\" : \"adyenjs_0_1_18$MT6ppy0FAMVMLH...\"\n },\n \"shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID_6738oneoff\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + ] }, { "name": "Make a card payment with a token", "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"storedPaymentMethodId\" : \"8316038796685850\"\n },\n \"shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID_IOfW3subscription\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"shopperInteraction\" : \"ContAuth\",\n \"recurringProcessingModel\" : \"Subscription\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"storedPaymentMethodId\" : \"8316038796685850\"\n },\n \"shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID_IOfW3subscription\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"shopperInteraction\" : \"ContAuth\",\n \"recurringProcessingModel\" : \"Subscription\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + ] }, { "name": "Split a payment between balance accounts", "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 + "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 \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4111111111111111\",\n \"cvc\" : \"737\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\"\n },\n \"amount\" : {\n \"value\" : 40000,\n \"currency\" : \"USD\"\n },\n \"reference\" : \"{{$guid}}\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"splits\" : [ {\n \"amount\" : {\n \"value\" : 39600\n },\n \"type\" : \"BalanceAccount\",\n \"account\" : \"BA00000000000000000000001\",\n \"reference\" : \"Your reference for the sale amount\",\n \"description\" : \"Your description for the sale amount\"\n }, {\n \"amount\" : {\n \"value\" : 400\n },\n \"type\" : \"Commission\",\n \"reference\" : \"Your reference for the commission\",\n \"description\" : \"Your description for the commission\"\n }, {\n \"type\" : \"PaymentFee\",\n \"account\" : \"BA00000000000000000000001\",\n \"reference\" : \"Your reference for the fees\",\n \"description\" : \"Your description for the fees\"\n } ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"additionalData\" : {\n \"refusalReasonRaw\" : \"AUTHORISED\",\n \"eci\" : \"N/A\",\n \"acquirerAccountCode\" : \"YOUR_ACQUIRER_ACCOUNT\",\n \"xid\" : \"N/A\",\n \"threeDAuthenticated\" : \"false\",\n \"paymentMethodVariant\" : \"visa\",\n \"issuerBin\" : \"41111111\",\n \"payoutEligible\" : \"Y\",\n \"fraudManualReview\" : \"false\",\n \"threeDOffered\" : \"false\",\n \"threeDOfferedResponse\" : \"N/A\",\n \"authorisationMid\" : \"50\",\n \"fundsAvailability\" : \"I\",\n \"authorisedAmountCurrency\" : \"USD\",\n \"threeDAuthenticatedResponse\" : \"N/A\",\n \"avsResultRaw\" : \"5\",\n \"retry.attempt1.rawResponse\" : \"AUTHORISED\",\n \"paymentMethod\" : \"visa\",\n \"avsResult\" : \"5 No AVS data provided\",\n \"cardSummary\" : \"1111\",\n \"retry.attempt1.avsResultRaw\" : \"5\",\n \"networkTxReference\" : \"777718270854480\",\n \"expiryDate\" : \"3/2030\",\n \"cavvAlgorithm\" : \"N/A\",\n \"cardBin\" : \"411111\",\n \"alias\" : \"8915844059375211\",\n \"cvcResultRaw\" : \"M\",\n \"merchantReference\" : \"YOUR_ORDER_NUMBER\",\n \"acquirerReference\" : \"YOUR_ACQUIRER_REFERENCE\",\n \"cardIssuingCountry\" : \"NL\",\n \"liabilityShift\" : \"false\",\n \"fraudResultType\" : \"GREEN\",\n \"authCode\" : \"035450\",\n \"cardHolderName\" : \"John Smith\",\n \"isCardCommercial\" : \"unknown\",\n \"PaymentAccountReference\" : \"6006491286999921374...\",\n \"retry.attempt1.acquirerAccount\" : \"YOUR_ACQUIRER_ACCOUNT\",\n \"cardIssuingBank\" : \"ISSUING_BANK_CUSTOMER\",\n \"retry.attempt1.acquirer\" : \"YOUR_ACQUIRER_CODE\",\n \"authorisedAmountValue\" : \"40000\",\n \"issuerCountry\" : \"NL\",\n \"cvcResult\" : \"1 Matches\",\n \"retry.attempt1.responseCode\" : \"Approved\",\n \"aliasType\" : \"Default\",\n \"retry.attempt1.shopperInteraction\" : \"Ecommerce\",\n \"cardPaymentMethod\" : \"visa\",\n \"acquirerCode\" : \"YOUR_ACQUIRER_CODE\"\n },\n \"pspReference\" : \"PPKFQ89R6QRXGN82\",\n \"resultCode\" : \"Authorised\",\n \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 40000\n },\n \"donationToken\" : \"81234567890123456...\",\n \"merchantReference\" : \"YOUR_ORDER_NUMBER\"\n}", + "originalRequest": { + "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 \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4111111111111111\",\n \"cvc\" : \"737\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\"\n },\n \"amount\" : {\n \"value\" : 40000,\n \"currency\" : \"USD\"\n },\n \"reference\" : \"{{$guid}}\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"splits\" : [ {\n \"amount\" : {\n \"value\" : 39600\n },\n \"type\" : \"BalanceAccount\",\n \"account\" : \"BA00000000000000000000001\",\n \"reference\" : \"Your reference for the sale amount\",\n \"description\" : \"Your description for the sale amount\"\n }, {\n \"amount\" : {\n \"value\" : 400\n },\n \"type\" : \"Commission\",\n \"reference\" : \"Your reference for the commission\",\n \"description\" : \"Your description for the commission\"\n }, {\n \"type\" : \"PaymentFee\",\n \"account\" : \"BA00000000000000000000001\",\n \"reference\" : \"Your reference for the fees\",\n \"description\" : \"Your description for the fees\"\n } ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4111111111111111\",\n \"cvc\" : \"737\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\"\n },\n \"amount\" : {\n \"value\" : 40000,\n \"currency\" : \"USD\"\n },\n \"reference\" : \"{{$guid}}\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"splits\" : [ {\n \"amount\" : {\n \"value\" : 39600\n },\n \"type\" : \"BalanceAccount\",\n \"account\" : \"BA00000000000000000000001\",\n \"reference\" : \"Your reference for the sale amount\",\n \"description\" : \"Your description for the sale amount\"\n }, {\n \"amount\" : {\n \"value\" : 400\n },\n \"type\" : \"Commission\",\n \"reference\" : \"Your reference for the commission\",\n \"description\" : \"Your description for the commission\"\n }, {\n \"type\" : \"PaymentFee\",\n \"account\" : \"BA00000000000000000000001\",\n \"reference\" : \"Your reference for the fees\",\n \"description\" : \"Your description for the fees\"\n } ]\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + ] }, { "name": "Split a payment in a Classic Platforms integration", "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 \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4111111111111111\",\n \"cvc\" : \"737\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\"\n },\n \"amount\" : {\n \"value\" : 6200,\n \"currency\" : \"EUR\"\n },\n \"reference\" : \"{{$guid}}\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"splits\" : [ {\n \"amount\" : {\n \"value\" : 6000\n },\n \"type\" : \"MarketPlace\",\n \"account\" : \"151272963\",\n \"reference\" : \"6124145\",\n \"description\" : \"Porcelain Doll: Eliza (20cm)\"\n }, {\n \"amount\" : {\n \"value\" : 200\n },\n \"type\" : \"Commission\",\n \"reference\" : \"6124146\"\n } ]\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + "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 \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4111111111111111\",\n \"cvc\" : \"737\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\"\n },\n \"amount\" : {\n \"value\" : 6200,\n \"currency\" : \"EUR\"\n },\n \"reference\" : \"{{$guid}}\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"splits\" : [ {\n \"amount\" : {\n \"value\" : 6000\n },\n \"type\" : \"MarketPlace\",\n \"account\" : \"151272963\",\n \"reference\" : \"6124145\",\n \"description\" : \"Porcelain Doll: Eliza (20cm)\"\n }, {\n \"amount\" : {\n \"value\" : 200\n },\n \"type\" : \"Commission\",\n \"reference\" : \"6124146\"\n } ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + ] }, { "name": "Tokenize card details for a subscription", "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 + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4111111111111111\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\",\n \"cvc\" : \"737\"\n },\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"storePaymentMethod\" : true,\n \"shopperInteraction\" : \"Ecommerce\",\n \"recurringProcessingModel\" : \"Subscription\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"additionalData\" : {\n \"cvcResult\" : \"1 Matches\",\n \"authCode\" : \"004908\",\n \"avsResult\" : \"4 AVS not supported for this card type\",\n \"recurring.recurringDetailReference\" : \"9916178934434753\",\n \"recurringProcessingModel\" : \"Subscription\",\n \"avsResultRaw\" : \"4\",\n \"cvcResultRaw\" : \"M\",\n \"refusalReasonRaw\" : \"AUTHORISED\",\n \"recurring.shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID\",\n \"acquirerCode\" : \"TestPmmAcquirer\",\n \"acquirerReference\" : \"8PQMP9UV722\"\n },\n \"pspReference\" : \"993617895153552A\",\n \"resultCode\" : \"Authorised\",\n \"merchantReference\" : \"string\"\n}", + "originalRequest": { + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4111111111111111\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\",\n \"cvc\" : \"737\"\n },\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"storePaymentMethod\" : true,\n \"shopperInteraction\" : \"Ecommerce\",\n \"recurringProcessingModel\" : \"Subscription\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4111111111111111\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\",\n \"cvc\" : \"737\"\n },\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"storePaymentMethod\" : true,\n \"shopperInteraction\" : \"Ecommerce\",\n \"recurringProcessingModel\" : \"Subscription\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + ] } ] - } -, + }, { "name": "/payments/details", "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. ", @@ -2261,206 +4078,213 @@ { "name": "Submit details for the 3D Secure payment ", "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 \"MD\" : \"Ab02b4c0!BQABAgCW5sxB4e/==...\",\n \"PaRes\" : \"eNrNV0mTo7gS...\"\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. " - } + "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 \"MD\" : \"Ab02b4c0!BQABAgCW5sxB4e/==...\",\n \"PaRes\" : \"eNrNV0mTo7gS...\"\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. " +} + ,"response": [ + ] }, { "name": "Submit 3D Secure 2 callenge flow result", "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 \"details\" : {\n \"threeds2.challengeResult\" : \"eyJ0cmFuc1N0YXR1cyI6IlkifQ==\"\n },\n \"paymentData\" : \"YOUR_PAYMENT_DATA\"\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. " - } + "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 \"details\" : {\n \"threeds2.challengeResult\" : \"eyJ0cmFuc1N0YXR1cyI6IlkifQ==\"\n },\n \"paymentData\" : \"YOUR_PAYMENT_DATA\"\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. " +} + ,"response": [ + ] }, { "name": "Submit 3D Secure 2 device fingerprinting result", "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 \"details\" : {\n \"threeds2.fingerprint\" : \"eyJ0aHJlZURTQ29tcEluZCI6ICJZIn0=\"\n },\n \"paymentData\" : \"YOUR_PAYMENT_DATA...\"\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. " - } + "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 \"details\" : {\n \"threeds2.fingerprint\" : \"eyJ0aHJlZURTQ29tcEluZCI6ICJZIn0=\"\n },\n \"paymentData\" : \"YOUR_PAYMENT_DATA...\"\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. " +} + ,"response": [ + ] }, { "name": "Submit the redirect result", "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\" : \"Ab02b4c0!BQABAgCJN1wRZuGJmq8dMncmypvknj9s7l5Tj...\",\n \"details\" : {\n \"redirectResult\" : \"X6XtfGC3!Y...\"\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. " - } + "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\" : \"Ab02b4c0!BQABAgCJN1wRZuGJmq8dMncmypvknj9s7l5Tj...\",\n \"details\" : {\n \"redirectResult\" : \"X6XtfGC3!Y...\"\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. " +} + ,"response": [ + ] } ] } - ] }, { @@ -2473,55 +4297,113 @@ { "name": "Create a payment link", "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 + "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 \"reference\" : \"{{$guid}}\",\n \"amount\" : {\n \"value\" : 1250,\n \"currency\" : \"BRL\"\n },\n \"countryCode\" : \"BR\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"shopperEmail\" : \"test@email.com\",\n \"shopperLocale\" : \"pt-BR\",\n \"billingAddress\" : {\n \"street\" : \"Roque Petroni Jr\",\n \"postalCode\" : \"59000060\",\n \"city\" : \"São Paulo\",\n \"houseNumberOrName\" : \"999\",\n \"country\" : \"BR\",\n \"stateOrProvince\" : \"SP\"\n },\n \"deliveryAddress\" : {\n \"street\" : \"Roque Petroni Jr\",\n \"postalCode\" : \"59000060\",\n \"city\" : \"São Paulo\",\n \"houseNumberOrName\" : \"999\",\n \"country\" : \"BR\",\n \"stateOrProvince\" : \"SP\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentLinks", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentLinks" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates a payment link to our hosted payment form where shoppers can pay. The list of payment methods presented to the shopper depends on the `currency` and `country` parameters sent in the request. For more information, refer to [Pay by Link documentation](https://docs.adyen.com/online-payments/pay-by-link#create-payment-links-through-api)." +} + ,"response": [ + {"name": "Created - the request has succeeded.", + "code": 201, + "status": "Created", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"amount\" : {\n \"currency\" : \"BRL\",\n \"value\" : 1250\n },\n \"billingAddress\" : {\n \"city\" : \"São Paulo\",\n \"country\" : \"BR\",\n \"houseNumberOrName\" : \"999\",\n \"postalCode\" : \"59000060\",\n \"stateOrProvince\" : \"SP\",\n \"street\" : \"Roque Petroni Jr\"\n },\n \"countryCode\" : \"BR\",\n \"deliveryAddress\" : {\n \"city\" : \"São Paulo\",\n \"country\" : \"BR\",\n \"houseNumberOrName\" : \"999\",\n \"postalCode\" : \"59000060\",\n \"stateOrProvince\" : \"SP\",\n \"street\" : \"Roque Petroni Jr\"\n },\n \"expiresAt\" : \"2022-10-28T09:16:22Z\",\n \"merchantAccount\" : \"YOUR_MERCHANT_ACCOUNT\",\n \"reference\" : \"YOUR_ORDER_NUMBER\",\n \"reusable\" : false,\n \"shopperEmail\" : \"test@email.com\",\n \"shopperLocale\" : \"pt-BR\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"id\" : \"PLE83C39B0A0DE0C1E\",\n \"status\" : \"active\",\n \"url\" : \"https://test.adyen.link/PLE83C39B0A0DE0C1E\"\n}", + "originalRequest": { + "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 \"reference\" : \"{{$guid}}\",\n \"amount\" : {\n \"value\" : 1250,\n \"currency\" : \"BRL\"\n },\n \"countryCode\" : \"BR\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"shopperEmail\" : \"test@email.com\",\n \"shopperLocale\" : \"pt-BR\",\n \"billingAddress\" : {\n \"street\" : \"Roque Petroni Jr\",\n \"postalCode\" : \"59000060\",\n \"city\" : \"São Paulo\",\n \"houseNumberOrName\" : \"999\",\n \"country\" : \"BR\",\n \"stateOrProvince\" : \"SP\"\n },\n \"deliveryAddress\" : {\n \"street\" : \"Roque Petroni Jr\",\n \"postalCode\" : \"59000060\",\n \"city\" : \"São Paulo\",\n \"houseNumberOrName\" : \"999\",\n \"country\" : \"BR\",\n \"stateOrProvince\" : \"SP\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentLinks", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentLinks" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates a payment link to our hosted payment form where shoppers can pay. The list of payment methods presented to the shopper depends on the `currency` and `country` parameters sent in the request. For more information, refer to [Pay by Link documentation](https://docs.adyen.com/online-payments/pay-by-link#create-payment-links-through-api)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"reference\" : \"{{$guid}}\",\n \"amount\" : {\n \"value\" : 1250,\n \"currency\" : \"BRL\"\n },\n \"countryCode\" : \"BR\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"shopperEmail\" : \"test@email.com\",\n \"shopperLocale\" : \"pt-BR\",\n \"billingAddress\" : {\n \"street\" : \"Roque Petroni Jr\",\n \"postalCode\" : \"59000060\",\n \"city\" : \"São Paulo\",\n \"houseNumberOrName\" : \"999\",\n \"country\" : \"BR\",\n \"stateOrProvince\" : \"SP\"\n },\n \"deliveryAddress\" : {\n \"street\" : \"Roque Petroni Jr\",\n \"postalCode\" : \"59000060\",\n \"city\" : \"São Paulo\",\n \"houseNumberOrName\" : \"999\",\n \"country\" : \"BR\",\n \"stateOrProvince\" : \"SP\"\n }\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentLinks", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentLinks" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Creates a payment link to our hosted payment form where shoppers can pay. The list of payment methods presented to the shopper depends on the `currency` and `country` parameters sent in the request. For more information, refer to [Pay by Link documentation](https://docs.adyen.com/online-payments/pay-by-link#create-payment-links-through-api)." - } + ] } ] - } -, + }, { "name": "/paymentLinks/:linkId", "description": "Retrieves the payment link details using the payment link `id`.", @@ -2529,49 +4411,50 @@ { "name": "Get a payment link", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentLinks/:linkId", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentLinks", - ":linkId" - ], - "variable": [ - { - "key": "linkId", - "value": "", - "description": "Unique identifier of the payment link." - } - ], - "query": [ - ] - }, - "description": "Retrieves the payment link details using the payment link `id`." - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentLinks/:linkId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentLinks", + ":linkId" + ], + "variable": [ + { + "key": "linkId", + "value": "", + "description": "Unique identifier of the payment link." + } + ], + "query": [ + ] + }, + "description": "Retrieves the payment link details using the payment link `id`." +} + ,"response": [ + ] } ] - } -, + }, { "name": "/paymentLinks/:linkId", "description": "Updates the status of a payment link. Use this endpoint to [force the expiry of a payment link](https://docs.adyen.com/online-payments/pay-by-link#update-payment-link-status).", @@ -2579,55 +4462,113 @@ { "name": "Update the status of a payment link", "request": { - "method": "PATCH", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"status\" : \"expired\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentLinks/:linkId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentLinks", + ":linkId" + ], + "variable": [ + { + "key": "linkId", + "value": "", + "description": "Unique identifier of the payment link." + } + ], + "query": [ + ] + }, + "description": "Updates the status of a payment link. Use this endpoint to [force the expiry of a payment link](https://docs.adyen.com/online-payments/pay-by-link#update-payment-link-status)." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 8700\n },\n \"countryCode\" : \"NL\",\n \"expiresAt\" : \"2021-04-08T14:06:39Z\",\n \"merchantAccount\" : \"YOUR_MERCHANT_ACCOUNT\",\n \"reference\" : \"shopper-reference-ekvL83\",\n \"shopperLocale\" : \"hu-HU\",\n \"shopperReference\" : \"shopper-reference-LZfdWZ\",\n \"status\" : \"expired\",\n \"url\" : \"https://test.adyen.link/PL61C53A8B97E6915A\",\n \"id\" : \"PL61C53A8B97E6915A\"\n}", + "originalRequest": { + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"status\" : \"expired\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentLinks/:linkId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentLinks", + ":linkId" + ], + "variable": [ + { + "key": "linkId", + "value": "", + "description": "Unique identifier of the payment link." + } + ], + "query": [ + ] + }, + "description": "Updates the status of a payment link. Use this endpoint to [force the expiry of a payment link](https://docs.adyen.com/online-payments/pay-by-link#update-payment-link-status)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"status\" : \"expired\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentLinks/:linkId", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentLinks", - ":linkId" - ], - "variable": [ - { - "key": "linkId", - "value": "", - "description": "Unique identifier of the payment link." - } - ], - "query": [ - ] - }, - "description": "Updates the status of a payment link. Use this endpoint to [force the expiry of a payment link](https://docs.adyen.com/online-payments/pay-by-link#update-payment-link-status)." - } + ] } ] } - ] } ], diff --git a/postman/CheckoutService-v67.json b/postman/CheckoutService-v67.json index 3b8b4f0..7a627b1 100644 --- a/postman/CheckoutService-v67.json +++ b/postman/CheckoutService-v67.json @@ -19,55 +19,113 @@ { "name": "Cancel a payment using your own reference", "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 + "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 \"paymentReference\" : \"YOUR_UNIQUE_REFERENCE_FOR_THE_PAYMENT\",\n \"reference\" : \"YOUR_UNIQUE_REFERENCE_FOR_THE_CANCELLATION\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/cancels", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "cancels" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Cancels the authorisation on a payment that has not yet been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/captures), and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**TECHNICAL_CANCEL** webhook](https://docs.adyen.com/online-payments/cancel#cancellation-webhook). If you want to cancel a payment using the [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference), use the [`/payments/{paymentPspReference}/cancels`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/cancels) endpoint instead. If you want to cancel a payment but are not sure whether it has been captured, use the [`/payments/{paymentPspReference}/reversals`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/reversals) endpoint instead. For more information, refer to [Cancel](https://docs.adyen.com/online-payments/cancel)." +} + ,"response": [ + {"name": "Created - the request has been fulfilled and has resulted in one or more new resources being created.", + "code": 201, + "status": "Created", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"merchantAccount\" : \"YOUR_MERCHANT_ACCOUNT\",\n \"paymentReference\" : \"YOUR_UNIQUE_REFERENCE_FOR_THE_PAYMENT\",\n \"reference\" : \"YOUR_UNIQUE_REFERENCE_FOR_THE_CANCELLATION\",\n \"pspReference\" : \"993617894906488A\",\n \"status\" : \"received\"\n}", + "originalRequest": { + "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 \"paymentReference\" : \"YOUR_UNIQUE_REFERENCE_FOR_THE_PAYMENT\",\n \"reference\" : \"YOUR_UNIQUE_REFERENCE_FOR_THE_CANCELLATION\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/cancels", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "cancels" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Cancels the authorisation on a payment that has not yet been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/captures), and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**TECHNICAL_CANCEL** webhook](https://docs.adyen.com/online-payments/cancel#cancellation-webhook). If you want to cancel a payment using the [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference), use the [`/payments/{paymentPspReference}/cancels`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/cancels) endpoint instead. If you want to cancel a payment but are not sure whether it has been captured, use the [`/payments/{paymentPspReference}/reversals`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/reversals) endpoint instead. For more information, refer to [Cancel](https://docs.adyen.com/online-payments/cancel)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"paymentReference\" : \"YOUR_UNIQUE_REFERENCE_FOR_THE_PAYMENT\",\n \"reference\" : \"YOUR_UNIQUE_REFERENCE_FOR_THE_CANCELLATION\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/cancels", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "cancels" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Cancels the authorisation on a payment that has not yet been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/captures), and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**TECHNICAL_CANCEL** webhook](https://docs.adyen.com/online-payments/cancel#cancellation-webhook). If you want to cancel a payment using the [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference), use the [`/payments/{paymentPspReference}/cancels`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/cancels) endpoint instead. If you want to cancel a payment but are not sure whether it has been captured, use the [`/payments/{paymentPspReference}/reversals`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/reversals) endpoint instead. For more information, refer to [Cancel](https://docs.adyen.com/online-payments/cancel)." - } + ] } ] - } -, + }, { "name": "/payments/:paymentPspReference/amountUpdates", "description": "Increases or decreases the authorised payment amount and returns a unique reference for this request. You get the outcome of the request asynchronously, in an [**AUTHORISATION_ADJUSTMENT** webhook](https://docs.adyen.com/development-resources/webhooks/understand-notifications#event-codes). You can only update authorised amounts that have not yet been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/captures). The amount you specify in the request is the updated amount, which is larger or smaller than the initial authorised amount. For more information, refer to [Authorisation adjustment](https://docs.adyen.com/online-payments/adjust-authorisation#use-cases).", @@ -75,62 +133,127 @@ { "name": "Update the amount of an authorised payment", "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 + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 2500\n },\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments/:paymentPspReference/amountUpdates", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments", + ":paymentPspReference", + "amountUpdates" + ], + "variable": [ + { + "key": "paymentPspReference", + "value": "", + "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment." + } + ], + "query": [ + ] + }, + "description": "Increases or decreases the authorised payment amount and returns a unique reference for this request. You get the outcome of the request asynchronously, in an [**AUTHORISATION_ADJUSTMENT** webhook](https://docs.adyen.com/development-resources/webhooks/understand-notifications#event-codes). You can only update authorised amounts that have not yet been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/captures). The amount you specify in the request is the updated amount, which is larger or smaller than the initial authorised amount. For more information, refer to [Authorisation adjustment](https://docs.adyen.com/online-payments/adjust-authorisation#use-cases)." +} + ,"response": [ + {"name": "Created - the request has been fulfilled and has resulted in one or more new resources being created.", + "code": 201, + "status": "Created", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"merchantAccount\" : \"YOUR_MERCHANT_ACCOUNT\",\n \"paymentPspReference\" : \"993617894903480A\",\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"pspReference\" : \"993617894906488A\",\n \"status\" : \"received\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 2500\n }\n}", + "originalRequest": { + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 2500\n },\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments/:paymentPspReference/amountUpdates", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments", + ":paymentPspReference", + "amountUpdates" + ], + "variable": [ + { + "key": "paymentPspReference", + "value": "", + "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment." + } + ], + "query": [ + ] + }, + "description": "Increases or decreases the authorised payment amount and returns a unique reference for this request. You get the outcome of the request asynchronously, in an [**AUTHORISATION_ADJUSTMENT** webhook](https://docs.adyen.com/development-resources/webhooks/understand-notifications#event-codes). You can only update authorised amounts that have not yet been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/captures). The amount you specify in the request is the updated amount, which is larger or smaller than the initial authorised amount. For more information, refer to [Authorisation adjustment](https://docs.adyen.com/online-payments/adjust-authorisation#use-cases)." +} } - ], - "body": { - "mode": "raw", - "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" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments/:paymentPspReference/amountUpdates", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments", - ":paymentPspReference", - "amountUpdates" - ], - "variable": [ - { - "key": "paymentPspReference", - "value": "", - "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment." - } - ], - "query": [ - ] - }, - "description": "Increases or decreases the authorised payment amount and returns a unique reference for this request. You get the outcome of the request asynchronously, in an [**AUTHORISATION_ADJUSTMENT** webhook](https://docs.adyen.com/development-resources/webhooks/understand-notifications#event-codes). You can only update authorised amounts that have not yet been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/captures). The amount you specify in the request is the updated amount, which is larger or smaller than the initial authorised amount. For more information, refer to [Authorisation adjustment](https://docs.adyen.com/online-payments/adjust-authorisation#use-cases)." - } + ] } ] - } -, + }, { "name": "/payments/:paymentPspReference/cancels", "description": "Cancels the authorisation on a payment that has not yet been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/paymentPspReference/captures), and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CANCELLATION** webhook](https://docs.adyen.com/online-payments/cancel#cancellation-webhook). If you want to cancel a payment but don't have the [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference), use the [`/cancels`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cancels) endpoint instead. If you want to cancel a payment but are not sure whether it has been captured, use the [`/payments/{paymentPspReference}/reversals`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/reversals) endpoint instead. For more information, refer to [Cancel](https://docs.adyen.com/online-payments/cancel).", @@ -138,62 +261,127 @@ { "name": "Cancel payment using a PSP reference", "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 + "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 \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments/:paymentPspReference/cancels", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments", + ":paymentPspReference", + "cancels" + ], + "variable": [ + { + "key": "paymentPspReference", + "value": "", + "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to cancel. " + } + ], + "query": [ + ] + }, + "description": "Cancels the authorisation on a payment that has not yet been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/paymentPspReference/captures), and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CANCELLATION** webhook](https://docs.adyen.com/online-payments/cancel#cancellation-webhook). If you want to cancel a payment but don't have the [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference), use the [`/cancels`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cancels) endpoint instead. If you want to cancel a payment but are not sure whether it has been captured, use the [`/payments/{paymentPspReference}/reversals`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/reversals) endpoint instead. For more information, refer to [Cancel](https://docs.adyen.com/online-payments/cancel)." +} + ,"response": [ + {"name": "Created - the request has been fulfilled and has resulted in one or more new resources being created.", + "code": 201, + "status": "Created", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"merchantAccount\" : \"YOUR_MERCHANT_ACCOUNT\",\n \"paymentPspReference\" : \"993617894903480A\",\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"pspReference\" : \"993617894906488A\",\n \"status\" : \"received\"\n}", + "originalRequest": { + "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 \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments/:paymentPspReference/cancels", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments", + ":paymentPspReference", + "cancels" + ], + "variable": [ + { + "key": "paymentPspReference", + "value": "", + "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to cancel. " + } + ], + "query": [ + ] + }, + "description": "Cancels the authorisation on a payment that has not yet been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/paymentPspReference/captures), and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CANCELLATION** webhook](https://docs.adyen.com/online-payments/cancel#cancellation-webhook). If you want to cancel a payment but don't have the [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference), use the [`/cancels`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cancels) endpoint instead. If you want to cancel a payment but are not sure whether it has been captured, use the [`/payments/{paymentPspReference}/reversals`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/reversals) endpoint instead. For more information, refer to [Cancel](https://docs.adyen.com/online-payments/cancel)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments/:paymentPspReference/cancels", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments", - ":paymentPspReference", - "cancels" - ], - "variable": [ - { - "key": "paymentPspReference", - "value": "", - "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to cancel. " - } - ], - "query": [ - ] - }, - "description": "Cancels the authorisation on a payment that has not yet been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/paymentPspReference/captures), and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CANCELLATION** webhook](https://docs.adyen.com/online-payments/cancel#cancellation-webhook). If you want to cancel a payment but don't have the [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference), use the [`/cancels`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cancels) endpoint instead. If you want to cancel a payment but are not sure whether it has been captured, use the [`/payments/{paymentPspReference}/reversals`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/reversals) endpoint instead. For more information, refer to [Cancel](https://docs.adyen.com/online-payments/cancel)." - } + ] } ] - } -, + }, { "name": "/payments/:paymentPspReference/captures", "description": " Captures an authorised payment and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CAPTURE** webhook](https://docs.adyen.com/online-payments/capture#capture-notification). You can capture either the full authorised amount or a part of the authorised amount. By default, any unclaimed amount after a partial capture gets cancelled. This does not apply if you enabled multiple partial captures on your account and the payment method supports multiple partial captures. [Automatic capture](https://docs.adyen.com/online-payments/capture#automatic-capture) is the default setting for most payment methods. In these cases, you don't need to make capture requests. However, making capture requests for payments that are captured automatically does not result in double charges. For more information, refer to [Capture](https://docs.adyen.com/online-payments/capture).", @@ -201,62 +389,127 @@ { "name": "Capture an authorised payment", "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 + "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 \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"amount\" : {\n \"value\" : 2000,\n \"currency\" : \"EUR\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments/:paymentPspReference/captures", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments", + ":paymentPspReference", + "captures" + ], + "variable": [ + { + "key": "paymentPspReference", + "value": "", + "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to capture." + } + ], + "query": [ + ] + }, + "description": " Captures an authorised payment and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CAPTURE** webhook](https://docs.adyen.com/online-payments/capture#capture-notification). You can capture either the full authorised amount or a part of the authorised amount. By default, any unclaimed amount after a partial capture gets cancelled. This does not apply if you enabled multiple partial captures on your account and the payment method supports multiple partial captures. [Automatic capture](https://docs.adyen.com/online-payments/capture#automatic-capture) is the default setting for most payment methods. In these cases, you don't need to make capture requests. However, making capture requests for payments that are captured automatically does not result in double charges. For more information, refer to [Capture](https://docs.adyen.com/online-payments/capture)." +} + ,"response": [ + {"name": "Created - the request has been fulfilled and has resulted in one or more new resources being created.", + "code": 201, + "status": "Created", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"merchantAccount\" : \"YOUR_MERCHANT_ACCOUNT\",\n \"paymentPspReference\" : \"993617894903480A\",\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"pspReference\" : \"993617894906488A\",\n \"status\" : \"received\",\n \"amount\" : {\n \"value\" : 2000,\n \"currency\" : \"EUR\"\n }\n}", + "originalRequest": { + "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 \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"amount\" : {\n \"value\" : 2000,\n \"currency\" : \"EUR\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments/:paymentPspReference/captures", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments", + ":paymentPspReference", + "captures" + ], + "variable": [ + { + "key": "paymentPspReference", + "value": "", + "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to capture." + } + ], + "query": [ + ] + }, + "description": " Captures an authorised payment and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CAPTURE** webhook](https://docs.adyen.com/online-payments/capture#capture-notification). You can capture either the full authorised amount or a part of the authorised amount. By default, any unclaimed amount after a partial capture gets cancelled. This does not apply if you enabled multiple partial captures on your account and the payment method supports multiple partial captures. [Automatic capture](https://docs.adyen.com/online-payments/capture#automatic-capture) is the default setting for most payment methods. In these cases, you don't need to make capture requests. However, making capture requests for payments that are captured automatically does not result in double charges. For more information, refer to [Capture](https://docs.adyen.com/online-payments/capture)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"amount\" : {\n \"value\" : 2000,\n \"currency\" : \"EUR\"\n }\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments/:paymentPspReference/captures", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments", - ":paymentPspReference", - "captures" - ], - "variable": [ - { - "key": "paymentPspReference", - "value": "", - "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to capture." - } - ], - "query": [ - ] - }, - "description": " Captures an authorised payment and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CAPTURE** webhook](https://docs.adyen.com/online-payments/capture#capture-notification). You can capture either the full authorised amount or a part of the authorised amount. By default, any unclaimed amount after a partial capture gets cancelled. This does not apply if you enabled multiple partial captures on your account and the payment method supports multiple partial captures. [Automatic capture](https://docs.adyen.com/online-payments/capture#automatic-capture) is the default setting for most payment methods. In these cases, you don't need to make capture requests. However, making capture requests for payments that are captured automatically does not result in double charges. For more information, refer to [Capture](https://docs.adyen.com/online-payments/capture)." - } + ] } ] - } -, + }, { "name": "/payments/:paymentPspReference/refunds", "description": "Refunds a payment that has been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/captures), and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**REFUND** webhook](https://docs.adyen.com/online-payments/refund#refund-webhook). You can refund either the full captured amount or a part of the captured amount. You can also perform multiple partial refunds, as long as their sum doesn't exceed the captured amount. > Some payment methods do not support partial refunds. To learn if a payment method supports partial refunds, refer to the payment method page such as [cards](https://docs.adyen.com/payment-methods/cards#supported-cards), [iDEAL](https://docs.adyen.com/payment-methods/ideal), or [Klarna](https://docs.adyen.com/payment-methods/klarna). If you want to refund a payment but are not sure whether it has been captured, use the [`/payments/{paymentPspReference}/reversals`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/reversals) endpoint instead. For more information, refer to [Refund](https://docs.adyen.com/online-payments/refund).", @@ -264,62 +517,127 @@ { "name": "Refund a payment", "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 + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 2500\n },\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments/:paymentPspReference/refunds", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments", + ":paymentPspReference", + "refunds" + ], + "variable": [ + { + "key": "paymentPspReference", + "value": "", + "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to refund." + } + ], + "query": [ + ] + }, + "description": "Refunds a payment that has been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/captures), and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**REFUND** webhook](https://docs.adyen.com/online-payments/refund#refund-webhook). You can refund either the full captured amount or a part of the captured amount. You can also perform multiple partial refunds, as long as their sum doesn't exceed the captured amount. > Some payment methods do not support partial refunds. To learn if a payment method supports partial refunds, refer to the payment method page such as [cards](https://docs.adyen.com/payment-methods/cards#supported-cards), [iDEAL](https://docs.adyen.com/payment-methods/ideal), or [Klarna](https://docs.adyen.com/payment-methods/klarna). If you want to refund a payment but are not sure whether it has been captured, use the [`/payments/{paymentPspReference}/reversals`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/reversals) endpoint instead. For more information, refer to [Refund](https://docs.adyen.com/online-payments/refund)." +} + ,"response": [ + {"name": "Created - the request has been fulfilled and has resulted in one or more new resources being created.", + "code": 201, + "status": "Created", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"merchantAccount\" : \"YOUR_MERCHANT_ACCOUNT\",\n \"paymentPspReference\" : \"993617894903480A\",\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"pspReference\" : \"993617894906488A\",\n \"status\" : \"received\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 2500\n }\n}", + "originalRequest": { + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 2500\n },\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments/:paymentPspReference/refunds", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments", + ":paymentPspReference", + "refunds" + ], + "variable": [ + { + "key": "paymentPspReference", + "value": "", + "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to refund." + } + ], + "query": [ + ] + }, + "description": "Refunds a payment that has been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/captures), and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**REFUND** webhook](https://docs.adyen.com/online-payments/refund#refund-webhook). You can refund either the full captured amount or a part of the captured amount. You can also perform multiple partial refunds, as long as their sum doesn't exceed the captured amount. > Some payment methods do not support partial refunds. To learn if a payment method supports partial refunds, refer to the payment method page such as [cards](https://docs.adyen.com/payment-methods/cards#supported-cards), [iDEAL](https://docs.adyen.com/payment-methods/ideal), or [Klarna](https://docs.adyen.com/payment-methods/klarna). If you want to refund a payment but are not sure whether it has been captured, use the [`/payments/{paymentPspReference}/reversals`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/reversals) endpoint instead. For more information, refer to [Refund](https://docs.adyen.com/online-payments/refund)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 2500\n },\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments/:paymentPspReference/refunds", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments", - ":paymentPspReference", - "refunds" - ], - "variable": [ - { - "key": "paymentPspReference", - "value": "", - "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to refund." - } - ], - "query": [ - ] - }, - "description": "Refunds a payment that has been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/captures), and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**REFUND** webhook](https://docs.adyen.com/online-payments/refund#refund-webhook). You can refund either the full captured amount or a part of the captured amount. You can also perform multiple partial refunds, as long as their sum doesn't exceed the captured amount. > Some payment methods do not support partial refunds. To learn if a payment method supports partial refunds, refer to the payment method page such as [cards](https://docs.adyen.com/payment-methods/cards#supported-cards), [iDEAL](https://docs.adyen.com/payment-methods/ideal), or [Klarna](https://docs.adyen.com/payment-methods/klarna). If you want to refund a payment but are not sure whether it has been captured, use the [`/payments/{paymentPspReference}/reversals`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/reversals) endpoint instead. For more information, refer to [Refund](https://docs.adyen.com/online-payments/refund)." - } + ] } ] - } -, + }, { "name": "/payments/:paymentPspReference/reversals", "description": "[Refunds](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/refunds) a payment if it has already been captured, and [cancels](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/cancels) a payment if it has not yet been captured. Returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CANCEL_OR_REFUND** webhook](https://docs.adyen.com/online-payments/reverse#cancel-or-refund-webhook). The reversed amount is always the full payment amount. > Do not use this request for payments that involve multiple partial captures. For more information, refer to [Reversal](https://docs.adyen.com/online-payments/reversal).", @@ -327,62 +645,127 @@ { "name": "Reverse (cancel or refund) a payment", "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 + "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 \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments/:paymentPspReference/reversals", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments", + ":paymentPspReference", + "reversals" + ], + "variable": [ + { + "key": "paymentPspReference", + "value": "", + "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to reverse. " + } + ], + "query": [ + ] + }, + "description": "[Refunds](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/refunds) a payment if it has already been captured, and [cancels](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/cancels) a payment if it has not yet been captured. Returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CANCEL_OR_REFUND** webhook](https://docs.adyen.com/online-payments/reverse#cancel-or-refund-webhook). The reversed amount is always the full payment amount. > Do not use this request for payments that involve multiple partial captures. For more information, refer to [Reversal](https://docs.adyen.com/online-payments/reversal)." +} + ,"response": [ + {"name": "Created - the request has been fulfilled and has resulted in one or more new resources being created.", + "code": 201, + "status": "Created", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"merchantAccount\" : \"YOUR_MERCHANT_ACCOUNT\",\n \"paymentPspReference\" : \"993617894903480A\",\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"pspReference\" : \"993617894906488A\",\n \"status\" : \"received\"\n}", + "originalRequest": { + "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 \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments/:paymentPspReference/reversals", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments", + ":paymentPspReference", + "reversals" + ], + "variable": [ + { + "key": "paymentPspReference", + "value": "", + "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to reverse. " + } + ], + "query": [ + ] + }, + "description": "[Refunds](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/refunds) a payment if it has already been captured, and [cancels](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/cancels) a payment if it has not yet been captured. Returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CANCEL_OR_REFUND** webhook](https://docs.adyen.com/online-payments/reverse#cancel-or-refund-webhook). The reversed amount is always the full payment amount. > Do not use this request for payments that involve multiple partial captures. For more information, refer to [Reversal](https://docs.adyen.com/online-payments/reversal)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments/:paymentPspReference/reversals", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments", - ":paymentPspReference", - "reversals" - ], - "variable": [ - { - "key": "paymentPspReference", - "value": "", - "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to reverse. " - } - ], - "query": [ - ] - }, - "description": "[Refunds](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/refunds) a payment if it has already been captured, and [cancels](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/cancels) a payment if it has not yet been captured. Returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CANCEL_OR_REFUND** webhook](https://docs.adyen.com/online-payments/reverse#cancel-or-refund-webhook). The reversed amount is always the full payment amount. > Do not use this request for payments that involve multiple partial captures. For more information, refer to [Reversal](https://docs.adyen.com/online-payments/reversal)." - } + ] } ] } - ] }, { @@ -395,251 +778,374 @@ { "name": "Set up a payment session (Android)", "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 17408\n },\n \"reference\" : \"Your order number\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"channel\" : \"Android\",\n \"token\" : \"TOKEN_YOU_GET_FROM_CHECKOUT_SDK\",\n \"returnUrl\" : \"app://\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl_NL\",\n \"sessionValidity\" : \"2017-04-06T13:09:13Z\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentSession", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentSession" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Provides the data object that can be used to start the Checkout SDK. To set up the payment, pass its amount, currency, and other required parameters. We use this to optimise the payment flow and perform better risk assessment of the transaction. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." - } + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 17408\n },\n \"reference\" : \"Your order number\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"channel\" : \"Android\",\n \"token\" : \"TOKEN_YOU_GET_FROM_CHECKOUT_SDK\",\n \"returnUrl\" : \"app://\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl_NL\",\n \"sessionValidity\" : \"2017-04-06T13:09:13Z\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentSession", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentSession" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Provides the data object that can be used to start the Checkout SDK. To set up the payment, pass its amount, currency, and other required parameters. We use this to optimise the payment flow and perform better risk assessment of the transaction. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." +} + ,"response": [ + ] }, { "name": "Set up a payment session with the option to store card details", "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 + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 17408\n },\n \"reference\" : \"Your order number\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"enableOneClick\" : true,\n \"enableRecurring\" : true,\n \"channel\" : \"Web\",\n \"origin\" : \"https://www.yourwebsite.com\",\n \"returnUrl\" : \"https://www.yourshop.com/checkout/result\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl_NL\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"sdkVersion\" : \"1.7.0\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentSession", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentSession" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Provides the data object that can be used to start the Checkout SDK. To set up the payment, pass its amount, currency, and other required parameters. We use this to optimise the payment flow and perform better risk assessment of the transaction. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"paymentSession\" : \"eyJjaGVja291dHNob3BwZXJCYXN...\"\n}", + "originalRequest": { + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 17408\n },\n \"reference\" : \"Your order number\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"enableOneClick\" : true,\n \"enableRecurring\" : true,\n \"channel\" : \"Web\",\n \"origin\" : \"https://www.yourwebsite.com\",\n \"returnUrl\" : \"https://www.yourshop.com/checkout/result\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl_NL\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"sdkVersion\" : \"1.7.0\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentSession", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentSession" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Provides the data object that can be used to start the Checkout SDK. To set up the payment, pass its amount, currency, and other required parameters. We use this to optimise the payment flow and perform better risk assessment of the transaction. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 17408\n },\n \"reference\" : \"Your order number\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"enableOneClick\" : true,\n \"enableRecurring\" : true,\n \"channel\" : \"Web\",\n \"origin\" : \"https://www.yourwebsite.com\",\n \"returnUrl\" : \"https://www.yourshop.com/checkout/result\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl_NL\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"sdkVersion\" : \"1.7.0\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentSession", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentSession" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Provides the data object that can be used to start the Checkout SDK. To set up the payment, pass its amount, currency, and other required parameters. We use this to optimise the payment flow and perform better risk assessment of the transaction. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." - } + ] }, { "name": "Set up a payment session (iOS)", "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 17408\n },\n \"reference\" : \"Your order number\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"channel\" : \"iOS\",\n \"token\" : \"TOKEN_YOU_GET_FROM_CHECKOUT_SDK\",\n \"returnUrl\" : \"app://\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl_NL\",\n \"sessionValidity\" : \"2017-04-06T13:09:13Z\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentSession", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentSession" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Provides the data object that can be used to start the Checkout SDK. To set up the payment, pass its amount, currency, and other required parameters. We use this to optimise the payment flow and perform better risk assessment of the transaction. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." - } + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 17408\n },\n \"reference\" : \"Your order number\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"channel\" : \"iOS\",\n \"token\" : \"TOKEN_YOU_GET_FROM_CHECKOUT_SDK\",\n \"returnUrl\" : \"app://\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl_NL\",\n \"sessionValidity\" : \"2017-04-06T13:09:13Z\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentSession", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentSession" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Provides the data object that can be used to start the Checkout SDK. To set up the payment, pass its amount, currency, and other required parameters. We use this to optimise the payment flow and perform better risk assessment of the transaction. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." +} + ,"response": [ + ] }, { "name": "Split a payment between a sub-merchant and a platform account", "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 6200\n },\n \"additionalData\" : {\n \"split.api\" : \"1\",\n \"split.nrOfItems\" : \"2\",\n \"split.totalAmount\" : \"6200\",\n \"split.currencyCode\" : \"EUR\",\n \"split.item1.amount\" : \"6000\",\n \"split.item1.type\" : \"MarketPlace\",\n \"split.item1.account\" : \"151272963\",\n \"split.item1.reference\" : \"6124145\",\n \"split.item1.description\" : \"Porcelain Doll: Eliza (20cm)\",\n \"split.item2.amount\" : \"200\",\n \"split.item2.type\" : \"Commission\",\n \"split.item2.reference\" : \"6124146\"\n },\n \"reference\" : \"Your order number\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"channel\" : \"Android\",\n \"token\" : \"TOKEN_YOU_GET_FROM_CHECKOUT_SDK\",\n \"returnUrl\" : \"app://\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl_NL\",\n \"sessionValidity\" : \"2017-04-06T13:09:13Z\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentSession", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentSession" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Provides the data object that can be used to start the Checkout SDK. To set up the payment, pass its amount, currency, and other required parameters. We use this to optimise the payment flow and perform better risk assessment of the transaction. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." - } + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 6200\n },\n \"additionalData\" : {\n \"split.api\" : \"1\",\n \"split.nrOfItems\" : \"2\",\n \"split.totalAmount\" : \"6200\",\n \"split.currencyCode\" : \"EUR\",\n \"split.item1.amount\" : \"6000\",\n \"split.item1.type\" : \"MarketPlace\",\n \"split.item1.account\" : \"151272963\",\n \"split.item1.reference\" : \"6124145\",\n \"split.item1.description\" : \"Porcelain Doll: Eliza (20cm)\",\n \"split.item2.amount\" : \"200\",\n \"split.item2.type\" : \"Commission\",\n \"split.item2.reference\" : \"6124146\"\n },\n \"reference\" : \"Your order number\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"channel\" : \"Android\",\n \"token\" : \"TOKEN_YOU_GET_FROM_CHECKOUT_SDK\",\n \"returnUrl\" : \"app://\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl_NL\",\n \"sessionValidity\" : \"2017-04-06T13:09:13Z\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentSession", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentSession" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Provides the data object that can be used to start the Checkout SDK. To set up the payment, pass its amount, currency, and other required parameters. We use this to optimise the payment flow and perform better risk assessment of the transaction. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." +} + ,"response": [ + ] }, { "name": "Set up a payment session (Web)", "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 + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 17408\n },\n \"reference\" : \"Your order number\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"channel\" : \"Web\",\n \"origin\" : \"https://www.yourwebsite.com\",\n \"returnUrl\" : \"https://www.yourshop.com/checkout/result\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl_NL\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"sdkVersion\" : \"1.9.5\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentSession", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentSession" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Provides the data object that can be used to start the Checkout SDK. To set up the payment, pass its amount, currency, and other required parameters. We use this to optimise the payment flow and perform better risk assessment of the transaction. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"paymentSession\" : \"eyJjaGVja291dHNob3BwZXJCYXN...\"\n}", + "originalRequest": { + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 17408\n },\n \"reference\" : \"Your order number\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"channel\" : \"Web\",\n \"origin\" : \"https://www.yourwebsite.com\",\n \"returnUrl\" : \"https://www.yourshop.com/checkout/result\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl_NL\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"sdkVersion\" : \"1.9.5\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentSession", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentSession" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Provides the data object that can be used to start the Checkout SDK. To set up the payment, pass its amount, currency, and other required parameters. We use this to optimise the payment flow and perform better risk assessment of the transaction. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 17408\n },\n \"reference\" : \"Your order number\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"channel\" : \"Web\",\n \"origin\" : \"https://www.yourwebsite.com\",\n \"returnUrl\" : \"https://www.yourshop.com/checkout/result\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl_NL\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"sdkVersion\" : \"1.9.5\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentSession", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentSession" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Provides the data object that can be used to start the Checkout SDK. To set up the payment, pass its amount, currency, and other required parameters. We use this to optimise the payment flow and perform better risk assessment of the transaction. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." - } + ] } ] - } -, + }, { "name": "/payments/result (DEPRECATED)", "description": "Verifies the payment result using the payload returned from the Checkout SDK. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks).", @@ -647,56 +1153,115 @@ { "name": "Verify payment results", "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 + "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 \"payload\" : \"VALUE_YOU_GET_FROM_CHECKOUT_SDK\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments/result", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments", + "result" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Verifies the payment result using the payload returned from the Checkout SDK. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"pspReference\" : \"V4HZ4RBFJGXXGN82\",\n \"merchantReference\" : \"Your order number\",\n \"shopperLocale\" : \"nl_NL\",\n \"paymentMethod\" : \"ideal\"\n}", + "originalRequest": { + "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 \"payload\" : \"VALUE_YOU_GET_FROM_CHECKOUT_SDK\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments/result", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments", + "result" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Verifies the payment result using the payload returned from the Checkout SDK. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"payload\" : \"VALUE_YOU_GET_FROM_CHECKOUT_SDK\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments/result", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments", - "result" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Verifies the payment result using the payload returned from the Checkout SDK. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." - } + ] } ] } - ] }, { @@ -709,55 +1274,113 @@ { "name": "Create an order", "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 + "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 \"reference\" : \"YOUR_ORDER_REFERENCE\",\n \"amount\" : {\n \"value\" : 2500,\n \"currency\" : \"EUR\"\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/orders", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "orders" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates an order to be used for partial payments. Make a POST `/orders` call before making a `/payments` call when processing payments with different payment methods." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"pspReference\" : \"8616178914061985\",\n \"resultCode\" : \"Success\",\n \"expiresAt\" : \"2021-04-09T14:16:46Z\",\n \"orderData\" : \"Ab02b4c0!BQABAgCxXvknCldOcRElkxY8Za7iyym4Wv8aDzyNwmj/3nh4G6YtwnUIJHaK62NlN4oIsACdkn1FEjBwKlheG40jvXcYGBk4KFV5WvOhTVCpv/KXnkrI7xQv/u2lE7U4wA+HPB6K4Zj2L8xO/ogZi+zGZqFs5m16jmkH7ku6FzXygXLNuUCuOlmlXSZhdkHHTNVQSq1MELDK9OL74y532ETRPTCNxx8WlEiZB+LDqYrPvH9GgigtD5kw8Do45jfFfG72kWBEgfYqp4mbUmBB9ebXFYZKfF0qvW1x7A2Y9+/MFlTIdXfKW484bJeDBCTTrmKGXIj+U4r5imr5fXTyNLcrxyUqwrb9jg+5B4qg1XB6Cgj5UPlSI4O62I7v0s5TTj69dzLwUQRxSQbwLrZVGYavXzeVKI54BVLRV3d/+BbPvTqnTo34UhfZbPlOx9F2eyaS0ZXdOKnHw89uGUgxUpLsMqnbRysi/pxpZaulel+0mExb68wVxb/7Teob5eRG4gp7cfZVZs6tLXOYWL+W0TqIlsa3hWsfM0LeaovzkoDtW/pK5JABXwMtLig9tsxoEh9ONYtIzkXC21LZ8ebiuSIMaPizjF8yca+QxrCZalQsu6uKnBz/mm8nnsflaGU2QS5zcoxk1RudL1Bl36LM9UZGPpFEYWiYA4sUsnNLw7peJjWCGhDepnwMv4TlgsEtoDtz1T54AEp7ImtleSI6IkFGMEFBQTEwM0NBNTM3RUFFRDg3QzI0REQ1MzkwOUI4MEE3OEE5MjNFMzgyM0Q2OERBQ0M5NEI5RkY4MzA1REMifRslOdmfgUHTXl66WPD9xoW2whIeRx/jR++2MqNE16x6zQy+KtDN8/h60crZwmqkjVTQYqQlsYSYDHSIyb4wnnay16/5il1yS7vN3UCLaTXjYBIAyyx6Wr9j4P3CI/etB+PpviHoESC4mV6ZN4whMDQyziQ8s230GtboXbh42qND7rk9phySBogowQlXrtF+l2n2F46nyif0owEgik5fGARfvjZtY2w23s30KMLNwU4gWSvX4H6RMVS8TfZH2fKfNrwB3tZUXwYkELs5ntaHysswq5Mn5aq2BKAMHu/Rh/wureMSI73Qi0avjrzWCwzt3JH4wnzErMnOZwSdgA==\",\n \"reference\" : \"shopper-reference-ekvL83\",\n \"remainingAmount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 2500\n }\n}", + "originalRequest": { + "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 \"reference\" : \"YOUR_ORDER_REFERENCE\",\n \"amount\" : {\n \"value\" : 2500,\n \"currency\" : \"EUR\"\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/orders", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "orders" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates an order to be used for partial payments. Make a POST `/orders` call before making a `/payments` call when processing payments with different payment methods." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"reference\" : \"YOUR_ORDER_REFERENCE\",\n \"amount\" : {\n \"value\" : 2500,\n \"currency\" : \"EUR\"\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/orders", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "orders" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Creates an order to be used for partial payments. Make a POST `/orders` call before making a `/payments` call when processing payments with different payment methods." - } + ] } ] - } -, + }, { "name": "/orders/cancel", "description": "Cancels an order. Cancellation of an order results in an automatic rollback of all payments made in the order, either by canceling or refunding the payment, depending on the type of payment method.", @@ -765,56 +1388,115 @@ { "name": "Cancel an order", "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 + "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 \"order\" : {\n \"pspReference\" : \"8815517812932012\",\n \"orderData\" : \"823fh892f8f18f4...148f13f9f3f\"\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/orders/cancel", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "orders", + "cancel" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Cancels an order. Cancellation of an order results in an automatic rollback of all payments made in the order, either by canceling or refunding the payment, depending on the type of payment method." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"pspReference\" : \"8816178914079738\",\n \"resultCode\" : \"Received\"\n}", + "originalRequest": { + "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 \"order\" : {\n \"pspReference\" : \"8815517812932012\",\n \"orderData\" : \"823fh892f8f18f4...148f13f9f3f\"\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/orders/cancel", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "orders", + "cancel" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Cancels an order. Cancellation of an order results in an automatic rollback of all payments made in the order, either by canceling or refunding the payment, depending on the type of payment method." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"order\" : {\n \"pspReference\" : \"8815517812932012\",\n \"orderData\" : \"823fh892f8f18f4...148f13f9f3f\"\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/orders/cancel", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "orders", - "cancel" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Cancels an order. Cancellation of an order results in an automatic rollback of all payments made in the order, either by canceling or refunding the payment, depending on the type of payment method." - } + ] } ] - } -, + }, { "name": "/paymentMethods/balance", "description": "Retrieves the balance remaining on a shopper's gift card. To check a gift card's balance, make a POST `/paymentMethods/balance` call and include the gift card's details inside a `paymentMethod` object.", @@ -822,106 +1504,225 @@ { "name": "Get gift card balance specifying amount of 10 EUR", "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 + "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 \"paymentMethod\" : {\n \"type\" : \"givex\",\n \"number\" : \"4126491073027401\",\n \"cvc\" : \"737\"\n },\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentMethods/balance", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentMethods", + "balance" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Retrieves the balance remaining on a shopper's gift card. To check a gift card's balance, make a POST `/paymentMethods/balance` call and include the gift card's details inside a `paymentMethod` object." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"pspReference\" : \"KHQC5N7G84BLNK43\",\n \"resultCode\" : \"Success\",\n \"balance\" : {\n \"currency\" : \"EUR\",\n \"value\" : 5000\n }\n}", + "originalRequest": { + "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 \"paymentMethod\" : {\n \"type\" : \"givex\",\n \"number\" : \"4126491073027401\",\n \"cvc\" : \"737\"\n },\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentMethods/balance", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentMethods", + "balance" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Retrieves the balance remaining on a shopper's gift card. To check a gift card's balance, make a POST `/paymentMethods/balance` call and include the gift card's details inside a `paymentMethod` object." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"paymentMethod\" : {\n \"type\" : \"givex\",\n \"number\" : \"4126491073027401\",\n \"cvc\" : \"737\"\n },\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentMethods/balance", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentMethods", - "balance" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Retrieves the balance remaining on a shopper's gift card. To check a gift card's balance, make a POST `/paymentMethods/balance` call and include the gift card's details inside a `paymentMethod` object." - } + ] }, { "name": "Get gift card balance specifying amount of 100 EUR", "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 + "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 \"paymentMethod\" : {\n \"type\" : \"givex\",\n \"number\" : \"4126491073027401\",\n \"cvc\" : \"737\"\n },\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 10000\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentMethods/balance", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentMethods", + "balance" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Retrieves the balance remaining on a shopper's gift card. To check a gift card's balance, make a POST `/paymentMethods/balance` call and include the gift card's details inside a `paymentMethod` object." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"pspReference\" : \"FKSPNCQ8HXSKGK82\",\n \"resultCode\" : \"NotEnoughBalance\",\n \"balance\" : {\n \"currency\" : \"EUR\",\n \"value\" : 5000\n }\n}", + "originalRequest": { + "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 \"paymentMethod\" : {\n \"type\" : \"givex\",\n \"number\" : \"4126491073027401\",\n \"cvc\" : \"737\"\n },\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 10000\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentMethods/balance", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentMethods", + "balance" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Retrieves the balance remaining on a shopper's gift card. To check a gift card's balance, make a POST `/paymentMethods/balance` call and include the gift card's details inside a `paymentMethod` object." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"paymentMethod\" : {\n \"type\" : \"givex\",\n \"number\" : \"4126491073027401\",\n \"cvc\" : \"737\"\n },\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 10000\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentMethods/balance", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentMethods", - "balance" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Retrieves the balance remaining on a shopper's gift card. To check a gift card's balance, make a POST `/paymentMethods/balance` call and include the gift card's details inside a `paymentMethod` object." - } + ] } ] } - ] }, { @@ -934,56 +1735,115 @@ { "name": "Get payment session for Apple Pay", "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 + "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 \"displayName\" : \"YOUR_MERCHANT_NAME\",\n \"domainName\" : \"YOUR_DOMAIN_NAME\",\n \"merchantIdentifier\" : \"YOUR_MERCHANT_ID\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/applePay/sessions", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "applePay", + "sessions" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "You need to use this endpoint if you have an API-only integration with Apple Pay which uses Adyen's Apple Pay certificate. The endpoint returns the Apple Pay session data which you need to complete the [Apple Pay session validation](https://docs.adyen.com/payment-methods/apple-pay/api-only?tab=adyen-certificate-validation_1#complete-apple-pay-session-validation)." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"data\" : \"eyJ2Z...\"\n}", + "originalRequest": { + "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 \"displayName\" : \"YOUR_MERCHANT_NAME\",\n \"domainName\" : \"YOUR_DOMAIN_NAME\",\n \"merchantIdentifier\" : \"YOUR_MERCHANT_ID\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/applePay/sessions", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "applePay", + "sessions" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "You need to use this endpoint if you have an API-only integration with Apple Pay which uses Adyen's Apple Pay certificate. The endpoint returns the Apple Pay session data which you need to complete the [Apple Pay session validation](https://docs.adyen.com/payment-methods/apple-pay/api-only?tab=adyen-certificate-validation_1#complete-apple-pay-session-validation)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"displayName\" : \"YOUR_MERCHANT_NAME\",\n \"domainName\" : \"YOUR_DOMAIN_NAME\",\n \"merchantIdentifier\" : \"YOUR_MERCHANT_ID\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/applePay/sessions", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "applePay", - "sessions" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "You need to use this endpoint if you have an API-only integration with Apple Pay which uses Adyen's Apple Pay certificate. The endpoint returns the Apple Pay session data which you need to complete the [Apple Pay session validation](https://docs.adyen.com/payment-methods/apple-pay/api-only?tab=adyen-certificate-validation_1#complete-apple-pay-session-validation)." - } + ] } ] - } -, + }, { "name": "/originKeys (DEPRECATED)", "description": "This operation takes the origin domains and returns a JSON object containing the corresponding origin keys for the domains. > If you're still using origin key for your Web Drop-in or Components integration, we recommend [switching to client key](https://docs.adyen.com/development-resources/client-side-authentication/migrate-from-origin-key-to-client-key). This allows you to use a single key for all origins, add or remove origins without generating a new key, and detect the card type from the number entered in your payment form. ", @@ -991,55 +1851,113 @@ { "name": "Get origin keys", "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 + "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 \"originDomains\" : [ \"https://www.your-domain1.com\", \"https://www.your-domain2.com\", \"https://www.your-domain3.com\" ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/originKeys", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "originKeys" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "This operation takes the origin domains and returns a JSON object containing the corresponding origin keys for the domains. > If you're still using origin key for your Web Drop-in or Components integration, we recommend [switching to client key](https://docs.adyen.com/development-resources/client-side-authentication/migrate-from-origin-key-to-client-key). This allows you to use a single key for all origins, add or remove origins without generating a new key, and detect the card type from the number entered in your payment form. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"originKeys\" : {\n \"https://www.your-domain1.com\" : \"pub.v2.8116178901076090.aHR0cHM6Ly93d3cueW91ci1kb21haW4xLmNvbQ.pvbYlrXz0ICP4kwMJXDGDLVMqALhwXr1MSRjT-fkhvw\",\n \"https://www.your-domain3.com\" : \"pub.v2.8116178901076090.aHR0cHM6Ly93d3cueW91ci1kb21haW4zLmNvbQ.FrTpVz7_RzAywKasM0kXCRoMfoMkKIKaxjFymRGORIc\",\n \"https://www.your-domain2.com\" : \"pub.v2.8116178901076090.aHR0cHM6Ly93d3cueW91ci1kb21haW4yLmNvbQ.LdN9kvJ35fYFFiBSJA4idMnwwxJ5_yXpeNS__Ap5wkg\"\n }\n}", + "originalRequest": { + "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 \"originDomains\" : [ \"https://www.your-domain1.com\", \"https://www.your-domain2.com\", \"https://www.your-domain3.com\" ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/originKeys", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "originKeys" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "This operation takes the origin domains and returns a JSON object containing the corresponding origin keys for the domains. > If you're still using origin key for your Web Drop-in or Components integration, we recommend [switching to client key](https://docs.adyen.com/development-resources/client-side-authentication/migrate-from-origin-key-to-client-key). This allows you to use a single key for all origins, add or remove origins without generating a new key, and detect the card type from the number entered in your payment form. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"originDomains\" : [ \"https://www.your-domain1.com\", \"https://www.your-domain2.com\", \"https://www.your-domain3.com\" ]\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/originKeys", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "originKeys" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "This operation takes the origin domains and returns a JSON object containing the corresponding origin keys for the domains. > If you're still using origin key for your Web Drop-in or Components integration, we recommend [switching to client key](https://docs.adyen.com/development-resources/client-side-authentication/migrate-from-origin-key-to-client-key). This allows you to use a single key for all origins, add or remove origins without generating a new key, and detect the card type from the number entered in your payment form. " - } + ] } ] } - ] }, { @@ -1052,104 +1970,164 @@ { "name": "Start a donation transaction", "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 + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"reference\" : \"YOUR_DONATION_REFERENCE\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\"\n },\n \"donationToken\" : \"YOUR_DONATION_TOKEN\",\n \"donationOriginalPspReference\" : \"991559660454807J\",\n \"donationAccount\" : \"CHARITY_ACCOUNT\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"shopperInteraction\" : \"ContAuth\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/donations", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "donations" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Takes in the donation token generated by the `/payments` request and uses it to make the donation for the donation account specified in the request. For more information, see [Donations](https://docs.adyen.com/online-payments/donations)." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"id\" : \"UNIQUE_RESOURCE_ID\",\n \"status\" : \"completed\",\n \"donationAccount\" : \"CHARITY_ACCOUNT\",\n \"merchantAccount\" : \"YOUR_MERCHANT_ACCOUNT\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"reference\" : \"YOUR_DONATION_REFERENCE\",\n \"payment\" : {\n \"pspReference\" : \"8535762347980628\",\n \"resultCode\" : \"Authorised\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"merchantReference\" : \"YOUR_DONATION_REFERENCE\"\n }\n}", + "originalRequest": { + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"reference\" : \"YOUR_DONATION_REFERENCE\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\"\n },\n \"donationToken\" : \"YOUR_DONATION_TOKEN\",\n \"donationOriginalPspReference\" : \"991559660454807J\",\n \"donationAccount\" : \"CHARITY_ACCOUNT\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"shopperInteraction\" : \"ContAuth\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/donations", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "donations" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Takes in the donation token generated by the `/payments` request and uses it to make the donation for the donation account specified in the request. For more information, see [Donations](https://docs.adyen.com/online-payments/donations)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"reference\" : \"YOUR_DONATION_REFERENCE\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\"\n },\n \"donationToken\" : \"YOUR_DONATION_TOKEN\",\n \"donationOriginalPspReference\" : \"991559660454807J\",\n \"donationAccount\" : \"CHARITY_ACCOUNT\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"shopperInteraction\" : \"ContAuth\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/donations", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "donations" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Takes in the donation token generated by the `/payments` request and uses it to make the donation for the donation account specified in the request. For more information, see [Donations](https://docs.adyen.com/online-payments/donations)." - } + ] }, { "name": "Start a donation transaction with a token", "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"reference\" : \"YOUR_DONATION_REFERENCE\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"recurringDetailReference\" : \"7219687191761347\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"donationAccount\" : \"CHARITY_ACCOUNT\",\n \"shopperInteraction\" : \"ContAuth\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"recurringProcessingModel\" : \"CardOnFile\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/donations", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "donations" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Takes in the donation token generated by the `/payments` request and uses it to make the donation for the donation account specified in the request. For more information, see [Donations](https://docs.adyen.com/online-payments/donations)." - } + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"reference\" : \"YOUR_DONATION_REFERENCE\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"recurringDetailReference\" : \"7219687191761347\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"donationAccount\" : \"CHARITY_ACCOUNT\",\n \"shopperInteraction\" : \"ContAuth\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"recurringProcessingModel\" : \"CardOnFile\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/donations", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "donations" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Takes in the donation token generated by the `/payments` request and uses it to make the donation for the donation account specified in the request. For more information, see [Donations](https://docs.adyen.com/online-payments/donations)." +} + ,"response": [ + ] } ] } - ] }, { @@ -1162,104 +2140,221 @@ { "name": "Get a list of brands on a card", "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 + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"cardNumber\" : \"411111\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/cardDetails", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "cardDetails" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Send a request with at least the first 6 digits of the card number to get a response with an array of brands on the card. If you include [your supported brands](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__reqParam_supportedBrands) in the request, the response also tells you if you support each [brand that was identified](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__resParam_details). If you have an API-only integration and collect card data, use this endpoint to find out if the shopper's card is co-branded. For co-branded cards, you must let the shopper choose the brand to pay with if you support both brands. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"brands\" : [ {\n \"type\" : \"visa\",\n \"supported\" : true\n }, {\n \"type\" : \"cartebancaire\",\n \"supported\" : true\n } ]\n}", + "originalRequest": { + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"cardNumber\" : \"411111\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/cardDetails", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "cardDetails" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Send a request with at least the first 6 digits of the card number to get a response with an array of brands on the card. If you include [your supported brands](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__reqParam_supportedBrands) in the request, the response also tells you if you support each [brand that was identified](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__resParam_details). If you have an API-only integration and collect card data, use this endpoint to find out if the shopper's card is co-branded. For co-branded cards, you must let the shopper choose the brand to pay with if you support both brands. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"cardNumber\" : \"411111\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/cardDetails", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "cardDetails" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Send a request with at least the first 6 digits of the card number to get a response with an array of brands on the card. If you include [your supported brands](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__reqParam_supportedBrands) in the request, the response also tells you if you support each [brand that was identified](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__resParam_details). If you have an API-only integration and collect card data, use this endpoint to find out if the shopper's card is co-branded. For co-branded cards, you must let the shopper choose the brand to pay with if you support both brands. " - } + ] }, { "name": "Get a list of brands on a card specifying your supported card brands", "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 + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"cardNumber\" : \"411111\",\n \"supportedBrands\" : [ \"visa\", \"mc\", \"amex\" ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/cardDetails", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "cardDetails" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Send a request with at least the first 6 digits of the card number to get a response with an array of brands on the card. If you include [your supported brands](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__reqParam_supportedBrands) in the request, the response also tells you if you support each [brand that was identified](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__resParam_details). If you have an API-only integration and collect card data, use this endpoint to find out if the shopper's card is co-branded. For co-branded cards, you must let the shopper choose the brand to pay with if you support both brands. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"brands\" : [ {\n \"type\" : \"visa\",\n \"supported\" : true\n }, {\n \"type\" : \"cartebancaire\",\n \"supported\" : false\n } ]\n}", + "originalRequest": { + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"cardNumber\" : \"411111\",\n \"supportedBrands\" : [ \"visa\", \"mc\", \"amex\" ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/cardDetails", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "cardDetails" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Send a request with at least the first 6 digits of the card number to get a response with an array of brands on the card. If you include [your supported brands](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__reqParam_supportedBrands) in the request, the response also tells you if you support each [brand that was identified](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__resParam_details). If you have an API-only integration and collect card data, use this endpoint to find out if the shopper's card is co-branded. For co-branded cards, you must let the shopper choose the brand to pay with if you support both brands. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"cardNumber\" : \"411111\",\n \"supportedBrands\" : [ \"visa\", \"mc\", \"amex\" ]\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/cardDetails", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "cardDetails" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Send a request with at least the first 6 digits of the card number to get a response with an array of brands on the card. If you include [your supported brands](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__reqParam_supportedBrands) in the request, the response also tells you if you support each [brand that was identified](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__resParam_details). If you have an API-only integration and collect card data, use this endpoint to find out if the shopper's card is co-branded. For co-branded cards, you must let the shopper choose the brand to pay with if you support both brands. " - } + ] } ] - } -, + }, { "name": "/paymentMethods", "description": "Queries the available payment methods for a transaction based on the transaction context (like amount, country, and currency). Besides giving back a list of the available payment methods, the response also returns which input details you need to collect from the shopper (to be submitted to `/payments`). Although we highly recommend using this endpoint to ensure you are always offering the most up-to-date list of payment methods, its usage is optional. You can, for example, also cache the `/paymentMethods` response and update it once a week.", @@ -1267,153 +2362,329 @@ { "name": "Get available payment methods", "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 + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentMethods", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentMethods" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Queries the available payment methods for a transaction based on the transaction context (like amount, country, and currency). Besides giving back a list of the available payment methods, the response also returns which input details you need to collect from the shopper (to be submitted to `/payments`). Although we highly recommend using this endpoint to ensure you are always offering the most up-to-date list of payment methods, its usage is optional. You can, for example, also cache the `/paymentMethods` response and update it once a week." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"paymentMethods\" : [ {\n \"details\" : [ {\n \"details\" : [ {\n \"key\" : \"ownerName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"bankLocationId\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"bankAccountNumber\",\n \"type\" : \"text\"\n } ],\n \"key\" : \"bankAccount\",\n \"type\" : \"bankAccount\"\n } ],\n \"name\" : \"ACH Direct Debit\",\n \"type\" : \"ach\"\n }, {\n \"name\" : \"Adyen Voucher\",\n \"type\" : \"adyen_test_voucher\"\n }, {\n \"details\" : [ {\n \"details\" : [ {\n \"key\" : \"firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"lastName\",\n \"type\" : \"text\"\n }, {\n \"items\" : [ {\n \"id\" : \"M\",\n \"name\" : \"male\"\n }, {\n \"id\" : \"F\",\n \"name\" : \"female\"\n } ],\n \"key\" : \"gender\",\n \"type\" : \"radio\"\n }, {\n \"key\" : \"dateOfBirth\",\n \"type\" : \"date\"\n }, {\n \"key\" : \"telephoneNumber\",\n \"type\" : \"tel\"\n }, {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n } ],\n \"key\" : \"personalDetails\",\n \"type\" : \"fieldSet\"\n }, {\n \"details\" : [ {\n \"key\" : \"street\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"houseNumberOrName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"city\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"postalCode\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"stateOrProvince\",\n \"optional\" : true,\n \"type\" : \"text\"\n }, {\n \"items\" : [ {\n \"id\" : \"NL\",\n \"name\" : \"Netherlands\"\n }, {\n \"id\" : \"BE\",\n \"name\" : \"Belgium\"\n } ],\n \"key\" : \"country\",\n \"type\" : \"select\"\n } ],\n \"key\" : \"billingAddress\",\n \"type\" : \"address\"\n }, {\n \"key\" : \"separateDeliveryAddress\",\n \"optional\" : true,\n \"type\" : \"boolean\",\n \"value\" : \"false\"\n }, {\n \"details\" : [ {\n \"key\" : \"street\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"houseNumberOrName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"city\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"postalCode\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"stateOrProvince\",\n \"optional\" : true,\n \"type\" : \"text\"\n }, {\n \"items\" : [ {\n \"id\" : \"NL\",\n \"name\" : \"Netherlands\"\n }, {\n \"id\" : \"BE\",\n \"name\" : \"Belgium\"\n } ],\n \"key\" : \"country\",\n \"type\" : \"select\"\n } ],\n \"key\" : \"deliveryAddress\",\n \"optional\" : true,\n \"type\" : \"address\"\n } ],\n \"name\" : \"AfterPay Invoice\",\n \"type\" : \"afterpay_default\"\n }, {\n \"name\" : \"AfterPay DirectDebit\",\n \"type\" : \"afterpay_directdebit\"\n }, {\n \"name\" : \"Afterpay\",\n \"type\" : \"afterpaytouch\"\n }, {\n \"details\" : [ {\n \"key\" : \"encryptedCardNumber\",\n \"type\" : \"cardToken\"\n }, {\n \"key\" : \"encryptedSecurityCode\",\n \"type\" : \"cardToken\"\n }, {\n \"key\" : \"encryptedExpiryMonth\",\n \"type\" : \"cardToken\"\n }, {\n \"key\" : \"encryptedExpiryYear\",\n \"type\" : \"cardToken\"\n }, {\n \"key\" : \"holderName\",\n \"optional\" : true,\n \"type\" : \"text\"\n } ],\n \"name\" : \"Credit Card\",\n \"type\" : \"scheme\"\n }, {\n \"name\" : \"AliPay\",\n \"type\" : \"alipay\"\n }, {\n \"name\" : \"AliPay HK\",\n \"type\" : \"alipay_hk\"\n }, {\n \"name\" : \"AliPay\",\n \"type\" : \"alipay_wap\"\n }, {\n \"details\" : [ {\n \"key\" : \"additionalData.androidpay.token\",\n \"type\" : \"androidPayToken\"\n } ],\n \"name\" : \"Android Pay\",\n \"type\" : \"androidpay\"\n }, {\n \"details\" : [ {\n \"key\" : \"additionalData.applepay.token\",\n \"type\" : \"applePayToken\"\n } ],\n \"name\" : \"Apple Pay\",\n \"type\" : \"applepay\"\n }, {\n \"name\" : \"Credit Card via AsiaPay\",\n \"type\" : \"asiapay\"\n }, {\n \"name\" : \"China UnionPay\",\n \"type\" : \"asiapay_unionpay\"\n }, {\n \"name\" : \"Baby Gift Card\",\n \"type\" : \"babygiftcard\"\n }, {\n \"name\" : \"Baloto\",\n \"type\" : \"baloto\"\n }, {\n \"name\" : \"BancNet\",\n \"type\" : \"bancnet\"\n }, {\n \"name\" : \"Bank Transfer (BG)\",\n \"type\" : \"bankTransfer_BG\"\n }, {\n \"name\" : \"Bank Transfer (CH)\",\n \"type\" : \"bankTransfer_CH\"\n }, {\n \"name\" : \"Bank Transfer (DE)\",\n \"type\" : \"bankTransfer_DE\"\n }, {\n \"name\" : \"Bank Transfer (FI)\",\n \"type\" : \"bankTransfer_FI\"\n }, {\n \"name\" : \"Bank Transfer (GB)\",\n \"type\" : \"bankTransfer_GB\"\n }, {\n \"name\" : \"Bank Transfer (HU)\",\n \"type\" : \"bankTransfer_HU\"\n }, {\n \"name\" : \"SEPA Bank Transfer\",\n \"type\" : \"bankTransfer_IBAN\"\n }, {\n \"name\" : \"Bank Transfer (IE)\",\n \"type\" : \"bankTransfer_IE\"\n }, {\n \"name\" : \"Electronic Bank Transfer (MX)\",\n \"type\" : \"bankTransfer_MX_linked\"\n }, {\n \"name\" : \"Bank Transfer (MX)\",\n \"type\" : \"bankTransfer_MX_offline\"\n }, {\n \"name\" : \"Bank Transfer (NL)\",\n \"type\" : \"bankTransfer_NL\"\n }, {\n \"name\" : \"Bank Transfer (PL)\",\n \"type\" : \"bankTransfer_PL\"\n }, {\n \"name\" : \"Bank Transfer (SE)\",\n \"type\" : \"bankTransfer_SE\"\n }, {\n \"name\" : \"Bank Transfer (US)\",\n \"type\" : \"bankTransfer_US\"\n }, {\n \"name\" : \"Payconiq by Bancontact\",\n \"type\" : \"bcmc_mobile\"\n }, {\n \"name\" : \"Bijenkorf Cadeaucard\",\n \"type\" : \"bijcadeaucard\"\n }, {\n \"name\" : \"99Bill\",\n \"type\" : \"bill99\"\n }, {\n \"details\" : [ {\n \"items\" : [ {\n \"id\" : \"AUB_DIRECT\",\n \"name\" : \"AU Small Finance Bank\"\n }, {\n \"id\" : \"ALB_DIRECT\",\n \"name\" : \"Allahabad Bank \"\n }, {\n \"id\" : \"APG_DIRECT\",\n \"name\" : \"Andhra Pragathi Grameena Bank\"\n }, {\n \"id\" : \"BDN_DIRECT\",\n \"name\" : \"Bandhan bank\"\n }, {\n \"id\" : \"BBK_DIRECT\",\n \"name\" : \"Bank of Bahrain and Kuwait\"\n }, {\n \"id\" : \"BBR_DIRECT\",\n \"name\" : \"Bank of Baroda - Retail Banking\"\n }, {\n \"id\" : \"BCB_DIRECT\",\n \"name\" : \"Bassien Catholic Co-Operative Bank \"\n }, {\n \"id\" : \"CNB_DIRECT\",\n \"name\" : \"Canara Bank\"\n }, {\n \"id\" : \"SYD_DIRECT\",\n \"name\" : \"Canara Bank (e-Syndicate)\"\n }, {\n \"id\" : \"CSB_DIRECT\",\n \"name\" : \"Catholic Syrian Bank\"\n }, {\n \"id\" : \"CBI_DIRECT\",\n \"name\" : \"Central Bank of India\"\n }, {\n \"id\" : \"CUB_DIRECT\",\n \"name\" : \"City Union Bank\"\n }, {\n \"id\" : \"COB_DIRECT\",\n \"name\" : \"Cosmos Bank\"\n }, {\n \"id\" : \"DEN_DIRECT\",\n \"name\" : \"Dena Bank\"\n }, {\n \"id\" : \"DBK_DIRECT\",\n \"name\" : \"Deutsche Bank\"\n }, {\n \"id\" : \"DCB_DIRECT\",\n \"name\" : \"Development Credit Bank\"\n }, {\n \"id\" : \"DLB_DIRECT\",\n \"name\" : \"Dhanlakshmi Bank - Retail Net Banking\"\n }, {\n \"id\" : \"ESF_DIRECT\",\n \"name\" : \"ESAF Small Finance Bank\"\n }, {\n \"id\" : \"EQB_DIRECT\",\n \"name\" : \"Equitas Small Finance Bank\"\n }, {\n \"id\" : \"FBK_DIRECT\",\n \"name\" : \"Federal Bank\"\n }, {\n \"id\" : \"FNC_DIRECT\",\n \"name\" : \"Fincare Bank\"\n }, {\n \"id\" : \"HDF_DIRECT\",\n \"name\" : \"HDFC Bank\"\n }, {\n \"id\" : \"ICI_DIRECT\",\n \"name\" : \"ICICI Bank \"\n }, {\n \"id\" : \"IDB_DIRECT\",\n \"name\" : \"IDBI Bank - Retail Net Banking\"\n }, {\n \"id\" : \"IDN_DIRECT\",\n \"name\" : \"IDFC FIRST Bank\"\n }, {\n \"id\" : \"INB_DIRECT\",\n \"name\" : \"Indian Bank\"\n }, {\n \"id\" : \"IOB_DIRECT\",\n \"name\" : \"Indian Overseas Bank\"\n }, {\n \"id\" : \"IDS_DIRECT\",\n \"name\" : \"IndusInd Bank\"\n }, {\n \"id\" : \"JKB_DIRECT\",\n \"name\" : \"Jammu & Kashmir Bank\"\n }, {\n \"id\" : \"JNB_DIRECT\",\n \"name\" : \"Jana Small Finance Bank\"\n }, {\n \"id\" : \"JSB_DIRECT\",\n \"name\" : \"Janata Sahakari Bank Ltd Pune\"\n }, {\n \"id\" : \"KJB_DIRECT\",\n \"name\" : \"Kalyan Janata Sahakari Bank\"\n }, {\n \"id\" : \"KBL_DIRECT\",\n \"name\" : \"Karnataka Bank Ltd\"\n }, {\n \"id\" : \"KVB_DIRECT\",\n \"name\" : \"Karur Vysya Bank\"\n }, {\n \"id\" : \"162_DIRECT\",\n \"name\" : \"Kotak Bank\"\n }, {\n \"id\" : \"LVR_DIRECT\",\n \"name\" : \"Laxmi Vilas Bank - Retail\"\n }, {\n \"id\" : \"NKB_DIRECT\",\n \"name\" : \"NKGSB Co-op Bank\"\n }, {\n \"id\" : \"NEB_DIRECT\",\n \"name\" : \"North East Small Finance Bank\"\n }, {\n \"id\" : \"OBC_DIRECT\",\n \"name\" : \"PNB (Erstwhile-Oriental Bank of Commerce)\"\n }, {\n \"id\" : \"UNI_DIRECT\",\n \"name\" : \"PNB (Erstwhile-United Bank of India)\"\n }, {\n \"id\" : \"PMC_DIRECT\",\n \"name\" : \"Punjab & Maharastra Co-op Bank\"\n }, {\n \"id\" : \"PSB_DIRECT\",\n \"name\" : \"Punjab & Sind Bank\"\n }, {\n \"id\" : \"CPN_DIRECT\",\n \"name\" : \"Punjab National Bank - Corporate \"\n }, {\n \"id\" : \"PNB_DIRECT\",\n \"name\" : \"Punjab National Bank - Retail Banking\"\n }, {\n \"id\" : \"RBL_DIRECT\",\n \"name\" : \"RBL Bank Limited\"\n }, {\n \"id\" : \"SWB_DIRECT\",\n \"name\" : \"Saraswat Bank\"\n }, {\n \"id\" : \"SHB_DIRECT\",\n \"name\" : \"Shivalik Mercantile Cooperative Bank Ltd\"\n }, {\n \"id\" : \"SIB_DIRECT\",\n \"name\" : \"South Indian Bank\"\n }, {\n \"id\" : \"SCB_DIRECT\",\n \"name\" : \"Standard Chartered Bank\"\n }, {\n \"id\" : \"SBI_DIRECT\",\n \"name\" : \"State Bank of India\"\n }, {\n \"id\" : \"SRB_DIRECT\",\n \"name\" : \"Suryoday Small Finance Bank\"\n }, {\n \"id\" : \"TJB_DIRECT\",\n \"name\" : \"TJSB Bank\"\n }, {\n \"id\" : \"TNC_DIRECT\",\n \"name\" : \"Tamil Nadu State Co-operative Bank\"\n }, {\n \"id\" : \"TMB_DIRECT\",\n \"name\" : \"Tamilnad Mercantile Bank Ltd\"\n }, {\n \"id\" : \"TBB_DIRECT\",\n \"name\" : \"Thane Bharat Sahakari Bank Ltd\"\n }, {\n \"id\" : \"MSB_DIRECT\",\n \"name\" : \"The Mehsana Urban Co Op Bank Ltd\"\n }, {\n \"id\" : \"UCO_DIRECT\",\n \"name\" : \"UCO Bank\"\n }, {\n \"id\" : \"UBI_DIRECT\",\n \"name\" : \"Union Bank of India\"\n }, {\n \"id\" : \"ADB_DIRECT\",\n \"name\" : \"Union Bank of India (Erstwhile Andhra Bank)\"\n }, {\n \"id\" : \"CRP_DIRECT\",\n \"name\" : \"Union Bank of India (Erstwhile Corporation Bank)\"\n }, {\n \"id\" : \"VRB_DIRECT\",\n \"name\" : \"Varachha Co-operative Bank Limited\"\n }, {\n \"id\" : \"VJB_DIRECT\",\n \"name\" : \"Vijaya Bank\"\n }, {\n \"id\" : \"YBK_DIRECT\",\n \"name\" : \"Yes Bank\"\n }, {\n \"id\" : \"ZOB_DIRECT\",\n \"name\" : \"Zoroastrian Co-operative Bank Limited\"\n }, {\n \"id\" : \"DBS_DIRECT\",\n \"name\" : \"digibank by DBS\"\n } ],\n \"key\" : \"issuer\",\n \"type\" : \"select\"\n } ],\n \"name\" : \"Online Banking India\",\n \"type\" : \"billdesk_online\"\n }, {\n \"name\" : \"UPI\",\n \"type\" : \"billdesk_upi\"\n }, {\n \"details\" : [ {\n \"items\" : [ {\n \"id\" : \"DCW_DIRECT\",\n \"name\" : \"DCB Cippy\"\n }, {\n \"id\" : \"ICC_DIRECT\",\n \"name\" : \"ICC Cash Card\"\n }, {\n \"id\" : \"OXY_DIRECT\",\n \"name\" : \"Oxigen Wallet\"\n }, {\n \"id\" : \"PCH_DIRECT\",\n \"name\" : \"Pay World Money\"\n } ],\n \"key\" : \"issuer\",\n \"type\" : \"select\"\n } ],\n \"name\" : \"Wallets India\",\n \"type\" : \"billdesk_wallet\"\n }, {\n \"name\" : \"Blik\",\n \"type\" : \"blik\"\n }, {\n \"name\" : \"Bloemen Giftcard\",\n \"type\" : \"bloemengiftcard\"\n }, {\n \"name\" : \"Boekenbon Giftcard\",\n \"type\" : \"boekenbon\"\n }, {\n \"name\" : \"Boleto\",\n \"type\" : \"boleto\"\n }, {\n \"name\" : \"Boleto Bancario\",\n \"type\" : \"boletobancario_santander\"\n }, {\n \"name\" : \"Bradesco\",\n \"type\" : \"bradesco\"\n }, {\n \"name\" : \"Cash-Ticket\",\n \"type\" : \"cashticket\"\n }, {\n \"name\" : \"CashU\",\n \"type\" : \"cashu\"\n }, {\n \"name\" : \"CCAvenue\",\n \"type\" : \"ccavenue\"\n }, {\n \"name\" : \"Mula Checkout\",\n \"type\" : \"cellulant\"\n }, {\n \"name\" : \"Chasin Giftcard\",\n \"type\" : \"chasingiftcard\"\n }, {\n \"name\" : \"Clearpay\",\n \"type\" : \"clearpay\"\n }, {\n \"name\" : \"ClickandBuy\",\n \"type\" : \"clickandbuy\"\n }, {\n \"name\" : \"Paiement en 3 fois par Cartes Bancaires\",\n \"type\" : \"cofinoga_3xcb\"\n }, {\n \"name\" : \"Costes Giftcard\",\n \"type\" : \"costesgiftcard\"\n }, {\n \"name\" : \"custom_settlement\",\n \"type\" : \"custom_settlement\"\n }, {\n \"name\" : \"DANA\",\n \"type\" : \"dana\"\n }, {\n \"name\" : \"DineroMail\",\n \"type\" : \"dineromail\"\n }, {\n \"name\" : \"Online bank transfer.\",\n \"type\" : \"directEbanking\"\n }, {\n \"name\" : \"Direct Debit Brazil - Banco do Brazil\",\n \"type\" : \"directdebit_BR_bancodobrasil\"\n }, {\n \"name\" : \"Direct Debit Brazil - Bradesco\",\n \"type\" : \"directdebit_BR_bradesco\"\n }, {\n \"name\" : \"Direct Debit Brazil - Caixa Economica Federal\",\n \"type\" : \"directdebit_BR_caixa\"\n }, {\n \"name\" : \"Direct Debit Brazil - HSBC\",\n \"type\" : \"directdebit_BR_hsbc\"\n }, {\n \"name\" : \"Direct Debit Brazil - Itau\",\n \"type\" : \"directdebit_BR_itau\"\n }, {\n \"name\" : \"Direct Debit Brazil - Santander\",\n \"type\" : \"directdebit_BR_santander\"\n }, {\n \"name\" : \"BACS Direct Debit\",\n \"type\" : \"directdebit_GB\"\n }, {\n \"details\" : [ {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n }, {\n \"key\" : \"firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"lastName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"infix\",\n \"optional\" : true,\n \"type\" : \"text\"\n } ],\n \"name\" : \"Alfamart\",\n \"type\" : \"doku_alfamart\"\n }, {\n \"details\" : [ {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n }, {\n \"key\" : \"firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"lastName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"infix\",\n \"optional\" : true,\n \"type\" : \"text\"\n } ],\n \"name\" : \"BCA Bank Transfer\",\n \"type\" : \"doku_bca_va\"\n }, {\n \"details\" : [ {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n }, {\n \"key\" : \"firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"lastName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"infix\",\n \"optional\" : true,\n \"type\" : \"text\"\n } ],\n \"name\" : \"BNI VA\",\n \"type\" : \"doku_bni_va\"\n }, {\n \"details\" : [ {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n }, {\n \"key\" : \"firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"lastName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"infix\",\n \"optional\" : true,\n \"type\" : \"text\"\n } ],\n \"name\" : \"BRI VA\",\n \"type\" : \"doku_bri_va\"\n }, {\n \"details\" : [ {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n }, {\n \"key\" : \"firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"lastName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"infix\",\n \"optional\" : true,\n \"type\" : \"text\"\n } ],\n \"name\" : \"CIMB VA\",\n \"type\" : \"doku_cimb_va\"\n }, {\n \"details\" : [ {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n }, {\n \"key\" : \"firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"lastName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"infix\",\n \"optional\" : true,\n \"type\" : \"text\"\n } ],\n \"name\" : \"Danamon VA\",\n \"type\" : \"doku_danamon_va\"\n }, {\n \"details\" : [ {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n }, {\n \"key\" : \"firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"lastName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"infix\",\n \"optional\" : true,\n \"type\" : \"text\"\n } ],\n \"name\" : \"Indomaret\",\n \"type\" : \"doku_indomaret\"\n }, {\n \"details\" : [ {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n }, {\n \"key\" : \"firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"lastName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"infix\",\n \"optional\" : true,\n \"type\" : \"text\"\n } ],\n \"name\" : \"Mandiri VA\",\n \"type\" : \"doku_mandiri_va\"\n }, {\n \"details\" : [ {\n \"key\" : \"ovoId\",\n \"type\" : \"text\"\n } ],\n \"name\" : \"OVO\",\n \"type\" : \"doku_ovo\"\n }, {\n \"details\" : [ {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n }, {\n \"key\" : \"firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"lastName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"infix\",\n \"optional\" : true,\n \"type\" : \"text\"\n } ],\n \"name\" : \"Bank Transfer\",\n \"type\" : \"doku_permata_lite_atm\"\n }, {\n \"details\" : [ {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n }, {\n \"key\" : \"firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"lastName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"infix\",\n \"optional\" : true,\n \"type\" : \"text\"\n } ],\n \"name\" : \"DOKU wallet\",\n \"type\" : \"doku_wallet\"\n }, {\n \"details\" : [ {\n \"items\" : [ {\n \"id\" : \"66\",\n \"name\" : \"Bank Nowy BFG S.A.\"\n }, {\n \"id\" : \"92\",\n \"name\" : \"Bank Spółdzielczy w Brodnicy\"\n }, {\n \"id\" : \"11\",\n \"name\" : \"Bank transfer / postal\"\n }, {\n \"id\" : \"74\",\n \"name\" : \"Banki Spółdzielcze\"\n }, {\n \"id\" : \"73\",\n \"name\" : \"BLIK\"\n }, {\n \"id\" : \"90\",\n \"name\" : \"BNP Paribas - płacę z Pl@net\"\n }, {\n \"id\" : \"59\",\n \"name\" : \"CinkciarzPAY\"\n }, {\n \"id\" : \"87\",\n \"name\" : \"Credit Agricole PBL\"\n }, {\n \"id\" : \"83\",\n \"name\" : \"EnveloBank\"\n }, {\n \"id\" : \"76\",\n \"name\" : \"Getin Bank PBL\"\n }, {\n \"id\" : \"81\",\n \"name\" : \"Idea Cloud\"\n }, {\n \"id\" : \"7\",\n \"name\" : \"ING Corporate customers\"\n }, {\n \"id\" : \"93\",\n \"name\" : \"Kasa Stefczyka\"\n }, {\n \"id\" : \"44\",\n \"name\" : \"Millennium - Płatności Internetowe\"\n }, {\n \"id\" : \"10\",\n \"name\" : \"Millennium Corporate customers\"\n }, {\n \"id\" : \"68\",\n \"name\" : \"mRaty\"\n }, {\n \"id\" : \"1\",\n \"name\" : \"mTransfer\"\n }, {\n \"id\" : \"91\",\n \"name\" : \"Nest Bank\"\n }, {\n \"id\" : \"80\",\n \"name\" : \"Noble Pay\"\n }, {\n \"id\" : \"50\",\n \"name\" : \"Pay Way Toyota Bank\"\n }, {\n \"id\" : \"45\",\n \"name\" : \"Pay with Alior Bank\"\n }, {\n \"id\" : \"36\",\n \"name\" : \"Pekao24Przelew\"\n }, {\n \"id\" : \"70\",\n \"name\" : \"Pocztowy24\"\n }, {\n \"id\" : \"6\",\n \"name\" : \"Przelew24\"\n }, {\n \"id\" : \"46\",\n \"name\" : \"Płacę z Citi Handlowy\"\n }, {\n \"id\" : \"38\",\n \"name\" : \"Płacę z ING\"\n }, {\n \"id\" : \"2\",\n \"name\" : \"Płacę z Inteligo\"\n }, {\n \"id\" : \"4\",\n \"name\" : \"Płacę z iPKO\"\n }, {\n \"id\" : \"75\",\n \"name\" : \"Płacę z Plus Bank\"\n }, {\n \"id\" : \"51\",\n \"name\" : \"Płać z BOŚ\"\n }, {\n \"id\" : \"55\",\n \"name\" : \"Raty z Alior Bankiem PLN\"\n }, {\n \"id\" : \"89\",\n \"name\" : \"Santander\"\n }, {\n \"id\" : \"52\",\n \"name\" : \"SkyCash\"\n } ],\n \"key\" : \"issuer\",\n \"type\" : \"select\"\n } ],\n \"name\" : \"Local Polish Payment Methods\",\n \"type\" : \"dotpay\"\n }, {\n \"name\" : \"Dragonpay Prepaid Credits\",\n \"type\" : \"dragonpay_credits\"\n }, {\n \"name\" : \"Online Banking\",\n \"type\" : \"dragonpay_ebanking\"\n }, {\n \"name\" : \"GCash\",\n \"type\" : \"dragonpay_gcash\"\n }, {\n \"name\" : \"Over The Counter Banks\",\n \"type\" : \"dragonpay_otc_banking\"\n }, {\n \"name\" : \"OTC non-Bank via Dragonpay\",\n \"type\" : \"dragonpay_otc_non_banking\"\n }, {\n \"name\" : \"Convenience Stores\",\n \"type\" : \"dragonpay_otc_philippines\"\n }, {\n \"name\" : \"7/11\",\n \"type\" : \"dragonpay_seveneleven\"\n }, {\n \"name\" : \"eagleeye_voucher\",\n \"type\" : \"eagleeye_voucher\"\n }, {\n \"name\" : \"Finnish E-Banking\",\n \"type\" : \"ebanking_FI\"\n }, {\n \"name\" : \"Pay-easy ATM\",\n \"type\" : \"econtext_atm\"\n }, {\n \"name\" : \"Online Banking\",\n \"type\" : \"econtext_online\"\n }, {\n \"name\" : \"7-Eleven\",\n \"type\" : \"econtext_seven_eleven\"\n }, {\n \"name\" : \"Convenience Stores\",\n \"type\" : \"econtext_stores\"\n }, {\n \"name\" : \"eft_directdebit_CA\",\n \"type\" : \"eft_directdebit_CA\"\n }, {\n \"name\" : \"Lastschrift (ELV)\",\n \"type\" : \"elv\"\n }, {\n \"details\" : [ {\n \"items\" : [ {\n \"id\" : \"231\",\n \"name\" : \"POP Pankki\"\n }, {\n \"id\" : \"551\",\n \"name\" : \"Komerční banka\"\n }, {\n \"id\" : \"232\",\n \"name\" : \"Aktia\"\n }, {\n \"id\" : \"552\",\n \"name\" : \"Raiffeisen\"\n }, {\n \"id\" : \"233\",\n \"name\" : \"Säästöpankki\"\n }, {\n \"id\" : \"750\",\n \"name\" : \"Swedbank\"\n }, {\n \"id\" : \"211\",\n \"name\" : \"Nordea\"\n }, {\n \"id\" : \"553\",\n \"name\" : \"ČSOB\"\n }, {\n \"id\" : \"234\",\n \"name\" : \"S-Pankki\"\n }, {\n \"id\" : \"751\",\n \"name\" : \"SEB\"\n }, {\n \"id\" : \"554\",\n \"name\" : \"Moneta\"\n }, {\n \"id\" : \"235\",\n \"name\" : \"OmaSP\"\n }, {\n \"id\" : \"752\",\n \"name\" : \"Nordea\"\n }, {\n \"id\" : \"213\",\n \"name\" : \"Op-Pohjola\"\n }, {\n \"id\" : \"555\",\n \"name\" : \"UniCredit\"\n }, {\n \"id\" : \"753\",\n \"name\" : \"LHV\"\n }, {\n \"id\" : \"556\",\n \"name\" : \"Fio\"\n }, {\n \"id\" : \"557\",\n \"name\" : \"mBank\"\n }, {\n \"id\" : \"216\",\n \"name\" : \"Handelsbanken\"\n }, {\n \"id\" : \"558\",\n \"name\" : \"Air Bank\"\n }, {\n \"id\" : \"260\",\n \"name\" : \"Länsförsäkringar\"\n }, {\n \"id\" : \"240\",\n \"name\" : \"BankDeposit\"\n }, {\n \"id\" : \"265\",\n \"name\" : \"Sparbanken\"\n }, {\n \"id\" : \"640\",\n \"name\" : \"BankDeposit\"\n }, {\n \"id\" : \"200\",\n \"name\" : \"Ålandsbanken\"\n }, {\n \"id\" : \"940\",\n \"name\" : \"Swedbank\"\n }, {\n \"id\" : \"500\",\n \"name\" : \"Česká spořitelna\"\n }, {\n \"id\" : \"720\",\n \"name\" : \"Swedbank\"\n }, {\n \"id\" : \"941\",\n \"name\" : \"SEB\"\n }, {\n \"id\" : \"204\",\n \"name\" : \"Danske Bank\"\n }, {\n \"id\" : \"721\",\n \"name\" : \"SEB\"\n }, {\n \"id\" : \"942\",\n \"name\" : \"Citadele\"\n }, {\n \"id\" : \"205\",\n \"name\" : \"Handelsbanken\"\n }, {\n \"id\" : \"722\",\n \"name\" : \"DNB\"\n }, {\n \"id\" : \"943\",\n \"name\" : \"DNB\"\n }, {\n \"id\" : \"206\",\n \"name\" : \"Nordea\"\n }, {\n \"id\" : \"723\",\n \"name\" : \"Šiaulių bankas\"\n }, {\n \"id\" : \"207\",\n \"name\" : \"SEB\"\n }, {\n \"id\" : \"724\",\n \"name\" : \"Nordea\"\n }, {\n \"id\" : \"505\",\n \"name\" : \"Komerční banka\"\n }, {\n \"id\" : \"208\",\n \"name\" : \"Skandiabanken\"\n }, {\n \"id\" : \"209\",\n \"name\" : \"Swedbank\"\n } ],\n \"key\" : \"issuer\",\n \"type\" : \"select\"\n } ],\n \"name\" : \"Bank Payment\",\n \"type\" : \"entercash\"\n }, {\n \"name\" : \"Nationale Entertainment Card\",\n \"type\" : \"entertainmentcard\"\n }, {\n \"details\" : [ {\n \"items\" : [ {\n \"id\" : \"d5d5b133-1c0d-4c08-b2be-3c9b116dc326\",\n \"name\" : \"Dolomitenbank\"\n }, {\n \"id\" : \"ee9fc487-ebe0-486c-8101-17dce5141a67\",\n \"name\" : \"Raiffeissen Bankengruppe\"\n }, {\n \"id\" : \"6765e225-a0dc-4481-9666-e26303d4f221\",\n \"name\" : \"Hypo Tirol Bank AG\"\n }, {\n \"id\" : \"8b0bfeea-fbb0-4337-b3a1-0e25c0f060fc\",\n \"name\" : \"Sparda Bank Wien\"\n }, {\n \"id\" : \"1190c4d1-b37a-487e-9355-e0a067f54a9f\",\n \"name\" : \"Schoellerbank AG\"\n }, {\n \"id\" : \"e2e97aaa-de4c-4e18-9431-d99790773433\",\n \"name\" : \"Volksbank Gruppe\"\n }, {\n \"id\" : \"bb7d223a-17d5-48af-a6ef-8a2bf5a4e5d9\",\n \"name\" : \"Immo-Bank\"\n }, {\n \"id\" : \"e6819e7a-f663-414b-92ec-cf7c82d2f4e5\",\n \"name\" : \"Bank Austria\"\n }, {\n \"id\" : \"eff103e6-843d-48b7-a6e6-fbd88f511b11\",\n \"name\" : \"Easybank AG\"\n }, {\n \"id\" : \"25942cc9-617d-42a1-89ba-d1ab5a05770a\",\n \"name\" : \"VR-BankBraunau\"\n }, {\n \"id\" : \"4a0a975b-0594-4b40-9068-39f77b3a91f9\",\n \"name\" : \"Volkskreditbank\"\n }, {\n \"id\" : \"3fdc41fc-3d3d-4ee3-a1fe-cd79cfd58ea3\",\n \"name\" : \"Erste Bank und Sparkassen\"\n }, {\n \"id\" : \"ba7199cc-f057-42f2-9856-2378abf21638\",\n \"name\" : \"BAWAG P.S.K. Gruppe\"\n } ],\n \"key\" : \"issuer\",\n \"type\" : \"select\"\n } ],\n \"name\" : \"EPS\",\n \"type\" : \"eps\"\n }, {\n \"name\" : \"Expert Cadeaukaart\",\n \"type\" : \"expertgiftcard\"\n }, {\n \"details\" : [ {\n \"details\" : [ {\n \"key\" : \"firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"lastName\",\n \"type\" : \"text\"\n }, {\n \"items\" : [ {\n \"id\" : \"M\",\n \"name\" : \"male\"\n }, {\n \"id\" : \"F\",\n \"name\" : \"female\"\n } ],\n \"key\" : \"gender\",\n \"type\" : \"radio\"\n }, {\n \"key\" : \"telephoneNumber\",\n \"type\" : \"tel\"\n }, {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n } ],\n \"key\" : \"personalDetails\",\n \"type\" : \"fieldSet\"\n }, {\n \"details\" : [ {\n \"key\" : \"street\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"houseNumberOrName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"city\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"postalCode\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"stateOrProvince\",\n \"optional\" : true,\n \"type\" : \"text\"\n }, {\n \"items\" : [ {\n \"id\" : \"FR\",\n \"name\" : \"France\"\n }, {\n \"id\" : \"ES\",\n \"name\" : \"Spain\"\n } ],\n \"key\" : \"country\",\n \"type\" : \"select\"\n } ],\n \"key\" : \"billingAddress\",\n \"type\" : \"address\"\n }, {\n \"key\" : \"separateDeliveryAddress\",\n \"optional\" : true,\n \"type\" : \"boolean\",\n \"value\" : \"false\"\n }, {\n \"details\" : [ {\n \"key\" : \"street\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"houseNumberOrName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"city\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"postalCode\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"stateOrProvince\",\n \"optional\" : true,\n \"type\" : \"text\"\n }, {\n \"items\" : [ {\n \"id\" : \"FR\",\n \"name\" : \"France\"\n }, {\n \"id\" : \"ES\",\n \"name\" : \"Spain\"\n } ],\n \"key\" : \"country\",\n \"type\" : \"select\"\n } ],\n \"key\" : \"deliveryAddress\",\n \"optional\" : true,\n \"type\" : \"address\"\n } ],\n \"name\" : \"3x Oney\",\n \"type\" : \"facilypay_3x\"\n }, {\n \"details\" : [ {\n \"details\" : [ {\n \"key\" : \"firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"lastName\",\n \"type\" : \"text\"\n }, {\n \"items\" : [ {\n \"id\" : \"M\",\n \"name\" : \"male\"\n }, {\n \"id\" : \"F\",\n \"name\" : \"female\"\n } ],\n \"key\" : \"gender\",\n \"type\" : \"radio\"\n }, {\n \"key\" : \"telephoneNumber\",\n \"type\" : \"tel\"\n }, {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n } ],\n \"key\" : \"personalDetails\",\n \"type\" : \"fieldSet\"\n }, {\n \"details\" : [ {\n \"key\" : \"street\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"houseNumberOrName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"city\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"postalCode\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"stateOrProvince\",\n \"optional\" : true,\n \"type\" : \"text\"\n }, {\n \"items\" : [ {\n \"id\" : \"FR\",\n \"name\" : \"France\"\n }, {\n \"id\" : \"ES\",\n \"name\" : \"Spain\"\n } ],\n \"key\" : \"country\",\n \"type\" : \"select\"\n } ],\n \"key\" : \"billingAddress\",\n \"type\" : \"address\"\n }, {\n \"key\" : \"separateDeliveryAddress\",\n \"optional\" : true,\n \"type\" : \"boolean\",\n \"value\" : \"false\"\n }, {\n \"details\" : [ {\n \"key\" : \"street\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"houseNumberOrName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"city\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"postalCode\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"stateOrProvince\",\n \"optional\" : true,\n \"type\" : \"text\"\n }, {\n \"items\" : [ {\n \"id\" : \"FR\",\n \"name\" : \"France\"\n }, {\n \"id\" : \"ES\",\n \"name\" : \"Spain\"\n } ],\n \"key\" : \"country\",\n \"type\" : \"select\"\n } ],\n \"key\" : \"deliveryAddress\",\n \"optional\" : true,\n \"type\" : \"address\"\n } ],\n \"name\" : \"4x Oney\",\n \"type\" : \"facilypay_4x\"\n }, {\n \"name\" : \"Fashioncheque\",\n \"type\" : \"fashioncheque\"\n }, {\n \"details\" : [ {\n \"key\" : \"shopper.firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"shopper.lastName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"shopper.gender\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n }, {\n \"key\" : \"telephoneNumber\",\n \"type\" : \"tel\"\n }, {\n \"key\" : \"countryCode\",\n \"type\" : \"text\"\n } ],\n \"name\" : \"Fawry\",\n \"type\" : \"fawry\"\n }, {\n \"name\" : \"FijnCadeau\",\n \"type\" : \"fijncadeau\"\n }, {\n \"name\" : \"Fleurop Bloemenbon\",\n \"type\" : \"fleuropbloemenbon\"\n }, {\n \"name\" : \"Fonq Giftcard\",\n \"type\" : \"fonqgiftcard\"\n }, {\n \"name\" : \"Gall & Gall\",\n \"type\" : \"gallgall\"\n }, {\n \"name\" : \"GCash\",\n \"type\" : \"gcash\"\n }, {\n \"name\" : \"Generic GiftCard\",\n \"type\" : \"genericgiftcard\"\n }, {\n \"name\" : \"GiftFor2\",\n \"type\" : \"giftfor2card\"\n }, {\n \"name\" : \"Givex\",\n \"type\" : \"givex\"\n }, {\n \"name\" : \"Globe GCash\",\n \"type\" : \"globegcash\"\n }, {\n \"name\" : \"Goldsmiths Card\",\n \"type\" : \"goldsmithscard\"\n }, {\n \"name\" : \"GoPay Wallet\",\n \"type\" : \"gopay_wallet\"\n }, {\n \"name\" : \"OVO\",\n \"type\" : \"grabpay_ID\"\n }, {\n \"name\" : \"GrabPay\",\n \"type\" : \"grabpay_PH\"\n }, {\n \"name\" : \"GrabPay\",\n \"type\" : \"grabpay_SG\"\n }, {\n \"name\" : \"Hallmark Card\",\n \"type\" : \"hallmarkcard\"\n }, {\n \"name\" : \"HDFC\",\n \"type\" : \"hdfc\"\n }, {\n \"name\" : \"Hunkemoller Member Card\",\n \"type\" : \"hmclub\"\n }, {\n \"name\" : \"Hunkemoller Lingerie Card\",\n \"type\" : \"hmlingerie\"\n }, {\n \"details\" : [ {\n \"items\" : [ {\n \"id\" : \"1121\",\n \"name\" : \"Test Issuer\"\n }, {\n \"id\" : \"1154\",\n \"name\" : \"Test Issuer 5\"\n }, {\n \"id\" : \"1153\",\n \"name\" : \"Test Issuer 4\"\n }, {\n \"id\" : \"1152\",\n \"name\" : \"Test Issuer 3\"\n }, {\n \"id\" : \"1151\",\n \"name\" : \"Test Issuer 2\"\n }, {\n \"id\" : \"1162\",\n \"name\" : \"Test Issuer Cancelled\"\n }, {\n \"id\" : \"1161\",\n \"name\" : \"Test Issuer Pending\"\n }, {\n \"id\" : \"1160\",\n \"name\" : \"Test Issuer Refused\"\n }, {\n \"id\" : \"1159\",\n \"name\" : \"Test Issuer 10\"\n }, {\n \"id\" : \"1158\",\n \"name\" : \"Test Issuer 9\"\n }, {\n \"id\" : \"1157\",\n \"name\" : \"Test Issuer 8\"\n }, {\n \"id\" : \"1156\",\n \"name\" : \"Test Issuer 7\"\n }, {\n \"id\" : \"1155\",\n \"name\" : \"Test Issuer 6\"\n } ],\n \"key\" : \"issuer\",\n \"type\" : \"select\"\n } ],\n \"name\" : \"iDEAL\",\n \"type\" : \"ideal\"\n }, {\n \"name\" : \"igive\",\n \"type\" : \"igive\"\n }, {\n \"name\" : \"Korean Account Transfer (IniPay)\",\n \"type\" : \"inicisIniPay_accounttransfer\"\n }, {\n \"name\" : \"Korean Credit Cards (IniPay)\",\n \"type\" : \"inicisIniPay_creditcard\"\n }, {\n \"name\" : \"Korean Mobile Phone (IniPay)\",\n \"type\" : \"inicisIniPay_mobilephone\"\n }, {\n \"name\" : \"Korean Virtual Account (IniPay)\",\n \"type\" : \"inicisIniPay_virtualaccount\"\n }, {\n \"name\" : \"Korean Account Transfer (Mobile)\",\n \"type\" : \"inicisMobile_accounttransfer\"\n }, {\n \"name\" : \"Korean Credit Cards (Mobile)\",\n \"type\" : \"inicisMobile_creditcard\"\n }, {\n \"name\" : \"Korean Mobile Phone (Mobile)\",\n \"type\" : \"inicisMobile_mobilephone\"\n }, {\n \"name\" : \"Korean Virtual Account (Mobile)\",\n \"type\" : \"inicisMobile_virtualaccount\"\n }, {\n \"name\" : \"Korean Credit Cards\",\n \"type\" : \"inicis_creditcard\"\n }, {\n \"name\" : \"Interac® Online\",\n \"type\" : \"interac\"\n }, {\n \"name\" : \"Instant EFT\",\n \"type\" : \"ipay\"\n }, {\n \"name\" : \"iPay88\",\n \"type\" : \"ipay88\"\n }, {\n \"name\" : \"isracard\",\n \"type\" : \"isracard\"\n }, {\n \"name\" : \"Phone Payment\",\n \"type\" : \"ivr\"\n }, {\n \"name\" : \"Landline phone\",\n \"type\" : \"ivrLandline\"\n }, {\n \"name\" : \"Mobile phone\",\n \"type\" : \"ivrMobile\"\n }, {\n \"name\" : \"Kado Wereld\",\n \"type\" : \"kadowereld\"\n }, {\n \"name\" : \"KakaoPay\",\n \"type\" : \"kakaopay\"\n }, {\n \"name\" : \"Karen Millen Card\",\n \"type\" : \"karenmillen\"\n }, {\n \"name\" : \"Karen Millen GiftCard\",\n \"type\" : \"karenmillengiftcard\"\n }, {\n \"name\" : \"Bank Transfer\",\n \"type\" : \"kcp_banktransfer\"\n }, {\n \"name\" : \"Korea–issued cards\",\n \"type\" : \"kcp_creditcard\"\n }, {\n \"name\" : \"PayCo\",\n \"type\" : \"kcp_payco\"\n }, {\n \"name\" : \"Naver Pay\",\n \"type\" : \"kcp_naverpay\"\n }, {\n \"name\" : \"Virtual Account via KCP\",\n \"type\" : \"kcp_va\"\n }, {\n \"name\" : \"Pay later with Klarna.\",\n \"type\" : \"klarna\"\n }, {\n \"name\" : \"Pay over time with Klarna.\",\n \"type\" : \"klarna_account\"\n }, {\n \"name\" : \"Buy Now, Pay Later with Billie\",\n \"type\" : \"klarna_b2b\"\n }, {\n \"name\" : \"Pay now with Klarna.\",\n \"type\" : \"klarna_paynow\"\n }, {\n \"name\" : \"Leisure Card\",\n \"type\" : \"leisurecard\"\n }, {\n \"name\" : \"China Credit Card\",\n \"type\" : \"lianlianpay_creditcard\"\n }, {\n \"name\" : \"China Debit Card\",\n \"type\" : \"lianlianpay_debitcard\"\n }, {\n \"details\" : [ {\n \"key\" : \"telephoneNumber\",\n \"type\" : \"tel\"\n } ],\n \"name\" : \"China Online Banking - Credit Card\",\n \"type\" : \"lianlianpay_ebanking_credit\"\n }, {\n \"details\" : [ {\n \"items\" : [ {\n \"id\" : \"01030000\",\n \"name\" : \"Agricultural Bank of China\"\n }, {\n \"id\" : \"4031000\",\n \"name\" : \"Bank of Beijing\"\n }, {\n \"id\" : \"01040000\",\n \"name\" : \"Bank of China\"\n }, {\n \"id\" : \"03020000\",\n \"name\" : \"China Citic Bank\"\n }, {\n \"id\" : \"01050000\",\n \"name\" : \"China Construction Bank\"\n }, {\n \"id\" : \"03030000\",\n \"name\" : \"China Everbright Bank\"\n }, {\n \"id\" : \"03080000\",\n \"name\" : \"China Merchants Bank\"\n }, {\n \"id\" : \"03050000\",\n \"name\" : \"China Minsheng Banking Group\"\n }, {\n \"id\" : \"03040000\",\n \"name\" : \"Hua Xia Bank Co\"\n }, {\n \"id\" : \"01020000\",\n \"name\" : \"Industrial and Commercial Bank of China\"\n }, {\n \"id\" : \"03070000\",\n \"name\" : \"PingAn Bank\"\n }, {\n \"id\" : \"1000000\",\n \"name\" : \"Postal Savings Bank of China\"\n } ],\n \"key\" : \"issuer\",\n \"type\" : \"select\"\n }, {\n \"key\" : \"telephoneNumber\",\n \"type\" : \"tel\"\n } ],\n \"name\" : \"China Online Banking - Debit Card\",\n \"type\" : \"lianlianpay_ebanking_debit\"\n }, {\n \"details\" : [ {\n \"items\" : [ {\n \"id\" : \"01030000\",\n \"name\" : \"Agricultural Bank of China\"\n }, {\n \"id\" : \"01050000\",\n \"name\" : \"China Construction Bank\"\n }, {\n \"id\" : \"03080000\",\n \"name\" : \"China Merchants Bank\"\n }, {\n \"id\" : \"01020000\",\n \"name\" : \"Industrial and Commercial Bank of China\"\n }, {\n \"id\" : \"03100000\",\n \"name\" : \"Shanghai Pudong Development Bank\"\n } ],\n \"key\" : \"issuer\",\n \"type\" : \"select\"\n }, {\n \"key\" : \"telephoneNumber\",\n \"type\" : \"tel\"\n } ],\n \"name\" : \"China Online Banking - Enterprise\",\n \"type\" : \"lianlianpay_ebanking_enterprise\"\n }, {\n \"name\" : \"Loods5 Cadeaukaart\",\n \"type\" : \"loods5giftcard\"\n }, {\n \"name\" : \"Loods5 Tegoedbon\",\n \"type\" : \"loods5prepaidcard\"\n }, {\n \"name\" : \"Love2Shop GiftCard\",\n \"type\" : \"love2shop\"\n }, {\n \"details\" : [ {\n \"key\" : \"shopper.firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"shopper.lastName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"shopper.gender\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n }, {\n \"key\" : \"telephoneNumber\",\n \"type\" : \"tel\"\n }, {\n \"key\" : \"countryCode\",\n \"type\" : \"text\"\n } ],\n \"name\" : \"mada\",\n \"type\" : \"mada\"\n }, {\n \"name\" : \"Mappin & Webb Card\",\n \"type\" : \"mappinwebbcard\"\n }, {\n \"name\" : \"MB WAY\",\n \"type\" : \"mbway\"\n }, {\n \"details\" : [ {\n \"key\" : \"additionalData.amazonPayToken\",\n \"type\" : \"text\"\n } ],\n \"name\" : \"Amazon Pay\",\n \"type\" : \"amazonpay\"\n }, {\n \"name\" : \"Mercado Pago\",\n \"type\" : \"mercadopago\"\n }, {\n \"name\" : \"MobilePay\",\n \"type\" : \"mobilepay\"\n }, {\n \"name\" : \"AliPay via Razer Merchant Services\",\n \"type\" : \"molpay_alipay\"\n }, {\n \"name\" : \"7-Eleven\",\n \"type\" : \"molpay_cash\"\n }, {\n \"name\" : \"CIMB Virtual Account\",\n \"type\" : \"molpay_cimb_va\"\n }, {\n \"name\" : \"Malaysia E-Banking via Razer Merchant Services\",\n \"type\" : \"molpay_ebanking_MY\"\n }, {\n \"details\" : [ {\n \"items\" : [ {\n \"id\" : \"vtcpay-vietinbank\",\n \"name\" : \"Vietinbank\"\n }, {\n \"id\" : \"vtcpay-bidv\",\n \"name\" : \"BIDV\"\n }, {\n \"id\" : \"vtcpay-agribank\",\n \"name\" : \"Agribank\"\n }, {\n \"id\" : \"vtcpay-mb\",\n \"name\" : \"MB Bank\"\n }, {\n \"id\" : \"vtcpay-sacombank\",\n \"name\" : \"Sacombank\"\n }, {\n \"id\" : \"vtcpay-dongabank\",\n \"name\" : \"DongABank\"\n }, {\n \"id\" : \"vtcpay-maritimebank\",\n \"name\" : \"MaritimeBank\"\n }, {\n \"id\" : \"vtcpay-vietcombank\",\n \"name\" : \"Vietcombank\"\n }, {\n \"id\" : \"vtcpay-acb\",\n \"name\" : \"ACB\"\n }, {\n \"id\" : \"vtcpay-techcombank\",\n \"name\" : \"Techcombank\"\n } ],\n \"key\" : \"issuer\",\n \"type\" : \"select\"\n } ],\n \"name\" : \"Vietnam E-Banking\",\n \"type\" : \"molpay_ebanking_VN\"\n }, {\n \"details\" : [ {\n \"items\" : [ {\n \"id\" : \"fpx_bimb\",\n \"name\" : \"Bank Islam\"\n }, {\n \"id\" : \"fpx_uob\",\n \"name\" : \"UOB Bank\"\n }, {\n \"id\" : \"fpx_cimbclicks\",\n \"name\" : \"CIMB Clicks\"\n }, {\n \"id\" : \"fpx_kfh\",\n \"name\" : \"Kuwait Finance House\"\n }, {\n \"id\" : \"fpx_rhb\",\n \"name\" : \"RHB Now\"\n }, {\n \"id\" : \"fpx_abmb\",\n \"name\" : \"Alliance Bank\"\n }, {\n \"id\" : \"fpx_amb\",\n \"name\" : \"Am Online\"\n }, {\n \"id\" : \"fpx_hsbc\",\n \"name\" : \"HSBC\"\n }, {\n \"id\" : \"fpx_abb\",\n \"name\" : \"Affin Bank\"\n }, {\n \"id\" : \"fpx_ocbc\",\n \"name\" : \"OCBC Bank\"\n }, {\n \"id\" : \"fpx_pbb\",\n \"name\" : \"Public Bank\"\n }, {\n \"id\" : \"fpx_scb\",\n \"name\" : \"Standard Chartered Bank\"\n }, {\n \"id\" : \"fpx_bsn\",\n \"name\" : \"Bank Simpanan Nasional\"\n }, {\n \"id\" : \"fpx_mb2u\",\n \"name\" : \"Maybank2u\"\n }, {\n \"id\" : \"fpx_hlb\",\n \"name\" : \"Hong Leong Connect\"\n }, {\n \"id\" : \"fpx_bmmb\",\n \"name\" : \"Bank Muamalat\"\n }, {\n \"id\" : \"fpx_bkrm\",\n \"name\" : \"Bank Rakyat\"\n } ],\n \"key\" : \"issuer\",\n \"type\" : \"select\"\n } ],\n \"name\" : \"Malaysia E-Banking\",\n \"type\" : \"molpay_ebanking_fpx_MY\"\n }, {\n \"name\" : \"eNETS Debit\",\n \"type\" : \"molpay_enetsd\"\n }, {\n \"name\" : \"epay\",\n \"type\" : \"molpay_epay\"\n }, {\n \"name\" : \"Esapay\",\n \"type\" : \"molpay_esapay\"\n }, {\n \"name\" : \"MyClear FPX\",\n \"type\" : \"molpay_fpx\"\n }, {\n \"name\" : \"Maybank2u\",\n \"type\" : \"molpay_maybank2u\"\n }, {\n \"name\" : \"Nganluong\",\n \"type\" : \"molpay_nganluong\"\n }, {\n \"name\" : \"Convenience Stores Thailand\",\n \"type\" : \"molpay_paysbuy\"\n }, {\n \"name\" : \"MOLPoints\",\n \"type\" : \"molpay_points\"\n }, {\n \"name\" : \"RHB Now\",\n \"type\" : \"molpay_rhb\"\n }, {\n \"name\" : \"SAM by SingPost\",\n \"type\" : \"molpay_singpost\"\n }, {\n \"name\" : \"MOLWallet\",\n \"type\" : \"molpay_wallet\"\n }, {\n \"name\" : \"MoMo ATM\",\n \"type\" : \"momo_atm\"\n }, {\n \"name\" : \"Momo Wallet\",\n \"type\" : \"momo_wallet\"\n }, {\n \"name\" : \"Moneybookers\",\n \"type\" : \"moneybookers\"\n }, {\n \"name\" : \"Multibanco\",\n \"type\" : \"multibanco\"\n }, {\n \"name\" : \"De Nationale Musicalcard\",\n \"type\" : \"musicalcard\"\n }, {\n \"name\" : \"Nationale Bioscoopbon\",\n \"type\" : \"nationalebioscoopbon\"\n }, {\n \"name\" : \"Nationale Tuinbon\",\n \"type\" : \"nationaletuinbon\"\n }, {\n \"name\" : \"Nationale Verwen Cadeaubon\",\n \"type\" : \"nationaleverwencadeaubon\"\n }, {\n \"name\" : \"BankAxess\",\n \"type\" : \"netaxept_bankaxess\"\n }, {\n \"name\" : \"NETELLER\",\n \"type\" : \"neteller\"\n }, {\n \"name\" : \"Onebip\",\n \"type\" : \"onebip\"\n }, {\n \"name\" : \"One Two Three\",\n \"type\" : \"onetwothree\"\n }, {\n \"name\" : \"Online Banking PL\",\n \"type\" : \"onlineBanking_PL\"\n }, {\n \"details\" : [ {\n \"items\" : [ {\n \"id\" : \"1\",\n \"name\" : \"Model Bank v2\"\n } ],\n \"key\" : \"issuer\",\n \"type\" : \"select\"\n } ],\n \"name\" : \"Online banking\",\n \"type\" : \"openbanking_UK\"\n }, {\n \"name\" : \"Oxxo\",\n \"type\" : \"oxxo\"\n }, {\n \"name\" : \"Pathe Giftcard\",\n \"type\" : \"pathegiftcard\"\n }, {\n \"name\" : \"PayBright\",\n \"type\" : \"paybright\"\n }, {\n \"name\" : \"Maya Wallet\",\n \"type\" : \"paymaya_wallet\"\n }, {\n \"name\" : \"PayPal\",\n \"type\" : \"paypal\"\n }, {\n \"name\" : \"Paysafecard\",\n \"type\" : \"paysafecard\"\n }, {\n \"name\" : \"Payshop\",\n \"type\" : \"payshop\"\n }, {\n \"name\" : \"PayD AMT via Paythru\",\n \"type\" : \"paythru_amt\"\n }, {\n \"name\" : \"EFT via Paythru\",\n \"type\" : \"paythru_eft\"\n }, {\n \"name\" : \"PayTM\",\n \"type\" : \"paytm\"\n }, {\n \"details\" : [ {\n \"key\" : \"virtualPaymentAddress\",\n \"type\" : \"text\"\n } ],\n \"name\" : \"PayU UPI\",\n \"type\" : \"payu_IN_upi\"\n }, {\n \"name\" : \"EFT Pro via PayU\",\n \"type\" : \"payu_ZA_eftpro\"\n }, {\n \"details\" : [ {\n \"key\" : \"additionalData.paywithgoogle.token\",\n \"type\" : \"payWithGoogleToken\"\n } ],\n \"name\" : \"Google Pay\",\n \"type\" : \"paywithgoogle\"\n }, {\n \"name\" : \"pix\",\n \"type\" : \"pix\"\n }, {\n \"name\" : \"Plastix\",\n \"type\" : \"plastix\"\n }, {\n \"name\" : \"Pluim\",\n \"type\" : \"pluimgiftcard\"\n }, {\n \"name\" : \"Podium Card\",\n \"type\" : \"podiumcard\"\n }, {\n \"name\" : \"POLi\",\n \"type\" : \"poli\"\n }, {\n \"name\" : \"PPS\",\n \"type\" : \"pps\"\n }, {\n \"name\" : \"Primera Cadeaukaart\",\n \"type\" : \"primeracadeaucard\"\n }, {\n \"name\" : \"Illicado Gift Card\",\n \"type\" : \"prosodie_illicado\"\n }, {\n \"name\" : \"PSE\",\n \"type\" : \"pse\"\n }, {\n \"details\" : [ {\n \"items\" : [ {\n \"id\" : \"+7\",\n \"name\" : \"RU\"\n }, {\n \"id\" : \"+9955\",\n \"name\" : \"GE\"\n }, {\n \"id\" : \"+507\",\n \"name\" : \"PA\"\n }, {\n \"id\" : \"+44\",\n \"name\" : \"GB\"\n }, {\n \"id\" : \"+992\",\n \"name\" : \"TJ\"\n }, {\n \"id\" : \"+370\",\n \"name\" : \"LT\"\n }, {\n \"id\" : \"+972\",\n \"name\" : \"IL\"\n }, {\n \"id\" : \"+996\",\n \"name\" : \"KG\"\n }, {\n \"id\" : \"+380\",\n \"name\" : \"UA\"\n }, {\n \"id\" : \"+84\",\n \"name\" : \"VN\"\n }, {\n \"id\" : \"+90\",\n \"name\" : \"TR\"\n }, {\n \"id\" : \"+994\",\n \"name\" : \"AZ\"\n }, {\n \"id\" : \"+374\",\n \"name\" : \"AM\"\n }, {\n \"id\" : \"+371\",\n \"name\" : \"LV\"\n }, {\n \"id\" : \"+91\",\n \"name\" : \"IN\"\n }, {\n \"id\" : \"+66\",\n \"name\" : \"TH\"\n }, {\n \"id\" : \"+373\",\n \"name\" : \"MD\"\n }, {\n \"id\" : \"+1\",\n \"name\" : \"US\"\n }, {\n \"id\" : \"+81\",\n \"name\" : \"JP\"\n }, {\n \"id\" : \"+998\",\n \"name\" : \"UZ\"\n }, {\n \"id\" : \"+77\",\n \"name\" : \"KZ\"\n }, {\n \"id\" : \"+375\",\n \"name\" : \"BY\"\n }, {\n \"id\" : \"+372\",\n \"name\" : \"EE\"\n }, {\n \"id\" : \"+40\",\n \"name\" : \"RO\"\n }, {\n \"id\" : \"+82\",\n \"name\" : \"KR\"\n } ],\n \"key\" : \"qiwiwallet.telephoneNumberPrefix\",\n \"type\" : \"select\"\n }, {\n \"key\" : \"qiwiwallet.telephoneNumber\",\n \"type\" : \"text\"\n } ],\n \"name\" : \"Qiwi Wallet\",\n \"type\" : \"qiwiwallet\"\n }, {\n \"name\" : \"RatePay Invoice\",\n \"type\" : \"ratepay\"\n }, {\n \"name\" : \"RatePay Direct Debit\",\n \"type\" : \"ratepay_directdebit\"\n }, {\n \"name\" : \"Rituals Giftcard\",\n \"type\" : \"rituals\"\n }, {\n \"name\" : \"Rob Peetoom Giftcard\",\n \"type\" : \"robpeetoomgiftcard\"\n }, {\n \"name\" : \"SafetyPay\",\n \"type\" : \"safetypay\"\n }, {\n \"name\" : \"SafetyPay Cash\",\n \"type\" : \"safetypay_cash\"\n }, {\n \"name\" : \"Shoes&Accessories Cadeau\",\n \"type\" : \"sagiftcard\"\n }, {\n \"name\" : \"Score Giftcard\",\n \"type\" : \"scoregiftcard\"\n }, {\n \"name\" : \"SEB Direktbetalning\",\n \"type\" : \"sebdirectpayment\"\n }, {\n \"details\" : [ {\n \"key\" : \"sepa.ownerName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"sepa.ibanNumber\",\n \"type\" : \"text\"\n } ],\n \"name\" : \"SEPA Direct Debit\",\n \"type\" : \"sepadirectdebit\"\n }, {\n \"name\" : \"7-Eleven\",\n \"type\" : \"seveneleven\"\n }, {\n \"name\" : \"Premium SMS\",\n \"type\" : \"sms\"\n }, {\n \"name\" : \"SVS\",\n \"type\" : \"svs\"\n }, {\n \"name\" : \"Swish\",\n \"type\" : \"swish\"\n }, {\n \"name\" : \"TCS Test GiftCard\",\n \"type\" : \"tcstestgiftcard\"\n }, {\n \"name\" : \"TenPay\",\n \"type\" : \"tenpay\"\n }, {\n \"name\" : \"The Sting Giftcard\",\n \"type\" : \"thestinggiftcard\"\n }, {\n \"name\" : \"TrueMoney\",\n \"type\" : \"truemoney\"\n }, {\n \"name\" : \"Trustly\",\n \"type\" : \"trustly\"\n }, {\n \"name\" : \"Online Banking by Trustpay\",\n \"type\" : \"trustpay\"\n }, {\n \"name\" : \"TWINT\",\n \"type\" : \"twint\"\n }, {\n \"name\" : \"Ukash\",\n \"type\" : \"ukash\"\n }, {\n \"name\" : \"UnionPay\",\n \"type\" : \"unionpay\"\n }, {\n \"details\" : [ {\n \"key\" : \"virtualPaymentAddress\",\n \"type\" : \"text\"\n } ],\n \"name\" : \"UPI Collect\",\n \"type\" : \"upi_collect\"\n }, {\n \"name\" : \"Valuelink\",\n \"type\" : \"valuelink\"\n }, {\n \"name\" : \"V&D Cadeaukaart\",\n \"type\" : \"vdcadeaucard\"\n }, {\n \"details\" : [ {\n \"key\" : \"telephoneNumber\",\n \"optional\" : true,\n \"type\" : \"tel\"\n } ],\n \"name\" : \"Vipps\",\n \"type\" : \"vipps\"\n }, {\n \"details\" : [ {\n \"key\" : \"additionalData.visacheckout.callId\",\n \"type\" : \"text\"\n } ],\n \"name\" : \"Visa Checkout\",\n \"type\" : \"visacheckout\"\n }, {\n \"name\" : \"VVV Cadeaubon\",\n \"type\" : \"vvvcadeaubon\"\n }, {\n \"name\" : \"VVV Giftcard\",\n \"type\" : \"vvvgiftcard\"\n }, {\n \"name\" : \"Webshop Giftcard\",\n \"type\" : \"webshopgiftcard\"\n }, {\n \"name\" : \"WeChat Pay\",\n \"type\" : \"wechatpayMiniProgram\"\n }, {\n \"name\" : \"WeChat Pay\",\n \"type\" : \"wechatpayQR\"\n }, {\n \"name\" : \"WeChat Pay\",\n \"type\" : \"wechatpayWeb\"\n }, {\n \"name\" : \"WE Fashion Giftcard\",\n \"type\" : \"wefashiongiftcard\"\n }, {\n \"name\" : \"Western Union\",\n \"type\" : \"westernunion\"\n }, {\n \"name\" : \"Winkel Cheque\",\n \"type\" : \"winkelcheque\"\n }, {\n \"name\" : \"WOS Card\",\n \"type\" : \"woscard\"\n }, {\n \"name\" : \"Alfa-Click\",\n \"type\" : \"yandex_alfaclick\"\n }, {\n \"name\" : \"Pay using bank card\",\n \"type\" : \"yandex_bank_card\"\n }, {\n \"name\" : \"Cash terminals\",\n \"type\" : \"yandex_cash\"\n }, {\n \"name\" : \"Pay using installments\",\n \"type\" : \"yandex_installments\"\n }, {\n \"name\" : \"YooMoney\",\n \"type\" : \"yandex_money\"\n }, {\n \"name\" : \"Promsvyazbank\",\n \"type\" : \"yandex_promsvyazbank\"\n }, {\n \"name\" : \"SberPay\",\n \"type\" : \"yandex_sberbank\"\n }, {\n \"name\" : \"WebMoney\",\n \"type\" : \"yandex_webmoney\"\n }, {\n \"name\" : \"Your Gift\",\n \"type\" : \"yourgift\"\n }, {\n \"name\" : \"Zip\",\n \"type\" : \"zip\"\n } ]\n}", + "originalRequest": { + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentMethods", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentMethods" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Queries the available payment methods for a transaction based on the transaction context (like amount, country, and currency). Besides giving back a list of the available payment methods, the response also returns which input details you need to collect from the shopper (to be submitted to `/payments`). Although we highly recommend using this endpoint to ensure you are always offering the most up-to-date list of payment methods, its usage is optional. You can, for example, also cache the `/paymentMethods` response and update it once a week." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentMethods", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentMethods" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Queries the available payment methods for a transaction based on the transaction context (like amount, country, and currency). Besides giving back a list of the available payment methods, the response also returns which input details you need to collect from the shopper (to be submitted to `/payments`). Although we highly recommend using this endpoint to ensure you are always offering the most up-to-date list of payment methods, its usage is optional. You can, for example, also cache the `/paymentMethods` response and update it once a week." - } + ] }, { "name": "Get payment methods based on the country and amount", "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 + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl-NL\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentMethods", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentMethods" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Queries the available payment methods for a transaction based on the transaction context (like amount, country, and currency). Besides giving back a list of the available payment methods, the response also returns which input details you need to collect from the shopper (to be submitted to `/payments`). Although we highly recommend using this endpoint to ensure you are always offering the most up-to-date list of payment methods, its usage is optional. You can, for example, also cache the `/paymentMethods` response and update it once a week." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"paymentMethods\" : [ {\n \"details\" : [ {\n \"items\" : [ {\n \"id\" : \"1121\",\n \"name\" : \"Test Issuer\"\n }, {\n \"id\" : \"1154\",\n \"name\" : \"Test Issuer 5\"\n }, {\n \"id\" : \"1153\",\n \"name\" : \"Test Issuer 4\"\n }, {\n \"id\" : \"1152\",\n \"name\" : \"Test Issuer 3\"\n }, {\n \"id\" : \"1151\",\n \"name\" : \"Test Issuer 2\"\n }, {\n \"id\" : \"1162\",\n \"name\" : \"Test Issuer Cancelled\"\n }, {\n \"id\" : \"1161\",\n \"name\" : \"Test Issuer Pending\"\n }, {\n \"id\" : \"1160\",\n \"name\" : \"Test Issuer Refused\"\n }, {\n \"id\" : \"1159\",\n \"name\" : \"Test Issuer 10\"\n }, {\n \"id\" : \"1158\",\n \"name\" : \"Test Issuer 9\"\n }, {\n \"id\" : \"1157\",\n \"name\" : \"Test Issuer 8\"\n }, {\n \"id\" : \"1156\",\n \"name\" : \"Test Issuer 7\"\n }, {\n \"id\" : \"1155\",\n \"name\" : \"Test Issuer 6\"\n } ],\n \"key\" : \"issuer\",\n \"type\" : \"select\"\n } ],\n \"name\" : \"iDEAL\",\n \"type\" : \"ideal\"\n }, {\n \"details\" : [ {\n \"key\" : \"encryptedCardNumber\",\n \"type\" : \"cardToken\"\n }, {\n \"key\" : \"encryptedSecurityCode\",\n \"type\" : \"cardToken\"\n }, {\n \"key\" : \"encryptedExpiryMonth\",\n \"type\" : \"cardToken\"\n }, {\n \"key\" : \"encryptedExpiryYear\",\n \"type\" : \"cardToken\"\n }, {\n \"key\" : \"holderName\",\n \"optional\" : true,\n \"type\" : \"text\"\n } ],\n \"name\" : \"Hitelkártya\",\n \"type\" : \"scheme\"\n }, {\n \"name\" : \"PayPal\",\n \"type\" : \"paypal\"\n }, {\n \"details\" : [ {\n \"details\" : [ {\n \"key\" : \"firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"lastName\",\n \"type\" : \"text\"\n }, {\n \"items\" : [ {\n \"id\" : \"M\",\n \"name\" : \"male\"\n }, {\n \"id\" : \"F\",\n \"name\" : \"female\"\n } ],\n \"key\" : \"gender\",\n \"type\" : \"radio\"\n }, {\n \"key\" : \"dateOfBirth\",\n \"type\" : \"date\"\n }, {\n \"key\" : \"telephoneNumber\",\n \"type\" : \"tel\"\n }, {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n } ],\n \"key\" : \"personalDetails\",\n \"type\" : \"fieldSet\"\n }, {\n \"details\" : [ {\n \"key\" : \"street\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"houseNumberOrName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"city\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"postalCode\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"stateOrProvince\",\n \"optional\" : true,\n \"type\" : \"text\"\n }, {\n \"items\" : [ {\n \"id\" : \"NL\",\n \"name\" : \"Netherlands\"\n }, {\n \"id\" : \"BE\",\n \"name\" : \"Belgium\"\n } ],\n \"key\" : \"country\",\n \"type\" : \"select\",\n \"value\" : \"NL\"\n } ],\n \"key\" : \"billingAddress\",\n \"type\" : \"address\"\n }, {\n \"key\" : \"separateDeliveryAddress\",\n \"optional\" : true,\n \"type\" : \"boolean\",\n \"value\" : \"false\"\n }, {\n \"details\" : [ {\n \"key\" : \"street\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"houseNumberOrName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"city\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"postalCode\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"stateOrProvince\",\n \"optional\" : true,\n \"type\" : \"text\"\n }, {\n \"items\" : [ {\n \"id\" : \"NL\",\n \"name\" : \"Netherlands\"\n }, {\n \"id\" : \"BE\",\n \"name\" : \"Belgium\"\n } ],\n \"key\" : \"country\",\n \"type\" : \"select\",\n \"value\" : \"NL\"\n } ],\n \"key\" : \"deliveryAddress\",\n \"optional\" : true,\n \"type\" : \"address\"\n } ],\n \"name\" : \"AfterPay Invoice\",\n \"type\" : \"afterpay_default\"\n }, {\n \"name\" : \"Pay later with Klarna.\",\n \"type\" : \"klarna\"\n }, {\n \"details\" : [ {\n \"key\" : \"sepa.ownerName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"sepa.ibanNumber\",\n \"type\" : \"text\"\n } ],\n \"name\" : \"SEPA Direct Debit\",\n \"type\" : \"sepadirectdebit\"\n }, {\n \"name\" : \"Paysafecard\",\n \"type\" : \"paysafecard\"\n }, {\n \"name\" : \"Bijenkorf Cadeaucard\",\n \"type\" : \"bijcadeaucard\"\n }, {\n \"name\" : \"Fonq Giftcard\",\n \"type\" : \"fonqgiftcard\"\n }, {\n \"name\" : \"Bank Transfer (NL)\",\n \"type\" : \"bankTransfer_NL\"\n }, {\n \"name\" : \"Pathe Giftcard\",\n \"type\" : \"pathegiftcard\"\n }, {\n \"name\" : \"VVV Giftcard\",\n \"type\" : \"vvvgiftcard\"\n }, {\n \"name\" : \"Podium Card\",\n \"type\" : \"podiumcard\"\n }, {\n \"name\" : \"RatePay Direct Debit\",\n \"type\" : \"ratepay_directdebit\"\n }, {\n \"name\" : \"Rituals Giftcard\",\n \"type\" : \"rituals\"\n }, {\n \"name\" : \"Hunkemoller Lingerie Card\",\n \"type\" : \"hmlingerie\"\n }, {\n \"name\" : \"Primera Cadeaukaart\",\n \"type\" : \"primeracadeaucard\"\n }, {\n \"name\" : \"Fashioncheque\",\n \"type\" : \"fashioncheque\"\n }, {\n \"name\" : \"NETELLER\",\n \"type\" : \"neteller\"\n }, {\n \"name\" : \"Adyen Voucher\",\n \"type\" : \"adyen_test_voucher\"\n }, {\n \"name\" : \"AfterPay B2B\",\n \"type\" : \"afterpay_b2b\"\n }, {\n \"name\" : \"AfterPay DirectDebit\",\n \"type\" : \"afterpay_directdebit\"\n }, {\n \"name\" : \"AliPay\",\n \"type\" : \"alipay\"\n }, {\n \"name\" : \"AliPay\",\n \"type\" : \"alipay_wap\"\n }, {\n \"details\" : [ {\n \"key\" : \"additionalData.androidpay.token\",\n \"type\" : \"androidPayToken\"\n } ],\n \"name\" : \"Android Pay\",\n \"type\" : \"androidpay\"\n }, {\n \"details\" : [ {\n \"key\" : \"additionalData.applepay.token\",\n \"type\" : \"applePayToken\"\n } ],\n \"name\" : \"Apple Pay\",\n \"type\" : \"applepay\"\n }, {\n \"name\" : \"Baby Gift Card\",\n \"type\" : \"babygiftcard\"\n }, {\n \"name\" : \"SEPA Bank Transfer\",\n \"type\" : \"bankTransfer_IBAN\"\n }, {\n \"name\" : \"Bloemen Giftcard\",\n \"type\" : \"bloemengiftcard\"\n }, {\n \"name\" : \"Boekenbon Giftcard\",\n \"type\" : \"boekenbon\"\n }, {\n \"name\" : \"Cash-Ticket\",\n \"type\" : \"cashticket\"\n }, {\n \"name\" : \"Chasin Giftcard\",\n \"type\" : \"chasingiftcard\"\n }, {\n \"name\" : \"ClickandBuy\",\n \"type\" : \"clickandbuy\"\n }, {\n \"name\" : \"Costes Giftcard\",\n \"type\" : \"costesgiftcard\"\n }, {\n \"name\" : \"custom_settlement\",\n \"type\" : \"custom_settlement\"\n }, {\n \"name\" : \"eft_directdebit_CA\",\n \"type\" : \"eft_directdebit_CA\"\n }, {\n \"name\" : \"Nationale Entertainment Card\",\n \"type\" : \"entertainmentcard\"\n }, {\n \"name\" : \"Expert Cadeaukaart\",\n \"type\" : \"expertgiftcard\"\n }, {\n \"name\" : \"FijnCadeau\",\n \"type\" : \"fijncadeau\"\n }, {\n \"name\" : \"Fleurop Bloemenbon\",\n \"type\" : \"fleuropbloemenbon\"\n }, {\n \"name\" : \"Gall & Gall\",\n \"type\" : \"gallgall\"\n }, {\n \"name\" : \"Generic GiftCard\",\n \"type\" : \"genericgiftcard\"\n }, {\n \"name\" : \"GiftFor2\",\n \"type\" : \"giftfor2card\"\n }, {\n \"name\" : \"Givex\",\n \"type\" : \"givex\"\n }, {\n \"name\" : \"Goldsmiths Card\",\n \"type\" : \"goldsmithscard\"\n }, {\n \"name\" : \"Hunkemoller Member Card\",\n \"type\" : \"hmclub\"\n }, {\n \"name\" : \"Phone Payment\",\n \"type\" : \"ivr\"\n }, {\n \"name\" : \"Landline phone\",\n \"type\" : \"ivrLandline\"\n }, {\n \"name\" : \"Mobile phone\",\n \"type\" : \"ivrMobile\"\n }, {\n \"name\" : \"Kado Wereld\",\n \"type\" : \"kadowereld\"\n }, {\n \"name\" : \"Karen Millen GiftCard\",\n \"type\" : \"karenmillengiftcard\"\n }, {\n \"name\" : \"Leisure Card\",\n \"type\" : \"leisurecard\"\n }, {\n \"name\" : \"Loods5 Cadeaukaart\",\n \"type\" : \"loods5giftcard\"\n }, {\n \"name\" : \"Loods5 Tegoedbon\",\n \"type\" : \"loods5prepaidcard\"\n }, {\n \"details\" : [ {\n \"key\" : \"additionalData.amazonPayToken\",\n \"type\" : \"text\"\n } ],\n \"name\" : \"Amazon Pay\",\n \"type\" : \"amazonpay\"\n }, {\n \"name\" : \"MOLPoints\",\n \"type\" : \"molpay_points\"\n }, {\n \"name\" : \"Moneybookers\",\n \"type\" : \"moneybookers\"\n }, {\n \"name\" : \"De Nationale Musicalcard\",\n \"type\" : \"musicalcard\"\n }, {\n \"name\" : \"Nationale Bioscoopbon\",\n \"type\" : \"nationalebioscoopbon\"\n }, {\n \"name\" : \"Nationale Tuinbon\",\n \"type\" : \"nationaletuinbon\"\n }, {\n \"name\" : \"Nationale Verwen Cadeaubon\",\n \"type\" : \"nationaleverwencadeaubon\"\n }, {\n \"name\" : \"Onebip\",\n \"type\" : \"onebip\"\n }, {\n \"details\" : [ {\n \"key\" : \"additionalData.paywithgoogle.token\",\n \"type\" : \"payWithGoogleToken\"\n } ],\n \"name\" : \"Google Pay\",\n \"type\" : \"paywithgoogle\"\n }, {\n \"name\" : \"Plastix\",\n \"type\" : \"plastix\"\n }, {\n \"name\" : \"Pluim\",\n \"type\" : \"pluimgiftcard\"\n }, {\n \"name\" : \"Illicado Gift Card\",\n \"type\" : \"prosodie_illicado\"\n }, {\n \"name\" : \"RatePay Invoice\",\n \"type\" : \"ratepay\"\n }, {\n \"name\" : \"Rob Peetoom Giftcard\",\n \"type\" : \"robpeetoomgiftcard\"\n }, {\n \"name\" : \"Shoes&Accessories Cadeau\",\n \"type\" : \"sagiftcard\"\n }, {\n \"name\" : \"Score Giftcard\",\n \"type\" : \"scoregiftcard\"\n }, {\n \"name\" : \"Premium SMS\",\n \"type\" : \"sms\"\n }, {\n \"name\" : \"SVS\",\n \"type\" : \"svs\"\n }, {\n \"name\" : \"TCS Test GiftCard\",\n \"type\" : \"tcstestgiftcard\"\n }, {\n \"name\" : \"The Sting Giftcard\",\n \"type\" : \"thestinggiftcard\"\n }, {\n \"name\" : \"Ukash\",\n \"type\" : \"ukash\"\n }, {\n \"name\" : \"UnionPay\",\n \"type\" : \"unionpay\"\n }, {\n \"name\" : \"Valuelink\",\n \"type\" : \"valuelink\"\n }, {\n \"name\" : \"V&D Cadeaukaart\",\n \"type\" : \"vdcadeaucard\"\n }, {\n \"details\" : [ {\n \"key\" : \"additionalData.visacheckout.callId\",\n \"type\" : \"text\"\n } ],\n \"name\" : \"Visa Checkout\",\n \"type\" : \"visacheckout\"\n }, {\n \"name\" : \"VVV Cadeaubon\",\n \"type\" : \"vvvcadeaubon\"\n }, {\n \"name\" : \"Webshop Giftcard\",\n \"type\" : \"webshopgiftcard\"\n }, {\n \"name\" : \"WE Fashion Giftcard\",\n \"type\" : \"wefashiongiftcard\"\n }, {\n \"name\" : \"Western Union\",\n \"type\" : \"westernunion\"\n }, {\n \"name\" : \"Winkel Cheque\",\n \"type\" : \"winkelcheque\"\n }, {\n \"name\" : \"Your Gift\",\n \"type\" : \"yourgift\"\n } ]\n}", + "originalRequest": { + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl-NL\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentMethods", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentMethods" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Queries the available payment methods for a transaction based on the transaction context (like amount, country, and currency). Besides giving back a list of the available payment methods, the response also returns which input details you need to collect from the shopper (to be submitted to `/payments`). Although we highly recommend using this endpoint to ensure you are always offering the most up-to-date list of payment methods, its usage is optional. You can, for example, also cache the `/paymentMethods` response and update it once a week." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl-NL\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n }\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentMethods", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentMethods" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Queries the available payment methods for a transaction based on the transaction context (like amount, country, and currency). Besides giving back a list of the available payment methods, the response also returns which input details you need to collect from the shopper (to be submitted to `/payments`). Although we highly recommend using this endpoint to ensure you are always offering the most up-to-date list of payment methods, its usage is optional. You can, for example, also cache the `/paymentMethods` response and update it once a week." - } + ] }, { "name": "Get payment methods including stored card details", "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 + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"countryCode\" : \"NL\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentMethods", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentMethods" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Queries the available payment methods for a transaction based on the transaction context (like amount, country, and currency). Besides giving back a list of the available payment methods, the response also returns which input details you need to collect from the shopper (to be submitted to `/payments`). Although we highly recommend using this endpoint to ensure you are always offering the most up-to-date list of payment methods, its usage is optional. You can, for example, also cache the `/paymentMethods` response and update it once a week." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"paymentMethods\" : [ {\n \"details\" : [ {\n \"items\" : [ {\n \"id\" : \"1121\",\n \"name\" : \"Test Issuer\"\n }, {\n \"id\" : \"1154\",\n \"name\" : \"Test Issuer 5\"\n }, {\n \"id\" : \"1153\",\n \"name\" : \"Test Issuer 4\"\n }, {\n \"id\" : \"1152\",\n \"name\" : \"Test Issuer 3\"\n }, {\n \"id\" : \"1151\",\n \"name\" : \"Test Issuer 2\"\n }, {\n \"id\" : \"1162\",\n \"name\" : \"Test Issuer Cancelled\"\n }, {\n \"id\" : \"1161\",\n \"name\" : \"Test Issuer Pending\"\n }, {\n \"id\" : \"1160\",\n \"name\" : \"Test Issuer Refused\"\n }, {\n \"id\" : \"1159\",\n \"name\" : \"Test Issuer 10\"\n }, {\n \"id\" : \"1158\",\n \"name\" : \"Test Issuer 9\"\n }, {\n \"id\" : \"1157\",\n \"name\" : \"Test Issuer 8\"\n }, {\n \"id\" : \"1156\",\n \"name\" : \"Test Issuer 7\"\n }, {\n \"id\" : \"1155\",\n \"name\" : \"Test Issuer 6\"\n } ],\n \"key\" : \"issuer\",\n \"type\" : \"select\"\n } ],\n \"name\" : \"iDEAL\",\n \"type\" : \"ideal\"\n }, {\n \"details\" : [ {\n \"key\" : \"encryptedCardNumber\",\n \"type\" : \"cardToken\"\n }, {\n \"key\" : \"encryptedSecurityCode\",\n \"type\" : \"cardToken\"\n }, {\n \"key\" : \"encryptedExpiryMonth\",\n \"type\" : \"cardToken\"\n }, {\n \"key\" : \"encryptedExpiryYear\",\n \"type\" : \"cardToken\"\n }, {\n \"key\" : \"holderName\",\n \"optional\" : true,\n \"type\" : \"text\"\n } ],\n \"name\" : \"Credit Card\",\n \"type\" : \"scheme\"\n }, {\n \"name\" : \"PayPal\",\n \"type\" : \"paypal\"\n }, {\n \"details\" : [ {\n \"details\" : [ {\n \"key\" : \"firstName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"lastName\",\n \"type\" : \"text\"\n }, {\n \"items\" : [ {\n \"id\" : \"M\",\n \"name\" : \"male\"\n }, {\n \"id\" : \"F\",\n \"name\" : \"female\"\n } ],\n \"key\" : \"gender\",\n \"type\" : \"radio\"\n }, {\n \"key\" : \"dateOfBirth\",\n \"type\" : \"date\"\n }, {\n \"key\" : \"telephoneNumber\",\n \"type\" : \"tel\"\n }, {\n \"key\" : \"shopperEmail\",\n \"type\" : \"emailAddress\"\n } ],\n \"key\" : \"personalDetails\",\n \"type\" : \"fieldSet\"\n }, {\n \"details\" : [ {\n \"key\" : \"street\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"houseNumberOrName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"city\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"postalCode\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"stateOrProvince\",\n \"optional\" : true,\n \"type\" : \"text\"\n }, {\n \"items\" : [ {\n \"id\" : \"NL\",\n \"name\" : \"Netherlands\"\n }, {\n \"id\" : \"BE\",\n \"name\" : \"Belgium\"\n } ],\n \"key\" : \"country\",\n \"type\" : \"select\",\n \"value\" : \"NL\"\n } ],\n \"key\" : \"billingAddress\",\n \"type\" : \"address\"\n }, {\n \"key\" : \"separateDeliveryAddress\",\n \"optional\" : true,\n \"type\" : \"boolean\",\n \"value\" : \"false\"\n }, {\n \"details\" : [ {\n \"key\" : \"street\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"houseNumberOrName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"city\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"postalCode\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"stateOrProvince\",\n \"optional\" : true,\n \"type\" : \"text\"\n }, {\n \"items\" : [ {\n \"id\" : \"NL\",\n \"name\" : \"Netherlands\"\n }, {\n \"id\" : \"BE\",\n \"name\" : \"Belgium\"\n } ],\n \"key\" : \"country\",\n \"type\" : \"select\",\n \"value\" : \"NL\"\n } ],\n \"key\" : \"deliveryAddress\",\n \"optional\" : true,\n \"type\" : \"address\"\n } ],\n \"name\" : \"AfterPay Invoice\",\n \"type\" : \"afterpay_default\"\n }, {\n \"name\" : \"Pay later with Klarna.\",\n \"type\" : \"klarna\"\n }, {\n \"details\" : [ {\n \"key\" : \"sepa.ownerName\",\n \"type\" : \"text\"\n }, {\n \"key\" : \"sepa.ibanNumber\",\n \"type\" : \"text\"\n } ],\n \"name\" : \"SEPA Direct Debit\",\n \"type\" : \"sepadirectdebit\"\n }, {\n \"name\" : \"Paysafecard\",\n \"type\" : \"paysafecard\"\n }, {\n \"name\" : \"Bijenkorf Cadeaucard\",\n \"type\" : \"bijcadeaucard\"\n }, {\n \"name\" : \"Fonq Giftcard\",\n \"type\" : \"fonqgiftcard\"\n }, {\n \"name\" : \"Bank Transfer (NL)\",\n \"type\" : \"bankTransfer_NL\"\n }, {\n \"name\" : \"Pathe Giftcard\",\n \"type\" : \"pathegiftcard\"\n }, {\n \"name\" : \"VVV Giftcard\",\n \"type\" : \"vvvgiftcard\"\n }, {\n \"name\" : \"Podium Card\",\n \"type\" : \"podiumcard\"\n }, {\n \"name\" : \"RatePay Direct Debit\",\n \"type\" : \"ratepay_directdebit\"\n }, {\n \"name\" : \"Rituals Giftcard\",\n \"type\" : \"rituals\"\n }, {\n \"name\" : \"Hunkemoller Lingerie Card\",\n \"type\" : \"hmlingerie\"\n }, {\n \"name\" : \"Primera Cadeaukaart\",\n \"type\" : \"primeracadeaucard\"\n }, {\n \"name\" : \"Fashioncheque\",\n \"type\" : \"fashioncheque\"\n }, {\n \"name\" : \"NETELLER\",\n \"type\" : \"neteller\"\n }, {\n \"name\" : \"Adyen Voucher\",\n \"type\" : \"adyen_test_voucher\"\n }, {\n \"name\" : \"AfterPay B2B\",\n \"type\" : \"afterpay_b2b\"\n }, {\n \"name\" : \"AfterPay DirectDebit\",\n \"type\" : \"afterpay_directdebit\"\n }, {\n \"name\" : \"AliPay\",\n \"type\" : \"alipay\"\n }, {\n \"name\" : \"AliPay\",\n \"type\" : \"alipay_wap\"\n }, {\n \"details\" : [ {\n \"key\" : \"additionalData.androidpay.token\",\n \"type\" : \"androidPayToken\"\n } ],\n \"name\" : \"Android Pay\",\n \"type\" : \"androidpay\"\n }, {\n \"details\" : [ {\n \"key\" : \"additionalData.applepay.token\",\n \"type\" : \"applePayToken\"\n } ],\n \"name\" : \"Apple Pay\",\n \"type\" : \"applepay\"\n }, {\n \"name\" : \"Baby Gift Card\",\n \"type\" : \"babygiftcard\"\n }, {\n \"name\" : \"SEPA Bank Transfer\",\n \"type\" : \"bankTransfer_IBAN\"\n }, {\n \"name\" : \"Bloemen Giftcard\",\n \"type\" : \"bloemengiftcard\"\n }, {\n \"name\" : \"Boekenbon Giftcard\",\n \"type\" : \"boekenbon\"\n }, {\n \"name\" : \"Cash-Ticket\",\n \"type\" : \"cashticket\"\n }, {\n \"name\" : \"Chasin Giftcard\",\n \"type\" : \"chasingiftcard\"\n }, {\n \"name\" : \"ClickandBuy\",\n \"type\" : \"clickandbuy\"\n }, {\n \"name\" : \"Costes Giftcard\",\n \"type\" : \"costesgiftcard\"\n }, {\n \"name\" : \"custom_settlement\",\n \"type\" : \"custom_settlement\"\n }, {\n \"name\" : \"eft_directdebit_CA\",\n \"type\" : \"eft_directdebit_CA\"\n }, {\n \"name\" : \"Nationale Entertainment Card\",\n \"type\" : \"entertainmentcard\"\n }, {\n \"name\" : \"Expert Cadeaukaart\",\n \"type\" : \"expertgiftcard\"\n }, {\n \"name\" : \"FijnCadeau\",\n \"type\" : \"fijncadeau\"\n }, {\n \"name\" : \"Fleurop Bloemenbon\",\n \"type\" : \"fleuropbloemenbon\"\n }, {\n \"name\" : \"Gall & Gall\",\n \"type\" : \"gallgall\"\n }, {\n \"name\" : \"Generic GiftCard\",\n \"type\" : \"genericgiftcard\"\n }, {\n \"name\" : \"GiftFor2\",\n \"type\" : \"giftfor2card\"\n }, {\n \"name\" : \"Givex\",\n \"type\" : \"givex\"\n }, {\n \"name\" : \"Goldsmiths Card\",\n \"type\" : \"goldsmithscard\"\n }, {\n \"name\" : \"Hunkemoller Member Card\",\n \"type\" : \"hmclub\"\n }, {\n \"name\" : \"Phone Payment\",\n \"type\" : \"ivr\"\n }, {\n \"name\" : \"Landline phone\",\n \"type\" : \"ivrLandline\"\n }, {\n \"name\" : \"Mobile phone\",\n \"type\" : \"ivrMobile\"\n }, {\n \"name\" : \"Kado Wereld\",\n \"type\" : \"kadowereld\"\n }, {\n \"name\" : \"Karen Millen GiftCard\",\n \"type\" : \"karenmillengiftcard\"\n }, {\n \"name\" : \"Leisure Card\",\n \"type\" : \"leisurecard\"\n }, {\n \"name\" : \"Loods5 Cadeaukaart\",\n \"type\" : \"loods5giftcard\"\n }, {\n \"name\" : \"Loods5 Tegoedbon\",\n \"type\" : \"loods5prepaidcard\"\n }, {\n \"details\" : [ {\n \"key\" : \"additionalData.amazonPayToken\",\n \"type\" : \"text\"\n } ],\n \"name\" : \"Amazon Pay\",\n \"type\" : \"amazonpay\"\n }, {\n \"name\" : \"MOLPoints\",\n \"type\" : \"molpay_points\"\n }, {\n \"name\" : \"Moneybookers\",\n \"type\" : \"moneybookers\"\n }, {\n \"name\" : \"De Nationale Musicalcard\",\n \"type\" : \"musicalcard\"\n }, {\n \"name\" : \"Nationale Bioscoopbon\",\n \"type\" : \"nationalebioscoopbon\"\n }, {\n \"name\" : \"Nationale Tuinbon\",\n \"type\" : \"nationaletuinbon\"\n }, {\n \"name\" : \"Nationale Verwen Cadeaubon\",\n \"type\" : \"nationaleverwencadeaubon\"\n }, {\n \"name\" : \"Onebip\",\n \"type\" : \"onebip\"\n }, {\n \"details\" : [ {\n \"key\" : \"additionalData.paywithgoogle.token\",\n \"type\" : \"payWithGoogleToken\"\n } ],\n \"name\" : \"Google Pay\",\n \"type\" : \"paywithgoogle\"\n }, {\n \"name\" : \"Plastix\",\n \"type\" : \"plastix\"\n }, {\n \"name\" : \"Pluim\",\n \"type\" : \"pluimgiftcard\"\n }, {\n \"name\" : \"Illicado Gift Card\",\n \"type\" : \"prosodie_illicado\"\n }, {\n \"name\" : \"RatePay Invoice\",\n \"type\" : \"ratepay\"\n }, {\n \"name\" : \"Rob Peetoom Giftcard\",\n \"type\" : \"robpeetoomgiftcard\"\n }, {\n \"name\" : \"Shoes&Accessories Cadeau\",\n \"type\" : \"sagiftcard\"\n }, {\n \"name\" : \"Score Giftcard\",\n \"type\" : \"scoregiftcard\"\n }, {\n \"name\" : \"Premium SMS\",\n \"type\" : \"sms\"\n }, {\n \"name\" : \"SVS\",\n \"type\" : \"svs\"\n }, {\n \"name\" : \"TCS Test GiftCard\",\n \"type\" : \"tcstestgiftcard\"\n }, {\n \"name\" : \"The Sting Giftcard\",\n \"type\" : \"thestinggiftcard\"\n }, {\n \"name\" : \"Ukash\",\n \"type\" : \"ukash\"\n }, {\n \"name\" : \"UnionPay\",\n \"type\" : \"unionpay\"\n }, {\n \"name\" : \"Valuelink\",\n \"type\" : \"valuelink\"\n }, {\n \"name\" : \"V&D Cadeaukaart\",\n \"type\" : \"vdcadeaucard\"\n }, {\n \"details\" : [ {\n \"key\" : \"additionalData.visacheckout.callId\",\n \"type\" : \"text\"\n } ],\n \"name\" : \"Visa Checkout\",\n \"type\" : \"visacheckout\"\n }, {\n \"name\" : \"VVV Cadeaubon\",\n \"type\" : \"vvvcadeaubon\"\n }, {\n \"name\" : \"Webshop Giftcard\",\n \"type\" : \"webshopgiftcard\"\n }, {\n \"name\" : \"WE Fashion Giftcard\",\n \"type\" : \"wefashiongiftcard\"\n }, {\n \"name\" : \"Western Union\",\n \"type\" : \"westernunion\"\n }, {\n \"name\" : \"Winkel Cheque\",\n \"type\" : \"winkelcheque\"\n }, {\n \"name\" : \"Your Gift\",\n \"type\" : \"yourgift\"\n } ],\n \"storedPaymentMethods\" : [ {\n \"brand\" : \"visa\",\n \"expiryMonth\" : \"10\",\n \"expiryYear\" : \"30\",\n \"holderName\" : \"John Smith\",\n \"id\" : \"7219687191761347\",\n \"issuerName\" : \"ISSUER_NAME\",\n \"lastFour\" : \"1111\",\n \"name\" : \"VISA\",\n \"shopperEmail\" : \"john.smith@example.com\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"supportedRecurringProcessingModels\" : [ \"CardOnFile\", \"Subscription\", \"UnscheduledCardOnFile\" ],\n \"type\" : \"scheme\"\n } ]\n}", + "originalRequest": { + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"countryCode\" : \"NL\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentMethods", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentMethods" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Queries the available payment methods for a transaction based on the transaction context (like amount, country, and currency). Besides giving back a list of the available payment methods, the response also returns which input details you need to collect from the shopper (to be submitted to `/payments`). Although we highly recommend using this endpoint to ensure you are always offering the most up-to-date list of payment methods, its usage is optional. You can, for example, also cache the `/paymentMethods` response and update it once a week." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"countryCode\" : \"NL\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentMethods", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentMethods" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Queries the available payment methods for a transaction based on the transaction context (like amount, country, and currency). Besides giving back a list of the available payment methods, the response also returns which input details you need to collect from the shopper (to be submitted to `/payments`). Although we highly recommend using this endpoint to ensure you are always offering the most up-to-date list of payment methods, its usage is optional. You can, for example, also cache the `/paymentMethods` response and update it once a week." - } + ] } ] - } -, + }, { "name": "/payments", "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. ", @@ -1421,790 +2692,1220 @@ { "name": "Make an Apple Pay payment", "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"applepay\",\n \"applePayToken\" : \"VNRWtuNlNEWkRCSm1xWndjMDFFbktkQU...\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"applepay\",\n \"applePayToken\" : \"VNRWtuNlNEWkRCSm1xWndjMDFFbktkQU...\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + ] }, { "name": "Make a card payment with 3D Secure 2 native authentication, using encrypted card details", "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"reference\" : \"{{$guid}}\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"encryptedCardNumber\" : \"test_4035501428146300\",\n \"encryptedExpiryMonth\" : \"test_03\",\n \"encryptedExpiryYear\" : \"test_2030\",\n \"encryptedSecurityCode\" : \"test_737\",\n \"holderName\" : \"John Smith\"\n },\n \"additionalData\" : {\n \"allow3DS2\" : \"true\"\n },\n \"billingAddress\" : {\n \"country\" : \"US\",\n \"city\" : \"New York\",\n \"street\" : \"Redwood Block\",\n \"houseNumberOrName\" : \"37C\",\n \"stateOrProvince\" : \"NY\",\n \"postalCode\" : \"10039\"\n },\n \"shopperEmail\" : \"s.hopper@test.com\",\n \"shopperIP\" : \"192.0.2.1\",\n \"browserInfo\" : {\n \"userAgent\" : \"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.110 Safari/537.36\",\n \"acceptHeader\" : \"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8\",\n \"language\" : \"nl-NL\",\n \"colorDepth\" : 24,\n \"screenHeight\" : 723,\n \"screenWidth\" : 1536,\n \"timeZoneOffset\" : 0,\n \"javaEnabled\" : true\n },\n \"channel\" : \"Web\",\n \"origin\" : \"https://your-company.com\",\n \"returnUrl\" : \"https://your-company.com/checkout/\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"reference\" : \"{{$guid}}\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"encryptedCardNumber\" : \"test_4035501428146300\",\n \"encryptedExpiryMonth\" : \"test_03\",\n \"encryptedExpiryYear\" : \"test_2030\",\n \"encryptedSecurityCode\" : \"test_737\",\n \"holderName\" : \"John Smith\"\n },\n \"additionalData\" : {\n \"allow3DS2\" : \"true\"\n },\n \"billingAddress\" : {\n \"country\" : \"US\",\n \"city\" : \"New York\",\n \"street\" : \"Redwood Block\",\n \"houseNumberOrName\" : \"37C\",\n \"stateOrProvince\" : \"NY\",\n \"postalCode\" : \"10039\"\n },\n \"shopperEmail\" : \"s.hopper@test.com\",\n \"shopperIP\" : \"192.0.2.1\",\n \"browserInfo\" : {\n \"userAgent\" : \"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.110 Safari/537.36\",\n \"acceptHeader\" : \"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8\",\n \"language\" : \"nl-NL\",\n \"colorDepth\" : 24,\n \"screenHeight\" : 723,\n \"screenWidth\" : 1536,\n \"timeZoneOffset\" : 0,\n \"javaEnabled\" : true\n },\n \"channel\" : \"Web\",\n \"origin\" : \"https://your-company.com\",\n \"returnUrl\" : \"https://your-company.com/checkout/\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + ] }, { "name": "Make card payment with 3D Secure redirect authentication", "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4212345678901237\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\",\n \"cvc\" : \"737\"\n },\n \"browserInfo\" : {\n \"userAgent\" : \"Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9) Gecko/2008052912 Firefox/3.0\",\n \"acceptHeader\" : \"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8\",\n \"javaEnabled\" : true,\n \"colorDepth\" : 10,\n \"screenHeight\" : 2000,\n \"screenWidth\" : 3000,\n \"timeZoneOffset\" : 5,\n \"language\" : \"en\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4212345678901237\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\",\n \"cvc\" : \"737\"\n },\n \"browserInfo\" : {\n \"userAgent\" : \"Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9) Gecko/2008052912 Firefox/3.0\",\n \"acceptHeader\" : \"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8\",\n \"javaEnabled\" : true,\n \"colorDepth\" : 10,\n \"screenHeight\" : 2000,\n \"screenWidth\" : 3000,\n \"timeZoneOffset\" : 5,\n \"language\" : \"en\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + ] }, { "name": "Make a card payment", "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 + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4111111111111111\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\",\n \"cvc\" : \"737\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"additionalData\" : {\n \"cvcResult\" : \"1 Matches\",\n \"authCode\" : \"044925\",\n \"avsResult\" : \"4 AVS not supported for this card type\",\n \"avsResultRaw\" : \"4\",\n \"cvcResultRaw\" : \"M\",\n \"refusalReasonRaw\" : \"AUTHORISED\",\n \"acquirerCode\" : \"TestPmmAcquirer\",\n \"acquirerReference\" : \"YOUR_ACQUIRER_REFERENCE\"\n },\n \"pspReference\" : \"YOUR_PSP_REFERENCE\",\n \"resultCode\" : \"Authorised\",\n \"merchantReference\" : \"YOUR_MERCHANT_REFERENCE\"\n}", + "originalRequest": { + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4111111111111111\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\",\n \"cvc\" : \"737\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4111111111111111\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\",\n \"cvc\" : \"737\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + ] }, { "name": "Make a card payment using encrypted card details", "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 + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"encryptedCardNumber\" : \"test_4111111111111111\",\n \"encryptedExpiryMonth\" : \"test_03\",\n \"encryptedExpiryYear\" : \"test_2030\",\n \"encryptedSecurityCode\" : \"test_737\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"additionalData\" : {\n \"cvcResult\" : \"1 Matches\",\n \"authCode\" : \"065696\",\n \"avsResult\" : \"4 AVS not supported for this card type\",\n \"avsResultRaw\" : \"4\",\n \"cvcResultRaw\" : \"M\",\n \"refusalReasonRaw\" : \"AUTHORISED\",\n \"acquirerCode\" : \"TestPmmAcquirer\",\n \"acquirerReference\" : \"YOUR_ACQUIRER_REFERENCE\"\n },\n \"pspReference\" : \"YOUR_PSP_REFERENCE\",\n \"resultCode\" : \"Authorised\",\n \"merchantReference\" : \"YOUR_MERCHANT_REFERENCE\"\n}", + "originalRequest": { + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"encryptedCardNumber\" : \"test_4111111111111111\",\n \"encryptedExpiryMonth\" : \"test_03\",\n \"encryptedExpiryYear\" : \"test_2030\",\n \"encryptedSecurityCode\" : \"test_737\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"encryptedCardNumber\" : \"test_4111111111111111\",\n \"encryptedExpiryMonth\" : \"test_03\",\n \"encryptedExpiryYear\" : \"test_2030\",\n \"encryptedSecurityCode\" : \"test_737\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + ] }, { "name": "Tokenize card details for one-off payments, using encrypted card details", "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 + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"encryptedCardNumber\" : \"test_4111111111111111\",\n \"encryptedExpiryMonth\" : \"test_03\",\n \"encryptedExpiryYear\" : \"test_2030\",\n \"encryptedSecurityCode\" : \"test_737\"\n },\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"storePaymentMethod\" : true,\n \"shopperInteraction\" : \"Ecommerce\",\n \"recurringProcessingModel\" : \"CardOnFile\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"additionalData\" : {\n \"cvcResult\" : \"1 Matches\",\n \"authCode\" : \"082338\",\n \"avsResult\" : \"4 AVS not supported for this card type\",\n \"recurring.recurringDetailReference\" : \"9916178934434753\",\n \"recurringProcessingModel\" : \"CardOnFile\",\n \"avsResultRaw\" : \"4\",\n \"cvcResultRaw\" : \"M\",\n \"refusalReasonRaw\" : \"AUTHORISED\",\n \"recurring.shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID\",\n \"acquirerCode\" : \"TestPmmAcquirer\",\n \"acquirerReference\" : \"YOUR_ACQUIRER_REFERENCE\"\n },\n \"pspReference\" : \"YOUR_PSP_REFERENCE\",\n \"resultCode\" : \"Authorised\",\n \"merchantReference\" : \"YOUR_MERCHANT_REFERENCE\"\n}", + "originalRequest": { + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"encryptedCardNumber\" : \"test_4111111111111111\",\n \"encryptedExpiryMonth\" : \"test_03\",\n \"encryptedExpiryYear\" : \"test_2030\",\n \"encryptedSecurityCode\" : \"test_737\"\n },\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"storePaymentMethod\" : true,\n \"shopperInteraction\" : \"Ecommerce\",\n \"recurringProcessingModel\" : \"CardOnFile\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"encryptedCardNumber\" : \"test_4111111111111111\",\n \"encryptedExpiryMonth\" : \"test_03\",\n \"encryptedExpiryYear\" : \"test_2030\",\n \"encryptedSecurityCode\" : \"test_737\"\n },\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"storePaymentMethod\" : true,\n \"shopperInteraction\" : \"Ecommerce\",\n \"recurringProcessingModel\" : \"CardOnFile\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + ] }, { "name": "Tokenize card details for one-off payments", "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 + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4111111111111111\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\",\n \"cvc\" : \"737\"\n },\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"shopperInteraction\" : \"Ecommerce\",\n \"recurringProcessingModel\" : \"CardOnFile\",\n \"storePaymentMethod\" : true,\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"additionalData\" : {\n \"cvcResult\" : \"1 Matches\",\n \"authCode\" : \"003704\",\n \"avsResult\" : \"4 AVS not supported for this card type\",\n \"recurring.recurringDetailReference\" : \"9916178934434753\",\n \"recurringProcessingModel\" : \"CardOnFile\",\n \"avsResultRaw\" : \"4\",\n \"cvcResultRaw\" : \"M\",\n \"refusalReasonRaw\" : \"AUTHORISED\",\n \"recurring.shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID\",\n \"acquirerCode\" : \"TestPmmAcquirer\",\n \"acquirerReference\" : \"YOUR_ACQUIRER_REFERENCE\"\n },\n \"pspReference\" : \"YOUR_PSP_REFERENCE\",\n \"resultCode\" : \"Authorised\",\n \"merchantReference\" : \"YOUR_MERCHANT_REFERENCE\"\n}", + "originalRequest": { + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4111111111111111\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\",\n \"cvc\" : \"737\"\n },\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"shopperInteraction\" : \"Ecommerce\",\n \"recurringProcessingModel\" : \"CardOnFile\",\n \"storePaymentMethod\" : true,\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4111111111111111\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\",\n \"cvc\" : \"737\"\n },\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"shopperInteraction\" : \"Ecommerce\",\n \"recurringProcessingModel\" : \"CardOnFile\",\n \"storePaymentMethod\" : true,\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + ] }, { "name": "Make a Google Pay payment", "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"googlepay\",\n \"googlePayToken\" : \"==Payload as retrieved from Google Pay response==\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"YourMerchantAccount\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"googlepay\",\n \"googlePayToken\" : \"==Payload as retrieved from Google Pay response==\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"YourMerchantAccount\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + ] }, { "name": "Make an iDEAL payment", "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 + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"ideal\",\n \"issuer\" : \"1121\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"resultCode\" : \"RedirectShopper\",\n \"action\" : {\n \"paymentMethodType\" : \"ideal\",\n \"url\" : \"https://test.adyen.com/hpp/checkout.shtml?u=redirectIdeal&p=eJxtUl1zmzAQ-DXwZgaB*XrQg0Nwg2s3DTVtJy8ZRbqAYlsikmCMf30FddNMpzOak2bvZm-3Ts*KCJZLBpgzIEeX9kqBoOMMFXXlcq17UCXDCAXIPYGiLRFmRanshcF70GZ3xd6TpTDQKGK4FJ4ZO8D5XZF-vq-3T5*KL0VV5v*tHEBpe*Pob5cKXmBSA1gbxUXzIWF6JW6JITjLUIySNItQliVxsH6v*cYbnNSHZsMfcydYr8SrE9yY7HRjavMAlyyIjhuK*tzszj9ew-uHrN854a3bkfEE1uBp9od833cV6Lra4taYzglXlsueo6Tk2EptLJL6qW8h2gI9yN7oVnYdKItoUAOnoO3z62-aUlB5sk4qYFwBNTYzoD9015odmFYyJ1z-M2yr7uO4nSBW8xisNpua1NlG0SQwmiTaMMpeLWzDjojRs-cMep7natDTrL*TI2fcjDjwA7Twlws-3aPYOkKZDVH26F69THtShE57woUlmpSBqw9czP*k65*9IfCuq0jiJElQGi69Szn8DPebmKXDWATt6vxEWduea7*sLy-Lt*1bcbctGhgZk78A5S7dyQ\",\n \"method\" : \"GET\",\n \"type\" : \"redirect\"\n },\n \"paymentData\" : \"Ab02b4c0!BQABAgCINC3kOq5nsaj4k+VaArf6VIiTWkYALwijaS+VOvzTSf76Un3WYBgKJlEBqALZW3vlw+IDQGw5jqkVBO4axEJEFKu5fDL2RkeHbm+aHY7tlRVsjvNIcVTNbMtHJcclHakOVTrtTCQfspf11XGsmENUaL45bdeu07iDBtpnIvd39p6g8OVaLcSIGaA8Zosd93hs0h3lvIePt3QTekeOUH+zrMMfLyy/4QKBZtLjnWo3/4U0e2tsneOudynW0l5i+VyobWOZb7yZUj7v9GMVpAZ3YEqNZ1aWJlSmty9TJTpXp4PQQcNeELQAfTu4zaarMq5btRZpcmDRvSOQK0Qo/PvfWrv/si0c1NPr5EM43ebdkLiDEUSIGBDTellblheOaRsgD0JlrNLOHSpS6iCiyY5FQaWx7FpnYReP/un2f/2mMGxdehif1MqWWZzgAhjdA4kksQVb8eMIGLY2IveJ4iTmDAkFbhIATs2SuWhYBGqFnBGeH1jlJCJDDV8/XJ0IcX1/r0qC3wsUFecoElZ6gts+4tlfPUoeuSH/NFmyBEzrjZbgCqCH9YVXa/+W+dwQCOQ0G7K4SJepnlNcmpCtI29zMZgeRqmtzI0hImvQYt188MXK44ieh2wsmpVv6Y9EGIgJVR+t1IZKizm6Q2D5MCUC1uAVwu2iw7Xt5Re1XcWSaBC/nZt2iHaZF7kpgIXfrFshAEp7ImtleSI6IkFGMEFBQTEwM0NBNTM3RUFFRDg3QzI0REQ1MzkwOUI4MEE3OEE5MjNFMzgyM0Q2OERBQ0M5NEI5RkY4MzA1REMifVTgdc9kCwE5LJyeGFVSr+P70S1hwc62Ad03Oy1Ksxr823klh1hxYQDWBJETNf/YmYC9cHDGr6LxMQ8OOnwfg2xjsVU7ZUwWJbHid1vU/oJzHBXe54lHMNNre0HaQD6TSokVpazQsY3hRB84uevmeT7KVal98iqXd755VuiIxwHhhywaub1ogyQQEVxNGWx2+vL5Vh8NKmoghZQ+NLSZWRn77hJTGV+lKJdseGA9nV7DSlWodNmZ8RyRfQoqwtaK9woQ87PIN7XqSznZMS1HWMOE/aDLEXLJEfozHWrHuGVmn6Hupt/fBnm1GckSsMGeQNKS+4XmKGrJefrHDmdoZVBaZS9UjxfKjD2sCwu5vutgb6SLrECgCvu3q5/LTyFeTuPV1ZZrlpapC6umnWmSKmj/SdnhXJO00PNuFT2WY/GyH0cyA498zApE6VtLx2e9IvS01Oex6ZCRFDJ6sDCBzVN5g60vsm9tBut6trpQWyryqVM2cQ39xh9olCQ5Ml+2h4YFV5gA+1c0i+e6SeMtFJN788NW2EnQT/2pzM/rNAaSVwSf8vJcx3ZB9n8Pf8xi2buKZFEkyJpZJSg22JC/38D1E0tPRpQ7gZ1Z86meAGXnfKUtA+w2FllB2Y0dMrqi8jXnS/mqMPBmPVnIxUW96e40cB7W8E0VDf1IKx/wQphI8/vM3UOSqC81agmnyQ3nIDrAy8vqMOD+d1xcoElzRNy0OxU6v/90IKkhfAKr3Tur7Vb3FD6Pi/XrujJX95UlRd7fmaAI7Po1cIh1v7HEhsCNoh1z7WFNag==\",\n \"redirect\" : {\n \"method\" : \"GET\",\n \"url\" : \"https://test.adyen.com/hpp/checkout.shtml?u=redirectIdeal&p=eJxtUl1zmzAQ-DXwZgaB*XrQg0Nwg2s3DTVtJy8ZRbqAYlsikmCMf30FddNMpzOak2bvZm-3Ts*KCJZLBpgzIEeX9kqBoOMMFXXlcq17UCXDCAXIPYGiLRFmRanshcF70GZ3xd6TpTDQKGK4FJ4ZO8D5XZF-vq-3T5*KL0VV5v*tHEBpe*Pob5cKXmBSA1gbxUXzIWF6JW6JITjLUIySNItQliVxsH6v*cYbnNSHZsMfcydYr8SrE9yY7HRjavMAlyyIjhuK*tzszj9ew-uHrN854a3bkfEE1uBp9od833cV6Lra4taYzglXlsueo6Tk2EptLJL6qW8h2gI9yN7oVnYdKItoUAOnoO3z62-aUlB5sk4qYFwBNTYzoD9015odmFYyJ1z-M2yr7uO4nSBW8xisNpua1NlG0SQwmiTaMMpeLWzDjojRs-cMep7natDTrL*TI2fcjDjwA7Twlws-3aPYOkKZDVH26F69THtShE57woUlmpSBqw9czP*k65*9IfCuq0jiJElQGi69Szn8DPebmKXDWATt6vxEWduea7*sLy-Lt*1bcbctGhgZk78A5S7dyQ\"\n }\n}", + "originalRequest": { + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"ideal\",\n \"issuer\" : \"1121\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"ideal\",\n \"issuer\" : \"1121\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + ] }, { "name": "Make a Klarna payment", "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 \"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" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + "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 \"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" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + ] }, { "name": "Make a one-off payment with a token and CVV", "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"storedPaymentMethodId\" : \"8416038790273850\",\n \"cvc\" : \"737\"\n },\n \"shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID_6738oneoff\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"storedPaymentMethodId\" : \"8416038790273850\",\n \"cvc\" : \"737\"\n },\n \"shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID_6738oneoff\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + ] }, { "name": "Make a one-off payment with a token and CVV, using encrypted card details", "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"storedPaymentMethodId\" : \"8416038790273850\",\n \"encryptedSecurityCode\" : \"adyenjs_0_1_18$MT6ppy0FAMVMLH...\"\n },\n \"shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID_6738oneoff\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"shopperInteraction\" : \"ContAuth\",\n \"recurringProcessingModel\" : \"CardOnFile\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"storedPaymentMethodId\" : \"8416038790273850\",\n \"encryptedSecurityCode\" : \"adyenjs_0_1_18$MT6ppy0FAMVMLH...\"\n },\n \"shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID_6738oneoff\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"shopperInteraction\" : \"ContAuth\",\n \"recurringProcessingModel\" : \"CardOnFile\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + ] }, { "name": "Make a card payment with a token", "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"storedPaymentMethodId\" : \"8316038796685850\"\n },\n \"shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID_IOfW3subscription\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"shopperInteraction\" : \"ContAuth\",\n \"recurringProcessingModel\" : \"Subscription\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"storedPaymentMethodId\" : \"8316038796685850\"\n },\n \"shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID_IOfW3subscription\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"shopperInteraction\" : \"ContAuth\",\n \"recurringProcessingModel\" : \"Subscription\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + ] }, { "name": "Split a payment between balance accounts", "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 + "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 \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4111111111111111\",\n \"cvc\" : \"737\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\"\n },\n \"amount\" : {\n \"value\" : 40000,\n \"currency\" : \"USD\"\n },\n \"reference\" : \"{{$guid}}\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"splits\" : [ {\n \"amount\" : {\n \"value\" : 39600\n },\n \"type\" : \"BalanceAccount\",\n \"account\" : \"BA00000000000000000000001\",\n \"reference\" : \"Your reference for the sale amount\",\n \"description\" : \"Your description for the sale amount\"\n }, {\n \"amount\" : {\n \"value\" : 400\n },\n \"type\" : \"Commission\",\n \"reference\" : \"Your reference for the commission\",\n \"description\" : \"Your description for the commission\"\n }, {\n \"type\" : \"PaymentFee\",\n \"account\" : \"BA00000000000000000000001\",\n \"reference\" : \"Your reference for the fees\",\n \"description\" : \"Your description for the fees\"\n } ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"additionalData\" : {\n \"refusalReasonRaw\" : \"AUTHORISED\",\n \"eci\" : \"N/A\",\n \"acquirerAccountCode\" : \"YOUR_ACQUIRER_ACCOUNT\",\n \"xid\" : \"N/A\",\n \"threeDAuthenticated\" : \"false\",\n \"paymentMethodVariant\" : \"visa\",\n \"issuerBin\" : \"41111111\",\n \"payoutEligible\" : \"Y\",\n \"fraudManualReview\" : \"false\",\n \"threeDOffered\" : \"false\",\n \"threeDOfferedResponse\" : \"N/A\",\n \"authorisationMid\" : \"50\",\n \"fundsAvailability\" : \"I\",\n \"authorisedAmountCurrency\" : \"USD\",\n \"threeDAuthenticatedResponse\" : \"N/A\",\n \"avsResultRaw\" : \"5\",\n \"retry.attempt1.rawResponse\" : \"AUTHORISED\",\n \"avsResult\" : \"5 No AVS data provided\",\n \"cardSummary\" : \"1111\",\n \"retry.attempt1.avsResultRaw\" : \"5\",\n \"networkTxReference\" : \"777718270854480\",\n \"expiryDate\" : \"3/2030\",\n \"cavvAlgorithm\" : \"N/A\",\n \"cardBin\" : \"411111\",\n \"alias\" : \"8915844059375211\",\n \"cvcResultRaw\" : \"M\",\n \"merchantReference\" : \"YOUR_ORDER_NUMBER\",\n \"acquirerReference\" : \"YOUR_ACQUIRER_REFERENCE\",\n \"cardIssuingCountry\" : \"NL\",\n \"liabilityShift\" : \"false\",\n \"fraudResultType\" : \"GREEN\",\n \"authCode\" : \"035450\",\n \"cardHolderName\" : \"John Smith\",\n \"isCardCommercial\" : \"unknown\",\n \"PaymentAccountReference\" : \"6006491286999921374...\",\n \"retry.attempt1.acquirerAccount\" : \"YOUR_ACQUIRER_ACCOUNT\",\n \"cardIssuingBank\" : \"ISSUING_BANK_CUSTOMER\",\n \"retry.attempt1.acquirer\" : \"YOUR_ACQUIRER_CODE\",\n \"authorisedAmountValue\" : \"40000\",\n \"issuerCountry\" : \"NL\",\n \"cvcResult\" : \"1 Matches\",\n \"retry.attempt1.responseCode\" : \"Approved\",\n \"aliasType\" : \"Default\",\n \"retry.attempt1.shopperInteraction\" : \"Ecommerce\",\n \"cardPaymentMethod\" : \"visa\",\n \"acquirerCode\" : \"YOUR_ACQUIRER_CODE\"\n },\n \"pspReference\" : \"PPKFQ89R6QRXGN82\",\n \"resultCode\" : \"Authorised\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 40000\n },\n \"donationToken\" : \"81234567890123456...\",\n \"merchantReference\" : \"YOUR_ORDER_NUMBER\"\n}", + "originalRequest": { + "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 \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4111111111111111\",\n \"cvc\" : \"737\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\"\n },\n \"amount\" : {\n \"value\" : 40000,\n \"currency\" : \"USD\"\n },\n \"reference\" : \"{{$guid}}\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"splits\" : [ {\n \"amount\" : {\n \"value\" : 39600\n },\n \"type\" : \"BalanceAccount\",\n \"account\" : \"BA00000000000000000000001\",\n \"reference\" : \"Your reference for the sale amount\",\n \"description\" : \"Your description for the sale amount\"\n }, {\n \"amount\" : {\n \"value\" : 400\n },\n \"type\" : \"Commission\",\n \"reference\" : \"Your reference for the commission\",\n \"description\" : \"Your description for the commission\"\n }, {\n \"type\" : \"PaymentFee\",\n \"account\" : \"BA00000000000000000000001\",\n \"reference\" : \"Your reference for the fees\",\n \"description\" : \"Your description for the fees\"\n } ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4111111111111111\",\n \"cvc\" : \"737\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\"\n },\n \"amount\" : {\n \"value\" : 40000,\n \"currency\" : \"USD\"\n },\n \"reference\" : \"{{$guid}}\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"splits\" : [ {\n \"amount\" : {\n \"value\" : 39600\n },\n \"type\" : \"BalanceAccount\",\n \"account\" : \"BA00000000000000000000001\",\n \"reference\" : \"Your reference for the sale amount\",\n \"description\" : \"Your description for the sale amount\"\n }, {\n \"amount\" : {\n \"value\" : 400\n },\n \"type\" : \"Commission\",\n \"reference\" : \"Your reference for the commission\",\n \"description\" : \"Your description for the commission\"\n }, {\n \"type\" : \"PaymentFee\",\n \"account\" : \"BA00000000000000000000001\",\n \"reference\" : \"Your reference for the fees\",\n \"description\" : \"Your description for the fees\"\n } ]\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + ] }, { "name": "Split a payment in a Classic Platforms integration", "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 \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4111111111111111\",\n \"cvc\" : \"737\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\"\n },\n \"amount\" : {\n \"value\" : 6200,\n \"currency\" : \"EUR\"\n },\n \"reference\" : \"{{$guid}}\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"splits\" : [ {\n \"amount\" : {\n \"value\" : 6000\n },\n \"type\" : \"MarketPlace\",\n \"account\" : \"151272963\",\n \"reference\" : \"6124145\",\n \"description\" : \"Porcelain Doll: Eliza (20cm)\"\n }, {\n \"amount\" : {\n \"value\" : 200\n },\n \"type\" : \"Commission\",\n \"reference\" : \"6124146\"\n } ]\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + "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 \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4111111111111111\",\n \"cvc\" : \"737\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\"\n },\n \"amount\" : {\n \"value\" : 6200,\n \"currency\" : \"EUR\"\n },\n \"reference\" : \"{{$guid}}\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"splits\" : [ {\n \"amount\" : {\n \"value\" : 6000\n },\n \"type\" : \"MarketPlace\",\n \"account\" : \"151272963\",\n \"reference\" : \"6124145\",\n \"description\" : \"Porcelain Doll: Eliza (20cm)\"\n }, {\n \"amount\" : {\n \"value\" : 200\n },\n \"type\" : \"Commission\",\n \"reference\" : \"6124146\"\n } ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + ] }, { "name": "Tokenize card details for a subscription", "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 + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4111111111111111\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\",\n \"cvc\" : \"737\"\n },\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"storePaymentMethod\" : true,\n \"shopperInteraction\" : \"Ecommerce\",\n \"recurringProcessingModel\" : \"Subscription\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"additionalData\" : {\n \"cvcResult\" : \"1 Matches\",\n \"authCode\" : \"098871\",\n \"avsResult\" : \"4 AVS not supported for this card type\",\n \"recurring.recurringDetailReference\" : \"9916178934434753\",\n \"recurringProcessingModel\" : \"Subscription\",\n \"avsResultRaw\" : \"4\",\n \"cvcResultRaw\" : \"M\",\n \"refusalReasonRaw\" : \"AUTHORISED\",\n \"recurring.shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID\",\n \"acquirerCode\" : \"TestPmmAcquirer\",\n \"acquirerReference\" : \"YOUR_ACQUIRER_REFERENCE\"\n },\n \"pspReference\" : \"YOUR_PSP_REFERENCE\",\n \"resultCode\" : \"Authorised\",\n \"merchantReference\" : \"YOUR_MERCHANT_REFERENCE\"\n}", + "originalRequest": { + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4111111111111111\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\",\n \"cvc\" : \"737\"\n },\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"storePaymentMethod\" : true,\n \"shopperInteraction\" : \"Ecommerce\",\n \"recurringProcessingModel\" : \"Subscription\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4111111111111111\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\",\n \"cvc\" : \"737\"\n },\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"storePaymentMethod\" : true,\n \"shopperInteraction\" : \"Ecommerce\",\n \"recurringProcessingModel\" : \"Subscription\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + ] } ] - } -, + }, { "name": "/payments/details", "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. ", @@ -2212,106 +3913,167 @@ { "name": "Submit the redirect result", "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 + "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 \"details\" : {\n \"redirectResult\" : \"X6XtfGC3!Y...\"\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. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"resultCode\" : \"Authorised\",\n \"pspReference\" : \"V4HZ4RBFJGXXGN82\"\n}", + "originalRequest": { + "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 \"details\" : {\n \"redirectResult\" : \"X6XtfGC3!Y...\"\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. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"details\" : {\n \"redirectResult\" : \"X6XtfGC3!Y...\"\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. " - } + ] }, { "name": "Submit 3D Secure 2 authentication result", "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 \"details\" : {\n \"threeDSResult\" : \"eyJ0cmFuc1N0YXR1cyI6IlkifQ==\"\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. " - } + "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 \"details\" : {\n \"threeDSResult\" : \"eyJ0cmFuc1N0YXR1cyI6IlkifQ==\"\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. " +} + ,"response": [ + ] } ] } - ] }, { @@ -2324,55 +4086,113 @@ { "name": "Create a payment link", "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 + "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 \"reference\" : \"{{$guid}}\",\n \"amount\" : {\n \"value\" : 1250,\n \"currency\" : \"BRL\"\n },\n \"countryCode\" : \"BR\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"shopperEmail\" : \"test@email.com\",\n \"shopperLocale\" : \"pt-BR\",\n \"billingAddress\" : {\n \"street\" : \"Roque Petroni Jr\",\n \"postalCode\" : \"59000060\",\n \"city\" : \"São Paulo\",\n \"houseNumberOrName\" : \"999\",\n \"country\" : \"BR\",\n \"stateOrProvince\" : \"SP\"\n },\n \"deliveryAddress\" : {\n \"street\" : \"Roque Petroni Jr\",\n \"postalCode\" : \"59000060\",\n \"city\" : \"São Paulo\",\n \"houseNumberOrName\" : \"999\",\n \"country\" : \"BR\",\n \"stateOrProvince\" : \"SP\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentLinks", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentLinks" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates a payment link to our hosted payment form where shoppers can pay. The list of payment methods presented to the shopper depends on the `currency` and `country` parameters sent in the request. For more information, refer to [Pay by Link documentation](https://docs.adyen.com/online-payments/pay-by-link#create-payment-links-through-api)." +} + ,"response": [ + {"name": "Created - the request has succeeded.", + "code": 201, + "status": "Created", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"amount\" : {\n \"currency\" : \"BRL\",\n \"value\" : 1250\n },\n \"billingAddress\" : {\n \"city\" : \"São Paulo\",\n \"country\" : \"BR\",\n \"houseNumberOrName\" : \"999\",\n \"postalCode\" : \"59000060\",\n \"stateOrProvince\" : \"SP\",\n \"street\" : \"Roque Petroni Jr\"\n },\n \"countryCode\" : \"BR\",\n \"deliveryAddress\" : {\n \"city\" : \"São Paulo\",\n \"country\" : \"BR\",\n \"houseNumberOrName\" : \"999\",\n \"postalCode\" : \"59000060\",\n \"stateOrProvince\" : \"SP\",\n \"street\" : \"Roque Petroni Jr\"\n },\n \"expiresAt\" : \"2022-10-28T09:16:22Z\",\n \"merchantAccount\" : \"YOUR_MERCHANT_ACCOUNT\",\n \"reference\" : \"YOUR_ORDER_NUMBER\",\n \"reusable\" : false,\n \"shopperEmail\" : \"test@email.com\",\n \"shopperLocale\" : \"pt-BR\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"id\" : \"PLE83C39B0A0DE0C1E\",\n \"status\" : \"active\",\n \"url\" : \"https://test.adyen.link/PLE83C39B0A0DE0C1E\"\n}", + "originalRequest": { + "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 \"reference\" : \"{{$guid}}\",\n \"amount\" : {\n \"value\" : 1250,\n \"currency\" : \"BRL\"\n },\n \"countryCode\" : \"BR\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"shopperEmail\" : \"test@email.com\",\n \"shopperLocale\" : \"pt-BR\",\n \"billingAddress\" : {\n \"street\" : \"Roque Petroni Jr\",\n \"postalCode\" : \"59000060\",\n \"city\" : \"São Paulo\",\n \"houseNumberOrName\" : \"999\",\n \"country\" : \"BR\",\n \"stateOrProvince\" : \"SP\"\n },\n \"deliveryAddress\" : {\n \"street\" : \"Roque Petroni Jr\",\n \"postalCode\" : \"59000060\",\n \"city\" : \"São Paulo\",\n \"houseNumberOrName\" : \"999\",\n \"country\" : \"BR\",\n \"stateOrProvince\" : \"SP\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentLinks", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentLinks" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates a payment link to our hosted payment form where shoppers can pay. The list of payment methods presented to the shopper depends on the `currency` and `country` parameters sent in the request. For more information, refer to [Pay by Link documentation](https://docs.adyen.com/online-payments/pay-by-link#create-payment-links-through-api)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"reference\" : \"{{$guid}}\",\n \"amount\" : {\n \"value\" : 1250,\n \"currency\" : \"BRL\"\n },\n \"countryCode\" : \"BR\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"shopperEmail\" : \"test@email.com\",\n \"shopperLocale\" : \"pt-BR\",\n \"billingAddress\" : {\n \"street\" : \"Roque Petroni Jr\",\n \"postalCode\" : \"59000060\",\n \"city\" : \"São Paulo\",\n \"houseNumberOrName\" : \"999\",\n \"country\" : \"BR\",\n \"stateOrProvince\" : \"SP\"\n },\n \"deliveryAddress\" : {\n \"street\" : \"Roque Petroni Jr\",\n \"postalCode\" : \"59000060\",\n \"city\" : \"São Paulo\",\n \"houseNumberOrName\" : \"999\",\n \"country\" : \"BR\",\n \"stateOrProvince\" : \"SP\"\n }\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentLinks", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentLinks" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Creates a payment link to our hosted payment form where shoppers can pay. The list of payment methods presented to the shopper depends on the `currency` and `country` parameters sent in the request. For more information, refer to [Pay by Link documentation](https://docs.adyen.com/online-payments/pay-by-link#create-payment-links-through-api)." - } + ] } ] - } -, + }, { "name": "/paymentLinks/:linkId", "description": "Retrieves the payment link details using the payment link `id`.", @@ -2380,49 +4200,50 @@ { "name": "Get a payment link", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentLinks/:linkId", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentLinks", - ":linkId" - ], - "variable": [ - { - "key": "linkId", - "value": "", - "description": "Unique identifier of the payment link." - } - ], - "query": [ - ] - }, - "description": "Retrieves the payment link details using the payment link `id`." - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentLinks/:linkId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentLinks", + ":linkId" + ], + "variable": [ + { + "key": "linkId", + "value": "", + "description": "Unique identifier of the payment link." + } + ], + "query": [ + ] + }, + "description": "Retrieves the payment link details using the payment link `id`." +} + ,"response": [ + ] } ] - } -, + }, { "name": "/paymentLinks/:linkId", "description": "Updates the status of a payment link. Use this endpoint to [force the expiry of a payment link](https://docs.adyen.com/online-payments/pay-by-link#update-payment-link-status).", @@ -2430,55 +4251,113 @@ { "name": "Update the status of a payment link", "request": { - "method": "PATCH", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"status\" : \"expired\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentLinks/:linkId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentLinks", + ":linkId" + ], + "variable": [ + { + "key": "linkId", + "value": "", + "description": "Unique identifier of the payment link." + } + ], + "query": [ + ] + }, + "description": "Updates the status of a payment link. Use this endpoint to [force the expiry of a payment link](https://docs.adyen.com/online-payments/pay-by-link#update-payment-link-status)." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 8700\n },\n \"countryCode\" : \"NL\",\n \"expiresAt\" : \"2021-04-08T14:06:39Z\",\n \"merchantAccount\" : \"YOUR_MERCHANT_ACCOUNT\",\n \"reference\" : \"shopper-reference-ekvL83\",\n \"shopperLocale\" : \"hu-HU\",\n \"shopperReference\" : \"shopper-reference-LZfdWZ\",\n \"status\" : \"expired\",\n \"url\" : \"https://test.adyen.link/PL61C53A8B97E6915A\",\n \"id\" : \"PL61C53A8B97E6915A\"\n}", + "originalRequest": { + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"status\" : \"expired\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentLinks/:linkId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentLinks", + ":linkId" + ], + "variable": [ + { + "key": "linkId", + "value": "", + "description": "Unique identifier of the payment link." + } + ], + "query": [ + ] + }, + "description": "Updates the status of a payment link. Use this endpoint to [force the expiry of a payment link](https://docs.adyen.com/online-payments/pay-by-link#update-payment-link-status)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"status\" : \"expired\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentLinks/:linkId", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentLinks", - ":linkId" - ], - "variable": [ - { - "key": "linkId", - "value": "", - "description": "Unique identifier of the payment link." - } - ], - "query": [ - ] - }, - "description": "Updates the status of a payment link. Use this endpoint to [force the expiry of a payment link](https://docs.adyen.com/online-payments/pay-by-link#update-payment-link-status)." - } + ] } ] } - ] } ], diff --git a/postman/CheckoutService-v68.json b/postman/CheckoutService-v68.json index 91a9ca7..c33ec50 100644 --- a/postman/CheckoutService-v68.json +++ b/postman/CheckoutService-v68.json @@ -19,55 +19,113 @@ { "name": "Cancel a payment using your own reference", "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 + "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 \"paymentReference\" : \"YOUR_UNIQUE_REFERENCE_FOR_THE_PAYMENT\",\n \"reference\" : \"YOUR_UNIQUE_REFERENCE_FOR_THE_CANCELLATION\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/cancels", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "cancels" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Cancels the authorisation on a payment that has not yet been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/captures), and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**TECHNICAL_CANCEL** webhook](https://docs.adyen.com/online-payments/cancel#cancellation-webhook). If you want to cancel a payment using the [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference), use the [`/payments/{paymentPspReference}/cancels`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/cancels) endpoint instead. If you want to cancel a payment but are not sure whether it has been captured, use the [`/payments/{paymentPspReference}/reversals`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/reversals) endpoint instead. For more information, refer to [Cancel](https://docs.adyen.com/online-payments/cancel)." +} + ,"response": [ + {"name": "Created - the request has been fulfilled and has resulted in one or more new resources being created.", + "code": 201, + "status": "Created", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"merchantAccount\" : \"YOUR_MERCHANT_ACCOUNT\",\n \"paymentReference\" : \"YOUR_UNIQUE_REFERENCE_FOR_THE_PAYMENT\",\n \"reference\" : \"YOUR_UNIQUE_REFERENCE_FOR_THE_CANCELLATION\",\n \"pspReference\" : \"993617894906488A\",\n \"status\" : \"received\"\n}", + "originalRequest": { + "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 \"paymentReference\" : \"YOUR_UNIQUE_REFERENCE_FOR_THE_PAYMENT\",\n \"reference\" : \"YOUR_UNIQUE_REFERENCE_FOR_THE_CANCELLATION\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/cancels", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "cancels" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Cancels the authorisation on a payment that has not yet been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/captures), and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**TECHNICAL_CANCEL** webhook](https://docs.adyen.com/online-payments/cancel#cancellation-webhook). If you want to cancel a payment using the [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference), use the [`/payments/{paymentPspReference}/cancels`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/cancels) endpoint instead. If you want to cancel a payment but are not sure whether it has been captured, use the [`/payments/{paymentPspReference}/reversals`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/reversals) endpoint instead. For more information, refer to [Cancel](https://docs.adyen.com/online-payments/cancel)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"paymentReference\" : \"YOUR_UNIQUE_REFERENCE_FOR_THE_PAYMENT\",\n \"reference\" : \"YOUR_UNIQUE_REFERENCE_FOR_THE_CANCELLATION\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/cancels", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "cancels" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Cancels the authorisation on a payment that has not yet been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/captures), and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**TECHNICAL_CANCEL** webhook](https://docs.adyen.com/online-payments/cancel#cancellation-webhook). If you want to cancel a payment using the [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference), use the [`/payments/{paymentPspReference}/cancels`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/cancels) endpoint instead. If you want to cancel a payment but are not sure whether it has been captured, use the [`/payments/{paymentPspReference}/reversals`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/reversals) endpoint instead. For more information, refer to [Cancel](https://docs.adyen.com/online-payments/cancel)." - } + ] } ] - } -, + }, { "name": "/payments/:paymentPspReference/amountUpdates", "description": "Increases or decreases the authorised payment amount and returns a unique reference for this request. You get the outcome of the request asynchronously, in an [**AUTHORISATION_ADJUSTMENT** webhook](https://docs.adyen.com/development-resources/webhooks/understand-notifications#event-codes). You can only update authorised amounts that have not yet been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/captures). The amount you specify in the request is the updated amount, which is larger or smaller than the initial authorised amount. For more information, refer to [Authorisation adjustment](https://docs.adyen.com/online-payments/adjust-authorisation#use-cases).", @@ -75,62 +133,127 @@ { "name": "Update the amount of an authorised payment", "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 + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 2500\n },\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments/:paymentPspReference/amountUpdates", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments", + ":paymentPspReference", + "amountUpdates" + ], + "variable": [ + { + "key": "paymentPspReference", + "value": "", + "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment." + } + ], + "query": [ + ] + }, + "description": "Increases or decreases the authorised payment amount and returns a unique reference for this request. You get the outcome of the request asynchronously, in an [**AUTHORISATION_ADJUSTMENT** webhook](https://docs.adyen.com/development-resources/webhooks/understand-notifications#event-codes). You can only update authorised amounts that have not yet been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/captures). The amount you specify in the request is the updated amount, which is larger or smaller than the initial authorised amount. For more information, refer to [Authorisation adjustment](https://docs.adyen.com/online-payments/adjust-authorisation#use-cases)." +} + ,"response": [ + {"name": "Created - the request has been fulfilled and has resulted in one or more new resources being created.", + "code": 201, + "status": "Created", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"merchantAccount\" : \"YOUR_MERCHANT_ACCOUNT\",\n \"paymentPspReference\" : \"993617894903480A\",\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"pspReference\" : \"993617894906488A\",\n \"status\" : \"received\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 2500\n }\n}", + "originalRequest": { + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 2500\n },\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments/:paymentPspReference/amountUpdates", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments", + ":paymentPspReference", + "amountUpdates" + ], + "variable": [ + { + "key": "paymentPspReference", + "value": "", + "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment." + } + ], + "query": [ + ] + }, + "description": "Increases or decreases the authorised payment amount and returns a unique reference for this request. You get the outcome of the request asynchronously, in an [**AUTHORISATION_ADJUSTMENT** webhook](https://docs.adyen.com/development-resources/webhooks/understand-notifications#event-codes). You can only update authorised amounts that have not yet been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/captures). The amount you specify in the request is the updated amount, which is larger or smaller than the initial authorised amount. For more information, refer to [Authorisation adjustment](https://docs.adyen.com/online-payments/adjust-authorisation#use-cases)." +} } - ], - "body": { - "mode": "raw", - "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" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments/:paymentPspReference/amountUpdates", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments", - ":paymentPspReference", - "amountUpdates" - ], - "variable": [ - { - "key": "paymentPspReference", - "value": "", - "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment." - } - ], - "query": [ - ] - }, - "description": "Increases or decreases the authorised payment amount and returns a unique reference for this request. You get the outcome of the request asynchronously, in an [**AUTHORISATION_ADJUSTMENT** webhook](https://docs.adyen.com/development-resources/webhooks/understand-notifications#event-codes). You can only update authorised amounts that have not yet been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/captures). The amount you specify in the request is the updated amount, which is larger or smaller than the initial authorised amount. For more information, refer to [Authorisation adjustment](https://docs.adyen.com/online-payments/adjust-authorisation#use-cases)." - } + ] } ] - } -, + }, { "name": "/payments/:paymentPspReference/cancels", "description": "Cancels the authorisation on a payment that has not yet been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/paymentPspReference/captures), and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CANCELLATION** webhook](https://docs.adyen.com/online-payments/cancel#cancellation-webhook). If you want to cancel a payment but don't have the [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference), use the [`/cancels`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cancels) endpoint instead. If you want to cancel a payment but are not sure whether it has been captured, use the [`/payments/{paymentPspReference}/reversals`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/reversals) endpoint instead. For more information, refer to [Cancel](https://docs.adyen.com/online-payments/cancel).", @@ -138,62 +261,127 @@ { "name": "Cancel payment using a PSP reference", "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 + "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 \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments/:paymentPspReference/cancels", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments", + ":paymentPspReference", + "cancels" + ], + "variable": [ + { + "key": "paymentPspReference", + "value": "", + "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to cancel. " + } + ], + "query": [ + ] + }, + "description": "Cancels the authorisation on a payment that has not yet been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/paymentPspReference/captures), and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CANCELLATION** webhook](https://docs.adyen.com/online-payments/cancel#cancellation-webhook). If you want to cancel a payment but don't have the [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference), use the [`/cancels`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cancels) endpoint instead. If you want to cancel a payment but are not sure whether it has been captured, use the [`/payments/{paymentPspReference}/reversals`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/reversals) endpoint instead. For more information, refer to [Cancel](https://docs.adyen.com/online-payments/cancel)." +} + ,"response": [ + {"name": "Created - the request has been fulfilled and has resulted in one or more new resources being created.", + "code": 201, + "status": "Created", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"merchantAccount\" : \"YOUR_MERCHANT_ACCOUNT\",\n \"paymentPspReference\" : \"993617894903480A\",\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"pspReference\" : \"993617894906488A\",\n \"status\" : \"received\"\n}", + "originalRequest": { + "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 \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments/:paymentPspReference/cancels", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments", + ":paymentPspReference", + "cancels" + ], + "variable": [ + { + "key": "paymentPspReference", + "value": "", + "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to cancel. " + } + ], + "query": [ + ] + }, + "description": "Cancels the authorisation on a payment that has not yet been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/paymentPspReference/captures), and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CANCELLATION** webhook](https://docs.adyen.com/online-payments/cancel#cancellation-webhook). If you want to cancel a payment but don't have the [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference), use the [`/cancels`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cancels) endpoint instead. If you want to cancel a payment but are not sure whether it has been captured, use the [`/payments/{paymentPspReference}/reversals`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/reversals) endpoint instead. For more information, refer to [Cancel](https://docs.adyen.com/online-payments/cancel)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments/:paymentPspReference/cancels", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments", - ":paymentPspReference", - "cancels" - ], - "variable": [ - { - "key": "paymentPspReference", - "value": "", - "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to cancel. " - } - ], - "query": [ - ] - }, - "description": "Cancels the authorisation on a payment that has not yet been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/paymentPspReference/captures), and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CANCELLATION** webhook](https://docs.adyen.com/online-payments/cancel#cancellation-webhook). If you want to cancel a payment but don't have the [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference), use the [`/cancels`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cancels) endpoint instead. If you want to cancel a payment but are not sure whether it has been captured, use the [`/payments/{paymentPspReference}/reversals`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/reversals) endpoint instead. For more information, refer to [Cancel](https://docs.adyen.com/online-payments/cancel)." - } + ] } ] - } -, + }, { "name": "/payments/:paymentPspReference/captures", "description": " Captures an authorised payment and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CAPTURE** webhook](https://docs.adyen.com/online-payments/capture#capture-notification). You can capture either the full authorised amount or a part of the authorised amount. By default, any unclaimed amount after a partial capture gets cancelled. This does not apply if you enabled multiple partial captures on your account and the payment method supports multiple partial captures. [Automatic capture](https://docs.adyen.com/online-payments/capture#automatic-capture) is the default setting for most payment methods. In these cases, you don't need to make capture requests. However, making capture requests for payments that are captured automatically does not result in double charges. For more information, refer to [Capture](https://docs.adyen.com/online-payments/capture).", @@ -201,62 +389,127 @@ { "name": "Capture an authorised payment", "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 + "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 \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"amount\" : {\n \"value\" : 2000,\n \"currency\" : \"EUR\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments/:paymentPspReference/captures", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments", + ":paymentPspReference", + "captures" + ], + "variable": [ + { + "key": "paymentPspReference", + "value": "", + "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to capture." + } + ], + "query": [ + ] + }, + "description": " Captures an authorised payment and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CAPTURE** webhook](https://docs.adyen.com/online-payments/capture#capture-notification). You can capture either the full authorised amount or a part of the authorised amount. By default, any unclaimed amount after a partial capture gets cancelled. This does not apply if you enabled multiple partial captures on your account and the payment method supports multiple partial captures. [Automatic capture](https://docs.adyen.com/online-payments/capture#automatic-capture) is the default setting for most payment methods. In these cases, you don't need to make capture requests. However, making capture requests for payments that are captured automatically does not result in double charges. For more information, refer to [Capture](https://docs.adyen.com/online-payments/capture)." +} + ,"response": [ + {"name": "Created - the request has been fulfilled and has resulted in one or more new resources being created.", + "code": 201, + "status": "Created", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"merchantAccount\" : \"YOUR_MERCHANT_ACCOUNT\",\n \"paymentPspReference\" : \"993617894903480A\",\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"pspReference\" : \"993617894906488A\",\n \"status\" : \"received\",\n \"amount\" : {\n \"value\" : 2000,\n \"currency\" : \"EUR\"\n }\n}", + "originalRequest": { + "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 \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"amount\" : {\n \"value\" : 2000,\n \"currency\" : \"EUR\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments/:paymentPspReference/captures", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments", + ":paymentPspReference", + "captures" + ], + "variable": [ + { + "key": "paymentPspReference", + "value": "", + "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to capture." + } + ], + "query": [ + ] + }, + "description": " Captures an authorised payment and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CAPTURE** webhook](https://docs.adyen.com/online-payments/capture#capture-notification). You can capture either the full authorised amount or a part of the authorised amount. By default, any unclaimed amount after a partial capture gets cancelled. This does not apply if you enabled multiple partial captures on your account and the payment method supports multiple partial captures. [Automatic capture](https://docs.adyen.com/online-payments/capture#automatic-capture) is the default setting for most payment methods. In these cases, you don't need to make capture requests. However, making capture requests for payments that are captured automatically does not result in double charges. For more information, refer to [Capture](https://docs.adyen.com/online-payments/capture)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"amount\" : {\n \"value\" : 2000,\n \"currency\" : \"EUR\"\n }\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments/:paymentPspReference/captures", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments", - ":paymentPspReference", - "captures" - ], - "variable": [ - { - "key": "paymentPspReference", - "value": "", - "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to capture." - } - ], - "query": [ - ] - }, - "description": " Captures an authorised payment and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CAPTURE** webhook](https://docs.adyen.com/online-payments/capture#capture-notification). You can capture either the full authorised amount or a part of the authorised amount. By default, any unclaimed amount after a partial capture gets cancelled. This does not apply if you enabled multiple partial captures on your account and the payment method supports multiple partial captures. [Automatic capture](https://docs.adyen.com/online-payments/capture#automatic-capture) is the default setting for most payment methods. In these cases, you don't need to make capture requests. However, making capture requests for payments that are captured automatically does not result in double charges. For more information, refer to [Capture](https://docs.adyen.com/online-payments/capture)." - } + ] } ] - } -, + }, { "name": "/payments/:paymentPspReference/refunds", "description": "Refunds a payment that has been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/captures), and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**REFUND** webhook](https://docs.adyen.com/online-payments/refund#refund-webhook). You can refund either the full captured amount or a part of the captured amount. You can also perform multiple partial refunds, as long as their sum doesn't exceed the captured amount. > Some payment methods do not support partial refunds. To learn if a payment method supports partial refunds, refer to the payment method page such as [cards](https://docs.adyen.com/payment-methods/cards#supported-cards), [iDEAL](https://docs.adyen.com/payment-methods/ideal), or [Klarna](https://docs.adyen.com/payment-methods/klarna). If you want to refund a payment but are not sure whether it has been captured, use the [`/payments/{paymentPspReference}/reversals`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/reversals) endpoint instead. For more information, refer to [Refund](https://docs.adyen.com/online-payments/refund).", @@ -264,62 +517,127 @@ { "name": "Refund a payment", "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 + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 2500\n },\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments/:paymentPspReference/refunds", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments", + ":paymentPspReference", + "refunds" + ], + "variable": [ + { + "key": "paymentPspReference", + "value": "", + "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to refund." + } + ], + "query": [ + ] + }, + "description": "Refunds a payment that has been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/captures), and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**REFUND** webhook](https://docs.adyen.com/online-payments/refund#refund-webhook). You can refund either the full captured amount or a part of the captured amount. You can also perform multiple partial refunds, as long as their sum doesn't exceed the captured amount. > Some payment methods do not support partial refunds. To learn if a payment method supports partial refunds, refer to the payment method page such as [cards](https://docs.adyen.com/payment-methods/cards#supported-cards), [iDEAL](https://docs.adyen.com/payment-methods/ideal), or [Klarna](https://docs.adyen.com/payment-methods/klarna). If you want to refund a payment but are not sure whether it has been captured, use the [`/payments/{paymentPspReference}/reversals`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/reversals) endpoint instead. For more information, refer to [Refund](https://docs.adyen.com/online-payments/refund)." +} + ,"response": [ + {"name": "Created - the request has been fulfilled and has resulted in one or more new resources being created.", + "code": 201, + "status": "Created", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"merchantAccount\" : \"YOUR_MERCHANT_ACCOUNT\",\n \"paymentPspReference\" : \"993617894903480A\",\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"pspReference\" : \"993617894906488A\",\n \"status\" : \"received\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 2500\n }\n}", + "originalRequest": { + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 2500\n },\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments/:paymentPspReference/refunds", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments", + ":paymentPspReference", + "refunds" + ], + "variable": [ + { + "key": "paymentPspReference", + "value": "", + "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to refund." + } + ], + "query": [ + ] + }, + "description": "Refunds a payment that has been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/captures), and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**REFUND** webhook](https://docs.adyen.com/online-payments/refund#refund-webhook). You can refund either the full captured amount or a part of the captured amount. You can also perform multiple partial refunds, as long as their sum doesn't exceed the captured amount. > Some payment methods do not support partial refunds. To learn if a payment method supports partial refunds, refer to the payment method page such as [cards](https://docs.adyen.com/payment-methods/cards#supported-cards), [iDEAL](https://docs.adyen.com/payment-methods/ideal), or [Klarna](https://docs.adyen.com/payment-methods/klarna). If you want to refund a payment but are not sure whether it has been captured, use the [`/payments/{paymentPspReference}/reversals`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/reversals) endpoint instead. For more information, refer to [Refund](https://docs.adyen.com/online-payments/refund)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 2500\n },\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments/:paymentPspReference/refunds", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments", - ":paymentPspReference", - "refunds" - ], - "variable": [ - { - "key": "paymentPspReference", - "value": "", - "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to refund." - } - ], - "query": [ - ] - }, - "description": "Refunds a payment that has been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/captures), and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**REFUND** webhook](https://docs.adyen.com/online-payments/refund#refund-webhook). You can refund either the full captured amount or a part of the captured amount. You can also perform multiple partial refunds, as long as their sum doesn't exceed the captured amount. > Some payment methods do not support partial refunds. To learn if a payment method supports partial refunds, refer to the payment method page such as [cards](https://docs.adyen.com/payment-methods/cards#supported-cards), [iDEAL](https://docs.adyen.com/payment-methods/ideal), or [Klarna](https://docs.adyen.com/payment-methods/klarna). If you want to refund a payment but are not sure whether it has been captured, use the [`/payments/{paymentPspReference}/reversals`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/reversals) endpoint instead. For more information, refer to [Refund](https://docs.adyen.com/online-payments/refund)." - } + ] } ] - } -, + }, { "name": "/payments/:paymentPspReference/reversals", "description": "[Refunds](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/refunds) a payment if it has already been captured, and [cancels](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/cancels) a payment if it has not yet been captured. Returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CANCEL_OR_REFUND** webhook](https://docs.adyen.com/online-payments/reverse#cancel-or-refund-webhook). The reversed amount is always the full payment amount. > Do not use this request for payments that involve multiple partial captures. For more information, refer to [Reversal](https://docs.adyen.com/online-payments/reversal).", @@ -327,62 +645,127 @@ { "name": "Reverse (cancel or refund) a payment", "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 + "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 \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments/:paymentPspReference/reversals", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments", + ":paymentPspReference", + "reversals" + ], + "variable": [ + { + "key": "paymentPspReference", + "value": "", + "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to reverse. " + } + ], + "query": [ + ] + }, + "description": "[Refunds](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/refunds) a payment if it has already been captured, and [cancels](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/cancels) a payment if it has not yet been captured. Returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CANCEL_OR_REFUND** webhook](https://docs.adyen.com/online-payments/reverse#cancel-or-refund-webhook). The reversed amount is always the full payment amount. > Do not use this request for payments that involve multiple partial captures. For more information, refer to [Reversal](https://docs.adyen.com/online-payments/reversal)." +} + ,"response": [ + {"name": "Created - the request has been fulfilled and has resulted in one or more new resources being created.", + "code": 201, + "status": "Created", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"merchantAccount\" : \"YOUR_MERCHANT_ACCOUNT\",\n \"paymentPspReference\" : \"993617894903480A\",\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"pspReference\" : \"993617894906488A\",\n \"status\" : \"received\"\n}", + "originalRequest": { + "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 \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments/:paymentPspReference/reversals", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments", + ":paymentPspReference", + "reversals" + ], + "variable": [ + { + "key": "paymentPspReference", + "value": "", + "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to reverse. " + } + ], + "query": [ + ] + }, + "description": "[Refunds](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/refunds) a payment if it has already been captured, and [cancels](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/cancels) a payment if it has not yet been captured. Returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CANCEL_OR_REFUND** webhook](https://docs.adyen.com/online-payments/reverse#cancel-or-refund-webhook). The reversed amount is always the full payment amount. > Do not use this request for payments that involve multiple partial captures. For more information, refer to [Reversal](https://docs.adyen.com/online-payments/reversal)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments/:paymentPspReference/reversals", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments", - ":paymentPspReference", - "reversals" - ], - "variable": [ - { - "key": "paymentPspReference", - "value": "", - "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to reverse. " - } - ], - "query": [ - ] - }, - "description": "[Refunds](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/refunds) a payment if it has already been captured, and [cancels](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/cancels) a payment if it has not yet been captured. Returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CANCEL_OR_REFUND** webhook](https://docs.adyen.com/online-payments/reverse#cancel-or-refund-webhook). The reversed amount is always the full payment amount. > Do not use this request for payments that involve multiple partial captures. For more information, refer to [Reversal](https://docs.adyen.com/online-payments/reversal)." - } + ] } ] } - ] }, { @@ -395,251 +778,374 @@ { "name": "Set up a payment session (Android)", "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 17408\n },\n \"reference\" : \"Your order number\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"channel\" : \"Android\",\n \"token\" : \"TOKEN_YOU_GET_FROM_CHECKOUT_SDK\",\n \"returnUrl\" : \"app://\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl_NL\",\n \"sessionValidity\" : \"2017-04-06T13:09:13Z\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentSession", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentSession" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Provides the data object that can be used to start the Checkout SDK. To set up the payment, pass its amount, currency, and other required parameters. We use this to optimise the payment flow and perform better risk assessment of the transaction. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." - } + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 17408\n },\n \"reference\" : \"Your order number\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"channel\" : \"Android\",\n \"token\" : \"TOKEN_YOU_GET_FROM_CHECKOUT_SDK\",\n \"returnUrl\" : \"app://\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl_NL\",\n \"sessionValidity\" : \"2017-04-06T13:09:13Z\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentSession", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentSession" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Provides the data object that can be used to start the Checkout SDK. To set up the payment, pass its amount, currency, and other required parameters. We use this to optimise the payment flow and perform better risk assessment of the transaction. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." +} + ,"response": [ + ] }, { "name": "Set up a payment session with the option to store card details", "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 + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 17408\n },\n \"reference\" : \"Your order number\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"enableOneClick\" : true,\n \"enableRecurring\" : true,\n \"channel\" : \"Web\",\n \"origin\" : \"https://www.yourwebsite.com\",\n \"returnUrl\" : \"https://www.yourshop.com/checkout/result\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl_NL\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"sdkVersion\" : \"1.7.0\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentSession", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentSession" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Provides the data object that can be used to start the Checkout SDK. To set up the payment, pass its amount, currency, and other required parameters. We use this to optimise the payment flow and perform better risk assessment of the transaction. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"paymentSession\" : \"eyJjaGVja291dHNob3BwZXJCYXN...\"\n}", + "originalRequest": { + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 17408\n },\n \"reference\" : \"Your order number\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"enableOneClick\" : true,\n \"enableRecurring\" : true,\n \"channel\" : \"Web\",\n \"origin\" : \"https://www.yourwebsite.com\",\n \"returnUrl\" : \"https://www.yourshop.com/checkout/result\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl_NL\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"sdkVersion\" : \"1.7.0\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentSession", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentSession" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Provides the data object that can be used to start the Checkout SDK. To set up the payment, pass its amount, currency, and other required parameters. We use this to optimise the payment flow and perform better risk assessment of the transaction. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 17408\n },\n \"reference\" : \"Your order number\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"enableOneClick\" : true,\n \"enableRecurring\" : true,\n \"channel\" : \"Web\",\n \"origin\" : \"https://www.yourwebsite.com\",\n \"returnUrl\" : \"https://www.yourshop.com/checkout/result\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl_NL\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"sdkVersion\" : \"1.7.0\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentSession", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentSession" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Provides the data object that can be used to start the Checkout SDK. To set up the payment, pass its amount, currency, and other required parameters. We use this to optimise the payment flow and perform better risk assessment of the transaction. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." - } + ] }, { "name": "Set up a payment session (iOS)", "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 17408\n },\n \"reference\" : \"Your order number\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"channel\" : \"iOS\",\n \"token\" : \"TOKEN_YOU_GET_FROM_CHECKOUT_SDK\",\n \"returnUrl\" : \"app://\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl_NL\",\n \"sessionValidity\" : \"2017-04-06T13:09:13Z\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentSession", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentSession" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Provides the data object that can be used to start the Checkout SDK. To set up the payment, pass its amount, currency, and other required parameters. We use this to optimise the payment flow and perform better risk assessment of the transaction. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." - } + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 17408\n },\n \"reference\" : \"Your order number\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"channel\" : \"iOS\",\n \"token\" : \"TOKEN_YOU_GET_FROM_CHECKOUT_SDK\",\n \"returnUrl\" : \"app://\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl_NL\",\n \"sessionValidity\" : \"2017-04-06T13:09:13Z\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentSession", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentSession" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Provides the data object that can be used to start the Checkout SDK. To set up the payment, pass its amount, currency, and other required parameters. We use this to optimise the payment flow and perform better risk assessment of the transaction. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." +} + ,"response": [ + ] }, { "name": "Split a payment between a sub-merchant and a platform account", "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 6200\n },\n \"additionalData\" : {\n \"split.api\" : \"1\",\n \"split.nrOfItems\" : \"2\",\n \"split.totalAmount\" : \"6200\",\n \"split.currencyCode\" : \"EUR\",\n \"split.item1.amount\" : \"6000\",\n \"split.item1.type\" : \"MarketPlace\",\n \"split.item1.account\" : \"151272963\",\n \"split.item1.reference\" : \"6124145\",\n \"split.item1.description\" : \"Porcelain Doll: Eliza (20cm)\",\n \"split.item2.amount\" : \"200\",\n \"split.item2.type\" : \"Commission\",\n \"split.item2.reference\" : \"6124146\"\n },\n \"reference\" : \"Your order number\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"channel\" : \"Android\",\n \"token\" : \"TOKEN_YOU_GET_FROM_CHECKOUT_SDK\",\n \"returnUrl\" : \"app://\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl_NL\",\n \"sessionValidity\" : \"2017-04-06T13:09:13Z\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentSession", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentSession" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Provides the data object that can be used to start the Checkout SDK. To set up the payment, pass its amount, currency, and other required parameters. We use this to optimise the payment flow and perform better risk assessment of the transaction. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." - } + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 6200\n },\n \"additionalData\" : {\n \"split.api\" : \"1\",\n \"split.nrOfItems\" : \"2\",\n \"split.totalAmount\" : \"6200\",\n \"split.currencyCode\" : \"EUR\",\n \"split.item1.amount\" : \"6000\",\n \"split.item1.type\" : \"MarketPlace\",\n \"split.item1.account\" : \"151272963\",\n \"split.item1.reference\" : \"6124145\",\n \"split.item1.description\" : \"Porcelain Doll: Eliza (20cm)\",\n \"split.item2.amount\" : \"200\",\n \"split.item2.type\" : \"Commission\",\n \"split.item2.reference\" : \"6124146\"\n },\n \"reference\" : \"Your order number\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"channel\" : \"Android\",\n \"token\" : \"TOKEN_YOU_GET_FROM_CHECKOUT_SDK\",\n \"returnUrl\" : \"app://\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl_NL\",\n \"sessionValidity\" : \"2017-04-06T13:09:13Z\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentSession", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentSession" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Provides the data object that can be used to start the Checkout SDK. To set up the payment, pass its amount, currency, and other required parameters. We use this to optimise the payment flow and perform better risk assessment of the transaction. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." +} + ,"response": [ + ] }, { "name": "Set up a payment session (Web)", "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 + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 17408\n },\n \"reference\" : \"Your order number\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"channel\" : \"Web\",\n \"origin\" : \"https://www.yourwebsite.com\",\n \"returnUrl\" : \"https://www.yourshop.com/checkout/result\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl_NL\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"sdkVersion\" : \"1.9.5\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentSession", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentSession" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Provides the data object that can be used to start the Checkout SDK. To set up the payment, pass its amount, currency, and other required parameters. We use this to optimise the payment flow and perform better risk assessment of the transaction. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"paymentSession\" : \"eyJjaGVja291dHNob3BwZXJCYXN...\"\n}", + "originalRequest": { + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 17408\n },\n \"reference\" : \"Your order number\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"channel\" : \"Web\",\n \"origin\" : \"https://www.yourwebsite.com\",\n \"returnUrl\" : \"https://www.yourshop.com/checkout/result\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl_NL\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"sdkVersion\" : \"1.9.5\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentSession", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentSession" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Provides the data object that can be used to start the Checkout SDK. To set up the payment, pass its amount, currency, and other required parameters. We use this to optimise the payment flow and perform better risk assessment of the transaction. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 17408\n },\n \"reference\" : \"Your order number\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"channel\" : \"Web\",\n \"origin\" : \"https://www.yourwebsite.com\",\n \"returnUrl\" : \"https://www.yourshop.com/checkout/result\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl_NL\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"sdkVersion\" : \"1.9.5\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentSession", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentSession" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Provides the data object that can be used to start the Checkout SDK. To set up the payment, pass its amount, currency, and other required parameters. We use this to optimise the payment flow and perform better risk assessment of the transaction. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." - } + ] } ] - } -, + }, { "name": "/payments/result (DEPRECATED)", "description": "Verifies the payment result using the payload returned from the Checkout SDK. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks).", @@ -647,56 +1153,115 @@ { "name": "Verify payment results", "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 + "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 \"payload\" : \"VALUE_YOU_GET_FROM_CHECKOUT_SDK\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments/result", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments", + "result" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Verifies the payment result using the payload returned from the Checkout SDK. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"pspReference\" : \"V4HZ4RBFJGXXGN82\",\n \"merchantReference\" : \"Your order number\",\n \"shopperLocale\" : \"nl_NL\",\n \"paymentMethod\" : \"ideal\"\n}", + "originalRequest": { + "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 \"payload\" : \"VALUE_YOU_GET_FROM_CHECKOUT_SDK\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments/result", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments", + "result" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Verifies the payment result using the payload returned from the Checkout SDK. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"payload\" : \"VALUE_YOU_GET_FROM_CHECKOUT_SDK\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments/result", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments", - "result" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Verifies the payment result using the payload returned from the Checkout SDK. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." - } + ] } ] } - ] }, { @@ -709,55 +1274,113 @@ { "name": "Create an order", "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 + "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 \"reference\" : \"YOUR_ORDER_REFERENCE\",\n \"amount\" : {\n \"value\" : 2500,\n \"currency\" : \"EUR\"\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/orders", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "orders" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates an order to be used for partial payments. Make a POST `/orders` call before making a `/payments` call when processing payments with different payment methods." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"pspReference\" : \"8616178914061985\",\n \"resultCode\" : \"Success\",\n \"expiresAt\" : \"2021-04-09T14:16:46Z\",\n \"orderData\" : \"Ab02b4c0!BQABAgCxXvknCldOcRElkxY8Za7iyym4Wv8aDzyNwmj/3nh4G6YtwnUIJHaK62NlN4oIsACdkn1FEjBwKlheG40jvXcYGBk4KFV5WvOhTVCpv/KXnkrI7xQv/u2lE7U4wA+HPB6K4Zj2L8xO/ogZi+zGZqFs5m16jmkH7ku6FzXygXLNuUCuOlmlXSZhdkHHTNVQSq1MELDK9OL74y532ETRPTCNxx8WlEiZB+LDqYrPvH9GgigtD5kw8Do45jfFfG72kWBEgfYqp4mbUmBB9ebXFYZKfF0qvW1x7A2Y9+/MFlTIdXfKW484bJeDBCTTrmKGXIj+U4r5imr5fXTyNLcrxyUqwrb9jg+5B4qg1XB6Cgj5UPlSI4O62I7v0s5TTj69dzLwUQRxSQbwLrZVGYavXzeVKI54BVLRV3d/+BbPvTqnTo34UhfZbPlOx9F2eyaS0ZXdOKnHw89uGUgxUpLsMqnbRysi/pxpZaulel+0mExb68wVxb/7Teob5eRG4gp7cfZVZs6tLXOYWL+W0TqIlsa3hWsfM0LeaovzkoDtW/pK5JABXwMtLig9tsxoEh9ONYtIzkXC21LZ8ebiuSIMaPizjF8yca+QxrCZalQsu6uKnBz/mm8nnsflaGU2QS5zcoxk1RudL1Bl36LM9UZGPpFEYWiYA4sUsnNLw7peJjWCGhDepnwMv4TlgsEtoDtz1T54AEp7ImtleSI6IkFGMEFBQTEwM0NBNTM3RUFFRDg3QzI0REQ1MzkwOUI4MEE3OEE5MjNFMzgyM0Q2OERBQ0M5NEI5RkY4MzA1REMifRslOdmfgUHTXl66WPD9xoW2whIeRx/jR++2MqNE16x6zQy+KtDN8/h60crZwmqkjVTQYqQlsYSYDHSIyb4wnnay16/5il1yS7vN3UCLaTXjYBIAyyx6Wr9j4P3CI/etB+PpviHoESC4mV6ZN4whMDQyziQ8s230GtboXbh42qND7rk9phySBogowQlXrtF+l2n2F46nyif0owEgik5fGARfvjZtY2w23s30KMLNwU4gWSvX4H6RMVS8TfZH2fKfNrwB3tZUXwYkELs5ntaHysswq5Mn5aq2BKAMHu/Rh/wureMSI73Qi0avjrzWCwzt3JH4wnzErMnOZwSdgA==\",\n \"reference\" : \"shopper-reference-ekvL83\",\n \"remainingAmount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 2500\n },\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 300\n }\n}", + "originalRequest": { + "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 \"reference\" : \"YOUR_ORDER_REFERENCE\",\n \"amount\" : {\n \"value\" : 2500,\n \"currency\" : \"EUR\"\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/orders", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "orders" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates an order to be used for partial payments. Make a POST `/orders` call before making a `/payments` call when processing payments with different payment methods." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"reference\" : \"YOUR_ORDER_REFERENCE\",\n \"amount\" : {\n \"value\" : 2500,\n \"currency\" : \"EUR\"\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/orders", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "orders" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Creates an order to be used for partial payments. Make a POST `/orders` call before making a `/payments` call when processing payments with different payment methods." - } + ] } ] - } -, + }, { "name": "/orders/cancel", "description": "Cancels an order. Cancellation of an order results in an automatic rollback of all payments made in the order, either by canceling or refunding the payment, depending on the type of payment method.", @@ -765,56 +1388,115 @@ { "name": "Cancel an order", "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 + "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 \"order\" : {\n \"pspReference\" : \"8815517812932012\",\n \"orderData\" : \"823fh892f8f18f4...148f13f9f3f\"\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/orders/cancel", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "orders", + "cancel" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Cancels an order. Cancellation of an order results in an automatic rollback of all payments made in the order, either by canceling or refunding the payment, depending on the type of payment method." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"pspReference\" : \"8816178914079738\",\n \"resultCode\" : \"Received\"\n}", + "originalRequest": { + "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 \"order\" : {\n \"pspReference\" : \"8815517812932012\",\n \"orderData\" : \"823fh892f8f18f4...148f13f9f3f\"\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/orders/cancel", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "orders", + "cancel" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Cancels an order. Cancellation of an order results in an automatic rollback of all payments made in the order, either by canceling or refunding the payment, depending on the type of payment method." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"order\" : {\n \"pspReference\" : \"8815517812932012\",\n \"orderData\" : \"823fh892f8f18f4...148f13f9f3f\"\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/orders/cancel", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "orders", - "cancel" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Cancels an order. Cancellation of an order results in an automatic rollback of all payments made in the order, either by canceling or refunding the payment, depending on the type of payment method." - } + ] } ] - } -, + }, { "name": "/paymentMethods/balance", "description": "Retrieves the balance remaining on a shopper's gift card. To check a gift card's balance, make a POST `/paymentMethods/balance` call and include the gift card's details inside a `paymentMethod` object.", @@ -822,106 +1504,225 @@ { "name": "Get gift card balance specifying amount of 10 EUR", "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 + "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 \"paymentMethod\" : {\n \"type\" : \"givex\",\n \"number\" : \"4126491073027401\",\n \"cvc\" : \"737\"\n },\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentMethods/balance", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentMethods", + "balance" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Retrieves the balance remaining on a shopper's gift card. To check a gift card's balance, make a POST `/paymentMethods/balance` call and include the gift card's details inside a `paymentMethod` object." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"pspReference\" : \"KHQC5N7G84BLNK43\",\n \"resultCode\" : \"Success\",\n \"balance\" : {\n \"currency\" : \"EUR\",\n \"value\" : 5000\n }\n}", + "originalRequest": { + "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 \"paymentMethod\" : {\n \"type\" : \"givex\",\n \"number\" : \"4126491073027401\",\n \"cvc\" : \"737\"\n },\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentMethods/balance", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentMethods", + "balance" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Retrieves the balance remaining on a shopper's gift card. To check a gift card's balance, make a POST `/paymentMethods/balance` call and include the gift card's details inside a `paymentMethod` object." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"paymentMethod\" : {\n \"type\" : \"givex\",\n \"number\" : \"4126491073027401\",\n \"cvc\" : \"737\"\n },\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentMethods/balance", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentMethods", - "balance" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Retrieves the balance remaining on a shopper's gift card. To check a gift card's balance, make a POST `/paymentMethods/balance` call and include the gift card's details inside a `paymentMethod` object." - } + ] }, { "name": "Get gift card balance specifying amount of 100 EUR", "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 + "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 \"paymentMethod\" : {\n \"type\" : \"givex\",\n \"number\" : \"4126491073027401\",\n \"cvc\" : \"737\"\n },\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 10000\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentMethods/balance", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentMethods", + "balance" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Retrieves the balance remaining on a shopper's gift card. To check a gift card's balance, make a POST `/paymentMethods/balance` call and include the gift card's details inside a `paymentMethod` object." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"pspReference\" : \"FKSPNCQ8HXSKGK82\",\n \"resultCode\" : \"NotEnoughBalance\",\n \"balance\" : {\n \"currency\" : \"EUR\",\n \"value\" : 5000\n }\n}", + "originalRequest": { + "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 \"paymentMethod\" : {\n \"type\" : \"givex\",\n \"number\" : \"4126491073027401\",\n \"cvc\" : \"737\"\n },\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 10000\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentMethods/balance", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentMethods", + "balance" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Retrieves the balance remaining on a shopper's gift card. To check a gift card's balance, make a POST `/paymentMethods/balance` call and include the gift card's details inside a `paymentMethod` object." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"paymentMethod\" : {\n \"type\" : \"givex\",\n \"number\" : \"4126491073027401\",\n \"cvc\" : \"737\"\n },\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 10000\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentMethods/balance", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentMethods", - "balance" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Retrieves the balance remaining on a shopper's gift card. To check a gift card's balance, make a POST `/paymentMethods/balance` call and include the gift card's details inside a `paymentMethod` object." - } + ] } ] } - ] }, { @@ -934,56 +1735,115 @@ { "name": "Get payment session for Apple Pay", "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 + "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 \"displayName\" : \"YOUR_MERCHANT_NAME\",\n \"domainName\" : \"YOUR_DOMAIN_NAME\",\n \"merchantIdentifier\" : \"YOUR_MERCHANT_ID\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/applePay/sessions", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "applePay", + "sessions" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "You need to use this endpoint if you have an API-only integration with Apple Pay which uses Adyen's Apple Pay certificate. The endpoint returns the Apple Pay session data which you need to complete the [Apple Pay session validation](https://docs.adyen.com/payment-methods/apple-pay/api-only?tab=adyen-certificate-validation_1#complete-apple-pay-session-validation)." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"data\" : \"eyJ2Z...\"\n}", + "originalRequest": { + "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 \"displayName\" : \"YOUR_MERCHANT_NAME\",\n \"domainName\" : \"YOUR_DOMAIN_NAME\",\n \"merchantIdentifier\" : \"YOUR_MERCHANT_ID\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/applePay/sessions", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "applePay", + "sessions" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "You need to use this endpoint if you have an API-only integration with Apple Pay which uses Adyen's Apple Pay certificate. The endpoint returns the Apple Pay session data which you need to complete the [Apple Pay session validation](https://docs.adyen.com/payment-methods/apple-pay/api-only?tab=adyen-certificate-validation_1#complete-apple-pay-session-validation)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"displayName\" : \"YOUR_MERCHANT_NAME\",\n \"domainName\" : \"YOUR_DOMAIN_NAME\",\n \"merchantIdentifier\" : \"YOUR_MERCHANT_ID\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/applePay/sessions", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "applePay", - "sessions" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "You need to use this endpoint if you have an API-only integration with Apple Pay which uses Adyen's Apple Pay certificate. The endpoint returns the Apple Pay session data which you need to complete the [Apple Pay session validation](https://docs.adyen.com/payment-methods/apple-pay/api-only?tab=adyen-certificate-validation_1#complete-apple-pay-session-validation)." - } + ] } ] - } -, + }, { "name": "/originKeys (DEPRECATED)", "description": "This operation takes the origin domains and returns a JSON object containing the corresponding origin keys for the domains. > If you're still using origin key for your Web Drop-in or Components integration, we recommend [switching to client key](https://docs.adyen.com/development-resources/client-side-authentication/migrate-from-origin-key-to-client-key). This allows you to use a single key for all origins, add or remove origins without generating a new key, and detect the card type from the number entered in your payment form. ", @@ -991,55 +1851,113 @@ { "name": "Get origin keys", "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 + "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 \"originDomains\" : [ \"https://www.your-domain1.com\", \"https://www.your-domain2.com\", \"https://www.your-domain3.com\" ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/originKeys", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "originKeys" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "This operation takes the origin domains and returns a JSON object containing the corresponding origin keys for the domains. > If you're still using origin key for your Web Drop-in or Components integration, we recommend [switching to client key](https://docs.adyen.com/development-resources/client-side-authentication/migrate-from-origin-key-to-client-key). This allows you to use a single key for all origins, add or remove origins without generating a new key, and detect the card type from the number entered in your payment form. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"originKeys\" : {\n \"https://www.your-domain1.com\" : \"pub.v2.8116178901076090.aHR0cHM6Ly93d3cueW91ci1kb21haW4xLmNvbQ.pvbYlrXz0ICP4kwMJXDGDLVMqALhwXr1MSRjT-fkhvw\",\n \"https://www.your-domain3.com\" : \"pub.v2.8116178901076090.aHR0cHM6Ly93d3cueW91ci1kb21haW4zLmNvbQ.FrTpVz7_RzAywKasM0kXCRoMfoMkKIKaxjFymRGORIc\",\n \"https://www.your-domain2.com\" : \"pub.v2.8116178901076090.aHR0cHM6Ly93d3cueW91ci1kb21haW4yLmNvbQ.LdN9kvJ35fYFFiBSJA4idMnwwxJ5_yXpeNS__Ap5wkg\"\n }\n}", + "originalRequest": { + "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 \"originDomains\" : [ \"https://www.your-domain1.com\", \"https://www.your-domain2.com\", \"https://www.your-domain3.com\" ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/originKeys", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "originKeys" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "This operation takes the origin domains and returns a JSON object containing the corresponding origin keys for the domains. > If you're still using origin key for your Web Drop-in or Components integration, we recommend [switching to client key](https://docs.adyen.com/development-resources/client-side-authentication/migrate-from-origin-key-to-client-key). This allows you to use a single key for all origins, add or remove origins without generating a new key, and detect the card type from the number entered in your payment form. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"originDomains\" : [ \"https://www.your-domain1.com\", \"https://www.your-domain2.com\", \"https://www.your-domain3.com\" ]\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/originKeys", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "originKeys" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "This operation takes the origin domains and returns a JSON object containing the corresponding origin keys for the domains. > If you're still using origin key for your Web Drop-in or Components integration, we recommend [switching to client key](https://docs.adyen.com/development-resources/client-side-authentication/migrate-from-origin-key-to-client-key). This allows you to use a single key for all origins, add or remove origins without generating a new key, and detect the card type from the number entered in your payment form. " - } + ] } ] } - ] }, { @@ -1052,104 +1970,164 @@ { "name": "Start a donation transaction", "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 + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"reference\" : \"YOUR_DONATION_REFERENCE\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\"\n },\n \"donationToken\" : \"YOUR_DONATION_TOKEN\",\n \"donationOriginalPspReference\" : \"991559660454807J\",\n \"donationAccount\" : \"CHARITY_ACCOUNT\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"shopperInteraction\" : \"ContAuth\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/donations", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "donations" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Takes in the donation token generated by the `/payments` request and uses it to make the donation for the donation account specified in the request. For more information, see [Donations](https://docs.adyen.com/online-payments/donations)." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"id\" : \"UNIQUE_RESOURCE_ID\",\n \"status\" : \"completed\",\n \"donationAccount\" : \"CHARITY_ACCOUNT\",\n \"merchantAccount\" : \"YOUR_MERCHANT_ACCOUNT\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"reference\" : \"YOUR_DONATION_REFERENCE\",\n \"payment\" : {\n \"pspReference\" : \"8535762347980628\",\n \"resultCode\" : \"Authorised\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"merchantReference\" : \"YOUR_DONATION_REFERENCE\"\n }\n}", + "originalRequest": { + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"reference\" : \"YOUR_DONATION_REFERENCE\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\"\n },\n \"donationToken\" : \"YOUR_DONATION_TOKEN\",\n \"donationOriginalPspReference\" : \"991559660454807J\",\n \"donationAccount\" : \"CHARITY_ACCOUNT\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"shopperInteraction\" : \"ContAuth\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/donations", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "donations" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Takes in the donation token generated by the `/payments` request and uses it to make the donation for the donation account specified in the request. For more information, see [Donations](https://docs.adyen.com/online-payments/donations)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"reference\" : \"YOUR_DONATION_REFERENCE\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\"\n },\n \"donationToken\" : \"YOUR_DONATION_TOKEN\",\n \"donationOriginalPspReference\" : \"991559660454807J\",\n \"donationAccount\" : \"CHARITY_ACCOUNT\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"shopperInteraction\" : \"ContAuth\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/donations", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "donations" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Takes in the donation token generated by the `/payments` request and uses it to make the donation for the donation account specified in the request. For more information, see [Donations](https://docs.adyen.com/online-payments/donations)." - } + ] }, { "name": "Start a donation transaction with a token", "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"reference\" : \"YOUR_DONATION_REFERENCE\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"recurringDetailReference\" : \"7219687191761347\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"donationAccount\" : \"CHARITY_ACCOUNT\",\n \"shopperInteraction\" : \"ContAuth\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"recurringProcessingModel\" : \"CardOnFile\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/donations", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "donations" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Takes in the donation token generated by the `/payments` request and uses it to make the donation for the donation account specified in the request. For more information, see [Donations](https://docs.adyen.com/online-payments/donations)." - } + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"reference\" : \"YOUR_DONATION_REFERENCE\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"recurringDetailReference\" : \"7219687191761347\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"donationAccount\" : \"CHARITY_ACCOUNT\",\n \"shopperInteraction\" : \"ContAuth\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"recurringProcessingModel\" : \"CardOnFile\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/donations", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "donations" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Takes in the donation token generated by the `/payments` request and uses it to make the donation for the donation account specified in the request. For more information, see [Donations](https://docs.adyen.com/online-payments/donations)." +} + ,"response": [ + ] } ] } - ] }, { @@ -1162,104 +2140,221 @@ { "name": "Get a list of brands on a card", "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 + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"cardNumber\" : \"411111\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/cardDetails", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "cardDetails" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Send a request with at least the first 6 digits of the card number to get a response with an array of brands on the card. If you include [your supported brands](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__reqParam_supportedBrands) in the request, the response also tells you if you support each [brand that was identified](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__resParam_details). If you have an API-only integration and collect card data, use this endpoint to find out if the shopper's card is co-branded. For co-branded cards, you must let the shopper choose the brand to pay with if you support both brands. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"brands\" : [ {\n \"type\" : \"visa\",\n \"supported\" : true\n }, {\n \"type\" : \"cartebancaire\",\n \"supported\" : true\n } ]\n}", + "originalRequest": { + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"cardNumber\" : \"411111\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/cardDetails", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "cardDetails" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Send a request with at least the first 6 digits of the card number to get a response with an array of brands on the card. If you include [your supported brands](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__reqParam_supportedBrands) in the request, the response also tells you if you support each [brand that was identified](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__resParam_details). If you have an API-only integration and collect card data, use this endpoint to find out if the shopper's card is co-branded. For co-branded cards, you must let the shopper choose the brand to pay with if you support both brands. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"cardNumber\" : \"411111\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/cardDetails", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "cardDetails" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Send a request with at least the first 6 digits of the card number to get a response with an array of brands on the card. If you include [your supported brands](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__reqParam_supportedBrands) in the request, the response also tells you if you support each [brand that was identified](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__resParam_details). If you have an API-only integration and collect card data, use this endpoint to find out if the shopper's card is co-branded. For co-branded cards, you must let the shopper choose the brand to pay with if you support both brands. " - } + ] }, { "name": "Get a list of brands on a card specifying your supported card brands", "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 + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"cardNumber\" : \"411111\",\n \"supportedBrands\" : [ \"visa\", \"mc\", \"amex\" ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/cardDetails", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "cardDetails" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Send a request with at least the first 6 digits of the card number to get a response with an array of brands on the card. If you include [your supported brands](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__reqParam_supportedBrands) in the request, the response also tells you if you support each [brand that was identified](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__resParam_details). If you have an API-only integration and collect card data, use this endpoint to find out if the shopper's card is co-branded. For co-branded cards, you must let the shopper choose the brand to pay with if you support both brands. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"brands\" : [ {\n \"type\" : \"visa\",\n \"supported\" : true\n }, {\n \"type\" : \"cartebancaire\",\n \"supported\" : false\n } ]\n}", + "originalRequest": { + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"cardNumber\" : \"411111\",\n \"supportedBrands\" : [ \"visa\", \"mc\", \"amex\" ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/cardDetails", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "cardDetails" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Send a request with at least the first 6 digits of the card number to get a response with an array of brands on the card. If you include [your supported brands](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__reqParam_supportedBrands) in the request, the response also tells you if you support each [brand that was identified](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__resParam_details). If you have an API-only integration and collect card data, use this endpoint to find out if the shopper's card is co-branded. For co-branded cards, you must let the shopper choose the brand to pay with if you support both brands. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"cardNumber\" : \"411111\",\n \"supportedBrands\" : [ \"visa\", \"mc\", \"amex\" ]\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/cardDetails", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "cardDetails" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Send a request with at least the first 6 digits of the card number to get a response with an array of brands on the card. If you include [your supported brands](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__reqParam_supportedBrands) in the request, the response also tells you if you support each [brand that was identified](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__resParam_details). If you have an API-only integration and collect card data, use this endpoint to find out if the shopper's card is co-branded. For co-branded cards, you must let the shopper choose the brand to pay with if you support both brands. " - } + ] } ] - } -, + }, { "name": "/paymentMethods", "description": "Queries the available payment methods for a transaction based on the transaction context (like amount, country, and currency). Besides giving back a list of the available payment methods, the response also returns which input details you need to collect from the shopper (to be submitted to `/payments`). Although we highly recommend using this endpoint to ensure you are always offering the most up-to-date list of payment methods, its usage is optional. You can, for example, also cache the `/paymentMethods` response and update it once a week.", @@ -1267,153 +2362,329 @@ { "name": "Get available payment methods", "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 + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentMethods", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentMethods" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Queries the available payment methods for a transaction based on the transaction context (like amount, country, and currency). Besides giving back a list of the available payment methods, the response also returns which input details you need to collect from the shopper (to be submitted to `/payments`). Although we highly recommend using this endpoint to ensure you are always offering the most up-to-date list of payment methods, its usage is optional. You can, for example, also cache the `/paymentMethods` response and update it once a week." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"paymentMethods\" : [ {\n \"name\" : \"ACH Direct Debit\",\n \"type\" : \"ach\"\n }, {\n \"name\" : \"Adyen Voucher\",\n \"type\" : \"adyen_test_voucher\"\n }, {\n \"name\" : \"AfterPay Invoice\",\n \"type\" : \"afterpay_default\"\n }, {\n \"name\" : \"AfterPay DirectDebit\",\n \"type\" : \"afterpay_directdebit\"\n }, {\n \"name\" : \"Afterpay\",\n \"type\" : \"afterpaytouch\"\n }, {\n \"name\" : \"Credit Card\",\n \"type\" : \"scheme\"\n }, {\n \"name\" : \"AliPay\",\n \"type\" : \"alipay\"\n }, {\n \"name\" : \"AliPay HK\",\n \"type\" : \"alipay_hk\"\n }, {\n \"name\" : \"AliPay\",\n \"type\" : \"alipay_wap\"\n }, {\n \"name\" : \"Android Pay\",\n \"type\" : \"androidpay\"\n }, {\n \"name\" : \"Apple Pay\",\n \"type\" : \"applepay\"\n }, {\n \"name\" : \"Credit Card via AsiaPay\",\n \"type\" : \"asiapay\"\n }, {\n \"name\" : \"China UnionPay\",\n \"type\" : \"asiapay_unionpay\"\n }, {\n \"name\" : \"Baby Gift Card\",\n \"type\" : \"babygiftcard\"\n }, {\n \"name\" : \"Baloto\",\n \"type\" : \"baloto\"\n }, {\n \"name\" : \"BancNet\",\n \"type\" : \"bancnet\"\n }, {\n \"name\" : \"Bank Transfer (BG)\",\n \"type\" : \"bankTransfer_BG\"\n }, {\n \"name\" : \"Bank Transfer (CH)\",\n \"type\" : \"bankTransfer_CH\"\n }, {\n \"name\" : \"Bank Transfer (DE)\",\n \"type\" : \"bankTransfer_DE\"\n }, {\n \"name\" : \"Bank Transfer (FI)\",\n \"type\" : \"bankTransfer_FI\"\n }, {\n \"name\" : \"Bank Transfer (GB)\",\n \"type\" : \"bankTransfer_GB\"\n }, {\n \"name\" : \"Bank Transfer (HU)\",\n \"type\" : \"bankTransfer_HU\"\n }, {\n \"name\" : \"SEPA Bank Transfer\",\n \"type\" : \"bankTransfer_IBAN\"\n }, {\n \"name\" : \"Bank Transfer (IE)\",\n \"type\" : \"bankTransfer_IE\"\n }, {\n \"name\" : \"Electronic Bank Transfer (MX)\",\n \"type\" : \"bankTransfer_MX_linked\"\n }, {\n \"name\" : \"Bank Transfer (MX)\",\n \"type\" : \"bankTransfer_MX_offline\"\n }, {\n \"name\" : \"Bank Transfer (NL)\",\n \"type\" : \"bankTransfer_NL\"\n }, {\n \"name\" : \"Bank Transfer (PL)\",\n \"type\" : \"bankTransfer_PL\"\n }, {\n \"name\" : \"Bank Transfer (SE)\",\n \"type\" : \"bankTransfer_SE\"\n }, {\n \"name\" : \"Bank Transfer (US)\",\n \"type\" : \"bankTransfer_US\"\n }, {\n \"name\" : \"Payconiq by Bancontact\",\n \"type\" : \"bcmc_mobile\"\n }, {\n \"name\" : \"Bijenkorf Cadeaucard\",\n \"type\" : \"bijcadeaucard\"\n }, {\n \"name\" : \"99Bill\",\n \"type\" : \"bill99\"\n }, {\n \"name\" : \"Online Banking India\",\n \"type\" : \"billdesk_online\"\n }, {\n \"name\" : \"UPI\",\n \"type\" : \"billdesk_upi\"\n }, {\n \"name\" : \"Wallets India\",\n \"type\" : \"billdesk_wallet\"\n }, {\n \"name\" : \"Blik\",\n \"type\" : \"blik\"\n }, {\n \"name\" : \"Bloemen Giftcard\",\n \"type\" : \"bloemengiftcard\"\n }, {\n \"name\" : \"Boekenbon Giftcard\",\n \"type\" : \"boekenbon\"\n }, {\n \"name\" : \"Boleto\",\n \"type\" : \"boleto\"\n }, {\n \"name\" : \"Boleto Bancario\",\n \"type\" : \"boletobancario_santander\"\n }, {\n \"name\" : \"Bradesco\",\n \"type\" : \"bradesco\"\n }, {\n \"name\" : \"Cash-Ticket\",\n \"type\" : \"cashticket\"\n }, {\n \"name\" : \"CashU\",\n \"type\" : \"cashu\"\n }, {\n \"name\" : \"CCAvenue\",\n \"type\" : \"ccavenue\"\n }, {\n \"name\" : \"Mula Checkout\",\n \"type\" : \"cellulant\"\n }, {\n \"name\" : \"Chasin Giftcard\",\n \"type\" : \"chasingiftcard\"\n }, {\n \"name\" : \"Clearpay\",\n \"type\" : \"clearpay\"\n }, {\n \"name\" : \"ClickandBuy\",\n \"type\" : \"clickandbuy\"\n }, {\n \"name\" : \"Paiement en 3 fois par Cartes Bancaires\",\n \"type\" : \"cofinoga_3xcb\"\n }, {\n \"name\" : \"Costes Giftcard\",\n \"type\" : \"costesgiftcard\"\n }, {\n \"name\" : \"custom_settlement\",\n \"type\" : \"custom_settlement\"\n }, {\n \"name\" : \"DANA\",\n \"type\" : \"dana\"\n }, {\n \"name\" : \"DineroMail\",\n \"type\" : \"dineromail\"\n }, {\n \"name\" : \"Online bank transfer.\",\n \"type\" : \"directEbanking\"\n }, {\n \"name\" : \"Direct Debit Brazil - Banco do Brazil\",\n \"type\" : \"directdebit_BR_bancodobrasil\"\n }, {\n \"name\" : \"Direct Debit Brazil - Bradesco\",\n \"type\" : \"directdebit_BR_bradesco\"\n }, {\n \"name\" : \"Direct Debit Brazil - Caixa Economica Federal\",\n \"type\" : \"directdebit_BR_caixa\"\n }, {\n \"name\" : \"Direct Debit Brazil - HSBC\",\n \"type\" : \"directdebit_BR_hsbc\"\n }, {\n \"name\" : \"Direct Debit Brazil - Itau\",\n \"type\" : \"directdebit_BR_itau\"\n }, {\n \"name\" : \"Direct Debit Brazil - Santander\",\n \"type\" : \"directdebit_BR_santander\"\n }, {\n \"name\" : \"BACS Direct Debit\",\n \"type\" : \"directdebit_GB\"\n }, {\n \"name\" : \"Alfamart\",\n \"type\" : \"doku_alfamart\"\n }, {\n \"name\" : \"BCA Bank Transfer\",\n \"type\" : \"doku_bca_va\"\n }, {\n \"name\" : \"BNI VA\",\n \"type\" : \"doku_bni_va\"\n }, {\n \"name\" : \"BRI VA\",\n \"type\" : \"doku_bri_va\"\n }, {\n \"name\" : \"CIMB VA\",\n \"type\" : \"doku_cimb_va\"\n }, {\n \"name\" : \"Danamon VA\",\n \"type\" : \"doku_danamon_va\"\n }, {\n \"name\" : \"Indomaret\",\n \"type\" : \"doku_indomaret\"\n }, {\n \"name\" : \"Mandiri VA\",\n \"type\" : \"doku_mandiri_va\"\n }, {\n \"name\" : \"OVO\",\n \"type\" : \"doku_ovo\"\n }, {\n \"name\" : \"Bank Transfer\",\n \"type\" : \"doku_permata_lite_atm\"\n }, {\n \"name\" : \"DOKU wallet\",\n \"type\" : \"doku_wallet\"\n }, {\n \"name\" : \"Local Polish Payment Methods\",\n \"type\" : \"dotpay\"\n }, {\n \"name\" : \"Dragonpay Prepaid Credits\",\n \"type\" : \"dragonpay_credits\"\n }, {\n \"name\" : \"Online Banking\",\n \"type\" : \"dragonpay_ebanking\"\n }, {\n \"name\" : \"GCash\",\n \"type\" : \"dragonpay_gcash\"\n }, {\n \"name\" : \"Over The Counter Banks\",\n \"type\" : \"dragonpay_otc_banking\"\n }, {\n \"name\" : \"OTC non-Bank via Dragonpay\",\n \"type\" : \"dragonpay_otc_non_banking\"\n }, {\n \"name\" : \"Convenience Stores\",\n \"type\" : \"dragonpay_otc_philippines\"\n }, {\n \"name\" : \"7/11\",\n \"type\" : \"dragonpay_seveneleven\"\n }, {\n \"name\" : \"eagleeye_voucher\",\n \"type\" : \"eagleeye_voucher\"\n }, {\n \"name\" : \"Finnish E-Banking\",\n \"type\" : \"ebanking_FI\"\n }, {\n \"name\" : \"Pay-easy ATM\",\n \"type\" : \"econtext_atm\"\n }, {\n \"name\" : \"Online Banking\",\n \"type\" : \"econtext_online\"\n }, {\n \"name\" : \"7-Eleven\",\n \"type\" : \"econtext_seven_eleven\"\n }, {\n \"name\" : \"Convenience Stores\",\n \"type\" : \"econtext_stores\"\n }, {\n \"name\" : \"eft_directdebit_CA\",\n \"type\" : \"eft_directdebit_CA\"\n }, {\n \"name\" : \"Lastschrift (ELV)\",\n \"type\" : \"elv\"\n }, {\n \"name\" : \"Bank Payment\",\n \"type\" : \"entercash\"\n }, {\n \"name\" : \"Nationale Entertainment Card\",\n \"type\" : \"entertainmentcard\"\n }, {\n \"name\" : \"EPS\",\n \"type\" : \"eps\"\n }, {\n \"name\" : \"Expert Cadeaukaart\",\n \"type\" : \"expertgiftcard\"\n }, {\n \"name\" : \"3x Oney\",\n \"type\" : \"facilypay_3x\"\n }, {\n \"name\" : \"4x Oney\",\n \"type\" : \"facilypay_4x\"\n }, {\n \"name\" : \"Fashioncheque\",\n \"type\" : \"fashioncheque\"\n }, {\n \"name\" : \"Fawry\",\n \"type\" : \"fawry\"\n }, {\n \"name\" : \"FijnCadeau\",\n \"type\" : \"fijncadeau\"\n }, {\n \"name\" : \"Fleurop Bloemenbon\",\n \"type\" : \"fleuropbloemenbon\"\n }, {\n \"name\" : \"Fonq Giftcard\",\n \"type\" : \"fonqgiftcard\"\n }, {\n \"name\" : \"Gall & Gall\",\n \"type\" : \"gallgall\"\n }, {\n \"name\" : \"GCash\",\n \"type\" : \"gcash\"\n }, {\n \"name\" : \"Generic GiftCard\",\n \"type\" : \"genericgiftcard\"\n }, {\n \"name\" : \"GiftFor2\",\n \"type\" : \"giftfor2card\"\n }, {\n \"name\" : \"Givex\",\n \"type\" : \"givex\"\n }, {\n \"name\" : \"Globe GCash\",\n \"type\" : \"globegcash\"\n }, {\n \"name\" : \"Goldsmiths Card\",\n \"type\" : \"goldsmithscard\"\n }, {\n \"name\" : \"GoPay Wallet\",\n \"type\" : \"gopay_wallet\"\n }, {\n \"name\" : \"OVO\",\n \"type\" : \"grabpay_ID\"\n }, {\n \"name\" : \"GrabPay\",\n \"type\" : \"grabpay_PH\"\n }, {\n \"name\" : \"GrabPay\",\n \"type\" : \"grabpay_SG\"\n }, {\n \"name\" : \"Hallmark Card\",\n \"type\" : \"hallmarkcard\"\n }, {\n \"name\" : \"HDFC\",\n \"type\" : \"hdfc\"\n }, {\n \"name\" : \"Hunkemoller Member Card\",\n \"type\" : \"hmclub\"\n }, {\n \"name\" : \"Hunkemoller Lingerie Card\",\n \"type\" : \"hmlingerie\"\n }, {\n \"name\" : \"iDEAL\",\n \"type\" : \"ideal\"\n }, {\n \"name\" : \"igive\",\n \"type\" : \"igive\"\n }, {\n \"name\" : \"Korean Account Transfer (IniPay)\",\n \"type\" : \"inicisIniPay_accounttransfer\"\n }, {\n \"name\" : \"Korean Credit Cards (IniPay)\",\n \"type\" : \"inicisIniPay_creditcard\"\n }, {\n \"name\" : \"Korean Mobile Phone (IniPay)\",\n \"type\" : \"inicisIniPay_mobilephone\"\n }, {\n \"name\" : \"Korean Virtual Account (IniPay)\",\n \"type\" : \"inicisIniPay_virtualaccount\"\n }, {\n \"name\" : \"Korean Account Transfer (Mobile)\",\n \"type\" : \"inicisMobile_accounttransfer\"\n }, {\n \"name\" : \"Korean Credit Cards (Mobile)\",\n \"type\" : \"inicisMobile_creditcard\"\n }, {\n \"name\" : \"Korean Mobile Phone (Mobile)\",\n \"type\" : \"inicisMobile_mobilephone\"\n }, {\n \"name\" : \"Korean Virtual Account (Mobile)\",\n \"type\" : \"inicisMobile_virtualaccount\"\n }, {\n \"name\" : \"Korean Credit Cards\",\n \"type\" : \"inicis_creditcard\"\n }, {\n \"name\" : \"Interac® Online\",\n \"type\" : \"interac\"\n }, {\n \"name\" : \"Instant EFT\",\n \"type\" : \"ipay\"\n }, {\n \"name\" : \"iPay88\",\n \"type\" : \"ipay88\"\n }, {\n \"name\" : \"isracard\",\n \"type\" : \"isracard\"\n }, {\n \"name\" : \"Phone Payment\",\n \"type\" : \"ivr\"\n }, {\n \"name\" : \"Landline phone\",\n \"type\" : \"ivrLandline\"\n }, {\n \"name\" : \"Mobile phone\",\n \"type\" : \"ivrMobile\"\n }, {\n \"name\" : \"Kado Wereld\",\n \"type\" : \"kadowereld\"\n }, {\n \"name\" : \"KakaoPay\",\n \"type\" : \"kakaopay\"\n }, {\n \"name\" : \"Karen Millen Card\",\n \"type\" : \"karenmillen\"\n }, {\n \"name\" : \"Karen Millen GiftCard\",\n \"type\" : \"karenmillengiftcard\"\n }, {\n \"name\" : \"Bank Transfer\",\n \"type\" : \"kcp_banktransfer\"\n }, {\n \"name\" : \"Korea–issued cards\",\n \"type\" : \"kcp_creditcard\"\n }, {\n \"name\" : \"PayCo\",\n \"type\" : \"kcp_payco\"\n }, {\n \"name\" : \"Naver Pay\",\n \"type\" : \"kcp_naverpay\"\n }, {\n \"name\" : \"Virtual Account via KCP\",\n \"type\" : \"kcp_va\"\n }, {\n \"name\" : \"Pay later with Klarna.\",\n \"type\" : \"klarna\"\n }, {\n \"name\" : \"Pay over time with Klarna.\",\n \"type\" : \"klarna_account\"\n }, {\n \"name\" : \"Buy Now, Pay Later with Billie\",\n \"type\" : \"klarna_b2b\"\n }, {\n \"name\" : \"Pay now with Klarna.\",\n \"type\" : \"klarna_paynow\"\n }, {\n \"name\" : \"Leisure Card\",\n \"type\" : \"leisurecard\"\n }, {\n \"name\" : \"China Credit Card\",\n \"type\" : \"lianlianpay_creditcard\"\n }, {\n \"name\" : \"China Debit Card\",\n \"type\" : \"lianlianpay_debitcard\"\n }, {\n \"name\" : \"China Online Banking - Credit Card\",\n \"type\" : \"lianlianpay_ebanking_credit\"\n }, {\n \"name\" : \"China Online Banking - Debit Card\",\n \"type\" : \"lianlianpay_ebanking_debit\"\n }, {\n \"name\" : \"China Online Banking - Enterprise\",\n \"type\" : \"lianlianpay_ebanking_enterprise\"\n }, {\n \"name\" : \"Loods5 Cadeaukaart\",\n \"type\" : \"loods5giftcard\"\n }, {\n \"name\" : \"Loods5 Tegoedbon\",\n \"type\" : \"loods5prepaidcard\"\n }, {\n \"name\" : \"Love2Shop GiftCard\",\n \"type\" : \"love2shop\"\n }, {\n \"name\" : \"mada\",\n \"type\" : \"mada\"\n }, {\n \"name\" : \"Mappin & Webb Card\",\n \"type\" : \"mappinwebbcard\"\n }, {\n \"name\" : \"MB WAY\",\n \"type\" : \"mbway\"\n }, {\n \"name\" : \"Amazon Pay\",\n \"supportsRecurring\" : true,\n \"type\" : \"amazonpay\"\n }, {\n \"name\" : \"Mercado Pago\",\n \"type\" : \"mercadopago\"\n }, {\n \"name\" : \"MobilePay\",\n \"type\" : \"mobilepay\"\n }, {\n \"name\" : \"AliPay via Razer Merchant Services\",\n \"type\" : \"molpay_alipay\"\n }, {\n \"name\" : \"7-Eleven\",\n \"type\" : \"molpay_cash\"\n }, {\n \"name\" : \"CIMB Virtual Account\",\n \"type\" : \"molpay_cimb_va\"\n }, {\n \"name\" : \"Malaysia E-Banking via Razer Merchant Services\",\n \"type\" : \"molpay_ebanking_MY\"\n }, {\n \"name\" : \"Vietnam E-Banking\",\n \"type\" : \"molpay_ebanking_VN\"\n }, {\n \"name\" : \"Malaysia E-Banking\",\n \"type\" : \"molpay_ebanking_fpx_MY\"\n }, {\n \"name\" : \"eNETS Debit\",\n \"type\" : \"molpay_enetsd\"\n }, {\n \"name\" : \"epay\",\n \"type\" : \"molpay_epay\"\n }, {\n \"name\" : \"Esapay\",\n \"type\" : \"molpay_esapay\"\n }, {\n \"name\" : \"MyClear FPX\",\n \"type\" : \"molpay_fpx\"\n }, {\n \"name\" : \"Maybank2u\",\n \"type\" : \"molpay_maybank2u\"\n }, {\n \"name\" : \"Nganluong\",\n \"type\" : \"molpay_nganluong\"\n }, {\n \"name\" : \"Convenience Stores Thailand\",\n \"type\" : \"molpay_paysbuy\"\n }, {\n \"name\" : \"MOLPoints\",\n \"type\" : \"molpay_points\"\n }, {\n \"name\" : \"RHB Now\",\n \"type\" : \"molpay_rhb\"\n }, {\n \"name\" : \"SAM by SingPost\",\n \"type\" : \"molpay_singpost\"\n }, {\n \"name\" : \"MOLWallet\",\n \"type\" : \"molpay_wallet\"\n }, {\n \"name\" : \"MoMo ATM\",\n \"type\" : \"momo_atm\"\n }, {\n \"name\" : \"Momo Wallet\",\n \"type\" : \"momo_wallet\"\n }, {\n \"name\" : \"Moneybookers\",\n \"type\" : \"moneybookers\"\n }, {\n \"name\" : \"Multibanco\",\n \"type\" : \"multibanco\"\n }, {\n \"name\" : \"De Nationale Musicalcard\",\n \"type\" : \"musicalcard\"\n }, {\n \"name\" : \"Nationale Bioscoopbon\",\n \"type\" : \"nationalebioscoopbon\"\n }, {\n \"name\" : \"Nationale Tuinbon\",\n \"type\" : \"nationaletuinbon\"\n }, {\n \"name\" : \"Nationale Verwen Cadeaubon\",\n \"type\" : \"nationaleverwencadeaubon\"\n }, {\n \"name\" : \"BankAxess\",\n \"type\" : \"netaxept_bankaxess\"\n }, {\n \"name\" : \"NETELLER\",\n \"type\" : \"neteller\"\n }, {\n \"name\" : \"Onebip\",\n \"type\" : \"onebip\"\n }, {\n \"name\" : \"One Two Three\",\n \"type\" : \"onetwothree\"\n }, {\n \"name\" : \"Online Banking PL\",\n \"type\" : \"onlineBanking_PL\"\n }, {\n \"name\" : \"Online banking\",\n \"type\" : \"openbanking_UK\"\n }, {\n \"name\" : \"Oxxo\",\n \"type\" : \"oxxo\"\n }, {\n \"name\" : \"Pathe Giftcard\",\n \"type\" : \"pathegiftcard\"\n }, {\n \"name\" : \"PayBright\",\n \"type\" : \"paybright\"\n }, {\n \"name\" : \"Maya Wallet\",\n \"type\" : \"paymaya_wallet\"\n }, {\n \"name\" : \"PayPal\",\n \"type\" : \"paypal\"\n }, {\n \"name\" : \"Paysafecard\",\n \"type\" : \"paysafecard\"\n }, {\n \"name\" : \"Payshop\",\n \"type\" : \"payshop\"\n }, {\n \"name\" : \"PayD AMT via Paythru\",\n \"type\" : \"paythru_amt\"\n }, {\n \"name\" : \"EFT via Paythru\",\n \"type\" : \"paythru_eft\"\n }, {\n \"name\" : \"PayTM\",\n \"type\" : \"paytm\"\n }, {\n \"name\" : \"PayU UPI\",\n \"type\" : \"payu_IN_upi\"\n }, {\n \"name\" : \"EFT Pro via PayU\",\n \"type\" : \"payu_ZA_eftpro\"\n }, {\n \"name\" : \"Google Pay\",\n \"type\" : \"paywithgoogle\"\n }, {\n \"name\" : \"pix\",\n \"type\" : \"pix\"\n }, {\n \"name\" : \"Plastix\",\n \"type\" : \"plastix\"\n }, {\n \"name\" : \"Pluim\",\n \"type\" : \"pluimgiftcard\"\n }, {\n \"name\" : \"Podium Card\",\n \"type\" : \"podiumcard\"\n }, {\n \"name\" : \"POLi\",\n \"type\" : \"poli\"\n }, {\n \"name\" : \"PPS\",\n \"type\" : \"pps\"\n }, {\n \"name\" : \"Primera Cadeaukaart\",\n \"type\" : \"primeracadeaucard\"\n }, {\n \"name\" : \"Illicado Gift Card\",\n \"type\" : \"prosodie_illicado\"\n }, {\n \"name\" : \"PSE\",\n \"type\" : \"pse\"\n }, {\n \"name\" : \"Qiwi Wallet\",\n \"type\" : \"qiwiwallet\"\n }, {\n \"name\" : \"RatePay Invoice\",\n \"type\" : \"ratepay\"\n }, {\n \"name\" : \"RatePay Direct Debit\",\n \"type\" : \"ratepay_directdebit\"\n }, {\n \"name\" : \"Rituals Giftcard\",\n \"type\" : \"rituals\"\n }, {\n \"name\" : \"Rob Peetoom Giftcard\",\n \"type\" : \"robpeetoomgiftcard\"\n }, {\n \"name\" : \"SafetyPay\",\n \"type\" : \"safetypay\"\n }, {\n \"name\" : \"SafetyPay Cash\",\n \"type\" : \"safetypay_cash\"\n }, {\n \"name\" : \"Shoes&Accessories Cadeau\",\n \"type\" : \"sagiftcard\"\n }, {\n \"name\" : \"Score Giftcard\",\n \"type\" : \"scoregiftcard\"\n }, {\n \"name\" : \"SEB Direktbetalning\",\n \"type\" : \"sebdirectpayment\"\n }, {\n \"name\" : \"SEPA Direct Debit\",\n \"type\" : \"sepadirectdebit\"\n }, {\n \"name\" : \"7-Eleven\",\n \"type\" : \"seveneleven\"\n }, {\n \"name\" : \"Premium SMS\",\n \"type\" : \"sms\"\n }, {\n \"name\" : \"SVS\",\n \"type\" : \"svs\"\n }, {\n \"name\" : \"Swish\",\n \"type\" : \"swish\"\n }, {\n \"name\" : \"TCS Test GiftCard\",\n \"type\" : \"tcstestgiftcard\"\n }, {\n \"name\" : \"TenPay\",\n \"type\" : \"tenpay\"\n }, {\n \"name\" : \"The Sting Giftcard\",\n \"type\" : \"thestinggiftcard\"\n }, {\n \"name\" : \"TrueMoney\",\n \"type\" : \"truemoney\"\n }, {\n \"name\" : \"Trustly\",\n \"type\" : \"trustly\"\n }, {\n \"name\" : \"Online Banking by Trustpay\",\n \"type\" : \"trustpay\"\n }, {\n \"name\" : \"TWINT\",\n \"type\" : \"twint\"\n }, {\n \"name\" : \"Ukash\",\n \"type\" : \"ukash\"\n }, {\n \"name\" : \"UnionPay\",\n \"type\" : \"unionpay\"\n }, {\n \"name\" : \"UPI Collect\",\n \"type\" : \"upi_collect\"\n }, {\n \"name\" : \"Valuelink\",\n \"type\" : \"valuelink\"\n }, {\n \"name\" : \"V&D Cadeaukaart\",\n \"type\" : \"vdcadeaucard\"\n }, {\n \"name\" : \"Vipps\",\n \"type\" : \"vipps\"\n }, {\n \"name\" : \"Visa Checkout\",\n \"type\" : \"visacheckout\"\n }, {\n \"name\" : \"VVV Cadeaubon\",\n \"type\" : \"vvvcadeaubon\"\n }, {\n \"name\" : \"VVV Giftcard\",\n \"type\" : \"vvvgiftcard\"\n }, {\n \"name\" : \"Webshop Giftcard\",\n \"type\" : \"webshopgiftcard\"\n }, {\n \"name\" : \"WeChat Pay\",\n \"type\" : \"wechatpayMiniProgram\"\n }, {\n \"name\" : \"WeChat Pay\",\n \"type\" : \"wechatpayQR\"\n }, {\n \"name\" : \"WeChat Pay\",\n \"type\" : \"wechatpayWeb\"\n }, {\n \"name\" : \"WE Fashion Giftcard\",\n \"type\" : \"wefashiongiftcard\"\n }, {\n \"name\" : \"Western Union\",\n \"type\" : \"westernunion\"\n }, {\n \"name\" : \"Winkel Cheque\",\n \"type\" : \"winkelcheque\"\n }, {\n \"name\" : \"WOS Card\",\n \"type\" : \"woscard\"\n }, {\n \"name\" : \"Alfa-Click\",\n \"type\" : \"yandex_alfaclick\"\n }, {\n \"name\" : \"Pay using bank card\",\n \"type\" : \"yandex_bank_card\"\n }, {\n \"name\" : \"Cash terminals\",\n \"type\" : \"yandex_cash\"\n }, {\n \"name\" : \"Pay using installments\",\n \"type\" : \"yandex_installments\"\n }, {\n \"name\" : \"YooMoney\",\n \"type\" : \"yandex_money\"\n }, {\n \"name\" : \"Promsvyazbank\",\n \"type\" : \"yandex_promsvyazbank\"\n }, {\n \"name\" : \"SberPay\",\n \"type\" : \"yandex_sberbank\"\n }, {\n \"name\" : \"WebMoney\",\n \"type\" : \"yandex_webmoney\"\n }, {\n \"name\" : \"Your Gift\",\n \"type\" : \"yourgift\"\n }, {\n \"name\" : \"Zip\",\n \"type\" : \"zip\"\n } ]\n}", + "originalRequest": { + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentMethods", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentMethods" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Queries the available payment methods for a transaction based on the transaction context (like amount, country, and currency). Besides giving back a list of the available payment methods, the response also returns which input details you need to collect from the shopper (to be submitted to `/payments`). Although we highly recommend using this endpoint to ensure you are always offering the most up-to-date list of payment methods, its usage is optional. You can, for example, also cache the `/paymentMethods` response and update it once a week." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentMethods", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentMethods" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Queries the available payment methods for a transaction based on the transaction context (like amount, country, and currency). Besides giving back a list of the available payment methods, the response also returns which input details you need to collect from the shopper (to be submitted to `/payments`). Although we highly recommend using this endpoint to ensure you are always offering the most up-to-date list of payment methods, its usage is optional. You can, for example, also cache the `/paymentMethods` response and update it once a week." - } + ] }, { "name": "Get payment methods based on the country and amount", "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 + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl-NL\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentMethods", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentMethods" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Queries the available payment methods for a transaction based on the transaction context (like amount, country, and currency). Besides giving back a list of the available payment methods, the response also returns which input details you need to collect from the shopper (to be submitted to `/payments`). Although we highly recommend using this endpoint to ensure you are always offering the most up-to-date list of payment methods, its usage is optional. You can, for example, also cache the `/paymentMethods` response and update it once a week." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"paymentMethods\" : [ {\n \"name\" : \"iDEAL\",\n \"type\" : \"ideal\"\n }, {\n \"name\" : \"Hitelkártya\",\n \"type\" : \"scheme\"\n }, {\n \"name\" : \"PayPal\",\n \"type\" : \"paypal\"\n }, {\n \"name\" : \"AfterPay Invoice\",\n \"type\" : \"afterpay_default\"\n }, {\n \"name\" : \"Pay later with Klarna.\",\n \"type\" : \"klarna\"\n }, {\n \"name\" : \"SEPA Direct Debit\",\n \"type\" : \"sepadirectdebit\"\n }, {\n \"name\" : \"Paysafecard\",\n \"type\" : \"paysafecard\"\n }, {\n \"name\" : \"Bijenkorf Cadeaucard\",\n \"type\" : \"bijcadeaucard\"\n }, {\n \"name\" : \"Fonq Giftcard\",\n \"type\" : \"fonqgiftcard\"\n }, {\n \"name\" : \"Bank Transfer (NL)\",\n \"type\" : \"bankTransfer_NL\"\n }, {\n \"name\" : \"Pathe Giftcard\",\n \"type\" : \"pathegiftcard\"\n }, {\n \"name\" : \"VVV Giftcard\",\n \"type\" : \"vvvgiftcard\"\n }, {\n \"name\" : \"Podium Card\",\n \"type\" : \"podiumcard\"\n }, {\n \"name\" : \"RatePay Direct Debit\",\n \"type\" : \"ratepay_directdebit\"\n }, {\n \"name\" : \"Rituals Giftcard\",\n \"type\" : \"rituals\"\n }, {\n \"name\" : \"Hunkemoller Lingerie Card\",\n \"type\" : \"hmlingerie\"\n }, {\n \"name\" : \"Primera Cadeaukaart\",\n \"type\" : \"primeracadeaucard\"\n }, {\n \"name\" : \"Fashioncheque\",\n \"type\" : \"fashioncheque\"\n }, {\n \"name\" : \"NETELLER\",\n \"type\" : \"neteller\"\n }, {\n \"name\" : \"Adyen Voucher\",\n \"type\" : \"adyen_test_voucher\"\n }, {\n \"name\" : \"AfterPay B2B\",\n \"type\" : \"afterpay_b2b\"\n }, {\n \"name\" : \"AfterPay DirectDebit\",\n \"type\" : \"afterpay_directdebit\"\n }, {\n \"name\" : \"AliPay\",\n \"type\" : \"alipay\"\n }, {\n \"name\" : \"AliPay\",\n \"type\" : \"alipay_wap\"\n }, {\n \"name\" : \"Android Pay\",\n \"type\" : \"androidpay\"\n }, {\n \"name\" : \"Apple Pay\",\n \"type\" : \"applepay\"\n }, {\n \"name\" : \"Baby Gift Card\",\n \"type\" : \"babygiftcard\"\n }, {\n \"name\" : \"SEPA Bank Transfer\",\n \"type\" : \"bankTransfer_IBAN\"\n }, {\n \"name\" : \"Bloemen Giftcard\",\n \"type\" : \"bloemengiftcard\"\n }, {\n \"name\" : \"Boekenbon Giftcard\",\n \"type\" : \"boekenbon\"\n }, {\n \"name\" : \"Cash-Ticket\",\n \"type\" : \"cashticket\"\n }, {\n \"name\" : \"Chasin Giftcard\",\n \"type\" : \"chasingiftcard\"\n }, {\n \"name\" : \"ClickandBuy\",\n \"type\" : \"clickandbuy\"\n }, {\n \"name\" : \"Costes Giftcard\",\n \"type\" : \"costesgiftcard\"\n }, {\n \"name\" : \"custom_settlement\",\n \"type\" : \"custom_settlement\"\n }, {\n \"name\" : \"eft_directdebit_CA\",\n \"type\" : \"eft_directdebit_CA\"\n }, {\n \"name\" : \"Nationale Entertainment Card\",\n \"type\" : \"entertainmentcard\"\n }, {\n \"name\" : \"Expert Cadeaukaart\",\n \"type\" : \"expertgiftcard\"\n }, {\n \"name\" : \"FijnCadeau\",\n \"type\" : \"fijncadeau\"\n }, {\n \"name\" : \"Fleurop Bloemenbon\",\n \"type\" : \"fleuropbloemenbon\"\n }, {\n \"name\" : \"Gall & Gall\",\n \"type\" : \"gallgall\"\n }, {\n \"name\" : \"Generic GiftCard\",\n \"type\" : \"genericgiftcard\"\n }, {\n \"name\" : \"GiftFor2\",\n \"type\" : \"giftfor2card\"\n }, {\n \"name\" : \"Givex\",\n \"type\" : \"givex\"\n }, {\n \"name\" : \"Goldsmiths Card\",\n \"type\" : \"goldsmithscard\"\n }, {\n \"name\" : \"Hunkemoller Member Card\",\n \"type\" : \"hmclub\"\n }, {\n \"name\" : \"Phone Payment\",\n \"type\" : \"ivr\"\n }, {\n \"name\" : \"Landline phone\",\n \"type\" : \"ivrLandline\"\n }, {\n \"name\" : \"Mobile phone\",\n \"type\" : \"ivrMobile\"\n }, {\n \"name\" : \"Kado Wereld\",\n \"type\" : \"kadowereld\"\n }, {\n \"name\" : \"Karen Millen GiftCard\",\n \"type\" : \"karenmillengiftcard\"\n }, {\n \"name\" : \"Leisure Card\",\n \"type\" : \"leisurecard\"\n }, {\n \"name\" : \"Loods5 Cadeaukaart\",\n \"type\" : \"loods5giftcard\"\n }, {\n \"name\" : \"Loods5 Tegoedbon\",\n \"type\" : \"loods5prepaidcard\"\n }, {\n \"name\" : \"Amazon Pay\",\n \"supportsRecurring\" : true,\n \"type\" : \"amazonpay\"\n }, {\n \"name\" : \"MOLPoints\",\n \"type\" : \"molpay_points\"\n }, {\n \"name\" : \"Moneybookers\",\n \"type\" : \"moneybookers\"\n }, {\n \"name\" : \"De Nationale Musicalcard\",\n \"type\" : \"musicalcard\"\n }, {\n \"name\" : \"Nationale Bioscoopbon\",\n \"type\" : \"nationalebioscoopbon\"\n }, {\n \"name\" : \"Nationale Tuinbon\",\n \"type\" : \"nationaletuinbon\"\n }, {\n \"name\" : \"Nationale Verwen Cadeaubon\",\n \"type\" : \"nationaleverwencadeaubon\"\n }, {\n \"name\" : \"Onebip\",\n \"type\" : \"onebip\"\n }, {\n \"name\" : \"Google Pay\",\n \"type\" : \"paywithgoogle\"\n }, {\n \"name\" : \"Plastix\",\n \"type\" : \"plastix\"\n }, {\n \"name\" : \"Pluim\",\n \"type\" : \"pluimgiftcard\"\n }, {\n \"name\" : \"Illicado Gift Card\",\n \"type\" : \"prosodie_illicado\"\n }, {\n \"name\" : \"RatePay Invoice\",\n \"type\" : \"ratepay\"\n }, {\n \"name\" : \"Rob Peetoom Giftcard\",\n \"type\" : \"robpeetoomgiftcard\"\n }, {\n \"name\" : \"Shoes&Accessories Cadeau\",\n \"type\" : \"sagiftcard\"\n }, {\n \"name\" : \"Score Giftcard\",\n \"type\" : \"scoregiftcard\"\n }, {\n \"name\" : \"Premium SMS\",\n \"type\" : \"sms\"\n }, {\n \"name\" : \"SVS\",\n \"type\" : \"svs\"\n }, {\n \"name\" : \"TCS Test GiftCard\",\n \"type\" : \"tcstestgiftcard\"\n }, {\n \"name\" : \"The Sting Giftcard\",\n \"type\" : \"thestinggiftcard\"\n }, {\n \"name\" : \"Ukash\",\n \"type\" : \"ukash\"\n }, {\n \"name\" : \"UnionPay\",\n \"type\" : \"unionpay\"\n }, {\n \"name\" : \"Valuelink\",\n \"type\" : \"valuelink\"\n }, {\n \"name\" : \"V&D Cadeaukaart\",\n \"type\" : \"vdcadeaucard\"\n }, {\n \"name\" : \"Visa Checkout\",\n \"type\" : \"visacheckout\"\n }, {\n \"name\" : \"VVV Cadeaubon\",\n \"type\" : \"vvvcadeaubon\"\n }, {\n \"name\" : \"Webshop Giftcard\",\n \"type\" : \"webshopgiftcard\"\n }, {\n \"name\" : \"WE Fashion Giftcard\",\n \"type\" : \"wefashiongiftcard\"\n }, {\n \"name\" : \"Western Union\",\n \"type\" : \"westernunion\"\n }, {\n \"name\" : \"Winkel Cheque\",\n \"type\" : \"winkelcheque\"\n }, {\n \"name\" : \"Your Gift\",\n \"type\" : \"yourgift\"\n } ]\n}", + "originalRequest": { + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl-NL\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentMethods", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentMethods" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Queries the available payment methods for a transaction based on the transaction context (like amount, country, and currency). Besides giving back a list of the available payment methods, the response also returns which input details you need to collect from the shopper (to be submitted to `/payments`). Although we highly recommend using this endpoint to ensure you are always offering the most up-to-date list of payment methods, its usage is optional. You can, for example, also cache the `/paymentMethods` response and update it once a week." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl-NL\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n }\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentMethods", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentMethods" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Queries the available payment methods for a transaction based on the transaction context (like amount, country, and currency). Besides giving back a list of the available payment methods, the response also returns which input details you need to collect from the shopper (to be submitted to `/payments`). Although we highly recommend using this endpoint to ensure you are always offering the most up-to-date list of payment methods, its usage is optional. You can, for example, also cache the `/paymentMethods` response and update it once a week." - } + ] }, { "name": "Get payment methods including stored card details", "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 + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"countryCode\" : \"NL\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentMethods", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentMethods" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Queries the available payment methods for a transaction based on the transaction context (like amount, country, and currency). Besides giving back a list of the available payment methods, the response also returns which input details you need to collect from the shopper (to be submitted to `/payments`). Although we highly recommend using this endpoint to ensure you are always offering the most up-to-date list of payment methods, its usage is optional. You can, for example, also cache the `/paymentMethods` response and update it once a week." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"paymentMethods\" : [ {\n \"name\" : \"iDEAL\",\n \"type\" : \"ideal\"\n }, {\n \"name\" : \"Credit Card\",\n \"type\" : \"scheme\"\n }, {\n \"name\" : \"PayPal\",\n \"type\" : \"paypal\"\n }, {\n \"name\" : \"AfterPay Invoice\",\n \"type\" : \"afterpay_default\"\n }, {\n \"name\" : \"Pay later with Klarna.\",\n \"type\" : \"klarna\"\n }, {\n \"name\" : \"SEPA Direct Debit\",\n \"type\" : \"sepadirectdebit\"\n }, {\n \"name\" : \"Paysafecard\",\n \"type\" : \"paysafecard\"\n }, {\n \"name\" : \"Bijenkorf Cadeaucard\",\n \"type\" : \"bijcadeaucard\"\n }, {\n \"name\" : \"Fonq Giftcard\",\n \"type\" : \"fonqgiftcard\"\n }, {\n \"name\" : \"Bank Transfer (NL)\",\n \"type\" : \"bankTransfer_NL\"\n }, {\n \"name\" : \"Pathe Giftcard\",\n \"type\" : \"pathegiftcard\"\n }, {\n \"name\" : \"VVV Giftcard\",\n \"type\" : \"vvvgiftcard\"\n }, {\n \"name\" : \"Podium Card\",\n \"type\" : \"podiumcard\"\n }, {\n \"name\" : \"RatePay Direct Debit\",\n \"type\" : \"ratepay_directdebit\"\n }, {\n \"name\" : \"Rituals Giftcard\",\n \"type\" : \"rituals\"\n }, {\n \"name\" : \"Hunkemoller Lingerie Card\",\n \"type\" : \"hmlingerie\"\n }, {\n \"name\" : \"Primera Cadeaukaart\",\n \"type\" : \"primeracadeaucard\"\n }, {\n \"name\" : \"Fashioncheque\",\n \"type\" : \"fashioncheque\"\n }, {\n \"name\" : \"NETELLER\",\n \"type\" : \"neteller\"\n }, {\n \"name\" : \"Adyen Voucher\",\n \"type\" : \"adyen_test_voucher\"\n }, {\n \"name\" : \"AfterPay B2B\",\n \"type\" : \"afterpay_b2b\"\n }, {\n \"name\" : \"AfterPay DirectDebit\",\n \"type\" : \"afterpay_directdebit\"\n }, {\n \"name\" : \"AliPay\",\n \"type\" : \"alipay\"\n }, {\n \"name\" : \"AliPay\",\n \"type\" : \"alipay_wap\"\n }, {\n \"name\" : \"Android Pay\",\n \"type\" : \"androidpay\"\n }, {\n \"name\" : \"Apple Pay\",\n \"type\" : \"applepay\"\n }, {\n \"name\" : \"Baby Gift Card\",\n \"type\" : \"babygiftcard\"\n }, {\n \"name\" : \"SEPA Bank Transfer\",\n \"type\" : \"bankTransfer_IBAN\"\n }, {\n \"name\" : \"Bloemen Giftcard\",\n \"type\" : \"bloemengiftcard\"\n }, {\n \"name\" : \"Boekenbon Giftcard\",\n \"type\" : \"boekenbon\"\n }, {\n \"name\" : \"Cash-Ticket\",\n \"type\" : \"cashticket\"\n }, {\n \"name\" : \"Chasin Giftcard\",\n \"type\" : \"chasingiftcard\"\n }, {\n \"name\" : \"ClickandBuy\",\n \"type\" : \"clickandbuy\"\n }, {\n \"name\" : \"Costes Giftcard\",\n \"type\" : \"costesgiftcard\"\n }, {\n \"name\" : \"custom_settlement\",\n \"type\" : \"custom_settlement\"\n }, {\n \"name\" : \"eft_directdebit_CA\",\n \"type\" : \"eft_directdebit_CA\"\n }, {\n \"name\" : \"Nationale Entertainment Card\",\n \"type\" : \"entertainmentcard\"\n }, {\n \"name\" : \"Expert Cadeaukaart\",\n \"type\" : \"expertgiftcard\"\n }, {\n \"name\" : \"FijnCadeau\",\n \"type\" : \"fijncadeau\"\n }, {\n \"name\" : \"Fleurop Bloemenbon\",\n \"type\" : \"fleuropbloemenbon\"\n }, {\n \"name\" : \"Gall & Gall\",\n \"type\" : \"gallgall\"\n }, {\n \"name\" : \"Generic GiftCard\",\n \"type\" : \"genericgiftcard\"\n }, {\n \"name\" : \"GiftFor2\",\n \"type\" : \"giftfor2card\"\n }, {\n \"name\" : \"Givex\",\n \"type\" : \"givex\"\n }, {\n \"name\" : \"Goldsmiths Card\",\n \"type\" : \"goldsmithscard\"\n }, {\n \"name\" : \"Hunkemoller Member Card\",\n \"type\" : \"hmclub\"\n }, {\n \"name\" : \"Phone Payment\",\n \"type\" : \"ivr\"\n }, {\n \"name\" : \"Landline phone\",\n \"type\" : \"ivrLandline\"\n }, {\n \"name\" : \"Mobile phone\",\n \"type\" : \"ivrMobile\"\n }, {\n \"name\" : \"Kado Wereld\",\n \"type\" : \"kadowereld\"\n }, {\n \"name\" : \"Karen Millen GiftCard\",\n \"type\" : \"karenmillengiftcard\"\n }, {\n \"name\" : \"Leisure Card\",\n \"type\" : \"leisurecard\"\n }, {\n \"name\" : \"Loods5 Cadeaukaart\",\n \"type\" : \"loods5giftcard\"\n }, {\n \"name\" : \"Loods5 Tegoedbon\",\n \"type\" : \"loods5prepaidcard\"\n }, {\n \"name\" : \"Amazon Pay\",\n \"supportsRecurring\" : true,\n \"type\" : \"amazonpay\"\n }, {\n \"name\" : \"MOLPoints\",\n \"type\" : \"molpay_points\"\n }, {\n \"name\" : \"Moneybookers\",\n \"type\" : \"moneybookers\"\n }, {\n \"name\" : \"De Nationale Musicalcard\",\n \"type\" : \"musicalcard\"\n }, {\n \"name\" : \"Nationale Bioscoopbon\",\n \"type\" : \"nationalebioscoopbon\"\n }, {\n \"name\" : \"Nationale Tuinbon\",\n \"type\" : \"nationaletuinbon\"\n }, {\n \"name\" : \"Nationale Verwen Cadeaubon\",\n \"type\" : \"nationaleverwencadeaubon\"\n }, {\n \"name\" : \"Onebip\",\n \"type\" : \"onebip\"\n }, {\n \"name\" : \"Google Pay\",\n \"type\" : \"paywithgoogle\"\n }, {\n \"name\" : \"Plastix\",\n \"type\" : \"plastix\"\n }, {\n \"name\" : \"Pluim\",\n \"type\" : \"pluimgiftcard\"\n }, {\n \"name\" : \"Illicado Gift Card\",\n \"type\" : \"prosodie_illicado\"\n }, {\n \"name\" : \"RatePay Invoice\",\n \"type\" : \"ratepay\"\n }, {\n \"name\" : \"Rob Peetoom Giftcard\",\n \"type\" : \"robpeetoomgiftcard\"\n }, {\n \"name\" : \"Shoes&Accessories Cadeau\",\n \"type\" : \"sagiftcard\"\n }, {\n \"name\" : \"Score Giftcard\",\n \"type\" : \"scoregiftcard\"\n }, {\n \"name\" : \"Premium SMS\",\n \"type\" : \"sms\"\n }, {\n \"name\" : \"SVS\",\n \"type\" : \"svs\"\n }, {\n \"name\" : \"TCS Test GiftCard\",\n \"type\" : \"tcstestgiftcard\"\n }, {\n \"name\" : \"The Sting Giftcard\",\n \"type\" : \"thestinggiftcard\"\n }, {\n \"name\" : \"Ukash\",\n \"type\" : \"ukash\"\n }, {\n \"name\" : \"UnionPay\",\n \"type\" : \"unionpay\"\n }, {\n \"name\" : \"Valuelink\",\n \"type\" : \"valuelink\"\n }, {\n \"name\" : \"V&D Cadeaukaart\",\n \"type\" : \"vdcadeaucard\"\n }, {\n \"name\" : \"Visa Checkout\",\n \"type\" : \"visacheckout\"\n }, {\n \"name\" : \"VVV Cadeaubon\",\n \"type\" : \"vvvcadeaubon\"\n }, {\n \"name\" : \"Webshop Giftcard\",\n \"type\" : \"webshopgiftcard\"\n }, {\n \"name\" : \"WE Fashion Giftcard\",\n \"type\" : \"wefashiongiftcard\"\n }, {\n \"name\" : \"Western Union\",\n \"type\" : \"westernunion\"\n }, {\n \"name\" : \"Winkel Cheque\",\n \"type\" : \"winkelcheque\"\n }, {\n \"name\" : \"Your Gift\",\n \"type\" : \"yourgift\"\n } ],\n \"storedPaymentMethods\" : [ {\n \"brand\" : \"visa\",\n \"expiryMonth\" : \"10\",\n \"expiryYear\" : \"30\",\n \"holderName\" : \"John Smith\",\n \"id\" : \"7219687191761347\",\n \"issuerName\" : \"ISSUER_NAME\",\n \"lastFour\" : \"1111\",\n \"name\" : \"VISA\",\n \"shopperEmail\" : \"john.smith@example.com\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"supportedRecurringProcessingModels\" : [ \"CardOnFile\", \"Subscription\", \"UnscheduledCardOnFile\" ],\n \"type\" : \"scheme\"\n } ]\n}", + "originalRequest": { + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"countryCode\" : \"NL\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentMethods", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentMethods" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Queries the available payment methods for a transaction based on the transaction context (like amount, country, and currency). Besides giving back a list of the available payment methods, the response also returns which input details you need to collect from the shopper (to be submitted to `/payments`). Although we highly recommend using this endpoint to ensure you are always offering the most up-to-date list of payment methods, its usage is optional. You can, for example, also cache the `/paymentMethods` response and update it once a week." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"countryCode\" : \"NL\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentMethods", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentMethods" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Queries the available payment methods for a transaction based on the transaction context (like amount, country, and currency). Besides giving back a list of the available payment methods, the response also returns which input details you need to collect from the shopper (to be submitted to `/payments`). Although we highly recommend using this endpoint to ensure you are always offering the most up-to-date list of payment methods, its usage is optional. You can, for example, also cache the `/paymentMethods` response and update it once a week." - } + ] } ] - } -, + }, { "name": "/payments", "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. ", @@ -1421,790 +2692,1220 @@ { "name": "Make an Apple Pay payment", "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"applepay\",\n \"applePayToken\" : \"VNRWtuNlNEWkRCSm1xWndjMDFFbktkQU...\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"applepay\",\n \"applePayToken\" : \"VNRWtuNlNEWkRCSm1xWndjMDFFbktkQU...\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + ] }, { "name": "Make a card payment with 3D Secure 2 native authentication, using encrypted card details", "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"reference\" : \"{{$guid}}\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"encryptedCardNumber\" : \"test_4035501428146300\",\n \"encryptedExpiryMonth\" : \"test_03\",\n \"encryptedExpiryYear\" : \"test_2030\",\n \"encryptedSecurityCode\" : \"test_737\",\n \"holderName\" : \"John Smith\"\n },\n \"additionalData\" : {\n \"allow3DS2\" : \"true\"\n },\n \"billingAddress\" : {\n \"country\" : \"US\",\n \"city\" : \"New York\",\n \"street\" : \"Redwood Block\",\n \"houseNumberOrName\" : \"37C\",\n \"stateOrProvince\" : \"NY\",\n \"postalCode\" : \"10039\"\n },\n \"shopperEmail\" : \"s.hopper@test.com\",\n \"shopperIP\" : \"192.0.2.1\",\n \"browserInfo\" : {\n \"userAgent\" : \"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.110 Safari/537.36\",\n \"acceptHeader\" : \"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8\",\n \"language\" : \"nl-NL\",\n \"colorDepth\" : 24,\n \"screenHeight\" : 723,\n \"screenWidth\" : 1536,\n \"timeZoneOffset\" : 0,\n \"javaEnabled\" : true\n },\n \"channel\" : \"Web\",\n \"origin\" : \"https://your-company.com\",\n \"returnUrl\" : \"https://your-company.com/checkout/\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"reference\" : \"{{$guid}}\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"encryptedCardNumber\" : \"test_4035501428146300\",\n \"encryptedExpiryMonth\" : \"test_03\",\n \"encryptedExpiryYear\" : \"test_2030\",\n \"encryptedSecurityCode\" : \"test_737\",\n \"holderName\" : \"John Smith\"\n },\n \"additionalData\" : {\n \"allow3DS2\" : \"true\"\n },\n \"billingAddress\" : {\n \"country\" : \"US\",\n \"city\" : \"New York\",\n \"street\" : \"Redwood Block\",\n \"houseNumberOrName\" : \"37C\",\n \"stateOrProvince\" : \"NY\",\n \"postalCode\" : \"10039\"\n },\n \"shopperEmail\" : \"s.hopper@test.com\",\n \"shopperIP\" : \"192.0.2.1\",\n \"browserInfo\" : {\n \"userAgent\" : \"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.110 Safari/537.36\",\n \"acceptHeader\" : \"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8\",\n \"language\" : \"nl-NL\",\n \"colorDepth\" : 24,\n \"screenHeight\" : 723,\n \"screenWidth\" : 1536,\n \"timeZoneOffset\" : 0,\n \"javaEnabled\" : true\n },\n \"channel\" : \"Web\",\n \"origin\" : \"https://your-company.com\",\n \"returnUrl\" : \"https://your-company.com/checkout/\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + ] }, { "name": "Make card payment with 3D Secure redirect authentication", "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4212345678901237\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\",\n \"cvc\" : \"737\"\n },\n \"browserInfo\" : {\n \"userAgent\" : \"Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9) Gecko/2008052912 Firefox/3.0\",\n \"acceptHeader\" : \"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8\",\n \"javaEnabled\" : true,\n \"colorDepth\" : 10,\n \"screenHeight\" : 2000,\n \"screenWidth\" : 3000,\n \"timeZoneOffset\" : 5,\n \"language\" : \"en\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4212345678901237\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\",\n \"cvc\" : \"737\"\n },\n \"browserInfo\" : {\n \"userAgent\" : \"Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9) Gecko/2008052912 Firefox/3.0\",\n \"acceptHeader\" : \"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8\",\n \"javaEnabled\" : true,\n \"colorDepth\" : 10,\n \"screenHeight\" : 2000,\n \"screenWidth\" : 3000,\n \"timeZoneOffset\" : 5,\n \"language\" : \"en\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + ] }, { "name": "Make a card payment", "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 + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4111111111111111\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\",\n \"cvc\" : \"737\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"additionalData\" : {\n \"cvcResult\" : \"1 Matches\",\n \"authCode\" : \"044925\",\n \"avsResult\" : \"4 AVS not supported for this card type\",\n \"avsResultRaw\" : \"4\",\n \"cvcResultRaw\" : \"M\",\n \"refusalReasonRaw\" : \"AUTHORISED\",\n \"acquirerCode\" : \"TestPmmAcquirer\",\n \"acquirerReference\" : \"YOUR_ACQUIRER_REFERENCE\"\n },\n \"pspReference\" : \"YOUR_PSP_REFERENCE\",\n \"resultCode\" : \"Authorised\",\n \"merchantReference\" : \"YOUR_MERCHANT_REFERENCE\"\n}", + "originalRequest": { + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4111111111111111\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\",\n \"cvc\" : \"737\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4111111111111111\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\",\n \"cvc\" : \"737\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + ] }, { "name": "Make a card payment using encrypted card details", "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 + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"encryptedCardNumber\" : \"test_4111111111111111\",\n \"encryptedExpiryMonth\" : \"test_03\",\n \"encryptedExpiryYear\" : \"test_2030\",\n \"encryptedSecurityCode\" : \"test_737\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"additionalData\" : {\n \"cvcResult\" : \"1 Matches\",\n \"authCode\" : \"065696\",\n \"avsResult\" : \"4 AVS not supported for this card type\",\n \"avsResultRaw\" : \"4\",\n \"cvcResultRaw\" : \"M\",\n \"refusalReasonRaw\" : \"AUTHORISED\",\n \"acquirerCode\" : \"TestPmmAcquirer\",\n \"acquirerReference\" : \"YOUR_ACQUIRER_REFERENCE\"\n },\n \"pspReference\" : \"YOUR_PSP_REFERENCE\",\n \"resultCode\" : \"Authorised\",\n \"merchantReference\" : \"YOUR_MERCHANT_REFERENCE\"\n}", + "originalRequest": { + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"encryptedCardNumber\" : \"test_4111111111111111\",\n \"encryptedExpiryMonth\" : \"test_03\",\n \"encryptedExpiryYear\" : \"test_2030\",\n \"encryptedSecurityCode\" : \"test_737\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"encryptedCardNumber\" : \"test_4111111111111111\",\n \"encryptedExpiryMonth\" : \"test_03\",\n \"encryptedExpiryYear\" : \"test_2030\",\n \"encryptedSecurityCode\" : \"test_737\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + ] }, { "name": "Tokenize card details for one-off payments, using encrypted card details", "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 + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"encryptedCardNumber\" : \"test_4111111111111111\",\n \"encryptedExpiryMonth\" : \"test_03\",\n \"encryptedExpiryYear\" : \"test_2030\",\n \"encryptedSecurityCode\" : \"test_737\"\n },\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"storePaymentMethod\" : true,\n \"shopperInteraction\" : \"Ecommerce\",\n \"recurringProcessingModel\" : \"CardOnFile\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"additionalData\" : {\n \"cvcResult\" : \"1 Matches\",\n \"authCode\" : \"082338\",\n \"avsResult\" : \"4 AVS not supported for this card type\",\n \"recurring.recurringDetailReference\" : \"9916178934434753\",\n \"recurringProcessingModel\" : \"CardOnFile\",\n \"avsResultRaw\" : \"4\",\n \"cvcResultRaw\" : \"M\",\n \"refusalReasonRaw\" : \"AUTHORISED\",\n \"recurring.shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID\",\n \"acquirerCode\" : \"TestPmmAcquirer\",\n \"acquirerReference\" : \"YOUR_ACQUIRER_REFERENCE\"\n },\n \"pspReference\" : \"YOUR_PSP_REFERENCE\",\n \"resultCode\" : \"Authorised\",\n \"merchantReference\" : \"YOUR_MERCHANT_REFERENCE\"\n}", + "originalRequest": { + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"encryptedCardNumber\" : \"test_4111111111111111\",\n \"encryptedExpiryMonth\" : \"test_03\",\n \"encryptedExpiryYear\" : \"test_2030\",\n \"encryptedSecurityCode\" : \"test_737\"\n },\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"storePaymentMethod\" : true,\n \"shopperInteraction\" : \"Ecommerce\",\n \"recurringProcessingModel\" : \"CardOnFile\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"encryptedCardNumber\" : \"test_4111111111111111\",\n \"encryptedExpiryMonth\" : \"test_03\",\n \"encryptedExpiryYear\" : \"test_2030\",\n \"encryptedSecurityCode\" : \"test_737\"\n },\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"storePaymentMethod\" : true,\n \"shopperInteraction\" : \"Ecommerce\",\n \"recurringProcessingModel\" : \"CardOnFile\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + ] }, { "name": "Tokenize card details for one-off payments", "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 + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4111111111111111\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\",\n \"cvc\" : \"737\"\n },\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"shopperInteraction\" : \"Ecommerce\",\n \"recurringProcessingModel\" : \"CardOnFile\",\n \"storePaymentMethod\" : true,\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"additionalData\" : {\n \"cvcResult\" : \"1 Matches\",\n \"authCode\" : \"003704\",\n \"avsResult\" : \"4 AVS not supported for this card type\",\n \"recurring.recurringDetailReference\" : \"9916178934434753\",\n \"recurringProcessingModel\" : \"CardOnFile\",\n \"avsResultRaw\" : \"4\",\n \"cvcResultRaw\" : \"M\",\n \"refusalReasonRaw\" : \"AUTHORISED\",\n \"recurring.shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID\",\n \"acquirerCode\" : \"TestPmmAcquirer\",\n \"acquirerReference\" : \"YOUR_ACQUIRER_REFERENCE\"\n },\n \"pspReference\" : \"YOUR_PSP_REFERENCE\",\n \"resultCode\" : \"Authorised\",\n \"merchantReference\" : \"YOUR_MERCHANT_REFERENCE\"\n}", + "originalRequest": { + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4111111111111111\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\",\n \"cvc\" : \"737\"\n },\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"shopperInteraction\" : \"Ecommerce\",\n \"recurringProcessingModel\" : \"CardOnFile\",\n \"storePaymentMethod\" : true,\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4111111111111111\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\",\n \"cvc\" : \"737\"\n },\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"shopperInteraction\" : \"Ecommerce\",\n \"recurringProcessingModel\" : \"CardOnFile\",\n \"storePaymentMethod\" : true,\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + ] }, { "name": "Make a Google Pay payment", "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"googlepay\",\n \"googlePayToken\" : \"==Payload as retrieved from Google Pay response==\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"YourMerchantAccount\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"googlepay\",\n \"googlePayToken\" : \"==Payload as retrieved from Google Pay response==\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"YourMerchantAccount\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + ] }, { "name": "Make an iDEAL payment", "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 + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"ideal\",\n \"issuer\" : \"1121\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"resultCode\" : \"RedirectShopper\",\n \"action\" : {\n \"paymentMethodType\" : \"ideal\",\n \"url\" : \"https://test.adyen.com/hpp/checkout.shtml?u=redirectIdeal&p=eJxtUl1zmzAQ-DXwZgaB*XrQg0Nwg2s3DTVtJy8ZRbqAYlsikmCMf30FddNMpzOak2bvZm-3Ts*KCJZLBpgzIEeX9kqBoOMMFXXlcq17UCXDCAXIPYGiLRFmRanshcF70GZ3xd6TpTDQKGK4FJ4ZO8D5XZF-vq-3T5*KL0VV5v*tHEBpe*Pob5cKXmBSA1gbxUXzIWF6JW6JITjLUIySNItQliVxsH6v*cYbnNSHZsMfcydYr8SrE9yY7HRjavMAlyyIjhuK*tzszj9ew-uHrN854a3bkfEE1uBp9od833cV6Lra4taYzglXlsueo6Tk2EptLJL6qW8h2gI9yN7oVnYdKItoUAOnoO3z62-aUlB5sk4qYFwBNTYzoD9015odmFYyJ1z-M2yr7uO4nSBW8xisNpua1NlG0SQwmiTaMMpeLWzDjojRs-cMep7natDTrL*TI2fcjDjwA7Twlws-3aPYOkKZDVH26F69THtShE57woUlmpSBqw9czP*k65*9IfCuq0jiJElQGi69Szn8DPebmKXDWATt6vxEWduea7*sLy-Lt*1bcbctGhgZk78A5S7dyQ\",\n \"method\" : \"GET\",\n \"type\" : \"redirect\"\n },\n \"paymentData\" : \"Ab02b4c0!BQABAgCINC3kOq5nsaj4k+VaArf6VIiTWkYALwijaS+VOvzTSf76Un3WYBgKJlEBqALZW3vlw+IDQGw5jqkVBO4axEJEFKu5fDL2RkeHbm+aHY7tlRVsjvNIcVTNbMtHJcclHakOVTrtTCQfspf11XGsmENUaL45bdeu07iDBtpnIvd39p6g8OVaLcSIGaA8Zosd93hs0h3lvIePt3QTekeOUH+zrMMfLyy/4QKBZtLjnWo3/4U0e2tsneOudynW0l5i+VyobWOZb7yZUj7v9GMVpAZ3YEqNZ1aWJlSmty9TJTpXp4PQQcNeELQAfTu4zaarMq5btRZpcmDRvSOQK0Qo/PvfWrv/si0c1NPr5EM43ebdkLiDEUSIGBDTellblheOaRsgD0JlrNLOHSpS6iCiyY5FQaWx7FpnYReP/un2f/2mMGxdehif1MqWWZzgAhjdA4kksQVb8eMIGLY2IveJ4iTmDAkFbhIATs2SuWhYBGqFnBGeH1jlJCJDDV8/XJ0IcX1/r0qC3wsUFecoElZ6gts+4tlfPUoeuSH/NFmyBEzrjZbgCqCH9YVXa/+W+dwQCOQ0G7K4SJepnlNcmpCtI29zMZgeRqmtzI0hImvQYt188MXK44ieh2wsmpVv6Y9EGIgJVR+t1IZKizm6Q2D5MCUC1uAVwu2iw7Xt5Re1XcWSaBC/nZt2iHaZF7kpgIXfrFshAEp7ImtleSI6IkFGMEFBQTEwM0NBNTM3RUFFRDg3QzI0REQ1MzkwOUI4MEE3OEE5MjNFMzgyM0Q2OERBQ0M5NEI5RkY4MzA1REMifVTgdc9kCwE5LJyeGFVSr+P70S1hwc62Ad03Oy1Ksxr823klh1hxYQDWBJETNf/YmYC9cHDGr6LxMQ8OOnwfg2xjsVU7ZUwWJbHid1vU/oJzHBXe54lHMNNre0HaQD6TSokVpazQsY3hRB84uevmeT7KVal98iqXd755VuiIxwHhhywaub1ogyQQEVxNGWx2+vL5Vh8NKmoghZQ+NLSZWRn77hJTGV+lKJdseGA9nV7DSlWodNmZ8RyRfQoqwtaK9woQ87PIN7XqSznZMS1HWMOE/aDLEXLJEfozHWrHuGVmn6Hupt/fBnm1GckSsMGeQNKS+4XmKGrJefrHDmdoZVBaZS9UjxfKjD2sCwu5vutgb6SLrECgCvu3q5/LTyFeTuPV1ZZrlpapC6umnWmSKmj/SdnhXJO00PNuFT2WY/GyH0cyA498zApE6VtLx2e9IvS01Oex6ZCRFDJ6sDCBzVN5g60vsm9tBut6trpQWyryqVM2cQ39xh9olCQ5Ml+2h4YFV5gA+1c0i+e6SeMtFJN788NW2EnQT/2pzM/rNAaSVwSf8vJcx3ZB9n8Pf8xi2buKZFEkyJpZJSg22JC/38D1E0tPRpQ7gZ1Z86meAGXnfKUtA+w2FllB2Y0dMrqi8jXnS/mqMPBmPVnIxUW96e40cB7W8E0VDf1IKx/wQphI8/vM3UOSqC81agmnyQ3nIDrAy8vqMOD+d1xcoElzRNy0OxU6v/90IKkhfAKr3Tur7Vb3FD6Pi/XrujJX95UlRd7fmaAI7Po1cIh1v7HEhsCNoh1z7WFNag==\",\n \"redirect\" : {\n \"method\" : \"GET\",\n \"url\" : \"https://test.adyen.com/hpp/checkout.shtml?u=redirectIdeal&p=eJxtUl1zmzAQ-DXwZgaB*XrQg0Nwg2s3DTVtJy8ZRbqAYlsikmCMf30FddNMpzOak2bvZm-3Ts*KCJZLBpgzIEeX9kqBoOMMFXXlcq17UCXDCAXIPYGiLRFmRanshcF70GZ3xd6TpTDQKGK4FJ4ZO8D5XZF-vq-3T5*KL0VV5v*tHEBpe*Pob5cKXmBSA1gbxUXzIWF6JW6JITjLUIySNItQliVxsH6v*cYbnNSHZsMfcydYr8SrE9yY7HRjavMAlyyIjhuK*tzszj9ew-uHrN854a3bkfEE1uBp9od833cV6Lra4taYzglXlsueo6Tk2EptLJL6qW8h2gI9yN7oVnYdKItoUAOnoO3z62-aUlB5sk4qYFwBNTYzoD9015odmFYyJ1z-M2yr7uO4nSBW8xisNpua1NlG0SQwmiTaMMpeLWzDjojRs-cMep7natDTrL*TI2fcjDjwA7Twlws-3aPYOkKZDVH26F69THtShE57woUlmpSBqw9czP*k65*9IfCuq0jiJElQGi69Szn8DPebmKXDWATt6vxEWduea7*sLy-Lt*1bcbctGhgZk78A5S7dyQ\"\n }\n}", + "originalRequest": { + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"ideal\",\n \"issuer\" : \"1121\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"ideal\",\n \"issuer\" : \"1121\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + ] }, { "name": "Make a Klarna payment", "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 \"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" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + "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 \"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" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + ] }, { "name": "Make a one-off payment with a token and CVV", "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"storedPaymentMethodId\" : \"8416038790273850\",\n \"cvc\" : \"737\"\n },\n \"shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID_6738oneoff\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"storedPaymentMethodId\" : \"8416038790273850\",\n \"cvc\" : \"737\"\n },\n \"shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID_6738oneoff\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + ] }, { "name": "Make a one-off payment with a token and CVV, using encrypted card details", "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"storedPaymentMethodId\" : \"8416038790273850\",\n \"encryptedSecurityCode\" : \"adyenjs_0_1_18$MT6ppy0FAMVMLH...\"\n },\n \"shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID_6738oneoff\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"shopperInteraction\" : \"ContAuth\",\n \"recurringProcessingModel\" : \"CardOnFile\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"storedPaymentMethodId\" : \"8416038790273850\",\n \"encryptedSecurityCode\" : \"adyenjs_0_1_18$MT6ppy0FAMVMLH...\"\n },\n \"shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID_6738oneoff\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"shopperInteraction\" : \"ContAuth\",\n \"recurringProcessingModel\" : \"CardOnFile\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + ] }, { "name": "Make a card payment with a token", "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"storedPaymentMethodId\" : \"8316038796685850\"\n },\n \"shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID_IOfW3subscription\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"shopperInteraction\" : \"ContAuth\",\n \"recurringProcessingModel\" : \"Subscription\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"storedPaymentMethodId\" : \"8316038796685850\"\n },\n \"shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID_IOfW3subscription\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"shopperInteraction\" : \"ContAuth\",\n \"recurringProcessingModel\" : \"Subscription\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + ] }, { "name": "Split a payment in a Classic Platforms integration", "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 \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4111111111111111\",\n \"cvc\" : \"737\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\"\n },\n \"amount\" : {\n \"value\" : 6200,\n \"currency\" : \"EUR\"\n },\n \"reference\" : \"{{$guid}}\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"splits\" : [ {\n \"amount\" : {\n \"value\" : 6000\n },\n \"type\" : \"MarketPlace\",\n \"account\" : \"151272963\",\n \"reference\" : \"6124145\",\n \"description\" : \"Porcelain Doll: Eliza (20cm)\"\n }, {\n \"amount\" : {\n \"value\" : 200\n },\n \"type\" : \"Commission\",\n \"reference\" : \"6124146\"\n } ]\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + "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 \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4111111111111111\",\n \"cvc\" : \"737\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\"\n },\n \"amount\" : {\n \"value\" : 6200,\n \"currency\" : \"EUR\"\n },\n \"reference\" : \"{{$guid}}\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"splits\" : [ {\n \"amount\" : {\n \"value\" : 6000\n },\n \"type\" : \"MarketPlace\",\n \"account\" : \"151272963\",\n \"reference\" : \"6124145\",\n \"description\" : \"Porcelain Doll: Eliza (20cm)\"\n }, {\n \"amount\" : {\n \"value\" : 200\n },\n \"type\" : \"Commission\",\n \"reference\" : \"6124146\"\n } ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + ] }, { "name": "Split a payment between balance accounts", "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 + "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 \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4111111111111111\",\n \"cvc\" : \"737\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\"\n },\n \"amount\" : {\n \"value\" : 40000,\n \"currency\" : \"USD\"\n },\n \"reference\" : \"{{$guid}}\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"platformChargebackLogic\" : {\n \"behavior\" : \"deductFromOneBalanceAccount\",\n \"targetAccount\" : \"BA00000000000000000000001\",\n \"costAllocationAccount\" : \"BA00000000000000000000001\"\n },\n \"splits\" : [ {\n \"amount\" : {\n \"value\" : 39600\n },\n \"type\" : \"BalanceAccount\",\n \"account\" : \"BA00000000000000000000001\",\n \"reference\" : \"Your reference for the sale amount\",\n \"description\" : \"Your description for the sale amount\"\n }, {\n \"amount\" : {\n \"value\" : 400\n },\n \"type\" : \"Commission\",\n \"reference\" : \"Your reference for the commission\",\n \"description\" : \"Your description for the commission\"\n }, {\n \"account\" : \"BA00000000000000000000001\",\n \"reference\" : \"Your reference for the fees\",\n \"description\" : \"Your description for the fees\",\n \"type\" : \"PaymentFee\"\n } ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"additionalData\" : {\n \"authCode\" : \"008304\",\n \"avsResult\" : \"5 No AVS data provided\",\n \"cardHolderName\" : \"John Smith\",\n \"refusalReasonRaw\" : \"AUTHORISED\",\n \"issuerCountry\" : \"NL\",\n \"cvcResult\" : \"1 Matches\",\n \"avsResultRaw\" : \"5\",\n \"cvcResultRaw\" : \"M\",\n \"acquirerCode\" : \"TestPmmAcquirer\",\n \"acquirerReference\" : \"YOUR_ACQUIRER_REFERENCE\"\n },\n \"pspReference\" : \"993617895204576J\",\n \"resultCode\" : \"Authorised\",\n \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 40000\n },\n \"merchantReference\" : \"YOUR_ORDER_NUMBER\",\n \"paymentMethod\" : {\n \"brand\" : \"visa\",\n \"type\" : \"scheme\"\n }\n}", + "originalRequest": { + "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 \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4111111111111111\",\n \"cvc\" : \"737\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\"\n },\n \"amount\" : {\n \"value\" : 40000,\n \"currency\" : \"USD\"\n },\n \"reference\" : \"{{$guid}}\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"platformChargebackLogic\" : {\n \"behavior\" : \"deductFromOneBalanceAccount\",\n \"targetAccount\" : \"BA00000000000000000000001\",\n \"costAllocationAccount\" : \"BA00000000000000000000001\"\n },\n \"splits\" : [ {\n \"amount\" : {\n \"value\" : 39600\n },\n \"type\" : \"BalanceAccount\",\n \"account\" : \"BA00000000000000000000001\",\n \"reference\" : \"Your reference for the sale amount\",\n \"description\" : \"Your description for the sale amount\"\n }, {\n \"amount\" : {\n \"value\" : 400\n },\n \"type\" : \"Commission\",\n \"reference\" : \"Your reference for the commission\",\n \"description\" : \"Your description for the commission\"\n }, {\n \"account\" : \"BA00000000000000000000001\",\n \"reference\" : \"Your reference for the fees\",\n \"description\" : \"Your description for the fees\",\n \"type\" : \"PaymentFee\"\n } ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4111111111111111\",\n \"cvc\" : \"737\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\"\n },\n \"amount\" : {\n \"value\" : 40000,\n \"currency\" : \"USD\"\n },\n \"reference\" : \"{{$guid}}\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"platformChargebackLogic\" : {\n \"behavior\" : \"deductFromOneBalanceAccount\",\n \"targetAccount\" : \"BA00000000000000000000001\",\n \"costAllocationAccount\" : \"BA00000000000000000000001\"\n },\n \"splits\" : [ {\n \"amount\" : {\n \"value\" : 39600\n },\n \"type\" : \"BalanceAccount\",\n \"account\" : \"BA00000000000000000000001\",\n \"reference\" : \"Your reference for the sale amount\",\n \"description\" : \"Your description for the sale amount\"\n }, {\n \"amount\" : {\n \"value\" : 400\n },\n \"type\" : \"Commission\",\n \"reference\" : \"Your reference for the commission\",\n \"description\" : \"Your description for the commission\"\n }, {\n \"account\" : \"BA00000000000000000000001\",\n \"reference\" : \"Your reference for the fees\",\n \"description\" : \"Your description for the fees\",\n \"type\" : \"PaymentFee\"\n } ]\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + ] }, { "name": "Tokenize card details for a subscription", "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 + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4111111111111111\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\",\n \"cvc\" : \"737\"\n },\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"storePaymentMethod\" : true,\n \"shopperInteraction\" : \"Ecommerce\",\n \"recurringProcessingModel\" : \"Subscription\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"additionalData\" : {\n \"cvcResult\" : \"1 Matches\",\n \"authCode\" : \"098871\",\n \"avsResult\" : \"4 AVS not supported for this card type\",\n \"recurring.recurringDetailReference\" : \"9916178934434753\",\n \"recurringProcessingModel\" : \"Subscription\",\n \"avsResultRaw\" : \"4\",\n \"cvcResultRaw\" : \"M\",\n \"refusalReasonRaw\" : \"AUTHORISED\",\n \"recurring.shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID\",\n \"acquirerCode\" : \"TestPmmAcquirer\",\n \"acquirerReference\" : \"YOUR_ACQUIRER_REFERENCE\"\n },\n \"pspReference\" : \"YOUR_PSP_REFERENCE\",\n \"resultCode\" : \"Authorised\",\n \"merchantReference\" : \"YOUR_MERCHANT_REFERENCE\"\n}", + "originalRequest": { + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4111111111111111\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\",\n \"cvc\" : \"737\"\n },\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"storePaymentMethod\" : true,\n \"shopperInteraction\" : \"Ecommerce\",\n \"recurringProcessingModel\" : \"Subscription\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4111111111111111\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\",\n \"cvc\" : \"737\"\n },\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"storePaymentMethod\" : true,\n \"shopperInteraction\" : \"Ecommerce\",\n \"recurringProcessingModel\" : \"Subscription\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + ] } ] - } -, + }, { "name": "/payments/details", "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. ", @@ -2212,106 +3913,167 @@ { "name": "Submit the redirect result", "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 + "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 \"details\" : {\n \"redirectResult\" : \"X6XtfGC3!Y...\"\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. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"resultCode\" : \"Authorised\",\n \"pspReference\" : \"V4HZ4RBFJGXXGN82\"\n}", + "originalRequest": { + "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 \"details\" : {\n \"redirectResult\" : \"X6XtfGC3!Y...\"\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. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"details\" : {\n \"redirectResult\" : \"X6XtfGC3!Y...\"\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. " - } + ] }, { "name": "Submit 3D Secure 2 authentication result", "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 \"details\" : {\n \"threeDSResult\" : \"eyJ0cmFuc1N0YXR1cyI6IlkifQ==\"\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. " - } + "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 \"details\" : {\n \"threeDSResult\" : \"eyJ0cmFuc1N0YXR1cyI6IlkifQ==\"\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. " +} + ,"response": [ + ] } ] - } -, + }, { "name": "/sessions", "description": "Creates a payment session for [Web Drop-in](https://docs.adyen.com/online-payments/web-drop-in) and [Web Components](https://docs.adyen.com/online-payments/web-components) integrations. The response contains encrypted payment session data. The front end then uses the session data to make any required server-side calls for the payment flow. You get the payment outcome asynchronously, in an [AUTHORISATION](https://docs.adyen.com/api-explorer/#/Webhooks/latest/post/AUTHORISATION) webhook.", @@ -2319,202 +4081,437 @@ { "name": "Create a payment session", "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 + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"amount\" : {\n \"value\" : 100,\n \"currency\" : \"EUR\"\n },\n \"returnUrl\" : \"https://your-company.com/checkout?shopperOrder=12xy..\",\n \"reference\" : \"YOUR_PAYMENT_REFERENCE\",\n \"countryCode\" : \"NL\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/sessions", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "sessions" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates a payment session for [Web Drop-in](https://docs.adyen.com/online-payments/web-drop-in) and [Web Components](https://docs.adyen.com/online-payments/web-components) integrations. The response contains encrypted payment session data. The front end then uses the session data to make any required server-side calls for the payment flow. You get the payment outcome asynchronously, in an [AUTHORISATION](https://docs.adyen.com/api-explorer/#/Webhooks/latest/post/AUTHORISATION) webhook." +} + ,"response": [ + {"name": "Created - the request has been fulfilled and has resulted in one or more new resources being created.", + "code": 201, + "status": "Created", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 100\n },\n \"countryCode\" : \"NL\",\n \"expiresAt\" : \"2022-01-11T13:53:18+01:00\",\n \"id\" : \"CS451F2AB1ED897A94\",\n \"merchantAccount\" : \"YOUR_MERCHANT_ACCOUNT\",\n \"reference\" : \"YOUR_PAYMENT_REFERENCE\",\n \"returnUrl\" : \"https://your-company.com/checkout?shopperOrder=12xy..\",\n \"sessionData\" : \"Ab02b4c0!BQABAgBfYI29...\"\n}", + "originalRequest": { + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"amount\" : {\n \"value\" : 100,\n \"currency\" : \"EUR\"\n },\n \"returnUrl\" : \"https://your-company.com/checkout?shopperOrder=12xy..\",\n \"reference\" : \"YOUR_PAYMENT_REFERENCE\",\n \"countryCode\" : \"NL\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/sessions", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "sessions" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates a payment session for [Web Drop-in](https://docs.adyen.com/online-payments/web-drop-in) and [Web Components](https://docs.adyen.com/online-payments/web-components) integrations. The response contains encrypted payment session data. The front end then uses the session data to make any required server-side calls for the payment flow. You get the payment outcome asynchronously, in an [AUTHORISATION](https://docs.adyen.com/api-explorer/#/Webhooks/latest/post/AUTHORISATION) webhook." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"amount\" : {\n \"value\" : 100,\n \"currency\" : \"EUR\"\n },\n \"returnUrl\" : \"https://your-company.com/checkout?shopperOrder=12xy..\",\n \"reference\" : \"YOUR_PAYMENT_REFERENCE\",\n \"countryCode\" : \"NL\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/sessions", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "sessions" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Creates a payment session for [Web Drop-in](https://docs.adyen.com/online-payments/web-drop-in) and [Web Components](https://docs.adyen.com/online-payments/web-components) integrations. The response contains encrypted payment session data. The front end then uses the session data to make any required server-side calls for the payment flow. You get the payment outcome asynchronously, in an [AUTHORISATION](https://docs.adyen.com/api-explorer/#/Webhooks/latest/post/AUTHORISATION) webhook." - } + ] }, { "name": "Create a payment session including Klarna fields", "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 + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"reference\" : \"YOUR_ORDER_REFERENCE\",\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_SHOPPER_REFERENCE\",\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 \"dateOfBirth\" : \"1996-09-04\",\n \"socialSecurityNumber\" : \"0108\",\n \"returnUrl\" : \"https://example.org\",\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" + } + } + }, + "url": { + "raw": "{{baseUrl}}/sessions", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "sessions" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates a payment session for [Web Drop-in](https://docs.adyen.com/online-payments/web-drop-in) and [Web Components](https://docs.adyen.com/online-payments/web-components) integrations. The response contains encrypted payment session data. The front end then uses the session data to make any required server-side calls for the payment flow. You get the payment outcome asynchronously, in an [AUTHORISATION](https://docs.adyen.com/api-explorer/#/Webhooks/latest/post/AUTHORISATION) webhook." +} + ,"response": [ + {"name": "Created - the request has been fulfilled and has resulted in one or more new resources being created.", + "code": 201, + "status": "Created", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"amount\" : {\n \"currency\" : \"SEK\",\n \"value\" : 1000\n },\n \"billingAddress\" : {\n \"city\" : \"Ankeborg\",\n \"country\" : \"SE\",\n \"houseNumberOrName\" : \"1\",\n \"postalCode\" : \"12345\",\n \"street\" : \"Stargatan\"\n },\n \"countryCode\" : \"SE\",\n \"dateOfBirth\" : \"1996-09-04T02:00:00+02:00\",\n \"deliveryAddress\" : {\n \"city\" : \"Ankeborg\",\n \"country\" : \"SE\",\n \"houseNumberOrName\" : \"1\",\n \"postalCode\" : \"12345\",\n \"street\" : \"Stargatan\"\n },\n \"expiresAt\" : \"2022-01-11T13:57:52+01:00\",\n \"id\" : \"CSC52E9932D39ADAF3\",\n \"lineItems\" : [ {\n \"amountExcludingTax\" : 331,\n \"amountIncludingTax\" : 400,\n \"description\" : \"Shoes\",\n \"id\" : \"Item #1\",\n \"imageUrl\" : \"URL_TO_PICTURE_OF_PURCHASED_ITEM\",\n \"productUrl\" : \"URL_TO_PURCHASED_ITEM\",\n \"quantity\" : 1,\n \"taxAmount\" : 69,\n \"taxPercentage\" : 2100\n }, {\n \"amountExcludingTax\" : 248,\n \"amountIncludingTax\" : 300,\n \"description\" : \"Socks\",\n \"id\" : \"Item #2\",\n \"imageUrl\" : \"URL_TO_PICTURE_OF_PURCHASED_ITEM\",\n \"productUrl\" : \"URL_TO_PURCHASED_ITEM\",\n \"quantity\" : 2,\n \"taxAmount\" : 52,\n \"taxPercentage\" : 2100\n } ],\n \"merchantAccount\" : \"YOUR_MERCHANT_ACCOUNT\",\n \"reference\" : \"YOUR_ORDER_REFERENCE\",\n \"returnUrl\" : \"https://example.org\",\n \"shopperEmail\" : \"youremail@email.com\",\n \"shopperLocale\" : \"en_US\",\n \"shopperName\" : {\n \"firstName\" : \"Testperson-se\",\n \"lastName\" : \"Approved\"\n },\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"socialSecurityNumber\" : \"0108\",\n \"telephoneNumber\" : \"+46 840 839 298\",\n \"sessionData\" : \"Ab02b4c0!BQABAgBfYI29...\"\n}", + "originalRequest": { + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"reference\" : \"YOUR_ORDER_REFERENCE\",\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_SHOPPER_REFERENCE\",\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 \"dateOfBirth\" : \"1996-09-04\",\n \"socialSecurityNumber\" : \"0108\",\n \"returnUrl\" : \"https://example.org\",\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" + } + } + }, + "url": { + "raw": "{{baseUrl}}/sessions", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "sessions" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates a payment session for [Web Drop-in](https://docs.adyen.com/online-payments/web-drop-in) and [Web Components](https://docs.adyen.com/online-payments/web-components) integrations. The response contains encrypted payment session data. The front end then uses the session data to make any required server-side calls for the payment flow. You get the payment outcome asynchronously, in an [AUTHORISATION](https://docs.adyen.com/api-explorer/#/Webhooks/latest/post/AUTHORISATION) webhook." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"reference\" : \"YOUR_ORDER_REFERENCE\",\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_SHOPPER_REFERENCE\",\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 \"dateOfBirth\" : \"1996-09-04\",\n \"socialSecurityNumber\" : \"0108\",\n \"returnUrl\" : \"https://example.org\",\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" - } - } - }, - "url": { - "raw": "{{baseUrl}}/sessions", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "sessions" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Creates a payment session for [Web Drop-in](https://docs.adyen.com/online-payments/web-drop-in) and [Web Components](https://docs.adyen.com/online-payments/web-components) integrations. The response contains encrypted payment session data. The front end then uses the session data to make any required server-side calls for the payment flow. You get the payment outcome asynchronously, in an [AUTHORISATION](https://docs.adyen.com/api-explorer/#/Webhooks/latest/post/AUTHORISATION) webhook." - } + ] }, { "name": "Tokenize card details for one-off payments", "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 + "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 \"merchantAccount\" : \"TestMerchantCheckout\",\n \"amount\" : {\n \"value\" : 100,\n \"currency\" : \"EUR\"\n },\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"returnUrl\" : \"https://your-company.com/checkout?shopperOrder=12xy..\",\n \"reference\" : \"YOUR_PAYMENT_REFERENCE\",\n \"countryCode\" : \"NL\",\n \"storePaymentMethod\" : true,\n \"shopperInteraction\" : \"Ecommerce\",\n \"recurringProcessingModel\" : \"CardOnFile\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/sessions", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "sessions" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates a payment session for [Web Drop-in](https://docs.adyen.com/online-payments/web-drop-in) and [Web Components](https://docs.adyen.com/online-payments/web-components) integrations. The response contains encrypted payment session data. The front end then uses the session data to make any required server-side calls for the payment flow. You get the payment outcome asynchronously, in an [AUTHORISATION](https://docs.adyen.com/api-explorer/#/Webhooks/latest/post/AUTHORISATION) webhook." +} + ,"response": [ + {"name": "Created - the request has been fulfilled and has resulted in one or more new resources being created.", + "code": 201, + "status": "Created", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 100\n },\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"countryCode\" : \"NL\",\n \"expiresAt\" : \"2022-01-11T13:56:05+01:00\",\n \"id\" : \"CSEE37DC1DD751A01F\",\n \"merchantAccount\" : \"YOUR_MERCHANT_ACCOUNT\",\n \"recurringProcessingModel\" : \"CardOnFile\",\n \"reference\" : \"YOUR_PAYMENT_REFERENCE\",\n \"returnUrl\" : \"https://your-company.com/checkout?shopperOrder=12xy..\",\n \"shopperInteraction\" : \"Ecommerce\",\n \"storePaymentMethod\" : true,\n \"sessionData\" : \"Ab02b4c0!BQABAgBfYI29...\"\n}", + "originalRequest": { + "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 \"merchantAccount\" : \"TestMerchantCheckout\",\n \"amount\" : {\n \"value\" : 100,\n \"currency\" : \"EUR\"\n },\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"returnUrl\" : \"https://your-company.com/checkout?shopperOrder=12xy..\",\n \"reference\" : \"YOUR_PAYMENT_REFERENCE\",\n \"countryCode\" : \"NL\",\n \"storePaymentMethod\" : true,\n \"shopperInteraction\" : \"Ecommerce\",\n \"recurringProcessingModel\" : \"CardOnFile\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/sessions", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "sessions" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates a payment session for [Web Drop-in](https://docs.adyen.com/online-payments/web-drop-in) and [Web Components](https://docs.adyen.com/online-payments/web-components) integrations. The response contains encrypted payment session data. The front end then uses the session data to make any required server-side calls for the payment flow. You get the payment outcome asynchronously, in an [AUTHORISATION](https://docs.adyen.com/api-explorer/#/Webhooks/latest/post/AUTHORISATION) webhook." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"merchantAccount\" : \"TestMerchantCheckout\",\n \"amount\" : {\n \"value\" : 100,\n \"currency\" : \"EUR\"\n },\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"returnUrl\" : \"https://your-company.com/checkout?shopperOrder=12xy..\",\n \"reference\" : \"YOUR_PAYMENT_REFERENCE\",\n \"countryCode\" : \"NL\",\n \"storePaymentMethod\" : true,\n \"shopperInteraction\" : \"Ecommerce\",\n \"recurringProcessingModel\" : \"CardOnFile\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/sessions", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "sessions" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Creates a payment session for [Web Drop-in](https://docs.adyen.com/online-payments/web-drop-in) and [Web Components](https://docs.adyen.com/online-payments/web-components) integrations. The response contains encrypted payment session data. The front end then uses the session data to make any required server-side calls for the payment flow. You get the payment outcome asynchronously, in an [AUTHORISATION](https://docs.adyen.com/api-explorer/#/Webhooks/latest/post/AUTHORISATION) webhook." - } + ] }, { "name": "Split a payment between balance accounts", "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 + "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 \"amount\" : {\n \"value\" : 40000,\n \"currency\" : \"USD\"\n },\n \"reference\" : \"{{$guid}}\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"splits\" : [ {\n \"amount\" : {\n \"value\" : 39200\n },\n \"type\" : \"BalanceAccount\",\n \"account\" : \"BA00000000000000000000001\",\n \"reference\" : \"Your reference for the sale amount\",\n \"description\" : \"Your description for the sale amount\"\n }, {\n \"amount\" : {\n \"value\" : 400\n },\n \"type\" : \"Commission\",\n \"reference\" : \"Your reference for the commission\",\n \"description\" : \"Your description for the commission\"\n }, {\n \"amount\" : {\n \"value\" : 400\n },\n \"account\" : \"BA00000000000000000000001\",\n \"reference\" : \"Your reference for the fees\",\n \"description\" : \"Your description for the fees\",\n \"type\" : \"PaymentFee\"\n } ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/sessions", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "sessions" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates a payment session for [Web Drop-in](https://docs.adyen.com/online-payments/web-drop-in) and [Web Components](https://docs.adyen.com/online-payments/web-components) integrations. The response contains encrypted payment session data. The front end then uses the session data to make any required server-side calls for the payment flow. You get the payment outcome asynchronously, in an [AUTHORISATION](https://docs.adyen.com/api-explorer/#/Webhooks/latest/post/AUTHORISATION) webhook." +} + ,"response": [ + {"name": "Created - the request has been fulfilled and has resulted in one or more new resources being created.", + "code": 201, + "status": "Created", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 40000\n },\n \"expiresAt\" : \"2023-06-26T11:01:55+02:00\",\n \"id\" : \"CSFCBC80570618EF2C\",\n \"merchantAccount\" : \"YOUR_MERCHANT_ACCOUNT\",\n \"reference\" : \"YOUR_ORDER_NUMBER\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"shopperLocale\" : \"en-US\",\n \"splits\" : [ {\n \"account\" : \"BA00000000000000000000001\",\n \"amount\" : {\n \"value\" : 39200\n },\n \"description\" : \"Your description for the sale amount\",\n \"reference\" : \"Your reference for the sale amount\",\n \"type\" : \"BalanceAccount\"\n }, {\n \"amount\" : {\n \"value\" : 400\n },\n \"description\" : \"Your description for the commission\",\n \"reference\" : \"Your reference for the commission\",\n \"type\" : \"Commission\"\n }, {\n \"amount\" : {\n \"value\" : 400\n },\n \"account\" : \"BA00000000000000000000001\",\n \"description\" : \"Your description for the fees\",\n \"reference\" : \"Your reference for the fees\",\n \"type\" : \"PaymentFee\"\n } ],\n \"sessionData\" : \"Ab02b4c0!BQABAgCjTErwAztqXSFTiZtxZMjRLYkoGbPkmvCvDX1\"\n}", + "originalRequest": { + "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 \"amount\" : {\n \"value\" : 40000,\n \"currency\" : \"USD\"\n },\n \"reference\" : \"{{$guid}}\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"splits\" : [ {\n \"amount\" : {\n \"value\" : 39200\n },\n \"type\" : \"BalanceAccount\",\n \"account\" : \"BA00000000000000000000001\",\n \"reference\" : \"Your reference for the sale amount\",\n \"description\" : \"Your description for the sale amount\"\n }, {\n \"amount\" : {\n \"value\" : 400\n },\n \"type\" : \"Commission\",\n \"reference\" : \"Your reference for the commission\",\n \"description\" : \"Your description for the commission\"\n }, {\n \"amount\" : {\n \"value\" : 400\n },\n \"account\" : \"BA00000000000000000000001\",\n \"reference\" : \"Your reference for the fees\",\n \"description\" : \"Your description for the fees\",\n \"type\" : \"PaymentFee\"\n } ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/sessions", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "sessions" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates a payment session for [Web Drop-in](https://docs.adyen.com/online-payments/web-drop-in) and [Web Components](https://docs.adyen.com/online-payments/web-components) integrations. The response contains encrypted payment session data. The front end then uses the session data to make any required server-side calls for the payment flow. You get the payment outcome asynchronously, in an [AUTHORISATION](https://docs.adyen.com/api-explorer/#/Webhooks/latest/post/AUTHORISATION) webhook." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"value\" : 40000,\n \"currency\" : \"USD\"\n },\n \"reference\" : \"{{$guid}}\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"splits\" : [ {\n \"amount\" : {\n \"value\" : 39200\n },\n \"type\" : \"BalanceAccount\",\n \"account\" : \"BA00000000000000000000001\",\n \"reference\" : \"Your reference for the sale amount\",\n \"description\" : \"Your description for the sale amount\"\n }, {\n \"amount\" : {\n \"value\" : 400\n },\n \"type\" : \"Commission\",\n \"reference\" : \"Your reference for the commission\",\n \"description\" : \"Your description for the commission\"\n }, {\n \"amount\" : {\n \"value\" : 400\n },\n \"account\" : \"BA00000000000000000000001\",\n \"reference\" : \"Your reference for the fees\",\n \"description\" : \"Your description for the fees\",\n \"type\" : \"PaymentFee\"\n } ]\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/sessions", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "sessions" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Creates a payment session for [Web Drop-in](https://docs.adyen.com/online-payments/web-drop-in) and [Web Components](https://docs.adyen.com/online-payments/web-components) integrations. The response contains encrypted payment session data. The front end then uses the session data to make any required server-side calls for the payment flow. You get the payment outcome asynchronously, in an [AUTHORISATION](https://docs.adyen.com/api-explorer/#/Webhooks/latest/post/AUTHORISATION) webhook." - } + ] } ] - } -, + }, { "name": "/sessions/:sessionId", "description": "Returns the status of the payment session with the `sessionId` and `sessionResult` specified in the path.", @@ -2522,55 +4519,56 @@ { "name": "Get the result of a payment session", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/sessions/:sessionId", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "sessions", - ":sessionId" - ], - "variable": [ - { - "key": "sessionId", - "value": "", - "description": "A unique identifier of the session." - } - ], - "query": [ - { - "key": "sessionResult", - "value": "sessionResult_example", - "description": "The `sessionResult` value from the Drop-in or Component.", - "disabled": false - } - ] - }, - "description": "Returns the status of the payment session with the `sessionId` and `sessionResult` specified in the path." - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/sessions/:sessionId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "sessions", + ":sessionId" + ], + "variable": [ + { + "key": "sessionId", + "value": "", + "description": "A unique identifier of the session." + } + ], + "query": [ + { + "key": "sessionResult", + "value": "sessionResult_example", + "description": "The `sessionResult` value from the Drop-in or Component.", + "disabled": false + } + ] + }, + "description": "Returns the status of the payment session with the `sessionId` and `sessionResult` specified in the path." +} + ,"response": [ + ] } ] } - ] }, { @@ -2583,55 +4581,113 @@ { "name": "Create a payment link", "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 + "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 \"reference\" : \"{{$guid}}\",\n \"amount\" : {\n \"value\" : 1250,\n \"currency\" : \"BRL\"\n },\n \"countryCode\" : \"BR\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"shopperEmail\" : \"test@email.com\",\n \"shopperLocale\" : \"pt-BR\",\n \"billingAddress\" : {\n \"street\" : \"Roque Petroni Jr\",\n \"postalCode\" : \"59000060\",\n \"city\" : \"São Paulo\",\n \"houseNumberOrName\" : \"999\",\n \"country\" : \"BR\",\n \"stateOrProvince\" : \"SP\"\n },\n \"deliveryAddress\" : {\n \"street\" : \"Roque Petroni Jr\",\n \"postalCode\" : \"59000060\",\n \"city\" : \"São Paulo\",\n \"houseNumberOrName\" : \"999\",\n \"country\" : \"BR\",\n \"stateOrProvince\" : \"SP\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentLinks", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentLinks" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates a payment link to our hosted payment form where shoppers can pay. The list of payment methods presented to the shopper depends on the `currency` and `country` parameters sent in the request. For more information, refer to [Pay by Link documentation](https://docs.adyen.com/online-payments/pay-by-link#create-payment-links-through-api)." +} + ,"response": [ + {"name": "Created - the request has succeeded.", + "code": 201, + "status": "Created", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"amount\" : {\n \"currency\" : \"BRL\",\n \"value\" : 1250\n },\n \"billingAddress\" : {\n \"city\" : \"São Paulo\",\n \"country\" : \"BR\",\n \"houseNumberOrName\" : \"999\",\n \"postalCode\" : \"59000060\",\n \"stateOrProvince\" : \"SP\",\n \"street\" : \"Roque Petroni Jr\"\n },\n \"countryCode\" : \"BR\",\n \"deliveryAddress\" : {\n \"city\" : \"São Paulo\",\n \"country\" : \"BR\",\n \"houseNumberOrName\" : \"999\",\n \"postalCode\" : \"59000060\",\n \"stateOrProvince\" : \"SP\",\n \"street\" : \"Roque Petroni Jr\"\n },\n \"expiresAt\" : \"2022-10-28T09:16:22Z\",\n \"merchantAccount\" : \"YOUR_MERCHANT_ACCOUNT\",\n \"reference\" : \"YOUR_ORDER_NUMBER\",\n \"reusable\" : false,\n \"shopperEmail\" : \"test@email.com\",\n \"shopperLocale\" : \"pt-BR\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"id\" : \"PLE83C39B0A0DE0C1E\",\n \"status\" : \"active\",\n \"url\" : \"https://test.adyen.link/PLE83C39B0A0DE0C1E\"\n}", + "originalRequest": { + "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 \"reference\" : \"{{$guid}}\",\n \"amount\" : {\n \"value\" : 1250,\n \"currency\" : \"BRL\"\n },\n \"countryCode\" : \"BR\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"shopperEmail\" : \"test@email.com\",\n \"shopperLocale\" : \"pt-BR\",\n \"billingAddress\" : {\n \"street\" : \"Roque Petroni Jr\",\n \"postalCode\" : \"59000060\",\n \"city\" : \"São Paulo\",\n \"houseNumberOrName\" : \"999\",\n \"country\" : \"BR\",\n \"stateOrProvince\" : \"SP\"\n },\n \"deliveryAddress\" : {\n \"street\" : \"Roque Petroni Jr\",\n \"postalCode\" : \"59000060\",\n \"city\" : \"São Paulo\",\n \"houseNumberOrName\" : \"999\",\n \"country\" : \"BR\",\n \"stateOrProvince\" : \"SP\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentLinks", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentLinks" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates a payment link to our hosted payment form where shoppers can pay. The list of payment methods presented to the shopper depends on the `currency` and `country` parameters sent in the request. For more information, refer to [Pay by Link documentation](https://docs.adyen.com/online-payments/pay-by-link#create-payment-links-through-api)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"reference\" : \"{{$guid}}\",\n \"amount\" : {\n \"value\" : 1250,\n \"currency\" : \"BRL\"\n },\n \"countryCode\" : \"BR\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"shopperEmail\" : \"test@email.com\",\n \"shopperLocale\" : \"pt-BR\",\n \"billingAddress\" : {\n \"street\" : \"Roque Petroni Jr\",\n \"postalCode\" : \"59000060\",\n \"city\" : \"São Paulo\",\n \"houseNumberOrName\" : \"999\",\n \"country\" : \"BR\",\n \"stateOrProvince\" : \"SP\"\n },\n \"deliveryAddress\" : {\n \"street\" : \"Roque Petroni Jr\",\n \"postalCode\" : \"59000060\",\n \"city\" : \"São Paulo\",\n \"houseNumberOrName\" : \"999\",\n \"country\" : \"BR\",\n \"stateOrProvince\" : \"SP\"\n }\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentLinks", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentLinks" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Creates a payment link to our hosted payment form where shoppers can pay. The list of payment methods presented to the shopper depends on the `currency` and `country` parameters sent in the request. For more information, refer to [Pay by Link documentation](https://docs.adyen.com/online-payments/pay-by-link#create-payment-links-through-api)." - } + ] } ] - } -, + }, { "name": "/paymentLinks/:linkId", "description": "Retrieves the payment link details using the payment link `id`.", @@ -2639,49 +4695,50 @@ { "name": "Get a payment link", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentLinks/:linkId", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentLinks", - ":linkId" - ], - "variable": [ - { - "key": "linkId", - "value": "", - "description": "Unique identifier of the payment link." - } - ], - "query": [ - ] - }, - "description": "Retrieves the payment link details using the payment link `id`." - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentLinks/:linkId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentLinks", + ":linkId" + ], + "variable": [ + { + "key": "linkId", + "value": "", + "description": "Unique identifier of the payment link." + } + ], + "query": [ + ] + }, + "description": "Retrieves the payment link details using the payment link `id`." +} + ,"response": [ + ] } ] - } -, + }, { "name": "/paymentLinks/:linkId", "description": "Updates the status of a payment link. Use this endpoint to [force the expiry of a payment link](https://docs.adyen.com/online-payments/pay-by-link#update-payment-link-status).", @@ -2689,55 +4746,113 @@ { "name": "Update the status of a payment link", "request": { - "method": "PATCH", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"status\" : \"expired\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentLinks/:linkId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentLinks", + ":linkId" + ], + "variable": [ + { + "key": "linkId", + "value": "", + "description": "Unique identifier of the payment link." + } + ], + "query": [ + ] + }, + "description": "Updates the status of a payment link. Use this endpoint to [force the expiry of a payment link](https://docs.adyen.com/online-payments/pay-by-link#update-payment-link-status)." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 8700\n },\n \"countryCode\" : \"NL\",\n \"expiresAt\" : \"2021-04-08T14:06:39Z\",\n \"merchantAccount\" : \"YOUR_MERCHANT_ACCOUNT\",\n \"reference\" : \"shopper-reference-ekvL83\",\n \"shopperLocale\" : \"hu-HU\",\n \"shopperReference\" : \"shopper-reference-LZfdWZ\",\n \"status\" : \"expired\",\n \"url\" : \"https://test.adyen.link/PL61C53A8B97E6915A\",\n \"id\" : \"PL61C53A8B97E6915A\"\n}", + "originalRequest": { + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"status\" : \"expired\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentLinks/:linkId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentLinks", + ":linkId" + ], + "variable": [ + { + "key": "linkId", + "value": "", + "description": "Unique identifier of the payment link." + } + ], + "query": [ + ] + }, + "description": "Updates the status of a payment link. Use this endpoint to [force the expiry of a payment link](https://docs.adyen.com/online-payments/pay-by-link#update-payment-link-status)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"status\" : \"expired\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentLinks/:linkId", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentLinks", - ":linkId" - ], - "variable": [ - { - "key": "linkId", - "value": "", - "description": "Unique identifier of the payment link." - } - ], - "query": [ - ] - }, - "description": "Updates the status of a payment link. Use this endpoint to [force the expiry of a payment link](https://docs.adyen.com/online-payments/pay-by-link#update-payment-link-status)." - } + ] } ] } - ] } ], diff --git a/postman/CheckoutService-v69.json b/postman/CheckoutService-v69.json index 5b78d40..811137c 100644 --- a/postman/CheckoutService-v69.json +++ b/postman/CheckoutService-v69.json @@ -19,55 +19,113 @@ { "name": "Cancel a payment using your own reference", "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 + "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 \"paymentReference\" : \"YOUR_UNIQUE_REFERENCE_FOR_THE_PAYMENT\",\n \"reference\" : \"YOUR_UNIQUE_REFERENCE_FOR_THE_CANCELLATION\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/cancels", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "cancels" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Cancels the authorisation on a payment that has not yet been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/captures), and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**TECHNICAL_CANCEL** webhook](https://docs.adyen.com/online-payments/cancel#cancellation-webhook). If you want to cancel a payment using the [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference), use the [`/payments/{paymentPspReference}/cancels`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/cancels) endpoint instead. If you want to cancel a payment but are not sure whether it has been captured, use the [`/payments/{paymentPspReference}/reversals`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/reversals) endpoint instead. For more information, refer to [Cancel](https://docs.adyen.com/online-payments/cancel)." +} + ,"response": [ + {"name": "Created - the request has been fulfilled and has resulted in one or more new resources being created.", + "code": 201, + "status": "Created", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"merchantAccount\" : \"YOUR_MERCHANT_ACCOUNT\",\n \"paymentReference\" : \"YOUR_UNIQUE_REFERENCE_FOR_THE_PAYMENT\",\n \"reference\" : \"YOUR_UNIQUE_REFERENCE_FOR_THE_CANCELLATION\",\n \"pspReference\" : \"993617894906488A\",\n \"status\" : \"received\"\n}", + "originalRequest": { + "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 \"paymentReference\" : \"YOUR_UNIQUE_REFERENCE_FOR_THE_PAYMENT\",\n \"reference\" : \"YOUR_UNIQUE_REFERENCE_FOR_THE_CANCELLATION\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/cancels", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "cancels" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Cancels the authorisation on a payment that has not yet been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/captures), and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**TECHNICAL_CANCEL** webhook](https://docs.adyen.com/online-payments/cancel#cancellation-webhook). If you want to cancel a payment using the [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference), use the [`/payments/{paymentPspReference}/cancels`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/cancels) endpoint instead. If you want to cancel a payment but are not sure whether it has been captured, use the [`/payments/{paymentPspReference}/reversals`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/reversals) endpoint instead. For more information, refer to [Cancel](https://docs.adyen.com/online-payments/cancel)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"paymentReference\" : \"YOUR_UNIQUE_REFERENCE_FOR_THE_PAYMENT\",\n \"reference\" : \"YOUR_UNIQUE_REFERENCE_FOR_THE_CANCELLATION\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/cancels", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "cancels" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Cancels the authorisation on a payment that has not yet been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/captures), and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**TECHNICAL_CANCEL** webhook](https://docs.adyen.com/online-payments/cancel#cancellation-webhook). If you want to cancel a payment using the [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference), use the [`/payments/{paymentPspReference}/cancels`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/cancels) endpoint instead. If you want to cancel a payment but are not sure whether it has been captured, use the [`/payments/{paymentPspReference}/reversals`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/reversals) endpoint instead. For more information, refer to [Cancel](https://docs.adyen.com/online-payments/cancel)." - } + ] } ] - } -, + }, { "name": "/payments/:paymentPspReference/amountUpdates", "description": "Increases or decreases the authorised payment amount and returns a unique reference for this request. You get the outcome of the request asynchronously, in an [**AUTHORISATION_ADJUSTMENT** webhook](https://docs.adyen.com/development-resources/webhooks/understand-notifications#event-codes). You can only update authorised amounts that have not yet been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/captures). The amount you specify in the request is the updated amount, which is larger or smaller than the initial authorised amount. For more information, refer to [Authorisation adjustment](https://docs.adyen.com/online-payments/adjust-authorisation#use-cases).", @@ -75,62 +133,127 @@ { "name": "Update the amount of an authorised payment", "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 + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 2500\n },\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments/:paymentPspReference/amountUpdates", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments", + ":paymentPspReference", + "amountUpdates" + ], + "variable": [ + { + "key": "paymentPspReference", + "value": "", + "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment." + } + ], + "query": [ + ] + }, + "description": "Increases or decreases the authorised payment amount and returns a unique reference for this request. You get the outcome of the request asynchronously, in an [**AUTHORISATION_ADJUSTMENT** webhook](https://docs.adyen.com/development-resources/webhooks/understand-notifications#event-codes). You can only update authorised amounts that have not yet been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/captures). The amount you specify in the request is the updated amount, which is larger or smaller than the initial authorised amount. For more information, refer to [Authorisation adjustment](https://docs.adyen.com/online-payments/adjust-authorisation#use-cases)." +} + ,"response": [ + {"name": "Created - the request has been fulfilled and has resulted in one or more new resources being created.", + "code": 201, + "status": "Created", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"merchantAccount\" : \"YOUR_MERCHANT_ACCOUNT\",\n \"paymentPspReference\" : \"993617894903480A\",\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"pspReference\" : \"993617894906488A\",\n \"status\" : \"received\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 2500\n }\n}", + "originalRequest": { + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 2500\n },\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments/:paymentPspReference/amountUpdates", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments", + ":paymentPspReference", + "amountUpdates" + ], + "variable": [ + { + "key": "paymentPspReference", + "value": "", + "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment." + } + ], + "query": [ + ] + }, + "description": "Increases or decreases the authorised payment amount and returns a unique reference for this request. You get the outcome of the request asynchronously, in an [**AUTHORISATION_ADJUSTMENT** webhook](https://docs.adyen.com/development-resources/webhooks/understand-notifications#event-codes). You can only update authorised amounts that have not yet been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/captures). The amount you specify in the request is the updated amount, which is larger or smaller than the initial authorised amount. For more information, refer to [Authorisation adjustment](https://docs.adyen.com/online-payments/adjust-authorisation#use-cases)." +} } - ], - "body": { - "mode": "raw", - "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" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments/:paymentPspReference/amountUpdates", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments", - ":paymentPspReference", - "amountUpdates" - ], - "variable": [ - { - "key": "paymentPspReference", - "value": "", - "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment." - } - ], - "query": [ - ] - }, - "description": "Increases or decreases the authorised payment amount and returns a unique reference for this request. You get the outcome of the request asynchronously, in an [**AUTHORISATION_ADJUSTMENT** webhook](https://docs.adyen.com/development-resources/webhooks/understand-notifications#event-codes). You can only update authorised amounts that have not yet been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/captures). The amount you specify in the request is the updated amount, which is larger or smaller than the initial authorised amount. For more information, refer to [Authorisation adjustment](https://docs.adyen.com/online-payments/adjust-authorisation#use-cases)." - } + ] } ] - } -, + }, { "name": "/payments/:paymentPspReference/cancels", "description": "Cancels the authorisation on a payment that has not yet been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/paymentPspReference/captures), and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CANCELLATION** webhook](https://docs.adyen.com/online-payments/cancel#cancellation-webhook). If you want to cancel a payment but don't have the [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference), use the [`/cancels`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cancels) endpoint instead. If you want to cancel a payment but are not sure whether it has been captured, use the [`/payments/{paymentPspReference}/reversals`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/reversals) endpoint instead. For more information, refer to [Cancel](https://docs.adyen.com/online-payments/cancel).", @@ -138,62 +261,127 @@ { "name": "Cancel payment using a PSP reference", "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 + "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 \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments/:paymentPspReference/cancels", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments", + ":paymentPspReference", + "cancels" + ], + "variable": [ + { + "key": "paymentPspReference", + "value": "", + "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to cancel. " + } + ], + "query": [ + ] + }, + "description": "Cancels the authorisation on a payment that has not yet been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/paymentPspReference/captures), and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CANCELLATION** webhook](https://docs.adyen.com/online-payments/cancel#cancellation-webhook). If you want to cancel a payment but don't have the [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference), use the [`/cancels`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cancels) endpoint instead. If you want to cancel a payment but are not sure whether it has been captured, use the [`/payments/{paymentPspReference}/reversals`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/reversals) endpoint instead. For more information, refer to [Cancel](https://docs.adyen.com/online-payments/cancel)." +} + ,"response": [ + {"name": "Created - the request has been fulfilled and has resulted in one or more new resources being created.", + "code": 201, + "status": "Created", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"merchantAccount\" : \"YOUR_MERCHANT_ACCOUNT\",\n \"paymentPspReference\" : \"993617894903480A\",\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"pspReference\" : \"993617894906488A\",\n \"status\" : \"received\"\n}", + "originalRequest": { + "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 \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments/:paymentPspReference/cancels", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments", + ":paymentPspReference", + "cancels" + ], + "variable": [ + { + "key": "paymentPspReference", + "value": "", + "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to cancel. " + } + ], + "query": [ + ] + }, + "description": "Cancels the authorisation on a payment that has not yet been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/paymentPspReference/captures), and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CANCELLATION** webhook](https://docs.adyen.com/online-payments/cancel#cancellation-webhook). If you want to cancel a payment but don't have the [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference), use the [`/cancels`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cancels) endpoint instead. If you want to cancel a payment but are not sure whether it has been captured, use the [`/payments/{paymentPspReference}/reversals`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/reversals) endpoint instead. For more information, refer to [Cancel](https://docs.adyen.com/online-payments/cancel)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments/:paymentPspReference/cancels", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments", - ":paymentPspReference", - "cancels" - ], - "variable": [ - { - "key": "paymentPspReference", - "value": "", - "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to cancel. " - } - ], - "query": [ - ] - }, - "description": "Cancels the authorisation on a payment that has not yet been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/paymentPspReference/captures), and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CANCELLATION** webhook](https://docs.adyen.com/online-payments/cancel#cancellation-webhook). If you want to cancel a payment but don't have the [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference), use the [`/cancels`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cancels) endpoint instead. If you want to cancel a payment but are not sure whether it has been captured, use the [`/payments/{paymentPspReference}/reversals`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/reversals) endpoint instead. For more information, refer to [Cancel](https://docs.adyen.com/online-payments/cancel)." - } + ] } ] - } -, + }, { "name": "/payments/:paymentPspReference/captures", "description": " Captures an authorised payment and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CAPTURE** webhook](https://docs.adyen.com/online-payments/capture#capture-notification). You can capture either the full authorised amount or a part of the authorised amount. By default, any unclaimed amount after a partial capture gets cancelled. This does not apply if you enabled multiple partial captures on your account and the payment method supports multiple partial captures. [Automatic capture](https://docs.adyen.com/online-payments/capture#automatic-capture) is the default setting for most payment methods. In these cases, you don't need to make capture requests. However, making capture requests for payments that are captured automatically does not result in double charges. For more information, refer to [Capture](https://docs.adyen.com/online-payments/capture).", @@ -201,62 +389,127 @@ { "name": "Capture an authorised payment", "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 + "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 \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"amount\" : {\n \"value\" : 2000,\n \"currency\" : \"EUR\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments/:paymentPspReference/captures", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments", + ":paymentPspReference", + "captures" + ], + "variable": [ + { + "key": "paymentPspReference", + "value": "", + "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to capture." + } + ], + "query": [ + ] + }, + "description": " Captures an authorised payment and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CAPTURE** webhook](https://docs.adyen.com/online-payments/capture#capture-notification). You can capture either the full authorised amount or a part of the authorised amount. By default, any unclaimed amount after a partial capture gets cancelled. This does not apply if you enabled multiple partial captures on your account and the payment method supports multiple partial captures. [Automatic capture](https://docs.adyen.com/online-payments/capture#automatic-capture) is the default setting for most payment methods. In these cases, you don't need to make capture requests. However, making capture requests for payments that are captured automatically does not result in double charges. For more information, refer to [Capture](https://docs.adyen.com/online-payments/capture)." +} + ,"response": [ + {"name": "Created - the request has been fulfilled and has resulted in one or more new resources being created.", + "code": 201, + "status": "Created", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"merchantAccount\" : \"YOUR_MERCHANT_ACCOUNT\",\n \"paymentPspReference\" : \"993617894903480A\",\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"pspReference\" : \"993617894906488A\",\n \"status\" : \"received\",\n \"amount\" : {\n \"value\" : 2000,\n \"currency\" : \"EUR\"\n }\n}", + "originalRequest": { + "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 \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"amount\" : {\n \"value\" : 2000,\n \"currency\" : \"EUR\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments/:paymentPspReference/captures", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments", + ":paymentPspReference", + "captures" + ], + "variable": [ + { + "key": "paymentPspReference", + "value": "", + "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to capture." + } + ], + "query": [ + ] + }, + "description": " Captures an authorised payment and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CAPTURE** webhook](https://docs.adyen.com/online-payments/capture#capture-notification). You can capture either the full authorised amount or a part of the authorised amount. By default, any unclaimed amount after a partial capture gets cancelled. This does not apply if you enabled multiple partial captures on your account and the payment method supports multiple partial captures. [Automatic capture](https://docs.adyen.com/online-payments/capture#automatic-capture) is the default setting for most payment methods. In these cases, you don't need to make capture requests. However, making capture requests for payments that are captured automatically does not result in double charges. For more information, refer to [Capture](https://docs.adyen.com/online-payments/capture)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"amount\" : {\n \"value\" : 2000,\n \"currency\" : \"EUR\"\n }\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments/:paymentPspReference/captures", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments", - ":paymentPspReference", - "captures" - ], - "variable": [ - { - "key": "paymentPspReference", - "value": "", - "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to capture." - } - ], - "query": [ - ] - }, - "description": " Captures an authorised payment and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CAPTURE** webhook](https://docs.adyen.com/online-payments/capture#capture-notification). You can capture either the full authorised amount or a part of the authorised amount. By default, any unclaimed amount after a partial capture gets cancelled. This does not apply if you enabled multiple partial captures on your account and the payment method supports multiple partial captures. [Automatic capture](https://docs.adyen.com/online-payments/capture#automatic-capture) is the default setting for most payment methods. In these cases, you don't need to make capture requests. However, making capture requests for payments that are captured automatically does not result in double charges. For more information, refer to [Capture](https://docs.adyen.com/online-payments/capture)." - } + ] } ] - } -, + }, { "name": "/payments/:paymentPspReference/refunds", "description": "Refunds a payment that has been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/captures), and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**REFUND** webhook](https://docs.adyen.com/online-payments/refund#refund-webhook). You can refund either the full captured amount or a part of the captured amount. You can also perform multiple partial refunds, as long as their sum doesn't exceed the captured amount. > Some payment methods do not support partial refunds. To learn if a payment method supports partial refunds, refer to the payment method page such as [cards](https://docs.adyen.com/payment-methods/cards#supported-cards), [iDEAL](https://docs.adyen.com/payment-methods/ideal), or [Klarna](https://docs.adyen.com/payment-methods/klarna). If you want to refund a payment but are not sure whether it has been captured, use the [`/payments/{paymentPspReference}/reversals`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/reversals) endpoint instead. For more information, refer to [Refund](https://docs.adyen.com/online-payments/refund).", @@ -264,62 +517,127 @@ { "name": "Refund a payment", "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 + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 2500\n },\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments/:paymentPspReference/refunds", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments", + ":paymentPspReference", + "refunds" + ], + "variable": [ + { + "key": "paymentPspReference", + "value": "", + "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to refund." + } + ], + "query": [ + ] + }, + "description": "Refunds a payment that has been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/captures), and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**REFUND** webhook](https://docs.adyen.com/online-payments/refund#refund-webhook). You can refund either the full captured amount or a part of the captured amount. You can also perform multiple partial refunds, as long as their sum doesn't exceed the captured amount. > Some payment methods do not support partial refunds. To learn if a payment method supports partial refunds, refer to the payment method page such as [cards](https://docs.adyen.com/payment-methods/cards#supported-cards), [iDEAL](https://docs.adyen.com/payment-methods/ideal), or [Klarna](https://docs.adyen.com/payment-methods/klarna). If you want to refund a payment but are not sure whether it has been captured, use the [`/payments/{paymentPspReference}/reversals`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/reversals) endpoint instead. For more information, refer to [Refund](https://docs.adyen.com/online-payments/refund)." +} + ,"response": [ + {"name": "Created - the request has been fulfilled and has resulted in one or more new resources being created.", + "code": 201, + "status": "Created", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"merchantAccount\" : \"YOUR_MERCHANT_ACCOUNT\",\n \"paymentPspReference\" : \"993617894903480A\",\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"pspReference\" : \"993617894906488A\",\n \"status\" : \"received\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 2500\n }\n}", + "originalRequest": { + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 2500\n },\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments/:paymentPspReference/refunds", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments", + ":paymentPspReference", + "refunds" + ], + "variable": [ + { + "key": "paymentPspReference", + "value": "", + "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to refund." + } + ], + "query": [ + ] + }, + "description": "Refunds a payment that has been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/captures), and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**REFUND** webhook](https://docs.adyen.com/online-payments/refund#refund-webhook). You can refund either the full captured amount or a part of the captured amount. You can also perform multiple partial refunds, as long as their sum doesn't exceed the captured amount. > Some payment methods do not support partial refunds. To learn if a payment method supports partial refunds, refer to the payment method page such as [cards](https://docs.adyen.com/payment-methods/cards#supported-cards), [iDEAL](https://docs.adyen.com/payment-methods/ideal), or [Klarna](https://docs.adyen.com/payment-methods/klarna). If you want to refund a payment but are not sure whether it has been captured, use the [`/payments/{paymentPspReference}/reversals`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/reversals) endpoint instead. For more information, refer to [Refund](https://docs.adyen.com/online-payments/refund)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 2500\n },\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments/:paymentPspReference/refunds", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments", - ":paymentPspReference", - "refunds" - ], - "variable": [ - { - "key": "paymentPspReference", - "value": "", - "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to refund." - } - ], - "query": [ - ] - }, - "description": "Refunds a payment that has been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/captures), and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**REFUND** webhook](https://docs.adyen.com/online-payments/refund#refund-webhook). You can refund either the full captured amount or a part of the captured amount. You can also perform multiple partial refunds, as long as their sum doesn't exceed the captured amount. > Some payment methods do not support partial refunds. To learn if a payment method supports partial refunds, refer to the payment method page such as [cards](https://docs.adyen.com/payment-methods/cards#supported-cards), [iDEAL](https://docs.adyen.com/payment-methods/ideal), or [Klarna](https://docs.adyen.com/payment-methods/klarna). If you want to refund a payment but are not sure whether it has been captured, use the [`/payments/{paymentPspReference}/reversals`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/reversals) endpoint instead. For more information, refer to [Refund](https://docs.adyen.com/online-payments/refund)." - } + ] } ] - } -, + }, { "name": "/payments/:paymentPspReference/reversals", "description": "[Refunds](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/refunds) a payment if it has already been captured, and [cancels](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/cancels) a payment if it has not yet been captured. Returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CANCEL_OR_REFUND** webhook](https://docs.adyen.com/online-payments/reverse#cancel-or-refund-webhook). The reversed amount is always the full payment amount. > Do not use this request for payments that involve multiple partial captures. For more information, refer to [Reversal](https://docs.adyen.com/online-payments/reversal).", @@ -327,62 +645,127 @@ { "name": "Reverse (cancel or refund) a payment", "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 + "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 \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments/:paymentPspReference/reversals", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments", + ":paymentPspReference", + "reversals" + ], + "variable": [ + { + "key": "paymentPspReference", + "value": "", + "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to reverse. " + } + ], + "query": [ + ] + }, + "description": "[Refunds](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/refunds) a payment if it has already been captured, and [cancels](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/cancels) a payment if it has not yet been captured. Returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CANCEL_OR_REFUND** webhook](https://docs.adyen.com/online-payments/reverse#cancel-or-refund-webhook). The reversed amount is always the full payment amount. > Do not use this request for payments that involve multiple partial captures. For more information, refer to [Reversal](https://docs.adyen.com/online-payments/reversal)." +} + ,"response": [ + {"name": "Created - the request has been fulfilled and has resulted in one or more new resources being created.", + "code": 201, + "status": "Created", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"merchantAccount\" : \"YOUR_MERCHANT_ACCOUNT\",\n \"paymentPspReference\" : \"993617894903480A\",\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"pspReference\" : \"993617894906488A\",\n \"status\" : \"received\"\n}", + "originalRequest": { + "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 \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments/:paymentPspReference/reversals", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments", + ":paymentPspReference", + "reversals" + ], + "variable": [ + { + "key": "paymentPspReference", + "value": "", + "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to reverse. " + } + ], + "query": [ + ] + }, + "description": "[Refunds](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/refunds) a payment if it has already been captured, and [cancels](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/cancels) a payment if it has not yet been captured. Returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CANCEL_OR_REFUND** webhook](https://docs.adyen.com/online-payments/reverse#cancel-or-refund-webhook). The reversed amount is always the full payment amount. > Do not use this request for payments that involve multiple partial captures. For more information, refer to [Reversal](https://docs.adyen.com/online-payments/reversal)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments/:paymentPspReference/reversals", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments", - ":paymentPspReference", - "reversals" - ], - "variable": [ - { - "key": "paymentPspReference", - "value": "", - "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to reverse. " - } - ], - "query": [ - ] - }, - "description": "[Refunds](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/refunds) a payment if it has already been captured, and [cancels](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/cancels) a payment if it has not yet been captured. Returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CANCEL_OR_REFUND** webhook](https://docs.adyen.com/online-payments/reverse#cancel-or-refund-webhook). The reversed amount is always the full payment amount. > Do not use this request for payments that involve multiple partial captures. For more information, refer to [Reversal](https://docs.adyen.com/online-payments/reversal)." - } + ] } ] } - ] }, { @@ -395,251 +778,374 @@ { "name": "Set up a payment session (Android)", "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 17408\n },\n \"reference\" : \"Your order number\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"channel\" : \"Android\",\n \"token\" : \"TOKEN_YOU_GET_FROM_CHECKOUT_SDK\",\n \"returnUrl\" : \"app://\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl_NL\",\n \"sessionValidity\" : \"2017-04-06T13:09:13Z\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentSession", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentSession" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Provides the data object that can be used to start the Checkout SDK. To set up the payment, pass its amount, currency, and other required parameters. We use this to optimise the payment flow and perform better risk assessment of the transaction. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." - } + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 17408\n },\n \"reference\" : \"Your order number\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"channel\" : \"Android\",\n \"token\" : \"TOKEN_YOU_GET_FROM_CHECKOUT_SDK\",\n \"returnUrl\" : \"app://\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl_NL\",\n \"sessionValidity\" : \"2017-04-06T13:09:13Z\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentSession", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentSession" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Provides the data object that can be used to start the Checkout SDK. To set up the payment, pass its amount, currency, and other required parameters. We use this to optimise the payment flow and perform better risk assessment of the transaction. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." +} + ,"response": [ + ] }, { "name": "Set up a payment session with the option to store card details", "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 + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 17408\n },\n \"reference\" : \"Your order number\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"enableOneClick\" : true,\n \"enableRecurring\" : true,\n \"channel\" : \"Web\",\n \"origin\" : \"https://www.yourwebsite.com\",\n \"returnUrl\" : \"https://www.yourshop.com/checkout/result\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl_NL\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"sdkVersion\" : \"1.7.0\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentSession", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentSession" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Provides the data object that can be used to start the Checkout SDK. To set up the payment, pass its amount, currency, and other required parameters. We use this to optimise the payment flow and perform better risk assessment of the transaction. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"paymentSession\" : \"eyJjaGVja291dHNob3BwZXJCYXN...\"\n}", + "originalRequest": { + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 17408\n },\n \"reference\" : \"Your order number\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"enableOneClick\" : true,\n \"enableRecurring\" : true,\n \"channel\" : \"Web\",\n \"origin\" : \"https://www.yourwebsite.com\",\n \"returnUrl\" : \"https://www.yourshop.com/checkout/result\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl_NL\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"sdkVersion\" : \"1.7.0\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentSession", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentSession" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Provides the data object that can be used to start the Checkout SDK. To set up the payment, pass its amount, currency, and other required parameters. We use this to optimise the payment flow and perform better risk assessment of the transaction. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 17408\n },\n \"reference\" : \"Your order number\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"enableOneClick\" : true,\n \"enableRecurring\" : true,\n \"channel\" : \"Web\",\n \"origin\" : \"https://www.yourwebsite.com\",\n \"returnUrl\" : \"https://www.yourshop.com/checkout/result\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl_NL\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"sdkVersion\" : \"1.7.0\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentSession", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentSession" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Provides the data object that can be used to start the Checkout SDK. To set up the payment, pass its amount, currency, and other required parameters. We use this to optimise the payment flow and perform better risk assessment of the transaction. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." - } + ] }, { "name": "Set up a payment session (iOS)", "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 17408\n },\n \"reference\" : \"Your order number\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"channel\" : \"iOS\",\n \"token\" : \"TOKEN_YOU_GET_FROM_CHECKOUT_SDK\",\n \"returnUrl\" : \"app://\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl_NL\",\n \"sessionValidity\" : \"2017-04-06T13:09:13Z\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentSession", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentSession" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Provides the data object that can be used to start the Checkout SDK. To set up the payment, pass its amount, currency, and other required parameters. We use this to optimise the payment flow and perform better risk assessment of the transaction. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." - } + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 17408\n },\n \"reference\" : \"Your order number\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"channel\" : \"iOS\",\n \"token\" : \"TOKEN_YOU_GET_FROM_CHECKOUT_SDK\",\n \"returnUrl\" : \"app://\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl_NL\",\n \"sessionValidity\" : \"2017-04-06T13:09:13Z\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentSession", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentSession" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Provides the data object that can be used to start the Checkout SDK. To set up the payment, pass its amount, currency, and other required parameters. We use this to optimise the payment flow and perform better risk assessment of the transaction. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." +} + ,"response": [ + ] }, { "name": "Split a payment between a sub-merchant and a platform account", "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 6200\n },\n \"additionalData\" : {\n \"split.api\" : \"1\",\n \"split.nrOfItems\" : \"2\",\n \"split.totalAmount\" : \"6200\",\n \"split.currencyCode\" : \"EUR\",\n \"split.item1.amount\" : \"6000\",\n \"split.item1.type\" : \"MarketPlace\",\n \"split.item1.account\" : \"151272963\",\n \"split.item1.reference\" : \"6124145\",\n \"split.item1.description\" : \"Porcelain Doll: Eliza (20cm)\",\n \"split.item2.amount\" : \"200\",\n \"split.item2.type\" : \"Commission\",\n \"split.item2.reference\" : \"6124146\"\n },\n \"reference\" : \"Your order number\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"channel\" : \"Android\",\n \"token\" : \"TOKEN_YOU_GET_FROM_CHECKOUT_SDK\",\n \"returnUrl\" : \"app://\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl_NL\",\n \"sessionValidity\" : \"2017-04-06T13:09:13Z\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentSession", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentSession" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Provides the data object that can be used to start the Checkout SDK. To set up the payment, pass its amount, currency, and other required parameters. We use this to optimise the payment flow and perform better risk assessment of the transaction. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." - } + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 6200\n },\n \"additionalData\" : {\n \"split.api\" : \"1\",\n \"split.nrOfItems\" : \"2\",\n \"split.totalAmount\" : \"6200\",\n \"split.currencyCode\" : \"EUR\",\n \"split.item1.amount\" : \"6000\",\n \"split.item1.type\" : \"MarketPlace\",\n \"split.item1.account\" : \"151272963\",\n \"split.item1.reference\" : \"6124145\",\n \"split.item1.description\" : \"Porcelain Doll: Eliza (20cm)\",\n \"split.item2.amount\" : \"200\",\n \"split.item2.type\" : \"Commission\",\n \"split.item2.reference\" : \"6124146\"\n },\n \"reference\" : \"Your order number\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"channel\" : \"Android\",\n \"token\" : \"TOKEN_YOU_GET_FROM_CHECKOUT_SDK\",\n \"returnUrl\" : \"app://\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl_NL\",\n \"sessionValidity\" : \"2017-04-06T13:09:13Z\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentSession", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentSession" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Provides the data object that can be used to start the Checkout SDK. To set up the payment, pass its amount, currency, and other required parameters. We use this to optimise the payment flow and perform better risk assessment of the transaction. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." +} + ,"response": [ + ] }, { "name": "Set up a payment session (Web)", "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 + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 17408\n },\n \"reference\" : \"Your order number\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"channel\" : \"Web\",\n \"origin\" : \"https://www.yourwebsite.com\",\n \"returnUrl\" : \"https://www.yourshop.com/checkout/result\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl_NL\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"sdkVersion\" : \"1.9.5\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentSession", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentSession" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Provides the data object that can be used to start the Checkout SDK. To set up the payment, pass its amount, currency, and other required parameters. We use this to optimise the payment flow and perform better risk assessment of the transaction. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"paymentSession\" : \"eyJjaGVja291dHNob3BwZXJCYXN...\"\n}", + "originalRequest": { + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 17408\n },\n \"reference\" : \"Your order number\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"channel\" : \"Web\",\n \"origin\" : \"https://www.yourwebsite.com\",\n \"returnUrl\" : \"https://www.yourshop.com/checkout/result\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl_NL\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"sdkVersion\" : \"1.9.5\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentSession", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentSession" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Provides the data object that can be used to start the Checkout SDK. To set up the payment, pass its amount, currency, and other required parameters. We use this to optimise the payment flow and perform better risk assessment of the transaction. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 17408\n },\n \"reference\" : \"Your order number\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"channel\" : \"Web\",\n \"origin\" : \"https://www.yourwebsite.com\",\n \"returnUrl\" : \"https://www.yourshop.com/checkout/result\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl_NL\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"sdkVersion\" : \"1.9.5\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentSession", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentSession" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Provides the data object that can be used to start the Checkout SDK. To set up the payment, pass its amount, currency, and other required parameters. We use this to optimise the payment flow and perform better risk assessment of the transaction. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." - } + ] } ] - } -, + }, { "name": "/payments/result (DEPRECATED)", "description": "Verifies the payment result using the payload returned from the Checkout SDK. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks).", @@ -647,56 +1153,115 @@ { "name": "Verify payment results", "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 + "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 \"payload\" : \"VALUE_YOU_GET_FROM_CHECKOUT_SDK\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments/result", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments", + "result" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Verifies the payment result using the payload returned from the Checkout SDK. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"pspReference\" : \"V4HZ4RBFJGXXGN82\",\n \"merchantReference\" : \"Your order number\",\n \"shopperLocale\" : \"nl_NL\",\n \"paymentMethod\" : \"ideal\"\n}", + "originalRequest": { + "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 \"payload\" : \"VALUE_YOU_GET_FROM_CHECKOUT_SDK\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments/result", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments", + "result" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Verifies the payment result using the payload returned from the Checkout SDK. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"payload\" : \"VALUE_YOU_GET_FROM_CHECKOUT_SDK\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments/result", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments", - "result" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Verifies the payment result using the payload returned from the Checkout SDK. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." - } + ] } ] } - ] }, { @@ -709,55 +1274,113 @@ { "name": "Create an order", "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 + "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 \"reference\" : \"YOUR_ORDER_REFERENCE\",\n \"amount\" : {\n \"value\" : 2500,\n \"currency\" : \"EUR\"\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/orders", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "orders" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates an order to be used for partial payments. Make a POST `/orders` call before making a `/payments` call when processing payments with different payment methods." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"pspReference\" : \"8616178914061985\",\n \"resultCode\" : \"Success\",\n \"expiresAt\" : \"2021-04-09T14:16:46Z\",\n \"orderData\" : \"Ab02b4c0!BQABAgCxXvknCldOcRElkxY8Za7iyym4Wv8aDzyNwmj/3nh4G6YtwnUIJHaK62NlN4oIsACdkn1FEjBwKlheG40jvXcYGBk4KFV5WvOhTVCpv/KXnkrI7xQv/u2lE7U4wA+HPB6K4Zj2L8xO/ogZi+zGZqFs5m16jmkH7ku6FzXygXLNuUCuOlmlXSZhdkHHTNVQSq1MELDK9OL74y532ETRPTCNxx8WlEiZB+LDqYrPvH9GgigtD5kw8Do45jfFfG72kWBEgfYqp4mbUmBB9ebXFYZKfF0qvW1x7A2Y9+/MFlTIdXfKW484bJeDBCTTrmKGXIj+U4r5imr5fXTyNLcrxyUqwrb9jg+5B4qg1XB6Cgj5UPlSI4O62I7v0s5TTj69dzLwUQRxSQbwLrZVGYavXzeVKI54BVLRV3d/+BbPvTqnTo34UhfZbPlOx9F2eyaS0ZXdOKnHw89uGUgxUpLsMqnbRysi/pxpZaulel+0mExb68wVxb/7Teob5eRG4gp7cfZVZs6tLXOYWL+W0TqIlsa3hWsfM0LeaovzkoDtW/pK5JABXwMtLig9tsxoEh9ONYtIzkXC21LZ8ebiuSIMaPizjF8yca+QxrCZalQsu6uKnBz/mm8nnsflaGU2QS5zcoxk1RudL1Bl36LM9UZGPpFEYWiYA4sUsnNLw7peJjWCGhDepnwMv4TlgsEtoDtz1T54AEp7ImtleSI6IkFGMEFBQTEwM0NBNTM3RUFFRDg3QzI0REQ1MzkwOUI4MEE3OEE5MjNFMzgyM0Q2OERBQ0M5NEI5RkY4MzA1REMifRslOdmfgUHTXl66WPD9xoW2whIeRx/jR++2MqNE16x6zQy+KtDN8/h60crZwmqkjVTQYqQlsYSYDHSIyb4wnnay16/5il1yS7vN3UCLaTXjYBIAyyx6Wr9j4P3CI/etB+PpviHoESC4mV6ZN4whMDQyziQ8s230GtboXbh42qND7rk9phySBogowQlXrtF+l2n2F46nyif0owEgik5fGARfvjZtY2w23s30KMLNwU4gWSvX4H6RMVS8TfZH2fKfNrwB3tZUXwYkELs5ntaHysswq5Mn5aq2BKAMHu/Rh/wureMSI73Qi0avjrzWCwzt3JH4wnzErMnOZwSdgA==\",\n \"reference\" : \"shopper-reference-ekvL83\",\n \"remainingAmount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 2500\n },\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 300\n }\n}", + "originalRequest": { + "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 \"reference\" : \"YOUR_ORDER_REFERENCE\",\n \"amount\" : {\n \"value\" : 2500,\n \"currency\" : \"EUR\"\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/orders", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "orders" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates an order to be used for partial payments. Make a POST `/orders` call before making a `/payments` call when processing payments with different payment methods." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"reference\" : \"YOUR_ORDER_REFERENCE\",\n \"amount\" : {\n \"value\" : 2500,\n \"currency\" : \"EUR\"\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/orders", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "orders" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Creates an order to be used for partial payments. Make a POST `/orders` call before making a `/payments` call when processing payments with different payment methods." - } + ] } ] - } -, + }, { "name": "/orders/cancel", "description": "Cancels an order. Cancellation of an order results in an automatic rollback of all payments made in the order, either by canceling or refunding the payment, depending on the type of payment method.", @@ -765,56 +1388,115 @@ { "name": "Cancel an order", "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 + "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 \"order\" : {\n \"pspReference\" : \"8815517812932012\",\n \"orderData\" : \"823fh892f8f18f4...148f13f9f3f\"\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/orders/cancel", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "orders", + "cancel" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Cancels an order. Cancellation of an order results in an automatic rollback of all payments made in the order, either by canceling or refunding the payment, depending on the type of payment method." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"pspReference\" : \"8816178914079738\",\n \"resultCode\" : \"Received\"\n}", + "originalRequest": { + "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 \"order\" : {\n \"pspReference\" : \"8815517812932012\",\n \"orderData\" : \"823fh892f8f18f4...148f13f9f3f\"\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/orders/cancel", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "orders", + "cancel" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Cancels an order. Cancellation of an order results in an automatic rollback of all payments made in the order, either by canceling or refunding the payment, depending on the type of payment method." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"order\" : {\n \"pspReference\" : \"8815517812932012\",\n \"orderData\" : \"823fh892f8f18f4...148f13f9f3f\"\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/orders/cancel", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "orders", - "cancel" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Cancels an order. Cancellation of an order results in an automatic rollback of all payments made in the order, either by canceling or refunding the payment, depending on the type of payment method." - } + ] } ] - } -, + }, { "name": "/paymentMethods/balance", "description": "Retrieves the balance remaining on a shopper's gift card. To check a gift card's balance, make a POST `/paymentMethods/balance` call and include the gift card's details inside a `paymentMethod` object.", @@ -822,106 +1504,225 @@ { "name": "Get gift card balance specifying amount of 10 EUR", "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 + "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 \"paymentMethod\" : {\n \"type\" : \"givex\",\n \"number\" : \"4126491073027401\",\n \"cvc\" : \"737\"\n },\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentMethods/balance", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentMethods", + "balance" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Retrieves the balance remaining on a shopper's gift card. To check a gift card's balance, make a POST `/paymentMethods/balance` call and include the gift card's details inside a `paymentMethod` object." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"pspReference\" : \"KHQC5N7G84BLNK43\",\n \"resultCode\" : \"Success\",\n \"balance\" : {\n \"currency\" : \"EUR\",\n \"value\" : 5000\n }\n}", + "originalRequest": { + "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 \"paymentMethod\" : {\n \"type\" : \"givex\",\n \"number\" : \"4126491073027401\",\n \"cvc\" : \"737\"\n },\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentMethods/balance", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentMethods", + "balance" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Retrieves the balance remaining on a shopper's gift card. To check a gift card's balance, make a POST `/paymentMethods/balance` call and include the gift card's details inside a `paymentMethod` object." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"paymentMethod\" : {\n \"type\" : \"givex\",\n \"number\" : \"4126491073027401\",\n \"cvc\" : \"737\"\n },\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentMethods/balance", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentMethods", - "balance" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Retrieves the balance remaining on a shopper's gift card. To check a gift card's balance, make a POST `/paymentMethods/balance` call and include the gift card's details inside a `paymentMethod` object." - } + ] }, { "name": "Get gift card balance specifying amount of 100 EUR", "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 + "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 \"paymentMethod\" : {\n \"type\" : \"givex\",\n \"number\" : \"4126491073027401\",\n \"cvc\" : \"737\"\n },\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 10000\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentMethods/balance", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentMethods", + "balance" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Retrieves the balance remaining on a shopper's gift card. To check a gift card's balance, make a POST `/paymentMethods/balance` call and include the gift card's details inside a `paymentMethod` object." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"pspReference\" : \"FKSPNCQ8HXSKGK82\",\n \"resultCode\" : \"NotEnoughBalance\",\n \"balance\" : {\n \"currency\" : \"EUR\",\n \"value\" : 5000\n }\n}", + "originalRequest": { + "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 \"paymentMethod\" : {\n \"type\" : \"givex\",\n \"number\" : \"4126491073027401\",\n \"cvc\" : \"737\"\n },\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 10000\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentMethods/balance", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentMethods", + "balance" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Retrieves the balance remaining on a shopper's gift card. To check a gift card's balance, make a POST `/paymentMethods/balance` call and include the gift card's details inside a `paymentMethod` object." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"paymentMethod\" : {\n \"type\" : \"givex\",\n \"number\" : \"4126491073027401\",\n \"cvc\" : \"737\"\n },\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 10000\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentMethods/balance", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentMethods", - "balance" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Retrieves the balance remaining on a shopper's gift card. To check a gift card's balance, make a POST `/paymentMethods/balance` call and include the gift card's details inside a `paymentMethod` object." - } + ] } ] } - ] }, { @@ -934,56 +1735,115 @@ { "name": "Get payment session for Apple Pay", "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 + "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 \"displayName\" : \"YOUR_MERCHANT_NAME\",\n \"domainName\" : \"YOUR_DOMAIN_NAME\",\n \"merchantIdentifier\" : \"YOUR_MERCHANT_ID\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/applePay/sessions", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "applePay", + "sessions" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "You need to use this endpoint if you have an API-only integration with Apple Pay which uses Adyen's Apple Pay certificate. The endpoint returns the Apple Pay session data which you need to complete the [Apple Pay session validation](https://docs.adyen.com/payment-methods/apple-pay/api-only?tab=adyen-certificate-validation_1#complete-apple-pay-session-validation)." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"data\" : \"eyJ2Z...\"\n}", + "originalRequest": { + "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 \"displayName\" : \"YOUR_MERCHANT_NAME\",\n \"domainName\" : \"YOUR_DOMAIN_NAME\",\n \"merchantIdentifier\" : \"YOUR_MERCHANT_ID\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/applePay/sessions", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "applePay", + "sessions" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "You need to use this endpoint if you have an API-only integration with Apple Pay which uses Adyen's Apple Pay certificate. The endpoint returns the Apple Pay session data which you need to complete the [Apple Pay session validation](https://docs.adyen.com/payment-methods/apple-pay/api-only?tab=adyen-certificate-validation_1#complete-apple-pay-session-validation)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"displayName\" : \"YOUR_MERCHANT_NAME\",\n \"domainName\" : \"YOUR_DOMAIN_NAME\",\n \"merchantIdentifier\" : \"YOUR_MERCHANT_ID\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/applePay/sessions", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "applePay", - "sessions" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "You need to use this endpoint if you have an API-only integration with Apple Pay which uses Adyen's Apple Pay certificate. The endpoint returns the Apple Pay session data which you need to complete the [Apple Pay session validation](https://docs.adyen.com/payment-methods/apple-pay/api-only?tab=adyen-certificate-validation_1#complete-apple-pay-session-validation)." - } + ] } ] - } -, + }, { "name": "/originKeys (DEPRECATED)", "description": "This operation takes the origin domains and returns a JSON object containing the corresponding origin keys for the domains. > If you're still using origin key for your Web Drop-in or Components integration, we recommend [switching to client key](https://docs.adyen.com/development-resources/client-side-authentication/migrate-from-origin-key-to-client-key). This allows you to use a single key for all origins, add or remove origins without generating a new key, and detect the card type from the number entered in your payment form. ", @@ -991,55 +1851,113 @@ { "name": "Get origin keys", "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 + "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 \"originDomains\" : [ \"https://www.your-domain1.com\", \"https://www.your-domain2.com\", \"https://www.your-domain3.com\" ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/originKeys", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "originKeys" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "This operation takes the origin domains and returns a JSON object containing the corresponding origin keys for the domains. > If you're still using origin key for your Web Drop-in or Components integration, we recommend [switching to client key](https://docs.adyen.com/development-resources/client-side-authentication/migrate-from-origin-key-to-client-key). This allows you to use a single key for all origins, add or remove origins without generating a new key, and detect the card type from the number entered in your payment form. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"originKeys\" : {\n \"https://www.your-domain1.com\" : \"pub.v2.8116178901076090.aHR0cHM6Ly93d3cueW91ci1kb21haW4xLmNvbQ.pvbYlrXz0ICP4kwMJXDGDLVMqALhwXr1MSRjT-fkhvw\",\n \"https://www.your-domain3.com\" : \"pub.v2.8116178901076090.aHR0cHM6Ly93d3cueW91ci1kb21haW4zLmNvbQ.FrTpVz7_RzAywKasM0kXCRoMfoMkKIKaxjFymRGORIc\",\n \"https://www.your-domain2.com\" : \"pub.v2.8116178901076090.aHR0cHM6Ly93d3cueW91ci1kb21haW4yLmNvbQ.LdN9kvJ35fYFFiBSJA4idMnwwxJ5_yXpeNS__Ap5wkg\"\n }\n}", + "originalRequest": { + "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 \"originDomains\" : [ \"https://www.your-domain1.com\", \"https://www.your-domain2.com\", \"https://www.your-domain3.com\" ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/originKeys", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "originKeys" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "This operation takes the origin domains and returns a JSON object containing the corresponding origin keys for the domains. > If you're still using origin key for your Web Drop-in or Components integration, we recommend [switching to client key](https://docs.adyen.com/development-resources/client-side-authentication/migrate-from-origin-key-to-client-key). This allows you to use a single key for all origins, add or remove origins without generating a new key, and detect the card type from the number entered in your payment form. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"originDomains\" : [ \"https://www.your-domain1.com\", \"https://www.your-domain2.com\", \"https://www.your-domain3.com\" ]\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/originKeys", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "originKeys" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "This operation takes the origin domains and returns a JSON object containing the corresponding origin keys for the domains. > If you're still using origin key for your Web Drop-in or Components integration, we recommend [switching to client key](https://docs.adyen.com/development-resources/client-side-authentication/migrate-from-origin-key-to-client-key). This allows you to use a single key for all origins, add or remove origins without generating a new key, and detect the card type from the number entered in your payment form. " - } + ] } ] } - ] }, { @@ -1052,104 +1970,164 @@ { "name": "Start a donation transaction", "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 + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"reference\" : \"YOUR_DONATION_REFERENCE\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\"\n },\n \"donationToken\" : \"YOUR_DONATION_TOKEN\",\n \"donationOriginalPspReference\" : \"991559660454807J\",\n \"donationAccount\" : \"CHARITY_ACCOUNT\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"shopperInteraction\" : \"ContAuth\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/donations", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "donations" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Takes in the donation token generated by the `/payments` request and uses it to make the donation for the donation account specified in the request. For more information, see [Donations](https://docs.adyen.com/online-payments/donations)." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"id\" : \"UNIQUE_RESOURCE_ID\",\n \"status\" : \"completed\",\n \"donationAccount\" : \"CHARITY_ACCOUNT\",\n \"merchantAccount\" : \"YOUR_MERCHANT_ACCOUNT\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"reference\" : \"YOUR_DONATION_REFERENCE\",\n \"payment\" : {\n \"pspReference\" : \"8535762347980628\",\n \"resultCode\" : \"Authorised\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"merchantReference\" : \"YOUR_DONATION_REFERENCE\"\n }\n}", + "originalRequest": { + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"reference\" : \"YOUR_DONATION_REFERENCE\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\"\n },\n \"donationToken\" : \"YOUR_DONATION_TOKEN\",\n \"donationOriginalPspReference\" : \"991559660454807J\",\n \"donationAccount\" : \"CHARITY_ACCOUNT\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"shopperInteraction\" : \"ContAuth\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/donations", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "donations" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Takes in the donation token generated by the `/payments` request and uses it to make the donation for the donation account specified in the request. For more information, see [Donations](https://docs.adyen.com/online-payments/donations)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"reference\" : \"YOUR_DONATION_REFERENCE\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\"\n },\n \"donationToken\" : \"YOUR_DONATION_TOKEN\",\n \"donationOriginalPspReference\" : \"991559660454807J\",\n \"donationAccount\" : \"CHARITY_ACCOUNT\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"shopperInteraction\" : \"ContAuth\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/donations", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "donations" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Takes in the donation token generated by the `/payments` request and uses it to make the donation for the donation account specified in the request. For more information, see [Donations](https://docs.adyen.com/online-payments/donations)." - } + ] }, { "name": "Start a donation transaction with a token", "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"reference\" : \"YOUR_DONATION_REFERENCE\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"recurringDetailReference\" : \"7219687191761347\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"donationAccount\" : \"CHARITY_ACCOUNT\",\n \"shopperInteraction\" : \"ContAuth\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"recurringProcessingModel\" : \"CardOnFile\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/donations", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "donations" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Takes in the donation token generated by the `/payments` request and uses it to make the donation for the donation account specified in the request. For more information, see [Donations](https://docs.adyen.com/online-payments/donations)." - } + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"reference\" : \"YOUR_DONATION_REFERENCE\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"recurringDetailReference\" : \"7219687191761347\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"donationAccount\" : \"CHARITY_ACCOUNT\",\n \"shopperInteraction\" : \"ContAuth\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"recurringProcessingModel\" : \"CardOnFile\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/donations", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "donations" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Takes in the donation token generated by the `/payments` request and uses it to make the donation for the donation account specified in the request. For more information, see [Donations](https://docs.adyen.com/online-payments/donations)." +} + ,"response": [ + ] } ] } - ] }, { @@ -1162,104 +2140,221 @@ { "name": "Get a list of brands on a card", "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 + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"cardNumber\" : \"411111\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/cardDetails", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "cardDetails" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Send a request with at least the first 6 digits of the card number to get a response with an array of brands on the card. If you include [your supported brands](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__reqParam_supportedBrands) in the request, the response also tells you if you support each [brand that was identified](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__resParam_details). If you have an API-only integration and collect card data, use this endpoint to find out if the shopper's card is co-branded. For co-branded cards, you must let the shopper choose the brand to pay with if you support both brands. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"brands\" : [ {\n \"type\" : \"visa\",\n \"supported\" : true\n }, {\n \"type\" : \"cartebancaire\",\n \"supported\" : true\n } ]\n}", + "originalRequest": { + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"cardNumber\" : \"411111\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/cardDetails", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "cardDetails" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Send a request with at least the first 6 digits of the card number to get a response with an array of brands on the card. If you include [your supported brands](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__reqParam_supportedBrands) in the request, the response also tells you if you support each [brand that was identified](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__resParam_details). If you have an API-only integration and collect card data, use this endpoint to find out if the shopper's card is co-branded. For co-branded cards, you must let the shopper choose the brand to pay with if you support both brands. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"cardNumber\" : \"411111\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/cardDetails", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "cardDetails" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Send a request with at least the first 6 digits of the card number to get a response with an array of brands on the card. If you include [your supported brands](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__reqParam_supportedBrands) in the request, the response also tells you if you support each [brand that was identified](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__resParam_details). If you have an API-only integration and collect card data, use this endpoint to find out if the shopper's card is co-branded. For co-branded cards, you must let the shopper choose the brand to pay with if you support both brands. " - } + ] }, { "name": "Get a list of brands on a card specifying your supported card brands", "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 + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"cardNumber\" : \"411111\",\n \"supportedBrands\" : [ \"visa\", \"mc\", \"amex\" ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/cardDetails", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "cardDetails" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Send a request with at least the first 6 digits of the card number to get a response with an array of brands on the card. If you include [your supported brands](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__reqParam_supportedBrands) in the request, the response also tells you if you support each [brand that was identified](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__resParam_details). If you have an API-only integration and collect card data, use this endpoint to find out if the shopper's card is co-branded. For co-branded cards, you must let the shopper choose the brand to pay with if you support both brands. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"brands\" : [ {\n \"type\" : \"visa\",\n \"supported\" : true\n }, {\n \"type\" : \"cartebancaire\",\n \"supported\" : false\n } ]\n}", + "originalRequest": { + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"cardNumber\" : \"411111\",\n \"supportedBrands\" : [ \"visa\", \"mc\", \"amex\" ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/cardDetails", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "cardDetails" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Send a request with at least the first 6 digits of the card number to get a response with an array of brands on the card. If you include [your supported brands](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__reqParam_supportedBrands) in the request, the response also tells you if you support each [brand that was identified](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__resParam_details). If you have an API-only integration and collect card data, use this endpoint to find out if the shopper's card is co-branded. For co-branded cards, you must let the shopper choose the brand to pay with if you support both brands. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"cardNumber\" : \"411111\",\n \"supportedBrands\" : [ \"visa\", \"mc\", \"amex\" ]\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/cardDetails", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "cardDetails" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Send a request with at least the first 6 digits of the card number to get a response with an array of brands on the card. If you include [your supported brands](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__reqParam_supportedBrands) in the request, the response also tells you if you support each [brand that was identified](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__resParam_details). If you have an API-only integration and collect card data, use this endpoint to find out if the shopper's card is co-branded. For co-branded cards, you must let the shopper choose the brand to pay with if you support both brands. " - } + ] } ] - } -, + }, { "name": "/paymentMethods", "description": "Queries the available payment methods for a transaction based on the transaction context (like amount, country, and currency). Besides giving back a list of the available payment methods, the response also returns which input details you need to collect from the shopper (to be submitted to `/payments`). Although we highly recommend using this endpoint to ensure you are always offering the most up-to-date list of payment methods, its usage is optional. You can, for example, also cache the `/paymentMethods` response and update it once a week.", @@ -1267,153 +2362,329 @@ { "name": "Get available payment methods", "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 + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentMethods", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentMethods" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Queries the available payment methods for a transaction based on the transaction context (like amount, country, and currency). Besides giving back a list of the available payment methods, the response also returns which input details you need to collect from the shopper (to be submitted to `/payments`). Although we highly recommend using this endpoint to ensure you are always offering the most up-to-date list of payment methods, its usage is optional. You can, for example, also cache the `/paymentMethods` response and update it once a week." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"paymentMethods\" : [ {\n \"name\" : \"ACH Direct Debit\",\n \"type\" : \"ach\"\n }, {\n \"name\" : \"Adyen Voucher\",\n \"type\" : \"adyen_test_voucher\"\n }, {\n \"name\" : \"AfterPay Invoice\",\n \"type\" : \"afterpay_default\"\n }, {\n \"name\" : \"AfterPay DirectDebit\",\n \"type\" : \"afterpay_directdebit\"\n }, {\n \"name\" : \"Afterpay\",\n \"type\" : \"afterpaytouch\"\n }, {\n \"name\" : \"Credit Card\",\n \"type\" : \"scheme\"\n }, {\n \"name\" : \"AliPay\",\n \"type\" : \"alipay\"\n }, {\n \"name\" : \"AliPay HK\",\n \"type\" : \"alipay_hk\"\n }, {\n \"name\" : \"AliPay\",\n \"type\" : \"alipay_wap\"\n }, {\n \"name\" : \"Android Pay\",\n \"type\" : \"androidpay\"\n }, {\n \"name\" : \"Apple Pay\",\n \"type\" : \"applepay\"\n }, {\n \"name\" : \"Credit Card via AsiaPay\",\n \"type\" : \"asiapay\"\n }, {\n \"name\" : \"China UnionPay\",\n \"type\" : \"asiapay_unionpay\"\n }, {\n \"name\" : \"Baby Gift Card\",\n \"type\" : \"babygiftcard\"\n }, {\n \"name\" : \"Baloto\",\n \"type\" : \"baloto\"\n }, {\n \"name\" : \"BancNet\",\n \"type\" : \"bancnet\"\n }, {\n \"name\" : \"Bank Transfer (BG)\",\n \"type\" : \"bankTransfer_BG\"\n }, {\n \"name\" : \"Bank Transfer (CH)\",\n \"type\" : \"bankTransfer_CH\"\n }, {\n \"name\" : \"Bank Transfer (DE)\",\n \"type\" : \"bankTransfer_DE\"\n }, {\n \"name\" : \"Bank Transfer (FI)\",\n \"type\" : \"bankTransfer_FI\"\n }, {\n \"name\" : \"Bank Transfer (GB)\",\n \"type\" : \"bankTransfer_GB\"\n }, {\n \"name\" : \"Bank Transfer (HU)\",\n \"type\" : \"bankTransfer_HU\"\n }, {\n \"name\" : \"SEPA Bank Transfer\",\n \"type\" : \"bankTransfer_IBAN\"\n }, {\n \"name\" : \"Bank Transfer (IE)\",\n \"type\" : \"bankTransfer_IE\"\n }, {\n \"name\" : \"Electronic Bank Transfer (MX)\",\n \"type\" : \"bankTransfer_MX_linked\"\n }, {\n \"name\" : \"Bank Transfer (MX)\",\n \"type\" : \"bankTransfer_MX_offline\"\n }, {\n \"name\" : \"Bank Transfer (NL)\",\n \"type\" : \"bankTransfer_NL\"\n }, {\n \"name\" : \"Bank Transfer (PL)\",\n \"type\" : \"bankTransfer_PL\"\n }, {\n \"name\" : \"Bank Transfer (SE)\",\n \"type\" : \"bankTransfer_SE\"\n }, {\n \"name\" : \"Bank Transfer (US)\",\n \"type\" : \"bankTransfer_US\"\n }, {\n \"name\" : \"Payconiq by Bancontact\",\n \"type\" : \"bcmc_mobile\"\n }, {\n \"name\" : \"Bijenkorf Cadeaucard\",\n \"type\" : \"bijcadeaucard\"\n }, {\n \"name\" : \"99Bill\",\n \"type\" : \"bill99\"\n }, {\n \"name\" : \"Online Banking India\",\n \"type\" : \"billdesk_online\"\n }, {\n \"name\" : \"UPI\",\n \"type\" : \"billdesk_upi\"\n }, {\n \"name\" : \"Wallets India\",\n \"type\" : \"billdesk_wallet\"\n }, {\n \"name\" : \"Blik\",\n \"type\" : \"blik\"\n }, {\n \"name\" : \"Bloemen Giftcard\",\n \"type\" : \"bloemengiftcard\"\n }, {\n \"name\" : \"Boekenbon Giftcard\",\n \"type\" : \"boekenbon\"\n }, {\n \"name\" : \"Boleto\",\n \"type\" : \"boleto\"\n }, {\n \"name\" : \"Boleto Bancario\",\n \"type\" : \"boletobancario_santander\"\n }, {\n \"name\" : \"Bradesco\",\n \"type\" : \"bradesco\"\n }, {\n \"name\" : \"Cash-Ticket\",\n \"type\" : \"cashticket\"\n }, {\n \"name\" : \"CashU\",\n \"type\" : \"cashu\"\n }, {\n \"name\" : \"CCAvenue\",\n \"type\" : \"ccavenue\"\n }, {\n \"name\" : \"Mula Checkout\",\n \"type\" : \"cellulant\"\n }, {\n \"name\" : \"Chasin Giftcard\",\n \"type\" : \"chasingiftcard\"\n }, {\n \"name\" : \"Clearpay\",\n \"type\" : \"clearpay\"\n }, {\n \"name\" : \"ClickandBuy\",\n \"type\" : \"clickandbuy\"\n }, {\n \"name\" : \"Paiement en 3 fois par Cartes Bancaires\",\n \"type\" : \"cofinoga_3xcb\"\n }, {\n \"name\" : \"Costes Giftcard\",\n \"type\" : \"costesgiftcard\"\n }, {\n \"name\" : \"custom_settlement\",\n \"type\" : \"custom_settlement\"\n }, {\n \"name\" : \"DANA\",\n \"type\" : \"dana\"\n }, {\n \"name\" : \"DineroMail\",\n \"type\" : \"dineromail\"\n }, {\n \"name\" : \"Online bank transfer.\",\n \"type\" : \"directEbanking\"\n }, {\n \"name\" : \"Direct Debit Brazil - Banco do Brazil\",\n \"type\" : \"directdebit_BR_bancodobrasil\"\n }, {\n \"name\" : \"Direct Debit Brazil - Bradesco\",\n \"type\" : \"directdebit_BR_bradesco\"\n }, {\n \"name\" : \"Direct Debit Brazil - Caixa Economica Federal\",\n \"type\" : \"directdebit_BR_caixa\"\n }, {\n \"name\" : \"Direct Debit Brazil - HSBC\",\n \"type\" : \"directdebit_BR_hsbc\"\n }, {\n \"name\" : \"Direct Debit Brazil - Itau\",\n \"type\" : \"directdebit_BR_itau\"\n }, {\n \"name\" : \"Direct Debit Brazil - Santander\",\n \"type\" : \"directdebit_BR_santander\"\n }, {\n \"name\" : \"BACS Direct Debit\",\n \"type\" : \"directdebit_GB\"\n }, {\n \"name\" : \"Alfamart\",\n \"type\" : \"doku_alfamart\"\n }, {\n \"name\" : \"BCA Bank Transfer\",\n \"type\" : \"doku_bca_va\"\n }, {\n \"name\" : \"BNI VA\",\n \"type\" : \"doku_bni_va\"\n }, {\n \"name\" : \"BRI VA\",\n \"type\" : \"doku_bri_va\"\n }, {\n \"name\" : \"CIMB VA\",\n \"type\" : \"doku_cimb_va\"\n }, {\n \"name\" : \"Danamon VA\",\n \"type\" : \"doku_danamon_va\"\n }, {\n \"name\" : \"Indomaret\",\n \"type\" : \"doku_indomaret\"\n }, {\n \"name\" : \"Mandiri VA\",\n \"type\" : \"doku_mandiri_va\"\n }, {\n \"name\" : \"OVO\",\n \"type\" : \"doku_ovo\"\n }, {\n \"name\" : \"Bank Transfer\",\n \"type\" : \"doku_permata_lite_atm\"\n }, {\n \"name\" : \"DOKU wallet\",\n \"type\" : \"doku_wallet\"\n }, {\n \"name\" : \"Local Polish Payment Methods\",\n \"type\" : \"dotpay\"\n }, {\n \"name\" : \"Dragonpay Prepaid Credits\",\n \"type\" : \"dragonpay_credits\"\n }, {\n \"name\" : \"Online Banking\",\n \"type\" : \"dragonpay_ebanking\"\n }, {\n \"name\" : \"GCash\",\n \"type\" : \"dragonpay_gcash\"\n }, {\n \"name\" : \"Over The Counter Banks\",\n \"type\" : \"dragonpay_otc_banking\"\n }, {\n \"name\" : \"OTC non-Bank via Dragonpay\",\n \"type\" : \"dragonpay_otc_non_banking\"\n }, {\n \"name\" : \"Convenience Stores\",\n \"type\" : \"dragonpay_otc_philippines\"\n }, {\n \"name\" : \"7/11\",\n \"type\" : \"dragonpay_seveneleven\"\n }, {\n \"name\" : \"eagleeye_voucher\",\n \"type\" : \"eagleeye_voucher\"\n }, {\n \"name\" : \"Finnish E-Banking\",\n \"type\" : \"ebanking_FI\"\n }, {\n \"name\" : \"Pay-easy ATM\",\n \"type\" : \"econtext_atm\"\n }, {\n \"name\" : \"Online Banking\",\n \"type\" : \"econtext_online\"\n }, {\n \"name\" : \"7-Eleven\",\n \"type\" : \"econtext_seven_eleven\"\n }, {\n \"name\" : \"Convenience Stores\",\n \"type\" : \"econtext_stores\"\n }, {\n \"name\" : \"eft_directdebit_CA\",\n \"type\" : \"eft_directdebit_CA\"\n }, {\n \"name\" : \"Lastschrift (ELV)\",\n \"type\" : \"elv\"\n }, {\n \"name\" : \"Bank Payment\",\n \"type\" : \"entercash\"\n }, {\n \"name\" : \"Nationale Entertainment Card\",\n \"type\" : \"entertainmentcard\"\n }, {\n \"name\" : \"EPS\",\n \"type\" : \"eps\"\n }, {\n \"name\" : \"Expert Cadeaukaart\",\n \"type\" : \"expertgiftcard\"\n }, {\n \"name\" : \"3x Oney\",\n \"type\" : \"facilypay_3x\"\n }, {\n \"name\" : \"4x Oney\",\n \"type\" : \"facilypay_4x\"\n }, {\n \"name\" : \"Fashioncheque\",\n \"type\" : \"fashioncheque\"\n }, {\n \"name\" : \"Fawry\",\n \"type\" : \"fawry\"\n }, {\n \"name\" : \"FijnCadeau\",\n \"type\" : \"fijncadeau\"\n }, {\n \"name\" : \"Fleurop Bloemenbon\",\n \"type\" : \"fleuropbloemenbon\"\n }, {\n \"name\" : \"Fonq Giftcard\",\n \"type\" : \"fonqgiftcard\"\n }, {\n \"name\" : \"Gall & Gall\",\n \"type\" : \"gallgall\"\n }, {\n \"name\" : \"GCash\",\n \"type\" : \"gcash\"\n }, {\n \"name\" : \"Generic GiftCard\",\n \"type\" : \"genericgiftcard\"\n }, {\n \"name\" : \"GiftFor2\",\n \"type\" : \"giftfor2card\"\n }, {\n \"name\" : \"Givex\",\n \"type\" : \"givex\"\n }, {\n \"name\" : \"Globe GCash\",\n \"type\" : \"globegcash\"\n }, {\n \"name\" : \"Goldsmiths Card\",\n \"type\" : \"goldsmithscard\"\n }, {\n \"name\" : \"GoPay Wallet\",\n \"type\" : \"gopay_wallet\"\n }, {\n \"name\" : \"OVO\",\n \"type\" : \"grabpay_ID\"\n }, {\n \"name\" : \"GrabPay\",\n \"type\" : \"grabpay_PH\"\n }, {\n \"name\" : \"GrabPay\",\n \"type\" : \"grabpay_SG\"\n }, {\n \"name\" : \"Hallmark Card\",\n \"type\" : \"hallmarkcard\"\n }, {\n \"name\" : \"HDFC\",\n \"type\" : \"hdfc\"\n }, {\n \"name\" : \"Hunkemoller Member Card\",\n \"type\" : \"hmclub\"\n }, {\n \"name\" : \"Hunkemoller Lingerie Card\",\n \"type\" : \"hmlingerie\"\n }, {\n \"name\" : \"iDEAL\",\n \"type\" : \"ideal\"\n }, {\n \"name\" : \"igive\",\n \"type\" : \"igive\"\n }, {\n \"name\" : \"Korean Account Transfer (IniPay)\",\n \"type\" : \"inicisIniPay_accounttransfer\"\n }, {\n \"name\" : \"Korean Credit Cards (IniPay)\",\n \"type\" : \"inicisIniPay_creditcard\"\n }, {\n \"name\" : \"Korean Mobile Phone (IniPay)\",\n \"type\" : \"inicisIniPay_mobilephone\"\n }, {\n \"name\" : \"Korean Virtual Account (IniPay)\",\n \"type\" : \"inicisIniPay_virtualaccount\"\n }, {\n \"name\" : \"Korean Account Transfer (Mobile)\",\n \"type\" : \"inicisMobile_accounttransfer\"\n }, {\n \"name\" : \"Korean Credit Cards (Mobile)\",\n \"type\" : \"inicisMobile_creditcard\"\n }, {\n \"name\" : \"Korean Mobile Phone (Mobile)\",\n \"type\" : \"inicisMobile_mobilephone\"\n }, {\n \"name\" : \"Korean Virtual Account (Mobile)\",\n \"type\" : \"inicisMobile_virtualaccount\"\n }, {\n \"name\" : \"Korean Credit Cards\",\n \"type\" : \"inicis_creditcard\"\n }, {\n \"name\" : \"Interac® Online\",\n \"type\" : \"interac\"\n }, {\n \"name\" : \"Instant EFT\",\n \"type\" : \"ipay\"\n }, {\n \"name\" : \"iPay88\",\n \"type\" : \"ipay88\"\n }, {\n \"name\" : \"isracard\",\n \"type\" : \"isracard\"\n }, {\n \"name\" : \"Phone Payment\",\n \"type\" : \"ivr\"\n }, {\n \"name\" : \"Landline phone\",\n \"type\" : \"ivrLandline\"\n }, {\n \"name\" : \"Mobile phone\",\n \"type\" : \"ivrMobile\"\n }, {\n \"name\" : \"Kado Wereld\",\n \"type\" : \"kadowereld\"\n }, {\n \"name\" : \"KakaoPay\",\n \"type\" : \"kakaopay\"\n }, {\n \"name\" : \"Karen Millen Card\",\n \"type\" : \"karenmillen\"\n }, {\n \"name\" : \"Karen Millen GiftCard\",\n \"type\" : \"karenmillengiftcard\"\n }, {\n \"name\" : \"Bank Transfer\",\n \"type\" : \"kcp_banktransfer\"\n }, {\n \"name\" : \"Korea–issued cards\",\n \"type\" : \"kcp_creditcard\"\n }, {\n \"name\" : \"PayCo\",\n \"type\" : \"kcp_payco\"\n }, {\n \"name\" : \"Naver Pay\",\n \"type\" : \"kcp_naverpay\"\n }, {\n \"name\" : \"Virtual Account via KCP\",\n \"type\" : \"kcp_va\"\n }, {\n \"name\" : \"Pay later with Klarna.\",\n \"type\" : \"klarna\"\n }, {\n \"name\" : \"Pay over time with Klarna.\",\n \"type\" : \"klarna_account\"\n }, {\n \"name\" : \"Buy Now, Pay Later with Billie\",\n \"type\" : \"klarna_b2b\"\n }, {\n \"name\" : \"Pay now with Klarna.\",\n \"type\" : \"klarna_paynow\"\n }, {\n \"name\" : \"Leisure Card\",\n \"type\" : \"leisurecard\"\n }, {\n \"name\" : \"China Credit Card\",\n \"type\" : \"lianlianpay_creditcard\"\n }, {\n \"name\" : \"China Debit Card\",\n \"type\" : \"lianlianpay_debitcard\"\n }, {\n \"name\" : \"China Online Banking - Credit Card\",\n \"type\" : \"lianlianpay_ebanking_credit\"\n }, {\n \"name\" : \"China Online Banking - Debit Card\",\n \"type\" : \"lianlianpay_ebanking_debit\"\n }, {\n \"name\" : \"China Online Banking - Enterprise\",\n \"type\" : \"lianlianpay_ebanking_enterprise\"\n }, {\n \"name\" : \"Loods5 Cadeaukaart\",\n \"type\" : \"loods5giftcard\"\n }, {\n \"name\" : \"Loods5 Tegoedbon\",\n \"type\" : \"loods5prepaidcard\"\n }, {\n \"name\" : \"Love2Shop GiftCard\",\n \"type\" : \"love2shop\"\n }, {\n \"name\" : \"mada\",\n \"type\" : \"mada\"\n }, {\n \"name\" : \"Mappin & Webb Card\",\n \"type\" : \"mappinwebbcard\"\n }, {\n \"name\" : \"MB WAY\",\n \"type\" : \"mbway\"\n }, {\n \"name\" : \"Amazon Pay\",\n \"supportsRecurring\" : true,\n \"type\" : \"amazonpay\"\n }, {\n \"name\" : \"Mercado Pago\",\n \"type\" : \"mercadopago\"\n }, {\n \"name\" : \"MobilePay\",\n \"type\" : \"mobilepay\"\n }, {\n \"name\" : \"AliPay via Razer Merchant Services\",\n \"type\" : \"molpay_alipay\"\n }, {\n \"name\" : \"7-Eleven\",\n \"type\" : \"molpay_cash\"\n }, {\n \"name\" : \"CIMB Virtual Account\",\n \"type\" : \"molpay_cimb_va\"\n }, {\n \"name\" : \"Malaysia E-Banking via Razer Merchant Services\",\n \"type\" : \"molpay_ebanking_MY\"\n }, {\n \"name\" : \"Vietnam E-Banking\",\n \"type\" : \"molpay_ebanking_VN\"\n }, {\n \"name\" : \"Malaysia E-Banking\",\n \"type\" : \"molpay_ebanking_fpx_MY\"\n }, {\n \"name\" : \"eNETS Debit\",\n \"type\" : \"molpay_enetsd\"\n }, {\n \"name\" : \"epay\",\n \"type\" : \"molpay_epay\"\n }, {\n \"name\" : \"Esapay\",\n \"type\" : \"molpay_esapay\"\n }, {\n \"name\" : \"MyClear FPX\",\n \"type\" : \"molpay_fpx\"\n }, {\n \"name\" : \"Maybank2u\",\n \"type\" : \"molpay_maybank2u\"\n }, {\n \"name\" : \"Nganluong\",\n \"type\" : \"molpay_nganluong\"\n }, {\n \"name\" : \"Convenience Stores Thailand\",\n \"type\" : \"molpay_paysbuy\"\n }, {\n \"name\" : \"MOLPoints\",\n \"type\" : \"molpay_points\"\n }, {\n \"name\" : \"RHB Now\",\n \"type\" : \"molpay_rhb\"\n }, {\n \"name\" : \"SAM by SingPost\",\n \"type\" : \"molpay_singpost\"\n }, {\n \"name\" : \"MOLWallet\",\n \"type\" : \"molpay_wallet\"\n }, {\n \"name\" : \"MoMo ATM\",\n \"type\" : \"momo_atm\"\n }, {\n \"name\" : \"Momo Wallet\",\n \"type\" : \"momo_wallet\"\n }, {\n \"name\" : \"Moneybookers\",\n \"type\" : \"moneybookers\"\n }, {\n \"name\" : \"Multibanco\",\n \"type\" : \"multibanco\"\n }, {\n \"name\" : \"De Nationale Musicalcard\",\n \"type\" : \"musicalcard\"\n }, {\n \"name\" : \"Nationale Bioscoopbon\",\n \"type\" : \"nationalebioscoopbon\"\n }, {\n \"name\" : \"Nationale Tuinbon\",\n \"type\" : \"nationaletuinbon\"\n }, {\n \"name\" : \"Nationale Verwen Cadeaubon\",\n \"type\" : \"nationaleverwencadeaubon\"\n }, {\n \"name\" : \"BankAxess\",\n \"type\" : \"netaxept_bankaxess\"\n }, {\n \"name\" : \"NETELLER\",\n \"type\" : \"neteller\"\n }, {\n \"name\" : \"Onebip\",\n \"type\" : \"onebip\"\n }, {\n \"name\" : \"One Two Three\",\n \"type\" : \"onetwothree\"\n }, {\n \"name\" : \"Online Banking PL\",\n \"type\" : \"onlineBanking_PL\"\n }, {\n \"name\" : \"Online banking\",\n \"type\" : \"openbanking_UK\"\n }, {\n \"name\" : \"Oxxo\",\n \"type\" : \"oxxo\"\n }, {\n \"name\" : \"Pathe Giftcard\",\n \"type\" : \"pathegiftcard\"\n }, {\n \"name\" : \"PayBright\",\n \"type\" : \"paybright\"\n }, {\n \"name\" : \"Maya Wallet\",\n \"type\" : \"paymaya_wallet\"\n }, {\n \"name\" : \"PayPal\",\n \"type\" : \"paypal\"\n }, {\n \"name\" : \"Paysafecard\",\n \"type\" : \"paysafecard\"\n }, {\n \"name\" : \"Payshop\",\n \"type\" : \"payshop\"\n }, {\n \"name\" : \"PayD AMT via Paythru\",\n \"type\" : \"paythru_amt\"\n }, {\n \"name\" : \"EFT via Paythru\",\n \"type\" : \"paythru_eft\"\n }, {\n \"name\" : \"PayTM\",\n \"type\" : \"paytm\"\n }, {\n \"name\" : \"PayU UPI\",\n \"type\" : \"payu_IN_upi\"\n }, {\n \"name\" : \"EFT Pro via PayU\",\n \"type\" : \"payu_ZA_eftpro\"\n }, {\n \"name\" : \"Google Pay\",\n \"type\" : \"paywithgoogle\"\n }, {\n \"name\" : \"pix\",\n \"type\" : \"pix\"\n }, {\n \"name\" : \"Plastix\",\n \"type\" : \"plastix\"\n }, {\n \"name\" : \"Pluim\",\n \"type\" : \"pluimgiftcard\"\n }, {\n \"name\" : \"Podium Card\",\n \"type\" : \"podiumcard\"\n }, {\n \"name\" : \"POLi\",\n \"type\" : \"poli\"\n }, {\n \"name\" : \"PPS\",\n \"type\" : \"pps\"\n }, {\n \"name\" : \"Primera Cadeaukaart\",\n \"type\" : \"primeracadeaucard\"\n }, {\n \"name\" : \"Illicado Gift Card\",\n \"type\" : \"prosodie_illicado\"\n }, {\n \"name\" : \"PSE\",\n \"type\" : \"pse\"\n }, {\n \"name\" : \"Qiwi Wallet\",\n \"type\" : \"qiwiwallet\"\n }, {\n \"name\" : \"RatePay Invoice\",\n \"type\" : \"ratepay\"\n }, {\n \"name\" : \"RatePay Direct Debit\",\n \"type\" : \"ratepay_directdebit\"\n }, {\n \"name\" : \"Rituals Giftcard\",\n \"type\" : \"rituals\"\n }, {\n \"name\" : \"Rob Peetoom Giftcard\",\n \"type\" : \"robpeetoomgiftcard\"\n }, {\n \"name\" : \"SafetyPay\",\n \"type\" : \"safetypay\"\n }, {\n \"name\" : \"SafetyPay Cash\",\n \"type\" : \"safetypay_cash\"\n }, {\n \"name\" : \"Shoes&Accessories Cadeau\",\n \"type\" : \"sagiftcard\"\n }, {\n \"name\" : \"Score Giftcard\",\n \"type\" : \"scoregiftcard\"\n }, {\n \"name\" : \"SEB Direktbetalning\",\n \"type\" : \"sebdirectpayment\"\n }, {\n \"name\" : \"SEPA Direct Debit\",\n \"type\" : \"sepadirectdebit\"\n }, {\n \"name\" : \"7-Eleven\",\n \"type\" : \"seveneleven\"\n }, {\n \"name\" : \"Premium SMS\",\n \"type\" : \"sms\"\n }, {\n \"name\" : \"SVS\",\n \"type\" : \"svs\"\n }, {\n \"name\" : \"Swish\",\n \"type\" : \"swish\"\n }, {\n \"name\" : \"TCS Test GiftCard\",\n \"type\" : \"tcstestgiftcard\"\n }, {\n \"name\" : \"TenPay\",\n \"type\" : \"tenpay\"\n }, {\n \"name\" : \"The Sting Giftcard\",\n \"type\" : \"thestinggiftcard\"\n }, {\n \"name\" : \"TrueMoney\",\n \"type\" : \"truemoney\"\n }, {\n \"name\" : \"Trustly\",\n \"type\" : \"trustly\"\n }, {\n \"name\" : \"Online Banking by Trustpay\",\n \"type\" : \"trustpay\"\n }, {\n \"name\" : \"TWINT\",\n \"type\" : \"twint\"\n }, {\n \"name\" : \"Ukash\",\n \"type\" : \"ukash\"\n }, {\n \"name\" : \"UnionPay\",\n \"type\" : \"unionpay\"\n }, {\n \"name\" : \"UPI Collect\",\n \"type\" : \"upi_collect\"\n }, {\n \"name\" : \"Valuelink\",\n \"type\" : \"valuelink\"\n }, {\n \"name\" : \"V&D Cadeaukaart\",\n \"type\" : \"vdcadeaucard\"\n }, {\n \"name\" : \"Vipps\",\n \"type\" : \"vipps\"\n }, {\n \"name\" : \"Visa Checkout\",\n \"type\" : \"visacheckout\"\n }, {\n \"name\" : \"VVV Cadeaubon\",\n \"type\" : \"vvvcadeaubon\"\n }, {\n \"name\" : \"VVV Giftcard\",\n \"type\" : \"vvvgiftcard\"\n }, {\n \"name\" : \"Webshop Giftcard\",\n \"type\" : \"webshopgiftcard\"\n }, {\n \"name\" : \"WeChat Pay\",\n \"type\" : \"wechatpayMiniProgram\"\n }, {\n \"name\" : \"WeChat Pay\",\n \"type\" : \"wechatpayQR\"\n }, {\n \"name\" : \"WeChat Pay\",\n \"type\" : \"wechatpayWeb\"\n }, {\n \"name\" : \"WE Fashion Giftcard\",\n \"type\" : \"wefashiongiftcard\"\n }, {\n \"name\" : \"Western Union\",\n \"type\" : \"westernunion\"\n }, {\n \"name\" : \"Winkel Cheque\",\n \"type\" : \"winkelcheque\"\n }, {\n \"name\" : \"WOS Card\",\n \"type\" : \"woscard\"\n }, {\n \"name\" : \"Alfa-Click\",\n \"type\" : \"yandex_alfaclick\"\n }, {\n \"name\" : \"Pay using bank card\",\n \"type\" : \"yandex_bank_card\"\n }, {\n \"name\" : \"Cash terminals\",\n \"type\" : \"yandex_cash\"\n }, {\n \"name\" : \"Pay using installments\",\n \"type\" : \"yandex_installments\"\n }, {\n \"name\" : \"YooMoney\",\n \"type\" : \"yandex_money\"\n }, {\n \"name\" : \"Promsvyazbank\",\n \"type\" : \"yandex_promsvyazbank\"\n }, {\n \"name\" : \"SberPay\",\n \"type\" : \"yandex_sberbank\"\n }, {\n \"name\" : \"WebMoney\",\n \"type\" : \"yandex_webmoney\"\n }, {\n \"name\" : \"Your Gift\",\n \"type\" : \"yourgift\"\n }, {\n \"name\" : \"Zip\",\n \"type\" : \"zip\"\n } ]\n}", + "originalRequest": { + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentMethods", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentMethods" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Queries the available payment methods for a transaction based on the transaction context (like amount, country, and currency). Besides giving back a list of the available payment methods, the response also returns which input details you need to collect from the shopper (to be submitted to `/payments`). Although we highly recommend using this endpoint to ensure you are always offering the most up-to-date list of payment methods, its usage is optional. You can, for example, also cache the `/paymentMethods` response and update it once a week." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentMethods", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentMethods" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Queries the available payment methods for a transaction based on the transaction context (like amount, country, and currency). Besides giving back a list of the available payment methods, the response also returns which input details you need to collect from the shopper (to be submitted to `/payments`). Although we highly recommend using this endpoint to ensure you are always offering the most up-to-date list of payment methods, its usage is optional. You can, for example, also cache the `/paymentMethods` response and update it once a week." - } + ] }, { "name": "Get payment methods based on the country and amount", "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 + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl-NL\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentMethods", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentMethods" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Queries the available payment methods for a transaction based on the transaction context (like amount, country, and currency). Besides giving back a list of the available payment methods, the response also returns which input details you need to collect from the shopper (to be submitted to `/payments`). Although we highly recommend using this endpoint to ensure you are always offering the most up-to-date list of payment methods, its usage is optional. You can, for example, also cache the `/paymentMethods` response and update it once a week." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"paymentMethods\" : [ {\n \"name\" : \"iDEAL\",\n \"type\" : \"ideal\"\n }, {\n \"name\" : \"Hitelkártya\",\n \"type\" : \"scheme\"\n }, {\n \"name\" : \"PayPal\",\n \"type\" : \"paypal\"\n }, {\n \"name\" : \"AfterPay Invoice\",\n \"type\" : \"afterpay_default\"\n }, {\n \"name\" : \"Pay later with Klarna.\",\n \"type\" : \"klarna\"\n }, {\n \"name\" : \"SEPA Direct Debit\",\n \"type\" : \"sepadirectdebit\"\n }, {\n \"name\" : \"Paysafecard\",\n \"type\" : \"paysafecard\"\n }, {\n \"name\" : \"Bijenkorf Cadeaucard\",\n \"type\" : \"bijcadeaucard\"\n }, {\n \"name\" : \"Fonq Giftcard\",\n \"type\" : \"fonqgiftcard\"\n }, {\n \"name\" : \"Bank Transfer (NL)\",\n \"type\" : \"bankTransfer_NL\"\n }, {\n \"name\" : \"Pathe Giftcard\",\n \"type\" : \"pathegiftcard\"\n }, {\n \"name\" : \"VVV Giftcard\",\n \"type\" : \"vvvgiftcard\"\n }, {\n \"name\" : \"Podium Card\",\n \"type\" : \"podiumcard\"\n }, {\n \"name\" : \"RatePay Direct Debit\",\n \"type\" : \"ratepay_directdebit\"\n }, {\n \"name\" : \"Rituals Giftcard\",\n \"type\" : \"rituals\"\n }, {\n \"name\" : \"Hunkemoller Lingerie Card\",\n \"type\" : \"hmlingerie\"\n }, {\n \"name\" : \"Primera Cadeaukaart\",\n \"type\" : \"primeracadeaucard\"\n }, {\n \"name\" : \"Fashioncheque\",\n \"type\" : \"fashioncheque\"\n }, {\n \"name\" : \"NETELLER\",\n \"type\" : \"neteller\"\n }, {\n \"name\" : \"Adyen Voucher\",\n \"type\" : \"adyen_test_voucher\"\n }, {\n \"name\" : \"AfterPay B2B\",\n \"type\" : \"afterpay_b2b\"\n }, {\n \"name\" : \"AfterPay DirectDebit\",\n \"type\" : \"afterpay_directdebit\"\n }, {\n \"name\" : \"AliPay\",\n \"type\" : \"alipay\"\n }, {\n \"name\" : \"AliPay\",\n \"type\" : \"alipay_wap\"\n }, {\n \"name\" : \"Android Pay\",\n \"type\" : \"androidpay\"\n }, {\n \"name\" : \"Apple Pay\",\n \"type\" : \"applepay\"\n }, {\n \"name\" : \"Baby Gift Card\",\n \"type\" : \"babygiftcard\"\n }, {\n \"name\" : \"SEPA Bank Transfer\",\n \"type\" : \"bankTransfer_IBAN\"\n }, {\n \"name\" : \"Bloemen Giftcard\",\n \"type\" : \"bloemengiftcard\"\n }, {\n \"name\" : \"Boekenbon Giftcard\",\n \"type\" : \"boekenbon\"\n }, {\n \"name\" : \"Cash-Ticket\",\n \"type\" : \"cashticket\"\n }, {\n \"name\" : \"Chasin Giftcard\",\n \"type\" : \"chasingiftcard\"\n }, {\n \"name\" : \"ClickandBuy\",\n \"type\" : \"clickandbuy\"\n }, {\n \"name\" : \"Costes Giftcard\",\n \"type\" : \"costesgiftcard\"\n }, {\n \"name\" : \"custom_settlement\",\n \"type\" : \"custom_settlement\"\n }, {\n \"name\" : \"eft_directdebit_CA\",\n \"type\" : \"eft_directdebit_CA\"\n }, {\n \"name\" : \"Nationale Entertainment Card\",\n \"type\" : \"entertainmentcard\"\n }, {\n \"name\" : \"Expert Cadeaukaart\",\n \"type\" : \"expertgiftcard\"\n }, {\n \"name\" : \"FijnCadeau\",\n \"type\" : \"fijncadeau\"\n }, {\n \"name\" : \"Fleurop Bloemenbon\",\n \"type\" : \"fleuropbloemenbon\"\n }, {\n \"name\" : \"Gall & Gall\",\n \"type\" : \"gallgall\"\n }, {\n \"name\" : \"Generic GiftCard\",\n \"type\" : \"genericgiftcard\"\n }, {\n \"name\" : \"GiftFor2\",\n \"type\" : \"giftfor2card\"\n }, {\n \"name\" : \"Givex\",\n \"type\" : \"givex\"\n }, {\n \"name\" : \"Goldsmiths Card\",\n \"type\" : \"goldsmithscard\"\n }, {\n \"name\" : \"Hunkemoller Member Card\",\n \"type\" : \"hmclub\"\n }, {\n \"name\" : \"Phone Payment\",\n \"type\" : \"ivr\"\n }, {\n \"name\" : \"Landline phone\",\n \"type\" : \"ivrLandline\"\n }, {\n \"name\" : \"Mobile phone\",\n \"type\" : \"ivrMobile\"\n }, {\n \"name\" : \"Kado Wereld\",\n \"type\" : \"kadowereld\"\n }, {\n \"name\" : \"Karen Millen GiftCard\",\n \"type\" : \"karenmillengiftcard\"\n }, {\n \"name\" : \"Leisure Card\",\n \"type\" : \"leisurecard\"\n }, {\n \"name\" : \"Loods5 Cadeaukaart\",\n \"type\" : \"loods5giftcard\"\n }, {\n \"name\" : \"Loods5 Tegoedbon\",\n \"type\" : \"loods5prepaidcard\"\n }, {\n \"name\" : \"Amazon Pay\",\n \"supportsRecurring\" : true,\n \"type\" : \"amazonpay\"\n }, {\n \"name\" : \"MOLPoints\",\n \"type\" : \"molpay_points\"\n }, {\n \"name\" : \"Moneybookers\",\n \"type\" : \"moneybookers\"\n }, {\n \"name\" : \"De Nationale Musicalcard\",\n \"type\" : \"musicalcard\"\n }, {\n \"name\" : \"Nationale Bioscoopbon\",\n \"type\" : \"nationalebioscoopbon\"\n }, {\n \"name\" : \"Nationale Tuinbon\",\n \"type\" : \"nationaletuinbon\"\n }, {\n \"name\" : \"Nationale Verwen Cadeaubon\",\n \"type\" : \"nationaleverwencadeaubon\"\n }, {\n \"name\" : \"Onebip\",\n \"type\" : \"onebip\"\n }, {\n \"name\" : \"Google Pay\",\n \"type\" : \"paywithgoogle\"\n }, {\n \"name\" : \"Plastix\",\n \"type\" : \"plastix\"\n }, {\n \"name\" : \"Pluim\",\n \"type\" : \"pluimgiftcard\"\n }, {\n \"name\" : \"Illicado Gift Card\",\n \"type\" : \"prosodie_illicado\"\n }, {\n \"name\" : \"RatePay Invoice\",\n \"type\" : \"ratepay\"\n }, {\n \"name\" : \"Rob Peetoom Giftcard\",\n \"type\" : \"robpeetoomgiftcard\"\n }, {\n \"name\" : \"Shoes&Accessories Cadeau\",\n \"type\" : \"sagiftcard\"\n }, {\n \"name\" : \"Score Giftcard\",\n \"type\" : \"scoregiftcard\"\n }, {\n \"name\" : \"Premium SMS\",\n \"type\" : \"sms\"\n }, {\n \"name\" : \"SVS\",\n \"type\" : \"svs\"\n }, {\n \"name\" : \"TCS Test GiftCard\",\n \"type\" : \"tcstestgiftcard\"\n }, {\n \"name\" : \"The Sting Giftcard\",\n \"type\" : \"thestinggiftcard\"\n }, {\n \"name\" : \"Ukash\",\n \"type\" : \"ukash\"\n }, {\n \"name\" : \"UnionPay\",\n \"type\" : \"unionpay\"\n }, {\n \"name\" : \"Valuelink\",\n \"type\" : \"valuelink\"\n }, {\n \"name\" : \"V&D Cadeaukaart\",\n \"type\" : \"vdcadeaucard\"\n }, {\n \"name\" : \"Visa Checkout\",\n \"type\" : \"visacheckout\"\n }, {\n \"name\" : \"VVV Cadeaubon\",\n \"type\" : \"vvvcadeaubon\"\n }, {\n \"name\" : \"Webshop Giftcard\",\n \"type\" : \"webshopgiftcard\"\n }, {\n \"name\" : \"WE Fashion Giftcard\",\n \"type\" : \"wefashiongiftcard\"\n }, {\n \"name\" : \"Western Union\",\n \"type\" : \"westernunion\"\n }, {\n \"name\" : \"Winkel Cheque\",\n \"type\" : \"winkelcheque\"\n }, {\n \"name\" : \"Your Gift\",\n \"type\" : \"yourgift\"\n } ]\n}", + "originalRequest": { + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl-NL\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentMethods", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentMethods" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Queries the available payment methods for a transaction based on the transaction context (like amount, country, and currency). Besides giving back a list of the available payment methods, the response also returns which input details you need to collect from the shopper (to be submitted to `/payments`). Although we highly recommend using this endpoint to ensure you are always offering the most up-to-date list of payment methods, its usage is optional. You can, for example, also cache the `/paymentMethods` response and update it once a week." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl-NL\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n }\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentMethods", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentMethods" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Queries the available payment methods for a transaction based on the transaction context (like amount, country, and currency). Besides giving back a list of the available payment methods, the response also returns which input details you need to collect from the shopper (to be submitted to `/payments`). Although we highly recommend using this endpoint to ensure you are always offering the most up-to-date list of payment methods, its usage is optional. You can, for example, also cache the `/paymentMethods` response and update it once a week." - } + ] }, { "name": "Get payment methods including stored card details", "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 + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"countryCode\" : \"NL\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentMethods", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentMethods" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Queries the available payment methods for a transaction based on the transaction context (like amount, country, and currency). Besides giving back a list of the available payment methods, the response also returns which input details you need to collect from the shopper (to be submitted to `/payments`). Although we highly recommend using this endpoint to ensure you are always offering the most up-to-date list of payment methods, its usage is optional. You can, for example, also cache the `/paymentMethods` response and update it once a week." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"paymentMethods\" : [ {\n \"name\" : \"iDEAL\",\n \"type\" : \"ideal\"\n }, {\n \"name\" : \"Credit Card\",\n \"type\" : \"scheme\"\n }, {\n \"name\" : \"PayPal\",\n \"type\" : \"paypal\"\n }, {\n \"name\" : \"AfterPay Invoice\",\n \"type\" : \"afterpay_default\"\n }, {\n \"name\" : \"Pay later with Klarna.\",\n \"type\" : \"klarna\"\n }, {\n \"name\" : \"SEPA Direct Debit\",\n \"type\" : \"sepadirectdebit\"\n }, {\n \"name\" : \"Paysafecard\",\n \"type\" : \"paysafecard\"\n }, {\n \"name\" : \"Bijenkorf Cadeaucard\",\n \"type\" : \"bijcadeaucard\"\n }, {\n \"name\" : \"Fonq Giftcard\",\n \"type\" : \"fonqgiftcard\"\n }, {\n \"name\" : \"Bank Transfer (NL)\",\n \"type\" : \"bankTransfer_NL\"\n }, {\n \"name\" : \"Pathe Giftcard\",\n \"type\" : \"pathegiftcard\"\n }, {\n \"name\" : \"VVV Giftcard\",\n \"type\" : \"vvvgiftcard\"\n }, {\n \"name\" : \"Podium Card\",\n \"type\" : \"podiumcard\"\n }, {\n \"name\" : \"RatePay Direct Debit\",\n \"type\" : \"ratepay_directdebit\"\n }, {\n \"name\" : \"Rituals Giftcard\",\n \"type\" : \"rituals\"\n }, {\n \"name\" : \"Hunkemoller Lingerie Card\",\n \"type\" : \"hmlingerie\"\n }, {\n \"name\" : \"Primera Cadeaukaart\",\n \"type\" : \"primeracadeaucard\"\n }, {\n \"name\" : \"Fashioncheque\",\n \"type\" : \"fashioncheque\"\n }, {\n \"name\" : \"NETELLER\",\n \"type\" : \"neteller\"\n }, {\n \"name\" : \"Adyen Voucher\",\n \"type\" : \"adyen_test_voucher\"\n }, {\n \"name\" : \"AfterPay B2B\",\n \"type\" : \"afterpay_b2b\"\n }, {\n \"name\" : \"AfterPay DirectDebit\",\n \"type\" : \"afterpay_directdebit\"\n }, {\n \"name\" : \"AliPay\",\n \"type\" : \"alipay\"\n }, {\n \"name\" : \"AliPay\",\n \"type\" : \"alipay_wap\"\n }, {\n \"name\" : \"Android Pay\",\n \"type\" : \"androidpay\"\n }, {\n \"name\" : \"Apple Pay\",\n \"type\" : \"applepay\"\n }, {\n \"name\" : \"Baby Gift Card\",\n \"type\" : \"babygiftcard\"\n }, {\n \"name\" : \"SEPA Bank Transfer\",\n \"type\" : \"bankTransfer_IBAN\"\n }, {\n \"name\" : \"Bloemen Giftcard\",\n \"type\" : \"bloemengiftcard\"\n }, {\n \"name\" : \"Boekenbon Giftcard\",\n \"type\" : \"boekenbon\"\n }, {\n \"name\" : \"Cash-Ticket\",\n \"type\" : \"cashticket\"\n }, {\n \"name\" : \"Chasin Giftcard\",\n \"type\" : \"chasingiftcard\"\n }, {\n \"name\" : \"ClickandBuy\",\n \"type\" : \"clickandbuy\"\n }, {\n \"name\" : \"Costes Giftcard\",\n \"type\" : \"costesgiftcard\"\n }, {\n \"name\" : \"custom_settlement\",\n \"type\" : \"custom_settlement\"\n }, {\n \"name\" : \"eft_directdebit_CA\",\n \"type\" : \"eft_directdebit_CA\"\n }, {\n \"name\" : \"Nationale Entertainment Card\",\n \"type\" : \"entertainmentcard\"\n }, {\n \"name\" : \"Expert Cadeaukaart\",\n \"type\" : \"expertgiftcard\"\n }, {\n \"name\" : \"FijnCadeau\",\n \"type\" : \"fijncadeau\"\n }, {\n \"name\" : \"Fleurop Bloemenbon\",\n \"type\" : \"fleuropbloemenbon\"\n }, {\n \"name\" : \"Gall & Gall\",\n \"type\" : \"gallgall\"\n }, {\n \"name\" : \"Generic GiftCard\",\n \"type\" : \"genericgiftcard\"\n }, {\n \"name\" : \"GiftFor2\",\n \"type\" : \"giftfor2card\"\n }, {\n \"name\" : \"Givex\",\n \"type\" : \"givex\"\n }, {\n \"name\" : \"Goldsmiths Card\",\n \"type\" : \"goldsmithscard\"\n }, {\n \"name\" : \"Hunkemoller Member Card\",\n \"type\" : \"hmclub\"\n }, {\n \"name\" : \"Phone Payment\",\n \"type\" : \"ivr\"\n }, {\n \"name\" : \"Landline phone\",\n \"type\" : \"ivrLandline\"\n }, {\n \"name\" : \"Mobile phone\",\n \"type\" : \"ivrMobile\"\n }, {\n \"name\" : \"Kado Wereld\",\n \"type\" : \"kadowereld\"\n }, {\n \"name\" : \"Karen Millen GiftCard\",\n \"type\" : \"karenmillengiftcard\"\n }, {\n \"name\" : \"Leisure Card\",\n \"type\" : \"leisurecard\"\n }, {\n \"name\" : \"Loods5 Cadeaukaart\",\n \"type\" : \"loods5giftcard\"\n }, {\n \"name\" : \"Loods5 Tegoedbon\",\n \"type\" : \"loods5prepaidcard\"\n }, {\n \"name\" : \"Amazon Pay\",\n \"supportsRecurring\" : true,\n \"type\" : \"amazonpay\"\n }, {\n \"name\" : \"MOLPoints\",\n \"type\" : \"molpay_points\"\n }, {\n \"name\" : \"Moneybookers\",\n \"type\" : \"moneybookers\"\n }, {\n \"name\" : \"De Nationale Musicalcard\",\n \"type\" : \"musicalcard\"\n }, {\n \"name\" : \"Nationale Bioscoopbon\",\n \"type\" : \"nationalebioscoopbon\"\n }, {\n \"name\" : \"Nationale Tuinbon\",\n \"type\" : \"nationaletuinbon\"\n }, {\n \"name\" : \"Nationale Verwen Cadeaubon\",\n \"type\" : \"nationaleverwencadeaubon\"\n }, {\n \"name\" : \"Onebip\",\n \"type\" : \"onebip\"\n }, {\n \"name\" : \"Google Pay\",\n \"type\" : \"paywithgoogle\"\n }, {\n \"name\" : \"Plastix\",\n \"type\" : \"plastix\"\n }, {\n \"name\" : \"Pluim\",\n \"type\" : \"pluimgiftcard\"\n }, {\n \"name\" : \"Illicado Gift Card\",\n \"type\" : \"prosodie_illicado\"\n }, {\n \"name\" : \"RatePay Invoice\",\n \"type\" : \"ratepay\"\n }, {\n \"name\" : \"Rob Peetoom Giftcard\",\n \"type\" : \"robpeetoomgiftcard\"\n }, {\n \"name\" : \"Shoes&Accessories Cadeau\",\n \"type\" : \"sagiftcard\"\n }, {\n \"name\" : \"Score Giftcard\",\n \"type\" : \"scoregiftcard\"\n }, {\n \"name\" : \"Premium SMS\",\n \"type\" : \"sms\"\n }, {\n \"name\" : \"SVS\",\n \"type\" : \"svs\"\n }, {\n \"name\" : \"TCS Test GiftCard\",\n \"type\" : \"tcstestgiftcard\"\n }, {\n \"name\" : \"The Sting Giftcard\",\n \"type\" : \"thestinggiftcard\"\n }, {\n \"name\" : \"Ukash\",\n \"type\" : \"ukash\"\n }, {\n \"name\" : \"UnionPay\",\n \"type\" : \"unionpay\"\n }, {\n \"name\" : \"Valuelink\",\n \"type\" : \"valuelink\"\n }, {\n \"name\" : \"V&D Cadeaukaart\",\n \"type\" : \"vdcadeaucard\"\n }, {\n \"name\" : \"Visa Checkout\",\n \"type\" : \"visacheckout\"\n }, {\n \"name\" : \"VVV Cadeaubon\",\n \"type\" : \"vvvcadeaubon\"\n }, {\n \"name\" : \"Webshop Giftcard\",\n \"type\" : \"webshopgiftcard\"\n }, {\n \"name\" : \"WE Fashion Giftcard\",\n \"type\" : \"wefashiongiftcard\"\n }, {\n \"name\" : \"Western Union\",\n \"type\" : \"westernunion\"\n }, {\n \"name\" : \"Winkel Cheque\",\n \"type\" : \"winkelcheque\"\n }, {\n \"name\" : \"Your Gift\",\n \"type\" : \"yourgift\"\n } ],\n \"storedPaymentMethods\" : [ {\n \"brand\" : \"visa\",\n \"expiryMonth\" : \"10\",\n \"expiryYear\" : \"30\",\n \"holderName\" : \"John Smith\",\n \"id\" : \"7219687191761347\",\n \"issuerName\" : \"ISSUER_NAME\",\n \"lastFour\" : \"1111\",\n \"name\" : \"VISA\",\n \"shopperEmail\" : \"john.smith@example.com\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"supportedRecurringProcessingModels\" : [ \"CardOnFile\", \"Subscription\", \"UnscheduledCardOnFile\" ],\n \"type\" : \"scheme\"\n } ]\n}", + "originalRequest": { + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"countryCode\" : \"NL\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentMethods", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentMethods" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Queries the available payment methods for a transaction based on the transaction context (like amount, country, and currency). Besides giving back a list of the available payment methods, the response also returns which input details you need to collect from the shopper (to be submitted to `/payments`). Although we highly recommend using this endpoint to ensure you are always offering the most up-to-date list of payment methods, its usage is optional. You can, for example, also cache the `/paymentMethods` response and update it once a week." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"countryCode\" : \"NL\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentMethods", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentMethods" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Queries the available payment methods for a transaction based on the transaction context (like amount, country, and currency). Besides giving back a list of the available payment methods, the response also returns which input details you need to collect from the shopper (to be submitted to `/payments`). Although we highly recommend using this endpoint to ensure you are always offering the most up-to-date list of payment methods, its usage is optional. You can, for example, also cache the `/paymentMethods` response and update it once a week." - } + ] } ] - } -, + }, { "name": "/payments", "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. ", @@ -1421,790 +2692,1220 @@ { "name": "Make an Apple Pay payment", "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"applepay\",\n \"applePayToken\" : \"VNRWtuNlNEWkRCSm1xWndjMDFFbktkQU...\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"applepay\",\n \"applePayToken\" : \"VNRWtuNlNEWkRCSm1xWndjMDFFbktkQU...\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + ] }, { "name": "Make a card payment with 3D Secure 2 native authentication, using encrypted card details", "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"reference\" : \"{{$guid}}\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"encryptedCardNumber\" : \"test_4035501428146300\",\n \"encryptedExpiryMonth\" : \"test_03\",\n \"encryptedExpiryYear\" : \"test_2030\",\n \"encryptedSecurityCode\" : \"test_737\",\n \"holderName\" : \"John Smith\"\n },\n \"authenticationData\" : {\n \"threeDSRequestData\" : {\n \"nativeThreeDS\" : \"preferred\"\n }\n },\n \"billingAddress\" : {\n \"country\" : \"US\",\n \"city\" : \"New York\",\n \"street\" : \"Redwood Block\",\n \"houseNumberOrName\" : \"37C\",\n \"stateOrProvince\" : \"NY\",\n \"postalCode\" : \"10039\"\n },\n \"shopperEmail\" : \"s.hopper@test.com\",\n \"shopperIP\" : \"192.0.2.1\",\n \"browserInfo\" : {\n \"userAgent\" : \"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.110 Safari/537.36\",\n \"acceptHeader\" : \"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8\",\n \"language\" : \"nl-NL\",\n \"colorDepth\" : 24,\n \"screenHeight\" : 723,\n \"screenWidth\" : 1536,\n \"timeZoneOffset\" : 0,\n \"javaEnabled\" : true\n },\n \"channel\" : \"Web\",\n \"origin\" : \"https://your-company.com\",\n \"returnUrl\" : \"https://your-company.com/checkout/\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"reference\" : \"{{$guid}}\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"encryptedCardNumber\" : \"test_4035501428146300\",\n \"encryptedExpiryMonth\" : \"test_03\",\n \"encryptedExpiryYear\" : \"test_2030\",\n \"encryptedSecurityCode\" : \"test_737\",\n \"holderName\" : \"John Smith\"\n },\n \"authenticationData\" : {\n \"threeDSRequestData\" : {\n \"nativeThreeDS\" : \"preferred\"\n }\n },\n \"billingAddress\" : {\n \"country\" : \"US\",\n \"city\" : \"New York\",\n \"street\" : \"Redwood Block\",\n \"houseNumberOrName\" : \"37C\",\n \"stateOrProvince\" : \"NY\",\n \"postalCode\" : \"10039\"\n },\n \"shopperEmail\" : \"s.hopper@test.com\",\n \"shopperIP\" : \"192.0.2.1\",\n \"browserInfo\" : {\n \"userAgent\" : \"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.110 Safari/537.36\",\n \"acceptHeader\" : \"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8\",\n \"language\" : \"nl-NL\",\n \"colorDepth\" : 24,\n \"screenHeight\" : 723,\n \"screenWidth\" : 1536,\n \"timeZoneOffset\" : 0,\n \"javaEnabled\" : true\n },\n \"channel\" : \"Web\",\n \"origin\" : \"https://your-company.com\",\n \"returnUrl\" : \"https://your-company.com/checkout/\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + ] }, { "name": "Make card payment with 3D Secure redirect authentication", "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4212345678901237\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\",\n \"cvc\" : \"737\"\n },\n \"browserInfo\" : {\n \"userAgent\" : \"Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9) Gecko/2008052912 Firefox/3.0\",\n \"acceptHeader\" : \"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8\",\n \"javaEnabled\" : true,\n \"colorDepth\" : 10,\n \"screenHeight\" : 2000,\n \"screenWidth\" : 3000,\n \"timeZoneOffset\" : 5,\n \"language\" : \"en\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4212345678901237\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\",\n \"cvc\" : \"737\"\n },\n \"browserInfo\" : {\n \"userAgent\" : \"Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9) Gecko/2008052912 Firefox/3.0\",\n \"acceptHeader\" : \"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8\",\n \"javaEnabled\" : true,\n \"colorDepth\" : 10,\n \"screenHeight\" : 2000,\n \"screenWidth\" : 3000,\n \"timeZoneOffset\" : 5,\n \"language\" : \"en\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + ] }, { "name": "Make a card payment", "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 + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4111111111111111\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\",\n \"cvc\" : \"737\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"additionalData\" : {\n \"cvcResult\" : \"1 Matches\",\n \"authCode\" : \"044925\",\n \"avsResult\" : \"4 AVS not supported for this card type\",\n \"avsResultRaw\" : \"4\",\n \"cvcResultRaw\" : \"M\",\n \"refusalReasonRaw\" : \"AUTHORISED\",\n \"acquirerCode\" : \"TestPmmAcquirer\",\n \"acquirerReference\" : \"8PQMP9VEP3H\"\n },\n \"pspReference\" : \"993617895204576J\",\n \"resultCode\" : \"Authorised\",\n \"merchantReference\" : \"string\"\n}", + "originalRequest": { + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4111111111111111\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\",\n \"cvc\" : \"737\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4111111111111111\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\",\n \"cvc\" : \"737\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + ] }, { "name": "Make a card payment using encrypted card details", "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 + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"encryptedCardNumber\" : \"test_4111111111111111\",\n \"encryptedExpiryMonth\" : \"test_03\",\n \"encryptedExpiryYear\" : \"test_2030\",\n \"encryptedSecurityCode\" : \"test_737\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"additionalData\" : {\n \"cvcResult\" : \"1 Matches\",\n \"authCode\" : \"065696\",\n \"avsResult\" : \"4 AVS not supported for this card type\",\n \"avsResultRaw\" : \"4\",\n \"cvcResultRaw\" : \"M\",\n \"refusalReasonRaw\" : \"AUTHORISED\",\n \"acquirerCode\" : \"TestPmmAcquirer\",\n \"acquirerReference\" : \"8PQMP9VIE9N\"\n },\n \"pspReference\" : \"993617895215577D\",\n \"resultCode\" : \"Authorised\",\n \"merchantReference\" : \"string\"\n}", + "originalRequest": { + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"encryptedCardNumber\" : \"test_4111111111111111\",\n \"encryptedExpiryMonth\" : \"test_03\",\n \"encryptedExpiryYear\" : \"test_2030\",\n \"encryptedSecurityCode\" : \"test_737\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"encryptedCardNumber\" : \"test_4111111111111111\",\n \"encryptedExpiryMonth\" : \"test_03\",\n \"encryptedExpiryYear\" : \"test_2030\",\n \"encryptedSecurityCode\" : \"test_737\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + ] }, { "name": "Tokenize card details for one-off payments, using encrypted card details", "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 + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"encryptedCardNumber\" : \"test_4111111111111111\",\n \"encryptedExpiryMonth\" : \"test_03\",\n \"encryptedExpiryYear\" : \"test_2030\",\n \"encryptedSecurityCode\" : \"test_737\"\n },\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"storePaymentMethod\" : true,\n \"shopperInteraction\" : \"Ecommerce\",\n \"recurringProcessingModel\" : \"CardOnFile\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"additionalData\" : {\n \"cvcResult\" : \"1 Matches\",\n \"authCode\" : \"082338\",\n \"avsResult\" : \"4 AVS not supported for this card type\",\n \"recurring.recurringDetailReference\" : \"9916178934434753\",\n \"recurringProcessingModel\" : \"CardOnFile\",\n \"avsResultRaw\" : \"4\",\n \"cvcResultRaw\" : \"M\",\n \"refusalReasonRaw\" : \"AUTHORISED\",\n \"recurring.shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID_IOfW3k9G2PvXFu2j\",\n \"acquirerCode\" : \"TestPmmAcquirer\",\n \"acquirerReference\" : \"8PQMP9VC172\"\n },\n \"pspReference\" : \"993617895195570C\",\n \"resultCode\" : \"Authorised\",\n \"merchantReference\" : \"string\"\n}", + "originalRequest": { + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"encryptedCardNumber\" : \"test_4111111111111111\",\n \"encryptedExpiryMonth\" : \"test_03\",\n \"encryptedExpiryYear\" : \"test_2030\",\n \"encryptedSecurityCode\" : \"test_737\"\n },\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"storePaymentMethod\" : true,\n \"shopperInteraction\" : \"Ecommerce\",\n \"recurringProcessingModel\" : \"CardOnFile\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"encryptedCardNumber\" : \"test_4111111111111111\",\n \"encryptedExpiryMonth\" : \"test_03\",\n \"encryptedExpiryYear\" : \"test_2030\",\n \"encryptedSecurityCode\" : \"test_737\"\n },\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"storePaymentMethod\" : true,\n \"shopperInteraction\" : \"Ecommerce\",\n \"recurringProcessingModel\" : \"CardOnFile\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + ] }, { "name": "Tokenize card details for one-off payments", "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 + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4111111111111111\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\",\n \"cvc\" : \"737\"\n },\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"shopperInteraction\" : \"Ecommerce\",\n \"recurringProcessingModel\" : \"CardOnFile\",\n \"storePaymentMethod\" : true,\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"additionalData\" : {\n \"cvcResult\" : \"1 Matches\",\n \"authCode\" : \"003704\",\n \"avsResult\" : \"4 AVS not supported for this card type\",\n \"recurring.recurringDetailReference\" : \"9916178934434753\",\n \"recurringProcessingModel\" : \"CardOnFile\",\n \"avsResultRaw\" : \"4\",\n \"cvcResultRaw\" : \"M\",\n \"refusalReasonRaw\" : \"AUTHORISED\",\n \"recurring.shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID_IOfW3k9G2PvXFu2j\",\n \"acquirerCode\" : \"TestPmmAcquirer\",\n \"acquirerReference\" : \"8PQMP9VCKO0\"\n },\n \"pspReference\" : \"993617895197573E\",\n \"resultCode\" : \"Authorised\",\n \"merchantReference\" : \"string\"\n}", + "originalRequest": { + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4111111111111111\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\",\n \"cvc\" : \"737\"\n },\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"shopperInteraction\" : \"Ecommerce\",\n \"recurringProcessingModel\" : \"CardOnFile\",\n \"storePaymentMethod\" : true,\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4111111111111111\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\",\n \"cvc\" : \"737\"\n },\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"shopperInteraction\" : \"Ecommerce\",\n \"recurringProcessingModel\" : \"CardOnFile\",\n \"storePaymentMethod\" : true,\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + ] }, { "name": "Make a Google Pay payment", "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"paywithgoogle\",\n \"googlePayToken\" : \"==Payload as retrieved from Google Pay response==\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"YourMerchantAccount\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"paywithgoogle\",\n \"googlePayToken\" : \"==Payload as retrieved from Google Pay response==\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"YourMerchantAccount\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + ] }, { "name": "Make an iDEAL payment", "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 + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"ideal\",\n \"issuer\" : \"1121\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"resultCode\" : \"RedirectShopper\",\n \"action\" : {\n \"paymentMethodType\" : \"ideal\",\n \"url\" : \"https://test.adyen.com/hpp/checkout.shtml?u=redirectIdeal&p=eJxtUl1zmzAQ-DXwZgaB*XrQg0Nwg2s3DTVtJy8ZRbqAYlsikmCMf30FddNMpzOak2bvZm-3Ts*KCJZLBpgzIEeX9kqBoOMMFXXlcq17UCXDCAXIPYGiLRFmRanshcF70GZ3xd6TpTDQKGK4FJ4ZO8D5XZF-vq-3T5*KL0VV5v*tHEBpe*Pob5cKXmBSA1gbxUXzIWF6JW6JITjLUIySNItQliVxsH6v*cYbnNSHZsMfcydYr8SrE9yY7HRjavMAlyyIjhuK*tzszj9ew-uHrN854a3bkfEE1uBp9od833cV6Lra4taYzglXlsueo6Tk2EptLJL6qW8h2gI9yN7oVnYdKItoUAOnoO3z62-aUlB5sk4qYFwBNTYzoD9015odmFYyJ1z-M2yr7uO4nSBW8xisNpua1NlG0SQwmiTaMMpeLWzDjojRs-cMep7natDTrL*TI2fcjDjwA7Twlws-3aPYOkKZDVH26F69THtShE57woUlmpSBqw9czP*k65*9IfCuq0jiJElQGi69Szn8DPebmKXDWATt6vxEWduea7*sLy-Lt*1bcbctGhgZk78A5S7dyQ\",\n \"method\" : \"GET\",\n \"type\" : \"redirect\"\n },\n \"paymentData\" : \"Ab02b4c0!BQABAgCINC3kOq5nsaj4k+VaArf6VIiTWkYALwijaS+VOvzTSf76Un3WYBgKJlEBqALZW3vlw+IDQGw5jqkVBO4axEJEFKu5fDL2RkeHbm+aHY7tlRVsjvNIcVTNbMtHJcclHakOVTrtTCQfspf11XGsmENUaL45bdeu07iDBtpnIvd39p6g8OVaLcSIGaA8Zosd93hs0h3lvIePt3QTekeOUH+zrMMfLyy/4QKBZtLjnWo3/4U0e2tsneOudynW0l5i+VyobWOZb7yZUj7v9GMVpAZ3YEqNZ1aWJlSmty9TJTpXp4PQQcNeELQAfTu4zaarMq5btRZpcmDRvSOQK0Qo/PvfWrv/si0c1NPr5EM43ebdkLiDEUSIGBDTellblheOaRsgD0JlrNLOHSpS6iCiyY5FQaWx7FpnYReP/un2f/2mMGxdehif1MqWWZzgAhjdA4kksQVb8eMIGLY2IveJ4iTmDAkFbhIATs2SuWhYBGqFnBGeH1jlJCJDDV8/XJ0IcX1/r0qC3wsUFecoElZ6gts+4tlfPUoeuSH/NFmyBEzrjZbgCqCH9YVXa/+W+dwQCOQ0G7K4SJepnlNcmpCtI29zMZgeRqmtzI0hImvQYt188MXK44ieh2wsmpVv6Y9EGIgJVR+t1IZKizm6Q2D5MCUC1uAVwu2iw7Xt5Re1XcWSaBC/nZt2iHaZF7kpgIXfrFshAEp7ImtleSI6IkFGMEFBQTEwM0NBNTM3RUFFRDg3QzI0REQ1MzkwOUI4MEE3OEE5MjNFMzgyM0Q2OERBQ0M5NEI5RkY4MzA1REMifVTgdc9kCwE5LJyeGFVSr+P70S1hwc62Ad03Oy1Ksxr823klh1hxYQDWBJETNf/YmYC9cHDGr6LxMQ8OOnwfg2xjsVU7ZUwWJbHid1vU/oJzHBXe54lHMNNre0HaQD6TSokVpazQsY3hRB84uevmeT7KVal98iqXd755VuiIxwHhhywaub1ogyQQEVxNGWx2+vL5Vh8NKmoghZQ+NLSZWRn77hJTGV+lKJdseGA9nV7DSlWodNmZ8RyRfQoqwtaK9woQ87PIN7XqSznZMS1HWMOE/aDLEXLJEfozHWrHuGVmn6Hupt/fBnm1GckSsMGeQNKS+4XmKGrJefrHDmdoZVBaZS9UjxfKjD2sCwu5vutgb6SLrECgCvu3q5/LTyFeTuPV1ZZrlpapC6umnWmSKmj/SdnhXJO00PNuFT2WY/GyH0cyA498zApE6VtLx2e9IvS01Oex6ZCRFDJ6sDCBzVN5g60vsm9tBut6trpQWyryqVM2cQ39xh9olCQ5Ml+2h4YFV5gA+1c0i+e6SeMtFJN788NW2EnQT/2pzM/rNAaSVwSf8vJcx3ZB9n8Pf8xi2buKZFEkyJpZJSg22JC/38D1E0tPRpQ7gZ1Z86meAGXnfKUtA+w2FllB2Y0dMrqi8jXnS/mqMPBmPVnIxUW96e40cB7W8E0VDf1IKx/wQphI8/vM3UOSqC81agmnyQ3nIDrAy8vqMOD+d1xcoElzRNy0OxU6v/90IKkhfAKr3Tur7Vb3FD6Pi/XrujJX95UlRd7fmaAI7Po1cIh1v7HEhsCNoh1z7WFNag==\",\n \"redirect\" : {\n \"method\" : \"GET\",\n \"url\" : \"https://test.adyen.com/hpp/checkout.shtml?u=redirectIdeal&p=eJxtUl1zmzAQ-DXwZgaB*XrQg0Nwg2s3DTVtJy8ZRbqAYlsikmCMf30FddNMpzOak2bvZm-3Ts*KCJZLBpgzIEeX9kqBoOMMFXXlcq17UCXDCAXIPYGiLRFmRanshcF70GZ3xd6TpTDQKGK4FJ4ZO8D5XZF-vq-3T5*KL0VV5v*tHEBpe*Pob5cKXmBSA1gbxUXzIWF6JW6JITjLUIySNItQliVxsH6v*cYbnNSHZsMfcydYr8SrE9yY7HRjavMAlyyIjhuK*tzszj9ew-uHrN854a3bkfEE1uBp9od833cV6Lra4taYzglXlsueo6Tk2EptLJL6qW8h2gI9yN7oVnYdKItoUAOnoO3z62-aUlB5sk4qYFwBNTYzoD9015odmFYyJ1z-M2yr7uO4nSBW8xisNpua1NlG0SQwmiTaMMpeLWzDjojRs-cMep7natDTrL*TI2fcjDjwA7Twlws-3aPYOkKZDVH26F69THtShE57woUlmpSBqw9czP*k65*9IfCuq0jiJElQGi69Szn8DPebmKXDWATt6vxEWduea7*sLy-Lt*1bcbctGhgZk78A5S7dyQ\"\n }\n}", + "originalRequest": { + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"ideal\",\n \"issuer\" : \"1121\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"ideal\",\n \"issuer\" : \"1121\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + ] }, { "name": "Make a Klarna payment", "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 \"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_IOfW3k9G2PvXFu2j\",\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" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + "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 \"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_IOfW3k9G2PvXFu2j\",\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" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + ] }, { "name": "Make a one-off payment with a token and CVV", "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"storedPaymentMethodId\" : \"8416038790273850\",\n \"cvc\" : \"737\"\n },\n \"shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID_6738oneoff\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"storedPaymentMethodId\" : \"8416038790273850\",\n \"cvc\" : \"737\"\n },\n \"shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID_6738oneoff\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + ] }, { "name": "Make a one-off payment with a token and CVV, using encrypted card details", "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"storedPaymentMethodId\" : \"8416038790273850\",\n \"encryptedSecurityCode\" : \"adyenjs_0_1_18$MT6ppy0FAMVMLH...\"\n },\n \"shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID_6738oneoff\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"shopperInteraction\" : \"ContAuth\",\n \"recurringProcessingModel\" : \"CardOnFile\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"storedPaymentMethodId\" : \"8416038790273850\",\n \"encryptedSecurityCode\" : \"adyenjs_0_1_18$MT6ppy0FAMVMLH...\"\n },\n \"shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID_6738oneoff\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"shopperInteraction\" : \"ContAuth\",\n \"recurringProcessingModel\" : \"CardOnFile\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + ] }, { "name": "Make a card payment with a token", "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"storedPaymentMethodId\" : \"8316038796685850\"\n },\n \"shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID_IOfW3subscription\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"shopperInteraction\" : \"ContAuth\",\n \"recurringProcessingModel\" : \"Subscription\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"storedPaymentMethodId\" : \"8316038796685850\"\n },\n \"shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID_IOfW3subscription\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"shopperInteraction\" : \"ContAuth\",\n \"recurringProcessingModel\" : \"Subscription\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + ] }, { "name": "Split a payment between balance accounts", "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 + "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 \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4111111111111111\",\n \"cvc\" : \"737\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\"\n },\n \"amount\" : {\n \"value\" : 40000,\n \"currency\" : \"USD\"\n },\n \"reference\" : \"{{$guid}}\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"platformChargebackLogic\" : {\n \"behavior\" : \"deductFromOneBalanceAccount\",\n \"targetAccount\" : \"BA00000000000000000000001\",\n \"costAllocationAccount\" : \"BA00000000000000000000001\"\n },\n \"splits\" : [ {\n \"amount\" : {\n \"value\" : 39600\n },\n \"type\" : \"BalanceAccount\",\n \"account\" : \"BA00000000000000000000001\",\n \"reference\" : \"Your reference for the sale amount\",\n \"description\" : \"Your description for the sale amount\"\n }, {\n \"amount\" : {\n \"value\" : 400\n },\n \"type\" : \"Commission\",\n \"reference\" : \"Your reference for the commission\",\n \"description\" : \"Your description for the commission\"\n }, {\n \"type\" : \"PaymentFee\",\n \"account\" : \"BA00000000000000000000001\",\n \"reference\" : \"Your reference for the fees\",\n \"description\" : \"Your description for the fees\"\n } ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"additionalData\" : {\n \"refusalReasonRaw\" : \"AUTHORISED\",\n \"eci\" : \"N/A\",\n \"acquirerAccountCode\" : \"YOUR_ACQUIRER_ACCOUNT\",\n \"xid\" : \"N/A\",\n \"threeDAuthenticated\" : \"false\",\n \"paymentMethodVariant\" : \"visa\",\n \"issuerBin\" : \"41111111\",\n \"payoutEligible\" : \"Y\",\n \"fraudManualReview\" : \"false\",\n \"threeDOffered\" : \"false\",\n \"threeDOfferedResponse\" : \"N/A\",\n \"authorisationMid\" : \"50\",\n \"fundsAvailability\" : \"I\",\n \"authorisedAmountCurrency\" : \"USD\",\n \"threeDAuthenticatedResponse\" : \"N/A\",\n \"avsResultRaw\" : \"5\",\n \"retry.attempt1.rawResponse\" : \"AUTHORISED\",\n \"paymentMethod\" : \"visa\",\n \"avsResult\" : \"5 No AVS data provided\",\n \"cardSummary\" : \"1111\",\n \"retry.attempt1.avsResultRaw\" : \"5\",\n \"networkTxReference\" : \"777718270854480\",\n \"expiryDate\" : \"3/2030\",\n \"cavvAlgorithm\" : \"N/A\",\n \"cardBin\" : \"411111\",\n \"alias\" : \"8915844059375211\",\n \"cvcResultRaw\" : \"M\",\n \"merchantReference\" : \"YOUR_ORDER_NUMBER\",\n \"acquirerReference\" : \"YOUR_ACQUIRER_REFERENCE\",\n \"cardIssuingCountry\" : \"NL\",\n \"liabilityShift\" : \"false\",\n \"fraudResultType\" : \"GREEN\",\n \"authCode\" : \"035450\",\n \"cardHolderName\" : \"John Smith\",\n \"isCardCommercial\" : \"unknown\",\n \"PaymentAccountReference\" : \"6006491286999921374...\",\n \"retry.attempt1.acquirerAccount\" : \"YOUR_ACQUIRER_ACCOUNT\",\n \"cardIssuingBank\" : \"ISSUING_BANK_CUSTOMER\",\n \"retry.attempt1.acquirer\" : \"YOUR_ACQUIRER_CODE\",\n \"authorisedAmountValue\" : \"40000\",\n \"issuerCountry\" : \"NL\",\n \"cvcResult\" : \"1 Matches\",\n \"retry.attempt1.responseCode\" : \"Approved\",\n \"aliasType\" : \"Default\",\n \"retry.attempt1.shopperInteraction\" : \"Ecommerce\",\n \"cardPaymentMethod\" : \"visa\",\n \"acquirerCode\" : \"YOUR_ACQUIRER_CODE\"\n },\n \"pspReference\" : \"PPKFQ89R6QRXGN82\",\n \"resultCode\" : \"Authorised\",\n \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 40000\n },\n \"donationToken\" : \"81234567890123456...\",\n \"merchantReference\" : \"YOUR_ORDER_NUMBER\",\n \"paymentMethod\" : {\n \"brand\" : \"visa\",\n \"type\" : \"scheme\"\n }\n}", + "originalRequest": { + "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 \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4111111111111111\",\n \"cvc\" : \"737\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\"\n },\n \"amount\" : {\n \"value\" : 40000,\n \"currency\" : \"USD\"\n },\n \"reference\" : \"{{$guid}}\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"platformChargebackLogic\" : {\n \"behavior\" : \"deductFromOneBalanceAccount\",\n \"targetAccount\" : \"BA00000000000000000000001\",\n \"costAllocationAccount\" : \"BA00000000000000000000001\"\n },\n \"splits\" : [ {\n \"amount\" : {\n \"value\" : 39600\n },\n \"type\" : \"BalanceAccount\",\n \"account\" : \"BA00000000000000000000001\",\n \"reference\" : \"Your reference for the sale amount\",\n \"description\" : \"Your description for the sale amount\"\n }, {\n \"amount\" : {\n \"value\" : 400\n },\n \"type\" : \"Commission\",\n \"reference\" : \"Your reference for the commission\",\n \"description\" : \"Your description for the commission\"\n }, {\n \"type\" : \"PaymentFee\",\n \"account\" : \"BA00000000000000000000001\",\n \"reference\" : \"Your reference for the fees\",\n \"description\" : \"Your description for the fees\"\n } ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4111111111111111\",\n \"cvc\" : \"737\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\"\n },\n \"amount\" : {\n \"value\" : 40000,\n \"currency\" : \"USD\"\n },\n \"reference\" : \"{{$guid}}\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"platformChargebackLogic\" : {\n \"behavior\" : \"deductFromOneBalanceAccount\",\n \"targetAccount\" : \"BA00000000000000000000001\",\n \"costAllocationAccount\" : \"BA00000000000000000000001\"\n },\n \"splits\" : [ {\n \"amount\" : {\n \"value\" : 39600\n },\n \"type\" : \"BalanceAccount\",\n \"account\" : \"BA00000000000000000000001\",\n \"reference\" : \"Your reference for the sale amount\",\n \"description\" : \"Your description for the sale amount\"\n }, {\n \"amount\" : {\n \"value\" : 400\n },\n \"type\" : \"Commission\",\n \"reference\" : \"Your reference for the commission\",\n \"description\" : \"Your description for the commission\"\n }, {\n \"type\" : \"PaymentFee\",\n \"account\" : \"BA00000000000000000000001\",\n \"reference\" : \"Your reference for the fees\",\n \"description\" : \"Your description for the fees\"\n } ]\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + ] }, { "name": "Split a payment in a Classic Platforms integration", "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 \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4111111111111111\",\n \"cvc\" : \"737\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\"\n },\n \"amount\" : {\n \"value\" : 6200,\n \"currency\" : \"EUR\"\n },\n \"reference\" : \"{{$guid}}\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"splits\" : [ {\n \"amount\" : {\n \"value\" : 6000\n },\n \"type\" : \"MarketPlace\",\n \"account\" : \"151272963\",\n \"reference\" : \"6124145\",\n \"description\" : \"Porcelain Doll: Eliza (20cm)\"\n }, {\n \"amount\" : {\n \"value\" : 200\n },\n \"type\" : \"Commission\",\n \"reference\" : \"6124146\"\n } ]\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + "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 \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4111111111111111\",\n \"cvc\" : \"737\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\"\n },\n \"amount\" : {\n \"value\" : 6200,\n \"currency\" : \"EUR\"\n },\n \"reference\" : \"{{$guid}}\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"splits\" : [ {\n \"amount\" : {\n \"value\" : 6000\n },\n \"type\" : \"MarketPlace\",\n \"account\" : \"151272963\",\n \"reference\" : \"6124145\",\n \"description\" : \"Porcelain Doll: Eliza (20cm)\"\n }, {\n \"amount\" : {\n \"value\" : 200\n },\n \"type\" : \"Commission\",\n \"reference\" : \"6124146\"\n } ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + ] }, { "name": "Tokenize card details for a subscription", "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 + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4111111111111111\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\",\n \"cvc\" : \"737\"\n },\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"storePaymentMethod\" : true,\n \"shopperInteraction\" : \"Ecommerce\",\n \"recurringProcessingModel\" : \"Subscription\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"additionalData\" : {\n \"cvcResult\" : \"1 Matches\",\n \"authCode\" : \"098871\",\n \"avsResult\" : \"4 AVS not supported for this card type\",\n \"recurring.recurringDetailReference\" : \"9916178934434753\",\n \"recurringProcessingModel\" : \"Subscription\",\n \"avsResultRaw\" : \"4\",\n \"cvcResultRaw\" : \"M\",\n \"refusalReasonRaw\" : \"AUTHORISED\",\n \"recurring.shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID_IOfW3k9G2PvXFu2j\",\n \"acquirerCode\" : \"TestPmmAcquirer\",\n \"acquirerReference\" : \"8PQMP9VD896\"\n },\n \"pspReference\" : \"993617895199574A\",\n \"resultCode\" : \"Authorised\",\n \"merchantReference\" : \"string\"\n}", + "originalRequest": { + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4111111111111111\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\",\n \"cvc\" : \"737\"\n },\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"storePaymentMethod\" : true,\n \"shopperInteraction\" : \"Ecommerce\",\n \"recurringProcessingModel\" : \"Subscription\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4111111111111111\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\",\n \"cvc\" : \"737\"\n },\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"storePaymentMethod\" : true,\n \"shopperInteraction\" : \"Ecommerce\",\n \"recurringProcessingModel\" : \"Subscription\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + ] } ] - } -, + }, { "name": "/payments/details", "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. ", @@ -2212,106 +3913,167 @@ { "name": "Submit the redirect result", "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 + "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 \"details\" : {\n \"redirectResult\" : \"X6XtfGC3!Y...\"\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. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"resultCode\" : \"Authorised\",\n \"pspReference\" : \"V4HZ4RBFJGXXGN82\"\n}", + "originalRequest": { + "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 \"details\" : {\n \"redirectResult\" : \"X6XtfGC3!Y...\"\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. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"details\" : {\n \"redirectResult\" : \"X6XtfGC3!Y...\"\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. " - } + ] }, { "name": "Submit 3D Secure 2 authentication result", "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 \"details\" : {\n \"threeDSResult\" : \"eyJ0cmFuc1N0YXR1cyI6IlkifQ==\"\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. " - } + "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 \"details\" : {\n \"threeDSResult\" : \"eyJ0cmFuc1N0YXR1cyI6IlkifQ==\"\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. " +} + ,"response": [ + ] } ] - } -, + }, { "name": "/sessions", "description": "Creates a payment session for [Web Drop-in](https://docs.adyen.com/online-payments/web-drop-in) and [Web Components](https://docs.adyen.com/online-payments/web-components) integrations. The response contains encrypted payment session data. The front end then uses the session data to make any required server-side calls for the payment flow. You get the payment outcome asynchronously, in an [AUTHORISATION](https://docs.adyen.com/api-explorer/#/Webhooks/latest/post/AUTHORISATION) webhook.", @@ -2319,202 +4081,437 @@ { "name": "Create a payment session", "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 + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"amount\" : {\n \"value\" : 100,\n \"currency\" : \"EUR\"\n },\n \"returnUrl\" : \"https://your-company.com/checkout?shopperOrder=12xy..\",\n \"reference\" : \"YOUR_PAYMENT_REFERENCE\",\n \"countryCode\" : \"NL\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/sessions", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "sessions" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates a payment session for [Web Drop-in](https://docs.adyen.com/online-payments/web-drop-in) and [Web Components](https://docs.adyen.com/online-payments/web-components) integrations. The response contains encrypted payment session data. The front end then uses the session data to make any required server-side calls for the payment flow. You get the payment outcome asynchronously, in an [AUTHORISATION](https://docs.adyen.com/api-explorer/#/Webhooks/latest/post/AUTHORISATION) webhook." +} + ,"response": [ + {"name": "Created - the request has been fulfilled and has resulted in one or more new resources being created.", + "code": 201, + "status": "Created", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 100\n },\n \"countryCode\" : \"NL\",\n \"expiresAt\" : \"2022-01-11T13:53:18+01:00\",\n \"id\" : \"CS451F2AB1ED897A94\",\n \"merchantAccount\" : \"YOUR_MERCHANT_ACCOUNT\",\n \"reference\" : \"YOUR_PAYMENT_REFERENCE\",\n \"returnUrl\" : \"https://your-company.com/checkout?shopperOrder=12xy..\",\n \"sessionData\" : \"Ab02b4c0!BQABAgBfYI29...\"\n}", + "originalRequest": { + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"amount\" : {\n \"value\" : 100,\n \"currency\" : \"EUR\"\n },\n \"returnUrl\" : \"https://your-company.com/checkout?shopperOrder=12xy..\",\n \"reference\" : \"YOUR_PAYMENT_REFERENCE\",\n \"countryCode\" : \"NL\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/sessions", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "sessions" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates a payment session for [Web Drop-in](https://docs.adyen.com/online-payments/web-drop-in) and [Web Components](https://docs.adyen.com/online-payments/web-components) integrations. The response contains encrypted payment session data. The front end then uses the session data to make any required server-side calls for the payment flow. You get the payment outcome asynchronously, in an [AUTHORISATION](https://docs.adyen.com/api-explorer/#/Webhooks/latest/post/AUTHORISATION) webhook." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"amount\" : {\n \"value\" : 100,\n \"currency\" : \"EUR\"\n },\n \"returnUrl\" : \"https://your-company.com/checkout?shopperOrder=12xy..\",\n \"reference\" : \"YOUR_PAYMENT_REFERENCE\",\n \"countryCode\" : \"NL\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/sessions", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "sessions" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Creates a payment session for [Web Drop-in](https://docs.adyen.com/online-payments/web-drop-in) and [Web Components](https://docs.adyen.com/online-payments/web-components) integrations. The response contains encrypted payment session data. The front end then uses the session data to make any required server-side calls for the payment flow. You get the payment outcome asynchronously, in an [AUTHORISATION](https://docs.adyen.com/api-explorer/#/Webhooks/latest/post/AUTHORISATION) webhook." - } + ] }, { "name": "Create a payment session including Klarna fields", "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 + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"reference\" : \"YOUR_ORDER_REFERENCE\",\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_SHOPPER_REFERENCE\",\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 \"dateOfBirth\" : \"1996-09-04\",\n \"socialSecurityNumber\" : \"0108\",\n \"returnUrl\" : \"https://example.org\",\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" + } + } + }, + "url": { + "raw": "{{baseUrl}}/sessions", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "sessions" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates a payment session for [Web Drop-in](https://docs.adyen.com/online-payments/web-drop-in) and [Web Components](https://docs.adyen.com/online-payments/web-components) integrations. The response contains encrypted payment session data. The front end then uses the session data to make any required server-side calls for the payment flow. You get the payment outcome asynchronously, in an [AUTHORISATION](https://docs.adyen.com/api-explorer/#/Webhooks/latest/post/AUTHORISATION) webhook." +} + ,"response": [ + {"name": "Created - the request has been fulfilled and has resulted in one or more new resources being created.", + "code": 201, + "status": "Created", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"amount\" : {\n \"currency\" : \"SEK\",\n \"value\" : 1000\n },\n \"billingAddress\" : {\n \"city\" : \"Ankeborg\",\n \"country\" : \"SE\",\n \"houseNumberOrName\" : \"1\",\n \"postalCode\" : \"12345\",\n \"street\" : \"Stargatan\"\n },\n \"countryCode\" : \"SE\",\n \"dateOfBirth\" : \"1996-09-04T02:00:00+02:00\",\n \"deliveryAddress\" : {\n \"city\" : \"Ankeborg\",\n \"country\" : \"SE\",\n \"houseNumberOrName\" : \"1\",\n \"postalCode\" : \"12345\",\n \"street\" : \"Stargatan\"\n },\n \"expiresAt\" : \"2022-01-11T13:57:52+01:00\",\n \"id\" : \"CSC52E9932D39ADAF3\",\n \"lineItems\" : [ {\n \"amountExcludingTax\" : 331,\n \"amountIncludingTax\" : 400,\n \"description\" : \"Shoes\",\n \"id\" : \"Item #1\",\n \"imageUrl\" : \"URL_TO_PICTURE_OF_PURCHASED_ITEM\",\n \"productUrl\" : \"URL_TO_PURCHASED_ITEM\",\n \"quantity\" : 1,\n \"taxAmount\" : 69,\n \"taxPercentage\" : 2100\n }, {\n \"amountExcludingTax\" : 248,\n \"amountIncludingTax\" : 300,\n \"description\" : \"Socks\",\n \"id\" : \"Item #2\",\n \"imageUrl\" : \"URL_TO_PICTURE_OF_PURCHASED_ITEM\",\n \"productUrl\" : \"URL_TO_PURCHASED_ITEM\",\n \"quantity\" : 2,\n \"taxAmount\" : 52,\n \"taxPercentage\" : 2100\n } ],\n \"merchantAccount\" : \"YOUR_MERCHANT_ACCOUNT\",\n \"reference\" : \"YOUR_ORDER_REFERENCE\",\n \"returnUrl\" : \"https://example.org\",\n \"shopperEmail\" : \"youremail@email.com\",\n \"shopperLocale\" : \"en_US\",\n \"shopperName\" : {\n \"firstName\" : \"Testperson-se\",\n \"lastName\" : \"Approved\"\n },\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"socialSecurityNumber\" : \"0108\",\n \"telephoneNumber\" : \"+46 840 839 298\",\n \"sessionData\" : \"Ab02b4c0!BQABAgBfYI29...\"\n}", + "originalRequest": { + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"reference\" : \"YOUR_ORDER_REFERENCE\",\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_SHOPPER_REFERENCE\",\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 \"dateOfBirth\" : \"1996-09-04\",\n \"socialSecurityNumber\" : \"0108\",\n \"returnUrl\" : \"https://example.org\",\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" + } + } + }, + "url": { + "raw": "{{baseUrl}}/sessions", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "sessions" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates a payment session for [Web Drop-in](https://docs.adyen.com/online-payments/web-drop-in) and [Web Components](https://docs.adyen.com/online-payments/web-components) integrations. The response contains encrypted payment session data. The front end then uses the session data to make any required server-side calls for the payment flow. You get the payment outcome asynchronously, in an [AUTHORISATION](https://docs.adyen.com/api-explorer/#/Webhooks/latest/post/AUTHORISATION) webhook." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"reference\" : \"YOUR_ORDER_REFERENCE\",\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_SHOPPER_REFERENCE\",\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 \"dateOfBirth\" : \"1996-09-04\",\n \"socialSecurityNumber\" : \"0108\",\n \"returnUrl\" : \"https://example.org\",\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" - } - } - }, - "url": { - "raw": "{{baseUrl}}/sessions", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "sessions" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Creates a payment session for [Web Drop-in](https://docs.adyen.com/online-payments/web-drop-in) and [Web Components](https://docs.adyen.com/online-payments/web-components) integrations. The response contains encrypted payment session data. The front end then uses the session data to make any required server-side calls for the payment flow. You get the payment outcome asynchronously, in an [AUTHORISATION](https://docs.adyen.com/api-explorer/#/Webhooks/latest/post/AUTHORISATION) webhook." - } + ] }, { "name": "Tokenize card details for one-off payments", "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 + "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 \"merchantAccount\" : \"TestMerchantCheckout\",\n \"amount\" : {\n \"value\" : 100,\n \"currency\" : \"EUR\"\n },\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"returnUrl\" : \"https://your-company.com/checkout?shopperOrder=12xy..\",\n \"reference\" : \"YOUR_PAYMENT_REFERENCE\",\n \"countryCode\" : \"NL\",\n \"storePaymentMethod\" : true,\n \"shopperInteraction\" : \"Ecommerce\",\n \"recurringProcessingModel\" : \"CardOnFile\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/sessions", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "sessions" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates a payment session for [Web Drop-in](https://docs.adyen.com/online-payments/web-drop-in) and [Web Components](https://docs.adyen.com/online-payments/web-components) integrations. The response contains encrypted payment session data. The front end then uses the session data to make any required server-side calls for the payment flow. You get the payment outcome asynchronously, in an [AUTHORISATION](https://docs.adyen.com/api-explorer/#/Webhooks/latest/post/AUTHORISATION) webhook." +} + ,"response": [ + {"name": "Created - the request has been fulfilled and has resulted in one or more new resources being created.", + "code": 201, + "status": "Created", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 100\n },\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"countryCode\" : \"NL\",\n \"expiresAt\" : \"2022-01-11T13:56:05+01:00\",\n \"id\" : \"CSEE37DC1DD751A01F\",\n \"merchantAccount\" : \"YOUR_MERCHANT_ACCOUNT\",\n \"recurringProcessingModel\" : \"CardOnFile\",\n \"reference\" : \"YOUR_PAYMENT_REFERENCE\",\n \"returnUrl\" : \"https://your-company.com/checkout?shopperOrder=12xy..\",\n \"shopperInteraction\" : \"Ecommerce\",\n \"storePaymentMethod\" : true,\n \"sessionData\" : \"Ab02b4c0!BQABAgBfYI29...\"\n}", + "originalRequest": { + "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 \"merchantAccount\" : \"TestMerchantCheckout\",\n \"amount\" : {\n \"value\" : 100,\n \"currency\" : \"EUR\"\n },\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"returnUrl\" : \"https://your-company.com/checkout?shopperOrder=12xy..\",\n \"reference\" : \"YOUR_PAYMENT_REFERENCE\",\n \"countryCode\" : \"NL\",\n \"storePaymentMethod\" : true,\n \"shopperInteraction\" : \"Ecommerce\",\n \"recurringProcessingModel\" : \"CardOnFile\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/sessions", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "sessions" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates a payment session for [Web Drop-in](https://docs.adyen.com/online-payments/web-drop-in) and [Web Components](https://docs.adyen.com/online-payments/web-components) integrations. The response contains encrypted payment session data. The front end then uses the session data to make any required server-side calls for the payment flow. You get the payment outcome asynchronously, in an [AUTHORISATION](https://docs.adyen.com/api-explorer/#/Webhooks/latest/post/AUTHORISATION) webhook." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"merchantAccount\" : \"TestMerchantCheckout\",\n \"amount\" : {\n \"value\" : 100,\n \"currency\" : \"EUR\"\n },\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"returnUrl\" : \"https://your-company.com/checkout?shopperOrder=12xy..\",\n \"reference\" : \"YOUR_PAYMENT_REFERENCE\",\n \"countryCode\" : \"NL\",\n \"storePaymentMethod\" : true,\n \"shopperInteraction\" : \"Ecommerce\",\n \"recurringProcessingModel\" : \"CardOnFile\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/sessions", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "sessions" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Creates a payment session for [Web Drop-in](https://docs.adyen.com/online-payments/web-drop-in) and [Web Components](https://docs.adyen.com/online-payments/web-components) integrations. The response contains encrypted payment session data. The front end then uses the session data to make any required server-side calls for the payment flow. You get the payment outcome asynchronously, in an [AUTHORISATION](https://docs.adyen.com/api-explorer/#/Webhooks/latest/post/AUTHORISATION) webhook." - } + ] }, { "name": "Split a payment between balance accounts", "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 + "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 \"amount\" : {\n \"value\" : 40000,\n \"currency\" : \"USD\"\n },\n \"reference\" : \"{{$guid}}\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"splits\" : [ {\n \"amount\" : {\n \"value\" : 39200\n },\n \"type\" : \"BalanceAccount\",\n \"account\" : \"BA00000000000000000000001\",\n \"reference\" : \"Your reference for the sale amount\",\n \"description\" : \"Your description for the sale amount\"\n }, {\n \"amount\" : {\n \"value\" : 400\n },\n \"type\" : \"Commission\",\n \"reference\" : \"Your reference for the commission\",\n \"description\" : \"Your description for the commission\"\n }, {\n \"amount\" : {\n \"value\" : 400\n },\n \"account\" : \"BA00000000000000000000001\",\n \"reference\" : \"Your reference for the fees\",\n \"description\" : \"Your description for the fees\",\n \"type\" : \"PaymentFee\"\n } ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/sessions", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "sessions" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates a payment session for [Web Drop-in](https://docs.adyen.com/online-payments/web-drop-in) and [Web Components](https://docs.adyen.com/online-payments/web-components) integrations. The response contains encrypted payment session data. The front end then uses the session data to make any required server-side calls for the payment flow. You get the payment outcome asynchronously, in an [AUTHORISATION](https://docs.adyen.com/api-explorer/#/Webhooks/latest/post/AUTHORISATION) webhook." +} + ,"response": [ + {"name": "Created - the request has been fulfilled and has resulted in one or more new resources being created.", + "code": 201, + "status": "Created", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 40000\n },\n \"expiresAt\" : \"2023-06-26T11:01:55+02:00\",\n \"id\" : \"CSFCBC80570618EF2C\",\n \"merchantAccount\" : \"YOUR_MERCHANT_ACCOUNT\",\n \"reference\" : \"YOUR_ORDER_NUMBER\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"shopperLocale\" : \"en-US\",\n \"splits\" : [ {\n \"account\" : \"BA00000000000000000000001\",\n \"amount\" : {\n \"value\" : 39200\n },\n \"description\" : \"Your description for the sale amount\",\n \"reference\" : \"Your reference for the sale amount\",\n \"type\" : \"BalanceAccount\"\n }, {\n \"amount\" : {\n \"value\" : 400\n },\n \"description\" : \"Your description for the commission\",\n \"reference\" : \"Your reference for the commission\",\n \"type\" : \"Commission\"\n }, {\n \"amount\" : {\n \"value\" : 400\n },\n \"account\" : \"BA00000000000000000000001\",\n \"description\" : \"Your description for the fees\",\n \"reference\" : \"Your reference for the fees\",\n \"type\" : \"PaymentFee\"\n } ],\n \"sessionData\" : \"Ab02b4c0!BQABAgCjTErwAztqXSFTiZtxZMjRLYkoGbPkmvCvDX1\"\n}", + "originalRequest": { + "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 \"amount\" : {\n \"value\" : 40000,\n \"currency\" : \"USD\"\n },\n \"reference\" : \"{{$guid}}\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"splits\" : [ {\n \"amount\" : {\n \"value\" : 39200\n },\n \"type\" : \"BalanceAccount\",\n \"account\" : \"BA00000000000000000000001\",\n \"reference\" : \"Your reference for the sale amount\",\n \"description\" : \"Your description for the sale amount\"\n }, {\n \"amount\" : {\n \"value\" : 400\n },\n \"type\" : \"Commission\",\n \"reference\" : \"Your reference for the commission\",\n \"description\" : \"Your description for the commission\"\n }, {\n \"amount\" : {\n \"value\" : 400\n },\n \"account\" : \"BA00000000000000000000001\",\n \"reference\" : \"Your reference for the fees\",\n \"description\" : \"Your description for the fees\",\n \"type\" : \"PaymentFee\"\n } ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/sessions", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "sessions" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates a payment session for [Web Drop-in](https://docs.adyen.com/online-payments/web-drop-in) and [Web Components](https://docs.adyen.com/online-payments/web-components) integrations. The response contains encrypted payment session data. The front end then uses the session data to make any required server-side calls for the payment flow. You get the payment outcome asynchronously, in an [AUTHORISATION](https://docs.adyen.com/api-explorer/#/Webhooks/latest/post/AUTHORISATION) webhook." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"value\" : 40000,\n \"currency\" : \"USD\"\n },\n \"reference\" : \"{{$guid}}\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"splits\" : [ {\n \"amount\" : {\n \"value\" : 39200\n },\n \"type\" : \"BalanceAccount\",\n \"account\" : \"BA00000000000000000000001\",\n \"reference\" : \"Your reference for the sale amount\",\n \"description\" : \"Your description for the sale amount\"\n }, {\n \"amount\" : {\n \"value\" : 400\n },\n \"type\" : \"Commission\",\n \"reference\" : \"Your reference for the commission\",\n \"description\" : \"Your description for the commission\"\n }, {\n \"amount\" : {\n \"value\" : 400\n },\n \"account\" : \"BA00000000000000000000001\",\n \"reference\" : \"Your reference for the fees\",\n \"description\" : \"Your description for the fees\",\n \"type\" : \"PaymentFee\"\n } ]\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/sessions", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "sessions" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Creates a payment session for [Web Drop-in](https://docs.adyen.com/online-payments/web-drop-in) and [Web Components](https://docs.adyen.com/online-payments/web-components) integrations. The response contains encrypted payment session data. The front end then uses the session data to make any required server-side calls for the payment flow. You get the payment outcome asynchronously, in an [AUTHORISATION](https://docs.adyen.com/api-explorer/#/Webhooks/latest/post/AUTHORISATION) webhook." - } + ] } ] - } -, + }, { "name": "/sessions/:sessionId", "description": "Returns the status of the payment session with the `sessionId` and `sessionResult` specified in the path.", @@ -2522,55 +4519,56 @@ { "name": "Get the result of a payment session", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/sessions/:sessionId", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "sessions", - ":sessionId" - ], - "variable": [ - { - "key": "sessionId", - "value": "", - "description": "A unique identifier of the session." - } - ], - "query": [ - { - "key": "sessionResult", - "value": "sessionResult_example", - "description": "The `sessionResult` value from the Drop-in or Component.", - "disabled": false - } - ] - }, - "description": "Returns the status of the payment session with the `sessionId` and `sessionResult` specified in the path." - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/sessions/:sessionId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "sessions", + ":sessionId" + ], + "variable": [ + { + "key": "sessionId", + "value": "", + "description": "A unique identifier of the session." + } + ], + "query": [ + { + "key": "sessionResult", + "value": "sessionResult_example", + "description": "The `sessionResult` value from the Drop-in or Component.", + "disabled": false + } + ] + }, + "description": "Returns the status of the payment session with the `sessionId` and `sessionResult` specified in the path." +} + ,"response": [ + ] } ] } - ] }, { @@ -2583,55 +4581,113 @@ { "name": "Create a payment link", "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 + "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 \"reference\" : \"{{$guid}}\",\n \"amount\" : {\n \"value\" : 1250,\n \"currency\" : \"BRL\"\n },\n \"countryCode\" : \"BR\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"shopperEmail\" : \"test@email.com\",\n \"shopperLocale\" : \"pt-BR\",\n \"billingAddress\" : {\n \"street\" : \"Roque Petroni Jr\",\n \"postalCode\" : \"59000060\",\n \"city\" : \"São Paulo\",\n \"houseNumberOrName\" : \"999\",\n \"country\" : \"BR\",\n \"stateOrProvince\" : \"SP\"\n },\n \"deliveryAddress\" : {\n \"street\" : \"Roque Petroni Jr\",\n \"postalCode\" : \"59000060\",\n \"city\" : \"São Paulo\",\n \"houseNumberOrName\" : \"999\",\n \"country\" : \"BR\",\n \"stateOrProvince\" : \"SP\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentLinks", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentLinks" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates a payment link to our hosted payment form where shoppers can pay. The list of payment methods presented to the shopper depends on the `currency` and `country` parameters sent in the request. For more information, refer to [Pay by Link documentation](https://docs.adyen.com/online-payments/pay-by-link#create-payment-links-through-api)." +} + ,"response": [ + {"name": "Created - the request has succeeded.", + "code": 201, + "status": "Created", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"amount\" : {\n \"currency\" : \"BRL\",\n \"value\" : 1250\n },\n \"billingAddress\" : {\n \"city\" : \"São Paulo\",\n \"country\" : \"BR\",\n \"houseNumberOrName\" : \"999\",\n \"postalCode\" : \"59000060\",\n \"stateOrProvince\" : \"SP\",\n \"street\" : \"Roque Petroni Jr\"\n },\n \"countryCode\" : \"BR\",\n \"deliveryAddress\" : {\n \"city\" : \"São Paulo\",\n \"country\" : \"BR\",\n \"houseNumberOrName\" : \"999\",\n \"postalCode\" : \"59000060\",\n \"stateOrProvince\" : \"SP\",\n \"street\" : \"Roque Petroni Jr\"\n },\n \"expiresAt\" : \"2022-10-28T09:16:22Z\",\n \"merchantAccount\" : \"YOUR_MERCHANT_ACCOUNT\",\n \"reference\" : \"YOUR_ORDER_NUMBER\",\n \"reusable\" : false,\n \"shopperEmail\" : \"test@email.com\",\n \"shopperLocale\" : \"pt-BR\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"id\" : \"PLE83C39B0A0DE0C1E\",\n \"status\" : \"active\",\n \"url\" : \"https://test.adyen.link/PLE83C39B0A0DE0C1E\"\n}", + "originalRequest": { + "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 \"reference\" : \"{{$guid}}\",\n \"amount\" : {\n \"value\" : 1250,\n \"currency\" : \"BRL\"\n },\n \"countryCode\" : \"BR\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"shopperEmail\" : \"test@email.com\",\n \"shopperLocale\" : \"pt-BR\",\n \"billingAddress\" : {\n \"street\" : \"Roque Petroni Jr\",\n \"postalCode\" : \"59000060\",\n \"city\" : \"São Paulo\",\n \"houseNumberOrName\" : \"999\",\n \"country\" : \"BR\",\n \"stateOrProvince\" : \"SP\"\n },\n \"deliveryAddress\" : {\n \"street\" : \"Roque Petroni Jr\",\n \"postalCode\" : \"59000060\",\n \"city\" : \"São Paulo\",\n \"houseNumberOrName\" : \"999\",\n \"country\" : \"BR\",\n \"stateOrProvince\" : \"SP\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentLinks", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentLinks" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates a payment link to our hosted payment form where shoppers can pay. The list of payment methods presented to the shopper depends on the `currency` and `country` parameters sent in the request. For more information, refer to [Pay by Link documentation](https://docs.adyen.com/online-payments/pay-by-link#create-payment-links-through-api)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"reference\" : \"{{$guid}}\",\n \"amount\" : {\n \"value\" : 1250,\n \"currency\" : \"BRL\"\n },\n \"countryCode\" : \"BR\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"shopperEmail\" : \"test@email.com\",\n \"shopperLocale\" : \"pt-BR\",\n \"billingAddress\" : {\n \"street\" : \"Roque Petroni Jr\",\n \"postalCode\" : \"59000060\",\n \"city\" : \"São Paulo\",\n \"houseNumberOrName\" : \"999\",\n \"country\" : \"BR\",\n \"stateOrProvince\" : \"SP\"\n },\n \"deliveryAddress\" : {\n \"street\" : \"Roque Petroni Jr\",\n \"postalCode\" : \"59000060\",\n \"city\" : \"São Paulo\",\n \"houseNumberOrName\" : \"999\",\n \"country\" : \"BR\",\n \"stateOrProvince\" : \"SP\"\n }\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentLinks", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentLinks" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Creates a payment link to our hosted payment form where shoppers can pay. The list of payment methods presented to the shopper depends on the `currency` and `country` parameters sent in the request. For more information, refer to [Pay by Link documentation](https://docs.adyen.com/online-payments/pay-by-link#create-payment-links-through-api)." - } + ] } ] - } -, + }, { "name": "/paymentLinks/:linkId", "description": "Retrieves the payment link details using the payment link `id`.", @@ -2639,49 +4695,50 @@ { "name": "Get a payment link", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentLinks/:linkId", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentLinks", - ":linkId" - ], - "variable": [ - { - "key": "linkId", - "value": "", - "description": "Unique identifier of the payment link." - } - ], - "query": [ - ] - }, - "description": "Retrieves the payment link details using the payment link `id`." - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentLinks/:linkId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentLinks", + ":linkId" + ], + "variable": [ + { + "key": "linkId", + "value": "", + "description": "Unique identifier of the payment link." + } + ], + "query": [ + ] + }, + "description": "Retrieves the payment link details using the payment link `id`." +} + ,"response": [ + ] } ] - } -, + }, { "name": "/paymentLinks/:linkId", "description": "Updates the status of a payment link. Use this endpoint to [force the expiry of a payment link](https://docs.adyen.com/online-payments/pay-by-link#update-payment-link-status).", @@ -2689,55 +4746,113 @@ { "name": "Update the status of a payment link", "request": { - "method": "PATCH", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"status\" : \"expired\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentLinks/:linkId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentLinks", + ":linkId" + ], + "variable": [ + { + "key": "linkId", + "value": "", + "description": "Unique identifier of the payment link." + } + ], + "query": [ + ] + }, + "description": "Updates the status of a payment link. Use this endpoint to [force the expiry of a payment link](https://docs.adyen.com/online-payments/pay-by-link#update-payment-link-status)." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 8700\n },\n \"countryCode\" : \"NL\",\n \"expiresAt\" : \"2021-04-08T14:06:39Z\",\n \"merchantAccount\" : \"YOUR_MERCHANT_ACCOUNT\",\n \"reference\" : \"shopper-reference-ekvL83\",\n \"shopperLocale\" : \"hu-HU\",\n \"shopperReference\" : \"shopper-reference-LZfdWZ\",\n \"status\" : \"expired\",\n \"url\" : \"https://test.adyen.link/PL61C53A8B97E6915A\",\n \"id\" : \"PL61C53A8B97E6915A\"\n}", + "originalRequest": { + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"status\" : \"expired\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentLinks/:linkId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentLinks", + ":linkId" + ], + "variable": [ + { + "key": "linkId", + "value": "", + "description": "Unique identifier of the payment link." + } + ], + "query": [ + ] + }, + "description": "Updates the status of a payment link. Use this endpoint to [force the expiry of a payment link](https://docs.adyen.com/online-payments/pay-by-link#update-payment-link-status)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"status\" : \"expired\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentLinks/:linkId", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentLinks", - ":linkId" - ], - "variable": [ - { - "key": "linkId", - "value": "", - "description": "Unique identifier of the payment link." - } - ], - "query": [ - ] - }, - "description": "Updates the status of a payment link. Use this endpoint to [force the expiry of a payment link](https://docs.adyen.com/online-payments/pay-by-link#update-payment-link-status)." - } + ] } ] } - ] } ], diff --git a/postman/CheckoutService-v70.json b/postman/CheckoutService-v70.json index 8bc84c0..fb56faa 100644 --- a/postman/CheckoutService-v70.json +++ b/postman/CheckoutService-v70.json @@ -19,55 +19,113 @@ { "name": "Cancel a payment using your own reference", "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 + "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 \"paymentReference\" : \"YOUR_UNIQUE_REFERENCE_FOR_THE_PAYMENT\",\n \"reference\" : \"YOUR_UNIQUE_REFERENCE_FOR_THE_CANCELLATION\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/cancels", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "cancels" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Cancels the authorisation on a payment that has not yet been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/captures), and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**TECHNICAL_CANCEL** webhook](https://docs.adyen.com/online-payments/cancel#cancellation-webhook). If you want to cancel a payment using the [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference), use the [`/payments/{paymentPspReference}/cancels`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/cancels) endpoint instead. If you want to cancel a payment but are not sure whether it has been captured, use the [`/payments/{paymentPspReference}/reversals`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/reversals) endpoint instead. For more information, refer to [Cancel](https://docs.adyen.com/online-payments/cancel)." +} + ,"response": [ + {"name": "Created - the request has been fulfilled and has resulted in one or more new resources being created.", + "code": 201, + "status": "Created", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"merchantAccount\" : \"YOUR_MERCHANT_ACCOUNT\",\n \"paymentReference\" : \"YOUR_UNIQUE_REFERENCE_FOR_THE_PAYMENT\",\n \"reference\" : \"YOUR_UNIQUE_REFERENCE_FOR_THE_CANCELLATION\",\n \"pspReference\" : \"993617894906488A\",\n \"status\" : \"received\"\n}", + "originalRequest": { + "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 \"paymentReference\" : \"YOUR_UNIQUE_REFERENCE_FOR_THE_PAYMENT\",\n \"reference\" : \"YOUR_UNIQUE_REFERENCE_FOR_THE_CANCELLATION\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/cancels", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "cancels" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Cancels the authorisation on a payment that has not yet been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/captures), and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**TECHNICAL_CANCEL** webhook](https://docs.adyen.com/online-payments/cancel#cancellation-webhook). If you want to cancel a payment using the [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference), use the [`/payments/{paymentPspReference}/cancels`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/cancels) endpoint instead. If you want to cancel a payment but are not sure whether it has been captured, use the [`/payments/{paymentPspReference}/reversals`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/reversals) endpoint instead. For more information, refer to [Cancel](https://docs.adyen.com/online-payments/cancel)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"paymentReference\" : \"YOUR_UNIQUE_REFERENCE_FOR_THE_PAYMENT\",\n \"reference\" : \"YOUR_UNIQUE_REFERENCE_FOR_THE_CANCELLATION\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/cancels", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "cancels" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Cancels the authorisation on a payment that has not yet been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/captures), and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**TECHNICAL_CANCEL** webhook](https://docs.adyen.com/online-payments/cancel#cancellation-webhook). If you want to cancel a payment using the [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference), use the [`/payments/{paymentPspReference}/cancels`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/cancels) endpoint instead. If you want to cancel a payment but are not sure whether it has been captured, use the [`/payments/{paymentPspReference}/reversals`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/reversals) endpoint instead. For more information, refer to [Cancel](https://docs.adyen.com/online-payments/cancel)." - } + ] } ] - } -, + }, { "name": "/payments/:paymentPspReference/amountUpdates", "description": "Increases or decreases the authorised payment amount and returns a unique reference for this request. You get the outcome of the request asynchronously, in an [**AUTHORISATION_ADJUSTMENT** webhook](https://docs.adyen.com/development-resources/webhooks/understand-notifications#event-codes). You can only update authorised amounts that have not yet been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/captures). The amount you specify in the request is the updated amount, which is larger or smaller than the initial authorised amount. For more information, refer to [Authorisation adjustment](https://docs.adyen.com/online-payments/adjust-authorisation#use-cases).", @@ -75,62 +133,127 @@ { "name": "Update the amount of an authorised payment", "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 + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 2500\n },\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments/:paymentPspReference/amountUpdates", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments", + ":paymentPspReference", + "amountUpdates" + ], + "variable": [ + { + "key": "paymentPspReference", + "value": "", + "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment." + } + ], + "query": [ + ] + }, + "description": "Increases or decreases the authorised payment amount and returns a unique reference for this request. You get the outcome of the request asynchronously, in an [**AUTHORISATION_ADJUSTMENT** webhook](https://docs.adyen.com/development-resources/webhooks/understand-notifications#event-codes). You can only update authorised amounts that have not yet been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/captures). The amount you specify in the request is the updated amount, which is larger or smaller than the initial authorised amount. For more information, refer to [Authorisation adjustment](https://docs.adyen.com/online-payments/adjust-authorisation#use-cases)." +} + ,"response": [ + {"name": "Created - the request has been fulfilled and has resulted in one or more new resources being created.", + "code": 201, + "status": "Created", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"merchantAccount\" : \"YOUR_MERCHANT_ACCOUNT\",\n \"paymentPspReference\" : \"993617894903480A\",\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"pspReference\" : \"993617894906488A\",\n \"status\" : \"received\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 2500\n }\n}", + "originalRequest": { + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 2500\n },\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments/:paymentPspReference/amountUpdates", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments", + ":paymentPspReference", + "amountUpdates" + ], + "variable": [ + { + "key": "paymentPspReference", + "value": "", + "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment." + } + ], + "query": [ + ] + }, + "description": "Increases or decreases the authorised payment amount and returns a unique reference for this request. You get the outcome of the request asynchronously, in an [**AUTHORISATION_ADJUSTMENT** webhook](https://docs.adyen.com/development-resources/webhooks/understand-notifications#event-codes). You can only update authorised amounts that have not yet been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/captures). The amount you specify in the request is the updated amount, which is larger or smaller than the initial authorised amount. For more information, refer to [Authorisation adjustment](https://docs.adyen.com/online-payments/adjust-authorisation#use-cases)." +} } - ], - "body": { - "mode": "raw", - "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" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments/:paymentPspReference/amountUpdates", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments", - ":paymentPspReference", - "amountUpdates" - ], - "variable": [ - { - "key": "paymentPspReference", - "value": "", - "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment." - } - ], - "query": [ - ] - }, - "description": "Increases or decreases the authorised payment amount and returns a unique reference for this request. You get the outcome of the request asynchronously, in an [**AUTHORISATION_ADJUSTMENT** webhook](https://docs.adyen.com/development-resources/webhooks/understand-notifications#event-codes). You can only update authorised amounts that have not yet been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/captures). The amount you specify in the request is the updated amount, which is larger or smaller than the initial authorised amount. For more information, refer to [Authorisation adjustment](https://docs.adyen.com/online-payments/adjust-authorisation#use-cases)." - } + ] } ] - } -, + }, { "name": "/payments/:paymentPspReference/cancels", "description": "Cancels the authorisation on a payment that has not yet been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/paymentPspReference/captures), and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CANCELLATION** webhook](https://docs.adyen.com/online-payments/cancel#cancellation-webhook). If you want to cancel a payment but don't have the [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference), use the [`/cancels`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cancels) endpoint instead. If you want to cancel a payment but are not sure whether it has been captured, use the [`/payments/{paymentPspReference}/reversals`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/reversals) endpoint instead. For more information, refer to [Cancel](https://docs.adyen.com/online-payments/cancel).", @@ -138,62 +261,127 @@ { "name": "Cancel payment using a PSP reference", "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 + "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 \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments/:paymentPspReference/cancels", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments", + ":paymentPspReference", + "cancels" + ], + "variable": [ + { + "key": "paymentPspReference", + "value": "", + "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to cancel. " + } + ], + "query": [ + ] + }, + "description": "Cancels the authorisation on a payment that has not yet been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/paymentPspReference/captures), and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CANCELLATION** webhook](https://docs.adyen.com/online-payments/cancel#cancellation-webhook). If you want to cancel a payment but don't have the [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference), use the [`/cancels`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cancels) endpoint instead. If you want to cancel a payment but are not sure whether it has been captured, use the [`/payments/{paymentPspReference}/reversals`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/reversals) endpoint instead. For more information, refer to [Cancel](https://docs.adyen.com/online-payments/cancel)." +} + ,"response": [ + {"name": "Created - the request has been fulfilled and has resulted in one or more new resources being created.", + "code": 201, + "status": "Created", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"merchantAccount\" : \"YOUR_MERCHANT_ACCOUNT\",\n \"paymentPspReference\" : \"993617894903480A\",\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"pspReference\" : \"993617894906488A\",\n \"status\" : \"received\"\n}", + "originalRequest": { + "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 \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments/:paymentPspReference/cancels", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments", + ":paymentPspReference", + "cancels" + ], + "variable": [ + { + "key": "paymentPspReference", + "value": "", + "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to cancel. " + } + ], + "query": [ + ] + }, + "description": "Cancels the authorisation on a payment that has not yet been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/paymentPspReference/captures), and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CANCELLATION** webhook](https://docs.adyen.com/online-payments/cancel#cancellation-webhook). If you want to cancel a payment but don't have the [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference), use the [`/cancels`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cancels) endpoint instead. If you want to cancel a payment but are not sure whether it has been captured, use the [`/payments/{paymentPspReference}/reversals`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/reversals) endpoint instead. For more information, refer to [Cancel](https://docs.adyen.com/online-payments/cancel)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments/:paymentPspReference/cancels", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments", - ":paymentPspReference", - "cancels" - ], - "variable": [ - { - "key": "paymentPspReference", - "value": "", - "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to cancel. " - } - ], - "query": [ - ] - }, - "description": "Cancels the authorisation on a payment that has not yet been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/paymentPspReference/captures), and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CANCELLATION** webhook](https://docs.adyen.com/online-payments/cancel#cancellation-webhook). If you want to cancel a payment but don't have the [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference), use the [`/cancels`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cancels) endpoint instead. If you want to cancel a payment but are not sure whether it has been captured, use the [`/payments/{paymentPspReference}/reversals`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/reversals) endpoint instead. For more information, refer to [Cancel](https://docs.adyen.com/online-payments/cancel)." - } + ] } ] - } -, + }, { "name": "/payments/:paymentPspReference/captures", "description": " Captures an authorised payment and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CAPTURE** webhook](https://docs.adyen.com/online-payments/capture#capture-notification). You can capture either the full authorised amount or a part of the authorised amount. By default, any unclaimed amount after a partial capture gets cancelled. This does not apply if you enabled multiple partial captures on your account and the payment method supports multiple partial captures. [Automatic capture](https://docs.adyen.com/online-payments/capture#automatic-capture) is the default setting for most payment methods. In these cases, you don't need to make capture requests. However, making capture requests for payments that are captured automatically does not result in double charges. For more information, refer to [Capture](https://docs.adyen.com/online-payments/capture).", @@ -201,62 +389,127 @@ { "name": "Capture an authorised payment", "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 + "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 \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"amount\" : {\n \"value\" : 2000,\n \"currency\" : \"EUR\"\n },\n \"platformChargebackLogic\" : {\n \"behavior\" : \"deductFromOneBalanceAccount\",\n \"targetAccount\" : \"BA00000000000000000000001\",\n \"costAllocationAccount\" : \"BA00000000000000000000001\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments/:paymentPspReference/captures", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments", + ":paymentPspReference", + "captures" + ], + "variable": [ + { + "key": "paymentPspReference", + "value": "", + "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to capture." + } + ], + "query": [ + ] + }, + "description": " Captures an authorised payment and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CAPTURE** webhook](https://docs.adyen.com/online-payments/capture#capture-notification). You can capture either the full authorised amount or a part of the authorised amount. By default, any unclaimed amount after a partial capture gets cancelled. This does not apply if you enabled multiple partial captures on your account and the payment method supports multiple partial captures. [Automatic capture](https://docs.adyen.com/online-payments/capture#automatic-capture) is the default setting for most payment methods. In these cases, you don't need to make capture requests. However, making capture requests for payments that are captured automatically does not result in double charges. For more information, refer to [Capture](https://docs.adyen.com/online-payments/capture)." +} + ,"response": [ + {"name": "Created - the request has been fulfilled and has resulted in one or more new resources being created.", + "code": 201, + "status": "Created", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"merchantAccount\" : \"YOUR_MERCHANT_ACCOUNT\",\n \"paymentPspReference\" : \"993617894903480A\",\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"pspReference\" : \"993617894906488A\",\n \"status\" : \"received\",\n \"amount\" : {\n \"value\" : 2000,\n \"currency\" : \"EUR\"\n },\n \"platformChargebackLogic\" : {\n \"behavior\" : \"deductFromOneBalanceAccount\",\n \"targetAccount\" : \"BA00000000000000000000001\",\n \"costAllocationAccount\" : \"BA00000000000000000000001\"\n }\n}", + "originalRequest": { + "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 \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"amount\" : {\n \"value\" : 2000,\n \"currency\" : \"EUR\"\n },\n \"platformChargebackLogic\" : {\n \"behavior\" : \"deductFromOneBalanceAccount\",\n \"targetAccount\" : \"BA00000000000000000000001\",\n \"costAllocationAccount\" : \"BA00000000000000000000001\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments/:paymentPspReference/captures", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments", + ":paymentPspReference", + "captures" + ], + "variable": [ + { + "key": "paymentPspReference", + "value": "", + "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to capture." + } + ], + "query": [ + ] + }, + "description": " Captures an authorised payment and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CAPTURE** webhook](https://docs.adyen.com/online-payments/capture#capture-notification). You can capture either the full authorised amount or a part of the authorised amount. By default, any unclaimed amount after a partial capture gets cancelled. This does not apply if you enabled multiple partial captures on your account and the payment method supports multiple partial captures. [Automatic capture](https://docs.adyen.com/online-payments/capture#automatic-capture) is the default setting for most payment methods. In these cases, you don't need to make capture requests. However, making capture requests for payments that are captured automatically does not result in double charges. For more information, refer to [Capture](https://docs.adyen.com/online-payments/capture)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"amount\" : {\n \"value\" : 2000,\n \"currency\" : \"EUR\"\n },\n \"platformChargebackLogic\" : {\n \"behavior\" : \"deductFromOneBalanceAccount\",\n \"targetAccount\" : \"BA00000000000000000000001\",\n \"costAllocationAccount\" : \"BA00000000000000000000001\"\n }\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments/:paymentPspReference/captures", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments", - ":paymentPspReference", - "captures" - ], - "variable": [ - { - "key": "paymentPspReference", - "value": "", - "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to capture." - } - ], - "query": [ - ] - }, - "description": " Captures an authorised payment and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CAPTURE** webhook](https://docs.adyen.com/online-payments/capture#capture-notification). You can capture either the full authorised amount or a part of the authorised amount. By default, any unclaimed amount after a partial capture gets cancelled. This does not apply if you enabled multiple partial captures on your account and the payment method supports multiple partial captures. [Automatic capture](https://docs.adyen.com/online-payments/capture#automatic-capture) is the default setting for most payment methods. In these cases, you don't need to make capture requests. However, making capture requests for payments that are captured automatically does not result in double charges. For more information, refer to [Capture](https://docs.adyen.com/online-payments/capture)." - } + ] } ] - } -, + }, { "name": "/payments/:paymentPspReference/refunds", "description": "Refunds a payment that has been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/captures), and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**REFUND** webhook](https://docs.adyen.com/online-payments/refund#refund-webhook). You can refund either the full captured amount or a part of the captured amount. You can also perform multiple partial refunds, as long as their sum doesn't exceed the captured amount. > Some payment methods do not support partial refunds. To learn if a payment method supports partial refunds, refer to the payment method page such as [cards](https://docs.adyen.com/payment-methods/cards#supported-cards), [iDEAL](https://docs.adyen.com/payment-methods/ideal), or [Klarna](https://docs.adyen.com/payment-methods/klarna). If you want to refund a payment but are not sure whether it has been captured, use the [`/payments/{paymentPspReference}/reversals`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/reversals) endpoint instead. For more information, refer to [Refund](https://docs.adyen.com/online-payments/refund).", @@ -264,62 +517,127 @@ { "name": "Refund a payment", "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 + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 2500\n },\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments/:paymentPspReference/refunds", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments", + ":paymentPspReference", + "refunds" + ], + "variable": [ + { + "key": "paymentPspReference", + "value": "", + "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to refund." + } + ], + "query": [ + ] + }, + "description": "Refunds a payment that has been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/captures), and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**REFUND** webhook](https://docs.adyen.com/online-payments/refund#refund-webhook). You can refund either the full captured amount or a part of the captured amount. You can also perform multiple partial refunds, as long as their sum doesn't exceed the captured amount. > Some payment methods do not support partial refunds. To learn if a payment method supports partial refunds, refer to the payment method page such as [cards](https://docs.adyen.com/payment-methods/cards#supported-cards), [iDEAL](https://docs.adyen.com/payment-methods/ideal), or [Klarna](https://docs.adyen.com/payment-methods/klarna). If you want to refund a payment but are not sure whether it has been captured, use the [`/payments/{paymentPspReference}/reversals`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/reversals) endpoint instead. For more information, refer to [Refund](https://docs.adyen.com/online-payments/refund)." +} + ,"response": [ + {"name": "Created - the request has been fulfilled and has resulted in one or more new resources being created.", + "code": 201, + "status": "Created", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"merchantAccount\" : \"YOUR_MERCHANT_ACCOUNT\",\n \"paymentPspReference\" : \"993617894903480A\",\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"pspReference\" : \"993617894906488A\",\n \"status\" : \"received\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 2500\n }\n}", + "originalRequest": { + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 2500\n },\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments/:paymentPspReference/refunds", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments", + ":paymentPspReference", + "refunds" + ], + "variable": [ + { + "key": "paymentPspReference", + "value": "", + "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to refund." + } + ], + "query": [ + ] + }, + "description": "Refunds a payment that has been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/captures), and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**REFUND** webhook](https://docs.adyen.com/online-payments/refund#refund-webhook). You can refund either the full captured amount or a part of the captured amount. You can also perform multiple partial refunds, as long as their sum doesn't exceed the captured amount. > Some payment methods do not support partial refunds. To learn if a payment method supports partial refunds, refer to the payment method page such as [cards](https://docs.adyen.com/payment-methods/cards#supported-cards), [iDEAL](https://docs.adyen.com/payment-methods/ideal), or [Klarna](https://docs.adyen.com/payment-methods/klarna). If you want to refund a payment but are not sure whether it has been captured, use the [`/payments/{paymentPspReference}/reversals`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/reversals) endpoint instead. For more information, refer to [Refund](https://docs.adyen.com/online-payments/refund)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 2500\n },\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments/:paymentPspReference/refunds", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments", - ":paymentPspReference", - "refunds" - ], - "variable": [ - { - "key": "paymentPspReference", - "value": "", - "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to refund." - } - ], - "query": [ - ] - }, - "description": "Refunds a payment that has been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/captures), and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**REFUND** webhook](https://docs.adyen.com/online-payments/refund#refund-webhook). You can refund either the full captured amount or a part of the captured amount. You can also perform multiple partial refunds, as long as their sum doesn't exceed the captured amount. > Some payment methods do not support partial refunds. To learn if a payment method supports partial refunds, refer to the payment method page such as [cards](https://docs.adyen.com/payment-methods/cards#supported-cards), [iDEAL](https://docs.adyen.com/payment-methods/ideal), or [Klarna](https://docs.adyen.com/payment-methods/klarna). If you want to refund a payment but are not sure whether it has been captured, use the [`/payments/{paymentPspReference}/reversals`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/reversals) endpoint instead. For more information, refer to [Refund](https://docs.adyen.com/online-payments/refund)." - } + ] } ] - } -, + }, { "name": "/payments/:paymentPspReference/reversals", "description": "[Refunds](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/refunds) a payment if it has already been captured, and [cancels](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/cancels) a payment if it has not yet been captured. Returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CANCEL_OR_REFUND** webhook](https://docs.adyen.com/online-payments/reverse#cancel-or-refund-webhook). The reversed amount is always the full payment amount. > Do not use this request for payments that involve multiple partial captures. For more information, refer to [Reversal](https://docs.adyen.com/online-payments/reversal).", @@ -327,62 +645,127 @@ { "name": "Reverse (cancel or refund) a payment", "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 + "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 \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments/:paymentPspReference/reversals", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments", + ":paymentPspReference", + "reversals" + ], + "variable": [ + { + "key": "paymentPspReference", + "value": "", + "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to reverse. " + } + ], + "query": [ + ] + }, + "description": "[Refunds](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/refunds) a payment if it has already been captured, and [cancels](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/cancels) a payment if it has not yet been captured. Returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CANCEL_OR_REFUND** webhook](https://docs.adyen.com/online-payments/reverse#cancel-or-refund-webhook). The reversed amount is always the full payment amount. > Do not use this request for payments that involve multiple partial captures. For more information, refer to [Reversal](https://docs.adyen.com/online-payments/reversal)." +} + ,"response": [ + {"name": "Created - the request has been fulfilled and has resulted in one or more new resources being created.", + "code": 201, + "status": "Created", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"merchantAccount\" : \"YOUR_MERCHANT_ACCOUNT\",\n \"paymentPspReference\" : \"993617894903480A\",\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"pspReference\" : \"993617894906488A\",\n \"status\" : \"received\"\n}", + "originalRequest": { + "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 \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments/:paymentPspReference/reversals", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments", + ":paymentPspReference", + "reversals" + ], + "variable": [ + { + "key": "paymentPspReference", + "value": "", + "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to reverse. " + } + ], + "query": [ + ] + }, + "description": "[Refunds](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/refunds) a payment if it has already been captured, and [cancels](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/cancels) a payment if it has not yet been captured. Returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CANCEL_OR_REFUND** webhook](https://docs.adyen.com/online-payments/reverse#cancel-or-refund-webhook). The reversed amount is always the full payment amount. > Do not use this request for payments that involve multiple partial captures. For more information, refer to [Reversal](https://docs.adyen.com/online-payments/reversal)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments/:paymentPspReference/reversals", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments", - ":paymentPspReference", - "reversals" - ], - "variable": [ - { - "key": "paymentPspReference", - "value": "", - "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to reverse. " - } - ], - "query": [ - ] - }, - "description": "[Refunds](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/refunds) a payment if it has already been captured, and [cancels](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/cancels) a payment if it has not yet been captured. Returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CANCEL_OR_REFUND** webhook](https://docs.adyen.com/online-payments/reverse#cancel-or-refund-webhook). The reversed amount is always the full payment amount. > Do not use this request for payments that involve multiple partial captures. For more information, refer to [Reversal](https://docs.adyen.com/online-payments/reversal)." - } + ] } ] } - ] }, { @@ -395,251 +778,374 @@ { "name": "Set up a payment session (Android)", "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 17408\n },\n \"reference\" : \"Your order number\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"channel\" : \"Android\",\n \"token\" : \"TOKEN_YOU_GET_FROM_CHECKOUT_SDK\",\n \"returnUrl\" : \"app://\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl_NL\",\n \"sessionValidity\" : \"2017-04-06T13:09:13Z\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentSession", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentSession" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Provides the data object that can be used to start the Checkout SDK. To set up the payment, pass its amount, currency, and other required parameters. We use this to optimise the payment flow and perform better risk assessment of the transaction. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." - } + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 17408\n },\n \"reference\" : \"Your order number\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"channel\" : \"Android\",\n \"token\" : \"TOKEN_YOU_GET_FROM_CHECKOUT_SDK\",\n \"returnUrl\" : \"app://\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl_NL\",\n \"sessionValidity\" : \"2017-04-06T13:09:13Z\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentSession", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentSession" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Provides the data object that can be used to start the Checkout SDK. To set up the payment, pass its amount, currency, and other required parameters. We use this to optimise the payment flow and perform better risk assessment of the transaction. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." +} + ,"response": [ + ] }, { "name": "Set up a payment session with the option to store card details", "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 + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 17408\n },\n \"reference\" : \"Your order number\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"enableOneClick\" : true,\n \"enableRecurring\" : true,\n \"channel\" : \"Web\",\n \"origin\" : \"https://www.yourwebsite.com\",\n \"returnUrl\" : \"https://www.yourshop.com/checkout/result\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl_NL\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"sdkVersion\" : \"1.7.0\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentSession", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentSession" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Provides the data object that can be used to start the Checkout SDK. To set up the payment, pass its amount, currency, and other required parameters. We use this to optimise the payment flow and perform better risk assessment of the transaction. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"paymentSession\" : \"eyJjaGVja291dHNob3BwZXJCYXN...\"\n}", + "originalRequest": { + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 17408\n },\n \"reference\" : \"Your order number\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"enableOneClick\" : true,\n \"enableRecurring\" : true,\n \"channel\" : \"Web\",\n \"origin\" : \"https://www.yourwebsite.com\",\n \"returnUrl\" : \"https://www.yourshop.com/checkout/result\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl_NL\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"sdkVersion\" : \"1.7.0\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentSession", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentSession" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Provides the data object that can be used to start the Checkout SDK. To set up the payment, pass its amount, currency, and other required parameters. We use this to optimise the payment flow and perform better risk assessment of the transaction. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 17408\n },\n \"reference\" : \"Your order number\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"enableOneClick\" : true,\n \"enableRecurring\" : true,\n \"channel\" : \"Web\",\n \"origin\" : \"https://www.yourwebsite.com\",\n \"returnUrl\" : \"https://www.yourshop.com/checkout/result\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl_NL\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"sdkVersion\" : \"1.7.0\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentSession", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentSession" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Provides the data object that can be used to start the Checkout SDK. To set up the payment, pass its amount, currency, and other required parameters. We use this to optimise the payment flow and perform better risk assessment of the transaction. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." - } + ] }, { "name": "Set up a payment session (iOS)", "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 17408\n },\n \"reference\" : \"Your order number\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"channel\" : \"iOS\",\n \"token\" : \"TOKEN_YOU_GET_FROM_CHECKOUT_SDK\",\n \"returnUrl\" : \"app://\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl_NL\",\n \"sessionValidity\" : \"2017-04-06T13:09:13Z\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentSession", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentSession" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Provides the data object that can be used to start the Checkout SDK. To set up the payment, pass its amount, currency, and other required parameters. We use this to optimise the payment flow and perform better risk assessment of the transaction. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." - } + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 17408\n },\n \"reference\" : \"Your order number\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"channel\" : \"iOS\",\n \"token\" : \"TOKEN_YOU_GET_FROM_CHECKOUT_SDK\",\n \"returnUrl\" : \"app://\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl_NL\",\n \"sessionValidity\" : \"2017-04-06T13:09:13Z\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentSession", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentSession" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Provides the data object that can be used to start the Checkout SDK. To set up the payment, pass its amount, currency, and other required parameters. We use this to optimise the payment flow and perform better risk assessment of the transaction. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." +} + ,"response": [ + ] }, { "name": "Split a payment between a sub-merchant and a platform account", "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 6200\n },\n \"additionalData\" : {\n \"split.api\" : \"1\",\n \"split.nrOfItems\" : \"2\",\n \"split.totalAmount\" : \"6200\",\n \"split.currencyCode\" : \"EUR\",\n \"split.item1.amount\" : \"6000\",\n \"split.item1.type\" : \"MarketPlace\",\n \"split.item1.account\" : \"151272963\",\n \"split.item1.reference\" : \"6124145\",\n \"split.item1.description\" : \"Porcelain Doll: Eliza (20cm)\",\n \"split.item2.amount\" : \"200\",\n \"split.item2.type\" : \"Commission\",\n \"split.item2.reference\" : \"6124146\"\n },\n \"reference\" : \"Your order number\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"channel\" : \"Android\",\n \"token\" : \"TOKEN_YOU_GET_FROM_CHECKOUT_SDK\",\n \"returnUrl\" : \"app://\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl_NL\",\n \"sessionValidity\" : \"2017-04-06T13:09:13Z\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentSession", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentSession" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Provides the data object that can be used to start the Checkout SDK. To set up the payment, pass its amount, currency, and other required parameters. We use this to optimise the payment flow and perform better risk assessment of the transaction. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." - } + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 6200\n },\n \"additionalData\" : {\n \"split.api\" : \"1\",\n \"split.nrOfItems\" : \"2\",\n \"split.totalAmount\" : \"6200\",\n \"split.currencyCode\" : \"EUR\",\n \"split.item1.amount\" : \"6000\",\n \"split.item1.type\" : \"MarketPlace\",\n \"split.item1.account\" : \"151272963\",\n \"split.item1.reference\" : \"6124145\",\n \"split.item1.description\" : \"Porcelain Doll: Eliza (20cm)\",\n \"split.item2.amount\" : \"200\",\n \"split.item2.type\" : \"Commission\",\n \"split.item2.reference\" : \"6124146\"\n },\n \"reference\" : \"Your order number\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"channel\" : \"Android\",\n \"token\" : \"TOKEN_YOU_GET_FROM_CHECKOUT_SDK\",\n \"returnUrl\" : \"app://\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl_NL\",\n \"sessionValidity\" : \"2017-04-06T13:09:13Z\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentSession", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentSession" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Provides the data object that can be used to start the Checkout SDK. To set up the payment, pass its amount, currency, and other required parameters. We use this to optimise the payment flow and perform better risk assessment of the transaction. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." +} + ,"response": [ + ] }, { "name": "Set up a payment session (Web)", "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 + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 17408\n },\n \"reference\" : \"Your order number\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"channel\" : \"Web\",\n \"origin\" : \"https://www.yourwebsite.com\",\n \"returnUrl\" : \"https://www.yourshop.com/checkout/result\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl_NL\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"sdkVersion\" : \"1.9.5\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentSession", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentSession" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Provides the data object that can be used to start the Checkout SDK. To set up the payment, pass its amount, currency, and other required parameters. We use this to optimise the payment flow and perform better risk assessment of the transaction. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"paymentSession\" : \"eyJjaGVja291dHNob3BwZXJCYXN...\"\n}", + "originalRequest": { + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 17408\n },\n \"reference\" : \"Your order number\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"channel\" : \"Web\",\n \"origin\" : \"https://www.yourwebsite.com\",\n \"returnUrl\" : \"https://www.yourshop.com/checkout/result\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl_NL\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"sdkVersion\" : \"1.9.5\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentSession", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentSession" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Provides the data object that can be used to start the Checkout SDK. To set up the payment, pass its amount, currency, and other required parameters. We use this to optimise the payment flow and perform better risk assessment of the transaction. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 17408\n },\n \"reference\" : \"Your order number\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"channel\" : \"Web\",\n \"origin\" : \"https://www.yourwebsite.com\",\n \"returnUrl\" : \"https://www.yourshop.com/checkout/result\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl_NL\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"sdkVersion\" : \"1.9.5\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentSession", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentSession" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Provides the data object that can be used to start the Checkout SDK. To set up the payment, pass its amount, currency, and other required parameters. We use this to optimise the payment flow and perform better risk assessment of the transaction. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." - } + ] } ] - } -, + }, { "name": "/payments/result (DEPRECATED)", "description": "Verifies the payment result using the payload returned from the Checkout SDK. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks).", @@ -647,56 +1153,115 @@ { "name": "Verify payment results", "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 + "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 \"payload\" : \"VALUE_YOU_GET_FROM_CHECKOUT_SDK\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments/result", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments", + "result" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Verifies the payment result using the payload returned from the Checkout SDK. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"pspReference\" : \"V4HZ4RBFJGXXGN82\",\n \"merchantReference\" : \"Your order number\",\n \"shopperLocale\" : \"nl_NL\",\n \"paymentMethod\" : \"ideal\"\n}", + "originalRequest": { + "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 \"payload\" : \"VALUE_YOU_GET_FROM_CHECKOUT_SDK\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments/result", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments", + "result" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Verifies the payment result using the payload returned from the Checkout SDK. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"payload\" : \"VALUE_YOU_GET_FROM_CHECKOUT_SDK\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments/result", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments", - "result" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Verifies the payment result using the payload returned from the Checkout SDK. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." - } + ] } ] } - ] }, { @@ -709,55 +1274,113 @@ { "name": "Create an order", "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 + "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 \"reference\" : \"YOUR_ORDER_REFERENCE\",\n \"amount\" : {\n \"value\" : 2500,\n \"currency\" : \"EUR\"\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/orders", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "orders" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates an order to be used for partial payments. Make a POST `/orders` call before making a `/payments` call when processing payments with different payment methods." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"pspReference\" : \"8616178914061985\",\n \"resultCode\" : \"Success\",\n \"expiresAt\" : \"2021-04-09T14:16:46Z\",\n \"orderData\" : \"Ab02b4c0!BQABAgCxXvknCldOcRElkxY8Za7iyym4Wv8aDzyNwmj/3nh4G6YtwnUIJHaK62NlN4oIsACdkn1FEjBwKlheG40jvXcYGBk4KFV5WvOhTVCpv/KXnkrI7xQv/u2lE7U4wA+HPB6K4Zj2L8xO/ogZi+zGZqFs5m16jmkH7ku6FzXygXLNuUCuOlmlXSZhdkHHTNVQSq1MELDK9OL74y532ETRPTCNxx8WlEiZB+LDqYrPvH9GgigtD5kw8Do45jfFfG72kWBEgfYqp4mbUmBB9ebXFYZKfF0qvW1x7A2Y9+/MFlTIdXfKW484bJeDBCTTrmKGXIj+U4r5imr5fXTyNLcrxyUqwrb9jg+5B4qg1XB6Cgj5UPlSI4O62I7v0s5TTj69dzLwUQRxSQbwLrZVGYavXzeVKI54BVLRV3d/+BbPvTqnTo34UhfZbPlOx9F2eyaS0ZXdOKnHw89uGUgxUpLsMqnbRysi/pxpZaulel+0mExb68wVxb/7Teob5eRG4gp7cfZVZs6tLXOYWL+W0TqIlsa3hWsfM0LeaovzkoDtW/pK5JABXwMtLig9tsxoEh9ONYtIzkXC21LZ8ebiuSIMaPizjF8yca+QxrCZalQsu6uKnBz/mm8nnsflaGU2QS5zcoxk1RudL1Bl36LM9UZGPpFEYWiYA4sUsnNLw7peJjWCGhDepnwMv4TlgsEtoDtz1T54AEp7ImtleSI6IkFGMEFBQTEwM0NBNTM3RUFFRDg3QzI0REQ1MzkwOUI4MEE3OEE5MjNFMzgyM0Q2OERBQ0M5NEI5RkY4MzA1REMifRslOdmfgUHTXl66WPD9xoW2whIeRx/jR++2MqNE16x6zQy+KtDN8/h60crZwmqkjVTQYqQlsYSYDHSIyb4wnnay16/5il1yS7vN3UCLaTXjYBIAyyx6Wr9j4P3CI/etB+PpviHoESC4mV6ZN4whMDQyziQ8s230GtboXbh42qND7rk9phySBogowQlXrtF+l2n2F46nyif0owEgik5fGARfvjZtY2w23s30KMLNwU4gWSvX4H6RMVS8TfZH2fKfNrwB3tZUXwYkELs5ntaHysswq5Mn5aq2BKAMHu/Rh/wureMSI73Qi0avjrzWCwzt3JH4wnzErMnOZwSdgA==\",\n \"reference\" : \"shopper-reference-ekvL83\",\n \"remainingAmount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 2500\n },\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 300\n }\n}", + "originalRequest": { + "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 \"reference\" : \"YOUR_ORDER_REFERENCE\",\n \"amount\" : {\n \"value\" : 2500,\n \"currency\" : \"EUR\"\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/orders", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "orders" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates an order to be used for partial payments. Make a POST `/orders` call before making a `/payments` call when processing payments with different payment methods." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"reference\" : \"YOUR_ORDER_REFERENCE\",\n \"amount\" : {\n \"value\" : 2500,\n \"currency\" : \"EUR\"\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/orders", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "orders" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Creates an order to be used for partial payments. Make a POST `/orders` call before making a `/payments` call when processing payments with different payment methods." - } + ] } ] - } -, + }, { "name": "/orders/cancel", "description": "Cancels an order. Cancellation of an order results in an automatic rollback of all payments made in the order, either by canceling or refunding the payment, depending on the type of payment method.", @@ -765,56 +1388,115 @@ { "name": "Cancel an order", "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 + "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 \"order\" : {\n \"pspReference\" : \"8815517812932012\",\n \"orderData\" : \"823fh892f8f18f4...148f13f9f3f\"\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/orders/cancel", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "orders", + "cancel" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Cancels an order. Cancellation of an order results in an automatic rollback of all payments made in the order, either by canceling or refunding the payment, depending on the type of payment method." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"pspReference\" : \"8816178914079738\",\n \"resultCode\" : \"Received\"\n}", + "originalRequest": { + "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 \"order\" : {\n \"pspReference\" : \"8815517812932012\",\n \"orderData\" : \"823fh892f8f18f4...148f13f9f3f\"\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/orders/cancel", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "orders", + "cancel" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Cancels an order. Cancellation of an order results in an automatic rollback of all payments made in the order, either by canceling or refunding the payment, depending on the type of payment method." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"order\" : {\n \"pspReference\" : \"8815517812932012\",\n \"orderData\" : \"823fh892f8f18f4...148f13f9f3f\"\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/orders/cancel", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "orders", - "cancel" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Cancels an order. Cancellation of an order results in an automatic rollback of all payments made in the order, either by canceling or refunding the payment, depending on the type of payment method." - } + ] } ] - } -, + }, { "name": "/paymentMethods/balance", "description": "Retrieves the balance remaining on a shopper's gift card. To check a gift card's balance, make a POST `/paymentMethods/balance` call and include the gift card's details inside a `paymentMethod` object.", @@ -822,106 +1504,225 @@ { "name": "Get gift card balance specifying amount of 10 EUR", "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 + "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 \"paymentMethod\" : {\n \"type\" : \"givex\",\n \"number\" : \"4126491073027401\",\n \"cvc\" : \"737\"\n },\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentMethods/balance", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentMethods", + "balance" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Retrieves the balance remaining on a shopper's gift card. To check a gift card's balance, make a POST `/paymentMethods/balance` call and include the gift card's details inside a `paymentMethod` object." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"pspReference\" : \"KHQC5N7G84BLNK43\",\n \"resultCode\" : \"Success\",\n \"balance\" : {\n \"currency\" : \"EUR\",\n \"value\" : 5000\n }\n}", + "originalRequest": { + "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 \"paymentMethod\" : {\n \"type\" : \"givex\",\n \"number\" : \"4126491073027401\",\n \"cvc\" : \"737\"\n },\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentMethods/balance", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentMethods", + "balance" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Retrieves the balance remaining on a shopper's gift card. To check a gift card's balance, make a POST `/paymentMethods/balance` call and include the gift card's details inside a `paymentMethod` object." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"paymentMethod\" : {\n \"type\" : \"givex\",\n \"number\" : \"4126491073027401\",\n \"cvc\" : \"737\"\n },\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentMethods/balance", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentMethods", - "balance" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Retrieves the balance remaining on a shopper's gift card. To check a gift card's balance, make a POST `/paymentMethods/balance` call and include the gift card's details inside a `paymentMethod` object." - } + ] }, { "name": "Get gift card balance specifying amount of 100 EUR", "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 + "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 \"paymentMethod\" : {\n \"type\" : \"givex\",\n \"number\" : \"4126491073027401\",\n \"cvc\" : \"737\"\n },\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 10000\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentMethods/balance", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentMethods", + "balance" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Retrieves the balance remaining on a shopper's gift card. To check a gift card's balance, make a POST `/paymentMethods/balance` call and include the gift card's details inside a `paymentMethod` object." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"pspReference\" : \"FKSPNCQ8HXSKGK82\",\n \"resultCode\" : \"NotEnoughBalance\",\n \"balance\" : {\n \"currency\" : \"EUR\",\n \"value\" : 5000\n }\n}", + "originalRequest": { + "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 \"paymentMethod\" : {\n \"type\" : \"givex\",\n \"number\" : \"4126491073027401\",\n \"cvc\" : \"737\"\n },\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 10000\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentMethods/balance", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentMethods", + "balance" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Retrieves the balance remaining on a shopper's gift card. To check a gift card's balance, make a POST `/paymentMethods/balance` call and include the gift card's details inside a `paymentMethod` object." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"paymentMethod\" : {\n \"type\" : \"givex\",\n \"number\" : \"4126491073027401\",\n \"cvc\" : \"737\"\n },\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 10000\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentMethods/balance", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentMethods", - "balance" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Retrieves the balance remaining on a shopper's gift card. To check a gift card's balance, make a POST `/paymentMethods/balance` call and include the gift card's details inside a `paymentMethod` object." - } + ] } ] } - ] }, { @@ -934,56 +1735,115 @@ { "name": "Get payment session for Apple Pay", "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 + "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 \"displayName\" : \"YOUR_MERCHANT_NAME\",\n \"domainName\" : \"YOUR_DOMAIN_NAME\",\n \"merchantIdentifier\" : \"YOUR_MERCHANT_ID\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/applePay/sessions", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "applePay", + "sessions" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "You need to use this endpoint if you have an API-only integration with Apple Pay which uses Adyen's Apple Pay certificate. The endpoint returns the Apple Pay session data which you need to complete the [Apple Pay session validation](https://docs.adyen.com/payment-methods/apple-pay/api-only?tab=adyen-certificate-validation_1#complete-apple-pay-session-validation)." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"data\" : \"eyJ2Z...\"\n}", + "originalRequest": { + "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 \"displayName\" : \"YOUR_MERCHANT_NAME\",\n \"domainName\" : \"YOUR_DOMAIN_NAME\",\n \"merchantIdentifier\" : \"YOUR_MERCHANT_ID\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/applePay/sessions", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "applePay", + "sessions" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "You need to use this endpoint if you have an API-only integration with Apple Pay which uses Adyen's Apple Pay certificate. The endpoint returns the Apple Pay session data which you need to complete the [Apple Pay session validation](https://docs.adyen.com/payment-methods/apple-pay/api-only?tab=adyen-certificate-validation_1#complete-apple-pay-session-validation)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"displayName\" : \"YOUR_MERCHANT_NAME\",\n \"domainName\" : \"YOUR_DOMAIN_NAME\",\n \"merchantIdentifier\" : \"YOUR_MERCHANT_ID\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/applePay/sessions", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "applePay", - "sessions" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "You need to use this endpoint if you have an API-only integration with Apple Pay which uses Adyen's Apple Pay certificate. The endpoint returns the Apple Pay session data which you need to complete the [Apple Pay session validation](https://docs.adyen.com/payment-methods/apple-pay/api-only?tab=adyen-certificate-validation_1#complete-apple-pay-session-validation)." - } + ] } ] - } -, + }, { "name": "/originKeys (DEPRECATED)", "description": "This operation takes the origin domains and returns a JSON object containing the corresponding origin keys for the domains. > If you're still using origin key for your Web Drop-in or Components integration, we recommend [switching to client key](https://docs.adyen.com/development-resources/client-side-authentication/migrate-from-origin-key-to-client-key). This allows you to use a single key for all origins, add or remove origins without generating a new key, and detect the card type from the number entered in your payment form. ", @@ -991,55 +1851,113 @@ { "name": "Get origin keys", "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 + "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 \"originDomains\" : [ \"https://www.your-domain1.com\", \"https://www.your-domain2.com\", \"https://www.your-domain3.com\" ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/originKeys", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "originKeys" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "This operation takes the origin domains and returns a JSON object containing the corresponding origin keys for the domains. > If you're still using origin key for your Web Drop-in or Components integration, we recommend [switching to client key](https://docs.adyen.com/development-resources/client-side-authentication/migrate-from-origin-key-to-client-key). This allows you to use a single key for all origins, add or remove origins without generating a new key, and detect the card type from the number entered in your payment form. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"originKeys\" : {\n \"https://www.your-domain1.com\" : \"pub.v2.8116178901076090.aHR0cHM6Ly93d3cueW91ci1kb21haW4xLmNvbQ.pvbYlrXz0ICP4kwMJXDGDLVMqALhwXr1MSRjT-fkhvw\",\n \"https://www.your-domain3.com\" : \"pub.v2.8116178901076090.aHR0cHM6Ly93d3cueW91ci1kb21haW4zLmNvbQ.FrTpVz7_RzAywKasM0kXCRoMfoMkKIKaxjFymRGORIc\",\n \"https://www.your-domain2.com\" : \"pub.v2.8116178901076090.aHR0cHM6Ly93d3cueW91ci1kb21haW4yLmNvbQ.LdN9kvJ35fYFFiBSJA4idMnwwxJ5_yXpeNS__Ap5wkg\"\n }\n}", + "originalRequest": { + "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 \"originDomains\" : [ \"https://www.your-domain1.com\", \"https://www.your-domain2.com\", \"https://www.your-domain3.com\" ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/originKeys", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "originKeys" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "This operation takes the origin domains and returns a JSON object containing the corresponding origin keys for the domains. > If you're still using origin key for your Web Drop-in or Components integration, we recommend [switching to client key](https://docs.adyen.com/development-resources/client-side-authentication/migrate-from-origin-key-to-client-key). This allows you to use a single key for all origins, add or remove origins without generating a new key, and detect the card type from the number entered in your payment form. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"originDomains\" : [ \"https://www.your-domain1.com\", \"https://www.your-domain2.com\", \"https://www.your-domain3.com\" ]\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/originKeys", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "originKeys" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "This operation takes the origin domains and returns a JSON object containing the corresponding origin keys for the domains. > If you're still using origin key for your Web Drop-in or Components integration, we recommend [switching to client key](https://docs.adyen.com/development-resources/client-side-authentication/migrate-from-origin-key-to-client-key). This allows you to use a single key for all origins, add or remove origins without generating a new key, and detect the card type from the number entered in your payment form. " - } + ] } ] } - ] }, { @@ -1052,55 +1970,56 @@ { "name": "Get tokens for stored payment details", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/storedPaymentMethods", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "storedPaymentMethods" - ], - "variable": [ - ], - "query": [ - { - "key": "shopperReference", - "value": "shopperReference_example", - "description": "Your reference to uniquely identify this shopper, for example user ID or account ID. Minimum length: 3 characters. > Your reference must not include personally identifiable information (PII), for example name or email address.", - "disabled": true - }, - { - "key": "merchantAccount", - "value": "merchantAccount_example", - "description": "Your merchant account.", - "disabled": true - } - ] - }, - "description": "Lists the tokens for stored payment details for the shopper identified in the path, if there are any available. The token ID can be used with payment requests for the shopper's payment. A summary of the stored details is included. " - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/storedPaymentMethods", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "storedPaymentMethods" + ], + "variable": [ + ], + "query": [ + { + "key": "shopperReference", + "value": "shopperReference_example", + "description": "Your reference to uniquely identify this shopper, for example user ID or account ID. Minimum length: 3 characters. > Your reference must not include personally identifiable information (PII), for example name or email address.", + "disabled": true + }, + { + "key": "merchantAccount", + "value": "merchantAccount_example", + "description": "Your merchant account.", + "disabled": true + } + ] + }, + "description": "Lists the tokens for stored payment details for the shopper identified in the path, if there are any available. The token ID can be used with payment requests for the shopper's payment. A summary of the stored details is included. " +} + ,"response": [ + ] } ] - } -, + }, { "name": "/storedPaymentMethods/:storedPaymentMethodId", "description": "Deletes the token identified in the path. The token can no longer be used with payment requests.", @@ -1108,55 +2027,56 @@ { "name": "Delete a token for stored payment details", "request": { - "method": "DELETE", - "header": [ - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/storedPaymentMethods/:storedPaymentMethodId", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "storedPaymentMethods", - ":storedPaymentMethodId" - ], - "variable": [ - { - "key": "storedPaymentMethodId", - "value": "", - "description": "The unique identifier of the token." - } - ], - "query": [ - { - "key": "shopperReference", - "value": "shopperReference_example", - "description": "Your reference to uniquely identify this shopper, for example user ID or account ID. Minimum length: 3 characters. > Your reference must not include personally identifiable information (PII), for example name or email address.", - "disabled": false - }, - { - "key": "merchantAccount", - "value": "merchantAccount_example", - "description": "Your merchant account.", - "disabled": false - } - ] - }, - "description": "Deletes the token identified in the path. The token can no longer be used with payment requests." - } + "method": "DELETE", + "header": [ + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/storedPaymentMethods/:storedPaymentMethodId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "storedPaymentMethods", + ":storedPaymentMethodId" + ], + "variable": [ + { + "key": "storedPaymentMethodId", + "value": "", + "description": "The unique identifier of the token." + } + ], + "query": [ + { + "key": "shopperReference", + "value": "shopperReference_example", + "description": "Your reference to uniquely identify this shopper, for example user ID or account ID. Minimum length: 3 characters. > Your reference must not include personally identifiable information (PII), for example name or email address.", + "disabled": false + }, + { + "key": "merchantAccount", + "value": "merchantAccount_example", + "description": "Your merchant account.", + "disabled": false + } + ] + }, + "description": "Deletes the token identified in the path. The token can no longer be used with payment requests." +} + ,"response": [ + ] } ] } - ] }, { @@ -1169,104 +2089,164 @@ { "name": "Start a donation transaction", "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 + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"reference\" : \"YOUR_DONATION_REFERENCE\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\"\n },\n \"donationToken\" : \"YOUR_DONATION_TOKEN\",\n \"donationOriginalPspReference\" : \"991559660454807J\",\n \"donationAccount\" : \"CHARITY_ACCOUNT\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"shopperInteraction\" : \"ContAuth\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/donations", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "donations" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Takes in the donation token generated by the `/payments` request and uses it to make the donation for the donation account specified in the request. For more information, see [Donations](https://docs.adyen.com/online-payments/donations)." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"id\" : \"UNIQUE_RESOURCE_ID\",\n \"status\" : \"completed\",\n \"donationAccount\" : \"CHARITY_ACCOUNT\",\n \"merchantAccount\" : \"YOUR_MERCHANT_ACCOUNT\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"reference\" : \"YOUR_DONATION_REFERENCE\",\n \"payment\" : {\n \"pspReference\" : \"8535762347980628\",\n \"resultCode\" : \"Authorised\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"merchantReference\" : \"YOUR_DONATION_REFERENCE\"\n }\n}", + "originalRequest": { + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"reference\" : \"YOUR_DONATION_REFERENCE\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\"\n },\n \"donationToken\" : \"YOUR_DONATION_TOKEN\",\n \"donationOriginalPspReference\" : \"991559660454807J\",\n \"donationAccount\" : \"CHARITY_ACCOUNT\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"shopperInteraction\" : \"ContAuth\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/donations", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "donations" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Takes in the donation token generated by the `/payments` request and uses it to make the donation for the donation account specified in the request. For more information, see [Donations](https://docs.adyen.com/online-payments/donations)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"reference\" : \"YOUR_DONATION_REFERENCE\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\"\n },\n \"donationToken\" : \"YOUR_DONATION_TOKEN\",\n \"donationOriginalPspReference\" : \"991559660454807J\",\n \"donationAccount\" : \"CHARITY_ACCOUNT\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"shopperInteraction\" : \"ContAuth\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/donations", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "donations" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Takes in the donation token generated by the `/payments` request and uses it to make the donation for the donation account specified in the request. For more information, see [Donations](https://docs.adyen.com/online-payments/donations)." - } + ] }, { "name": "Start a donation transaction with a token", "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"reference\" : \"YOUR_DONATION_REFERENCE\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"recurringDetailReference\" : \"7219687191761347\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"donationAccount\" : \"CHARITY_ACCOUNT\",\n \"shopperInteraction\" : \"ContAuth\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"recurringProcessingModel\" : \"CardOnFile\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/donations", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "donations" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Takes in the donation token generated by the `/payments` request and uses it to make the donation for the donation account specified in the request. For more information, see [Donations](https://docs.adyen.com/online-payments/donations)." - } + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"reference\" : \"YOUR_DONATION_REFERENCE\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"recurringDetailReference\" : \"7219687191761347\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"donationAccount\" : \"CHARITY_ACCOUNT\",\n \"shopperInteraction\" : \"ContAuth\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"recurringProcessingModel\" : \"CardOnFile\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/donations", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "donations" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Takes in the donation token generated by the `/payments` request and uses it to make the donation for the donation account specified in the request. For more information, see [Donations](https://docs.adyen.com/online-payments/donations)." +} + ,"response": [ + ] } ] } - ] }, { @@ -1279,104 +2259,221 @@ { "name": "Get a list of brands on a card", "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 + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"cardNumber\" : \"411111\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/cardDetails", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "cardDetails" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Send a request with at least the first 6 digits of the card number to get a response with an array of brands on the card. If you include [your supported brands](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__reqParam_supportedBrands) in the request, the response also tells you if you support each [brand that was identified](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__resParam_details). If you have an API-only integration and collect card data, use this endpoint to find out if the shopper's card is co-branded. For co-branded cards, you must let the shopper choose the brand to pay with if you support both brands. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"brands\" : [ {\n \"type\" : \"visa\",\n \"supported\" : true\n }, {\n \"type\" : \"cartebancaire\",\n \"supported\" : true\n } ]\n}", + "originalRequest": { + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"cardNumber\" : \"411111\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/cardDetails", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "cardDetails" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Send a request with at least the first 6 digits of the card number to get a response with an array of brands on the card. If you include [your supported brands](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__reqParam_supportedBrands) in the request, the response also tells you if you support each [brand that was identified](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__resParam_details). If you have an API-only integration and collect card data, use this endpoint to find out if the shopper's card is co-branded. For co-branded cards, you must let the shopper choose the brand to pay with if you support both brands. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"cardNumber\" : \"411111\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/cardDetails", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "cardDetails" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Send a request with at least the first 6 digits of the card number to get a response with an array of brands on the card. If you include [your supported brands](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__reqParam_supportedBrands) in the request, the response also tells you if you support each [brand that was identified](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__resParam_details). If you have an API-only integration and collect card data, use this endpoint to find out if the shopper's card is co-branded. For co-branded cards, you must let the shopper choose the brand to pay with if you support both brands. " - } + ] }, { "name": "Get a list of brands on a card specifying your supported card brands", "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 + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"cardNumber\" : \"411111\",\n \"supportedBrands\" : [ \"visa\", \"mc\", \"amex\" ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/cardDetails", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "cardDetails" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Send a request with at least the first 6 digits of the card number to get a response with an array of brands on the card. If you include [your supported brands](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__reqParam_supportedBrands) in the request, the response also tells you if you support each [brand that was identified](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__resParam_details). If you have an API-only integration and collect card data, use this endpoint to find out if the shopper's card is co-branded. For co-branded cards, you must let the shopper choose the brand to pay with if you support both brands. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"brands\" : [ {\n \"type\" : \"visa\",\n \"supported\" : true\n }, {\n \"type\" : \"cartebancaire\",\n \"supported\" : false\n } ]\n}", + "originalRequest": { + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"cardNumber\" : \"411111\",\n \"supportedBrands\" : [ \"visa\", \"mc\", \"amex\" ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/cardDetails", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "cardDetails" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Send a request with at least the first 6 digits of the card number to get a response with an array of brands on the card. If you include [your supported brands](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__reqParam_supportedBrands) in the request, the response also tells you if you support each [brand that was identified](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__resParam_details). If you have an API-only integration and collect card data, use this endpoint to find out if the shopper's card is co-branded. For co-branded cards, you must let the shopper choose the brand to pay with if you support both brands. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"cardNumber\" : \"411111\",\n \"supportedBrands\" : [ \"visa\", \"mc\", \"amex\" ]\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/cardDetails", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "cardDetails" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Send a request with at least the first 6 digits of the card number to get a response with an array of brands on the card. If you include [your supported brands](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__reqParam_supportedBrands) in the request, the response also tells you if you support each [brand that was identified](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__resParam_details). If you have an API-only integration and collect card data, use this endpoint to find out if the shopper's card is co-branded. For co-branded cards, you must let the shopper choose the brand to pay with if you support both brands. " - } + ] } ] - } -, + }, { "name": "/paymentMethods", "description": "Queries the available payment methods for a transaction based on the transaction context (like amount, country, and currency). Besides giving back a list of the available payment methods, the response also returns which input details you need to collect from the shopper (to be submitted to `/payments`). Although we highly recommend using this endpoint to ensure you are always offering the most up-to-date list of payment methods, its usage is optional. You can, for example, also cache the `/paymentMethods` response and update it once a week.", @@ -1384,153 +2481,329 @@ { "name": "Get available payment methods", "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 + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentMethods", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentMethods" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Queries the available payment methods for a transaction based on the transaction context (like amount, country, and currency). Besides giving back a list of the available payment methods, the response also returns which input details you need to collect from the shopper (to be submitted to `/payments`). Although we highly recommend using this endpoint to ensure you are always offering the most up-to-date list of payment methods, its usage is optional. You can, for example, also cache the `/paymentMethods` response and update it once a week." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"paymentMethods\" : [ {\n \"name\" : \"ACH Direct Debit\",\n \"type\" : \"ach\"\n }, {\n \"name\" : \"Adyen Voucher\",\n \"type\" : \"adyen_test_voucher\"\n }, {\n \"name\" : \"AfterPay Invoice\",\n \"type\" : \"afterpay_default\"\n }, {\n \"name\" : \"AfterPay DirectDebit\",\n \"type\" : \"afterpay_directdebit\"\n }, {\n \"name\" : \"Afterpay\",\n \"type\" : \"afterpaytouch\"\n }, {\n \"name\" : \"Credit Card\",\n \"type\" : \"scheme\"\n }, {\n \"name\" : \"AliPay\",\n \"type\" : \"alipay\"\n }, {\n \"name\" : \"AliPay HK\",\n \"type\" : \"alipay_hk\"\n }, {\n \"name\" : \"AliPay\",\n \"type\" : \"alipay_wap\"\n }, {\n \"name\" : \"Android Pay\",\n \"type\" : \"androidpay\"\n }, {\n \"name\" : \"Apple Pay\",\n \"type\" : \"applepay\"\n }, {\n \"name\" : \"Credit Card via AsiaPay\",\n \"type\" : \"asiapay\"\n }, {\n \"name\" : \"China UnionPay\",\n \"type\" : \"asiapay_unionpay\"\n }, {\n \"name\" : \"Baby Gift Card\",\n \"type\" : \"babygiftcard\"\n }, {\n \"name\" : \"Baloto\",\n \"type\" : \"baloto\"\n }, {\n \"name\" : \"BancNet\",\n \"type\" : \"bancnet\"\n }, {\n \"name\" : \"Bank Transfer (BG)\",\n \"type\" : \"bankTransfer_BG\"\n }, {\n \"name\" : \"Bank Transfer (CH)\",\n \"type\" : \"bankTransfer_CH\"\n }, {\n \"name\" : \"Bank Transfer (DE)\",\n \"type\" : \"bankTransfer_DE\"\n }, {\n \"name\" : \"Bank Transfer (FI)\",\n \"type\" : \"bankTransfer_FI\"\n }, {\n \"name\" : \"Bank Transfer (GB)\",\n \"type\" : \"bankTransfer_GB\"\n }, {\n \"name\" : \"Bank Transfer (HU)\",\n \"type\" : \"bankTransfer_HU\"\n }, {\n \"name\" : \"SEPA Bank Transfer\",\n \"type\" : \"bankTransfer_IBAN\"\n }, {\n \"name\" : \"Bank Transfer (IE)\",\n \"type\" : \"bankTransfer_IE\"\n }, {\n \"name\" : \"Electronic Bank Transfer (MX)\",\n \"type\" : \"bankTransfer_MX_linked\"\n }, {\n \"name\" : \"Bank Transfer (MX)\",\n \"type\" : \"bankTransfer_MX_offline\"\n }, {\n \"name\" : \"Bank Transfer (NL)\",\n \"type\" : \"bankTransfer_NL\"\n }, {\n \"name\" : \"Bank Transfer (PL)\",\n \"type\" : \"bankTransfer_PL\"\n }, {\n \"name\" : \"Bank Transfer (SE)\",\n \"type\" : \"bankTransfer_SE\"\n }, {\n \"name\" : \"Bank Transfer (US)\",\n \"type\" : \"bankTransfer_US\"\n }, {\n \"name\" : \"Payconiq by Bancontact\",\n \"type\" : \"bcmc_mobile\"\n }, {\n \"name\" : \"Bijenkorf Cadeaucard\",\n \"type\" : \"bijcadeaucard\"\n }, {\n \"name\" : \"99Bill\",\n \"type\" : \"bill99\"\n }, {\n \"name\" : \"Online Banking India\",\n \"type\" : \"billdesk_online\"\n }, {\n \"name\" : \"UPI\",\n \"type\" : \"billdesk_upi\"\n }, {\n \"name\" : \"Wallets India\",\n \"type\" : \"billdesk_wallet\"\n }, {\n \"name\" : \"Blik\",\n \"type\" : \"blik\"\n }, {\n \"name\" : \"Bloemen Giftcard\",\n \"type\" : \"bloemengiftcard\"\n }, {\n \"name\" : \"Boekenbon Giftcard\",\n \"type\" : \"boekenbon\"\n }, {\n \"name\" : \"Boleto\",\n \"type\" : \"boleto\"\n }, {\n \"name\" : \"Boleto Bancario\",\n \"type\" : \"boletobancario_santander\"\n }, {\n \"name\" : \"Bradesco\",\n \"type\" : \"bradesco\"\n }, {\n \"name\" : \"Cash-Ticket\",\n \"type\" : \"cashticket\"\n }, {\n \"name\" : \"CashU\",\n \"type\" : \"cashu\"\n }, {\n \"name\" : \"CCAvenue\",\n \"type\" : \"ccavenue\"\n }, {\n \"name\" : \"Mula Checkout\",\n \"type\" : \"cellulant\"\n }, {\n \"name\" : \"Chasin Giftcard\",\n \"type\" : \"chasingiftcard\"\n }, {\n \"name\" : \"Clearpay\",\n \"type\" : \"clearpay\"\n }, {\n \"name\" : \"ClickandBuy\",\n \"type\" : \"clickandbuy\"\n }, {\n \"name\" : \"Paiement en 3 fois par Cartes Bancaires\",\n \"type\" : \"cofinoga_3xcb\"\n }, {\n \"name\" : \"Costes Giftcard\",\n \"type\" : \"costesgiftcard\"\n }, {\n \"name\" : \"custom_settlement\",\n \"type\" : \"custom_settlement\"\n }, {\n \"name\" : \"DANA\",\n \"type\" : \"dana\"\n }, {\n \"name\" : \"DineroMail\",\n \"type\" : \"dineromail\"\n }, {\n \"name\" : \"Online bank transfer.\",\n \"type\" : \"directEbanking\"\n }, {\n \"name\" : \"Direct Debit Brazil - Banco do Brazil\",\n \"type\" : \"directdebit_BR_bancodobrasil\"\n }, {\n \"name\" : \"Direct Debit Brazil - Bradesco\",\n \"type\" : \"directdebit_BR_bradesco\"\n }, {\n \"name\" : \"Direct Debit Brazil - Caixa Economica Federal\",\n \"type\" : \"directdebit_BR_caixa\"\n }, {\n \"name\" : \"Direct Debit Brazil - HSBC\",\n \"type\" : \"directdebit_BR_hsbc\"\n }, {\n \"name\" : \"Direct Debit Brazil - Itau\",\n \"type\" : \"directdebit_BR_itau\"\n }, {\n \"name\" : \"Direct Debit Brazil - Santander\",\n \"type\" : \"directdebit_BR_santander\"\n }, {\n \"name\" : \"BACS Direct Debit\",\n \"type\" : \"directdebit_GB\"\n }, {\n \"name\" : \"Alfamart\",\n \"type\" : \"doku_alfamart\"\n }, {\n \"name\" : \"BCA Bank Transfer\",\n \"type\" : \"doku_bca_va\"\n }, {\n \"name\" : \"BNI VA\",\n \"type\" : \"doku_bni_va\"\n }, {\n \"name\" : \"BRI VA\",\n \"type\" : \"doku_bri_va\"\n }, {\n \"name\" : \"CIMB VA\",\n \"type\" : \"doku_cimb_va\"\n }, {\n \"name\" : \"Danamon VA\",\n \"type\" : \"doku_danamon_va\"\n }, {\n \"name\" : \"Indomaret\",\n \"type\" : \"doku_indomaret\"\n }, {\n \"name\" : \"Mandiri VA\",\n \"type\" : \"doku_mandiri_va\"\n }, {\n \"name\" : \"OVO\",\n \"type\" : \"doku_ovo\"\n }, {\n \"name\" : \"Bank Transfer\",\n \"type\" : \"doku_permata_lite_atm\"\n }, {\n \"name\" : \"DOKU wallet\",\n \"type\" : \"doku_wallet\"\n }, {\n \"name\" : \"Local Polish Payment Methods\",\n \"type\" : \"dotpay\"\n }, {\n \"name\" : \"Dragonpay Prepaid Credits\",\n \"type\" : \"dragonpay_credits\"\n }, {\n \"name\" : \"Online Banking\",\n \"type\" : \"dragonpay_ebanking\"\n }, {\n \"name\" : \"GCash\",\n \"type\" : \"dragonpay_gcash\"\n }, {\n \"name\" : \"Over The Counter Banks\",\n \"type\" : \"dragonpay_otc_banking\"\n }, {\n \"name\" : \"OTC non-Bank via Dragonpay\",\n \"type\" : \"dragonpay_otc_non_banking\"\n }, {\n \"name\" : \"Convenience Stores\",\n \"type\" : \"dragonpay_otc_philippines\"\n }, {\n \"name\" : \"7/11\",\n \"type\" : \"dragonpay_seveneleven\"\n }, {\n \"name\" : \"eagleeye_voucher\",\n \"type\" : \"eagleeye_voucher\"\n }, {\n \"name\" : \"Finnish E-Banking\",\n \"type\" : \"ebanking_FI\"\n }, {\n \"name\" : \"Pay-easy ATM\",\n \"type\" : \"econtext_atm\"\n }, {\n \"name\" : \"Online Banking\",\n \"type\" : \"econtext_online\"\n }, {\n \"name\" : \"7-Eleven\",\n \"type\" : \"econtext_seven_eleven\"\n }, {\n \"name\" : \"Convenience Stores\",\n \"type\" : \"econtext_stores\"\n }, {\n \"name\" : \"eft_directdebit_CA\",\n \"type\" : \"eft_directdebit_CA\"\n }, {\n \"name\" : \"Lastschrift (ELV)\",\n \"type\" : \"elv\"\n }, {\n \"name\" : \"Bank Payment\",\n \"type\" : \"entercash\"\n }, {\n \"name\" : \"Nationale Entertainment Card\",\n \"type\" : \"entertainmentcard\"\n }, {\n \"name\" : \"EPS\",\n \"type\" : \"eps\"\n }, {\n \"name\" : \"Expert Cadeaukaart\",\n \"type\" : \"expertgiftcard\"\n }, {\n \"name\" : \"3x Oney\",\n \"type\" : \"facilypay_3x\"\n }, {\n \"name\" : \"4x Oney\",\n \"type\" : \"facilypay_4x\"\n }, {\n \"name\" : \"Fashioncheque\",\n \"type\" : \"fashioncheque\"\n }, {\n \"name\" : \"Fawry\",\n \"type\" : \"fawry\"\n }, {\n \"name\" : \"FijnCadeau\",\n \"type\" : \"fijncadeau\"\n }, {\n \"name\" : \"Fleurop Bloemenbon\",\n \"type\" : \"fleuropbloemenbon\"\n }, {\n \"name\" : \"Fonq Giftcard\",\n \"type\" : \"fonqgiftcard\"\n }, {\n \"name\" : \"Gall & Gall\",\n \"type\" : \"gallgall\"\n }, {\n \"name\" : \"GCash\",\n \"type\" : \"gcash\"\n }, {\n \"name\" : \"Generic GiftCard\",\n \"type\" : \"genericgiftcard\"\n }, {\n \"name\" : \"GiftFor2\",\n \"type\" : \"giftfor2card\"\n }, {\n \"name\" : \"Givex\",\n \"type\" : \"givex\"\n }, {\n \"name\" : \"Globe GCash\",\n \"type\" : \"globegcash\"\n }, {\n \"name\" : \"Goldsmiths Card\",\n \"type\" : \"goldsmithscard\"\n }, {\n \"name\" : \"GoPay Wallet\",\n \"type\" : \"gopay_wallet\"\n }, {\n \"name\" : \"OVO\",\n \"type\" : \"grabpay_ID\"\n }, {\n \"name\" : \"GrabPay\",\n \"type\" : \"grabpay_PH\"\n }, {\n \"name\" : \"GrabPay\",\n \"type\" : \"grabpay_SG\"\n }, {\n \"name\" : \"Hallmark Card\",\n \"type\" : \"hallmarkcard\"\n }, {\n \"name\" : \"HDFC\",\n \"type\" : \"hdfc\"\n }, {\n \"name\" : \"Hunkemoller Member Card\",\n \"type\" : \"hmclub\"\n }, {\n \"name\" : \"Hunkemoller Lingerie Card\",\n \"type\" : \"hmlingerie\"\n }, {\n \"name\" : \"iDEAL\",\n \"type\" : \"ideal\"\n }, {\n \"name\" : \"igive\",\n \"type\" : \"igive\"\n }, {\n \"name\" : \"Korean Account Transfer (IniPay)\",\n \"type\" : \"inicisIniPay_accounttransfer\"\n }, {\n \"name\" : \"Korean Credit Cards (IniPay)\",\n \"type\" : \"inicisIniPay_creditcard\"\n }, {\n \"name\" : \"Korean Mobile Phone (IniPay)\",\n \"type\" : \"inicisIniPay_mobilephone\"\n }, {\n \"name\" : \"Korean Virtual Account (IniPay)\",\n \"type\" : \"inicisIniPay_virtualaccount\"\n }, {\n \"name\" : \"Korean Account Transfer (Mobile)\",\n \"type\" : \"inicisMobile_accounttransfer\"\n }, {\n \"name\" : \"Korean Credit Cards (Mobile)\",\n \"type\" : \"inicisMobile_creditcard\"\n }, {\n \"name\" : \"Korean Mobile Phone (Mobile)\",\n \"type\" : \"inicisMobile_mobilephone\"\n }, {\n \"name\" : \"Korean Virtual Account (Mobile)\",\n \"type\" : \"inicisMobile_virtualaccount\"\n }, {\n \"name\" : \"Korean Credit Cards\",\n \"type\" : \"inicis_creditcard\"\n }, {\n \"name\" : \"Interac® Online\",\n \"type\" : \"interac\"\n }, {\n \"name\" : \"Instant EFT\",\n \"type\" : \"ipay\"\n }, {\n \"name\" : \"iPay88\",\n \"type\" : \"ipay88\"\n }, {\n \"name\" : \"isracard\",\n \"type\" : \"isracard\"\n }, {\n \"name\" : \"Phone Payment\",\n \"type\" : \"ivr\"\n }, {\n \"name\" : \"Landline phone\",\n \"type\" : \"ivrLandline\"\n }, {\n \"name\" : \"Mobile phone\",\n \"type\" : \"ivrMobile\"\n }, {\n \"name\" : \"Kado Wereld\",\n \"type\" : \"kadowereld\"\n }, {\n \"name\" : \"KakaoPay\",\n \"type\" : \"kakaopay\"\n }, {\n \"name\" : \"Karen Millen Card\",\n \"type\" : \"karenmillen\"\n }, {\n \"name\" : \"Karen Millen GiftCard\",\n \"type\" : \"karenmillengiftcard\"\n }, {\n \"name\" : \"Bank Transfer\",\n \"type\" : \"kcp_banktransfer\"\n }, {\n \"name\" : \"Korea–issued cards\",\n \"type\" : \"kcp_creditcard\"\n }, {\n \"name\" : \"PayCo\",\n \"type\" : \"kcp_payco\"\n }, {\n \"name\" : \"Naver Pay\",\n \"type\" : \"kcp_naverpay\"\n }, {\n \"name\" : \"Virtual Account via KCP\",\n \"type\" : \"kcp_va\"\n }, {\n \"name\" : \"Pay later with Klarna.\",\n \"type\" : \"klarna\"\n }, {\n \"name\" : \"Pay over time with Klarna.\",\n \"type\" : \"klarna_account\"\n }, {\n \"name\" : \"Buy Now, Pay Later with Billie\",\n \"type\" : \"klarna_b2b\"\n }, {\n \"name\" : \"Pay now with Klarna.\",\n \"type\" : \"klarna_paynow\"\n }, {\n \"name\" : \"Leisure Card\",\n \"type\" : \"leisurecard\"\n }, {\n \"name\" : \"China Credit Card\",\n \"type\" : \"lianlianpay_creditcard\"\n }, {\n \"name\" : \"China Debit Card\",\n \"type\" : \"lianlianpay_debitcard\"\n }, {\n \"name\" : \"China Online Banking - Credit Card\",\n \"type\" : \"lianlianpay_ebanking_credit\"\n }, {\n \"name\" : \"China Online Banking - Debit Card\",\n \"type\" : \"lianlianpay_ebanking_debit\"\n }, {\n \"name\" : \"China Online Banking - Enterprise\",\n \"type\" : \"lianlianpay_ebanking_enterprise\"\n }, {\n \"name\" : \"Loods5 Cadeaukaart\",\n \"type\" : \"loods5giftcard\"\n }, {\n \"name\" : \"Loods5 Tegoedbon\",\n \"type\" : \"loods5prepaidcard\"\n }, {\n \"name\" : \"Love2Shop GiftCard\",\n \"type\" : \"love2shop\"\n }, {\n \"name\" : \"mada\",\n \"type\" : \"mada\"\n }, {\n \"name\" : \"Mappin & Webb Card\",\n \"type\" : \"mappinwebbcard\"\n }, {\n \"name\" : \"MB WAY\",\n \"type\" : \"mbway\"\n }, {\n \"name\" : \"Amazon Pay\",\n \"supportsRecurring\" : true,\n \"type\" : \"amazonpay\"\n }, {\n \"name\" : \"Mercado Pago\",\n \"type\" : \"mercadopago\"\n }, {\n \"name\" : \"MobilePay\",\n \"type\" : \"mobilepay\"\n }, {\n \"name\" : \"AliPay via Razer Merchant Services\",\n \"type\" : \"molpay_alipay\"\n }, {\n \"name\" : \"7-Eleven\",\n \"type\" : \"molpay_cash\"\n }, {\n \"name\" : \"CIMB Virtual Account\",\n \"type\" : \"molpay_cimb_va\"\n }, {\n \"name\" : \"Malaysia E-Banking via Razer Merchant Services\",\n \"type\" : \"molpay_ebanking_MY\"\n }, {\n \"name\" : \"Vietnam E-Banking\",\n \"type\" : \"molpay_ebanking_VN\"\n }, {\n \"name\" : \"Malaysia E-Banking\",\n \"type\" : \"molpay_ebanking_fpx_MY\"\n }, {\n \"name\" : \"eNETS Debit\",\n \"type\" : \"molpay_enetsd\"\n }, {\n \"name\" : \"epay\",\n \"type\" : \"molpay_epay\"\n }, {\n \"name\" : \"Esapay\",\n \"type\" : \"molpay_esapay\"\n }, {\n \"name\" : \"MyClear FPX\",\n \"type\" : \"molpay_fpx\"\n }, {\n \"name\" : \"Maybank2u\",\n \"type\" : \"molpay_maybank2u\"\n }, {\n \"name\" : \"Nganluong\",\n \"type\" : \"molpay_nganluong\"\n }, {\n \"name\" : \"Convenience Stores Thailand\",\n \"type\" : \"molpay_paysbuy\"\n }, {\n \"name\" : \"MOLPoints\",\n \"type\" : \"molpay_points\"\n }, {\n \"name\" : \"RHB Now\",\n \"type\" : \"molpay_rhb\"\n }, {\n \"name\" : \"SAM by SingPost\",\n \"type\" : \"molpay_singpost\"\n }, {\n \"name\" : \"MOLWallet\",\n \"type\" : \"molpay_wallet\"\n }, {\n \"name\" : \"MoMo ATM\",\n \"type\" : \"momo_atm\"\n }, {\n \"name\" : \"Momo Wallet\",\n \"type\" : \"momo_wallet\"\n }, {\n \"name\" : \"Moneybookers\",\n \"type\" : \"moneybookers\"\n }, {\n \"name\" : \"Multibanco\",\n \"type\" : \"multibanco\"\n }, {\n \"name\" : \"De Nationale Musicalcard\",\n \"type\" : \"musicalcard\"\n }, {\n \"name\" : \"Nationale Bioscoopbon\",\n \"type\" : \"nationalebioscoopbon\"\n }, {\n \"name\" : \"Nationale Tuinbon\",\n \"type\" : \"nationaletuinbon\"\n }, {\n \"name\" : \"Nationale Verwen Cadeaubon\",\n \"type\" : \"nationaleverwencadeaubon\"\n }, {\n \"name\" : \"BankAxess\",\n \"type\" : \"netaxept_bankaxess\"\n }, {\n \"name\" : \"NETELLER\",\n \"type\" : \"neteller\"\n }, {\n \"name\" : \"Onebip\",\n \"type\" : \"onebip\"\n }, {\n \"name\" : \"One Two Three\",\n \"type\" : \"onetwothree\"\n }, {\n \"name\" : \"Online Banking PL\",\n \"type\" : \"onlineBanking_PL\"\n }, {\n \"name\" : \"Online banking\",\n \"type\" : \"openbanking_UK\"\n }, {\n \"name\" : \"Oxxo\",\n \"type\" : \"oxxo\"\n }, {\n \"name\" : \"Pathe Giftcard\",\n \"type\" : \"pathegiftcard\"\n }, {\n \"name\" : \"PayBright\",\n \"type\" : \"paybright\"\n }, {\n \"name\" : \"Maya Wallet\",\n \"type\" : \"paymaya_wallet\"\n }, {\n \"name\" : \"PayPal\",\n \"type\" : \"paypal\"\n }, {\n \"name\" : \"Paysafecard\",\n \"type\" : \"paysafecard\"\n }, {\n \"name\" : \"Payshop\",\n \"type\" : \"payshop\"\n }, {\n \"name\" : \"PayD AMT via Paythru\",\n \"type\" : \"paythru_amt\"\n }, {\n \"name\" : \"EFT via Paythru\",\n \"type\" : \"paythru_eft\"\n }, {\n \"name\" : \"PayTM\",\n \"type\" : \"paytm\"\n }, {\n \"name\" : \"PayU UPI\",\n \"type\" : \"payu_IN_upi\"\n }, {\n \"name\" : \"EFT Pro via PayU\",\n \"type\" : \"payu_ZA_eftpro\"\n }, {\n \"name\" : \"Google Pay\",\n \"type\" : \"paywithgoogle\"\n }, {\n \"name\" : \"pix\",\n \"type\" : \"pix\"\n }, {\n \"name\" : \"Plastix\",\n \"type\" : \"plastix\"\n }, {\n \"name\" : \"Pluim\",\n \"type\" : \"pluimgiftcard\"\n }, {\n \"name\" : \"Podium Card\",\n \"type\" : \"podiumcard\"\n }, {\n \"name\" : \"POLi\",\n \"type\" : \"poli\"\n }, {\n \"name\" : \"PPS\",\n \"type\" : \"pps\"\n }, {\n \"name\" : \"Primera Cadeaukaart\",\n \"type\" : \"primeracadeaucard\"\n }, {\n \"name\" : \"Illicado Gift Card\",\n \"type\" : \"prosodie_illicado\"\n }, {\n \"name\" : \"PSE\",\n \"type\" : \"pse\"\n }, {\n \"name\" : \"Qiwi Wallet\",\n \"type\" : \"qiwiwallet\"\n }, {\n \"name\" : \"RatePay Invoice\",\n \"type\" : \"ratepay\"\n }, {\n \"name\" : \"RatePay Direct Debit\",\n \"type\" : \"ratepay_directdebit\"\n }, {\n \"name\" : \"Rituals Giftcard\",\n \"type\" : \"rituals\"\n }, {\n \"name\" : \"Rob Peetoom Giftcard\",\n \"type\" : \"robpeetoomgiftcard\"\n }, {\n \"name\" : \"SafetyPay\",\n \"type\" : \"safetypay\"\n }, {\n \"name\" : \"SafetyPay Cash\",\n \"type\" : \"safetypay_cash\"\n }, {\n \"name\" : \"Shoes&Accessories Cadeau\",\n \"type\" : \"sagiftcard\"\n }, {\n \"name\" : \"Score Giftcard\",\n \"type\" : \"scoregiftcard\"\n }, {\n \"name\" : \"SEB Direktbetalning\",\n \"type\" : \"sebdirectpayment\"\n }, {\n \"name\" : \"SEPA Direct Debit\",\n \"type\" : \"sepadirectdebit\"\n }, {\n \"name\" : \"7-Eleven\",\n \"type\" : \"seveneleven\"\n }, {\n \"name\" : \"Premium SMS\",\n \"type\" : \"sms\"\n }, {\n \"name\" : \"SVS\",\n \"type\" : \"svs\"\n }, {\n \"name\" : \"Swish\",\n \"type\" : \"swish\"\n }, {\n \"name\" : \"TCS Test GiftCard\",\n \"type\" : \"tcstestgiftcard\"\n }, {\n \"name\" : \"TenPay\",\n \"type\" : \"tenpay\"\n }, {\n \"name\" : \"The Sting Giftcard\",\n \"type\" : \"thestinggiftcard\"\n }, {\n \"name\" : \"TrueMoney\",\n \"type\" : \"truemoney\"\n }, {\n \"name\" : \"Trustly\",\n \"type\" : \"trustly\"\n }, {\n \"name\" : \"Online Banking by Trustpay\",\n \"type\" : \"trustpay\"\n }, {\n \"name\" : \"TWINT\",\n \"type\" : \"twint\"\n }, {\n \"name\" : \"Ukash\",\n \"type\" : \"ukash\"\n }, {\n \"name\" : \"UnionPay\",\n \"type\" : \"unionpay\"\n }, {\n \"name\" : \"UPI Collect\",\n \"type\" : \"upi_collect\"\n }, {\n \"name\" : \"Valuelink\",\n \"type\" : \"valuelink\"\n }, {\n \"name\" : \"V&D Cadeaukaart\",\n \"type\" : \"vdcadeaucard\"\n }, {\n \"name\" : \"Vipps\",\n \"type\" : \"vipps\"\n }, {\n \"name\" : \"Visa Checkout\",\n \"type\" : \"visacheckout\"\n }, {\n \"name\" : \"VVV Cadeaubon\",\n \"type\" : \"vvvcadeaubon\"\n }, {\n \"name\" : \"VVV Giftcard\",\n \"type\" : \"vvvgiftcard\"\n }, {\n \"name\" : \"Webshop Giftcard\",\n \"type\" : \"webshopgiftcard\"\n }, {\n \"name\" : \"WeChat Pay\",\n \"type\" : \"wechatpayMiniProgram\"\n }, {\n \"name\" : \"WeChat Pay\",\n \"type\" : \"wechatpayQR\"\n }, {\n \"name\" : \"WeChat Pay\",\n \"type\" : \"wechatpayWeb\"\n }, {\n \"name\" : \"WE Fashion Giftcard\",\n \"type\" : \"wefashiongiftcard\"\n }, {\n \"name\" : \"Western Union\",\n \"type\" : \"westernunion\"\n }, {\n \"name\" : \"Winkel Cheque\",\n \"type\" : \"winkelcheque\"\n }, {\n \"name\" : \"WOS Card\",\n \"type\" : \"woscard\"\n }, {\n \"name\" : \"Alfa-Click\",\n \"type\" : \"yandex_alfaclick\"\n }, {\n \"name\" : \"Pay using bank card\",\n \"type\" : \"yandex_bank_card\"\n }, {\n \"name\" : \"Cash terminals\",\n \"type\" : \"yandex_cash\"\n }, {\n \"name\" : \"Pay using installments\",\n \"type\" : \"yandex_installments\"\n }, {\n \"name\" : \"YooMoney\",\n \"type\" : \"yandex_money\"\n }, {\n \"name\" : \"Promsvyazbank\",\n \"type\" : \"yandex_promsvyazbank\"\n }, {\n \"name\" : \"SberPay\",\n \"type\" : \"yandex_sberbank\"\n }, {\n \"name\" : \"WebMoney\",\n \"type\" : \"yandex_webmoney\"\n }, {\n \"name\" : \"Your Gift\",\n \"type\" : \"yourgift\"\n }, {\n \"name\" : \"Zip\",\n \"type\" : \"zip\"\n } ]\n}", + "originalRequest": { + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentMethods", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentMethods" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Queries the available payment methods for a transaction based on the transaction context (like amount, country, and currency). Besides giving back a list of the available payment methods, the response also returns which input details you need to collect from the shopper (to be submitted to `/payments`). Although we highly recommend using this endpoint to ensure you are always offering the most up-to-date list of payment methods, its usage is optional. You can, for example, also cache the `/paymentMethods` response and update it once a week." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentMethods", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentMethods" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Queries the available payment methods for a transaction based on the transaction context (like amount, country, and currency). Besides giving back a list of the available payment methods, the response also returns which input details you need to collect from the shopper (to be submitted to `/payments`). Although we highly recommend using this endpoint to ensure you are always offering the most up-to-date list of payment methods, its usage is optional. You can, for example, also cache the `/paymentMethods` response and update it once a week." - } + ] }, { "name": "Get payment methods based on the country and amount", "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 + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl-NL\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentMethods", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentMethods" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Queries the available payment methods for a transaction based on the transaction context (like amount, country, and currency). Besides giving back a list of the available payment methods, the response also returns which input details you need to collect from the shopper (to be submitted to `/payments`). Although we highly recommend using this endpoint to ensure you are always offering the most up-to-date list of payment methods, its usage is optional. You can, for example, also cache the `/paymentMethods` response and update it once a week." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"paymentMethods\" : [ {\n \"name\" : \"iDEAL\",\n \"type\" : \"ideal\"\n }, {\n \"name\" : \"Hitelkártya\",\n \"type\" : \"scheme\"\n }, {\n \"name\" : \"PayPal\",\n \"type\" : \"paypal\"\n }, {\n \"name\" : \"AfterPay Invoice\",\n \"type\" : \"afterpay_default\"\n }, {\n \"name\" : \"Pay later with Klarna.\",\n \"type\" : \"klarna\"\n }, {\n \"name\" : \"SEPA Direct Debit\",\n \"type\" : \"sepadirectdebit\"\n }, {\n \"name\" : \"Paysafecard\",\n \"type\" : \"paysafecard\"\n }, {\n \"name\" : \"Bijenkorf Cadeaucard\",\n \"type\" : \"bijcadeaucard\"\n }, {\n \"name\" : \"Fonq Giftcard\",\n \"type\" : \"fonqgiftcard\"\n }, {\n \"name\" : \"Bank Transfer (NL)\",\n \"type\" : \"bankTransfer_NL\"\n }, {\n \"name\" : \"Pathe Giftcard\",\n \"type\" : \"pathegiftcard\"\n }, {\n \"name\" : \"VVV Giftcard\",\n \"type\" : \"vvvgiftcard\"\n }, {\n \"name\" : \"Podium Card\",\n \"type\" : \"podiumcard\"\n }, {\n \"name\" : \"RatePay Direct Debit\",\n \"type\" : \"ratepay_directdebit\"\n }, {\n \"name\" : \"Rituals Giftcard\",\n \"type\" : \"rituals\"\n }, {\n \"name\" : \"Hunkemoller Lingerie Card\",\n \"type\" : \"hmlingerie\"\n }, {\n \"name\" : \"Primera Cadeaukaart\",\n \"type\" : \"primeracadeaucard\"\n }, {\n \"name\" : \"Fashioncheque\",\n \"type\" : \"fashioncheque\"\n }, {\n \"name\" : \"NETELLER\",\n \"type\" : \"neteller\"\n }, {\n \"name\" : \"Adyen Voucher\",\n \"type\" : \"adyen_test_voucher\"\n }, {\n \"name\" : \"AfterPay B2B\",\n \"type\" : \"afterpay_b2b\"\n }, {\n \"name\" : \"AfterPay DirectDebit\",\n \"type\" : \"afterpay_directdebit\"\n }, {\n \"name\" : \"AliPay\",\n \"type\" : \"alipay\"\n }, {\n \"name\" : \"AliPay\",\n \"type\" : \"alipay_wap\"\n }, {\n \"name\" : \"Android Pay\",\n \"type\" : \"androidpay\"\n }, {\n \"name\" : \"Apple Pay\",\n \"type\" : \"applepay\"\n }, {\n \"name\" : \"Baby Gift Card\",\n \"type\" : \"babygiftcard\"\n }, {\n \"name\" : \"SEPA Bank Transfer\",\n \"type\" : \"bankTransfer_IBAN\"\n }, {\n \"name\" : \"Bloemen Giftcard\",\n \"type\" : \"bloemengiftcard\"\n }, {\n \"name\" : \"Boekenbon Giftcard\",\n \"type\" : \"boekenbon\"\n }, {\n \"name\" : \"Cash-Ticket\",\n \"type\" : \"cashticket\"\n }, {\n \"name\" : \"Chasin Giftcard\",\n \"type\" : \"chasingiftcard\"\n }, {\n \"name\" : \"ClickandBuy\",\n \"type\" : \"clickandbuy\"\n }, {\n \"name\" : \"Costes Giftcard\",\n \"type\" : \"costesgiftcard\"\n }, {\n \"name\" : \"custom_settlement\",\n \"type\" : \"custom_settlement\"\n }, {\n \"name\" : \"eft_directdebit_CA\",\n \"type\" : \"eft_directdebit_CA\"\n }, {\n \"name\" : \"Nationale Entertainment Card\",\n \"type\" : \"entertainmentcard\"\n }, {\n \"name\" : \"Expert Cadeaukaart\",\n \"type\" : \"expertgiftcard\"\n }, {\n \"name\" : \"FijnCadeau\",\n \"type\" : \"fijncadeau\"\n }, {\n \"name\" : \"Fleurop Bloemenbon\",\n \"type\" : \"fleuropbloemenbon\"\n }, {\n \"name\" : \"Gall & Gall\",\n \"type\" : \"gallgall\"\n }, {\n \"name\" : \"Generic GiftCard\",\n \"type\" : \"genericgiftcard\"\n }, {\n \"name\" : \"GiftFor2\",\n \"type\" : \"giftfor2card\"\n }, {\n \"name\" : \"Givex\",\n \"type\" : \"givex\"\n }, {\n \"name\" : \"Goldsmiths Card\",\n \"type\" : \"goldsmithscard\"\n }, {\n \"name\" : \"Hunkemoller Member Card\",\n \"type\" : \"hmclub\"\n }, {\n \"name\" : \"Phone Payment\",\n \"type\" : \"ivr\"\n }, {\n \"name\" : \"Landline phone\",\n \"type\" : \"ivrLandline\"\n }, {\n \"name\" : \"Mobile phone\",\n \"type\" : \"ivrMobile\"\n }, {\n \"name\" : \"Kado Wereld\",\n \"type\" : \"kadowereld\"\n }, {\n \"name\" : \"Karen Millen GiftCard\",\n \"type\" : \"karenmillengiftcard\"\n }, {\n \"name\" : \"Leisure Card\",\n \"type\" : \"leisurecard\"\n }, {\n \"name\" : \"Loods5 Cadeaukaart\",\n \"type\" : \"loods5giftcard\"\n }, {\n \"name\" : \"Loods5 Tegoedbon\",\n \"type\" : \"loods5prepaidcard\"\n }, {\n \"name\" : \"Amazon Pay\",\n \"supportsRecurring\" : true,\n \"type\" : \"amazonpay\"\n }, {\n \"name\" : \"MOLPoints\",\n \"type\" : \"molpay_points\"\n }, {\n \"name\" : \"Moneybookers\",\n \"type\" : \"moneybookers\"\n }, {\n \"name\" : \"De Nationale Musicalcard\",\n \"type\" : \"musicalcard\"\n }, {\n \"name\" : \"Nationale Bioscoopbon\",\n \"type\" : \"nationalebioscoopbon\"\n }, {\n \"name\" : \"Nationale Tuinbon\",\n \"type\" : \"nationaletuinbon\"\n }, {\n \"name\" : \"Nationale Verwen Cadeaubon\",\n \"type\" : \"nationaleverwencadeaubon\"\n }, {\n \"name\" : \"Onebip\",\n \"type\" : \"onebip\"\n }, {\n \"name\" : \"Google Pay\",\n \"type\" : \"paywithgoogle\"\n }, {\n \"name\" : \"Plastix\",\n \"type\" : \"plastix\"\n }, {\n \"name\" : \"Pluim\",\n \"type\" : \"pluimgiftcard\"\n }, {\n \"name\" : \"Illicado Gift Card\",\n \"type\" : \"prosodie_illicado\"\n }, {\n \"name\" : \"RatePay Invoice\",\n \"type\" : \"ratepay\"\n }, {\n \"name\" : \"Rob Peetoom Giftcard\",\n \"type\" : \"robpeetoomgiftcard\"\n }, {\n \"name\" : \"Shoes&Accessories Cadeau\",\n \"type\" : \"sagiftcard\"\n }, {\n \"name\" : \"Score Giftcard\",\n \"type\" : \"scoregiftcard\"\n }, {\n \"name\" : \"Premium SMS\",\n \"type\" : \"sms\"\n }, {\n \"name\" : \"SVS\",\n \"type\" : \"svs\"\n }, {\n \"name\" : \"TCS Test GiftCard\",\n \"type\" : \"tcstestgiftcard\"\n }, {\n \"name\" : \"The Sting Giftcard\",\n \"type\" : \"thestinggiftcard\"\n }, {\n \"name\" : \"Ukash\",\n \"type\" : \"ukash\"\n }, {\n \"name\" : \"UnionPay\",\n \"type\" : \"unionpay\"\n }, {\n \"name\" : \"Valuelink\",\n \"type\" : \"valuelink\"\n }, {\n \"name\" : \"V&D Cadeaukaart\",\n \"type\" : \"vdcadeaucard\"\n }, {\n \"name\" : \"Visa Checkout\",\n \"type\" : \"visacheckout\"\n }, {\n \"name\" : \"VVV Cadeaubon\",\n \"type\" : \"vvvcadeaubon\"\n }, {\n \"name\" : \"Webshop Giftcard\",\n \"type\" : \"webshopgiftcard\"\n }, {\n \"name\" : \"WE Fashion Giftcard\",\n \"type\" : \"wefashiongiftcard\"\n }, {\n \"name\" : \"Western Union\",\n \"type\" : \"westernunion\"\n }, {\n \"name\" : \"Winkel Cheque\",\n \"type\" : \"winkelcheque\"\n }, {\n \"name\" : \"Your Gift\",\n \"type\" : \"yourgift\"\n } ]\n}", + "originalRequest": { + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl-NL\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentMethods", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentMethods" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Queries the available payment methods for a transaction based on the transaction context (like amount, country, and currency). Besides giving back a list of the available payment methods, the response also returns which input details you need to collect from the shopper (to be submitted to `/payments`). Although we highly recommend using this endpoint to ensure you are always offering the most up-to-date list of payment methods, its usage is optional. You can, for example, also cache the `/paymentMethods` response and update it once a week." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl-NL\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n }\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentMethods", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentMethods" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Queries the available payment methods for a transaction based on the transaction context (like amount, country, and currency). Besides giving back a list of the available payment methods, the response also returns which input details you need to collect from the shopper (to be submitted to `/payments`). Although we highly recommend using this endpoint to ensure you are always offering the most up-to-date list of payment methods, its usage is optional. You can, for example, also cache the `/paymentMethods` response and update it once a week." - } + ] }, { "name": "Get payment methods including stored card details", "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 + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"countryCode\" : \"NL\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentMethods", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentMethods" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Queries the available payment methods for a transaction based on the transaction context (like amount, country, and currency). Besides giving back a list of the available payment methods, the response also returns which input details you need to collect from the shopper (to be submitted to `/payments`). Although we highly recommend using this endpoint to ensure you are always offering the most up-to-date list of payment methods, its usage is optional. You can, for example, also cache the `/paymentMethods` response and update it once a week." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"paymentMethods\" : [ {\n \"name\" : \"iDEAL\",\n \"type\" : \"ideal\"\n }, {\n \"name\" : \"Credit Card\",\n \"type\" : \"scheme\"\n }, {\n \"name\" : \"PayPal\",\n \"type\" : \"paypal\"\n }, {\n \"name\" : \"AfterPay Invoice\",\n \"type\" : \"afterpay_default\"\n }, {\n \"name\" : \"Pay later with Klarna.\",\n \"type\" : \"klarna\"\n }, {\n \"name\" : \"SEPA Direct Debit\",\n \"type\" : \"sepadirectdebit\"\n }, {\n \"name\" : \"Paysafecard\",\n \"type\" : \"paysafecard\"\n }, {\n \"name\" : \"Bijenkorf Cadeaucard\",\n \"type\" : \"bijcadeaucard\"\n }, {\n \"name\" : \"Fonq Giftcard\",\n \"type\" : \"fonqgiftcard\"\n }, {\n \"name\" : \"Bank Transfer (NL)\",\n \"type\" : \"bankTransfer_NL\"\n }, {\n \"name\" : \"Pathe Giftcard\",\n \"type\" : \"pathegiftcard\"\n }, {\n \"name\" : \"VVV Giftcard\",\n \"type\" : \"vvvgiftcard\"\n }, {\n \"name\" : \"Podium Card\",\n \"type\" : \"podiumcard\"\n }, {\n \"name\" : \"RatePay Direct Debit\",\n \"type\" : \"ratepay_directdebit\"\n }, {\n \"name\" : \"Rituals Giftcard\",\n \"type\" : \"rituals\"\n }, {\n \"name\" : \"Hunkemoller Lingerie Card\",\n \"type\" : \"hmlingerie\"\n }, {\n \"name\" : \"Primera Cadeaukaart\",\n \"type\" : \"primeracadeaucard\"\n }, {\n \"name\" : \"Fashioncheque\",\n \"type\" : \"fashioncheque\"\n }, {\n \"name\" : \"NETELLER\",\n \"type\" : \"neteller\"\n }, {\n \"name\" : \"Adyen Voucher\",\n \"type\" : \"adyen_test_voucher\"\n }, {\n \"name\" : \"AfterPay B2B\",\n \"type\" : \"afterpay_b2b\"\n }, {\n \"name\" : \"AfterPay DirectDebit\",\n \"type\" : \"afterpay_directdebit\"\n }, {\n \"name\" : \"AliPay\",\n \"type\" : \"alipay\"\n }, {\n \"name\" : \"AliPay\",\n \"type\" : \"alipay_wap\"\n }, {\n \"name\" : \"Android Pay\",\n \"type\" : \"androidpay\"\n }, {\n \"name\" : \"Apple Pay\",\n \"type\" : \"applepay\"\n }, {\n \"name\" : \"Baby Gift Card\",\n \"type\" : \"babygiftcard\"\n }, {\n \"name\" : \"SEPA Bank Transfer\",\n \"type\" : \"bankTransfer_IBAN\"\n }, {\n \"name\" : \"Bloemen Giftcard\",\n \"type\" : \"bloemengiftcard\"\n }, {\n \"name\" : \"Boekenbon Giftcard\",\n \"type\" : \"boekenbon\"\n }, {\n \"name\" : \"Cash-Ticket\",\n \"type\" : \"cashticket\"\n }, {\n \"name\" : \"Chasin Giftcard\",\n \"type\" : \"chasingiftcard\"\n }, {\n \"name\" : \"ClickandBuy\",\n \"type\" : \"clickandbuy\"\n }, {\n \"name\" : \"Costes Giftcard\",\n \"type\" : \"costesgiftcard\"\n }, {\n \"name\" : \"custom_settlement\",\n \"type\" : \"custom_settlement\"\n }, {\n \"name\" : \"eft_directdebit_CA\",\n \"type\" : \"eft_directdebit_CA\"\n }, {\n \"name\" : \"Nationale Entertainment Card\",\n \"type\" : \"entertainmentcard\"\n }, {\n \"name\" : \"Expert Cadeaukaart\",\n \"type\" : \"expertgiftcard\"\n }, {\n \"name\" : \"FijnCadeau\",\n \"type\" : \"fijncadeau\"\n }, {\n \"name\" : \"Fleurop Bloemenbon\",\n \"type\" : \"fleuropbloemenbon\"\n }, {\n \"name\" : \"Gall & Gall\",\n \"type\" : \"gallgall\"\n }, {\n \"name\" : \"Generic GiftCard\",\n \"type\" : \"genericgiftcard\"\n }, {\n \"name\" : \"GiftFor2\",\n \"type\" : \"giftfor2card\"\n }, {\n \"name\" : \"Givex\",\n \"type\" : \"givex\"\n }, {\n \"name\" : \"Goldsmiths Card\",\n \"type\" : \"goldsmithscard\"\n }, {\n \"name\" : \"Hunkemoller Member Card\",\n \"type\" : \"hmclub\"\n }, {\n \"name\" : \"Phone Payment\",\n \"type\" : \"ivr\"\n }, {\n \"name\" : \"Landline phone\",\n \"type\" : \"ivrLandline\"\n }, {\n \"name\" : \"Mobile phone\",\n \"type\" : \"ivrMobile\"\n }, {\n \"name\" : \"Kado Wereld\",\n \"type\" : \"kadowereld\"\n }, {\n \"name\" : \"Karen Millen GiftCard\",\n \"type\" : \"karenmillengiftcard\"\n }, {\n \"name\" : \"Leisure Card\",\n \"type\" : \"leisurecard\"\n }, {\n \"name\" : \"Loods5 Cadeaukaart\",\n \"type\" : \"loods5giftcard\"\n }, {\n \"name\" : \"Loods5 Tegoedbon\",\n \"type\" : \"loods5prepaidcard\"\n }, {\n \"name\" : \"Amazon Pay\",\n \"supportsRecurring\" : true,\n \"type\" : \"amazonpay\"\n }, {\n \"name\" : \"MOLPoints\",\n \"type\" : \"molpay_points\"\n }, {\n \"name\" : \"Moneybookers\",\n \"type\" : \"moneybookers\"\n }, {\n \"name\" : \"De Nationale Musicalcard\",\n \"type\" : \"musicalcard\"\n }, {\n \"name\" : \"Nationale Bioscoopbon\",\n \"type\" : \"nationalebioscoopbon\"\n }, {\n \"name\" : \"Nationale Tuinbon\",\n \"type\" : \"nationaletuinbon\"\n }, {\n \"name\" : \"Nationale Verwen Cadeaubon\",\n \"type\" : \"nationaleverwencadeaubon\"\n }, {\n \"name\" : \"Onebip\",\n \"type\" : \"onebip\"\n }, {\n \"name\" : \"Google Pay\",\n \"type\" : \"paywithgoogle\"\n }, {\n \"name\" : \"Plastix\",\n \"type\" : \"plastix\"\n }, {\n \"name\" : \"Pluim\",\n \"type\" : \"pluimgiftcard\"\n }, {\n \"name\" : \"Illicado Gift Card\",\n \"type\" : \"prosodie_illicado\"\n }, {\n \"name\" : \"RatePay Invoice\",\n \"type\" : \"ratepay\"\n }, {\n \"name\" : \"Rob Peetoom Giftcard\",\n \"type\" : \"robpeetoomgiftcard\"\n }, {\n \"name\" : \"Shoes&Accessories Cadeau\",\n \"type\" : \"sagiftcard\"\n }, {\n \"name\" : \"Score Giftcard\",\n \"type\" : \"scoregiftcard\"\n }, {\n \"name\" : \"Premium SMS\",\n \"type\" : \"sms\"\n }, {\n \"name\" : \"SVS\",\n \"type\" : \"svs\"\n }, {\n \"name\" : \"TCS Test GiftCard\",\n \"type\" : \"tcstestgiftcard\"\n }, {\n \"name\" : \"The Sting Giftcard\",\n \"type\" : \"thestinggiftcard\"\n }, {\n \"name\" : \"Ukash\",\n \"type\" : \"ukash\"\n }, {\n \"name\" : \"UnionPay\",\n \"type\" : \"unionpay\"\n }, {\n \"name\" : \"Valuelink\",\n \"type\" : \"valuelink\"\n }, {\n \"name\" : \"V&D Cadeaukaart\",\n \"type\" : \"vdcadeaucard\"\n }, {\n \"name\" : \"Visa Checkout\",\n \"type\" : \"visacheckout\"\n }, {\n \"name\" : \"VVV Cadeaubon\",\n \"type\" : \"vvvcadeaubon\"\n }, {\n \"name\" : \"Webshop Giftcard\",\n \"type\" : \"webshopgiftcard\"\n }, {\n \"name\" : \"WE Fashion Giftcard\",\n \"type\" : \"wefashiongiftcard\"\n }, {\n \"name\" : \"Western Union\",\n \"type\" : \"westernunion\"\n }, {\n \"name\" : \"Winkel Cheque\",\n \"type\" : \"winkelcheque\"\n }, {\n \"name\" : \"Your Gift\",\n \"type\" : \"yourgift\"\n } ],\n \"storedPaymentMethods\" : [ {\n \"brand\" : \"visa\",\n \"expiryMonth\" : \"10\",\n \"expiryYear\" : \"30\",\n \"holderName\" : \"John Smith\",\n \"id\" : \"7219687191761347\",\n \"issuerName\" : \"ISSUER_NAME\",\n \"lastFour\" : \"1111\",\n \"name\" : \"VISA\",\n \"shopperEmail\" : \"john.smith@example.com\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"supportedRecurringProcessingModels\" : [ \"CardOnFile\", \"Subscription\", \"UnscheduledCardOnFile\" ],\n \"type\" : \"scheme\"\n } ]\n}", + "originalRequest": { + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"countryCode\" : \"NL\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentMethods", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentMethods" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Queries the available payment methods for a transaction based on the transaction context (like amount, country, and currency). Besides giving back a list of the available payment methods, the response also returns which input details you need to collect from the shopper (to be submitted to `/payments`). Although we highly recommend using this endpoint to ensure you are always offering the most up-to-date list of payment methods, its usage is optional. You can, for example, also cache the `/paymentMethods` response and update it once a week." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"countryCode\" : \"NL\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentMethods", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentMethods" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Queries the available payment methods for a transaction based on the transaction context (like amount, country, and currency). Besides giving back a list of the available payment methods, the response also returns which input details you need to collect from the shopper (to be submitted to `/payments`). Although we highly recommend using this endpoint to ensure you are always offering the most up-to-date list of payment methods, its usage is optional. You can, for example, also cache the `/paymentMethods` response and update it once a week." - } + ] } ] - } -, + }, { "name": "/payments", "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. ", @@ -1538,692 +2811,1061 @@ { "name": "Make an Apple Pay payment", "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"applepay\",\n \"applePayToken\" : \"VNRWtuNlNEWkRCSm1xWndjMDFFbktkQU...\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"applepay\",\n \"applePayToken\" : \"VNRWtuNlNEWkRCSm1xWndjMDFFbktkQU...\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + ] }, { "name": "Make a card payment with 3D Secure 2 native authentication", "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"reference\" : \"{{$guid}}\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"encryptedCardNumber\" : \"test_4035501428146300\",\n \"encryptedExpiryMonth\" : \"test_03\",\n \"encryptedExpiryYear\" : \"test_2030\",\n \"encryptedSecurityCode\" : \"test_737\",\n \"holderName\" : \"John Smith\"\n },\n \"authenticationData\" : {\n \"threeDSRequestData\" : {\n \"nativeThreeDS\" : \"preferred\"\n }\n },\n \"billingAddress\" : {\n \"country\" : \"US\",\n \"city\" : \"New York\",\n \"street\" : \"Redwood Block\",\n \"houseNumberOrName\" : \"37C\",\n \"stateOrProvince\" : \"NY\",\n \"postalCode\" : \"10039\"\n },\n \"shopperEmail\" : \"s.hopper@test.com\",\n \"shopperIP\" : \"192.0.2.1\",\n \"browserInfo\" : {\n \"userAgent\" : \"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.110 Safari/537.36\",\n \"acceptHeader\" : \"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8\",\n \"language\" : \"nl-NL\",\n \"colorDepth\" : 24,\n \"screenHeight\" : 723,\n \"screenWidth\" : 1536,\n \"timeZoneOffset\" : 0,\n \"javaEnabled\" : true\n },\n \"channel\" : \"Web\",\n \"origin\" : \"https://your-company.com\",\n \"returnUrl\" : \"https://your-company.com/checkout/\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"reference\" : \"{{$guid}}\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"encryptedCardNumber\" : \"test_4035501428146300\",\n \"encryptedExpiryMonth\" : \"test_03\",\n \"encryptedExpiryYear\" : \"test_2030\",\n \"encryptedSecurityCode\" : \"test_737\",\n \"holderName\" : \"John Smith\"\n },\n \"authenticationData\" : {\n \"threeDSRequestData\" : {\n \"nativeThreeDS\" : \"preferred\"\n }\n },\n \"billingAddress\" : {\n \"country\" : \"US\",\n \"city\" : \"New York\",\n \"street\" : \"Redwood Block\",\n \"houseNumberOrName\" : \"37C\",\n \"stateOrProvince\" : \"NY\",\n \"postalCode\" : \"10039\"\n },\n \"shopperEmail\" : \"s.hopper@test.com\",\n \"shopperIP\" : \"192.0.2.1\",\n \"browserInfo\" : {\n \"userAgent\" : \"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.110 Safari/537.36\",\n \"acceptHeader\" : \"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8\",\n \"language\" : \"nl-NL\",\n \"colorDepth\" : 24,\n \"screenHeight\" : 723,\n \"screenWidth\" : 1536,\n \"timeZoneOffset\" : 0,\n \"javaEnabled\" : true\n },\n \"channel\" : \"Web\",\n \"origin\" : \"https://your-company.com\",\n \"returnUrl\" : \"https://your-company.com/checkout/\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + ] }, { "name": "Make a card payment with 3D Secure redirect authentication", "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4212345678901237\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\",\n \"cvc\" : \"737\"\n },\n \"browserInfo\" : {\n \"userAgent\" : \"Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9) Gecko/2008052912 Firefox/3.0\",\n \"acceptHeader\" : \"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8\",\n \"javaEnabled\" : true,\n \"colorDepth\" : 10,\n \"screenHeight\" : 2000,\n \"screenWidth\" : 3000,\n \"timeZoneOffset\" : 5,\n \"language\" : \"en\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4212345678901237\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\",\n \"cvc\" : \"737\"\n },\n \"browserInfo\" : {\n \"userAgent\" : \"Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9) Gecko/2008052912 Firefox/3.0\",\n \"acceptHeader\" : \"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8\",\n \"javaEnabled\" : true,\n \"colorDepth\" : 10,\n \"screenHeight\" : 2000,\n \"screenWidth\" : 3000,\n \"timeZoneOffset\" : 5,\n \"language\" : \"en\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + ] }, { "name": "Make a card payment with unencrypted card details", "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 + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4111111111111111\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\",\n \"cvc\" : \"737\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"additionalData\" : {\n \"cvcResult\" : \"1 Matches\",\n \"authCode\" : \"044925\",\n \"avsResult\" : \"4 AVS not supported for this card type\",\n \"avsResultRaw\" : \"4\",\n \"cvcResultRaw\" : \"M\",\n \"refusalReasonRaw\" : \"AUTHORISED\",\n \"acquirerCode\" : \"TestPmmAcquirer\",\n \"acquirerReference\" : \"8PQMP9VEP3H\"\n },\n \"pspReference\" : \"993617895204576J\",\n \"resultCode\" : \"Authorised\",\n \"merchantReference\" : \"string\"\n}", + "originalRequest": { + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4111111111111111\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\",\n \"cvc\" : \"737\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4111111111111111\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\",\n \"cvc\" : \"737\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + ] }, { "name": "Make a card payment", "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 + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"encryptedCardNumber\" : \"test_4111111111111111\",\n \"encryptedExpiryMonth\" : \"test_03\",\n \"encryptedExpiryYear\" : \"test_2030\",\n \"encryptedSecurityCode\" : \"test_737\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"additionalData\" : {\n \"cvcResult\" : \"1 Matches\",\n \"authCode\" : \"065696\",\n \"avsResult\" : \"4 AVS not supported for this card type\",\n \"avsResultRaw\" : \"4\",\n \"cvcResultRaw\" : \"M\",\n \"refusalReasonRaw\" : \"AUTHORISED\",\n \"acquirerCode\" : \"TestPmmAcquirer\",\n \"acquirerReference\" : \"8PQMP9VIE9N\"\n },\n \"pspReference\" : \"993617895215577D\",\n \"resultCode\" : \"Authorised\",\n \"merchantReference\" : \"string\"\n}", + "originalRequest": { + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"encryptedCardNumber\" : \"test_4111111111111111\",\n \"encryptedExpiryMonth\" : \"test_03\",\n \"encryptedExpiryYear\" : \"test_2030\",\n \"encryptedSecurityCode\" : \"test_737\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"encryptedCardNumber\" : \"test_4111111111111111\",\n \"encryptedExpiryMonth\" : \"test_03\",\n \"encryptedExpiryYear\" : \"test_2030\",\n \"encryptedSecurityCode\" : \"test_737\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + ] }, { "name": "Tokenize card details for one-off payments", "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 + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"encryptedCardNumber\" : \"test_4111111111111111\",\n \"encryptedExpiryMonth\" : \"test_03\",\n \"encryptedExpiryYear\" : \"test_2030\",\n \"encryptedSecurityCode\" : \"test_737\"\n },\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"storePaymentMethod\" : true,\n \"shopperInteraction\" : \"Ecommerce\",\n \"recurringProcessingModel\" : \"CardOnFile\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"additionalData\" : {\n \"cvcResult\" : \"1 Matches\",\n \"authCode\" : \"082338\",\n \"avsResult\" : \"4 AVS not supported for this card type\",\n \"recurring.recurringDetailReference\" : \"9916178934434753\",\n \"recurringProcessingModel\" : \"CardOnFile\",\n \"avsResultRaw\" : \"4\",\n \"cvcResultRaw\" : \"M\",\n \"refusalReasonRaw\" : \"AUTHORISED\",\n \"recurring.shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID_IOfW3k9G2PvXFu2j\",\n \"acquirerCode\" : \"TestPmmAcquirer\",\n \"acquirerReference\" : \"8PQMP9VC172\"\n },\n \"pspReference\" : \"993617895195570C\",\n \"resultCode\" : \"Authorised\",\n \"merchantReference\" : \"string\"\n}", + "originalRequest": { + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"encryptedCardNumber\" : \"test_4111111111111111\",\n \"encryptedExpiryMonth\" : \"test_03\",\n \"encryptedExpiryYear\" : \"test_2030\",\n \"encryptedSecurityCode\" : \"test_737\"\n },\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"storePaymentMethod\" : true,\n \"shopperInteraction\" : \"Ecommerce\",\n \"recurringProcessingModel\" : \"CardOnFile\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"encryptedCardNumber\" : \"test_4111111111111111\",\n \"encryptedExpiryMonth\" : \"test_03\",\n \"encryptedExpiryYear\" : \"test_2030\",\n \"encryptedSecurityCode\" : \"test_737\"\n },\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"storePaymentMethod\" : true,\n \"shopperInteraction\" : \"Ecommerce\",\n \"recurringProcessingModel\" : \"CardOnFile\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + ] }, { "name": "Make a Google Pay payment", "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"paywithgoogle\",\n \"googlePayToken\" : \"==Payload as retrieved from Google Pay response==\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"YourMerchantAccount\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"paywithgoogle\",\n \"googlePayToken\" : \"==Payload as retrieved from Google Pay response==\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"YourMerchantAccount\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + ] }, { "name": "Make an iDEAL payment", "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 + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"ideal\",\n \"issuer\" : \"1121\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"resultCode\" : \"RedirectShopper\",\n \"action\" : {\n \"paymentMethodType\" : \"ideal\",\n \"url\" : \"https://test.adyen.com/hpp/checkout.shtml?u=redirectIdeal&p=eJxtUl1zmzAQ-DXwZgaB*XrQg0Nwg2s3DTVtJy8ZRbqAYlsikmCMf30FddNMpzOak2bvZm-3Ts*KCJZLBpgzIEeX9kqBoOMMFXXlcq17UCXDCAXIPYGiLRFmRanshcF70GZ3xd6TpTDQKGK4FJ4ZO8D5XZF-vq-3T5*KL0VV5v*tHEBpe*Pob5cKXmBSA1gbxUXzIWF6JW6JITjLUIySNItQliVxsH6v*cYbnNSHZsMfcydYr8SrE9yY7HRjavMAlyyIjhuK*tzszj9ew-uHrN854a3bkfEE1uBp9od833cV6Lra4taYzglXlsueo6Tk2EptLJL6qW8h2gI9yN7oVnYdKItoUAOnoO3z62-aUlB5sk4qYFwBNTYzoD9015odmFYyJ1z-M2yr7uO4nSBW8xisNpua1NlG0SQwmiTaMMpeLWzDjojRs-cMep7natDTrL*TI2fcjDjwA7Twlws-3aPYOkKZDVH26F69THtShE57woUlmpSBqw9czP*k65*9IfCuq0jiJElQGi69Szn8DPebmKXDWATt6vxEWduea7*sLy-Lt*1bcbctGhgZk78A5S7dyQ\",\n \"method\" : \"GET\",\n \"type\" : \"redirect\"\n },\n \"paymentData\" : \"Ab02b4c0!BQABAgCINC3kOq5nsaj4k+VaArf6VIiTWkYALwijaS+VOvzTSf76Un3WYBgKJlEBqALZW3vlw+IDQGw5jqkVBO4axEJEFKu5fDL2RkeHbm+aHY7tlRVsjvNIcVTNbMtHJcclHakOVTrtTCQfspf11XGsmENUaL45bdeu07iDBtpnIvd39p6g8OVaLcSIGaA8Zosd93hs0h3lvIePt3QTekeOUH+zrMMfLyy/4QKBZtLjnWo3/4U0e2tsneOudynW0l5i+VyobWOZb7yZUj7v9GMVpAZ3YEqNZ1aWJlSmty9TJTpXp4PQQcNeELQAfTu4zaarMq5btRZpcmDRvSOQK0Qo/PvfWrv/si0c1NPr5EM43ebdkLiDEUSIGBDTellblheOaRsgD0JlrNLOHSpS6iCiyY5FQaWx7FpnYReP/un2f/2mMGxdehif1MqWWZzgAhjdA4kksQVb8eMIGLY2IveJ4iTmDAkFbhIATs2SuWhYBGqFnBGeH1jlJCJDDV8/XJ0IcX1/r0qC3wsUFecoElZ6gts+4tlfPUoeuSH/NFmyBEzrjZbgCqCH9YVXa/+W+dwQCOQ0G7K4SJepnlNcmpCtI29zMZgeRqmtzI0hImvQYt188MXK44ieh2wsmpVv6Y9EGIgJVR+t1IZKizm6Q2D5MCUC1uAVwu2iw7Xt5Re1XcWSaBC/nZt2iHaZF7kpgIXfrFshAEp7ImtleSI6IkFGMEFBQTEwM0NBNTM3RUFFRDg3QzI0REQ1MzkwOUI4MEE3OEE5MjNFMzgyM0Q2OERBQ0M5NEI5RkY4MzA1REMifVTgdc9kCwE5LJyeGFVSr+P70S1hwc62Ad03Oy1Ksxr823klh1hxYQDWBJETNf/YmYC9cHDGr6LxMQ8OOnwfg2xjsVU7ZUwWJbHid1vU/oJzHBXe54lHMNNre0HaQD6TSokVpazQsY3hRB84uevmeT7KVal98iqXd755VuiIxwHhhywaub1ogyQQEVxNGWx2+vL5Vh8NKmoghZQ+NLSZWRn77hJTGV+lKJdseGA9nV7DSlWodNmZ8RyRfQoqwtaK9woQ87PIN7XqSznZMS1HWMOE/aDLEXLJEfozHWrHuGVmn6Hupt/fBnm1GckSsMGeQNKS+4XmKGrJefrHDmdoZVBaZS9UjxfKjD2sCwu5vutgb6SLrECgCvu3q5/LTyFeTuPV1ZZrlpapC6umnWmSKmj/SdnhXJO00PNuFT2WY/GyH0cyA498zApE6VtLx2e9IvS01Oex6ZCRFDJ6sDCBzVN5g60vsm9tBut6trpQWyryqVM2cQ39xh9olCQ5Ml+2h4YFV5gA+1c0i+e6SeMtFJN788NW2EnQT/2pzM/rNAaSVwSf8vJcx3ZB9n8Pf8xi2buKZFEkyJpZJSg22JC/38D1E0tPRpQ7gZ1Z86meAGXnfKUtA+w2FllB2Y0dMrqi8jXnS/mqMPBmPVnIxUW96e40cB7W8E0VDf1IKx/wQphI8/vM3UOSqC81agmnyQ3nIDrAy8vqMOD+d1xcoElzRNy0OxU6v/90IKkhfAKr3Tur7Vb3FD6Pi/XrujJX95UlRd7fmaAI7Po1cIh1v7HEhsCNoh1z7WFNag==\",\n \"redirect\" : {\n \"method\" : \"GET\",\n \"url\" : \"https://test.adyen.com/hpp/checkout.shtml?u=redirectIdeal&p=eJxtUl1zmzAQ-DXwZgaB*XrQg0Nwg2s3DTVtJy8ZRbqAYlsikmCMf30FddNMpzOak2bvZm-3Ts*KCJZLBpgzIEeX9kqBoOMMFXXlcq17UCXDCAXIPYGiLRFmRanshcF70GZ3xd6TpTDQKGK4FJ4ZO8D5XZF-vq-3T5*KL0VV5v*tHEBpe*Pob5cKXmBSA1gbxUXzIWF6JW6JITjLUIySNItQliVxsH6v*cYbnNSHZsMfcydYr8SrE9yY7HRjavMAlyyIjhuK*tzszj9ew-uHrN854a3bkfEE1uBp9od833cV6Lra4taYzglXlsueo6Tk2EptLJL6qW8h2gI9yN7oVnYdKItoUAOnoO3z62-aUlB5sk4qYFwBNTYzoD9015odmFYyJ1z-M2yr7uO4nSBW8xisNpua1NlG0SQwmiTaMMpeLWzDjojRs-cMep7natDTrL*TI2fcjDjwA7Twlws-3aPYOkKZDVH26F69THtShE57woUlmpSBqw9czP*k65*9IfCuq0jiJElQGi69Szn8DPebmKXDWATt6vxEWduea7*sLy-Lt*1bcbctGhgZk78A5S7dyQ\"\n }\n}", + "originalRequest": { + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"ideal\",\n \"issuer\" : \"1121\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"ideal\",\n \"issuer\" : \"1121\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + ] }, { "name": "Make a Klarna payment", "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 \"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_IOfW3k9G2PvXFu2j\",\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" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + "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 \"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_IOfW3k9G2PvXFu2j\",\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" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + ] }, { "name": "Make a one-off payment with a token and CVV", "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"storedPaymentMethodId\" : \"8416038790273850\",\n \"encryptedSecurityCode\" : \"adyenjs_0_1_18$MT6ppy0FAMVMLH...\"\n },\n \"shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID_6738oneoff\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"shopperInteraction\" : \"ContAuth\",\n \"recurringProcessingModel\" : \"CardOnFile\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"storedPaymentMethodId\" : \"8416038790273850\",\n \"encryptedSecurityCode\" : \"adyenjs_0_1_18$MT6ppy0FAMVMLH...\"\n },\n \"shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID_6738oneoff\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"shopperInteraction\" : \"ContAuth\",\n \"recurringProcessingModel\" : \"CardOnFile\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + ] }, { "name": "Make a subscription card payment with a token", "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"storedPaymentMethodId\" : \"8316038796685850\"\n },\n \"shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID_IOfW3subscription\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"shopperInteraction\" : \"ContAuth\",\n \"recurringProcessingModel\" : \"Subscription\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"storedPaymentMethodId\" : \"8316038796685850\"\n },\n \"shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID_IOfW3subscription\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"shopperInteraction\" : \"ContAuth\",\n \"recurringProcessingModel\" : \"Subscription\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + ] }, { "name": "Split a payment between balance accounts", "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 + "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 \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"encryptedCardNumber\" : \"test_4111111111111111\",\n \"encryptedExpiryMonth\" : \"test_03\",\n \"encryptedExpiryYear\" : \"test_2030\",\n \"encryptedSecurityCode\" : \"test_737\"\n },\n \"amount\" : {\n \"value\" : 40000,\n \"currency\" : \"USD\"\n },\n \"reference\" : \"{{$guid}}\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"platformChargebackLogic\" : {\n \"behavior\" : \"deductFromOneBalanceAccount\",\n \"targetAccount\" : \"BA00000000000000000000001\",\n \"costAllocationAccount\" : \"BA00000000000000000000001\"\n },\n \"splits\" : [ {\n \"amount\" : {\n \"value\" : 39600\n },\n \"type\" : \"BalanceAccount\",\n \"account\" : \"BA00000000000000000000001\",\n \"reference\" : \"Your reference for the sale amount\",\n \"description\" : \"Your description for the sale amount\"\n }, {\n \"amount\" : {\n \"value\" : 400\n },\n \"type\" : \"Commission\",\n \"reference\" : \"Your reference for the commission\",\n \"description\" : \"Your description for the commission\"\n }, {\n \"type\" : \"PaymentFee\",\n \"account\" : \"BA00000000000000000000001\",\n \"reference\" : \"Your reference for the fees\",\n \"description\" : \"Your description for the fees\"\n } ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"additionalData\" : {\n \"refusalReasonRaw\" : \"AUTHORISED\",\n \"eci\" : \"N/A\",\n \"acquirerAccountCode\" : \"YOUR_ACQUIRER_ACCOUNT\",\n \"xid\" : \"N/A\",\n \"threeDAuthenticated\" : \"false\",\n \"paymentMethodVariant\" : \"visa\",\n \"issuerBin\" : \"41111111\",\n \"payoutEligible\" : \"Y\",\n \"fraudManualReview\" : \"false\",\n \"threeDOffered\" : \"false\",\n \"threeDOfferedResponse\" : \"N/A\",\n \"authorisationMid\" : \"50\",\n \"fundsAvailability\" : \"I\",\n \"authorisedAmountCurrency\" : \"USD\",\n \"threeDAuthenticatedResponse\" : \"N/A\",\n \"avsResultRaw\" : \"5\",\n \"retry.attempt1.rawResponse\" : \"AUTHORISED\",\n \"paymentMethod\" : \"visa\",\n \"avsResult\" : \"5 No AVS data provided\",\n \"cardSummary\" : \"1111\",\n \"retry.attempt1.avsResultRaw\" : \"5\",\n \"networkTxReference\" : \"777718270854480\",\n \"expiryDate\" : \"3/2030\",\n \"cavvAlgorithm\" : \"N/A\",\n \"cardBin\" : \"411111\",\n \"alias\" : \"8915844059375211\",\n \"cvcResultRaw\" : \"M\",\n \"merchantReference\" : \"YOUR_ORDER_NUMBER\",\n \"acquirerReference\" : \"YOUR_ACQUIRER_REFERENCE\",\n \"cardIssuingCountry\" : \"NL\",\n \"liabilityShift\" : \"false\",\n \"fraudResultType\" : \"GREEN\",\n \"authCode\" : \"035450\",\n \"cardHolderName\" : \"John Smith\",\n \"isCardCommercial\" : \"unknown\",\n \"PaymentAccountReference\" : \"6006491286999921374...\",\n \"retry.attempt1.acquirerAccount\" : \"YOUR_ACQUIRER_ACCOUNT\",\n \"cardIssuingBank\" : \"ISSUING_BANK_CUSTOMER\",\n \"retry.attempt1.acquirer\" : \"YOUR_ACQUIRER_CODE\",\n \"authorisedAmountValue\" : \"40000\",\n \"issuerCountry\" : \"NL\",\n \"cvcResult\" : \"1 Matches\",\n \"retry.attempt1.responseCode\" : \"Approved\",\n \"aliasType\" : \"Default\",\n \"retry.attempt1.shopperInteraction\" : \"Ecommerce\",\n \"cardPaymentMethod\" : \"visa\",\n \"acquirerCode\" : \"YOUR_ACQUIRER_CODE\"\n },\n \"pspReference\" : \"PPKFQ89R6QRXGN82\",\n \"resultCode\" : \"Authorised\",\n \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 40000\n },\n \"donationToken\" : \"81234567890123456...\",\n \"merchantReference\" : \"YOUR_ORDER_NUMBER\",\n \"paymentMethod\" : {\n \"brand\" : \"visa\",\n \"type\" : \"scheme\"\n }\n}", + "originalRequest": { + "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 \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"encryptedCardNumber\" : \"test_4111111111111111\",\n \"encryptedExpiryMonth\" : \"test_03\",\n \"encryptedExpiryYear\" : \"test_2030\",\n \"encryptedSecurityCode\" : \"test_737\"\n },\n \"amount\" : {\n \"value\" : 40000,\n \"currency\" : \"USD\"\n },\n \"reference\" : \"{{$guid}}\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"platformChargebackLogic\" : {\n \"behavior\" : \"deductFromOneBalanceAccount\",\n \"targetAccount\" : \"BA00000000000000000000001\",\n \"costAllocationAccount\" : \"BA00000000000000000000001\"\n },\n \"splits\" : [ {\n \"amount\" : {\n \"value\" : 39600\n },\n \"type\" : \"BalanceAccount\",\n \"account\" : \"BA00000000000000000000001\",\n \"reference\" : \"Your reference for the sale amount\",\n \"description\" : \"Your description for the sale amount\"\n }, {\n \"amount\" : {\n \"value\" : 400\n },\n \"type\" : \"Commission\",\n \"reference\" : \"Your reference for the commission\",\n \"description\" : \"Your description for the commission\"\n }, {\n \"type\" : \"PaymentFee\",\n \"account\" : \"BA00000000000000000000001\",\n \"reference\" : \"Your reference for the fees\",\n \"description\" : \"Your description for the fees\"\n } ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"encryptedCardNumber\" : \"test_4111111111111111\",\n \"encryptedExpiryMonth\" : \"test_03\",\n \"encryptedExpiryYear\" : \"test_2030\",\n \"encryptedSecurityCode\" : \"test_737\"\n },\n \"amount\" : {\n \"value\" : 40000,\n \"currency\" : \"USD\"\n },\n \"reference\" : \"{{$guid}}\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"platformChargebackLogic\" : {\n \"behavior\" : \"deductFromOneBalanceAccount\",\n \"targetAccount\" : \"BA00000000000000000000001\",\n \"costAllocationAccount\" : \"BA00000000000000000000001\"\n },\n \"splits\" : [ {\n \"amount\" : {\n \"value\" : 39600\n },\n \"type\" : \"BalanceAccount\",\n \"account\" : \"BA00000000000000000000001\",\n \"reference\" : \"Your reference for the sale amount\",\n \"description\" : \"Your description for the sale amount\"\n }, {\n \"amount\" : {\n \"value\" : 400\n },\n \"type\" : \"Commission\",\n \"reference\" : \"Your reference for the commission\",\n \"description\" : \"Your description for the commission\"\n }, {\n \"type\" : \"PaymentFee\",\n \"account\" : \"BA00000000000000000000001\",\n \"reference\" : \"Your reference for the fees\",\n \"description\" : \"Your description for the fees\"\n } ]\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + ] }, { "name": "Split a payment in a Classic Platforms integration", "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 \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"encryptedCardNumber\" : \"test_4111111111111111\",\n \"encryptedExpiryMonth\" : \"test_03\",\n \"encryptedExpiryYear\" : \"test_2030\",\n \"encryptedSecurityCode\" : \"test_737\"\n },\n \"amount\" : {\n \"value\" : 6200,\n \"currency\" : \"EUR\"\n },\n \"reference\" : \"{{$guid}}\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"splits\" : [ {\n \"amount\" : {\n \"value\" : 6000\n },\n \"type\" : \"MarketPlace\",\n \"account\" : \"151272963\",\n \"reference\" : \"6124145\",\n \"description\" : \"Porcelain Doll: Eliza (20cm)\"\n }, {\n \"amount\" : {\n \"value\" : 200\n },\n \"type\" : \"Commission\",\n \"reference\" : \"6124146\"\n } ]\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + "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 \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"encryptedCardNumber\" : \"test_4111111111111111\",\n \"encryptedExpiryMonth\" : \"test_03\",\n \"encryptedExpiryYear\" : \"test_2030\",\n \"encryptedSecurityCode\" : \"test_737\"\n },\n \"amount\" : {\n \"value\" : 6200,\n \"currency\" : \"EUR\"\n },\n \"reference\" : \"{{$guid}}\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"splits\" : [ {\n \"amount\" : {\n \"value\" : 6000\n },\n \"type\" : \"MarketPlace\",\n \"account\" : \"151272963\",\n \"reference\" : \"6124145\",\n \"description\" : \"Porcelain Doll: Eliza (20cm)\"\n }, {\n \"amount\" : {\n \"value\" : 200\n },\n \"type\" : \"Commission\",\n \"reference\" : \"6124146\"\n } ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + ] }, { "name": "Tokenize card details for a subscription", "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 + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"encryptedCardNumber\" : \"test_4111111111111111\",\n \"encryptedExpiryMonth\" : \"test_03\",\n \"encryptedExpiryYear\" : \"test_2030\",\n \"encryptedSecurityCode\" : \"test_737\"\n },\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"storePaymentMethod\" : true,\n \"shopperInteraction\" : \"Ecommerce\",\n \"recurringProcessingModel\" : \"Subscription\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"additionalData\" : {\n \"cvcResult\" : \"1 Matches\",\n \"authCode\" : \"098871\",\n \"avsResult\" : \"4 AVS not supported for this card type\",\n \"recurring.recurringDetailReference\" : \"9916178934434753\",\n \"recurringProcessingModel\" : \"Subscription\",\n \"avsResultRaw\" : \"4\",\n \"cvcResultRaw\" : \"M\",\n \"refusalReasonRaw\" : \"AUTHORISED\",\n \"recurring.shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID_IOfW3k9G2PvXFu2j\",\n \"acquirerCode\" : \"TestPmmAcquirer\",\n \"acquirerReference\" : \"8PQMP9VD896\"\n },\n \"pspReference\" : \"993617895199574A\",\n \"resultCode\" : \"Authorised\",\n \"merchantReference\" : \"string\"\n}", + "originalRequest": { + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"encryptedCardNumber\" : \"test_4111111111111111\",\n \"encryptedExpiryMonth\" : \"test_03\",\n \"encryptedExpiryYear\" : \"test_2030\",\n \"encryptedSecurityCode\" : \"test_737\"\n },\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"storePaymentMethod\" : true,\n \"shopperInteraction\" : \"Ecommerce\",\n \"recurringProcessingModel\" : \"Subscription\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"encryptedCardNumber\" : \"test_4111111111111111\",\n \"encryptedExpiryMonth\" : \"test_03\",\n \"encryptedExpiryYear\" : \"test_2030\",\n \"encryptedSecurityCode\" : \"test_737\"\n },\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"storePaymentMethod\" : true,\n \"shopperInteraction\" : \"Ecommerce\",\n \"recurringProcessingModel\" : \"Subscription\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + ] } ] - } -, + }, { "name": "/payments/details", "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. ", @@ -2231,106 +3873,167 @@ { "name": "Submit the redirect result", "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 + "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 \"details\" : {\n \"redirectResult\" : \"X6XtfGC3!Y...\"\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. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"resultCode\" : \"Authorised\",\n \"pspReference\" : \"V4HZ4RBFJGXXGN82\"\n}", + "originalRequest": { + "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 \"details\" : {\n \"redirectResult\" : \"X6XtfGC3!Y...\"\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. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"details\" : {\n \"redirectResult\" : \"X6XtfGC3!Y...\"\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. " - } + ] }, { "name": "Submit 3D Secure 2 authentication result", "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 \"details\" : {\n \"threeDSResult\" : \"eyJ0cmFuc1N0YXR1cyI6IlkifQ==\"\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. " - } + "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 \"details\" : {\n \"threeDSResult\" : \"eyJ0cmFuc1N0YXR1cyI6IlkifQ==\"\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. " +} + ,"response": [ + ] } ] - } -, + }, { "name": "/sessions", "description": "Creates a payment session for [Web Drop-in](https://docs.adyen.com/online-payments/web-drop-in) and [Web Components](https://docs.adyen.com/online-payments/web-components) integrations. The response contains encrypted payment session data. The front end then uses the session data to make any required server-side calls for the payment flow. You get the payment outcome asynchronously, in an [AUTHORISATION](https://docs.adyen.com/api-explorer/#/Webhooks/latest/post/AUTHORISATION) webhook.", @@ -2338,202 +4041,437 @@ { "name": "Create a payment session", "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 + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"amount\" : {\n \"value\" : 100,\n \"currency\" : \"EUR\"\n },\n \"returnUrl\" : \"https://your-company.com/checkout?shopperOrder=12xy..\",\n \"reference\" : \"YOUR_PAYMENT_REFERENCE\",\n \"countryCode\" : \"NL\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/sessions", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "sessions" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates a payment session for [Web Drop-in](https://docs.adyen.com/online-payments/web-drop-in) and [Web Components](https://docs.adyen.com/online-payments/web-components) integrations. The response contains encrypted payment session data. The front end then uses the session data to make any required server-side calls for the payment flow. You get the payment outcome asynchronously, in an [AUTHORISATION](https://docs.adyen.com/api-explorer/#/Webhooks/latest/post/AUTHORISATION) webhook." +} + ,"response": [ + {"name": "Created - the request has been fulfilled and has resulted in one or more new resources being created.", + "code": 201, + "status": "Created", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 100\n },\n \"countryCode\" : \"NL\",\n \"expiresAt\" : \"2022-01-11T13:53:18+01:00\",\n \"id\" : \"CS451F2AB1ED897A94\",\n \"merchantAccount\" : \"YOUR_MERCHANT_ACCOUNT\",\n \"reference\" : \"YOUR_PAYMENT_REFERENCE\",\n \"returnUrl\" : \"https://your-company.com/checkout?shopperOrder=12xy..\",\n \"sessionData\" : \"Ab02b4c0!BQABAgBfYI29...\"\n}", + "originalRequest": { + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"amount\" : {\n \"value\" : 100,\n \"currency\" : \"EUR\"\n },\n \"returnUrl\" : \"https://your-company.com/checkout?shopperOrder=12xy..\",\n \"reference\" : \"YOUR_PAYMENT_REFERENCE\",\n \"countryCode\" : \"NL\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/sessions", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "sessions" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates a payment session for [Web Drop-in](https://docs.adyen.com/online-payments/web-drop-in) and [Web Components](https://docs.adyen.com/online-payments/web-components) integrations. The response contains encrypted payment session data. The front end then uses the session data to make any required server-side calls for the payment flow. You get the payment outcome asynchronously, in an [AUTHORISATION](https://docs.adyen.com/api-explorer/#/Webhooks/latest/post/AUTHORISATION) webhook." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"amount\" : {\n \"value\" : 100,\n \"currency\" : \"EUR\"\n },\n \"returnUrl\" : \"https://your-company.com/checkout?shopperOrder=12xy..\",\n \"reference\" : \"YOUR_PAYMENT_REFERENCE\",\n \"countryCode\" : \"NL\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/sessions", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "sessions" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Creates a payment session for [Web Drop-in](https://docs.adyen.com/online-payments/web-drop-in) and [Web Components](https://docs.adyen.com/online-payments/web-components) integrations. The response contains encrypted payment session data. The front end then uses the session data to make any required server-side calls for the payment flow. You get the payment outcome asynchronously, in an [AUTHORISATION](https://docs.adyen.com/api-explorer/#/Webhooks/latest/post/AUTHORISATION) webhook." - } + ] }, { "name": "Create a payment session including Klarna fields", "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 + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"reference\" : \"YOUR_ORDER_REFERENCE\",\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_SHOPPER_REFERENCE\",\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 \"dateOfBirth\" : \"1996-09-04\",\n \"socialSecurityNumber\" : \"0108\",\n \"returnUrl\" : \"https://example.org\",\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" + } + } + }, + "url": { + "raw": "{{baseUrl}}/sessions", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "sessions" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates a payment session for [Web Drop-in](https://docs.adyen.com/online-payments/web-drop-in) and [Web Components](https://docs.adyen.com/online-payments/web-components) integrations. The response contains encrypted payment session data. The front end then uses the session data to make any required server-side calls for the payment flow. You get the payment outcome asynchronously, in an [AUTHORISATION](https://docs.adyen.com/api-explorer/#/Webhooks/latest/post/AUTHORISATION) webhook." +} + ,"response": [ + {"name": "Created - the request has been fulfilled and has resulted in one or more new resources being created.", + "code": 201, + "status": "Created", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"amount\" : {\n \"currency\" : \"SEK\",\n \"value\" : 1000\n },\n \"billingAddress\" : {\n \"city\" : \"Ankeborg\",\n \"country\" : \"SE\",\n \"houseNumberOrName\" : \"1\",\n \"postalCode\" : \"12345\",\n \"street\" : \"Stargatan\"\n },\n \"countryCode\" : \"SE\",\n \"dateOfBirth\" : \"1996-09-04T02:00:00+02:00\",\n \"deliveryAddress\" : {\n \"city\" : \"Ankeborg\",\n \"country\" : \"SE\",\n \"houseNumberOrName\" : \"1\",\n \"postalCode\" : \"12345\",\n \"street\" : \"Stargatan\"\n },\n \"expiresAt\" : \"2022-01-11T13:57:52+01:00\",\n \"id\" : \"CSC52E9932D39ADAF3\",\n \"lineItems\" : [ {\n \"amountExcludingTax\" : 331,\n \"amountIncludingTax\" : 400,\n \"description\" : \"Shoes\",\n \"id\" : \"Item #1\",\n \"imageUrl\" : \"URL_TO_PICTURE_OF_PURCHASED_ITEM\",\n \"productUrl\" : \"URL_TO_PURCHASED_ITEM\",\n \"quantity\" : 1,\n \"taxAmount\" : 69,\n \"taxPercentage\" : 2100\n }, {\n \"amountExcludingTax\" : 248,\n \"amountIncludingTax\" : 300,\n \"description\" : \"Socks\",\n \"id\" : \"Item #2\",\n \"imageUrl\" : \"URL_TO_PICTURE_OF_PURCHASED_ITEM\",\n \"productUrl\" : \"URL_TO_PURCHASED_ITEM\",\n \"quantity\" : 2,\n \"taxAmount\" : 52,\n \"taxPercentage\" : 2100\n } ],\n \"merchantAccount\" : \"YOUR_MERCHANT_ACCOUNT\",\n \"reference\" : \"YOUR_ORDER_REFERENCE\",\n \"returnUrl\" : \"https://example.org\",\n \"shopperEmail\" : \"youremail@email.com\",\n \"shopperLocale\" : \"en_US\",\n \"shopperName\" : {\n \"firstName\" : \"Testperson-se\",\n \"lastName\" : \"Approved\"\n },\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"socialSecurityNumber\" : \"0108\",\n \"telephoneNumber\" : \"+46 840 839 298\",\n \"sessionData\" : \"Ab02b4c0!BQABAgBfYI29...\"\n}", + "originalRequest": { + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"reference\" : \"YOUR_ORDER_REFERENCE\",\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_SHOPPER_REFERENCE\",\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 \"dateOfBirth\" : \"1996-09-04\",\n \"socialSecurityNumber\" : \"0108\",\n \"returnUrl\" : \"https://example.org\",\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" + } + } + }, + "url": { + "raw": "{{baseUrl}}/sessions", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "sessions" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates a payment session for [Web Drop-in](https://docs.adyen.com/online-payments/web-drop-in) and [Web Components](https://docs.adyen.com/online-payments/web-components) integrations. The response contains encrypted payment session data. The front end then uses the session data to make any required server-side calls for the payment flow. You get the payment outcome asynchronously, in an [AUTHORISATION](https://docs.adyen.com/api-explorer/#/Webhooks/latest/post/AUTHORISATION) webhook." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"reference\" : \"YOUR_ORDER_REFERENCE\",\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_SHOPPER_REFERENCE\",\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 \"dateOfBirth\" : \"1996-09-04\",\n \"socialSecurityNumber\" : \"0108\",\n \"returnUrl\" : \"https://example.org\",\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" - } - } - }, - "url": { - "raw": "{{baseUrl}}/sessions", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "sessions" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Creates a payment session for [Web Drop-in](https://docs.adyen.com/online-payments/web-drop-in) and [Web Components](https://docs.adyen.com/online-payments/web-components) integrations. The response contains encrypted payment session data. The front end then uses the session data to make any required server-side calls for the payment flow. You get the payment outcome asynchronously, in an [AUTHORISATION](https://docs.adyen.com/api-explorer/#/Webhooks/latest/post/AUTHORISATION) webhook." - } + ] }, { "name": "Tokenize card details for one-off payments without asking shopper", "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 + "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 \"merchantAccount\" : \"TestMerchantCheckout\",\n \"amount\" : {\n \"value\" : 100,\n \"currency\" : \"EUR\"\n },\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"returnUrl\" : \"https://your-company.com/checkout?shopperOrder=12xy..\",\n \"reference\" : \"YOUR_PAYMENT_REFERENCE\",\n \"countryCode\" : \"NL\",\n \"storePaymentMethodMode\" : \"enabled\",\n \"shopperInteraction\" : \"Ecommerce\",\n \"recurringProcessingModel\" : \"CardOnFile\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/sessions", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "sessions" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates a payment session for [Web Drop-in](https://docs.adyen.com/online-payments/web-drop-in) and [Web Components](https://docs.adyen.com/online-payments/web-components) integrations. The response contains encrypted payment session data. The front end then uses the session data to make any required server-side calls for the payment flow. You get the payment outcome asynchronously, in an [AUTHORISATION](https://docs.adyen.com/api-explorer/#/Webhooks/latest/post/AUTHORISATION) webhook." +} + ,"response": [ + {"name": "Created - the request has been fulfilled and has resulted in one or more new resources being created.", + "code": 201, + "status": "Created", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 100\n },\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"countryCode\" : \"NL\",\n \"expiresAt\" : \"2022-01-11T13:56:05+01:00\",\n \"id\" : \"FJM726V375BV9D82\",\n \"merchantAccount\" : \"YOUR_MERCHANT_ACCOUNT\",\n \"recurringProcessingModel\" : \"CardOnFile\",\n \"reference\" : \"YOUR_PAYMENT_REFERENCE\",\n \"returnUrl\" : \"https://your-company.com/checkout?shopperOrder=12xy..\",\n \"shopperInteraction\" : \"Ecommerce\",\n \"storePaymentMethod\" : true,\n \"sessionData\" : \"Ab02b4c0!BQABAgBfYI29...\"\n}", + "originalRequest": { + "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 \"merchantAccount\" : \"TestMerchantCheckout\",\n \"amount\" : {\n \"value\" : 100,\n \"currency\" : \"EUR\"\n },\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"returnUrl\" : \"https://your-company.com/checkout?shopperOrder=12xy..\",\n \"reference\" : \"YOUR_PAYMENT_REFERENCE\",\n \"countryCode\" : \"NL\",\n \"storePaymentMethodMode\" : \"enabled\",\n \"shopperInteraction\" : \"Ecommerce\",\n \"recurringProcessingModel\" : \"CardOnFile\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/sessions", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "sessions" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates a payment session for [Web Drop-in](https://docs.adyen.com/online-payments/web-drop-in) and [Web Components](https://docs.adyen.com/online-payments/web-components) integrations. The response contains encrypted payment session data. The front end then uses the session data to make any required server-side calls for the payment flow. You get the payment outcome asynchronously, in an [AUTHORISATION](https://docs.adyen.com/api-explorer/#/Webhooks/latest/post/AUTHORISATION) webhook." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"merchantAccount\" : \"TestMerchantCheckout\",\n \"amount\" : {\n \"value\" : 100,\n \"currency\" : \"EUR\"\n },\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"returnUrl\" : \"https://your-company.com/checkout?shopperOrder=12xy..\",\n \"reference\" : \"YOUR_PAYMENT_REFERENCE\",\n \"countryCode\" : \"NL\",\n \"storePaymentMethodMode\" : \"enabled\",\n \"shopperInteraction\" : \"Ecommerce\",\n \"recurringProcessingModel\" : \"CardOnFile\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/sessions", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "sessions" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Creates a payment session for [Web Drop-in](https://docs.adyen.com/online-payments/web-drop-in) and [Web Components](https://docs.adyen.com/online-payments/web-components) integrations. The response contains encrypted payment session data. The front end then uses the session data to make any required server-side calls for the payment flow. You get the payment outcome asynchronously, in an [AUTHORISATION](https://docs.adyen.com/api-explorer/#/Webhooks/latest/post/AUTHORISATION) webhook." - } + ] }, { "name": "Split a payment between balance accounts", "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 + "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 \"amount\" : {\n \"value\" : 40000,\n \"currency\" : \"USD\"\n },\n \"reference\" : \"{{$guid}}\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"splits\" : [ {\n \"amount\" : {\n \"value\" : 39200\n },\n \"type\" : \"BalanceAccount\",\n \"account\" : \"BA00000000000000000000001\",\n \"reference\" : \"Your reference for the sale amount\",\n \"description\" : \"Your description for the sale amount\"\n }, {\n \"amount\" : {\n \"value\" : 400\n },\n \"type\" : \"Commission\",\n \"reference\" : \"Your reference for the commission\",\n \"description\" : \"Your description for the commission\"\n }, {\n \"amount\" : {\n \"value\" : 400\n },\n \"account\" : \"BA00000000000000000000001\",\n \"reference\" : \"Your reference for the fees\",\n \"description\" : \"Your description for the fees\",\n \"type\" : \"PaymentFee\"\n } ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/sessions", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "sessions" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates a payment session for [Web Drop-in](https://docs.adyen.com/online-payments/web-drop-in) and [Web Components](https://docs.adyen.com/online-payments/web-components) integrations. The response contains encrypted payment session data. The front end then uses the session data to make any required server-side calls for the payment flow. You get the payment outcome asynchronously, in an [AUTHORISATION](https://docs.adyen.com/api-explorer/#/Webhooks/latest/post/AUTHORISATION) webhook." +} + ,"response": [ + {"name": "Created - the request has been fulfilled and has resulted in one or more new resources being created.", + "code": 201, + "status": "Created", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 40000\n },\n \"expiresAt\" : \"2023-06-26T11:01:55+02:00\",\n \"id\" : \"CSFCBC80570618EF2C\",\n \"merchantAccount\" : \"YOUR_MERCHANT_ACCOUNT\",\n \"reference\" : \"YOUR_ORDER_NUMBER\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"shopperLocale\" : \"en-US\",\n \"splits\" : [ {\n \"account\" : \"BA00000000000000000000001\",\n \"amount\" : {\n \"value\" : 39200\n },\n \"description\" : \"Your description for the sale amount\",\n \"reference\" : \"Your reference for the sale amount\",\n \"type\" : \"BalanceAccount\"\n }, {\n \"amount\" : {\n \"value\" : 400\n },\n \"description\" : \"Your description for the commission\",\n \"reference\" : \"Your reference for the commission\",\n \"type\" : \"Commission\"\n }, {\n \"amount\" : {\n \"value\" : 400\n },\n \"account\" : \"BA00000000000000000000001\",\n \"description\" : \"Your description for the fees\",\n \"reference\" : \"Your reference for the fees\",\n \"type\" : \"PaymentFee\"\n } ],\n \"mode\" : \"embedded\",\n \"sessionData\" : \"Ab02b4c0!BQABAgCjTErwAztqXSFTiZtxZMjRLYkoGbPkmvCvDX1\"\n}", + "originalRequest": { + "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 \"amount\" : {\n \"value\" : 40000,\n \"currency\" : \"USD\"\n },\n \"reference\" : \"{{$guid}}\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"splits\" : [ {\n \"amount\" : {\n \"value\" : 39200\n },\n \"type\" : \"BalanceAccount\",\n \"account\" : \"BA00000000000000000000001\",\n \"reference\" : \"Your reference for the sale amount\",\n \"description\" : \"Your description for the sale amount\"\n }, {\n \"amount\" : {\n \"value\" : 400\n },\n \"type\" : \"Commission\",\n \"reference\" : \"Your reference for the commission\",\n \"description\" : \"Your description for the commission\"\n }, {\n \"amount\" : {\n \"value\" : 400\n },\n \"account\" : \"BA00000000000000000000001\",\n \"reference\" : \"Your reference for the fees\",\n \"description\" : \"Your description for the fees\",\n \"type\" : \"PaymentFee\"\n } ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/sessions", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "sessions" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates a payment session for [Web Drop-in](https://docs.adyen.com/online-payments/web-drop-in) and [Web Components](https://docs.adyen.com/online-payments/web-components) integrations. The response contains encrypted payment session data. The front end then uses the session data to make any required server-side calls for the payment flow. You get the payment outcome asynchronously, in an [AUTHORISATION](https://docs.adyen.com/api-explorer/#/Webhooks/latest/post/AUTHORISATION) webhook." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"value\" : 40000,\n \"currency\" : \"USD\"\n },\n \"reference\" : \"{{$guid}}\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"splits\" : [ {\n \"amount\" : {\n \"value\" : 39200\n },\n \"type\" : \"BalanceAccount\",\n \"account\" : \"BA00000000000000000000001\",\n \"reference\" : \"Your reference for the sale amount\",\n \"description\" : \"Your description for the sale amount\"\n }, {\n \"amount\" : {\n \"value\" : 400\n },\n \"type\" : \"Commission\",\n \"reference\" : \"Your reference for the commission\",\n \"description\" : \"Your description for the commission\"\n }, {\n \"amount\" : {\n \"value\" : 400\n },\n \"account\" : \"BA00000000000000000000001\",\n \"reference\" : \"Your reference for the fees\",\n \"description\" : \"Your description for the fees\",\n \"type\" : \"PaymentFee\"\n } ]\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/sessions", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "sessions" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Creates a payment session for [Web Drop-in](https://docs.adyen.com/online-payments/web-drop-in) and [Web Components](https://docs.adyen.com/online-payments/web-components) integrations. The response contains encrypted payment session data. The front end then uses the session data to make any required server-side calls for the payment flow. You get the payment outcome asynchronously, in an [AUTHORISATION](https://docs.adyen.com/api-explorer/#/Webhooks/latest/post/AUTHORISATION) webhook." - } + ] } ] - } -, + }, { "name": "/sessions/:sessionId", "description": "Returns the status of the payment session with the `sessionId` and `sessionResult` specified in the path.", @@ -2541,55 +4479,56 @@ { "name": "Get the result of a payment session", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/sessions/:sessionId", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "sessions", - ":sessionId" - ], - "variable": [ - { - "key": "sessionId", - "value": "", - "description": "A unique identifier of the session." - } - ], - "query": [ - { - "key": "sessionResult", - "value": "sessionResult_example", - "description": "The `sessionResult` value from the Drop-in or Component.", - "disabled": false - } - ] - }, - "description": "Returns the status of the payment session with the `sessionId` and `sessionResult` specified in the path." - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/sessions/:sessionId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "sessions", + ":sessionId" + ], + "variable": [ + { + "key": "sessionId", + "value": "", + "description": "A unique identifier of the session." + } + ], + "query": [ + { + "key": "sessionResult", + "value": "sessionResult_example", + "description": "The `sessionResult` value from the Drop-in or Component.", + "disabled": false + } + ] + }, + "description": "Returns the status of the payment session with the `sessionId` and `sessionResult` specified in the path." +} + ,"response": [ + ] } ] } - ] }, { @@ -2602,55 +4541,113 @@ { "name": "Create a payment link", "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 + "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 \"reference\" : \"{{$guid}}\",\n \"amount\" : {\n \"value\" : 1250,\n \"currency\" : \"BRL\"\n },\n \"countryCode\" : \"BR\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"shopperEmail\" : \"test@email.com\",\n \"shopperLocale\" : \"pt-BR\",\n \"billingAddress\" : {\n \"street\" : \"Roque Petroni Jr\",\n \"postalCode\" : \"59000060\",\n \"city\" : \"São Paulo\",\n \"houseNumberOrName\" : \"999\",\n \"country\" : \"BR\",\n \"stateOrProvince\" : \"SP\"\n },\n \"deliveryAddress\" : {\n \"street\" : \"Roque Petroni Jr\",\n \"postalCode\" : \"59000060\",\n \"city\" : \"São Paulo\",\n \"houseNumberOrName\" : \"999\",\n \"country\" : \"BR\",\n \"stateOrProvince\" : \"SP\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentLinks", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentLinks" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates a payment link to our hosted payment form where shoppers can pay. The list of payment methods presented to the shopper depends on the `currency` and `country` parameters sent in the request. For more information, refer to [Pay by Link documentation](https://docs.adyen.com/online-payments/pay-by-link#create-payment-links-through-api)." +} + ,"response": [ + {"name": "Created - the request has succeeded.", + "code": 201, + "status": "Created", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"amount\" : {\n \"currency\" : \"BRL\",\n \"value\" : 1250\n },\n \"billingAddress\" : {\n \"city\" : \"São Paulo\",\n \"country\" : \"BR\",\n \"houseNumberOrName\" : \"999\",\n \"postalCode\" : \"59000060\",\n \"stateOrProvince\" : \"SP\",\n \"street\" : \"Roque Petroni Jr\"\n },\n \"countryCode\" : \"BR\",\n \"deliveryAddress\" : {\n \"city\" : \"São Paulo\",\n \"country\" : \"BR\",\n \"houseNumberOrName\" : \"999\",\n \"postalCode\" : \"59000060\",\n \"stateOrProvince\" : \"SP\",\n \"street\" : \"Roque Petroni Jr\"\n },\n \"expiresAt\" : \"2022-10-28T09:16:22Z\",\n \"merchantAccount\" : \"YOUR_MERCHANT_ACCOUNT\",\n \"reference\" : \"YOUR_ORDER_NUMBER\",\n \"reusable\" : false,\n \"shopperEmail\" : \"test@email.com\",\n \"shopperLocale\" : \"pt-BR\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"id\" : \"PLE83C39B0A0DE0C1E\",\n \"status\" : \"active\",\n \"url\" : \"https://test.adyen.link/PLE83C39B0A0DE0C1E\"\n}", + "originalRequest": { + "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 \"reference\" : \"{{$guid}}\",\n \"amount\" : {\n \"value\" : 1250,\n \"currency\" : \"BRL\"\n },\n \"countryCode\" : \"BR\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"shopperEmail\" : \"test@email.com\",\n \"shopperLocale\" : \"pt-BR\",\n \"billingAddress\" : {\n \"street\" : \"Roque Petroni Jr\",\n \"postalCode\" : \"59000060\",\n \"city\" : \"São Paulo\",\n \"houseNumberOrName\" : \"999\",\n \"country\" : \"BR\",\n \"stateOrProvince\" : \"SP\"\n },\n \"deliveryAddress\" : {\n \"street\" : \"Roque Petroni Jr\",\n \"postalCode\" : \"59000060\",\n \"city\" : \"São Paulo\",\n \"houseNumberOrName\" : \"999\",\n \"country\" : \"BR\",\n \"stateOrProvince\" : \"SP\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentLinks", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentLinks" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates a payment link to our hosted payment form where shoppers can pay. The list of payment methods presented to the shopper depends on the `currency` and `country` parameters sent in the request. For more information, refer to [Pay by Link documentation](https://docs.adyen.com/online-payments/pay-by-link#create-payment-links-through-api)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"reference\" : \"{{$guid}}\",\n \"amount\" : {\n \"value\" : 1250,\n \"currency\" : \"BRL\"\n },\n \"countryCode\" : \"BR\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"shopperEmail\" : \"test@email.com\",\n \"shopperLocale\" : \"pt-BR\",\n \"billingAddress\" : {\n \"street\" : \"Roque Petroni Jr\",\n \"postalCode\" : \"59000060\",\n \"city\" : \"São Paulo\",\n \"houseNumberOrName\" : \"999\",\n \"country\" : \"BR\",\n \"stateOrProvince\" : \"SP\"\n },\n \"deliveryAddress\" : {\n \"street\" : \"Roque Petroni Jr\",\n \"postalCode\" : \"59000060\",\n \"city\" : \"São Paulo\",\n \"houseNumberOrName\" : \"999\",\n \"country\" : \"BR\",\n \"stateOrProvince\" : \"SP\"\n }\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentLinks", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentLinks" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Creates a payment link to our hosted payment form where shoppers can pay. The list of payment methods presented to the shopper depends on the `currency` and `country` parameters sent in the request. For more information, refer to [Pay by Link documentation](https://docs.adyen.com/online-payments/pay-by-link#create-payment-links-through-api)." - } + ] } ] - } -, + }, { "name": "/paymentLinks/:linkId", "description": "Retrieves the payment link details using the payment link `id`.", @@ -2658,49 +4655,50 @@ { "name": "Get a payment link", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentLinks/:linkId", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentLinks", - ":linkId" - ], - "variable": [ - { - "key": "linkId", - "value": "", - "description": "Unique identifier of the payment link." - } - ], - "query": [ - ] - }, - "description": "Retrieves the payment link details using the payment link `id`." - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentLinks/:linkId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentLinks", + ":linkId" + ], + "variable": [ + { + "key": "linkId", + "value": "", + "description": "Unique identifier of the payment link." + } + ], + "query": [ + ] + }, + "description": "Retrieves the payment link details using the payment link `id`." +} + ,"response": [ + ] } ] - } -, + }, { "name": "/paymentLinks/:linkId", "description": "Updates the status of a payment link. Use this endpoint to [force the expiry of a payment link](https://docs.adyen.com/online-payments/pay-by-link#update-payment-link-status).", @@ -2708,55 +4706,113 @@ { "name": "Update the status of a payment link", "request": { - "method": "PATCH", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"status\" : \"expired\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentLinks/:linkId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentLinks", + ":linkId" + ], + "variable": [ + { + "key": "linkId", + "value": "", + "description": "Unique identifier of the payment link." + } + ], + "query": [ + ] + }, + "description": "Updates the status of a payment link. Use this endpoint to [force the expiry of a payment link](https://docs.adyen.com/online-payments/pay-by-link#update-payment-link-status)." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 8700\n },\n \"countryCode\" : \"NL\",\n \"expiresAt\" : \"2021-04-08T14:06:39Z\",\n \"merchantAccount\" : \"YOUR_MERCHANT_ACCOUNT\",\n \"reference\" : \"shopper-reference-ekvL83\",\n \"shopperLocale\" : \"hu-HU\",\n \"shopperReference\" : \"shopper-reference-LZfdWZ\",\n \"status\" : \"expired\",\n \"url\" : \"https://test.adyen.link/PL61C53A8B97E6915A\",\n \"id\" : \"PL61C53A8B97E6915A\"\n}", + "originalRequest": { + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"status\" : \"expired\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentLinks/:linkId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentLinks", + ":linkId" + ], + "variable": [ + { + "key": "linkId", + "value": "", + "description": "Unique identifier of the payment link." + } + ], + "query": [ + ] + }, + "description": "Updates the status of a payment link. Use this endpoint to [force the expiry of a payment link](https://docs.adyen.com/online-payments/pay-by-link#update-payment-link-status)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"status\" : \"expired\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentLinks/:linkId", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentLinks", - ":linkId" - ], - "variable": [ - { - "key": "linkId", - "value": "", - "description": "Unique identifier of the payment link." - } - ], - "query": [ - ] - }, - "description": "Updates the status of a payment link. Use this endpoint to [force the expiry of a payment link](https://docs.adyen.com/online-payments/pay-by-link#update-payment-link-status)." - } + ] } ] } - ] } ], diff --git a/postman/CheckoutService-v71.json b/postman/CheckoutService-v71.json index ee7ca10..b076e36 100644 --- a/postman/CheckoutService-v71.json +++ b/postman/CheckoutService-v71.json @@ -19,55 +19,113 @@ { "name": "Cancel a payment using your own reference", "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 + "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 \"paymentReference\" : \"YOUR_UNIQUE_REFERENCE_FOR_THE_PAYMENT\",\n \"reference\" : \"YOUR_UNIQUE_REFERENCE_FOR_THE_CANCELLATION\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/cancels", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "cancels" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Cancels the authorisation on a payment that has not yet been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/captures), and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**TECHNICAL_CANCEL** webhook](https://docs.adyen.com/online-payments/cancel#cancellation-webhook). If you want to cancel a payment using the [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference), use the [`/payments/{paymentPspReference}/cancels`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/cancels) endpoint instead. If you want to cancel a payment but are not sure whether it has been captured, use the [`/payments/{paymentPspReference}/reversals`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/reversals) endpoint instead. For more information, refer to [Cancel](https://docs.adyen.com/online-payments/cancel)." +} + ,"response": [ + {"name": "Created - the request has been fulfilled and has resulted in one or more new resources being created.", + "code": 201, + "status": "Created", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"merchantAccount\" : \"YOUR_MERCHANT_ACCOUNT\",\n \"paymentReference\" : \"YOUR_UNIQUE_REFERENCE_FOR_THE_PAYMENT\",\n \"reference\" : \"YOUR_UNIQUE_REFERENCE_FOR_THE_CANCELLATION\",\n \"pspReference\" : \"993617894906488A\",\n \"status\" : \"received\"\n}", + "originalRequest": { + "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 \"paymentReference\" : \"YOUR_UNIQUE_REFERENCE_FOR_THE_PAYMENT\",\n \"reference\" : \"YOUR_UNIQUE_REFERENCE_FOR_THE_CANCELLATION\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/cancels", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "cancels" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Cancels the authorisation on a payment that has not yet been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/captures), and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**TECHNICAL_CANCEL** webhook](https://docs.adyen.com/online-payments/cancel#cancellation-webhook). If you want to cancel a payment using the [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference), use the [`/payments/{paymentPspReference}/cancels`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/cancels) endpoint instead. If you want to cancel a payment but are not sure whether it has been captured, use the [`/payments/{paymentPspReference}/reversals`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/reversals) endpoint instead. For more information, refer to [Cancel](https://docs.adyen.com/online-payments/cancel)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"paymentReference\" : \"YOUR_UNIQUE_REFERENCE_FOR_THE_PAYMENT\",\n \"reference\" : \"YOUR_UNIQUE_REFERENCE_FOR_THE_CANCELLATION\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/cancels", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "cancels" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Cancels the authorisation on a payment that has not yet been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/captures), and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**TECHNICAL_CANCEL** webhook](https://docs.adyen.com/online-payments/cancel#cancellation-webhook). If you want to cancel a payment using the [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference), use the [`/payments/{paymentPspReference}/cancels`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/cancels) endpoint instead. If you want to cancel a payment but are not sure whether it has been captured, use the [`/payments/{paymentPspReference}/reversals`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/reversals) endpoint instead. For more information, refer to [Cancel](https://docs.adyen.com/online-payments/cancel)." - } + ] } ] - } -, + }, { "name": "/payments/:paymentPspReference/amountUpdates", "description": "Increases or decreases the authorised payment amount and returns a unique reference for this request. You get the outcome of the request asynchronously, in an [**AUTHORISATION_ADJUSTMENT** webhook](https://docs.adyen.com/development-resources/webhooks/understand-notifications#event-codes). You can only update authorised amounts that have not yet been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/captures). The amount you specify in the request is the updated amount, which is larger or smaller than the initial authorised amount. For more information, refer to [Authorisation adjustment](https://docs.adyen.com/online-payments/adjust-authorisation#use-cases).", @@ -75,62 +133,127 @@ { "name": "Update the amount of an authorised payment", "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 + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 2500\n },\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments/:paymentPspReference/amountUpdates", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments", + ":paymentPspReference", + "amountUpdates" + ], + "variable": [ + { + "key": "paymentPspReference", + "value": "", + "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment." + } + ], + "query": [ + ] + }, + "description": "Increases or decreases the authorised payment amount and returns a unique reference for this request. You get the outcome of the request asynchronously, in an [**AUTHORISATION_ADJUSTMENT** webhook](https://docs.adyen.com/development-resources/webhooks/understand-notifications#event-codes). You can only update authorised amounts that have not yet been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/captures). The amount you specify in the request is the updated amount, which is larger or smaller than the initial authorised amount. For more information, refer to [Authorisation adjustment](https://docs.adyen.com/online-payments/adjust-authorisation#use-cases)." +} + ,"response": [ + {"name": "Created - the request has been fulfilled and has resulted in one or more new resources being created.", + "code": 201, + "status": "Created", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"merchantAccount\" : \"YOUR_MERCHANT_ACCOUNT\",\n \"paymentPspReference\" : \"993617894903480A\",\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"pspReference\" : \"993617894906488A\",\n \"status\" : \"received\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 2500\n }\n}", + "originalRequest": { + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 2500\n },\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments/:paymentPspReference/amountUpdates", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments", + ":paymentPspReference", + "amountUpdates" + ], + "variable": [ + { + "key": "paymentPspReference", + "value": "", + "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment." + } + ], + "query": [ + ] + }, + "description": "Increases or decreases the authorised payment amount and returns a unique reference for this request. You get the outcome of the request asynchronously, in an [**AUTHORISATION_ADJUSTMENT** webhook](https://docs.adyen.com/development-resources/webhooks/understand-notifications#event-codes). You can only update authorised amounts that have not yet been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/captures). The amount you specify in the request is the updated amount, which is larger or smaller than the initial authorised amount. For more information, refer to [Authorisation adjustment](https://docs.adyen.com/online-payments/adjust-authorisation#use-cases)." +} } - ], - "body": { - "mode": "raw", - "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" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments/:paymentPspReference/amountUpdates", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments", - ":paymentPspReference", - "amountUpdates" - ], - "variable": [ - { - "key": "paymentPspReference", - "value": "", - "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment." - } - ], - "query": [ - ] - }, - "description": "Increases or decreases the authorised payment amount and returns a unique reference for this request. You get the outcome of the request asynchronously, in an [**AUTHORISATION_ADJUSTMENT** webhook](https://docs.adyen.com/development-resources/webhooks/understand-notifications#event-codes). You can only update authorised amounts that have not yet been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/captures). The amount you specify in the request is the updated amount, which is larger or smaller than the initial authorised amount. For more information, refer to [Authorisation adjustment](https://docs.adyen.com/online-payments/adjust-authorisation#use-cases)." - } + ] } ] - } -, + }, { "name": "/payments/:paymentPspReference/cancels", "description": "Cancels the authorisation on a payment that has not yet been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/paymentPspReference/captures), and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CANCELLATION** webhook](https://docs.adyen.com/online-payments/cancel#cancellation-webhook). If you want to cancel a payment but don't have the [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference), use the [`/cancels`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cancels) endpoint instead. If you want to cancel a payment but are not sure whether it has been captured, use the [`/payments/{paymentPspReference}/reversals`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/reversals) endpoint instead. For more information, refer to [Cancel](https://docs.adyen.com/online-payments/cancel).", @@ -138,62 +261,127 @@ { "name": "Cancel payment using a PSP reference", "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 + "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 \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments/:paymentPspReference/cancels", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments", + ":paymentPspReference", + "cancels" + ], + "variable": [ + { + "key": "paymentPspReference", + "value": "", + "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to cancel. " + } + ], + "query": [ + ] + }, + "description": "Cancels the authorisation on a payment that has not yet been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/paymentPspReference/captures), and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CANCELLATION** webhook](https://docs.adyen.com/online-payments/cancel#cancellation-webhook). If you want to cancel a payment but don't have the [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference), use the [`/cancels`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cancels) endpoint instead. If you want to cancel a payment but are not sure whether it has been captured, use the [`/payments/{paymentPspReference}/reversals`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/reversals) endpoint instead. For more information, refer to [Cancel](https://docs.adyen.com/online-payments/cancel)." +} + ,"response": [ + {"name": "Created - the request has been fulfilled and has resulted in one or more new resources being created.", + "code": 201, + "status": "Created", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"merchantAccount\" : \"YOUR_MERCHANT_ACCOUNT\",\n \"paymentPspReference\" : \"993617894903480A\",\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"pspReference\" : \"993617894906488A\",\n \"status\" : \"received\"\n}", + "originalRequest": { + "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 \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments/:paymentPspReference/cancels", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments", + ":paymentPspReference", + "cancels" + ], + "variable": [ + { + "key": "paymentPspReference", + "value": "", + "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to cancel. " + } + ], + "query": [ + ] + }, + "description": "Cancels the authorisation on a payment that has not yet been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/paymentPspReference/captures), and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CANCELLATION** webhook](https://docs.adyen.com/online-payments/cancel#cancellation-webhook). If you want to cancel a payment but don't have the [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference), use the [`/cancels`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cancels) endpoint instead. If you want to cancel a payment but are not sure whether it has been captured, use the [`/payments/{paymentPspReference}/reversals`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/reversals) endpoint instead. For more information, refer to [Cancel](https://docs.adyen.com/online-payments/cancel)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments/:paymentPspReference/cancels", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments", - ":paymentPspReference", - "cancels" - ], - "variable": [ - { - "key": "paymentPspReference", - "value": "", - "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to cancel. " - } - ], - "query": [ - ] - }, - "description": "Cancels the authorisation on a payment that has not yet been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/paymentPspReference/captures), and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CANCELLATION** webhook](https://docs.adyen.com/online-payments/cancel#cancellation-webhook). If you want to cancel a payment but don't have the [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference), use the [`/cancels`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cancels) endpoint instead. If you want to cancel a payment but are not sure whether it has been captured, use the [`/payments/{paymentPspReference}/reversals`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/reversals) endpoint instead. For more information, refer to [Cancel](https://docs.adyen.com/online-payments/cancel)." - } + ] } ] - } -, + }, { "name": "/payments/:paymentPspReference/captures", "description": " Captures an authorised payment and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CAPTURE** webhook](https://docs.adyen.com/online-payments/capture#capture-notification). You can capture either the full authorised amount or a part of the authorised amount. By default, any unclaimed amount after a partial capture gets cancelled. This does not apply if you enabled multiple partial captures on your account and the payment method supports multiple partial captures. [Automatic capture](https://docs.adyen.com/online-payments/capture#automatic-capture) is the default setting for most payment methods. In these cases, you don't need to make capture requests. However, making capture requests for payments that are captured automatically does not result in double charges. For more information, refer to [Capture](https://docs.adyen.com/online-payments/capture).", @@ -201,62 +389,127 @@ { "name": "Capture an authorised payment", "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 + "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 \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"amount\" : {\n \"value\" : 2000,\n \"currency\" : \"EUR\"\n },\n \"platformChargebackLogic\" : {\n \"behavior\" : \"deductFromOneBalanceAccount\",\n \"targetAccount\" : \"BA00000000000000000000001\",\n \"costAllocationAccount\" : \"BA00000000000000000000001\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments/:paymentPspReference/captures", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments", + ":paymentPspReference", + "captures" + ], + "variable": [ + { + "key": "paymentPspReference", + "value": "", + "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to capture." + } + ], + "query": [ + ] + }, + "description": " Captures an authorised payment and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CAPTURE** webhook](https://docs.adyen.com/online-payments/capture#capture-notification). You can capture either the full authorised amount or a part of the authorised amount. By default, any unclaimed amount after a partial capture gets cancelled. This does not apply if you enabled multiple partial captures on your account and the payment method supports multiple partial captures. [Automatic capture](https://docs.adyen.com/online-payments/capture#automatic-capture) is the default setting for most payment methods. In these cases, you don't need to make capture requests. However, making capture requests for payments that are captured automatically does not result in double charges. For more information, refer to [Capture](https://docs.adyen.com/online-payments/capture)." +} + ,"response": [ + {"name": "Created - the request has been fulfilled and has resulted in one or more new resources being created.", + "code": 201, + "status": "Created", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"merchantAccount\" : \"YOUR_MERCHANT_ACCOUNT\",\n \"paymentPspReference\" : \"993617894903480A\",\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"pspReference\" : \"993617894906488A\",\n \"status\" : \"received\",\n \"amount\" : {\n \"value\" : 2000,\n \"currency\" : \"EUR\"\n },\n \"platformChargebackLogic\" : {\n \"behavior\" : \"deductFromOneBalanceAccount\",\n \"targetAccount\" : \"BA00000000000000000000001\",\n \"costAllocationAccount\" : \"BA00000000000000000000001\"\n }\n}", + "originalRequest": { + "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 \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"amount\" : {\n \"value\" : 2000,\n \"currency\" : \"EUR\"\n },\n \"platformChargebackLogic\" : {\n \"behavior\" : \"deductFromOneBalanceAccount\",\n \"targetAccount\" : \"BA00000000000000000000001\",\n \"costAllocationAccount\" : \"BA00000000000000000000001\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments/:paymentPspReference/captures", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments", + ":paymentPspReference", + "captures" + ], + "variable": [ + { + "key": "paymentPspReference", + "value": "", + "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to capture." + } + ], + "query": [ + ] + }, + "description": " Captures an authorised payment and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CAPTURE** webhook](https://docs.adyen.com/online-payments/capture#capture-notification). You can capture either the full authorised amount or a part of the authorised amount. By default, any unclaimed amount after a partial capture gets cancelled. This does not apply if you enabled multiple partial captures on your account and the payment method supports multiple partial captures. [Automatic capture](https://docs.adyen.com/online-payments/capture#automatic-capture) is the default setting for most payment methods. In these cases, you don't need to make capture requests. However, making capture requests for payments that are captured automatically does not result in double charges. For more information, refer to [Capture](https://docs.adyen.com/online-payments/capture)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"amount\" : {\n \"value\" : 2000,\n \"currency\" : \"EUR\"\n },\n \"platformChargebackLogic\" : {\n \"behavior\" : \"deductFromOneBalanceAccount\",\n \"targetAccount\" : \"BA00000000000000000000001\",\n \"costAllocationAccount\" : \"BA00000000000000000000001\"\n }\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments/:paymentPspReference/captures", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments", - ":paymentPspReference", - "captures" - ], - "variable": [ - { - "key": "paymentPspReference", - "value": "", - "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to capture." - } - ], - "query": [ - ] - }, - "description": " Captures an authorised payment and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CAPTURE** webhook](https://docs.adyen.com/online-payments/capture#capture-notification). You can capture either the full authorised amount or a part of the authorised amount. By default, any unclaimed amount after a partial capture gets cancelled. This does not apply if you enabled multiple partial captures on your account and the payment method supports multiple partial captures. [Automatic capture](https://docs.adyen.com/online-payments/capture#automatic-capture) is the default setting for most payment methods. In these cases, you don't need to make capture requests. However, making capture requests for payments that are captured automatically does not result in double charges. For more information, refer to [Capture](https://docs.adyen.com/online-payments/capture)." - } + ] } ] - } -, + }, { "name": "/payments/:paymentPspReference/refunds", "description": "Refunds a payment that has been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/captures), and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**REFUND** webhook](https://docs.adyen.com/online-payments/refund#refund-webhook). You can refund either the full captured amount or a part of the captured amount. You can also perform multiple partial refunds, as long as their sum doesn't exceed the captured amount. > Some payment methods do not support partial refunds. To learn if a payment method supports partial refunds, refer to the payment method page such as [cards](https://docs.adyen.com/payment-methods/cards#supported-cards), [iDEAL](https://docs.adyen.com/payment-methods/ideal), or [Klarna](https://docs.adyen.com/payment-methods/klarna). If you want to refund a payment but are not sure whether it has been captured, use the [`/payments/{paymentPspReference}/reversals`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/reversals) endpoint instead. For more information, refer to [Refund](https://docs.adyen.com/online-payments/refund).", @@ -264,62 +517,127 @@ { "name": "Refund a payment", "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 + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 2500\n },\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments/:paymentPspReference/refunds", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments", + ":paymentPspReference", + "refunds" + ], + "variable": [ + { + "key": "paymentPspReference", + "value": "", + "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to refund." + } + ], + "query": [ + ] + }, + "description": "Refunds a payment that has been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/captures), and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**REFUND** webhook](https://docs.adyen.com/online-payments/refund#refund-webhook). You can refund either the full captured amount or a part of the captured amount. You can also perform multiple partial refunds, as long as their sum doesn't exceed the captured amount. > Some payment methods do not support partial refunds. To learn if a payment method supports partial refunds, refer to the payment method page such as [cards](https://docs.adyen.com/payment-methods/cards#supported-cards), [iDEAL](https://docs.adyen.com/payment-methods/ideal), or [Klarna](https://docs.adyen.com/payment-methods/klarna). If you want to refund a payment but are not sure whether it has been captured, use the [`/payments/{paymentPspReference}/reversals`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/reversals) endpoint instead. For more information, refer to [Refund](https://docs.adyen.com/online-payments/refund)." +} + ,"response": [ + {"name": "Created - the request has been fulfilled and has resulted in one or more new resources being created.", + "code": 201, + "status": "Created", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"merchantAccount\" : \"YOUR_MERCHANT_ACCOUNT\",\n \"paymentPspReference\" : \"993617894903480A\",\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"pspReference\" : \"993617894906488A\",\n \"status\" : \"received\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 2500\n }\n}", + "originalRequest": { + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 2500\n },\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments/:paymentPspReference/refunds", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments", + ":paymentPspReference", + "refunds" + ], + "variable": [ + { + "key": "paymentPspReference", + "value": "", + "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to refund." + } + ], + "query": [ + ] + }, + "description": "Refunds a payment that has been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/captures), and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**REFUND** webhook](https://docs.adyen.com/online-payments/refund#refund-webhook). You can refund either the full captured amount or a part of the captured amount. You can also perform multiple partial refunds, as long as their sum doesn't exceed the captured amount. > Some payment methods do not support partial refunds. To learn if a payment method supports partial refunds, refer to the payment method page such as [cards](https://docs.adyen.com/payment-methods/cards#supported-cards), [iDEAL](https://docs.adyen.com/payment-methods/ideal), or [Klarna](https://docs.adyen.com/payment-methods/klarna). If you want to refund a payment but are not sure whether it has been captured, use the [`/payments/{paymentPspReference}/reversals`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/reversals) endpoint instead. For more information, refer to [Refund](https://docs.adyen.com/online-payments/refund)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 2500\n },\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments/:paymentPspReference/refunds", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments", - ":paymentPspReference", - "refunds" - ], - "variable": [ - { - "key": "paymentPspReference", - "value": "", - "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to refund." - } - ], - "query": [ - ] - }, - "description": "Refunds a payment that has been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/captures), and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**REFUND** webhook](https://docs.adyen.com/online-payments/refund#refund-webhook). You can refund either the full captured amount or a part of the captured amount. You can also perform multiple partial refunds, as long as their sum doesn't exceed the captured amount. > Some payment methods do not support partial refunds. To learn if a payment method supports partial refunds, refer to the payment method page such as [cards](https://docs.adyen.com/payment-methods/cards#supported-cards), [iDEAL](https://docs.adyen.com/payment-methods/ideal), or [Klarna](https://docs.adyen.com/payment-methods/klarna). If you want to refund a payment but are not sure whether it has been captured, use the [`/payments/{paymentPspReference}/reversals`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/reversals) endpoint instead. For more information, refer to [Refund](https://docs.adyen.com/online-payments/refund)." - } + ] } ] - } -, + }, { "name": "/payments/:paymentPspReference/reversals", "description": "[Refunds](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/refunds) a payment if it has already been captured, and [cancels](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/cancels) a payment if it has not yet been captured. Returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CANCEL_OR_REFUND** webhook](https://docs.adyen.com/online-payments/reverse#cancel-or-refund-webhook). The reversed amount is always the full payment amount. > Do not use this request for payments that involve multiple partial captures. For more information, refer to [Reversal](https://docs.adyen.com/online-payments/reversal).", @@ -327,62 +645,127 @@ { "name": "Reverse (cancel or refund) a payment", "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 + "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 \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments/:paymentPspReference/reversals", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments", + ":paymentPspReference", + "reversals" + ], + "variable": [ + { + "key": "paymentPspReference", + "value": "", + "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to reverse. " + } + ], + "query": [ + ] + }, + "description": "[Refunds](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/refunds) a payment if it has already been captured, and [cancels](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/cancels) a payment if it has not yet been captured. Returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CANCEL_OR_REFUND** webhook](https://docs.adyen.com/online-payments/reverse#cancel-or-refund-webhook). The reversed amount is always the full payment amount. > Do not use this request for payments that involve multiple partial captures. For more information, refer to [Reversal](https://docs.adyen.com/online-payments/reversal)." +} + ,"response": [ + {"name": "Created - the request has been fulfilled and has resulted in one or more new resources being created.", + "code": 201, + "status": "Created", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"merchantAccount\" : \"YOUR_MERCHANT_ACCOUNT\",\n \"paymentPspReference\" : \"993617894903480A\",\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"pspReference\" : \"993617894906488A\",\n \"status\" : \"received\"\n}", + "originalRequest": { + "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 \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments/:paymentPspReference/reversals", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments", + ":paymentPspReference", + "reversals" + ], + "variable": [ + { + "key": "paymentPspReference", + "value": "", + "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to reverse. " + } + ], + "query": [ + ] + }, + "description": "[Refunds](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/refunds) a payment if it has already been captured, and [cancels](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/cancels) a payment if it has not yet been captured. Returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CANCEL_OR_REFUND** webhook](https://docs.adyen.com/online-payments/reverse#cancel-or-refund-webhook). The reversed amount is always the full payment amount. > Do not use this request for payments that involve multiple partial captures. For more information, refer to [Reversal](https://docs.adyen.com/online-payments/reversal)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"reference\" : \"YOUR_UNIQUE_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments/:paymentPspReference/reversals", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments", - ":paymentPspReference", - "reversals" - ], - "variable": [ - { - "key": "paymentPspReference", - "value": "", - "description": "The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment that you want to reverse. " - } - ], - "query": [ - ] - }, - "description": "[Refunds](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/refunds) a payment if it has already been captured, and [cancels](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/cancels) a payment if it has not yet been captured. Returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CANCEL_OR_REFUND** webhook](https://docs.adyen.com/online-payments/reverse#cancel-or-refund-webhook). The reversed amount is always the full payment amount. > Do not use this request for payments that involve multiple partial captures. For more information, refer to [Reversal](https://docs.adyen.com/online-payments/reversal)." - } + ] } ] } - ] }, { @@ -395,251 +778,374 @@ { "name": "Set up a payment session (Android)", "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 17408\n },\n \"reference\" : \"Your order number\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"channel\" : \"Android\",\n \"token\" : \"TOKEN_YOU_GET_FROM_CHECKOUT_SDK\",\n \"returnUrl\" : \"app://\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl_NL\",\n \"sessionValidity\" : \"2017-04-06T13:09:13Z\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentSession", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentSession" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Provides the data object that can be used to start the Checkout SDK. To set up the payment, pass its amount, currency, and other required parameters. We use this to optimise the payment flow and perform better risk assessment of the transaction. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." - } + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 17408\n },\n \"reference\" : \"Your order number\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"channel\" : \"Android\",\n \"token\" : \"TOKEN_YOU_GET_FROM_CHECKOUT_SDK\",\n \"returnUrl\" : \"app://\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl_NL\",\n \"sessionValidity\" : \"2017-04-06T13:09:13Z\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentSession", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentSession" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Provides the data object that can be used to start the Checkout SDK. To set up the payment, pass its amount, currency, and other required parameters. We use this to optimise the payment flow and perform better risk assessment of the transaction. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." +} + ,"response": [ + ] }, { "name": "Set up a payment session with the option to store card details", "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 + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 17408\n },\n \"reference\" : \"Your order number\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"enableOneClick\" : true,\n \"enableRecurring\" : true,\n \"channel\" : \"Web\",\n \"origin\" : \"https://www.yourwebsite.com\",\n \"returnUrl\" : \"https://www.yourshop.com/checkout/result\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl_NL\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"sdkVersion\" : \"1.7.0\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentSession", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentSession" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Provides the data object that can be used to start the Checkout SDK. To set up the payment, pass its amount, currency, and other required parameters. We use this to optimise the payment flow and perform better risk assessment of the transaction. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"paymentSession\" : \"eyJjaGVja291dHNob3BwZXJCYXN...\"\n}", + "originalRequest": { + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 17408\n },\n \"reference\" : \"Your order number\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"enableOneClick\" : true,\n \"enableRecurring\" : true,\n \"channel\" : \"Web\",\n \"origin\" : \"https://www.yourwebsite.com\",\n \"returnUrl\" : \"https://www.yourshop.com/checkout/result\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl_NL\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"sdkVersion\" : \"1.7.0\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentSession", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentSession" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Provides the data object that can be used to start the Checkout SDK. To set up the payment, pass its amount, currency, and other required parameters. We use this to optimise the payment flow and perform better risk assessment of the transaction. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 17408\n },\n \"reference\" : \"Your order number\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"enableOneClick\" : true,\n \"enableRecurring\" : true,\n \"channel\" : \"Web\",\n \"origin\" : \"https://www.yourwebsite.com\",\n \"returnUrl\" : \"https://www.yourshop.com/checkout/result\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl_NL\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"sdkVersion\" : \"1.7.0\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentSession", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentSession" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Provides the data object that can be used to start the Checkout SDK. To set up the payment, pass its amount, currency, and other required parameters. We use this to optimise the payment flow and perform better risk assessment of the transaction. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." - } + ] }, { "name": "Set up a payment session (iOS)", "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 17408\n },\n \"reference\" : \"Your order number\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"channel\" : \"iOS\",\n \"token\" : \"TOKEN_YOU_GET_FROM_CHECKOUT_SDK\",\n \"returnUrl\" : \"app://\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl_NL\",\n \"sessionValidity\" : \"2017-04-06T13:09:13Z\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentSession", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentSession" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Provides the data object that can be used to start the Checkout SDK. To set up the payment, pass its amount, currency, and other required parameters. We use this to optimise the payment flow and perform better risk assessment of the transaction. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." - } + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 17408\n },\n \"reference\" : \"Your order number\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"channel\" : \"iOS\",\n \"token\" : \"TOKEN_YOU_GET_FROM_CHECKOUT_SDK\",\n \"returnUrl\" : \"app://\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl_NL\",\n \"sessionValidity\" : \"2017-04-06T13:09:13Z\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentSession", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentSession" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Provides the data object that can be used to start the Checkout SDK. To set up the payment, pass its amount, currency, and other required parameters. We use this to optimise the payment flow and perform better risk assessment of the transaction. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." +} + ,"response": [ + ] }, { "name": "Split a payment between a sub-merchant and a platform account", "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 6200\n },\n \"additionalData\" : {\n \"split.api\" : \"1\",\n \"split.nrOfItems\" : \"2\",\n \"split.totalAmount\" : \"6200\",\n \"split.currencyCode\" : \"EUR\",\n \"split.item1.amount\" : \"6000\",\n \"split.item1.type\" : \"MarketPlace\",\n \"split.item1.account\" : \"151272963\",\n \"split.item1.reference\" : \"6124145\",\n \"split.item1.description\" : \"Porcelain Doll: Eliza (20cm)\",\n \"split.item2.amount\" : \"200\",\n \"split.item2.type\" : \"Commission\",\n \"split.item2.reference\" : \"6124146\"\n },\n \"reference\" : \"Your order number\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"channel\" : \"Android\",\n \"token\" : \"TOKEN_YOU_GET_FROM_CHECKOUT_SDK\",\n \"returnUrl\" : \"app://\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl_NL\",\n \"sessionValidity\" : \"2017-04-06T13:09:13Z\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentSession", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentSession" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Provides the data object that can be used to start the Checkout SDK. To set up the payment, pass its amount, currency, and other required parameters. We use this to optimise the payment flow and perform better risk assessment of the transaction. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." - } + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 6200\n },\n \"additionalData\" : {\n \"split.api\" : \"1\",\n \"split.nrOfItems\" : \"2\",\n \"split.totalAmount\" : \"6200\",\n \"split.currencyCode\" : \"EUR\",\n \"split.item1.amount\" : \"6000\",\n \"split.item1.type\" : \"MarketPlace\",\n \"split.item1.account\" : \"151272963\",\n \"split.item1.reference\" : \"6124145\",\n \"split.item1.description\" : \"Porcelain Doll: Eliza (20cm)\",\n \"split.item2.amount\" : \"200\",\n \"split.item2.type\" : \"Commission\",\n \"split.item2.reference\" : \"6124146\"\n },\n \"reference\" : \"Your order number\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"channel\" : \"Android\",\n \"token\" : \"TOKEN_YOU_GET_FROM_CHECKOUT_SDK\",\n \"returnUrl\" : \"app://\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl_NL\",\n \"sessionValidity\" : \"2017-04-06T13:09:13Z\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentSession", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentSession" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Provides the data object that can be used to start the Checkout SDK. To set up the payment, pass its amount, currency, and other required parameters. We use this to optimise the payment flow and perform better risk assessment of the transaction. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." +} + ,"response": [ + ] }, { "name": "Set up a payment session (Web)", "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 + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 17408\n },\n \"reference\" : \"Your order number\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"channel\" : \"Web\",\n \"origin\" : \"https://www.yourwebsite.com\",\n \"returnUrl\" : \"https://www.yourshop.com/checkout/result\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl_NL\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"sdkVersion\" : \"1.9.5\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentSession", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentSession" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Provides the data object that can be used to start the Checkout SDK. To set up the payment, pass its amount, currency, and other required parameters. We use this to optimise the payment flow and perform better risk assessment of the transaction. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"paymentSession\" : \"eyJjaGVja291dHNob3BwZXJCYXN...\"\n}", + "originalRequest": { + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 17408\n },\n \"reference\" : \"Your order number\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"channel\" : \"Web\",\n \"origin\" : \"https://www.yourwebsite.com\",\n \"returnUrl\" : \"https://www.yourshop.com/checkout/result\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl_NL\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"sdkVersion\" : \"1.9.5\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentSession", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentSession" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Provides the data object that can be used to start the Checkout SDK. To set up the payment, pass its amount, currency, and other required parameters. We use this to optimise the payment flow and perform better risk assessment of the transaction. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 17408\n },\n \"reference\" : \"Your order number\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"channel\" : \"Web\",\n \"origin\" : \"https://www.yourwebsite.com\",\n \"returnUrl\" : \"https://www.yourshop.com/checkout/result\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl_NL\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"sdkVersion\" : \"1.9.5\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentSession", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentSession" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Provides the data object that can be used to start the Checkout SDK. To set up the payment, pass its amount, currency, and other required parameters. We use this to optimise the payment flow and perform better risk assessment of the transaction. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." - } + ] } ] - } -, + }, { "name": "/payments/result (DEPRECATED)", "description": "Verifies the payment result using the payload returned from the Checkout SDK. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks).", @@ -647,56 +1153,115 @@ { "name": "Verify payment results", "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 + "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 \"payload\" : \"VALUE_YOU_GET_FROM_CHECKOUT_SDK\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments/result", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments", + "result" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Verifies the payment result using the payload returned from the Checkout SDK. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"pspReference\" : \"V4HZ4RBFJGXXGN82\",\n \"merchantReference\" : \"Your order number\",\n \"shopperLocale\" : \"nl_NL\",\n \"paymentMethod\" : \"ideal\"\n}", + "originalRequest": { + "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 \"payload\" : \"VALUE_YOU_GET_FROM_CHECKOUT_SDK\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments/result", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments", + "result" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Verifies the payment result using the payload returned from the Checkout SDK. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"payload\" : \"VALUE_YOU_GET_FROM_CHECKOUT_SDK\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments/result", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments", - "result" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Verifies the payment result using the payload returned from the Checkout SDK. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks)." - } + ] } ] } - ] }, { @@ -709,55 +1274,113 @@ { "name": "Create an order", "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 + "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 \"reference\" : \"YOUR_ORDER_REFERENCE\",\n \"amount\" : {\n \"value\" : 2500,\n \"currency\" : \"EUR\"\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/orders", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "orders" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates an order to be used for partial payments. Make a POST `/orders` call before making a `/payments` call when processing payments with different payment methods." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"pspReference\" : \"8616178914061985\",\n \"resultCode\" : \"Success\",\n \"expiresAt\" : \"2021-04-09T14:16:46Z\",\n \"orderData\" : \"Ab02b4c0!BQABAgCxXvknCldOcRElkxY8Za7iyym4Wv8aDzyNwmj/3nh4G6YtwnUIJHaK62NlN4oIsACdkn1FEjBwKlheG40jvXcYGBk4KFV5WvOhTVCpv/KXnkrI7xQv/u2lE7U4wA+HPB6K4Zj2L8xO/ogZi+zGZqFs5m16jmkH7ku6FzXygXLNuUCuOlmlXSZhdkHHTNVQSq1MELDK9OL74y532ETRPTCNxx8WlEiZB+LDqYrPvH9GgigtD5kw8Do45jfFfG72kWBEgfYqp4mbUmBB9ebXFYZKfF0qvW1x7A2Y9+/MFlTIdXfKW484bJeDBCTTrmKGXIj+U4r5imr5fXTyNLcrxyUqwrb9jg+5B4qg1XB6Cgj5UPlSI4O62I7v0s5TTj69dzLwUQRxSQbwLrZVGYavXzeVKI54BVLRV3d/+BbPvTqnTo34UhfZbPlOx9F2eyaS0ZXdOKnHw89uGUgxUpLsMqnbRysi/pxpZaulel+0mExb68wVxb/7Teob5eRG4gp7cfZVZs6tLXOYWL+W0TqIlsa3hWsfM0LeaovzkoDtW/pK5JABXwMtLig9tsxoEh9ONYtIzkXC21LZ8ebiuSIMaPizjF8yca+QxrCZalQsu6uKnBz/mm8nnsflaGU2QS5zcoxk1RudL1Bl36LM9UZGPpFEYWiYA4sUsnNLw7peJjWCGhDepnwMv4TlgsEtoDtz1T54AEp7ImtleSI6IkFGMEFBQTEwM0NBNTM3RUFFRDg3QzI0REQ1MzkwOUI4MEE3OEE5MjNFMzgyM0Q2OERBQ0M5NEI5RkY4MzA1REMifRslOdmfgUHTXl66WPD9xoW2whIeRx/jR++2MqNE16x6zQy+KtDN8/h60crZwmqkjVTQYqQlsYSYDHSIyb4wnnay16/5il1yS7vN3UCLaTXjYBIAyyx6Wr9j4P3CI/etB+PpviHoESC4mV6ZN4whMDQyziQ8s230GtboXbh42qND7rk9phySBogowQlXrtF+l2n2F46nyif0owEgik5fGARfvjZtY2w23s30KMLNwU4gWSvX4H6RMVS8TfZH2fKfNrwB3tZUXwYkELs5ntaHysswq5Mn5aq2BKAMHu/Rh/wureMSI73Qi0avjrzWCwzt3JH4wnzErMnOZwSdgA==\",\n \"reference\" : \"shopper-reference-ekvL83\",\n \"remainingAmount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 2500\n },\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 300\n }\n}", + "originalRequest": { + "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 \"reference\" : \"YOUR_ORDER_REFERENCE\",\n \"amount\" : {\n \"value\" : 2500,\n \"currency\" : \"EUR\"\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/orders", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "orders" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates an order to be used for partial payments. Make a POST `/orders` call before making a `/payments` call when processing payments with different payment methods." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"reference\" : \"YOUR_ORDER_REFERENCE\",\n \"amount\" : {\n \"value\" : 2500,\n \"currency\" : \"EUR\"\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/orders", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "orders" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Creates an order to be used for partial payments. Make a POST `/orders` call before making a `/payments` call when processing payments with different payment methods." - } + ] } ] - } -, + }, { "name": "/orders/cancel", "description": "Cancels an order. Cancellation of an order results in an automatic rollback of all payments made in the order, either by canceling or refunding the payment, depending on the type of payment method.", @@ -765,56 +1388,115 @@ { "name": "Cancel an order", "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 + "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 \"order\" : {\n \"pspReference\" : \"8815517812932012\",\n \"orderData\" : \"823fh892f8f18f4...148f13f9f3f\"\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/orders/cancel", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "orders", + "cancel" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Cancels an order. Cancellation of an order results in an automatic rollback of all payments made in the order, either by canceling or refunding the payment, depending on the type of payment method." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"pspReference\" : \"8816178914079738\",\n \"resultCode\" : \"Received\"\n}", + "originalRequest": { + "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 \"order\" : {\n \"pspReference\" : \"8815517812932012\",\n \"orderData\" : \"823fh892f8f18f4...148f13f9f3f\"\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/orders/cancel", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "orders", + "cancel" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Cancels an order. Cancellation of an order results in an automatic rollback of all payments made in the order, either by canceling or refunding the payment, depending on the type of payment method." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"order\" : {\n \"pspReference\" : \"8815517812932012\",\n \"orderData\" : \"823fh892f8f18f4...148f13f9f3f\"\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/orders/cancel", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "orders", - "cancel" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Cancels an order. Cancellation of an order results in an automatic rollback of all payments made in the order, either by canceling or refunding the payment, depending on the type of payment method." - } + ] } ] - } -, + }, { "name": "/paymentMethods/balance", "description": "Retrieves the balance remaining on a shopper's gift card. To check a gift card's balance, make a POST `/paymentMethods/balance` call and include the gift card's details inside a `paymentMethod` object.", @@ -822,106 +1504,225 @@ { "name": "Get gift card balance specifying amount of 10 EUR", "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 + "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 \"paymentMethod\" : {\n \"type\" : \"givex\",\n \"number\" : \"4126491073027401\",\n \"cvc\" : \"737\"\n },\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentMethods/balance", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentMethods", + "balance" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Retrieves the balance remaining on a shopper's gift card. To check a gift card's balance, make a POST `/paymentMethods/balance` call and include the gift card's details inside a `paymentMethod` object." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"pspReference\" : \"KHQC5N7G84BLNK43\",\n \"resultCode\" : \"Success\",\n \"balance\" : {\n \"currency\" : \"EUR\",\n \"value\" : 5000\n }\n}", + "originalRequest": { + "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 \"paymentMethod\" : {\n \"type\" : \"givex\",\n \"number\" : \"4126491073027401\",\n \"cvc\" : \"737\"\n },\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentMethods/balance", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentMethods", + "balance" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Retrieves the balance remaining on a shopper's gift card. To check a gift card's balance, make a POST `/paymentMethods/balance` call and include the gift card's details inside a `paymentMethod` object." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"paymentMethod\" : {\n \"type\" : \"givex\",\n \"number\" : \"4126491073027401\",\n \"cvc\" : \"737\"\n },\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentMethods/balance", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentMethods", - "balance" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Retrieves the balance remaining on a shopper's gift card. To check a gift card's balance, make a POST `/paymentMethods/balance` call and include the gift card's details inside a `paymentMethod` object." - } + ] }, { "name": "Get gift card balance specifying amount of 100 EUR", "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 + "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 \"paymentMethod\" : {\n \"type\" : \"givex\",\n \"number\" : \"4126491073027401\",\n \"cvc\" : \"737\"\n },\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 10000\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentMethods/balance", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentMethods", + "balance" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Retrieves the balance remaining on a shopper's gift card. To check a gift card's balance, make a POST `/paymentMethods/balance` call and include the gift card's details inside a `paymentMethod` object." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"pspReference\" : \"FKSPNCQ8HXSKGK82\",\n \"resultCode\" : \"NotEnoughBalance\",\n \"balance\" : {\n \"currency\" : \"EUR\",\n \"value\" : 5000\n }\n}", + "originalRequest": { + "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 \"paymentMethod\" : {\n \"type\" : \"givex\",\n \"number\" : \"4126491073027401\",\n \"cvc\" : \"737\"\n },\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 10000\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentMethods/balance", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentMethods", + "balance" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Retrieves the balance remaining on a shopper's gift card. To check a gift card's balance, make a POST `/paymentMethods/balance` call and include the gift card's details inside a `paymentMethod` object." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"paymentMethod\" : {\n \"type\" : \"givex\",\n \"number\" : \"4126491073027401\",\n \"cvc\" : \"737\"\n },\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 10000\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentMethods/balance", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentMethods", - "balance" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Retrieves the balance remaining on a shopper's gift card. To check a gift card's balance, make a POST `/paymentMethods/balance` call and include the gift card's details inside a `paymentMethod` object." - } + ] } ] } - ] }, { @@ -934,56 +1735,115 @@ { "name": "Get payment session for Apple Pay", "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 + "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 \"displayName\" : \"YOUR_MERCHANT_NAME\",\n \"domainName\" : \"YOUR_DOMAIN_NAME\",\n \"merchantIdentifier\" : \"YOUR_MERCHANT_ID\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/applePay/sessions", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "applePay", + "sessions" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "You need to use this endpoint if you have an API-only integration with Apple Pay which uses Adyen's Apple Pay certificate. The endpoint returns the Apple Pay session data which you need to complete the [Apple Pay session validation](https://docs.adyen.com/payment-methods/apple-pay/api-only?tab=adyen-certificate-validation_1#complete-apple-pay-session-validation)." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"data\" : \"eyJ2Z...\"\n}", + "originalRequest": { + "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 \"displayName\" : \"YOUR_MERCHANT_NAME\",\n \"domainName\" : \"YOUR_DOMAIN_NAME\",\n \"merchantIdentifier\" : \"YOUR_MERCHANT_ID\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/applePay/sessions", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "applePay", + "sessions" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "You need to use this endpoint if you have an API-only integration with Apple Pay which uses Adyen's Apple Pay certificate. The endpoint returns the Apple Pay session data which you need to complete the [Apple Pay session validation](https://docs.adyen.com/payment-methods/apple-pay/api-only?tab=adyen-certificate-validation_1#complete-apple-pay-session-validation)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"displayName\" : \"YOUR_MERCHANT_NAME\",\n \"domainName\" : \"YOUR_DOMAIN_NAME\",\n \"merchantIdentifier\" : \"YOUR_MERCHANT_ID\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/applePay/sessions", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "applePay", - "sessions" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "You need to use this endpoint if you have an API-only integration with Apple Pay which uses Adyen's Apple Pay certificate. The endpoint returns the Apple Pay session data which you need to complete the [Apple Pay session validation](https://docs.adyen.com/payment-methods/apple-pay/api-only?tab=adyen-certificate-validation_1#complete-apple-pay-session-validation)." - } + ] } ] - } -, + }, { "name": "/originKeys (DEPRECATED)", "description": "This operation takes the origin domains and returns a JSON object containing the corresponding origin keys for the domains. > If you're still using origin key for your Web Drop-in or Components integration, we recommend [switching to client key](https://docs.adyen.com/development-resources/client-side-authentication/migrate-from-origin-key-to-client-key). This allows you to use a single key for all origins, add or remove origins without generating a new key, and detect the card type from the number entered in your payment form. ", @@ -991,55 +1851,113 @@ { "name": "Get origin keys", "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 + "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 \"originDomains\" : [ \"https://www.your-domain1.com\", \"https://www.your-domain2.com\", \"https://www.your-domain3.com\" ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/originKeys", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "originKeys" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "This operation takes the origin domains and returns a JSON object containing the corresponding origin keys for the domains. > If you're still using origin key for your Web Drop-in or Components integration, we recommend [switching to client key](https://docs.adyen.com/development-resources/client-side-authentication/migrate-from-origin-key-to-client-key). This allows you to use a single key for all origins, add or remove origins without generating a new key, and detect the card type from the number entered in your payment form. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"originKeys\" : {\n \"https://www.your-domain1.com\" : \"pub.v2.8116178901076090.aHR0cHM6Ly93d3cueW91ci1kb21haW4xLmNvbQ.pvbYlrXz0ICP4kwMJXDGDLVMqALhwXr1MSRjT-fkhvw\",\n \"https://www.your-domain3.com\" : \"pub.v2.8116178901076090.aHR0cHM6Ly93d3cueW91ci1kb21haW4zLmNvbQ.FrTpVz7_RzAywKasM0kXCRoMfoMkKIKaxjFymRGORIc\",\n \"https://www.your-domain2.com\" : \"pub.v2.8116178901076090.aHR0cHM6Ly93d3cueW91ci1kb21haW4yLmNvbQ.LdN9kvJ35fYFFiBSJA4idMnwwxJ5_yXpeNS__Ap5wkg\"\n }\n}", + "originalRequest": { + "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 \"originDomains\" : [ \"https://www.your-domain1.com\", \"https://www.your-domain2.com\", \"https://www.your-domain3.com\" ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/originKeys", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "originKeys" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "This operation takes the origin domains and returns a JSON object containing the corresponding origin keys for the domains. > If you're still using origin key for your Web Drop-in or Components integration, we recommend [switching to client key](https://docs.adyen.com/development-resources/client-side-authentication/migrate-from-origin-key-to-client-key). This allows you to use a single key for all origins, add or remove origins without generating a new key, and detect the card type from the number entered in your payment form. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"originDomains\" : [ \"https://www.your-domain1.com\", \"https://www.your-domain2.com\", \"https://www.your-domain3.com\" ]\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/originKeys", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "originKeys" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "This operation takes the origin domains and returns a JSON object containing the corresponding origin keys for the domains. > If you're still using origin key for your Web Drop-in or Components integration, we recommend [switching to client key](https://docs.adyen.com/development-resources/client-side-authentication/migrate-from-origin-key-to-client-key). This allows you to use a single key for all origins, add or remove origins without generating a new key, and detect the card type from the number entered in your payment form. " - } + ] } ] } - ] }, { @@ -1052,55 +1970,56 @@ { "name": "Get tokens for stored payment details", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/storedPaymentMethods", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "storedPaymentMethods" - ], - "variable": [ - ], - "query": [ - { - "key": "shopperReference", - "value": "shopperReference_example", - "description": "Your reference to uniquely identify this shopper, for example user ID or account ID. Minimum length: 3 characters. > Your reference must not include personally identifiable information (PII), for example name or email address.", - "disabled": true - }, - { - "key": "merchantAccount", - "value": "merchantAccount_example", - "description": "Your merchant account.", - "disabled": true - } - ] - }, - "description": "Lists the tokens for stored payment details for the shopper identified in the path, if there are any available. The token ID can be used with payment requests for the shopper's payment. A summary of the stored details is included. " - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/storedPaymentMethods", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "storedPaymentMethods" + ], + "variable": [ + ], + "query": [ + { + "key": "shopperReference", + "value": "shopperReference_example", + "description": "Your reference to uniquely identify this shopper, for example user ID or account ID. Minimum length: 3 characters. > Your reference must not include personally identifiable information (PII), for example name or email address.", + "disabled": true + }, + { + "key": "merchantAccount", + "value": "merchantAccount_example", + "description": "Your merchant account.", + "disabled": true + } + ] + }, + "description": "Lists the tokens for stored payment details for the shopper identified in the path, if there are any available. The token ID can be used with payment requests for the shopper's payment. A summary of the stored details is included. " +} + ,"response": [ + ] } ] - } -, + }, { "name": "/storedPaymentMethods/:storedPaymentMethodId", "description": "Deletes the token identified in the path. The token can no longer be used with payment requests.", @@ -1108,55 +2027,56 @@ { "name": "Delete a token for stored payment details", "request": { - "method": "DELETE", - "header": [ - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/storedPaymentMethods/:storedPaymentMethodId", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "storedPaymentMethods", - ":storedPaymentMethodId" - ], - "variable": [ - { - "key": "storedPaymentMethodId", - "value": "", - "description": "The unique identifier of the token." - } - ], - "query": [ - { - "key": "shopperReference", - "value": "shopperReference_example", - "description": "Your reference to uniquely identify this shopper, for example user ID or account ID. Minimum length: 3 characters. > Your reference must not include personally identifiable information (PII), for example name or email address.", - "disabled": false - }, - { - "key": "merchantAccount", - "value": "merchantAccount_example", - "description": "Your merchant account.", - "disabled": false - } - ] - }, - "description": "Deletes the token identified in the path. The token can no longer be used with payment requests." - } + "method": "DELETE", + "header": [ + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/storedPaymentMethods/:storedPaymentMethodId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "storedPaymentMethods", + ":storedPaymentMethodId" + ], + "variable": [ + { + "key": "storedPaymentMethodId", + "value": "", + "description": "The unique identifier of the token." + } + ], + "query": [ + { + "key": "shopperReference", + "value": "shopperReference_example", + "description": "Your reference to uniquely identify this shopper, for example user ID or account ID. Minimum length: 3 characters. > Your reference must not include personally identifiable information (PII), for example name or email address.", + "disabled": false + }, + { + "key": "merchantAccount", + "value": "merchantAccount_example", + "description": "Your merchant account.", + "disabled": false + } + ] + }, + "description": "Deletes the token identified in the path. The token can no longer be used with payment requests." +} + ,"response": [ + ] } ] } - ] }, { @@ -1169,104 +2089,164 @@ { "name": "Start a donation transaction", "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 + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"reference\" : \"YOUR_DONATION_REFERENCE\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\"\n },\n \"donationToken\" : \"YOUR_DONATION_TOKEN\",\n \"donationOriginalPspReference\" : \"991559660454807J\",\n \"donationAccount\" : \"CHARITY_ACCOUNT\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"shopperInteraction\" : \"ContAuth\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/donations", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "donations" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Takes in the donation token generated by the `/payments` request and uses it to make the donation for the donation account specified in the request. For more information, see [Donations](https://docs.adyen.com/online-payments/donations)." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"id\" : \"UNIQUE_RESOURCE_ID\",\n \"status\" : \"completed\",\n \"donationAccount\" : \"CHARITY_ACCOUNT\",\n \"merchantAccount\" : \"YOUR_MERCHANT_ACCOUNT\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"reference\" : \"YOUR_DONATION_REFERENCE\",\n \"payment\" : {\n \"pspReference\" : \"8535762347980628\",\n \"resultCode\" : \"Authorised\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"merchantReference\" : \"YOUR_DONATION_REFERENCE\"\n }\n}", + "originalRequest": { + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"reference\" : \"YOUR_DONATION_REFERENCE\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\"\n },\n \"donationToken\" : \"YOUR_DONATION_TOKEN\",\n \"donationOriginalPspReference\" : \"991559660454807J\",\n \"donationAccount\" : \"CHARITY_ACCOUNT\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"shopperInteraction\" : \"ContAuth\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/donations", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "donations" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Takes in the donation token generated by the `/payments` request and uses it to make the donation for the donation account specified in the request. For more information, see [Donations](https://docs.adyen.com/online-payments/donations)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"reference\" : \"YOUR_DONATION_REFERENCE\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\"\n },\n \"donationToken\" : \"YOUR_DONATION_TOKEN\",\n \"donationOriginalPspReference\" : \"991559660454807J\",\n \"donationAccount\" : \"CHARITY_ACCOUNT\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"shopperInteraction\" : \"ContAuth\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/donations", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "donations" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Takes in the donation token generated by the `/payments` request and uses it to make the donation for the donation account specified in the request. For more information, see [Donations](https://docs.adyen.com/online-payments/donations)." - } + ] }, { "name": "Start a donation transaction with a token", "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"reference\" : \"YOUR_DONATION_REFERENCE\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"recurringDetailReference\" : \"7219687191761347\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"donationAccount\" : \"CHARITY_ACCOUNT\",\n \"shopperInteraction\" : \"ContAuth\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"recurringProcessingModel\" : \"CardOnFile\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/donations", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "donations" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Takes in the donation token generated by the `/payments` request and uses it to make the donation for the donation account specified in the request. For more information, see [Donations](https://docs.adyen.com/online-payments/donations)." - } + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"reference\" : \"YOUR_DONATION_REFERENCE\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"recurringDetailReference\" : \"7219687191761347\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"donationAccount\" : \"CHARITY_ACCOUNT\",\n \"shopperInteraction\" : \"ContAuth\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"recurringProcessingModel\" : \"CardOnFile\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/donations", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "donations" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Takes in the donation token generated by the `/payments` request and uses it to make the donation for the donation account specified in the request. For more information, see [Donations](https://docs.adyen.com/online-payments/donations)." +} + ,"response": [ + ] } ] } - ] }, { @@ -1279,104 +2259,221 @@ { "name": "Get a list of brands on a card", "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 + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"cardNumber\" : \"411111\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/cardDetails", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "cardDetails" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Send a request with at least the first 6 digits of the card number to get a response with an array of brands on the card. If you include [your supported brands](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__reqParam_supportedBrands) in the request, the response also tells you if you support each [brand that was identified](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__resParam_details). If you have an API-only integration and collect card data, use this endpoint to find out if the shopper's card is co-branded. For co-branded cards, you must let the shopper choose the brand to pay with if you support both brands. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"brands\" : [ {\n \"type\" : \"visa\",\n \"supported\" : true\n }, {\n \"type\" : \"cartebancaire\",\n \"supported\" : true\n } ]\n}", + "originalRequest": { + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"cardNumber\" : \"411111\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/cardDetails", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "cardDetails" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Send a request with at least the first 6 digits of the card number to get a response with an array of brands on the card. If you include [your supported brands](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__reqParam_supportedBrands) in the request, the response also tells you if you support each [brand that was identified](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__resParam_details). If you have an API-only integration and collect card data, use this endpoint to find out if the shopper's card is co-branded. For co-branded cards, you must let the shopper choose the brand to pay with if you support both brands. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"cardNumber\" : \"411111\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/cardDetails", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "cardDetails" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Send a request with at least the first 6 digits of the card number to get a response with an array of brands on the card. If you include [your supported brands](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__reqParam_supportedBrands) in the request, the response also tells you if you support each [brand that was identified](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__resParam_details). If you have an API-only integration and collect card data, use this endpoint to find out if the shopper's card is co-branded. For co-branded cards, you must let the shopper choose the brand to pay with if you support both brands. " - } + ] }, { "name": "Get a list of brands on a card specifying your supported card brands", "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 + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"cardNumber\" : \"411111\",\n \"supportedBrands\" : [ \"visa\", \"mc\", \"amex\" ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/cardDetails", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "cardDetails" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Send a request with at least the first 6 digits of the card number to get a response with an array of brands on the card. If you include [your supported brands](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__reqParam_supportedBrands) in the request, the response also tells you if you support each [brand that was identified](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__resParam_details). If you have an API-only integration and collect card data, use this endpoint to find out if the shopper's card is co-branded. For co-branded cards, you must let the shopper choose the brand to pay with if you support both brands. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"brands\" : [ {\n \"type\" : \"visa\",\n \"supported\" : true\n }, {\n \"type\" : \"cartebancaire\",\n \"supported\" : false\n } ]\n}", + "originalRequest": { + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"cardNumber\" : \"411111\",\n \"supportedBrands\" : [ \"visa\", \"mc\", \"amex\" ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/cardDetails", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "cardDetails" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Send a request with at least the first 6 digits of the card number to get a response with an array of brands on the card. If you include [your supported brands](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__reqParam_supportedBrands) in the request, the response also tells you if you support each [brand that was identified](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__resParam_details). If you have an API-only integration and collect card data, use this endpoint to find out if the shopper's card is co-branded. For co-branded cards, you must let the shopper choose the brand to pay with if you support both brands. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"cardNumber\" : \"411111\",\n \"supportedBrands\" : [ \"visa\", \"mc\", \"amex\" ]\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/cardDetails", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "cardDetails" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Send a request with at least the first 6 digits of the card number to get a response with an array of brands on the card. If you include [your supported brands](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__reqParam_supportedBrands) in the request, the response also tells you if you support each [brand that was identified](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__resParam_details). If you have an API-only integration and collect card data, use this endpoint to find out if the shopper's card is co-branded. For co-branded cards, you must let the shopper choose the brand to pay with if you support both brands. " - } + ] } ] - } -, + }, { "name": "/paymentMethods", "description": "Queries the available payment methods for a transaction based on the transaction context (like amount, country, and currency). Besides giving back a list of the available payment methods, the response also returns which input details you need to collect from the shopper (to be submitted to `/payments`). Although we highly recommend using this endpoint to ensure you are always offering the most up-to-date list of payment methods, its usage is optional. You can, for example, also cache the `/paymentMethods` response and update it once a week.", @@ -1384,153 +2481,329 @@ { "name": "Get available payment methods", "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 + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentMethods", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentMethods" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Queries the available payment methods for a transaction based on the transaction context (like amount, country, and currency). Besides giving back a list of the available payment methods, the response also returns which input details you need to collect from the shopper (to be submitted to `/payments`). Although we highly recommend using this endpoint to ensure you are always offering the most up-to-date list of payment methods, its usage is optional. You can, for example, also cache the `/paymentMethods` response and update it once a week." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"paymentMethods\" : [ {\n \"name\" : \"ACH Direct Debit\",\n \"type\" : \"ach\"\n }, {\n \"name\" : \"Adyen Voucher\",\n \"type\" : \"adyen_test_voucher\"\n }, {\n \"name\" : \"AfterPay Invoice\",\n \"type\" : \"afterpay_default\"\n }, {\n \"name\" : \"AfterPay DirectDebit\",\n \"type\" : \"afterpay_directdebit\"\n }, {\n \"name\" : \"Afterpay\",\n \"type\" : \"afterpaytouch\"\n }, {\n \"name\" : \"Cards\",\n \"type\" : \"scheme\"\n }, {\n \"name\" : \"AliPay\",\n \"type\" : \"alipay\"\n }, {\n \"name\" : \"AliPay HK\",\n \"type\" : \"alipay_hk\"\n }, {\n \"name\" : \"AliPay\",\n \"type\" : \"alipay_wap\"\n }, {\n \"name\" : \"Android Pay\",\n \"type\" : \"androidpay\"\n }, {\n \"name\" : \"Apple Pay\",\n \"type\" : \"applepay\"\n }, {\n \"name\" : \"Credit Card via AsiaPay\",\n \"type\" : \"asiapay\"\n }, {\n \"name\" : \"China UnionPay\",\n \"type\" : \"asiapay_unionpay\"\n }, {\n \"name\" : \"Baby Gift Card\",\n \"type\" : \"babygiftcard\"\n }, {\n \"name\" : \"Baloto\",\n \"type\" : \"baloto\"\n }, {\n \"name\" : \"BancNet\",\n \"type\" : \"bancnet\"\n }, {\n \"name\" : \"Bank Transfer (BG)\",\n \"type\" : \"bankTransfer_BG\"\n }, {\n \"name\" : \"Bank Transfer (CH)\",\n \"type\" : \"bankTransfer_CH\"\n }, {\n \"name\" : \"Bank Transfer (DE)\",\n \"type\" : \"bankTransfer_DE\"\n }, {\n \"name\" : \"Bank Transfer (FI)\",\n \"type\" : \"bankTransfer_FI\"\n }, {\n \"name\" : \"Bank Transfer (GB)\",\n \"type\" : \"bankTransfer_GB\"\n }, {\n \"name\" : \"Bank Transfer (HU)\",\n \"type\" : \"bankTransfer_HU\"\n }, {\n \"name\" : \"SEPA Bank Transfer\",\n \"type\" : \"bankTransfer_IBAN\"\n }, {\n \"name\" : \"Bank Transfer (IE)\",\n \"type\" : \"bankTransfer_IE\"\n }, {\n \"name\" : \"Electronic Bank Transfer (MX)\",\n \"type\" : \"bankTransfer_MX_linked\"\n }, {\n \"name\" : \"Bank Transfer (MX)\",\n \"type\" : \"bankTransfer_MX_offline\"\n }, {\n \"name\" : \"Bank Transfer (NL)\",\n \"type\" : \"bankTransfer_NL\"\n }, {\n \"name\" : \"Bank Transfer (PL)\",\n \"type\" : \"bankTransfer_PL\"\n }, {\n \"name\" : \"Bank Transfer (SE)\",\n \"type\" : \"bankTransfer_SE\"\n }, {\n \"name\" : \"Bank Transfer (US)\",\n \"type\" : \"bankTransfer_US\"\n }, {\n \"name\" : \"Payconiq by Bancontact\",\n \"type\" : \"bcmc_mobile\"\n }, {\n \"name\" : \"Bijenkorf Cadeaucard\",\n \"type\" : \"bijcadeaucard\"\n }, {\n \"name\" : \"99Bill\",\n \"type\" : \"bill99\"\n }, {\n \"name\" : \"Online Banking India\",\n \"type\" : \"billdesk_online\"\n }, {\n \"name\" : \"UPI\",\n \"type\" : \"billdesk_upi\"\n }, {\n \"name\" : \"Wallets India\",\n \"type\" : \"billdesk_wallet\"\n }, {\n \"name\" : \"Blik\",\n \"type\" : \"blik\"\n }, {\n \"name\" : \"Bloemen Giftcard\",\n \"type\" : \"bloemengiftcard\"\n }, {\n \"name\" : \"Boekenbon Giftcard\",\n \"type\" : \"boekenbon\"\n }, {\n \"name\" : \"Boleto\",\n \"type\" : \"boleto\"\n }, {\n \"name\" : \"Boleto Bancario\",\n \"type\" : \"boletobancario_santander\"\n }, {\n \"name\" : \"Bradesco\",\n \"type\" : \"bradesco\"\n }, {\n \"name\" : \"Cash-Ticket\",\n \"type\" : \"cashticket\"\n }, {\n \"name\" : \"CashU\",\n \"type\" : \"cashu\"\n }, {\n \"name\" : \"CCAvenue\",\n \"type\" : \"ccavenue\"\n }, {\n \"name\" : \"Mula Checkout\",\n \"type\" : \"cellulant\"\n }, {\n \"name\" : \"Chasin Giftcard\",\n \"type\" : \"chasingiftcard\"\n }, {\n \"name\" : \"Clearpay\",\n \"type\" : \"clearpay\"\n }, {\n \"name\" : \"ClickandBuy\",\n \"type\" : \"clickandbuy\"\n }, {\n \"name\" : \"Paiement en 3 fois par Cartes Bancaires\",\n \"type\" : \"cofinoga_3xcb\"\n }, {\n \"name\" : \"Costes Giftcard\",\n \"type\" : \"costesgiftcard\"\n }, {\n \"name\" : \"custom_settlement\",\n \"type\" : \"custom_settlement\"\n }, {\n \"name\" : \"DANA\",\n \"type\" : \"dana\"\n }, {\n \"name\" : \"DineroMail\",\n \"type\" : \"dineromail\"\n }, {\n \"name\" : \"Online bank transfer.\",\n \"type\" : \"directEbanking\"\n }, {\n \"name\" : \"Direct Debit Brazil - Banco do Brazil\",\n \"type\" : \"directdebit_BR_bancodobrasil\"\n }, {\n \"name\" : \"Direct Debit Brazil - Bradesco\",\n \"type\" : \"directdebit_BR_bradesco\"\n }, {\n \"name\" : \"Direct Debit Brazil - Caixa Economica Federal\",\n \"type\" : \"directdebit_BR_caixa\"\n }, {\n \"name\" : \"Direct Debit Brazil - HSBC\",\n \"type\" : \"directdebit_BR_hsbc\"\n }, {\n \"name\" : \"Direct Debit Brazil - Itau\",\n \"type\" : \"directdebit_BR_itau\"\n }, {\n \"name\" : \"Direct Debit Brazil - Santander\",\n \"type\" : \"directdebit_BR_santander\"\n }, {\n \"name\" : \"BACS Direct Debit\",\n \"type\" : \"directdebit_GB\"\n }, {\n \"name\" : \"Alfamart\",\n \"type\" : \"doku_alfamart\"\n }, {\n \"name\" : \"BCA Bank Transfer\",\n \"type\" : \"doku_bca_va\"\n }, {\n \"name\" : \"BNI VA\",\n \"type\" : \"doku_bni_va\"\n }, {\n \"name\" : \"BRI VA\",\n \"type\" : \"doku_bri_va\"\n }, {\n \"name\" : \"CIMB VA\",\n \"type\" : \"doku_cimb_va\"\n }, {\n \"name\" : \"Danamon VA\",\n \"type\" : \"doku_danamon_va\"\n }, {\n \"name\" : \"Indomaret\",\n \"type\" : \"doku_indomaret\"\n }, {\n \"name\" : \"Mandiri VA\",\n \"type\" : \"doku_mandiri_va\"\n }, {\n \"name\" : \"OVO\",\n \"type\" : \"doku_ovo\"\n }, {\n \"name\" : \"Bank Transfer\",\n \"type\" : \"doku_permata_lite_atm\"\n }, {\n \"name\" : \"DOKU wallet\",\n \"type\" : \"doku_wallet\"\n }, {\n \"name\" : \"Local Polish Payment Methods\",\n \"type\" : \"dotpay\"\n }, {\n \"name\" : \"Dragonpay Prepaid Credits\",\n \"type\" : \"dragonpay_credits\"\n }, {\n \"name\" : \"Online Banking\",\n \"type\" : \"dragonpay_ebanking\"\n }, {\n \"name\" : \"GCash\",\n \"type\" : \"dragonpay_gcash\"\n }, {\n \"name\" : \"Over The Counter Banks\",\n \"type\" : \"dragonpay_otc_banking\"\n }, {\n \"name\" : \"OTC non-Bank via Dragonpay\",\n \"type\" : \"dragonpay_otc_non_banking\"\n }, {\n \"name\" : \"Convenience Stores\",\n \"type\" : \"dragonpay_otc_philippines\"\n }, {\n \"name\" : \"7/11\",\n \"type\" : \"dragonpay_seveneleven\"\n }, {\n \"name\" : \"eagleeye_voucher\",\n \"type\" : \"eagleeye_voucher\"\n }, {\n \"name\" : \"Finnish E-Banking\",\n \"type\" : \"ebanking_FI\"\n }, {\n \"name\" : \"Pay-easy ATM\",\n \"type\" : \"econtext_atm\"\n }, {\n \"name\" : \"Online Banking\",\n \"type\" : \"econtext_online\"\n }, {\n \"name\" : \"7-Eleven\",\n \"type\" : \"econtext_seven_eleven\"\n }, {\n \"name\" : \"Convenience Stores\",\n \"type\" : \"econtext_stores\"\n }, {\n \"name\" : \"eft_directdebit_CA\",\n \"type\" : \"eft_directdebit_CA\"\n }, {\n \"name\" : \"Lastschrift (ELV)\",\n \"type\" : \"elv\"\n }, {\n \"name\" : \"Bank Payment\",\n \"type\" : \"entercash\"\n }, {\n \"name\" : \"Nationale Entertainment Card\",\n \"type\" : \"entertainmentcard\"\n }, {\n \"name\" : \"EPS\",\n \"type\" : \"eps\"\n }, {\n \"name\" : \"Expert Cadeaukaart\",\n \"type\" : \"expertgiftcard\"\n }, {\n \"name\" : \"3x Oney\",\n \"type\" : \"facilypay_3x\"\n }, {\n \"name\" : \"4x Oney\",\n \"type\" : \"facilypay_4x\"\n }, {\n \"name\" : \"Fashioncheque\",\n \"type\" : \"fashioncheque\"\n }, {\n \"name\" : \"Fawry\",\n \"type\" : \"fawry\"\n }, {\n \"name\" : \"FijnCadeau\",\n \"type\" : \"fijncadeau\"\n }, {\n \"name\" : \"Fleurop Bloemenbon\",\n \"type\" : \"fleuropbloemenbon\"\n }, {\n \"name\" : \"Fonq Giftcard\",\n \"type\" : \"fonqgiftcard\"\n }, {\n \"name\" : \"Gall & Gall\",\n \"type\" : \"gallgall\"\n }, {\n \"name\" : \"GCash\",\n \"type\" : \"gcash\"\n }, {\n \"name\" : \"Generic GiftCard\",\n \"type\" : \"genericgiftcard\"\n }, {\n \"name\" : \"GiftFor2\",\n \"type\" : \"giftfor2card\"\n }, {\n \"name\" : \"Givex\",\n \"type\" : \"givex\"\n }, {\n \"name\" : \"Globe GCash\",\n \"type\" : \"globegcash\"\n }, {\n \"name\" : \"Goldsmiths Card\",\n \"type\" : \"goldsmithscard\"\n }, {\n \"name\" : \"GoPay Wallet\",\n \"type\" : \"gopay_wallet\"\n }, {\n \"name\" : \"OVO\",\n \"type\" : \"grabpay_ID\"\n }, {\n \"name\" : \"GrabPay\",\n \"type\" : \"grabpay_PH\"\n }, {\n \"name\" : \"GrabPay\",\n \"type\" : \"grabpay_SG\"\n }, {\n \"name\" : \"Hallmark Card\",\n \"type\" : \"hallmarkcard\"\n }, {\n \"name\" : \"HDFC\",\n \"type\" : \"hdfc\"\n }, {\n \"name\" : \"Hunkemoller Member Card\",\n \"type\" : \"hmclub\"\n }, {\n \"name\" : \"Hunkemoller Lingerie Card\",\n \"type\" : \"hmlingerie\"\n }, {\n \"name\" : \"iDEAL\",\n \"type\" : \"ideal\"\n }, {\n \"name\" : \"igive\",\n \"type\" : \"igive\"\n }, {\n \"name\" : \"Korean Account Transfer (IniPay)\",\n \"type\" : \"inicisIniPay_accounttransfer\"\n }, {\n \"name\" : \"Korean Credit Cards (IniPay)\",\n \"type\" : \"inicisIniPay_creditcard\"\n }, {\n \"name\" : \"Korean Mobile Phone (IniPay)\",\n \"type\" : \"inicisIniPay_mobilephone\"\n }, {\n \"name\" : \"Korean Virtual Account (IniPay)\",\n \"type\" : \"inicisIniPay_virtualaccount\"\n }, {\n \"name\" : \"Korean Account Transfer (Mobile)\",\n \"type\" : \"inicisMobile_accounttransfer\"\n }, {\n \"name\" : \"Korean Credit Cards (Mobile)\",\n \"type\" : \"inicisMobile_creditcard\"\n }, {\n \"name\" : \"Korean Mobile Phone (Mobile)\",\n \"type\" : \"inicisMobile_mobilephone\"\n }, {\n \"name\" : \"Korean Virtual Account (Mobile)\",\n \"type\" : \"inicisMobile_virtualaccount\"\n }, {\n \"name\" : \"Korean Credit Cards\",\n \"type\" : \"inicis_creditcard\"\n }, {\n \"name\" : \"Interac® Online\",\n \"type\" : \"interac\"\n }, {\n \"name\" : \"Instant EFT\",\n \"type\" : \"ipay\"\n }, {\n \"name\" : \"iPay88\",\n \"type\" : \"ipay88\"\n }, {\n \"name\" : \"isracard\",\n \"type\" : \"isracard\"\n }, {\n \"name\" : \"Phone Payment\",\n \"type\" : \"ivr\"\n }, {\n \"name\" : \"Landline phone\",\n \"type\" : \"ivrLandline\"\n }, {\n \"name\" : \"Mobile phone\",\n \"type\" : \"ivrMobile\"\n }, {\n \"name\" : \"Kado Wereld\",\n \"type\" : \"kadowereld\"\n }, {\n \"name\" : \"KakaoPay\",\n \"type\" : \"kakaopay\"\n }, {\n \"name\" : \"Karen Millen Card\",\n \"type\" : \"karenmillen\"\n }, {\n \"name\" : \"Karen Millen GiftCard\",\n \"type\" : \"karenmillengiftcard\"\n }, {\n \"name\" : \"Bank Transfer\",\n \"type\" : \"kcp_banktransfer\"\n }, {\n \"name\" : \"Korea–issued cards\",\n \"type\" : \"kcp_creditcard\"\n }, {\n \"name\" : \"PayCo\",\n \"type\" : \"kcp_payco\"\n }, {\n \"name\" : \"Naver Pay\",\n \"type\" : \"kcp_naverpay\"\n }, {\n \"name\" : \"Virtual Account via KCP\",\n \"type\" : \"kcp_va\"\n }, {\n \"name\" : \"Pay later with Klarna.\",\n \"type\" : \"klarna\"\n }, {\n \"name\" : \"Pay over time with Klarna.\",\n \"type\" : \"klarna_account\"\n }, {\n \"name\" : \"Buy Now, Pay Later with Billie\",\n \"type\" : \"klarna_b2b\"\n }, {\n \"name\" : \"Pay now with Klarna.\",\n \"type\" : \"klarna_paynow\"\n }, {\n \"name\" : \"Leisure Card\",\n \"type\" : \"leisurecard\"\n }, {\n \"name\" : \"China Credit Card\",\n \"type\" : \"lianlianpay_creditcard\"\n }, {\n \"name\" : \"China Debit Card\",\n \"type\" : \"lianlianpay_debitcard\"\n }, {\n \"name\" : \"China Online Banking - Credit Card\",\n \"type\" : \"lianlianpay_ebanking_credit\"\n }, {\n \"name\" : \"China Online Banking - Debit Card\",\n \"type\" : \"lianlianpay_ebanking_debit\"\n }, {\n \"name\" : \"China Online Banking - Enterprise\",\n \"type\" : \"lianlianpay_ebanking_enterprise\"\n }, {\n \"name\" : \"Loods5 Cadeaukaart\",\n \"type\" : \"loods5giftcard\"\n }, {\n \"name\" : \"Loods5 Tegoedbon\",\n \"type\" : \"loods5prepaidcard\"\n }, {\n \"name\" : \"Love2Shop GiftCard\",\n \"type\" : \"love2shop\"\n }, {\n \"name\" : \"mada\",\n \"type\" : \"mada\"\n }, {\n \"name\" : \"Mappin & Webb Card\",\n \"type\" : \"mappinwebbcard\"\n }, {\n \"name\" : \"MB WAY\",\n \"type\" : \"mbway\"\n }, {\n \"name\" : \"Amazon Pay\",\n \"type\" : \"amazonpay\"\n }, {\n \"name\" : \"Mercado Pago\",\n \"type\" : \"mercadopago\"\n }, {\n \"name\" : \"MobilePay\",\n \"type\" : \"mobilepay\"\n }, {\n \"name\" : \"AliPay via Razer Merchant Services\",\n \"type\" : \"molpay_alipay\"\n }, {\n \"name\" : \"7-Eleven\",\n \"type\" : \"molpay_cash\"\n }, {\n \"name\" : \"CIMB Virtual Account\",\n \"type\" : \"molpay_cimb_va\"\n }, {\n \"name\" : \"Malaysia E-Banking via Razer Merchant Services\",\n \"type\" : \"molpay_ebanking_MY\"\n }, {\n \"name\" : \"Vietnam E-Banking\",\n \"type\" : \"molpay_ebanking_VN\"\n }, {\n \"name\" : \"Malaysia E-Banking\",\n \"type\" : \"molpay_ebanking_fpx_MY\"\n }, {\n \"name\" : \"eNETS Debit\",\n \"type\" : \"molpay_enetsd\"\n }, {\n \"name\" : \"epay\",\n \"type\" : \"molpay_epay\"\n }, {\n \"name\" : \"Esapay\",\n \"type\" : \"molpay_esapay\"\n }, {\n \"name\" : \"MyClear FPX\",\n \"type\" : \"molpay_fpx\"\n }, {\n \"name\" : \"Maybank2u\",\n \"type\" : \"molpay_maybank2u\"\n }, {\n \"name\" : \"Nganluong\",\n \"type\" : \"molpay_nganluong\"\n }, {\n \"name\" : \"Convenience Stores Thailand\",\n \"type\" : \"molpay_paysbuy\"\n }, {\n \"name\" : \"MOLPoints\",\n \"type\" : \"molpay_points\"\n }, {\n \"name\" : \"RHB Now\",\n \"type\" : \"molpay_rhb\"\n }, {\n \"name\" : \"SAM by SingPost\",\n \"type\" : \"molpay_singpost\"\n }, {\n \"name\" : \"MOLWallet\",\n \"type\" : \"molpay_wallet\"\n }, {\n \"name\" : \"MoMo ATM\",\n \"type\" : \"momo_atm\"\n }, {\n \"name\" : \"Momo Wallet\",\n \"type\" : \"momo_wallet\"\n }, {\n \"name\" : \"Moneybookers\",\n \"type\" : \"moneybookers\"\n }, {\n \"name\" : \"Multibanco\",\n \"type\" : \"multibanco\"\n }, {\n \"name\" : \"De Nationale Musicalcard\",\n \"type\" : \"musicalcard\"\n }, {\n \"name\" : \"Nationale Bioscoopbon\",\n \"type\" : \"nationalebioscoopbon\"\n }, {\n \"name\" : \"Nationale Tuinbon\",\n \"type\" : \"nationaletuinbon\"\n }, {\n \"name\" : \"Nationale Verwen Cadeaubon\",\n \"type\" : \"nationaleverwencadeaubon\"\n }, {\n \"name\" : \"BankAxess\",\n \"type\" : \"netaxept_bankaxess\"\n }, {\n \"name\" : \"NETELLER\",\n \"type\" : \"neteller\"\n }, {\n \"name\" : \"Onebip\",\n \"type\" : \"onebip\"\n }, {\n \"name\" : \"One Two Three\",\n \"type\" : \"onetwothree\"\n }, {\n \"name\" : \"Online Banking PL\",\n \"type\" : \"onlineBanking_PL\"\n }, {\n \"name\" : \"Online banking\",\n \"type\" : \"openbanking_UK\"\n }, {\n \"name\" : \"Oxxo\",\n \"type\" : \"oxxo\"\n }, {\n \"name\" : \"Pathe Giftcard\",\n \"type\" : \"pathegiftcard\"\n }, {\n \"name\" : \"PayBright\",\n \"type\" : \"paybright\"\n }, {\n \"name\" : \"Maya Wallet\",\n \"type\" : \"paymaya_wallet\"\n }, {\n \"name\" : \"PayPal\",\n \"type\" : \"paypal\"\n }, {\n \"name\" : \"Paysafecard\",\n \"type\" : \"paysafecard\"\n }, {\n \"name\" : \"Payshop\",\n \"type\" : \"payshop\"\n }, {\n \"name\" : \"PayD AMT via Paythru\",\n \"type\" : \"paythru_amt\"\n }, {\n \"name\" : \"EFT via Paythru\",\n \"type\" : \"paythru_eft\"\n }, {\n \"name\" : \"PayTM\",\n \"type\" : \"paytm\"\n }, {\n \"name\" : \"PayU UPI\",\n \"type\" : \"payu_IN_upi\"\n }, {\n \"name\" : \"EFT Pro via PayU\",\n \"type\" : \"payu_ZA_eftpro\"\n }, {\n \"name\" : \"Google Pay\",\n \"type\" : \"paywithgoogle\"\n }, {\n \"name\" : \"pix\",\n \"type\" : \"pix\"\n }, {\n \"name\" : \"Plastix\",\n \"type\" : \"plastix\"\n }, {\n \"name\" : \"Pluim\",\n \"type\" : \"pluimgiftcard\"\n }, {\n \"name\" : \"Podium Card\",\n \"type\" : \"podiumcard\"\n }, {\n \"name\" : \"POLi\",\n \"type\" : \"poli\"\n }, {\n \"name\" : \"PPS\",\n \"type\" : \"pps\"\n }, {\n \"name\" : \"Primera Cadeaukaart\",\n \"type\" : \"primeracadeaucard\"\n }, {\n \"name\" : \"Illicado Gift Card\",\n \"type\" : \"prosodie_illicado\"\n }, {\n \"name\" : \"PSE\",\n \"type\" : \"pse\"\n }, {\n \"name\" : \"Qiwi Wallet\",\n \"type\" : \"qiwiwallet\"\n }, {\n \"name\" : \"RatePay Invoice\",\n \"type\" : \"ratepay\"\n }, {\n \"name\" : \"RatePay Direct Debit\",\n \"type\" : \"ratepay_directdebit\"\n }, {\n \"name\" : \"Rituals Giftcard\",\n \"type\" : \"rituals\"\n }, {\n \"name\" : \"Rob Peetoom Giftcard\",\n \"type\" : \"robpeetoomgiftcard\"\n }, {\n \"name\" : \"SafetyPay\",\n \"type\" : \"safetypay\"\n }, {\n \"name\" : \"SafetyPay Cash\",\n \"type\" : \"safetypay_cash\"\n }, {\n \"name\" : \"Shoes&Accessories Cadeau\",\n \"type\" : \"sagiftcard\"\n }, {\n \"name\" : \"Score Giftcard\",\n \"type\" : \"scoregiftcard\"\n }, {\n \"name\" : \"SEB Direktbetalning\",\n \"type\" : \"sebdirectpayment\"\n }, {\n \"name\" : \"SEPA Direct Debit\",\n \"type\" : \"sepadirectdebit\"\n }, {\n \"name\" : \"7-Eleven\",\n \"type\" : \"seveneleven\"\n }, {\n \"name\" : \"Premium SMS\",\n \"type\" : \"sms\"\n }, {\n \"name\" : \"SVS\",\n \"type\" : \"svs\"\n }, {\n \"name\" : \"Swish\",\n \"type\" : \"swish\"\n }, {\n \"name\" : \"TCS Test GiftCard\",\n \"type\" : \"tcstestgiftcard\"\n }, {\n \"name\" : \"TenPay\",\n \"type\" : \"tenpay\"\n }, {\n \"name\" : \"The Sting Giftcard\",\n \"type\" : \"thestinggiftcard\"\n }, {\n \"name\" : \"TrueMoney\",\n \"type\" : \"truemoney\"\n }, {\n \"name\" : \"Trustly\",\n \"type\" : \"trustly\"\n }, {\n \"name\" : \"Online Banking by Trustpay\",\n \"type\" : \"trustpay\"\n }, {\n \"name\" : \"TWINT\",\n \"type\" : \"twint\"\n }, {\n \"name\" : \"Ukash\",\n \"type\" : \"ukash\"\n }, {\n \"name\" : \"UnionPay\",\n \"type\" : \"unionpay\"\n }, {\n \"name\" : \"UPI Collect\",\n \"type\" : \"upi_collect\"\n }, {\n \"name\" : \"Valuelink\",\n \"type\" : \"valuelink\"\n }, {\n \"name\" : \"V&D Cadeaukaart\",\n \"type\" : \"vdcadeaucard\"\n }, {\n \"name\" : \"Vipps\",\n \"type\" : \"vipps\"\n }, {\n \"name\" : \"Visa Checkout\",\n \"type\" : \"visacheckout\"\n }, {\n \"name\" : \"VVV Cadeaubon\",\n \"type\" : \"vvvcadeaubon\"\n }, {\n \"name\" : \"VVV Giftcard\",\n \"type\" : \"vvvgiftcard\"\n }, {\n \"name\" : \"Webshop Giftcard\",\n \"type\" : \"webshopgiftcard\"\n }, {\n \"name\" : \"WeChat Pay\",\n \"type\" : \"wechatpayMiniProgram\"\n }, {\n \"name\" : \"WeChat Pay\",\n \"type\" : \"wechatpayQR\"\n }, {\n \"name\" : \"WeChat Pay\",\n \"type\" : \"wechatpayWeb\"\n }, {\n \"name\" : \"WE Fashion Giftcard\",\n \"type\" : \"wefashiongiftcard\"\n }, {\n \"name\" : \"Western Union\",\n \"type\" : \"westernunion\"\n }, {\n \"name\" : \"Winkel Cheque\",\n \"type\" : \"winkelcheque\"\n }, {\n \"name\" : \"WOS Card\",\n \"type\" : \"woscard\"\n }, {\n \"name\" : \"Alfa-Click\",\n \"type\" : \"yandex_alfaclick\"\n }, {\n \"name\" : \"Pay using bank card\",\n \"type\" : \"yandex_bank_card\"\n }, {\n \"name\" : \"Cash terminals\",\n \"type\" : \"yandex_cash\"\n }, {\n \"name\" : \"Pay using installments\",\n \"type\" : \"yandex_installments\"\n }, {\n \"name\" : \"YooMoney\",\n \"type\" : \"yandex_money\"\n }, {\n \"name\" : \"Promsvyazbank\",\n \"type\" : \"yandex_promsvyazbank\"\n }, {\n \"name\" : \"SberPay\",\n \"type\" : \"yandex_sberbank\"\n }, {\n \"name\" : \"WebMoney\",\n \"type\" : \"yandex_webmoney\"\n }, {\n \"name\" : \"Your Gift\",\n \"type\" : \"yourgift\"\n }, {\n \"name\" : \"Zip\",\n \"type\" : \"zip\"\n } ]\n}", + "originalRequest": { + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentMethods", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentMethods" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Queries the available payment methods for a transaction based on the transaction context (like amount, country, and currency). Besides giving back a list of the available payment methods, the response also returns which input details you need to collect from the shopper (to be submitted to `/payments`). Although we highly recommend using this endpoint to ensure you are always offering the most up-to-date list of payment methods, its usage is optional. You can, for example, also cache the `/paymentMethods` response and update it once a week." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentMethods", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentMethods" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Queries the available payment methods for a transaction based on the transaction context (like amount, country, and currency). Besides giving back a list of the available payment methods, the response also returns which input details you need to collect from the shopper (to be submitted to `/payments`). Although we highly recommend using this endpoint to ensure you are always offering the most up-to-date list of payment methods, its usage is optional. You can, for example, also cache the `/paymentMethods` response and update it once a week." - } + ] }, { "name": "Get payment methods based on the country and amount", "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 + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl-NL\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentMethods", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentMethods" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Queries the available payment methods for a transaction based on the transaction context (like amount, country, and currency). Besides giving back a list of the available payment methods, the response also returns which input details you need to collect from the shopper (to be submitted to `/payments`). Although we highly recommend using this endpoint to ensure you are always offering the most up-to-date list of payment methods, its usage is optional. You can, for example, also cache the `/paymentMethods` response and update it once a week." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"paymentMethods\" : [ {\n \"name\" : \"iDEAL\",\n \"type\" : \"ideal\"\n }, {\n \"name\" : \"Hitelkártya\",\n \"type\" : \"scheme\"\n }, {\n \"name\" : \"PayPal\",\n \"type\" : \"paypal\"\n }, {\n \"name\" : \"AfterPay Invoice\",\n \"type\" : \"afterpay_default\"\n }, {\n \"name\" : \"Pay later with Klarna.\",\n \"type\" : \"klarna\"\n }, {\n \"name\" : \"SEPA Direct Debit\",\n \"type\" : \"sepadirectdebit\"\n }, {\n \"name\" : \"Paysafecard\",\n \"type\" : \"paysafecard\"\n }, {\n \"name\" : \"Bijenkorf Cadeaucard\",\n \"type\" : \"bijcadeaucard\"\n }, {\n \"name\" : \"Fonq Giftcard\",\n \"type\" : \"fonqgiftcard\"\n }, {\n \"name\" : \"Bank Transfer (NL)\",\n \"type\" : \"bankTransfer_NL\"\n }, {\n \"name\" : \"Pathe Giftcard\",\n \"type\" : \"pathegiftcard\"\n }, {\n \"name\" : \"VVV Giftcard\",\n \"type\" : \"vvvgiftcard\"\n }, {\n \"name\" : \"Podium Card\",\n \"type\" : \"podiumcard\"\n }, {\n \"name\" : \"RatePay Direct Debit\",\n \"type\" : \"ratepay_directdebit\"\n }, {\n \"name\" : \"Rituals Giftcard\",\n \"type\" : \"rituals\"\n }, {\n \"name\" : \"Hunkemoller Lingerie Card\",\n \"type\" : \"hmlingerie\"\n }, {\n \"name\" : \"Primera Cadeaukaart\",\n \"type\" : \"primeracadeaucard\"\n }, {\n \"name\" : \"Fashioncheque\",\n \"type\" : \"fashioncheque\"\n }, {\n \"name\" : \"NETELLER\",\n \"type\" : \"neteller\"\n }, {\n \"name\" : \"Adyen Voucher\",\n \"type\" : \"adyen_test_voucher\"\n }, {\n \"name\" : \"AfterPay B2B\",\n \"type\" : \"afterpay_b2b\"\n }, {\n \"name\" : \"AfterPay DirectDebit\",\n \"type\" : \"afterpay_directdebit\"\n }, {\n \"name\" : \"AliPay\",\n \"type\" : \"alipay\"\n }, {\n \"name\" : \"AliPay\",\n \"type\" : \"alipay_wap\"\n }, {\n \"name\" : \"Android Pay\",\n \"type\" : \"androidpay\"\n }, {\n \"name\" : \"Apple Pay\",\n \"type\" : \"applepay\"\n }, {\n \"name\" : \"Baby Gift Card\",\n \"type\" : \"babygiftcard\"\n }, {\n \"name\" : \"SEPA Bank Transfer\",\n \"type\" : \"bankTransfer_IBAN\"\n }, {\n \"name\" : \"Bloemen Giftcard\",\n \"type\" : \"bloemengiftcard\"\n }, {\n \"name\" : \"Boekenbon Giftcard\",\n \"type\" : \"boekenbon\"\n }, {\n \"name\" : \"Cash-Ticket\",\n \"type\" : \"cashticket\"\n }, {\n \"name\" : \"Chasin Giftcard\",\n \"type\" : \"chasingiftcard\"\n }, {\n \"name\" : \"ClickandBuy\",\n \"type\" : \"clickandbuy\"\n }, {\n \"name\" : \"Costes Giftcard\",\n \"type\" : \"costesgiftcard\"\n }, {\n \"name\" : \"custom_settlement\",\n \"type\" : \"custom_settlement\"\n }, {\n \"name\" : \"eft_directdebit_CA\",\n \"type\" : \"eft_directdebit_CA\"\n }, {\n \"name\" : \"Nationale Entertainment Card\",\n \"type\" : \"entertainmentcard\"\n }, {\n \"name\" : \"Expert Cadeaukaart\",\n \"type\" : \"expertgiftcard\"\n }, {\n \"name\" : \"FijnCadeau\",\n \"type\" : \"fijncadeau\"\n }, {\n \"name\" : \"Fleurop Bloemenbon\",\n \"type\" : \"fleuropbloemenbon\"\n }, {\n \"name\" : \"Gall & Gall\",\n \"type\" : \"gallgall\"\n }, {\n \"name\" : \"Generic GiftCard\",\n \"type\" : \"genericgiftcard\"\n }, {\n \"name\" : \"GiftFor2\",\n \"type\" : \"giftfor2card\"\n }, {\n \"name\" : \"Givex\",\n \"type\" : \"givex\"\n }, {\n \"name\" : \"Goldsmiths Card\",\n \"type\" : \"goldsmithscard\"\n }, {\n \"name\" : \"Hunkemoller Member Card\",\n \"type\" : \"hmclub\"\n }, {\n \"name\" : \"Phone Payment\",\n \"type\" : \"ivr\"\n }, {\n \"name\" : \"Landline phone\",\n \"type\" : \"ivrLandline\"\n }, {\n \"name\" : \"Mobile phone\",\n \"type\" : \"ivrMobile\"\n }, {\n \"name\" : \"Kado Wereld\",\n \"type\" : \"kadowereld\"\n }, {\n \"name\" : \"Karen Millen GiftCard\",\n \"type\" : \"karenmillengiftcard\"\n }, {\n \"name\" : \"Leisure Card\",\n \"type\" : \"leisurecard\"\n }, {\n \"name\" : \"Loods5 Cadeaukaart\",\n \"type\" : \"loods5giftcard\"\n }, {\n \"name\" : \"Loods5 Tegoedbon\",\n \"type\" : \"loods5prepaidcard\"\n }, {\n \"name\" : \"Amazon Pay\",\n \"type\" : \"amazonpay\"\n }, {\n \"name\" : \"MOLPoints\",\n \"type\" : \"molpay_points\"\n }, {\n \"name\" : \"Moneybookers\",\n \"type\" : \"moneybookers\"\n }, {\n \"name\" : \"De Nationale Musicalcard\",\n \"type\" : \"musicalcard\"\n }, {\n \"name\" : \"Nationale Bioscoopbon\",\n \"type\" : \"nationalebioscoopbon\"\n }, {\n \"name\" : \"Nationale Tuinbon\",\n \"type\" : \"nationaletuinbon\"\n }, {\n \"name\" : \"Nationale Verwen Cadeaubon\",\n \"type\" : \"nationaleverwencadeaubon\"\n }, {\n \"name\" : \"Onebip\",\n \"type\" : \"onebip\"\n }, {\n \"name\" : \"Google Pay\",\n \"type\" : \"paywithgoogle\"\n }, {\n \"name\" : \"Plastix\",\n \"type\" : \"plastix\"\n }, {\n \"name\" : \"Pluim\",\n \"type\" : \"pluimgiftcard\"\n }, {\n \"name\" : \"Illicado Gift Card\",\n \"type\" : \"prosodie_illicado\"\n }, {\n \"name\" : \"RatePay Invoice\",\n \"type\" : \"ratepay\"\n }, {\n \"name\" : \"Rob Peetoom Giftcard\",\n \"type\" : \"robpeetoomgiftcard\"\n }, {\n \"name\" : \"Shoes&Accessories Cadeau\",\n \"type\" : \"sagiftcard\"\n }, {\n \"name\" : \"Score Giftcard\",\n \"type\" : \"scoregiftcard\"\n }, {\n \"name\" : \"Premium SMS\",\n \"type\" : \"sms\"\n }, {\n \"name\" : \"SVS\",\n \"type\" : \"svs\"\n }, {\n \"name\" : \"TCS Test GiftCard\",\n \"type\" : \"tcstestgiftcard\"\n }, {\n \"name\" : \"The Sting Giftcard\",\n \"type\" : \"thestinggiftcard\"\n }, {\n \"name\" : \"Ukash\",\n \"type\" : \"ukash\"\n }, {\n \"name\" : \"UnionPay\",\n \"type\" : \"unionpay\"\n }, {\n \"name\" : \"Valuelink\",\n \"type\" : \"valuelink\"\n }, {\n \"name\" : \"V&D Cadeaukaart\",\n \"type\" : \"vdcadeaucard\"\n }, {\n \"name\" : \"Visa Checkout\",\n \"type\" : \"visacheckout\"\n }, {\n \"name\" : \"VVV Cadeaubon\",\n \"type\" : \"vvvcadeaubon\"\n }, {\n \"name\" : \"Webshop Giftcard\",\n \"type\" : \"webshopgiftcard\"\n }, {\n \"name\" : \"WE Fashion Giftcard\",\n \"type\" : \"wefashiongiftcard\"\n }, {\n \"name\" : \"Western Union\",\n \"type\" : \"westernunion\"\n }, {\n \"name\" : \"Winkel Cheque\",\n \"type\" : \"winkelcheque\"\n }, {\n \"name\" : \"Your Gift\",\n \"type\" : \"yourgift\"\n } ]\n}", + "originalRequest": { + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl-NL\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentMethods", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentMethods" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Queries the available payment methods for a transaction based on the transaction context (like amount, country, and currency). Besides giving back a list of the available payment methods, the response also returns which input details you need to collect from the shopper (to be submitted to `/payments`). Although we highly recommend using this endpoint to ensure you are always offering the most up-to-date list of payment methods, its usage is optional. You can, for example, also cache the `/paymentMethods` response and update it once a week." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"countryCode\" : \"NL\",\n \"shopperLocale\" : \"nl-NL\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n }\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentMethods", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentMethods" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Queries the available payment methods for a transaction based on the transaction context (like amount, country, and currency). Besides giving back a list of the available payment methods, the response also returns which input details you need to collect from the shopper (to be submitted to `/payments`). Although we highly recommend using this endpoint to ensure you are always offering the most up-to-date list of payment methods, its usage is optional. You can, for example, also cache the `/paymentMethods` response and update it once a week." - } + ] }, { "name": "Get payment methods including stored card details", "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 + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"countryCode\" : \"NL\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentMethods", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentMethods" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Queries the available payment methods for a transaction based on the transaction context (like amount, country, and currency). Besides giving back a list of the available payment methods, the response also returns which input details you need to collect from the shopper (to be submitted to `/payments`). Although we highly recommend using this endpoint to ensure you are always offering the most up-to-date list of payment methods, its usage is optional. You can, for example, also cache the `/paymentMethods` response and update it once a week." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"paymentMethods\" : [ {\n \"name\" : \"iDEAL\",\n \"type\" : \"ideal\"\n }, {\n \"name\" : \"Cards\",\n \"type\" : \"scheme\"\n }, {\n \"name\" : \"PayPal\",\n \"type\" : \"paypal\"\n }, {\n \"name\" : \"AfterPay Invoice\",\n \"type\" : \"afterpay_default\"\n }, {\n \"name\" : \"Pay later with Klarna.\",\n \"type\" : \"klarna\"\n }, {\n \"name\" : \"SEPA Direct Debit\",\n \"type\" : \"sepadirectdebit\"\n }, {\n \"name\" : \"Paysafecard\",\n \"type\" : \"paysafecard\"\n }, {\n \"name\" : \"Bijenkorf Cadeaucard\",\n \"type\" : \"bijcadeaucard\"\n }, {\n \"name\" : \"Fonq Giftcard\",\n \"type\" : \"fonqgiftcard\"\n }, {\n \"name\" : \"Bank Transfer (NL)\",\n \"type\" : \"bankTransfer_NL\"\n }, {\n \"name\" : \"Pathe Giftcard\",\n \"type\" : \"pathegiftcard\"\n }, {\n \"name\" : \"VVV Giftcard\",\n \"type\" : \"vvvgiftcard\"\n }, {\n \"name\" : \"Podium Card\",\n \"type\" : \"podiumcard\"\n }, {\n \"name\" : \"RatePay Direct Debit\",\n \"type\" : \"ratepay_directdebit\"\n }, {\n \"name\" : \"Rituals Giftcard\",\n \"type\" : \"rituals\"\n }, {\n \"name\" : \"Hunkemoller Lingerie Card\",\n \"type\" : \"hmlingerie\"\n }, {\n \"name\" : \"Primera Cadeaukaart\",\n \"type\" : \"primeracadeaucard\"\n }, {\n \"name\" : \"Fashioncheque\",\n \"type\" : \"fashioncheque\"\n }, {\n \"name\" : \"NETELLER\",\n \"type\" : \"neteller\"\n }, {\n \"name\" : \"Adyen Voucher\",\n \"type\" : \"adyen_test_voucher\"\n }, {\n \"name\" : \"AfterPay B2B\",\n \"type\" : \"afterpay_b2b\"\n }, {\n \"name\" : \"AfterPay DirectDebit\",\n \"type\" : \"afterpay_directdebit\"\n }, {\n \"name\" : \"AliPay\",\n \"type\" : \"alipay\"\n }, {\n \"name\" : \"AliPay\",\n \"type\" : \"alipay_wap\"\n }, {\n \"name\" : \"Android Pay\",\n \"type\" : \"androidpay\"\n }, {\n \"name\" : \"Apple Pay\",\n \"type\" : \"applepay\"\n }, {\n \"name\" : \"Baby Gift Card\",\n \"type\" : \"babygiftcard\"\n }, {\n \"name\" : \"SEPA Bank Transfer\",\n \"type\" : \"bankTransfer_IBAN\"\n }, {\n \"name\" : \"Bloemen Giftcard\",\n \"type\" : \"bloemengiftcard\"\n }, {\n \"name\" : \"Boekenbon Giftcard\",\n \"type\" : \"boekenbon\"\n }, {\n \"name\" : \"Cash-Ticket\",\n \"type\" : \"cashticket\"\n }, {\n \"name\" : \"Chasin Giftcard\",\n \"type\" : \"chasingiftcard\"\n }, {\n \"name\" : \"ClickandBuy\",\n \"type\" : \"clickandbuy\"\n }, {\n \"name\" : \"Costes Giftcard\",\n \"type\" : \"costesgiftcard\"\n }, {\n \"name\" : \"custom_settlement\",\n \"type\" : \"custom_settlement\"\n }, {\n \"name\" : \"eft_directdebit_CA\",\n \"type\" : \"eft_directdebit_CA\"\n }, {\n \"name\" : \"Nationale Entertainment Card\",\n \"type\" : \"entertainmentcard\"\n }, {\n \"name\" : \"Expert Cadeaukaart\",\n \"type\" : \"expertgiftcard\"\n }, {\n \"name\" : \"FijnCadeau\",\n \"type\" : \"fijncadeau\"\n }, {\n \"name\" : \"Fleurop Bloemenbon\",\n \"type\" : \"fleuropbloemenbon\"\n }, {\n \"name\" : \"Gall & Gall\",\n \"type\" : \"gallgall\"\n }, {\n \"name\" : \"Generic GiftCard\",\n \"type\" : \"genericgiftcard\"\n }, {\n \"name\" : \"GiftFor2\",\n \"type\" : \"giftfor2card\"\n }, {\n \"name\" : \"Givex\",\n \"type\" : \"givex\"\n }, {\n \"name\" : \"Goldsmiths Card\",\n \"type\" : \"goldsmithscard\"\n }, {\n \"name\" : \"Hunkemoller Member Card\",\n \"type\" : \"hmclub\"\n }, {\n \"name\" : \"Phone Payment\",\n \"type\" : \"ivr\"\n }, {\n \"name\" : \"Landline phone\",\n \"type\" : \"ivrLandline\"\n }, {\n \"name\" : \"Mobile phone\",\n \"type\" : \"ivrMobile\"\n }, {\n \"name\" : \"Kado Wereld\",\n \"type\" : \"kadowereld\"\n }, {\n \"name\" : \"Karen Millen GiftCard\",\n \"type\" : \"karenmillengiftcard\"\n }, {\n \"name\" : \"Leisure Card\",\n \"type\" : \"leisurecard\"\n }, {\n \"name\" : \"Loods5 Cadeaukaart\",\n \"type\" : \"loods5giftcard\"\n }, {\n \"name\" : \"Loods5 Tegoedbon\",\n \"type\" : \"loods5prepaidcard\"\n }, {\n \"name\" : \"Amazon Pay\",\n \"type\" : \"amazonpay\"\n }, {\n \"name\" : \"MOLPoints\",\n \"type\" : \"molpay_points\"\n }, {\n \"name\" : \"Moneybookers\",\n \"type\" : \"moneybookers\"\n }, {\n \"name\" : \"De Nationale Musicalcard\",\n \"type\" : \"musicalcard\"\n }, {\n \"name\" : \"Nationale Bioscoopbon\",\n \"type\" : \"nationalebioscoopbon\"\n }, {\n \"name\" : \"Nationale Tuinbon\",\n \"type\" : \"nationaletuinbon\"\n }, {\n \"name\" : \"Nationale Verwen Cadeaubon\",\n \"type\" : \"nationaleverwencadeaubon\"\n }, {\n \"name\" : \"Onebip\",\n \"type\" : \"onebip\"\n }, {\n \"name\" : \"Google Pay\",\n \"type\" : \"paywithgoogle\"\n }, {\n \"name\" : \"Plastix\",\n \"type\" : \"plastix\"\n }, {\n \"name\" : \"Pluim\",\n \"type\" : \"pluimgiftcard\"\n }, {\n \"name\" : \"Illicado Gift Card\",\n \"type\" : \"prosodie_illicado\"\n }, {\n \"name\" : \"RatePay Invoice\",\n \"type\" : \"ratepay\"\n }, {\n \"name\" : \"Rob Peetoom Giftcard\",\n \"type\" : \"robpeetoomgiftcard\"\n }, {\n \"name\" : \"Shoes&Accessories Cadeau\",\n \"type\" : \"sagiftcard\"\n }, {\n \"name\" : \"Score Giftcard\",\n \"type\" : \"scoregiftcard\"\n }, {\n \"name\" : \"Premium SMS\",\n \"type\" : \"sms\"\n }, {\n \"name\" : \"SVS\",\n \"type\" : \"svs\"\n }, {\n \"name\" : \"TCS Test GiftCard\",\n \"type\" : \"tcstestgiftcard\"\n }, {\n \"name\" : \"The Sting Giftcard\",\n \"type\" : \"thestinggiftcard\"\n }, {\n \"name\" : \"Ukash\",\n \"type\" : \"ukash\"\n }, {\n \"name\" : \"UnionPay\",\n \"type\" : \"unionpay\"\n }, {\n \"name\" : \"Valuelink\",\n \"type\" : \"valuelink\"\n }, {\n \"name\" : \"V&D Cadeaukaart\",\n \"type\" : \"vdcadeaucard\"\n }, {\n \"name\" : \"Visa Checkout\",\n \"type\" : \"visacheckout\"\n }, {\n \"name\" : \"VVV Cadeaubon\",\n \"type\" : \"vvvcadeaubon\"\n }, {\n \"name\" : \"Webshop Giftcard\",\n \"type\" : \"webshopgiftcard\"\n }, {\n \"name\" : \"WE Fashion Giftcard\",\n \"type\" : \"wefashiongiftcard\"\n }, {\n \"name\" : \"Western Union\",\n \"type\" : \"westernunion\"\n }, {\n \"name\" : \"Winkel Cheque\",\n \"type\" : \"winkelcheque\"\n }, {\n \"name\" : \"Your Gift\",\n \"type\" : \"yourgift\"\n } ],\n \"storedPaymentMethods\" : [ {\n \"brand\" : \"visa\",\n \"expiryMonth\" : \"10\",\n \"expiryYear\" : \"30\",\n \"holderName\" : \"John Smith\",\n \"id\" : \"7219687191761347\",\n \"issuerName\" : \"ISSUER_NAME\",\n \"lastFour\" : \"1111\",\n \"name\" : \"VISA\",\n \"shopperEmail\" : \"john.smith@example.com\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"supportedRecurringProcessingModels\" : [ \"CardOnFile\", \"Subscription\", \"UnscheduledCardOnFile\" ],\n \"type\" : \"scheme\"\n } ]\n}", + "originalRequest": { + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"countryCode\" : \"NL\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentMethods", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentMethods" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Queries the available payment methods for a transaction based on the transaction context (like amount, country, and currency). Besides giving back a list of the available payment methods, the response also returns which input details you need to collect from the shopper (to be submitted to `/payments`). Although we highly recommend using this endpoint to ensure you are always offering the most up-to-date list of payment methods, its usage is optional. You can, for example, also cache the `/paymentMethods` response and update it once a week." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"countryCode\" : \"NL\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentMethods", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentMethods" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Queries the available payment methods for a transaction based on the transaction context (like amount, country, and currency). Besides giving back a list of the available payment methods, the response also returns which input details you need to collect from the shopper (to be submitted to `/payments`). Although we highly recommend using this endpoint to ensure you are always offering the most up-to-date list of payment methods, its usage is optional. You can, for example, also cache the `/paymentMethods` response and update it once a week." - } + ] } ] - } -, + }, { "name": "/payments", "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. ", @@ -1538,692 +2811,1061 @@ { "name": "Make an Apple Pay payment", "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"applepay\",\n \"applePayToken\" : \"VNRWtuNlNEWkRCSm1xWndjMDFFbktkQU...\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"applepay\",\n \"applePayToken\" : \"VNRWtuNlNEWkRCSm1xWndjMDFFbktkQU...\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + ] }, { "name": "Make a card payment with 3D Secure 2 native authentication", "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"reference\" : \"{{$guid}}\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"encryptedCardNumber\" : \"test_4035501428146300\",\n \"encryptedExpiryMonth\" : \"test_03\",\n \"encryptedExpiryYear\" : \"test_2030\",\n \"encryptedSecurityCode\" : \"test_737\",\n \"holderName\" : \"John Smith\"\n },\n \"authenticationData\" : {\n \"threeDSRequestData\" : {\n \"nativeThreeDS\" : \"preferred\"\n }\n },\n \"billingAddress\" : {\n \"country\" : \"US\",\n \"city\" : \"New York\",\n \"street\" : \"Redwood Block\",\n \"houseNumberOrName\" : \"37C\",\n \"stateOrProvince\" : \"NY\",\n \"postalCode\" : \"10039\"\n },\n \"shopperEmail\" : \"s.hopper@test.com\",\n \"shopperIP\" : \"192.0.2.1\",\n \"browserInfo\" : {\n \"userAgent\" : \"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.110 Safari/537.36\",\n \"acceptHeader\" : \"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8\",\n \"language\" : \"nl-NL\",\n \"colorDepth\" : 24,\n \"screenHeight\" : 723,\n \"screenWidth\" : 1536,\n \"timeZoneOffset\" : 0,\n \"javaEnabled\" : true\n },\n \"channel\" : \"Web\",\n \"origin\" : \"https://your-company.com\",\n \"returnUrl\" : \"https://your-company.com/checkout/\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"reference\" : \"{{$guid}}\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"encryptedCardNumber\" : \"test_4035501428146300\",\n \"encryptedExpiryMonth\" : \"test_03\",\n \"encryptedExpiryYear\" : \"test_2030\",\n \"encryptedSecurityCode\" : \"test_737\",\n \"holderName\" : \"John Smith\"\n },\n \"authenticationData\" : {\n \"threeDSRequestData\" : {\n \"nativeThreeDS\" : \"preferred\"\n }\n },\n \"billingAddress\" : {\n \"country\" : \"US\",\n \"city\" : \"New York\",\n \"street\" : \"Redwood Block\",\n \"houseNumberOrName\" : \"37C\",\n \"stateOrProvince\" : \"NY\",\n \"postalCode\" : \"10039\"\n },\n \"shopperEmail\" : \"s.hopper@test.com\",\n \"shopperIP\" : \"192.0.2.1\",\n \"browserInfo\" : {\n \"userAgent\" : \"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.110 Safari/537.36\",\n \"acceptHeader\" : \"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8\",\n \"language\" : \"nl-NL\",\n \"colorDepth\" : 24,\n \"screenHeight\" : 723,\n \"screenWidth\" : 1536,\n \"timeZoneOffset\" : 0,\n \"javaEnabled\" : true\n },\n \"channel\" : \"Web\",\n \"origin\" : \"https://your-company.com\",\n \"returnUrl\" : \"https://your-company.com/checkout/\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + ] }, { "name": "Make a card payment with 3D Secure redirect authentication", "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4212345678901237\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\",\n \"cvc\" : \"737\"\n },\n \"browserInfo\" : {\n \"userAgent\" : \"Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9) Gecko/2008052912 Firefox/3.0\",\n \"acceptHeader\" : \"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8\",\n \"javaEnabled\" : true,\n \"colorDepth\" : 10,\n \"screenHeight\" : 2000,\n \"screenWidth\" : 3000,\n \"timeZoneOffset\" : 5,\n \"language\" : \"en\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4212345678901237\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\",\n \"cvc\" : \"737\"\n },\n \"browserInfo\" : {\n \"userAgent\" : \"Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9) Gecko/2008052912 Firefox/3.0\",\n \"acceptHeader\" : \"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8\",\n \"javaEnabled\" : true,\n \"colorDepth\" : 10,\n \"screenHeight\" : 2000,\n \"screenWidth\" : 3000,\n \"timeZoneOffset\" : 5,\n \"language\" : \"en\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + ] }, { "name": "Make a card payment with unencrypted card details", "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 + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4111111111111111\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\",\n \"cvc\" : \"737\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"additionalData\" : {\n \"cvcResult\" : \"1 Matches\",\n \"authCode\" : \"044925\",\n \"avsResult\" : \"4 AVS not supported for this card type\",\n \"avsResultRaw\" : \"4\",\n \"cvcResultRaw\" : \"M\",\n \"refusalReasonRaw\" : \"AUTHORISED\",\n \"acquirerCode\" : \"TestPmmAcquirer\",\n \"acquirerReference\" : \"8PQMP9VEP3H\"\n },\n \"pspReference\" : \"993617895204576J\",\n \"resultCode\" : \"Authorised\",\n \"merchantReference\" : \"string\"\n}", + "originalRequest": { + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4111111111111111\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\",\n \"cvc\" : \"737\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"number\" : \"4111111111111111\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\",\n \"cvc\" : \"737\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + ] }, { "name": "Make a card payment", "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 + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"encryptedCardNumber\" : \"test_4111111111111111\",\n \"encryptedExpiryMonth\" : \"test_03\",\n \"encryptedExpiryYear\" : \"test_2030\",\n \"encryptedSecurityCode\" : \"test_737\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"additionalData\" : {\n \"cvcResult\" : \"1 Matches\",\n \"authCode\" : \"065696\",\n \"avsResult\" : \"4 AVS not supported for this card type\",\n \"avsResultRaw\" : \"4\",\n \"cvcResultRaw\" : \"M\",\n \"refusalReasonRaw\" : \"AUTHORISED\",\n \"acquirerCode\" : \"TestPmmAcquirer\",\n \"acquirerReference\" : \"8PQMP9VIE9N\"\n },\n \"pspReference\" : \"993617895215577D\",\n \"resultCode\" : \"Authorised\",\n \"merchantReference\" : \"string\"\n}", + "originalRequest": { + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"encryptedCardNumber\" : \"test_4111111111111111\",\n \"encryptedExpiryMonth\" : \"test_03\",\n \"encryptedExpiryYear\" : \"test_2030\",\n \"encryptedSecurityCode\" : \"test_737\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"encryptedCardNumber\" : \"test_4111111111111111\",\n \"encryptedExpiryMonth\" : \"test_03\",\n \"encryptedExpiryYear\" : \"test_2030\",\n \"encryptedSecurityCode\" : \"test_737\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + ] }, { "name": "Tokenize card details for one-off payments", "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 + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"encryptedCardNumber\" : \"test_4111111111111111\",\n \"encryptedExpiryMonth\" : \"test_03\",\n \"encryptedExpiryYear\" : \"test_2030\",\n \"encryptedSecurityCode\" : \"test_737\"\n },\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"storePaymentMethod\" : true,\n \"shopperInteraction\" : \"Ecommerce\",\n \"recurringProcessingModel\" : \"CardOnFile\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"additionalData\" : {\n \"cvcResult\" : \"1 Matches\",\n \"authCode\" : \"082338\",\n \"avsResult\" : \"4 AVS not supported for this card type\",\n \"recurring.recurringDetailReference\" : \"9916178934434753\",\n \"recurringProcessingModel\" : \"CardOnFile\",\n \"avsResultRaw\" : \"4\",\n \"cvcResultRaw\" : \"M\",\n \"refusalReasonRaw\" : \"AUTHORISED\",\n \"recurring.shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID_IOfW3k9G2PvXFu2j\",\n \"acquirerCode\" : \"TestPmmAcquirer\",\n \"acquirerReference\" : \"8PQMP9VC172\"\n },\n \"pspReference\" : \"993617895195570C\",\n \"resultCode\" : \"Authorised\",\n \"merchantReference\" : \"string\"\n}", + "originalRequest": { + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"encryptedCardNumber\" : \"test_4111111111111111\",\n \"encryptedExpiryMonth\" : \"test_03\",\n \"encryptedExpiryYear\" : \"test_2030\",\n \"encryptedSecurityCode\" : \"test_737\"\n },\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"storePaymentMethod\" : true,\n \"shopperInteraction\" : \"Ecommerce\",\n \"recurringProcessingModel\" : \"CardOnFile\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"encryptedCardNumber\" : \"test_4111111111111111\",\n \"encryptedExpiryMonth\" : \"test_03\",\n \"encryptedExpiryYear\" : \"test_2030\",\n \"encryptedSecurityCode\" : \"test_737\"\n },\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"storePaymentMethod\" : true,\n \"shopperInteraction\" : \"Ecommerce\",\n \"recurringProcessingModel\" : \"CardOnFile\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + ] }, { "name": "Make a Google Pay payment", "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"paywithgoogle\",\n \"googlePayToken\" : \"==Payload as retrieved from Google Pay response==\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"YourMerchantAccount\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"paywithgoogle\",\n \"googlePayToken\" : \"==Payload as retrieved from Google Pay response==\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"YourMerchantAccount\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + ] }, { "name": "Make an iDEAL payment", "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 + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"ideal\",\n \"issuer\" : \"1121\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"resultCode\" : \"RedirectShopper\",\n \"action\" : {\n \"paymentMethodType\" : \"ideal\",\n \"url\" : \"https://test.adyen.com/hpp/checkout.shtml?u=redirectIdeal&p=eJxtUl1zmzAQ-DXwZgaB*XrQg0Nwg2s3DTVtJy8ZRbqAYlsikmCMf30FddNMpzOak2bvZm-3Ts*KCJZLBpgzIEeX9kqBoOMMFXXlcq17UCXDCAXIPYGiLRFmRanshcF70GZ3xd6TpTDQKGK4FJ4ZO8D5XZF-vq-3T5*KL0VV5v*tHEBpe*Pob5cKXmBSA1gbxUXzIWF6JW6JITjLUIySNItQliVxsH6v*cYbnNSHZsMfcydYr8SrE9yY7HRjavMAlyyIjhuK*tzszj9ew-uHrN854a3bkfEE1uBp9od833cV6Lra4taYzglXlsueo6Tk2EptLJL6qW8h2gI9yN7oVnYdKItoUAOnoO3z62-aUlB5sk4qYFwBNTYzoD9015odmFYyJ1z-M2yr7uO4nSBW8xisNpua1NlG0SQwmiTaMMpeLWzDjojRs-cMep7natDTrL*TI2fcjDjwA7Twlws-3aPYOkKZDVH26F69THtShE57woUlmpSBqw9czP*k65*9IfCuq0jiJElQGi69Szn8DPebmKXDWATt6vxEWduea7*sLy-Lt*1bcbctGhgZk78A5S7dyQ\",\n \"method\" : \"GET\",\n \"type\" : \"redirect\"\n },\n \"paymentData\" : \"Ab02b4c0!BQABAgCINC3kOq5nsaj4k+VaArf6VIiTWkYALwijaS+VOvzTSf76Un3WYBgKJlEBqALZW3vlw+IDQGw5jqkVBO4axEJEFKu5fDL2RkeHbm+aHY7tlRVsjvNIcVTNbMtHJcclHakOVTrtTCQfspf11XGsmENUaL45bdeu07iDBtpnIvd39p6g8OVaLcSIGaA8Zosd93hs0h3lvIePt3QTekeOUH+zrMMfLyy/4QKBZtLjnWo3/4U0e2tsneOudynW0l5i+VyobWOZb7yZUj7v9GMVpAZ3YEqNZ1aWJlSmty9TJTpXp4PQQcNeELQAfTu4zaarMq5btRZpcmDRvSOQK0Qo/PvfWrv/si0c1NPr5EM43ebdkLiDEUSIGBDTellblheOaRsgD0JlrNLOHSpS6iCiyY5FQaWx7FpnYReP/un2f/2mMGxdehif1MqWWZzgAhjdA4kksQVb8eMIGLY2IveJ4iTmDAkFbhIATs2SuWhYBGqFnBGeH1jlJCJDDV8/XJ0IcX1/r0qC3wsUFecoElZ6gts+4tlfPUoeuSH/NFmyBEzrjZbgCqCH9YVXa/+W+dwQCOQ0G7K4SJepnlNcmpCtI29zMZgeRqmtzI0hImvQYt188MXK44ieh2wsmpVv6Y9EGIgJVR+t1IZKizm6Q2D5MCUC1uAVwu2iw7Xt5Re1XcWSaBC/nZt2iHaZF7kpgIXfrFshAEp7ImtleSI6IkFGMEFBQTEwM0NBNTM3RUFFRDg3QzI0REQ1MzkwOUI4MEE3OEE5MjNFMzgyM0Q2OERBQ0M5NEI5RkY4MzA1REMifVTgdc9kCwE5LJyeGFVSr+P70S1hwc62Ad03Oy1Ksxr823klh1hxYQDWBJETNf/YmYC9cHDGr6LxMQ8OOnwfg2xjsVU7ZUwWJbHid1vU/oJzHBXe54lHMNNre0HaQD6TSokVpazQsY3hRB84uevmeT7KVal98iqXd755VuiIxwHhhywaub1ogyQQEVxNGWx2+vL5Vh8NKmoghZQ+NLSZWRn77hJTGV+lKJdseGA9nV7DSlWodNmZ8RyRfQoqwtaK9woQ87PIN7XqSznZMS1HWMOE/aDLEXLJEfozHWrHuGVmn6Hupt/fBnm1GckSsMGeQNKS+4XmKGrJefrHDmdoZVBaZS9UjxfKjD2sCwu5vutgb6SLrECgCvu3q5/LTyFeTuPV1ZZrlpapC6umnWmSKmj/SdnhXJO00PNuFT2WY/GyH0cyA498zApE6VtLx2e9IvS01Oex6ZCRFDJ6sDCBzVN5g60vsm9tBut6trpQWyryqVM2cQ39xh9olCQ5Ml+2h4YFV5gA+1c0i+e6SeMtFJN788NW2EnQT/2pzM/rNAaSVwSf8vJcx3ZB9n8Pf8xi2buKZFEkyJpZJSg22JC/38D1E0tPRpQ7gZ1Z86meAGXnfKUtA+w2FllB2Y0dMrqi8jXnS/mqMPBmPVnIxUW96e40cB7W8E0VDf1IKx/wQphI8/vM3UOSqC81agmnyQ3nIDrAy8vqMOD+d1xcoElzRNy0OxU6v/90IKkhfAKr3Tur7Vb3FD6Pi/XrujJX95UlRd7fmaAI7Po1cIh1v7HEhsCNoh1z7WFNag==\",\n \"redirect\" : {\n \"method\" : \"GET\",\n \"url\" : \"https://test.adyen.com/hpp/checkout.shtml?u=redirectIdeal&p=eJxtUl1zmzAQ-DXwZgaB*XrQg0Nwg2s3DTVtJy8ZRbqAYlsikmCMf30FddNMpzOak2bvZm-3Ts*KCJZLBpgzIEeX9kqBoOMMFXXlcq17UCXDCAXIPYGiLRFmRanshcF70GZ3xd6TpTDQKGK4FJ4ZO8D5XZF-vq-3T5*KL0VV5v*tHEBpe*Pob5cKXmBSA1gbxUXzIWF6JW6JITjLUIySNItQliVxsH6v*cYbnNSHZsMfcydYr8SrE9yY7HRjavMAlyyIjhuK*tzszj9ew-uHrN854a3bkfEE1uBp9od833cV6Lra4taYzglXlsueo6Tk2EptLJL6qW8h2gI9yN7oVnYdKItoUAOnoO3z62-aUlB5sk4qYFwBNTYzoD9015odmFYyJ1z-M2yr7uO4nSBW8xisNpua1NlG0SQwmiTaMMpeLWzDjojRs-cMep7natDTrL*TI2fcjDjwA7Twlws-3aPYOkKZDVH26F69THtShE57woUlmpSBqw9czP*k65*9IfCuq0jiJElQGi69Szn8DPebmKXDWATt6vxEWduea7*sLy-Lt*1bcbctGhgZk78A5S7dyQ\"\n }\n}", + "originalRequest": { + "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 \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"ideal\",\n \"issuer\" : \"1121\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"ideal\",\n \"issuer\" : \"1121\"\n },\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + ] }, { "name": "Make a Klarna payment", "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 \"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_IOfW3k9G2PvXFu2j\",\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" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + "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 \"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_IOfW3k9G2PvXFu2j\",\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" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + ] }, { "name": "Make a one-off payment with a token and CVV", "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"storedPaymentMethodId\" : \"8416038790273850\",\n \"encryptedSecurityCode\" : \"adyenjs_0_1_18$MT6ppy0FAMVMLH...\"\n },\n \"shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID_6738oneoff\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"shopperInteraction\" : \"ContAuth\",\n \"recurringProcessingModel\" : \"CardOnFile\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"storedPaymentMethodId\" : \"8416038790273850\",\n \"encryptedSecurityCode\" : \"adyenjs_0_1_18$MT6ppy0FAMVMLH...\"\n },\n \"shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID_6738oneoff\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"shopperInteraction\" : \"ContAuth\",\n \"recurringProcessingModel\" : \"CardOnFile\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + ] }, { "name": "Make a subscription card payment with a token", "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"storedPaymentMethodId\" : \"8316038796685850\"\n },\n \"shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID_IOfW3subscription\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"shopperInteraction\" : \"ContAuth\",\n \"recurringProcessingModel\" : \"Subscription\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"storedPaymentMethodId\" : \"8316038796685850\"\n },\n \"shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID_IOfW3subscription\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"shopperInteraction\" : \"ContAuth\",\n \"recurringProcessingModel\" : \"Subscription\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + ] }, { "name": "Split a payment between balance accounts", "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 + "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 \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"encryptedCardNumber\" : \"test_4111111111111111\",\n \"encryptedExpiryMonth\" : \"test_03\",\n \"encryptedExpiryYear\" : \"test_2030\",\n \"encryptedSecurityCode\" : \"test_737\"\n },\n \"amount\" : {\n \"value\" : 40000,\n \"currency\" : \"USD\"\n },\n \"reference\" : \"{{$guid}}\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"platformChargebackLogic\" : {\n \"behavior\" : \"deductFromOneBalanceAccount\",\n \"targetAccount\" : \"BA00000000000000000000001\",\n \"costAllocationAccount\" : \"BA00000000000000000000001\"\n },\n \"splits\" : [ {\n \"amount\" : {\n \"value\" : 39600\n },\n \"type\" : \"BalanceAccount\",\n \"account\" : \"BA00000000000000000000001\",\n \"reference\" : \"Your reference for the sale amount\",\n \"description\" : \"Your description for the sale amount\"\n }, {\n \"amount\" : {\n \"value\" : 400\n },\n \"type\" : \"Commission\",\n \"reference\" : \"Your reference for the commission\",\n \"description\" : \"Your description for the commission\"\n }, {\n \"type\" : \"PaymentFee\",\n \"account\" : \"BA00000000000000000000001\",\n \"reference\" : \"Your reference for the fees\",\n \"description\" : \"Your description for the fees\"\n } ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"additionalData\" : {\n \"refusalReasonRaw\" : \"AUTHORISED\",\n \"eci\" : \"N/A\",\n \"acquirerAccountCode\" : \"YOUR_ACQUIRER_ACCOUNT\",\n \"xid\" : \"N/A\",\n \"threeDAuthenticated\" : \"false\",\n \"paymentMethodVariant\" : \"visa\",\n \"issuerBin\" : \"41111111\",\n \"payoutEligible\" : \"Y\",\n \"fraudManualReview\" : \"false\",\n \"threeDOffered\" : \"false\",\n \"threeDOfferedResponse\" : \"N/A\",\n \"authorisationMid\" : \"50\",\n \"fundsAvailability\" : \"I\",\n \"authorisedAmountCurrency\" : \"USD\",\n \"threeDAuthenticatedResponse\" : \"N/A\",\n \"avsResultRaw\" : \"5\",\n \"retry.attempt1.rawResponse\" : \"AUTHORISED\",\n \"paymentMethod\" : \"visa\",\n \"avsResult\" : \"5 No AVS data provided\",\n \"cardSummary\" : \"1111\",\n \"retry.attempt1.avsResultRaw\" : \"5\",\n \"networkTxReference\" : \"777718270854480\",\n \"expiryDate\" : \"3/2030\",\n \"cavvAlgorithm\" : \"N/A\",\n \"cardBin\" : \"411111\",\n \"alias\" : \"8915844059375211\",\n \"cvcResultRaw\" : \"M\",\n \"merchantReference\" : \"YOUR_ORDER_NUMBER\",\n \"acquirerReference\" : \"YOUR_ACQUIRER_REFERENCE\",\n \"cardIssuingCountry\" : \"NL\",\n \"liabilityShift\" : \"false\",\n \"fraudResultType\" : \"GREEN\",\n \"authCode\" : \"035450\",\n \"cardHolderName\" : \"John Smith\",\n \"isCardCommercial\" : \"unknown\",\n \"PaymentAccountReference\" : \"6006491286999921374...\",\n \"retry.attempt1.acquirerAccount\" : \"YOUR_ACQUIRER_ACCOUNT\",\n \"cardIssuingBank\" : \"ISSUING_BANK_CUSTOMER\",\n \"retry.attempt1.acquirer\" : \"YOUR_ACQUIRER_CODE\",\n \"authorisedAmountValue\" : \"40000\",\n \"issuerCountry\" : \"NL\",\n \"cvcResult\" : \"1 Matches\",\n \"retry.attempt1.responseCode\" : \"Approved\",\n \"aliasType\" : \"Default\",\n \"retry.attempt1.shopperInteraction\" : \"Ecommerce\",\n \"cardPaymentMethod\" : \"visa\",\n \"acquirerCode\" : \"YOUR_ACQUIRER_CODE\"\n },\n \"pspReference\" : \"PPKFQ89R6QRXGN82\",\n \"resultCode\" : \"Authorised\",\n \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 40000\n },\n \"donationToken\" : \"81234567890123456...\",\n \"merchantReference\" : \"YOUR_ORDER_NUMBER\",\n \"paymentMethod\" : {\n \"brand\" : \"visa\",\n \"type\" : \"scheme\"\n }\n}", + "originalRequest": { + "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 \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"encryptedCardNumber\" : \"test_4111111111111111\",\n \"encryptedExpiryMonth\" : \"test_03\",\n \"encryptedExpiryYear\" : \"test_2030\",\n \"encryptedSecurityCode\" : \"test_737\"\n },\n \"amount\" : {\n \"value\" : 40000,\n \"currency\" : \"USD\"\n },\n \"reference\" : \"{{$guid}}\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"platformChargebackLogic\" : {\n \"behavior\" : \"deductFromOneBalanceAccount\",\n \"targetAccount\" : \"BA00000000000000000000001\",\n \"costAllocationAccount\" : \"BA00000000000000000000001\"\n },\n \"splits\" : [ {\n \"amount\" : {\n \"value\" : 39600\n },\n \"type\" : \"BalanceAccount\",\n \"account\" : \"BA00000000000000000000001\",\n \"reference\" : \"Your reference for the sale amount\",\n \"description\" : \"Your description for the sale amount\"\n }, {\n \"amount\" : {\n \"value\" : 400\n },\n \"type\" : \"Commission\",\n \"reference\" : \"Your reference for the commission\",\n \"description\" : \"Your description for the commission\"\n }, {\n \"type\" : \"PaymentFee\",\n \"account\" : \"BA00000000000000000000001\",\n \"reference\" : \"Your reference for the fees\",\n \"description\" : \"Your description for the fees\"\n } ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"encryptedCardNumber\" : \"test_4111111111111111\",\n \"encryptedExpiryMonth\" : \"test_03\",\n \"encryptedExpiryYear\" : \"test_2030\",\n \"encryptedSecurityCode\" : \"test_737\"\n },\n \"amount\" : {\n \"value\" : 40000,\n \"currency\" : \"USD\"\n },\n \"reference\" : \"{{$guid}}\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"platformChargebackLogic\" : {\n \"behavior\" : \"deductFromOneBalanceAccount\",\n \"targetAccount\" : \"BA00000000000000000000001\",\n \"costAllocationAccount\" : \"BA00000000000000000000001\"\n },\n \"splits\" : [ {\n \"amount\" : {\n \"value\" : 39600\n },\n \"type\" : \"BalanceAccount\",\n \"account\" : \"BA00000000000000000000001\",\n \"reference\" : \"Your reference for the sale amount\",\n \"description\" : \"Your description for the sale amount\"\n }, {\n \"amount\" : {\n \"value\" : 400\n },\n \"type\" : \"Commission\",\n \"reference\" : \"Your reference for the commission\",\n \"description\" : \"Your description for the commission\"\n }, {\n \"type\" : \"PaymentFee\",\n \"account\" : \"BA00000000000000000000001\",\n \"reference\" : \"Your reference for the fees\",\n \"description\" : \"Your description for the fees\"\n } ]\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + ] }, { "name": "Split a payment in a Classic Platforms integration", "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 \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"encryptedCardNumber\" : \"test_4111111111111111\",\n \"encryptedExpiryMonth\" : \"test_03\",\n \"encryptedExpiryYear\" : \"test_2030\",\n \"encryptedSecurityCode\" : \"test_737\"\n },\n \"amount\" : {\n \"value\" : 6200,\n \"currency\" : \"EUR\"\n },\n \"reference\" : \"{{$guid}}\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"splits\" : [ {\n \"amount\" : {\n \"value\" : 6000\n },\n \"type\" : \"MarketPlace\",\n \"account\" : \"151272963\",\n \"reference\" : \"6124145\",\n \"description\" : \"Porcelain Doll: Eliza (20cm)\"\n }, {\n \"amount\" : {\n \"value\" : 200\n },\n \"type\" : \"Commission\",\n \"reference\" : \"6124146\"\n } ]\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + "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 \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"encryptedCardNumber\" : \"test_4111111111111111\",\n \"encryptedExpiryMonth\" : \"test_03\",\n \"encryptedExpiryYear\" : \"test_2030\",\n \"encryptedSecurityCode\" : \"test_737\"\n },\n \"amount\" : {\n \"value\" : 6200,\n \"currency\" : \"EUR\"\n },\n \"reference\" : \"{{$guid}}\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"splits\" : [ {\n \"amount\" : {\n \"value\" : 6000\n },\n \"type\" : \"MarketPlace\",\n \"account\" : \"151272963\",\n \"reference\" : \"6124145\",\n \"description\" : \"Porcelain Doll: Eliza (20cm)\"\n }, {\n \"amount\" : {\n \"value\" : 200\n },\n \"type\" : \"Commission\",\n \"reference\" : \"6124146\"\n } ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + ] }, { "name": "Tokenize card details for a subscription", "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 + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"encryptedCardNumber\" : \"test_4111111111111111\",\n \"encryptedExpiryMonth\" : \"test_03\",\n \"encryptedExpiryYear\" : \"test_2030\",\n \"encryptedSecurityCode\" : \"test_737\"\n },\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"storePaymentMethod\" : true,\n \"shopperInteraction\" : \"Ecommerce\",\n \"recurringProcessingModel\" : \"Subscription\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"additionalData\" : {\n \"cvcResult\" : \"1 Matches\",\n \"authCode\" : \"098871\",\n \"avsResult\" : \"4 AVS not supported for this card type\",\n \"recurring.recurringDetailReference\" : \"9916178934434753\",\n \"recurringProcessingModel\" : \"Subscription\",\n \"avsResultRaw\" : \"4\",\n \"cvcResultRaw\" : \"M\",\n \"refusalReasonRaw\" : \"AUTHORISED\",\n \"recurring.shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID_IOfW3k9G2PvXFu2j\",\n \"acquirerCode\" : \"TestPmmAcquirer\",\n \"acquirerReference\" : \"8PQMP9VD896\"\n },\n \"pspReference\" : \"993617895199574A\",\n \"resultCode\" : \"Authorised\",\n \"merchantReference\" : \"string\"\n}", + "originalRequest": { + "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 \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"encryptedCardNumber\" : \"test_4111111111111111\",\n \"encryptedExpiryMonth\" : \"test_03\",\n \"encryptedExpiryYear\" : \"test_2030\",\n \"encryptedSecurityCode\" : \"test_737\"\n },\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"storePaymentMethod\" : true,\n \"shopperInteraction\" : \"Ecommerce\",\n \"recurringProcessingModel\" : \"Subscription\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 1000\n },\n \"reference\" : \"Your order number\",\n \"paymentMethod\" : {\n \"type\" : \"scheme\",\n \"encryptedCardNumber\" : \"test_4111111111111111\",\n \"encryptedExpiryMonth\" : \"test_03\",\n \"encryptedExpiryYear\" : \"test_2030\",\n \"encryptedSecurityCode\" : \"test_737\"\n },\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"storePaymentMethod\" : true,\n \"shopperInteraction\" : \"Ecommerce\",\n \"recurringProcessingModel\" : \"Subscription\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. " - } + ] } ] - } -, + }, { "name": "/payments/details", "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. ", @@ -2231,106 +3873,167 @@ { "name": "Submit the redirect result", "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 + "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 \"details\" : {\n \"redirectResult\" : \"X6XtfGC3!Y...\"\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. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"resultCode\" : \"Authorised\",\n \"pspReference\" : \"V4HZ4RBFJGXXGN82\"\n}", + "originalRequest": { + "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 \"details\" : {\n \"redirectResult\" : \"X6XtfGC3!Y...\"\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. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"details\" : {\n \"redirectResult\" : \"X6XtfGC3!Y...\"\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. " - } + ] }, { "name": "Submit 3D Secure 2 authentication result", "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 \"details\" : {\n \"threeDSResult\" : \"eyJ0cmFuc1N0YXR1cyI6IlkifQ==\"\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. " - } + "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 \"details\" : {\n \"threeDSResult\" : \"eyJ0cmFuc1N0YXR1cyI6IlkifQ==\"\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. " +} + ,"response": [ + ] } ] - } -, + }, { "name": "/sessions", "description": "Creates a payment session for [Web Drop-in](https://docs.adyen.com/online-payments/web-drop-in) and [Web Components](https://docs.adyen.com/online-payments/web-components) integrations. The response contains encrypted payment session data. The front end then uses the session data to make any required server-side calls for the payment flow. You get the payment outcome asynchronously, in an [AUTHORISATION](https://docs.adyen.com/api-explorer/#/Webhooks/latest/post/AUTHORISATION) webhook.", @@ -2338,202 +4041,437 @@ { "name": "Create a payment session", "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 + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"amount\" : {\n \"value\" : 100,\n \"currency\" : \"EUR\"\n },\n \"returnUrl\" : \"https://your-company.com/checkout?shopperOrder=12xy..\",\n \"reference\" : \"YOUR_PAYMENT_REFERENCE\",\n \"countryCode\" : \"NL\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/sessions", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "sessions" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates a payment session for [Web Drop-in](https://docs.adyen.com/online-payments/web-drop-in) and [Web Components](https://docs.adyen.com/online-payments/web-components) integrations. The response contains encrypted payment session data. The front end then uses the session data to make any required server-side calls for the payment flow. You get the payment outcome asynchronously, in an [AUTHORISATION](https://docs.adyen.com/api-explorer/#/Webhooks/latest/post/AUTHORISATION) webhook." +} + ,"response": [ + {"name": "Created - the request has been fulfilled and has resulted in one or more new resources being created.", + "code": 201, + "status": "Created", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 100\n },\n \"countryCode\" : \"NL\",\n \"expiresAt\" : \"2022-01-11T13:53:18+01:00\",\n \"id\" : \"CS451F2AB1ED897A94\",\n \"merchantAccount\" : \"YOUR_MERCHANT_ACCOUNT\",\n \"reference\" : \"YOUR_PAYMENT_REFERENCE\",\n \"returnUrl\" : \"https://your-company.com/checkout?shopperOrder=12xy..\",\n \"sessionData\" : \"Ab02b4c0!BQABAgBfYI29...\"\n}", + "originalRequest": { + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"amount\" : {\n \"value\" : 100,\n \"currency\" : \"EUR\"\n },\n \"returnUrl\" : \"https://your-company.com/checkout?shopperOrder=12xy..\",\n \"reference\" : \"YOUR_PAYMENT_REFERENCE\",\n \"countryCode\" : \"NL\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/sessions", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "sessions" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates a payment session for [Web Drop-in](https://docs.adyen.com/online-payments/web-drop-in) and [Web Components](https://docs.adyen.com/online-payments/web-components) integrations. The response contains encrypted payment session data. The front end then uses the session data to make any required server-side calls for the payment flow. You get the payment outcome asynchronously, in an [AUTHORISATION](https://docs.adyen.com/api-explorer/#/Webhooks/latest/post/AUTHORISATION) webhook." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"amount\" : {\n \"value\" : 100,\n \"currency\" : \"EUR\"\n },\n \"returnUrl\" : \"https://your-company.com/checkout?shopperOrder=12xy..\",\n \"reference\" : \"YOUR_PAYMENT_REFERENCE\",\n \"countryCode\" : \"NL\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/sessions", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "sessions" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Creates a payment session for [Web Drop-in](https://docs.adyen.com/online-payments/web-drop-in) and [Web Components](https://docs.adyen.com/online-payments/web-components) integrations. The response contains encrypted payment session data. The front end then uses the session data to make any required server-side calls for the payment flow. You get the payment outcome asynchronously, in an [AUTHORISATION](https://docs.adyen.com/api-explorer/#/Webhooks/latest/post/AUTHORISATION) webhook." - } + ] }, { "name": "Create a payment session including Klarna fields", "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 + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"reference\" : \"YOUR_ORDER_REFERENCE\",\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_SHOPPER_REFERENCE\",\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 \"dateOfBirth\" : \"1996-09-04\",\n \"socialSecurityNumber\" : \"0108\",\n \"returnUrl\" : \"https://example.org\",\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" + } + } + }, + "url": { + "raw": "{{baseUrl}}/sessions", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "sessions" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates a payment session for [Web Drop-in](https://docs.adyen.com/online-payments/web-drop-in) and [Web Components](https://docs.adyen.com/online-payments/web-components) integrations. The response contains encrypted payment session data. The front end then uses the session data to make any required server-side calls for the payment flow. You get the payment outcome asynchronously, in an [AUTHORISATION](https://docs.adyen.com/api-explorer/#/Webhooks/latest/post/AUTHORISATION) webhook." +} + ,"response": [ + {"name": "Created - the request has been fulfilled and has resulted in one or more new resources being created.", + "code": 201, + "status": "Created", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"amount\" : {\n \"currency\" : \"SEK\",\n \"value\" : 1000\n },\n \"billingAddress\" : {\n \"city\" : \"Ankeborg\",\n \"country\" : \"SE\",\n \"houseNumberOrName\" : \"1\",\n \"postalCode\" : \"12345\",\n \"street\" : \"Stargatan\"\n },\n \"countryCode\" : \"SE\",\n \"dateOfBirth\" : \"1996-09-04T02:00:00+02:00\",\n \"deliveryAddress\" : {\n \"city\" : \"Ankeborg\",\n \"country\" : \"SE\",\n \"houseNumberOrName\" : \"1\",\n \"postalCode\" : \"12345\",\n \"street\" : \"Stargatan\"\n },\n \"expiresAt\" : \"2022-01-11T13:57:52+01:00\",\n \"id\" : \"CSC52E9932D39ADAF3\",\n \"lineItems\" : [ {\n \"amountExcludingTax\" : 331,\n \"amountIncludingTax\" : 400,\n \"description\" : \"Shoes\",\n \"id\" : \"Item #1\",\n \"imageUrl\" : \"URL_TO_PICTURE_OF_PURCHASED_ITEM\",\n \"productUrl\" : \"URL_TO_PURCHASED_ITEM\",\n \"quantity\" : 1,\n \"taxAmount\" : 69,\n \"taxPercentage\" : 2100\n }, {\n \"amountExcludingTax\" : 248,\n \"amountIncludingTax\" : 300,\n \"description\" : \"Socks\",\n \"id\" : \"Item #2\",\n \"imageUrl\" : \"URL_TO_PICTURE_OF_PURCHASED_ITEM\",\n \"productUrl\" : \"URL_TO_PURCHASED_ITEM\",\n \"quantity\" : 2,\n \"taxAmount\" : 52,\n \"taxPercentage\" : 2100\n } ],\n \"merchantAccount\" : \"YOUR_MERCHANT_ACCOUNT\",\n \"reference\" : \"YOUR_ORDER_REFERENCE\",\n \"returnUrl\" : \"https://example.org\",\n \"shopperEmail\" : \"youremail@email.com\",\n \"shopperLocale\" : \"en_US\",\n \"shopperName\" : {\n \"firstName\" : \"Testperson-se\",\n \"lastName\" : \"Approved\"\n },\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"socialSecurityNumber\" : \"0108\",\n \"telephoneNumber\" : \"+46 840 839 298\",\n \"sessionData\" : \"Ab02b4c0!BQABAgBfYI29...\"\n}", + "originalRequest": { + "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 \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"reference\" : \"YOUR_ORDER_REFERENCE\",\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_SHOPPER_REFERENCE\",\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 \"dateOfBirth\" : \"1996-09-04\",\n \"socialSecurityNumber\" : \"0108\",\n \"returnUrl\" : \"https://example.org\",\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" + } + } + }, + "url": { + "raw": "{{baseUrl}}/sessions", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "sessions" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates a payment session for [Web Drop-in](https://docs.adyen.com/online-payments/web-drop-in) and [Web Components](https://docs.adyen.com/online-payments/web-components) integrations. The response contains encrypted payment session data. The front end then uses the session data to make any required server-side calls for the payment flow. You get the payment outcome asynchronously, in an [AUTHORISATION](https://docs.adyen.com/api-explorer/#/Webhooks/latest/post/AUTHORISATION) webhook." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"reference\" : \"YOUR_ORDER_REFERENCE\",\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_SHOPPER_REFERENCE\",\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 \"dateOfBirth\" : \"1996-09-04\",\n \"socialSecurityNumber\" : \"0108\",\n \"returnUrl\" : \"https://example.org\",\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" - } - } - }, - "url": { - "raw": "{{baseUrl}}/sessions", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "sessions" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Creates a payment session for [Web Drop-in](https://docs.adyen.com/online-payments/web-drop-in) and [Web Components](https://docs.adyen.com/online-payments/web-components) integrations. The response contains encrypted payment session data. The front end then uses the session data to make any required server-side calls for the payment flow. You get the payment outcome asynchronously, in an [AUTHORISATION](https://docs.adyen.com/api-explorer/#/Webhooks/latest/post/AUTHORISATION) webhook." - } + ] }, { "name": "Tokenize card details for one-off payments without asking shopper", "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 + "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 \"merchantAccount\" : \"TestMerchantCheckout\",\n \"amount\" : {\n \"value\" : 100,\n \"currency\" : \"EUR\"\n },\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"returnUrl\" : \"https://your-company.com/checkout?shopperOrder=12xy..\",\n \"reference\" : \"YOUR_PAYMENT_REFERENCE\",\n \"countryCode\" : \"NL\",\n \"storePaymentMethodMode\" : \"enabled\",\n \"shopperInteraction\" : \"Ecommerce\",\n \"recurringProcessingModel\" : \"CardOnFile\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/sessions", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "sessions" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates a payment session for [Web Drop-in](https://docs.adyen.com/online-payments/web-drop-in) and [Web Components](https://docs.adyen.com/online-payments/web-components) integrations. The response contains encrypted payment session data. The front end then uses the session data to make any required server-side calls for the payment flow. You get the payment outcome asynchronously, in an [AUTHORISATION](https://docs.adyen.com/api-explorer/#/Webhooks/latest/post/AUTHORISATION) webhook." +} + ,"response": [ + {"name": "Created - the request has been fulfilled and has resulted in one or more new resources being created.", + "code": 201, + "status": "Created", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 100\n },\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"countryCode\" : \"NL\",\n \"expiresAt\" : \"2022-01-11T13:56:05+01:00\",\n \"id\" : \"FJM726V375BV9D82\",\n \"merchantAccount\" : \"YOUR_MERCHANT_ACCOUNT\",\n \"recurringProcessingModel\" : \"CardOnFile\",\n \"reference\" : \"YOUR_PAYMENT_REFERENCE\",\n \"returnUrl\" : \"https://your-company.com/checkout?shopperOrder=12xy..\",\n \"shopperInteraction\" : \"Ecommerce\",\n \"storePaymentMethod\" : true,\n \"sessionData\" : \"Ab02b4c0!BQABAgBfYI29...\"\n}", + "originalRequest": { + "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 \"merchantAccount\" : \"TestMerchantCheckout\",\n \"amount\" : {\n \"value\" : 100,\n \"currency\" : \"EUR\"\n },\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"returnUrl\" : \"https://your-company.com/checkout?shopperOrder=12xy..\",\n \"reference\" : \"YOUR_PAYMENT_REFERENCE\",\n \"countryCode\" : \"NL\",\n \"storePaymentMethodMode\" : \"enabled\",\n \"shopperInteraction\" : \"Ecommerce\",\n \"recurringProcessingModel\" : \"CardOnFile\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/sessions", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "sessions" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates a payment session for [Web Drop-in](https://docs.adyen.com/online-payments/web-drop-in) and [Web Components](https://docs.adyen.com/online-payments/web-components) integrations. The response contains encrypted payment session data. The front end then uses the session data to make any required server-side calls for the payment flow. You get the payment outcome asynchronously, in an [AUTHORISATION](https://docs.adyen.com/api-explorer/#/Webhooks/latest/post/AUTHORISATION) webhook." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"merchantAccount\" : \"TestMerchantCheckout\",\n \"amount\" : {\n \"value\" : 100,\n \"currency\" : \"EUR\"\n },\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"returnUrl\" : \"https://your-company.com/checkout?shopperOrder=12xy..\",\n \"reference\" : \"YOUR_PAYMENT_REFERENCE\",\n \"countryCode\" : \"NL\",\n \"storePaymentMethodMode\" : \"enabled\",\n \"shopperInteraction\" : \"Ecommerce\",\n \"recurringProcessingModel\" : \"CardOnFile\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/sessions", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "sessions" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Creates a payment session for [Web Drop-in](https://docs.adyen.com/online-payments/web-drop-in) and [Web Components](https://docs.adyen.com/online-payments/web-components) integrations. The response contains encrypted payment session data. The front end then uses the session data to make any required server-side calls for the payment flow. You get the payment outcome asynchronously, in an [AUTHORISATION](https://docs.adyen.com/api-explorer/#/Webhooks/latest/post/AUTHORISATION) webhook." - } + ] }, { "name": "Split a payment between balance accounts", "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 + "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 \"amount\" : {\n \"value\" : 40000,\n \"currency\" : \"USD\"\n },\n \"reference\" : \"{{$guid}}\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"splits\" : [ {\n \"amount\" : {\n \"value\" : 39200\n },\n \"type\" : \"BalanceAccount\",\n \"account\" : \"BA00000000000000000000001\",\n \"reference\" : \"Your reference for the sale amount\",\n \"description\" : \"Your description for the sale amount\"\n }, {\n \"amount\" : {\n \"value\" : 400\n },\n \"type\" : \"Commission\",\n \"reference\" : \"Your reference for the commission\",\n \"description\" : \"Your description for the commission\"\n }, {\n \"amount\" : {\n \"value\" : 400\n },\n \"account\" : \"BA00000000000000000000001\",\n \"reference\" : \"Your reference for the fees\",\n \"description\" : \"Your description for the fees\",\n \"type\" : \"PaymentFee\"\n } ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/sessions", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "sessions" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates a payment session for [Web Drop-in](https://docs.adyen.com/online-payments/web-drop-in) and [Web Components](https://docs.adyen.com/online-payments/web-components) integrations. The response contains encrypted payment session data. The front end then uses the session data to make any required server-side calls for the payment flow. You get the payment outcome asynchronously, in an [AUTHORISATION](https://docs.adyen.com/api-explorer/#/Webhooks/latest/post/AUTHORISATION) webhook." +} + ,"response": [ + {"name": "Created - the request has been fulfilled and has resulted in one or more new resources being created.", + "code": 201, + "status": "Created", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"amount\" : {\n \"currency\" : \"USD\",\n \"value\" : 40000\n },\n \"expiresAt\" : \"2023-06-26T11:01:55+02:00\",\n \"id\" : \"CSFCBC80570618EF2C\",\n \"merchantAccount\" : \"YOUR_MERCHANT_ACCOUNT\",\n \"reference\" : \"YOUR_ORDER_NUMBER\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"shopperLocale\" : \"en-US\",\n \"splits\" : [ {\n \"account\" : \"BA00000000000000000000001\",\n \"amount\" : {\n \"value\" : 39200\n },\n \"description\" : \"Your description for the sale amount\",\n \"reference\" : \"Your reference for the sale amount\",\n \"type\" : \"BalanceAccount\"\n }, {\n \"amount\" : {\n \"value\" : 400\n },\n \"description\" : \"Your description for the commission\",\n \"reference\" : \"Your reference for the commission\",\n \"type\" : \"Commission\"\n }, {\n \"amount\" : {\n \"value\" : 400\n },\n \"account\" : \"BA00000000000000000000001\",\n \"description\" : \"Your description for the fees\",\n \"reference\" : \"Your reference for the fees\",\n \"type\" : \"PaymentFee\"\n } ],\n \"mode\" : \"embedded\",\n \"sessionData\" : \"Ab02b4c0!BQABAgCjTErwAztqXSFTiZtxZMjRLYkoGbPkmvCvDX1\"\n}", + "originalRequest": { + "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 \"amount\" : {\n \"value\" : 40000,\n \"currency\" : \"USD\"\n },\n \"reference\" : \"{{$guid}}\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"splits\" : [ {\n \"amount\" : {\n \"value\" : 39200\n },\n \"type\" : \"BalanceAccount\",\n \"account\" : \"BA00000000000000000000001\",\n \"reference\" : \"Your reference for the sale amount\",\n \"description\" : \"Your description for the sale amount\"\n }, {\n \"amount\" : {\n \"value\" : 400\n },\n \"type\" : \"Commission\",\n \"reference\" : \"Your reference for the commission\",\n \"description\" : \"Your description for the commission\"\n }, {\n \"amount\" : {\n \"value\" : 400\n },\n \"account\" : \"BA00000000000000000000001\",\n \"reference\" : \"Your reference for the fees\",\n \"description\" : \"Your description for the fees\",\n \"type\" : \"PaymentFee\"\n } ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/sessions", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "sessions" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates a payment session for [Web Drop-in](https://docs.adyen.com/online-payments/web-drop-in) and [Web Components](https://docs.adyen.com/online-payments/web-components) integrations. The response contains encrypted payment session data. The front end then uses the session data to make any required server-side calls for the payment flow. You get the payment outcome asynchronously, in an [AUTHORISATION](https://docs.adyen.com/api-explorer/#/Webhooks/latest/post/AUTHORISATION) webhook." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"value\" : 40000,\n \"currency\" : \"USD\"\n },\n \"reference\" : \"{{$guid}}\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"returnUrl\" : \"https://your-company.com/...\",\n \"splits\" : [ {\n \"amount\" : {\n \"value\" : 39200\n },\n \"type\" : \"BalanceAccount\",\n \"account\" : \"BA00000000000000000000001\",\n \"reference\" : \"Your reference for the sale amount\",\n \"description\" : \"Your description for the sale amount\"\n }, {\n \"amount\" : {\n \"value\" : 400\n },\n \"type\" : \"Commission\",\n \"reference\" : \"Your reference for the commission\",\n \"description\" : \"Your description for the commission\"\n }, {\n \"amount\" : {\n \"value\" : 400\n },\n \"account\" : \"BA00000000000000000000001\",\n \"reference\" : \"Your reference for the fees\",\n \"description\" : \"Your description for the fees\",\n \"type\" : \"PaymentFee\"\n } ]\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/sessions", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "sessions" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Creates a payment session for [Web Drop-in](https://docs.adyen.com/online-payments/web-drop-in) and [Web Components](https://docs.adyen.com/online-payments/web-components) integrations. The response contains encrypted payment session data. The front end then uses the session data to make any required server-side calls for the payment flow. You get the payment outcome asynchronously, in an [AUTHORISATION](https://docs.adyen.com/api-explorer/#/Webhooks/latest/post/AUTHORISATION) webhook." - } + ] } ] - } -, + }, { "name": "/sessions/:sessionId", "description": "Returns the status of the payment session with the `sessionId` and `sessionResult` specified in the path.", @@ -2541,55 +4479,56 @@ { "name": "Get the result of a payment session", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/sessions/:sessionId", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "sessions", - ":sessionId" - ], - "variable": [ - { - "key": "sessionId", - "value": "", - "description": "A unique identifier of the session." - } - ], - "query": [ - { - "key": "sessionResult", - "value": "sessionResult_example", - "description": "The `sessionResult` value from the Drop-in or Component.", - "disabled": false - } - ] - }, - "description": "Returns the status of the payment session with the `sessionId` and `sessionResult` specified in the path." - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/sessions/:sessionId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "sessions", + ":sessionId" + ], + "variable": [ + { + "key": "sessionId", + "value": "", + "description": "A unique identifier of the session." + } + ], + "query": [ + { + "key": "sessionResult", + "value": "sessionResult_example", + "description": "The `sessionResult` value from the Drop-in or Component.", + "disabled": false + } + ] + }, + "description": "Returns the status of the payment session with the `sessionId` and `sessionResult` specified in the path." +} + ,"response": [ + ] } ] } - ] }, { @@ -2602,55 +4541,113 @@ { "name": "Create a payment link", "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 + "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 \"reference\" : \"{{$guid}}\",\n \"amount\" : {\n \"value\" : 1250,\n \"currency\" : \"BRL\"\n },\n \"countryCode\" : \"BR\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"shopperEmail\" : \"test@email.com\",\n \"shopperLocale\" : \"pt-BR\",\n \"billingAddress\" : {\n \"street\" : \"Roque Petroni Jr\",\n \"postalCode\" : \"59000060\",\n \"city\" : \"São Paulo\",\n \"houseNumberOrName\" : \"999\",\n \"country\" : \"BR\",\n \"stateOrProvince\" : \"SP\"\n },\n \"deliveryAddress\" : {\n \"street\" : \"Roque Petroni Jr\",\n \"postalCode\" : \"59000060\",\n \"city\" : \"São Paulo\",\n \"houseNumberOrName\" : \"999\",\n \"country\" : \"BR\",\n \"stateOrProvince\" : \"SP\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentLinks", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentLinks" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates a payment link to our hosted payment form where shoppers can pay. The list of payment methods presented to the shopper depends on the `currency` and `country` parameters sent in the request. For more information, refer to [Pay by Link documentation](https://docs.adyen.com/online-payments/pay-by-link#create-payment-links-through-api)." +} + ,"response": [ + {"name": "Created - the request has succeeded.", + "code": 201, + "status": "Created", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"amount\" : {\n \"currency\" : \"BRL\",\n \"value\" : 1250\n },\n \"billingAddress\" : {\n \"city\" : \"São Paulo\",\n \"country\" : \"BR\",\n \"houseNumberOrName\" : \"999\",\n \"postalCode\" : \"59000060\",\n \"stateOrProvince\" : \"SP\",\n \"street\" : \"Roque Petroni Jr\"\n },\n \"countryCode\" : \"BR\",\n \"deliveryAddress\" : {\n \"city\" : \"São Paulo\",\n \"country\" : \"BR\",\n \"houseNumberOrName\" : \"999\",\n \"postalCode\" : \"59000060\",\n \"stateOrProvince\" : \"SP\",\n \"street\" : \"Roque Petroni Jr\"\n },\n \"expiresAt\" : \"2022-10-28T09:16:22Z\",\n \"merchantAccount\" : \"YOUR_MERCHANT_ACCOUNT\",\n \"reference\" : \"YOUR_ORDER_NUMBER\",\n \"reusable\" : false,\n \"shopperEmail\" : \"test@email.com\",\n \"shopperLocale\" : \"pt-BR\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"id\" : \"PLE83C39B0A0DE0C1E\",\n \"status\" : \"active\",\n \"url\" : \"https://test.adyen.link/PLE83C39B0A0DE0C1E\"\n}", + "originalRequest": { + "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 \"reference\" : \"{{$guid}}\",\n \"amount\" : {\n \"value\" : 1250,\n \"currency\" : \"BRL\"\n },\n \"countryCode\" : \"BR\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"shopperEmail\" : \"test@email.com\",\n \"shopperLocale\" : \"pt-BR\",\n \"billingAddress\" : {\n \"street\" : \"Roque Petroni Jr\",\n \"postalCode\" : \"59000060\",\n \"city\" : \"São Paulo\",\n \"houseNumberOrName\" : \"999\",\n \"country\" : \"BR\",\n \"stateOrProvince\" : \"SP\"\n },\n \"deliveryAddress\" : {\n \"street\" : \"Roque Petroni Jr\",\n \"postalCode\" : \"59000060\",\n \"city\" : \"São Paulo\",\n \"houseNumberOrName\" : \"999\",\n \"country\" : \"BR\",\n \"stateOrProvince\" : \"SP\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentLinks", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentLinks" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates a payment link to our hosted payment form where shoppers can pay. The list of payment methods presented to the shopper depends on the `currency` and `country` parameters sent in the request. For more information, refer to [Pay by Link documentation](https://docs.adyen.com/online-payments/pay-by-link#create-payment-links-through-api)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"reference\" : \"{{$guid}}\",\n \"amount\" : {\n \"value\" : 1250,\n \"currency\" : \"BRL\"\n },\n \"countryCode\" : \"BR\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"shopperEmail\" : \"test@email.com\",\n \"shopperLocale\" : \"pt-BR\",\n \"billingAddress\" : {\n \"street\" : \"Roque Petroni Jr\",\n \"postalCode\" : \"59000060\",\n \"city\" : \"São Paulo\",\n \"houseNumberOrName\" : \"999\",\n \"country\" : \"BR\",\n \"stateOrProvince\" : \"SP\"\n },\n \"deliveryAddress\" : {\n \"street\" : \"Roque Petroni Jr\",\n \"postalCode\" : \"59000060\",\n \"city\" : \"São Paulo\",\n \"houseNumberOrName\" : \"999\",\n \"country\" : \"BR\",\n \"stateOrProvince\" : \"SP\"\n }\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentLinks", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentLinks" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Creates a payment link to our hosted payment form where shoppers can pay. The list of payment methods presented to the shopper depends on the `currency` and `country` parameters sent in the request. For more information, refer to [Pay by Link documentation](https://docs.adyen.com/online-payments/pay-by-link#create-payment-links-through-api)." - } + ] } ] - } -, + }, { "name": "/paymentLinks/:linkId", "description": "Retrieves the payment link details using the payment link `id`.", @@ -2658,49 +4655,50 @@ { "name": "Get a payment link", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentLinks/:linkId", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentLinks", - ":linkId" - ], - "variable": [ - { - "key": "linkId", - "value": "", - "description": "Unique identifier of the payment link." - } - ], - "query": [ - ] - }, - "description": "Retrieves the payment link details using the payment link `id`." - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentLinks/:linkId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentLinks", + ":linkId" + ], + "variable": [ + { + "key": "linkId", + "value": "", + "description": "Unique identifier of the payment link." + } + ], + "query": [ + ] + }, + "description": "Retrieves the payment link details using the payment link `id`." +} + ,"response": [ + ] } ] - } -, + }, { "name": "/paymentLinks/:linkId", "description": "Updates the status of a payment link. Use this endpoint to [force the expiry of a payment link](https://docs.adyen.com/online-payments/pay-by-link#update-payment-link-status).", @@ -2708,55 +4706,113 @@ { "name": "Update the status of a payment link", "request": { - "method": "PATCH", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"status\" : \"expired\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentLinks/:linkId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentLinks", + ":linkId" + ], + "variable": [ + { + "key": "linkId", + "value": "", + "description": "Unique identifier of the payment link." + } + ], + "query": [ + ] + }, + "description": "Updates the status of a payment link. Use this endpoint to [force the expiry of a payment link](https://docs.adyen.com/online-payments/pay-by-link#update-payment-link-status)." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 8700\n },\n \"countryCode\" : \"NL\",\n \"expiresAt\" : \"2021-04-08T14:06:39Z\",\n \"merchantAccount\" : \"YOUR_MERCHANT_ACCOUNT\",\n \"reference\" : \"shopper-reference-ekvL83\",\n \"shopperLocale\" : \"hu-HU\",\n \"shopperReference\" : \"shopper-reference-LZfdWZ\",\n \"status\" : \"expired\",\n \"url\" : \"https://test.adyen.link/PL61C53A8B97E6915A\",\n \"id\" : \"PL61C53A8B97E6915A\"\n}", + "originalRequest": { + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"status\" : \"expired\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/paymentLinks/:linkId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentLinks", + ":linkId" + ], + "variable": [ + { + "key": "linkId", + "value": "", + "description": "Unique identifier of the payment link." + } + ], + "query": [ + ] + }, + "description": "Updates the status of a payment link. Use this endpoint to [force the expiry of a payment link](https://docs.adyen.com/online-payments/pay-by-link#update-payment-link-status)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"status\" : \"expired\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/paymentLinks/:linkId", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "paymentLinks", - ":linkId" - ], - "variable": [ - { - "key": "linkId", - "value": "", - "description": "Unique identifier of the payment link." - } - ], - "query": [ - ] - }, - "description": "Updates the status of a payment link. Use this endpoint to [force the expiry of a payment link](https://docs.adyen.com/online-payments/pay-by-link#update-payment-link-status)." - } + ] } ] } - ] } ], diff --git a/postman/DataProtectionService-v1.json b/postman/DataProtectionService-v1.json index 457c83c..1626ac1 100644 --- a/postman/DataProtectionService-v1.json +++ b/postman/DataProtectionService-v1.json @@ -19,49 +19,50 @@ { "name": "Submit a Subject Erasure Request.", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"forceErasure\": \"\",\n \"merchantAccount\": \"\",\n \"pspReference\": \"\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/requestSubjectErasure", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "requestSubjectErasure" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends the PSP reference containing the shopper data that should be deleted." - } + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"forceErasure\": \"\",\n \"merchantAccount\": \"\",\n \"pspReference\": \"\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/requestSubjectErasure", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "requestSubjectErasure" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends the PSP reference containing the shopper data that should be deleted." +} + ,"response": [ + ] } ] } - ] } ], diff --git a/postman/DisputeService-v30.json b/postman/DisputeService-v30.json index f70a743..e6ce73a 100644 --- a/postman/DisputeService-v30.json +++ b/postman/DisputeService-v30.json @@ -19,49 +19,101 @@ { "name": "Accept a dispute", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"disputePspReference\" : \"DZ4DPSHB4WD2WN82\",\n \"merchantAccountCode\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/acceptDispute", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "acceptDispute" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Accepts a specific dispute." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"disputeServiceResult\" : {\n \"success\" : true\n }\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"disputePspReference\" : \"DZ4DPSHB4WD2WN82\",\n \"merchantAccountCode\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/acceptDispute", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "acceptDispute" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Accepts a specific dispute." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"disputePspReference\" : \"DZ4DPSHB4WD2WN82\",\n \"merchantAccountCode\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/acceptDispute", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "acceptDispute" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Accepts a specific dispute." - } + ] } ] - } -, + }, { "name": "/defendDispute", "description": "Defends a specific dispute.", @@ -69,49 +121,101 @@ { "name": "Defend a dispute", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"defenseReasonCode\" : \"SupplyDefenseMaterial\",\n \"disputePspReference\" : \"DZ4DPSHB4WD2WN82\",\n \"merchantAccountCode\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/defendDispute", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "defendDispute" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Defends a specific dispute." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"disputeServiceResult\" : {\n \"success\" : true\n }\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"defenseReasonCode\" : \"SupplyDefenseMaterial\",\n \"disputePspReference\" : \"DZ4DPSHB4WD2WN82\",\n \"merchantAccountCode\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/defendDispute", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "defendDispute" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Defends a specific dispute." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"defenseReasonCode\" : \"SupplyDefenseMaterial\",\n \"disputePspReference\" : \"DZ4DPSHB4WD2WN82\",\n \"merchantAccountCode\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/defendDispute", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "defendDispute" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Defends a specific dispute." - } + ] } ] - } -, + }, { "name": "/deleteDisputeDefenseDocument", "description": "Deletes a specific dispute defense document that was supplied earlier.", @@ -119,49 +223,101 @@ { "name": "Delete a dispute defense document", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"defenseDocumentType\" : \"DefenseMaterial\",\n \"disputePspReference\" : \"DZ4DPSHB4WD2WN82\",\n \"merchantAccountCode\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/deleteDisputeDefenseDocument", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "deleteDisputeDefenseDocument" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Deletes a specific dispute defense document that was supplied earlier." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"disputeServiceResult\" : {\n \"success\" : true\n }\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"defenseDocumentType\" : \"DefenseMaterial\",\n \"disputePspReference\" : \"DZ4DPSHB4WD2WN82\",\n \"merchantAccountCode\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/deleteDisputeDefenseDocument", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "deleteDisputeDefenseDocument" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Deletes a specific dispute defense document that was supplied earlier." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"defenseDocumentType\" : \"DefenseMaterial\",\n \"disputePspReference\" : \"DZ4DPSHB4WD2WN82\",\n \"merchantAccountCode\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/deleteDisputeDefenseDocument", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "deleteDisputeDefenseDocument" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Deletes a specific dispute defense document that was supplied earlier." - } + ] } ] - } -, + }, { "name": "/retrieveApplicableDefenseReasons", "description": "Returns a list of all applicable defense reasons to defend a specific dispute.", @@ -169,49 +325,101 @@ { "name": "Retrieve applicable defense reasons", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"disputePspReference\" : \"DZ4DPSHB4WD2WN82\",\n \"merchantAccountCode\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/retrieveApplicableDefenseReasons", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "retrieveApplicableDefenseReasons" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Returns a list of all applicable defense reasons to defend a specific dispute." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"defenseReasons\" : [ {\n \"defenseDocumentTypes\" : [ {\n \"available\" : false,\n \"defenseDocumentTypeCode\" : \"TIDorInvoice\",\n \"requirementLevel\" : \"Optional\"\n }, {\n \"available\" : false,\n \"defenseDocumentTypeCode\" : \"GoodsNotReturned\",\n \"requirementLevel\" : \"Required\"\n } ],\n \"defenseReasonCode\" : \"GoodsNotReturned\",\n \"satisfied\" : false\n }, {\n \"defenseDocumentTypes\" : [ {\n \"available\" : false,\n \"defenseDocumentTypeCode\" : \"TIDorInvoice\",\n \"requirementLevel\" : \"Optional\"\n }, {\n \"available\" : false,\n \"defenseDocumentTypeCode\" : \"GoodsRepairedOrReplaced\",\n \"requirementLevel\" : \"Required\"\n } ],\n \"defenseReasonCode\" : \"GoodsRepairedOrReplaced\",\n \"satisfied\" : false\n }, {\n \"defenseDocumentTypes\" : [ {\n \"available\" : false,\n \"defenseDocumentTypeCode\" : \"GoodsWereAsDescribed\",\n \"requirementLevel\" : \"Required\"\n }, {\n \"available\" : false,\n \"defenseDocumentTypeCode\" : \"TIDorInvoice\",\n \"requirementLevel\" : \"Required\"\n } ],\n \"defenseReasonCode\" : \"GoodsWereAsDescribed\",\n \"satisfied\" : false\n }, {\n \"defenseDocumentTypes\" : [ {\n \"available\" : false,\n \"defenseDocumentTypeCode\" : \"TIDorInvoice\",\n \"requirementLevel\" : \"Optional\"\n }, {\n \"available\" : false,\n \"defenseDocumentTypeCode\" : \"DefenseMaterial\",\n \"requirementLevel\" : \"Required\"\n } ],\n \"defenseReasonCode\" : \"SupplyDefenseMaterial\",\n \"satisfied\" : false\n } ],\n \"disputeServiceResult\" : {\n \"success\" : true\n }\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"disputePspReference\" : \"DZ4DPSHB4WD2WN82\",\n \"merchantAccountCode\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/retrieveApplicableDefenseReasons", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "retrieveApplicableDefenseReasons" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Returns a list of all applicable defense reasons to defend a specific dispute." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"disputePspReference\" : \"DZ4DPSHB4WD2WN82\",\n \"merchantAccountCode\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/retrieveApplicableDefenseReasons", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "retrieveApplicableDefenseReasons" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Returns a list of all applicable defense reasons to defend a specific dispute." - } + ] } ] - } -, + }, { "name": "/supplyDefenseDocument", "description": "Supplies a specific dispute defense document.", @@ -219,49 +427,101 @@ { "name": "Supply dispute defense documents", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"defenseDocuments\" : [ {\n \"content\" : \"JVBERi0xLjQKJcOkw7zDtsOfCjIgMCBv+f/ub0j6JPRX+E3EmC==\",\n \"contentType\" : \"application/pdf\",\n \"defenseDocumentTypeCode\" : \"DefenseMaterial\"\n } ],\n \"disputePspReference\" : \"DZ4DPSHB4WD2WN82\",\n \"merchantAccountCode\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/supplyDefenseDocument", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "supplyDefenseDocument" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Supplies a specific dispute defense document." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"disputeServiceResult\" : {\n \"success\" : true\n }\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"defenseDocuments\" : [ {\n \"content\" : \"JVBERi0xLjQKJcOkw7zDtsOfCjIgMCBv+f/ub0j6JPRX+E3EmC==\",\n \"contentType\" : \"application/pdf\",\n \"defenseDocumentTypeCode\" : \"DefenseMaterial\"\n } ],\n \"disputePspReference\" : \"DZ4DPSHB4WD2WN82\",\n \"merchantAccountCode\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/supplyDefenseDocument", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "supplyDefenseDocument" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Supplies a specific dispute defense document." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"defenseDocuments\" : [ {\n \"content\" : \"JVBERi0xLjQKJcOkw7zDtsOfCjIgMCBv+f/ub0j6JPRX+E3EmC==\",\n \"contentType\" : \"application/pdf\",\n \"defenseDocumentTypeCode\" : \"DefenseMaterial\"\n } ],\n \"disputePspReference\" : \"DZ4DPSHB4WD2WN82\",\n \"merchantAccountCode\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/supplyDefenseDocument", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "supplyDefenseDocument" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Supplies a specific dispute defense document." - } + ] } ] } - ] } ], diff --git a/postman/LegalEntityService-v1.json b/postman/LegalEntityService-v1.json index 5434961..2fda187 100644 --- a/postman/LegalEntityService-v1.json +++ b/postman/LegalEntityService-v1.json @@ -2,7 +2,7 @@ "info": { "name": "Legal Entity Management API (v1)", "description": { - "content": "The Legal Entity Management API enables you to manage legal entities that contain information required for verification. \n## Authentication\nYour Adyen contact will provide your API credential and an API key. To connect to the API, add an `X-API-Key` header with the API key as the value. For example:\n\n```\ncurl\n-H \"X-API-Key: YOUR_API_KEY\" \\n-H \"Content-Type: application/json\" \\n...\n```\nAlternatively, you can use the username and password of your API credential to connect to the API using basic authentication. For example:\n\n```\ncurl\n-U \"ws_123456@Scope.Company_YOUR_COMPANY_ACCOUNT\":\"YourWsPassword\" \\n-H \"Content-Type: application/json\" \\n...\n```\n## Versioning\nThe Legal Entity Management API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number.\n\nFor example:\n```\nhttps://kyc-test.adyen.com/lem/v1/legalEntities\n```\n>If you are using hosted onboarding and just beginning your integration, use v3 for your API requests. Otherwise, use v2.\n\n## Going live\nWhen going live, your Adyen contact will provide your API credential for the live environment. You can then use the API key or the username and password to send requests to `https://kyc-live.adyen.com/lem/v1`.\n\n", + "content": "The Legal Entity Management API enables you to manage legal entities that contain information required for verification. \n## Authentication\nYour Adyen contact will provide your API credential and an API key. To connect to the API, add an `X-API-Key` header with the API key as the value. For example:\n\n```\ncurl\n-H \"X-API-Key: YOUR_API_KEY\" \\n-H \"Content-Type: application/json\" \\n...\n```\nAlternatively, you can use the username and password of your API credential to connect to the API using basic authentication. For example:\n\n```\ncurl\n-U \"ws_123456@Scope.Company_YOUR_COMPANY_ACCOUNT\":\"YourWsPassword\" \\n-H \"Content-Type: application/json\" \\n...\n```\n## Versioning\nThe Legal Entity Management API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number.\n\nFor example:\n```\nhttps://kyc-test.adyen.com/lem/v1/legalEntities\n```\n## Going live\nWhen going live, your Adyen contact will provide your API credential for the live environment. You can then use the API key or the username and password to send requests to `https://kyc-live.adyen.com/lem/v1`.\n\n", "type": "text/markdown" }, "version": "1", @@ -14,207 +14,442 @@ "item": [ { "name": "/legalEntities", - "description": "Creates a legal entity. This resource contains information about the user that will be onboarded in your platform. Adyen uses this information to perform verification checks as required by payment industry regulations. Adyen informs you of the verification results through webhooks or API responses. >If you are using hosted onboarding and just beginning your integration, use v3 for your API requests. Otherwise, use v2. ", + "description": "Creates a legal entity. This resource contains information about the user that will be onboarded in your platform. Adyen uses this information to perform verification checks as required by payment industry regulations. Adyen informs you of the verification results through webhooks or API responses. ", "item": [ { "name": "Create a legal entity for an individual residing in the Netherlands", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "x-requested-verification-code", - "value": "", - "description": "Use a suberror code as your requested verification code. You can include one code at a time in your request header. Requested verification codes can only be used in your test environment.", - "disabled": true + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "x-requested-verification-code", + "value": "", + "description": "Use a suberror code as your requested verification code. You can include one code at a time in your request header. Requested verification codes can only be used in your test environment.", + "disabled": true + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"type\" : \"individual\",\n \"individual\" : {\n \"residentialAddress\" : {\n \"city\" : \"Amsterdam\",\n \"country\" : \"NL\",\n \"postalCode\" : \"1011DJ\",\n \"street\" : \"Simon Carmiggeltstraat 6 - 50\"\n },\n \"name\" : {\n \"firstName\" : \"Shelly\",\n \"lastName\" : \"Eller\"\n },\n \"birthData\" : {\n \"dateOfBirth\" : \"1990-06-21\"\n },\n \"email\" : \"s.eller@example.com\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/legalEntities", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "legalEntities" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates a legal entity. This resource contains information about the user that will be onboarded in your platform. Adyen uses this information to perform verification checks as required by payment industry regulations. Adyen informs you of the verification results through webhooks or API responses. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"individual\" : {\n \"email\" : \"s.eller@example.com\",\n \"birthData\" : {\n \"dateOfBirth\" : \"1990-06-21\"\n },\n \"name\" : {\n \"firstName\" : \"Shelly\",\n \"lastName\" : \"Eller\"\n },\n \"residentialAddress\" : {\n \"city\" : \"Amsterdam\",\n \"country\" : \"NL\",\n \"postalCode\" : \"1011DJ\",\n \"street\" : \"Simon Carmiggeltstraat 6 - 50\"\n }\n },\n \"type\" : \"individual\",\n \"id\" : \"LE00000000000000000000001\"\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "x-requested-verification-code", + "value": "", + "description": "Use a suberror code as your requested verification code. You can include one code at a time in your request header. Requested verification codes can only be used in your test environment.", + "disabled": true + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"type\" : \"individual\",\n \"individual\" : {\n \"residentialAddress\" : {\n \"city\" : \"Amsterdam\",\n \"country\" : \"NL\",\n \"postalCode\" : \"1011DJ\",\n \"street\" : \"Simon Carmiggeltstraat 6 - 50\"\n },\n \"name\" : {\n \"firstName\" : \"Shelly\",\n \"lastName\" : \"Eller\"\n },\n \"birthData\" : {\n \"dateOfBirth\" : \"1990-06-21\"\n },\n \"email\" : \"s.eller@example.com\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/legalEntities", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "legalEntities" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates a legal entity. This resource contains information about the user that will be onboarded in your platform. Adyen uses this information to perform verification checks as required by payment industry regulations. Adyen informs you of the verification results through webhooks or API responses. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"type\" : \"individual\",\n \"individual\" : {\n \"residentialAddress\" : {\n \"city\" : \"Amsterdam\",\n \"country\" : \"NL\",\n \"postalCode\" : \"1011DJ\",\n \"street\" : \"Simon Carmiggeltstraat 6 - 50\"\n },\n \"name\" : {\n \"firstName\" : \"Shelly\",\n \"lastName\" : \"Eller\"\n },\n \"birthData\" : {\n \"dateOfBirth\" : \"1990-06-21\"\n },\n \"email\" : \"s.eller@example.com\"\n }\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/legalEntities", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "legalEntities" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Creates a legal entity. This resource contains information about the user that will be onboarded in your platform. Adyen uses this information to perform verification checks as required by payment industry regulations. Adyen informs you of the verification results through webhooks or API responses. >If you are using hosted onboarding and just beginning your integration, use v3 for your API requests. Otherwise, use v2. " - } + ] }, { "name": "Create a legal entity for an individual residing in the US", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "x-requested-verification-code", - "value": "", - "description": "Use a suberror code as your requested verification code. You can include one code at a time in your request header. Requested verification codes can only be used in your test environment.", - "disabled": true + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "x-requested-verification-code", + "value": "", + "description": "Use a suberror code as your requested verification code. You can include one code at a time in your request header. Requested verification codes can only be used in your test environment.", + "disabled": true + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"type\" : \"individual\",\n \"individual\" : {\n \"residentialAddress\" : {\n \"city\" : \"New York\",\n \"country\" : \"US\",\n \"postalCode\" : \"10003\",\n \"stateOrProvince\" : \"NY\",\n \"street\" : \"71 5th Avenue\",\n \"street2\" : \"11th floor\"\n },\n \"phone\" : {\n \"number\" : \"+14153671502\",\n \"type\" : \"mobile\"\n },\n \"name\" : {\n \"firstName\" : \"Shelly\",\n \"lastName\" : \"Eller\"\n },\n \"birthData\" : {\n \"dateOfBirth\" : \"1990-06-21\"\n },\n \"email\" : \"s.eller@example.com\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/legalEntities", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "legalEntities" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates a legal entity. This resource contains information about the user that will be onboarded in your platform. Adyen uses this information to perform verification checks as required by payment industry regulations. Adyen informs you of the verification results through webhooks or API responses. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"individual\" : {\n \"email\" : \"s.eller@example.com\",\n \"phone\" : {\n \"number\" : \"+14153671502\",\n \"type\" : \"mobile\"\n },\n \"birthData\" : {\n \"dateOfBirth\" : \"1990-06-21\"\n },\n \"name\" : {\n \"firstName\" : \"Shelly\",\n \"lastName\" : \"Eller\"\n },\n \"residentialAddress\" : {\n \"city\" : \"New York\",\n \"country\" : \"US\",\n \"postalCode\" : \"10003\",\n \"stateOrProvince\" : \"NY\",\n \"street\" : \"71 5th Avenue\",\n \"street2\" : \"11th floor\"\n }\n },\n \"type\" : \"individual\",\n \"id\" : \"LE00000000000000000000001\"\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "x-requested-verification-code", + "value": "", + "description": "Use a suberror code as your requested verification code. You can include one code at a time in your request header. Requested verification codes can only be used in your test environment.", + "disabled": true + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"type\" : \"individual\",\n \"individual\" : {\n \"residentialAddress\" : {\n \"city\" : \"New York\",\n \"country\" : \"US\",\n \"postalCode\" : \"10003\",\n \"stateOrProvince\" : \"NY\",\n \"street\" : \"71 5th Avenue\",\n \"street2\" : \"11th floor\"\n },\n \"phone\" : {\n \"number\" : \"+14153671502\",\n \"type\" : \"mobile\"\n },\n \"name\" : {\n \"firstName\" : \"Shelly\",\n \"lastName\" : \"Eller\"\n },\n \"birthData\" : {\n \"dateOfBirth\" : \"1990-06-21\"\n },\n \"email\" : \"s.eller@example.com\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/legalEntities", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "legalEntities" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates a legal entity. This resource contains information about the user that will be onboarded in your platform. Adyen uses this information to perform verification checks as required by payment industry regulations. Adyen informs you of the verification results through webhooks or API responses. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"type\" : \"individual\",\n \"individual\" : {\n \"residentialAddress\" : {\n \"city\" : \"New York\",\n \"country\" : \"US\",\n \"postalCode\" : \"10003\",\n \"stateOrProvince\" : \"NY\",\n \"street\" : \"71 5th Avenue\",\n \"street2\" : \"11th floor\"\n },\n \"phone\" : {\n \"number\" : \"+14153671502\",\n \"type\" : \"mobile\"\n },\n \"name\" : {\n \"firstName\" : \"Shelly\",\n \"lastName\" : \"Eller\"\n },\n \"birthData\" : {\n \"dateOfBirth\" : \"1990-06-21\"\n },\n \"email\" : \"s.eller@example.com\"\n }\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/legalEntities", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "legalEntities" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Creates a legal entity. This resource contains information about the user that will be onboarded in your platform. Adyen uses this information to perform verification checks as required by payment industry regulations. Adyen informs you of the verification results through webhooks or API responses. >If you are using hosted onboarding and just beginning your integration, use v3 for your API requests. Otherwise, use v2. " - } + ] }, { "name": "Create a legal entity for a Dutch organization", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "x-requested-verification-code", - "value": "", - "description": "Use a suberror code as your requested verification code. You can include one code at a time in your request header. Requested verification codes can only be used in your test environment.", - "disabled": true + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "x-requested-verification-code", + "value": "", + "description": "Use a suberror code as your requested verification code. You can include one code at a time in your request header. Requested verification codes can only be used in your test environment.", + "disabled": true + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"type\" : \"organization\",\n \"organization\" : {\n \"legalName\" : \"Explorer Company based in NL\",\n \"doingBusinessAs\" : \"API Company Trading\",\n \"type\" : \"privateCompany\",\n \"registeredAddress\" : {\n \"city\" : \"Amsterdam\",\n \"country\" : \"NL\",\n \"postalCode\" : \"1011DJ\",\n \"street\" : \"Simon Carmiggeltstraat 6 - 50\"\n },\n \"registrationNumber\" : \"34179503\",\n \"email\" : \"organization@example.com\"\n },\n \"entityAssociations\" : [ {\n \"jobTitle\" : \"CEO\",\n \"legalEntityId\" : \"LE00000000000000000000001\",\n \"type\" : \"signatory\"\n } ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/legalEntities", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "legalEntities" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates a legal entity. This resource contains information about the user that will be onboarded in your platform. Adyen uses this information to perform verification checks as required by payment industry regulations. Adyen informs you of the verification results through webhooks or API responses. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"entityAssociations\" : [ {\n \"associatorId\" : \"LE00000000000000000000002\",\n \"entityType\" : \"individual\",\n \"jobTitle\" : \"CEO\",\n \"legalEntityId\" : \"LE00000000000000000000001\",\n \"name\" : \"Simone Hopper\",\n \"type\" : \"signatory\"\n } ],\n \"organization\" : {\n \"email\" : \"organization@example.com\",\n \"doingBusinessAs\" : \"API Company Trading\",\n \"legalName\" : \"Explorer Company based in NL\",\n \"registeredAddress\" : {\n \"city\" : \"Amsterdam\",\n \"country\" : \"NL\",\n \"postalCode\" : \"1011DJ\",\n \"street\" : \"Simon Carmiggeltstraat 6 - 50\"\n },\n \"registrationNumber\" : \"34179503\",\n \"type\" : \"privateCompany\"\n },\n \"type\" : \"organization\",\n \"id\" : \"LE00000000000000000000002\"\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "x-requested-verification-code", + "value": "", + "description": "Use a suberror code as your requested verification code. You can include one code at a time in your request header. Requested verification codes can only be used in your test environment.", + "disabled": true + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"type\" : \"organization\",\n \"organization\" : {\n \"legalName\" : \"Explorer Company based in NL\",\n \"doingBusinessAs\" : \"API Company Trading\",\n \"type\" : \"privateCompany\",\n \"registeredAddress\" : {\n \"city\" : \"Amsterdam\",\n \"country\" : \"NL\",\n \"postalCode\" : \"1011DJ\",\n \"street\" : \"Simon Carmiggeltstraat 6 - 50\"\n },\n \"registrationNumber\" : \"34179503\",\n \"email\" : \"organization@example.com\"\n },\n \"entityAssociations\" : [ {\n \"jobTitle\" : \"CEO\",\n \"legalEntityId\" : \"LE00000000000000000000001\",\n \"type\" : \"signatory\"\n } ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/legalEntities", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "legalEntities" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates a legal entity. This resource contains information about the user that will be onboarded in your platform. Adyen uses this information to perform verification checks as required by payment industry regulations. Adyen informs you of the verification results through webhooks or API responses. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"type\" : \"organization\",\n \"organization\" : {\n \"legalName\" : \"Explorer Company based in NL\",\n \"doingBusinessAs\" : \"API Company Trading\",\n \"type\" : \"privateCompany\",\n \"registeredAddress\" : {\n \"city\" : \"Amsterdam\",\n \"country\" : \"NL\",\n \"postalCode\" : \"1011DJ\",\n \"street\" : \"Simon Carmiggeltstraat 6 - 50\"\n },\n \"registrationNumber\" : \"34179503\",\n \"email\" : \"organization@example.com\"\n },\n \"entityAssociations\" : [ {\n \"jobTitle\" : \"CEO\",\n \"legalEntityId\" : \"LE00000000000000000000001\",\n \"type\" : \"signatory\"\n } ]\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/legalEntities", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "legalEntities" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Creates a legal entity. This resource contains information about the user that will be onboarded in your platform. Adyen uses this information to perform verification checks as required by payment industry regulations. Adyen informs you of the verification results through webhooks or API responses. >If you are using hosted onboarding and just beginning your integration, use v3 for your API requests. Otherwise, use v2. " - } + ] }, { "name": "Create a legal entity for an organization in the US", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "x-requested-verification-code", - "value": "", - "description": "Use a suberror code as your requested verification code. You can include one code at a time in your request header. Requested verification codes can only be used in your test environment.", - "disabled": true + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "x-requested-verification-code", + "value": "", + "description": "Use a suberror code as your requested verification code. You can include one code at a time in your request header. Requested verification codes can only be used in your test environment.", + "disabled": true + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"type\" : \"organization\",\n \"organization\" : {\n \"legalName\" : \"Explorer Company based in US\",\n \"registrationNumber\" : \"101002749\",\n \"type\" : \"privateCompany\",\n \"registeredAddress\" : {\n \"city\" : \"New York\",\n \"country\" : \"US\",\n \"postalCode\" : \"10003\",\n \"stateOrProvince\" : \"NY\",\n \"street\" : \"71 5th Avenue\",\n \"street2\" : \"11th floor\"\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/legalEntities", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "legalEntities" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates a legal entity. This resource contains information about the user that will be onboarded in your platform. Adyen uses this information to perform verification checks as required by payment industry regulations. Adyen informs you of the verification results through webhooks or API responses. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"organization\" : {\n \"legalName\" : \"Explorer Company based in US\",\n \"registrationNumber\" : \"101002749\",\n \"registeredAddress\" : {\n \"city\" : \"New York\",\n \"country\" : \"US\",\n \"postalCode\" : \"10003\",\n \"stateOrProvince\" : \"NY\",\n \"street\" : \"71 5th Avenue\",\n \"street2\" : \"11th floor\"\n },\n \"taxExempt\" : false,\n \"type\" : \"privateCompany\"\n },\n \"type\" : \"organization\",\n \"id\" : \"LE00000000000000000000001\"\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "x-requested-verification-code", + "value": "", + "description": "Use a suberror code as your requested verification code. You can include one code at a time in your request header. Requested verification codes can only be used in your test environment.", + "disabled": true + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"type\" : \"organization\",\n \"organization\" : {\n \"legalName\" : \"Explorer Company based in US\",\n \"registrationNumber\" : \"101002749\",\n \"type\" : \"privateCompany\",\n \"registeredAddress\" : {\n \"city\" : \"New York\",\n \"country\" : \"US\",\n \"postalCode\" : \"10003\",\n \"stateOrProvince\" : \"NY\",\n \"street\" : \"71 5th Avenue\",\n \"street2\" : \"11th floor\"\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/legalEntities", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "legalEntities" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates a legal entity. This resource contains information about the user that will be onboarded in your platform. Adyen uses this information to perform verification checks as required by payment industry regulations. Adyen informs you of the verification results through webhooks or API responses. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"type\" : \"organization\",\n \"organization\" : {\n \"legalName\" : \"Explorer Company based in US\",\n \"registrationNumber\" : \"101002749\",\n \"type\" : \"privateCompany\",\n \"registeredAddress\" : {\n \"city\" : \"New York\",\n \"country\" : \"US\",\n \"postalCode\" : \"10003\",\n \"stateOrProvince\" : \"NY\",\n \"street\" : \"71 5th Avenue\",\n \"street2\" : \"11th floor\"\n }\n }\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/legalEntities", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "legalEntities" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Creates a legal entity. This resource contains information about the user that will be onboarded in your platform. Adyen uses this information to perform verification checks as required by payment industry regulations. Adyen informs you of the verification results through webhooks or API responses. >If you are using hosted onboarding and just beginning your integration, use v3 for your API requests. Otherwise, use v2. " - } + ] } ] - } -, + }, { "name": "/legalEntities/:id", "description": "Returns a legal entity.", @@ -222,49 +457,50 @@ { "name": "Get a legal entity", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/legalEntities/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "legalEntities", - ":id" - ], - "variable": [ - { - "key": "id", - "value": "", - "description": "The unique identifier of the legal entity." - } - ], - "query": [ - ] - }, - "description": "Returns a legal entity." - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/legalEntities/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "legalEntities", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "The unique identifier of the legal entity." + } + ], + "query": [ + ] + }, + "description": "Returns a legal entity." +} + ,"response": [ + ] } ] - } -, + }, { "name": "/legalEntities/:id", "description": "Updates a legal entity. >To change the legal entity type, include only the new `type` in your request. To update the `entityAssociations` array, you need to replace the entire array. For example, if the array has 3 entries and you want to remove 1 entry, you need to PATCH the resource with the remaining 2 entries.", @@ -272,116 +508,245 @@ { "name": "Change a legal entity from an organization to an individual", "request": { - "method": "PATCH", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "x-requested-verification-code", - "value": "", - "description": "Use the requested verification code 0_0001 to resolve any suberrors associated with the legal entity. Requested verification codes can only be used in your test environment.", - "disabled": true + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "x-requested-verification-code", + "value": "", + "description": "Use the requested verification code 0_0001 to resolve any suberrors associated with the legal entity. Requested verification codes can only be used in your test environment.", + "disabled": true + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"type\" : \"individual\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/legalEntities/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "legalEntities", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "The unique identifier of the legal entity." + } + ], + "query": [ + ] + }, + "description": "Updates a legal entity. >To change the legal entity type, include only the new `type` in your request. To update the `entityAssociations` array, you need to replace the entire array. For example, if the array has 3 entries and you want to remove 1 entry, you need to PATCH the resource with the remaining 2 entries." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"individual\" : {\n \"name\" : {\n \"firstName\" : \"Explorer\",\n \"lastName\" : \"Company based in US\"\n },\n \"residentialAddress\" : {\n \"country\" : \"US\"\n }\n },\n \"type\" : \"individual\",\n \"id\" : \"LE00000000000000000000001\"\n}", + "originalRequest": { + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "x-requested-verification-code", + "value": "", + "description": "Use the requested verification code 0_0001 to resolve any suberrors associated with the legal entity. Requested verification codes can only be used in your test environment.", + "disabled": true + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"type\" : \"individual\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/legalEntities/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "legalEntities", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "The unique identifier of the legal entity." + } + ], + "query": [ + ] + }, + "description": "Updates a legal entity. >To change the legal entity type, include only the new `type` in your request. To update the `entityAssociations` array, you need to replace the entire array. For example, if the array has 3 entries and you want to remove 1 entry, you need to PATCH the resource with the remaining 2 entries." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"type\" : \"individual\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/legalEntities/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "legalEntities", - ":id" - ], - "variable": [ - { - "key": "id", - "value": "", - "description": "The unique identifier of the legal entity." - } - ], - "query": [ - ] - }, - "description": "Updates a legal entity. >To change the legal entity type, include only the new `type` in your request. To update the `entityAssociations` array, you need to replace the entire array. For example, if the array has 3 entries and you want to remove 1 entry, you need to PATCH the resource with the remaining 2 entries." - } + ] }, { "name": "Add entity associations to an organization", "request": { - "method": "PATCH", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "x-requested-verification-code", - "value": "", - "description": "Use the requested verification code 0_0001 to resolve any suberrors associated with the legal entity. Requested verification codes can only be used in your test environment.", - "disabled": true + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "x-requested-verification-code", + "value": "", + "description": "Use the requested verification code 0_0001 to resolve any suberrors associated with the legal entity. Requested verification codes can only be used in your test environment.", + "disabled": true + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"entityAssociations\" : [ {\n \"jobTitle\" : \"CEO\",\n \"legalEntityId\" : \"LE00000000000000000000001\",\n \"type\" : \"uboThroughControl\"\n } ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/legalEntities/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "legalEntities", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "The unique identifier of the legal entity." + } + ], + "query": [ + ] + }, + "description": "Updates a legal entity. >To change the legal entity type, include only the new `type` in your request. To update the `entityAssociations` array, you need to replace the entire array. For example, if the array has 3 entries and you want to remove 1 entry, you need to PATCH the resource with the remaining 2 entries." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"entityAssociations\" : [ {\n \"associatorId\" : \"LE00000000000000000000002\",\n \"entityType\" : \"individual\",\n \"jobTitle\" : \"CEO\",\n \"legalEntityId\" : \"LE00000000000000000000001\",\n \"name\" : \"Simone Hopper\",\n \"type\" : \"uboThroughControl\"\n } ],\n \"organization\" : {\n \"email\" : \"john.doe@adyen.com\",\n \"phone\" : {\n \"countryCode\" : \"NL\",\n \"number\" : \"646467363\",\n \"type\" : \"mobile\"\n },\n \"description\" : \"FinTech\",\n \"doingBusinessAs\" : \"Adyen BV\",\n \"legalName\" : \"Adyen BV\",\n \"registeredAddress\" : {\n \"city\" : \"AMS\",\n \"country\" : \"NL\",\n \"postalCode\" : \"1234EE\",\n \"stateOrProvince\" : \"NH\",\n \"street\" : \"Simon Carmiggeltstraat 6 - 50\"\n },\n \"registrationNumber\" : \"\",\n \"stockData\" : {\n \"marketIdentifier\" : \"ADYN\",\n \"stockNumber\" : \"NL012345ABC4\",\n \"tickerSymbol\" : \"ADYN.M\"\n },\n \"taxExempt\" : false,\n \"type\" : \"listedPublicCompany\"\n },\n \"type\" : \"organization\",\n \"id\" : \"LE00000000000000000000002\"\n}", + "originalRequest": { + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "x-requested-verification-code", + "value": "", + "description": "Use the requested verification code 0_0001 to resolve any suberrors associated with the legal entity. Requested verification codes can only be used in your test environment.", + "disabled": true + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"entityAssociations\" : [ {\n \"jobTitle\" : \"CEO\",\n \"legalEntityId\" : \"LE00000000000000000000001\",\n \"type\" : \"uboThroughControl\"\n } ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/legalEntities/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "legalEntities", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "The unique identifier of the legal entity." + } + ], + "query": [ + ] + }, + "description": "Updates a legal entity. >To change the legal entity type, include only the new `type` in your request. To update the `entityAssociations` array, you need to replace the entire array. For example, if the array has 3 entries and you want to remove 1 entry, you need to PATCH the resource with the remaining 2 entries." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"entityAssociations\" : [ {\n \"jobTitle\" : \"CEO\",\n \"legalEntityId\" : \"LE00000000000000000000001\",\n \"type\" : \"uboThroughControl\"\n } ]\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/legalEntities/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "legalEntities", - ":id" - ], - "variable": [ - { - "key": "id", - "value": "", - "description": "The unique identifier of the legal entity." - } - ], - "query": [ - ] - }, - "description": "Updates a legal entity. >To change the legal entity type, include only the new `type` in your request. To update the `entityAssociations` array, you need to replace the entire array. For example, if the array has 3 entries and you want to remove 1 entry, you need to PATCH the resource with the remaining 2 entries." - } + ] } ] - } -, + }, { "name": "/legalEntities/:id/businessLines", "description": "Returns the business lines owned by a legal entity.", @@ -389,50 +754,51 @@ { "name": "Get all business lines under a legal entity", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/legalEntities/:id/businessLines", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "legalEntities", - ":id", - "businessLines" - ], - "variable": [ - { - "key": "id", - "value": "", - "description": "The unique identifier of the legal entity." - } - ], - "query": [ - ] - }, - "description": "Returns the business lines owned by a legal entity." - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/legalEntities/:id/businessLines", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "legalEntities", + ":id", + "businessLines" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "The unique identifier of the legal entity." + } + ], + "query": [ + ] + }, + "description": "Returns the business lines owned by a legal entity." +} + ,"response": [ + ] } ] } - ] }, { @@ -440,155 +806,216 @@ "item": [ { "name": "/legalEntities/:id/onboardingLinks", - "description": "Returns a link to an Adyen-hosted onboarding page where you need to redirect your user. >If you are using hosted onboarding and just beginning your integration, use v3 for your API requests. Otherwise, use v2. ", + "description": "Returns a link to an Adyen-hosted onboarding page where you need to redirect your user. ", "item": [ { "name": "Create a hosted onboarding link", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"themeId\" : \"YOUR_THEME_ID\",\n \"redirectUrl\" : \"https://your.redirect-url.com/\",\n \"locale\" : \"nl-NL\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/legalEntities/:id/onboardingLinks", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "legalEntities", + ":id", + "onboardingLinks" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "The unique identifier of the legal entity" + } + ], + "query": [ + ] + }, + "description": "Returns a link to an Adyen-hosted onboarding page where you need to redirect your user. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"url\" : \"https://balanceplatform-test.adyen.com/balanceplatform/uo/form/xtl-...?signature=..&cd=..&redirectUrl=https%3A%2F%2Fyour.redirect-url.com%2F&expiry=1667226404807&locale=nl-NL\"\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"themeId\" : \"YOUR_THEME_ID\",\n \"redirectUrl\" : \"https://your.redirect-url.com/\",\n \"locale\" : \"nl-NL\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/legalEntities/:id/onboardingLinks", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "legalEntities", + ":id", + "onboardingLinks" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "The unique identifier of the legal entity" + } + ], + "query": [ + ] + }, + "description": "Returns a link to an Adyen-hosted onboarding page where you need to redirect your user. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"themeId\" : \"YOUR_THEME_ID\",\n \"redirectUrl\" : \"https://your.redirect-url.com/\",\n \"locale\" : \"nl-NL\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/legalEntities/:id/onboardingLinks", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "legalEntities", - ":id", - "onboardingLinks" - ], - "variable": [ - { - "key": "id", - "value": "", - "description": "The unique identifier of the legal entity" - } - ], - "query": [ - ] - }, - "description": "Returns a link to an Adyen-hosted onboarding page where you need to redirect your user. >If you are using hosted onboarding and just beginning your integration, use v3 for your API requests. Otherwise, use v2. " - } + ] } ] - } -, + }, { "name": "/themes", - "description": "Returns a list of hosted onboarding page themes. >If you are using hosted onboarding and just beginning your integration, use v3 for your API requests. Otherwise, use v2. ", + "description": "Returns a list of hosted onboarding page themes. ", "item": [ { "name": "Get a list of hosted onboarding page themes", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/themes", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "themes" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Returns a list of hosted onboarding page themes. >If you are using hosted onboarding and just beginning your integration, use v3 for your API requests. Otherwise, use v2. " - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/themes", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "themes" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Returns a list of hosted onboarding page themes. " +} + ,"response": [ + ] } ] - } -, + }, { "name": "/themes/:id", - "description": "Returns the details of the theme identified in the path.>If you are using hosted onboarding and just beginning your integration, use v3 for your API requests. Otherwise, use v2. ", + "description": "Returns the details of the theme identified in the path.", "item": [ { "name": "Get an onboarding link theme", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/themes/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "themes", - ":id" - ], - "variable": [ - { - "key": "id", - "value": "", - "description": "The unique identifier of the theme" - } - ], - "query": [ - ] - }, - "description": "Returns the details of the theme identified in the path.>If you are using hosted onboarding and just beginning your integration, use v3 for your API requests. Otherwise, use v2. " - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/themes/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "themes", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "The unique identifier of the theme" + } + ], + "query": [ + ] + }, + "description": "Returns the details of the theme identified in the path." +} + ,"response": [ + ] } ] } - ] }, { @@ -596,97 +1023,202 @@ "item": [ { "name": "/businessLines", - "description": "Creates a business line. This resource contains information about your user's line of business, including their industry and their source of funds. Adyen uses this information to verify your users as required by payment industry regulations. Adyen informs you of the verification results through webhooks or API responses. >If you are using hosted onboarding and just beginning your integration, use v3 for your API requests. Otherwise, use v2. ", + "description": "Creates a business line. This resource contains information about your user's line of business, including their industry and their source of funds. Adyen uses this information to verify your users as required by payment industry regulations. Adyen informs you of the verification results through webhooks or API responses. ", "item": [ { "name": "Create a business line for a business account", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"capability\" : \"issueBankAccount\",\n \"industryCode\" : \"4531\",\n \"webData\" : [ {\n \"webAddress\" : \"https://www.adyen.com\"\n } ],\n \"legalEntityId\" : \"LE00000000000000000000001\",\n \"sourceOfFunds\" : {\n \"type\" : \"business\",\n \"adyenProcessedFunds\" : false,\n \"description\" : \"Funds from my flower shop business\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/businessLines", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "businessLines" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates a business line. This resource contains information about your user's line of business, including their industry and their source of funds. Adyen uses this information to verify your users as required by payment industry regulations. Adyen informs you of the verification results through webhooks or API responses. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"capability\" : \"issueBankAccount\",\n \"industryCode\" : \"4531\",\n \"legalEntityId\" : \"LE00000000000000000000001\",\n \"sourceOfFunds\" : {\n \"adyenProcessedFunds\" : false,\n \"description\" : \"Funds from my flower shop business\",\n \"type\" : \"business\"\n },\n \"webData\" : [ {\n \"webAddress\" : \"https://www.adyen.com\"\n } ],\n \"id\" : \"SE322KT223222D5FJ7TJN2986\"\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"capability\" : \"issueBankAccount\",\n \"industryCode\" : \"4531\",\n \"webData\" : [ {\n \"webAddress\" : \"https://www.adyen.com\"\n } ],\n \"legalEntityId\" : \"LE00000000000000000000001\",\n \"sourceOfFunds\" : {\n \"type\" : \"business\",\n \"adyenProcessedFunds\" : false,\n \"description\" : \"Funds from my flower shop business\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/businessLines", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "businessLines" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates a business line. This resource contains information about your user's line of business, including their industry and their source of funds. Adyen uses this information to verify your users as required by payment industry regulations. Adyen informs you of the verification results through webhooks or API responses. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"capability\" : \"issueBankAccount\",\n \"industryCode\" : \"4531\",\n \"webData\" : [ {\n \"webAddress\" : \"https://www.adyen.com\"\n } ],\n \"legalEntityId\" : \"LE00000000000000000000001\",\n \"sourceOfFunds\" : {\n \"type\" : \"business\",\n \"adyenProcessedFunds\" : false,\n \"description\" : \"Funds from my flower shop business\"\n }\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/businessLines", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "businessLines" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Creates a business line. This resource contains information about your user's line of business, including their industry and their source of funds. Adyen uses this information to verify your users as required by payment industry regulations. Adyen informs you of the verification results through webhooks or API responses. >If you are using hosted onboarding and just beginning your integration, use v3 for your API requests. Otherwise, use v2. " - } + ] }, { "name": "Create a business line for receiving payments", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"capability\" : \"receivePayments\",\n \"salesChannels\" : [ \"eCommerce\", \"ecomMoto\" ],\n \"industryCode\" : \"339E\",\n \"legalEntityId\" : \"LE00000000000000000000001\",\n \"webData\" : [ {\n \"webAddress\" : \"https://yoururl.com\"\n } ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/businessLines", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "businessLines" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates a business line. This resource contains information about your user's line of business, including their industry and their source of funds. Adyen uses this information to verify your users as required by payment industry regulations. Adyen informs you of the verification results through webhooks or API responses. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"capability\" : \"receivePayments\",\n \"industryCode\" : \"339E\",\n \"legalEntityId\" : \"LE00000000000000000000001\",\n \"salesChannels\" : [ \"eCommerce\", \"ecomMoto\" ],\n \"webData\" : [ {\n \"webAddress\" : \"https://yoururl.com\"\n } ],\n \"id\" : \"SE322KT223222D5FJ7TJN2986\"\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"capability\" : \"receivePayments\",\n \"salesChannels\" : [ \"eCommerce\", \"ecomMoto\" ],\n \"industryCode\" : \"339E\",\n \"legalEntityId\" : \"LE00000000000000000000001\",\n \"webData\" : [ {\n \"webAddress\" : \"https://yoururl.com\"\n } ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/businessLines", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "businessLines" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates a business line. This resource contains information about your user's line of business, including their industry and their source of funds. Adyen uses this information to verify your users as required by payment industry regulations. Adyen informs you of the verification results through webhooks or API responses. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"capability\" : \"receivePayments\",\n \"salesChannels\" : [ \"eCommerce\", \"ecomMoto\" ],\n \"industryCode\" : \"339E\",\n \"legalEntityId\" : \"LE00000000000000000000001\",\n \"webData\" : [ {\n \"webAddress\" : \"https://yoururl.com\"\n } ]\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/businessLines", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "businessLines" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Creates a business line. This resource contains information about your user's line of business, including their industry and their source of funds. Adyen uses this information to verify your users as required by payment industry regulations. Adyen informs you of the verification results through webhooks or API responses. >If you are using hosted onboarding and just beginning your integration, use v3 for your API requests. Otherwise, use v2. " - } + ] } ] - } -, + }, { "name": "/businessLines/:id", "description": "Deletes a business line. >If you delete a business line linked to a [payment method](https://docs.adyen.com/development-resources/paymentmethodvariant#management-api), it can affect your merchant account's ability to use the [payment method](https://docs.adyen.com/api-explorer/Management/latest/post/merchants/_merchantId_/paymentMethodSettings). The business line is removed from all linked merchant accounts.", @@ -694,49 +1226,50 @@ { "name": "Delete a business line", "request": { - "method": "DELETE", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/businessLines/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "businessLines", - ":id" - ], - "variable": [ - { - "key": "id", - "value": "", - "description": "The unique identifier of the business line to be deleted." - } - ], - "query": [ - ] - }, - "description": "Deletes a business line. >If you delete a business line linked to a [payment method](https://docs.adyen.com/development-resources/paymentmethodvariant#management-api), it can affect your merchant account's ability to use the [payment method](https://docs.adyen.com/api-explorer/Management/latest/post/merchants/_merchantId_/paymentMethodSettings). The business line is removed from all linked merchant accounts." - } + "method": "DELETE", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/businessLines/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "businessLines", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "The unique identifier of the business line to be deleted." + } + ], + "query": [ + ] + }, + "description": "Deletes a business line. >If you delete a business line linked to a [payment method](https://docs.adyen.com/development-resources/paymentmethodvariant#management-api), it can affect your merchant account's ability to use the [payment method](https://docs.adyen.com/api-explorer/Management/latest/post/merchants/_merchantId_/paymentMethodSettings). The business line is removed from all linked merchant accounts." +} + ,"response": [ + ] } ] - } -, + }, { "name": "/businessLines/:id", "description": "Returns the detail of a business line.", @@ -744,49 +1277,50 @@ { "name": "Get a business line", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/businessLines/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "businessLines", - ":id" - ], - "variable": [ - { - "key": "id", - "value": "", - "description": "The unique identifier of the business line." - } - ], - "query": [ - ] - }, - "description": "Returns the detail of a business line." - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/businessLines/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "businessLines", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "The unique identifier of the business line." + } + ], + "query": [ + ] + }, + "description": "Returns the detail of a business line." +} + ,"response": [ + ] } ] } - ] }, { @@ -799,55 +1333,113 @@ { "name": "Upload a document", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "x-requested-verification-code", - "value": "", - "description": "Use a suberror code as your requested verification code. You can include one code at a time in your request header. Requested verification codes can only be used in your test environment.", - "disabled": true + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "x-requested-verification-code", + "value": "", + "description": "Use a suberror code as your requested verification code. You can include one code at a time in your request header. Requested verification codes can only be used in your test environment.", + "disabled": true + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"type\" : \"registrationDocument\",\n \"attachments\" : [ {\n \"content\" : \"JVBERi0xLjQKJcOkw7zDtsOfCjIgMCBv+f/ub0j6JPRX+E3EmC==\"\n } ],\n \"description\" : \"Registration doc for Example Company\",\n \"owner\" : {\n \"id\" : \"LE00000000000000000000001\",\n \"type\" : \"legalEntity\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/documents", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "documents" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Uploads a document for verification checks. Adyen uses the information from the [legal entity](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/legalEntities) to run automated verification checks. If these checks fail, you will be notified to provide additional documents. You should only upload documents when Adyen requests additional information for the legal entity. >You can upload a maximum of 15 pages for photo IDs." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"type\" : \"registrationDocument\",\n \"attachments\" : [ {\n \"content\" : \"JVBERi0xLjQKJcOkw7zDtsOfCjIgMCBv+f/ub0j6JPRX+E3EmC==\"\n } ],\n \"description\" : \"Registration doc for Example Company\",\n \"fileName\" : \"Registration doc for Example Company\",\n \"owner\" : {\n \"id\" : \"LE00000000000000000000001\",\n \"type\" : \"legalEntity\"\n },\n \"id\" : \"SE322JV223222F5GV2N9L8GDK\"\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "x-requested-verification-code", + "value": "", + "description": "Use a suberror code as your requested verification code. You can include one code at a time in your request header. Requested verification codes can only be used in your test environment.", + "disabled": true + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"type\" : \"registrationDocument\",\n \"attachments\" : [ {\n \"content\" : \"JVBERi0xLjQKJcOkw7zDtsOfCjIgMCBv+f/ub0j6JPRX+E3EmC==\"\n } ],\n \"description\" : \"Registration doc for Example Company\",\n \"owner\" : {\n \"id\" : \"LE00000000000000000000001\",\n \"type\" : \"legalEntity\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/documents", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "documents" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Uploads a document for verification checks. Adyen uses the information from the [legal entity](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/legalEntities) to run automated verification checks. If these checks fail, you will be notified to provide additional documents. You should only upload documents when Adyen requests additional information for the legal entity. >You can upload a maximum of 15 pages for photo IDs." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"type\" : \"registrationDocument\",\n \"attachments\" : [ {\n \"content\" : \"JVBERi0xLjQKJcOkw7zDtsOfCjIgMCBv+f/ub0j6JPRX+E3EmC==\"\n } ],\n \"description\" : \"Registration doc for Example Company\",\n \"owner\" : {\n \"id\" : \"LE00000000000000000000001\",\n \"type\" : \"legalEntity\"\n }\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/documents", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "documents" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Uploads a document for verification checks. Adyen uses the information from the [legal entity](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/legalEntities) to run automated verification checks. If these checks fail, you will be notified to provide additional documents. You should only upload documents when Adyen requests additional information for the legal entity. >You can upload a maximum of 15 pages for photo IDs." - } + ] } ] - } -, + }, { "name": "/documents/:id", "description": "Deletes a document.", @@ -855,49 +1447,50 @@ { "name": "Delete a document", "request": { - "method": "DELETE", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/documents/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "documents", - ":id" - ], - "variable": [ - { - "key": "id", - "value": "", - "description": "The unique identifier of the document to be deleted." - } - ], - "query": [ - ] - }, - "description": "Deletes a document." - } + "method": "DELETE", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/documents/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "documents", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "The unique identifier of the document to be deleted." + } + ], + "query": [ + ] + }, + "description": "Deletes a document." +} + ,"response": [ + ] } ] - } -, + }, { "name": "/documents/:id", "description": "Returns a document.", @@ -905,55 +1498,56 @@ { "name": "Get a document", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/documents/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "documents", - ":id" - ], - "variable": [ - { - "key": "id", - "value": "", - "description": "The unique identifier of the document." - } - ], - "query": [ - { - "key": "skipContent", - "value": "true", - "description": "Do not load document content while fetching the document.", - "disabled": true - } - ] - }, - "description": "Returns a document." - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/documents/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "documents", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "The unique identifier of the document." + } + ], + "query": [ + { + "key": "skipContent", + "value": "true", + "description": "Do not load document content while fetching the document.", + "disabled": true + } + ] + }, + "description": "Returns a document." +} + ,"response": [ + ] } ] - } -, + }, { "name": "/documents/:id", "description": "Updates a document. >You can upload a maximum of 15 pages for photo IDs.", @@ -961,61 +1555,125 @@ { "name": "Update a document", "request": { - "method": "PATCH", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "x-requested-verification-code", - "value": "", - "description": "Use the requested verification code 0_0001 to resolve any suberrors associated with the document. Requested verification codes can only be used in your test environment.", - "disabled": true + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "x-requested-verification-code", + "value": "", + "description": "Use the requested verification code 0_0001 to resolve any suberrors associated with the document. Requested verification codes can only be used in your test environment.", + "disabled": true + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"type\" : \"proofOfIndustry\",\n \"description\" : \"Proof of industry doc for Example Company\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/documents/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "documents", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "The unique identifier of the document to be updated." + } + ], + "query": [ + ] + }, + "description": "Updates a document. >You can upload a maximum of 15 pages for photo IDs." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"type\" : \"proofOfIndustry\",\n \"attachments\" : [ {\n \"content\" : \"JVBERi0xLjQKJcOkw7zDtsOfCjIgMCBv+f/ub0j6JPRX+E3EmC==\"\n } ],\n \"description\" : \"Proof of industry for Example Company\",\n \"fileName\" : \"Proof of industry for Example Company\",\n \"owner\" : {\n \"id\" : \"LE00000000000000000000001\",\n \"type\" : \"legalEntity\"\n },\n \"id\" : \"SE322JV223222F5GV2N9L8GDK\"\n}", + "originalRequest": { + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "x-requested-verification-code", + "value": "", + "description": "Use the requested verification code 0_0001 to resolve any suberrors associated with the document. Requested verification codes can only be used in your test environment.", + "disabled": true + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"type\" : \"proofOfIndustry\",\n \"description\" : \"Proof of industry doc for Example Company\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/documents/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "documents", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "The unique identifier of the document to be updated." + } + ], + "query": [ + ] + }, + "description": "Updates a document. >You can upload a maximum of 15 pages for photo IDs." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"type\" : \"proofOfIndustry\",\n \"description\" : \"Proof of industry doc for Example Company\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/documents/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "documents", - ":id" - ], - "variable": [ - { - "key": "id", - "value": "", - "description": "The unique identifier of the document to be updated." - } - ], - "query": [ - ] - }, - "description": "Updates a document. >You can upload a maximum of 15 pages for photo IDs." - } + ] } ] } - ] }, { @@ -1028,56 +1686,115 @@ { "name": "Get the Terms of Service document", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"type\" : \"adyenIssuing\",\n \"language\" : \"en\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/legalEntities/:id/termsOfService", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "legalEntities", + ":id", + "termsOfService" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "The unique identifier of the legal entity. For sole proprietorships, this is the individual legal entity ID of the owner." + } + ], + "query": [ + ] + }, + "description": "Returns the Terms of Service document for a legal entity." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"id\" : \"LE00000000000000000000001\",\n \"type\" : \"adyenIssuing\",\n \"language\" : \"en\",\n \"document\" : \"JVBERi0xLjQKJcOkw7zDtsOfCjIgMCBv+f/ub0j6JPRX+E3EmC==\",\n \"termsOfServiceDocumentId\" : \"abc123\"\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"type\" : \"adyenIssuing\",\n \"language\" : \"en\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/legalEntities/:id/termsOfService", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "legalEntities", + ":id", + "termsOfService" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "The unique identifier of the legal entity. For sole proprietorships, this is the individual legal entity ID of the owner." + } + ], + "query": [ + ] + }, + "description": "Returns the Terms of Service document for a legal entity." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"type\" : \"adyenIssuing\",\n \"language\" : \"en\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/legalEntities/:id/termsOfService", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "legalEntities", - ":id", - "termsOfService" - ], - "variable": [ - { - "key": "id", - "value": "", - "description": "The unique identifier of the legal entity. For sole proprietorships, this is the individual legal entity ID of the owner." - } - ], - "query": [ - ] - }, - "description": "Returns the Terms of Service document for a legal entity." - } + ] } ] - } -, + }, { "name": "/legalEntities/:id/termsOfService/:termsofservicedocumentid", "description": "Accepts Terms of Service.", @@ -1085,62 +1802,127 @@ { "name": "Accept the Terms of Service document", "request": { - "method": "PATCH", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"acceptedBy\" : \"LE00000000000000000000002\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/legalEntities/:id/termsOfService/:termsofservicedocumentid", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "legalEntities", + ":id", + "termsOfService", + ":termsofservicedocumentid" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "The unique identifier of the legal entity. For sole proprietorships, this is the individual legal entity ID of the owner." + }, + { + "key": "termsofservicedocumentid", + "value": "", + "description": "The unique identifier of the Terms of Service document." + } + ], + "query": [ + ] + }, + "description": "Accepts Terms of Service." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"acceptedBy\" : \"LE00000000000000000000002\",\n \"id\" : \"TOSA000AB00000000B2AAAB2BA0AA0\",\n \"language\" : \"en\",\n \"termsOfServiceDocumentId\" : \"abc123\",\n \"type\" : \"adyenIssuing\"\n}", + "originalRequest": { + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"acceptedBy\" : \"LE00000000000000000000002\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/legalEntities/:id/termsOfService/:termsofservicedocumentid", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "legalEntities", + ":id", + "termsOfService", + ":termsofservicedocumentid" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "The unique identifier of the legal entity. For sole proprietorships, this is the individual legal entity ID of the owner." + }, + { + "key": "termsofservicedocumentid", + "value": "", + "description": "The unique identifier of the Terms of Service document." + } + ], + "query": [ + ] + }, + "description": "Accepts Terms of Service." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"acceptedBy\" : \"LE00000000000000000000002\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/legalEntities/:id/termsOfService/:termsofservicedocumentid", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "legalEntities", - ":id", - "termsOfService", - ":termsofservicedocumentid" - ], - "variable": [ - { - "key": "id", - "value": "", - "description": "The unique identifier of the legal entity. For sole proprietorships, this is the individual legal entity ID of the owner." - }, - { - "key": "termsofservicedocumentid", - "value": "", - "description": "The unique identifier of the Terms of Service document." - } - ], - "query": [ - ] - }, - "description": "Accepts Terms of Service." - } + ] } ] - } -, + }, { "name": "/legalEntities/:id/termsOfServiceAcceptanceInfos", "description": "Returns Terms of Service information for a legal entity.", @@ -1148,50 +1930,51 @@ { "name": "Get Terms of Service information for a legal entity", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/legalEntities/:id/termsOfServiceAcceptanceInfos", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "legalEntities", - ":id", - "termsOfServiceAcceptanceInfos" - ], - "variable": [ - { - "key": "id", - "value": "", - "description": "The unique identifier of the legal entity. For sole proprietorships, this is the individual legal entity ID of the owner." - } - ], - "query": [ - ] - }, - "description": "Returns Terms of Service information for a legal entity." - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/legalEntities/:id/termsOfServiceAcceptanceInfos", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "legalEntities", + ":id", + "termsOfServiceAcceptanceInfos" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "The unique identifier of the legal entity. For sole proprietorships, this is the individual legal entity ID of the owner." + } + ], + "query": [ + ] + }, + "description": "Returns Terms of Service information for a legal entity." +} + ,"response": [ + ] } ] - } -, + }, { "name": "/legalEntities/:id/termsOfServiceStatus", "description": "Returns the required types of Terms of Service that need to be accepted by a legal entity.", @@ -1199,50 +1982,51 @@ { "name": "Get Terms of Service status", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/legalEntities/:id/termsOfServiceStatus", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "legalEntities", - ":id", - "termsOfServiceStatus" - ], - "variable": [ - { - "key": "id", - "value": "", - "description": "The unique identifier of the legal entity. For sole proprietorships, this is the individual legal entity ID of the owner." - } - ], - "query": [ - ] - }, - "description": "Returns the required types of Terms of Service that need to be accepted by a legal entity." - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/legalEntities/:id/termsOfServiceStatus", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "legalEntities", + ":id", + "termsOfServiceStatus" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "The unique identifier of the legal entity. For sole proprietorships, this is the individual legal entity ID of the owner." + } + ], + "query": [ + ] + }, + "description": "Returns the required types of Terms of Service that need to be accepted by a legal entity." +} + ,"response": [ + ] } ] } - ] }, { @@ -1255,104 +2039,221 @@ { "name": "Add a EUR bank account", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "x-requested-verification-code", - "value": "", - "description": "Use a suberror code as your requested verification code. You can include one code at a time in your request header. Requested verification codes can only be used in your test environment.", - "disabled": true + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "x-requested-verification-code", + "value": "", + "description": "Use a suberror code as your requested verification code. You can include one code at a time in your request header. Requested verification codes can only be used in your test environment.", + "disabled": true + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"legalEntityId\" : \"LE00000000000000000000001\",\n \"type\" : \"bankAccount\",\n \"bankAccount\" : {\n \"countryCode\" : \"NL\",\n \"currencyCode\" : \"EUR\",\n \"iban\" : \"NL62ABNA0000000123\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/transferInstruments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "transferInstruments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates a transfer instrument. A transfer instrument is a bank account that a legal entity owns. Adyen performs verification checks on the transfer instrument as required by payment industry regulations. We inform you of the verification results through webhooks or API responses. When the transfer instrument passes the verification checks, you can start sending funds from the balance platform to the transfer instrument (such as payouts)." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"bankAccount\" : {\n \"countryCode\" : \"NL\",\n \"currencyCode\" : \"EUR\",\n \"iban\" : \"NL62ABNA0000000123\",\n \"trustedSource\" : false\n },\n \"legalEntityId\" : \"LE00000000000000000000001\",\n \"type\" : \"bankAccount\",\n \"id\" : \"SE576BH223222F5GJVKHH6BDT\"\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "x-requested-verification-code", + "value": "", + "description": "Use a suberror code as your requested verification code. You can include one code at a time in your request header. Requested verification codes can only be used in your test environment.", + "disabled": true + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"legalEntityId\" : \"LE00000000000000000000001\",\n \"type\" : \"bankAccount\",\n \"bankAccount\" : {\n \"countryCode\" : \"NL\",\n \"currencyCode\" : \"EUR\",\n \"iban\" : \"NL62ABNA0000000123\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/transferInstruments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "transferInstruments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates a transfer instrument. A transfer instrument is a bank account that a legal entity owns. Adyen performs verification checks on the transfer instrument as required by payment industry regulations. We inform you of the verification results through webhooks or API responses. When the transfer instrument passes the verification checks, you can start sending funds from the balance platform to the transfer instrument (such as payouts)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"legalEntityId\" : \"LE00000000000000000000001\",\n \"type\" : \"bankAccount\",\n \"bankAccount\" : {\n \"countryCode\" : \"NL\",\n \"currencyCode\" : \"EUR\",\n \"iban\" : \"NL62ABNA0000000123\"\n }\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/transferInstruments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "transferInstruments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Creates a transfer instrument. A transfer instrument is a bank account that a legal entity owns. Adyen performs verification checks on the transfer instrument as required by payment industry regulations. We inform you of the verification results through webhooks or API responses. When the transfer instrument passes the verification checks, you can start sending funds from the balance platform to the transfer instrument (such as payouts)." - } + ] }, { "name": "Add a USD bank account", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "x-requested-verification-code", - "value": "", - "description": "Use a suberror code as your requested verification code. You can include one code at a time in your request header. Requested verification codes can only be used in your test environment.", - "disabled": true + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "x-requested-verification-code", + "value": "", + "description": "Use a suberror code as your requested verification code. You can include one code at a time in your request header. Requested verification codes can only be used in your test environment.", + "disabled": true + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"legalEntityId\" : \"LE00000000000000000000001\",\n \"type\" : \"bankAccount\",\n \"bankAccount\" : {\n \"countryCode\" : \"US\",\n \"currencyCode\" : \"USD\",\n \"accountNumber\" : \"0000000123\",\n \"branchCode\" : \"121202211\",\n \"accountType\" : \"checking\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/transferInstruments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "transferInstruments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates a transfer instrument. A transfer instrument is a bank account that a legal entity owns. Adyen performs verification checks on the transfer instrument as required by payment industry regulations. We inform you of the verification results through webhooks or API responses. When the transfer instrument passes the verification checks, you can start sending funds from the balance platform to the transfer instrument (such as payouts)." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"bankAccount\" : {\n \"accountNumber\" : \"0000000123\",\n \"accountType\" : \"checking\",\n \"branchCode\" : \"121202211\",\n \"countryCode\" : \"US\",\n \"currencyCode\" : \"USD\",\n \"trustedSource\" : false\n },\n \"legalEntityId\" : \"LE00000000000000000000001\",\n \"type\" : \"bankAccount\",\n \"id\" : \"SE322JV223222F5GJVKHH8DTC\"\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "x-requested-verification-code", + "value": "", + "description": "Use a suberror code as your requested verification code. You can include one code at a time in your request header. Requested verification codes can only be used in your test environment.", + "disabled": true + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"legalEntityId\" : \"LE00000000000000000000001\",\n \"type\" : \"bankAccount\",\n \"bankAccount\" : {\n \"countryCode\" : \"US\",\n \"currencyCode\" : \"USD\",\n \"accountNumber\" : \"0000000123\",\n \"branchCode\" : \"121202211\",\n \"accountType\" : \"checking\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/transferInstruments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "transferInstruments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates a transfer instrument. A transfer instrument is a bank account that a legal entity owns. Adyen performs verification checks on the transfer instrument as required by payment industry regulations. We inform you of the verification results through webhooks or API responses. When the transfer instrument passes the verification checks, you can start sending funds from the balance platform to the transfer instrument (such as payouts)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"legalEntityId\" : \"LE00000000000000000000001\",\n \"type\" : \"bankAccount\",\n \"bankAccount\" : {\n \"countryCode\" : \"US\",\n \"currencyCode\" : \"USD\",\n \"accountNumber\" : \"0000000123\",\n \"branchCode\" : \"121202211\",\n \"accountType\" : \"checking\"\n }\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/transferInstruments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "transferInstruments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Creates a transfer instrument. A transfer instrument is a bank account that a legal entity owns. Adyen performs verification checks on the transfer instrument as required by payment industry regulations. We inform you of the verification results through webhooks or API responses. When the transfer instrument passes the verification checks, you can start sending funds from the balance platform to the transfer instrument (such as payouts)." - } + ] } ] - } -, + }, { "name": "/transferInstruments/:id", "description": "Deletes a transfer instrument.", @@ -1360,49 +2261,50 @@ { "name": "Delete a transfer instrument", "request": { - "method": "DELETE", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/transferInstruments/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "transferInstruments", - ":id" - ], - "variable": [ - { - "key": "id", - "value": "", - "description": "The unique identifier of the transfer instrument to be deleted." - } - ], - "query": [ - ] - }, - "description": "Deletes a transfer instrument." - } + "method": "DELETE", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/transferInstruments/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "transferInstruments", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "The unique identifier of the transfer instrument to be deleted." + } + ], + "query": [ + ] + }, + "description": "Deletes a transfer instrument." +} + ,"response": [ + ] } ] - } -, + }, { "name": "/transferInstruments/:id", "description": "Returns the details of a transfer instrument.", @@ -1410,49 +2312,50 @@ { "name": "Get a transfer instrument", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/transferInstruments/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "transferInstruments", - ":id" - ], - "variable": [ - { - "key": "id", - "value": "", - "description": "The unique identifier of the transfer instrument." - } - ], - "query": [ - ] - }, - "description": "Returns the details of a transfer instrument." - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/transferInstruments/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "transferInstruments", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "The unique identifier of the transfer instrument." + } + ], + "query": [ + ] + }, + "description": "Returns the details of a transfer instrument." +} + ,"response": [ + ] } ] - } -, + }, { "name": "/transferInstruments/:id", "description": "Updates a transfer instrument.", @@ -1460,61 +2363,125 @@ { "name": "Update a transfer instrument", "request": { - "method": "PATCH", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "x-requested-verification-code", - "value": "", - "description": "Use the requested verification code 0_0001 to resolve any suberrors associated with the transfer instrument. Requested verification codes can only be used in your test environment.", - "disabled": true + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "x-requested-verification-code", + "value": "", + "description": "Use the requested verification code 0_0001 to resolve any suberrors associated with the transfer instrument. Requested verification codes can only be used in your test environment.", + "disabled": true + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"bankAccount\" : {\n \"currencyCode\" : \"EUR\",\n \"iban\" : \"NL02ABNA0123456789\"\n },\n \"legalEntityId\" : \"LE00000000000000000000001\",\n \"type\" : \"bankAccount\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/transferInstruments/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "transferInstruments", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "The unique identifier of the transfer instrument." + } + ], + "query": [ + ] + }, + "description": "Updates a transfer instrument." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"bankAccount\" : {\n \"countryCode\" : \"NL\",\n \"currencyCode\" : \"EUR\",\n \"iban\" : \"NL02ABNA0123456789\"\n },\n \"legalEntityId\" : \"LE00000000000000000000001\",\n \"type\" : \"bankAccount\",\n \"id\" : \"SE576BH223222F5GJVKHH6BDT\"\n}", + "originalRequest": { + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "x-requested-verification-code", + "value": "", + "description": "Use the requested verification code 0_0001 to resolve any suberrors associated with the transfer instrument. Requested verification codes can only be used in your test environment.", + "disabled": true + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"bankAccount\" : {\n \"currencyCode\" : \"EUR\",\n \"iban\" : \"NL02ABNA0123456789\"\n },\n \"legalEntityId\" : \"LE00000000000000000000001\",\n \"type\" : \"bankAccount\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/transferInstruments/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "transferInstruments", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "The unique identifier of the transfer instrument." + } + ], + "query": [ + ] + }, + "description": "Updates a transfer instrument." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"bankAccount\" : {\n \"currencyCode\" : \"EUR\",\n \"iban\" : \"NL02ABNA0123456789\"\n },\n \"legalEntityId\" : \"LE00000000000000000000001\",\n \"type\" : \"bankAccount\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/transferInstruments/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "transferInstruments", - ":id" - ], - "variable": [ - { - "key": "id", - "value": "", - "description": "The unique identifier of the transfer instrument." - } - ], - "query": [ - ] - }, - "description": "Updates a transfer instrument." - } + ] } ] } - ] }, { @@ -1527,50 +2494,51 @@ { "name": "Get PCI questionnaire details", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/legalEntities/:id/pciQuestionnaires", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "legalEntities", - ":id", - "pciQuestionnaires" - ], - "variable": [ - { - "key": "id", - "value": "", - "description": "The unique identifier of the legal entity to get PCI questionnaire information." - } - ], - "query": [ - ] - }, - "description": "Get a list of signed PCI questionnaires." - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/legalEntities/:id/pciQuestionnaires", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "legalEntities", + ":id", + "pciQuestionnaires" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "The unique identifier of the legal entity to get PCI questionnaire information." + } + ], + "query": [ + ] + }, + "description": "Get a list of signed PCI questionnaires." +} + ,"response": [ + ] } ] - } -, + }, { "name": "/legalEntities/:id/pciQuestionnaires/:pciid", "description": "Returns the signed PCI questionnaire.", @@ -1578,56 +2546,57 @@ { "name": "Get PCI questionnaire", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/legalEntities/:id/pciQuestionnaires/:pciid", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "legalEntities", - ":id", - "pciQuestionnaires", - ":pciid" - ], - "variable": [ - { - "key": "id", - "value": "", - "description": "The legal entity ID of the individual who signed the PCI questionnaire." - }, - { - "key": "pciid", - "value": "", - "description": "The unique identifier of the signed PCI questionnaire." - } - ], - "query": [ - ] - }, - "description": "Returns the signed PCI questionnaire." - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/legalEntities/:id/pciQuestionnaires/:pciid", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "legalEntities", + ":id", + "pciQuestionnaires", + ":pciid" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "The legal entity ID of the individual who signed the PCI questionnaire." + }, + { + "key": "pciid", + "value": "", + "description": "The unique identifier of the signed PCI questionnaire." + } + ], + "query": [ + ] + }, + "description": "Returns the signed PCI questionnaire." +} + ,"response": [ + ] } ] - } -, + }, { "name": "/legalEntities/:id/pciQuestionnaires/generatePciTemplates", "description": "Generates the required PCI questionnaires based on the user's [salesChannel](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/businessLines__reqParam_salesChannels).", @@ -1635,57 +2604,117 @@ { "name": "Generate PCI questionnaires", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"language\" : \"fr\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/legalEntities/:id/pciQuestionnaires/generatePciTemplates", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "legalEntities", + ":id", + "pciQuestionnaires", + "generatePciTemplates" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "The unique identifier of the legal entity to get PCI questionnaire information." + } + ], + "query": [ + ] + }, + "description": "Generates the required PCI questionnaires based on the user's [salesChannel](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/businessLines__reqParam_salesChannels)." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"content\" : \"JVBERi0xLjQKJcOkw7zDtsOfCjIgMCBv+f/ub0j6JPRX+E3EmC==\",\n \"language\" : \"fr\",\n \"pciTemplateReferences\" : [ \"PCIT-T7KC6VGL\", \"PCIT-PKB6DKS4\" ]\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"language\" : \"fr\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/legalEntities/:id/pciQuestionnaires/generatePciTemplates", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "legalEntities", + ":id", + "pciQuestionnaires", + "generatePciTemplates" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "The unique identifier of the legal entity to get PCI questionnaire information." + } + ], + "query": [ + ] + }, + "description": "Generates the required PCI questionnaires based on the user's [salesChannel](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/businessLines__reqParam_salesChannels)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"language\" : \"fr\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/legalEntities/:id/pciQuestionnaires/generatePciTemplates", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "legalEntities", - ":id", - "pciQuestionnaires", - "generatePciTemplates" - ], - "variable": [ - { - "key": "id", - "value": "", - "description": "The unique identifier of the legal entity to get PCI questionnaire information." - } - ], - "query": [ - ] - }, - "description": "Generates the required PCI questionnaires based on the user's [salesChannel](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/businessLines__reqParam_salesChannels)." - } + ] } ] - } -, + }, { "name": "/legalEntities/:id/pciQuestionnaires/signPciTemplates", "description": "Signs the required PCI questionnaire.", @@ -1693,57 +2722,117 @@ { "name": "Sign PCI questionnaires", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"signedBy\" : \"LE00000000000000000000002\",\n \"pciTemplateReferences\" : [ \"PCIT-T7KC6VGL\", \"PCIT-PKB6DKS4\" ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/legalEntities/:id/pciQuestionnaires/signPciTemplates", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "legalEntities", + ":id", + "pciQuestionnaires", + "signPciTemplates" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "The legal entity ID of the user that has a contractual relationship with your platform." + } + ], + "query": [ + ] + }, + "description": "Signs the required PCI questionnaire." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"pciQuestionnaireIds\" : [ \"PCID422GZ22322565HHMH48CW63CPH\", \"PCID422GZ22322565HHMH49CW75Z9H\" ]\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"signedBy\" : \"LE00000000000000000000002\",\n \"pciTemplateReferences\" : [ \"PCIT-T7KC6VGL\", \"PCIT-PKB6DKS4\" ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/legalEntities/:id/pciQuestionnaires/signPciTemplates", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "legalEntities", + ":id", + "pciQuestionnaires", + "signPciTemplates" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "The legal entity ID of the user that has a contractual relationship with your platform." + } + ], + "query": [ + ] + }, + "description": "Signs the required PCI questionnaire." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"signedBy\" : \"LE00000000000000000000002\",\n \"pciTemplateReferences\" : [ \"PCIT-T7KC6VGL\", \"PCIT-PKB6DKS4\" ]\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/legalEntities/:id/pciQuestionnaires/signPciTemplates", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "legalEntities", - ":id", - "pciQuestionnaires", - "signPciTemplates" - ], - "variable": [ - { - "key": "id", - "value": "", - "description": "The legal entity ID of the user that has a contractual relationship with your platform." - } - ], - "query": [ - ] - }, - "description": "Signs the required PCI questionnaire." - } + ] } ] } - ] } ], diff --git a/postman/LegalEntityService-v2.json b/postman/LegalEntityService-v2.json index 304631a..9424a6d 100644 --- a/postman/LegalEntityService-v2.json +++ b/postman/LegalEntityService-v2.json @@ -2,7 +2,7 @@ "info": { "name": "Legal Entity Management API (v2)", "description": { - "content": "The Legal Entity Management API enables you to manage legal entities that contain information required for verification. \n## Authentication\nYour Adyen contact will provide your API credential and an API key. To connect to the API, add an `X-API-Key` header with the API key as the value. For example:\n\n```\ncurl\n-H \"X-API-Key: YOUR_API_KEY\" \\n-H \"Content-Type: application/json\" \\n...\n```\nAlternatively, you can use the username and password of your API credential to connect to the API using basic authentication. For example:\n\n```\ncurl\n-U \"ws_123456@Scope.Company_YOUR_COMPANY_ACCOUNT\":\"YourWsPassword\" \\n-H \"Content-Type: application/json\" \\n...\n```\n## Versioning\nThe Legal Entity Management API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number.\n\nFor example:\n```\nhttps://kyc-test.adyen.com/lem/v2/legalEntities\n```\n>If you are using hosted onboarding and just beginning your integration, use v3 for your API requests. Otherwise, use v2.\n\n## Going live\nWhen going live, your Adyen contact will provide your API credential for the live environment. You can then use the API key or the username and password to send requests to `https://kyc-live.adyen.com/lem/v2`.\n\n", + "content": "The Legal Entity Management API enables you to manage legal entities that contain information required for verification. \n## Authentication\nYour Adyen contact will provide your API credential and an API key. To connect to the API, add an `X-API-Key` header with the API key as the value. For example:\n\n```\ncurl\n-H \"X-API-Key: YOUR_API_KEY\" \\n-H \"Content-Type: application/json\" \\n...\n```\nAlternatively, you can use the username and password of your API credential to connect to the API using basic authentication. For example:\n\n```\ncurl\n-U \"ws_123456@Scope.Company_YOUR_COMPANY_ACCOUNT\":\"YourWsPassword\" \\n-H \"Content-Type: application/json\" \\n...\n```\n## Versioning\nThe Legal Entity Management API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number.\n\nFor example:\n```\nhttps://kyc-test.adyen.com/lem/v2/legalEntities\n```\n## Going live\nWhen going live, your Adyen contact will provide your API credential for the live environment. You can then use the API key or the username and password to send requests to `https://kyc-live.adyen.com/lem/v2`.\n\n", "type": "text/markdown" }, "version": "2", @@ -14,354 +14,766 @@ "item": [ { "name": "/legalEntities", - "description": "Creates a legal entity. This resource contains information about the user that will be onboarded in your platform. Adyen uses this information to perform verification checks as required by payment industry regulations. Adyen informs you of the verification results through webhooks or API responses. >If you are using hosted onboarding and just beginning your integration, use v3 for your API requests. Otherwise, use v2. ", + "description": "Creates a legal entity. This resource contains information about the user that will be onboarded in your platform. Adyen uses this information to perform verification checks as required by payment industry regulations. Adyen informs you of the verification results through webhooks or API responses. ", "item": [ { "name": "Create a legal entity for an individual residing in the Netherlands", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "x-requested-verification-code", - "value": "", - "description": "Use a suberror code as your requested verification code. You can include one code at a time in your request header. Requested verification codes can only be used in your test environment.", - "disabled": true + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "x-requested-verification-code", + "value": "", + "description": "Use a suberror code as your requested verification code. You can include one code at a time in your request header. Requested verification codes can only be used in your test environment.", + "disabled": true + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"type\" : \"individual\",\n \"individual\" : {\n \"residentialAddress\" : {\n \"city\" : \"Amsterdam\",\n \"country\" : \"NL\",\n \"postalCode\" : \"1011DJ\",\n \"street\" : \"Simon Carmiggeltstraat 6 - 50\"\n },\n \"name\" : {\n \"firstName\" : \"Shelly\",\n \"lastName\" : \"Eller\"\n },\n \"birthData\" : {\n \"dateOfBirth\" : \"1990-06-21\"\n },\n \"email\" : \"s.eller@example.com\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/legalEntities", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "legalEntities" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates a legal entity. This resource contains information about the user that will be onboarded in your platform. Adyen uses this information to perform verification checks as required by payment industry regulations. Adyen informs you of the verification results through webhooks or API responses. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"individual\" : {\n \"email\" : \"s.eller@example.com\",\n \"birthData\" : {\n \"dateOfBirth\" : \"1990-06-21\"\n },\n \"name\" : {\n \"firstName\" : \"Shelly\",\n \"lastName\" : \"Eller\"\n },\n \"residentialAddress\" : {\n \"city\" : \"Amsterdam\",\n \"country\" : \"NL\",\n \"postalCode\" : \"1011DJ\",\n \"street\" : \"Simon Carmiggeltstraat 6 - 50\"\n }\n },\n \"type\" : \"individual\",\n \"id\" : \"LE00000000000000000000001\"\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "x-requested-verification-code", + "value": "", + "description": "Use a suberror code as your requested verification code. You can include one code at a time in your request header. Requested verification codes can only be used in your test environment.", + "disabled": true + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"type\" : \"individual\",\n \"individual\" : {\n \"residentialAddress\" : {\n \"city\" : \"Amsterdam\",\n \"country\" : \"NL\",\n \"postalCode\" : \"1011DJ\",\n \"street\" : \"Simon Carmiggeltstraat 6 - 50\"\n },\n \"name\" : {\n \"firstName\" : \"Shelly\",\n \"lastName\" : \"Eller\"\n },\n \"birthData\" : {\n \"dateOfBirth\" : \"1990-06-21\"\n },\n \"email\" : \"s.eller@example.com\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/legalEntities", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "legalEntities" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates a legal entity. This resource contains information about the user that will be onboarded in your platform. Adyen uses this information to perform verification checks as required by payment industry regulations. Adyen informs you of the verification results through webhooks or API responses. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"type\" : \"individual\",\n \"individual\" : {\n \"residentialAddress\" : {\n \"city\" : \"Amsterdam\",\n \"country\" : \"NL\",\n \"postalCode\" : \"1011DJ\",\n \"street\" : \"Simon Carmiggeltstraat 6 - 50\"\n },\n \"name\" : {\n \"firstName\" : \"Shelly\",\n \"lastName\" : \"Eller\"\n },\n \"birthData\" : {\n \"dateOfBirth\" : \"1990-06-21\"\n },\n \"email\" : \"s.eller@example.com\"\n }\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/legalEntities", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "legalEntities" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Creates a legal entity. This resource contains information about the user that will be onboarded in your platform. Adyen uses this information to perform verification checks as required by payment industry regulations. Adyen informs you of the verification results through webhooks or API responses. >If you are using hosted onboarding and just beginning your integration, use v3 for your API requests. Otherwise, use v2. " - } + ] }, { "name": "Create a legal entity for an individual residing in the US", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "x-requested-verification-code", - "value": "", - "description": "Use a suberror code as your requested verification code. You can include one code at a time in your request header. Requested verification codes can only be used in your test environment.", - "disabled": true + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "x-requested-verification-code", + "value": "", + "description": "Use a suberror code as your requested verification code. You can include one code at a time in your request header. Requested verification codes can only be used in your test environment.", + "disabled": true + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"type\" : \"individual\",\n \"individual\" : {\n \"residentialAddress\" : {\n \"city\" : \"New York\",\n \"country\" : \"US\",\n \"postalCode\" : \"10003\",\n \"stateOrProvince\" : \"NY\",\n \"street\" : \"71 5th Avenue\",\n \"street2\" : \"11th floor\"\n },\n \"phone\" : {\n \"number\" : \"+14153671502\",\n \"type\" : \"mobile\"\n },\n \"name\" : {\n \"firstName\" : \"Shelly\",\n \"lastName\" : \"Eller\"\n },\n \"birthData\" : {\n \"dateOfBirth\" : \"1990-06-21\"\n },\n \"email\" : \"s.eller@example.com\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/legalEntities", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "legalEntities" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates a legal entity. This resource contains information about the user that will be onboarded in your platform. Adyen uses this information to perform verification checks as required by payment industry regulations. Adyen informs you of the verification results through webhooks or API responses. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"individual\" : {\n \"email\" : \"s.eller@example.com\",\n \"phone\" : {\n \"number\" : \"+14153671502\",\n \"type\" : \"mobile\"\n },\n \"birthData\" : {\n \"dateOfBirth\" : \"1990-06-21\"\n },\n \"name\" : {\n \"firstName\" : \"Shelly\",\n \"lastName\" : \"Eller\"\n },\n \"residentialAddress\" : {\n \"city\" : \"New York\",\n \"country\" : \"US\",\n \"postalCode\" : \"10003\",\n \"stateOrProvince\" : \"NY\",\n \"street\" : \"71 5th Avenue\",\n \"street2\" : \"11th floor\"\n }\n },\n \"type\" : \"individual\",\n \"id\" : \"LE00000000000000000000001\"\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "x-requested-verification-code", + "value": "", + "description": "Use a suberror code as your requested verification code. You can include one code at a time in your request header. Requested verification codes can only be used in your test environment.", + "disabled": true + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"type\" : \"individual\",\n \"individual\" : {\n \"residentialAddress\" : {\n \"city\" : \"New York\",\n \"country\" : \"US\",\n \"postalCode\" : \"10003\",\n \"stateOrProvince\" : \"NY\",\n \"street\" : \"71 5th Avenue\",\n \"street2\" : \"11th floor\"\n },\n \"phone\" : {\n \"number\" : \"+14153671502\",\n \"type\" : \"mobile\"\n },\n \"name\" : {\n \"firstName\" : \"Shelly\",\n \"lastName\" : \"Eller\"\n },\n \"birthData\" : {\n \"dateOfBirth\" : \"1990-06-21\"\n },\n \"email\" : \"s.eller@example.com\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/legalEntities", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "legalEntities" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates a legal entity. This resource contains information about the user that will be onboarded in your platform. Adyen uses this information to perform verification checks as required by payment industry regulations. Adyen informs you of the verification results through webhooks or API responses. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"type\" : \"individual\",\n \"individual\" : {\n \"residentialAddress\" : {\n \"city\" : \"New York\",\n \"country\" : \"US\",\n \"postalCode\" : \"10003\",\n \"stateOrProvince\" : \"NY\",\n \"street\" : \"71 5th Avenue\",\n \"street2\" : \"11th floor\"\n },\n \"phone\" : {\n \"number\" : \"+14153671502\",\n \"type\" : \"mobile\"\n },\n \"name\" : {\n \"firstName\" : \"Shelly\",\n \"lastName\" : \"Eller\"\n },\n \"birthData\" : {\n \"dateOfBirth\" : \"1990-06-21\"\n },\n \"email\" : \"s.eller@example.com\"\n }\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/legalEntities", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "legalEntities" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Creates a legal entity. This resource contains information about the user that will be onboarded in your platform. Adyen uses this information to perform verification checks as required by payment industry regulations. Adyen informs you of the verification results through webhooks or API responses. >If you are using hosted onboarding and just beginning your integration, use v3 for your API requests. Otherwise, use v2. " - } + ] }, { "name": "Create a legal entity for a Dutch organization", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "x-requested-verification-code", - "value": "", - "description": "Use a suberror code as your requested verification code. You can include one code at a time in your request header. Requested verification codes can only be used in your test environment.", - "disabled": true + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "x-requested-verification-code", + "value": "", + "description": "Use a suberror code as your requested verification code. You can include one code at a time in your request header. Requested verification codes can only be used in your test environment.", + "disabled": true + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"type\" : \"organization\",\n \"organization\" : {\n \"legalName\" : \"Explorer Company based in NL\",\n \"doingBusinessAs\" : \"API Company Trading\",\n \"type\" : \"privateCompany\",\n \"registeredAddress\" : {\n \"city\" : \"Amsterdam\",\n \"country\" : \"NL\",\n \"postalCode\" : \"1011DJ\",\n \"street\" : \"Simon Carmiggeltstraat 6 - 50\"\n },\n \"registrationNumber\" : \"34179503\",\n \"email\" : \"organization@example.com\"\n },\n \"entityAssociations\" : [ {\n \"jobTitle\" : \"CEO\",\n \"legalEntityId\" : \"LE00000000000000000000001\",\n \"type\" : \"signatory\"\n } ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/legalEntities", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "legalEntities" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates a legal entity. This resource contains information about the user that will be onboarded in your platform. Adyen uses this information to perform verification checks as required by payment industry regulations. Adyen informs you of the verification results through webhooks or API responses. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"entityAssociations\" : [ {\n \"associatorId\" : \"LE00000000000000000000002\",\n \"entityType\" : \"individual\",\n \"jobTitle\" : \"CEO\",\n \"legalEntityId\" : \"LE00000000000000000000001\",\n \"name\" : \"Simone Hopper\",\n \"type\" : \"signatory\"\n } ],\n \"organization\" : {\n \"email\" : \"organization@example.com\",\n \"doingBusinessAs\" : \"API Company Trading\",\n \"legalName\" : \"Explorer Company based in NL\",\n \"registeredAddress\" : {\n \"city\" : \"Amsterdam\",\n \"country\" : \"NL\",\n \"postalCode\" : \"1011DJ\",\n \"street\" : \"Simon Carmiggeltstraat 6 - 50\"\n },\n \"registrationNumber\" : \"34179503\",\n \"type\" : \"privateCompany\"\n },\n \"type\" : \"organization\",\n \"id\" : \"LE00000000000000000000002\"\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "x-requested-verification-code", + "value": "", + "description": "Use a suberror code as your requested verification code. You can include one code at a time in your request header. Requested verification codes can only be used in your test environment.", + "disabled": true + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"type\" : \"organization\",\n \"organization\" : {\n \"legalName\" : \"Explorer Company based in NL\",\n \"doingBusinessAs\" : \"API Company Trading\",\n \"type\" : \"privateCompany\",\n \"registeredAddress\" : {\n \"city\" : \"Amsterdam\",\n \"country\" : \"NL\",\n \"postalCode\" : \"1011DJ\",\n \"street\" : \"Simon Carmiggeltstraat 6 - 50\"\n },\n \"registrationNumber\" : \"34179503\",\n \"email\" : \"organization@example.com\"\n },\n \"entityAssociations\" : [ {\n \"jobTitle\" : \"CEO\",\n \"legalEntityId\" : \"LE00000000000000000000001\",\n \"type\" : \"signatory\"\n } ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/legalEntities", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "legalEntities" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates a legal entity. This resource contains information about the user that will be onboarded in your platform. Adyen uses this information to perform verification checks as required by payment industry regulations. Adyen informs you of the verification results through webhooks or API responses. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"type\" : \"organization\",\n \"organization\" : {\n \"legalName\" : \"Explorer Company based in NL\",\n \"doingBusinessAs\" : \"API Company Trading\",\n \"type\" : \"privateCompany\",\n \"registeredAddress\" : {\n \"city\" : \"Amsterdam\",\n \"country\" : \"NL\",\n \"postalCode\" : \"1011DJ\",\n \"street\" : \"Simon Carmiggeltstraat 6 - 50\"\n },\n \"registrationNumber\" : \"34179503\",\n \"email\" : \"organization@example.com\"\n },\n \"entityAssociations\" : [ {\n \"jobTitle\" : \"CEO\",\n \"legalEntityId\" : \"LE00000000000000000000001\",\n \"type\" : \"signatory\"\n } ]\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/legalEntities", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "legalEntities" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Creates a legal entity. This resource contains information about the user that will be onboarded in your platform. Adyen uses this information to perform verification checks as required by payment industry regulations. Adyen informs you of the verification results through webhooks or API responses. >If you are using hosted onboarding and just beginning your integration, use v3 for your API requests. Otherwise, use v2. " - } + ] }, { "name": "Create a legal entity for an organization in the US", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "x-requested-verification-code", - "value": "", - "description": "Use a suberror code as your requested verification code. You can include one code at a time in your request header. Requested verification codes can only be used in your test environment.", - "disabled": true + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "x-requested-verification-code", + "value": "", + "description": "Use a suberror code as your requested verification code. You can include one code at a time in your request header. Requested verification codes can only be used in your test environment.", + "disabled": true + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"type\" : \"organization\",\n \"organization\" : {\n \"legalName\" : \"Explorer Company based in US\",\n \"registrationNumber\" : \"101002749\",\n \"type\" : \"privateCompany\",\n \"registeredAddress\" : {\n \"city\" : \"New York\",\n \"country\" : \"US\",\n \"postalCode\" : \"10003\",\n \"stateOrProvince\" : \"NY\",\n \"street\" : \"71 5th Avenue\",\n \"street2\" : \"11th floor\"\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/legalEntities", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "legalEntities" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates a legal entity. This resource contains information about the user that will be onboarded in your platform. Adyen uses this information to perform verification checks as required by payment industry regulations. Adyen informs you of the verification results through webhooks or API responses. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"organization\" : {\n \"legalName\" : \"Explorer Company based in US\",\n \"registrationNumber\" : \"101002749\",\n \"registeredAddress\" : {\n \"city\" : \"New York\",\n \"country\" : \"US\",\n \"postalCode\" : \"10003\",\n \"stateOrProvince\" : \"NY\",\n \"street\" : \"71 5th Avenue\",\n \"street2\" : \"11th floor\"\n },\n \"type\" : \"privateCompany\"\n },\n \"type\" : \"organization\",\n \"id\" : \"LE00000000000000000000001\"\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "x-requested-verification-code", + "value": "", + "description": "Use a suberror code as your requested verification code. You can include one code at a time in your request header. Requested verification codes can only be used in your test environment.", + "disabled": true + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"type\" : \"organization\",\n \"organization\" : {\n \"legalName\" : \"Explorer Company based in US\",\n \"registrationNumber\" : \"101002749\",\n \"type\" : \"privateCompany\",\n \"registeredAddress\" : {\n \"city\" : \"New York\",\n \"country\" : \"US\",\n \"postalCode\" : \"10003\",\n \"stateOrProvince\" : \"NY\",\n \"street\" : \"71 5th Avenue\",\n \"street2\" : \"11th floor\"\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/legalEntities", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "legalEntities" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates a legal entity. This resource contains information about the user that will be onboarded in your platform. Adyen uses this information to perform verification checks as required by payment industry regulations. Adyen informs you of the verification results through webhooks or API responses. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"type\" : \"organization\",\n \"organization\" : {\n \"legalName\" : \"Explorer Company based in US\",\n \"registrationNumber\" : \"101002749\",\n \"type\" : \"privateCompany\",\n \"registeredAddress\" : {\n \"city\" : \"New York\",\n \"country\" : \"US\",\n \"postalCode\" : \"10003\",\n \"stateOrProvince\" : \"NY\",\n \"street\" : \"71 5th Avenue\",\n \"street2\" : \"11th floor\"\n }\n }\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/legalEntities", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "legalEntities" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Creates a legal entity. This resource contains information about the user that will be onboarded in your platform. Adyen uses this information to perform verification checks as required by payment industry regulations. Adyen informs you of the verification results through webhooks or API responses. >If you are using hosted onboarding and just beginning your integration, use v3 for your API requests. Otherwise, use v2. " - } + ] }, { "name": "Create a legal entity for a Dutch sole proprietor", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "x-requested-verification-code", - "value": "", - "description": "Use a suberror code as your requested verification code. You can include one code at a time in your request header. Requested verification codes can only be used in your test environment.", - "disabled": true + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "x-requested-verification-code", + "value": "", + "description": "Use a suberror code as your requested verification code. You can include one code at a time in your request header. Requested verification codes can only be used in your test environment.", + "disabled": true + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"type\" : \"soleProprietorship\",\n \"soleProprietorship\" : {\n \"name\" : \"Shelly Seller Sole Trader\",\n \"countryOfGoverningLaw\" : \"NL\",\n \"registeredAddress\" : {\n \"city\" : \"Amsterdam\",\n \"country\" : \"NL\",\n \"postalCode\" : \"1011DJ\",\n \"street\" : \"Simon Carmiggeltstraat 6 - 50\"\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/legalEntities", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "legalEntities" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates a legal entity. This resource contains information about the user that will be onboarded in your platform. Adyen uses this information to perform verification checks as required by payment industry regulations. Adyen informs you of the verification results through webhooks or API responses. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"type\" : \"soleProprietorship\",\n \"soleProprietorship\" : {\n \"name\" : \"Shelly Seller Sole Trader\",\n \"countryOfGoverningLaw\" : \"NL\",\n \"registeredAddress\" : {\n \"city\" : \"Amsterdam\",\n \"country\" : \"NL\",\n \"postalCode\" : \"1011DJ\",\n \"street\" : \"Simon Carmiggeltstraat 6 - 50\"\n }\n },\n \"id\" : \"LE00000000000000000000001\"\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "x-requested-verification-code", + "value": "", + "description": "Use a suberror code as your requested verification code. You can include one code at a time in your request header. Requested verification codes can only be used in your test environment.", + "disabled": true + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"type\" : \"soleProprietorship\",\n \"soleProprietorship\" : {\n \"name\" : \"Shelly Seller Sole Trader\",\n \"countryOfGoverningLaw\" : \"NL\",\n \"registeredAddress\" : {\n \"city\" : \"Amsterdam\",\n \"country\" : \"NL\",\n \"postalCode\" : \"1011DJ\",\n \"street\" : \"Simon Carmiggeltstraat 6 - 50\"\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/legalEntities", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "legalEntities" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates a legal entity. This resource contains information about the user that will be onboarded in your platform. Adyen uses this information to perform verification checks as required by payment industry regulations. Adyen informs you of the verification results through webhooks or API responses. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"type\" : \"soleProprietorship\",\n \"soleProprietorship\" : {\n \"name\" : \"Shelly Seller Sole Trader\",\n \"countryOfGoverningLaw\" : \"NL\",\n \"registeredAddress\" : {\n \"city\" : \"Amsterdam\",\n \"country\" : \"NL\",\n \"postalCode\" : \"1011DJ\",\n \"street\" : \"Simon Carmiggeltstraat 6 - 50\"\n }\n }\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/legalEntities", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "legalEntities" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Creates a legal entity. This resource contains information about the user that will be onboarded in your platform. Adyen uses this information to perform verification checks as required by payment industry regulations. Adyen informs you of the verification results through webhooks or API responses. >If you are using hosted onboarding and just beginning your integration, use v3 for your API requests. Otherwise, use v2. " - } + ] }, { "name": "Create a legal entity for a sole proprietor in the US", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "x-requested-verification-code", - "value": "", - "description": "Use a suberror code as your requested verification code. You can include one code at a time in your request header. Requested verification codes can only be used in your test environment.", - "disabled": true + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "x-requested-verification-code", + "value": "", + "description": "Use a suberror code as your requested verification code. You can include one code at a time in your request header. Requested verification codes can only be used in your test environment.", + "disabled": true + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"type\" : \"soleProprietorship\",\n \"soleProprietorship\" : {\n \"name\" : \"Shelly Eller Sole Trader\",\n \"countryOfGoverningLaw\" : \"US\",\n \"registeredAddress\" : {\n \"city\" : \"New York\",\n \"country\" : \"US\",\n \"postalCode\" : \"10003\",\n \"stateOrProvince\" : \"NY\",\n \"street\" : \"71 5th Avenue\",\n \"street2\" : \"11th floor\"\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/legalEntities", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "legalEntities" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates a legal entity. This resource contains information about the user that will be onboarded in your platform. Adyen uses this information to perform verification checks as required by payment industry regulations. Adyen informs you of the verification results through webhooks or API responses. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"type\" : \"soleProprietorship\",\n \"soleProprietorship\" : {\n \"name\" : \"Shelly Eller Sole Trader\",\n \"countryOfGoverningLaw\" : \"US\",\n \"registeredAddress\" : {\n \"city\" : \"New York\",\n \"country\" : \"US\",\n \"postalCode\" : \"10003\",\n \"stateOrProvince\" : \"NY\",\n \"street\" : \"71 5th Avenue\",\n \"street2\" : \"11th floor\"\n }\n },\n \"id\" : \"LE00000000000000000000001\"\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "x-requested-verification-code", + "value": "", + "description": "Use a suberror code as your requested verification code. You can include one code at a time in your request header. Requested verification codes can only be used in your test environment.", + "disabled": true + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"type\" : \"soleProprietorship\",\n \"soleProprietorship\" : {\n \"name\" : \"Shelly Eller Sole Trader\",\n \"countryOfGoverningLaw\" : \"US\",\n \"registeredAddress\" : {\n \"city\" : \"New York\",\n \"country\" : \"US\",\n \"postalCode\" : \"10003\",\n \"stateOrProvince\" : \"NY\",\n \"street\" : \"71 5th Avenue\",\n \"street2\" : \"11th floor\"\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/legalEntities", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "legalEntities" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates a legal entity. This resource contains information about the user that will be onboarded in your platform. Adyen uses this information to perform verification checks as required by payment industry regulations. Adyen informs you of the verification results through webhooks or API responses. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"type\" : \"soleProprietorship\",\n \"soleProprietorship\" : {\n \"name\" : \"Shelly Eller Sole Trader\",\n \"countryOfGoverningLaw\" : \"US\",\n \"registeredAddress\" : {\n \"city\" : \"New York\",\n \"country\" : \"US\",\n \"postalCode\" : \"10003\",\n \"stateOrProvince\" : \"NY\",\n \"street\" : \"71 5th Avenue\",\n \"street2\" : \"11th floor\"\n }\n }\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/legalEntities", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "legalEntities" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Creates a legal entity. This resource contains information about the user that will be onboarded in your platform. Adyen uses this information to perform verification checks as required by payment industry regulations. Adyen informs you of the verification results through webhooks or API responses. >If you are using hosted onboarding and just beginning your integration, use v3 for your API requests. Otherwise, use v2. " - } + ] }, { "name": "Create a legal entity for a trust in Australia", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "x-requested-verification-code", - "value": "", - "description": "Use a suberror code as your requested verification code. You can include one code at a time in your request header. Requested verification codes can only be used in your test environment.", - "disabled": true + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "x-requested-verification-code", + "value": "", + "description": "Use a suberror code as your requested verification code. You can include one code at a time in your request header. Requested verification codes can only be used in your test environment.", + "disabled": true + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"type\" : \"trust\",\n \"trust\" : {\n \"name\" : \"Example Trust\",\n \"type\" : \"fixedUnitTrust\",\n \"doingBusinessAs\" : \"West's Store\",\n \"countryOfGoverningLaw\" : \"AU\",\n \"taxInformation\" : [ {\n \"country\" : \"AU\",\n \"type\" : \"ABN\",\n \"number\" : \"12345678123\"\n } ],\n \"registeredAddress\" : {\n \"street\" : \"Winfield Avenue\",\n \"city\" : \"Sydney\",\n \"postalCode\" : \"1197\",\n \"stateOrProvince\" : \"NSW\",\n \"country\" : \"AU\"\n },\n \"undefinedBeneficiaryInfo\" : [ {\n \"description\" : \"My future children\"\n } ]\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/legalEntities", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "legalEntities" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates a legal entity. This resource contains information about the user that will be onboarded in your platform. Adyen uses this information to perform verification checks as required by payment industry regulations. Adyen informs you of the verification results through webhooks or API responses. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"trust\" : {\n \"countryOfGoverningLaw\" : \"AU\",\n \"doingBusinessAs\" : \"West's Store\",\n \"name\" : \"Example Trust\",\n \"registeredAddress\" : {\n \"city\" : \"Sydney\",\n \"country\" : \"AU\",\n \"postalCode\" : \"1197\",\n \"stateOrProvince\" : \"NSW\",\n \"street\" : \"Winfield Avenue\"\n },\n \"taxInformation\" : [ {\n \"country\" : \"AU\",\n \"number\" : \"12345678901\",\n \"type\" : \"ABN\"\n } ],\n \"type\" : \"fixedUnitTrust\",\n \"undefinedBeneficiaryInfo\" : [ {\n \"description\" : \"My future children\",\n \"reference\" : \"SE322KH223222J5HJ6JRB75HQ\"\n } ]\n },\n \"type\" : \"trust\",\n \"id\" : \"LE322KH223222J5HJ6JRB75C5\"\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "x-requested-verification-code", + "value": "", + "description": "Use a suberror code as your requested verification code. You can include one code at a time in your request header. Requested verification codes can only be used in your test environment.", + "disabled": true + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"type\" : \"trust\",\n \"trust\" : {\n \"name\" : \"Example Trust\",\n \"type\" : \"fixedUnitTrust\",\n \"doingBusinessAs\" : \"West's Store\",\n \"countryOfGoverningLaw\" : \"AU\",\n \"taxInformation\" : [ {\n \"country\" : \"AU\",\n \"type\" : \"ABN\",\n \"number\" : \"12345678123\"\n } ],\n \"registeredAddress\" : {\n \"street\" : \"Winfield Avenue\",\n \"city\" : \"Sydney\",\n \"postalCode\" : \"1197\",\n \"stateOrProvince\" : \"NSW\",\n \"country\" : \"AU\"\n },\n \"undefinedBeneficiaryInfo\" : [ {\n \"description\" : \"My future children\"\n } ]\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/legalEntities", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "legalEntities" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates a legal entity. This resource contains information about the user that will be onboarded in your platform. Adyen uses this information to perform verification checks as required by payment industry regulations. Adyen informs you of the verification results through webhooks or API responses. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"type\" : \"trust\",\n \"trust\" : {\n \"name\" : \"Example Trust\",\n \"type\" : \"fixedUnitTrust\",\n \"doingBusinessAs\" : \"West's Store\",\n \"countryOfGoverningLaw\" : \"AU\",\n \"taxInformation\" : [ {\n \"country\" : \"AU\",\n \"type\" : \"ABN\",\n \"number\" : \"12345678123\"\n } ],\n \"registeredAddress\" : {\n \"street\" : \"Winfield Avenue\",\n \"city\" : \"Sydney\",\n \"postalCode\" : \"1197\",\n \"stateOrProvince\" : \"NSW\",\n \"country\" : \"AU\"\n },\n \"undefinedBeneficiaryInfo\" : [ {\n \"description\" : \"My future children\"\n } ]\n }\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/legalEntities", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "legalEntities" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Creates a legal entity. This resource contains information about the user that will be onboarded in your platform. Adyen uses this information to perform verification checks as required by payment industry regulations. Adyen informs you of the verification results through webhooks or API responses. >If you are using hosted onboarding and just beginning your integration, use v3 for your API requests. Otherwise, use v2. " - } + ] } ] - } -, + }, { "name": "/legalEntities/:id", "description": "Returns a legal entity.", @@ -369,49 +781,50 @@ { "name": "Get a legal entity", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/legalEntities/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "legalEntities", - ":id" - ], - "variable": [ - { - "key": "id", - "value": "", - "description": "The unique identifier of the legal entity." - } - ], - "query": [ - ] - }, - "description": "Returns a legal entity." - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/legalEntities/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "legalEntities", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "The unique identifier of the legal entity." + } + ], + "query": [ + ] + }, + "description": "Returns a legal entity." +} + ,"response": [ + ] } ] - } -, + }, { "name": "/legalEntities/:id", "description": "Updates a legal entity. >To change the legal entity type, include only the new `type` in your request. To update the `entityAssociations` array, you need to replace the entire array. For example, if the array has 3 entries and you want to remove 1 entry, you need to PATCH the resource with the remaining 2 entries.", @@ -419,281 +832,605 @@ { "name": "Change a legal entity from an organization to an individual", "request": { - "method": "PATCH", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "x-requested-verification-code", - "value": "", - "description": "Use the requested verification code 0_0001 to resolve any suberrors associated with the legal entity. Requested verification codes can only be used in your test environment.", - "disabled": true + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "x-requested-verification-code", + "value": "", + "description": "Use the requested verification code 0_0001 to resolve any suberrors associated with the legal entity. Requested verification codes can only be used in your test environment.", + "disabled": true + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"type\" : \"individual\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/legalEntities/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "legalEntities", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "The unique identifier of the legal entity." + } + ], + "query": [ + ] + }, + "description": "Updates a legal entity. >To change the legal entity type, include only the new `type` in your request. To update the `entityAssociations` array, you need to replace the entire array. For example, if the array has 3 entries and you want to remove 1 entry, you need to PATCH the resource with the remaining 2 entries." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"individual\" : {\n \"name\" : {\n \"firstName\" : \"Explorer\",\n \"lastName\" : \"Company based in US\"\n },\n \"residentialAddress\" : {\n \"country\" : \"US\"\n }\n },\n \"type\" : \"individual\",\n \"id\" : \"LE00000000000000000000001\"\n}", + "originalRequest": { + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "x-requested-verification-code", + "value": "", + "description": "Use the requested verification code 0_0001 to resolve any suberrors associated with the legal entity. Requested verification codes can only be used in your test environment.", + "disabled": true + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"type\" : \"individual\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/legalEntities/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "legalEntities", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "The unique identifier of the legal entity." + } + ], + "query": [ + ] + }, + "description": "Updates a legal entity. >To change the legal entity type, include only the new `type` in your request. To update the `entityAssociations` array, you need to replace the entire array. For example, if the array has 3 entries and you want to remove 1 entry, you need to PATCH the resource with the remaining 2 entries." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"type\" : \"individual\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/legalEntities/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "legalEntities", - ":id" - ], - "variable": [ - { - "key": "id", - "value": "", - "description": "The unique identifier of the legal entity." - } - ], - "query": [ - ] - }, - "description": "Updates a legal entity. >To change the legal entity type, include only the new `type` in your request. To update the `entityAssociations` array, you need to replace the entire array. For example, if the array has 3 entries and you want to remove 1 entry, you need to PATCH the resource with the remaining 2 entries." - } + ] }, { "name": "Add entity associations to an organization", "request": { - "method": "PATCH", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "x-requested-verification-code", - "value": "", - "description": "Use the requested verification code 0_0001 to resolve any suberrors associated with the legal entity. Requested verification codes can only be used in your test environment.", - "disabled": true + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "x-requested-verification-code", + "value": "", + "description": "Use the requested verification code 0_0001 to resolve any suberrors associated with the legal entity. Requested verification codes can only be used in your test environment.", + "disabled": true + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"entityAssociations\" : [ {\n \"jobTitle\" : \"CEO\",\n \"legalEntityId\" : \"LE00000000000000000000002\",\n \"type\" : \"uboThroughControl\"\n } ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/legalEntities/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "legalEntities", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "The unique identifier of the legal entity." + } + ], + "query": [ + ] + }, + "description": "Updates a legal entity. >To change the legal entity type, include only the new `type` in your request. To update the `entityAssociations` array, you need to replace the entire array. For example, if the array has 3 entries and you want to remove 1 entry, you need to PATCH the resource with the remaining 2 entries." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"entityAssociations\" : [ {\n \"associatorId\" : \"LE00000000000000000000001\",\n \"entityType\" : \"individual\",\n \"jobTitle\" : \"CEO\",\n \"legalEntityId\" : \"LE00000000000000000000002\",\n \"name\" : \"Simone Hopper\",\n \"type\" : \"uboThroughControl\"\n } ],\n \"organization\" : {\n \"email\" : \"john.doe@adyen.com\",\n \"phone\" : {\n \"countryCode\" : \"NL\",\n \"number\" : \"646467363\",\n \"type\" : \"mobile\"\n },\n \"description\" : \"FinTech\",\n \"doingBusinessAs\" : \"Adyen BV\",\n \"legalName\" : \"Adyen BV\",\n \"registeredAddress\" : {\n \"city\" : \"AMS\",\n \"country\" : \"NL\",\n \"postalCode\" : \"1234EE\",\n \"stateOrProvince\" : \"NH\",\n \"street\" : \"Simon Carmiggeltstraat 6 - 50\"\n },\n \"registrationNumber\" : \"\",\n \"stockData\" : {\n \"marketIdentifier\" : \"ADYN\",\n \"stockNumber\" : \"NL012345ABC4\",\n \"tickerSymbol\" : \"ADYN.M\"\n },\n \"type\" : \"listedPublicCompany\"\n },\n \"type\" : \"organization\",\n \"id\" : \"LE00000000000000000000001\"\n}", + "originalRequest": { + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "x-requested-verification-code", + "value": "", + "description": "Use the requested verification code 0_0001 to resolve any suberrors associated with the legal entity. Requested verification codes can only be used in your test environment.", + "disabled": true + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"entityAssociations\" : [ {\n \"jobTitle\" : \"CEO\",\n \"legalEntityId\" : \"LE00000000000000000000002\",\n \"type\" : \"uboThroughControl\"\n } ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/legalEntities/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "legalEntities", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "The unique identifier of the legal entity." + } + ], + "query": [ + ] + }, + "description": "Updates a legal entity. >To change the legal entity type, include only the new `type` in your request. To update the `entityAssociations` array, you need to replace the entire array. For example, if the array has 3 entries and you want to remove 1 entry, you need to PATCH the resource with the remaining 2 entries." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"entityAssociations\" : [ {\n \"jobTitle\" : \"CEO\",\n \"legalEntityId\" : \"LE00000000000000000000002\",\n \"type\" : \"uboThroughControl\"\n } ]\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/legalEntities/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "legalEntities", - ":id" - ], - "variable": [ - { - "key": "id", - "value": "", - "description": "The unique identifier of the legal entity." - } - ], - "query": [ - ] - }, - "description": "Updates a legal entity. >To change the legal entity type, include only the new `type` in your request. To update the `entityAssociations` array, you need to replace the entire array. For example, if the array has 3 entries and you want to remove 1 entry, you need to PATCH the resource with the remaining 2 entries." - } + ] }, { "name": "Add entity associations to a sole proprietorship", "request": { - "method": "PATCH", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "x-requested-verification-code", - "value": "", - "description": "Use the requested verification code 0_0001 to resolve any suberrors associated with the legal entity. Requested verification codes can only be used in your test environment.", - "disabled": true + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "x-requested-verification-code", + "value": "", + "description": "Use the requested verification code 0_0001 to resolve any suberrors associated with the legal entity. Requested verification codes can only be used in your test environment.", + "disabled": true + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"entityAssociations\" : [ {\n \"legalEntityId\" : \"LE00000000000000000000002\",\n \"type\" : \"soleProprietorship\"\n } ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/legalEntities/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "legalEntities", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "The unique identifier of the legal entity." + } + ], + "query": [ + ] + }, + "description": "Updates a legal entity. >To change the legal entity type, include only the new `type` in your request. To update the `entityAssociations` array, you need to replace the entire array. For example, if the array has 3 entries and you want to remove 1 entry, you need to PATCH the resource with the remaining 2 entries." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"entityAssociations\" : [ {\n \"associatorId\" : \"LE00000000000000000000001\",\n \"entityType\" : \"soleProprietorship\",\n \"legalEntityId\" : \"LE00000000000000000000002\",\n \"type\" : \"soleProprietorship\"\n } ],\n \"individual\" : {\n \"email\" : \"s.eller@example.com\",\n \"birthData\" : {\n \"dateOfBirth\" : \"1990-06-21\"\n },\n \"name\" : {\n \"firstName\" : \"Shelly\",\n \"lastName\" : \"Eller\"\n },\n \"residentialAddress\" : {\n \"city\" : \"Amsterdam\",\n \"country\" : \"NL\",\n \"postalCode\" : \"1011DJ\",\n \"street\" : \"Simon Carmiggeltstraat 6 - 50\"\n }\n },\n \"type\" : \"individual\",\n \"id\" : \"LE00000000000000000000001\"\n}", + "originalRequest": { + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "x-requested-verification-code", + "value": "", + "description": "Use the requested verification code 0_0001 to resolve any suberrors associated with the legal entity. Requested verification codes can only be used in your test environment.", + "disabled": true + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"entityAssociations\" : [ {\n \"legalEntityId\" : \"LE00000000000000000000002\",\n \"type\" : \"soleProprietorship\"\n } ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/legalEntities/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "legalEntities", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "The unique identifier of the legal entity." + } + ], + "query": [ + ] + }, + "description": "Updates a legal entity. >To change the legal entity type, include only the new `type` in your request. To update the `entityAssociations` array, you need to replace the entire array. For example, if the array has 3 entries and you want to remove 1 entry, you need to PATCH the resource with the remaining 2 entries." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"entityAssociations\" : [ {\n \"legalEntityId\" : \"LE00000000000000000000002\",\n \"type\" : \"soleProprietorship\"\n } ]\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/legalEntities/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "legalEntities", - ":id" - ], - "variable": [ - { - "key": "id", - "value": "", - "description": "The unique identifier of the legal entity." - } - ], - "query": [ - ] - }, - "description": "Updates a legal entity. >To change the legal entity type, include only the new `type` in your request. To update the `entityAssociations` array, you need to replace the entire array. For example, if the array has 3 entries and you want to remove 1 entry, you need to PATCH the resource with the remaining 2 entries." - } + ] }, { "name": "Associate a trust member with a trust", "request": { - "method": "PATCH", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "x-requested-verification-code", - "value": "", - "description": "Use the requested verification code 0_0001 to resolve any suberrors associated with the legal entity. Requested verification codes can only be used in your test environment.", - "disabled": true + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "x-requested-verification-code", + "value": "", + "description": "Use the requested verification code 0_0001 to resolve any suberrors associated with the legal entity. Requested verification codes can only be used in your test environment.", + "disabled": true + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"entityAssociations\" : [ {\n \"legalEntityId\" : \"LE00000000000000000000002\",\n \"type\" : \"protector\"\n } ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/legalEntities/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "legalEntities", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "The unique identifier of the legal entity." + } + ], + "query": [ + ] + }, + "description": "Updates a legal entity. >To change the legal entity type, include only the new `type` in your request. To update the `entityAssociations` array, you need to replace the entire array. For example, if the array has 3 entries and you want to remove 1 entry, you need to PATCH the resource with the remaining 2 entries." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"entityAssociations\" : [ {\n \"associatorId\" : \"LE00000000000000000000001\",\n \"legalEntityId\" : \"LE00000000000000000000002\",\n \"name\" : \"Simone Hopper\",\n \"type\" : \"protector\"\n } ],\n \"trust\" : {\n \"name\" : \"Example Trust\",\n \"type\" : \"fixedUnitTrust\",\n \"doingBusinessAs\" : \"West's Store\",\n \"countryOfGoverningLaw\" : \"AU\",\n \"taxInformation\" : [ {\n \"country\" : \"AU\",\n \"type\" : \"ABN\",\n \"number\" : \"12345678901\"\n } ],\n \"registeredAddress\" : {\n \"street\" : \"Winfield Avenue\",\n \"city\" : \"Sydney\",\n \"postalCode\" : \"1197\",\n \"stateOrProvince\" : \"NSW\",\n \"country\" : \"AU\"\n },\n \"undefinedBeneficiaryInfo\" : [ {\n \"description\" : \"My future children\"\n } ]\n },\n \"type\" : \"trust\",\n \"id\" : \"LE00000000000000000000001\"\n}", + "originalRequest": { + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "x-requested-verification-code", + "value": "", + "description": "Use the requested verification code 0_0001 to resolve any suberrors associated with the legal entity. Requested verification codes can only be used in your test environment.", + "disabled": true + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"entityAssociations\" : [ {\n \"legalEntityId\" : \"LE00000000000000000000002\",\n \"type\" : \"protector\"\n } ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/legalEntities/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "legalEntities", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "The unique identifier of the legal entity." + } + ], + "query": [ + ] + }, + "description": "Updates a legal entity. >To change the legal entity type, include only the new `type` in your request. To update the `entityAssociations` array, you need to replace the entire array. For example, if the array has 3 entries and you want to remove 1 entry, you need to PATCH the resource with the remaining 2 entries." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"entityAssociations\" : [ {\n \"legalEntityId\" : \"LE00000000000000000000002\",\n \"type\" : \"protector\"\n } ]\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/legalEntities/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "legalEntities", - ":id" - ], - "variable": [ - { - "key": "id", - "value": "", - "description": "The unique identifier of the legal entity." - } - ], - "query": [ - ] - }, - "description": "Updates a legal entity. >To change the legal entity type, include only the new `type` in your request. To update the `entityAssociations` array, you need to replace the entire array. For example, if the array has 3 entries and you want to remove 1 entry, you need to PATCH the resource with the remaining 2 entries." - } + ] }, { "name": "Associate an exempt settlor with a trust", "request": { - "method": "PATCH", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "x-requested-verification-code", - "value": "", - "description": "Use the requested verification code 0_0001 to resolve any suberrors associated with the legal entity. Requested verification codes can only be used in your test environment.", - "disabled": true + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "x-requested-verification-code", + "value": "", + "description": "Use the requested verification code 0_0001 to resolve any suberrors associated with the legal entity. Requested verification codes can only be used in your test environment.", + "disabled": true + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"entityAssociations\" : [ {\n \"legalEntityId\" : \"LE00000000000000000000002\",\n \"type\" : \"settlor\",\n \"entityType\" : \"individual\",\n \"settlorExemptionReason\" : [ \"deceased\", \"professionalServiceProvider\" ]\n } ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/legalEntities/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "legalEntities", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "The unique identifier of the legal entity." + } + ], + "query": [ + ] + }, + "description": "Updates a legal entity. >To change the legal entity type, include only the new `type` in your request. To update the `entityAssociations` array, you need to replace the entire array. For example, if the array has 3 entries and you want to remove 1 entry, you need to PATCH the resource with the remaining 2 entries." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"entityAssociations\" : [ {\n \"associatorId\" : \"LE00000000000000000000001\",\n \"legalEntityId\" : \"LE00000000000000000000002\",\n \"type\" : \"settlor\",\n \"entityType\" : \"individual\",\n \"settlorExemptionReason\" : [ \"deceased\", \"professionalServiceProvider\" ]\n } ],\n \"trust\" : {\n \"name\" : \"Example Trust\",\n \"type\" : \"fixedUnitTrust\",\n \"doingBusinessAs\" : \"West's Store\",\n \"countryOfGoverningLaw\" : \"AU\",\n \"taxInformation\" : [ {\n \"country\" : \"AU\",\n \"type\" : \"ABN\",\n \"number\" : \"12345678901\"\n } ],\n \"registeredAddress\" : {\n \"street\" : \"Winfield Avenue\",\n \"city\" : \"Sydney\",\n \"postalCode\" : \"1197\",\n \"stateOrProvince\" : \"NSW\",\n \"country\" : \"AU\"\n },\n \"undefinedBeneficiaryInfo\" : [ {\n \"description\" : \"My future children\"\n } ]\n },\n \"type\" : \"trust\",\n \"id\" : \"LE00000000000000000000001\"\n}", + "originalRequest": { + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "x-requested-verification-code", + "value": "", + "description": "Use the requested verification code 0_0001 to resolve any suberrors associated with the legal entity. Requested verification codes can only be used in your test environment.", + "disabled": true + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"entityAssociations\" : [ {\n \"legalEntityId\" : \"LE00000000000000000000002\",\n \"type\" : \"settlor\",\n \"entityType\" : \"individual\",\n \"settlorExemptionReason\" : [ \"deceased\", \"professionalServiceProvider\" ]\n } ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/legalEntities/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "legalEntities", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "The unique identifier of the legal entity." + } + ], + "query": [ + ] + }, + "description": "Updates a legal entity. >To change the legal entity type, include only the new `type` in your request. To update the `entityAssociations` array, you need to replace the entire array. For example, if the array has 3 entries and you want to remove 1 entry, you need to PATCH the resource with the remaining 2 entries." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"entityAssociations\" : [ {\n \"legalEntityId\" : \"LE00000000000000000000002\",\n \"type\" : \"settlor\",\n \"entityType\" : \"individual\",\n \"settlorExemptionReason\" : [ \"deceased\", \"professionalServiceProvider\" ]\n } ]\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/legalEntities/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "legalEntities", - ":id" - ], - "variable": [ - { - "key": "id", - "value": "", - "description": "The unique identifier of the legal entity." - } - ], - "query": [ - ] - }, - "description": "Updates a legal entity. >To change the legal entity type, include only the new `type` in your request. To update the `entityAssociations` array, you need to replace the entire array. For example, if the array has 3 entries and you want to remove 1 entry, you need to PATCH the resource with the remaining 2 entries." - } + ] } ] - } -, + }, { "name": "/legalEntities/:id/businessLines", "description": "Returns the business lines owned by a legal entity.", @@ -701,50 +1438,51 @@ { "name": "Get all business lines under a legal entity", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/legalEntities/:id/businessLines", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "legalEntities", - ":id", - "businessLines" - ], - "variable": [ - { - "key": "id", - "value": "", - "description": "The unique identifier of the legal entity." - } - ], - "query": [ - ] - }, - "description": "Returns the business lines owned by a legal entity." - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/legalEntities/:id/businessLines", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "legalEntities", + ":id", + "businessLines" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "The unique identifier of the legal entity." + } + ], + "query": [ + ] + }, + "description": "Returns the business lines owned by a legal entity." +} + ,"response": [ + ] } ] } - ] }, { @@ -752,155 +1490,216 @@ "item": [ { "name": "/legalEntities/:id/onboardingLinks", - "description": "Returns a link to an Adyen-hosted onboarding page where you need to redirect your user. >If you are using hosted onboarding and just beginning your integration, use v3 for your API requests. Otherwise, use v2. ", + "description": "Returns a link to an Adyen-hosted onboarding page where you need to redirect your user. ", "item": [ { "name": "Create a hosted onboarding link", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"themeId\" : \"YOUR_THEME_ID\",\n \"redirectUrl\" : \"https://your.redirect-url.com/\",\n \"locale\" : \"nl-NL\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/legalEntities/:id/onboardingLinks", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "legalEntities", + ":id", + "onboardingLinks" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "The unique identifier of the legal entity" + } + ], + "query": [ + ] + }, + "description": "Returns a link to an Adyen-hosted onboarding page where you need to redirect your user. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"url\" : \"https://balanceplatform-test.adyen.com/balanceplatform/uo/form/xtl-...?signature=..&cd=..&redirectUrl=https%3A%2F%2Fyour.redirect-url.com%2F&expiry=1667226404807&locale=nl-NL\"\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"themeId\" : \"YOUR_THEME_ID\",\n \"redirectUrl\" : \"https://your.redirect-url.com/\",\n \"locale\" : \"nl-NL\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/legalEntities/:id/onboardingLinks", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "legalEntities", + ":id", + "onboardingLinks" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "The unique identifier of the legal entity" + } + ], + "query": [ + ] + }, + "description": "Returns a link to an Adyen-hosted onboarding page where you need to redirect your user. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"themeId\" : \"YOUR_THEME_ID\",\n \"redirectUrl\" : \"https://your.redirect-url.com/\",\n \"locale\" : \"nl-NL\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/legalEntities/:id/onboardingLinks", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "legalEntities", - ":id", - "onboardingLinks" - ], - "variable": [ - { - "key": "id", - "value": "", - "description": "The unique identifier of the legal entity" - } - ], - "query": [ - ] - }, - "description": "Returns a link to an Adyen-hosted onboarding page where you need to redirect your user. >If you are using hosted onboarding and just beginning your integration, use v3 for your API requests. Otherwise, use v2. " - } + ] } ] - } -, + }, { "name": "/themes", - "description": "Returns a list of hosted onboarding page themes. >If you are using hosted onboarding and just beginning your integration, use v3 for your API requests. Otherwise, use v2. ", + "description": "Returns a list of hosted onboarding page themes. ", "item": [ { "name": "Get a list of hosted onboarding page themes", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/themes", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "themes" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Returns a list of hosted onboarding page themes. >If you are using hosted onboarding and just beginning your integration, use v3 for your API requests. Otherwise, use v2. " - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/themes", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "themes" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Returns a list of hosted onboarding page themes. " +} + ,"response": [ + ] } ] - } -, + }, { "name": "/themes/:id", - "description": "Returns the details of the theme identified in the path.>If you are using hosted onboarding and just beginning your integration, use v3 for your API requests. Otherwise, use v2. ", + "description": "Returns the details of the theme identified in the path.", "item": [ { "name": "Get an onboarding link theme", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/themes/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "themes", - ":id" - ], - "variable": [ - { - "key": "id", - "value": "", - "description": "The unique identifier of the theme" - } - ], - "query": [ - ] - }, - "description": "Returns the details of the theme identified in the path.>If you are using hosted onboarding and just beginning your integration, use v3 for your API requests. Otherwise, use v2. " - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/themes/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "themes", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "The unique identifier of the theme" + } + ], + "query": [ + ] + }, + "description": "Returns the details of the theme identified in the path." +} + ,"response": [ + ] } ] } - ] }, { @@ -908,54 +1707,106 @@ "item": [ { "name": "/businessLines", - "description": "Creates a business line. This resource contains information about your user's line of business, including their industry and their source of funds. Adyen uses this information to verify your users as required by payment industry regulations. Adyen informs you of the verification results through webhooks or API responses. >If you are using hosted onboarding and just beginning your integration, use v3 for your API requests. Otherwise, use v2. ", + "description": "Creates a business line. This resource contains information about your user's line of business, including their industry and their source of funds. Adyen uses this information to verify your users as required by payment industry regulations. Adyen informs you of the verification results through webhooks or API responses. ", "item": [ { "name": "Create a business line for a business account", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"capability\" : \"issueBankAccount\",\n \"industryCode\" : \"4531\",\n \"webData\" : [ {\n \"webAddress\" : \"https://www.adyen.com\"\n } ],\n \"legalEntityId\" : \"LE00000000000000000000001\",\n \"sourceOfFunds\" : {\n \"type\" : \"business\",\n \"adyenProcessedFunds\" : false,\n \"description\" : \"Funds from my flower shop business\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/businessLines", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "businessLines" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates a business line. This resource contains information about your user's line of business, including their industry and their source of funds. Adyen uses this information to verify your users as required by payment industry regulations. Adyen informs you of the verification results through webhooks or API responses. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"capability\" : \"issueBankAccount\",\n \"industryCode\" : \"4531\",\n \"legalEntityId\" : \"LE00000000000000000000001\",\n \"sourceOfFunds\" : {\n \"adyenProcessedFunds\" : false,\n \"description\" : \"Funds from my flower shop business\",\n \"type\" : \"business\"\n },\n \"webData\" : [ {\n \"webAddress\" : \"https://www.example.com\",\n \"webAddressId\" : \"SE966LI345672J5H8V87B3FGH\"\n } ],\n \"id\" : \"SE322JV223222F5GVGMLNB83F\"\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"capability\" : \"issueBankAccount\",\n \"industryCode\" : \"4531\",\n \"webData\" : [ {\n \"webAddress\" : \"https://www.adyen.com\"\n } ],\n \"legalEntityId\" : \"LE00000000000000000000001\",\n \"sourceOfFunds\" : {\n \"type\" : \"business\",\n \"adyenProcessedFunds\" : false,\n \"description\" : \"Funds from my flower shop business\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/businessLines", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "businessLines" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates a business line. This resource contains information about your user's line of business, including their industry and their source of funds. Adyen uses this information to verify your users as required by payment industry regulations. Adyen informs you of the verification results through webhooks or API responses. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"capability\" : \"issueBankAccount\",\n \"industryCode\" : \"4531\",\n \"webData\" : [ {\n \"webAddress\" : \"https://www.adyen.com\"\n } ],\n \"legalEntityId\" : \"LE00000000000000000000001\",\n \"sourceOfFunds\" : {\n \"type\" : \"business\",\n \"adyenProcessedFunds\" : false,\n \"description\" : \"Funds from my flower shop business\"\n }\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/businessLines", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "businessLines" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Creates a business line. This resource contains information about your user's line of business, including their industry and their source of funds. Adyen uses this information to verify your users as required by payment industry regulations. Adyen informs you of the verification results through webhooks or API responses. >If you are using hosted onboarding and just beginning your integration, use v3 for your API requests. Otherwise, use v2. " - } + ] } ] - } -, + }, { "name": "/businessLines/:id", "description": "Deletes a business line. >If you delete a business line linked to a [payment method](https://docs.adyen.com/development-resources/paymentmethodvariant#management-api), it can affect your merchant account's ability to use the [payment method](https://docs.adyen.com/api-explorer/Management/latest/post/merchants/_merchantId_/paymentMethodSettings). The business line is removed from all linked merchant accounts.", @@ -963,49 +1814,50 @@ { "name": "Delete a business line", "request": { - "method": "DELETE", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/businessLines/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "businessLines", - ":id" - ], - "variable": [ - { - "key": "id", - "value": "", - "description": "The unique identifier of the business line to be deleted." - } - ], - "query": [ - ] - }, - "description": "Deletes a business line. >If you delete a business line linked to a [payment method](https://docs.adyen.com/development-resources/paymentmethodvariant#management-api), it can affect your merchant account's ability to use the [payment method](https://docs.adyen.com/api-explorer/Management/latest/post/merchants/_merchantId_/paymentMethodSettings). The business line is removed from all linked merchant accounts." - } + "method": "DELETE", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/businessLines/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "businessLines", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "The unique identifier of the business line to be deleted." + } + ], + "query": [ + ] + }, + "description": "Deletes a business line. >If you delete a business line linked to a [payment method](https://docs.adyen.com/development-resources/paymentmethodvariant#management-api), it can affect your merchant account's ability to use the [payment method](https://docs.adyen.com/api-explorer/Management/latest/post/merchants/_merchantId_/paymentMethodSettings). The business line is removed from all linked merchant accounts." +} + ,"response": [ + ] } ] - } -, + }, { "name": "/businessLines/:id", "description": "Returns the detail of a business line.", @@ -1013,49 +1865,50 @@ { "name": "Get a business line", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/businessLines/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "businessLines", - ":id" - ], - "variable": [ - { - "key": "id", - "value": "", - "description": "The unique identifier of the business line." - } - ], - "query": [ - ] - }, - "description": "Returns the detail of a business line." - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/businessLines/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "businessLines", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "The unique identifier of the business line." + } + ], + "query": [ + ] + }, + "description": "Returns the detail of a business line." +} + ,"response": [ + ] } ] - } -, + }, { "name": "/businessLines/:id", "description": "Updates a business line.", @@ -1063,55 +1916,113 @@ { "name": "Update a business line", "request": { - "method": "PATCH", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"industryCode\" : \"55\",\n \"webData\" : [ {\n \"webAddress\" : \"https://www.example.com\"\n } ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/businessLines/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "businessLines", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "The unique identifier of the business line." + } + ], + "query": [ + ] + }, + "description": "Updates a business line." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"capability\" : \"issueBankAccount\",\n \"industryCode\" : \"55\",\n \"legalEntityId\" : \"LE00000000000000000000001\",\n \"sourceOfFunds\" : {\n \"adyenProcessedFunds\" : false,\n \"description\" : \"Funds from my flower shop business\",\n \"type\" : \"business\"\n },\n \"webData\" : [ {\n \"webAddress\" : \"https://www.example.com\",\n \"webAddressId\" : \"SE890CG45905K5H&M90J7MPY\"\n } ],\n \"id\" : \"SE322JV223222F5GVGMLNB83F\"\n}", + "originalRequest": { + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"industryCode\" : \"55\",\n \"webData\" : [ {\n \"webAddress\" : \"https://www.example.com\"\n } ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/businessLines/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "businessLines", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "The unique identifier of the business line." + } + ], + "query": [ + ] + }, + "description": "Updates a business line." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"industryCode\" : \"55\",\n \"webData\" : [ {\n \"webAddress\" : \"https://www.example.com\"\n } ]\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/businessLines/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "businessLines", - ":id" - ], - "variable": [ - { - "key": "id", - "value": "", - "description": "The unique identifier of the business line." - } - ], - "query": [ - ] - }, - "description": "Updates a business line." - } + ] } ] } - ] }, { @@ -1124,55 +2035,113 @@ { "name": "Upload a document", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "x-requested-verification-code", - "value": "", - "description": "Use a suberror code as your requested verification code. You can include one code at a time in your request header. Requested verification codes can only be used in your test environment.", - "disabled": true + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "x-requested-verification-code", + "value": "", + "description": "Use a suberror code as your requested verification code. You can include one code at a time in your request header. Requested verification codes can only be used in your test environment.", + "disabled": true + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"type\" : \"registrationDocument\",\n \"attachments\" : [ {\n \"content\" : \"JVBERi0xLjQKJcOkw7zDtsOfCjIgMCBv+f/ub0j6JPRX+E3EmC==\"\n } ],\n \"description\" : \"Registration doc for Example Company\",\n \"owner\" : {\n \"id\" : \"LE00000000000000000000001\",\n \"type\" : \"legalEntity\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/documents", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "documents" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Uploads a document for verification checks. Adyen uses the information from the [legal entity](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/legalEntities) to run automated verification checks. If these checks fail, you will be notified to provide additional documents. You should only upload documents when Adyen requests additional information for the legal entity. >You can upload a maximum of 15 pages for photo IDs." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"type\" : \"registrationDocument\",\n \"attachments\" : [ {\n \"content\" : \"JVBERi0xLjQKJcOkw7zDtsOfCjIgMCBv+f/ub0j6JPRX+E3EmC==\"\n } ],\n \"description\" : \"Registration doc for Example Company\",\n \"fileName\" : \"Registration doc for Example Company\",\n \"owner\" : {\n \"id\" : \"LE00000000000000000000001\",\n \"type\" : \"legalEntity\"\n },\n \"id\" : \"SE322JV223222F5GV2N9L8GDK\"\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "x-requested-verification-code", + "value": "", + "description": "Use a suberror code as your requested verification code. You can include one code at a time in your request header. Requested verification codes can only be used in your test environment.", + "disabled": true + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"type\" : \"registrationDocument\",\n \"attachments\" : [ {\n \"content\" : \"JVBERi0xLjQKJcOkw7zDtsOfCjIgMCBv+f/ub0j6JPRX+E3EmC==\"\n } ],\n \"description\" : \"Registration doc for Example Company\",\n \"owner\" : {\n \"id\" : \"LE00000000000000000000001\",\n \"type\" : \"legalEntity\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/documents", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "documents" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Uploads a document for verification checks. Adyen uses the information from the [legal entity](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/legalEntities) to run automated verification checks. If these checks fail, you will be notified to provide additional documents. You should only upload documents when Adyen requests additional information for the legal entity. >You can upload a maximum of 15 pages for photo IDs." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"type\" : \"registrationDocument\",\n \"attachments\" : [ {\n \"content\" : \"JVBERi0xLjQKJcOkw7zDtsOfCjIgMCBv+f/ub0j6JPRX+E3EmC==\"\n } ],\n \"description\" : \"Registration doc for Example Company\",\n \"owner\" : {\n \"id\" : \"LE00000000000000000000001\",\n \"type\" : \"legalEntity\"\n }\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/documents", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "documents" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Uploads a document for verification checks. Adyen uses the information from the [legal entity](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/legalEntities) to run automated verification checks. If these checks fail, you will be notified to provide additional documents. You should only upload documents when Adyen requests additional information for the legal entity. >You can upload a maximum of 15 pages for photo IDs." - } + ] } ] - } -, + }, { "name": "/documents/:id", "description": "Deletes a document.", @@ -1180,49 +2149,50 @@ { "name": "Delete a document", "request": { - "method": "DELETE", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/documents/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "documents", - ":id" - ], - "variable": [ - { - "key": "id", - "value": "", - "description": "The unique identifier of the document to be deleted." - } - ], - "query": [ - ] - }, - "description": "Deletes a document." - } + "method": "DELETE", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/documents/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "documents", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "The unique identifier of the document to be deleted." + } + ], + "query": [ + ] + }, + "description": "Deletes a document." +} + ,"response": [ + ] } ] - } -, + }, { "name": "/documents/:id", "description": "Returns a document.", @@ -1230,55 +2200,56 @@ { "name": "Get a document", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/documents/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "documents", - ":id" - ], - "variable": [ - { - "key": "id", - "value": "", - "description": "The unique identifier of the document." - } - ], - "query": [ - { - "key": "skipContent", - "value": "true", - "description": "Do not load document content while fetching the document.", - "disabled": true - } - ] - }, - "description": "Returns a document." - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/documents/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "documents", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "The unique identifier of the document." + } + ], + "query": [ + { + "key": "skipContent", + "value": "true", + "description": "Do not load document content while fetching the document.", + "disabled": true + } + ] + }, + "description": "Returns a document." +} + ,"response": [ + ] } ] - } -, + }, { "name": "/documents/:id", "description": "Updates a document. >You can upload a maximum of 15 pages for photo IDs.", @@ -1286,61 +2257,125 @@ { "name": "Update a document", "request": { - "method": "PATCH", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "x-requested-verification-code", - "value": "", - "description": "Use the requested verification code 0_0001 to resolve any suberrors associated with the document. Requested verification codes can only be used in your test environment.", - "disabled": true + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "x-requested-verification-code", + "value": "", + "description": "Use the requested verification code 0_0001 to resolve any suberrors associated with the document. Requested verification codes can only be used in your test environment.", + "disabled": true + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"type\" : \"proofOfIndustry\",\n \"description\" : \"Proof of industry doc for Example Company\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/documents/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "documents", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "The unique identifier of the document to be updated." + } + ], + "query": [ + ] + }, + "description": "Updates a document. >You can upload a maximum of 15 pages for photo IDs." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"type\" : \"proofOfIndustry\",\n \"attachments\" : [ {\n \"content\" : \"JVBERi0xLjQKJcOkw7zDtsOfCjIgMCBv+f/ub0j6JPRX+E3EmC==\"\n } ],\n \"description\" : \"Proof of industry for Example Company\",\n \"fileName\" : \"Proof of industry for Example Company\",\n \"owner\" : {\n \"id\" : \"LE00000000000000000000001\",\n \"type\" : \"legalEntity\"\n },\n \"id\" : \"SE322JV223222F5GV2N9L8GDK\"\n}", + "originalRequest": { + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "x-requested-verification-code", + "value": "", + "description": "Use the requested verification code 0_0001 to resolve any suberrors associated with the document. Requested verification codes can only be used in your test environment.", + "disabled": true + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"type\" : \"proofOfIndustry\",\n \"description\" : \"Proof of industry doc for Example Company\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/documents/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "documents", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "The unique identifier of the document to be updated." + } + ], + "query": [ + ] + }, + "description": "Updates a document. >You can upload a maximum of 15 pages for photo IDs." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"type\" : \"proofOfIndustry\",\n \"description\" : \"Proof of industry doc for Example Company\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/documents/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "documents", - ":id" - ], - "variable": [ - { - "key": "id", - "value": "", - "description": "The unique identifier of the document to be updated." - } - ], - "query": [ - ] - }, - "description": "Updates a document. >You can upload a maximum of 15 pages for photo IDs." - } + ] } ] } - ] }, { @@ -1353,56 +2388,115 @@ { "name": "Get the Terms of Service document", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"type\" : \"adyenIssuing\",\n \"language\" : \"en\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/legalEntities/:id/termsOfService", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "legalEntities", + ":id", + "termsOfService" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "The unique identifier of the legal entity. For sole proprietorships, this is the individual legal entity ID of the owner." + } + ], + "query": [ + ] + }, + "description": "Returns the Terms of Service document for a legal entity." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"id\" : \"LE00000000000000000000001\",\n \"type\" : \"adyenIssuing\",\n \"language\" : \"en\",\n \"document\" : \"JVBERi0xLjQKJcOkw7zDtsOfCjIgMCBv+f/ub0j6JPRX+E3EmC==\",\n \"termsOfServiceDocumentId\" : \"abc123\"\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"type\" : \"adyenIssuing\",\n \"language\" : \"en\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/legalEntities/:id/termsOfService", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "legalEntities", + ":id", + "termsOfService" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "The unique identifier of the legal entity. For sole proprietorships, this is the individual legal entity ID of the owner." + } + ], + "query": [ + ] + }, + "description": "Returns the Terms of Service document for a legal entity." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"type\" : \"adyenIssuing\",\n \"language\" : \"en\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/legalEntities/:id/termsOfService", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "legalEntities", - ":id", - "termsOfService" - ], - "variable": [ - { - "key": "id", - "value": "", - "description": "The unique identifier of the legal entity. For sole proprietorships, this is the individual legal entity ID of the owner." - } - ], - "query": [ - ] - }, - "description": "Returns the Terms of Service document for a legal entity." - } + ] } ] - } -, + }, { "name": "/legalEntities/:id/termsOfService/:termsofservicedocumentid", "description": "Accepts Terms of Service.", @@ -1410,62 +2504,127 @@ { "name": "Accept the Terms of Service document", "request": { - "method": "PATCH", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"acceptedBy\" : \"LE00000000000000000000002\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/legalEntities/:id/termsOfService/:termsofservicedocumentid", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "legalEntities", + ":id", + "termsOfService", + ":termsofservicedocumentid" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "The unique identifier of the legal entity. For sole proprietorships, this is the individual legal entity ID of the owner." + }, + { + "key": "termsofservicedocumentid", + "value": "", + "description": "The unique identifier of the Terms of Service document." + } + ], + "query": [ + ] + }, + "description": "Accepts Terms of Service." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"acceptedBy\" : \"LE00000000000000000000002\",\n \"id\" : \"TOSA000AB00000000B2AAAB2BA0AA0\",\n \"language\" : \"en\",\n \"termsOfServiceDocumentId\" : \"abc123\",\n \"type\" : \"adyenIssuing\"\n}", + "originalRequest": { + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"acceptedBy\" : \"LE00000000000000000000002\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/legalEntities/:id/termsOfService/:termsofservicedocumentid", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "legalEntities", + ":id", + "termsOfService", + ":termsofservicedocumentid" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "The unique identifier of the legal entity. For sole proprietorships, this is the individual legal entity ID of the owner." + }, + { + "key": "termsofservicedocumentid", + "value": "", + "description": "The unique identifier of the Terms of Service document." + } + ], + "query": [ + ] + }, + "description": "Accepts Terms of Service." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"acceptedBy\" : \"LE00000000000000000000002\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/legalEntities/:id/termsOfService/:termsofservicedocumentid", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "legalEntities", - ":id", - "termsOfService", - ":termsofservicedocumentid" - ], - "variable": [ - { - "key": "id", - "value": "", - "description": "The unique identifier of the legal entity. For sole proprietorships, this is the individual legal entity ID of the owner." - }, - { - "key": "termsofservicedocumentid", - "value": "", - "description": "The unique identifier of the Terms of Service document." - } - ], - "query": [ - ] - }, - "description": "Accepts Terms of Service." - } + ] } ] - } -, + }, { "name": "/legalEntities/:id/termsOfServiceAcceptanceInfos", "description": "Returns Terms of Service information for a legal entity.", @@ -1473,50 +2632,51 @@ { "name": "Get Terms of Service information for a legal entity", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/legalEntities/:id/termsOfServiceAcceptanceInfos", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "legalEntities", - ":id", - "termsOfServiceAcceptanceInfos" - ], - "variable": [ - { - "key": "id", - "value": "", - "description": "The unique identifier of the legal entity. For sole proprietorships, this is the individual legal entity ID of the owner." - } - ], - "query": [ - ] - }, - "description": "Returns Terms of Service information for a legal entity." - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/legalEntities/:id/termsOfServiceAcceptanceInfos", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "legalEntities", + ":id", + "termsOfServiceAcceptanceInfos" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "The unique identifier of the legal entity. For sole proprietorships, this is the individual legal entity ID of the owner." + } + ], + "query": [ + ] + }, + "description": "Returns Terms of Service information for a legal entity." +} + ,"response": [ + ] } ] - } -, + }, { "name": "/legalEntities/:id/termsOfServiceStatus", "description": "Returns the required types of Terms of Service that need to be accepted by a legal entity.", @@ -1524,50 +2684,51 @@ { "name": "Get Terms of Service status", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/legalEntities/:id/termsOfServiceStatus", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "legalEntities", - ":id", - "termsOfServiceStatus" - ], - "variable": [ - { - "key": "id", - "value": "", - "description": "The unique identifier of the legal entity. For sole proprietorships, this is the individual legal entity ID of the owner." - } - ], - "query": [ - ] - }, - "description": "Returns the required types of Terms of Service that need to be accepted by a legal entity." - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/legalEntities/:id/termsOfServiceStatus", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "legalEntities", + ":id", + "termsOfServiceStatus" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "The unique identifier of the legal entity. For sole proprietorships, this is the individual legal entity ID of the owner." + } + ], + "query": [ + ] + }, + "description": "Returns the required types of Terms of Service that need to be accepted by a legal entity." +} + ,"response": [ + ] } ] } - ] }, { @@ -1580,104 +2741,221 @@ { "name": "Add a EUR bank account", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "x-requested-verification-code", - "value": "", - "description": "Use a suberror code as your requested verification code. You can include one code at a time in your request header. Requested verification codes can only be used in your test environment.", - "disabled": true + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "x-requested-verification-code", + "value": "", + "description": "Use a suberror code as your requested verification code. You can include one code at a time in your request header. Requested verification codes can only be used in your test environment.", + "disabled": true + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"legalEntityId\" : \"LE00000000000000000000001\",\n \"type\" : \"bankAccount\",\n \"bankAccount\" : {\n \"countryCode\" : \"NL\",\n \"currencyCode\" : \"EUR\",\n \"iban\" : \"NL62ABNA0000000123\",\n \"trustedSource\" : false\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/transferInstruments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "transferInstruments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates a transfer instrument. A transfer instrument is a bank account that a legal entity owns. Adyen performs verification checks on the transfer instrument as required by payment industry regulations. We inform you of the verification results through webhooks or API responses. When the transfer instrument passes the verification checks, you can start sending funds from the balance platform to the transfer instrument (such as payouts)." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"bankAccount\" : {\n \"countryCode\" : \"NL\",\n \"currencyCode\" : \"EUR\",\n \"iban\" : \"NL62ABNA0000000123\",\n \"trustedSource\" : false\n },\n \"legalEntityId\" : \"LE00000000000000000000001\",\n \"type\" : \"bankAccount\",\n \"capabilities\" : {\n \"sendToTransferInstrument\" : {\n \"allowed\" : false,\n \"requested\" : true,\n \"verificationStatus\" : \"pending\"\n }\n },\n \"id\" : \"SE322KH223222F5GXZFNM3BGP\"\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "x-requested-verification-code", + "value": "", + "description": "Use a suberror code as your requested verification code. You can include one code at a time in your request header. Requested verification codes can only be used in your test environment.", + "disabled": true + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"legalEntityId\" : \"LE00000000000000000000001\",\n \"type\" : \"bankAccount\",\n \"bankAccount\" : {\n \"countryCode\" : \"NL\",\n \"currencyCode\" : \"EUR\",\n \"iban\" : \"NL62ABNA0000000123\",\n \"trustedSource\" : false\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/transferInstruments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "transferInstruments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates a transfer instrument. A transfer instrument is a bank account that a legal entity owns. Adyen performs verification checks on the transfer instrument as required by payment industry regulations. We inform you of the verification results through webhooks or API responses. When the transfer instrument passes the verification checks, you can start sending funds from the balance platform to the transfer instrument (such as payouts)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"legalEntityId\" : \"LE00000000000000000000001\",\n \"type\" : \"bankAccount\",\n \"bankAccount\" : {\n \"countryCode\" : \"NL\",\n \"currencyCode\" : \"EUR\",\n \"iban\" : \"NL62ABNA0000000123\",\n \"trustedSource\" : false\n }\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/transferInstruments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "transferInstruments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Creates a transfer instrument. A transfer instrument is a bank account that a legal entity owns. Adyen performs verification checks on the transfer instrument as required by payment industry regulations. We inform you of the verification results through webhooks or API responses. When the transfer instrument passes the verification checks, you can start sending funds from the balance platform to the transfer instrument (such as payouts)." - } + ] }, { "name": "Add a USD bank account", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "x-requested-verification-code", - "value": "", - "description": "Use a suberror code as your requested verification code. You can include one code at a time in your request header. Requested verification codes can only be used in your test environment.", - "disabled": true + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "x-requested-verification-code", + "value": "", + "description": "Use a suberror code as your requested verification code. You can include one code at a time in your request header. Requested verification codes can only be used in your test environment.", + "disabled": true + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"legalEntityId\" : \"LE00000000000000000000001\",\n \"type\" : \"bankAccount\",\n \"bankAccount\" : {\n \"countryCode\" : \"US\",\n \"currencyCode\" : \"USD\",\n \"accountNumber\" : \"0000000123\",\n \"branchCode\" : \"121202211\",\n \"accountType\" : \"checking\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/transferInstruments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "transferInstruments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates a transfer instrument. A transfer instrument is a bank account that a legal entity owns. Adyen performs verification checks on the transfer instrument as required by payment industry regulations. We inform you of the verification results through webhooks or API responses. When the transfer instrument passes the verification checks, you can start sending funds from the balance platform to the transfer instrument (such as payouts)." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"bankAccount\" : {\n \"accountNumber\" : \"0000000123\",\n \"accountType\" : \"checking\",\n \"branchCode\" : \"121202211\",\n \"countryCode\" : \"US\",\n \"currencyCode\" : \"USD\",\n \"trustedSource\" : false\n },\n \"legalEntityId\" : \"LE00000000000000000000001\",\n \"type\" : \"bankAccount\",\n \"capabilities\" : {\n \"sendToTransferInstrument\" : {\n \"allowed\" : false,\n \"requested\" : true,\n \"verificationStatus\" : \"pending\"\n }\n },\n \"id\" : \"SE322JV223222F5GJVKHH8DTC\"\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "x-requested-verification-code", + "value": "", + "description": "Use a suberror code as your requested verification code. You can include one code at a time in your request header. Requested verification codes can only be used in your test environment.", + "disabled": true + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"legalEntityId\" : \"LE00000000000000000000001\",\n \"type\" : \"bankAccount\",\n \"bankAccount\" : {\n \"countryCode\" : \"US\",\n \"currencyCode\" : \"USD\",\n \"accountNumber\" : \"0000000123\",\n \"branchCode\" : \"121202211\",\n \"accountType\" : \"checking\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/transferInstruments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "transferInstruments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates a transfer instrument. A transfer instrument is a bank account that a legal entity owns. Adyen performs verification checks on the transfer instrument as required by payment industry regulations. We inform you of the verification results through webhooks or API responses. When the transfer instrument passes the verification checks, you can start sending funds from the balance platform to the transfer instrument (such as payouts)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"legalEntityId\" : \"LE00000000000000000000001\",\n \"type\" : \"bankAccount\",\n \"bankAccount\" : {\n \"countryCode\" : \"US\",\n \"currencyCode\" : \"USD\",\n \"accountNumber\" : \"0000000123\",\n \"branchCode\" : \"121202211\",\n \"accountType\" : \"checking\"\n }\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/transferInstruments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "transferInstruments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Creates a transfer instrument. A transfer instrument is a bank account that a legal entity owns. Adyen performs verification checks on the transfer instrument as required by payment industry regulations. We inform you of the verification results through webhooks or API responses. When the transfer instrument passes the verification checks, you can start sending funds from the balance platform to the transfer instrument (such as payouts)." - } + ] } ] - } -, + }, { "name": "/transferInstruments/:id", "description": "Deletes a transfer instrument.", @@ -1685,49 +2963,50 @@ { "name": "Delete a transfer instrument", "request": { - "method": "DELETE", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/transferInstruments/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "transferInstruments", - ":id" - ], - "variable": [ - { - "key": "id", - "value": "", - "description": "The unique identifier of the transfer instrument to be deleted." - } - ], - "query": [ - ] - }, - "description": "Deletes a transfer instrument." - } + "method": "DELETE", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/transferInstruments/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "transferInstruments", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "The unique identifier of the transfer instrument to be deleted." + } + ], + "query": [ + ] + }, + "description": "Deletes a transfer instrument." +} + ,"response": [ + ] } ] - } -, + }, { "name": "/transferInstruments/:id", "description": "Returns the details of a transfer instrument.", @@ -1735,49 +3014,50 @@ { "name": "Get a transfer instrument", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/transferInstruments/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "transferInstruments", - ":id" - ], - "variable": [ - { - "key": "id", - "value": "", - "description": "The unique identifier of the transfer instrument." - } - ], - "query": [ - ] - }, - "description": "Returns the details of a transfer instrument." - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/transferInstruments/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "transferInstruments", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "The unique identifier of the transfer instrument." + } + ], + "query": [ + ] + }, + "description": "Returns the details of a transfer instrument." +} + ,"response": [ + ] } ] - } -, + }, { "name": "/transferInstruments/:id", "description": "Updates a transfer instrument.", @@ -1785,61 +3065,125 @@ { "name": "Update a transfer instrument", "request": { - "method": "PATCH", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "x-requested-verification-code", - "value": "", - "description": "Use the requested verification code 0_0001 to resolve any suberrors associated with the transfer instrument. Requested verification codes can only be used in your test environment.", - "disabled": true + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "x-requested-verification-code", + "value": "", + "description": "Use the requested verification code 0_0001 to resolve any suberrors associated with the transfer instrument. Requested verification codes can only be used in your test environment.", + "disabled": true + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"bankAccount\" : {\n \"currencyCode\" : \"EUR\",\n \"iban\" : \"NL02ABNA0123456789\"\n },\n \"legalEntityId\" : \"LE00000000000000000000001\",\n \"type\" : \"bankAccount\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/transferInstruments/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "transferInstruments", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "The unique identifier of the transfer instrument." + } + ], + "query": [ + ] + }, + "description": "Updates a transfer instrument." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"bankAccount\" : {\n \"countryCode\" : \"NL\",\n \"currencyCode\" : \"EUR\",\n \"iban\" : \"NL02ABNA0123456789\"\n },\n \"legalEntityId\" : \"LE00000000000000000000001\",\n \"type\" : \"bankAccount\",\n \"id\" : \"SE576BH223222F5GJVKHH6BDT\"\n}", + "originalRequest": { + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "x-requested-verification-code", + "value": "", + "description": "Use the requested verification code 0_0001 to resolve any suberrors associated with the transfer instrument. Requested verification codes can only be used in your test environment.", + "disabled": true + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"bankAccount\" : {\n \"currencyCode\" : \"EUR\",\n \"iban\" : \"NL02ABNA0123456789\"\n },\n \"legalEntityId\" : \"LE00000000000000000000001\",\n \"type\" : \"bankAccount\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/transferInstruments/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "transferInstruments", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "The unique identifier of the transfer instrument." + } + ], + "query": [ + ] + }, + "description": "Updates a transfer instrument." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"bankAccount\" : {\n \"currencyCode\" : \"EUR\",\n \"iban\" : \"NL02ABNA0123456789\"\n },\n \"legalEntityId\" : \"LE00000000000000000000001\",\n \"type\" : \"bankAccount\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/transferInstruments/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "transferInstruments", - ":id" - ], - "variable": [ - { - "key": "id", - "value": "", - "description": "The unique identifier of the transfer instrument." - } - ], - "query": [ - ] - }, - "description": "Updates a transfer instrument." - } + ] } ] } - ] }, { @@ -1852,50 +3196,51 @@ { "name": "Get PCI questionnaire details", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/legalEntities/:id/pciQuestionnaires", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "legalEntities", - ":id", - "pciQuestionnaires" - ], - "variable": [ - { - "key": "id", - "value": "", - "description": "The unique identifier of the legal entity to get PCI questionnaire information." - } - ], - "query": [ - ] - }, - "description": "Get a list of signed PCI questionnaires." - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/legalEntities/:id/pciQuestionnaires", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "legalEntities", + ":id", + "pciQuestionnaires" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "The unique identifier of the legal entity to get PCI questionnaire information." + } + ], + "query": [ + ] + }, + "description": "Get a list of signed PCI questionnaires." +} + ,"response": [ + ] } ] - } -, + }, { "name": "/legalEntities/:id/pciQuestionnaires/:pciid", "description": "Returns the signed PCI questionnaire.", @@ -1903,56 +3248,57 @@ { "name": "Get PCI questionnaire", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/legalEntities/:id/pciQuestionnaires/:pciid", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "legalEntities", - ":id", - "pciQuestionnaires", - ":pciid" - ], - "variable": [ - { - "key": "id", - "value": "", - "description": "The legal entity ID of the individual who signed the PCI questionnaire." - }, - { - "key": "pciid", - "value": "", - "description": "The unique identifier of the signed PCI questionnaire." - } - ], - "query": [ - ] - }, - "description": "Returns the signed PCI questionnaire." - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/legalEntities/:id/pciQuestionnaires/:pciid", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "legalEntities", + ":id", + "pciQuestionnaires", + ":pciid" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "The legal entity ID of the individual who signed the PCI questionnaire." + }, + { + "key": "pciid", + "value": "", + "description": "The unique identifier of the signed PCI questionnaire." + } + ], + "query": [ + ] + }, + "description": "Returns the signed PCI questionnaire." +} + ,"response": [ + ] } ] - } -, + }, { "name": "/legalEntities/:id/pciQuestionnaires/generatePciTemplates", "description": "Generates the required PCI questionnaires based on the user's [salesChannel](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/businessLines__reqParam_salesChannels).", @@ -1960,57 +3306,117 @@ { "name": "Generate PCI questionnaires", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"language\" : \"fr\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/legalEntities/:id/pciQuestionnaires/generatePciTemplates", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "legalEntities", + ":id", + "pciQuestionnaires", + "generatePciTemplates" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "The unique identifier of the legal entity to get PCI questionnaire information." + } + ], + "query": [ + ] + }, + "description": "Generates the required PCI questionnaires based on the user's [salesChannel](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/businessLines__reqParam_salesChannels)." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"content\" : \"JVBERi0xLjQKJcOkw7zDtsOfCjIgMCBv+f/ub0j6JPRX+E3EmC==\",\n \"language\" : \"fr\",\n \"pciTemplateReferences\" : [ \"PCIT-T7KC6VGL\", \"PCIT-PKB6DKS4\" ]\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"language\" : \"fr\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/legalEntities/:id/pciQuestionnaires/generatePciTemplates", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "legalEntities", + ":id", + "pciQuestionnaires", + "generatePciTemplates" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "The unique identifier of the legal entity to get PCI questionnaire information." + } + ], + "query": [ + ] + }, + "description": "Generates the required PCI questionnaires based on the user's [salesChannel](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/businessLines__reqParam_salesChannels)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"language\" : \"fr\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/legalEntities/:id/pciQuestionnaires/generatePciTemplates", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "legalEntities", - ":id", - "pciQuestionnaires", - "generatePciTemplates" - ], - "variable": [ - { - "key": "id", - "value": "", - "description": "The unique identifier of the legal entity to get PCI questionnaire information." - } - ], - "query": [ - ] - }, - "description": "Generates the required PCI questionnaires based on the user's [salesChannel](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/businessLines__reqParam_salesChannels)." - } + ] } ] - } -, + }, { "name": "/legalEntities/:id/pciQuestionnaires/signPciTemplates", "description": "Signs the required PCI questionnaire.", @@ -2018,57 +3424,117 @@ { "name": "Sign PCI questionnaires", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"signedBy\" : \"LE00000000000000000000002\",\n \"pciTemplateReferences\" : [ \"PCIT-T7KC6VGL\", \"PCIT-PKB6DKS4\" ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/legalEntities/:id/pciQuestionnaires/signPciTemplates", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "legalEntities", + ":id", + "pciQuestionnaires", + "signPciTemplates" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "The legal entity ID of the user that has a contractual relationship with your platform." + } + ], + "query": [ + ] + }, + "description": "Signs the required PCI questionnaire." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"pciQuestionnaireIds\" : [ \"PCID422GZ22322565HHMH48CW63CPH\", \"PCID422GZ22322565HHMH49CW75Z9H\" ]\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"signedBy\" : \"LE00000000000000000000002\",\n \"pciTemplateReferences\" : [ \"PCIT-T7KC6VGL\", \"PCIT-PKB6DKS4\" ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/legalEntities/:id/pciQuestionnaires/signPciTemplates", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "legalEntities", + ":id", + "pciQuestionnaires", + "signPciTemplates" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "The legal entity ID of the user that has a contractual relationship with your platform." + } + ], + "query": [ + ] + }, + "description": "Signs the required PCI questionnaire." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"signedBy\" : \"LE00000000000000000000002\",\n \"pciTemplateReferences\" : [ \"PCIT-T7KC6VGL\", \"PCIT-PKB6DKS4\" ]\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/legalEntities/:id/pciQuestionnaires/signPciTemplates", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "legalEntities", - ":id", - "pciQuestionnaires", - "signPciTemplates" - ], - "variable": [ - { - "key": "id", - "value": "", - "description": "The legal entity ID of the user that has a contractual relationship with your platform." - } - ], - "query": [ - ] - }, - "description": "Signs the required PCI questionnaire." - } + ] } ] } - ] } ], diff --git a/postman/LegalEntityService-v3.json b/postman/LegalEntityService-v3.json index 78d934e..7a3e82a 100644 --- a/postman/LegalEntityService-v3.json +++ b/postman/LegalEntityService-v3.json @@ -2,7 +2,7 @@ "info": { "name": "Legal Entity Management API (v3)", "description": { - "content": "The Legal Entity Management API enables you to manage legal entities that contain information required for verification. \n## Authentication\nYour Adyen contact will provide your API credential and an API key. To connect to the API, add an `X-API-Key` header with the API key as the value. For example:\n\n```\ncurl\n-H \"X-API-Key: YOUR_API_KEY\" \\n-H \"Content-Type: application/json\" \\n...\n```\nAlternatively, you can use the username and password of your API credential to connect to the API using basic authentication. For example:\n\n```\ncurl\n-U \"ws_123456@Scope.Company_YOUR_COMPANY_ACCOUNT\":\"YourWsPassword\" \\n-H \"Content-Type: application/json\" \\n...\n```\n## Versioning\nThe Legal Entity Management API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number.\n\nFor example:\n```\nhttps://kyc-test.adyen.com/lem/v3/legalEntities\n```\n>If you are using hosted onboarding and just beginning your integration, use v3 for your API requests. Otherwise, use v2.\n\n## Going live\nWhen going live, your Adyen contact will provide your API credential for the live environment. You can then use the API key or the username and password to send requests to `https://kyc-live.adyen.com/lem/v3`.\n\n", + "content": "The Legal Entity Management API enables you to manage legal entities that contain information required for verification. \n## Authentication\nYour Adyen contact will provide your API credential and an API key. To connect to the API, add an `X-API-Key` header with the API key as the value. For example:\n\n```\ncurl\n-H \"X-API-Key: YOUR_API_KEY\" \\n-H \"Content-Type: application/json\" \\n...\n```\nAlternatively, you can use the username and password of your API credential to connect to the API using basic authentication. For example:\n\n```\ncurl\n-U \"ws_123456@Scope.Company_YOUR_COMPANY_ACCOUNT\":\"YourWsPassword\" \\n-H \"Content-Type: application/json\" \\n...\n```\n## Versioning\nThe Legal Entity Management API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number.\n\nFor example:\n```\nhttps://kyc-test.adyen.com/lem/v3/legalEntities\n```\n## Going live\nWhen going live, your Adyen contact will provide your API credential for the live environment. You can then use the API key or the username and password to send requests to `https://kyc-live.adyen.com/lem/v3`.\n\n", "type": "text/markdown" }, "version": "3", @@ -14,354 +14,766 @@ "item": [ { "name": "/legalEntities", - "description": "Creates a legal entity. This resource contains information about the user that will be onboarded in your platform. Adyen uses this information to perform verification checks as required by payment industry regulations. Adyen informs you of the verification results through webhooks or API responses. >If you are using hosted onboarding and just beginning your integration, use v3 for your API requests. Otherwise, use v2. ", + "description": "Creates a legal entity. This resource contains information about the user that will be onboarded in your platform. Adyen uses this information to perform verification checks as required by payment industry regulations. Adyen informs you of the verification results through webhooks or API responses. ", "item": [ { "name": "Create a legal entity for an individual residing in the Netherlands", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "x-requested-verification-code", - "value": "", - "description": "Use a suberror code as your requested verification code. You can include one code at a time in your request header. Requested verification codes can only be used in your test environment.", - "disabled": true + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "x-requested-verification-code", + "value": "", + "description": "Use a suberror code as your requested verification code. You can include one code at a time in your request header. Requested verification codes can only be used in your test environment.", + "disabled": true + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"type\" : \"individual\",\n \"individual\" : {\n \"residentialAddress\" : {\n \"city\" : \"Amsterdam\",\n \"country\" : \"NL\",\n \"postalCode\" : \"1011DJ\",\n \"street\" : \"Simon Carmiggeltstraat 6 - 50\"\n },\n \"name\" : {\n \"firstName\" : \"Shelly\",\n \"lastName\" : \"Eller\"\n },\n \"birthData\" : {\n \"dateOfBirth\" : \"1990-06-21\"\n },\n \"email\" : \"s.eller@example.com\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/legalEntities", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "legalEntities" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates a legal entity. This resource contains information about the user that will be onboarded in your platform. Adyen uses this information to perform verification checks as required by payment industry regulations. Adyen informs you of the verification results through webhooks or API responses. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"individual\" : {\n \"email\" : \"s.eller@example.com\",\n \"birthData\" : {\n \"dateOfBirth\" : \"1990-06-21\"\n },\n \"name\" : {\n \"firstName\" : \"Shelly\",\n \"lastName\" : \"Eller\"\n },\n \"residentialAddress\" : {\n \"city\" : \"Amsterdam\",\n \"country\" : \"NL\",\n \"postalCode\" : \"1011DJ\",\n \"street\" : \"Simon Carmiggeltstraat 6 - 50\"\n }\n },\n \"type\" : \"individual\",\n \"id\" : \"LE00000000000000000000001\"\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "x-requested-verification-code", + "value": "", + "description": "Use a suberror code as your requested verification code. You can include one code at a time in your request header. Requested verification codes can only be used in your test environment.", + "disabled": true + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"type\" : \"individual\",\n \"individual\" : {\n \"residentialAddress\" : {\n \"city\" : \"Amsterdam\",\n \"country\" : \"NL\",\n \"postalCode\" : \"1011DJ\",\n \"street\" : \"Simon Carmiggeltstraat 6 - 50\"\n },\n \"name\" : {\n \"firstName\" : \"Shelly\",\n \"lastName\" : \"Eller\"\n },\n \"birthData\" : {\n \"dateOfBirth\" : \"1990-06-21\"\n },\n \"email\" : \"s.eller@example.com\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/legalEntities", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "legalEntities" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates a legal entity. This resource contains information about the user that will be onboarded in your platform. Adyen uses this information to perform verification checks as required by payment industry regulations. Adyen informs you of the verification results through webhooks or API responses. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"type\" : \"individual\",\n \"individual\" : {\n \"residentialAddress\" : {\n \"city\" : \"Amsterdam\",\n \"country\" : \"NL\",\n \"postalCode\" : \"1011DJ\",\n \"street\" : \"Simon Carmiggeltstraat 6 - 50\"\n },\n \"name\" : {\n \"firstName\" : \"Shelly\",\n \"lastName\" : \"Eller\"\n },\n \"birthData\" : {\n \"dateOfBirth\" : \"1990-06-21\"\n },\n \"email\" : \"s.eller@example.com\"\n }\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/legalEntities", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "legalEntities" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Creates a legal entity. This resource contains information about the user that will be onboarded in your platform. Adyen uses this information to perform verification checks as required by payment industry regulations. Adyen informs you of the verification results through webhooks or API responses. >If you are using hosted onboarding and just beginning your integration, use v3 for your API requests. Otherwise, use v2. " - } + ] }, { "name": "Create a legal entity for an individual residing in the US", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "x-requested-verification-code", - "value": "", - "description": "Use a suberror code as your requested verification code. You can include one code at a time in your request header. Requested verification codes can only be used in your test environment.", - "disabled": true + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "x-requested-verification-code", + "value": "", + "description": "Use a suberror code as your requested verification code. You can include one code at a time in your request header. Requested verification codes can only be used in your test environment.", + "disabled": true + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"type\" : \"individual\",\n \"individual\" : {\n \"residentialAddress\" : {\n \"city\" : \"New York\",\n \"country\" : \"US\",\n \"postalCode\" : \"10003\",\n \"stateOrProvince\" : \"NY\",\n \"street\" : \"71 5th Avenue\",\n \"street2\" : \"11th floor\"\n },\n \"phone\" : {\n \"number\" : \"+14153671502\",\n \"type\" : \"mobile\"\n },\n \"name\" : {\n \"firstName\" : \"Shelly\",\n \"lastName\" : \"Eller\"\n },\n \"birthData\" : {\n \"dateOfBirth\" : \"1990-06-21\"\n },\n \"email\" : \"s.eller@example.com\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/legalEntities", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "legalEntities" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates a legal entity. This resource contains information about the user that will be onboarded in your platform. Adyen uses this information to perform verification checks as required by payment industry regulations. Adyen informs you of the verification results through webhooks or API responses. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"individual\" : {\n \"email\" : \"s.eller@example.com\",\n \"phone\" : {\n \"number\" : \"+14153671502\",\n \"type\" : \"mobile\"\n },\n \"birthData\" : {\n \"dateOfBirth\" : \"1990-06-21\"\n },\n \"name\" : {\n \"firstName\" : \"Shelly\",\n \"lastName\" : \"Eller\"\n },\n \"residentialAddress\" : {\n \"city\" : \"New York\",\n \"country\" : \"US\",\n \"postalCode\" : \"10003\",\n \"stateOrProvince\" : \"NY\",\n \"street\" : \"71 5th Avenue\",\n \"street2\" : \"11th floor\"\n }\n },\n \"type\" : \"individual\",\n \"id\" : \"LE00000000000000000000001\"\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "x-requested-verification-code", + "value": "", + "description": "Use a suberror code as your requested verification code. You can include one code at a time in your request header. Requested verification codes can only be used in your test environment.", + "disabled": true + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"type\" : \"individual\",\n \"individual\" : {\n \"residentialAddress\" : {\n \"city\" : \"New York\",\n \"country\" : \"US\",\n \"postalCode\" : \"10003\",\n \"stateOrProvince\" : \"NY\",\n \"street\" : \"71 5th Avenue\",\n \"street2\" : \"11th floor\"\n },\n \"phone\" : {\n \"number\" : \"+14153671502\",\n \"type\" : \"mobile\"\n },\n \"name\" : {\n \"firstName\" : \"Shelly\",\n \"lastName\" : \"Eller\"\n },\n \"birthData\" : {\n \"dateOfBirth\" : \"1990-06-21\"\n },\n \"email\" : \"s.eller@example.com\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/legalEntities", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "legalEntities" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates a legal entity. This resource contains information about the user that will be onboarded in your platform. Adyen uses this information to perform verification checks as required by payment industry regulations. Adyen informs you of the verification results through webhooks or API responses. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"type\" : \"individual\",\n \"individual\" : {\n \"residentialAddress\" : {\n \"city\" : \"New York\",\n \"country\" : \"US\",\n \"postalCode\" : \"10003\",\n \"stateOrProvince\" : \"NY\",\n \"street\" : \"71 5th Avenue\",\n \"street2\" : \"11th floor\"\n },\n \"phone\" : {\n \"number\" : \"+14153671502\",\n \"type\" : \"mobile\"\n },\n \"name\" : {\n \"firstName\" : \"Shelly\",\n \"lastName\" : \"Eller\"\n },\n \"birthData\" : {\n \"dateOfBirth\" : \"1990-06-21\"\n },\n \"email\" : \"s.eller@example.com\"\n }\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/legalEntities", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "legalEntities" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Creates a legal entity. This resource contains information about the user that will be onboarded in your platform. Adyen uses this information to perform verification checks as required by payment industry regulations. Adyen informs you of the verification results through webhooks or API responses. >If you are using hosted onboarding and just beginning your integration, use v3 for your API requests. Otherwise, use v2. " - } + ] }, { "name": "Create a legal entity for a Dutch organization", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "x-requested-verification-code", - "value": "", - "description": "Use a suberror code as your requested verification code. You can include one code at a time in your request header. Requested verification codes can only be used in your test environment.", - "disabled": true + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "x-requested-verification-code", + "value": "", + "description": "Use a suberror code as your requested verification code. You can include one code at a time in your request header. Requested verification codes can only be used in your test environment.", + "disabled": true + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"type\" : \"organization\",\n \"organization\" : {\n \"legalName\" : \"Explorer Company based in NL\",\n \"doingBusinessAs\" : \"API Company Trading\",\n \"type\" : \"privateCompany\",\n \"registeredAddress\" : {\n \"city\" : \"Amsterdam\",\n \"country\" : \"NL\",\n \"postalCode\" : \"1011DJ\",\n \"street\" : \"Simon Carmiggeltstraat 6 - 50\"\n },\n \"registrationNumber\" : \"34179503\",\n \"email\" : \"organization@example.com\"\n },\n \"entityAssociations\" : [ {\n \"jobTitle\" : \"CEO\",\n \"legalEntityId\" : \"LE00000000000000000000001\",\n \"type\" : \"signatory\"\n } ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/legalEntities", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "legalEntities" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates a legal entity. This resource contains information about the user that will be onboarded in your platform. Adyen uses this information to perform verification checks as required by payment industry regulations. Adyen informs you of the verification results through webhooks or API responses. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"entityAssociations\" : [ {\n \"associatorId\" : \"LE00000000000000000000002\",\n \"entityType\" : \"individual\",\n \"jobTitle\" : \"CEO\",\n \"legalEntityId\" : \"LE00000000000000000000001\",\n \"name\" : \"Simone Hopper\",\n \"type\" : \"signatory\"\n } ],\n \"organization\" : {\n \"email\" : \"organization@example.com\",\n \"doingBusinessAs\" : \"API Company Trading\",\n \"legalName\" : \"Explorer Company based in NL\",\n \"registeredAddress\" : {\n \"city\" : \"Amsterdam\",\n \"country\" : \"NL\",\n \"postalCode\" : \"1011DJ\",\n \"street\" : \"Simon Carmiggeltstraat 6 - 50\"\n },\n \"registrationNumber\" : \"34179503\",\n \"type\" : \"privateCompany\"\n },\n \"type\" : \"organization\",\n \"id\" : \"LE00000000000000000000002\"\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "x-requested-verification-code", + "value": "", + "description": "Use a suberror code as your requested verification code. You can include one code at a time in your request header. Requested verification codes can only be used in your test environment.", + "disabled": true + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"type\" : \"organization\",\n \"organization\" : {\n \"legalName\" : \"Explorer Company based in NL\",\n \"doingBusinessAs\" : \"API Company Trading\",\n \"type\" : \"privateCompany\",\n \"registeredAddress\" : {\n \"city\" : \"Amsterdam\",\n \"country\" : \"NL\",\n \"postalCode\" : \"1011DJ\",\n \"street\" : \"Simon Carmiggeltstraat 6 - 50\"\n },\n \"registrationNumber\" : \"34179503\",\n \"email\" : \"organization@example.com\"\n },\n \"entityAssociations\" : [ {\n \"jobTitle\" : \"CEO\",\n \"legalEntityId\" : \"LE00000000000000000000001\",\n \"type\" : \"signatory\"\n } ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/legalEntities", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "legalEntities" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates a legal entity. This resource contains information about the user that will be onboarded in your platform. Adyen uses this information to perform verification checks as required by payment industry regulations. Adyen informs you of the verification results through webhooks or API responses. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"type\" : \"organization\",\n \"organization\" : {\n \"legalName\" : \"Explorer Company based in NL\",\n \"doingBusinessAs\" : \"API Company Trading\",\n \"type\" : \"privateCompany\",\n \"registeredAddress\" : {\n \"city\" : \"Amsterdam\",\n \"country\" : \"NL\",\n \"postalCode\" : \"1011DJ\",\n \"street\" : \"Simon Carmiggeltstraat 6 - 50\"\n },\n \"registrationNumber\" : \"34179503\",\n \"email\" : \"organization@example.com\"\n },\n \"entityAssociations\" : [ {\n \"jobTitle\" : \"CEO\",\n \"legalEntityId\" : \"LE00000000000000000000001\",\n \"type\" : \"signatory\"\n } ]\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/legalEntities", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "legalEntities" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Creates a legal entity. This resource contains information about the user that will be onboarded in your platform. Adyen uses this information to perform verification checks as required by payment industry regulations. Adyen informs you of the verification results through webhooks or API responses. >If you are using hosted onboarding and just beginning your integration, use v3 for your API requests. Otherwise, use v2. " - } + ] }, { "name": "Create a legal entity for an organization in the US", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "x-requested-verification-code", - "value": "", - "description": "Use a suberror code as your requested verification code. You can include one code at a time in your request header. Requested verification codes can only be used in your test environment.", - "disabled": true + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "x-requested-verification-code", + "value": "", + "description": "Use a suberror code as your requested verification code. You can include one code at a time in your request header. Requested verification codes can only be used in your test environment.", + "disabled": true + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"type\" : \"organization\",\n \"organization\" : {\n \"legalName\" : \"Explorer Company based in US\",\n \"registrationNumber\" : \"101002749\",\n \"type\" : \"privateCompany\",\n \"registeredAddress\" : {\n \"city\" : \"New York\",\n \"country\" : \"US\",\n \"postalCode\" : \"10003\",\n \"stateOrProvince\" : \"NY\",\n \"street\" : \"71 5th Avenue\",\n \"street2\" : \"11th floor\"\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/legalEntities", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "legalEntities" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates a legal entity. This resource contains information about the user that will be onboarded in your platform. Adyen uses this information to perform verification checks as required by payment industry regulations. Adyen informs you of the verification results through webhooks or API responses. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"organization\" : {\n \"legalName\" : \"Explorer Company based in US\",\n \"registrationNumber\" : \"101002749\",\n \"registeredAddress\" : {\n \"city\" : \"New York\",\n \"country\" : \"US\",\n \"postalCode\" : \"10003\",\n \"stateOrProvince\" : \"NY\",\n \"street\" : \"71 5th Avenue\",\n \"street2\" : \"11th floor\"\n },\n \"type\" : \"privateCompany\"\n },\n \"type\" : \"organization\",\n \"id\" : \"LE00000000000000000000001\"\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "x-requested-verification-code", + "value": "", + "description": "Use a suberror code as your requested verification code. You can include one code at a time in your request header. Requested verification codes can only be used in your test environment.", + "disabled": true + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"type\" : \"organization\",\n \"organization\" : {\n \"legalName\" : \"Explorer Company based in US\",\n \"registrationNumber\" : \"101002749\",\n \"type\" : \"privateCompany\",\n \"registeredAddress\" : {\n \"city\" : \"New York\",\n \"country\" : \"US\",\n \"postalCode\" : \"10003\",\n \"stateOrProvince\" : \"NY\",\n \"street\" : \"71 5th Avenue\",\n \"street2\" : \"11th floor\"\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/legalEntities", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "legalEntities" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates a legal entity. This resource contains information about the user that will be onboarded in your platform. Adyen uses this information to perform verification checks as required by payment industry regulations. Adyen informs you of the verification results through webhooks or API responses. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"type\" : \"organization\",\n \"organization\" : {\n \"legalName\" : \"Explorer Company based in US\",\n \"registrationNumber\" : \"101002749\",\n \"type\" : \"privateCompany\",\n \"registeredAddress\" : {\n \"city\" : \"New York\",\n \"country\" : \"US\",\n \"postalCode\" : \"10003\",\n \"stateOrProvince\" : \"NY\",\n \"street\" : \"71 5th Avenue\",\n \"street2\" : \"11th floor\"\n }\n }\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/legalEntities", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "legalEntities" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Creates a legal entity. This resource contains information about the user that will be onboarded in your platform. Adyen uses this information to perform verification checks as required by payment industry regulations. Adyen informs you of the verification results through webhooks or API responses. >If you are using hosted onboarding and just beginning your integration, use v3 for your API requests. Otherwise, use v2. " - } + ] }, { "name": "Create a legal entity for a Dutch sole proprietor", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "x-requested-verification-code", - "value": "", - "description": "Use a suberror code as your requested verification code. You can include one code at a time in your request header. Requested verification codes can only be used in your test environment.", - "disabled": true + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "x-requested-verification-code", + "value": "", + "description": "Use a suberror code as your requested verification code. You can include one code at a time in your request header. Requested verification codes can only be used in your test environment.", + "disabled": true + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"type\" : \"soleProprietorship\",\n \"soleProprietorship\" : {\n \"name\" : \"Shelly Seller Sole Trader\",\n \"countryOfGoverningLaw\" : \"NL\",\n \"registeredAddress\" : {\n \"city\" : \"Amsterdam\",\n \"country\" : \"NL\",\n \"postalCode\" : \"1011DJ\",\n \"street\" : \"Simon Carmiggeltstraat 6 - 50\"\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/legalEntities", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "legalEntities" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates a legal entity. This resource contains information about the user that will be onboarded in your platform. Adyen uses this information to perform verification checks as required by payment industry regulations. Adyen informs you of the verification results through webhooks or API responses. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"type\" : \"soleProprietorship\",\n \"soleProprietorship\" : {\n \"name\" : \"Shelly Seller Sole Trader\",\n \"countryOfGoverningLaw\" : \"NL\",\n \"registeredAddress\" : {\n \"city\" : \"Amsterdam\",\n \"country\" : \"NL\",\n \"postalCode\" : \"1011DJ\",\n \"street\" : \"Simon Carmiggeltstraat 6 - 50\"\n }\n },\n \"id\" : \"LE00000000000000000000001\"\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "x-requested-verification-code", + "value": "", + "description": "Use a suberror code as your requested verification code. You can include one code at a time in your request header. Requested verification codes can only be used in your test environment.", + "disabled": true + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"type\" : \"soleProprietorship\",\n \"soleProprietorship\" : {\n \"name\" : \"Shelly Seller Sole Trader\",\n \"countryOfGoverningLaw\" : \"NL\",\n \"registeredAddress\" : {\n \"city\" : \"Amsterdam\",\n \"country\" : \"NL\",\n \"postalCode\" : \"1011DJ\",\n \"street\" : \"Simon Carmiggeltstraat 6 - 50\"\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/legalEntities", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "legalEntities" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates a legal entity. This resource contains information about the user that will be onboarded in your platform. Adyen uses this information to perform verification checks as required by payment industry regulations. Adyen informs you of the verification results through webhooks or API responses. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"type\" : \"soleProprietorship\",\n \"soleProprietorship\" : {\n \"name\" : \"Shelly Seller Sole Trader\",\n \"countryOfGoverningLaw\" : \"NL\",\n \"registeredAddress\" : {\n \"city\" : \"Amsterdam\",\n \"country\" : \"NL\",\n \"postalCode\" : \"1011DJ\",\n \"street\" : \"Simon Carmiggeltstraat 6 - 50\"\n }\n }\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/legalEntities", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "legalEntities" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Creates a legal entity. This resource contains information about the user that will be onboarded in your platform. Adyen uses this information to perform verification checks as required by payment industry regulations. Adyen informs you of the verification results through webhooks or API responses. >If you are using hosted onboarding and just beginning your integration, use v3 for your API requests. Otherwise, use v2. " - } + ] }, { "name": "Create a legal entity for a sole proprietor in the US", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "x-requested-verification-code", - "value": "", - "description": "Use a suberror code as your requested verification code. You can include one code at a time in your request header. Requested verification codes can only be used in your test environment.", - "disabled": true + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "x-requested-verification-code", + "value": "", + "description": "Use a suberror code as your requested verification code. You can include one code at a time in your request header. Requested verification codes can only be used in your test environment.", + "disabled": true + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"type\" : \"soleProprietorship\",\n \"soleProprietorship\" : {\n \"name\" : \"Shelly Eller Sole Trader\",\n \"countryOfGoverningLaw\" : \"US\",\n \"registeredAddress\" : {\n \"city\" : \"New York\",\n \"country\" : \"US\",\n \"postalCode\" : \"10003\",\n \"stateOrProvince\" : \"NY\",\n \"street\" : \"71 5th Avenue\",\n \"street2\" : \"11th floor\"\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/legalEntities", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "legalEntities" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates a legal entity. This resource contains information about the user that will be onboarded in your platform. Adyen uses this information to perform verification checks as required by payment industry regulations. Adyen informs you of the verification results through webhooks or API responses. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"type\" : \"soleProprietorship\",\n \"soleProprietorship\" : {\n \"name\" : \"Shelly Eller Sole Trader\",\n \"countryOfGoverningLaw\" : \"US\",\n \"registeredAddress\" : {\n \"city\" : \"New York\",\n \"country\" : \"US\",\n \"postalCode\" : \"10003\",\n \"stateOrProvince\" : \"NY\",\n \"street\" : \"71 5th Avenue\",\n \"street2\" : \"11th floor\"\n }\n },\n \"id\" : \"LE00000000000000000000001\"\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "x-requested-verification-code", + "value": "", + "description": "Use a suberror code as your requested verification code. You can include one code at a time in your request header. Requested verification codes can only be used in your test environment.", + "disabled": true + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"type\" : \"soleProprietorship\",\n \"soleProprietorship\" : {\n \"name\" : \"Shelly Eller Sole Trader\",\n \"countryOfGoverningLaw\" : \"US\",\n \"registeredAddress\" : {\n \"city\" : \"New York\",\n \"country\" : \"US\",\n \"postalCode\" : \"10003\",\n \"stateOrProvince\" : \"NY\",\n \"street\" : \"71 5th Avenue\",\n \"street2\" : \"11th floor\"\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/legalEntities", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "legalEntities" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates a legal entity. This resource contains information about the user that will be onboarded in your platform. Adyen uses this information to perform verification checks as required by payment industry regulations. Adyen informs you of the verification results through webhooks or API responses. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"type\" : \"soleProprietorship\",\n \"soleProprietorship\" : {\n \"name\" : \"Shelly Eller Sole Trader\",\n \"countryOfGoverningLaw\" : \"US\",\n \"registeredAddress\" : {\n \"city\" : \"New York\",\n \"country\" : \"US\",\n \"postalCode\" : \"10003\",\n \"stateOrProvince\" : \"NY\",\n \"street\" : \"71 5th Avenue\",\n \"street2\" : \"11th floor\"\n }\n }\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/legalEntities", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "legalEntities" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Creates a legal entity. This resource contains information about the user that will be onboarded in your platform. Adyen uses this information to perform verification checks as required by payment industry regulations. Adyen informs you of the verification results through webhooks or API responses. >If you are using hosted onboarding and just beginning your integration, use v3 for your API requests. Otherwise, use v2. " - } + ] }, { "name": "Create a legal entity for a trust in Australia", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "x-requested-verification-code", - "value": "", - "description": "Use a suberror code as your requested verification code. You can include one code at a time in your request header. Requested verification codes can only be used in your test environment.", - "disabled": true + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "x-requested-verification-code", + "value": "", + "description": "Use a suberror code as your requested verification code. You can include one code at a time in your request header. Requested verification codes can only be used in your test environment.", + "disabled": true + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"type\" : \"trust\",\n \"trust\" : {\n \"name\" : \"Example Trust\",\n \"type\" : \"fixedUnitTrust\",\n \"doingBusinessAs\" : \"West's Store\",\n \"countryOfGoverningLaw\" : \"AU\",\n \"taxInformation\" : [ {\n \"country\" : \"AU\",\n \"type\" : \"ABN\",\n \"number\" : \"12345678123\"\n } ],\n \"registeredAddress\" : {\n \"street\" : \"Winfield Avenue\",\n \"city\" : \"Sydney\",\n \"postalCode\" : \"1197\",\n \"stateOrProvince\" : \"NSW\",\n \"country\" : \"AU\"\n },\n \"undefinedBeneficiaryInfo\" : [ {\n \"description\" : \"My future children\"\n } ]\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/legalEntities", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "legalEntities" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates a legal entity. This resource contains information about the user that will be onboarded in your platform. Adyen uses this information to perform verification checks as required by payment industry regulations. Adyen informs you of the verification results through webhooks or API responses. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"trust\" : {\n \"countryOfGoverningLaw\" : \"AU\",\n \"doingBusinessAs\" : \"West's Store\",\n \"name\" : \"Example Trust\",\n \"registeredAddress\" : {\n \"city\" : \"Sydney\",\n \"country\" : \"AU\",\n \"postalCode\" : \"1197\",\n \"stateOrProvince\" : \"NSW\",\n \"street\" : \"Winfield Avenue\"\n },\n \"taxInformation\" : [ {\n \"country\" : \"AU\",\n \"number\" : \"12345678901\",\n \"type\" : \"ABN\"\n } ],\n \"type\" : \"fixedUnitTrust\",\n \"undefinedBeneficiaryInfo\" : [ {\n \"description\" : \"My future children\",\n \"reference\" : \"SE322KH223222J5HJ6JRB75HQ\"\n } ]\n },\n \"type\" : \"trust\",\n \"id\" : \"LE322KH223222J5HJ6JRB75C5\"\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "x-requested-verification-code", + "value": "", + "description": "Use a suberror code as your requested verification code. You can include one code at a time in your request header. Requested verification codes can only be used in your test environment.", + "disabled": true + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"type\" : \"trust\",\n \"trust\" : {\n \"name\" : \"Example Trust\",\n \"type\" : \"fixedUnitTrust\",\n \"doingBusinessAs\" : \"West's Store\",\n \"countryOfGoverningLaw\" : \"AU\",\n \"taxInformation\" : [ {\n \"country\" : \"AU\",\n \"type\" : \"ABN\",\n \"number\" : \"12345678123\"\n } ],\n \"registeredAddress\" : {\n \"street\" : \"Winfield Avenue\",\n \"city\" : \"Sydney\",\n \"postalCode\" : \"1197\",\n \"stateOrProvince\" : \"NSW\",\n \"country\" : \"AU\"\n },\n \"undefinedBeneficiaryInfo\" : [ {\n \"description\" : \"My future children\"\n } ]\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/legalEntities", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "legalEntities" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates a legal entity. This resource contains information about the user that will be onboarded in your platform. Adyen uses this information to perform verification checks as required by payment industry regulations. Adyen informs you of the verification results through webhooks or API responses. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"type\" : \"trust\",\n \"trust\" : {\n \"name\" : \"Example Trust\",\n \"type\" : \"fixedUnitTrust\",\n \"doingBusinessAs\" : \"West's Store\",\n \"countryOfGoverningLaw\" : \"AU\",\n \"taxInformation\" : [ {\n \"country\" : \"AU\",\n \"type\" : \"ABN\",\n \"number\" : \"12345678123\"\n } ],\n \"registeredAddress\" : {\n \"street\" : \"Winfield Avenue\",\n \"city\" : \"Sydney\",\n \"postalCode\" : \"1197\",\n \"stateOrProvince\" : \"NSW\",\n \"country\" : \"AU\"\n },\n \"undefinedBeneficiaryInfo\" : [ {\n \"description\" : \"My future children\"\n } ]\n }\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/legalEntities", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "legalEntities" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Creates a legal entity. This resource contains information about the user that will be onboarded in your platform. Adyen uses this information to perform verification checks as required by payment industry regulations. Adyen informs you of the verification results through webhooks or API responses. >If you are using hosted onboarding and just beginning your integration, use v3 for your API requests. Otherwise, use v2. " - } + ] } ] - } -, + }, { "name": "/legalEntities/:id", "description": "Returns a legal entity.", @@ -369,49 +781,50 @@ { "name": "Get a legal entity", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/legalEntities/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "legalEntities", - ":id" - ], - "variable": [ - { - "key": "id", - "value": "", - "description": "The unique identifier of the legal entity." - } - ], - "query": [ - ] - }, - "description": "Returns a legal entity." - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/legalEntities/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "legalEntities", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "The unique identifier of the legal entity." + } + ], + "query": [ + ] + }, + "description": "Returns a legal entity." +} + ,"response": [ + ] } ] - } -, + }, { "name": "/legalEntities/:id", "description": "Updates a legal entity. >To change the legal entity type, include only the new `type` in your request. To update the `entityAssociations` array, you need to replace the entire array. For example, if the array has 3 entries and you want to remove 1 entry, you need to PATCH the resource with the remaining 2 entries.", @@ -419,281 +832,605 @@ { "name": "Change a legal entity from an organization to an individual", "request": { - "method": "PATCH", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "x-requested-verification-code", - "value": "", - "description": "Use the requested verification code 0_0001 to resolve any suberrors associated with the legal entity. Requested verification codes can only be used in your test environment.", - "disabled": true + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "x-requested-verification-code", + "value": "", + "description": "Use the requested verification code 0_0001 to resolve any suberrors associated with the legal entity. Requested verification codes can only be used in your test environment.", + "disabled": true + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"type\" : \"individual\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/legalEntities/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "legalEntities", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "The unique identifier of the legal entity." + } + ], + "query": [ + ] + }, + "description": "Updates a legal entity. >To change the legal entity type, include only the new `type` in your request. To update the `entityAssociations` array, you need to replace the entire array. For example, if the array has 3 entries and you want to remove 1 entry, you need to PATCH the resource with the remaining 2 entries." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"individual\" : {\n \"name\" : {\n \"firstName\" : \"Explorer\",\n \"lastName\" : \"Company based in US\"\n },\n \"residentialAddress\" : {\n \"country\" : \"US\"\n }\n },\n \"type\" : \"individual\",\n \"id\" : \"LE00000000000000000000001\"\n}", + "originalRequest": { + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "x-requested-verification-code", + "value": "", + "description": "Use the requested verification code 0_0001 to resolve any suberrors associated with the legal entity. Requested verification codes can only be used in your test environment.", + "disabled": true + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"type\" : \"individual\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/legalEntities/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "legalEntities", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "The unique identifier of the legal entity." + } + ], + "query": [ + ] + }, + "description": "Updates a legal entity. >To change the legal entity type, include only the new `type` in your request. To update the `entityAssociations` array, you need to replace the entire array. For example, if the array has 3 entries and you want to remove 1 entry, you need to PATCH the resource with the remaining 2 entries." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"type\" : \"individual\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/legalEntities/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "legalEntities", - ":id" - ], - "variable": [ - { - "key": "id", - "value": "", - "description": "The unique identifier of the legal entity." - } - ], - "query": [ - ] - }, - "description": "Updates a legal entity. >To change the legal entity type, include only the new `type` in your request. To update the `entityAssociations` array, you need to replace the entire array. For example, if the array has 3 entries and you want to remove 1 entry, you need to PATCH the resource with the remaining 2 entries." - } + ] }, { "name": "Add entity associations to an organization", "request": { - "method": "PATCH", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "x-requested-verification-code", - "value": "", - "description": "Use the requested verification code 0_0001 to resolve any suberrors associated with the legal entity. Requested verification codes can only be used in your test environment.", - "disabled": true + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "x-requested-verification-code", + "value": "", + "description": "Use the requested verification code 0_0001 to resolve any suberrors associated with the legal entity. Requested verification codes can only be used in your test environment.", + "disabled": true + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"entityAssociations\" : [ {\n \"jobTitle\" : \"CEO\",\n \"legalEntityId\" : \"LE00000000000000000000002\",\n \"type\" : \"uboThroughControl\"\n } ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/legalEntities/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "legalEntities", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "The unique identifier of the legal entity." + } + ], + "query": [ + ] + }, + "description": "Updates a legal entity. >To change the legal entity type, include only the new `type` in your request. To update the `entityAssociations` array, you need to replace the entire array. For example, if the array has 3 entries and you want to remove 1 entry, you need to PATCH the resource with the remaining 2 entries." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"entityAssociations\" : [ {\n \"associatorId\" : \"LE00000000000000000000001\",\n \"entityType\" : \"individual\",\n \"jobTitle\" : \"CEO\",\n \"legalEntityId\" : \"LE00000000000000000000002\",\n \"name\" : \"Simone Hopper\",\n \"type\" : \"uboThroughControl\"\n } ],\n \"organization\" : {\n \"email\" : \"john.doe@adyen.com\",\n \"phone\" : {\n \"countryCode\" : \"NL\",\n \"number\" : \"646467363\",\n \"type\" : \"mobile\"\n },\n \"description\" : \"FinTech\",\n \"doingBusinessAs\" : \"Adyen BV\",\n \"legalName\" : \"Adyen BV\",\n \"registeredAddress\" : {\n \"city\" : \"AMS\",\n \"country\" : \"NL\",\n \"postalCode\" : \"1234EE\",\n \"stateOrProvince\" : \"NH\",\n \"street\" : \"Simon Carmiggeltstraat 6 - 50\"\n },\n \"registrationNumber\" : \"\",\n \"stockData\" : {\n \"marketIdentifier\" : \"ADYN\",\n \"stockNumber\" : \"NL012345ABC4\",\n \"tickerSymbol\" : \"ADYN.M\"\n },\n \"type\" : \"listedPublicCompany\"\n },\n \"type\" : \"organization\",\n \"id\" : \"LE00000000000000000000001\"\n}", + "originalRequest": { + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "x-requested-verification-code", + "value": "", + "description": "Use the requested verification code 0_0001 to resolve any suberrors associated with the legal entity. Requested verification codes can only be used in your test environment.", + "disabled": true + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"entityAssociations\" : [ {\n \"jobTitle\" : \"CEO\",\n \"legalEntityId\" : \"LE00000000000000000000002\",\n \"type\" : \"uboThroughControl\"\n } ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/legalEntities/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "legalEntities", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "The unique identifier of the legal entity." + } + ], + "query": [ + ] + }, + "description": "Updates a legal entity. >To change the legal entity type, include only the new `type` in your request. To update the `entityAssociations` array, you need to replace the entire array. For example, if the array has 3 entries and you want to remove 1 entry, you need to PATCH the resource with the remaining 2 entries." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"entityAssociations\" : [ {\n \"jobTitle\" : \"CEO\",\n \"legalEntityId\" : \"LE00000000000000000000002\",\n \"type\" : \"uboThroughControl\"\n } ]\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/legalEntities/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "legalEntities", - ":id" - ], - "variable": [ - { - "key": "id", - "value": "", - "description": "The unique identifier of the legal entity." - } - ], - "query": [ - ] - }, - "description": "Updates a legal entity. >To change the legal entity type, include only the new `type` in your request. To update the `entityAssociations` array, you need to replace the entire array. For example, if the array has 3 entries and you want to remove 1 entry, you need to PATCH the resource with the remaining 2 entries." - } + ] }, { "name": "Add entity associations to a sole proprietorship", "request": { - "method": "PATCH", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "x-requested-verification-code", - "value": "", - "description": "Use the requested verification code 0_0001 to resolve any suberrors associated with the legal entity. Requested verification codes can only be used in your test environment.", - "disabled": true + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "x-requested-verification-code", + "value": "", + "description": "Use the requested verification code 0_0001 to resolve any suberrors associated with the legal entity. Requested verification codes can only be used in your test environment.", + "disabled": true + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"entityAssociations\" : [ {\n \"legalEntityId\" : \"LE00000000000000000000002\",\n \"type\" : \"soleProprietorship\"\n } ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/legalEntities/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "legalEntities", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "The unique identifier of the legal entity." + } + ], + "query": [ + ] + }, + "description": "Updates a legal entity. >To change the legal entity type, include only the new `type` in your request. To update the `entityAssociations` array, you need to replace the entire array. For example, if the array has 3 entries and you want to remove 1 entry, you need to PATCH the resource with the remaining 2 entries." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"entityAssociations\" : [ {\n \"associatorId\" : \"LE00000000000000000000001\",\n \"entityType\" : \"soleProprietorship\",\n \"legalEntityId\" : \"LE00000000000000000000002\",\n \"type\" : \"soleProprietorship\"\n } ],\n \"individual\" : {\n \"email\" : \"s.eller@example.com\",\n \"birthData\" : {\n \"dateOfBirth\" : \"1990-06-21\"\n },\n \"name\" : {\n \"firstName\" : \"Shelly\",\n \"lastName\" : \"Eller\"\n },\n \"residentialAddress\" : {\n \"city\" : \"Amsterdam\",\n \"country\" : \"NL\",\n \"postalCode\" : \"1011DJ\",\n \"street\" : \"Simon Carmiggeltstraat 6 - 50\"\n }\n },\n \"type\" : \"individual\",\n \"id\" : \"LE00000000000000000000001\"\n}", + "originalRequest": { + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "x-requested-verification-code", + "value": "", + "description": "Use the requested verification code 0_0001 to resolve any suberrors associated with the legal entity. Requested verification codes can only be used in your test environment.", + "disabled": true + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"entityAssociations\" : [ {\n \"legalEntityId\" : \"LE00000000000000000000002\",\n \"type\" : \"soleProprietorship\"\n } ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/legalEntities/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "legalEntities", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "The unique identifier of the legal entity." + } + ], + "query": [ + ] + }, + "description": "Updates a legal entity. >To change the legal entity type, include only the new `type` in your request. To update the `entityAssociations` array, you need to replace the entire array. For example, if the array has 3 entries and you want to remove 1 entry, you need to PATCH the resource with the remaining 2 entries." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"entityAssociations\" : [ {\n \"legalEntityId\" : \"LE00000000000000000000002\",\n \"type\" : \"soleProprietorship\"\n } ]\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/legalEntities/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "legalEntities", - ":id" - ], - "variable": [ - { - "key": "id", - "value": "", - "description": "The unique identifier of the legal entity." - } - ], - "query": [ - ] - }, - "description": "Updates a legal entity. >To change the legal entity type, include only the new `type` in your request. To update the `entityAssociations` array, you need to replace the entire array. For example, if the array has 3 entries and you want to remove 1 entry, you need to PATCH the resource with the remaining 2 entries." - } + ] }, { "name": "Associate a trust member with a trust", "request": { - "method": "PATCH", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "x-requested-verification-code", - "value": "", - "description": "Use the requested verification code 0_0001 to resolve any suberrors associated with the legal entity. Requested verification codes can only be used in your test environment.", - "disabled": true + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "x-requested-verification-code", + "value": "", + "description": "Use the requested verification code 0_0001 to resolve any suberrors associated with the legal entity. Requested verification codes can only be used in your test environment.", + "disabled": true + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"entityAssociations\" : [ {\n \"legalEntityId\" : \"LE00000000000000000000002\",\n \"type\" : \"protector\"\n } ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/legalEntities/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "legalEntities", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "The unique identifier of the legal entity." + } + ], + "query": [ + ] + }, + "description": "Updates a legal entity. >To change the legal entity type, include only the new `type` in your request. To update the `entityAssociations` array, you need to replace the entire array. For example, if the array has 3 entries and you want to remove 1 entry, you need to PATCH the resource with the remaining 2 entries." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"entityAssociations\" : [ {\n \"associatorId\" : \"LE00000000000000000000001\",\n \"legalEntityId\" : \"LE00000000000000000000002\",\n \"name\" : \"Simone Hopper\",\n \"type\" : \"protector\"\n } ],\n \"trust\" : {\n \"name\" : \"Example Trust\",\n \"type\" : \"fixedUnitTrust\",\n \"doingBusinessAs\" : \"West's Store\",\n \"countryOfGoverningLaw\" : \"AU\",\n \"taxInformation\" : [ {\n \"country\" : \"AU\",\n \"type\" : \"ABN\",\n \"number\" : \"12345678901\"\n } ],\n \"registeredAddress\" : {\n \"street\" : \"Winfield Avenue\",\n \"city\" : \"Sydney\",\n \"postalCode\" : \"1197\",\n \"stateOrProvince\" : \"NSW\",\n \"country\" : \"AU\"\n },\n \"undefinedBeneficiaryInfo\" : [ {\n \"description\" : \"My future children\"\n } ]\n },\n \"type\" : \"trust\",\n \"id\" : \"LE00000000000000000000001\"\n}", + "originalRequest": { + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "x-requested-verification-code", + "value": "", + "description": "Use the requested verification code 0_0001 to resolve any suberrors associated with the legal entity. Requested verification codes can only be used in your test environment.", + "disabled": true + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"entityAssociations\" : [ {\n \"legalEntityId\" : \"LE00000000000000000000002\",\n \"type\" : \"protector\"\n } ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/legalEntities/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "legalEntities", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "The unique identifier of the legal entity." + } + ], + "query": [ + ] + }, + "description": "Updates a legal entity. >To change the legal entity type, include only the new `type` in your request. To update the `entityAssociations` array, you need to replace the entire array. For example, if the array has 3 entries and you want to remove 1 entry, you need to PATCH the resource with the remaining 2 entries." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"entityAssociations\" : [ {\n \"legalEntityId\" : \"LE00000000000000000000002\",\n \"type\" : \"protector\"\n } ]\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/legalEntities/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "legalEntities", - ":id" - ], - "variable": [ - { - "key": "id", - "value": "", - "description": "The unique identifier of the legal entity." - } - ], - "query": [ - ] - }, - "description": "Updates a legal entity. >To change the legal entity type, include only the new `type` in your request. To update the `entityAssociations` array, you need to replace the entire array. For example, if the array has 3 entries and you want to remove 1 entry, you need to PATCH the resource with the remaining 2 entries." - } + ] }, { "name": "Associate an exempt settlor with a trust", "request": { - "method": "PATCH", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "x-requested-verification-code", - "value": "", - "description": "Use the requested verification code 0_0001 to resolve any suberrors associated with the legal entity. Requested verification codes can only be used in your test environment.", - "disabled": true + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "x-requested-verification-code", + "value": "", + "description": "Use the requested verification code 0_0001 to resolve any suberrors associated with the legal entity. Requested verification codes can only be used in your test environment.", + "disabled": true + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"entityAssociations\" : [ {\n \"legalEntityId\" : \"LE00000000000000000000002\",\n \"type\" : \"settlor\",\n \"entityType\" : \"individual\",\n \"settlorExemptionReason\" : [ \"deceased\", \"professionalServiceProvider\" ]\n } ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/legalEntities/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "legalEntities", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "The unique identifier of the legal entity." + } + ], + "query": [ + ] + }, + "description": "Updates a legal entity. >To change the legal entity type, include only the new `type` in your request. To update the `entityAssociations` array, you need to replace the entire array. For example, if the array has 3 entries and you want to remove 1 entry, you need to PATCH the resource with the remaining 2 entries." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"entityAssociations\" : [ {\n \"associatorId\" : \"LE00000000000000000000001\",\n \"legalEntityId\" : \"LE00000000000000000000002\",\n \"type\" : \"settlor\",\n \"entityType\" : \"individual\",\n \"settlorExemptionReason\" : [ \"deceased\", \"professionalServiceProvider\" ]\n } ],\n \"trust\" : {\n \"name\" : \"Example Trust\",\n \"type\" : \"fixedUnitTrust\",\n \"doingBusinessAs\" : \"West's Store\",\n \"countryOfGoverningLaw\" : \"AU\",\n \"taxInformation\" : [ {\n \"country\" : \"AU\",\n \"type\" : \"ABN\",\n \"number\" : \"12345678901\"\n } ],\n \"registeredAddress\" : {\n \"street\" : \"Winfield Avenue\",\n \"city\" : \"Sydney\",\n \"postalCode\" : \"1197\",\n \"stateOrProvince\" : \"NSW\",\n \"country\" : \"AU\"\n },\n \"undefinedBeneficiaryInfo\" : [ {\n \"description\" : \"My future children\"\n } ]\n },\n \"type\" : \"trust\",\n \"id\" : \"LE00000000000000000000001\"\n}", + "originalRequest": { + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "x-requested-verification-code", + "value": "", + "description": "Use the requested verification code 0_0001 to resolve any suberrors associated with the legal entity. Requested verification codes can only be used in your test environment.", + "disabled": true + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"entityAssociations\" : [ {\n \"legalEntityId\" : \"LE00000000000000000000002\",\n \"type\" : \"settlor\",\n \"entityType\" : \"individual\",\n \"settlorExemptionReason\" : [ \"deceased\", \"professionalServiceProvider\" ]\n } ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/legalEntities/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "legalEntities", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "The unique identifier of the legal entity." + } + ], + "query": [ + ] + }, + "description": "Updates a legal entity. >To change the legal entity type, include only the new `type` in your request. To update the `entityAssociations` array, you need to replace the entire array. For example, if the array has 3 entries and you want to remove 1 entry, you need to PATCH the resource with the remaining 2 entries." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"entityAssociations\" : [ {\n \"legalEntityId\" : \"LE00000000000000000000002\",\n \"type\" : \"settlor\",\n \"entityType\" : \"individual\",\n \"settlorExemptionReason\" : [ \"deceased\", \"professionalServiceProvider\" ]\n } ]\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/legalEntities/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "legalEntities", - ":id" - ], - "variable": [ - { - "key": "id", - "value": "", - "description": "The unique identifier of the legal entity." - } - ], - "query": [ - ] - }, - "description": "Updates a legal entity. >To change the legal entity type, include only the new `type` in your request. To update the `entityAssociations` array, you need to replace the entire array. For example, if the array has 3 entries and you want to remove 1 entry, you need to PATCH the resource with the remaining 2 entries." - } + ] } ] - } -, + }, { "name": "/legalEntities/:id/businessLines", "description": "Returns the business lines owned by a legal entity.", @@ -701,50 +1438,51 @@ { "name": "Get all business lines under a legal entity", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/legalEntities/:id/businessLines", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "legalEntities", - ":id", - "businessLines" - ], - "variable": [ - { - "key": "id", - "value": "", - "description": "The unique identifier of the legal entity." - } - ], - "query": [ - ] - }, - "description": "Returns the business lines owned by a legal entity." - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/legalEntities/:id/businessLines", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "legalEntities", + ":id", + "businessLines" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "The unique identifier of the legal entity." + } + ], + "query": [ + ] + }, + "description": "Returns the business lines owned by a legal entity." +} + ,"response": [ + ] } ] - } -, + }, { "name": "/legalEntities/:id/checkVerificationErrors", "description": "Returns the verification errors for a legal entity and its supporting entities.", @@ -752,50 +1490,51 @@ { "name": "Check a legal entity's verification errors", "request": { - "method": "POST", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/legalEntities/:id/checkVerificationErrors", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "legalEntities", - ":id", - "checkVerificationErrors" - ], - "variable": [ - { - "key": "id", - "value": "", - "description": "The unique identifier of the legal entity." - } - ], - "query": [ - ] - }, - "description": "Returns the verification errors for a legal entity and its supporting entities." - } + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/legalEntities/:id/checkVerificationErrors", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "legalEntities", + ":id", + "checkVerificationErrors" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "The unique identifier of the legal entity." + } + ], + "query": [ + ] + }, + "description": "Returns the verification errors for a legal entity and its supporting entities." +} + ,"response": [ + ] } ] - } -, + }, { "name": "/legalEntities/:id/confirmDataReview", "description": "Confirms that your user has reviewed the data for the legal entity specified in the path. Call this endpoint to inform Adyen that your user reviewed and verified that the data is up-to-date. The endpoint returns the timestamp of when Adyen received the request.", @@ -803,50 +1542,51 @@ { "name": "Confirm data review", "request": { - "method": "POST", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/legalEntities/:id/confirmDataReview", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "legalEntities", - ":id", - "confirmDataReview" - ], - "variable": [ - { - "key": "id", - "value": "", - "description": "The unique identifier of the legal entity." - } - ], - "query": [ - ] - }, - "description": "Confirms that your user has reviewed the data for the legal entity specified in the path. Call this endpoint to inform Adyen that your user reviewed and verified that the data is up-to-date. The endpoint returns the timestamp of when Adyen received the request." - } + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/legalEntities/:id/confirmDataReview", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "legalEntities", + ":id", + "confirmDataReview" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "The unique identifier of the legal entity." + } + ], + "query": [ + ] + }, + "description": "Confirms that your user has reviewed the data for the legal entity specified in the path. Call this endpoint to inform Adyen that your user reviewed and verified that the data is up-to-date. The endpoint returns the timestamp of when Adyen received the request." +} + ,"response": [ + ] } ] } - ] }, { @@ -854,155 +1594,216 @@ "item": [ { "name": "/legalEntities/:id/onboardingLinks", - "description": "Returns a link to an Adyen-hosted onboarding page where you need to redirect your user. >If you are using hosted onboarding and just beginning your integration, use v3 for your API requests. Otherwise, use v2. ", + "description": "Returns a link to an Adyen-hosted onboarding page where you need to redirect your user. ", "item": [ { "name": "Create a hosted onboarding link", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"themeId\" : \"YOUR_THEME_ID\",\n \"redirectUrl\" : \"https://your.redirect-url.com/\",\n \"locale\" : \"nl-NL\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/legalEntities/:id/onboardingLinks", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "legalEntities", + ":id", + "onboardingLinks" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "The unique identifier of the legal entity" + } + ], + "query": [ + ] + }, + "description": "Returns a link to an Adyen-hosted onboarding page where you need to redirect your user. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"url\" : \"https://balanceplatform-test.adyen.com/balanceplatform/uo/form/xtl-...?signature=..&cd=..&redirectUrl=https%3A%2F%2Fyour.redirect-url.com%2F&expiry=1667226404807&locale=nl-NL\"\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"themeId\" : \"YOUR_THEME_ID\",\n \"redirectUrl\" : \"https://your.redirect-url.com/\",\n \"locale\" : \"nl-NL\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/legalEntities/:id/onboardingLinks", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "legalEntities", + ":id", + "onboardingLinks" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "The unique identifier of the legal entity" + } + ], + "query": [ + ] + }, + "description": "Returns a link to an Adyen-hosted onboarding page where you need to redirect your user. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"themeId\" : \"YOUR_THEME_ID\",\n \"redirectUrl\" : \"https://your.redirect-url.com/\",\n \"locale\" : \"nl-NL\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/legalEntities/:id/onboardingLinks", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "legalEntities", - ":id", - "onboardingLinks" - ], - "variable": [ - { - "key": "id", - "value": "", - "description": "The unique identifier of the legal entity" - } - ], - "query": [ - ] - }, - "description": "Returns a link to an Adyen-hosted onboarding page where you need to redirect your user. >If you are using hosted onboarding and just beginning your integration, use v3 for your API requests. Otherwise, use v2. " - } + ] } ] - } -, + }, { "name": "/themes", - "description": "Returns a list of hosted onboarding page themes. >If you are using hosted onboarding and just beginning your integration, use v3 for your API requests. Otherwise, use v2. ", + "description": "Returns a list of hosted onboarding page themes. ", "item": [ { "name": "Get a list of hosted onboarding page themes", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/themes", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "themes" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Returns a list of hosted onboarding page themes. >If you are using hosted onboarding and just beginning your integration, use v3 for your API requests. Otherwise, use v2. " - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/themes", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "themes" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Returns a list of hosted onboarding page themes. " +} + ,"response": [ + ] } ] - } -, + }, { "name": "/themes/:id", - "description": "Returns the details of the theme identified in the path.>If you are using hosted onboarding and just beginning your integration, use v3 for your API requests. Otherwise, use v2. ", + "description": "Returns the details of the theme identified in the path.", "item": [ { "name": "Get an onboarding link theme", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/themes/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "themes", - ":id" - ], - "variable": [ - { - "key": "id", - "value": "", - "description": "The unique identifier of the theme" - } - ], - "query": [ - ] - }, - "description": "Returns the details of the theme identified in the path.>If you are using hosted onboarding and just beginning your integration, use v3 for your API requests. Otherwise, use v2. " - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/themes/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "themes", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "The unique identifier of the theme" + } + ], + "query": [ + ] + }, + "description": "Returns the details of the theme identified in the path." +} + ,"response": [ + ] } ] } - ] }, { @@ -1010,97 +1811,202 @@ "item": [ { "name": "/businessLines", - "description": "Creates a business line. This resource contains information about your user's line of business, including their industry and their source of funds. Adyen uses this information to verify your users as required by payment industry regulations. Adyen informs you of the verification results through webhooks or API responses. >If you are using hosted onboarding and just beginning your integration, use v3 for your API requests. Otherwise, use v2. ", + "description": "Creates a business line. This resource contains information about your user's line of business, including their industry and their source of funds. Adyen uses this information to verify your users as required by payment industry regulations. Adyen informs you of the verification results through webhooks or API responses. ", "item": [ { "name": "Create a business line for a business account", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"service\" : \"banking\",\n \"industryCode\" : \"4531\",\n \"webData\" : [ {\n \"webAddress\" : \"https://www.adyen.com\"\n } ],\n \"legalEntityId\" : \"LE00000000000000000000001\",\n \"sourceOfFunds\" : {\n \"type\" : \"business\",\n \"adyenProcessedFunds\" : false,\n \"description\" : \"Funds from my flower shop business\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/businessLines", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "businessLines" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates a business line. This resource contains information about your user's line of business, including their industry and their source of funds. Adyen uses this information to verify your users as required by payment industry regulations. Adyen informs you of the verification results through webhooks or API responses. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"industryCode\" : \"4531\",\n \"legalEntityId\" : \"LE00000000000000000000001\",\n \"service\" : \"banking\",\n \"sourceOfFunds\" : {\n \"adyenProcessedFunds\" : false,\n \"description\" : \"Funds from my flower shop business\",\n \"type\" : \"business\"\n },\n \"webData\" : [ {\n \"webAddress\" : \"https://www.adyen.com\",\n \"webAddressId\" : \"SE322JV223222F5H4CQGS77V4\"\n } ],\n \"id\" : \"SE322KT223222D5FJ7TJN2986\"\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"service\" : \"banking\",\n \"industryCode\" : \"4531\",\n \"webData\" : [ {\n \"webAddress\" : \"https://www.adyen.com\"\n } ],\n \"legalEntityId\" : \"LE00000000000000000000001\",\n \"sourceOfFunds\" : {\n \"type\" : \"business\",\n \"adyenProcessedFunds\" : false,\n \"description\" : \"Funds from my flower shop business\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/businessLines", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "businessLines" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates a business line. This resource contains information about your user's line of business, including their industry and their source of funds. Adyen uses this information to verify your users as required by payment industry regulations. Adyen informs you of the verification results through webhooks or API responses. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"service\" : \"banking\",\n \"industryCode\" : \"4531\",\n \"webData\" : [ {\n \"webAddress\" : \"https://www.adyen.com\"\n } ],\n \"legalEntityId\" : \"LE00000000000000000000001\",\n \"sourceOfFunds\" : {\n \"type\" : \"business\",\n \"adyenProcessedFunds\" : false,\n \"description\" : \"Funds from my flower shop business\"\n }\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/businessLines", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "businessLines" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Creates a business line. This resource contains information about your user's line of business, including their industry and their source of funds. Adyen uses this information to verify your users as required by payment industry regulations. Adyen informs you of the verification results through webhooks or API responses. >If you are using hosted onboarding and just beginning your integration, use v3 for your API requests. Otherwise, use v2. " - } + ] }, { "name": "Create a business line for receiving payments", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"service\" : \"paymentProcessing\",\n \"industryCode\" : \"339E\",\n \"salesChannels\" : [ \"eCommerce\", \"ecomMoto\" ],\n \"legalEntityId\" : \"LE00000000000000000000001\",\n \"webData\" : [ {\n \"webAddress\" : \"https://yoururl.com\"\n } ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/businessLines", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "businessLines" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates a business line. This resource contains information about your user's line of business, including their industry and their source of funds. Adyen uses this information to verify your users as required by payment industry regulations. Adyen informs you of the verification results through webhooks or API responses. " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"service\" : \"paymentProcessing\",\n \"industryCode\" : \"339E\",\n \"legalEntityId\" : \"LE00000000000000000000001\",\n \"salesChannels\" : [ \"eCommerce\", \"ecomMoto\" ],\n \"webData\" : [ {\n \"webAddress\" : \"https://yoururl.com\",\n \"webAddressId\" : \"SE654AC923222F5H4CQGS77V4\"\n } ],\n \"id\" : \"SE322KT223222D5FJ7TJN2986\"\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"service\" : \"paymentProcessing\",\n \"industryCode\" : \"339E\",\n \"salesChannels\" : [ \"eCommerce\", \"ecomMoto\" ],\n \"legalEntityId\" : \"LE00000000000000000000001\",\n \"webData\" : [ {\n \"webAddress\" : \"https://yoururl.com\"\n } ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/businessLines", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "businessLines" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates a business line. This resource contains information about your user's line of business, including their industry and their source of funds. Adyen uses this information to verify your users as required by payment industry regulations. Adyen informs you of the verification results through webhooks or API responses. " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"service\" : \"paymentProcessing\",\n \"industryCode\" : \"339E\",\n \"salesChannels\" : [ \"eCommerce\", \"ecomMoto\" ],\n \"legalEntityId\" : \"LE00000000000000000000001\",\n \"webData\" : [ {\n \"webAddress\" : \"https://yoururl.com\"\n } ]\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/businessLines", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "businessLines" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Creates a business line. This resource contains information about your user's line of business, including their industry and their source of funds. Adyen uses this information to verify your users as required by payment industry regulations. Adyen informs you of the verification results through webhooks or API responses. >If you are using hosted onboarding and just beginning your integration, use v3 for your API requests. Otherwise, use v2. " - } + ] } ] - } -, + }, { "name": "/businessLines/:id", "description": "Deletes a business line. >If you delete a business line linked to a [payment method](https://docs.adyen.com/development-resources/paymentmethodvariant#management-api), it can affect your merchant account's ability to use the [payment method](https://docs.adyen.com/api-explorer/Management/latest/post/merchants/_merchantId_/paymentMethodSettings). The business line is removed from all linked merchant accounts.", @@ -1108,49 +2014,50 @@ { "name": "Delete a business line", "request": { - "method": "DELETE", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/businessLines/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "businessLines", - ":id" - ], - "variable": [ - { - "key": "id", - "value": "", - "description": "The unique identifier of the business line to be deleted." - } - ], - "query": [ - ] - }, - "description": "Deletes a business line. >If you delete a business line linked to a [payment method](https://docs.adyen.com/development-resources/paymentmethodvariant#management-api), it can affect your merchant account's ability to use the [payment method](https://docs.adyen.com/api-explorer/Management/latest/post/merchants/_merchantId_/paymentMethodSettings). The business line is removed from all linked merchant accounts." - } + "method": "DELETE", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/businessLines/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "businessLines", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "The unique identifier of the business line to be deleted." + } + ], + "query": [ + ] + }, + "description": "Deletes a business line. >If you delete a business line linked to a [payment method](https://docs.adyen.com/development-resources/paymentmethodvariant#management-api), it can affect your merchant account's ability to use the [payment method](https://docs.adyen.com/api-explorer/Management/latest/post/merchants/_merchantId_/paymentMethodSettings). The business line is removed from all linked merchant accounts." +} + ,"response": [ + ] } ] - } -, + }, { "name": "/businessLines/:id", "description": "Returns the detail of a business line.", @@ -1158,49 +2065,50 @@ { "name": "Get a business line", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/businessLines/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "businessLines", - ":id" - ], - "variable": [ - { - "key": "id", - "value": "", - "description": "The unique identifier of the business line." - } - ], - "query": [ - ] - }, - "description": "Returns the detail of a business line." - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/businessLines/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "businessLines", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "The unique identifier of the business line." + } + ], + "query": [ + ] + }, + "description": "Returns the detail of a business line." +} + ,"response": [ + ] } ] - } -, + }, { "name": "/businessLines/:id", "description": "Updates a business line.", @@ -1208,55 +2116,113 @@ { "name": "Update a business line", "request": { - "method": "PATCH", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"industryCode\" : \"55\",\n \"webData\" : [ {\n \"webAddress\" : \"https://www.example.com\"\n } ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/businessLines/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "businessLines", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "The unique identifier of the business line." + } + ], + "query": [ + ] + }, + "description": "Updates a business line." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"service\" : \"banking\",\n \"industryCode\" : \"55\",\n \"legalEntityId\" : \"LE00000000000000000000001\",\n \"sourceOfFunds\" : {\n \"adyenProcessedFunds\" : false,\n \"description\" : \"Funds from my flower shop business\",\n \"type\" : \"business\"\n },\n \"webData\" : [ {\n \"webAddress\" : \"https://www.example.com\",\n \"webAddressId\" : \"SE966LI345672J5H8V87B3FGH\"\n } ],\n \"id\" : \"SE322JV223222F5GVGMLNB83F\"\n}", + "originalRequest": { + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"industryCode\" : \"55\",\n \"webData\" : [ {\n \"webAddress\" : \"https://www.example.com\"\n } ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/businessLines/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "businessLines", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "The unique identifier of the business line." + } + ], + "query": [ + ] + }, + "description": "Updates a business line." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"industryCode\" : \"55\",\n \"webData\" : [ {\n \"webAddress\" : \"https://www.example.com\"\n } ]\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/businessLines/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "businessLines", - ":id" - ], - "variable": [ - { - "key": "id", - "value": "", - "description": "The unique identifier of the business line." - } - ], - "query": [ - ] - }, - "description": "Updates a business line." - } + ] } ] } - ] }, { @@ -1269,55 +2235,113 @@ { "name": "Upload a document", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "x-requested-verification-code", - "value": "", - "description": "Use a suberror code as your requested verification code. You can include one code at a time in your request header. Requested verification codes can only be used in your test environment.", - "disabled": true + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "x-requested-verification-code", + "value": "", + "description": "Use a suberror code as your requested verification code. You can include one code at a time in your request header. Requested verification codes can only be used in your test environment.", + "disabled": true + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"type\" : \"registrationDocument\",\n \"attachments\" : [ {\n \"content\" : \"JVBERi0xLjQKJcOkw7zDtsOfCjIgMCBv+f/ub0j6JPRX+E3EmC==\"\n } ],\n \"description\" : \"Registration doc for Example Company\",\n \"owner\" : {\n \"id\" : \"LE00000000000000000000001\",\n \"type\" : \"legalEntity\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/documents", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "documents" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Uploads a document for verification checks. Adyen uses the information from the [legal entity](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/legalEntities) to run automated verification checks. If these checks fail, you will be notified to provide additional documents. You should only upload documents when Adyen requests additional information for the legal entity. >You can upload a maximum of 15 pages for photo IDs." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"type\" : \"registrationDocument\",\n \"attachments\" : [ {\n \"content\" : \"JVBERi0xLjQKJcOkw7zDtsOfCjIgMCBv+f/ub0j6JPRX+E3EmC==\"\n } ],\n \"description\" : \"Registration doc for Example Company\",\n \"fileName\" : \"Registration doc for Example Company\",\n \"owner\" : {\n \"id\" : \"LE00000000000000000000001\",\n \"type\" : \"legalEntity\"\n },\n \"id\" : \"SE322JV223222F5GV2N9L8GDK\"\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "x-requested-verification-code", + "value": "", + "description": "Use a suberror code as your requested verification code. You can include one code at a time in your request header. Requested verification codes can only be used in your test environment.", + "disabled": true + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"type\" : \"registrationDocument\",\n \"attachments\" : [ {\n \"content\" : \"JVBERi0xLjQKJcOkw7zDtsOfCjIgMCBv+f/ub0j6JPRX+E3EmC==\"\n } ],\n \"description\" : \"Registration doc for Example Company\",\n \"owner\" : {\n \"id\" : \"LE00000000000000000000001\",\n \"type\" : \"legalEntity\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/documents", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "documents" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Uploads a document for verification checks. Adyen uses the information from the [legal entity](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/legalEntities) to run automated verification checks. If these checks fail, you will be notified to provide additional documents. You should only upload documents when Adyen requests additional information for the legal entity. >You can upload a maximum of 15 pages for photo IDs." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"type\" : \"registrationDocument\",\n \"attachments\" : [ {\n \"content\" : \"JVBERi0xLjQKJcOkw7zDtsOfCjIgMCBv+f/ub0j6JPRX+E3EmC==\"\n } ],\n \"description\" : \"Registration doc for Example Company\",\n \"owner\" : {\n \"id\" : \"LE00000000000000000000001\",\n \"type\" : \"legalEntity\"\n }\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/documents", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "documents" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Uploads a document for verification checks. Adyen uses the information from the [legal entity](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/legalEntities) to run automated verification checks. If these checks fail, you will be notified to provide additional documents. You should only upload documents when Adyen requests additional information for the legal entity. >You can upload a maximum of 15 pages for photo IDs." - } + ] } ] - } -, + }, { "name": "/documents/:id", "description": "Deletes a document.", @@ -1325,49 +2349,50 @@ { "name": "Delete a document", "request": { - "method": "DELETE", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/documents/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "documents", - ":id" - ], - "variable": [ - { - "key": "id", - "value": "", - "description": "The unique identifier of the document to be deleted." - } - ], - "query": [ - ] - }, - "description": "Deletes a document." - } + "method": "DELETE", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/documents/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "documents", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "The unique identifier of the document to be deleted." + } + ], + "query": [ + ] + }, + "description": "Deletes a document." +} + ,"response": [ + ] } ] - } -, + }, { "name": "/documents/:id", "description": "Returns a document.", @@ -1375,55 +2400,56 @@ { "name": "Get a document", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/documents/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "documents", - ":id" - ], - "variable": [ - { - "key": "id", - "value": "", - "description": "The unique identifier of the document." - } - ], - "query": [ - { - "key": "skipContent", - "value": "true", - "description": "Do not load document content while fetching the document.", - "disabled": true - } - ] - }, - "description": "Returns a document." - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/documents/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "documents", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "The unique identifier of the document." + } + ], + "query": [ + { + "key": "skipContent", + "value": "true", + "description": "Do not load document content while fetching the document.", + "disabled": true + } + ] + }, + "description": "Returns a document." +} + ,"response": [ + ] } ] - } -, + }, { "name": "/documents/:id", "description": "Updates a document. >You can upload a maximum of 15 pages for photo IDs.", @@ -1431,61 +2457,125 @@ { "name": "Update a document", "request": { - "method": "PATCH", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "x-requested-verification-code", - "value": "", - "description": "Use the requested verification code 0_0001 to resolve any suberrors associated with the document. Requested verification codes can only be used in your test environment.", - "disabled": true + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "x-requested-verification-code", + "value": "", + "description": "Use the requested verification code 0_0001 to resolve any suberrors associated with the document. Requested verification codes can only be used in your test environment.", + "disabled": true + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"type\" : \"proofOfIndustry\",\n \"description\" : \"Proof of industry doc for Example Company\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/documents/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "documents", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "The unique identifier of the document to be updated." + } + ], + "query": [ + ] + }, + "description": "Updates a document. >You can upload a maximum of 15 pages for photo IDs." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"type\" : \"proofOfIndustry\",\n \"attachments\" : [ {\n \"content\" : \"JVBERi0xLjQKJcOkw7zDtsOfCjIgMCBv+f/ub0j6JPRX+E3EmC==\"\n } ],\n \"description\" : \"Proof of industry for Example Company\",\n \"fileName\" : \"Proof of industry for Example Company\",\n \"owner\" : {\n \"id\" : \"LE00000000000000000000001\",\n \"type\" : \"legalEntity\"\n },\n \"id\" : \"SE322JV223222F5GV2N9L8GDK\"\n}", + "originalRequest": { + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "x-requested-verification-code", + "value": "", + "description": "Use the requested verification code 0_0001 to resolve any suberrors associated with the document. Requested verification codes can only be used in your test environment.", + "disabled": true + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"type\" : \"proofOfIndustry\",\n \"description\" : \"Proof of industry doc for Example Company\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/documents/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "documents", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "The unique identifier of the document to be updated." + } + ], + "query": [ + ] + }, + "description": "Updates a document. >You can upload a maximum of 15 pages for photo IDs." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"type\" : \"proofOfIndustry\",\n \"description\" : \"Proof of industry doc for Example Company\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/documents/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "documents", - ":id" - ], - "variable": [ - { - "key": "id", - "value": "", - "description": "The unique identifier of the document to be updated." - } - ], - "query": [ - ] - }, - "description": "Updates a document. >You can upload a maximum of 15 pages for photo IDs." - } + ] } ] } - ] }, { @@ -1498,56 +2588,115 @@ { "name": "Get the Terms of Service document", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"type\" : \"adyenIssuing\",\n \"language\" : \"en\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/legalEntities/:id/termsOfService", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "legalEntities", + ":id", + "termsOfService" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "The unique identifier of the legal entity. For sole proprietorships, this is the individual legal entity ID of the owner." + } + ], + "query": [ + ] + }, + "description": "Returns the Terms of Service document for a legal entity." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"id\" : \"LE00000000000000000000001\",\n \"type\" : \"adyenIssuing\",\n \"language\" : \"en\",\n \"document\" : \"JVBERi0xLjQKJcOkw7zDtsOfCjIgMCBv+f/ub0j6JPRX+E3EmC==\",\n \"termsOfServiceDocumentId\" : \"abc123\"\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"type\" : \"adyenIssuing\",\n \"language\" : \"en\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/legalEntities/:id/termsOfService", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "legalEntities", + ":id", + "termsOfService" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "The unique identifier of the legal entity. For sole proprietorships, this is the individual legal entity ID of the owner." + } + ], + "query": [ + ] + }, + "description": "Returns the Terms of Service document for a legal entity." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"type\" : \"adyenIssuing\",\n \"language\" : \"en\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/legalEntities/:id/termsOfService", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "legalEntities", - ":id", - "termsOfService" - ], - "variable": [ - { - "key": "id", - "value": "", - "description": "The unique identifier of the legal entity. For sole proprietorships, this is the individual legal entity ID of the owner." - } - ], - "query": [ - ] - }, - "description": "Returns the Terms of Service document for a legal entity." - } + ] } ] - } -, + }, { "name": "/legalEntities/:id/termsOfService/:termsofservicedocumentid", "description": "Accepts Terms of Service.", @@ -1555,62 +2704,127 @@ { "name": "Accept the Terms of Service document", "request": { - "method": "PATCH", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"acceptedBy\" : \"LE00000000000000000000002\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/legalEntities/:id/termsOfService/:termsofservicedocumentid", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "legalEntities", + ":id", + "termsOfService", + ":termsofservicedocumentid" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "The unique identifier of the legal entity. For sole proprietorships, this is the individual legal entity ID of the owner." + }, + { + "key": "termsofservicedocumentid", + "value": "", + "description": "The unique identifier of the Terms of Service document." + } + ], + "query": [ + ] + }, + "description": "Accepts Terms of Service." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"acceptedBy\" : \"LE00000000000000000000002\",\n \"id\" : \"TOSA000AB00000000B2AAAB2BA0AA0\",\n \"language\" : \"en\",\n \"termsOfServiceDocumentId\" : \"abc123\",\n \"type\" : \"adyenIssuing\"\n}", + "originalRequest": { + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"acceptedBy\" : \"LE00000000000000000000002\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/legalEntities/:id/termsOfService/:termsofservicedocumentid", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "legalEntities", + ":id", + "termsOfService", + ":termsofservicedocumentid" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "The unique identifier of the legal entity. For sole proprietorships, this is the individual legal entity ID of the owner." + }, + { + "key": "termsofservicedocumentid", + "value": "", + "description": "The unique identifier of the Terms of Service document." + } + ], + "query": [ + ] + }, + "description": "Accepts Terms of Service." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"acceptedBy\" : \"LE00000000000000000000002\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/legalEntities/:id/termsOfService/:termsofservicedocumentid", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "legalEntities", - ":id", - "termsOfService", - ":termsofservicedocumentid" - ], - "variable": [ - { - "key": "id", - "value": "", - "description": "The unique identifier of the legal entity. For sole proprietorships, this is the individual legal entity ID of the owner." - }, - { - "key": "termsofservicedocumentid", - "value": "", - "description": "The unique identifier of the Terms of Service document." - } - ], - "query": [ - ] - }, - "description": "Accepts Terms of Service." - } + ] } ] - } -, + }, { "name": "/legalEntities/:id/termsOfServiceAcceptanceInfos", "description": "Returns Terms of Service information for a legal entity.", @@ -1618,50 +2832,51 @@ { "name": "Get Terms of Service information for a legal entity", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/legalEntities/:id/termsOfServiceAcceptanceInfos", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "legalEntities", - ":id", - "termsOfServiceAcceptanceInfos" - ], - "variable": [ - { - "key": "id", - "value": "", - "description": "The unique identifier of the legal entity. For sole proprietorships, this is the individual legal entity ID of the owner." - } - ], - "query": [ - ] - }, - "description": "Returns Terms of Service information for a legal entity." - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/legalEntities/:id/termsOfServiceAcceptanceInfos", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "legalEntities", + ":id", + "termsOfServiceAcceptanceInfos" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "The unique identifier of the legal entity. For sole proprietorships, this is the individual legal entity ID of the owner." + } + ], + "query": [ + ] + }, + "description": "Returns Terms of Service information for a legal entity." +} + ,"response": [ + ] } ] - } -, + }, { "name": "/legalEntities/:id/termsOfServiceStatus", "description": "Returns the required types of Terms of Service that need to be accepted by a legal entity.", @@ -1669,50 +2884,51 @@ { "name": "Get Terms of Service status", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/legalEntities/:id/termsOfServiceStatus", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "legalEntities", - ":id", - "termsOfServiceStatus" - ], - "variable": [ - { - "key": "id", - "value": "", - "description": "The unique identifier of the legal entity. For sole proprietorships, this is the individual legal entity ID of the owner." - } - ], - "query": [ - ] - }, - "description": "Returns the required types of Terms of Service that need to be accepted by a legal entity." - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/legalEntities/:id/termsOfServiceStatus", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "legalEntities", + ":id", + "termsOfServiceStatus" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "The unique identifier of the legal entity. For sole proprietorships, this is the individual legal entity ID of the owner." + } + ], + "query": [ + ] + }, + "description": "Returns the required types of Terms of Service that need to be accepted by a legal entity." +} + ,"response": [ + ] } ] } - ] }, { @@ -1725,104 +2941,221 @@ { "name": "Add a EUR bank account", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "x-requested-verification-code", - "value": "", - "description": "Use a suberror code as your requested verification code. You can include one code at a time in your request header. Requested verification codes can only be used in your test environment.", - "disabled": true + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "x-requested-verification-code", + "value": "", + "description": "Use a suberror code as your requested verification code. You can include one code at a time in your request header. Requested verification codes can only be used in your test environment.", + "disabled": true + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"legalEntityId\" : \"LE00000000000000000000001\",\n \"type\" : \"bankAccount\",\n \"bankAccount\" : {\n \"accountIdentification\" : {\n \"type\" : \"iban\",\n \"iban\" : \"NL62ABNA0000000123\"\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/transferInstruments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "transferInstruments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates a transfer instrument. A transfer instrument is a bank account that a legal entity owns. Adyen performs verification checks on the transfer instrument as required by payment industry regulations. We inform you of the verification results through webhooks or API responses. When the transfer instrument passes the verification checks, you can start sending funds from the balance platform to the transfer instrument (such as payouts)." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"bankAccount\" : {\n \"accountIdentification\" : {\n \"type\" : \"iban\",\n \"iban\" : \"NL62ABNA0000000123\"\n },\n \"countryCode\" : \"NL\",\n \"trustedSource\" : false\n },\n \"legalEntityId\" : \"LE00000000000000000000001\",\n \"type\" : \"bankAccount\",\n \"capabilities\" : {\n \"sendToTransferInstrument\" : {\n \"allowed\" : false,\n \"requested\" : true,\n \"verificationStatus\" : \"pending\"\n }\n },\n \"id\" : \"SE322KH223222F5GXZFNM3BGP\"\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "x-requested-verification-code", + "value": "", + "description": "Use a suberror code as your requested verification code. You can include one code at a time in your request header. Requested verification codes can only be used in your test environment.", + "disabled": true + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"legalEntityId\" : \"LE00000000000000000000001\",\n \"type\" : \"bankAccount\",\n \"bankAccount\" : {\n \"accountIdentification\" : {\n \"type\" : \"iban\",\n \"iban\" : \"NL62ABNA0000000123\"\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/transferInstruments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "transferInstruments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates a transfer instrument. A transfer instrument is a bank account that a legal entity owns. Adyen performs verification checks on the transfer instrument as required by payment industry regulations. We inform you of the verification results through webhooks or API responses. When the transfer instrument passes the verification checks, you can start sending funds from the balance platform to the transfer instrument (such as payouts)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"legalEntityId\" : \"LE00000000000000000000001\",\n \"type\" : \"bankAccount\",\n \"bankAccount\" : {\n \"accountIdentification\" : {\n \"type\" : \"iban\",\n \"iban\" : \"NL62ABNA0000000123\"\n }\n }\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/transferInstruments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "transferInstruments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Creates a transfer instrument. A transfer instrument is a bank account that a legal entity owns. Adyen performs verification checks on the transfer instrument as required by payment industry regulations. We inform you of the verification results through webhooks or API responses. When the transfer instrument passes the verification checks, you can start sending funds from the balance platform to the transfer instrument (such as payouts)." - } + ] }, { "name": "Add a USD bank account", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "x-requested-verification-code", - "value": "", - "description": "Use a suberror code as your requested verification code. You can include one code at a time in your request header. Requested verification codes can only be used in your test environment.", - "disabled": true + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "x-requested-verification-code", + "value": "", + "description": "Use a suberror code as your requested verification code. You can include one code at a time in your request header. Requested verification codes can only be used in your test environment.", + "disabled": true + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"legalEntityId\" : \"LE00000000000000000000001\",\n \"type\" : \"bankAccount\",\n \"bankAccount\" : {\n \"accountIdentification\" : {\n \"type\" : \"usLocal\",\n \"accountNumber\" : \"0000000123\",\n \"routingNumber\" : \"121202211\"\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/transferInstruments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "transferInstruments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates a transfer instrument. A transfer instrument is a bank account that a legal entity owns. Adyen performs verification checks on the transfer instrument as required by payment industry regulations. We inform you of the verification results through webhooks or API responses. When the transfer instrument passes the verification checks, you can start sending funds from the balance platform to the transfer instrument (such as payouts)." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"bankAccount\" : {\n \"accountIdentification\" : {\n \"type\" : \"usLocal\",\n \"accountNumber\" : \"0000000123\",\n \"accountType\" : \"checking\",\n \"routingNumber\" : \"121202211\"\n },\n \"countryCode\" : \"US\",\n \"trustedSource\" : false\n },\n \"legalEntityId\" : \"LE00000000000000000000001\",\n \"type\" : \"bankAccount\",\n \"capabilities\" : {\n \"sendToTransferInstrument\" : {\n \"allowed\" : false,\n \"requested\" : true,\n \"verificationStatus\" : \"pending\"\n }\n },\n \"id\" : \"SE322JV223222F5GJVKHH8DTC\"\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "x-requested-verification-code", + "value": "", + "description": "Use a suberror code as your requested verification code. You can include one code at a time in your request header. Requested verification codes can only be used in your test environment.", + "disabled": true + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"legalEntityId\" : \"LE00000000000000000000001\",\n \"type\" : \"bankAccount\",\n \"bankAccount\" : {\n \"accountIdentification\" : {\n \"type\" : \"usLocal\",\n \"accountNumber\" : \"0000000123\",\n \"routingNumber\" : \"121202211\"\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/transferInstruments", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "transferInstruments" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates a transfer instrument. A transfer instrument is a bank account that a legal entity owns. Adyen performs verification checks on the transfer instrument as required by payment industry regulations. We inform you of the verification results through webhooks or API responses. When the transfer instrument passes the verification checks, you can start sending funds from the balance platform to the transfer instrument (such as payouts)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"legalEntityId\" : \"LE00000000000000000000001\",\n \"type\" : \"bankAccount\",\n \"bankAccount\" : {\n \"accountIdentification\" : {\n \"type\" : \"usLocal\",\n \"accountNumber\" : \"0000000123\",\n \"routingNumber\" : \"121202211\"\n }\n }\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/transferInstruments", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "transferInstruments" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Creates a transfer instrument. A transfer instrument is a bank account that a legal entity owns. Adyen performs verification checks on the transfer instrument as required by payment industry regulations. We inform you of the verification results through webhooks or API responses. When the transfer instrument passes the verification checks, you can start sending funds from the balance platform to the transfer instrument (such as payouts)." - } + ] } ] - } -, + }, { "name": "/transferInstruments/:id", "description": "Deletes a transfer instrument.", @@ -1830,49 +3163,50 @@ { "name": "Delete a transfer instrument", "request": { - "method": "DELETE", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/transferInstruments/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "transferInstruments", - ":id" - ], - "variable": [ - { - "key": "id", - "value": "", - "description": "The unique identifier of the transfer instrument to be deleted." - } - ], - "query": [ - ] - }, - "description": "Deletes a transfer instrument." - } + "method": "DELETE", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/transferInstruments/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "transferInstruments", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "The unique identifier of the transfer instrument to be deleted." + } + ], + "query": [ + ] + }, + "description": "Deletes a transfer instrument." +} + ,"response": [ + ] } ] - } -, + }, { "name": "/transferInstruments/:id", "description": "Returns the details of a transfer instrument.", @@ -1880,49 +3214,50 @@ { "name": "Get a transfer instrument", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/transferInstruments/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "transferInstruments", - ":id" - ], - "variable": [ - { - "key": "id", - "value": "", - "description": "The unique identifier of the transfer instrument." - } - ], - "query": [ - ] - }, - "description": "Returns the details of a transfer instrument." - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/transferInstruments/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "transferInstruments", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "The unique identifier of the transfer instrument." + } + ], + "query": [ + ] + }, + "description": "Returns the details of a transfer instrument." +} + ,"response": [ + ] } ] - } -, + }, { "name": "/transferInstruments/:id", "description": "Updates a transfer instrument.", @@ -1930,61 +3265,125 @@ { "name": "Update a transfer instrument", "request": { - "method": "PATCH", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "x-requested-verification-code", - "value": "", - "description": "Use the requested verification code 0_0001 to resolve any suberrors associated with the transfer instrument. Requested verification codes can only be used in your test environment.", - "disabled": true + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "x-requested-verification-code", + "value": "", + "description": "Use the requested verification code 0_0001 to resolve any suberrors associated with the transfer instrument. Requested verification codes can only be used in your test environment.", + "disabled": true + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"bankAccount\" : {\n \"accountIdentification\" : {\n \"type\" : \"iban\",\n \"iban\" : \"NL02ABNA0123456789\"\n }\n },\n \"legalEntityId\" : \"LE00000000000000000000001\",\n \"type\" : \"bankAccount\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/transferInstruments/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "transferInstruments", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "The unique identifier of the transfer instrument." + } + ], + "query": [ + ] + }, + "description": "Updates a transfer instrument." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"bankAccount\" : {\n \"accountIdentification\" : {\n \"type\" : \"iban\",\n \"iban\" : \"NL02ABNA0123456789\"\n },\n \"countryCode\" : \"NL\"\n },\n \"legalEntityId\" : \"LE00000000000000000000001\",\n \"type\" : \"bankAccount\",\n \"id\" : \"SE322KH223222F5GXZFNM3BGP\"\n}", + "originalRequest": { + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "x-requested-verification-code", + "value": "", + "description": "Use the requested verification code 0_0001 to resolve any suberrors associated with the transfer instrument. Requested verification codes can only be used in your test environment.", + "disabled": true + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"bankAccount\" : {\n \"accountIdentification\" : {\n \"type\" : \"iban\",\n \"iban\" : \"NL02ABNA0123456789\"\n }\n },\n \"legalEntityId\" : \"LE00000000000000000000001\",\n \"type\" : \"bankAccount\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/transferInstruments/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "transferInstruments", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "The unique identifier of the transfer instrument." + } + ], + "query": [ + ] + }, + "description": "Updates a transfer instrument." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"bankAccount\" : {\n \"accountIdentification\" : {\n \"type\" : \"iban\",\n \"iban\" : \"NL02ABNA0123456789\"\n }\n },\n \"legalEntityId\" : \"LE00000000000000000000001\",\n \"type\" : \"bankAccount\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/transferInstruments/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "transferInstruments", - ":id" - ], - "variable": [ - { - "key": "id", - "value": "", - "description": "The unique identifier of the transfer instrument." - } - ], - "query": [ - ] - }, - "description": "Updates a transfer instrument." - } + ] } ] } - ] }, { @@ -1997,50 +3396,51 @@ { "name": "Get PCI questionnaire details", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/legalEntities/:id/pciQuestionnaires", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "legalEntities", - ":id", - "pciQuestionnaires" - ], - "variable": [ - { - "key": "id", - "value": "", - "description": "The unique identifier of the legal entity to get PCI questionnaire information." - } - ], - "query": [ - ] - }, - "description": "Get a list of signed PCI questionnaires." - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/legalEntities/:id/pciQuestionnaires", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "legalEntities", + ":id", + "pciQuestionnaires" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "The unique identifier of the legal entity to get PCI questionnaire information." + } + ], + "query": [ + ] + }, + "description": "Get a list of signed PCI questionnaires." +} + ,"response": [ + ] } ] - } -, + }, { "name": "/legalEntities/:id/pciQuestionnaires/:pciid", "description": "Returns the signed PCI questionnaire.", @@ -2048,56 +3448,57 @@ { "name": "Get PCI questionnaire", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/legalEntities/:id/pciQuestionnaires/:pciid", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "legalEntities", - ":id", - "pciQuestionnaires", - ":pciid" - ], - "variable": [ - { - "key": "id", - "value": "", - "description": "The legal entity ID of the individual who signed the PCI questionnaire." - }, - { - "key": "pciid", - "value": "", - "description": "The unique identifier of the signed PCI questionnaire." - } - ], - "query": [ - ] - }, - "description": "Returns the signed PCI questionnaire." - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/legalEntities/:id/pciQuestionnaires/:pciid", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "legalEntities", + ":id", + "pciQuestionnaires", + ":pciid" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "The legal entity ID of the individual who signed the PCI questionnaire." + }, + { + "key": "pciid", + "value": "", + "description": "The unique identifier of the signed PCI questionnaire." + } + ], + "query": [ + ] + }, + "description": "Returns the signed PCI questionnaire." +} + ,"response": [ + ] } ] - } -, + }, { "name": "/legalEntities/:id/pciQuestionnaires/generatePciTemplates", "description": "Generates the required PCI questionnaires based on the user's [salesChannel](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/businessLines__reqParam_salesChannels).", @@ -2105,57 +3506,117 @@ { "name": "Generate PCI questionnaires", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"language\" : \"fr\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/legalEntities/:id/pciQuestionnaires/generatePciTemplates", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "legalEntities", + ":id", + "pciQuestionnaires", + "generatePciTemplates" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "The unique identifier of the legal entity to get PCI questionnaire information." + } + ], + "query": [ + ] + }, + "description": "Generates the required PCI questionnaires based on the user's [salesChannel](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/businessLines__reqParam_salesChannels)." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"content\" : \"JVBERi0xLjQKJcOkw7zDtsOfCjIgMCBv+f/ub0j6JPRX+E3EmC==\",\n \"language\" : \"fr\",\n \"pciTemplateReferences\" : [ \"PCIT-T7KC6VGL\", \"PCIT-PKB6DKS4\" ]\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"language\" : \"fr\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/legalEntities/:id/pciQuestionnaires/generatePciTemplates", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "legalEntities", + ":id", + "pciQuestionnaires", + "generatePciTemplates" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "The unique identifier of the legal entity to get PCI questionnaire information." + } + ], + "query": [ + ] + }, + "description": "Generates the required PCI questionnaires based on the user's [salesChannel](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/businessLines__reqParam_salesChannels)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"language\" : \"fr\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/legalEntities/:id/pciQuestionnaires/generatePciTemplates", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "legalEntities", - ":id", - "pciQuestionnaires", - "generatePciTemplates" - ], - "variable": [ - { - "key": "id", - "value": "", - "description": "The unique identifier of the legal entity to get PCI questionnaire information." - } - ], - "query": [ - ] - }, - "description": "Generates the required PCI questionnaires based on the user's [salesChannel](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/businessLines__reqParam_salesChannels)." - } + ] } ] - } -, + }, { "name": "/legalEntities/:id/pciQuestionnaires/signPciTemplates", "description": "Signs the required PCI questionnaire.", @@ -2163,57 +3624,117 @@ { "name": "Sign PCI questionnaires", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"signedBy\" : \"LE00000000000000000000002\",\n \"pciTemplateReferences\" : [ \"PCIT-T7KC6VGL\", \"PCIT-PKB6DKS4\" ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/legalEntities/:id/pciQuestionnaires/signPciTemplates", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "legalEntities", + ":id", + "pciQuestionnaires", + "signPciTemplates" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "The legal entity ID of the user that has a contractual relationship with your platform." + } + ], + "query": [ + ] + }, + "description": "Signs the required PCI questionnaire." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"pciQuestionnaireIds\" : [ \"PCID422GZ22322565HHMH48CW63CPH\", \"PCID422GZ22322565HHMH49CW75Z9H\" ]\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"signedBy\" : \"LE00000000000000000000002\",\n \"pciTemplateReferences\" : [ \"PCIT-T7KC6VGL\", \"PCIT-PKB6DKS4\" ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/legalEntities/:id/pciQuestionnaires/signPciTemplates", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "legalEntities", + ":id", + "pciQuestionnaires", + "signPciTemplates" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "The legal entity ID of the user that has a contractual relationship with your platform." + } + ], + "query": [ + ] + }, + "description": "Signs the required PCI questionnaire." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"signedBy\" : \"LE00000000000000000000002\",\n \"pciTemplateReferences\" : [ \"PCIT-T7KC6VGL\", \"PCIT-PKB6DKS4\" ]\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/legalEntities/:id/pciQuestionnaires/signPciTemplates", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "legalEntities", - ":id", - "pciQuestionnaires", - "signPciTemplates" - ], - "variable": [ - { - "key": "id", - "value": "", - "description": "The legal entity ID of the user that has a contractual relationship with your platform." - } - ], - "query": [ - ] - }, - "description": "Signs the required PCI questionnaire." - } + ] } ] } - ] } ], diff --git a/postman/ManagementService-v1.json b/postman/ManagementService-v1.json index caa9340..5c5d1c1 100644 --- a/postman/ManagementService-v1.json +++ b/postman/ManagementService-v1.json @@ -19,57 +19,58 @@ { "name": "Generate new API key", "request": { - "method": "POST", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/merchants/:merchantId/apiCredentials/:apiCredentialId/generateApiKey", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "merchants", - ":merchantId", - "apiCredentials", - ":apiCredentialId", - "generateApiKey" - ], - "variable": [ - { - "key": "merchantId", - "value": "{{YOUR_MERCHANT_ACCOUNT}}", - "description": "The unique identifier of the merchant account." - }, - { - "key": "apiCredentialId", - "value": "", - "description": "Unique identifier of the API credential." - } - ], - "query": [ - ] - }, - "description": "Returns a new API key for the API credential. You can use the new API key a few minutes after generating it. The old API key stops working 24 hours after generating a new one. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—API credentials read and write" - } + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/merchants/:merchantId/apiCredentials/:apiCredentialId/generateApiKey", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "merchants", + ":merchantId", + "apiCredentials", + ":apiCredentialId", + "generateApiKey" + ], + "variable": [ + { + "key": "merchantId", + "value": "{{YOUR_MERCHANT_ACCOUNT}}", + "description": "The unique identifier of the merchant account." + }, + { + "key": "apiCredentialId", + "value": "", + "description": "Unique identifier of the API credential." + } + ], + "query": [ + ] + }, + "description": "Returns a new API key for the API credential. You can use the new API key a few minutes after generating it. The old API key stops working 24 hours after generating a new one. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—API credentials read and write" +} + ,"response": [ + ] } ] } - ] }, { @@ -82,55 +83,56 @@ { "name": "Get a list of merchant accounts", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/merchants", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "merchants" - ], - "variable": [ - ], - "query": [ - { - "key": "pageNumber", - "value": "56", - "description": "The number of the page to fetch.", - "disabled": true - }, - { - "key": "pageSize", - "value": "56", - "description": "The number of items to have on a page, maximum 100. The default is 10 items on a page.", - "disabled": true - } - ] - }, - "description": "Returns the list of merchant accounts that your API credential has access to. The list is grouped into pages as defined by the query parameters. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Account read" - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/merchants", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "merchants" + ], + "variable": [ + ], + "query": [ + { + "key": "pageNumber", + "value": "56", + "description": "The number of the page to fetch.", + "disabled": true + }, + { + "key": "pageSize", + "value": "56", + "description": "The number of items to have on a page, maximum 100. The default is 10 items on a page.", + "disabled": true + } + ] + }, + "description": "Returns the list of merchant accounts that your API credential has access to. The list is grouped into pages as defined by the query parameters. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Account read" +} + ,"response": [ + ] } ] - } -, + }, { "name": "/merchants", "description": "Creates a merchant account for the company account specified in the request. Use this endpoint if your integration requires it, such as Adyen for Platforms Manage. Your Adyen contact will set up your access. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Accounts read and write", @@ -138,49 +140,101 @@ { "name": "Create a merchant account for an Adyen for Platforms Manage integration", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"companyId\" : \"{{YOUR_COMPANY_ACCOUNT}}\",\n \"legalEntityId\" : \"YOUR_LEGAL_ENTITY_ID\",\n \"businessLineId\" : \"YOUR_BUSINESS_LINE_ID\",\n \"description\" : \"YOUR_DESCRIPTION\",\n \"reference\" : \"YOUR_OWN_REFERENCE\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/merchants", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "merchants" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates a merchant account for the company account specified in the request. Use this endpoint if your integration requires it, such as Adyen for Platforms Manage. Your Adyen contact will set up your access. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Accounts read and write" +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"companyId\" : \"YOUR_COMPANY_ACCOUNT\",\n \"legalEntityId\" : \"YOUR_LEGAL_ENTITY_ID\",\n \"businessLineId\" : \"YOUR_BUSINESS_LINE_ID\",\n \"description\" : \"YOUR_DESCRIPTION\",\n \"reference\" : \"YOUR_OWN_REFERENCE\",\n \"id\" : \"YOUR_OWN_REFERENCE\"\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"companyId\" : \"{{YOUR_COMPANY_ACCOUNT}}\",\n \"legalEntityId\" : \"YOUR_LEGAL_ENTITY_ID\",\n \"businessLineId\" : \"YOUR_BUSINESS_LINE_ID\",\n \"description\" : \"YOUR_DESCRIPTION\",\n \"reference\" : \"YOUR_OWN_REFERENCE\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/merchants", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "merchants" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates a merchant account for the company account specified in the request. Use this endpoint if your integration requires it, such as Adyen for Platforms Manage. Your Adyen contact will set up your access. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Accounts read and write" +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"companyId\" : \"{{YOUR_COMPANY_ACCOUNT}}\",\n \"legalEntityId\" : \"YOUR_LEGAL_ENTITY_ID\",\n \"businessLineId\" : \"YOUR_BUSINESS_LINE_ID\",\n \"description\" : \"YOUR_DESCRIPTION\",\n \"reference\" : \"YOUR_OWN_REFERENCE\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/merchants", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "merchants" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Creates a merchant account for the company account specified in the request. Use this endpoint if your integration requires it, such as Adyen for Platforms Manage. Your Adyen contact will set up your access. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Accounts read and write" - } + ] } ] - } -, + }, { "name": "/merchants/:merchantId", "description": "Returns the merchant account specified in the path. Your API credential must have access to the merchant account. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Account read", @@ -188,49 +242,50 @@ { "name": "Get a merchant account", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/merchants/:merchantId", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "merchants", - ":merchantId" - ], - "variable": [ - { - "key": "merchantId", - "value": "{{YOUR_MERCHANT_ACCOUNT}}", - "description": "The unique identifier of the merchant account." - } - ], - "query": [ - ] - }, - "description": "Returns the merchant account specified in the path. Your API credential must have access to the merchant account. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Account read" - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/merchants/:merchantId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "merchants", + ":merchantId" + ], + "variable": [ + { + "key": "merchantId", + "value": "{{YOUR_MERCHANT_ACCOUNT}}", + "description": "The unique identifier of the merchant account." + } + ], + "query": [ + ] + }, + "description": "Returns the merchant account specified in the path. Your API credential must have access to the merchant account. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Account read" +} + ,"response": [ + ] } ] - } -, + }, { "name": "/merchants/:merchantId/activate", "description": "Sends a request to activate the merchant account identified in the path. You get the result of the activation asynchronously through a [`merchant.updated`](https://docs.adyen.com/api-explorer/ManagementNotification/latest/post/merchant.updated) webhook. Once the merchant account is activated, you can start using it to accept payments and payouts. Use this endpoint if your integration requires it, such as Adyen for Platforms Manage. Your Adyen contact will set up your access. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Accounts read and write", @@ -238,50 +293,51 @@ { "name": "Request to activate a merchant account", "request": { - "method": "POST", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/merchants/:merchantId/activate", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "merchants", - ":merchantId", - "activate" - ], - "variable": [ - { - "key": "merchantId", - "value": "{{YOUR_MERCHANT_ACCOUNT}}", - "description": "The unique identifier of the merchant account." - } - ], - "query": [ - ] - }, - "description": "Sends a request to activate the merchant account identified in the path. You get the result of the activation asynchronously through a [`merchant.updated`](https://docs.adyen.com/api-explorer/ManagementNotification/latest/post/merchant.updated) webhook. Once the merchant account is activated, you can start using it to accept payments and payouts. Use this endpoint if your integration requires it, such as Adyen for Platforms Manage. Your Adyen contact will set up your access. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Accounts read and write" - } + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/merchants/:merchantId/activate", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "merchants", + ":merchantId", + "activate" + ], + "variable": [ + { + "key": "merchantId", + "value": "{{YOUR_MERCHANT_ACCOUNT}}", + "description": "The unique identifier of the merchant account." + } + ], + "query": [ + ] + }, + "description": "Sends a request to activate the merchant account identified in the path. You get the result of the activation asynchronously through a [`merchant.updated`](https://docs.adyen.com/api-explorer/ManagementNotification/latest/post/merchant.updated) webhook. Once the merchant account is activated, you can start using it to accept payments and payouts. Use this endpoint if your integration requires it, such as Adyen for Platforms Manage. Your Adyen contact will set up your access. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Accounts read and write" +} + ,"response": [ + ] } ] } - ] }, { @@ -294,50 +350,51 @@ { "name": "Get a list of split configurations", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/merchants/:merchantId/splitConfigurations", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "merchants", - ":merchantId", - "splitConfigurations" - ], - "variable": [ - { - "key": "merchantId", - "value": "{{YOUR_MERCHANT_ACCOUNT}}", - "description": "The unique identifier of the merchant account." - } - ], - "query": [ - ] - }, - "description": "Returns the list of split configurations for the merchant account. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API - SplitConfiguration read and write" - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/merchants/:merchantId/splitConfigurations", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "merchants", + ":merchantId", + "splitConfigurations" + ], + "variable": [ + { + "key": "merchantId", + "value": "{{YOUR_MERCHANT_ACCOUNT}}", + "description": "The unique identifier of the merchant account." + } + ], + "query": [ + ] + }, + "description": "Returns the list of split configurations for the merchant account. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API - SplitConfiguration read and write" +} + ,"response": [ + ] } ] - } -, + }, { "name": "/merchants/:merchantId/splitConfigurations", "description": "Creates a split configuration for the merchant account specified in the path. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API - SplitConfiguration read and write", @@ -345,56 +402,115 @@ { "name": "Create a split configuration", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"description\" : \"Your description for the split configuration\",\n \"rules\" : [ {\n \"paymentMethod\" : \"ANY\",\n \"shopperInteraction\" : \"ANY\",\n \"fundingSource\" : \"ANY\",\n \"currency\" : \"ANY\",\n \"splitLogic\" : {\n \"paymentFee\" : \"deductFromLiableAccount\",\n \"chargeback\" : \"deductFromLiableAccount\",\n \"tip\" : \"addToOneBalanceAccount\",\n \"remainder\" : \"addToOneBalanceAccount\",\n \"commission\" : {\n \"fixedAmount\" : 10,\n \"variablePercentage\" : 100\n },\n \"additionalCommission\" : {\n \"fixedAmount\" : 10,\n \"variablePercentage\" : 50,\n \"balanceAccountId\" : \"BA3227C223222H5HQ2XX77VVH\"\n }\n }\n } ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/merchants/:merchantId/splitConfigurations", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "merchants", + ":merchantId", + "splitConfigurations" + ], + "variable": [ + { + "key": "merchantId", + "value": "{{YOUR_MERCHANT_ACCOUNT}}", + "description": "The unique identifier of the merchant account." + } + ], + "query": [ + ] + }, + "description": "Creates a split configuration for the merchant account specified in the path. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API - SplitConfiguration read and write" +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"description\" : \"Your description for the split configuration\",\n \"rules\" : [ {\n \"currency\" : \"ANY\",\n \"fundingSource\" : \"ANY\",\n \"paymentMethod\" : \"ANY\",\n \"ruleId\" : \"SCRL4224P22322585HPCX384JW65VW\",\n \"shopperInteraction\" : \"ANY\",\n \"splitLogic\" : {\n \"additionalCommission\" : {\n \"fixedAmount\" : 10,\n \"variablePercentage\" : 50,\n \"balanceAccountId\" : \"BA3227C223222H5HQ2XX77VVH\"\n },\n \"chargeback\" : \"deductFromLiableAccount\",\n \"commission\" : {\n \"fixedAmount\" : 10,\n \"variablePercentage\" : 100\n },\n \"splitLogicId\" : \"SCLG4224P22322585HPCX384JX52M2\",\n \"paymentFee\" : \"deductFromLiableAccount\",\n \"remainder\" : \"addToOneBalanceAccount\",\n \"tip\" : \"addToOneBalanceAccount\"\n }\n } ],\n \"splitConfigurationId\" : \"SCNF4224P22322585HPCX384JV6JGX\"\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"description\" : \"Your description for the split configuration\",\n \"rules\" : [ {\n \"paymentMethod\" : \"ANY\",\n \"shopperInteraction\" : \"ANY\",\n \"fundingSource\" : \"ANY\",\n \"currency\" : \"ANY\",\n \"splitLogic\" : {\n \"paymentFee\" : \"deductFromLiableAccount\",\n \"chargeback\" : \"deductFromLiableAccount\",\n \"tip\" : \"addToOneBalanceAccount\",\n \"remainder\" : \"addToOneBalanceAccount\",\n \"commission\" : {\n \"fixedAmount\" : 10,\n \"variablePercentage\" : 100\n },\n \"additionalCommission\" : {\n \"fixedAmount\" : 10,\n \"variablePercentage\" : 50,\n \"balanceAccountId\" : \"BA3227C223222H5HQ2XX77VVH\"\n }\n }\n } ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/merchants/:merchantId/splitConfigurations", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "merchants", + ":merchantId", + "splitConfigurations" + ], + "variable": [ + { + "key": "merchantId", + "value": "{{YOUR_MERCHANT_ACCOUNT}}", + "description": "The unique identifier of the merchant account." + } + ], + "query": [ + ] + }, + "description": "Creates a split configuration for the merchant account specified in the path. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API - SplitConfiguration read and write" +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"description\" : \"Your description for the split configuration\",\n \"rules\" : [ {\n \"paymentMethod\" : \"ANY\",\n \"shopperInteraction\" : \"ANY\",\n \"fundingSource\" : \"ANY\",\n \"currency\" : \"ANY\",\n \"splitLogic\" : {\n \"paymentFee\" : \"deductFromLiableAccount\",\n \"chargeback\" : \"deductFromLiableAccount\",\n \"tip\" : \"addToOneBalanceAccount\",\n \"remainder\" : \"addToOneBalanceAccount\",\n \"commission\" : {\n \"fixedAmount\" : 10,\n \"variablePercentage\" : 100\n },\n \"additionalCommission\" : {\n \"fixedAmount\" : 10,\n \"variablePercentage\" : 50,\n \"balanceAccountId\" : \"BA3227C223222H5HQ2XX77VVH\"\n }\n }\n } ]\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/merchants/:merchantId/splitConfigurations", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "merchants", - ":merchantId", - "splitConfigurations" - ], - "variable": [ - { - "key": "merchantId", - "value": "{{YOUR_MERCHANT_ACCOUNT}}", - "description": "The unique identifier of the merchant account." - } - ], - "query": [ - ] - }, - "description": "Creates a split configuration for the merchant account specified in the path. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API - SplitConfiguration read and write" - } + ] } ] - } -, + }, { "name": "/merchants/:merchantId/splitConfigurations/:splitConfigurationId", "description": "Deletes the split configuration specified in the path. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API - SplitConfiguration read and write", @@ -402,56 +518,57 @@ { "name": "Delete a split configuration", "request": { - "method": "DELETE", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/merchants/:merchantId/splitConfigurations/:splitConfigurationId", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "merchants", - ":merchantId", - "splitConfigurations", - ":splitConfigurationId" - ], - "variable": [ - { - "key": "merchantId", - "value": "{{YOUR_MERCHANT_ACCOUNT}}", - "description": "The unique identifier of the merchant account." - }, - { - "key": "splitConfigurationId", - "value": "", - "description": "The unique identifier of the split configuration." - } - ], - "query": [ - ] - }, - "description": "Deletes the split configuration specified in the path. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API - SplitConfiguration read and write" - } + "method": "DELETE", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/merchants/:merchantId/splitConfigurations/:splitConfigurationId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "merchants", + ":merchantId", + "splitConfigurations", + ":splitConfigurationId" + ], + "variable": [ + { + "key": "merchantId", + "value": "{{YOUR_MERCHANT_ACCOUNT}}", + "description": "The unique identifier of the merchant account." + }, + { + "key": "splitConfigurationId", + "value": "", + "description": "The unique identifier of the split configuration." + } + ], + "query": [ + ] + }, + "description": "Deletes the split configuration specified in the path. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API - SplitConfiguration read and write" +} + ,"response": [ + ] } ] - } -, + }, { "name": "/merchants/:merchantId/splitConfigurations/:splitConfigurationId", "description": "Returns the split configuration specified in the path. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API - SplitConfiguration read and write", @@ -459,56 +576,57 @@ { "name": "Get a split configuration", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/merchants/:merchantId/splitConfigurations/:splitConfigurationId", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "merchants", - ":merchantId", - "splitConfigurations", - ":splitConfigurationId" - ], - "variable": [ - { - "key": "merchantId", - "value": "{{YOUR_MERCHANT_ACCOUNT}}", - "description": "The unique identifier of the merchant account." - }, - { - "key": "splitConfigurationId", - "value": "", - "description": "The unique identifier of the split configuration." - } - ], - "query": [ - ] - }, - "description": "Returns the split configuration specified in the path. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API - SplitConfiguration read and write" - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/merchants/:merchantId/splitConfigurations/:splitConfigurationId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "merchants", + ":merchantId", + "splitConfigurations", + ":splitConfigurationId" + ], + "variable": [ + { + "key": "merchantId", + "value": "{{YOUR_MERCHANT_ACCOUNT}}", + "description": "The unique identifier of the merchant account." + }, + { + "key": "splitConfigurationId", + "value": "", + "description": "The unique identifier of the split configuration." + } + ], + "query": [ + ] + }, + "description": "Returns the split configuration specified in the path. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API - SplitConfiguration read and write" +} + ,"response": [ + ] } ] - } -, + }, { "name": "/merchants/:merchantId/splitConfigurations/:splitConfigurationId", "description": "Changes the description of the split configuration specified in the path. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API - SplitConfiguration read and write", @@ -516,62 +634,127 @@ { "name": "Update split configuration description", "request": { - "method": "PATCH", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"description\" : \"Updated description for the split configuration\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/merchants/:merchantId/splitConfigurations/:splitConfigurationId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "merchants", + ":merchantId", + "splitConfigurations", + ":splitConfigurationId" + ], + "variable": [ + { + "key": "merchantId", + "value": "{{YOUR_MERCHANT_ACCOUNT}}", + "description": "The unique identifier of the merchant account." + }, + { + "key": "splitConfigurationId", + "value": "", + "description": "The unique identifier of the split configuration." + } + ], + "query": [ + ] + }, + "description": "Changes the description of the split configuration specified in the path. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API - SplitConfiguration read and write" +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"description\" : \"Updated description for the split configuration\",\n \"rules\" : [ {\n \"currency\" : \"ANY\",\n \"fundingSource\" : \"ANY\",\n \"paymentMethod\" : \"ANY\",\n \"ruleId\" : \"SCRL4224P22322585HPCX384JW65VW\",\n \"shopperInteraction\" : \"ANY\",\n \"splitLogic\" : {\n \"additionalCommission\" : {\n \"fixedAmount\" : 10,\n \"variablePercentage\" : 50,\n \"balanceAccountId\" : \"BA3227C223222H5HQ2XX77VVH\"\n },\n \"chargeback\" : \"deductFromLiableAccount\",\n \"commission\" : {\n \"fixedAmount\" : 10,\n \"variablePercentage\" : 100\n },\n \"splitLogicId\" : \"SCLG4224P22322585HPCX384JX52M2\",\n \"paymentFee\" : \"deductFromLiableAccount\",\n \"remainder\" : \"addToOneBalanceAccount\",\n \"tip\" : \"addToOneBalanceAccount\"\n }\n }, {\n \"currency\" : \"EUR\",\n \"fundingSource\" : \"ANY\",\n \"paymentMethod\" : \"visa\",\n \"ruleId\" : \"SCRL4224P22322585HPCX5V4KV6L2R\",\n \"shopperInteraction\" : \"ANY\",\n \"splitLogic\" : {\n \"additionalCommission\" : {\n \"fixedAmount\" : 100,\n \"variablePercentage\" : 0,\n \"balanceAccountId\" : \"BA3227C223222H5HQ2XX77VVH\"\n },\n \"chargeback\" : \"deductFromLiableAccount\",\n \"commission\" : {\n \"fixedAmount\" : 100,\n \"variablePercentage\" : 100\n },\n \"splitLogicId\" : \"SCLG4224P22322585HPCX5V4KW26C9\",\n \"paymentFee\" : \"deductFromLiableAccount\",\n \"remainder\" : \"addToLiableAccount\",\n \"tip\" : \"addToLiableAccount\"\n }\n } ],\n \"splitConfigurationId\" : \"SCNF4224P22322585HPCX384JV6JGX\"\n}", + "originalRequest": { + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"description\" : \"Updated description for the split configuration\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/merchants/:merchantId/splitConfigurations/:splitConfigurationId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "merchants", + ":merchantId", + "splitConfigurations", + ":splitConfigurationId" + ], + "variable": [ + { + "key": "merchantId", + "value": "{{YOUR_MERCHANT_ACCOUNT}}", + "description": "The unique identifier of the merchant account." + }, + { + "key": "splitConfigurationId", + "value": "", + "description": "The unique identifier of the split configuration." + } + ], + "query": [ + ] + }, + "description": "Changes the description of the split configuration specified in the path. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API - SplitConfiguration read and write" +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"description\" : \"Updated description for the split configuration\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/merchants/:merchantId/splitConfigurations/:splitConfigurationId", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "merchants", - ":merchantId", - "splitConfigurations", - ":splitConfigurationId" - ], - "variable": [ - { - "key": "merchantId", - "value": "{{YOUR_MERCHANT_ACCOUNT}}", - "description": "The unique identifier of the merchant account." - }, - { - "key": "splitConfigurationId", - "value": "", - "description": "The unique identifier of the split configuration." - } - ], - "query": [ - ] - }, - "description": "Changes the description of the split configuration specified in the path. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API - SplitConfiguration read and write" - } + ] } ] - } -, + }, { "name": "/merchants/:merchantId/splitConfigurations/:splitConfigurationId", "description": "Creates a rule in the split configuration specified in the path. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API - SplitConfiguration read and write", @@ -579,62 +762,127 @@ { "name": "Add rule to a split configuration", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"paymentMethod\" : \"visa\",\n \"shopperInteraction\" : \"POS\",\n \"fundingSource\" : \"ANY\",\n \"currency\" : \"USD\",\n \"splitLogic\" : {\n \"paymentFee\" : \"deductFromLiableAccount\",\n \"chargeback\" : \"deductFromLiableAccount\",\n \"tip\" : \"addToOneBalanceAccount\",\n \"remainder\" : \"addToLiableAccount\",\n \"commission\" : {\n \"fixedAmount\" : 10,\n \"variablePercentage\" : 100\n },\n \"additionalCommission\" : {\n \"fixedAmount\" : 10,\n \"variablePercentage\" : 50,\n \"balanceAccountId\" : \"BA3227C223222H5HQ2XX77VVH\"\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/merchants/:merchantId/splitConfigurations/:splitConfigurationId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "merchants", + ":merchantId", + "splitConfigurations", + ":splitConfigurationId" + ], + "variable": [ + { + "key": "merchantId", + "value": "{{YOUR_MERCHANT_ACCOUNT}}", + "description": "The unique identifier of the merchant account." + }, + { + "key": "splitConfigurationId", + "value": "", + "description": "The unique identifier of the split configuration." + } + ], + "query": [ + ] + }, + "description": "Creates a rule in the split configuration specified in the path. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API - SplitConfiguration read and write" +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"description\" : \"My first split configuration\",\n \"rules\" : [ {\n \"currency\" : \"ANY\",\n \"fundingSource\" : \"ANY\",\n \"paymentMethod\" : \"ANY\",\n \"ruleId\" : \"SCRL4224P22322585HPCX384JW65VW\",\n \"shopperInteraction\" : \"ANY\",\n \"splitLogic\" : {\n \"additionalCommission\" : {\n \"fixedAmount\" : 10,\n \"variablePercentage\" : 50,\n \"balanceAccountId\" : \"BA3227C223222H5HQ2XX77VVH\"\n },\n \"chargeback\" : \"deductFromLiableAccount\",\n \"commission\" : {\n \"fixedAmount\" : 10,\n \"variablePercentage\" : 100\n },\n \"splitLogicId\" : \"SCLG4224P22322585HPCX384JX52M2\",\n \"paymentFee\" : \"deductFromLiableAccount\",\n \"remainder\" : \"addToOneBalanceAccount\",\n \"tip\" : \"addToOneBalanceAccount\"\n }\n }, {\n \"currency\" : \"USD\",\n \"fundingSource\" : \"ANY\",\n \"paymentMethod\" : \"visa\",\n \"ruleId\" : \"SCRL4224P22322585HPCX5V4KV6L2R\",\n \"shopperInteraction\" : \"POS\",\n \"splitLogic\" : {\n \"additionalCommission\" : {\n \"fixedAmount\" : 10,\n \"variablePercentage\" : 50,\n \"balanceAccountId\" : \"BA3227C223222H5HQ2XX77VVH\"\n },\n \"chargeback\" : \"deductFromLiableAccount\",\n \"commission\" : {\n \"fixedAmount\" : 10,\n \"variablePercentage\" : 100\n },\n \"splitLogicId\" : \"SCLG4224P22322585HPCX5V4KW26C9\",\n \"paymentFee\" : \"deductFromLiableAccount\",\n \"remainder\" : \"addToLiableAccount\",\n \"tip\" : \"addToOneBalanceAccount\"\n }\n } ],\n \"splitConfigurationId\" : \"SCNF4224P22322585HPCX384JV6JGX\"\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"paymentMethod\" : \"visa\",\n \"shopperInteraction\" : \"POS\",\n \"fundingSource\" : \"ANY\",\n \"currency\" : \"USD\",\n \"splitLogic\" : {\n \"paymentFee\" : \"deductFromLiableAccount\",\n \"chargeback\" : \"deductFromLiableAccount\",\n \"tip\" : \"addToOneBalanceAccount\",\n \"remainder\" : \"addToLiableAccount\",\n \"commission\" : {\n \"fixedAmount\" : 10,\n \"variablePercentage\" : 100\n },\n \"additionalCommission\" : {\n \"fixedAmount\" : 10,\n \"variablePercentage\" : 50,\n \"balanceAccountId\" : \"BA3227C223222H5HQ2XX77VVH\"\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/merchants/:merchantId/splitConfigurations/:splitConfigurationId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "merchants", + ":merchantId", + "splitConfigurations", + ":splitConfigurationId" + ], + "variable": [ + { + "key": "merchantId", + "value": "{{YOUR_MERCHANT_ACCOUNT}}", + "description": "The unique identifier of the merchant account." + }, + { + "key": "splitConfigurationId", + "value": "", + "description": "The unique identifier of the split configuration." + } + ], + "query": [ + ] + }, + "description": "Creates a rule in the split configuration specified in the path. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API - SplitConfiguration read and write" +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"paymentMethod\" : \"visa\",\n \"shopperInteraction\" : \"POS\",\n \"fundingSource\" : \"ANY\",\n \"currency\" : \"USD\",\n \"splitLogic\" : {\n \"paymentFee\" : \"deductFromLiableAccount\",\n \"chargeback\" : \"deductFromLiableAccount\",\n \"tip\" : \"addToOneBalanceAccount\",\n \"remainder\" : \"addToLiableAccount\",\n \"commission\" : {\n \"fixedAmount\" : 10,\n \"variablePercentage\" : 100\n },\n \"additionalCommission\" : {\n \"fixedAmount\" : 10,\n \"variablePercentage\" : 50,\n \"balanceAccountId\" : \"BA3227C223222H5HQ2XX77VVH\"\n }\n }\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/merchants/:merchantId/splitConfigurations/:splitConfigurationId", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "merchants", - ":merchantId", - "splitConfigurations", - ":splitConfigurationId" - ], - "variable": [ - { - "key": "merchantId", - "value": "{{YOUR_MERCHANT_ACCOUNT}}", - "description": "The unique identifier of the merchant account." - }, - { - "key": "splitConfigurationId", - "value": "", - "description": "The unique identifier of the split configuration." - } - ], - "query": [ - ] - }, - "description": "Creates a rule in the split configuration specified in the path. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API - SplitConfiguration read and write" - } + ] } ] - } -, + }, { "name": "/merchants/:merchantId/splitConfigurations/:splitConfigurationId/rules/:ruleId", "description": "Deletes the split configuration rule specified in the path. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API - SplitConfiguration read and write", @@ -642,63 +890,64 @@ { "name": "Delete a split configuration rule", "request": { - "method": "DELETE", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/merchants/:merchantId/splitConfigurations/:splitConfigurationId/rules/:ruleId", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "merchants", - ":merchantId", - "splitConfigurations", - ":splitConfigurationId", - "rules", - ":ruleId" - ], - "variable": [ - { - "key": "merchantId", - "value": "{{YOUR_MERCHANT_ACCOUNT}}", - "description": "The unique identifier of the merchant account." - }, - { - "key": "splitConfigurationId", - "value": "", - "description": "The unique identifier of the split configuration." - }, - { - "key": "ruleId", - "value": "", - "description": "" - } - ], - "query": [ - ] - }, - "description": "Deletes the split configuration rule specified in the path. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API - SplitConfiguration read and write" - } + "method": "DELETE", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/merchants/:merchantId/splitConfigurations/:splitConfigurationId/rules/:ruleId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "merchants", + ":merchantId", + "splitConfigurations", + ":splitConfigurationId", + "rules", + ":ruleId" + ], + "variable": [ + { + "key": "merchantId", + "value": "{{YOUR_MERCHANT_ACCOUNT}}", + "description": "The unique identifier of the merchant account." + }, + { + "key": "splitConfigurationId", + "value": "", + "description": "The unique identifier of the split configuration." + }, + { + "key": "ruleId", + "value": "", + "description": "" + } + ], + "query": [ + ] + }, + "description": "Deletes the split configuration rule specified in the path. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API - SplitConfiguration read and write" +} + ,"response": [ + ] } ] - } -, + }, { "name": "/merchants/:merchantId/splitConfigurations/:splitConfigurationId/rules/:ruleId", "description": "Changes the conditions of the split configuration rule specified in the path. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API - SplitConfiguration read and write", @@ -706,69 +955,141 @@ { "name": "Update the conditions in split configuration rule", "request": { - "method": "PATCH", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"currency\" : \"EUR\",\n \"fundingSource\" : \"ANY\",\n \"paymentMethod\" : \"visa\",\n \"shopperInteraction\" : \"ANY\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/merchants/:merchantId/splitConfigurations/:splitConfigurationId/rules/:ruleId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "merchants", + ":merchantId", + "splitConfigurations", + ":splitConfigurationId", + "rules", + ":ruleId" + ], + "variable": [ + { + "key": "merchantId", + "value": "{{YOUR_MERCHANT_ACCOUNT}}", + "description": "The unique identifier of the merchant account." + }, + { + "key": "splitConfigurationId", + "value": "", + "description": "The identifier of the split configuration." + }, + { + "key": "ruleId", + "value": "", + "description": "The unique identifier of the split configuration rule." + } + ], + "query": [ + ] + }, + "description": "Changes the conditions of the split configuration rule specified in the path. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API - SplitConfiguration read and write" +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"description\" : \"Your description for the split configuration\",\n \"rules\" : [ {\n \"currency\" : \"ANY\",\n \"fundingSource\" : \"ANY\",\n \"paymentMethod\" : \"ANY\",\n \"ruleId\" : \"SCRL4224P22322585HPCX384JW65VW\",\n \"shopperInteraction\" : \"ANY\",\n \"splitLogic\" : {\n \"additionalCommission\" : {\n \"fixedAmount\" : 10,\n \"variablePercentage\" : 50,\n \"balanceAccountId\" : \"BA3227C223222H5HQ2XX77VVH\"\n },\n \"chargeback\" : \"deductFromLiableAccount\",\n \"commission\" : {\n \"fixedAmount\" : 10,\n \"variablePercentage\" : 100\n },\n \"splitLogicId\" : \"SCLG4224P22322585HPCX384JX52M2\",\n \"paymentFee\" : \"deductFromLiableAccount\",\n \"remainder\" : \"addToOneBalanceAccount\",\n \"tip\" : \"addToOneBalanceAccount\"\n }\n }, {\n \"currency\" : \"EUR\",\n \"fundingSource\" : \"ANY\",\n \"paymentMethod\" : \"visa\",\n \"ruleId\" : \"SCRL4224P22322585HPCX5V4KV6L2R\",\n \"shopperInteraction\" : \"ANY\",\n \"splitLogic\" : {\n \"additionalCommission\" : {\n \"fixedAmount\" : 10,\n \"variablePercentage\" : 50,\n \"balanceAccountId\" : \"BA3227C223222H5HQ2XX77VVH\"\n },\n \"chargeback\" : \"deductFromLiableAccount\",\n \"commission\" : {\n \"fixedAmount\" : 10,\n \"variablePercentage\" : 100\n },\n \"splitLogicId\" : \"SCLG4224P22322585HPCX5V4KW26C9\",\n \"paymentFee\" : \"deductFromLiableAccount\",\n \"remainder\" : \"addToLiableAccount\",\n \"tip\" : \"addToOneBalanceAccount\"\n }\n } ],\n \"splitConfigurationId\" : \"SCNF4224P22322585HPCX384JV6JGX\"\n}", + "originalRequest": { + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"currency\" : \"EUR\",\n \"fundingSource\" : \"ANY\",\n \"paymentMethod\" : \"visa\",\n \"shopperInteraction\" : \"ANY\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/merchants/:merchantId/splitConfigurations/:splitConfigurationId/rules/:ruleId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "merchants", + ":merchantId", + "splitConfigurations", + ":splitConfigurationId", + "rules", + ":ruleId" + ], + "variable": [ + { + "key": "merchantId", + "value": "{{YOUR_MERCHANT_ACCOUNT}}", + "description": "The unique identifier of the merchant account." + }, + { + "key": "splitConfigurationId", + "value": "", + "description": "The identifier of the split configuration." + }, + { + "key": "ruleId", + "value": "", + "description": "The unique identifier of the split configuration rule." + } + ], + "query": [ + ] + }, + "description": "Changes the conditions of the split configuration rule specified in the path. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API - SplitConfiguration read and write" +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"currency\" : \"EUR\",\n \"fundingSource\" : \"ANY\",\n \"paymentMethod\" : \"visa\",\n \"shopperInteraction\" : \"ANY\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/merchants/:merchantId/splitConfigurations/:splitConfigurationId/rules/:ruleId", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "merchants", - ":merchantId", - "splitConfigurations", - ":splitConfigurationId", - "rules", - ":ruleId" - ], - "variable": [ - { - "key": "merchantId", - "value": "{{YOUR_MERCHANT_ACCOUNT}}", - "description": "The unique identifier of the merchant account." - }, - { - "key": "splitConfigurationId", - "value": "", - "description": "The identifier of the split configuration." - }, - { - "key": "ruleId", - "value": "", - "description": "The unique identifier of the split configuration rule." - } - ], - "query": [ - ] - }, - "description": "Changes the conditions of the split configuration rule specified in the path. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API - SplitConfiguration read and write" - } + ] } ] - } -, + }, { "name": "/merchants/:merchantId/splitConfigurations/:splitConfigurationId/rules/:ruleId/splitLogic/:splitLogicId", "description": "Changes the split logic specified in the path. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API - SplitConfiguration read and write", @@ -776,76 +1097,155 @@ { "name": "Update the split logic", "request": { - "method": "PATCH", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"additionalCommission\" : {\n \"fixedAmount\" : 100,\n \"variablePercentage\" : 0,\n \"balanceAccountId\" : \"BA3227C223222H5HQ2XX77VVH\"\n },\n \"chargeback\" : \"deductFromLiableAccount\",\n \"commission\" : {\n \"fixedAmount\" : 100,\n \"variablePercentage\" : 100\n },\n \"paymentFee\" : \"deductFromLiableAccount\",\n \"remainder\" : \"addToLiableAccount\",\n \"tip\" : \"addToLiableAccount\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/merchants/:merchantId/splitConfigurations/:splitConfigurationId/rules/:ruleId/splitLogic/:splitLogicId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "merchants", + ":merchantId", + "splitConfigurations", + ":splitConfigurationId", + "rules", + ":ruleId", + "splitLogic", + ":splitLogicId" + ], + "variable": [ + { + "key": "merchantId", + "value": "{{YOUR_MERCHANT_ACCOUNT}}", + "description": "The unique identifier of the merchant account." + }, + { + "key": "splitConfigurationId", + "value": "", + "description": "The unique identifier of the split configuration." + }, + { + "key": "ruleId", + "value": "", + "description": "The unique identifier of the split configuration rule." + }, + { + "key": "splitLogicId", + "value": "", + "description": "The unique identifier of the split configuration split." + } + ], + "query": [ + ] + }, + "description": "Changes the split logic specified in the path. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API - SplitConfiguration read and write" +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"description\" : \"Your description for the split configuration\",\n \"rules\" : [ {\n \"currency\" : \"ANY\",\n \"fundingSource\" : \"ANY\",\n \"paymentMethod\" : \"ANY\",\n \"ruleId\" : \"SCRL4224P22322585HPCX384JW65VW\",\n \"shopperInteraction\" : \"ANY\",\n \"splitLogic\" : {\n \"additionalCommission\" : {\n \"fixedAmount\" : 10,\n \"variablePercentage\" : 50,\n \"balanceAccountId\" : \"BA3227C223222H5HQ2XX77VVH\"\n },\n \"chargeback\" : \"deductFromLiableAccount\",\n \"commission\" : {\n \"fixedAmount\" : 10,\n \"variablePercentage\" : 100\n },\n \"splitLogicId\" : \"SCLG4224P22322585HPCX384JX52M2\",\n \"paymentFee\" : \"deductFromLiableAccount\",\n \"remainder\" : \"addToOneBalanceAccount\",\n \"tip\" : \"addToOneBalanceAccount\"\n }\n }, {\n \"currency\" : \"EUR\",\n \"fundingSource\" : \"ANY\",\n \"paymentMethod\" : \"visa\",\n \"ruleId\" : \"SCRL4224P22322585HPCX5V4KV6L2R\",\n \"shopperInteraction\" : \"ANY\",\n \"splitLogic\" : {\n \"additionalCommission\" : {\n \"fixedAmount\" : 100,\n \"variablePercentage\" : 0,\n \"balanceAccountId\" : \"BA3227C223222H5HQ2XX77VVH\"\n },\n \"chargeback\" : \"deductFromLiableAccount\",\n \"commission\" : {\n \"fixedAmount\" : 100,\n \"variablePercentage\" : 100\n },\n \"splitLogicId\" : \"SCLG4224P22322585HPCX5V4KW26C9\",\n \"paymentFee\" : \"deductFromLiableAccount\",\n \"remainder\" : \"addToLiableAccount\",\n \"tip\" : \"addToLiableAccount\"\n }\n } ],\n \"splitConfigurationId\" : \"SCNF4224P22322585HPCX384JV6JGX\"\n}", + "originalRequest": { + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"additionalCommission\" : {\n \"fixedAmount\" : 100,\n \"variablePercentage\" : 0,\n \"balanceAccountId\" : \"BA3227C223222H5HQ2XX77VVH\"\n },\n \"chargeback\" : \"deductFromLiableAccount\",\n \"commission\" : {\n \"fixedAmount\" : 100,\n \"variablePercentage\" : 100\n },\n \"paymentFee\" : \"deductFromLiableAccount\",\n \"remainder\" : \"addToLiableAccount\",\n \"tip\" : \"addToLiableAccount\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/merchants/:merchantId/splitConfigurations/:splitConfigurationId/rules/:ruleId/splitLogic/:splitLogicId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "merchants", + ":merchantId", + "splitConfigurations", + ":splitConfigurationId", + "rules", + ":ruleId", + "splitLogic", + ":splitLogicId" + ], + "variable": [ + { + "key": "merchantId", + "value": "{{YOUR_MERCHANT_ACCOUNT}}", + "description": "The unique identifier of the merchant account." + }, + { + "key": "splitConfigurationId", + "value": "", + "description": "The unique identifier of the split configuration." + }, + { + "key": "ruleId", + "value": "", + "description": "The unique identifier of the split configuration rule." + }, + { + "key": "splitLogicId", + "value": "", + "description": "The unique identifier of the split configuration split." + } + ], + "query": [ + ] + }, + "description": "Changes the split logic specified in the path. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API - SplitConfiguration read and write" +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"additionalCommission\" : {\n \"fixedAmount\" : 100,\n \"variablePercentage\" : 0,\n \"balanceAccountId\" : \"BA3227C223222H5HQ2XX77VVH\"\n },\n \"chargeback\" : \"deductFromLiableAccount\",\n \"commission\" : {\n \"fixedAmount\" : 100,\n \"variablePercentage\" : 100\n },\n \"paymentFee\" : \"deductFromLiableAccount\",\n \"remainder\" : \"addToLiableAccount\",\n \"tip\" : \"addToLiableAccount\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/merchants/:merchantId/splitConfigurations/:splitConfigurationId/rules/:ruleId/splitLogic/:splitLogicId", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "merchants", - ":merchantId", - "splitConfigurations", - ":splitConfigurationId", - "rules", - ":ruleId", - "splitLogic", - ":splitLogicId" - ], - "variable": [ - { - "key": "merchantId", - "value": "{{YOUR_MERCHANT_ACCOUNT}}", - "description": "The unique identifier of the merchant account." - }, - { - "key": "splitConfigurationId", - "value": "", - "description": "The unique identifier of the split configuration." - }, - { - "key": "ruleId", - "value": "", - "description": "The unique identifier of the split configuration rule." - }, - { - "key": "splitLogicId", - "value": "", - "description": "The unique identifier of the split configuration split." - } - ], - "query": [ - ] - }, - "description": "Changes the split logic specified in the path. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API - SplitConfiguration read and write" - } + ] } ] } - ] }, { @@ -858,57 +1258,58 @@ { "name": "Get a list of allowed origins", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/companies/:companyId/apiCredentials/:apiCredentialId/allowedOrigins", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "companies", - ":companyId", - "apiCredentials", - ":apiCredentialId", - "allowedOrigins" - ], - "variable": [ - { - "key": "companyId", - "value": "{{YOUR_COMPANY_ACCOUNT}}", - "description": "The unique identifier of the company account." - }, - { - "key": "apiCredentialId", - "value": "", - "description": "Unique identifier of the API credential." - } - ], - "query": [ - ] - }, - "description": "Returns the list of [allowed origins](https://docs.adyen.com/development-resources/client-side-authentication#allowed-origins) for the API credential identified in the path. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—API credentials read and write" - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/companies/:companyId/apiCredentials/:apiCredentialId/allowedOrigins", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "companies", + ":companyId", + "apiCredentials", + ":apiCredentialId", + "allowedOrigins" + ], + "variable": [ + { + "key": "companyId", + "value": "{{YOUR_COMPANY_ACCOUNT}}", + "description": "The unique identifier of the company account." + }, + { + "key": "apiCredentialId", + "value": "", + "description": "Unique identifier of the API credential." + } + ], + "query": [ + ] + }, + "description": "Returns the list of [allowed origins](https://docs.adyen.com/development-resources/client-side-authentication#allowed-origins) for the API credential identified in the path. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—API credentials read and write" +} + ,"response": [ + ] } ] - } -, + }, { "name": "/companies/:companyId/apiCredentials/:apiCredentialId/allowedOrigins", "description": "Adds a new [allowed origin](https://docs.adyen.com/development-resources/client-side-authentication#allowed-origins) to the API credential's list of allowed origins. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—API credentials read and write", @@ -916,63 +1317,129 @@ { "name": "Add an allowed origin for the API credential", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"domain\" : \"https://www.eu.mystore.com\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/companies/:companyId/apiCredentials/:apiCredentialId/allowedOrigins", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "companies", + ":companyId", + "apiCredentials", + ":apiCredentialId", + "allowedOrigins" + ], + "variable": [ + { + "key": "companyId", + "value": "{{YOUR_COMPANY_ACCOUNT}}", + "description": "The unique identifier of the company account." + }, + { + "key": "apiCredentialId", + "value": "", + "description": "Unique identifier of the API credential." + } + ], + "query": [ + ] + }, + "description": "Adds a new [allowed origin](https://docs.adyen.com/development-resources/client-side-authentication#allowed-origins) to the API credential's list of allowed origins. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—API credentials read and write" +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"id\" : \"YOUR_ALLOWED_ORIGIN\",\n \"domain\" : \"https://www.eu.mystore.com\",\n \"_links\" : {\n \"self\" : {\n \"href\" : \"https://management-test.adyen.com/v1/companies/YOUR_COMPANY_ACCOUNT/apiCredentials/YOUR_API_CREDENTIAL/allowedOrigins/YOUR_ALLOWED_ORIGIN\"\n }\n }\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"domain\" : \"https://www.eu.mystore.com\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/companies/:companyId/apiCredentials/:apiCredentialId/allowedOrigins", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "companies", + ":companyId", + "apiCredentials", + ":apiCredentialId", + "allowedOrigins" + ], + "variable": [ + { + "key": "companyId", + "value": "{{YOUR_COMPANY_ACCOUNT}}", + "description": "The unique identifier of the company account." + }, + { + "key": "apiCredentialId", + "value": "", + "description": "Unique identifier of the API credential." + } + ], + "query": [ + ] + }, + "description": "Adds a new [allowed origin](https://docs.adyen.com/development-resources/client-side-authentication#allowed-origins) to the API credential's list of allowed origins. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—API credentials read and write" +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"domain\" : \"https://www.eu.mystore.com\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/companies/:companyId/apiCredentials/:apiCredentialId/allowedOrigins", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "companies", - ":companyId", - "apiCredentials", - ":apiCredentialId", - "allowedOrigins" - ], - "variable": [ - { - "key": "companyId", - "value": "{{YOUR_COMPANY_ACCOUNT}}", - "description": "The unique identifier of the company account." - }, - { - "key": "apiCredentialId", - "value": "", - "description": "Unique identifier of the API credential." - } - ], - "query": [ - ] - }, - "description": "Adds a new [allowed origin](https://docs.adyen.com/development-resources/client-side-authentication#allowed-origins) to the API credential's list of allowed origins. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—API credentials read and write" - } + ] } ] - } -, + }, { "name": "/companies/:companyId/apiCredentials/:apiCredentialId/allowedOrigins/:originId", "description": "Removes the [allowed origin](https://docs.adyen.com/development-resources/client-side-authentication#allowed-origins) identified in the path. As soon as an allowed origin is removed, we no longer accept client-side requests from that domain. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—API credentials read and write", @@ -980,63 +1447,64 @@ { "name": "Delete an allowed origin", "request": { - "method": "DELETE", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/companies/:companyId/apiCredentials/:apiCredentialId/allowedOrigins/:originId", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "companies", - ":companyId", - "apiCredentials", - ":apiCredentialId", - "allowedOrigins", - ":originId" - ], - "variable": [ - { - "key": "companyId", - "value": "{{YOUR_COMPANY_ACCOUNT}}", - "description": "The unique identifier of the company account." - }, - { - "key": "apiCredentialId", - "value": "", - "description": "Unique identifier of the API credential." - }, - { - "key": "originId", - "value": "", - "description": "Unique identifier of the allowed origin." - } - ], - "query": [ - ] - }, - "description": "Removes the [allowed origin](https://docs.adyen.com/development-resources/client-side-authentication#allowed-origins) identified in the path. As soon as an allowed origin is removed, we no longer accept client-side requests from that domain. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—API credentials read and write" - } + "method": "DELETE", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/companies/:companyId/apiCredentials/:apiCredentialId/allowedOrigins/:originId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "companies", + ":companyId", + "apiCredentials", + ":apiCredentialId", + "allowedOrigins", + ":originId" + ], + "variable": [ + { + "key": "companyId", + "value": "{{YOUR_COMPANY_ACCOUNT}}", + "description": "The unique identifier of the company account." + }, + { + "key": "apiCredentialId", + "value": "", + "description": "Unique identifier of the API credential." + }, + { + "key": "originId", + "value": "", + "description": "Unique identifier of the allowed origin." + } + ], + "query": [ + ] + }, + "description": "Removes the [allowed origin](https://docs.adyen.com/development-resources/client-side-authentication#allowed-origins) identified in the path. As soon as an allowed origin is removed, we no longer accept client-side requests from that domain. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—API credentials read and write" +} + ,"response": [ + ] } ] - } -, + }, { "name": "/companies/:companyId/apiCredentials/:apiCredentialId/allowedOrigins/:originId", "description": "Returns the [allowed origin](https://docs.adyen.com/development-resources/client-side-authentication#allowed-origins) identified in the path. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—API credentials read and write", @@ -1044,63 +1512,64 @@ { "name": "Get an allowed origin", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/companies/:companyId/apiCredentials/:apiCredentialId/allowedOrigins/:originId", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "companies", - ":companyId", - "apiCredentials", - ":apiCredentialId", - "allowedOrigins", - ":originId" - ], - "variable": [ - { - "key": "companyId", - "value": "{{YOUR_COMPANY_ACCOUNT}}", - "description": "The unique identifier of the company account." - }, - { - "key": "apiCredentialId", - "value": "", - "description": "Unique identifier of the API credential." - }, - { - "key": "originId", - "value": "", - "description": "Unique identifier of the allowed origin." - } - ], - "query": [ - ] - }, - "description": "Returns the [allowed origin](https://docs.adyen.com/development-resources/client-side-authentication#allowed-origins) identified in the path. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—API credentials read and write" - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/companies/:companyId/apiCredentials/:apiCredentialId/allowedOrigins/:originId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "companies", + ":companyId", + "apiCredentials", + ":apiCredentialId", + "allowedOrigins", + ":originId" + ], + "variable": [ + { + "key": "companyId", + "value": "{{YOUR_COMPANY_ACCOUNT}}", + "description": "The unique identifier of the company account." + }, + { + "key": "apiCredentialId", + "value": "", + "description": "Unique identifier of the API credential." + }, + { + "key": "originId", + "value": "", + "description": "Unique identifier of the allowed origin." + } + ], + "query": [ + ] + }, + "description": "Returns the [allowed origin](https://docs.adyen.com/development-resources/client-side-authentication#allowed-origins) identified in the path. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—API credentials read and write" +} + ,"response": [ + ] } ] } - ] }, { @@ -1113,57 +1582,58 @@ { "name": "Generate new API key", "request": { - "method": "POST", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/companies/:companyId/apiCredentials/:apiCredentialId/generateApiKey", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "companies", - ":companyId", - "apiCredentials", - ":apiCredentialId", - "generateApiKey" - ], - "variable": [ - { - "key": "companyId", - "value": "{{YOUR_COMPANY_ACCOUNT}}", - "description": "The unique identifier of the company account." - }, - { - "key": "apiCredentialId", - "value": "", - "description": "Unique identifier of the API credential." - } - ], - "query": [ - ] - }, - "description": "Returns a new API key for the API credential. You can use the new API key a few minutes after generating it. The old API key stops working 24 hours after generating a new one. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—API credentials read and write" - } + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/companies/:companyId/apiCredentials/:apiCredentialId/generateApiKey", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "companies", + ":companyId", + "apiCredentials", + ":apiCredentialId", + "generateApiKey" + ], + "variable": [ + { + "key": "companyId", + "value": "{{YOUR_COMPANY_ACCOUNT}}", + "description": "The unique identifier of the company account." + }, + { + "key": "apiCredentialId", + "value": "", + "description": "Unique identifier of the API credential." + } + ], + "query": [ + ] + }, + "description": "Returns a new API key for the API credential. You can use the new API key a few minutes after generating it. The old API key stops working 24 hours after generating a new one. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—API credentials read and write" +} + ,"response": [ + ] } ] } - ] }, { @@ -1176,57 +1646,58 @@ { "name": "Generate new client key", "request": { - "method": "POST", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/companies/:companyId/apiCredentials/:apiCredentialId/generateClientKey", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "companies", - ":companyId", - "apiCredentials", - ":apiCredentialId", - "generateClientKey" - ], - "variable": [ - { - "key": "companyId", - "value": "{{YOUR_COMPANY_ACCOUNT}}", - "description": "The unique identifier of the company account." - }, - { - "key": "apiCredentialId", - "value": "", - "description": "Unique identifier of the API credential." - } - ], - "query": [ - ] - }, - "description": "Returns a new [client key](https://docs.adyen.com/development-resources/client-side-authentication#how-it-works) for the API credential identified in the path. You can use the new client key a few minutes after generating it. The old client key stops working 24 hours after generating a new one. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—API credentials read and write" - } + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/companies/:companyId/apiCredentials/:apiCredentialId/generateClientKey", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "companies", + ":companyId", + "apiCredentials", + ":apiCredentialId", + "generateClientKey" + ], + "variable": [ + { + "key": "companyId", + "value": "{{YOUR_COMPANY_ACCOUNT}}", + "description": "The unique identifier of the company account." + }, + { + "key": "apiCredentialId", + "value": "", + "description": "Unique identifier of the API credential." + } + ], + "query": [ + ] + }, + "description": "Returns a new [client key](https://docs.adyen.com/development-resources/client-side-authentication#how-it-works) for the API credential identified in the path. You can use the new client key a few minutes after generating it. The old client key stops working 24 hours after generating a new one. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—API credentials read and write" +} + ,"response": [ + ] } ] } - ] }, { @@ -1239,68 +1710,69 @@ { "name": "Get a list of users", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/companies/:companyId/users", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "companies", - ":companyId", - "users" - ], - "variable": [ - { - "key": "companyId", - "value": "{{YOUR_COMPANY_ACCOUNT}}", - "description": "The unique identifier of the company account." - } - ], - "query": [ - { - "key": "pageNumber", - "value": "56", - "description": "The number of the page to return.", - "disabled": true - }, - { - "key": "pageSize", - "value": "56", - "description": "The number of items to have on a page. Maximum value is **100**. The default is **10** items on a page.", - "disabled": true - }, - { - "key": "username", - "value": "username_example", - "description": "The partial or complete username to select all users that match.", - "disabled": true - } - ] - }, - "description": "Returns the list of users for the `companyId` identified in the path. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Users read and write " - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/companies/:companyId/users", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "companies", + ":companyId", + "users" + ], + "variable": [ + { + "key": "companyId", + "value": "{{YOUR_COMPANY_ACCOUNT}}", + "description": "The unique identifier of the company account." + } + ], + "query": [ + { + "key": "pageNumber", + "value": "56", + "description": "The number of the page to return.", + "disabled": true + }, + { + "key": "pageSize", + "value": "56", + "description": "The number of items to have on a page. Maximum value is **100**. The default is **10** items on a page.", + "disabled": true + }, + { + "key": "username", + "value": "username_example", + "description": "The partial or complete username to select all users that match.", + "disabled": true + } + ] + }, + "description": "Returns the list of users for the `companyId` identified in the path. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Users read and write " +} + ,"response": [ + ] } ] - } -, + }, { "name": "/companies/:companyId/users", "description": "Creates the user for the `companyId` identified in the path. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Users read and write ", @@ -1308,56 +1780,115 @@ { "name": "Create a user", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\" : {\n \"firstName\" : \"John\",\n \"lastName\" : \"Smith\"\n },\n \"username\" : \"johnsmith\",\n \"email\" : \"john.smith@example.com\",\n \"timeZoneCode\" : \"Europe/Amsterdam\",\n \"roles\" : [ \"Merchant standard role\", \"Merchant admin\" ],\n \"associatedMerchantAccounts\" : [ \"{{YOUR_MERCHANT_ACCOUNT}}\" ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/companies/:companyId/users", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "companies", + ":companyId", + "users" + ], + "variable": [ + { + "key": "companyId", + "value": "{{YOUR_COMPANY_ACCOUNT}}", + "description": "The unique identifier of the company account." + } + ], + "query": [ + ] + }, + "description": "Creates the user for the `companyId` identified in the path. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Users read and write " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"id\" : \"S2-5C334C6770\",\n \"name\" : {\n \"firstName\" : \"John\",\n \"lastName\" : \"Smith\"\n },\n \"email\" : \"john.smith@example.com\",\n \"timeZoneCode\" : \"Europe/Amsterdam\",\n \"username\" : \"johnsmith\",\n \"roles\" : [ \"Merchant standard role\", \"Merchant admin\" ],\n \"active\" : true,\n \"_links\" : {\n \"self\" : {\n \"href\" : \"https://management-test.adyen.com/v1/companies/YOUR_COMPANY_ACCOUNT/users/S2-5C334C6770\"\n }\n },\n \"associatedMerchantAccounts\" : [ \"YOUR_MERCHANT_ACCOUNT\" ]\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\" : {\n \"firstName\" : \"John\",\n \"lastName\" : \"Smith\"\n },\n \"username\" : \"johnsmith\",\n \"email\" : \"john.smith@example.com\",\n \"timeZoneCode\" : \"Europe/Amsterdam\",\n \"roles\" : [ \"Merchant standard role\", \"Merchant admin\" ],\n \"associatedMerchantAccounts\" : [ \"{{YOUR_MERCHANT_ACCOUNT}}\" ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/companies/:companyId/users", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "companies", + ":companyId", + "users" + ], + "variable": [ + { + "key": "companyId", + "value": "{{YOUR_COMPANY_ACCOUNT}}", + "description": "The unique identifier of the company account." + } + ], + "query": [ + ] + }, + "description": "Creates the user for the `companyId` identified in the path. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Users read and write " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"name\" : {\n \"firstName\" : \"John\",\n \"lastName\" : \"Smith\"\n },\n \"username\" : \"johnsmith\",\n \"email\" : \"john.smith@example.com\",\n \"timeZoneCode\" : \"Europe/Amsterdam\",\n \"roles\" : [ \"Merchant standard role\", \"Merchant admin\" ],\n \"associatedMerchantAccounts\" : [ \"{{YOUR_MERCHANT_ACCOUNT}}\" ]\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/companies/:companyId/users", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "companies", - ":companyId", - "users" - ], - "variable": [ - { - "key": "companyId", - "value": "{{YOUR_COMPANY_ACCOUNT}}", - "description": "The unique identifier of the company account." - } - ], - "query": [ - ] - }, - "description": "Creates the user for the `companyId` identified in the path. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Users read and write " - } + ] } ] - } -, + }, { "name": "/companies/:companyId/users/:userId", "description": "Returns user details for the `userId` and the `companyId` identified in the path. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Users read and write ", @@ -1365,56 +1896,57 @@ { "name": "Get user details", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/companies/:companyId/users/:userId", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "companies", - ":companyId", - "users", - ":userId" - ], - "variable": [ - { - "key": "companyId", - "value": "{{YOUR_COMPANY_ACCOUNT}}", - "description": "The unique identifier of the company account." - }, - { - "key": "userId", - "value": "", - "description": "The unique identifier of the user." - } - ], - "query": [ - ] - }, - "description": "Returns user details for the `userId` and the `companyId` identified in the path. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Users read and write " - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/companies/:companyId/users/:userId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "companies", + ":companyId", + "users", + ":userId" + ], + "variable": [ + { + "key": "companyId", + "value": "{{YOUR_COMPANY_ACCOUNT}}", + "description": "The unique identifier of the company account." + }, + { + "key": "userId", + "value": "", + "description": "The unique identifier of the user." + } + ], + "query": [ + ] + }, + "description": "Returns user details for the `userId` and the `companyId` identified in the path. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Users read and write " +} + ,"response": [ + ] } ] - } -, + }, { "name": "/companies/:companyId/users/:userId", "description": "Updates user details for the `userId` and the `companyId` identified in the path. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Users read and write ", @@ -1422,62 +1954,63 @@ { "name": "Update user details", "request": { - "method": "PATCH", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"accountGroups\": \"\",\n \"active\": \"\",\n \"associatedMerchantAccounts\": \"\",\n \"email\": \"\",\n \"name\": \"\",\n \"roles\": \"\",\n \"timeZoneCode\": \"\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/companies/:companyId/users/:userId", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "companies", - ":companyId", - "users", - ":userId" - ], - "variable": [ - { - "key": "companyId", - "value": "{{YOUR_COMPANY_ACCOUNT}}", - "description": "The unique identifier of the company account." - }, - { - "key": "userId", - "value": "", - "description": "The unique identifier of the user." - } - ], - "query": [ - ] - }, - "description": "Updates user details for the `userId` and the `companyId` identified in the path. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Users read and write " - } + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"accountGroups\": \"\",\n \"active\": \"\",\n \"associatedMerchantAccounts\": \"\",\n \"email\": \"\",\n \"name\": \"\",\n \"roles\": \"\",\n \"timeZoneCode\": \"\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/companies/:companyId/users/:userId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "companies", + ":companyId", + "users", + ":userId" + ], + "variable": [ + { + "key": "companyId", + "value": "{{YOUR_COMPANY_ACCOUNT}}", + "description": "The unique identifier of the company account." + }, + { + "key": "userId", + "value": "", + "description": "The unique identifier of the user." + } + ], + "query": [ + ] + }, + "description": "Updates user details for the `userId` and the `companyId` identified in the path. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Users read and write " +} + ,"response": [ + ] } ] } - ] }, { @@ -1490,138 +2023,299 @@ { "name": "Schedule installing an Android app", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"terminalIds\" : [ \"S1E-000150183300032\", \"S1E-000150183300033\", \"S1F2-000150183300034\" ],\n \"storeId\" : \"\",\n \"scheduledAt\" : \"2021-12-12T20:21:22-0100\",\n \"actionDetails\" : {\n \"type\" : \"InstallAndroidApp\",\n \"appId\" : \"ANDA422LZ223223K5F694GCCF732K8\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/terminals/scheduleActions", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "terminals", + "scheduleActions" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Schedules a [terminal action](https://docs.adyen.com/point-of-sale/automating-terminal-management/terminal-actions-api) by specifying the action and the terminals that the action must be applied to. The following restrictions apply: * You can schedule only one action at a time. For example, to install a new app version and remove an old app version, you have to make two API requests. * The maximum number of terminals in a request is **100**. For example, to apply an action to 250 terminals, you have to divide the terminals over three API requests. * If there is an error with one or more terminal IDs in the request, the action is scheduled for none of the terminals. You need to fix the error and try again. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal actions read and write" +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"actionDetails\" : {\n \"appId\" : \"ANDA422LZ223223K5F694GCCF732K8\",\n \"type\" : \"InstallAndroidApp\"\n },\n \"scheduledAt\" : \"2021-12-12T20:21:22-0100\",\n \"storeId\" : \"\",\n \"items\" : [ {\n \"id\" : \"TRAC422T2223223K5GFMQHM6WQ4KB6\",\n \"terminalId\" : \"S1E-000150183300032\"\n }, {\n \"id\" : \"TRAC4224X22338VQ5GD4CQJCQT5PC2\",\n \"terminalId\" : \"S1E-000150183300033\"\n }, {\n \"id\" : \"TRAC4224Z223223K5GD89RLBWQ6CWT\",\n \"terminalId\" : \"S1F2-000150183300034\"\n } ],\n \"terminalIds\" : [ \"S1E-000150183300032\", \"S1E-000150183300033\", \"S1F2-000150183300034\" ],\n \"terminalsWithErrors\" : { },\n \"totalScheduled\" : 3,\n \"totalErrors\" : 0\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"terminalIds\" : [ \"S1E-000150183300032\", \"S1E-000150183300033\", \"S1F2-000150183300034\" ],\n \"storeId\" : \"\",\n \"scheduledAt\" : \"2021-12-12T20:21:22-0100\",\n \"actionDetails\" : {\n \"type\" : \"InstallAndroidApp\",\n \"appId\" : \"ANDA422LZ223223K5F694GCCF732K8\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/terminals/scheduleActions", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "terminals", + "scheduleActions" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Schedules a [terminal action](https://docs.adyen.com/point-of-sale/automating-terminal-management/terminal-actions-api) by specifying the action and the terminals that the action must be applied to. The following restrictions apply: * You can schedule only one action at a time. For example, to install a new app version and remove an old app version, you have to make two API requests. * The maximum number of terminals in a request is **100**. For example, to apply an action to 250 terminals, you have to divide the terminals over three API requests. * If there is an error with one or more terminal IDs in the request, the action is scheduled for none of the terminals. You need to fix the error and try again. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal actions read and write" +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"terminalIds\" : [ \"S1E-000150183300032\", \"S1E-000150183300033\", \"S1F2-000150183300034\" ],\n \"storeId\" : \"\",\n \"scheduledAt\" : \"2021-12-12T20:21:22-0100\",\n \"actionDetails\" : {\n \"type\" : \"InstallAndroidApp\",\n \"appId\" : \"ANDA422LZ223223K5F694GCCF732K8\"\n }\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/terminals/scheduleActions", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "terminals", - "scheduleActions" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Schedules a [terminal action](https://docs.adyen.com/point-of-sale/automating-terminal-management/terminal-actions-api) by specifying the action and the terminals that the action must be applied to. The following restrictions apply: * You can schedule only one action at a time. For example, to install a new app version and remove an old app version, you have to make two API requests. * The maximum number of terminals in a request is **100**. For example, to apply an action to 250 terminals, you have to divide the terminals over three API requests. * If there is an error with one or more terminal IDs in the request, the action is scheduled for none of the terminals. You need to fix the error and try again. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal actions read and write" - } + ] }, { "name": "Schedule uninstalling an Android certificate", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"terminalIds\" : [ \"S1E-000150183300032\", \"S1E-000150183300033\", \"S1F2-000150183300034\" ],\n \"storeId\" : \"\",\n \"scheduledAt\" : \"2021-12-12T20:21:22-0100\",\n \"actionDetails\" : {\n \"type\" : \"UninstallAndroidCertificate\",\n \"certificateId\" : \"ANDC422LZ223223K5F78NVN9SL4VPH\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/terminals/scheduleActions", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "terminals", + "scheduleActions" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Schedules a [terminal action](https://docs.adyen.com/point-of-sale/automating-terminal-management/terminal-actions-api) by specifying the action and the terminals that the action must be applied to. The following restrictions apply: * You can schedule only one action at a time. For example, to install a new app version and remove an old app version, you have to make two API requests. * The maximum number of terminals in a request is **100**. For example, to apply an action to 250 terminals, you have to divide the terminals over three API requests. * If there is an error with one or more terminal IDs in the request, the action is scheduled for none of the terminals. You need to fix the error and try again. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal actions read and write" +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"actionDetails\" : {\n \"certificateId\" : \"ANDC422LZ223223K5F78NVN9SL4VPH\",\n \"type\" : \"UninstallAndroidCertificate\"\n },\n \"scheduledAt\" : \"2021-12-12T20:21:22-0100\",\n \"storeId\" : \"\",\n \"items\" : [ {\n \"id\" : \"TRAC422T2223223K5GFMQHM6WQ4KB6\",\n \"terminalId\" : \"S1E-000150183300032\"\n }, {\n \"id\" : \"TRAC4224X22338VQ5GD4CQJCQT5PC2\",\n \"terminalId\" : \"S1E-000150183300033\"\n }, {\n \"id\" : \"TRAC4224Z223223K5GD89RLBWQ6CWT\",\n \"terminalId\" : \"S1F2-000150183300034\"\n } ],\n \"terminalIds\" : [ \"S1E-000150183300032\", \"S1E-000150183300033\", \"S1F2-000150183300034\" ],\n \"terminalsWithErrors\" : { },\n \"totalScheduled\" : 3,\n \"totalErrors\" : 0\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"terminalIds\" : [ \"S1E-000150183300032\", \"S1E-000150183300033\", \"S1F2-000150183300034\" ],\n \"storeId\" : \"\",\n \"scheduledAt\" : \"2021-12-12T20:21:22-0100\",\n \"actionDetails\" : {\n \"type\" : \"UninstallAndroidCertificate\",\n \"certificateId\" : \"ANDC422LZ223223K5F78NVN9SL4VPH\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/terminals/scheduleActions", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "terminals", + "scheduleActions" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Schedules a [terminal action](https://docs.adyen.com/point-of-sale/automating-terminal-management/terminal-actions-api) by specifying the action and the terminals that the action must be applied to. The following restrictions apply: * You can schedule only one action at a time. For example, to install a new app version and remove an old app version, you have to make two API requests. * The maximum number of terminals in a request is **100**. For example, to apply an action to 250 terminals, you have to divide the terminals over three API requests. * If there is an error with one or more terminal IDs in the request, the action is scheduled for none of the terminals. You need to fix the error and try again. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal actions read and write" +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"terminalIds\" : [ \"S1E-000150183300032\", \"S1E-000150183300033\", \"S1F2-000150183300034\" ],\n \"storeId\" : \"\",\n \"scheduledAt\" : \"2021-12-12T20:21:22-0100\",\n \"actionDetails\" : {\n \"type\" : \"UninstallAndroidCertificate\",\n \"certificateId\" : \"ANDC422LZ223223K5F78NVN9SL4VPH\"\n }\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/terminals/scheduleActions", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "terminals", - "scheduleActions" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Schedules a [terminal action](https://docs.adyen.com/point-of-sale/automating-terminal-management/terminal-actions-api) by specifying the action and the terminals that the action must be applied to. The following restrictions apply: * You can schedule only one action at a time. For example, to install a new app version and remove an old app version, you have to make two API requests. * The maximum number of terminals in a request is **100**. For example, to apply an action to 250 terminals, you have to divide the terminals over three API requests. * If there is an error with one or more terminal IDs in the request, the action is scheduled for none of the terminals. You need to fix the error and try again. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal actions read and write" - } + ] }, { "name": "Invalid terminal ID in the request", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"terminalIds\" : [ \"S1E-000150183300032\", \"S1E-000150183300033\", \"S1F2-000150183300034\" ],\n \"storeId\" : \"\",\n \"scheduledAt\" : \"2021-12-11T20:21:22-0100\",\n \"actionDetails\" : {\n \"type\" : \"InstallAndroidApp\",\n \"appId\" : \"ANDA422LZ223223K5F694GCCF621J7\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/terminals/scheduleActions", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "terminals", + "scheduleActions" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Schedules a [terminal action](https://docs.adyen.com/point-of-sale/automating-terminal-management/terminal-actions-api) by specifying the action and the terminals that the action must be applied to. The following restrictions apply: * You can schedule only one action at a time. For example, to install a new app version and remove an old app version, you have to make two API requests. * The maximum number of terminals in a request is **100**. For example, to apply an action to 250 terminals, you have to divide the terminals over three API requests. * If there is an error with one or more terminal IDs in the request, the action is scheduled for none of the terminals. You need to fix the error and try again. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal actions read and write" +} + ,"response": [ + {"name": "Unprocessable Entity - a request validation error.", + "code": 422, + "status": "Unprocessable Entity", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"type\" : \"https://docs.adyen.com/errors/unprocessable-entity\",\n \"errorCode\" : \"02_005\",\n \"title\" : \"Terminal ID verification failed.\",\n \"status\" : 422,\n \"detail\" : \"Terminal IDs are empty\"\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"terminalIds\" : [ \"S1E-000150183300032\", \"S1E-000150183300033\", \"S1F2-000150183300034\" ],\n \"storeId\" : \"\",\n \"scheduledAt\" : \"2021-12-11T20:21:22-0100\",\n \"actionDetails\" : {\n \"type\" : \"InstallAndroidApp\",\n \"appId\" : \"ANDA422LZ223223K5F694GCCF621J7\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/terminals/scheduleActions", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "terminals", + "scheduleActions" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Schedules a [terminal action](https://docs.adyen.com/point-of-sale/automating-terminal-management/terminal-actions-api) by specifying the action and the terminals that the action must be applied to. The following restrictions apply: * You can schedule only one action at a time. For example, to install a new app version and remove an old app version, you have to make two API requests. * The maximum number of terminals in a request is **100**. For example, to apply an action to 250 terminals, you have to divide the terminals over three API requests. * If there is an error with one or more terminal IDs in the request, the action is scheduled for none of the terminals. You need to fix the error and try again. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal actions read and write" +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"terminalIds\" : [ \"S1E-000150183300032\", \"S1E-000150183300033\", \"S1F2-000150183300034\" ],\n \"storeId\" : \"\",\n \"scheduledAt\" : \"2021-12-11T20:21:22-0100\",\n \"actionDetails\" : {\n \"type\" : \"InstallAndroidApp\",\n \"appId\" : \"ANDA422LZ223223K5F694GCCF621J7\"\n }\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/terminals/scheduleActions", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "terminals", - "scheduleActions" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Schedules a [terminal action](https://docs.adyen.com/point-of-sale/automating-terminal-management/terminal-actions-api) by specifying the action and the terminals that the action must be applied to. The following restrictions apply: * You can schedule only one action at a time. For example, to install a new app version and remove an old app version, you have to make two API requests. * The maximum number of terminals in a request is **100**. For example, to apply an action to 250 terminals, you have to divide the terminals over three API requests. * If there is an error with one or more terminal IDs in the request, the action is scheduled for none of the terminals. You need to fix the error and try again. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal actions read and write" - } + ] } ] } - ] }, { @@ -1634,50 +2328,51 @@ { "name": "Get the terminal logo", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/terminals/:terminalId/terminalLogos", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "terminals", - ":terminalId", - "terminalLogos" - ], - "variable": [ - { - "key": "terminalId", - "value": "", - "description": "The unique identifier of the payment terminal." - } - ], - "query": [ - ] - }, - "description": "Returns the logo that is configured for the payment terminal identified in the path. The logo is returned as a Base64-encoded string. You need to Base64-decode the string to get the actual image file. To make this request, your API credential must have one of the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal settings read * Management API—Terminal settings read and write" - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/terminals/:terminalId/terminalLogos", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "terminals", + ":terminalId", + "terminalLogos" + ], + "variable": [ + { + "key": "terminalId", + "value": "", + "description": "The unique identifier of the payment terminal." + } + ], + "query": [ + ] + }, + "description": "Returns the logo that is configured for the payment terminal identified in the path. The logo is returned as a Base64-encoded string. You need to Base64-decode the string to get the actual image file. To make this request, your API credential must have one of the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal settings read * Management API—Terminal settings read and write" +} + ,"response": [ + ] } ] - } -, + }, { "name": "/terminals/:terminalId/terminalLogos", "description": "Updates the logo for the payment terminal identified in the path. * To change the logo, specify the image file as a Base64-encoded string. * To restore the logo inherited from a higher level (store, merchant account, or company account), specify an empty logo value. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal settings read and write", @@ -1685,106 +2380,225 @@ { "name": "Remove logo to restore the logo from a higher level", "request": { - "method": "PATCH", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"data\" : \"\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/terminals/:terminalId/terminalLogos", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "terminals", + ":terminalId", + "terminalLogos" + ], + "variable": [ + { + "key": "terminalId", + "value": "", + "description": "The unique identifier of the payment terminal." + } + ], + "query": [ + ] + }, + "description": "Updates the logo for the payment terminal identified in the path. * To change the logo, specify the image file as a Base64-encoded string. * To restore the logo inherited from a higher level (store, merchant account, or company account), specify an empty logo value. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal settings read and write" +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"data\" : \"LOGO_INHERITED_FROM_HIGHER_LEVEL_BASE-64_ENCODED_STRING\"\n}", + "originalRequest": { + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"data\" : \"\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/terminals/:terminalId/terminalLogos", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "terminals", + ":terminalId", + "terminalLogos" + ], + "variable": [ + { + "key": "terminalId", + "value": "", + "description": "The unique identifier of the payment terminal." + } + ], + "query": [ + ] + }, + "description": "Updates the logo for the payment terminal identified in the path. * To change the logo, specify the image file as a Base64-encoded string. * To restore the logo inherited from a higher level (store, merchant account, or company account), specify an empty logo value. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal settings read and write" +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"data\" : \"\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/terminals/:terminalId/terminalLogos", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "terminals", - ":terminalId", - "terminalLogos" - ], - "variable": [ - { - "key": "terminalId", - "value": "", - "description": "The unique identifier of the payment terminal." - } - ], - "query": [ - ] - }, - "description": "Updates the logo for the payment terminal identified in the path. * To change the logo, specify the image file as a Base64-encoded string. * To restore the logo inherited from a higher level (store, merchant account, or company account), specify an empty logo value. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal settings read and write" - } + ] }, { "name": "Upload terminal logo", "request": { - "method": "PATCH", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"data\" : \"LOGO_FILE_CONVERTED_TO_A_BASE-64_ENCODED_STRING\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/terminals/:terminalId/terminalLogos", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "terminals", + ":terminalId", + "terminalLogos" + ], + "variable": [ + { + "key": "terminalId", + "value": "", + "description": "The unique identifier of the payment terminal." + } + ], + "query": [ + ] + }, + "description": "Updates the logo for the payment terminal identified in the path. * To change the logo, specify the image file as a Base64-encoded string. * To restore the logo inherited from a higher level (store, merchant account, or company account), specify an empty logo value. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal settings read and write" +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"data\" : \"BASE-64_ENCODED_STRING_FROM_THE_REQUEST\"\n}", + "originalRequest": { + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"data\" : \"LOGO_FILE_CONVERTED_TO_A_BASE-64_ENCODED_STRING\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/terminals/:terminalId/terminalLogos", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "terminals", + ":terminalId", + "terminalLogos" + ], + "variable": [ + { + "key": "terminalId", + "value": "", + "description": "The unique identifier of the payment terminal." + } + ], + "query": [ + ] + }, + "description": "Updates the logo for the payment terminal identified in the path. * To change the logo, specify the image file as a Base64-encoded string. * To restore the logo inherited from a higher level (store, merchant account, or company account), specify an empty logo value. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal settings read and write" +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"data\" : \"LOGO_FILE_CONVERTED_TO_A_BASE-64_ENCODED_STRING\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/terminals/:terminalId/terminalLogos", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "terminals", - ":terminalId", - "terminalLogos" - ], - "variable": [ - { - "key": "terminalId", - "value": "", - "description": "The unique identifier of the payment terminal." - } - ], - "query": [ - ] - }, - "description": "Updates the logo for the payment terminal identified in the path. * To change the logo, specify the image file as a Base64-encoded string. * To restore the logo inherited from a higher level (store, merchant account, or company account), specify an empty logo value. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal settings read and write" - } + ] } ] - } -, + }, { "name": "/terminals/:terminalId/terminalSettings", "description": "Returns the settings that are configured for the payment terminal identified in the path. To make this request, your API credential must have one of the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal settings read * Management API—Terminal settings read and write For [sensitive terminal settings](https://docs.adyen.com/point-of-sale/automating-terminal-management/configure-terminals-api#sensitive-terminal-settings), your API credential must have the following role: * Management API—Terminal settings Advanced read and write", @@ -1792,50 +2606,51 @@ { "name": "Get terminal settings", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/terminals/:terminalId/terminalSettings", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "terminals", - ":terminalId", - "terminalSettings" - ], - "variable": [ - { - "key": "terminalId", - "value": "", - "description": "The unique identifier of the payment terminal." - } - ], - "query": [ - ] - }, - "description": "Returns the settings that are configured for the payment terminal identified in the path. To make this request, your API credential must have one of the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal settings read * Management API—Terminal settings read and write For [sensitive terminal settings](https://docs.adyen.com/point-of-sale/automating-terminal-management/configure-terminals-api#sensitive-terminal-settings), your API credential must have the following role: * Management API—Terminal settings Advanced read and write" - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/terminals/:terminalId/terminalSettings", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "terminals", + ":terminalId", + "terminalSettings" + ], + "variable": [ + { + "key": "terminalId", + "value": "", + "description": "The unique identifier of the payment terminal." + } + ], + "query": [ + ] + }, + "description": "Returns the settings that are configured for the payment terminal identified in the path. To make this request, your API credential must have one of the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal settings read * Management API—Terminal settings read and write For [sensitive terminal settings](https://docs.adyen.com/point-of-sale/automating-terminal-management/configure-terminals-api#sensitive-terminal-settings), your API credential must have the following role: * Management API—Terminal settings Advanced read and write" +} + ,"response": [ + ] } ] - } -, + }, { "name": "/terminals/:terminalId/terminalSettings", "description": "Updates the settings that are configured for the payment terminal identified in the path. * To change a parameter value, include the full object that contains the parameter, even if you don't want to change all parameters in the object. * To restore a parameter value inherited from a higher level, include the full object that contains the parameter, and specify an empty value for the parameter or omit the parameter. * Objects that are not included in the request are not updated. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal settings read and write For [sensitive terminal settings](https://docs.adyen.com/point-of-sale/automating-terminal-management/configure-terminals-api#sensitive-terminal-settings), your API credential must have the following role: * Management API—Terminal settings Advanced read and write", @@ -1843,106 +2658,225 @@ { "name": "Add EAP-PEAP and PSK Wi-Fi profiles", "request": { - "method": "PATCH", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"wifiProfiles\" : {\n \"profiles\" : [ {\n \"authType\" : \"wpa-eap\",\n \"autoWifi\" : false,\n \"bssType\" : \"infra\",\n \"channel\" : 0,\n \"defaultProfile\" : true,\n \"eap\" : \"peap\",\n \"eapCaCert\" : {\n \"data\" : \"MD1rKS05M2JqRVFNQ...RTtLH1tLWo=\",\n \"name\" : \"eap-peap-ca.pem\"\n },\n \"eapIdentity\" : \"admin\",\n \"eapIntermediateCert\" : {\n \"data\" : \"PD3tUS1CRDdJTiGDR...EFoLS0tLQg=\",\n \"name\" : \"eap-peap-client.pem\"\n },\n \"eapPwd\" : \"EAP_PEAP_PASSWORD\",\n \"hiddenSsid\" : false,\n \"name\" : \"Profile-eap-peap-1\",\n \"ssid\" : \"your-network\",\n \"wsec\" : \"ccmp\"\n }, {\n \"authType\" : \"wpa-psk\",\n \"autoWifi\" : false,\n \"bssType\" : \"infra\",\n \"channel\" : 0,\n \"defaultProfile\" : false,\n \"hiddenSsid\" : false,\n \"name\" : \"Profile-guest-wifi\",\n \"psk\" : \"WIFI_PASSWORD\",\n \"ssid\" : \"your-network\",\n \"wsec\" : \"ccmp\"\n } ],\n \"settings\" : {\n \"band\" : \"2.4GHz\",\n \"roaming\" : true,\n \"timeout\" : 5\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/terminals/:terminalId/terminalSettings", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "terminals", + ":terminalId", + "terminalSettings" + ], + "variable": [ + { + "key": "terminalId", + "value": "", + "description": "The unique identifier of the payment terminal." + } + ], + "query": [ + ] + }, + "description": "Updates the settings that are configured for the payment terminal identified in the path. * To change a parameter value, include the full object that contains the parameter, even if you don't want to change all parameters in the object. * To restore a parameter value inherited from a higher level, include the full object that contains the parameter, and specify an empty value for the parameter or omit the parameter. * Objects that are not included in the request are not updated. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal settings read and write For [sensitive terminal settings](https://docs.adyen.com/point-of-sale/automating-terminal-management/configure-terminals-api#sensitive-terminal-settings), your API credential must have the following role: * Management API—Terminal settings Advanced read and write" +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"cardholderReceipt\" : {\n \"headerForAuthorizedReceipt\" : \"header1,header2,filler\"\n },\n \"gratuities\" : [ {\n \"currency\" : \"EUR\",\n \"usePredefinedTipEntries\" : true,\n \"predefinedTipEntries\" : [ \"100\", \"1%\", \"5%\" ],\n \"allowCustomAmount\" : true\n } ],\n \"nexo\" : {\n \"displayUrls\" : {\n \"localUrls\" : [ {\n \"password\" : \"BASIC_AUTH_PASSWORD\",\n \"url\" : \"https://your-display-notifications-endpoint.com\",\n \"username\" : \"BASIC_AUTH_USERNAME\"\n } ]\n },\n \"encryptionKey\" : {\n \"identifier\" : \"KEY_IDENTIFIER\",\n \"passphrase\" : \"KEY_PASSPHRASE\",\n \"version\" : 1\n },\n \"eventUrls\" : {\n \"eventPublicUrls\" : [ {\n \"password\" : \"BASIC_AUTH_PASSWORD\",\n \"url\" : \"https://your-event-notifications-endpoint.com\",\n \"username\" : \"BASIC_AUTH_USERNAME\"\n } ]\n },\n \"notification\" : {\n \"showButton\" : true\n }\n },\n \"opi\" : {\n \"enablePayAtTable\" : true,\n \"payAtTableStoreNumber\" : \"1\",\n \"payAtTableURL\" : \"https:/your-pay-at-table-endpoint.com\"\n },\n \"offlineProcessing\" : {\n \"chipFloorLimit\" : 0\n },\n \"receiptOptions\" : {\n \"qrCodeData\" : \"http://www.example.com/order/${pspreference}/${merchantreference}\"\n },\n \"receiptPrinting\" : {\n \"shopperApproved\" : true,\n \"shopperRefused\" : true,\n \"shopperCancelled\" : true,\n \"shopperRefundApproved\" : true,\n \"shopperRefundRefused\" : true,\n \"shopperVoid\" : true\n },\n \"signature\" : {\n \"askSignatureOnScreen\" : true,\n \"skipSignature\" : false,\n \"deviceName\" : \"Amsterdam-236203386\"\n },\n \"wifiProfiles\" : {\n \"profiles\" : [ {\n \"authType\" : \"wpa-eap\",\n \"autoWifi\" : false,\n \"bssType\" : \"infra\",\n \"channel\" : 0,\n \"defaultProfile\" : true,\n \"eap\" : \"peap\",\n \"eapCaCert\" : {\n \"data\" : \"MD1rKS05M2JqRVFNQ...RTtLH1tLWo=\",\n \"name\" : \"eap-peap-ca.pem\"\n },\n \"eapIdentity\" : \"admin\",\n \"eapIntermediateCert\" : {\n \"data\" : \"PD3tUS1CRDdJTiGDR...EFoLS0tLQg=\",\n \"name\" : \"eap-peap-client.pem\"\n },\n \"eapPwd\" : \"EAP_PEAP_PASSWORD\",\n \"hiddenSsid\" : false,\n \"name\" : \"Profile-eap-peap-1\",\n \"ssid\" : \"your-network\",\n \"wsec\" : \"ccmp\"\n }, {\n \"authType\" : \"wpa-psk\",\n \"autoWifi\" : false,\n \"bssType\" : \"infra\",\n \"channel\" : 0,\n \"defaultProfile\" : false,\n \"hiddenSsid\" : false,\n \"name\" : \"Profile-guest-wifi\",\n \"psk\" : \"WIFI_PASSWORD\",\n \"ssid\" : \"your-network\",\n \"wsec\" : \"ccmp\"\n } ],\n \"settings\" : {\n \"band\" : \"2.4GHz\",\n \"roaming\" : true,\n \"timeout\" : 5\n }\n },\n \"timeouts\" : {\n \"fromActiveToSleep\" : 30\n },\n \"hardware\" : {\n \"displayMaximumBackLight\" : 75,\n \"restartHour\" : 5\n },\n \"passcodes\" : {\n \"adminMenuPin\" : \"1234\",\n \"txMenuPin\" : \"1234\",\n \"refundPin\" : \"123456\",\n \"screenLockPin\" : \"1111\"\n },\n \"connectivity\" : {\n \"simcardStatus\" : \"INVENTORY\"\n }\n}", + "originalRequest": { + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"wifiProfiles\" : {\n \"profiles\" : [ {\n \"authType\" : \"wpa-eap\",\n \"autoWifi\" : false,\n \"bssType\" : \"infra\",\n \"channel\" : 0,\n \"defaultProfile\" : true,\n \"eap\" : \"peap\",\n \"eapCaCert\" : {\n \"data\" : \"MD1rKS05M2JqRVFNQ...RTtLH1tLWo=\",\n \"name\" : \"eap-peap-ca.pem\"\n },\n \"eapIdentity\" : \"admin\",\n \"eapIntermediateCert\" : {\n \"data\" : \"PD3tUS1CRDdJTiGDR...EFoLS0tLQg=\",\n \"name\" : \"eap-peap-client.pem\"\n },\n \"eapPwd\" : \"EAP_PEAP_PASSWORD\",\n \"hiddenSsid\" : false,\n \"name\" : \"Profile-eap-peap-1\",\n \"ssid\" : \"your-network\",\n \"wsec\" : \"ccmp\"\n }, {\n \"authType\" : \"wpa-psk\",\n \"autoWifi\" : false,\n \"bssType\" : \"infra\",\n \"channel\" : 0,\n \"defaultProfile\" : false,\n \"hiddenSsid\" : false,\n \"name\" : \"Profile-guest-wifi\",\n \"psk\" : \"WIFI_PASSWORD\",\n \"ssid\" : \"your-network\",\n \"wsec\" : \"ccmp\"\n } ],\n \"settings\" : {\n \"band\" : \"2.4GHz\",\n \"roaming\" : true,\n \"timeout\" : 5\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/terminals/:terminalId/terminalSettings", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "terminals", + ":terminalId", + "terminalSettings" + ], + "variable": [ + { + "key": "terminalId", + "value": "", + "description": "The unique identifier of the payment terminal." + } + ], + "query": [ + ] + }, + "description": "Updates the settings that are configured for the payment terminal identified in the path. * To change a parameter value, include the full object that contains the parameter, even if you don't want to change all parameters in the object. * To restore a parameter value inherited from a higher level, include the full object that contains the parameter, and specify an empty value for the parameter or omit the parameter. * Objects that are not included in the request are not updated. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal settings read and write For [sensitive terminal settings](https://docs.adyen.com/point-of-sale/automating-terminal-management/configure-terminals-api#sensitive-terminal-settings), your API credential must have the following role: * Management API—Terminal settings Advanced read and write" +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"wifiProfiles\" : {\n \"profiles\" : [ {\n \"authType\" : \"wpa-eap\",\n \"autoWifi\" : false,\n \"bssType\" : \"infra\",\n \"channel\" : 0,\n \"defaultProfile\" : true,\n \"eap\" : \"peap\",\n \"eapCaCert\" : {\n \"data\" : \"MD1rKS05M2JqRVFNQ...RTtLH1tLWo=\",\n \"name\" : \"eap-peap-ca.pem\"\n },\n \"eapIdentity\" : \"admin\",\n \"eapIntermediateCert\" : {\n \"data\" : \"PD3tUS1CRDdJTiGDR...EFoLS0tLQg=\",\n \"name\" : \"eap-peap-client.pem\"\n },\n \"eapPwd\" : \"EAP_PEAP_PASSWORD\",\n \"hiddenSsid\" : false,\n \"name\" : \"Profile-eap-peap-1\",\n \"ssid\" : \"your-network\",\n \"wsec\" : \"ccmp\"\n }, {\n \"authType\" : \"wpa-psk\",\n \"autoWifi\" : false,\n \"bssType\" : \"infra\",\n \"channel\" : 0,\n \"defaultProfile\" : false,\n \"hiddenSsid\" : false,\n \"name\" : \"Profile-guest-wifi\",\n \"psk\" : \"WIFI_PASSWORD\",\n \"ssid\" : \"your-network\",\n \"wsec\" : \"ccmp\"\n } ],\n \"settings\" : {\n \"band\" : \"2.4GHz\",\n \"roaming\" : true,\n \"timeout\" : 5\n }\n }\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/terminals/:terminalId/terminalSettings", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "terminals", - ":terminalId", - "terminalSettings" - ], - "variable": [ - { - "key": "terminalId", - "value": "", - "description": "The unique identifier of the payment terminal." - } - ], - "query": [ - ] - }, - "description": "Updates the settings that are configured for the payment terminal identified in the path. * To change a parameter value, include the full object that contains the parameter, even if you don't want to change all parameters in the object. * To restore a parameter value inherited from a higher level, include the full object that contains the parameter, and specify an empty value for the parameter or omit the parameter. * Objects that are not included in the request are not updated. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal settings read and write For [sensitive terminal settings](https://docs.adyen.com/point-of-sale/automating-terminal-management/configure-terminals-api#sensitive-terminal-settings), your API credential must have the following role: * Management API—Terminal settings Advanced read and write" - } + ] }, { "name": "Add EAP-TLS Wi-Fi profile", "request": { - "method": "PATCH", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"wifiProfiles\" : {\n \"profiles\" : [ {\n \"authType\" : \"wpa-eap\",\n \"autoWifi\" : false,\n \"bssType\" : \"infra\",\n \"channel\" : 0,\n \"defaultProfile\" : true,\n \"eap\" : \"tls\",\n \"eapCaCert\" : {\n \"data\" : \"LS0tLS05M2JqRVFNQ...EUtLS0tLQo=\",\n \"name\" : \"eap-tls-ca.pem\"\n },\n \"eapClientCert\" : {\n \"data\" : \"LS0tLS1CRUdJTiBDR...EUtLS0tLQo=\",\n \"name\" : \"eap-tls-client.pem\"\n },\n \"eapClientKey\" : {\n \"data\" : \"AAAB3NzaC1...Rtah3KLFwPU=\",\n \"name\" : \"rsa-private.key\"\n },\n \"eapClientPwd\" : \"\",\n \"eapIdentity\" : \"admin\",\n \"hiddenSsid\" : false,\n \"name\" : \"Profile-eap-tls-1\",\n \"ssid\" : \"your-network\",\n \"wsec\" : \"ccmp\"\n } ],\n \"settings\" : {\n \"band\" : \"2.4GHz\",\n \"roaming\" : true,\n \"timeout\" : 5\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/terminals/:terminalId/terminalSettings", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "terminals", + ":terminalId", + "terminalSettings" + ], + "variable": [ + { + "key": "terminalId", + "value": "", + "description": "The unique identifier of the payment terminal." + } + ], + "query": [ + ] + }, + "description": "Updates the settings that are configured for the payment terminal identified in the path. * To change a parameter value, include the full object that contains the parameter, even if you don't want to change all parameters in the object. * To restore a parameter value inherited from a higher level, include the full object that contains the parameter, and specify an empty value for the parameter or omit the parameter. * Objects that are not included in the request are not updated. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal settings read and write For [sensitive terminal settings](https://docs.adyen.com/point-of-sale/automating-terminal-management/configure-terminals-api#sensitive-terminal-settings), your API credential must have the following role: * Management API—Terminal settings Advanced read and write" +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"cardholderReceipt\" : {\n \"headerForAuthorizedReceipt\" : \"header1,header2,filler\"\n },\n \"gratuities\" : [ {\n \"currency\" : \"EUR\",\n \"usePredefinedTipEntries\" : true,\n \"predefinedTipEntries\" : [ \"100\", \"1%\", \"5%\" ],\n \"allowCustomAmount\" : true\n } ],\n \"nexo\" : {\n \"displayUrls\" : {\n \"localUrls\" : [ {\n \"password\" : \"BASIC_AUTH_PASSWORD\",\n \"url\" : \"https://your-display-notifications-endpoint.com\",\n \"username\" : \"BASIC_AUTH_USERNAME\"\n } ]\n },\n \"encryptionKey\" : {\n \"identifier\" : \"KEY_IDENTIFIER\",\n \"passphrase\" : \"KEY_PASSPHRASE\",\n \"version\" : 1\n },\n \"eventUrls\" : {\n \"eventPublicUrls\" : [ {\n \"password\" : \"BASIC_AUTH_PASSWORD\",\n \"url\" : \"https://your-event-notifications-endpoint.com\",\n \"username\" : \"BASIC_AUTH_USERNAME\"\n } ]\n },\n \"notification\" : {\n \"showButton\" : true\n }\n },\n \"opi\" : {\n \"enablePayAtTable\" : true,\n \"payAtTableStoreNumber\" : \"1\",\n \"payAtTableURL\" : \"https:/your-pay-at-table-endpoint.com\"\n },\n \"offlineProcessing\" : {\n \"chipFloorLimit\" : 0\n },\n \"receiptOptions\" : {\n \"qrCodeData\" : \"http://www.example.com/order/${pspreference}/${merchantreference}\"\n },\n \"receiptPrinting\" : {\n \"shopperApproved\" : true,\n \"shopperRefused\" : true,\n \"shopperCancelled\" : true,\n \"shopperRefundApproved\" : true,\n \"shopperRefundRefused\" : true,\n \"shopperVoid\" : true\n },\n \"signature\" : {\n \"askSignatureOnScreen\" : true,\n \"skipSignature\" : false,\n \"deviceName\" : \"Amsterdam-236203386\"\n },\n \"wifiProfiles\" : {\n \"profiles\" : [ {\n \"authType\" : \"wpa-eap\",\n \"autoWifi\" : false,\n \"bssType\" : \"infra\",\n \"channel\" : 0,\n \"defaultProfile\" : true,\n \"eap\" : \"tls\",\n \"eapCaCert\" : {\n \"data\" : \"LS0tLS05M2JqRVFNQ...EUtLS0tLQo=\",\n \"name\" : \"eap-tls-ca.pem\"\n },\n \"eapClientCert\" : {\n \"data\" : \"LS0tLS1CRUdJTiBDR...EUtLS0tLQo=\",\n \"name\" : \"eap-tls-client.pem\"\n },\n \"eapClientKey\" : {\n \"data\" : \"AAAB3NzaC1...Rtah3KLFwPU=\",\n \"name\" : \"rsa-private.key\"\n },\n \"eapClientPwd\" : \"\",\n \"eapIdentity\" : \"admin\",\n \"hiddenSsid\" : false,\n \"name\" : \"Profile-eap-tls-1\",\n \"ssid\" : \"your-network\",\n \"wsec\" : \"ccmp\"\n } ],\n \"settings\" : {\n \"band\" : \"2.4GHz\",\n \"roaming\" : true,\n \"timeout\" : 5\n }\n },\n \"timeouts\" : {\n \"fromActiveToSleep\" : 30\n },\n \"hardware\" : {\n \"displayMaximumBackLight\" : 75,\n \"restartHour\" : 5\n },\n \"passcodes\" : {\n \"adminMenuPin\" : \"1234\",\n \"txMenuPin\" : \"1234\",\n \"refundPin\" : \"123456\",\n \"screenLockPin\" : \"1111\"\n },\n \"connectivity\" : {\n \"simcardStatus\" : \"INVENTORY\"\n }\n}", + "originalRequest": { + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"wifiProfiles\" : {\n \"profiles\" : [ {\n \"authType\" : \"wpa-eap\",\n \"autoWifi\" : false,\n \"bssType\" : \"infra\",\n \"channel\" : 0,\n \"defaultProfile\" : true,\n \"eap\" : \"tls\",\n \"eapCaCert\" : {\n \"data\" : \"LS0tLS05M2JqRVFNQ...EUtLS0tLQo=\",\n \"name\" : \"eap-tls-ca.pem\"\n },\n \"eapClientCert\" : {\n \"data\" : \"LS0tLS1CRUdJTiBDR...EUtLS0tLQo=\",\n \"name\" : \"eap-tls-client.pem\"\n },\n \"eapClientKey\" : {\n \"data\" : \"AAAB3NzaC1...Rtah3KLFwPU=\",\n \"name\" : \"rsa-private.key\"\n },\n \"eapClientPwd\" : \"\",\n \"eapIdentity\" : \"admin\",\n \"hiddenSsid\" : false,\n \"name\" : \"Profile-eap-tls-1\",\n \"ssid\" : \"your-network\",\n \"wsec\" : \"ccmp\"\n } ],\n \"settings\" : {\n \"band\" : \"2.4GHz\",\n \"roaming\" : true,\n \"timeout\" : 5\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/terminals/:terminalId/terminalSettings", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "terminals", + ":terminalId", + "terminalSettings" + ], + "variable": [ + { + "key": "terminalId", + "value": "", + "description": "The unique identifier of the payment terminal." + } + ], + "query": [ + ] + }, + "description": "Updates the settings that are configured for the payment terminal identified in the path. * To change a parameter value, include the full object that contains the parameter, even if you don't want to change all parameters in the object. * To restore a parameter value inherited from a higher level, include the full object that contains the parameter, and specify an empty value for the parameter or omit the parameter. * Objects that are not included in the request are not updated. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal settings read and write For [sensitive terminal settings](https://docs.adyen.com/point-of-sale/automating-terminal-management/configure-terminals-api#sensitive-terminal-settings), your API credential must have the following role: * Management API—Terminal settings Advanced read and write" +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"wifiProfiles\" : {\n \"profiles\" : [ {\n \"authType\" : \"wpa-eap\",\n \"autoWifi\" : false,\n \"bssType\" : \"infra\",\n \"channel\" : 0,\n \"defaultProfile\" : true,\n \"eap\" : \"tls\",\n \"eapCaCert\" : {\n \"data\" : \"LS0tLS05M2JqRVFNQ...EUtLS0tLQo=\",\n \"name\" : \"eap-tls-ca.pem\"\n },\n \"eapClientCert\" : {\n \"data\" : \"LS0tLS1CRUdJTiBDR...EUtLS0tLQo=\",\n \"name\" : \"eap-tls-client.pem\"\n },\n \"eapClientKey\" : {\n \"data\" : \"AAAB3NzaC1...Rtah3KLFwPU=\",\n \"name\" : \"rsa-private.key\"\n },\n \"eapClientPwd\" : \"\",\n \"eapIdentity\" : \"admin\",\n \"hiddenSsid\" : false,\n \"name\" : \"Profile-eap-tls-1\",\n \"ssid\" : \"your-network\",\n \"wsec\" : \"ccmp\"\n } ],\n \"settings\" : {\n \"band\" : \"2.4GHz\",\n \"roaming\" : true,\n \"timeout\" : 5\n }\n }\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/terminals/:terminalId/terminalSettings", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "terminals", - ":terminalId", - "terminalSettings" - ], - "variable": [ - { - "key": "terminalId", - "value": "", - "description": "The unique identifier of the payment terminal." - } - ], - "query": [ - ] - }, - "description": "Updates the settings that are configured for the payment terminal identified in the path. * To change a parameter value, include the full object that contains the parameter, even if you don't want to change all parameters in the object. * To restore a parameter value inherited from a higher level, include the full object that contains the parameter, and specify an empty value for the parameter or omit the parameter. * Objects that are not included in the request are not updated. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal settings read and write For [sensitive terminal settings](https://docs.adyen.com/point-of-sale/automating-terminal-management/configure-terminals-api#sensitive-terminal-settings), your API credential must have the following role: * Management API—Terminal settings Advanced read and write" - } + ] } ] } - ] }, { @@ -1955,50 +2889,51 @@ { "name": "Get a list of payout settings", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/merchants/:merchantId/payoutSettings", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "merchants", - ":merchantId", - "payoutSettings" - ], - "variable": [ - { - "key": "merchantId", - "value": "{{YOUR_MERCHANT_ACCOUNT}}", - "description": "The unique identifier of the merchant account." - } - ], - "query": [ - ] - }, - "description": "Returns the list of payout settings for the merchant account identified in the path. Use this endpoint if your integration requires it, such as Adyen for Platforms Manage. Your Adyen contact will set up your access. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Payout account settings read" - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/merchants/:merchantId/payoutSettings", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "merchants", + ":merchantId", + "payoutSettings" + ], + "variable": [ + { + "key": "merchantId", + "value": "{{YOUR_MERCHANT_ACCOUNT}}", + "description": "The unique identifier of the merchant account." + } + ], + "query": [ + ] + }, + "description": "Returns the list of payout settings for the merchant account identified in the path. Use this endpoint if your integration requires it, such as Adyen for Platforms Manage. Your Adyen contact will set up your access. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Payout account settings read" +} + ,"response": [ + ] } ] - } -, + }, { "name": "/merchants/:merchantId/payoutSettings", "description": "Sends a request to add a payout setting for the merchant account specified in the path. A payout setting links the merchant account to the [transfer instrument](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/transferInstruments) that contains the details of the payout bank account. Adyen verifies the bank account before allowing and enabling the payout setting. If you're accepting payments in multiple currencies, you may add multiple payout settings for the merchant account. Use this endpoint if your integration requires it, such as Adyen for Platforms Manage. Your Adyen contact will set up your access. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Payout account settings read and write", @@ -2006,56 +2941,57 @@ { "name": "Add a payout setting", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"enabled\": \"\",\n \"enabledFromDate\": \"\",\n \"transferInstrumentId\": \"\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/merchants/:merchantId/payoutSettings", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "merchants", - ":merchantId", - "payoutSettings" - ], - "variable": [ - { - "key": "merchantId", - "value": "{{YOUR_MERCHANT_ACCOUNT}}", - "description": "The unique identifier of the merchant account." - } - ], - "query": [ - ] - }, - "description": "Sends a request to add a payout setting for the merchant account specified in the path. A payout setting links the merchant account to the [transfer instrument](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/transferInstruments) that contains the details of the payout bank account. Adyen verifies the bank account before allowing and enabling the payout setting. If you're accepting payments in multiple currencies, you may add multiple payout settings for the merchant account. Use this endpoint if your integration requires it, such as Adyen for Platforms Manage. Your Adyen contact will set up your access. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Payout account settings read and write" - } + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"enabled\": \"\",\n \"enabledFromDate\": \"\",\n \"transferInstrumentId\": \"\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/merchants/:merchantId/payoutSettings", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "merchants", + ":merchantId", + "payoutSettings" + ], + "variable": [ + { + "key": "merchantId", + "value": "{{YOUR_MERCHANT_ACCOUNT}}", + "description": "The unique identifier of the merchant account." + } + ], + "query": [ + ] + }, + "description": "Sends a request to add a payout setting for the merchant account specified in the path. A payout setting links the merchant account to the [transfer instrument](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/transferInstruments) that contains the details of the payout bank account. Adyen verifies the bank account before allowing and enabling the payout setting. If you're accepting payments in multiple currencies, you may add multiple payout settings for the merchant account. Use this endpoint if your integration requires it, such as Adyen for Platforms Manage. Your Adyen contact will set up your access. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Payout account settings read and write" +} + ,"response": [ + ] } ] - } -, + }, { "name": "/merchants/:merchantId/payoutSettings/:payoutSettingsId", "description": "Deletes the payout setting identified in the path. Use this endpoint if your integration requires it, such as Adyen for Platforms Manage. Your Adyen contact will set up your access. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Payout account settings read and write", @@ -2063,56 +2999,57 @@ { "name": "Delete a payout setting", "request": { - "method": "DELETE", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/merchants/:merchantId/payoutSettings/:payoutSettingsId", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "merchants", - ":merchantId", - "payoutSettings", - ":payoutSettingsId" - ], - "variable": [ - { - "key": "merchantId", - "value": "{{YOUR_MERCHANT_ACCOUNT}}", - "description": "The unique identifier of the merchant account." - }, - { - "key": "payoutSettingsId", - "value": "", - "description": "The unique identifier of the payout setting." - } - ], - "query": [ - ] - }, - "description": "Deletes the payout setting identified in the path. Use this endpoint if your integration requires it, such as Adyen for Platforms Manage. Your Adyen contact will set up your access. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Payout account settings read and write" - } + "method": "DELETE", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/merchants/:merchantId/payoutSettings/:payoutSettingsId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "merchants", + ":merchantId", + "payoutSettings", + ":payoutSettingsId" + ], + "variable": [ + { + "key": "merchantId", + "value": "{{YOUR_MERCHANT_ACCOUNT}}", + "description": "The unique identifier of the merchant account." + }, + { + "key": "payoutSettingsId", + "value": "", + "description": "The unique identifier of the payout setting." + } + ], + "query": [ + ] + }, + "description": "Deletes the payout setting identified in the path. Use this endpoint if your integration requires it, such as Adyen for Platforms Manage. Your Adyen contact will set up your access. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Payout account settings read and write" +} + ,"response": [ + ] } ] - } -, + }, { "name": "/merchants/:merchantId/payoutSettings/:payoutSettingsId", "description": "Returns the payout setting identified in the path. Use this endpoint if your integration requires it, such as Adyen for Platforms Manage. Your Adyen contact will set up your access. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Payout account settings read", @@ -2120,56 +3057,57 @@ { "name": "Get a payout setting", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/merchants/:merchantId/payoutSettings/:payoutSettingsId", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "merchants", - ":merchantId", - "payoutSettings", - ":payoutSettingsId" - ], - "variable": [ - { - "key": "merchantId", - "value": "{{YOUR_MERCHANT_ACCOUNT}}", - "description": "The unique identifier of the merchant account." - }, - { - "key": "payoutSettingsId", - "value": "", - "description": "The unique identifier of the payout setting." - } - ], - "query": [ - ] - }, - "description": "Returns the payout setting identified in the path. Use this endpoint if your integration requires it, such as Adyen for Platforms Manage. Your Adyen contact will set up your access. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Payout account settings read" - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/merchants/:merchantId/payoutSettings/:payoutSettingsId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "merchants", + ":merchantId", + "payoutSettings", + ":payoutSettingsId" + ], + "variable": [ + { + "key": "merchantId", + "value": "{{YOUR_MERCHANT_ACCOUNT}}", + "description": "The unique identifier of the merchant account." + }, + { + "key": "payoutSettingsId", + "value": "", + "description": "The unique identifier of the payout setting." + } + ], + "query": [ + ] + }, + "description": "Returns the payout setting identified in the path. Use this endpoint if your integration requires it, such as Adyen for Platforms Manage. Your Adyen contact will set up your access. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Payout account settings read" +} + ,"response": [ + ] } ] - } -, + }, { "name": "/merchants/:merchantId/payoutSettings/:payoutSettingsId", "description": "Updates the payout setting identified in the path. You can enable or disable the payout setting. Use this endpoint if your integration requires it, such as Adyen for Platforms Manage. Your Adyen contact will set up your access. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Payout account settings read and write", @@ -2177,62 +3115,63 @@ { "name": "Update a payout setting", "request": { - "method": "PATCH", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"enabled\": \"\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/merchants/:merchantId/payoutSettings/:payoutSettingsId", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "merchants", - ":merchantId", - "payoutSettings", - ":payoutSettingsId" - ], - "variable": [ - { - "key": "merchantId", - "value": "{{YOUR_MERCHANT_ACCOUNT}}", - "description": "The unique identifier of the merchant account." - }, - { - "key": "payoutSettingsId", - "value": "", - "description": "The unique identifier of the payout setting." - } - ], - "query": [ - ] - }, - "description": "Updates the payout setting identified in the path. You can enable or disable the payout setting. Use this endpoint if your integration requires it, such as Adyen for Platforms Manage. Your Adyen contact will set up your access. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Payout account settings read and write" - } + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"enabled\": \"\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/merchants/:merchantId/payoutSettings/:payoutSettingsId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "merchants", + ":merchantId", + "payoutSettings", + ":payoutSettingsId" + ], + "variable": [ + { + "key": "merchantId", + "value": "{{YOUR_MERCHANT_ACCOUNT}}", + "description": "The unique identifier of the merchant account." + }, + { + "key": "payoutSettingsId", + "value": "", + "description": "The unique identifier of the payout setting." + } + ], + "query": [ + ] + }, + "description": "Updates the payout setting identified in the path. You can enable or disable the payout setting. Use this endpoint if your integration requires it, such as Adyen for Platforms Manage. Your Adyen contact will set up your access. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Payout account settings read and write" +} + ,"response": [ + ] } ] } - ] }, { @@ -2245,62 +3184,63 @@ { "name": "List all webhooks", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/merchants/:merchantId/webhooks", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "merchants", - ":merchantId", - "webhooks" - ], - "variable": [ - { - "key": "merchantId", - "value": "{{YOUR_MERCHANT_ACCOUNT}}", - "description": "The unique identifier of the merchant account." - } - ], - "query": [ - { - "key": "pageNumber", - "value": "56", - "description": "The number of the page to fetch.", - "disabled": true - }, - { - "key": "pageSize", - "value": "56", - "description": "The number of items to have on a page, maximum 100. The default is 10 items on a page.", - "disabled": true - } - ] - }, - "description": "Lists all webhook configurations for the merchant account. To make this request, your API credential must have one of the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Webhooks read * Management API—Webhooks read and write" - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/merchants/:merchantId/webhooks", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "merchants", + ":merchantId", + "webhooks" + ], + "variable": [ + { + "key": "merchantId", + "value": "{{YOUR_MERCHANT_ACCOUNT}}", + "description": "The unique identifier of the merchant account." + } + ], + "query": [ + { + "key": "pageNumber", + "value": "56", + "description": "The number of the page to fetch.", + "disabled": true + }, + { + "key": "pageSize", + "value": "56", + "description": "The number of items to have on a page, maximum 100. The default is 10 items on a page.", + "disabled": true + } + ] + }, + "description": "Lists all webhook configurations for the merchant account. To make this request, your API credential must have one of the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Webhooks read * Management API—Webhooks read and write" +} + ,"response": [ + ] } ] - } -, + }, { "name": "/merchants/:merchantId/webhooks", "description": "Subscribe to receive webhook notifications about events related to your merchant account. You can add basic authentication to make sure the data is secure. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Webhooks read and write", @@ -2308,56 +3248,115 @@ { "name": "Add a webhook configuration", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"type\" : \"standard\",\n \"url\" : \"YOUR_WEBHOOK_URL\",\n \"username\" : \"YOUR_USER\",\n \"password\" : \"YOUR_PASSWORD\",\n \"active\" : true,\n \"sslVersion\" : \"TLSv1.2\",\n \"communicationFormat\" : \"json\",\n \"acceptsExpiredCertificate\" : false,\n \"acceptsSelfSignedCertificate\" : true,\n \"acceptsUntrustedRootCertificate\" : true,\n \"populateSoapActionHeader\" : false\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/merchants/:merchantId/webhooks", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "merchants", + ":merchantId", + "webhooks" + ], + "variable": [ + { + "key": "merchantId", + "value": "{{YOUR_MERCHANT_ACCOUNT}}", + "description": "The unique identifier of the merchant account." + } + ], + "query": [ + ] + }, + "description": "Subscribe to receive webhook notifications about events related to your merchant account. You can add basic authentication to make sure the data is secure. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Webhooks read and write" +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"id\" : \"S2-31433949437F\",\n \"type\" : \"standard\",\n \"url\" : \"YOUR_WEBHOOK_URL\",\n \"description\" : \"Webhook for YOUR_MERCHANT_ACCOUNT - YOUR_MERCHANT_CODE\",\n \"username\" : \"myuser\",\n \"hasPassword\" : true,\n \"active\" : true,\n \"hasError\" : false,\n \"sslVersion\" : \"TLSv1.2\",\n \"communicationFormat\" : \"json\",\n \"acceptsExpiredCertificate\" : false,\n \"acceptsSelfSignedCertificate\" : true,\n \"acceptsUntrustedRootCertificate\" : true,\n \"certificateAlias\" : \"signed-test.adyen.com_2023\",\n \"populateSoapActionHeader\" : false,\n \"additionalSettings\" : {\n \"properties\" : {\n \"includePosTerminalInfo\" : false,\n \"includeARN\" : false,\n \"includePosDetails\" : false,\n \"includeCardInfoForRecurringContractNotification\" : false,\n \"includeRiskData\" : false,\n \"includeRiskExperimentReference\" : false,\n \"includeSoapSecurityHeader\" : false,\n \"includeContactlessWalletTokenInformation\" : false,\n \"includeAcquirerReference\" : false,\n \"includeRiskProfileReference\" : false,\n \"includeOriginalMerchantReferenceCancelOrRefundNotification\" : false,\n \"includeNfcTokenInformation\" : false,\n \"includeSubvariant\" : false,\n \"includeThreeDSVersion\" : false,\n \"includeInstallmentsInfo\" : false,\n \"includeAliasInfo\" : false,\n \"includeShopperCountry\" : false,\n \"includeRawThreeDSecureResult\" : false,\n \"includeAirlineData\" : false,\n \"includeGrossCurrencyChargebackDetails\" : false,\n \"includeThreeDSecureResult\" : false,\n \"includeMetadataIn3DSecurePaymentNotification\" : false,\n \"includeOriginalReferenceForChargebackReversed\" : false,\n \"addAcquirerResult\" : false,\n \"includeDeliveryAddress\" : false,\n \"includeRetryAttempts\" : false,\n \"includeExtraCosts\" : false,\n \"includeCardHolderName\" : false,\n \"includeShopperDetail\" : false,\n \"includeBankAccountDetails\" : false,\n \"includeMandateDetails\" : false,\n \"includeAuthAmountForDynamicZeroAuth\" : false,\n \"includeIssuerCountry\" : false,\n \"includeAcquirerErrorDetails\" : false,\n \"includeCoBrandedWith\" : false,\n \"includeShopperInteraction\" : false,\n \"includeDeviceAndBrowserInfo\" : false,\n \"addRawAcquirerResult\" : false,\n \"includeCardBin\" : false,\n \"includeFundingSource\" : false,\n \"includeThreeDS2ChallengeInformation\" : false,\n \"includeRiskProfile\" : false,\n \"includeRealtimeAccountUpdaterStatus\" : false,\n \"includeDunningProjectData\" : false,\n \"includePaymentResultInOrderClosedNotification\" : false,\n \"includeCardBinDetails\" : false,\n \"includeNotesInManualReviewNotifications\" : false,\n \"includeZeroAuthFlag\" : false,\n \"addCaptureReferenceToDisputeNotification\" : false,\n \"includePayPalDetails\" : false,\n \"includeRawThreeDSecureDetailsResult\" : false,\n \"includeBankVerificationResults\" : false,\n \"includeCaptureDelayHours\" : false,\n \"addPaymentAccountReference\" : false,\n \"includePayULatamDetails\" : false,\n \"includeStore\" : false,\n \"returnAvsData\" : false,\n \"includeWeChatPayOpenid\" : false,\n \"includeUpiVpa\" : false,\n \"includeCustomRoutingFlagging\" : false,\n \"includeTokenisedPaymentMetaData\" : false\n }\n },\n \"_links\" : {\n \"self\" : {\n \"href\" : \"https://management-test.adyen.com/v1/merchants/YOUR_MERCHANT_ACCOUNT/webhooks/S2-31433949437F\"\n },\n \"generateHmac\" : {\n \"href\" : \"https://management-test.adyen.com/v1/merchants/YOUR_MERCHANT_ACCOUNT/webhooks/S2-31433949437F/generateHmac\"\n },\n \"merchant\" : {\n \"href\" : \"https://management-test.adyen.com/v1/merchants/YOUR_MERCHANT_ACCOUNT\"\n },\n \"testWebhook\" : {\n \"href\" : \"https://management-test.adyen.com/v1/merchants/YOUR_MERCHANT_ACCOUNT/webhooks/S2-31433949437F/test\"\n }\n }\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"type\" : \"standard\",\n \"url\" : \"YOUR_WEBHOOK_URL\",\n \"username\" : \"YOUR_USER\",\n \"password\" : \"YOUR_PASSWORD\",\n \"active\" : true,\n \"sslVersion\" : \"TLSv1.2\",\n \"communicationFormat\" : \"json\",\n \"acceptsExpiredCertificate\" : false,\n \"acceptsSelfSignedCertificate\" : true,\n \"acceptsUntrustedRootCertificate\" : true,\n \"populateSoapActionHeader\" : false\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/merchants/:merchantId/webhooks", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "merchants", + ":merchantId", + "webhooks" + ], + "variable": [ + { + "key": "merchantId", + "value": "{{YOUR_MERCHANT_ACCOUNT}}", + "description": "The unique identifier of the merchant account." + } + ], + "query": [ + ] + }, + "description": "Subscribe to receive webhook notifications about events related to your merchant account. You can add basic authentication to make sure the data is secure. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Webhooks read and write" +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"type\" : \"standard\",\n \"url\" : \"YOUR_WEBHOOK_URL\",\n \"username\" : \"YOUR_USER\",\n \"password\" : \"YOUR_PASSWORD\",\n \"active\" : true,\n \"sslVersion\" : \"TLSv1.2\",\n \"communicationFormat\" : \"json\",\n \"acceptsExpiredCertificate\" : false,\n \"acceptsSelfSignedCertificate\" : true,\n \"acceptsUntrustedRootCertificate\" : true,\n \"populateSoapActionHeader\" : false\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/merchants/:merchantId/webhooks", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "merchants", - ":merchantId", - "webhooks" - ], - "variable": [ - { - "key": "merchantId", - "value": "{{YOUR_MERCHANT_ACCOUNT}}", - "description": "The unique identifier of the merchant account." - } - ], - "query": [ - ] - }, - "description": "Subscribe to receive webhook notifications about events related to your merchant account. You can add basic authentication to make sure the data is secure. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Webhooks read and write" - } + ] } ] - } -, + }, { "name": "/merchants/:merchantId/webhooks/:webhookId", "description": "Remove the configuration for the webhook identified in the path. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Webhooks read and write", @@ -2365,56 +3364,57 @@ { "name": "Remove a webhook", "request": { - "method": "DELETE", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/merchants/:merchantId/webhooks/:webhookId", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "merchants", - ":merchantId", - "webhooks", - ":webhookId" - ], - "variable": [ - { - "key": "merchantId", - "value": "{{YOUR_MERCHANT_ACCOUNT}}", - "description": "The unique identifier of the merchant account." - }, - { - "key": "webhookId", - "value": "", - "description": "Unique identifier of the webhook configuration." - } - ], - "query": [ - ] - }, - "description": "Remove the configuration for the webhook identified in the path. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Webhooks read and write" - } + "method": "DELETE", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/merchants/:merchantId/webhooks/:webhookId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "merchants", + ":merchantId", + "webhooks", + ":webhookId" + ], + "variable": [ + { + "key": "merchantId", + "value": "{{YOUR_MERCHANT_ACCOUNT}}", + "description": "The unique identifier of the merchant account." + }, + { + "key": "webhookId", + "value": "", + "description": "Unique identifier of the webhook configuration." + } + ], + "query": [ + ] + }, + "description": "Remove the configuration for the webhook identified in the path. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Webhooks read and write" +} + ,"response": [ + ] } ] - } -, + }, { "name": "/merchants/:merchantId/webhooks/:webhookId", "description": "Returns the configuration for the webhook identified in the path. To make this request, your API credential must have one of the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Webhooks read * Management API—Webhooks read and write", @@ -2422,56 +3422,57 @@ { "name": "Get a webhook", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/merchants/:merchantId/webhooks/:webhookId", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "merchants", - ":merchantId", - "webhooks", - ":webhookId" - ], - "variable": [ - { - "key": "merchantId", - "value": "{{YOUR_MERCHANT_ACCOUNT}}", - "description": "The unique identifier of the merchant account." - }, - { - "key": "webhookId", - "value": "", - "description": "Unique identifier of the webhook configuration." - } - ], - "query": [ - ] - }, - "description": "Returns the configuration for the webhook identified in the path. To make this request, your API credential must have one of the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Webhooks read * Management API—Webhooks read and write" - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/merchants/:merchantId/webhooks/:webhookId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "merchants", + ":merchantId", + "webhooks", + ":webhookId" + ], + "variable": [ + { + "key": "merchantId", + "value": "{{YOUR_MERCHANT_ACCOUNT}}", + "description": "The unique identifier of the merchant account." + }, + { + "key": "webhookId", + "value": "", + "description": "Unique identifier of the webhook configuration." + } + ], + "query": [ + ] + }, + "description": "Returns the configuration for the webhook identified in the path. To make this request, your API credential must have one of the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Webhooks read * Management API—Webhooks read and write" +} + ,"response": [ + ] } ] - } -, + }, { "name": "/merchants/:merchantId/webhooks/:webhookId", "description": "Make changes to the configuration of the webhook identified in the path. The request contains the new values you want to have in the webhook configuration. The response contains the full configuration for the webhook, which includes the new values from the request. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Webhooks read and write", @@ -2479,62 +3480,127 @@ { "name": "Activate the webhook", "request": { - "method": "PATCH", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"active\" : true\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/merchants/:merchantId/webhooks/:webhookId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "merchants", + ":merchantId", + "webhooks", + ":webhookId" + ], + "variable": [ + { + "key": "merchantId", + "value": "{{YOUR_MERCHANT_ACCOUNT}}", + "description": "The unique identifier of the merchant account." + }, + { + "key": "webhookId", + "value": "", + "description": "Unique identifier of the webhook configuration." + } + ], + "query": [ + ] + }, + "description": "Make changes to the configuration of the webhook identified in the path. The request contains the new values you want to have in the webhook configuration. The response contains the full configuration for the webhook, which includes the new values from the request. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Webhooks read and write" +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"id\" : \"S2-3E5E42476641\",\n \"type\" : \"standard\",\n \"url\" : \"YOUR_WEBHOOK_URL\",\n \"description\" : \"Webhook for YOUR_MERCHANT_ACCOUNT - YOUR_MERCHANT_CODE\",\n \"username\" : \"\",\n \"hasPassword\" : false,\n \"active\" : true,\n \"hasError\" : false,\n \"sslVersion\" : \"TLSv1.2\",\n \"communicationFormat\" : \"json\",\n \"acceptsExpiredCertificate\" : false,\n \"acceptsSelfSignedCertificate\" : false,\n \"acceptsUntrustedRootCertificate\" : false,\n \"populateSoapActionHeader\" : false,\n \"additionalSettings\" : {\n \"properties\" : {\n \"includePosTerminalInfo\" : false,\n \"includeARN\" : false,\n \"includePosDetails\" : false,\n \"includeCardInfoForRecurringContractNotification\" : false,\n \"includeRiskData\" : false,\n \"includeRiskExperimentReference\" : false,\n \"includeSoapSecurityHeader\" : false,\n \"includeContactlessWalletTokenInformation\" : false,\n \"includeAcquirerReference\" : false,\n \"includeRiskProfileReference\" : false,\n \"includeOriginalMerchantReferenceCancelOrRefundNotification\" : false,\n \"includeNfcTokenInformation\" : false,\n \"includeSubvariant\" : false,\n \"includeThreeDSVersion\" : false,\n \"includeInstallmentsInfo\" : false,\n \"includeAliasInfo\" : false,\n \"includeShopperCountry\" : false,\n \"includeRawThreeDSecureResult\" : false,\n \"includeAirlineData\" : false,\n \"includeGrossCurrencyChargebackDetails\" : false,\n \"includeThreeDSecureResult\" : false,\n \"includeMetadataIn3DSecurePaymentNotification\" : false,\n \"includeOriginalReferenceForChargebackReversed\" : false,\n \"addAcquirerResult\" : false,\n \"includeDeliveryAddress\" : false,\n \"includeRetryAttempts\" : false,\n \"includeExtraCosts\" : false,\n \"includeCardHolderName\" : false,\n \"includeShopperDetail\" : false,\n \"includeBankAccountDetails\" : false,\n \"includeMandateDetails\" : false,\n \"includeAuthAmountForDynamicZeroAuth\" : false,\n \"includeIssuerCountry\" : false,\n \"includeAcquirerErrorDetails\" : false,\n \"includeCoBrandedWith\" : false,\n \"includeShopperInteraction\" : false,\n \"includeDeviceAndBrowserInfo\" : false,\n \"addRawAcquirerResult\" : false,\n \"includeCardBin\" : false,\n \"includeFundingSource\" : false,\n \"includeThreeDS2ChallengeInformation\" : false,\n \"includeRiskProfile\" : false,\n \"includeRealtimeAccountUpdaterStatus\" : false,\n \"includeDunningProjectData\" : false,\n \"includePaymentResultInOrderClosedNotification\" : false,\n \"includeCardBinDetails\" : false,\n \"includeNotesInManualReviewNotifications\" : false,\n \"includeZeroAuthFlag\" : false,\n \"addCaptureReferenceToDisputeNotification\" : false,\n \"includePayPalDetails\" : false,\n \"includeRawThreeDSecureDetailsResult\" : false,\n \"includeBankVerificationResults\" : false,\n \"includeCaptureDelayHours\" : false,\n \"addPaymentAccountReference\" : false,\n \"includePayULatamDetails\" : false,\n \"includeStore\" : false,\n \"returnAvsData\" : false,\n \"includeWeChatPayOpenid\" : false,\n \"includeUpiVpa\" : false,\n \"includeCustomRoutingFlagging\" : false,\n \"includeTokenisedPaymentMetaData\" : false\n }\n },\n \"_links\" : {\n \"self\" : {\n \"href\" : \"https://management-test.adyen.com/v1/merchants/YOUR_MERCHANT_ACCOUNT/webhooks/S2-3E5E42476641\"\n },\n \"generateHmac\" : {\n \"href\" : \"https://management-test.adyen.com/v1/merchants/YOUR_MERCHANT_ACCOUNT/webhooks/S2-3E5E42476641/generateHmac\"\n },\n \"merchant\" : {\n \"href\" : \"https://management-test.adyen.com/v1/merchants/YOUR_MERCHANT_ACCOUNT\"\n },\n \"testWebhook\" : {\n \"href\" : \"https://management-test.adyen.com/v1/merchants/YOUR_MERCHANT_ACCOUNT/webhooks/S2-3E5E42476641/test\"\n }\n }\n}", + "originalRequest": { + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"active\" : true\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/merchants/:merchantId/webhooks/:webhookId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "merchants", + ":merchantId", + "webhooks", + ":webhookId" + ], + "variable": [ + { + "key": "merchantId", + "value": "{{YOUR_MERCHANT_ACCOUNT}}", + "description": "The unique identifier of the merchant account." + }, + { + "key": "webhookId", + "value": "", + "description": "Unique identifier of the webhook configuration." + } + ], + "query": [ + ] + }, + "description": "Make changes to the configuration of the webhook identified in the path. The request contains the new values you want to have in the webhook configuration. The response contains the full configuration for the webhook, which includes the new values from the request. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Webhooks read and write" +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"active\" : true\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/merchants/:merchantId/webhooks/:webhookId", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "merchants", - ":merchantId", - "webhooks", - ":webhookId" - ], - "variable": [ - { - "key": "merchantId", - "value": "{{YOUR_MERCHANT_ACCOUNT}}", - "description": "The unique identifier of the merchant account." - }, - { - "key": "webhookId", - "value": "", - "description": "Unique identifier of the webhook configuration." - } - ], - "query": [ - ] - }, - "description": "Make changes to the configuration of the webhook identified in the path. The request contains the new values you want to have in the webhook configuration. The response contains the full configuration for the webhook, which includes the new values from the request. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Webhooks read and write" - } + ] } ] - } -, + }, { "name": "/merchants/:merchantId/webhooks/:webhookId/generateHmac", "description": "Returns an [HMAC key](https://en.wikipedia.org/wiki/HMAC) for the webhook identified in the path. This key allows you to check the integrity and the origin of the notifications you receive.By creating an HMAC key, you start receiving [HMAC-signed notifications](https://docs.adyen.com/development-resources/webhooks/verify-hmac-signatures#enable-hmac-signatures) from Adyen. Find out more about how to [verify HMAC signatures](https://docs.adyen.com/development-resources/webhooks/verify-hmac-signatures). To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Webhooks read and write", @@ -2542,57 +3608,58 @@ { "name": "Generate an HMAC key", "request": { - "method": "POST", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/merchants/:merchantId/webhooks/:webhookId/generateHmac", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "merchants", - ":merchantId", - "webhooks", - ":webhookId", - "generateHmac" - ], - "variable": [ - { - "key": "merchantId", - "value": "{{YOUR_MERCHANT_ACCOUNT}}", - "description": "The unique identifier of the merchant account." - }, - { - "key": "webhookId", - "value": "", - "description": "" - } - ], - "query": [ - ] - }, - "description": "Returns an [HMAC key](https://en.wikipedia.org/wiki/HMAC) for the webhook identified in the path. This key allows you to check the integrity and the origin of the notifications you receive.By creating an HMAC key, you start receiving [HMAC-signed notifications](https://docs.adyen.com/development-resources/webhooks/verify-hmac-signatures#enable-hmac-signatures) from Adyen. Find out more about how to [verify HMAC signatures](https://docs.adyen.com/development-resources/webhooks/verify-hmac-signatures). To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Webhooks read and write" - } + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/merchants/:merchantId/webhooks/:webhookId/generateHmac", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "merchants", + ":merchantId", + "webhooks", + ":webhookId", + "generateHmac" + ], + "variable": [ + { + "key": "merchantId", + "value": "{{YOUR_MERCHANT_ACCOUNT}}", + "description": "The unique identifier of the merchant account." + }, + { + "key": "webhookId", + "value": "", + "description": "" + } + ], + "query": [ + ] + }, + "description": "Returns an [HMAC key](https://en.wikipedia.org/wiki/HMAC) for the webhook identified in the path. This key allows you to check the integrity and the origin of the notifications you receive.By creating an HMAC key, you start receiving [HMAC-signed notifications](https://docs.adyen.com/development-resources/webhooks/verify-hmac-signatures#enable-hmac-signatures) from Adyen. Find out more about how to [verify HMAC signatures](https://docs.adyen.com/development-resources/webhooks/verify-hmac-signatures). To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Webhooks read and write" +} + ,"response": [ + ] } ] - } -, + }, { "name": "/merchants/:merchantId/webhooks/:webhookId/test", "description": "Sends sample notifications to test if the webhook is set up correctly. We send four test notifications for each event code you choose. They cover success and failure scenarios for the hard-coded currencies EUR and GBP, regardless of the currencies configured in the merchant accounts. For custom notifications, we only send the specified custom notification. The response describes the result of the test. The `status` field tells you if the test was successful or not. You can use the other fields to troubleshoot unsuccessful tests. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Webhooks read and write", @@ -2600,63 +3667,129 @@ { "name": "Test a webhook notification", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"notification\" : {\n \"paymentMethod\" : \"visa\",\n \"eventCode\" : \"AUTHORISATION\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"reason\" : \"Authorize visa payment\",\n \"success\" : true\n },\n \"types\" : [ \"CUSTOM\" ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/merchants/:merchantId/webhooks/:webhookId/test", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "merchants", + ":merchantId", + "webhooks", + ":webhookId", + "test" + ], + "variable": [ + { + "key": "merchantId", + "value": "{{YOUR_MERCHANT_ACCOUNT}}", + "description": "The unique identifier of the merchant account." + }, + { + "key": "webhookId", + "value": "", + "description": "Unique identifier of the webhook configuration." + } + ], + "query": [ + ] + }, + "description": "Sends sample notifications to test if the webhook is set up correctly. We send four test notifications for each event code you choose. They cover success and failure scenarios for the hard-coded currencies EUR and GBP, regardless of the currencies configured in the merchant accounts. For custom notifications, we only send the specified custom notification. The response describes the result of the test. The `status` field tells you if the test was successful or not. You can use the other fields to troubleshoot unsuccessful tests. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Webhooks read and write" +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"data\" : [ {\n \"merchantId\" : \"YOUR_MERCHANT_ACCOUNT\",\n \"output\" : \"\",\n \"requestSent\" : \"{\\"live\\":\\"false\\",\\"notificationItems\\":[{\\"NotificationRequestItem\\":{\\"amount\\":{\\"currency\\":\\"EUR\\",\\"value\\":100},\\"eventCode\\":\\"AUTHORISATION\\",\\"eventDate\\":\\"2022-05-10T17:02:03+02:00\\",\\"merchantAccountCode\\":\\"YOUR_MERCHANT_ACCOUNT\\",\\"merchantReference\\":\\"4TZLD23Y\\",\\"operations\\":[\\"CANCEL\\",\\"CAPTURE\\",\\"REFUND\\"],\\"paymentMethod\\":\\"visa\\",\\"pspReference\\":\\"E05WW50L6IOBRGA0\\",\\"reason\\":\\"\\",\\"success\\":\\"true\\"}}]}\",\n \"responseCode\" : \"200\",\n \"responseTime\" : \"532 ms\",\n \"status\" : \"success\"\n } ]\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"notification\" : {\n \"paymentMethod\" : \"visa\",\n \"eventCode\" : \"AUTHORISATION\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"reason\" : \"Authorize visa payment\",\n \"success\" : true\n },\n \"types\" : [ \"CUSTOM\" ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/merchants/:merchantId/webhooks/:webhookId/test", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "merchants", + ":merchantId", + "webhooks", + ":webhookId", + "test" + ], + "variable": [ + { + "key": "merchantId", + "value": "{{YOUR_MERCHANT_ACCOUNT}}", + "description": "The unique identifier of the merchant account." + }, + { + "key": "webhookId", + "value": "", + "description": "Unique identifier of the webhook configuration." + } + ], + "query": [ + ] + }, + "description": "Sends sample notifications to test if the webhook is set up correctly. We send four test notifications for each event code you choose. They cover success and failure scenarios for the hard-coded currencies EUR and GBP, regardless of the currencies configured in the merchant accounts. For custom notifications, we only send the specified custom notification. The response describes the result of the test. The `status` field tells you if the test was successful or not. You can use the other fields to troubleshoot unsuccessful tests. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Webhooks read and write" +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"notification\" : {\n \"paymentMethod\" : \"visa\",\n \"eventCode\" : \"AUTHORISATION\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"reason\" : \"Authorize visa payment\",\n \"success\" : true\n },\n \"types\" : [ \"CUSTOM\" ]\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/merchants/:merchantId/webhooks/:webhookId/test", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "merchants", - ":merchantId", - "webhooks", - ":webhookId", - "test" - ], - "variable": [ - { - "key": "merchantId", - "value": "{{YOUR_MERCHANT_ACCOUNT}}", - "description": "The unique identifier of the merchant account." - }, - { - "key": "webhookId", - "value": "", - "description": "Unique identifier of the webhook configuration." - } - ], - "query": [ - ] - }, - "description": "Sends sample notifications to test if the webhook is set up correctly. We send four test notifications for each event code you choose. They cover success and failure scenarios for the hard-coded currencies EUR and GBP, regardless of the currencies configured in the merchant accounts. For custom notifications, we only send the specified custom notification. The response describes the result of the test. The `status` field tells you if the test was successful or not. You can use the other fields to troubleshoot unsuccessful tests. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Webhooks read and write" - } + ] } ] } - ] }, { @@ -2669,57 +3802,58 @@ { "name": "Generate new client key", "request": { - "method": "POST", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/merchants/:merchantId/apiCredentials/:apiCredentialId/generateClientKey", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "merchants", - ":merchantId", - "apiCredentials", - ":apiCredentialId", - "generateClientKey" - ], - "variable": [ - { - "key": "merchantId", - "value": "{{YOUR_MERCHANT_ACCOUNT}}", - "description": "The unique identifier of the merchant account." - }, - { - "key": "apiCredentialId", - "value": "", - "description": "Unique identifier of the API credential." - } - ], - "query": [ - ] - }, - "description": "Returns a new [client key](https://docs.adyen.com/development-resources/client-side-authentication#how-it-works) for the API credential identified in the path. You can use the new client key a few minutes after generating it. The old client key stops working 24 hours after generating a new one. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—API credentials read and write" - } + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/merchants/:merchantId/apiCredentials/:apiCredentialId/generateClientKey", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "merchants", + ":merchantId", + "apiCredentials", + ":apiCredentialId", + "generateClientKey" + ], + "variable": [ + { + "key": "merchantId", + "value": "{{YOUR_MERCHANT_ACCOUNT}}", + "description": "The unique identifier of the merchant account." + }, + { + "key": "apiCredentialId", + "value": "", + "description": "Unique identifier of the API credential." + } + ], + "query": [ + ] + }, + "description": "Returns a new [client key](https://docs.adyen.com/development-resources/client-side-authentication#how-it-works) for the API credential identified in the path. You can use the new client key a few minutes after generating it. The old client key stops working 24 hours after generating a new one. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—API credentials read and write" +} + ,"response": [ + ] } ] } - ] }, { @@ -2732,57 +3866,58 @@ { "name": "Get a list of allowed origins", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/merchants/:merchantId/apiCredentials/:apiCredentialId/allowedOrigins", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "merchants", - ":merchantId", - "apiCredentials", - ":apiCredentialId", - "allowedOrigins" - ], - "variable": [ - { - "key": "merchantId", - "value": "{{YOUR_MERCHANT_ACCOUNT}}", - "description": "The unique identifier of the merchant account." - }, - { - "key": "apiCredentialId", - "value": "", - "description": "Unique identifier of the API credential." - } - ], - "query": [ - ] - }, - "description": "Returns the list of [allowed origins](https://docs.adyen.com/development-resources/client-side-authentication#allowed-origins) for the API credential identified in the path. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—API credentials read and write" - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/merchants/:merchantId/apiCredentials/:apiCredentialId/allowedOrigins", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "merchants", + ":merchantId", + "apiCredentials", + ":apiCredentialId", + "allowedOrigins" + ], + "variable": [ + { + "key": "merchantId", + "value": "{{YOUR_MERCHANT_ACCOUNT}}", + "description": "The unique identifier of the merchant account." + }, + { + "key": "apiCredentialId", + "value": "", + "description": "Unique identifier of the API credential." + } + ], + "query": [ + ] + }, + "description": "Returns the list of [allowed origins](https://docs.adyen.com/development-resources/client-side-authentication#allowed-origins) for the API credential identified in the path. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—API credentials read and write" +} + ,"response": [ + ] } ] - } -, + }, { "name": "/merchants/:merchantId/apiCredentials/:apiCredentialId/allowedOrigins", "description": "Adds a new [allowed origin](https://docs.adyen.com/development-resources/client-side-authentication#allowed-origins) to the API credential's list of allowed origins. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—API credentials read and write", @@ -2790,63 +3925,129 @@ { "name": "Add an allowed origin for the API credential", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"domain\" : \"https://www.eu.mystore.com\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/merchants/:merchantId/apiCredentials/:apiCredentialId/allowedOrigins", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "merchants", + ":merchantId", + "apiCredentials", + ":apiCredentialId", + "allowedOrigins" + ], + "variable": [ + { + "key": "merchantId", + "value": "{{YOUR_MERCHANT_ACCOUNT}}", + "description": "The unique identifier of the merchant account." + }, + { + "key": "apiCredentialId", + "value": "", + "description": "Unique identifier of the API credential." + } + ], + "query": [ + ] + }, + "description": "Adds a new [allowed origin](https://docs.adyen.com/development-resources/client-side-authentication#allowed-origins) to the API credential's list of allowed origins. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—API credentials read and write" +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"domain\" : \"https://www.eu.mystore.com\",\n \"_links\" : {\n \"self\" : {\n \"href\" : \"https://management-test.adyen.com/v1/merchants/YOUR_MERCHANT_ACCOUNT/apiCredentials/YOUR_API_CREDENTIAL/allowedOrigins/YOUR_ALLOWED_ORIGIN\"\n }\n }\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"domain\" : \"https://www.eu.mystore.com\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/merchants/:merchantId/apiCredentials/:apiCredentialId/allowedOrigins", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "merchants", + ":merchantId", + "apiCredentials", + ":apiCredentialId", + "allowedOrigins" + ], + "variable": [ + { + "key": "merchantId", + "value": "{{YOUR_MERCHANT_ACCOUNT}}", + "description": "The unique identifier of the merchant account." + }, + { + "key": "apiCredentialId", + "value": "", + "description": "Unique identifier of the API credential." + } + ], + "query": [ + ] + }, + "description": "Adds a new [allowed origin](https://docs.adyen.com/development-resources/client-side-authentication#allowed-origins) to the API credential's list of allowed origins. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—API credentials read and write" +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"domain\" : \"https://www.eu.mystore.com\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/merchants/:merchantId/apiCredentials/:apiCredentialId/allowedOrigins", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "merchants", - ":merchantId", - "apiCredentials", - ":apiCredentialId", - "allowedOrigins" - ], - "variable": [ - { - "key": "merchantId", - "value": "{{YOUR_MERCHANT_ACCOUNT}}", - "description": "The unique identifier of the merchant account." - }, - { - "key": "apiCredentialId", - "value": "", - "description": "Unique identifier of the API credential." - } - ], - "query": [ - ] - }, - "description": "Adds a new [allowed origin](https://docs.adyen.com/development-resources/client-side-authentication#allowed-origins) to the API credential's list of allowed origins. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—API credentials read and write" - } + ] } ] - } -, + }, { "name": "/merchants/:merchantId/apiCredentials/:apiCredentialId/allowedOrigins/:originId", "description": "Removes the [allowed origin](https://docs.adyen.com/development-resources/client-side-authentication#allowed-origins) identified in the path. As soon as an allowed origin is removed, we no longer accept client-side requests from that domain. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—API credentials read and write", @@ -2854,63 +4055,64 @@ { "name": "Delete an allowed origin", "request": { - "method": "DELETE", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/merchants/:merchantId/apiCredentials/:apiCredentialId/allowedOrigins/:originId", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "merchants", - ":merchantId", - "apiCredentials", - ":apiCredentialId", - "allowedOrigins", - ":originId" - ], - "variable": [ - { - "key": "merchantId", - "value": "{{YOUR_MERCHANT_ACCOUNT}}", - "description": "The unique identifier of the merchant account." - }, - { - "key": "apiCredentialId", - "value": "", - "description": "Unique identifier of the API credential." - }, - { - "key": "originId", - "value": "", - "description": "Unique identifier of the allowed origin." - } - ], - "query": [ - ] - }, - "description": "Removes the [allowed origin](https://docs.adyen.com/development-resources/client-side-authentication#allowed-origins) identified in the path. As soon as an allowed origin is removed, we no longer accept client-side requests from that domain. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—API credentials read and write" - } + "method": "DELETE", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/merchants/:merchantId/apiCredentials/:apiCredentialId/allowedOrigins/:originId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "merchants", + ":merchantId", + "apiCredentials", + ":apiCredentialId", + "allowedOrigins", + ":originId" + ], + "variable": [ + { + "key": "merchantId", + "value": "{{YOUR_MERCHANT_ACCOUNT}}", + "description": "The unique identifier of the merchant account." + }, + { + "key": "apiCredentialId", + "value": "", + "description": "Unique identifier of the API credential." + }, + { + "key": "originId", + "value": "", + "description": "Unique identifier of the allowed origin." + } + ], + "query": [ + ] + }, + "description": "Removes the [allowed origin](https://docs.adyen.com/development-resources/client-side-authentication#allowed-origins) identified in the path. As soon as an allowed origin is removed, we no longer accept client-side requests from that domain. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—API credentials read and write" +} + ,"response": [ + ] } ] - } -, + }, { "name": "/merchants/:merchantId/apiCredentials/:apiCredentialId/allowedOrigins/:originId", "description": "Returns the [allowed origin](https://docs.adyen.com/development-resources/client-side-authentication#allowed-origins) identified in the path. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—API credentials read and write", @@ -2918,63 +4120,64 @@ { "name": "Get an allowed origin", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/merchants/:merchantId/apiCredentials/:apiCredentialId/allowedOrigins/:originId", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "merchants", - ":merchantId", - "apiCredentials", - ":apiCredentialId", - "allowedOrigins", - ":originId" - ], - "variable": [ - { - "key": "merchantId", - "value": "{{YOUR_MERCHANT_ACCOUNT}}", - "description": "The unique identifier of the merchant account." - }, - { - "key": "apiCredentialId", - "value": "", - "description": "Unique identifier of the API credential." - }, - { - "key": "originId", - "value": "", - "description": "Unique identifier of the allowed origin." - } - ], - "query": [ - ] - }, - "description": "Returns the [allowed origin](https://docs.adyen.com/development-resources/client-side-authentication#allowed-origins) identified in the path. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—API credentials read and write" - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/merchants/:merchantId/apiCredentials/:apiCredentialId/allowedOrigins/:originId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "merchants", + ":merchantId", + "apiCredentials", + ":apiCredentialId", + "allowedOrigins", + ":originId" + ], + "variable": [ + { + "key": "merchantId", + "value": "{{YOUR_MERCHANT_ACCOUNT}}", + "description": "The unique identifier of the merchant account." + }, + { + "key": "apiCredentialId", + "value": "", + "description": "Unique identifier of the API credential." + }, + { + "key": "originId", + "value": "", + "description": "Unique identifier of the allowed origin." + } + ], + "query": [ + ] + }, + "description": "Returns the [allowed origin](https://docs.adyen.com/development-resources/client-side-authentication#allowed-origins) identified in the path. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—API credentials read and write" +} + ,"response": [ + ] } ] } - ] }, { @@ -2987,56 +4190,57 @@ { "name": "Get a list of billing entities", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/companies/:companyId/billingEntities", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "companies", - ":companyId", - "billingEntities" - ], - "variable": [ - { - "key": "companyId", - "value": "{{YOUR_COMPANY_ACCOUNT}}", - "description": "The unique identifier of the company account." - } - ], - "query": [ - { - "key": "name", - "value": "name_example", - "description": "The name of the billing entity.", - "disabled": true - } - ] - }, - "description": "Returns the billing entities of the company identified in the path and all merchant accounts belonging to the company. A billing entity is a legal entity where we charge orders to. An order for terminal products must contain the ID of a billing entity. To make this request, your API credential must have one of the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal ordering read * Management API—Terminal ordering read and write" - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/companies/:companyId/billingEntities", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "companies", + ":companyId", + "billingEntities" + ], + "variable": [ + { + "key": "companyId", + "value": "{{YOUR_COMPANY_ACCOUNT}}", + "description": "The unique identifier of the company account." + } + ], + "query": [ + { + "key": "name", + "value": "name_example", + "description": "The name of the billing entity.", + "disabled": true + } + ] + }, + "description": "Returns the billing entities of the company identified in the path and all merchant accounts belonging to the company. A billing entity is a legal entity where we charge orders to. An order for terminal products must contain the ID of a billing entity. To make this request, your API credential must have one of the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal ordering read * Management API—Terminal ordering read and write" +} + ,"response": [ + ] } ] - } -, + }, { "name": "/companies/:companyId/shippingLocations", "description": "Returns the shipping locations for the company identified in the path and all merchant accounts belonging to the company. A shipping location includes the address where orders can be delivered, and an ID which you need to specify when ordering terminal products. To make this request, your API credential must have one of the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal ordering read * Management API—Terminal ordering read and write", @@ -3044,68 +4248,69 @@ { "name": "Get a list of shipping locations", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/companies/:companyId/shippingLocations", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "companies", - ":companyId", - "shippingLocations" - ], - "variable": [ - { - "key": "companyId", - "value": "{{YOUR_COMPANY_ACCOUNT}}", - "description": "The unique identifier of the company account." - } - ], - "query": [ - { - "key": "name", - "value": "name_example", - "description": "The name of the shipping location.", - "disabled": true - }, - { - "key": "offset", - "value": "56", - "description": "The number of locations to skip.", - "disabled": true - }, - { - "key": "limit", - "value": "56", - "description": "The number of locations to return.", - "disabled": true - } - ] - }, - "description": "Returns the shipping locations for the company identified in the path and all merchant accounts belonging to the company. A shipping location includes the address where orders can be delivered, and an ID which you need to specify when ordering terminal products. To make this request, your API credential must have one of the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal ordering read * Management API—Terminal ordering read and write" - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/companies/:companyId/shippingLocations", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "companies", + ":companyId", + "shippingLocations" + ], + "variable": [ + { + "key": "companyId", + "value": "{{YOUR_COMPANY_ACCOUNT}}", + "description": "The unique identifier of the company account." + } + ], + "query": [ + { + "key": "name", + "value": "name_example", + "description": "The name of the shipping location.", + "disabled": true + }, + { + "key": "offset", + "value": "56", + "description": "The number of locations to skip.", + "disabled": true + }, + { + "key": "limit", + "value": "56", + "description": "The number of locations to return.", + "disabled": true + } + ] + }, + "description": "Returns the shipping locations for the company identified in the path and all merchant accounts belonging to the company. A shipping location includes the address where orders can be delivered, and an ID which you need to specify when ordering terminal products. To make this request, your API credential must have one of the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal ordering read * Management API—Terminal ordering read and write" +} + ,"response": [ + ] } ] - } -, + }, { "name": "/companies/:companyId/shippingLocations", "description": "Creates a shipping location for the company identified in the path. A shipping location defines an address where orders can be delivered. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal ordering read and write", @@ -3113,56 +4318,115 @@ { "name": "Create a shipping location", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\" : \"YOUR_COMPANY Rokin depot\",\n \"address\" : {\n \"companyName\" : \"YOUR_COMPANY\",\n \"streetAddress\" : \"Rokin 21\",\n \"postalCode\" : \"1012 KS\",\n \"city\" : \"Amsterdam\",\n \"stateOrProvince\" : \"\",\n \"country\" : \"NL\"\n },\n \"contact\" : {\n \"firstName\" : \"Paul\",\n \"lastName\" : \"Green\",\n \"phoneNumber\" : \"+31 020 1234567\",\n \"email\" : \"Paul.Green@company.com\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/companies/:companyId/shippingLocations", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "companies", + ":companyId", + "shippingLocations" + ], + "variable": [ + { + "key": "companyId", + "value": "{{YOUR_COMPANY_ACCOUNT}}", + "description": "The unique identifier of the company account." + } + ], + "query": [ + ] + }, + "description": "Creates a shipping location for the company identified in the path. A shipping location defines an address where orders can be delivered. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal ordering read and write" +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"id\" : \"S2-7973536B20662642215526704F302044452F714622375D476169\",\n \"name\" : \"YOUR_COMPANY Rokin depot\",\n \"contact\" : {\n \"firstName\" : \"Paul\",\n \"lastName\" : \"Green\",\n \"phoneNumber\" : \"+31 020 1234567\",\n \"email\" : \"Paul.Green@company.com\"\n },\n \"address\" : {\n \"companyName\" : \"YOUR_COMPANY\",\n \"streetAddress\" : \"Rokin 21\",\n \"postalCode\" : \"1012 KS\",\n \"city\" : \"Amsterdam\",\n \"stateOrProvince\" : \"\"\n }\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\" : \"YOUR_COMPANY Rokin depot\",\n \"address\" : {\n \"companyName\" : \"YOUR_COMPANY\",\n \"streetAddress\" : \"Rokin 21\",\n \"postalCode\" : \"1012 KS\",\n \"city\" : \"Amsterdam\",\n \"stateOrProvince\" : \"\",\n \"country\" : \"NL\"\n },\n \"contact\" : {\n \"firstName\" : \"Paul\",\n \"lastName\" : \"Green\",\n \"phoneNumber\" : \"+31 020 1234567\",\n \"email\" : \"Paul.Green@company.com\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/companies/:companyId/shippingLocations", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "companies", + ":companyId", + "shippingLocations" + ], + "variable": [ + { + "key": "companyId", + "value": "{{YOUR_COMPANY_ACCOUNT}}", + "description": "The unique identifier of the company account." + } + ], + "query": [ + ] + }, + "description": "Creates a shipping location for the company identified in the path. A shipping location defines an address where orders can be delivered. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal ordering read and write" +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"name\" : \"YOUR_COMPANY Rokin depot\",\n \"address\" : {\n \"companyName\" : \"YOUR_COMPANY\",\n \"streetAddress\" : \"Rokin 21\",\n \"postalCode\" : \"1012 KS\",\n \"city\" : \"Amsterdam\",\n \"stateOrProvince\" : \"\",\n \"country\" : \"NL\"\n },\n \"contact\" : {\n \"firstName\" : \"Paul\",\n \"lastName\" : \"Green\",\n \"phoneNumber\" : \"+31 020 1234567\",\n \"email\" : \"Paul.Green@company.com\"\n }\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/companies/:companyId/shippingLocations", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "companies", - ":companyId", - "shippingLocations" - ], - "variable": [ - { - "key": "companyId", - "value": "{{YOUR_COMPANY_ACCOUNT}}", - "description": "The unique identifier of the company account." - } - ], - "query": [ - ] - }, - "description": "Creates a shipping location for the company identified in the path. A shipping location defines an address where orders can be delivered. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal ordering read and write" - } + ] } ] - } -, + }, { "name": "/companies/:companyId/terminalModels", "description": "Returns a list of payment terminal models that the company identified in the path has access to. The response includes the terminal model ID, which can be used as a query parameter when getting a list of terminals or a list of products for ordering. To make this request, your API credential must have one of the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal ordering read * Management API—Terminal ordering read and write", @@ -3170,50 +4434,51 @@ { "name": "Get a list of terminal models", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/companies/:companyId/terminalModels", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "companies", - ":companyId", - "terminalModels" - ], - "variable": [ - { - "key": "companyId", - "value": "{{YOUR_COMPANY_ACCOUNT}}", - "description": "The unique identifier of the company account." - } - ], - "query": [ - ] - }, - "description": "Returns a list of payment terminal models that the company identified in the path has access to. The response includes the terminal model ID, which can be used as a query parameter when getting a list of terminals or a list of products for ordering. To make this request, your API credential must have one of the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal ordering read * Management API—Terminal ordering read and write" - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/companies/:companyId/terminalModels", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "companies", + ":companyId", + "terminalModels" + ], + "variable": [ + { + "key": "companyId", + "value": "{{YOUR_COMPANY_ACCOUNT}}", + "description": "The unique identifier of the company account." + } + ], + "query": [ + ] + }, + "description": "Returns a list of payment terminal models that the company identified in the path has access to. The response includes the terminal model ID, which can be used as a query parameter when getting a list of terminals or a list of products for ordering. To make this request, your API credential must have one of the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal ordering read * Management API—Terminal ordering read and write" +} + ,"response": [ + ] } ] - } -, + }, { "name": "/companies/:companyId/terminalOrders", "description": "Returns a lists of terminal products orders for the company identified in the path. To filter the list, use one or more of the query parameters. To make this request, your API credential must have one of the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal ordering read * Management API—Terminal ordering read and write", @@ -3221,74 +4486,75 @@ { "name": "Get a list of orders", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/companies/:companyId/terminalOrders", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "companies", - ":companyId", - "terminalOrders" - ], - "variable": [ - { - "key": "companyId", - "value": "{{YOUR_COMPANY_ACCOUNT}}", - "description": "The unique identifier of the company account." - } - ], - "query": [ - { - "key": "customerOrderReference", - "value": "customerOrderReference_example", - "description": "Your purchase order number.", - "disabled": true - }, - { - "key": "status", - "value": "status_example", - "description": "The order status. Possible values (not case-sensitive): Placed, Confirmed, Cancelled, Shipped, Delivered.", - "disabled": true - }, - { - "key": "offset", - "value": "56", - "description": "The number of orders to skip.", - "disabled": true - }, - { - "key": "limit", - "value": "56", - "description": "The number of orders to return.", - "disabled": true - } - ] - }, - "description": "Returns a lists of terminal products orders for the company identified in the path. To filter the list, use one or more of the query parameters. To make this request, your API credential must have one of the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal ordering read * Management API—Terminal ordering read and write" - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/companies/:companyId/terminalOrders", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "companies", + ":companyId", + "terminalOrders" + ], + "variable": [ + { + "key": "companyId", + "value": "{{YOUR_COMPANY_ACCOUNT}}", + "description": "The unique identifier of the company account." + } + ], + "query": [ + { + "key": "customerOrderReference", + "value": "customerOrderReference_example", + "description": "Your purchase order number.", + "disabled": true + }, + { + "key": "status", + "value": "status_example", + "description": "The order status. Possible values (not case-sensitive): Placed, Confirmed, Cancelled, Shipped, Delivered.", + "disabled": true + }, + { + "key": "offset", + "value": "56", + "description": "The number of orders to skip.", + "disabled": true + }, + { + "key": "limit", + "value": "56", + "description": "The number of orders to return.", + "disabled": true + } + ] + }, + "description": "Returns a lists of terminal products orders for the company identified in the path. To filter the list, use one or more of the query parameters. To make this request, your API credential must have one of the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal ordering read * Management API—Terminal ordering read and write" +} + ,"response": [ + ] } ] - } -, + }, { "name": "/companies/:companyId/terminalOrders", "description": "Creates an order for payment terminal products for the company identified in the path. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal ordering read and write >Requests to the Management API test endpoint do not create actual orders for test terminals. To order test terminals, you need to [submit a sales order](https://docs.adyen.com/point-of-sale/managing-terminals/order-terminals/#sales-order-steps) in your Customer Area.", @@ -3296,56 +4562,115 @@ { "name": "Create an order", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"customerOrderReference\" : \"{{$guid}}\",\n \"shippingLocationId\" : \"S2-6A6C2E3432747D4F2F2C3455485E3836457D\",\n \"billingEntityId\" : \"Company.YOUR_COMPANY\",\n \"items\" : [ {\n \"id\" : \"TBOX-V400m-684-EU\",\n \"name\" : \"V400m Package\",\n \"quantity\" : 1\n }, {\n \"id\" : \"PART-175746-EU\",\n \"name\" : \"Adyen Test Card\",\n \"quantity\" : 1\n } ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/companies/:companyId/terminalOrders", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "companies", + ":companyId", + "terminalOrders" + ], + "variable": [ + { + "key": "companyId", + "value": "{{YOUR_COMPANY_ACCOUNT}}", + "description": "The unique identifier of the company account." + } + ], + "query": [ + ] + }, + "description": "Creates an order for payment terminal products for the company identified in the path. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal ordering read and write >Requests to the Management API test endpoint do not create actual orders for test terminals. To order test terminals, you need to [submit a sales order](https://docs.adyen.com/point-of-sale/managing-terminals/order-terminals/#sales-order-steps) in your Customer Area." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"id\" : \"5265677890100681\",\n \"customerOrderReference\" : \"YOUR_REFERENCE\",\n \"status\" : \"Placed\",\n \"shippingLocation\" : {\n \"id\" : \"S2-232A6D2967356F424F4369432B3F486B6A6D\",\n \"name\" : \"YOUR_COMPANY HQ - POS Ops\",\n \"contact\" : {\n \"firstName\" : \"Paul\",\n \"lastName\" : \"Green\",\n \"email\" : \"Paul.Green@company.com\"\n },\n \"address\" : {\n \"streetAddress\" : \"Simon Carmiggeltstraat\",\n \"streetAddress2\" : \"6-50\",\n \"postalCode\" : \"1011 DJ\",\n \"city\" : \"Amsterdam\",\n \"country\" : \"NL\"\n }\n },\n \"billingEntity\" : {\n \"id\" : \"Company.YOUR_COMPANY\",\n \"name\" : \"YOUR_COMPANY\",\n \"taxId\" : \"NL1234567890\",\n \"email\" : \"Paul.Green@company.com\",\n \"address\" : {\n \"streetAddress\" : \"Simon Carmiggeltstraat 6-50\",\n \"postalCode\" : \"1011 DJ\",\n \"city\" : \"Amsterdam\",\n \"country\" : \"NL\"\n }\n },\n \"orderDate\" : \"2022-01-20T14:12:33Z\",\n \"items\" : [ {\n \"id\" : \"TBOX-V400m-684-EU\",\n \"name\" : \"V400m Package\",\n \"quantity\" : 1\n }, {\n \"id\" : \"PART-175746-EU\",\n \"name\" : \"Adyen Test Card\",\n \"quantity\" : 1\n } ]\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"customerOrderReference\" : \"{{$guid}}\",\n \"shippingLocationId\" : \"S2-6A6C2E3432747D4F2F2C3455485E3836457D\",\n \"billingEntityId\" : \"Company.YOUR_COMPANY\",\n \"items\" : [ {\n \"id\" : \"TBOX-V400m-684-EU\",\n \"name\" : \"V400m Package\",\n \"quantity\" : 1\n }, {\n \"id\" : \"PART-175746-EU\",\n \"name\" : \"Adyen Test Card\",\n \"quantity\" : 1\n } ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/companies/:companyId/terminalOrders", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "companies", + ":companyId", + "terminalOrders" + ], + "variable": [ + { + "key": "companyId", + "value": "{{YOUR_COMPANY_ACCOUNT}}", + "description": "The unique identifier of the company account." + } + ], + "query": [ + ] + }, + "description": "Creates an order for payment terminal products for the company identified in the path. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal ordering read and write >Requests to the Management API test endpoint do not create actual orders for test terminals. To order test terminals, you need to [submit a sales order](https://docs.adyen.com/point-of-sale/managing-terminals/order-terminals/#sales-order-steps) in your Customer Area." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"customerOrderReference\" : \"{{$guid}}\",\n \"shippingLocationId\" : \"S2-6A6C2E3432747D4F2F2C3455485E3836457D\",\n \"billingEntityId\" : \"Company.YOUR_COMPANY\",\n \"items\" : [ {\n \"id\" : \"TBOX-V400m-684-EU\",\n \"name\" : \"V400m Package\",\n \"quantity\" : 1\n }, {\n \"id\" : \"PART-175746-EU\",\n \"name\" : \"Adyen Test Card\",\n \"quantity\" : 1\n } ]\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/companies/:companyId/terminalOrders", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "companies", - ":companyId", - "terminalOrders" - ], - "variable": [ - { - "key": "companyId", - "value": "{{YOUR_COMPANY_ACCOUNT}}", - "description": "The unique identifier of the company account." - } - ], - "query": [ - ] - }, - "description": "Creates an order for payment terminal products for the company identified in the path. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal ordering read and write >Requests to the Management API test endpoint do not create actual orders for test terminals. To order test terminals, you need to [submit a sales order](https://docs.adyen.com/point-of-sale/managing-terminals/order-terminals/#sales-order-steps) in your Customer Area." - } + ] } ] - } -, + }, { "name": "/companies/:companyId/terminalOrders/:orderId", "description": "Returns the details of the terminal products order identified in the path. To make this request, your API credential must have one of the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal ordering read * Management API—Terminal ordering read and write", @@ -3353,56 +4678,57 @@ { "name": "Get an order", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/companies/:companyId/terminalOrders/:orderId", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "companies", - ":companyId", - "terminalOrders", - ":orderId" - ], - "variable": [ - { - "key": "companyId", - "value": "{{YOUR_COMPANY_ACCOUNT}}", - "description": "The unique identifier of the company account." - }, - { - "key": "orderId", - "value": "", - "description": "The unique identifier of the order." - } - ], - "query": [ - ] - }, - "description": "Returns the details of the terminal products order identified in the path. To make this request, your API credential must have one of the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal ordering read * Management API—Terminal ordering read and write" - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/companies/:companyId/terminalOrders/:orderId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "companies", + ":companyId", + "terminalOrders", + ":orderId" + ], + "variable": [ + { + "key": "companyId", + "value": "{{YOUR_COMPANY_ACCOUNT}}", + "description": "The unique identifier of the company account." + }, + { + "key": "orderId", + "value": "", + "description": "The unique identifier of the order." + } + ], + "query": [ + ] + }, + "description": "Returns the details of the terminal products order identified in the path. To make this request, your API credential must have one of the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal ordering read * Management API—Terminal ordering read and write" +} + ,"response": [ + ] } ] - } -, + }, { "name": "/companies/:companyId/terminalOrders/:orderId", "description": "Updates the terminal products order identified in the path. Updating is only possible while the order has the status **Placed**. The request body only needs to contain what you want to change. However, to update the products in the `items` array, you must provide the entire array. For example, if the array has three items: To remove one item, the array must include the remaining two items. Or to add one item, the array must include all four items. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal ordering read and write", @@ -3410,62 +4736,127 @@ { "name": "Update a terminal order", "request": { - "method": "PATCH", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"items\" : [ {\n \"id\" : \"TBOX-V400m-684-EU\",\n \"name\" : \"V400m Package\",\n \"quantity\" : 1\n }, {\n \"id\" : \"PART-175746-EU\",\n \"name\" : \"Adyen Test Card\",\n \"quantity\" : 1\n }, {\n \"id\" : \"PART-620222-EU\",\n \"name\" : \"Receipt Roll\",\n \"quantity\" : 5\n } ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/companies/:companyId/terminalOrders/:orderId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "companies", + ":companyId", + "terminalOrders", + ":orderId" + ], + "variable": [ + { + "key": "companyId", + "value": "{{YOUR_COMPANY_ACCOUNT}}", + "description": "The unique identifier of the company account." + }, + { + "key": "orderId", + "value": "", + "description": "The unique identifier of the order." + } + ], + "query": [ + ] + }, + "description": "Updates the terminal products order identified in the path. Updating is only possible while the order has the status **Placed**. The request body only needs to contain what you want to change. However, to update the products in the `items` array, you must provide the entire array. For example, if the array has three items: To remove one item, the array must include the remaining two items. Or to add one item, the array must include all four items. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal ordering read and write" +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"id\" : \"5265677890100681\",\n \"customerOrderReference\" : \"YOUR_REFERENCE_1\",\n \"status\" : \"Placed\",\n \"shippingLocation\" : {\n \"id\" : \"S2-7973536B20662642215526704F302044452F714622375D476169\",\n \"name\" : \"YOUR_COMPANY Rokin depot\",\n \"contact\" : {\n \"firstName\" : \"Paul\",\n \"lastName\" : \"Green\",\n \"phoneNumber\" : \"+31 020 1234567\",\n \"email\" : \"Paul.Green@company.com\"\n },\n \"address\" : {\n \"companyName\" : \"YOUR_COMPANY\",\n \"streetAddress\" : \"Rokin 21\",\n \"postalCode\" : \"1012 KS\",\n \"city\" : \"Amsterdam\",\n \"stateOrProvince\" : \"\",\n \"country\" : \"NL\"\n }\n },\n \"billingEntity\" : {\n \"id\" : \"Company.YOUR_COMPANY\",\n \"name\" : \"YOUR_COMPANY\",\n \"taxId\" : \"NL1234567890\",\n \"email\" : \"Paul.Green@company.com\",\n \"address\" : {\n \"streetAddress\" : \"Simon Carmiggeltstraat 6-50\",\n \"postalCode\" : \"1011 DJ\",\n \"city\" : \"Amsterdam\",\n \"country\" : \"NL\"\n }\n },\n \"orderDate\" : \"2022-01-20T14:12:33Z\",\n \"items\" : [ {\n \"id\" : \"TBOX-V400m-684-EU\",\n \"name\" : \"V400m Package\",\n \"quantity\" : 1\n }, {\n \"id\" : \"PART-175746-EU\",\n \"name\" : \"Adyen Test Card\",\n \"quantity\" : 1\n }, {\n \"id\" : \"PART-620222-EU\",\n \"name\" : \"Receipt Roll\",\n \"quantity\" : 5\n } ]\n}", + "originalRequest": { + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"items\" : [ {\n \"id\" : \"TBOX-V400m-684-EU\",\n \"name\" : \"V400m Package\",\n \"quantity\" : 1\n }, {\n \"id\" : \"PART-175746-EU\",\n \"name\" : \"Adyen Test Card\",\n \"quantity\" : 1\n }, {\n \"id\" : \"PART-620222-EU\",\n \"name\" : \"Receipt Roll\",\n \"quantity\" : 5\n } ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/companies/:companyId/terminalOrders/:orderId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "companies", + ":companyId", + "terminalOrders", + ":orderId" + ], + "variable": [ + { + "key": "companyId", + "value": "{{YOUR_COMPANY_ACCOUNT}}", + "description": "The unique identifier of the company account." + }, + { + "key": "orderId", + "value": "", + "description": "The unique identifier of the order." + } + ], + "query": [ + ] + }, + "description": "Updates the terminal products order identified in the path. Updating is only possible while the order has the status **Placed**. The request body only needs to contain what you want to change. However, to update the products in the `items` array, you must provide the entire array. For example, if the array has three items: To remove one item, the array must include the remaining two items. Or to add one item, the array must include all four items. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal ordering read and write" +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"items\" : [ {\n \"id\" : \"TBOX-V400m-684-EU\",\n \"name\" : \"V400m Package\",\n \"quantity\" : 1\n }, {\n \"id\" : \"PART-175746-EU\",\n \"name\" : \"Adyen Test Card\",\n \"quantity\" : 1\n }, {\n \"id\" : \"PART-620222-EU\",\n \"name\" : \"Receipt Roll\",\n \"quantity\" : 5\n } ]\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/companies/:companyId/terminalOrders/:orderId", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "companies", - ":companyId", - "terminalOrders", - ":orderId" - ], - "variable": [ - { - "key": "companyId", - "value": "{{YOUR_COMPANY_ACCOUNT}}", - "description": "The unique identifier of the company account." - }, - { - "key": "orderId", - "value": "", - "description": "The unique identifier of the order." - } - ], - "query": [ - ] - }, - "description": "Updates the terminal products order identified in the path. Updating is only possible while the order has the status **Placed**. The request body only needs to contain what you want to change. However, to update the products in the `items` array, you must provide the entire array. For example, if the array has three items: To remove one item, the array must include the remaining two items. Or to add one item, the array must include all four items. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal ordering read and write" - } + ] } ] - } -, + }, { "name": "/companies/:companyId/terminalOrders/:orderId/cancel", "description": "Cancels the terminal products order identified in the path. Cancelling is only possible while the order has the status **Placed**. To cancel an order, make a POST call without a request body. The response returns the full order details, but with the status changed to **Cancelled**. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal ordering read and write", @@ -3473,57 +4864,58 @@ { "name": "Cancel an order", "request": { - "method": "POST", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/companies/:companyId/terminalOrders/:orderId/cancel", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "companies", - ":companyId", - "terminalOrders", - ":orderId", - "cancel" - ], - "variable": [ - { - "key": "companyId", - "value": "{{YOUR_COMPANY_ACCOUNT}}", - "description": "The unique identifier of the company account." - }, - { - "key": "orderId", - "value": "", - "description": "The unique identifier of the order." - } - ], - "query": [ - ] - }, - "description": "Cancels the terminal products order identified in the path. Cancelling is only possible while the order has the status **Placed**. To cancel an order, make a POST call without a request body. The response returns the full order details, but with the status changed to **Cancelled**. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal ordering read and write" - } + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/companies/:companyId/terminalOrders/:orderId/cancel", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "companies", + ":companyId", + "terminalOrders", + ":orderId", + "cancel" + ], + "variable": [ + { + "key": "companyId", + "value": "{{YOUR_COMPANY_ACCOUNT}}", + "description": "The unique identifier of the company account." + }, + { + "key": "orderId", + "value": "", + "description": "The unique identifier of the order." + } + ], + "query": [ + ] + }, + "description": "Cancels the terminal products order identified in the path. Cancelling is only possible while the order has the status **Placed**. To cancel an order, make a POST call without a request body. The response returns the full order details, but with the status changed to **Cancelled**. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal ordering read and write" +} + ,"response": [ + ] } ] - } -, + }, { "name": "/companies/:companyId/terminalProducts", "description": "Returns a country-specific list of payment terminal packages and parts that the company identified in the path has access to. To make this request, your API credential must have one of the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal ordering read * Management API—Terminal ordering read and write", @@ -3531,74 +4923,75 @@ { "name": "Get a list of terminal products", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/companies/:companyId/terminalProducts", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "companies", - ":companyId", - "terminalProducts" - ], - "variable": [ - { - "key": "companyId", - "value": "{{YOUR_COMPANY_ACCOUNT}}", - "description": "The unique identifier of the company account." - } - ], - "query": [ - { - "key": "country", - "value": "country_example", - "description": "The country to return products for, in [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format. For example, **US**", - "disabled": false - }, - { - "key": "terminalModelId", - "value": "terminalModelId_example", - "description": "The terminal model to return products for. Use the ID returned in the [GET `/terminalModels`](https://docs.adyen.com/api-explorer/#/ManagementService/latest/get/companies/{companyId}/terminalModels) response. For example, **Verifone.M400**", - "disabled": true - }, - { - "key": "offset", - "value": "56", - "description": "The number of products to skip.", - "disabled": true - }, - { - "key": "limit", - "value": "56", - "description": "The number of products to return.", - "disabled": true - } - ] - }, - "description": "Returns a country-specific list of payment terminal packages and parts that the company identified in the path has access to. To make this request, your API credential must have one of the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal ordering read * Management API—Terminal ordering read and write" - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/companies/:companyId/terminalProducts", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "companies", + ":companyId", + "terminalProducts" + ], + "variable": [ + { + "key": "companyId", + "value": "{{YOUR_COMPANY_ACCOUNT}}", + "description": "The unique identifier of the company account." + } + ], + "query": [ + { + "key": "country", + "value": "country_example", + "description": "The country to return products for, in [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format. For example, **US**", + "disabled": false + }, + { + "key": "terminalModelId", + "value": "terminalModelId_example", + "description": "The terminal model to return products for. Use the ID returned in the [GET `/terminalModels`](https://docs.adyen.com/api-explorer/#/ManagementService/latest/get/companies/{companyId}/terminalModels) response. For example, **Verifone.M400**", + "disabled": true + }, + { + "key": "offset", + "value": "56", + "description": "The number of products to skip.", + "disabled": true + }, + { + "key": "limit", + "value": "56", + "description": "The number of products to return.", + "disabled": true + } + ] + }, + "description": "Returns a country-specific list of payment terminal packages and parts that the company identified in the path has access to. To make this request, your API credential must have one of the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal ordering read * Management API—Terminal ordering read and write" +} + ,"response": [ + ] } ] } - ] }, { @@ -3611,62 +5004,63 @@ { "name": "Get a list of API credentials", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/merchants/:merchantId/apiCredentials", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "merchants", - ":merchantId", - "apiCredentials" - ], - "variable": [ - { - "key": "merchantId", - "value": "{{YOUR_MERCHANT_ACCOUNT}}", - "description": "The unique identifier of the merchant account." - } - ], - "query": [ - { - "key": "pageNumber", - "value": "56", - "description": "The number of the page to fetch.", - "disabled": true - }, - { - "key": "pageSize", - "value": "56", - "description": "The number of items to have on a page, maximum 100. The default is 10 items on a page.", - "disabled": true - } - ] - }, - "description": "Returns the list of [API credentials](https://docs.adyen.com/development-resources/api-credentials) for the merchant account. The list is grouped into pages as defined by the query parameters. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—API credentials read and write" - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/merchants/:merchantId/apiCredentials", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "merchants", + ":merchantId", + "apiCredentials" + ], + "variable": [ + { + "key": "merchantId", + "value": "{{YOUR_MERCHANT_ACCOUNT}}", + "description": "The unique identifier of the merchant account." + } + ], + "query": [ + { + "key": "pageNumber", + "value": "56", + "description": "The number of the page to fetch.", + "disabled": true + }, + { + "key": "pageSize", + "value": "56", + "description": "The number of items to have on a page, maximum 100. The default is 10 items on a page.", + "disabled": true + } + ] + }, + "description": "Returns the list of [API credentials](https://docs.adyen.com/development-resources/api-credentials) for the merchant account. The list is grouped into pages as defined by the query parameters. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—API credentials read and write" +} + ,"response": [ + ] } ] - } -, + }, { "name": "/merchants/:merchantId/apiCredentials", "description": "Creates an [API credential](https://docs.adyen.com/development-resources/api-credentials) for the company account identified in the path. In the request, you can specify the roles and allowed origins for the new API credential. The response includes the: * [API key](https://docs.adyen.com/development-resources/api-authentication#api-key-authentication): used for API request authentication. * [Client key](https://docs.adyen.com/development-resources/client-side-authentication#how-it-works): public key used for client-side authentication. * [Username and password](https://docs.adyen.com/development-resources/api-authentication#using-basic-authentication): used for basic authentication. > Make sure you store the API key securely in your system. You won't be able to retrieve it later. If your API key is lost or compromised, you need to [generate a new API key](https://docs.adyen.com/api-explorer/#/ManagementService/v1/post/merchants/{merchantId}/apiCredentials/{apiCredentialId}/generateApiKey). To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—API credentials read and write", @@ -3674,56 +5068,115 @@ { "name": "Add an API credential", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"roles\" : [ \"Checkout webservice role\" ],\n \"allowedOrigins\" : [ \"https://www.mystore.com\" ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/merchants/:merchantId/apiCredentials", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "merchants", + ":merchantId", + "apiCredentials" + ], + "variable": [ + { + "key": "merchantId", + "value": "{{YOUR_MERCHANT_ACCOUNT}}", + "description": "The unique identifier of the merchant account." + } + ], + "query": [ + ] + }, + "description": "Creates an [API credential](https://docs.adyen.com/development-resources/api-credentials) for the company account identified in the path. In the request, you can specify the roles and allowed origins for the new API credential. The response includes the: * [API key](https://docs.adyen.com/development-resources/api-authentication#api-key-authentication): used for API request authentication. * [Client key](https://docs.adyen.com/development-resources/client-side-authentication#how-it-works): public key used for client-side authentication. * [Username and password](https://docs.adyen.com/development-resources/api-authentication#using-basic-authentication): used for basic authentication. > Make sure you store the API key securely in your system. You won't be able to retrieve it later. If your API key is lost or compromised, you need to [generate a new API key](https://docs.adyen.com/api-explorer/#/ManagementService/v1/post/merchants/{merchantId}/apiCredentials/{apiCredentialId}/generateApiKey). To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—API credentials read and write" +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"id\" : \"YOUR_API_CREDENTIAL\",\n \"username\" : \"YOUR_USERNAME\",\n \"clientKey\" : \"YOUR_CLIENT_KEY\",\n \"allowedIpAddresses\" : [ ],\n \"roles\" : [ \"Checkout webservice role\" ],\n \"active\" : true,\n \"allowedOrigins\" : [ {\n \"id\" : \"YOUR_ALLOWED_ORIGIN\",\n \"domain\" : \"https://www.mystore.com\",\n \"_links\" : {\n \"self\" : {\n \"href\" : \"https://management-test.adyen.com/v1/companies/YOUR_COMPANY_ACCOUNT/apiCredentials/YOUR_API_CREDENTIAL/allowedOrigins/YOUR_ALLOWED_ORIGIN\"\n }\n }\n } ],\n \"_links\" : {\n \"self\" : {\n \"href\" : \"https://management-test.adyen.com/v1/companies/YOUR_COMPANY_ACCOUNT/apiCredentials/YOUR_API_CREDENTIAL\"\n },\n \"allowedOrigins\" : {\n \"href\" : \"https://management-test.adyen.com/v1/companies/YOUR_COMPANY_ACCOUNT/apiCredentials/YOUR_API_CREDENTIAL/allowedOrigins\"\n },\n \"generateApiKey\" : {\n \"href\" : \"https://management-test.adyen.com/v1/companies/YOUR_COMPANY_ACCOUNT/apiCredentials/YOUR_API_CREDENTIAL/generateApiKey\"\n },\n \"generateClientKey\" : {\n \"href\" : \"https://management-test.adyen.com/v1/companies/YOUR_COMPANY_ACCOUNT/apiCredentials/YOUR_API_CREDENTIAL/generateClientKey\"\n },\n \"merchant\" : {\n \"href\" : \"https://management-test.adyen.com/v1/merchants/YOUR_MERCHANT_ACCOUNT\"\n }\n },\n \"apiKey\" : \"YOUR_API_KEY\",\n \"password\" : \"YOUR_PASSWORD\"\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"roles\" : [ \"Checkout webservice role\" ],\n \"allowedOrigins\" : [ \"https://www.mystore.com\" ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/merchants/:merchantId/apiCredentials", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "merchants", + ":merchantId", + "apiCredentials" + ], + "variable": [ + { + "key": "merchantId", + "value": "{{YOUR_MERCHANT_ACCOUNT}}", + "description": "The unique identifier of the merchant account." + } + ], + "query": [ + ] + }, + "description": "Creates an [API credential](https://docs.adyen.com/development-resources/api-credentials) for the company account identified in the path. In the request, you can specify the roles and allowed origins for the new API credential. The response includes the: * [API key](https://docs.adyen.com/development-resources/api-authentication#api-key-authentication): used for API request authentication. * [Client key](https://docs.adyen.com/development-resources/client-side-authentication#how-it-works): public key used for client-side authentication. * [Username and password](https://docs.adyen.com/development-resources/api-authentication#using-basic-authentication): used for basic authentication. > Make sure you store the API key securely in your system. You won't be able to retrieve it later. If your API key is lost or compromised, you need to [generate a new API key](https://docs.adyen.com/api-explorer/#/ManagementService/v1/post/merchants/{merchantId}/apiCredentials/{apiCredentialId}/generateApiKey). To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—API credentials read and write" +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"roles\" : [ \"Checkout webservice role\" ],\n \"allowedOrigins\" : [ \"https://www.mystore.com\" ]\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/merchants/:merchantId/apiCredentials", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "merchants", - ":merchantId", - "apiCredentials" - ], - "variable": [ - { - "key": "merchantId", - "value": "{{YOUR_MERCHANT_ACCOUNT}}", - "description": "The unique identifier of the merchant account." - } - ], - "query": [ - ] - }, - "description": "Creates an [API credential](https://docs.adyen.com/development-resources/api-credentials) for the company account identified in the path. In the request, you can specify the roles and allowed origins for the new API credential. The response includes the: * [API key](https://docs.adyen.com/development-resources/api-authentication#api-key-authentication): used for API request authentication. * [Client key](https://docs.adyen.com/development-resources/client-side-authentication#how-it-works): public key used for client-side authentication. * [Username and password](https://docs.adyen.com/development-resources/api-authentication#using-basic-authentication): used for basic authentication. > Make sure you store the API key securely in your system. You won't be able to retrieve it later. If your API key is lost or compromised, you need to [generate a new API key](https://docs.adyen.com/api-explorer/#/ManagementService/v1/post/merchants/{merchantId}/apiCredentials/{apiCredentialId}/generateApiKey). To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—API credentials read and write" - } + ] } ] - } -, + }, { "name": "/merchants/:merchantId/apiCredentials/:apiCredentialId", "description": "Returns the [API credential](https://docs.adyen.com/development-resources/api-credentials) identified in the path. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—API credentials read and write", @@ -3731,56 +5184,57 @@ { "name": "Get an API credential", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/merchants/:merchantId/apiCredentials/:apiCredentialId", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "merchants", - ":merchantId", - "apiCredentials", - ":apiCredentialId" - ], - "variable": [ - { - "key": "merchantId", - "value": "{{YOUR_MERCHANT_ACCOUNT}}", - "description": "The unique identifier of the merchant account." - }, - { - "key": "apiCredentialId", - "value": "", - "description": "Unique identifier of the API credential." - } - ], - "query": [ - ] - }, - "description": "Returns the [API credential](https://docs.adyen.com/development-resources/api-credentials) identified in the path. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—API credentials read and write" - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/merchants/:merchantId/apiCredentials/:apiCredentialId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "merchants", + ":merchantId", + "apiCredentials", + ":apiCredentialId" + ], + "variable": [ + { + "key": "merchantId", + "value": "{{YOUR_MERCHANT_ACCOUNT}}", + "description": "The unique identifier of the merchant account." + }, + { + "key": "apiCredentialId", + "value": "", + "description": "Unique identifier of the API credential." + } + ], + "query": [ + ] + }, + "description": "Returns the [API credential](https://docs.adyen.com/development-resources/api-credentials) identified in the path. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—API credentials read and write" +} + ,"response": [ + ] } ] - } -, + }, { "name": "/merchants/:merchantId/apiCredentials/:apiCredentialId", "description": "Changes the API credential's roles, or allowed origins. The request has the new values for the fields you want to change. The response contains the full updated API credential, including the new values from the request. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—API credentials read and write", @@ -3788,62 +5242,127 @@ { "name": "Activate an API credential", "request": { - "method": "PATCH", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"active\" : true\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/merchants/:merchantId/apiCredentials/:apiCredentialId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "merchants", + ":merchantId", + "apiCredentials", + ":apiCredentialId" + ], + "variable": [ + { + "key": "merchantId", + "value": "{{YOUR_MERCHANT_ACCOUNT}}", + "description": "The unique identifier of the merchant account." + }, + { + "key": "apiCredentialId", + "value": "", + "description": "Unique identifier of the API credential." + } + ], + "query": [ + ] + }, + "description": "Changes the API credential's roles, or allowed origins. The request has the new values for the fields you want to change. The response contains the full updated API credential, including the new values from the request. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—API credentials read and write" +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"id\" : \"YOUR_API_CREDENTIAL\",\n \"username\" : \"YOUR_USERNAME\",\n \"clientKey\" : \"YOUR_CLIENT_KEY\",\n \"allowedIpAddresses\" : [ ],\n \"roles\" : [ \"Checkout webservice role\", \"Merchant PAL Webservice role\" ],\n \"active\" : true,\n \"allowedOrigins\" : [ {\n \"id\" : \"YOUR_ALLOWED_ORIGIN\",\n \"domain\" : \"https://www.mystore.com\",\n \"_links\" : {\n \"self\" : {\n \"href\" : \"https://management-test.adyen.com/v1/companies/YOUR_COMPANY_ACCOUNT/apiCredentials/YOUR_API_CREDENTIAL/allowedOrigins/YOUR_ALLOWED_ORIGIN\"\n }\n }\n } ],\n \"_links\" : {\n \"self\" : {\n \"href\" : \"https://management-test.adyen.com/v1/companies/YOUR_COMPANY_ACCOUNT/apiCredentials/YOUR_API_CREDENTIAL\"\n },\n \"allowedOrigins\" : {\n \"href\" : \"https://management-test.adyen.com/v1/companies/YOUR_COMPANY_ACCOUNT/apiCredentials/YOUR_API_CREDENTIAL/allowedOrigins\"\n },\n \"generateApiKey\" : {\n \"href\" : \"https://management-test.adyen.com/v1/companies/YOUR_COMPANY_ACCOUNT/apiCredentials/YOUR_API_CREDENTIAL/generateApiKey\"\n },\n \"generateClientKey\" : {\n \"href\" : \"https://management-test.adyen.com/v1/companies/YOUR_COMPANY_ACCOUNT/apiCredentials/YOUR_API_CREDENTIAL/generateClientKey\"\n },\n \"merchant\" : {\n \"href\" : \"https://management-test.adyen.com/v1/merchants/YOUR_MERCHANT_ACCOUNT\"\n }\n }\n}", + "originalRequest": { + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"active\" : true\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/merchants/:merchantId/apiCredentials/:apiCredentialId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "merchants", + ":merchantId", + "apiCredentials", + ":apiCredentialId" + ], + "variable": [ + { + "key": "merchantId", + "value": "{{YOUR_MERCHANT_ACCOUNT}}", + "description": "The unique identifier of the merchant account." + }, + { + "key": "apiCredentialId", + "value": "", + "description": "Unique identifier of the API credential." + } + ], + "query": [ + ] + }, + "description": "Changes the API credential's roles, or allowed origins. The request has the new values for the fields you want to change. The response contains the full updated API credential, including the new values from the request. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—API credentials read and write" +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"active\" : true\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/merchants/:merchantId/apiCredentials/:apiCredentialId", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "merchants", - ":merchantId", - "apiCredentials", - ":apiCredentialId" - ], - "variable": [ - { - "key": "merchantId", - "value": "{{YOUR_MERCHANT_ACCOUNT}}", - "description": "The unique identifier of the merchant account." - }, - { - "key": "apiCredentialId", - "value": "", - "description": "Unique identifier of the API credential." - } - ], - "query": [ - ] - }, - "description": "Changes the API credential's roles, or allowed origins. The request has the new values for the fields you want to change. The response contains the full updated API credential, including the new values from the request. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—API credentials read and write" - } + ] } ] } - ] }, { @@ -3856,68 +5375,69 @@ { "name": "Get a list of users", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/merchants/:merchantId/users", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "merchants", - ":merchantId", - "users" - ], - "variable": [ - { - "key": "merchantId", - "value": "{{YOUR_MERCHANT_ACCOUNT}}", - "description": "Unique identifier of the merchant." - } - ], - "query": [ - { - "key": "pageNumber", - "value": "56", - "description": "The number of the page to fetch.", - "disabled": true - }, - { - "key": "pageSize", - "value": "56", - "description": "The number of items to have on a page. Maximum value is **100**. The default is **10** items on a page.", - "disabled": true - }, - { - "key": "username", - "value": "username_example", - "description": "The partial or complete username to select all users that match.", - "disabled": true - } - ] - }, - "description": "Returns a list of users associated with the `merchantId` specified in the path. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Users read and write " - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/merchants/:merchantId/users", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "merchants", + ":merchantId", + "users" + ], + "variable": [ + { + "key": "merchantId", + "value": "{{YOUR_MERCHANT_ACCOUNT}}", + "description": "Unique identifier of the merchant." + } + ], + "query": [ + { + "key": "pageNumber", + "value": "56", + "description": "The number of the page to fetch.", + "disabled": true + }, + { + "key": "pageSize", + "value": "56", + "description": "The number of items to have on a page. Maximum value is **100**. The default is **10** items on a page.", + "disabled": true + }, + { + "key": "username", + "value": "username_example", + "description": "The partial or complete username to select all users that match.", + "disabled": true + } + ] + }, + "description": "Returns a list of users associated with the `merchantId` specified in the path. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Users read and write " +} + ,"response": [ + ] } ] - } -, + }, { "name": "/merchants/:merchantId/users", "description": "Creates a user for the `merchantId` specified in the path. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Users read and write ", @@ -3925,56 +5445,115 @@ { "name": "Create a user", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\" : {\n \"firstName\" : \"John\",\n \"lastName\" : \"Smith\"\n },\n \"username\" : \"johnsmith\",\n \"email\" : \"john.smith@example.com\",\n \"timeZoneCode\" : \"Europe/Amsterdam\",\n \"roles\" : [ \"Merchant standard role\" ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/merchants/:merchantId/users", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "merchants", + ":merchantId", + "users" + ], + "variable": [ + { + "key": "merchantId", + "value": "{{YOUR_MERCHANT_ACCOUNT}}", + "description": "Unique identifier of the merchant." + } + ], + "query": [ + ] + }, + "description": "Creates a user for the `merchantId` specified in the path. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Users read and write " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"id\" : \"S2-3B3C3C3B22\",\n \"name\" : {\n \"firstName\" : \"John\",\n \"lastName\" : \"Smith\"\n },\n \"email\" : \"john.smith@example.com\",\n \"timeZoneCode\" : \"Europe/Amsterdam\",\n \"username\" : \"johnsmith\",\n \"roles\" : [ \"Merchant standard role\" ],\n \"active\" : true,\n \"_links\" : {\n \"self\" : {\n \"href\" : \"https://management-test.adyen.com/v1/merchants/YOUR_MERCHANT_ACCOUNT/users/S2-3B3C3C3B22\"\n }\n }\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\" : {\n \"firstName\" : \"John\",\n \"lastName\" : \"Smith\"\n },\n \"username\" : \"johnsmith\",\n \"email\" : \"john.smith@example.com\",\n \"timeZoneCode\" : \"Europe/Amsterdam\",\n \"roles\" : [ \"Merchant standard role\" ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/merchants/:merchantId/users", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "merchants", + ":merchantId", + "users" + ], + "variable": [ + { + "key": "merchantId", + "value": "{{YOUR_MERCHANT_ACCOUNT}}", + "description": "Unique identifier of the merchant." + } + ], + "query": [ + ] + }, + "description": "Creates a user for the `merchantId` specified in the path. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Users read and write " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"name\" : {\n \"firstName\" : \"John\",\n \"lastName\" : \"Smith\"\n },\n \"username\" : \"johnsmith\",\n \"email\" : \"john.smith@example.com\",\n \"timeZoneCode\" : \"Europe/Amsterdam\",\n \"roles\" : [ \"Merchant standard role\" ]\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/merchants/:merchantId/users", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "merchants", - ":merchantId", - "users" - ], - "variable": [ - { - "key": "merchantId", - "value": "{{YOUR_MERCHANT_ACCOUNT}}", - "description": "Unique identifier of the merchant." - } - ], - "query": [ - ] - }, - "description": "Creates a user for the `merchantId` specified in the path. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Users read and write " - } + ] } ] - } -, + }, { "name": "/merchants/:merchantId/users/:userId", "description": "Returns user details for the `userId` and the `merchantId` specified in the path. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Users read and write ", @@ -3982,56 +5561,57 @@ { "name": "Get user details", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/merchants/:merchantId/users/:userId", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "merchants", - ":merchantId", - "users", - ":userId" - ], - "variable": [ - { - "key": "merchantId", - "value": "{{YOUR_MERCHANT_ACCOUNT}}", - "description": "Unique identifier of the merchant." - }, - { - "key": "userId", - "value": "", - "description": "Unique identifier of the user." - } - ], - "query": [ - ] - }, - "description": "Returns user details for the `userId` and the `merchantId` specified in the path. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Users read and write " - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/merchants/:merchantId/users/:userId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "merchants", + ":merchantId", + "users", + ":userId" + ], + "variable": [ + { + "key": "merchantId", + "value": "{{YOUR_MERCHANT_ACCOUNT}}", + "description": "Unique identifier of the merchant." + }, + { + "key": "userId", + "value": "", + "description": "Unique identifier of the user." + } + ], + "query": [ + ] + }, + "description": "Returns user details for the `userId` and the `merchantId` specified in the path. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Users read and write " +} + ,"response": [ + ] } ] - } -, + }, { "name": "/merchants/:merchantId/users/:userId", "description": "Updates user details for the `userId` and the `merchantId` specified in the path. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Users read and write ", @@ -4039,62 +5619,63 @@ { "name": "Update a user", "request": { - "method": "PATCH", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"accountGroups\": \"\",\n \"active\": \"\",\n \"email\": \"\",\n \"name\": \"\",\n \"roles\": \"\",\n \"timeZoneCode\": \"\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/merchants/:merchantId/users/:userId", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "merchants", - ":merchantId", - "users", - ":userId" - ], - "variable": [ - { - "key": "merchantId", - "value": "{{YOUR_MERCHANT_ACCOUNT}}", - "description": "Unique identifier of the merchant." - }, - { - "key": "userId", - "value": "", - "description": "Unique identifier of the user." - } - ], - "query": [ - ] - }, - "description": "Updates user details for the `userId` and the `merchantId` specified in the path. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Users read and write " - } + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"accountGroups\": \"\",\n \"active\": \"\",\n \"email\": \"\",\n \"name\": \"\",\n \"roles\": \"\",\n \"timeZoneCode\": \"\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/merchants/:merchantId/users/:userId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "merchants", + ":merchantId", + "users", + ":userId" + ], + "variable": [ + { + "key": "merchantId", + "value": "{{YOUR_MERCHANT_ACCOUNT}}", + "description": "Unique identifier of the merchant." + }, + { + "key": "userId", + "value": "", + "description": "Unique identifier of the user." + } + ], + "query": [ + ] + }, + "description": "Updates user details for the `userId` and the `merchantId` specified in the path. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Users read and write " +} + ,"response": [ + ] } ] } - ] }, { @@ -4107,74 +5688,75 @@ { "name": "Get a list of terminal actions", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/companies/:companyId/terminalActions", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "companies", - ":companyId", - "terminalActions" - ], - "variable": [ - { - "key": "companyId", - "value": "{{YOUR_COMPANY_ACCOUNT}}", - "description": "The unique identifier of the company account." - } - ], - "query": [ - { - "key": "pageNumber", - "value": "56", - "description": "The number of the page to fetch.", - "disabled": true - }, - { - "key": "pageSize", - "value": "56", - "description": "The number of items to have on a page, maximum 100. The default is 20 items on a page.", - "disabled": true - }, - { - "key": "status", - "value": "status_example", - "description": "Returns terminal actions with the specified status. Allowed values: **pending**, **successful**, **failed**, **cancelled**, **tryLater**.", - "disabled": true - }, - { - "key": "type", - "value": "type_example", - "description": "Returns terminal actions of the specified type. Allowed values: **InstallAndroidApp**, **UninstallAndroidApp**, **InstallAndroidCertificate**, **UninstallAndroidCertificate**.", - "disabled": true - } - ] - }, - "description": "Returns the [terminal actions](https://docs.adyen.com/point-of-sale/automating-terminal-management/terminal-actions-api) that have been scheduled for the company identified in the path.The response doesn't include actions that are scheduled by Adyen. To make this request, your API credential must have one of the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal actions read * Management API—Terminal actions read and write" - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/companies/:companyId/terminalActions", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "companies", + ":companyId", + "terminalActions" + ], + "variable": [ + { + "key": "companyId", + "value": "{{YOUR_COMPANY_ACCOUNT}}", + "description": "The unique identifier of the company account." + } + ], + "query": [ + { + "key": "pageNumber", + "value": "56", + "description": "The number of the page to fetch.", + "disabled": true + }, + { + "key": "pageSize", + "value": "56", + "description": "The number of items to have on a page, maximum 100. The default is 20 items on a page.", + "disabled": true + }, + { + "key": "status", + "value": "status_example", + "description": "Returns terminal actions with the specified status. Allowed values: **pending**, **successful**, **failed**, **cancelled**, **tryLater**.", + "disabled": true + }, + { + "key": "type", + "value": "type_example", + "description": "Returns terminal actions of the specified type. Allowed values: **InstallAndroidApp**, **UninstallAndroidApp**, **InstallAndroidCertificate**, **UninstallAndroidCertificate**.", + "disabled": true + } + ] + }, + "description": "Returns the [terminal actions](https://docs.adyen.com/point-of-sale/automating-terminal-management/terminal-actions-api) that have been scheduled for the company identified in the path.The response doesn't include actions that are scheduled by Adyen. To make this request, your API credential must have one of the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal actions read * Management API—Terminal actions read and write" +} + ,"response": [ + ] } ] - } -, + }, { "name": "/companies/:companyId/terminalActions/:actionId", "description": "Returns the details of the [terminal action](https://docs.adyen.com/point-of-sale/automating-terminal-management/terminal-actions-api) identified in the path. To make this request, your API credential must have one of the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal actions read * Management API—Terminal actions read and write", @@ -4182,56 +5764,57 @@ { "name": "Get terminal action", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/companies/:companyId/terminalActions/:actionId", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "companies", - ":companyId", - "terminalActions", - ":actionId" - ], - "variable": [ - { - "key": "companyId", - "value": "{{YOUR_COMPANY_ACCOUNT}}", - "description": "The unique identifier of the company account." - }, - { - "key": "actionId", - "value": "", - "description": "The unique identifier of the terminal action." - } - ], - "query": [ - ] - }, - "description": "Returns the details of the [terminal action](https://docs.adyen.com/point-of-sale/automating-terminal-management/terminal-actions-api) identified in the path. To make this request, your API credential must have one of the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal actions read * Management API—Terminal actions read and write" - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/companies/:companyId/terminalActions/:actionId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "companies", + ":companyId", + "terminalActions", + ":actionId" + ], + "variable": [ + { + "key": "companyId", + "value": "{{YOUR_COMPANY_ACCOUNT}}", + "description": "The unique identifier of the company account." + }, + { + "key": "actionId", + "value": "", + "description": "The unique identifier of the terminal action." + } + ], + "query": [ + ] + }, + "description": "Returns the details of the [terminal action](https://docs.adyen.com/point-of-sale/automating-terminal-management/terminal-actions-api) identified in the path. To make this request, your API credential must have one of the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal actions read * Management API—Terminal actions read and write" +} + ,"response": [ + ] } ] } - ] }, { @@ -4244,74 +5827,75 @@ { "name": "Get all payment methods", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/merchants/:merchantId/paymentMethodSettings", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "merchants", - ":merchantId", - "paymentMethodSettings" - ], - "variable": [ - { - "key": "merchantId", - "value": "{{YOUR_MERCHANT_ACCOUNT}}", - "description": "The unique identifier of the merchant account." - } - ], - "query": [ - { - "key": "storeId", - "value": "storeId_example", - "description": "The unique identifier of the store for which to return the payment methods.", - "disabled": true - }, - { - "key": "businessLineId", - "value": "businessLineId_example", - "description": "The unique identifier of the Business Line for which to return the payment methods.", - "disabled": true - }, - { - "key": "pageSize", - "value": "56", - "description": "The number of items to have on a page, maximum 100. The default is 10 items on a page.", - "disabled": true - }, - { - "key": "pageNumber", - "value": "56", - "description": "The number of the page to fetch.", - "disabled": true - } - ] - }, - "description": "Returns details for all payment methods of the merchant account identified in the path. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Payment methods read " - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/merchants/:merchantId/paymentMethodSettings", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "merchants", + ":merchantId", + "paymentMethodSettings" + ], + "variable": [ + { + "key": "merchantId", + "value": "{{YOUR_MERCHANT_ACCOUNT}}", + "description": "The unique identifier of the merchant account." + } + ], + "query": [ + { + "key": "storeId", + "value": "storeId_example", + "description": "The unique identifier of the store for which to return the payment methods.", + "disabled": true + }, + { + "key": "businessLineId", + "value": "businessLineId_example", + "description": "The unique identifier of the Business Line for which to return the payment methods.", + "disabled": true + }, + { + "key": "pageSize", + "value": "56", + "description": "The number of items to have on a page, maximum 100. The default is 10 items on a page.", + "disabled": true + }, + { + "key": "pageNumber", + "value": "56", + "description": "The number of the page to fetch.", + "disabled": true + } + ] + }, + "description": "Returns details for all payment methods of the merchant account identified in the path. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Payment methods read " +} + ,"response": [ + ] } ] - } -, + }, { "name": "/merchants/:merchantId/paymentMethodSettings", "description": "Sends a request to add a new payment method to the merchant account identified in the path. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Payment methods read and write ", @@ -4319,106 +5903,225 @@ { "name": "Request a payment method", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"type\" : \"visa\",\n \"currencies\" : [ \"USD\" ],\n \"countries\" : [ \"US\" ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/merchants/:merchantId/paymentMethodSettings", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "merchants", + ":merchantId", + "paymentMethodSettings" + ], + "variable": [ + { + "key": "merchantId", + "value": "{{YOUR_MERCHANT_ACCOUNT}}", + "description": "The unique identifier of the merchant account." + } + ], + "query": [ + ] + }, + "description": "Sends a request to add a new payment method to the merchant account identified in the path. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Payment methods read and write " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"id\" : \"PM3227C223224K5FH84M8CBNH\",\n \"type\" : \"visa\",\n \"countries\" : [ \"US\" ],\n \"currencies\" : [ \"USD\" ]\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"type\" : \"visa\",\n \"currencies\" : [ \"USD\" ],\n \"countries\" : [ \"US\" ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/merchants/:merchantId/paymentMethodSettings", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "merchants", + ":merchantId", + "paymentMethodSettings" + ], + "variable": [ + { + "key": "merchantId", + "value": "{{YOUR_MERCHANT_ACCOUNT}}", + "description": "The unique identifier of the merchant account." + } + ], + "query": [ + ] + }, + "description": "Sends a request to add a new payment method to the merchant account identified in the path. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Payment methods read and write " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"type\" : \"visa\",\n \"currencies\" : [ \"USD\" ],\n \"countries\" : [ \"US\" ]\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/merchants/:merchantId/paymentMethodSettings", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "merchants", - ":merchantId", - "paymentMethodSettings" - ], - "variable": [ - { - "key": "merchantId", - "value": "{{YOUR_MERCHANT_ACCOUNT}}", - "description": "The unique identifier of the merchant account." - } - ], - "query": [ - ] - }, - "description": "Sends a request to add a new payment method to the merchant account identified in the path. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Payment methods read and write " - } + ] }, { "name": "Request to add Swish", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"businessLineId\" : \"BL322KV223222D5F8H2J4BQ6C\",\n \"storeId\" : \"ST322LJ223223K5F4SQNR9XL5\",\n \"type\" : \"swish\",\n \"swish\" : {\n \"swishNumber\" : \"1231111111\"\n },\n \"currencies\" : [ \"SEK\" ],\n \"countries\" : [ \"SE\" ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/merchants/:merchantId/paymentMethodSettings", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "merchants", + ":merchantId", + "paymentMethodSettings" + ], + "variable": [ + { + "key": "merchantId", + "value": "{{YOUR_MERCHANT_ACCOUNT}}", + "description": "The unique identifier of the merchant account." + } + ], + "query": [ + ] + }, + "description": "Sends a request to add a new payment method to the merchant account identified in the path. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Payment methods read and write " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"id\" : \"PM3227C223224K5FH84M8CBNH\",\n \"businessLineId\" : \"BL322KV223222D5F8H2J4BQ6C\",\n \"storeId\" : \"ST322LJ223223K5F4SQNR9XL5\",\n \"type\" : \"swish\",\n \"countries\" : [ \"SE\" ],\n \"currencies\" : [ \"SEK\" ],\n \"swish\" : {\n \"swishNumber\" : \"1231111111\"\n }\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"businessLineId\" : \"BL322KV223222D5F8H2J4BQ6C\",\n \"storeId\" : \"ST322LJ223223K5F4SQNR9XL5\",\n \"type\" : \"swish\",\n \"swish\" : {\n \"swishNumber\" : \"1231111111\"\n },\n \"currencies\" : [ \"SEK\" ],\n \"countries\" : [ \"SE\" ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/merchants/:merchantId/paymentMethodSettings", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "merchants", + ":merchantId", + "paymentMethodSettings" + ], + "variable": [ + { + "key": "merchantId", + "value": "{{YOUR_MERCHANT_ACCOUNT}}", + "description": "The unique identifier of the merchant account." + } + ], + "query": [ + ] + }, + "description": "Sends a request to add a new payment method to the merchant account identified in the path. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Payment methods read and write " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"businessLineId\" : \"BL322KV223222D5F8H2J4BQ6C\",\n \"storeId\" : \"ST322LJ223223K5F4SQNR9XL5\",\n \"type\" : \"swish\",\n \"swish\" : {\n \"swishNumber\" : \"1231111111\"\n },\n \"currencies\" : [ \"SEK\" ],\n \"countries\" : [ \"SE\" ]\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/merchants/:merchantId/paymentMethodSettings", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "merchants", - ":merchantId", - "paymentMethodSettings" - ], - "variable": [ - { - "key": "merchantId", - "value": "{{YOUR_MERCHANT_ACCOUNT}}", - "description": "The unique identifier of the merchant account." - } - ], - "query": [ - ] - }, - "description": "Sends a request to add a new payment method to the merchant account identified in the path. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Payment methods read and write " - } + ] } ] - } -, + }, { "name": "/merchants/:merchantId/paymentMethodSettings/:paymentMethodId", "description": "Returns details for the merchant account and the payment method identified in the path. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Payment methods read ", @@ -4426,56 +6129,57 @@ { "name": "Get payment method details", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/merchants/:merchantId/paymentMethodSettings/:paymentMethodId", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "merchants", - ":merchantId", - "paymentMethodSettings", - ":paymentMethodId" - ], - "variable": [ - { - "key": "merchantId", - "value": "{{YOUR_MERCHANT_ACCOUNT}}", - "description": "The unique identifier of the merchant account." - }, - { - "key": "paymentMethodId", - "value": "", - "description": "The unique identifier of the payment method." - } - ], - "query": [ - ] - }, - "description": "Returns details for the merchant account and the payment method identified in the path. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Payment methods read " - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/merchants/:merchantId/paymentMethodSettings/:paymentMethodId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "merchants", + ":merchantId", + "paymentMethodSettings", + ":paymentMethodId" + ], + "variable": [ + { + "key": "merchantId", + "value": "{{YOUR_MERCHANT_ACCOUNT}}", + "description": "The unique identifier of the merchant account." + }, + { + "key": "paymentMethodId", + "value": "", + "description": "The unique identifier of the payment method." + } + ], + "query": [ + ] + }, + "description": "Returns details for the merchant account and the payment method identified in the path. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Payment methods read " +} + ,"response": [ + ] } ] - } -, + }, { "name": "/merchants/:merchantId/paymentMethodSettings/:paymentMethodId", "description": "Updates payment method details for the merchant account and the payment method identified in the path. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Payment methods read and write ", @@ -4483,62 +6187,63 @@ { "name": "Update a payment method", "request": { - "method": "PATCH", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"bcmc\": \"\",\n \"cartesBancaires\": \"\",\n \"countries\": \"\",\n \"cup\": \"\",\n \"currencies\": \"\",\n \"customRoutingFlags\": \"\",\n \"diners\": \"\",\n \"discover\": \"\",\n \"eftpos_australia\": \"\",\n \"enabled\": \"\",\n \"girocard\": \"\",\n \"ideal\": \"\",\n \"interac_card\": \"\",\n \"jcb\": \"\",\n \"maestro\": \"\",\n \"mc\": \"\",\n \"storeIds\": \"\",\n \"visa\": \"\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/merchants/:merchantId/paymentMethodSettings/:paymentMethodId", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "merchants", - ":merchantId", - "paymentMethodSettings", - ":paymentMethodId" - ], - "variable": [ - { - "key": "merchantId", - "value": "{{YOUR_MERCHANT_ACCOUNT}}", - "description": "The unique identifier of the merchant account." - }, - { - "key": "paymentMethodId", - "value": "", - "description": "The unique identifier of the payment method." - } - ], - "query": [ - ] - }, - "description": "Updates payment method details for the merchant account and the payment method identified in the path. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Payment methods read and write " - } + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"bcmc\": \"\",\n \"cartesBancaires\": \"\",\n \"countries\": \"\",\n \"cup\": \"\",\n \"currencies\": \"\",\n \"customRoutingFlags\": \"\",\n \"diners\": \"\",\n \"discover\": \"\",\n \"eftpos_australia\": \"\",\n \"enabled\": \"\",\n \"girocard\": \"\",\n \"ideal\": \"\",\n \"interac_card\": \"\",\n \"jcb\": \"\",\n \"maestro\": \"\",\n \"mc\": \"\",\n \"storeIds\": \"\",\n \"visa\": \"\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/merchants/:merchantId/paymentMethodSettings/:paymentMethodId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "merchants", + ":merchantId", + "paymentMethodSettings", + ":paymentMethodId" + ], + "variable": [ + { + "key": "merchantId", + "value": "{{YOUR_MERCHANT_ACCOUNT}}", + "description": "The unique identifier of the merchant account." + }, + { + "key": "paymentMethodId", + "value": "", + "description": "The unique identifier of the payment method." + } + ], + "query": [ + ] + }, + "description": "Updates payment method details for the merchant account and the payment method identified in the path. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Payment methods read and write " +} + ,"response": [ + ] } ] - } -, + }, { "name": "/merchants/:merchantId/paymentMethodSettings/:paymentMethodId/addApplePayDomains", "description": "Adds the new domain to the list of Apple Pay domains that are registered with the merchant account and the payment method identified in the path. For more information, see [Apple Pay documentation](https://docs.adyen.com/payment-methods/apple-pay/enable-apple-pay#register-merchant-domain). To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Payment methods read and write ", @@ -4546,63 +6251,64 @@ { "name": "Add an Apple Pay domain", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"domains\" : [ \"https://example.com\" ]\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/merchants/:merchantId/paymentMethodSettings/:paymentMethodId/addApplePayDomains", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "merchants", - ":merchantId", - "paymentMethodSettings", - ":paymentMethodId", - "addApplePayDomains" - ], - "variable": [ - { - "key": "merchantId", - "value": "{{YOUR_MERCHANT_ACCOUNT}}", - "description": "The unique identifier of the merchant account." - }, - { - "key": "paymentMethodId", - "value": "", - "description": "The unique identifier of the payment method." - } - ], - "query": [ - ] - }, - "description": "Adds the new domain to the list of Apple Pay domains that are registered with the merchant account and the payment method identified in the path. For more information, see [Apple Pay documentation](https://docs.adyen.com/payment-methods/apple-pay/enable-apple-pay#register-merchant-domain). To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Payment methods read and write " - } + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"domains\" : [ \"https://example.com\" ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/merchants/:merchantId/paymentMethodSettings/:paymentMethodId/addApplePayDomains", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "merchants", + ":merchantId", + "paymentMethodSettings", + ":paymentMethodId", + "addApplePayDomains" + ], + "variable": [ + { + "key": "merchantId", + "value": "{{YOUR_MERCHANT_ACCOUNT}}", + "description": "The unique identifier of the merchant account." + }, + { + "key": "paymentMethodId", + "value": "", + "description": "The unique identifier of the payment method." + } + ], + "query": [ + ] + }, + "description": "Adds the new domain to the list of Apple Pay domains that are registered with the merchant account and the payment method identified in the path. For more information, see [Apple Pay documentation](https://docs.adyen.com/payment-methods/apple-pay/enable-apple-pay#register-merchant-domain). To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Payment methods read and write " +} + ,"response": [ + ] } ] - } -, + }, { "name": "/merchants/:merchantId/paymentMethodSettings/:paymentMethodId/getApplePayDomains", "description": "Returns all Apple Pay domains that are registered with the merchant account and the payment method identified in the path. For more information, see [Apple Pay documentation](https://docs.adyen.com/payment-methods/apple-pay/enable-apple-pay#register-merchant-domain). To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Payment methods read ", @@ -4610,57 +6316,58 @@ { "name": "Get Apple Pay domains", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/merchants/:merchantId/paymentMethodSettings/:paymentMethodId/getApplePayDomains", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "merchants", - ":merchantId", - "paymentMethodSettings", - ":paymentMethodId", - "getApplePayDomains" - ], - "variable": [ - { - "key": "merchantId", - "value": "{{YOUR_MERCHANT_ACCOUNT}}", - "description": "The unique identifier of the merchant account." - }, - { - "key": "paymentMethodId", - "value": "", - "description": "The unique identifier of the payment method." - } - ], - "query": [ - ] - }, - "description": "Returns all Apple Pay domains that are registered with the merchant account and the payment method identified in the path. For more information, see [Apple Pay documentation](https://docs.adyen.com/payment-methods/apple-pay/enable-apple-pay#register-merchant-domain). To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Payment methods read " - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/merchants/:merchantId/paymentMethodSettings/:paymentMethodId/getApplePayDomains", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "merchants", + ":merchantId", + "paymentMethodSettings", + ":paymentMethodId", + "getApplePayDomains" + ], + "variable": [ + { + "key": "merchantId", + "value": "{{YOUR_MERCHANT_ACCOUNT}}", + "description": "The unique identifier of the merchant account." + }, + { + "key": "paymentMethodId", + "value": "", + "description": "The unique identifier of the payment method." + } + ], + "query": [ + ] + }, + "description": "Returns all Apple Pay domains that are registered with the merchant account and the payment method identified in the path. For more information, see [Apple Pay documentation](https://docs.adyen.com/payment-methods/apple-pay/enable-apple-pay#register-merchant-domain). To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Payment methods read " +} + ,"response": [ + ] } ] } - ] }, { @@ -4673,43 +6380,44 @@ { "name": "Get API credential details", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/me", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "me" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Returns your [API credential](https://docs.adyen.com/development-resources/api-credentials) details based on the API Key you used in the request. You can make this request with any of the Management API roles." - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/me", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "me" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Returns your [API credential](https://docs.adyen.com/development-resources/api-credentials) details based on the API Key you used in the request. You can make this request with any of the Management API roles." +} + ,"response": [ + ] } ] - } -, + }, { "name": "/me/allowedOrigins", "description": "Returns the list of [allowed origins](https://docs.adyen.com/development-resources/client-side-authentication#allowed-origins) of your [API credential](https://docs.adyen.com/development-resources/api-credentials) based on the API key you used in the request. You can make this request with any of the Management API roles.", @@ -4717,44 +6425,45 @@ { "name": "Get allowed origins", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/me/allowedOrigins", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "me", - "allowedOrigins" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Returns the list of [allowed origins](https://docs.adyen.com/development-resources/client-side-authentication#allowed-origins) of your [API credential](https://docs.adyen.com/development-resources/api-credentials) based on the API key you used in the request. You can make this request with any of the Management API roles." - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/me/allowedOrigins", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "me", + "allowedOrigins" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Returns the list of [allowed origins](https://docs.adyen.com/development-resources/client-side-authentication#allowed-origins) of your [API credential](https://docs.adyen.com/development-resources/api-credentials) based on the API key you used in the request. You can make this request with any of the Management API roles." +} + ,"response": [ + ] } ] - } -, + }, { "name": "/me/allowedOrigins", "description": "Adds an allowed origin to the list of [allowed origins](https://docs.adyen.com/development-resources/client-side-authentication#allowed-origins) of your API credential. The API key from the request is used to identify the [API credential](https://docs.adyen.com/development-resources/api-credentials). You can make this request with any of the Management API roles.", @@ -4762,50 +6471,51 @@ { "name": "Add allowed origin", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"_links\": \"\",\n \"domain\": \"\",\n \"id\": \"\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/me/allowedOrigins", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "me", - "allowedOrigins" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Adds an allowed origin to the list of [allowed origins](https://docs.adyen.com/development-resources/client-side-authentication#allowed-origins) of your API credential. The API key from the request is used to identify the [API credential](https://docs.adyen.com/development-resources/api-credentials). You can make this request with any of the Management API roles." - } + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"_links\": \"\",\n \"domain\": \"\",\n \"id\": \"\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/me/allowedOrigins", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "me", + "allowedOrigins" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Adds an allowed origin to the list of [allowed origins](https://docs.adyen.com/development-resources/client-side-authentication#allowed-origins) of your API credential. The API key from the request is used to identify the [API credential](https://docs.adyen.com/development-resources/api-credentials). You can make this request with any of the Management API roles." +} + ,"response": [ + ] } ] - } -, + }, { "name": "/me/allowedOrigins/:originId", "description": "Removes the [allowed origin](https://docs.adyen.com/development-resources/client-side-authentication#allowed-origins) specified in the path. The API key from the request is used to identify the [API credential](https://docs.adyen.com/development-resources/api-credentials). You can make this request with any of the Management API roles.", @@ -4813,50 +6523,51 @@ { "name": "Remove allowed origin", "request": { - "method": "DELETE", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/me/allowedOrigins/:originId", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "me", - "allowedOrigins", - ":originId" - ], - "variable": [ - { - "key": "originId", - "value": "", - "description": "Unique identifier of the allowed origin." - } - ], - "query": [ - ] - }, - "description": "Removes the [allowed origin](https://docs.adyen.com/development-resources/client-side-authentication#allowed-origins) specified in the path. The API key from the request is used to identify the [API credential](https://docs.adyen.com/development-resources/api-credentials). You can make this request with any of the Management API roles." - } + "method": "DELETE", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/me/allowedOrigins/:originId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "me", + "allowedOrigins", + ":originId" + ], + "variable": [ + { + "key": "originId", + "value": "", + "description": "Unique identifier of the allowed origin." + } + ], + "query": [ + ] + }, + "description": "Removes the [allowed origin](https://docs.adyen.com/development-resources/client-side-authentication#allowed-origins) specified in the path. The API key from the request is used to identify the [API credential](https://docs.adyen.com/development-resources/api-credentials). You can make this request with any of the Management API roles." +} + ,"response": [ + ] } ] - } -, + }, { "name": "/me/allowedOrigins/:originId", "description": "Returns the details of the [allowed origin](https://docs.adyen.com/development-resources/client-side-authentication#allowed-origins) specified in the path. The API key from the request is used to identify the [API credential](https://docs.adyen.com/development-resources/api-credentials). You can make this request with any of the Management API roles.", @@ -4864,50 +6575,51 @@ { "name": "Get allowed origin details", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/me/allowedOrigins/:originId", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "me", - "allowedOrigins", - ":originId" - ], - "variable": [ - { - "key": "originId", - "value": "", - "description": "Unique identifier of the allowed origin." - } - ], - "query": [ - ] - }, - "description": "Returns the details of the [allowed origin](https://docs.adyen.com/development-resources/client-side-authentication#allowed-origins) specified in the path. The API key from the request is used to identify the [API credential](https://docs.adyen.com/development-resources/api-credentials). You can make this request with any of the Management API roles." - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/me/allowedOrigins/:originId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "me", + "allowedOrigins", + ":originId" + ], + "variable": [ + { + "key": "originId", + "value": "", + "description": "Unique identifier of the allowed origin." + } + ], + "query": [ + ] + }, + "description": "Returns the details of the [allowed origin](https://docs.adyen.com/development-resources/client-side-authentication#allowed-origins) specified in the path. The API key from the request is used to identify the [API credential](https://docs.adyen.com/development-resources/api-credentials). You can make this request with any of the Management API roles." +} + ,"response": [ + ] } ] - } -, + }, { "name": "/me/generateClientKey", "description": "Generates a new [client key](https://docs.adyen.com/development-resources/client-side-authentication/) used to authenticate requests from your payment environment. You can use the new client key a few minutes after generating it. The old client key stops working 24 hours after generating a new one. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—API credentials read and write", @@ -4915,44 +6627,45 @@ { "name": "Generate a client key", "request": { - "method": "POST", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/me/generateClientKey", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "me", - "generateClientKey" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Generates a new [client key](https://docs.adyen.com/development-resources/client-side-authentication/) used to authenticate requests from your payment environment. You can use the new client key a few minutes after generating it. The old client key stops working 24 hours after generating a new one. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—API credentials read and write" - } + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/me/generateClientKey", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "me", + "generateClientKey" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Generates a new [client key](https://docs.adyen.com/development-resources/client-side-authentication/) used to authenticate requests from your payment environment. You can use the new client key a few minutes after generating it. The old client key stops working 24 hours after generating a new one. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—API credentials read and write" +} + ,"response": [ + ] } ] } - ] }, { @@ -4965,56 +6678,57 @@ { "name": "Get the terminal logo", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/merchants/:merchantId/terminalLogos", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "merchants", - ":merchantId", - "terminalLogos" - ], - "variable": [ - { - "key": "merchantId", - "value": "{{YOUR_MERCHANT_ACCOUNT}}", - "description": "The unique identifier of the merchant account." - } - ], - "query": [ - { - "key": "model", - "value": "model_example", - "description": "The terminal model. Possible values: E355, VX675WIFIBT, VX680, VX690, VX700, VX820, M400, MX925, P400Plus, UX300, UX410, V200cPlus, V240mPlus, V400cPlus, V400m, e280, e285, e285p, S1E, S1EL, S1F2, S1L, S1U, S7T.", - "disabled": false - } - ] - }, - "description": "Returns the logo that is configured for a specific payment terminal model at the merchant account identified in the path. The logo is returned as a Base64-encoded string. You need to Base64-decode the string to get the actual image file. This logo applies to all terminals of the specified model under the merchant account, unless a different logo is configured at a lower level (store or individual terminal). To make this request, your API credential must have one of the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal settings read * Management API—Terminal settings read and write" - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/merchants/:merchantId/terminalLogos", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "merchants", + ":merchantId", + "terminalLogos" + ], + "variable": [ + { + "key": "merchantId", + "value": "{{YOUR_MERCHANT_ACCOUNT}}", + "description": "The unique identifier of the merchant account." + } + ], + "query": [ + { + "key": "model", + "value": "model_example", + "description": "The terminal model. Possible values: E355, VX675WIFIBT, VX680, VX690, VX700, VX820, M400, MX925, P400Plus, UX300, UX410, V200cPlus, V240mPlus, V400cPlus, V400m, e280, e285, e285p, S1E, S1EL, S1F2, S1L, S1U, S7T.", + "disabled": false + } + ] + }, + "description": "Returns the logo that is configured for a specific payment terminal model at the merchant account identified in the path. The logo is returned as a Base64-encoded string. You need to Base64-decode the string to get the actual image file. This logo applies to all terminals of the specified model under the merchant account, unless a different logo is configured at a lower level (store or individual terminal). To make this request, your API credential must have one of the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal settings read * Management API—Terminal settings read and write" +} + ,"response": [ + ] } ] - } -, + }, { "name": "/merchants/:merchantId/terminalLogos", "description": "Updates the logo for a specific payment terminal model at the merchant account identified in the path. You can update the logo for only one terminal model at a time. This logo applies to all terminals of the specified model under the merchant account, unless a different logo is configured at a lower level (store or individual terminal). * To change the logo, specify the image file as a Base64-encoded string. * To restore the logo inherited from the company account, specify an empty logo value. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal settings read and write", @@ -5022,118 +6736,249 @@ { "name": "Remove logo to restore the logo from a higher level", "request": { - "method": "PATCH", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"data\" : \"\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/merchants/:merchantId/terminalLogos", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "merchants", + ":merchantId", + "terminalLogos" + ], + "variable": [ + { + "key": "merchantId", + "value": "{{YOUR_MERCHANT_ACCOUNT}}", + "description": "The unique identifier of the merchant account." + } + ], + "query": [ + { + "key": "model", + "value": "model_example", + "description": "The terminal model. Allowed values: E355, VX675WIFIBT, VX680, VX690, VX700, VX820, M400, MX925, P400Plus, UX300, UX410, V200cPlus, V240mPlus, V400cPlus, V400m, e280, e285, e285p, S1E, S1EL, S1F2, S1L, S1U, S7T.", + "disabled": false + } + ] + }, + "description": "Updates the logo for a specific payment terminal model at the merchant account identified in the path. You can update the logo for only one terminal model at a time. This logo applies to all terminals of the specified model under the merchant account, unless a different logo is configured at a lower level (store or individual terminal). * To change the logo, specify the image file as a Base64-encoded string. * To restore the logo inherited from the company account, specify an empty logo value. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal settings read and write" +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"data\" : \"LOGO_INHERITED_FROM_HIGHER_LEVEL_BASE-64_ENCODED_STRING\"\n}", + "originalRequest": { + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"data\" : \"\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/merchants/:merchantId/terminalLogos", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "merchants", + ":merchantId", + "terminalLogos" + ], + "variable": [ + { + "key": "merchantId", + "value": "{{YOUR_MERCHANT_ACCOUNT}}", + "description": "The unique identifier of the merchant account." + } + ], + "query": [ + { + "key": "model", + "value": "model_example", + "description": "The terminal model. Allowed values: E355, VX675WIFIBT, VX680, VX690, VX700, VX820, M400, MX925, P400Plus, UX300, UX410, V200cPlus, V240mPlus, V400cPlus, V400m, e280, e285, e285p, S1E, S1EL, S1F2, S1L, S1U, S7T.", + "disabled": false + } + ] + }, + "description": "Updates the logo for a specific payment terminal model at the merchant account identified in the path. You can update the logo for only one terminal model at a time. This logo applies to all terminals of the specified model under the merchant account, unless a different logo is configured at a lower level (store or individual terminal). * To change the logo, specify the image file as a Base64-encoded string. * To restore the logo inherited from the company account, specify an empty logo value. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal settings read and write" +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"data\" : \"\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/merchants/:merchantId/terminalLogos", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "merchants", - ":merchantId", - "terminalLogos" - ], - "variable": [ - { - "key": "merchantId", - "value": "{{YOUR_MERCHANT_ACCOUNT}}", - "description": "The unique identifier of the merchant account." - } - ], - "query": [ - { - "key": "model", - "value": "model_example", - "description": "The terminal model. Allowed values: E355, VX675WIFIBT, VX680, VX690, VX700, VX820, M400, MX925, P400Plus, UX300, UX410, V200cPlus, V240mPlus, V400cPlus, V400m, e280, e285, e285p, S1E, S1EL, S1F2, S1L, S1U, S7T.", - "disabled": false - } - ] - }, - "description": "Updates the logo for a specific payment terminal model at the merchant account identified in the path. You can update the logo for only one terminal model at a time. This logo applies to all terminals of the specified model under the merchant account, unless a different logo is configured at a lower level (store or individual terminal). * To change the logo, specify the image file as a Base64-encoded string. * To restore the logo inherited from the company account, specify an empty logo value. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal settings read and write" - } + ] }, { "name": "Upload terminal logo", "request": { - "method": "PATCH", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"data\" : \"LOGO_FILE_CONVERTED_TO_A_BASE-64_ENCODED_STRING\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/merchants/:merchantId/terminalLogos", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "merchants", + ":merchantId", + "terminalLogos" + ], + "variable": [ + { + "key": "merchantId", + "value": "{{YOUR_MERCHANT_ACCOUNT}}", + "description": "The unique identifier of the merchant account." + } + ], + "query": [ + { + "key": "model", + "value": "model_example", + "description": "The terminal model. Allowed values: E355, VX675WIFIBT, VX680, VX690, VX700, VX820, M400, MX925, P400Plus, UX300, UX410, V200cPlus, V240mPlus, V400cPlus, V400m, e280, e285, e285p, S1E, S1EL, S1F2, S1L, S1U, S7T.", + "disabled": false + } + ] + }, + "description": "Updates the logo for a specific payment terminal model at the merchant account identified in the path. You can update the logo for only one terminal model at a time. This logo applies to all terminals of the specified model under the merchant account, unless a different logo is configured at a lower level (store or individual terminal). * To change the logo, specify the image file as a Base64-encoded string. * To restore the logo inherited from the company account, specify an empty logo value. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal settings read and write" +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"data\" : \"BASE-64_ENCODED_STRING_FROM_THE_REQUEST\"\n}", + "originalRequest": { + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"data\" : \"LOGO_FILE_CONVERTED_TO_A_BASE-64_ENCODED_STRING\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/merchants/:merchantId/terminalLogos", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "merchants", + ":merchantId", + "terminalLogos" + ], + "variable": [ + { + "key": "merchantId", + "value": "{{YOUR_MERCHANT_ACCOUNT}}", + "description": "The unique identifier of the merchant account." + } + ], + "query": [ + { + "key": "model", + "value": "model_example", + "description": "The terminal model. Allowed values: E355, VX675WIFIBT, VX680, VX690, VX700, VX820, M400, MX925, P400Plus, UX300, UX410, V200cPlus, V240mPlus, V400cPlus, V400m, e280, e285, e285p, S1E, S1EL, S1F2, S1L, S1U, S7T.", + "disabled": false + } + ] + }, + "description": "Updates the logo for a specific payment terminal model at the merchant account identified in the path. You can update the logo for only one terminal model at a time. This logo applies to all terminals of the specified model under the merchant account, unless a different logo is configured at a lower level (store or individual terminal). * To change the logo, specify the image file as a Base64-encoded string. * To restore the logo inherited from the company account, specify an empty logo value. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal settings read and write" +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"data\" : \"LOGO_FILE_CONVERTED_TO_A_BASE-64_ENCODED_STRING\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/merchants/:merchantId/terminalLogos", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "merchants", - ":merchantId", - "terminalLogos" - ], - "variable": [ - { - "key": "merchantId", - "value": "{{YOUR_MERCHANT_ACCOUNT}}", - "description": "The unique identifier of the merchant account." - } - ], - "query": [ - { - "key": "model", - "value": "model_example", - "description": "The terminal model. Allowed values: E355, VX675WIFIBT, VX680, VX690, VX700, VX820, M400, MX925, P400Plus, UX300, UX410, V200cPlus, V240mPlus, V400cPlus, V400m, e280, e285, e285p, S1E, S1EL, S1F2, S1L, S1U, S7T.", - "disabled": false - } - ] - }, - "description": "Updates the logo for a specific payment terminal model at the merchant account identified in the path. You can update the logo for only one terminal model at a time. This logo applies to all terminals of the specified model under the merchant account, unless a different logo is configured at a lower level (store or individual terminal). * To change the logo, specify the image file as a Base64-encoded string. * To restore the logo inherited from the company account, specify an empty logo value. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal settings read and write" - } + ] } ] - } -, + }, { "name": "/merchants/:merchantId/terminalSettings", "description": "Returns the payment terminal settings that are configured for the merchant account identified in the path. These settings apply to all terminals under the merchant account unless different values are configured at a lower level (store or individual terminal). To make this request, your API credential must have one of the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal settings read * Management API—Terminal settings read and write", @@ -5141,50 +6986,51 @@ { "name": "Get terminal settings", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/merchants/:merchantId/terminalSettings", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "merchants", - ":merchantId", - "terminalSettings" - ], - "variable": [ - { - "key": "merchantId", - "value": "{{YOUR_MERCHANT_ACCOUNT}}", - "description": "The unique identifier of the merchant account." - } - ], - "query": [ - ] - }, - "description": "Returns the payment terminal settings that are configured for the merchant account identified in the path. These settings apply to all terminals under the merchant account unless different values are configured at a lower level (store or individual terminal). To make this request, your API credential must have one of the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal settings read * Management API—Terminal settings read and write" - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/merchants/:merchantId/terminalSettings", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "merchants", + ":merchantId", + "terminalSettings" + ], + "variable": [ + { + "key": "merchantId", + "value": "{{YOUR_MERCHANT_ACCOUNT}}", + "description": "The unique identifier of the merchant account." + } + ], + "query": [ + ] + }, + "description": "Returns the payment terminal settings that are configured for the merchant account identified in the path. These settings apply to all terminals under the merchant account unless different values are configured at a lower level (store or individual terminal). To make this request, your API credential must have one of the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal settings read * Management API—Terminal settings read and write" +} + ,"response": [ + ] } ] - } -, + }, { "name": "/merchants/:merchantId/terminalSettings", "description": "Updates payment terminal settings for the merchant account identified in the path. These settings apply to all terminals under the merchant account, unless different values are configured at a lower level (store or individual terminal). * To change a parameter value, include the full object that contains the parameter, even if you don't want to change all parameters in the object. * To restore a parameter value inherited from a higher level, include the full object that contains the parameter, and specify an empty value for the parameter or omit the parameter. * Objects that are not included in the request are not updated. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal settings read and write", @@ -5192,106 +7038,225 @@ { "name": "Add EAP-PEAP and PSK Wi-Fi profiles", "request": { - "method": "PATCH", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"wifiProfiles\" : {\n \"profiles\" : [ {\n \"authType\" : \"wpa-eap\",\n \"autoWifi\" : false,\n \"bssType\" : \"infra\",\n \"channel\" : 0,\n \"defaultProfile\" : true,\n \"eap\" : \"peap\",\n \"eapCaCert\" : {\n \"data\" : \"MD1rKS05M2JqRVFNQ...RTtLH1tLWo=\",\n \"name\" : \"eap-peap-ca.pem\"\n },\n \"eapIdentity\" : \"admin\",\n \"eapIntermediateCert\" : {\n \"data\" : \"PD3tUS1CRDdJTiGDR...EFoLS0tLQg=\",\n \"name\" : \"eap-peap-client.pem\"\n },\n \"eapPwd\" : \"EAP_PEAP_PASSWORD\",\n \"hiddenSsid\" : false,\n \"name\" : \"Profile-eap-peap-1\",\n \"ssid\" : \"your-network\",\n \"wsec\" : \"ccmp\"\n }, {\n \"authType\" : \"wpa-psk\",\n \"autoWifi\" : false,\n \"bssType\" : \"infra\",\n \"channel\" : 0,\n \"defaultProfile\" : false,\n \"hiddenSsid\" : false,\n \"name\" : \"Profile-guest-wifi\",\n \"psk\" : \"WIFI_PASSWORD\",\n \"ssid\" : \"your-network\",\n \"wsec\" : \"ccmp\"\n } ],\n \"settings\" : {\n \"band\" : \"2.4GHz\",\n \"roaming\" : true,\n \"timeout\" : 5\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/merchants/:merchantId/terminalSettings", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "merchants", + ":merchantId", + "terminalSettings" + ], + "variable": [ + { + "key": "merchantId", + "value": "{{YOUR_MERCHANT_ACCOUNT}}", + "description": "The unique identifier of the merchant account." + } + ], + "query": [ + ] + }, + "description": "Updates payment terminal settings for the merchant account identified in the path. These settings apply to all terminals under the merchant account, unless different values are configured at a lower level (store or individual terminal). * To change a parameter value, include the full object that contains the parameter, even if you don't want to change all parameters in the object. * To restore a parameter value inherited from a higher level, include the full object that contains the parameter, and specify an empty value for the parameter or omit the parameter. * Objects that are not included in the request are not updated. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal settings read and write" +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"cardholderReceipt\" : {\n \"headerForAuthorizedReceipt\" : \"header1,header2,filler\"\n },\n \"gratuities\" : [ {\n \"currency\" : \"EUR\",\n \"usePredefinedTipEntries\" : true,\n \"predefinedTipEntries\" : [ \"100\", \"1%\", \"5%\" ],\n \"allowCustomAmount\" : true\n } ],\n \"nexo\" : {\n \"nexoEventUrls\" : [ \"https://your-event-notifications-endpoint.com\" ]\n },\n \"opi\" : {\n \"enablePayAtTable\" : true,\n \"payAtTableStoreNumber\" : \"1\",\n \"payAtTableURL\" : \"https:/your-pay-at-table-endpoint.com\"\n },\n \"offlineProcessing\" : {\n \"chipFloorLimit\" : 0\n },\n \"receiptOptions\" : {\n \"qrCodeData\" : \"http://www.example.com/order/${pspreference}/${merchantreference}\"\n },\n \"receiptPrinting\" : {\n \"shopperApproved\" : true,\n \"shopperRefused\" : true,\n \"shopperCancelled\" : true,\n \"shopperRefundApproved\" : true,\n \"shopperRefundRefused\" : true,\n \"shopperVoid\" : true\n },\n \"signature\" : {\n \"askSignatureOnScreen\" : true,\n \"skipSignature\" : false,\n \"deviceName\" : \"Amsterdam-236203386\"\n },\n \"wifiProfiles\" : {\n \"profiles\" : [ {\n \"authType\" : \"wpa-eap\",\n \"autoWifi\" : false,\n \"bssType\" : \"infra\",\n \"channel\" : 0,\n \"defaultProfile\" : true,\n \"eap\" : \"peap\",\n \"eapCaCert\" : {\n \"data\" : \"MD1rKS05M2JqRVFNQ...RTtLH1tLWo=\",\n \"name\" : \"eap-peap-ca.pem\"\n },\n \"eapIdentity\" : \"admin\",\n \"eapIntermediateCert\" : {\n \"data\" : \"PD3tUS1CRDdJTiGDR...EFoLS0tLQg=\",\n \"name\" : \"eap-peap-client.pem\"\n },\n \"eapPwd\" : \"EAP_PEAP_PASSWORD\",\n \"hiddenSsid\" : false,\n \"name\" : \"Profile-eap-peap-1\",\n \"ssid\" : \"your-network\",\n \"wsec\" : \"ccmp\"\n }, {\n \"authType\" : \"wpa-psk\",\n \"autoWifi\" : false,\n \"bssType\" : \"infra\",\n \"channel\" : 0,\n \"defaultProfile\" : false,\n \"hiddenSsid\" : false,\n \"name\" : \"Profile-guest-wifi\",\n \"psk\" : \"WIFI_PASSWORD\",\n \"ssid\" : \"your-network\",\n \"wsec\" : \"ccmp\"\n } ],\n \"settings\" : {\n \"band\" : \"2.4GHz\",\n \"roaming\" : true,\n \"timeout\" : 5\n }\n },\n \"timeouts\" : {\n \"fromActiveToSleep\" : 30\n },\n \"hardware\" : {\n \"displayMaximumBackLight\" : 75\n }\n}", + "originalRequest": { + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"wifiProfiles\" : {\n \"profiles\" : [ {\n \"authType\" : \"wpa-eap\",\n \"autoWifi\" : false,\n \"bssType\" : \"infra\",\n \"channel\" : 0,\n \"defaultProfile\" : true,\n \"eap\" : \"peap\",\n \"eapCaCert\" : {\n \"data\" : \"MD1rKS05M2JqRVFNQ...RTtLH1tLWo=\",\n \"name\" : \"eap-peap-ca.pem\"\n },\n \"eapIdentity\" : \"admin\",\n \"eapIntermediateCert\" : {\n \"data\" : \"PD3tUS1CRDdJTiGDR...EFoLS0tLQg=\",\n \"name\" : \"eap-peap-client.pem\"\n },\n \"eapPwd\" : \"EAP_PEAP_PASSWORD\",\n \"hiddenSsid\" : false,\n \"name\" : \"Profile-eap-peap-1\",\n \"ssid\" : \"your-network\",\n \"wsec\" : \"ccmp\"\n }, {\n \"authType\" : \"wpa-psk\",\n \"autoWifi\" : false,\n \"bssType\" : \"infra\",\n \"channel\" : 0,\n \"defaultProfile\" : false,\n \"hiddenSsid\" : false,\n \"name\" : \"Profile-guest-wifi\",\n \"psk\" : \"WIFI_PASSWORD\",\n \"ssid\" : \"your-network\",\n \"wsec\" : \"ccmp\"\n } ],\n \"settings\" : {\n \"band\" : \"2.4GHz\",\n \"roaming\" : true,\n \"timeout\" : 5\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/merchants/:merchantId/terminalSettings", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "merchants", + ":merchantId", + "terminalSettings" + ], + "variable": [ + { + "key": "merchantId", + "value": "{{YOUR_MERCHANT_ACCOUNT}}", + "description": "The unique identifier of the merchant account." + } + ], + "query": [ + ] + }, + "description": "Updates payment terminal settings for the merchant account identified in the path. These settings apply to all terminals under the merchant account, unless different values are configured at a lower level (store or individual terminal). * To change a parameter value, include the full object that contains the parameter, even if you don't want to change all parameters in the object. * To restore a parameter value inherited from a higher level, include the full object that contains the parameter, and specify an empty value for the parameter or omit the parameter. * Objects that are not included in the request are not updated. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal settings read and write" +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"wifiProfiles\" : {\n \"profiles\" : [ {\n \"authType\" : \"wpa-eap\",\n \"autoWifi\" : false,\n \"bssType\" : \"infra\",\n \"channel\" : 0,\n \"defaultProfile\" : true,\n \"eap\" : \"peap\",\n \"eapCaCert\" : {\n \"data\" : \"MD1rKS05M2JqRVFNQ...RTtLH1tLWo=\",\n \"name\" : \"eap-peap-ca.pem\"\n },\n \"eapIdentity\" : \"admin\",\n \"eapIntermediateCert\" : {\n \"data\" : \"PD3tUS1CRDdJTiGDR...EFoLS0tLQg=\",\n \"name\" : \"eap-peap-client.pem\"\n },\n \"eapPwd\" : \"EAP_PEAP_PASSWORD\",\n \"hiddenSsid\" : false,\n \"name\" : \"Profile-eap-peap-1\",\n \"ssid\" : \"your-network\",\n \"wsec\" : \"ccmp\"\n }, {\n \"authType\" : \"wpa-psk\",\n \"autoWifi\" : false,\n \"bssType\" : \"infra\",\n \"channel\" : 0,\n \"defaultProfile\" : false,\n \"hiddenSsid\" : false,\n \"name\" : \"Profile-guest-wifi\",\n \"psk\" : \"WIFI_PASSWORD\",\n \"ssid\" : \"your-network\",\n \"wsec\" : \"ccmp\"\n } ],\n \"settings\" : {\n \"band\" : \"2.4GHz\",\n \"roaming\" : true,\n \"timeout\" : 5\n }\n }\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/merchants/:merchantId/terminalSettings", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "merchants", - ":merchantId", - "terminalSettings" - ], - "variable": [ - { - "key": "merchantId", - "value": "{{YOUR_MERCHANT_ACCOUNT}}", - "description": "The unique identifier of the merchant account." - } - ], - "query": [ - ] - }, - "description": "Updates payment terminal settings for the merchant account identified in the path. These settings apply to all terminals under the merchant account, unless different values are configured at a lower level (store or individual terminal). * To change a parameter value, include the full object that contains the parameter, even if you don't want to change all parameters in the object. * To restore a parameter value inherited from a higher level, include the full object that contains the parameter, and specify an empty value for the parameter or omit the parameter. * Objects that are not included in the request are not updated. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal settings read and write" - } + ] }, { "name": "Add EAP-TLS Wi-Fi profile", "request": { - "method": "PATCH", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"wifiProfiles\" : {\n \"profiles\" : [ {\n \"authType\" : \"wpa-eap\",\n \"autoWifi\" : false,\n \"bssType\" : \"infra\",\n \"channel\" : 0,\n \"defaultProfile\" : true,\n \"eap\" : \"tls\",\n \"eapCaCert\" : {\n \"data\" : \"LS0tLS05M2JqRVFNQ...EUtLS0tLQo=\",\n \"name\" : \"eap-tls-ca.pem\"\n },\n \"eapClientCert\" : {\n \"data\" : \"LS0tLS1CRUdJTiBDR...EUtLS0tLQo=\",\n \"name\" : \"eap-tls-client.pem\"\n },\n \"eapClientKey\" : {\n \"data\" : \"AAAB3NzaC1...Rtah3KLFwPU=\",\n \"name\" : \"rsa-private.key\"\n },\n \"eapClientPwd\" : \"\",\n \"eapIdentity\" : \"admin\",\n \"hiddenSsid\" : false,\n \"name\" : \"Profile-eap-tls-1\",\n \"ssid\" : \"your-network\",\n \"wsec\" : \"ccmp\"\n } ],\n \"settings\" : {\n \"band\" : \"2.4GHz\",\n \"roaming\" : true,\n \"timeout\" : 5\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/merchants/:merchantId/terminalSettings", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "merchants", + ":merchantId", + "terminalSettings" + ], + "variable": [ + { + "key": "merchantId", + "value": "{{YOUR_MERCHANT_ACCOUNT}}", + "description": "The unique identifier of the merchant account." + } + ], + "query": [ + ] + }, + "description": "Updates payment terminal settings for the merchant account identified in the path. These settings apply to all terminals under the merchant account, unless different values are configured at a lower level (store or individual terminal). * To change a parameter value, include the full object that contains the parameter, even if you don't want to change all parameters in the object. * To restore a parameter value inherited from a higher level, include the full object that contains the parameter, and specify an empty value for the parameter or omit the parameter. * Objects that are not included in the request are not updated. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal settings read and write" +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"cardholderReceipt\" : {\n \"headerForAuthorizedReceipt\" : \"header1,header2,filler\"\n },\n \"gratuities\" : [ {\n \"currency\" : \"EUR\",\n \"usePredefinedTipEntries\" : true,\n \"predefinedTipEntries\" : [ \"100\", \"1%\", \"5%\" ],\n \"allowCustomAmount\" : true\n } ],\n \"nexo\" : {\n \"nexoEventUrls\" : [ \"https://your-event-notifications-endpoint.com\" ]\n },\n \"opi\" : {\n \"enablePayAtTable\" : true,\n \"payAtTableStoreNumber\" : \"1\",\n \"payAtTableURL\" : \"https:/your-pay-at-table-endpoint.com\"\n },\n \"offlineProcessing\" : {\n \"chipFloorLimit\" : 0\n },\n \"receiptOptions\" : {\n \"qrCodeData\" : \"http://www.example.com/order/${pspreference}/${merchantreference}\"\n },\n \"receiptPrinting\" : {\n \"shopperApproved\" : true,\n \"shopperRefused\" : true,\n \"shopperCancelled\" : true,\n \"shopperRefundApproved\" : true,\n \"shopperRefundRefused\" : true,\n \"shopperVoid\" : true\n },\n \"signature\" : {\n \"askSignatureOnScreen\" : true,\n \"skipSignature\" : false,\n \"deviceName\" : \"Amsterdam-236203386\"\n },\n \"wifiProfiles\" : {\n \"profiles\" : [ {\n \"authType\" : \"wpa-eap\",\n \"autoWifi\" : false,\n \"bssType\" : \"infra\",\n \"channel\" : 0,\n \"defaultProfile\" : true,\n \"eap\" : \"tls\",\n \"eapCaCert\" : {\n \"data\" : \"LS0tLS05M2JqRVFNQ...EUtLS0tLQo=\",\n \"name\" : \"eap-tls-ca.pem\"\n },\n \"eapClientCert\" : {\n \"data\" : \"LS0tLS1CRUdJTiBDR...EUtLS0tLQo=\",\n \"name\" : \"eap-tls-client.pem\"\n },\n \"eapClientKey\" : {\n \"data\" : \"AAAB3NzaC1...Rtah3KLFwPU=\",\n \"name\" : \"rsa-private.key\"\n },\n \"eapClientPwd\" : \"\",\n \"eapIdentity\" : \"admin\",\n \"hiddenSsid\" : false,\n \"name\" : \"Profile-eap-tls-1\",\n \"ssid\" : \"your-network\",\n \"wsec\" : \"ccmp\"\n } ],\n \"settings\" : {\n \"band\" : \"2.4GHz\",\n \"roaming\" : true,\n \"timeout\" : 5\n }\n },\n \"timeouts\" : {\n \"fromActiveToSleep\" : 30\n },\n \"hardware\" : {\n \"displayMaximumBackLight\" : 75\n }\n}", + "originalRequest": { + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"wifiProfiles\" : {\n \"profiles\" : [ {\n \"authType\" : \"wpa-eap\",\n \"autoWifi\" : false,\n \"bssType\" : \"infra\",\n \"channel\" : 0,\n \"defaultProfile\" : true,\n \"eap\" : \"tls\",\n \"eapCaCert\" : {\n \"data\" : \"LS0tLS05M2JqRVFNQ...EUtLS0tLQo=\",\n \"name\" : \"eap-tls-ca.pem\"\n },\n \"eapClientCert\" : {\n \"data\" : \"LS0tLS1CRUdJTiBDR...EUtLS0tLQo=\",\n \"name\" : \"eap-tls-client.pem\"\n },\n \"eapClientKey\" : {\n \"data\" : \"AAAB3NzaC1...Rtah3KLFwPU=\",\n \"name\" : \"rsa-private.key\"\n },\n \"eapClientPwd\" : \"\",\n \"eapIdentity\" : \"admin\",\n \"hiddenSsid\" : false,\n \"name\" : \"Profile-eap-tls-1\",\n \"ssid\" : \"your-network\",\n \"wsec\" : \"ccmp\"\n } ],\n \"settings\" : {\n \"band\" : \"2.4GHz\",\n \"roaming\" : true,\n \"timeout\" : 5\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/merchants/:merchantId/terminalSettings", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "merchants", + ":merchantId", + "terminalSettings" + ], + "variable": [ + { + "key": "merchantId", + "value": "{{YOUR_MERCHANT_ACCOUNT}}", + "description": "The unique identifier of the merchant account." + } + ], + "query": [ + ] + }, + "description": "Updates payment terminal settings for the merchant account identified in the path. These settings apply to all terminals under the merchant account, unless different values are configured at a lower level (store or individual terminal). * To change a parameter value, include the full object that contains the parameter, even if you don't want to change all parameters in the object. * To restore a parameter value inherited from a higher level, include the full object that contains the parameter, and specify an empty value for the parameter or omit the parameter. * Objects that are not included in the request are not updated. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal settings read and write" +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"wifiProfiles\" : {\n \"profiles\" : [ {\n \"authType\" : \"wpa-eap\",\n \"autoWifi\" : false,\n \"bssType\" : \"infra\",\n \"channel\" : 0,\n \"defaultProfile\" : true,\n \"eap\" : \"tls\",\n \"eapCaCert\" : {\n \"data\" : \"LS0tLS05M2JqRVFNQ...EUtLS0tLQo=\",\n \"name\" : \"eap-tls-ca.pem\"\n },\n \"eapClientCert\" : {\n \"data\" : \"LS0tLS1CRUdJTiBDR...EUtLS0tLQo=\",\n \"name\" : \"eap-tls-client.pem\"\n },\n \"eapClientKey\" : {\n \"data\" : \"AAAB3NzaC1...Rtah3KLFwPU=\",\n \"name\" : \"rsa-private.key\"\n },\n \"eapClientPwd\" : \"\",\n \"eapIdentity\" : \"admin\",\n \"hiddenSsid\" : false,\n \"name\" : \"Profile-eap-tls-1\",\n \"ssid\" : \"your-network\",\n \"wsec\" : \"ccmp\"\n } ],\n \"settings\" : {\n \"band\" : \"2.4GHz\",\n \"roaming\" : true,\n \"timeout\" : 5\n }\n }\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/merchants/:merchantId/terminalSettings", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "merchants", - ":merchantId", - "terminalSettings" - ], - "variable": [ - { - "key": "merchantId", - "value": "{{YOUR_MERCHANT_ACCOUNT}}", - "description": "The unique identifier of the merchant account." - } - ], - "query": [ - ] - }, - "description": "Updates payment terminal settings for the merchant account identified in the path. These settings apply to all terminals under the merchant account, unless different values are configured at a lower level (store or individual terminal). * To change a parameter value, include the full object that contains the parameter, even if you don't want to change all parameters in the object. * To restore a parameter value inherited from a higher level, include the full object that contains the parameter, and specify an empty value for the parameter or omit the parameter. * Objects that are not included in the request are not updated. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal settings read and write" - } + ] } ] } - ] }, { @@ -5304,91 +7269,92 @@ { "name": "Get a list of terminals", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/terminals", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "terminals" - ], - "variable": [ - ], - "query": [ - { - "key": "searchQuery", - "value": "searchQuery_example", - "description": "Returns terminals with an ID that contains the specified string. If present, other query parameters are ignored.", - "disabled": true - }, - { - "key": "otpQuery", - "value": "otpQuery_example", - "description": "Returns one or more terminals associated with the one-time passwords specified in the request. If this query parameter is used, other query parameters are ignored.", - "disabled": true - }, - { - "key": "countries", - "value": "countries_example", - "description": "Returns terminals located in the countries specified by their [two-letter country code](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2).", - "disabled": true - }, - { - "key": "merchantIds", - "value": "merchantIds_example", - "description": "Returns terminals that belong to the merchant accounts specified by their unique merchant account ID.", - "disabled": true - }, - { - "key": "storeIds", - "value": "storeIds_example", - "description": "Returns terminals that are assigned to the [stores](https://docs.adyen.com/api-explorer/#/ManagementService/latest/get/stores) specified by their unique store ID.", - "disabled": true - }, - { - "key": "brandModels", - "value": "brandModels_example", - "description": "Returns terminals of the [models](https://docs.adyen.com/api-explorer/#/ManagementService/latest/get/companies/{companyId}/terminalModels) specified in the format *brand.model*.", - "disabled": true - }, - { - "key": "pageNumber", - "value": "56", - "description": "The number of the page to fetch.", - "disabled": true - }, - { - "key": "pageSize", - "value": "56", - "description": "The number of items to have on a page, maximum 100. The default is 20 items on a page.", - "disabled": true - } - ] - }, - "description": "Returns the payment terminals that the API credential has access to and that match the query parameters. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API — Terminal actions read" - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/terminals", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "terminals" + ], + "variable": [ + ], + "query": [ + { + "key": "searchQuery", + "value": "searchQuery_example", + "description": "Returns terminals with an ID that contains the specified string. If present, other query parameters are ignored.", + "disabled": true + }, + { + "key": "otpQuery", + "value": "otpQuery_example", + "description": "Returns one or more terminals associated with the one-time passwords specified in the request. If this query parameter is used, other query parameters are ignored.", + "disabled": true + }, + { + "key": "countries", + "value": "countries_example", + "description": "Returns terminals located in the countries specified by their [two-letter country code](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2).", + "disabled": true + }, + { + "key": "merchantIds", + "value": "merchantIds_example", + "description": "Returns terminals that belong to the merchant accounts specified by their unique merchant account ID.", + "disabled": true + }, + { + "key": "storeIds", + "value": "storeIds_example", + "description": "Returns terminals that are assigned to the [stores](https://docs.adyen.com/api-explorer/#/ManagementService/latest/get/stores) specified by their unique store ID.", + "disabled": true + }, + { + "key": "brandModels", + "value": "brandModels_example", + "description": "Returns terminals of the [models](https://docs.adyen.com/api-explorer/#/ManagementService/latest/get/companies/{companyId}/terminalModels) specified in the format *brand.model*.", + "disabled": true + }, + { + "key": "pageNumber", + "value": "56", + "description": "The number of the page to fetch.", + "disabled": true + }, + { + "key": "pageSize", + "value": "56", + "description": "The number of items to have on a page, maximum 100. The default is 20 items on a page.", + "disabled": true + } + ] + }, + "description": "Returns the payment terminals that the API credential has access to and that match the query parameters. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API — Terminal actions read" +} + ,"response": [ + ] } ] } - ] }, { @@ -5401,62 +7367,63 @@ { "name": "List all webhooks", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/companies/:companyId/webhooks", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "companies", - ":companyId", - "webhooks" - ], - "variable": [ - { - "key": "companyId", - "value": "{{YOUR_COMPANY_ACCOUNT}}", - "description": "Unique identifier of the [company account](https://docs.adyen.com/account/account-structure#company-account)." - } - ], - "query": [ - { - "key": "pageNumber", - "value": "56", - "description": "The number of the page to fetch.", - "disabled": true - }, - { - "key": "pageSize", - "value": "56", - "description": "The number of items to have on a page, maximum 100. The default is 10 items on a page.", - "disabled": true - } - ] - }, - "description": "Lists all webhook configurations for the company account. To make this request, your API credential must have one of the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Webhooks read * Management API—Webhooks read and write" - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/companies/:companyId/webhooks", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "companies", + ":companyId", + "webhooks" + ], + "variable": [ + { + "key": "companyId", + "value": "{{YOUR_COMPANY_ACCOUNT}}", + "description": "Unique identifier of the [company account](https://docs.adyen.com/account/account-structure#company-account)." + } + ], + "query": [ + { + "key": "pageNumber", + "value": "56", + "description": "The number of the page to fetch.", + "disabled": true + }, + { + "key": "pageSize", + "value": "56", + "description": "The number of items to have on a page, maximum 100. The default is 10 items on a page.", + "disabled": true + } + ] + }, + "description": "Lists all webhook configurations for the company account. To make this request, your API credential must have one of the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Webhooks read * Management API—Webhooks read and write" +} + ,"response": [ + ] } ] - } -, + }, { "name": "/companies/:companyId/webhooks", "description": "Subscribe to receive webhook notifications about events related to your company account. You can add basic authentication to make sure the data is secure. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Webhooks read and write", @@ -5464,56 +7431,115 @@ { "name": "Add a webhook configuration", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"type\" : \"standard\",\n \"url\" : \"YOUR_WEBHOOK_URL\",\n \"username\" : \"YOUR_USER\",\n \"password\" : \"YOUR_PASSWORD\",\n \"active\" : true,\n \"sslVersion\" : \"TLSv1.2\",\n \"communicationFormat\" : \"soap\",\n \"acceptsExpiredCertificate\" : false,\n \"acceptsSelfSignedCertificate\" : true,\n \"acceptsUntrustedRootCertificate\" : true,\n \"populateSoapActionHeader\" : false,\n \"filterMerchantAccountType\" : \"includeAccounts\",\n \"filterMerchantAccounts\" : [ \"{{YOUR_MERCHANT_ACCOUNT}}\" ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/companies/:companyId/webhooks", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "companies", + ":companyId", + "webhooks" + ], + "variable": [ + { + "key": "companyId", + "value": "{{YOUR_COMPANY_ACCOUNT}}", + "description": "Unique identifier of the [company account](https://docs.adyen.com/account/account-structure#company-account)." + } + ], + "query": [ + ] + }, + "description": "Subscribe to receive webhook notifications about events related to your company account. You can add basic authentication to make sure the data is secure. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Webhooks read and write" +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"id\" : \"S2-6933523D2772\",\n \"type\" : \"standard\",\n \"url\" : \"YOUR_WEBHOOK_URL\",\n \"description\" : \"Webhook for YOUR_COMPANY_ACCOUNT - YOUR_COMPANY_CODE\",\n \"filterMerchantAccountType\" : \"includeAccounts\",\n \"filterMerchantAccounts\" : [ \"YOUR_MERCHANT_ACCOUNT\" ],\n \"username\" : \"myuser\",\n \"hasPassword\" : true,\n \"active\" : true,\n \"hasError\" : false,\n \"sslVersion\" : \"TLSv1.2\",\n \"communicationFormat\" : \"soap\",\n \"acceptsExpiredCertificate\" : false,\n \"acceptsSelfSignedCertificate\" : true,\n \"acceptsUntrustedRootCertificate\" : true,\n \"certificateAlias\" : \"signed-test.adyen.com_2023\",\n \"populateSoapActionHeader\" : false,\n \"additionalSettings\" : {\n \"properties\" : {\n \"includePosTerminalInfo\" : false,\n \"includeARN\" : false,\n \"includePosDetails\" : false,\n \"includeCardInfoForRecurringContractNotification\" : false,\n \"includeRiskData\" : false,\n \"includeRiskExperimentReference\" : false,\n \"includeSoapSecurityHeader\" : false,\n \"includeContactlessWalletTokenInformation\" : false,\n \"includeAcquirerReference\" : false,\n \"includeRiskProfileReference\" : false,\n \"includeOriginalMerchantReferenceCancelOrRefundNotification\" : false,\n \"includeNfcTokenInformation\" : false,\n \"includeSubvariant\" : false,\n \"includeThreeDSVersion\" : false,\n \"includeInstallmentsInfo\" : false,\n \"includeAliasInfo\" : false,\n \"includeShopperCountry\" : false,\n \"includeRawThreeDSecureResult\" : false,\n \"includeAirlineData\" : false,\n \"includeGrossCurrencyChargebackDetails\" : false,\n \"includeThreeDSecureResult\" : false,\n \"includeMetadataIn3DSecurePaymentNotification\" : false,\n \"includeOriginalReferenceForChargebackReversed\" : false,\n \"addAcquirerResult\" : false,\n \"includeDeliveryAddress\" : false,\n \"includeRetryAttempts\" : false,\n \"includeExtraCosts\" : false,\n \"includeCardHolderName\" : false,\n \"includeShopperDetail\" : false,\n \"includeBankAccountDetails\" : false,\n \"includeMandateDetails\" : false,\n \"includeAuthAmountForDynamicZeroAuth\" : false,\n \"includeIssuerCountry\" : false,\n \"includeAcquirerErrorDetails\" : false,\n \"includeCoBrandedWith\" : false,\n \"includeShopperInteraction\" : false,\n \"includeDeviceAndBrowserInfo\" : false,\n \"addRawAcquirerResult\" : false,\n \"includeCardBin\" : false,\n \"includeFundingSource\" : false,\n \"includeThreeDS2ChallengeInformation\" : false,\n \"includeRiskProfile\" : false,\n \"includeRealtimeAccountUpdaterStatus\" : false,\n \"includeDunningProjectData\" : false,\n \"includePaymentResultInOrderClosedNotification\" : false,\n \"includeCardBinDetails\" : false,\n \"includeNotesInManualReviewNotifications\" : false,\n \"includeZeroAuthFlag\" : false,\n \"addCaptureReferenceToDisputeNotification\" : false,\n \"includePayPalDetails\" : false,\n \"includeRawThreeDSecureDetailsResult\" : false,\n \"includeBankVerificationResults\" : false,\n \"includeCaptureDelayHours\" : false,\n \"addPaymentAccountReference\" : false,\n \"includePayULatamDetails\" : false,\n \"includeStore\" : false,\n \"returnAvsData\" : false,\n \"includeWeChatPayOpenid\" : false,\n \"includeUpiVpa\" : false,\n \"includeCustomRoutingFlagging\" : false,\n \"includeTokenisedPaymentMetaData\" : false\n }\n },\n \"_links\" : {\n \"self\" : {\n \"href\" : \"https://management-test.adyen.com/v1/companies/YOUR_COMPANY_ACCOUNT/webhooks/S2-6933523D2772\"\n },\n \"company\" : {\n \"href\" : \"https://management-test.adyen.com/v1/companies/YOUR_COMPANY_ACCOUNT\"\n },\n \"generateHmac\" : {\n \"href\" : \"https://management-test.adyen.com/v1/companies/YOUR_COMPANY_ACCOUNT/webhooks/S2-6933523D2772/generateHmac\"\n },\n \"testWebhook\" : {\n \"href\" : \"https://management-test.adyen.com/v1/companies/YOUR_COMPANY_ACCOUNT/webhooks/S2-6933523D2772/test\"\n }\n }\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"type\" : \"standard\",\n \"url\" : \"YOUR_WEBHOOK_URL\",\n \"username\" : \"YOUR_USER\",\n \"password\" : \"YOUR_PASSWORD\",\n \"active\" : true,\n \"sslVersion\" : \"TLSv1.2\",\n \"communicationFormat\" : \"soap\",\n \"acceptsExpiredCertificate\" : false,\n \"acceptsSelfSignedCertificate\" : true,\n \"acceptsUntrustedRootCertificate\" : true,\n \"populateSoapActionHeader\" : false,\n \"filterMerchantAccountType\" : \"includeAccounts\",\n \"filterMerchantAccounts\" : [ \"{{YOUR_MERCHANT_ACCOUNT}}\" ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/companies/:companyId/webhooks", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "companies", + ":companyId", + "webhooks" + ], + "variable": [ + { + "key": "companyId", + "value": "{{YOUR_COMPANY_ACCOUNT}}", + "description": "Unique identifier of the [company account](https://docs.adyen.com/account/account-structure#company-account)." + } + ], + "query": [ + ] + }, + "description": "Subscribe to receive webhook notifications about events related to your company account. You can add basic authentication to make sure the data is secure. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Webhooks read and write" +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"type\" : \"standard\",\n \"url\" : \"YOUR_WEBHOOK_URL\",\n \"username\" : \"YOUR_USER\",\n \"password\" : \"YOUR_PASSWORD\",\n \"active\" : true,\n \"sslVersion\" : \"TLSv1.2\",\n \"communicationFormat\" : \"soap\",\n \"acceptsExpiredCertificate\" : false,\n \"acceptsSelfSignedCertificate\" : true,\n \"acceptsUntrustedRootCertificate\" : true,\n \"populateSoapActionHeader\" : false,\n \"filterMerchantAccountType\" : \"includeAccounts\",\n \"filterMerchantAccounts\" : [ \"{{YOUR_MERCHANT_ACCOUNT}}\" ]\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/companies/:companyId/webhooks", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "companies", - ":companyId", - "webhooks" - ], - "variable": [ - { - "key": "companyId", - "value": "{{YOUR_COMPANY_ACCOUNT}}", - "description": "Unique identifier of the [company account](https://docs.adyen.com/account/account-structure#company-account)." - } - ], - "query": [ - ] - }, - "description": "Subscribe to receive webhook notifications about events related to your company account. You can add basic authentication to make sure the data is secure. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Webhooks read and write" - } + ] } ] - } -, + }, { "name": "/companies/:companyId/webhooks/:webhookId", "description": "Remove the configuration for the webhook identified in the path. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Webhooks read and write", @@ -5521,56 +7547,57 @@ { "name": "Remove a webhook", "request": { - "method": "DELETE", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/companies/:companyId/webhooks/:webhookId", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "companies", - ":companyId", - "webhooks", - ":webhookId" - ], - "variable": [ - { - "key": "companyId", - "value": "{{YOUR_COMPANY_ACCOUNT}}", - "description": "The unique identifier of the company account." - }, - { - "key": "webhookId", - "value": "", - "description": "Unique identifier of the webhook configuration." - } - ], - "query": [ - ] - }, - "description": "Remove the configuration for the webhook identified in the path. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Webhooks read and write" - } + "method": "DELETE", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/companies/:companyId/webhooks/:webhookId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "companies", + ":companyId", + "webhooks", + ":webhookId" + ], + "variable": [ + { + "key": "companyId", + "value": "{{YOUR_COMPANY_ACCOUNT}}", + "description": "The unique identifier of the company account." + }, + { + "key": "webhookId", + "value": "", + "description": "Unique identifier of the webhook configuration." + } + ], + "query": [ + ] + }, + "description": "Remove the configuration for the webhook identified in the path. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Webhooks read and write" +} + ,"response": [ + ] } ] - } -, + }, { "name": "/companies/:companyId/webhooks/:webhookId", "description": "Returns the configuration for the webhook identified in the path. To make this request, your API credential must have one of the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Webhooks read * Management API—Webhooks read and write", @@ -5578,56 +7605,57 @@ { "name": "Get a webhook", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/companies/:companyId/webhooks/:webhookId", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "companies", - ":companyId", - "webhooks", - ":webhookId" - ], - "variable": [ - { - "key": "companyId", - "value": "{{YOUR_COMPANY_ACCOUNT}}", - "description": "Unique identifier of the [company account](https://docs.adyen.com/account/account-structure#company-account)." - }, - { - "key": "webhookId", - "value": "", - "description": "Unique identifier of the webhook configuration." - } - ], - "query": [ - ] - }, - "description": "Returns the configuration for the webhook identified in the path. To make this request, your API credential must have one of the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Webhooks read * Management API—Webhooks read and write" - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/companies/:companyId/webhooks/:webhookId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "companies", + ":companyId", + "webhooks", + ":webhookId" + ], + "variable": [ + { + "key": "companyId", + "value": "{{YOUR_COMPANY_ACCOUNT}}", + "description": "Unique identifier of the [company account](https://docs.adyen.com/account/account-structure#company-account)." + }, + { + "key": "webhookId", + "value": "", + "description": "Unique identifier of the webhook configuration." + } + ], + "query": [ + ] + }, + "description": "Returns the configuration for the webhook identified in the path. To make this request, your API credential must have one of the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Webhooks read * Management API—Webhooks read and write" +} + ,"response": [ + ] } ] - } -, + }, { "name": "/companies/:companyId/webhooks/:webhookId", "description": "Make changes to the configuration of the webhook identified in the path. The request contains the new values you want to have in the webhook configuration. The response contains the full configuration for the webhook, which includes the new values from the request. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Webhooks read and write", @@ -5635,62 +7663,127 @@ { "name": "Activate the webhook", "request": { - "method": "PATCH", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"active\" : true\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/companies/:companyId/webhooks/:webhookId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "companies", + ":companyId", + "webhooks", + ":webhookId" + ], + "variable": [ + { + "key": "companyId", + "value": "{{YOUR_COMPANY_ACCOUNT}}", + "description": "The unique identifier of the company account." + }, + { + "key": "webhookId", + "value": "", + "description": "Unique identifier of the webhook configuration." + } + ], + "query": [ + ] + }, + "description": "Make changes to the configuration of the webhook identified in the path. The request contains the new values you want to have in the webhook configuration. The response contains the full configuration for the webhook, which includes the new values from the request. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Webhooks read and write" +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"id\" : \"S2-4A3B33202A46\",\n \"type\" : \"standard\",\n \"url\" : \"YOUR_WEBHOOK_URL\",\n \"description\" : \"Webhook for YOUR_COMPANY_ACCOUNT - YOUR_COMPANY_CODE\",\n \"filterMerchantAccountType\" : \"allAccounts\",\n \"username\" : \"\",\n \"hasPassword\" : false,\n \"active\" : true,\n \"hasError\" : false,\n \"sslVersion\" : \"TLSv1.2\",\n \"communicationFormat\" : \"json\",\n \"acceptsExpiredCertificate\" : false,\n \"acceptsSelfSignedCertificate\" : false,\n \"acceptsUntrustedRootCertificate\" : false,\n \"populateSoapActionHeader\" : false,\n \"additionalSettings\" : {\n \"properties\" : {\n \"includePosTerminalInfo\" : false,\n \"includeARN\" : false,\n \"includePosDetails\" : false,\n \"includeCardInfoForRecurringContractNotification\" : false,\n \"includeRiskData\" : false,\n \"includeRiskExperimentReference\" : false,\n \"includeSoapSecurityHeader\" : false,\n \"includeContactlessWalletTokenInformation\" : false,\n \"includeAcquirerReference\" : false,\n \"includeRiskProfileReference\" : false,\n \"includeOriginalMerchantReferenceCancelOrRefundNotification\" : false,\n \"includeNfcTokenInformation\" : false,\n \"includeSubvariant\" : false,\n \"includeThreeDSVersion\" : false,\n \"includeInstallmentsInfo\" : false,\n \"includeAliasInfo\" : false,\n \"includeShopperCountry\" : false,\n \"includeRawThreeDSecureResult\" : false,\n \"includeAirlineData\" : false,\n \"includeGrossCurrencyChargebackDetails\" : false,\n \"includeThreeDSecureResult\" : false,\n \"includeMetadataIn3DSecurePaymentNotification\" : false,\n \"includeOriginalReferenceForChargebackReversed\" : false,\n \"addAcquirerResult\" : false,\n \"includeDeliveryAddress\" : false,\n \"includeRetryAttempts\" : false,\n \"includeExtraCosts\" : false,\n \"includeCardHolderName\" : false,\n \"includeShopperDetail\" : false,\n \"includeBankAccountDetails\" : false,\n \"includeMandateDetails\" : false,\n \"includeAuthAmountForDynamicZeroAuth\" : false,\n \"includeIssuerCountry\" : false,\n \"includeAcquirerErrorDetails\" : false,\n \"includeCoBrandedWith\" : false,\n \"includeShopperInteraction\" : false,\n \"includeDeviceAndBrowserInfo\" : false,\n \"addRawAcquirerResult\" : false,\n \"includeCardBin\" : false,\n \"includeFundingSource\" : false,\n \"includeThreeDS2ChallengeInformation\" : false,\n \"includeRiskProfile\" : false,\n \"includeRealtimeAccountUpdaterStatus\" : false,\n \"includeDunningProjectData\" : false,\n \"includePaymentResultInOrderClosedNotification\" : false,\n \"includeCardBinDetails\" : false,\n \"includeNotesInManualReviewNotifications\" : false,\n \"includeZeroAuthFlag\" : false,\n \"addCaptureReferenceToDisputeNotification\" : false,\n \"includePayPalDetails\" : false,\n \"includeRawThreeDSecureDetailsResult\" : false,\n \"includeBankVerificationResults\" : false,\n \"includeCaptureDelayHours\" : false,\n \"addPaymentAccountReference\" : false,\n \"includePayULatamDetails\" : false,\n \"includeStore\" : false,\n \"returnAvsData\" : false,\n \"includeWeChatPayOpenid\" : false,\n \"includeUpiVpa\" : false,\n \"includeCustomRoutingFlagging\" : false,\n \"includeTokenisedPaymentMetaData\" : false\n }\n },\n \"_links\" : {\n \"self\" : {\n \"href\" : \"https://management-test.adyen.com/v1/companies/YOUR_COMPANY_ACCOUNT/webhooks/S2-4A3B33202A46\"\n },\n \"company\" : {\n \"href\" : \"https://management-test.adyen.com/v1/companies/YOUR_COMPANY_ACCOUNT\"\n },\n \"generateHmac\" : {\n \"href\" : \"https://management-test.adyen.com/v1/companies/YOUR_COMPANY_ACCOUNT/webhooks/S2-4A3B33202A46/generateHmac\"\n },\n \"testWebhook\" : {\n \"href\" : \"https://management-test.adyen.com/v1/companies/YOUR_COMPANY_ACCOUNT/webhooks/S2-4A3B33202A46/test\"\n }\n }\n}", + "originalRequest": { + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"active\" : true\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/companies/:companyId/webhooks/:webhookId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "companies", + ":companyId", + "webhooks", + ":webhookId" + ], + "variable": [ + { + "key": "companyId", + "value": "{{YOUR_COMPANY_ACCOUNT}}", + "description": "The unique identifier of the company account." + }, + { + "key": "webhookId", + "value": "", + "description": "Unique identifier of the webhook configuration." + } + ], + "query": [ + ] + }, + "description": "Make changes to the configuration of the webhook identified in the path. The request contains the new values you want to have in the webhook configuration. The response contains the full configuration for the webhook, which includes the new values from the request. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Webhooks read and write" +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"active\" : true\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/companies/:companyId/webhooks/:webhookId", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "companies", - ":companyId", - "webhooks", - ":webhookId" - ], - "variable": [ - { - "key": "companyId", - "value": "{{YOUR_COMPANY_ACCOUNT}}", - "description": "The unique identifier of the company account." - }, - { - "key": "webhookId", - "value": "", - "description": "Unique identifier of the webhook configuration." - } - ], - "query": [ - ] - }, - "description": "Make changes to the configuration of the webhook identified in the path. The request contains the new values you want to have in the webhook configuration. The response contains the full configuration for the webhook, which includes the new values from the request. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Webhooks read and write" - } + ] } ] - } -, + }, { "name": "/companies/:companyId/webhooks/:webhookId/generateHmac", "description": "Returns an [HMAC key](https://en.wikipedia.org/wiki/HMAC) for the webhook identified in the path. This key allows you to check the integrity and the origin of the notifications you receive.By creating an HMAC key, you start receiving [HMAC-signed notifications](https://docs.adyen.com/development-resources/webhooks/verify-hmac-signatures#enable-hmac-signatures) from Adyen. Find out more about how to [verify HMAC signatures](https://docs.adyen.com/development-resources/webhooks/verify-hmac-signatures). To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Webhooks read and write", @@ -5698,57 +7791,58 @@ { "name": "Generate an HMAC key", "request": { - "method": "POST", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/companies/:companyId/webhooks/:webhookId/generateHmac", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "companies", - ":companyId", - "webhooks", - ":webhookId", - "generateHmac" - ], - "variable": [ - { - "key": "companyId", - "value": "{{YOUR_COMPANY_ACCOUNT}}", - "description": "The unique identifier of the company account." - }, - { - "key": "webhookId", - "value": "", - "description": "Unique identifier of the webhook configuration." - } - ], - "query": [ - ] - }, - "description": "Returns an [HMAC key](https://en.wikipedia.org/wiki/HMAC) for the webhook identified in the path. This key allows you to check the integrity and the origin of the notifications you receive.By creating an HMAC key, you start receiving [HMAC-signed notifications](https://docs.adyen.com/development-resources/webhooks/verify-hmac-signatures#enable-hmac-signatures) from Adyen. Find out more about how to [verify HMAC signatures](https://docs.adyen.com/development-resources/webhooks/verify-hmac-signatures). To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Webhooks read and write" - } + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/companies/:companyId/webhooks/:webhookId/generateHmac", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "companies", + ":companyId", + "webhooks", + ":webhookId", + "generateHmac" + ], + "variable": [ + { + "key": "companyId", + "value": "{{YOUR_COMPANY_ACCOUNT}}", + "description": "The unique identifier of the company account." + }, + { + "key": "webhookId", + "value": "", + "description": "Unique identifier of the webhook configuration." + } + ], + "query": [ + ] + }, + "description": "Returns an [HMAC key](https://en.wikipedia.org/wiki/HMAC) for the webhook identified in the path. This key allows you to check the integrity and the origin of the notifications you receive.By creating an HMAC key, you start receiving [HMAC-signed notifications](https://docs.adyen.com/development-resources/webhooks/verify-hmac-signatures#enable-hmac-signatures) from Adyen. Find out more about how to [verify HMAC signatures](https://docs.adyen.com/development-resources/webhooks/verify-hmac-signatures). To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Webhooks read and write" +} + ,"response": [ + ] } ] - } -, + }, { "name": "/companies/:companyId/webhooks/:webhookId/test", "description": "Sends sample notifications to test if the webhook is set up correctly. We send sample notifications for maximum 20 of the merchant accounts that the webhook is configured for. If the webhook is configured for more than 20 merchant accounts, use the `merchantIds` array to specify a subset of the merchant accounts for which to send test notifications. We send four test notifications for each event code you choose. They cover success and failure scenarios for the hard-coded currencies EUR and GBP, regardless of the currencies configured in the merchant accounts. For custom notifications, we only send the specified custom notification. The response describes the result of the test. The `status` field tells you if the test was successful or not. You can use the other response fields to troubleshoot unsuccessful tests. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Webhooks read and write", @@ -5756,63 +7850,129 @@ { "name": "Test a webhook notification", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"notification\" : {\n \"paymentMethod\" : \"visa\",\n \"eventCode\" : \"AUTHORISATION\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 2000\n },\n \"reason\" : \"Authorize visa payment\",\n \"success\" : true\n },\n \"types\" : [ \"CUSTOM\" ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/companies/:companyId/webhooks/:webhookId/test", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "companies", + ":companyId", + "webhooks", + ":webhookId", + "test" + ], + "variable": [ + { + "key": "companyId", + "value": "{{YOUR_COMPANY_ACCOUNT}}", + "description": "The unique identifier of the company account." + }, + { + "key": "webhookId", + "value": "", + "description": "Unique identifier of the webhook configuration." + } + ], + "query": [ + ] + }, + "description": "Sends sample notifications to test if the webhook is set up correctly. We send sample notifications for maximum 20 of the merchant accounts that the webhook is configured for. If the webhook is configured for more than 20 merchant accounts, use the `merchantIds` array to specify a subset of the merchant accounts for which to send test notifications. We send four test notifications for each event code you choose. They cover success and failure scenarios for the hard-coded currencies EUR and GBP, regardless of the currencies configured in the merchant accounts. For custom notifications, we only send the specified custom notification. The response describes the result of the test. The `status` field tells you if the test was successful or not. You can use the other response fields to troubleshoot unsuccessful tests. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Webhooks read and write" +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"data\" : [ {\n \"merchantId\" : \"YOUR_MERCHANT_ACCOUNT_AU\",\n \"output\" : \"\",\n \"requestSent\" : \"{\\"live\\":\\"false\\",\\"notificationItems\\":[{\\"NotificationRequestItem\\":{\\"amount\\":{\\"currency\\":\\"EUR\\",\\"value\\":100},\\"eventCode\\":\\"AUTHORISATION\\",\\"eventDate\\":\\"2022-05-10T16:57:19+02:00\\",\\"merchantAccountCode\\":\\"YOUR_MERCHANT_ACCOUNT_AU\\",\\"merchantReference\\":\\"6GZBF5ML\\",\\"operations\\":[\\"CANCEL\\",\\"CAPTURE\\",\\"REFUND\\"],\\"paymentMethod\\":\\"visa\\",\\"pspReference\\":\\"KDN7UP7S1JIK6XES\\",\\"reason\\":\\"\\",\\"success\\":\\"true\\"}}]}\",\n \"responseCode\" : \"200\",\n \"responseTime\" : \"657 ms\",\n \"status\" : \"success\"\n }, {\n \"merchantId\" : \"YOUR_MERCHANT_ACCOUNT_EU\",\n \"output\" : \"\",\n \"requestSent\" : \"{\\"live\\":\\"false\\",\\"notificationItems\\":[{\\"NotificationRequestItem\\":{\\"amount\\":{\\"currency\\":\\"EUR\\",\\"value\\":100},\\"eventCode\\":\\"AUTHORISATION\\",\\"eventDate\\":\\"2022-05-10T16:57:19+02:00\\",\\"merchantAccountCode\\":\\"YOUR_MERCHANT_ACCOUNT_EU\\",\\"merchantReference\\":\\"6GZBF5ML\\",\\"operations\\":[\\"CANCEL\\",\\"CAPTURE\\",\\"REFUND\\"],\\"paymentMethod\\":\\"visa\\",\\"pspReference\\":\\"KDN7UP7S1JIK6XES\\",\\"reason\\":\\"\\",\\"success\\":\\"true\\"}}]}\",\n \"responseCode\" : \"200\",\n \"responseTime\" : \"590 ms\",\n \"status\" : \"success\"\n }, {\n \"merchantId\" : \"YOUR_MERCHANT_ACCOUNT_US\",\n \"output\" : \"\",\n \"requestSent\" : \"{\\"live\\":\\"false\\",\\"notificationItems\\":[{\\"NotificationRequestItem\\":{\\"amount\\":{\\"currency\\":\\"EUR\\",\\"value\\":100},\\"eventCode\\":\\"AUTHORISATION\\",\\"eventDate\\":\\"2022-05-10T16:57:19+02:00\\",\\"merchantAccountCode\\":\\"YOUR_MERCHANT_ACCOUNT_US\\",\\"merchantReference\\":\\"6GZBF5ML\\",\\"operations\\":[\\"CANCEL\\",\\"CAPTURE\\",\\"REFUND\\"],\\"paymentMethod\\":\\"visa\\",\\"pspReference\\":\\"KDN7UP7S1JIK6XES\\",\\"reason\\":\\"\\",\\"success\\":\\"true\\"}}]}\",\n \"responseCode\" : \"200\",\n \"responseTime\" : \"248 ms\",\n \"status\" : \"success\"\n } ]\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"notification\" : {\n \"paymentMethod\" : \"visa\",\n \"eventCode\" : \"AUTHORISATION\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 2000\n },\n \"reason\" : \"Authorize visa payment\",\n \"success\" : true\n },\n \"types\" : [ \"CUSTOM\" ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/companies/:companyId/webhooks/:webhookId/test", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "companies", + ":companyId", + "webhooks", + ":webhookId", + "test" + ], + "variable": [ + { + "key": "companyId", + "value": "{{YOUR_COMPANY_ACCOUNT}}", + "description": "The unique identifier of the company account." + }, + { + "key": "webhookId", + "value": "", + "description": "Unique identifier of the webhook configuration." + } + ], + "query": [ + ] + }, + "description": "Sends sample notifications to test if the webhook is set up correctly. We send sample notifications for maximum 20 of the merchant accounts that the webhook is configured for. If the webhook is configured for more than 20 merchant accounts, use the `merchantIds` array to specify a subset of the merchant accounts for which to send test notifications. We send four test notifications for each event code you choose. They cover success and failure scenarios for the hard-coded currencies EUR and GBP, regardless of the currencies configured in the merchant accounts. For custom notifications, we only send the specified custom notification. The response describes the result of the test. The `status` field tells you if the test was successful or not. You can use the other response fields to troubleshoot unsuccessful tests. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Webhooks read and write" +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"notification\" : {\n \"paymentMethod\" : \"visa\",\n \"eventCode\" : \"AUTHORISATION\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 2000\n },\n \"reason\" : \"Authorize visa payment\",\n \"success\" : true\n },\n \"types\" : [ \"CUSTOM\" ]\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/companies/:companyId/webhooks/:webhookId/test", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "companies", - ":companyId", - "webhooks", - ":webhookId", - "test" - ], - "variable": [ - { - "key": "companyId", - "value": "{{YOUR_COMPANY_ACCOUNT}}", - "description": "The unique identifier of the company account." - }, - { - "key": "webhookId", - "value": "", - "description": "Unique identifier of the webhook configuration." - } - ], - "query": [ - ] - }, - "description": "Sends sample notifications to test if the webhook is set up correctly. We send sample notifications for maximum 20 of the merchant accounts that the webhook is configured for. If the webhook is configured for more than 20 merchant accounts, use the `merchantIds` array to specify a subset of the merchant accounts for which to send test notifications. We send four test notifications for each event code you choose. They cover success and failure scenarios for the hard-coded currencies EUR and GBP, regardless of the currencies configured in the merchant accounts. For custom notifications, we only send the specified custom notification. The response describes the result of the test. The `status` field tells you if the test was successful or not. You can use the other response fields to troubleshoot unsuccessful tests. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Webhooks read and write" - } + ] } ] } - ] }, { @@ -5825,68 +7985,69 @@ { "name": "Get a list of stores", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/merchants/:merchantId/stores", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "merchants", - ":merchantId", - "stores" - ], - "variable": [ - { - "key": "merchantId", - "value": "{{YOUR_MERCHANT_ACCOUNT}}", - "description": "The unique identifier of the merchant account." - } - ], - "query": [ - { - "key": "pageNumber", - "value": "56", - "description": "The number of the page to fetch.", - "disabled": true - }, - { - "key": "pageSize", - "value": "56", - "description": "The number of items to have on a page, maximum 100. The default is 10 items on a page.", - "disabled": true - }, - { - "key": "reference", - "value": "reference_example", - "description": "The reference of the store.", - "disabled": true - } - ] - }, - "description": "Returns a list of stores for the merchant account identified in the path. The list is grouped into pages as defined by the query parameters. To make this request, your API credential must have one of the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Stores read * Management API—Stores read and write" - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/merchants/:merchantId/stores", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "merchants", + ":merchantId", + "stores" + ], + "variable": [ + { + "key": "merchantId", + "value": "{{YOUR_MERCHANT_ACCOUNT}}", + "description": "The unique identifier of the merchant account." + } + ], + "query": [ + { + "key": "pageNumber", + "value": "56", + "description": "The number of the page to fetch.", + "disabled": true + }, + { + "key": "pageSize", + "value": "56", + "description": "The number of items to have on a page, maximum 100. The default is 10 items on a page.", + "disabled": true + }, + { + "key": "reference", + "value": "reference_example", + "description": "The reference of the store.", + "disabled": true + } + ] + }, + "description": "Returns a list of stores for the merchant account identified in the path. The list is grouped into pages as defined by the query parameters. To make this request, your API credential must have one of the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Stores read * Management API—Stores read and write" +} + ,"response": [ + ] } ] - } -, + }, { "name": "/merchants/:merchantId/stores", "description": "Creates a store for the merchant account identified in the path. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Stores read and write", @@ -5894,56 +8055,115 @@ { "name": "Create a store under the merchant account specified in the path.", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"description\" : \"City centre store\",\n \"shopperStatement\" : \"Springfield Shop\",\n \"phoneNumber\" : \"1813702551707653\",\n \"reference\" : \"Spring_store_2\",\n \"address\" : {\n \"country\" : \"US\",\n \"line1\" : \"200 Main Street\",\n \"line2\" : \"Building 5A\",\n \"line3\" : \"Suite 3\",\n \"city\" : \"Springfield\",\n \"stateOrProvince\" : \"NY\",\n \"postalCode\" : \"20250\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/merchants/:merchantId/stores", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "merchants", + ":merchantId", + "stores" + ], + "variable": [ + { + "key": "merchantId", + "value": "{{YOUR_MERCHANT_ACCOUNT}}", + "description": "The unique identifier of the merchant account." + } + ], + "query": [ + ] + }, + "description": "Creates a store for the merchant account identified in the path. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Stores read and write" +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"id\" : \"YOUR_STORE_ID\",\n \"address\" : {\n \"country\" : \"US\",\n \"line1\" : \"200 Main Street\",\n \"line2\" : \"Building 5A\",\n \"line3\" : \"Suite 3\",\n \"city\" : \"Springfield\",\n \"stateOrProvince\" : \"NY\",\n \"postalCode\" : \"20250\"\n },\n \"description\" : \"City centre store\",\n \"merchantId\" : \"YOUR_MERCHANT_ACCOUNT_ID\",\n \"shopperStatement\" : \"Springfield Shop\",\n \"phoneNumber\" : \"1813702551707653\",\n \"reference\" : \"Spring_store_2\",\n \"status\" : \"active\",\n \"_links\" : {\n \"self\" : {\n \"href\" : \"https://management-test.adyen.com/v1/stores/YOUR_STORE_ID\"\n }\n }\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"description\" : \"City centre store\",\n \"shopperStatement\" : \"Springfield Shop\",\n \"phoneNumber\" : \"1813702551707653\",\n \"reference\" : \"Spring_store_2\",\n \"address\" : {\n \"country\" : \"US\",\n \"line1\" : \"200 Main Street\",\n \"line2\" : \"Building 5A\",\n \"line3\" : \"Suite 3\",\n \"city\" : \"Springfield\",\n \"stateOrProvince\" : \"NY\",\n \"postalCode\" : \"20250\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/merchants/:merchantId/stores", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "merchants", + ":merchantId", + "stores" + ], + "variable": [ + { + "key": "merchantId", + "value": "{{YOUR_MERCHANT_ACCOUNT}}", + "description": "The unique identifier of the merchant account." + } + ], + "query": [ + ] + }, + "description": "Creates a store for the merchant account identified in the path. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Stores read and write" +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"description\" : \"City centre store\",\n \"shopperStatement\" : \"Springfield Shop\",\n \"phoneNumber\" : \"1813702551707653\",\n \"reference\" : \"Spring_store_2\",\n \"address\" : {\n \"country\" : \"US\",\n \"line1\" : \"200 Main Street\",\n \"line2\" : \"Building 5A\",\n \"line3\" : \"Suite 3\",\n \"city\" : \"Springfield\",\n \"stateOrProvince\" : \"NY\",\n \"postalCode\" : \"20250\"\n }\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/merchants/:merchantId/stores", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "merchants", - ":merchantId", - "stores" - ], - "variable": [ - { - "key": "merchantId", - "value": "{{YOUR_MERCHANT_ACCOUNT}}", - "description": "The unique identifier of the merchant account." - } - ], - "query": [ - ] - }, - "description": "Creates a store for the merchant account identified in the path. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Stores read and write" - } + ] } ] - } -, + }, { "name": "/merchants/:merchantId/stores/:storeId", "description": "Returns the details of the store identified in the path. To make this request, your API credential must have one of the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Stores read * Management API—Stores read and write", @@ -5951,56 +8171,57 @@ { "name": "Get a store", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/merchants/:merchantId/stores/:storeId", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "merchants", - ":merchantId", - "stores", - ":storeId" - ], - "variable": [ - { - "key": "merchantId", - "value": "{{YOUR_MERCHANT_ACCOUNT}}", - "description": "The unique identifier of the merchant account." - }, - { - "key": "storeId", - "value": "", - "description": "The unique identifier of the store." - } - ], - "query": [ - ] - }, - "description": "Returns the details of the store identified in the path. To make this request, your API credential must have one of the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Stores read * Management API—Stores read and write" - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/merchants/:merchantId/stores/:storeId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "merchants", + ":merchantId", + "stores", + ":storeId" + ], + "variable": [ + { + "key": "merchantId", + "value": "{{YOUR_MERCHANT_ACCOUNT}}", + "description": "The unique identifier of the merchant account." + }, + { + "key": "storeId", + "value": "", + "description": "The unique identifier of the store." + } + ], + "query": [ + ] + }, + "description": "Returns the details of the store identified in the path. To make this request, your API credential must have one of the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Stores read * Management API—Stores read and write" +} + ,"response": [ + ] } ] - } -, + }, { "name": "/merchants/:merchantId/stores/:storeId", "description": "Updates the store identified in the path. You can only update some store parameters. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Stores read and write", @@ -6008,118 +8229,249 @@ { "name": "Update store address.", "request": { - "method": "PATCH", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"address\" : {\n \"line1\" : \"1776 West Pinewood Avenue\",\n \"line2\" : \"Heartland Building\",\n \"line3\" : \"\",\n \"postalCode\" : \"20251\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/merchants/:merchantId/stores/:storeId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "merchants", + ":merchantId", + "stores", + ":storeId" + ], + "variable": [ + { + "key": "merchantId", + "value": "{{YOUR_MERCHANT_ACCOUNT}}", + "description": "The unique identifier of the merchant account." + }, + { + "key": "storeId", + "value": "", + "description": "The unique identifier of the store." + } + ], + "query": [ + ] + }, + "description": "Updates the store identified in the path. You can only update some store parameters. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Stores read and write" +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"id\" : \"YOUR_STORE_ID\",\n \"address\" : {\n \"country\" : \"US\",\n \"line1\" : \"1776 West Pinewood Avenue\",\n \"line2\" : \"Heartland Building\",\n \"line3\" : \"\",\n \"city\" : \"Springfield\",\n \"stateOrProvince\" : \"NY\",\n \"postalCode\" : \"20251\"\n },\n \"description\" : \"City centre store\",\n \"merchantId\" : \"YOUR_MERCHANT_ACCOUNT_ID\",\n \"shopperStatement\" : \"Springfield Shop\",\n \"phoneNumber\" : \"+1813702551707653\",\n \"reference\" : \"Spring_store_2\",\n \"status\" : \"active\",\n \"_links\" : {\n \"self\" : {\n \"href\" : \"https://management-test.adyen.com/v1/stores/YOUR_STORE_ID\"\n }\n }\n}", + "originalRequest": { + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"address\" : {\n \"line1\" : \"1776 West Pinewood Avenue\",\n \"line2\" : \"Heartland Building\",\n \"line3\" : \"\",\n \"postalCode\" : \"20251\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/merchants/:merchantId/stores/:storeId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "merchants", + ":merchantId", + "stores", + ":storeId" + ], + "variable": [ + { + "key": "merchantId", + "value": "{{YOUR_MERCHANT_ACCOUNT}}", + "description": "The unique identifier of the merchant account." + }, + { + "key": "storeId", + "value": "", + "description": "The unique identifier of the store." + } + ], + "query": [ + ] + }, + "description": "Updates the store identified in the path. You can only update some store parameters. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Stores read and write" +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"address\" : {\n \"line1\" : \"1776 West Pinewood Avenue\",\n \"line2\" : \"Heartland Building\",\n \"line3\" : \"\",\n \"postalCode\" : \"20251\"\n }\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/merchants/:merchantId/stores/:storeId", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "merchants", - ":merchantId", - "stores", - ":storeId" - ], - "variable": [ - { - "key": "merchantId", - "value": "{{YOUR_MERCHANT_ACCOUNT}}", - "description": "The unique identifier of the merchant account." - }, - { - "key": "storeId", - "value": "", - "description": "The unique identifier of the store." - } - ], - "query": [ - ] - }, - "description": "Updates the store identified in the path. You can only update some store parameters. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Stores read and write" - } + ] }, { "name": "Add split configuration to store", "request": { - "method": "PATCH", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"splitConfiguration\" : {\n \"balanceAccountId\" : \"BA3227C223222H5HQ2XX77VVH\",\n \"splitConfigurationId\" : \"SCNF4224P22322585HPCX384JV6JGX\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/merchants/:merchantId/stores/:storeId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "merchants", + ":merchantId", + "stores", + ":storeId" + ], + "variable": [ + { + "key": "merchantId", + "value": "{{YOUR_MERCHANT_ACCOUNT}}", + "description": "The unique identifier of the merchant account." + }, + { + "key": "storeId", + "value": "", + "description": "The unique identifier of the store." + } + ], + "query": [ + ] + }, + "description": "Updates the store identified in the path. You can only update some store parameters. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Stores read and write" +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"id\" : \"YOUR_STORE_ID\",\n \"address\" : {\n \"country\" : \"US\",\n \"line1\" : \"1776 West Pinewood Avenue\",\n \"line2\" : \"Heartland Building\",\n \"line3\" : \"\",\n \"city\" : \"Springfield\",\n \"stateOrProvince\" : \"NY\",\n \"postalCode\" : \"20251\"\n },\n \"description\" : \"City centre store\",\n \"merchantId\" : \"YOUR_MERCHANT_ACCOUNT_ID\",\n \"shopperStatement\" : \"Springfield Shop\",\n \"phoneNumber\" : \"+1813702551707653\",\n \"reference\" : \"Spring_store_2\",\n \"splitConfiguration\" : {\n \"balanceAccountId\" : \"BA3227C223222H5HQ2XX77VVH\",\n \"splitConfigurationId\" : \"SCNF4224P22322585HPCX384JV6JGX\"\n },\n \"status\" : \"active\",\n \"_links\" : {\n \"self\" : {\n \"href\" : \"https://management-test.adyen.com/v1/stores/YOUR_STORE_ID\"\n }\n }\n}", + "originalRequest": { + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"splitConfiguration\" : {\n \"balanceAccountId\" : \"BA3227C223222H5HQ2XX77VVH\",\n \"splitConfigurationId\" : \"SCNF4224P22322585HPCX384JV6JGX\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/merchants/:merchantId/stores/:storeId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "merchants", + ":merchantId", + "stores", + ":storeId" + ], + "variable": [ + { + "key": "merchantId", + "value": "{{YOUR_MERCHANT_ACCOUNT}}", + "description": "The unique identifier of the merchant account." + }, + { + "key": "storeId", + "value": "", + "description": "The unique identifier of the store." + } + ], + "query": [ + ] + }, + "description": "Updates the store identified in the path. You can only update some store parameters. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Stores read and write" +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"splitConfiguration\" : {\n \"balanceAccountId\" : \"BA3227C223222H5HQ2XX77VVH\",\n \"splitConfigurationId\" : \"SCNF4224P22322585HPCX384JV6JGX\"\n }\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/merchants/:merchantId/stores/:storeId", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "merchants", - ":merchantId", - "stores", - ":storeId" - ], - "variable": [ - { - "key": "merchantId", - "value": "{{YOUR_MERCHANT_ACCOUNT}}", - "description": "The unique identifier of the merchant account." - }, - { - "key": "storeId", - "value": "", - "description": "The unique identifier of the store." - } - ], - "query": [ - ] - }, - "description": "Updates the store identified in the path. You can only update some store parameters. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Stores read and write" - } + ] } ] - } -, + }, { "name": "/stores", "description": "Returns a list of stores. The list is grouped into pages as defined by the query parameters. To make this request, your API credential must have one of the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Stores read * Management API—Stores read and write", @@ -6127,67 +8479,68 @@ { "name": "Get a list of stores", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/stores", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "stores" - ], - "variable": [ - ], - "query": [ - { - "key": "pageNumber", - "value": "56", - "description": "The number of the page to fetch.", - "disabled": true - }, - { - "key": "pageSize", - "value": "56", - "description": "The number of items to have on a page, maximum 100. The default is 10 items on a page.", - "disabled": true - }, - { - "key": "reference", - "value": "reference_example", - "description": "The reference of the store.", - "disabled": true - }, - { - "key": "merchantId", - "value": "merchantId_example", - "description": "The unique identifier of the merchant account.", - "disabled": true - } - ] - }, - "description": "Returns a list of stores. The list is grouped into pages as defined by the query parameters. To make this request, your API credential must have one of the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Stores read * Management API—Stores read and write" - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/stores", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "stores" + ], + "variable": [ + ], + "query": [ + { + "key": "pageNumber", + "value": "56", + "description": "The number of the page to fetch.", + "disabled": true + }, + { + "key": "pageSize", + "value": "56", + "description": "The number of items to have on a page, maximum 100. The default is 10 items on a page.", + "disabled": true + }, + { + "key": "reference", + "value": "reference_example", + "description": "The reference of the store.", + "disabled": true + }, + { + "key": "merchantId", + "value": "merchantId_example", + "description": "The unique identifier of the merchant account.", + "disabled": true + } + ] + }, + "description": "Returns a list of stores. The list is grouped into pages as defined by the query parameters. To make this request, your API credential must have one of the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Stores read * Management API—Stores read and write" +} + ,"response": [ + ] } ] - } -, + }, { "name": "/stores", "description": "Creates a store for the merchant account specified in the request. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Stores read and write", @@ -6195,49 +8548,101 @@ { "name": "Create a store", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"merchantId\" : \"{{YOUR_MERCHANT_ACCOUNT}}_ID\",\n \"description\" : \"City centre store\",\n \"shopperStatement\" : \"Springfield Shop\",\n \"phoneNumber\" : \"+1813702551707653\",\n \"reference\" : \"Spring_store_2\",\n \"address\" : {\n \"country\" : \"US\",\n \"line1\" : \"200 Main Street\",\n \"line2\" : \"Building 5A\",\n \"line3\" : \"Suite 3\",\n \"city\" : \"Springfield\",\n \"stateOrProvince\" : \"NY\",\n \"postalCode\" : \"20250\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/stores", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "stores" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates a store for the merchant account specified in the request. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Stores read and write" +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"id\" : \"YOUR_STORE_ID\",\n \"address\" : {\n \"country\" : \"US\",\n \"line1\" : \"200 Main Street\",\n \"line2\" : \"Building 5A\",\n \"line3\" : \"Suite 3\",\n \"city\" : \"Springfield\",\n \"stateOrProvince\" : \"NY\",\n \"postalCode\" : \"20250\"\n },\n \"description\" : \"City centre store\",\n \"merchantId\" : \"YOUR_MERCHANT_ACCOUNT_ID\",\n \"shopperStatement\" : \"Springfield Shop\",\n \"phoneNumber\" : \"+1813702551707653\",\n \"reference\" : \"Spring_store_2\",\n \"status\" : \"active\",\n \"_links\" : {\n \"self\" : {\n \"href\" : \"https://management-test.adyen.com/v1/stores/YOUR_STORE_ID\"\n }\n }\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"merchantId\" : \"{{YOUR_MERCHANT_ACCOUNT}}_ID\",\n \"description\" : \"City centre store\",\n \"shopperStatement\" : \"Springfield Shop\",\n \"phoneNumber\" : \"+1813702551707653\",\n \"reference\" : \"Spring_store_2\",\n \"address\" : {\n \"country\" : \"US\",\n \"line1\" : \"200 Main Street\",\n \"line2\" : \"Building 5A\",\n \"line3\" : \"Suite 3\",\n \"city\" : \"Springfield\",\n \"stateOrProvince\" : \"NY\",\n \"postalCode\" : \"20250\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/stores", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "stores" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates a store for the merchant account specified in the request. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Stores read and write" +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"merchantId\" : \"{{YOUR_MERCHANT_ACCOUNT}}_ID\",\n \"description\" : \"City centre store\",\n \"shopperStatement\" : \"Springfield Shop\",\n \"phoneNumber\" : \"+1813702551707653\",\n \"reference\" : \"Spring_store_2\",\n \"address\" : {\n \"country\" : \"US\",\n \"line1\" : \"200 Main Street\",\n \"line2\" : \"Building 5A\",\n \"line3\" : \"Suite 3\",\n \"city\" : \"Springfield\",\n \"stateOrProvince\" : \"NY\",\n \"postalCode\" : \"20250\"\n }\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/stores", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "stores" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Creates a store for the merchant account specified in the request. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Stores read and write" - } + ] } ] - } -, + }, { "name": "/stores/:storeId", "description": "Returns the details of the store identified in the path. To make this request, your API credential must have one of the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Stores read * Management API—Stores read and write", @@ -6245,49 +8650,50 @@ { "name": "Get a store", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/stores/:storeId", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "stores", - ":storeId" - ], - "variable": [ - { - "key": "storeId", - "value": "", - "description": "The unique identifier of the store." - } - ], - "query": [ - ] - }, - "description": "Returns the details of the store identified in the path. To make this request, your API credential must have one of the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Stores read * Management API—Stores read and write" - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/stores/:storeId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "stores", + ":storeId" + ], + "variable": [ + { + "key": "storeId", + "value": "", + "description": "The unique identifier of the store." + } + ], + "query": [ + ] + }, + "description": "Returns the details of the store identified in the path. To make this request, your API credential must have one of the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Stores read * Management API—Stores read and write" +} + ,"response": [ + ] } ] - } -, + }, { "name": "/stores/:storeId", "description": "Updates the store identified in the path. You can only update some store parameters. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Stores read and write", @@ -6295,104 +8701,164 @@ { "name": "Update store address.", "request": { - "method": "PATCH", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"address\" : {\n \"line1\" : \"1776 West Pinewood Avenue\",\n \"line2\" : \"Heartland Building\",\n \"line3\" : \"\",\n \"postalCode\" : \"20251\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/stores/:storeId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "stores", + ":storeId" + ], + "variable": [ + { + "key": "storeId", + "value": "", + "description": "The unique identifier of the store." + } + ], + "query": [ + ] + }, + "description": "Updates the store identified in the path. You can only update some store parameters. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Stores read and write" +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"id\" : \"YOUR_STORE_ID\",\n \"address\" : {\n \"country\" : \"US\",\n \"line1\" : \"1776 West Pinewood Avenue\",\n \"line2\" : \"Heartland Building\",\n \"line3\" : \"\",\n \"city\" : \"Springfield\",\n \"stateOrProvince\" : \"NY\",\n \"postalCode\" : \"20251\"\n },\n \"description\" : \"City centre store\",\n \"merchantId\" : \"YOUR_MERCHANT_ACCOUNT_ID\",\n \"shopperStatement\" : \"Springfield Shop\",\n \"phoneNumber\" : \"+1813702551707653\",\n \"reference\" : \"Spring_store_2\",\n \"status\" : \"active\",\n \"_links\" : {\n \"self\" : {\n \"href\" : \"https://management-test.adyen.com/v1/stores/YOUR_STORE_ID\"\n }\n }\n}", + "originalRequest": { + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"address\" : {\n \"line1\" : \"1776 West Pinewood Avenue\",\n \"line2\" : \"Heartland Building\",\n \"line3\" : \"\",\n \"postalCode\" : \"20251\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/stores/:storeId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "stores", + ":storeId" + ], + "variable": [ + { + "key": "storeId", + "value": "", + "description": "The unique identifier of the store." + } + ], + "query": [ + ] + }, + "description": "Updates the store identified in the path. You can only update some store parameters. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Stores read and write" +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"address\" : {\n \"line1\" : \"1776 West Pinewood Avenue\",\n \"line2\" : \"Heartland Building\",\n \"line3\" : \"\",\n \"postalCode\" : \"20251\"\n }\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/stores/:storeId", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "stores", - ":storeId" - ], - "variable": [ - { - "key": "storeId", - "value": "", - "description": "The unique identifier of the store." - } - ], - "query": [ - ] - }, - "description": "Updates the store identified in the path. You can only update some store parameters. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Stores read and write" - } + ] }, { "name": "Add split configuration to store", "request": { - "method": "PATCH", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"splitConfiguration\" : {\n \"balanceAccountId\" : \"BA3227C223222H5HQ2XX77VVH\",\n \"splitConfigurationId\" : \"SCNF4224P22322585HPCX384JV6JGX\"\n }\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/stores/:storeId", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "stores", - ":storeId" - ], - "variable": [ - { - "key": "storeId", - "value": "", - "description": "The unique identifier of the store." - } - ], - "query": [ - ] - }, - "description": "Updates the store identified in the path. You can only update some store parameters. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Stores read and write" - } + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"splitConfiguration\" : {\n \"balanceAccountId\" : \"BA3227C223222H5HQ2XX77VVH\",\n \"splitConfigurationId\" : \"SCNF4224P22322585HPCX384JV6JGX\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/stores/:storeId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "stores", + ":storeId" + ], + "variable": [ + { + "key": "storeId", + "value": "", + "description": "The unique identifier of the store." + } + ], + "query": [ + ] + }, + "description": "Updates the store identified in the path. You can only update some store parameters. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Stores read and write" +} + ,"response": [ + ] } ] } - ] }, { @@ -6405,74 +8871,75 @@ { "name": "Get a list of Android apps", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/companies/:companyId/androidApps", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "companies", - ":companyId", - "androidApps" - ], - "variable": [ - { - "key": "companyId", - "value": "{{YOUR_COMPANY_ACCOUNT}}", - "description": "The unique identifier of the company account." - } - ], - "query": [ - { - "key": "pageNumber", - "value": "56", - "description": "The number of the page to fetch.", - "disabled": true - }, - { - "key": "pageSize", - "value": "56", - "description": "The number of items to have on a page, maximum 100. The default is 20 items on a page.", - "disabled": true - }, - { - "key": "packageName", - "value": "packageName_example", - "description": "The package name that uniquely identifies the Android app.", - "disabled": true - }, - { - "key": "versionCode", - "value": "56", - "description": "The version number of the app.", - "disabled": true - } - ] - }, - "description": "Returns a list of the Android apps that are available for the company identified in the path. These apps have been uploaded to Adyen and can be installed or uninstalled on Android payment terminals through [terminal actions](https://docs.adyen.com/point-of-sale/automating-terminal-management/terminal-actions-api). To make this request, your API credential must have one of the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Android files read * Management API—Android files read and write * Management API—Terminal actions read * Management API—Terminal actions read and write" - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/companies/:companyId/androidApps", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "companies", + ":companyId", + "androidApps" + ], + "variable": [ + { + "key": "companyId", + "value": "{{YOUR_COMPANY_ACCOUNT}}", + "description": "The unique identifier of the company account." + } + ], + "query": [ + { + "key": "pageNumber", + "value": "56", + "description": "The number of the page to fetch.", + "disabled": true + }, + { + "key": "pageSize", + "value": "56", + "description": "The number of items to have on a page, maximum 100. The default is 20 items on a page.", + "disabled": true + }, + { + "key": "packageName", + "value": "packageName_example", + "description": "The package name that uniquely identifies the Android app.", + "disabled": true + }, + { + "key": "versionCode", + "value": "56", + "description": "The version number of the app.", + "disabled": true + } + ] + }, + "description": "Returns a list of the Android apps that are available for the company identified in the path. These apps have been uploaded to Adyen and can be installed or uninstalled on Android payment terminals through [terminal actions](https://docs.adyen.com/point-of-sale/automating-terminal-management/terminal-actions-api). To make this request, your API credential must have one of the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Android files read * Management API—Android files read and write * Management API—Terminal actions read * Management API—Terminal actions read and write" +} + ,"response": [ + ] } ] - } -, + }, { "name": "/companies/:companyId/androidApps/:id", "description": "Returns the details of the Android app identified in the path. These apps have been uploaded to Adyen and can be installed or uninstalled on Android payment terminals through [terminal actions](https://docs.adyen.com/point-of-sale/automating-terminal-management/terminal-actions-api). To make this request, your API credential must have one of the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Android files read * Management API—Android files read and write", @@ -6480,56 +8947,57 @@ { "name": "Get Android app", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/companies/:companyId/androidApps/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "companies", - ":companyId", - "androidApps", - ":id" - ], - "variable": [ - { - "key": "companyId", - "value": "{{YOUR_COMPANY_ACCOUNT}}", - "description": "The unique identifier of the company account." - }, - { - "key": "id", - "value": "", - "description": "The unique identifier of the app." - } - ], - "query": [ - ] - }, - "description": "Returns the details of the Android app identified in the path. These apps have been uploaded to Adyen and can be installed or uninstalled on Android payment terminals through [terminal actions](https://docs.adyen.com/point-of-sale/automating-terminal-management/terminal-actions-api). To make this request, your API credential must have one of the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Android files read * Management API—Android files read and write" - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/companies/:companyId/androidApps/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "companies", + ":companyId", + "androidApps", + ":id" + ], + "variable": [ + { + "key": "companyId", + "value": "{{YOUR_COMPANY_ACCOUNT}}", + "description": "The unique identifier of the company account." + }, + { + "key": "id", + "value": "", + "description": "The unique identifier of the app." + } + ], + "query": [ + ] + }, + "description": "Returns the details of the Android app identified in the path. These apps have been uploaded to Adyen and can be installed or uninstalled on Android payment terminals through [terminal actions](https://docs.adyen.com/point-of-sale/automating-terminal-management/terminal-actions-api). To make this request, your API credential must have one of the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Android files read * Management API—Android files read and write" +} + ,"response": [ + ] } ] - } -, + }, { "name": "/companies/:companyId/androidCertificates", "description": "Returns a list of the Android certificates that are available for the company identified in the path. Typically, these certificates enable running apps on Android payment terminals. The certifcates in the list have been uploaded to Adyen and can be installed or uninstalled on Android terminals through [terminal actions](https://docs.adyen.com/point-of-sale/automating-terminal-management/terminal-actions-api). To make this request, your API credential must have one of the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Android files read * Management API—Android files read and write * Management API—Terminal actions read * Management API—Terminal actions read and write", @@ -6537,68 +9005,69 @@ { "name": "Get a list of Android certificates", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/companies/:companyId/androidCertificates", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "companies", - ":companyId", - "androidCertificates" - ], - "variable": [ - { - "key": "companyId", - "value": "{{YOUR_COMPANY_ACCOUNT}}", - "description": "The unique identifier of the company account." - } - ], - "query": [ - { - "key": "pageNumber", - "value": "56", - "description": "The number of the page to fetch.", - "disabled": true - }, - { - "key": "pageSize", - "value": "56", - "description": "The number of items to have on a page, maximum 100. The default is 20 items on a page.", - "disabled": true - }, - { - "key": "certificateName", - "value": "certificateName_example", - "description": "The name of the certificate.", - "disabled": true - } - ] - }, - "description": "Returns a list of the Android certificates that are available for the company identified in the path. Typically, these certificates enable running apps on Android payment terminals. The certifcates in the list have been uploaded to Adyen and can be installed or uninstalled on Android terminals through [terminal actions](https://docs.adyen.com/point-of-sale/automating-terminal-management/terminal-actions-api). To make this request, your API credential must have one of the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Android files read * Management API—Android files read and write * Management API—Terminal actions read * Management API—Terminal actions read and write" - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/companies/:companyId/androidCertificates", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "companies", + ":companyId", + "androidCertificates" + ], + "variable": [ + { + "key": "companyId", + "value": "{{YOUR_COMPANY_ACCOUNT}}", + "description": "The unique identifier of the company account." + } + ], + "query": [ + { + "key": "pageNumber", + "value": "56", + "description": "The number of the page to fetch.", + "disabled": true + }, + { + "key": "pageSize", + "value": "56", + "description": "The number of items to have on a page, maximum 100. The default is 20 items on a page.", + "disabled": true + }, + { + "key": "certificateName", + "value": "certificateName_example", + "description": "The name of the certificate.", + "disabled": true + } + ] + }, + "description": "Returns a list of the Android certificates that are available for the company identified in the path. Typically, these certificates enable running apps on Android payment terminals. The certifcates in the list have been uploaded to Adyen and can be installed or uninstalled on Android terminals through [terminal actions](https://docs.adyen.com/point-of-sale/automating-terminal-management/terminal-actions-api). To make this request, your API credential must have one of the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Android files read * Management API—Android files read and write * Management API—Terminal actions read * Management API—Terminal actions read and write" +} + ,"response": [ + ] } ] } - ] }, { @@ -6611,56 +9080,57 @@ { "name": "Get the terminal logo", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/companies/:companyId/terminalLogos", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "companies", - ":companyId", - "terminalLogos" - ], - "variable": [ - { - "key": "companyId", - "value": "{{YOUR_COMPANY_ACCOUNT}}", - "description": "The unique identifier of the company account." - } - ], - "query": [ - { - "key": "model", - "value": "model_example", - "description": "The terminal model. Possible values: E355, VX675WIFIBT, VX680, VX690, VX700, VX820, M400, MX925, P400Plus, UX300, UX410, V200cPlus, V240mPlus, V400cPlus, V400m, e280, e285, e285p, S1E, S1EL, S1F2, S1L, S1U, S7T.", - "disabled": false - } - ] - }, - "description": "Returns the logo that is configured for a specific payment terminal model at the company identified in the path. The logo is returned as a Base64-encoded string. You need to Base64-decode the string to get the actual image file. This logo applies to all terminals of the specified model under the company, unless a different logo is configured at a lower level (merchant account, store, or individual terminal). To make this request, your API credential must have one of the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal settings read * Management API—Terminal settings read and write" - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/companies/:companyId/terminalLogos", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "companies", + ":companyId", + "terminalLogos" + ], + "variable": [ + { + "key": "companyId", + "value": "{{YOUR_COMPANY_ACCOUNT}}", + "description": "The unique identifier of the company account." + } + ], + "query": [ + { + "key": "model", + "value": "model_example", + "description": "The terminal model. Possible values: E355, VX675WIFIBT, VX680, VX690, VX700, VX820, M400, MX925, P400Plus, UX300, UX410, V200cPlus, V240mPlus, V400cPlus, V400m, e280, e285, e285p, S1E, S1EL, S1F2, S1L, S1U, S7T.", + "disabled": false + } + ] + }, + "description": "Returns the logo that is configured for a specific payment terminal model at the company identified in the path. The logo is returned as a Base64-encoded string. You need to Base64-decode the string to get the actual image file. This logo applies to all terminals of the specified model under the company, unless a different logo is configured at a lower level (merchant account, store, or individual terminal). To make this request, your API credential must have one of the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal settings read * Management API—Terminal settings read and write" +} + ,"response": [ + ] } ] - } -, + }, { "name": "/companies/:companyId/terminalLogos", "description": "Updates the logo that is configured for a specific payment terminal model at the company identified in the path. You can update the logo for only one terminal model at a time. This logo applies to all terminals of the specified model under the company, unless a different logo is configured at a lower level (merchant account, store, or individual terminal). * To change the logo, specify the image file as a Base64-encoded string. * To restore the logo inherited from the Adyen PSP level, specify an empty logo value. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal settings read and write", @@ -6668,118 +9138,249 @@ { "name": "Remove logo to restore the logo from a higher level", "request": { - "method": "PATCH", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"data\" : \"\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/companies/:companyId/terminalLogos", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "companies", + ":companyId", + "terminalLogos" + ], + "variable": [ + { + "key": "companyId", + "value": "{{YOUR_COMPANY_ACCOUNT}}", + "description": "The unique identifier of the company account." + } + ], + "query": [ + { + "key": "model", + "value": "model_example", + "description": "The terminal model. Possible values: E355, VX675WIFIBT, VX680, VX690, VX700, VX820, M400, MX925, P400Plus, UX300, UX410, V200cPlus, V240mPlus, V400cPlus, V400m, e280, e285, e285p, S1E, S1EL, S1F2, S1L, S1U, S7T.", + "disabled": false + } + ] + }, + "description": "Updates the logo that is configured for a specific payment terminal model at the company identified in the path. You can update the logo for only one terminal model at a time. This logo applies to all terminals of the specified model under the company, unless a different logo is configured at a lower level (merchant account, store, or individual terminal). * To change the logo, specify the image file as a Base64-encoded string. * To restore the logo inherited from the Adyen PSP level, specify an empty logo value. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal settings read and write" +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"data\" : \"LOGO_INHERITED_FROM_HIGHER_LEVEL_BASE-64_ENCODED_STRING\"\n}", + "originalRequest": { + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"data\" : \"\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/companies/:companyId/terminalLogos", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "companies", + ":companyId", + "terminalLogos" + ], + "variable": [ + { + "key": "companyId", + "value": "{{YOUR_COMPANY_ACCOUNT}}", + "description": "The unique identifier of the company account." + } + ], + "query": [ + { + "key": "model", + "value": "model_example", + "description": "The terminal model. Possible values: E355, VX675WIFIBT, VX680, VX690, VX700, VX820, M400, MX925, P400Plus, UX300, UX410, V200cPlus, V240mPlus, V400cPlus, V400m, e280, e285, e285p, S1E, S1EL, S1F2, S1L, S1U, S7T.", + "disabled": false + } + ] + }, + "description": "Updates the logo that is configured for a specific payment terminal model at the company identified in the path. You can update the logo for only one terminal model at a time. This logo applies to all terminals of the specified model under the company, unless a different logo is configured at a lower level (merchant account, store, or individual terminal). * To change the logo, specify the image file as a Base64-encoded string. * To restore the logo inherited from the Adyen PSP level, specify an empty logo value. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal settings read and write" +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"data\" : \"\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/companies/:companyId/terminalLogos", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "companies", - ":companyId", - "terminalLogos" - ], - "variable": [ - { - "key": "companyId", - "value": "{{YOUR_COMPANY_ACCOUNT}}", - "description": "The unique identifier of the company account." - } - ], - "query": [ - { - "key": "model", - "value": "model_example", - "description": "The terminal model. Possible values: E355, VX675WIFIBT, VX680, VX690, VX700, VX820, M400, MX925, P400Plus, UX300, UX410, V200cPlus, V240mPlus, V400cPlus, V400m, e280, e285, e285p, S1E, S1EL, S1F2, S1L, S1U, S7T.", - "disabled": false - } - ] - }, - "description": "Updates the logo that is configured for a specific payment terminal model at the company identified in the path. You can update the logo for only one terminal model at a time. This logo applies to all terminals of the specified model under the company, unless a different logo is configured at a lower level (merchant account, store, or individual terminal). * To change the logo, specify the image file as a Base64-encoded string. * To restore the logo inherited from the Adyen PSP level, specify an empty logo value. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal settings read and write" - } + ] }, { "name": "Upload terminal logo", "request": { - "method": "PATCH", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"data\" : \"LOGO_FILE_CONVERTED_TO_A_BASE-64_ENCODED_STRING\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/companies/:companyId/terminalLogos", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "companies", + ":companyId", + "terminalLogos" + ], + "variable": [ + { + "key": "companyId", + "value": "{{YOUR_COMPANY_ACCOUNT}}", + "description": "The unique identifier of the company account." + } + ], + "query": [ + { + "key": "model", + "value": "model_example", + "description": "The terminal model. Possible values: E355, VX675WIFIBT, VX680, VX690, VX700, VX820, M400, MX925, P400Plus, UX300, UX410, V200cPlus, V240mPlus, V400cPlus, V400m, e280, e285, e285p, S1E, S1EL, S1F2, S1L, S1U, S7T.", + "disabled": false + } + ] + }, + "description": "Updates the logo that is configured for a specific payment terminal model at the company identified in the path. You can update the logo for only one terminal model at a time. This logo applies to all terminals of the specified model under the company, unless a different logo is configured at a lower level (merchant account, store, or individual terminal). * To change the logo, specify the image file as a Base64-encoded string. * To restore the logo inherited from the Adyen PSP level, specify an empty logo value. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal settings read and write" +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"data\" : \"BASE-64_ENCODED_STRING_FROM_THE_REQUEST\"\n}", + "originalRequest": { + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"data\" : \"LOGO_FILE_CONVERTED_TO_A_BASE-64_ENCODED_STRING\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/companies/:companyId/terminalLogos", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "companies", + ":companyId", + "terminalLogos" + ], + "variable": [ + { + "key": "companyId", + "value": "{{YOUR_COMPANY_ACCOUNT}}", + "description": "The unique identifier of the company account." + } + ], + "query": [ + { + "key": "model", + "value": "model_example", + "description": "The terminal model. Possible values: E355, VX675WIFIBT, VX680, VX690, VX700, VX820, M400, MX925, P400Plus, UX300, UX410, V200cPlus, V240mPlus, V400cPlus, V400m, e280, e285, e285p, S1E, S1EL, S1F2, S1L, S1U, S7T.", + "disabled": false + } + ] + }, + "description": "Updates the logo that is configured for a specific payment terminal model at the company identified in the path. You can update the logo for only one terminal model at a time. This logo applies to all terminals of the specified model under the company, unless a different logo is configured at a lower level (merchant account, store, or individual terminal). * To change the logo, specify the image file as a Base64-encoded string. * To restore the logo inherited from the Adyen PSP level, specify an empty logo value. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal settings read and write" +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"data\" : \"LOGO_FILE_CONVERTED_TO_A_BASE-64_ENCODED_STRING\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/companies/:companyId/terminalLogos", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "companies", - ":companyId", - "terminalLogos" - ], - "variable": [ - { - "key": "companyId", - "value": "{{YOUR_COMPANY_ACCOUNT}}", - "description": "The unique identifier of the company account." - } - ], - "query": [ - { - "key": "model", - "value": "model_example", - "description": "The terminal model. Possible values: E355, VX675WIFIBT, VX680, VX690, VX700, VX820, M400, MX925, P400Plus, UX300, UX410, V200cPlus, V240mPlus, V400cPlus, V400m, e280, e285, e285p, S1E, S1EL, S1F2, S1L, S1U, S7T.", - "disabled": false - } - ] - }, - "description": "Updates the logo that is configured for a specific payment terminal model at the company identified in the path. You can update the logo for only one terminal model at a time. This logo applies to all terminals of the specified model under the company, unless a different logo is configured at a lower level (merchant account, store, or individual terminal). * To change the logo, specify the image file as a Base64-encoded string. * To restore the logo inherited from the Adyen PSP level, specify an empty logo value. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal settings read and write" - } + ] } ] - } -, + }, { "name": "/companies/:companyId/terminalSettings", "description": "Returns the payment terminal settings that are configured for the company identified in the path. These settings apply to all terminals under the company, unless different values are configured at a lower level (merchant account, store, or individual terminal). To make this request, your API credential must have one of the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal settings read * Management API—Terminal settings read and write For [sensitive terminal settings](https://docs.adyen.com/point-of-sale/automating-terminal-management/configure-terminals-api#sensitive-terminal-settings), your API credential must have the following role: * Management API—Terminal settings Advanced read and write", @@ -6787,50 +9388,51 @@ { "name": "Get terminal settings", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/companies/:companyId/terminalSettings", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "companies", - ":companyId", - "terminalSettings" - ], - "variable": [ - { - "key": "companyId", - "value": "{{YOUR_COMPANY_ACCOUNT}}", - "description": "The unique identifier of the company account." - } - ], - "query": [ - ] - }, - "description": "Returns the payment terminal settings that are configured for the company identified in the path. These settings apply to all terminals under the company, unless different values are configured at a lower level (merchant account, store, or individual terminal). To make this request, your API credential must have one of the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal settings read * Management API—Terminal settings read and write For [sensitive terminal settings](https://docs.adyen.com/point-of-sale/automating-terminal-management/configure-terminals-api#sensitive-terminal-settings), your API credential must have the following role: * Management API—Terminal settings Advanced read and write" - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/companies/:companyId/terminalSettings", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "companies", + ":companyId", + "terminalSettings" + ], + "variable": [ + { + "key": "companyId", + "value": "{{YOUR_COMPANY_ACCOUNT}}", + "description": "The unique identifier of the company account." + } + ], + "query": [ + ] + }, + "description": "Returns the payment terminal settings that are configured for the company identified in the path. These settings apply to all terminals under the company, unless different values are configured at a lower level (merchant account, store, or individual terminal). To make this request, your API credential must have one of the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal settings read * Management API—Terminal settings read and write For [sensitive terminal settings](https://docs.adyen.com/point-of-sale/automating-terminal-management/configure-terminals-api#sensitive-terminal-settings), your API credential must have the following role: * Management API—Terminal settings Advanced read and write" +} + ,"response": [ + ] } ] - } -, + }, { "name": "/companies/:companyId/terminalSettings", "description": "Updates payment terminal settings for the company identified in the path. These settings apply to all terminals under the company, unless different values are configured at a lower level (merchant account, store, or individual terminal). * To change a parameter value, include the full object that contains the parameter, even if you don't want to change all parameters in the object. * To restore a parameter value inherited from the Adyen PSP level, include the full object that contains the parameter, and specify an empty value for the parameter or omit the parameter. * Objects that are not included in the request are not updated. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal settings read and write For [sensitive terminal settings](https://docs.adyen.com/point-of-sale/automating-terminal-management/configure-terminals-api#sensitive-terminal-settings), your API credential must have the following role: * Management API—Terminal settings Advanced read and write", @@ -6838,106 +9440,225 @@ { "name": "Add EAP-PEAP and PSK Wi-Fi profiles", "request": { - "method": "PATCH", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"wifiProfiles\" : {\n \"profiles\" : [ {\n \"authType\" : \"wpa-eap\",\n \"autoWifi\" : false,\n \"bssType\" : \"infra\",\n \"channel\" : 0,\n \"defaultProfile\" : true,\n \"eap\" : \"peap\",\n \"eapCaCert\" : {\n \"data\" : \"MD1rKS05M2JqRVFNQ...RTtLH1tLWo=\",\n \"name\" : \"eap-peap-ca.pem\"\n },\n \"eapIdentity\" : \"admin\",\n \"eapIntermediateCert\" : {\n \"data\" : \"PD3tUS1CRDdJTiGDR...EFoLS0tLQg=\",\n \"name\" : \"eap-peap-client.pem\"\n },\n \"eapPwd\" : \"EAP_PEAP_PASSWORD\",\n \"hiddenSsid\" : false,\n \"name\" : \"Profile-eap-peap-1\",\n \"ssid\" : \"your-network\",\n \"wsec\" : \"ccmp\"\n }, {\n \"authType\" : \"wpa-psk\",\n \"autoWifi\" : false,\n \"bssType\" : \"infra\",\n \"channel\" : 0,\n \"defaultProfile\" : false,\n \"hiddenSsid\" : false,\n \"name\" : \"Profile-guest-wifi\",\n \"psk\" : \"WIFI_PASSWORD\",\n \"ssid\" : \"your-network\",\n \"wsec\" : \"ccmp\"\n } ],\n \"settings\" : {\n \"band\" : \"2.4GHz\",\n \"roaming\" : true,\n \"timeout\" : 5\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/companies/:companyId/terminalSettings", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "companies", + ":companyId", + "terminalSettings" + ], + "variable": [ + { + "key": "companyId", + "value": "{{YOUR_COMPANY_ACCOUNT}}", + "description": "The unique identifier of the company account." + } + ], + "query": [ + ] + }, + "description": "Updates payment terminal settings for the company identified in the path. These settings apply to all terminals under the company, unless different values are configured at a lower level (merchant account, store, or individual terminal). * To change a parameter value, include the full object that contains the parameter, even if you don't want to change all parameters in the object. * To restore a parameter value inherited from the Adyen PSP level, include the full object that contains the parameter, and specify an empty value for the parameter or omit the parameter. * Objects that are not included in the request are not updated. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal settings read and write For [sensitive terminal settings](https://docs.adyen.com/point-of-sale/automating-terminal-management/configure-terminals-api#sensitive-terminal-settings), your API credential must have the following role: * Management API—Terminal settings Advanced read and write" +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"cardholderReceipt\" : {\n \"headerForAuthorizedReceipt\" : \"header1,header2,filler\"\n },\n \"gratuities\" : [ {\n \"currency\" : \"EUR\",\n \"usePredefinedTipEntries\" : true,\n \"predefinedTipEntries\" : [ \"100\", \"1%\", \"5%\" ],\n \"allowCustomAmount\" : true\n } ],\n \"nexo\" : {\n \"displayUrls\" : {\n \"localUrls\" : [ {\n \"password\" : \"BASIC_AUTH_PASSWORD\",\n \"url\" : \"https://your-display-notifications-endpoint.com\",\n \"username\" : \"BASIC_AUTH_USERNAME\"\n } ]\n },\n \"encryptionKey\" : {\n \"identifier\" : \"KEY_IDENTIFIER\",\n \"passphrase\" : \"KEY_PASSPHRASE\",\n \"version\" : 1\n },\n \"eventUrls\" : {\n \"eventPublicUrls\" : [ {\n \"password\" : \"BASIC_AUTH_PASSWORD\",\n \"url\" : \"https://your-event-notifications-endpoint.com\",\n \"username\" : \"BASIC_AUTH_USERNAME\"\n } ]\n }\n },\n \"opi\" : {\n \"enablePayAtTable\" : true,\n \"payAtTableStoreNumber\" : \"1\",\n \"payAtTableURL\" : \"https:/your-pay-at-table-endpoint.com\"\n },\n \"offlineProcessing\" : {\n \"chipFloorLimit\" : 0\n },\n \"receiptOptions\" : {\n \"qrCodeData\" : \"http://www.example.com/order/${pspreference}/${merchantreference}\"\n },\n \"receiptPrinting\" : {\n \"shopperApproved\" : true,\n \"shopperRefused\" : true,\n \"shopperCancelled\" : true,\n \"shopperRefundApproved\" : true,\n \"shopperRefundRefused\" : true,\n \"shopperVoid\" : true\n },\n \"signature\" : {\n \"askSignatureOnScreen\" : true,\n \"skipSignature\" : false,\n \"deviceName\" : \"Amsterdam-236203386\"\n },\n \"wifiProfiles\" : {\n \"profiles\" : [ {\n \"authType\" : \"wpa-eap\",\n \"autoWifi\" : false,\n \"bssType\" : \"infra\",\n \"channel\" : 0,\n \"defaultProfile\" : true,\n \"eap\" : \"peap\",\n \"eapCaCert\" : {\n \"data\" : \"MD1rKS05M2JqRVFNQ...RTtLH1tLWo=\",\n \"name\" : \"eap-peap-ca.pem\"\n },\n \"eapIdentity\" : \"admin\",\n \"eapIntermediateCert\" : {\n \"data\" : \"PD3tUS1CRDdJTiGDR...EFoLS0tLQg=\",\n \"name\" : \"eap-peap-client.pem\"\n },\n \"eapPwd\" : \"EAP_PEAP_PASSWORD\",\n \"hiddenSsid\" : false,\n \"name\" : \"Profile-eap-peap-1\",\n \"ssid\" : \"your-network\",\n \"wsec\" : \"ccmp\"\n }, {\n \"authType\" : \"wpa-psk\",\n \"autoWifi\" : false,\n \"bssType\" : \"infra\",\n \"channel\" : 0,\n \"defaultProfile\" : false,\n \"hiddenSsid\" : false,\n \"name\" : \"Profile-guest-wifi\",\n \"psk\" : \"WIFI_PASSWORD\",\n \"ssid\" : \"your-network\",\n \"wsec\" : \"ccmp\"\n } ],\n \"settings\" : {\n \"band\" : \"2.4GHz\",\n \"roaming\" : true,\n \"timeout\" : 5\n }\n },\n \"timeouts\" : {\n \"fromActiveToSleep\" : 30\n },\n \"hardware\" : {\n \"displayMaximumBackLight\" : 75\n }\n}", + "originalRequest": { + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"wifiProfiles\" : {\n \"profiles\" : [ {\n \"authType\" : \"wpa-eap\",\n \"autoWifi\" : false,\n \"bssType\" : \"infra\",\n \"channel\" : 0,\n \"defaultProfile\" : true,\n \"eap\" : \"peap\",\n \"eapCaCert\" : {\n \"data\" : \"MD1rKS05M2JqRVFNQ...RTtLH1tLWo=\",\n \"name\" : \"eap-peap-ca.pem\"\n },\n \"eapIdentity\" : \"admin\",\n \"eapIntermediateCert\" : {\n \"data\" : \"PD3tUS1CRDdJTiGDR...EFoLS0tLQg=\",\n \"name\" : \"eap-peap-client.pem\"\n },\n \"eapPwd\" : \"EAP_PEAP_PASSWORD\",\n \"hiddenSsid\" : false,\n \"name\" : \"Profile-eap-peap-1\",\n \"ssid\" : \"your-network\",\n \"wsec\" : \"ccmp\"\n }, {\n \"authType\" : \"wpa-psk\",\n \"autoWifi\" : false,\n \"bssType\" : \"infra\",\n \"channel\" : 0,\n \"defaultProfile\" : false,\n \"hiddenSsid\" : false,\n \"name\" : \"Profile-guest-wifi\",\n \"psk\" : \"WIFI_PASSWORD\",\n \"ssid\" : \"your-network\",\n \"wsec\" : \"ccmp\"\n } ],\n \"settings\" : {\n \"band\" : \"2.4GHz\",\n \"roaming\" : true,\n \"timeout\" : 5\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/companies/:companyId/terminalSettings", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "companies", + ":companyId", + "terminalSettings" + ], + "variable": [ + { + "key": "companyId", + "value": "{{YOUR_COMPANY_ACCOUNT}}", + "description": "The unique identifier of the company account." + } + ], + "query": [ + ] + }, + "description": "Updates payment terminal settings for the company identified in the path. These settings apply to all terminals under the company, unless different values are configured at a lower level (merchant account, store, or individual terminal). * To change a parameter value, include the full object that contains the parameter, even if you don't want to change all parameters in the object. * To restore a parameter value inherited from the Adyen PSP level, include the full object that contains the parameter, and specify an empty value for the parameter or omit the parameter. * Objects that are not included in the request are not updated. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal settings read and write For [sensitive terminal settings](https://docs.adyen.com/point-of-sale/automating-terminal-management/configure-terminals-api#sensitive-terminal-settings), your API credential must have the following role: * Management API—Terminal settings Advanced read and write" +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"wifiProfiles\" : {\n \"profiles\" : [ {\n \"authType\" : \"wpa-eap\",\n \"autoWifi\" : false,\n \"bssType\" : \"infra\",\n \"channel\" : 0,\n \"defaultProfile\" : true,\n \"eap\" : \"peap\",\n \"eapCaCert\" : {\n \"data\" : \"MD1rKS05M2JqRVFNQ...RTtLH1tLWo=\",\n \"name\" : \"eap-peap-ca.pem\"\n },\n \"eapIdentity\" : \"admin\",\n \"eapIntermediateCert\" : {\n \"data\" : \"PD3tUS1CRDdJTiGDR...EFoLS0tLQg=\",\n \"name\" : \"eap-peap-client.pem\"\n },\n \"eapPwd\" : \"EAP_PEAP_PASSWORD\",\n \"hiddenSsid\" : false,\n \"name\" : \"Profile-eap-peap-1\",\n \"ssid\" : \"your-network\",\n \"wsec\" : \"ccmp\"\n }, {\n \"authType\" : \"wpa-psk\",\n \"autoWifi\" : false,\n \"bssType\" : \"infra\",\n \"channel\" : 0,\n \"defaultProfile\" : false,\n \"hiddenSsid\" : false,\n \"name\" : \"Profile-guest-wifi\",\n \"psk\" : \"WIFI_PASSWORD\",\n \"ssid\" : \"your-network\",\n \"wsec\" : \"ccmp\"\n } ],\n \"settings\" : {\n \"band\" : \"2.4GHz\",\n \"roaming\" : true,\n \"timeout\" : 5\n }\n }\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/companies/:companyId/terminalSettings", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "companies", - ":companyId", - "terminalSettings" - ], - "variable": [ - { - "key": "companyId", - "value": "{{YOUR_COMPANY_ACCOUNT}}", - "description": "The unique identifier of the company account." - } - ], - "query": [ - ] - }, - "description": "Updates payment terminal settings for the company identified in the path. These settings apply to all terminals under the company, unless different values are configured at a lower level (merchant account, store, or individual terminal). * To change a parameter value, include the full object that contains the parameter, even if you don't want to change all parameters in the object. * To restore a parameter value inherited from the Adyen PSP level, include the full object that contains the parameter, and specify an empty value for the parameter or omit the parameter. * Objects that are not included in the request are not updated. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal settings read and write For [sensitive terminal settings](https://docs.adyen.com/point-of-sale/automating-terminal-management/configure-terminals-api#sensitive-terminal-settings), your API credential must have the following role: * Management API—Terminal settings Advanced read and write" - } + ] }, { "name": "Add EAP-TLS Wi-Fi profile", "request": { - "method": "PATCH", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"wifiProfiles\" : {\n \"profiles\" : [ {\n \"authType\" : \"wpa-eap\",\n \"autoWifi\" : false,\n \"bssType\" : \"infra\",\n \"channel\" : 0,\n \"defaultProfile\" : true,\n \"eap\" : \"tls\",\n \"eapCaCert\" : {\n \"data\" : \"LS0tLS05M2JqRVFNQ...EUtLS0tLQo=\",\n \"name\" : \"eap-tls-ca.pem\"\n },\n \"eapClientCert\" : {\n \"data\" : \"LS0tLS1CRUdJTiBDR...EUtLS0tLQo=\",\n \"name\" : \"eap-tls-client.pem\"\n },\n \"eapClientKey\" : {\n \"data\" : \"AAAB3NzaC1...Rtah3KLFwPU=\",\n \"name\" : \"rsa-private.key\"\n },\n \"eapClientPwd\" : \"\",\n \"eapIdentity\" : \"admin\",\n \"hiddenSsid\" : false,\n \"name\" : \"Profile-eap-tls-1\",\n \"ssid\" : \"your-network\",\n \"wsec\" : \"ccmp\"\n } ],\n \"settings\" : {\n \"band\" : \"2.4GHz\",\n \"roaming\" : true,\n \"timeout\" : 5\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/companies/:companyId/terminalSettings", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "companies", + ":companyId", + "terminalSettings" + ], + "variable": [ + { + "key": "companyId", + "value": "{{YOUR_COMPANY_ACCOUNT}}", + "description": "The unique identifier of the company account." + } + ], + "query": [ + ] + }, + "description": "Updates payment terminal settings for the company identified in the path. These settings apply to all terminals under the company, unless different values are configured at a lower level (merchant account, store, or individual terminal). * To change a parameter value, include the full object that contains the parameter, even if you don't want to change all parameters in the object. * To restore a parameter value inherited from the Adyen PSP level, include the full object that contains the parameter, and specify an empty value for the parameter or omit the parameter. * Objects that are not included in the request are not updated. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal settings read and write For [sensitive terminal settings](https://docs.adyen.com/point-of-sale/automating-terminal-management/configure-terminals-api#sensitive-terminal-settings), your API credential must have the following role: * Management API—Terminal settings Advanced read and write" +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"cardholderReceipt\" : {\n \"headerForAuthorizedReceipt\" : \"header1,header2,filler\"\n },\n \"gratuities\" : [ {\n \"currency\" : \"EUR\",\n \"usePredefinedTipEntries\" : true,\n \"predefinedTipEntries\" : [ \"100\", \"1%\", \"5%\" ],\n \"allowCustomAmount\" : true\n } ],\n \"nexo\" : {\n \"displayUrls\" : {\n \"localUrls\" : [ {\n \"password\" : \"BASIC_AUTH_PASSWORD\",\n \"url\" : \"https://your-display-notifications-endpoint.com\",\n \"username\" : \"BASIC_AUTH_USERNAME\"\n } ]\n },\n \"encryptionKey\" : {\n \"identifier\" : \"KEY_IDENTIFIER\",\n \"passphrase\" : \"KEY_PASSPHRASE\",\n \"version\" : 1\n },\n \"eventUrls\" : {\n \"eventPublicUrls\" : [ {\n \"password\" : \"BASIC_AUTH_PASSWORD\",\n \"url\" : \"https://your-event-notifications-endpoint.com\",\n \"username\" : \"BASIC_AUTH_USERNAME\"\n } ]\n }\n },\n \"opi\" : {\n \"enablePayAtTable\" : true,\n \"payAtTableStoreNumber\" : \"1\",\n \"payAtTableURL\" : \"https:/your-pay-at-table-endpoint.com\"\n },\n \"offlineProcessing\" : {\n \"chipFloorLimit\" : 0\n },\n \"receiptOptions\" : {\n \"qrCodeData\" : \"http://www.example.com/order/${pspreference}/${merchantreference}\"\n },\n \"receiptPrinting\" : {\n \"shopperApproved\" : true,\n \"shopperRefused\" : true,\n \"shopperCancelled\" : true,\n \"shopperRefundApproved\" : true,\n \"shopperRefundRefused\" : true,\n \"shopperVoid\" : true\n },\n \"signature\" : {\n \"askSignatureOnScreen\" : true,\n \"skipSignature\" : false,\n \"deviceName\" : \"Amsterdam-236203386\"\n },\n \"wifiProfiles\" : {\n \"profiles\" : [ {\n \"authType\" : \"wpa-eap\",\n \"autoWifi\" : false,\n \"bssType\" : \"infra\",\n \"channel\" : 0,\n \"defaultProfile\" : true,\n \"eap\" : \"tls\",\n \"eapCaCert\" : {\n \"data\" : \"LS0tLS05M2JqRVFNQ...EUtLS0tLQo=\",\n \"name\" : \"eap-tls-ca.pem\"\n },\n \"eapClientCert\" : {\n \"data\" : \"LS0tLS1CRUdJTiBDR...EUtLS0tLQo=\",\n \"name\" : \"eap-tls-client.pem\"\n },\n \"eapClientKey\" : {\n \"data\" : \"AAAB3NzaC1...Rtah3KLFwPU=\",\n \"name\" : \"rsa-private.key\"\n },\n \"eapClientPwd\" : \"\",\n \"eapIdentity\" : \"admin\",\n \"hiddenSsid\" : false,\n \"name\" : \"Profile-eap-tls-1\",\n \"ssid\" : \"your-network\",\n \"wsec\" : \"ccmp\"\n } ],\n \"settings\" : {\n \"band\" : \"2.4GHz\",\n \"roaming\" : true,\n \"timeout\" : 5\n }\n },\n \"timeouts\" : {\n \"fromActiveToSleep\" : 30\n },\n \"hardware\" : {\n \"displayMaximumBackLight\" : 75\n }\n}", + "originalRequest": { + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"wifiProfiles\" : {\n \"profiles\" : [ {\n \"authType\" : \"wpa-eap\",\n \"autoWifi\" : false,\n \"bssType\" : \"infra\",\n \"channel\" : 0,\n \"defaultProfile\" : true,\n \"eap\" : \"tls\",\n \"eapCaCert\" : {\n \"data\" : \"LS0tLS05M2JqRVFNQ...EUtLS0tLQo=\",\n \"name\" : \"eap-tls-ca.pem\"\n },\n \"eapClientCert\" : {\n \"data\" : \"LS0tLS1CRUdJTiBDR...EUtLS0tLQo=\",\n \"name\" : \"eap-tls-client.pem\"\n },\n \"eapClientKey\" : {\n \"data\" : \"AAAB3NzaC1...Rtah3KLFwPU=\",\n \"name\" : \"rsa-private.key\"\n },\n \"eapClientPwd\" : \"\",\n \"eapIdentity\" : \"admin\",\n \"hiddenSsid\" : false,\n \"name\" : \"Profile-eap-tls-1\",\n \"ssid\" : \"your-network\",\n \"wsec\" : \"ccmp\"\n } ],\n \"settings\" : {\n \"band\" : \"2.4GHz\",\n \"roaming\" : true,\n \"timeout\" : 5\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/companies/:companyId/terminalSettings", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "companies", + ":companyId", + "terminalSettings" + ], + "variable": [ + { + "key": "companyId", + "value": "{{YOUR_COMPANY_ACCOUNT}}", + "description": "The unique identifier of the company account." + } + ], + "query": [ + ] + }, + "description": "Updates payment terminal settings for the company identified in the path. These settings apply to all terminals under the company, unless different values are configured at a lower level (merchant account, store, or individual terminal). * To change a parameter value, include the full object that contains the parameter, even if you don't want to change all parameters in the object. * To restore a parameter value inherited from the Adyen PSP level, include the full object that contains the parameter, and specify an empty value for the parameter or omit the parameter. * Objects that are not included in the request are not updated. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal settings read and write For [sensitive terminal settings](https://docs.adyen.com/point-of-sale/automating-terminal-management/configure-terminals-api#sensitive-terminal-settings), your API credential must have the following role: * Management API—Terminal settings Advanced read and write" +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"wifiProfiles\" : {\n \"profiles\" : [ {\n \"authType\" : \"wpa-eap\",\n \"autoWifi\" : false,\n \"bssType\" : \"infra\",\n \"channel\" : 0,\n \"defaultProfile\" : true,\n \"eap\" : \"tls\",\n \"eapCaCert\" : {\n \"data\" : \"LS0tLS05M2JqRVFNQ...EUtLS0tLQo=\",\n \"name\" : \"eap-tls-ca.pem\"\n },\n \"eapClientCert\" : {\n \"data\" : \"LS0tLS1CRUdJTiBDR...EUtLS0tLQo=\",\n \"name\" : \"eap-tls-client.pem\"\n },\n \"eapClientKey\" : {\n \"data\" : \"AAAB3NzaC1...Rtah3KLFwPU=\",\n \"name\" : \"rsa-private.key\"\n },\n \"eapClientPwd\" : \"\",\n \"eapIdentity\" : \"admin\",\n \"hiddenSsid\" : false,\n \"name\" : \"Profile-eap-tls-1\",\n \"ssid\" : \"your-network\",\n \"wsec\" : \"ccmp\"\n } ],\n \"settings\" : {\n \"band\" : \"2.4GHz\",\n \"roaming\" : true,\n \"timeout\" : 5\n }\n }\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/companies/:companyId/terminalSettings", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "companies", - ":companyId", - "terminalSettings" - ], - "variable": [ - { - "key": "companyId", - "value": "{{YOUR_COMPANY_ACCOUNT}}", - "description": "The unique identifier of the company account." - } - ], - "query": [ - ] - }, - "description": "Updates payment terminal settings for the company identified in the path. These settings apply to all terminals under the company, unless different values are configured at a lower level (merchant account, store, or individual terminal). * To change a parameter value, include the full object that contains the parameter, even if you don't want to change all parameters in the object. * To restore a parameter value inherited from the Adyen PSP level, include the full object that contains the parameter, and specify an empty value for the parameter or omit the parameter. * Objects that are not included in the request are not updated. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal settings read and write For [sensitive terminal settings](https://docs.adyen.com/point-of-sale/automating-terminal-management/configure-terminals-api#sensitive-terminal-settings), your API credential must have the following role: * Management API—Terminal settings Advanced read and write" - } + ] } ] } - ] }, { @@ -6950,62 +9671,63 @@ { "name": "Get a list of API credentials", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/companies/:companyId/apiCredentials", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "companies", - ":companyId", - "apiCredentials" - ], - "variable": [ - { - "key": "companyId", - "value": "{{YOUR_COMPANY_ACCOUNT}}", - "description": "The unique identifier of the company account." - } - ], - "query": [ - { - "key": "pageNumber", - "value": "56", - "description": "The number of the page to fetch.", - "disabled": true - }, - { - "key": "pageSize", - "value": "56", - "description": "The number of items to have on a page, maximum 100. The default is 10 items on a page.", - "disabled": true - } - ] - }, - "description": "Returns the list of [API credentials](https://docs.adyen.com/development-resources/api-credentials) for the company account. The list is grouped into pages as defined by the query parameters. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—API credentials read and write" - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/companies/:companyId/apiCredentials", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "companies", + ":companyId", + "apiCredentials" + ], + "variable": [ + { + "key": "companyId", + "value": "{{YOUR_COMPANY_ACCOUNT}}", + "description": "The unique identifier of the company account." + } + ], + "query": [ + { + "key": "pageNumber", + "value": "56", + "description": "The number of the page to fetch.", + "disabled": true + }, + { + "key": "pageSize", + "value": "56", + "description": "The number of items to have on a page, maximum 100. The default is 10 items on a page.", + "disabled": true + } + ] + }, + "description": "Returns the list of [API credentials](https://docs.adyen.com/development-resources/api-credentials) for the company account. The list is grouped into pages as defined by the query parameters. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—API credentials read and write" +} + ,"response": [ + ] } ] - } -, + }, { "name": "/companies/:companyId/apiCredentials", "description": "Creates an [API credential](https://docs.adyen.com/development-resources/api-credentials) for the company account identified in the path. In the request, you can specify which merchant accounts the new API credential will have access to, as well as its roles and allowed origins. The response includes several types of authentication details: * [API key](https://docs.adyen.com/development-resources/api-authentication#api-key-authentication): used for API request authentication. * [Client key](https://docs.adyen.com/development-resources/client-side-authentication#how-it-works): public key used for client-side authentication. * [Username and password](https://docs.adyen.com/development-resources/api-authentication#using-basic-authentication): used for basic authentication. > Make sure you store the API key securely in your system. You won't be able to retrieve it later. If your API key is lost or compromised, you need to [generate a new API key](https://docs.adyen.com/api-explorer/#/ManagementService/v1/post/companies/{companyId}/apiCredentials/{apiCredentialId}/generateApiKey). To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—API credentials read and write", @@ -7013,56 +9735,115 @@ { "name": "Add an API credential", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"roles\" : [ \"Checkout webservice role\" ],\n \"allowedOrigins\" : [ \"https://www.mystore.com\" ],\n \"associatedMerchantAccounts\" : [ \"{{YOUR_MERCHANT_ACCOUNT}}_AU\", \"{{YOUR_MERCHANT_ACCOUNT}}_EU\", \"{{YOUR_MERCHANT_ACCOUNT}}_US\" ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/companies/:companyId/apiCredentials", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "companies", + ":companyId", + "apiCredentials" + ], + "variable": [ + { + "key": "companyId", + "value": "{{YOUR_COMPANY_ACCOUNT}}", + "description": "The unique identifier of the company account." + } + ], + "query": [ + ] + }, + "description": "Creates an [API credential](https://docs.adyen.com/development-resources/api-credentials) for the company account identified in the path. In the request, you can specify which merchant accounts the new API credential will have access to, as well as its roles and allowed origins. The response includes several types of authentication details: * [API key](https://docs.adyen.com/development-resources/api-authentication#api-key-authentication): used for API request authentication. * [Client key](https://docs.adyen.com/development-resources/client-side-authentication#how-it-works): public key used for client-side authentication. * [Username and password](https://docs.adyen.com/development-resources/api-authentication#using-basic-authentication): used for basic authentication. > Make sure you store the API key securely in your system. You won't be able to retrieve it later. If your API key is lost or compromised, you need to [generate a new API key](https://docs.adyen.com/api-explorer/#/ManagementService/v1/post/companies/{companyId}/apiCredentials/{apiCredentialId}/generateApiKey). To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—API credentials read and write" +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"id\" : \"YOUR_API_CREDENTIAL\",\n \"username\" : \"YOUR_USERNAME\",\n \"clientKey\" : \"YOUR_CLIENT_KEY\",\n \"allowedIpAddresses\" : [ ],\n \"roles\" : [ \"Checkout webservice role\" ],\n \"active\" : true,\n \"allowedOrigins\" : [ {\n \"id\" : \"YOUR_ALLOWED_ORIGIN\",\n \"domain\" : \"https://www.mystore.com\",\n \"_links\" : {\n \"self\" : {\n \"href\" : \"https://management-test.adyen.com/v1/companies/YOUR_COMPANY_ACCOUNT/apiCredentials/YOUR_API_CREDENTIAL/allowedOrigins/YOUR_ALLOWED_ORIGIN\"\n }\n }\n } ],\n \"_links\" : {\n \"self\" : {\n \"href\" : \"https://management-test.adyen.com/v1/companies/YOUR_COMPANY_ACCOUNT/apiCredentials/YOUR_API_CREDENTIAL\"\n },\n \"allowedOrigins\" : {\n \"href\" : \"https://management-test.adyen.com/v1/companies/YOUR_COMPANY_ACCOUNT/apiCredentials/YOUR_API_CREDENTIAL/allowedOrigins\"\n },\n \"company\" : {\n \"href\" : \"https://management-test.adyen.com/v1/companies/YOUR_COMPANY_ACCOUNT\"\n },\n \"generateApiKey\" : {\n \"href\" : \"https://management-test.adyen.com/v1/companies/YOUR_COMPANY_ACCOUNT/apiCredentials/YOUR_API_CREDENTIAL/generateApiKey\"\n },\n \"generateClientKey\" : {\n \"href\" : \"https://management-test.adyen.com/v1/companies/YOUR_COMPANY_ACCOUNT/apiCredentials/YOUR_API_CREDENTIAL/generateClientKey\"\n }\n },\n \"apiKey\" : \"YOUR_API_KEY\",\n \"password\" : \"YOUR_PASSWORD\",\n \"associatedMerchantAccounts\" : [ \"YOUR_MERCHANT_ACCOUNT_AU\", \"YOUR_MERCHANT_ACCOUNT_EU\", \"YOUR_MERCHANT_ACCOUNT_US\" ]\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"roles\" : [ \"Checkout webservice role\" ],\n \"allowedOrigins\" : [ \"https://www.mystore.com\" ],\n \"associatedMerchantAccounts\" : [ \"{{YOUR_MERCHANT_ACCOUNT}}_AU\", \"{{YOUR_MERCHANT_ACCOUNT}}_EU\", \"{{YOUR_MERCHANT_ACCOUNT}}_US\" ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/companies/:companyId/apiCredentials", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "companies", + ":companyId", + "apiCredentials" + ], + "variable": [ + { + "key": "companyId", + "value": "{{YOUR_COMPANY_ACCOUNT}}", + "description": "The unique identifier of the company account." + } + ], + "query": [ + ] + }, + "description": "Creates an [API credential](https://docs.adyen.com/development-resources/api-credentials) for the company account identified in the path. In the request, you can specify which merchant accounts the new API credential will have access to, as well as its roles and allowed origins. The response includes several types of authentication details: * [API key](https://docs.adyen.com/development-resources/api-authentication#api-key-authentication): used for API request authentication. * [Client key](https://docs.adyen.com/development-resources/client-side-authentication#how-it-works): public key used for client-side authentication. * [Username and password](https://docs.adyen.com/development-resources/api-authentication#using-basic-authentication): used for basic authentication. > Make sure you store the API key securely in your system. You won't be able to retrieve it later. If your API key is lost or compromised, you need to [generate a new API key](https://docs.adyen.com/api-explorer/#/ManagementService/v1/post/companies/{companyId}/apiCredentials/{apiCredentialId}/generateApiKey). To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—API credentials read and write" +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"roles\" : [ \"Checkout webservice role\" ],\n \"allowedOrigins\" : [ \"https://www.mystore.com\" ],\n \"associatedMerchantAccounts\" : [ \"{{YOUR_MERCHANT_ACCOUNT}}_AU\", \"{{YOUR_MERCHANT_ACCOUNT}}_EU\", \"{{YOUR_MERCHANT_ACCOUNT}}_US\" ]\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/companies/:companyId/apiCredentials", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "companies", - ":companyId", - "apiCredentials" - ], - "variable": [ - { - "key": "companyId", - "value": "{{YOUR_COMPANY_ACCOUNT}}", - "description": "The unique identifier of the company account." - } - ], - "query": [ - ] - }, - "description": "Creates an [API credential](https://docs.adyen.com/development-resources/api-credentials) for the company account identified in the path. In the request, you can specify which merchant accounts the new API credential will have access to, as well as its roles and allowed origins. The response includes several types of authentication details: * [API key](https://docs.adyen.com/development-resources/api-authentication#api-key-authentication): used for API request authentication. * [Client key](https://docs.adyen.com/development-resources/client-side-authentication#how-it-works): public key used for client-side authentication. * [Username and password](https://docs.adyen.com/development-resources/api-authentication#using-basic-authentication): used for basic authentication. > Make sure you store the API key securely in your system. You won't be able to retrieve it later. If your API key is lost or compromised, you need to [generate a new API key](https://docs.adyen.com/api-explorer/#/ManagementService/v1/post/companies/{companyId}/apiCredentials/{apiCredentialId}/generateApiKey). To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—API credentials read and write" - } + ] } ] - } -, + }, { "name": "/companies/:companyId/apiCredentials/:apiCredentialId", "description": "Returns the [API credential](https://docs.adyen.com/development-resources/api-credentials) identified in the path. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—API credentials read and write", @@ -7070,56 +9851,57 @@ { "name": "Get an API credential", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/companies/:companyId/apiCredentials/:apiCredentialId", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "companies", - ":companyId", - "apiCredentials", - ":apiCredentialId" - ], - "variable": [ - { - "key": "companyId", - "value": "{{YOUR_COMPANY_ACCOUNT}}", - "description": "The unique identifier of the company account." - }, - { - "key": "apiCredentialId", - "value": "", - "description": "Unique identifier of the API credential." - } - ], - "query": [ - ] - }, - "description": "Returns the [API credential](https://docs.adyen.com/development-resources/api-credentials) identified in the path. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—API credentials read and write" - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/companies/:companyId/apiCredentials/:apiCredentialId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "companies", + ":companyId", + "apiCredentials", + ":apiCredentialId" + ], + "variable": [ + { + "key": "companyId", + "value": "{{YOUR_COMPANY_ACCOUNT}}", + "description": "The unique identifier of the company account." + }, + { + "key": "apiCredentialId", + "value": "", + "description": "Unique identifier of the API credential." + } + ], + "query": [ + ] + }, + "description": "Returns the [API credential](https://docs.adyen.com/development-resources/api-credentials) identified in the path. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—API credentials read and write" +} + ,"response": [ + ] } ] - } -, + }, { "name": "/companies/:companyId/apiCredentials/:apiCredentialId", "description": "Changes the API credential's roles, merchant account access, or allowed origins. The request has the new values for the fields you want to change. The response contains the full updated API credential, including the new values from the request. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—API credentials read and write", @@ -7127,62 +9909,127 @@ { "name": "Activate an API credential", "request": { - "method": "PATCH", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"active\" : true\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/companies/:companyId/apiCredentials/:apiCredentialId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "companies", + ":companyId", + "apiCredentials", + ":apiCredentialId" + ], + "variable": [ + { + "key": "companyId", + "value": "{{YOUR_COMPANY_ACCOUNT}}", + "description": "The unique identifier of the company account." + }, + { + "key": "apiCredentialId", + "value": "", + "description": "Unique identifier of the API credential." + } + ], + "query": [ + ] + }, + "description": "Changes the API credential's roles, merchant account access, or allowed origins. The request has the new values for the fields you want to change. The response contains the full updated API credential, including the new values from the request. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—API credentials read and write" +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"id\" : \"YOUR_API_CREDENTIAL\",\n \"username\" : \"YOUR_USERNAME\",\n \"clientKey\" : \"YOUR_CLIENT_KEY\",\n \"allowedIpAddresses\" : [ ],\n \"roles\" : [ \"Management API - Accounts read\", \"Management API - Webhooks read\", \"Management API - API credentials read and write\", \"Management API - Stores read\", \"Management API — Payment methods read\", \"Management API - Stores read and write\", \"Management API - Webhooks read and write\", \"Merchant Recurring role\", \"Data Protection API\", \"Management API - Payout Account Settings Read\", \"Checkout webservice role\", \"Management API - Accounts read and write\", \"Merchant PAL Webservice role\" ],\n \"active\" : true,\n \"_links\" : {\n \"self\" : {\n \"href\" : \"https://management-test.adyen.com/v1/companies/YOUR_COMPANY_ACCOUNT/apiCredentials/YOUR_API_CREDENTIAL\"\n },\n \"allowedOrigins\" : {\n \"href\" : \"https://management-test.adyen.com/v1/companies/YOUR_COMPANY_ACCOUNT/apiCredentials/YOUR_API_CREDENTIAL/allowedOrigins\"\n },\n \"company\" : {\n \"href\" : \"https://management-test.adyen.com/v1/companies/YOUR_COMPANY_ACCOUNT\"\n },\n \"generateApiKey\" : {\n \"href\" : \"https://management-test.adyen.com/v1/companies/YOUR_COMPANY_ACCOUNT/apiCredentials/YOUR_API_CREDENTIAL/generateApiKey\"\n },\n \"generateClientKey\" : {\n \"href\" : \"https://management-test.adyen.com/v1/companies/YOUR_COMPANY_ACCOUNT/apiCredentials/YOUR_API_CREDENTIAL/generateClientKey\"\n }\n },\n \"associatedMerchantAccounts\" : [ ]\n}", + "originalRequest": { + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"active\" : true\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/companies/:companyId/apiCredentials/:apiCredentialId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "companies", + ":companyId", + "apiCredentials", + ":apiCredentialId" + ], + "variable": [ + { + "key": "companyId", + "value": "{{YOUR_COMPANY_ACCOUNT}}", + "description": "The unique identifier of the company account." + }, + { + "key": "apiCredentialId", + "value": "", + "description": "Unique identifier of the API credential." + } + ], + "query": [ + ] + }, + "description": "Changes the API credential's roles, merchant account access, or allowed origins. The request has the new values for the fields you want to change. The response contains the full updated API credential, including the new values from the request. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—API credentials read and write" +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"active\" : true\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/companies/:companyId/apiCredentials/:apiCredentialId", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "companies", - ":companyId", - "apiCredentials", - ":apiCredentialId" - ], - "variable": [ - { - "key": "companyId", - "value": "{{YOUR_COMPANY_ACCOUNT}}", - "description": "The unique identifier of the company account." - }, - { - "key": "apiCredentialId", - "value": "", - "description": "Unique identifier of the API credential." - } - ], - "query": [ - ] - }, - "description": "Changes the API credential's roles, merchant account access, or allowed origins. The request has the new values for the fields you want to change. The response contains the full updated API credential, including the new values from the request. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—API credentials read and write" - } + ] } ] } - ] }, { @@ -7195,56 +10042,57 @@ { "name": "Get a list of billing entities", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/merchants/:merchantId/billingEntities", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "merchants", - ":merchantId", - "billingEntities" - ], - "variable": [ - { - "key": "merchantId", - "value": "{{YOUR_MERCHANT_ACCOUNT}}", - "description": "The unique identifier of the merchant account." - } - ], - "query": [ - { - "key": "name", - "value": "name_example", - "description": "The name of the billing entity.", - "disabled": true - } - ] - }, - "description": "Returns the billing entities of the merchant account identified in the path. A billing entity is a legal entity where we charge orders to. An order for terminal products must contain the ID of a billing entity. To make this request, your API credential must have one of the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal ordering read * Management API—Terminal ordering read and write" - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/merchants/:merchantId/billingEntities", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "merchants", + ":merchantId", + "billingEntities" + ], + "variable": [ + { + "key": "merchantId", + "value": "{{YOUR_MERCHANT_ACCOUNT}}", + "description": "The unique identifier of the merchant account." + } + ], + "query": [ + { + "key": "name", + "value": "name_example", + "description": "The name of the billing entity.", + "disabled": true + } + ] + }, + "description": "Returns the billing entities of the merchant account identified in the path. A billing entity is a legal entity where we charge orders to. An order for terminal products must contain the ID of a billing entity. To make this request, your API credential must have one of the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal ordering read * Management API—Terminal ordering read and write" +} + ,"response": [ + ] } ] - } -, + }, { "name": "/merchants/:merchantId/shippingLocations", "description": "Returns the shipping locations for the merchant account identified in the path. A shipping location includes the address where orders can be delivered, and an ID which you need to specify when ordering terminal products. To make this request, your API credential must have one of the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal ordering read * Management API—Terminal ordering read and write", @@ -7252,68 +10100,69 @@ { "name": "Get a list of shipping locations", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/merchants/:merchantId/shippingLocations", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "merchants", - ":merchantId", - "shippingLocations" - ], - "variable": [ - { - "key": "merchantId", - "value": "{{YOUR_MERCHANT_ACCOUNT}}", - "description": "The unique identifier of the merchant account." - } - ], - "query": [ - { - "key": "name", - "value": "name_example", - "description": "The name of the shipping location.", - "disabled": true - }, - { - "key": "offset", - "value": "56", - "description": "The number of locations to skip.", - "disabled": true - }, - { - "key": "limit", - "value": "56", - "description": "The number of locations to return.", - "disabled": true - } - ] - }, - "description": "Returns the shipping locations for the merchant account identified in the path. A shipping location includes the address where orders can be delivered, and an ID which you need to specify when ordering terminal products. To make this request, your API credential must have one of the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal ordering read * Management API—Terminal ordering read and write" - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/merchants/:merchantId/shippingLocations", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "merchants", + ":merchantId", + "shippingLocations" + ], + "variable": [ + { + "key": "merchantId", + "value": "{{YOUR_MERCHANT_ACCOUNT}}", + "description": "The unique identifier of the merchant account." + } + ], + "query": [ + { + "key": "name", + "value": "name_example", + "description": "The name of the shipping location.", + "disabled": true + }, + { + "key": "offset", + "value": "56", + "description": "The number of locations to skip.", + "disabled": true + }, + { + "key": "limit", + "value": "56", + "description": "The number of locations to return.", + "disabled": true + } + ] + }, + "description": "Returns the shipping locations for the merchant account identified in the path. A shipping location includes the address where orders can be delivered, and an ID which you need to specify when ordering terminal products. To make this request, your API credential must have one of the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal ordering read * Management API—Terminal ordering read and write" +} + ,"response": [ + ] } ] - } -, + }, { "name": "/merchants/:merchantId/shippingLocations", "description": "Creates a shipping location for the merchant account identified in the path. A shipping location defines an address where orders can be shipped to. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal ordering read and write", @@ -7321,56 +10170,115 @@ { "name": "Create a shipping location", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\" : \"{{YOUR_MERCHANT_ACCOUNT}} Barcelona depot\",\n \"address\" : {\n \"companyName\" : \"YOUR_COMPANY\",\n \"streetAddress\" : \"El quinto pino 42\",\n \"postalCode\" : \"08012\",\n \"city\" : \"Barcelona\",\n \"stateOrProvince\" : \"\",\n \"country\" : \"ES\"\n },\n \"contact\" : {\n \"firstName\" : \"Rita\",\n \"lastName\" : \"Perengano\",\n \"phoneNumber\" : \"+34 93 1234567\",\n \"email\" : \"Rita.Perengano@company.com\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/merchants/:merchantId/shippingLocations", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "merchants", + ":merchantId", + "shippingLocations" + ], + "variable": [ + { + "key": "merchantId", + "value": "{{YOUR_MERCHANT_ACCOUNT}}", + "description": "The unique identifier of the merchant account." + } + ], + "query": [ + ] + }, + "description": "Creates a shipping location for the merchant account identified in the path. A shipping location defines an address where orders can be shipped to. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal ordering read and write" +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"id\" : \"S2-73536B20665526704F30792642212044452F714622375D477270\",\n \"name\" : \"YOUR_MERCHANT_ACCOUNT Barcelona depot\",\n \"contact\" : {\n \"firstName\" : \"Rita\",\n \"lastName\" : \"Perengano\",\n \"phoneNumber\" : \"+34931234567\",\n \"email\" : \"Rita.Perengano@company.com\"\n },\n \"address\" : {\n \"companyName\" : \"YOUR_COMPANY\",\n \"streetAddress\" : \"El quinto pino 42\",\n \"postalCode\" : \"08012\",\n \"city\" : \"Barcelona\",\n \"stateOrProvince\" : \"\"\n }\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\" : \"{{YOUR_MERCHANT_ACCOUNT}} Barcelona depot\",\n \"address\" : {\n \"companyName\" : \"YOUR_COMPANY\",\n \"streetAddress\" : \"El quinto pino 42\",\n \"postalCode\" : \"08012\",\n \"city\" : \"Barcelona\",\n \"stateOrProvince\" : \"\",\n \"country\" : \"ES\"\n },\n \"contact\" : {\n \"firstName\" : \"Rita\",\n \"lastName\" : \"Perengano\",\n \"phoneNumber\" : \"+34 93 1234567\",\n \"email\" : \"Rita.Perengano@company.com\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/merchants/:merchantId/shippingLocations", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "merchants", + ":merchantId", + "shippingLocations" + ], + "variable": [ + { + "key": "merchantId", + "value": "{{YOUR_MERCHANT_ACCOUNT}}", + "description": "The unique identifier of the merchant account." + } + ], + "query": [ + ] + }, + "description": "Creates a shipping location for the merchant account identified in the path. A shipping location defines an address where orders can be shipped to. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal ordering read and write" +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"name\" : \"{{YOUR_MERCHANT_ACCOUNT}} Barcelona depot\",\n \"address\" : {\n \"companyName\" : \"YOUR_COMPANY\",\n \"streetAddress\" : \"El quinto pino 42\",\n \"postalCode\" : \"08012\",\n \"city\" : \"Barcelona\",\n \"stateOrProvince\" : \"\",\n \"country\" : \"ES\"\n },\n \"contact\" : {\n \"firstName\" : \"Rita\",\n \"lastName\" : \"Perengano\",\n \"phoneNumber\" : \"+34 93 1234567\",\n \"email\" : \"Rita.Perengano@company.com\"\n }\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/merchants/:merchantId/shippingLocations", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "merchants", - ":merchantId", - "shippingLocations" - ], - "variable": [ - { - "key": "merchantId", - "value": "{{YOUR_MERCHANT_ACCOUNT}}", - "description": "The unique identifier of the merchant account." - } - ], - "query": [ - ] - }, - "description": "Creates a shipping location for the merchant account identified in the path. A shipping location defines an address where orders can be shipped to. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal ordering read and write" - } + ] } ] - } -, + }, { "name": "/merchants/:merchantId/terminalModels", "description": "Returns the payment terminal models that merchant account identified in the path has access to. The response includes the terminal model ID, which can be used as a query parameter when getting a list of terminals or a list of products for ordering. To make this request, your API credential must have one of the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal ordering read * Management API—Terminal ordering read and write", @@ -7378,50 +10286,51 @@ { "name": "Get a list of terminal models", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/merchants/:merchantId/terminalModels", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "merchants", - ":merchantId", - "terminalModels" - ], - "variable": [ - { - "key": "merchantId", - "value": "{{YOUR_MERCHANT_ACCOUNT}}", - "description": "The unique identifier of the merchant account." - } - ], - "query": [ - ] - }, - "description": "Returns the payment terminal models that merchant account identified in the path has access to. The response includes the terminal model ID, which can be used as a query parameter when getting a list of terminals or a list of products for ordering. To make this request, your API credential must have one of the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal ordering read * Management API—Terminal ordering read and write" - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/merchants/:merchantId/terminalModels", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "merchants", + ":merchantId", + "terminalModels" + ], + "variable": [ + { + "key": "merchantId", + "value": "{{YOUR_MERCHANT_ACCOUNT}}", + "description": "The unique identifier of the merchant account." + } + ], + "query": [ + ] + }, + "description": "Returns the payment terminal models that merchant account identified in the path has access to. The response includes the terminal model ID, which can be used as a query parameter when getting a list of terminals or a list of products for ordering. To make this request, your API credential must have one of the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal ordering read * Management API—Terminal ordering read and write" +} + ,"response": [ + ] } ] - } -, + }, { "name": "/merchants/:merchantId/terminalOrders", "description": "Returns a list of terminal products orders for the merchant account identified in the path. To make this request, your API credential must have one of the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal ordering read * Management API—Terminal ordering read and write", @@ -7429,74 +10338,75 @@ { "name": "Get a list of orders", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/merchants/:merchantId/terminalOrders", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "merchants", - ":merchantId", - "terminalOrders" - ], - "variable": [ - { - "key": "merchantId", - "value": "{{YOUR_MERCHANT_ACCOUNT}}", - "description": "" - } - ], - "query": [ - { - "key": "customerOrderReference", - "value": "customerOrderReference_example", - "description": "Your purchase order number.", - "disabled": true - }, - { - "key": "status", - "value": "status_example", - "description": "The order status. Possible values (not case-sensitive): Placed, Confirmed, Cancelled, Shipped, Delivered.", - "disabled": true - }, - { - "key": "offset", - "value": "56", - "description": "The number of orders to skip.", - "disabled": true - }, - { - "key": "limit", - "value": "56", - "description": "The number of orders to return.", - "disabled": true - } - ] - }, - "description": "Returns a list of terminal products orders for the merchant account identified in the path. To make this request, your API credential must have one of the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal ordering read * Management API—Terminal ordering read and write" - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/merchants/:merchantId/terminalOrders", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "merchants", + ":merchantId", + "terminalOrders" + ], + "variable": [ + { + "key": "merchantId", + "value": "{{YOUR_MERCHANT_ACCOUNT}}", + "description": "" + } + ], + "query": [ + { + "key": "customerOrderReference", + "value": "customerOrderReference_example", + "description": "Your purchase order number.", + "disabled": true + }, + { + "key": "status", + "value": "status_example", + "description": "The order status. Possible values (not case-sensitive): Placed, Confirmed, Cancelled, Shipped, Delivered.", + "disabled": true + }, + { + "key": "offset", + "value": "56", + "description": "The number of orders to skip.", + "disabled": true + }, + { + "key": "limit", + "value": "56", + "description": "The number of orders to return.", + "disabled": true + } + ] + }, + "description": "Returns a list of terminal products orders for the merchant account identified in the path. To make this request, your API credential must have one of the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal ordering read * Management API—Terminal ordering read and write" +} + ,"response": [ + ] } ] - } -, + }, { "name": "/merchants/:merchantId/terminalOrders", "description": "Creates an order for payment terminal products for the merchant account identified in the path. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal ordering read and write >Requests to the Management API test endpoint do not create actual orders for test terminals. To order test terminals, you need to [submit a sales order](https://docs.adyen.com/point-of-sale/managing-terminals/order-terminals/#sales-order-steps) in your Customer Area.", @@ -7504,56 +10414,115 @@ { "name": "Create an order", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"customerOrderReference\" : \"{{$guid}}\",\n \"shippingLocationId\" : \"S2-6A6C2E3432747D4F2F2C3455485E3836457D\",\n \"billingEntityId\" : \"MerchantAccount.{{YOUR_MERCHANT_ACCOUNT}}\",\n \"items\" : [ {\n \"id\" : \"PART-287001-EU\",\n \"name\" : \"Bluetooth Charging Base - V400m\",\n \"quantity\" : 2\n }, {\n \"id\" : \"PART-620222-EU\",\n \"name\" : \"Receipt Roll\",\n \"quantity\" : 20\n } ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/merchants/:merchantId/terminalOrders", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "merchants", + ":merchantId", + "terminalOrders" + ], + "variable": [ + { + "key": "merchantId", + "value": "{{YOUR_MERCHANT_ACCOUNT}}", + "description": "The unique identifier of the merchant account." + } + ], + "query": [ + ] + }, + "description": "Creates an order for payment terminal products for the merchant account identified in the path. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal ordering read and write >Requests to the Management API test endpoint do not create actual orders for test terminals. To order test terminals, you need to [submit a sales order](https://docs.adyen.com/point-of-sale/managing-terminals/order-terminals/#sales-order-steps) in your Customer Area." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"id\" : \"4154567890100682\",\n \"customerOrderReference\" : \"YOUR_REFERENCE\",\n \"status\" : \"Placed\",\n \"shippingLocation\" : {\n \"id\" : \"S2-6A6C2E3432747D4F2F2C3455485E3836457D\",\n \"name\" : \"YOUR_COMPANY Spain\",\n \"contact\" : {\n \"firstName\" : \"Pablo\",\n \"lastName\" : \"Mengano\",\n \"phoneNumber\" : \"+34911234567\",\n \"email\" : \"Pablo.Mengano@company.com\"\n },\n \"address\" : {\n \"streetAddress\" : \"Paseo de la Castellana 43\",\n \"streetAddress2\" : \"7 piso\",\n \"postalCode\" : \"28046\",\n \"city\" : \"Madrid\",\n \"country\" : \"ES\"\n }\n },\n \"billingEntity\" : {\n \"id\" : \"MerchantAccount.YOUR_MERCHANT_ACCOUNT\",\n \"name\" : \"YOUR_MERCHANT_ACCOUNT\",\n \"taxId\" : \"ES1234567890\",\n \"email\" : \"Pablo.Mengano@company.com\",\n \"address\" : {\n \"streetAddress\" : \"Paseo de la Castellana 43, 7\",\n \"postalCode\" : \"28046\",\n \"city\" : \"Madrid\",\n \"country\" : \"ES\"\n }\n },\n \"orderDate\" : \"2022-01-21T16:12:33Z\",\n \"items\" : [ {\n \"id\" : \"PART-287001-EU\",\n \"name\" : \"Bluetooth Charging Base - V400m\",\n \"quantity\" : 2\n }, {\n \"id\" : \"PART-620222-EU\",\n \"name\" : \"Receipt Roll\",\n \"quantity\" : 20\n } ]\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"customerOrderReference\" : \"{{$guid}}\",\n \"shippingLocationId\" : \"S2-6A6C2E3432747D4F2F2C3455485E3836457D\",\n \"billingEntityId\" : \"MerchantAccount.{{YOUR_MERCHANT_ACCOUNT}}\",\n \"items\" : [ {\n \"id\" : \"PART-287001-EU\",\n \"name\" : \"Bluetooth Charging Base - V400m\",\n \"quantity\" : 2\n }, {\n \"id\" : \"PART-620222-EU\",\n \"name\" : \"Receipt Roll\",\n \"quantity\" : 20\n } ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/merchants/:merchantId/terminalOrders", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "merchants", + ":merchantId", + "terminalOrders" + ], + "variable": [ + { + "key": "merchantId", + "value": "{{YOUR_MERCHANT_ACCOUNT}}", + "description": "The unique identifier of the merchant account." + } + ], + "query": [ + ] + }, + "description": "Creates an order for payment terminal products for the merchant account identified in the path. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal ordering read and write >Requests to the Management API test endpoint do not create actual orders for test terminals. To order test terminals, you need to [submit a sales order](https://docs.adyen.com/point-of-sale/managing-terminals/order-terminals/#sales-order-steps) in your Customer Area." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"customerOrderReference\" : \"{{$guid}}\",\n \"shippingLocationId\" : \"S2-6A6C2E3432747D4F2F2C3455485E3836457D\",\n \"billingEntityId\" : \"MerchantAccount.{{YOUR_MERCHANT_ACCOUNT}}\",\n \"items\" : [ {\n \"id\" : \"PART-287001-EU\",\n \"name\" : \"Bluetooth Charging Base - V400m\",\n \"quantity\" : 2\n }, {\n \"id\" : \"PART-620222-EU\",\n \"name\" : \"Receipt Roll\",\n \"quantity\" : 20\n } ]\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/merchants/:merchantId/terminalOrders", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "merchants", - ":merchantId", - "terminalOrders" - ], - "variable": [ - { - "key": "merchantId", - "value": "{{YOUR_MERCHANT_ACCOUNT}}", - "description": "The unique identifier of the merchant account." - } - ], - "query": [ - ] - }, - "description": "Creates an order for payment terminal products for the merchant account identified in the path. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal ordering read and write >Requests to the Management API test endpoint do not create actual orders for test terminals. To order test terminals, you need to [submit a sales order](https://docs.adyen.com/point-of-sale/managing-terminals/order-terminals/#sales-order-steps) in your Customer Area." - } + ] } ] - } -, + }, { "name": "/merchants/:merchantId/terminalOrders/:orderId", "description": "Returns the details of the terminal products order identified in the path. To make this request, your API credential must have one of the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal ordering read * Management API—Terminal ordering read and write", @@ -7561,56 +10530,57 @@ { "name": "Get an order", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/merchants/:merchantId/terminalOrders/:orderId", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "merchants", - ":merchantId", - "terminalOrders", - ":orderId" - ], - "variable": [ - { - "key": "merchantId", - "value": "{{YOUR_MERCHANT_ACCOUNT}}", - "description": "The unique identifier of the merchant account." - }, - { - "key": "orderId", - "value": "", - "description": "The unique identifier of the order." - } - ], - "query": [ - ] - }, - "description": "Returns the details of the terminal products order identified in the path. To make this request, your API credential must have one of the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal ordering read * Management API—Terminal ordering read and write" - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/merchants/:merchantId/terminalOrders/:orderId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "merchants", + ":merchantId", + "terminalOrders", + ":orderId" + ], + "variable": [ + { + "key": "merchantId", + "value": "{{YOUR_MERCHANT_ACCOUNT}}", + "description": "The unique identifier of the merchant account." + }, + { + "key": "orderId", + "value": "", + "description": "The unique identifier of the order." + } + ], + "query": [ + ] + }, + "description": "Returns the details of the terminal products order identified in the path. To make this request, your API credential must have one of the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal ordering read * Management API—Terminal ordering read and write" +} + ,"response": [ + ] } ] - } -, + }, { "name": "/merchants/:merchantId/terminalOrders/:orderId", "description": "Updates the terminal products order identified in the path. Updating is only possible while the order has the status **Placed**. The request body only needs to contain what you want to change. However, to update the products in the `items` array, you must provide the entire array. For example, if the array has three items: To remove one item, the array must include the remaining two items. Or to add one item, the array must include all four items. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal ordering read and write", @@ -7618,62 +10588,127 @@ { "name": "Update a terminal order", "request": { - "method": "PATCH", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"items\" : [ {\n \"id\" : \"TBOX-V400m-684-EU\",\n \"name\" : \"V400m Package\",\n \"quantity\" : 1\n }, {\n \"id\" : \"PART-287001-EU\",\n \"name\" : \"Bluetooth Charging Base - V400m\",\n \"quantity\" : 2\n }, {\n \"id\" : \"PART-620222-EU\",\n \"name\" : \"Receipt Roll\",\n \"quantity\" : 20\n } ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/merchants/:merchantId/terminalOrders/:orderId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "merchants", + ":merchantId", + "terminalOrders", + ":orderId" + ], + "variable": [ + { + "key": "merchantId", + "value": "{{YOUR_MERCHANT_ACCOUNT}}", + "description": "The unique identifier of the merchant account." + }, + { + "key": "orderId", + "value": "", + "description": "The unique identifier of the order." + } + ], + "query": [ + ] + }, + "description": "Updates the terminal products order identified in the path. Updating is only possible while the order has the status **Placed**. The request body only needs to contain what you want to change. However, to update the products in the `items` array, you must provide the entire array. For example, if the array has three items: To remove one item, the array must include the remaining two items. Or to add one item, the array must include all four items. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal ordering read and write" +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"id\" : \"4154567890100682\",\n \"customerOrderReference\" : \"YOUR_REFERENCE\",\n \"status\" : \"Placed\",\n \"shippingLocation\" : {\n \"id\" : \"S2-73536B20665526704F30792642212044452F714622375D477270\",\n \"name\" : \"YOUR_MERCHANT_ACCOUNT Barcelona depot\",\n \"contact\" : {\n \"firstName\" : \"Rita\",\n \"lastName\" : \"Perengano\",\n \"phoneNumber\" : \"+34931234567\",\n \"email\" : \"Rita.Perengano@company.com\"\n },\n \"address\" : {\n \"companyName\" : \"YOUR_COMPANY\",\n \"streetAddress\" : \"El quinto pino 42\",\n \"postalCode\" : \"08012\",\n \"city\" : \"Barcelona\",\n \"stateOrProvince\" : \"\",\n \"country\" : \"ES\"\n }\n },\n \"billingEntity\" : {\n \"id\" : \"MerchantAccount.YOUR_MERCHANT_ACCOUNT\",\n \"name\" : \"YOUR_MERCHANT_ACCOUNT\",\n \"taxId\" : \"ES1234567890\",\n \"email\" : \"Pablo.Mengano@company.com\",\n \"address\" : {\n \"streetAddress\" : \"Paseo de la Castellana 43, 7\",\n \"postalCode\" : \"28046\",\n \"city\" : \"Madrid\",\n \"country\" : \"ES\"\n }\n },\n \"orderDate\" : \"2022-01-21T16:12:33Z\",\n \"items\" : [ {\n \"id\" : \"TBOX-V400m-684-EU\",\n \"name\" : \"V400m Package\",\n \"quantity\" : 1\n }, {\n \"id\" : \"PART-287001-EU\",\n \"name\" : \"Bluetooth Charging Base - V400m\",\n \"quantity\" : 2\n }, {\n \"id\" : \"PART-620222-EU\",\n \"name\" : \"Receipt Roll\",\n \"quantity\" : 20\n } ]\n}", + "originalRequest": { + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"items\" : [ {\n \"id\" : \"TBOX-V400m-684-EU\",\n \"name\" : \"V400m Package\",\n \"quantity\" : 1\n }, {\n \"id\" : \"PART-287001-EU\",\n \"name\" : \"Bluetooth Charging Base - V400m\",\n \"quantity\" : 2\n }, {\n \"id\" : \"PART-620222-EU\",\n \"name\" : \"Receipt Roll\",\n \"quantity\" : 20\n } ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/merchants/:merchantId/terminalOrders/:orderId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "merchants", + ":merchantId", + "terminalOrders", + ":orderId" + ], + "variable": [ + { + "key": "merchantId", + "value": "{{YOUR_MERCHANT_ACCOUNT}}", + "description": "The unique identifier of the merchant account." + }, + { + "key": "orderId", + "value": "", + "description": "The unique identifier of the order." + } + ], + "query": [ + ] + }, + "description": "Updates the terminal products order identified in the path. Updating is only possible while the order has the status **Placed**. The request body only needs to contain what you want to change. However, to update the products in the `items` array, you must provide the entire array. For example, if the array has three items: To remove one item, the array must include the remaining two items. Or to add one item, the array must include all four items. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal ordering read and write" +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"items\" : [ {\n \"id\" : \"TBOX-V400m-684-EU\",\n \"name\" : \"V400m Package\",\n \"quantity\" : 1\n }, {\n \"id\" : \"PART-287001-EU\",\n \"name\" : \"Bluetooth Charging Base - V400m\",\n \"quantity\" : 2\n }, {\n \"id\" : \"PART-620222-EU\",\n \"name\" : \"Receipt Roll\",\n \"quantity\" : 20\n } ]\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/merchants/:merchantId/terminalOrders/:orderId", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "merchants", - ":merchantId", - "terminalOrders", - ":orderId" - ], - "variable": [ - { - "key": "merchantId", - "value": "{{YOUR_MERCHANT_ACCOUNT}}", - "description": "The unique identifier of the merchant account." - }, - { - "key": "orderId", - "value": "", - "description": "The unique identifier of the order." - } - ], - "query": [ - ] - }, - "description": "Updates the terminal products order identified in the path. Updating is only possible while the order has the status **Placed**. The request body only needs to contain what you want to change. However, to update the products in the `items` array, you must provide the entire array. For example, if the array has three items: To remove one item, the array must include the remaining two items. Or to add one item, the array must include all four items. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal ordering read and write" - } + ] } ] - } -, + }, { "name": "/merchants/:merchantId/terminalOrders/:orderId/cancel", "description": "Cancels the terminal products order identified in the path. Cancelling is only possible while the order has the status **Placed**. To cancel an order, make a POST call without a request body. The response returns the full order details, but with the status changed to **Cancelled**. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal ordering read and write", @@ -7681,57 +10716,58 @@ { "name": "Cancel an order", "request": { - "method": "POST", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/merchants/:merchantId/terminalOrders/:orderId/cancel", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "merchants", - ":merchantId", - "terminalOrders", - ":orderId", - "cancel" - ], - "variable": [ - { - "key": "merchantId", - "value": "{{YOUR_MERCHANT_ACCOUNT}}", - "description": "The unique identifier of the merchant account." - }, - { - "key": "orderId", - "value": "", - "description": "The unique identifier of the order." - } - ], - "query": [ - ] - }, - "description": "Cancels the terminal products order identified in the path. Cancelling is only possible while the order has the status **Placed**. To cancel an order, make a POST call without a request body. The response returns the full order details, but with the status changed to **Cancelled**. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal ordering read and write" - } + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/merchants/:merchantId/terminalOrders/:orderId/cancel", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "merchants", + ":merchantId", + "terminalOrders", + ":orderId", + "cancel" + ], + "variable": [ + { + "key": "merchantId", + "value": "{{YOUR_MERCHANT_ACCOUNT}}", + "description": "The unique identifier of the merchant account." + }, + { + "key": "orderId", + "value": "", + "description": "The unique identifier of the order." + } + ], + "query": [ + ] + }, + "description": "Cancels the terminal products order identified in the path. Cancelling is only possible while the order has the status **Placed**. To cancel an order, make a POST call without a request body. The response returns the full order details, but with the status changed to **Cancelled**. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal ordering read and write" +} + ,"response": [ + ] } ] - } -, + }, { "name": "/merchants/:merchantId/terminalProducts", "description": "Returns a country-specific list of payment terminal packages and parts that the merchant account identified in the path has access to. To make this request, your API credential must have one of the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal ordering read * Management API—Terminal ordering read and write", @@ -7739,74 +10775,75 @@ { "name": "Get a list of terminal products", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/merchants/:merchantId/terminalProducts", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "merchants", - ":merchantId", - "terminalProducts" - ], - "variable": [ - { - "key": "merchantId", - "value": "{{YOUR_MERCHANT_ACCOUNT}}", - "description": "The unique identifier of the merchant account." - } - ], - "query": [ - { - "key": "country", - "value": "country_example", - "description": "The country to return products for, in [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format. For example, **US**", - "disabled": false - }, - { - "key": "terminalModelId", - "value": "terminalModelId_example", - "description": "The terminal model to return products for. Use the ID returned in the [GET `/terminalModels`](https://docs.adyen.com/api-explorer/#/ManagementService/latest/get/merchants/{merchantId}/terminalModels) response. For example, **Verifone.M400**", - "disabled": true - }, - { - "key": "offset", - "value": "56", - "description": "The number of products to skip.", - "disabled": true - }, - { - "key": "limit", - "value": "56", - "description": "The number of products to return.", - "disabled": true - } - ] - }, - "description": "Returns a country-specific list of payment terminal packages and parts that the merchant account identified in the path has access to. To make this request, your API credential must have one of the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal ordering read * Management API—Terminal ordering read and write" - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/merchants/:merchantId/terminalProducts", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "merchants", + ":merchantId", + "terminalProducts" + ], + "variable": [ + { + "key": "merchantId", + "value": "{{YOUR_MERCHANT_ACCOUNT}}", + "description": "The unique identifier of the merchant account." + } + ], + "query": [ + { + "key": "country", + "value": "country_example", + "description": "The country to return products for, in [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format. For example, **US**", + "disabled": false + }, + { + "key": "terminalModelId", + "value": "terminalModelId_example", + "description": "The terminal model to return products for. Use the ID returned in the [GET `/terminalModels`](https://docs.adyen.com/api-explorer/#/ManagementService/latest/get/merchants/{merchantId}/terminalModels) response. For example, **Verifone.M400**", + "disabled": true + }, + { + "key": "offset", + "value": "56", + "description": "The number of products to skip.", + "disabled": true + }, + { + "key": "limit", + "value": "56", + "description": "The number of products to return.", + "disabled": true + } + ] + }, + "description": "Returns a country-specific list of payment terminal packages and parts that the merchant account identified in the path has access to. To make this request, your API credential must have one of the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal ordering read * Management API—Terminal ordering read and write" +} + ,"response": [ + ] } ] } - ] }, { @@ -7819,55 +10856,56 @@ { "name": "Get a list of company accounts", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/companies", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "companies" - ], - "variable": [ - ], - "query": [ - { - "key": "pageNumber", - "value": "56", - "description": "The number of the page to fetch.", - "disabled": true - }, - { - "key": "pageSize", - "value": "56", - "description": "The number of items to have on a page, maximum 100. The default is 10 items on a page.", - "disabled": true - } - ] - }, - "description": "Returns the list of company accounts that your API credential has access to. The list is grouped into pages as defined by the query parameters. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Account read" - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/companies", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "companies" + ], + "variable": [ + ], + "query": [ + { + "key": "pageNumber", + "value": "56", + "description": "The number of the page to fetch.", + "disabled": true + }, + { + "key": "pageSize", + "value": "56", + "description": "The number of items to have on a page, maximum 100. The default is 10 items on a page.", + "disabled": true + } + ] + }, + "description": "Returns the list of company accounts that your API credential has access to. The list is grouped into pages as defined by the query parameters. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Account read" +} + ,"response": [ + ] } ] - } -, + }, { "name": "/companies/:companyId", "description": "Returns the company account specified in the path. Your API credential must have access to the company account. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Account read", @@ -7875,49 +10913,50 @@ { "name": "Get a company account", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/companies/:companyId", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "companies", - ":companyId" - ], - "variable": [ - { - "key": "companyId", - "value": "{{YOUR_COMPANY_ACCOUNT}}", - "description": "The unique identifier of the company account." - } - ], - "query": [ - ] - }, - "description": "Returns the company account specified in the path. Your API credential must have access to the company account. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Account read" - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/companies/:companyId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "companies", + ":companyId" + ], + "variable": [ + { + "key": "companyId", + "value": "{{YOUR_COMPANY_ACCOUNT}}", + "description": "The unique identifier of the company account." + } + ], + "query": [ + ] + }, + "description": "Returns the company account specified in the path. Your API credential must have access to the company account. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Account read" +} + ,"response": [ + ] } ] - } -, + }, { "name": "/companies/:companyId/merchants", "description": "Returns the list of merchant accounts under the company account specified in the path. The list only includes merchant accounts that your API credential has access to. The list is grouped into pages as defined by the query parameters. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Account read", @@ -7925,62 +10964,63 @@ { "name": "Get a list of merchant accounts", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/companies/:companyId/merchants", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "companies", - ":companyId", - "merchants" - ], - "variable": [ - { - "key": "companyId", - "value": "{{YOUR_COMPANY_ACCOUNT}}", - "description": "The unique identifier of the company account." - } - ], - "query": [ - { - "key": "pageNumber", - "value": "56", - "description": "The number of the page to fetch.", - "disabled": true - }, - { - "key": "pageSize", - "value": "56", - "description": "The number of items to have on a page, maximum 100. The default is 10 items on a page.", - "disabled": true - } - ] - }, - "description": "Returns the list of merchant accounts under the company account specified in the path. The list only includes merchant accounts that your API credential has access to. The list is grouped into pages as defined by the query parameters. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Account read" - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/companies/:companyId/merchants", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "companies", + ":companyId", + "merchants" + ], + "variable": [ + { + "key": "companyId", + "value": "{{YOUR_COMPANY_ACCOUNT}}", + "description": "The unique identifier of the company account." + } + ], + "query": [ + { + "key": "pageNumber", + "value": "56", + "description": "The number of the page to fetch.", + "disabled": true + }, + { + "key": "pageSize", + "value": "56", + "description": "The number of items to have on a page, maximum 100. The default is 10 items on a page.", + "disabled": true + } + ] + }, + "description": "Returns the list of merchant accounts under the company account specified in the path. The list only includes merchant accounts that your API credential has access to. The list is grouped into pages as defined by the query parameters. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Account read" +} + ,"response": [ + ] } ] } - ] }, { @@ -7993,63 +11033,64 @@ { "name": "Get the terminal logo", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/merchants/:merchantId/stores/:reference/terminalLogos", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "merchants", - ":merchantId", - "stores", - ":reference", - "terminalLogos" - ], - "variable": [ - { - "key": "merchantId", - "value": "{{YOUR_MERCHANT_ACCOUNT}}", - "description": "The unique identifier of the merchant account." - }, - { - "key": "reference", - "value": "", - "description": "The reference that identifies the store." - } - ], - "query": [ - { - "key": "model", - "value": "model_example", - "description": "The terminal model. Possible values: E355, VX675WIFIBT, VX680, VX690, VX700, VX820, M400, MX925, P400Plus, UX300, UX410, V200cPlus, V240mPlus, V400cPlus, V400m, e280, e285, e285p, S1E, S1EL, S1F2, S1L, S1U, S7T.", - "disabled": false - } - ] - }, - "description": "Returns the logo that is configured for a specific payment terminal model at the store identified in the path. The logo is returned as a Base64-encoded string. You need to Base64-decode the string to get the actual image file. This logo applies to all terminals of the specified model under the store, unless a different logo is configured for an individual terminal. To make this request, your API credential must have one of the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal settings read * Management API—Terminal settings read and write" - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/merchants/:merchantId/stores/:reference/terminalLogos", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "merchants", + ":merchantId", + "stores", + ":reference", + "terminalLogos" + ], + "variable": [ + { + "key": "merchantId", + "value": "{{YOUR_MERCHANT_ACCOUNT}}", + "description": "The unique identifier of the merchant account." + }, + { + "key": "reference", + "value": "", + "description": "The reference that identifies the store." + } + ], + "query": [ + { + "key": "model", + "value": "model_example", + "description": "The terminal model. Possible values: E355, VX675WIFIBT, VX680, VX690, VX700, VX820, M400, MX925, P400Plus, UX300, UX410, V200cPlus, V240mPlus, V400cPlus, V400m, e280, e285, e285p, S1E, S1EL, S1F2, S1L, S1U, S7T.", + "disabled": false + } + ] + }, + "description": "Returns the logo that is configured for a specific payment terminal model at the store identified in the path. The logo is returned as a Base64-encoded string. You need to Base64-decode the string to get the actual image file. This logo applies to all terminals of the specified model under the store, unless a different logo is configured for an individual terminal. To make this request, your API credential must have one of the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal settings read * Management API—Terminal settings read and write" +} + ,"response": [ + ] } ] - } -, + }, { "name": "/merchants/:merchantId/stores/:reference/terminalLogos", "description": "Updates the logo that is configured for a specific payment terminal model at the store identified in the path. You can update the logo for only one terminal model at a time. This logo applies to all terminals of the specified model under the store, unless a different logo is configured for an individual terminal. * To change the logo, specify the image file as a Base64-encoded string. * To restore the logo inherited from a higher level (merchant or company account), specify an empty logo value. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal settings read and write", @@ -8057,132 +11098,277 @@ { "name": "Remove logo to restore the logo from a higher level", "request": { - "method": "PATCH", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"data\" : \"\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/merchants/:merchantId/stores/:reference/terminalLogos", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "merchants", + ":merchantId", + "stores", + ":reference", + "terminalLogos" + ], + "variable": [ + { + "key": "merchantId", + "value": "{{YOUR_MERCHANT_ACCOUNT}}", + "description": "The unique identifier of the merchant account." + }, + { + "key": "reference", + "value": "", + "description": "The reference that identifies the store." + } + ], + "query": [ + { + "key": "model", + "value": "model_example", + "description": "The terminal model. Possible values: E355, VX675WIFIBT, VX680, VX690, VX700, VX820, M400, MX925, P400Plus, UX300, UX410, V200cPlus, V240mPlus, V400cPlus, V400m, e280, e285, e285p, S1E, S1EL, S1F2, S1L, S1U, S7T", + "disabled": false + } + ] + }, + "description": "Updates the logo that is configured for a specific payment terminal model at the store identified in the path. You can update the logo for only one terminal model at a time. This logo applies to all terminals of the specified model under the store, unless a different logo is configured for an individual terminal. * To change the logo, specify the image file as a Base64-encoded string. * To restore the logo inherited from a higher level (merchant or company account), specify an empty logo value. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal settings read and write" +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"data\" : \"LOGO_INHERITED_FROM_HIGHER_LEVEL_BASE-64_ENCODED_STRING\"\n}", + "originalRequest": { + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"data\" : \"\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/merchants/:merchantId/stores/:reference/terminalLogos", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "merchants", + ":merchantId", + "stores", + ":reference", + "terminalLogos" + ], + "variable": [ + { + "key": "merchantId", + "value": "{{YOUR_MERCHANT_ACCOUNT}}", + "description": "The unique identifier of the merchant account." + }, + { + "key": "reference", + "value": "", + "description": "The reference that identifies the store." + } + ], + "query": [ + { + "key": "model", + "value": "model_example", + "description": "The terminal model. Possible values: E355, VX675WIFIBT, VX680, VX690, VX700, VX820, M400, MX925, P400Plus, UX300, UX410, V200cPlus, V240mPlus, V400cPlus, V400m, e280, e285, e285p, S1E, S1EL, S1F2, S1L, S1U, S7T", + "disabled": false + } + ] + }, + "description": "Updates the logo that is configured for a specific payment terminal model at the store identified in the path. You can update the logo for only one terminal model at a time. This logo applies to all terminals of the specified model under the store, unless a different logo is configured for an individual terminal. * To change the logo, specify the image file as a Base64-encoded string. * To restore the logo inherited from a higher level (merchant or company account), specify an empty logo value. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal settings read and write" +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"data\" : \"\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/merchants/:merchantId/stores/:reference/terminalLogos", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "merchants", - ":merchantId", - "stores", - ":reference", - "terminalLogos" - ], - "variable": [ - { - "key": "merchantId", - "value": "{{YOUR_MERCHANT_ACCOUNT}}", - "description": "The unique identifier of the merchant account." - }, - { - "key": "reference", - "value": "", - "description": "The reference that identifies the store." - } - ], - "query": [ - { - "key": "model", - "value": "model_example", - "description": "The terminal model. Possible values: E355, VX675WIFIBT, VX680, VX690, VX700, VX820, M400, MX925, P400Plus, UX300, UX410, V200cPlus, V240mPlus, V400cPlus, V400m, e280, e285, e285p, S1E, S1EL, S1F2, S1L, S1U, S7T", - "disabled": false - } - ] - }, - "description": "Updates the logo that is configured for a specific payment terminal model at the store identified in the path. You can update the logo for only one terminal model at a time. This logo applies to all terminals of the specified model under the store, unless a different logo is configured for an individual terminal. * To change the logo, specify the image file as a Base64-encoded string. * To restore the logo inherited from a higher level (merchant or company account), specify an empty logo value. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal settings read and write" - } + ] }, { "name": "Upload terminal logo", "request": { - "method": "PATCH", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"data\" : \"LOGO_FILE_CONVERTED_TO_A_BASE-64_ENCODED_STRING\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/merchants/:merchantId/stores/:reference/terminalLogos", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "merchants", + ":merchantId", + "stores", + ":reference", + "terminalLogos" + ], + "variable": [ + { + "key": "merchantId", + "value": "{{YOUR_MERCHANT_ACCOUNT}}", + "description": "The unique identifier of the merchant account." + }, + { + "key": "reference", + "value": "", + "description": "The reference that identifies the store." + } + ], + "query": [ + { + "key": "model", + "value": "model_example", + "description": "The terminal model. Possible values: E355, VX675WIFIBT, VX680, VX690, VX700, VX820, M400, MX925, P400Plus, UX300, UX410, V200cPlus, V240mPlus, V400cPlus, V400m, e280, e285, e285p, S1E, S1EL, S1F2, S1L, S1U, S7T", + "disabled": false + } + ] + }, + "description": "Updates the logo that is configured for a specific payment terminal model at the store identified in the path. You can update the logo for only one terminal model at a time. This logo applies to all terminals of the specified model under the store, unless a different logo is configured for an individual terminal. * To change the logo, specify the image file as a Base64-encoded string. * To restore the logo inherited from a higher level (merchant or company account), specify an empty logo value. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal settings read and write" +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"data\" : \"BASE-64_ENCODED_STRING_FROM_THE_REQUEST\"\n}", + "originalRequest": { + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"data\" : \"LOGO_FILE_CONVERTED_TO_A_BASE-64_ENCODED_STRING\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/merchants/:merchantId/stores/:reference/terminalLogos", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "merchants", + ":merchantId", + "stores", + ":reference", + "terminalLogos" + ], + "variable": [ + { + "key": "merchantId", + "value": "{{YOUR_MERCHANT_ACCOUNT}}", + "description": "The unique identifier of the merchant account." + }, + { + "key": "reference", + "value": "", + "description": "The reference that identifies the store." + } + ], + "query": [ + { + "key": "model", + "value": "model_example", + "description": "The terminal model. Possible values: E355, VX675WIFIBT, VX680, VX690, VX700, VX820, M400, MX925, P400Plus, UX300, UX410, V200cPlus, V240mPlus, V400cPlus, V400m, e280, e285, e285p, S1E, S1EL, S1F2, S1L, S1U, S7T", + "disabled": false + } + ] + }, + "description": "Updates the logo that is configured for a specific payment terminal model at the store identified in the path. You can update the logo for only one terminal model at a time. This logo applies to all terminals of the specified model under the store, unless a different logo is configured for an individual terminal. * To change the logo, specify the image file as a Base64-encoded string. * To restore the logo inherited from a higher level (merchant or company account), specify an empty logo value. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal settings read and write" +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"data\" : \"LOGO_FILE_CONVERTED_TO_A_BASE-64_ENCODED_STRING\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/merchants/:merchantId/stores/:reference/terminalLogos", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "merchants", - ":merchantId", - "stores", - ":reference", - "terminalLogos" - ], - "variable": [ - { - "key": "merchantId", - "value": "{{YOUR_MERCHANT_ACCOUNT}}", - "description": "The unique identifier of the merchant account." - }, - { - "key": "reference", - "value": "", - "description": "The reference that identifies the store." - } - ], - "query": [ - { - "key": "model", - "value": "model_example", - "description": "The terminal model. Possible values: E355, VX675WIFIBT, VX680, VX690, VX700, VX820, M400, MX925, P400Plus, UX300, UX410, V200cPlus, V240mPlus, V400cPlus, V400m, e280, e285, e285p, S1E, S1EL, S1F2, S1L, S1U, S7T", - "disabled": false - } - ] - }, - "description": "Updates the logo that is configured for a specific payment terminal model at the store identified in the path. You can update the logo for only one terminal model at a time. This logo applies to all terminals of the specified model under the store, unless a different logo is configured for an individual terminal. * To change the logo, specify the image file as a Base64-encoded string. * To restore the logo inherited from a higher level (merchant or company account), specify an empty logo value. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal settings read and write" - } + ] } ] - } -, + }, { "name": "/merchants/:merchantId/stores/:reference/terminalSettings", "description": "Returns the payment terminal settings that are configured for the store identified in the path. These settings apply to all terminals under the store unless different values are configured for an individual terminal. To make this request, your API credential must have one of the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal settings read * Management API—Terminal settings read and write For [sensitive terminal settings](https://docs.adyen.com/point-of-sale/automating-terminal-management/configure-terminals-api#sensitive-terminal-settings), your API credential must have the following role: * Management API—Terminal settings Advanced read and write", @@ -8190,57 +11376,58 @@ { "name": "Get terminal settings", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/merchants/:merchantId/stores/:reference/terminalSettings", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "merchants", - ":merchantId", - "stores", - ":reference", - "terminalSettings" - ], - "variable": [ - { - "key": "merchantId", - "value": "{{YOUR_MERCHANT_ACCOUNT}}", - "description": "The unique identifier of the merchant account." - }, - { - "key": "reference", - "value": "", - "description": "The reference that identifies the store." - } - ], - "query": [ - ] - }, - "description": "Returns the payment terminal settings that are configured for the store identified in the path. These settings apply to all terminals under the store unless different values are configured for an individual terminal. To make this request, your API credential must have one of the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal settings read * Management API—Terminal settings read and write For [sensitive terminal settings](https://docs.adyen.com/point-of-sale/automating-terminal-management/configure-terminals-api#sensitive-terminal-settings), your API credential must have the following role: * Management API—Terminal settings Advanced read and write" - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/merchants/:merchantId/stores/:reference/terminalSettings", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "merchants", + ":merchantId", + "stores", + ":reference", + "terminalSettings" + ], + "variable": [ + { + "key": "merchantId", + "value": "{{YOUR_MERCHANT_ACCOUNT}}", + "description": "The unique identifier of the merchant account." + }, + { + "key": "reference", + "value": "", + "description": "The reference that identifies the store." + } + ], + "query": [ + ] + }, + "description": "Returns the payment terminal settings that are configured for the store identified in the path. These settings apply to all terminals under the store unless different values are configured for an individual terminal. To make this request, your API credential must have one of the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal settings read * Management API—Terminal settings read and write For [sensitive terminal settings](https://docs.adyen.com/point-of-sale/automating-terminal-management/configure-terminals-api#sensitive-terminal-settings), your API credential must have the following role: * Management API—Terminal settings Advanced read and write" +} + ,"response": [ + ] } ] - } -, + }, { "name": "/merchants/:merchantId/stores/:reference/terminalSettings", "description": "Updates payment terminal settings for the store identified in the path. These settings apply to all terminals under the store, unless different values are configured for an individual terminal. * To change a parameter value, include the full object that contains the parameter, even if you don't want to change all parameters in the object. * To restore a parameter value inherited from a higher level, include the full object that contains the parameter, and specify an empty value for the parameter or omit the parameter. * Objects that are not included in the request are not updated. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal settings read and write For [sensitive terminal settings](https://docs.adyen.com/point-of-sale/automating-terminal-management/configure-terminals-api#sensitive-terminal-settings), your API credential must have the following role: * Management API—Terminal settings Advanced read and write", @@ -8248,120 +11435,253 @@ { "name": "Add EAP-PEAP and PSK Wi-Fi profiles", "request": { - "method": "PATCH", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"wifiProfiles\" : {\n \"profiles\" : [ {\n \"authType\" : \"wpa-eap\",\n \"autoWifi\" : false,\n \"bssType\" : \"infra\",\n \"channel\" : 0,\n \"defaultProfile\" : true,\n \"eap\" : \"peap\",\n \"eapCaCert\" : {\n \"data\" : \"MD1rKS05M2JqRVFNQ...RTtLH1tLWo=\",\n \"name\" : \"eap-peap-ca.pem\"\n },\n \"eapIdentity\" : \"admin\",\n \"eapIntermediateCert\" : {\n \"data\" : \"PD3tUS1CRDdJTiGDR...EFoLS0tLQg=\",\n \"name\" : \"eap-peap-client.pem\"\n },\n \"eapPwd\" : \"EAP_PEAP_PASSWORD\",\n \"name\" : \"Profile-eap-peap-1\",\n \"ssid\" : \"your-network\",\n \"wsec\" : \"ccmp\"\n }, {\n \"authType\" : \"wpa-psk\",\n \"autoWifi\" : false,\n \"bssType\" : \"infra\",\n \"channel\" : 0,\n \"defaultProfile\" : false,\n \"name\" : \"Profile-guest-wifi\",\n \"psk\" : \"WIFI_PASSWORD\",\n \"ssid\" : \"your-network\",\n \"wsec\" : \"ccmp\"\n } ],\n \"settings\" : {\n \"band\" : \"2.4GHz\",\n \"roaming\" : true,\n \"timeout\" : 5\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/merchants/:merchantId/stores/:reference/terminalSettings", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "merchants", + ":merchantId", + "stores", + ":reference", + "terminalSettings" + ], + "variable": [ + { + "key": "merchantId", + "value": "{{YOUR_MERCHANT_ACCOUNT}}", + "description": "The unique identifier of the merchant account." + }, + { + "key": "reference", + "value": "", + "description": "The reference that identifies the store." + } + ], + "query": [ + ] + }, + "description": "Updates payment terminal settings for the store identified in the path. These settings apply to all terminals under the store, unless different values are configured for an individual terminal. * To change a parameter value, include the full object that contains the parameter, even if you don't want to change all parameters in the object. * To restore a parameter value inherited from a higher level, include the full object that contains the parameter, and specify an empty value for the parameter or omit the parameter. * Objects that are not included in the request are not updated. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal settings read and write For [sensitive terminal settings](https://docs.adyen.com/point-of-sale/automating-terminal-management/configure-terminals-api#sensitive-terminal-settings), your API credential must have the following role: * Management API—Terminal settings Advanced read and write" +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"cardholderReceipt\" : {\n \"headerForAuthorizedReceipt\" : \"header1,header2,filler\"\n },\n \"gratuities\" : [ {\n \"currency\" : \"EUR\",\n \"usePredefinedTipEntries\" : true,\n \"predefinedTipEntries\" : [ \"100\", \"1%\", \"5%\" ],\n \"allowCustomAmount\" : true\n } ],\n \"nexo\" : {\n \"displayUrls\" : {\n \"localUrls\" : [ {\n \"password\" : \"BASIC_AUTH_PASSWORD\",\n \"url\" : \"https://your-display-notifications-endpoint.com\",\n \"username\" : \"BASIC_AUTH_USERNAME\"\n } ]\n },\n \"encryptionKey\" : {\n \"identifier\" : \"KEY_IDENTIFIER\",\n \"passphrase\" : \"KEY_PASSPHRASE\",\n \"version\" : 1\n },\n \"eventUrls\" : {\n \"eventPublicUrls\" : [ {\n \"password\" : \"BASIC_AUTH_PASSWORD\",\n \"url\" : \"https://your-event-notifications-endpoint.com\",\n \"username\" : \"BASIC_AUTH_USERNAME\"\n } ]\n }\n },\n \"opi\" : {\n \"enablePayAtTable\" : true,\n \"payAtTableStoreNumber\" : \"1\",\n \"payAtTableURL\" : \"https:/your-pay-at-table-endpoint.com\"\n },\n \"offlineProcessing\" : {\n \"chipFloorLimit\" : 0\n },\n \"receiptOptions\" : {\n \"qrCodeData\" : \"http://www.example.com/order/${pspreference}/${merchantreference}\"\n },\n \"receiptPrinting\" : {\n \"shopperApproved\" : true,\n \"shopperRefused\" : true,\n \"shopperCancelled\" : true,\n \"shopperRefundApproved\" : true,\n \"shopperRefundRefused\" : true,\n \"shopperVoid\" : true\n },\n \"signature\" : {\n \"askSignatureOnScreen\" : true,\n \"skipSignature\" : false,\n \"deviceName\" : \"Amsterdam-236203386\"\n },\n \"wifiProfiles\" : {\n \"profiles\" : [ {\n \"authType\" : \"wpa-eap\",\n \"autoWifi\" : false,\n \"bssType\" : \"infra\",\n \"channel\" : 0,\n \"defaultProfile\" : true,\n \"eap\" : \"peap\",\n \"eapCaCert\" : {\n \"data\" : \"MD1rKS05M2JqRVFNQ...RTtLH1tLWo=\",\n \"name\" : \"eap-peap-ca.pem\"\n },\n \"eapIdentity\" : \"admin\",\n \"eapIntermediateCert\" : {\n \"data\" : \"PD3tUS1CRDdJTiGDR...EFoLS0tLQg=\",\n \"name\" : \"eap-peap-client.pem\"\n },\n \"eapPwd\" : \"EAP_PEAP_PASSWORD\",\n \"name\" : \"Profile-eap-peap-1\",\n \"ssid\" : \"your-network\",\n \"wsec\" : \"ccmp\"\n }, {\n \"authType\" : \"wpa-psk\",\n \"autoWifi\" : false,\n \"bssType\" : \"infra\",\n \"channel\" : 0,\n \"defaultProfile\" : false,\n \"name\" : \"Profile-guest-wifi\",\n \"psk\" : \"WIFI_PASSWORD\",\n \"ssid\" : \"your-network\",\n \"wsec\" : \"ccmp\"\n } ],\n \"settings\" : {\n \"band\" : \"2.4GHz\",\n \"roaming\" : true,\n \"timeout\" : 5\n }\n },\n \"timeouts\" : {\n \"fromActiveToSleep\" : 30\n },\n \"hardware\" : {\n \"displayMaximumBackLight\" : 75\n }\n}", + "originalRequest": { + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"wifiProfiles\" : {\n \"profiles\" : [ {\n \"authType\" : \"wpa-eap\",\n \"autoWifi\" : false,\n \"bssType\" : \"infra\",\n \"channel\" : 0,\n \"defaultProfile\" : true,\n \"eap\" : \"peap\",\n \"eapCaCert\" : {\n \"data\" : \"MD1rKS05M2JqRVFNQ...RTtLH1tLWo=\",\n \"name\" : \"eap-peap-ca.pem\"\n },\n \"eapIdentity\" : \"admin\",\n \"eapIntermediateCert\" : {\n \"data\" : \"PD3tUS1CRDdJTiGDR...EFoLS0tLQg=\",\n \"name\" : \"eap-peap-client.pem\"\n },\n \"eapPwd\" : \"EAP_PEAP_PASSWORD\",\n \"name\" : \"Profile-eap-peap-1\",\n \"ssid\" : \"your-network\",\n \"wsec\" : \"ccmp\"\n }, {\n \"authType\" : \"wpa-psk\",\n \"autoWifi\" : false,\n \"bssType\" : \"infra\",\n \"channel\" : 0,\n \"defaultProfile\" : false,\n \"name\" : \"Profile-guest-wifi\",\n \"psk\" : \"WIFI_PASSWORD\",\n \"ssid\" : \"your-network\",\n \"wsec\" : \"ccmp\"\n } ],\n \"settings\" : {\n \"band\" : \"2.4GHz\",\n \"roaming\" : true,\n \"timeout\" : 5\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/merchants/:merchantId/stores/:reference/terminalSettings", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "merchants", + ":merchantId", + "stores", + ":reference", + "terminalSettings" + ], + "variable": [ + { + "key": "merchantId", + "value": "{{YOUR_MERCHANT_ACCOUNT}}", + "description": "The unique identifier of the merchant account." + }, + { + "key": "reference", + "value": "", + "description": "The reference that identifies the store." + } + ], + "query": [ + ] + }, + "description": "Updates payment terminal settings for the store identified in the path. These settings apply to all terminals under the store, unless different values are configured for an individual terminal. * To change a parameter value, include the full object that contains the parameter, even if you don't want to change all parameters in the object. * To restore a parameter value inherited from a higher level, include the full object that contains the parameter, and specify an empty value for the parameter or omit the parameter. * Objects that are not included in the request are not updated. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal settings read and write For [sensitive terminal settings](https://docs.adyen.com/point-of-sale/automating-terminal-management/configure-terminals-api#sensitive-terminal-settings), your API credential must have the following role: * Management API—Terminal settings Advanced read and write" +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"wifiProfiles\" : {\n \"profiles\" : [ {\n \"authType\" : \"wpa-eap\",\n \"autoWifi\" : false,\n \"bssType\" : \"infra\",\n \"channel\" : 0,\n \"defaultProfile\" : true,\n \"eap\" : \"peap\",\n \"eapCaCert\" : {\n \"data\" : \"MD1rKS05M2JqRVFNQ...RTtLH1tLWo=\",\n \"name\" : \"eap-peap-ca.pem\"\n },\n \"eapIdentity\" : \"admin\",\n \"eapIntermediateCert\" : {\n \"data\" : \"PD3tUS1CRDdJTiGDR...EFoLS0tLQg=\",\n \"name\" : \"eap-peap-client.pem\"\n },\n \"eapPwd\" : \"EAP_PEAP_PASSWORD\",\n \"name\" : \"Profile-eap-peap-1\",\n \"ssid\" : \"your-network\",\n \"wsec\" : \"ccmp\"\n }, {\n \"authType\" : \"wpa-psk\",\n \"autoWifi\" : false,\n \"bssType\" : \"infra\",\n \"channel\" : 0,\n \"defaultProfile\" : false,\n \"name\" : \"Profile-guest-wifi\",\n \"psk\" : \"WIFI_PASSWORD\",\n \"ssid\" : \"your-network\",\n \"wsec\" : \"ccmp\"\n } ],\n \"settings\" : {\n \"band\" : \"2.4GHz\",\n \"roaming\" : true,\n \"timeout\" : 5\n }\n }\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/merchants/:merchantId/stores/:reference/terminalSettings", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "merchants", - ":merchantId", - "stores", - ":reference", - "terminalSettings" - ], - "variable": [ - { - "key": "merchantId", - "value": "{{YOUR_MERCHANT_ACCOUNT}}", - "description": "The unique identifier of the merchant account." - }, - { - "key": "reference", - "value": "", - "description": "The reference that identifies the store." - } - ], - "query": [ - ] - }, - "description": "Updates payment terminal settings for the store identified in the path. These settings apply to all terminals under the store, unless different values are configured for an individual terminal. * To change a parameter value, include the full object that contains the parameter, even if you don't want to change all parameters in the object. * To restore a parameter value inherited from a higher level, include the full object that contains the parameter, and specify an empty value for the parameter or omit the parameter. * Objects that are not included in the request are not updated. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal settings read and write For [sensitive terminal settings](https://docs.adyen.com/point-of-sale/automating-terminal-management/configure-terminals-api#sensitive-terminal-settings), your API credential must have the following role: * Management API—Terminal settings Advanced read and write" - } + ] }, { "name": "Add EAP-TLS Wi-Fi profile", "request": { - "method": "PATCH", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"wifiProfiles\" : {\n \"profiles\" : [ {\n \"authType\" : \"wpa-eap\",\n \"autoWifi\" : false,\n \"bssType\" : \"infra\",\n \"channel\" : 0,\n \"defaultProfile\" : true,\n \"eap\" : \"tls\",\n \"eapCaCert\" : {\n \"data\" : \"LS0tLS05M2JqRVFNQ...EUtLS0tLQo=\",\n \"name\" : \"eap-tls-ca.pem\"\n },\n \"eapClientCert\" : {\n \"data\" : \"LS0tLS1CRUdJTiBDR...EUtLS0tLQo=\",\n \"name\" : \"eap-tls-client.pem\"\n },\n \"eapClientKey\" : {\n \"data\" : \"AAAB3NzaC1...Rtah3KLFwPU=\",\n \"name\" : \"rsa-private.key\"\n },\n \"eapClientPwd\" : \"\",\n \"eapIdentity\" : \"admin\",\n \"name\" : \"Profile-eap-tls-1\",\n \"ssid\" : \"your-network\",\n \"wsec\" : \"ccmp\"\n } ],\n \"settings\" : {\n \"band\" : \"2.4GHz\",\n \"roaming\" : true,\n \"timeout\" : 5\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/merchants/:merchantId/stores/:reference/terminalSettings", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "merchants", + ":merchantId", + "stores", + ":reference", + "terminalSettings" + ], + "variable": [ + { + "key": "merchantId", + "value": "{{YOUR_MERCHANT_ACCOUNT}}", + "description": "The unique identifier of the merchant account." + }, + { + "key": "reference", + "value": "", + "description": "The reference that identifies the store." + } + ], + "query": [ + ] + }, + "description": "Updates payment terminal settings for the store identified in the path. These settings apply to all terminals under the store, unless different values are configured for an individual terminal. * To change a parameter value, include the full object that contains the parameter, even if you don't want to change all parameters in the object. * To restore a parameter value inherited from a higher level, include the full object that contains the parameter, and specify an empty value for the parameter or omit the parameter. * Objects that are not included in the request are not updated. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal settings read and write For [sensitive terminal settings](https://docs.adyen.com/point-of-sale/automating-terminal-management/configure-terminals-api#sensitive-terminal-settings), your API credential must have the following role: * Management API—Terminal settings Advanced read and write" +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"cardholderReceipt\" : {\n \"headerForAuthorizedReceipt\" : \"header1,header2,filler\"\n },\n \"gratuities\" : [ {\n \"currency\" : \"EUR\",\n \"usePredefinedTipEntries\" : true,\n \"predefinedTipEntries\" : [ \"100\", \"1%\", \"5%\" ],\n \"allowCustomAmount\" : true\n } ],\n \"nexo\" : {\n \"displayUrls\" : {\n \"localUrls\" : [ {\n \"password\" : \"BASIC_AUTH_PASSWORD\",\n \"url\" : \"https://your-display-notifications-endpoint.com\",\n \"username\" : \"BASIC_AUTH_USERNAME\"\n } ]\n },\n \"encryptionKey\" : {\n \"identifier\" : \"KEY_IDENTIFIER\",\n \"passphrase\" : \"KEY_PASSPHRASE\",\n \"version\" : 1\n },\n \"eventUrls\" : {\n \"eventPublicUrls\" : [ {\n \"password\" : \"BASIC_AUTH_PASSWORD\",\n \"url\" : \"https://your-event-notifications-endpoint.com\",\n \"username\" : \"BASIC_AUTH_USERNAME\"\n } ]\n }\n },\n \"opi\" : {\n \"enablePayAtTable\" : true,\n \"payAtTableStoreNumber\" : \"1\",\n \"payAtTableURL\" : \"https:/your-pay-at-table-endpoint.com\"\n },\n \"offlineProcessing\" : {\n \"chipFloorLimit\" : 0\n },\n \"receiptOptions\" : {\n \"qrCodeData\" : \"http://www.example.com/order/${pspreference}/${merchantreference}\"\n },\n \"receiptPrinting\" : {\n \"shopperApproved\" : true,\n \"shopperRefused\" : true,\n \"shopperCancelled\" : true,\n \"shopperRefundApproved\" : true,\n \"shopperRefundRefused\" : true,\n \"shopperVoid\" : true\n },\n \"signature\" : {\n \"askSignatureOnScreen\" : true,\n \"skipSignature\" : false,\n \"deviceName\" : \"Amsterdam-236203386\"\n },\n \"wifiProfiles\" : {\n \"profiles\" : [ {\n \"authType\" : \"wpa-eap\",\n \"autoWifi\" : false,\n \"bssType\" : \"infra\",\n \"channel\" : 0,\n \"defaultProfile\" : true,\n \"eap\" : \"tls\",\n \"eapCaCert\" : {\n \"data\" : \"LS0tLS05M2JqRVFNQ...EUtLS0tLQo=\",\n \"name\" : \"eap-tls-ca.pem\"\n },\n \"eapClientCert\" : {\n \"data\" : \"LS0tLS1CRUdJTiBDR...EUtLS0tLQo=\",\n \"name\" : \"eap-tls-client.pem\"\n },\n \"eapClientKey\" : {\n \"data\" : \"AAAB3NzaC1...Rtah3KLFwPU=\",\n \"name\" : \"rsa-private.key\"\n },\n \"eapClientPwd\" : \"\",\n \"eapIdentity\" : \"admin\",\n \"name\" : \"Profile-eap-tls-1\",\n \"ssid\" : \"your-network\",\n \"wsec\" : \"ccmp\"\n } ],\n \"settings\" : {\n \"band\" : \"2.4GHz\",\n \"roaming\" : true,\n \"timeout\" : 5\n }\n },\n \"timeouts\" : {\n \"fromActiveToSleep\" : 30\n },\n \"hardware\" : {\n \"displayMaximumBackLight\" : 75\n }\n}", + "originalRequest": { + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"wifiProfiles\" : {\n \"profiles\" : [ {\n \"authType\" : \"wpa-eap\",\n \"autoWifi\" : false,\n \"bssType\" : \"infra\",\n \"channel\" : 0,\n \"defaultProfile\" : true,\n \"eap\" : \"tls\",\n \"eapCaCert\" : {\n \"data\" : \"LS0tLS05M2JqRVFNQ...EUtLS0tLQo=\",\n \"name\" : \"eap-tls-ca.pem\"\n },\n \"eapClientCert\" : {\n \"data\" : \"LS0tLS1CRUdJTiBDR...EUtLS0tLQo=\",\n \"name\" : \"eap-tls-client.pem\"\n },\n \"eapClientKey\" : {\n \"data\" : \"AAAB3NzaC1...Rtah3KLFwPU=\",\n \"name\" : \"rsa-private.key\"\n },\n \"eapClientPwd\" : \"\",\n \"eapIdentity\" : \"admin\",\n \"name\" : \"Profile-eap-tls-1\",\n \"ssid\" : \"your-network\",\n \"wsec\" : \"ccmp\"\n } ],\n \"settings\" : {\n \"band\" : \"2.4GHz\",\n \"roaming\" : true,\n \"timeout\" : 5\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/merchants/:merchantId/stores/:reference/terminalSettings", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "merchants", + ":merchantId", + "stores", + ":reference", + "terminalSettings" + ], + "variable": [ + { + "key": "merchantId", + "value": "{{YOUR_MERCHANT_ACCOUNT}}", + "description": "The unique identifier of the merchant account." + }, + { + "key": "reference", + "value": "", + "description": "The reference that identifies the store." + } + ], + "query": [ + ] + }, + "description": "Updates payment terminal settings for the store identified in the path. These settings apply to all terminals under the store, unless different values are configured for an individual terminal. * To change a parameter value, include the full object that contains the parameter, even if you don't want to change all parameters in the object. * To restore a parameter value inherited from a higher level, include the full object that contains the parameter, and specify an empty value for the parameter or omit the parameter. * Objects that are not included in the request are not updated. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal settings read and write For [sensitive terminal settings](https://docs.adyen.com/point-of-sale/automating-terminal-management/configure-terminals-api#sensitive-terminal-settings), your API credential must have the following role: * Management API—Terminal settings Advanced read and write" +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"wifiProfiles\" : {\n \"profiles\" : [ {\n \"authType\" : \"wpa-eap\",\n \"autoWifi\" : false,\n \"bssType\" : \"infra\",\n \"channel\" : 0,\n \"defaultProfile\" : true,\n \"eap\" : \"tls\",\n \"eapCaCert\" : {\n \"data\" : \"LS0tLS05M2JqRVFNQ...EUtLS0tLQo=\",\n \"name\" : \"eap-tls-ca.pem\"\n },\n \"eapClientCert\" : {\n \"data\" : \"LS0tLS1CRUdJTiBDR...EUtLS0tLQo=\",\n \"name\" : \"eap-tls-client.pem\"\n },\n \"eapClientKey\" : {\n \"data\" : \"AAAB3NzaC1...Rtah3KLFwPU=\",\n \"name\" : \"rsa-private.key\"\n },\n \"eapClientPwd\" : \"\",\n \"eapIdentity\" : \"admin\",\n \"name\" : \"Profile-eap-tls-1\",\n \"ssid\" : \"your-network\",\n \"wsec\" : \"ccmp\"\n } ],\n \"settings\" : {\n \"band\" : \"2.4GHz\",\n \"roaming\" : true,\n \"timeout\" : 5\n }\n }\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/merchants/:merchantId/stores/:reference/terminalSettings", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "merchants", - ":merchantId", - "stores", - ":reference", - "terminalSettings" - ], - "variable": [ - { - "key": "merchantId", - "value": "{{YOUR_MERCHANT_ACCOUNT}}", - "description": "The unique identifier of the merchant account." - }, - { - "key": "reference", - "value": "", - "description": "The reference that identifies the store." - } - ], - "query": [ - ] - }, - "description": "Updates payment terminal settings for the store identified in the path. These settings apply to all terminals under the store, unless different values are configured for an individual terminal. * To change a parameter value, include the full object that contains the parameter, even if you don't want to change all parameters in the object. * To restore a parameter value inherited from a higher level, include the full object that contains the parameter, and specify an empty value for the parameter or omit the parameter. * Objects that are not included in the request are not updated. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal settings read and write For [sensitive terminal settings](https://docs.adyen.com/point-of-sale/automating-terminal-management/configure-terminals-api#sensitive-terminal-settings), your API credential must have the following role: * Management API—Terminal settings Advanced read and write" - } + ] } ] - } -, + }, { "name": "/stores/:storeId/terminalLogos", "description": "Returns the logo that is configured for a specific payment terminal model at the store identified in the path. The logo is returned as a Base64-encoded string. You need to Base64-decode the string to get the actual image file. This logo applies to all terminals of that model under the store unless a different logo is configured for an individual terminal. To make this request, your API credential must have one of the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal settings read * Management API—Terminal settings read and write", @@ -8369,56 +11689,57 @@ { "name": "Get the terminal logo", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/stores/:storeId/terminalLogos", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "stores", - ":storeId", - "terminalLogos" - ], - "variable": [ - { - "key": "storeId", - "value": "", - "description": "The unique identifier of the store." - } - ], - "query": [ - { - "key": "model", - "value": "model_example", - "description": "The terminal model. Possible values: E355, VX675WIFIBT, VX680, VX690, VX700, VX820, M400, MX925, P400Plus, UX300, UX410, V200cPlus, V240mPlus, V400cPlus, V400m, e280, e285, e285p, S1E, S1EL, S1F2, S1L, S1U, S7T.", - "disabled": false - } - ] - }, - "description": "Returns the logo that is configured for a specific payment terminal model at the store identified in the path. The logo is returned as a Base64-encoded string. You need to Base64-decode the string to get the actual image file. This logo applies to all terminals of that model under the store unless a different logo is configured for an individual terminal. To make this request, your API credential must have one of the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal settings read * Management API—Terminal settings read and write" - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/stores/:storeId/terminalLogos", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "stores", + ":storeId", + "terminalLogos" + ], + "variable": [ + { + "key": "storeId", + "value": "", + "description": "The unique identifier of the store." + } + ], + "query": [ + { + "key": "model", + "value": "model_example", + "description": "The terminal model. Possible values: E355, VX675WIFIBT, VX680, VX690, VX700, VX820, M400, MX925, P400Plus, UX300, UX410, V200cPlus, V240mPlus, V400cPlus, V400m, e280, e285, e285p, S1E, S1EL, S1F2, S1L, S1U, S7T.", + "disabled": false + } + ] + }, + "description": "Returns the logo that is configured for a specific payment terminal model at the store identified in the path. The logo is returned as a Base64-encoded string. You need to Base64-decode the string to get the actual image file. This logo applies to all terminals of that model under the store unless a different logo is configured for an individual terminal. To make this request, your API credential must have one of the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal settings read * Management API—Terminal settings read and write" +} + ,"response": [ + ] } ] - } -, + }, { "name": "/stores/:storeId/terminalLogos", "description": "Updates the logo that is configured for a specific payment terminal model at the store identified in the path. You can update the logo for only one terminal model at a time. This logo applies to all terminals of the specified model under the store, unless a different logo is configured for an individual terminal. * To change the logo, specify the image file as a Base64-encoded string. * To restore the logo inherited from a higher level (merchant or company account), specify an empty logo value. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal settings read and write", @@ -8426,118 +11747,249 @@ { "name": "Remove logo to restore the logo from a higher level", "request": { - "method": "PATCH", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"data\" : \"\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/stores/:storeId/terminalLogos", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "stores", + ":storeId", + "terminalLogos" + ], + "variable": [ + { + "key": "storeId", + "value": "", + "description": "The unique identifier of the store." + } + ], + "query": [ + { + "key": "model", + "value": "model_example", + "description": "The terminal model. Possible values: E355, VX675WIFIBT, VX680, VX690, VX700, VX820, M400, MX925, P400Plus, UX300, UX410, V200cPlus, V240mPlus, V400cPlus, V400m, e280, e285, e285p, S1E, S1EL, S1F2, S1L, S1U, S7T.", + "disabled": false + } + ] + }, + "description": "Updates the logo that is configured for a specific payment terminal model at the store identified in the path. You can update the logo for only one terminal model at a time. This logo applies to all terminals of the specified model under the store, unless a different logo is configured for an individual terminal. * To change the logo, specify the image file as a Base64-encoded string. * To restore the logo inherited from a higher level (merchant or company account), specify an empty logo value. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal settings read and write" +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"data\" : \"LOGO_INHERITED_FROM_HIGHER_LEVEL_BASE-64_ENCODED_STRING\"\n}", + "originalRequest": { + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"data\" : \"\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/stores/:storeId/terminalLogos", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "stores", + ":storeId", + "terminalLogos" + ], + "variable": [ + { + "key": "storeId", + "value": "", + "description": "The unique identifier of the store." + } + ], + "query": [ + { + "key": "model", + "value": "model_example", + "description": "The terminal model. Possible values: E355, VX675WIFIBT, VX680, VX690, VX700, VX820, M400, MX925, P400Plus, UX300, UX410, V200cPlus, V240mPlus, V400cPlus, V400m, e280, e285, e285p, S1E, S1EL, S1F2, S1L, S1U, S7T.", + "disabled": false + } + ] + }, + "description": "Updates the logo that is configured for a specific payment terminal model at the store identified in the path. You can update the logo for only one terminal model at a time. This logo applies to all terminals of the specified model under the store, unless a different logo is configured for an individual terminal. * To change the logo, specify the image file as a Base64-encoded string. * To restore the logo inherited from a higher level (merchant or company account), specify an empty logo value. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal settings read and write" +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"data\" : \"\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/stores/:storeId/terminalLogos", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "stores", - ":storeId", - "terminalLogos" - ], - "variable": [ - { - "key": "storeId", - "value": "", - "description": "The unique identifier of the store." - } - ], - "query": [ - { - "key": "model", - "value": "model_example", - "description": "The terminal model. Possible values: E355, VX675WIFIBT, VX680, VX690, VX700, VX820, M400, MX925, P400Plus, UX300, UX410, V200cPlus, V240mPlus, V400cPlus, V400m, e280, e285, e285p, S1E, S1EL, S1F2, S1L, S1U, S7T.", - "disabled": false - } - ] - }, - "description": "Updates the logo that is configured for a specific payment terminal model at the store identified in the path. You can update the logo for only one terminal model at a time. This logo applies to all terminals of the specified model under the store, unless a different logo is configured for an individual terminal. * To change the logo, specify the image file as a Base64-encoded string. * To restore the logo inherited from a higher level (merchant or company account), specify an empty logo value. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal settings read and write" - } + ] }, { "name": "Upload terminal logo", "request": { - "method": "PATCH", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"data\" : \"LOGO_FILE_CONVERTED_TO_A_BASE-64_ENCODED_STRING\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/stores/:storeId/terminalLogos", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "stores", + ":storeId", + "terminalLogos" + ], + "variable": [ + { + "key": "storeId", + "value": "", + "description": "The unique identifier of the store." + } + ], + "query": [ + { + "key": "model", + "value": "model_example", + "description": "The terminal model. Possible values: E355, VX675WIFIBT, VX680, VX690, VX700, VX820, M400, MX925, P400Plus, UX300, UX410, V200cPlus, V240mPlus, V400cPlus, V400m, e280, e285, e285p, S1E, S1EL, S1F2, S1L, S1U, S7T.", + "disabled": false + } + ] + }, + "description": "Updates the logo that is configured for a specific payment terminal model at the store identified in the path. You can update the logo for only one terminal model at a time. This logo applies to all terminals of the specified model under the store, unless a different logo is configured for an individual terminal. * To change the logo, specify the image file as a Base64-encoded string. * To restore the logo inherited from a higher level (merchant or company account), specify an empty logo value. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal settings read and write" +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"data\" : \"BASE-64_ENCODED_STRING_FROM_THE_REQUEST\"\n}", + "originalRequest": { + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"data\" : \"LOGO_FILE_CONVERTED_TO_A_BASE-64_ENCODED_STRING\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/stores/:storeId/terminalLogos", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "stores", + ":storeId", + "terminalLogos" + ], + "variable": [ + { + "key": "storeId", + "value": "", + "description": "The unique identifier of the store." + } + ], + "query": [ + { + "key": "model", + "value": "model_example", + "description": "The terminal model. Possible values: E355, VX675WIFIBT, VX680, VX690, VX700, VX820, M400, MX925, P400Plus, UX300, UX410, V200cPlus, V240mPlus, V400cPlus, V400m, e280, e285, e285p, S1E, S1EL, S1F2, S1L, S1U, S7T.", + "disabled": false + } + ] + }, + "description": "Updates the logo that is configured for a specific payment terminal model at the store identified in the path. You can update the logo for only one terminal model at a time. This logo applies to all terminals of the specified model under the store, unless a different logo is configured for an individual terminal. * To change the logo, specify the image file as a Base64-encoded string. * To restore the logo inherited from a higher level (merchant or company account), specify an empty logo value. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal settings read and write" +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"data\" : \"LOGO_FILE_CONVERTED_TO_A_BASE-64_ENCODED_STRING\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/stores/:storeId/terminalLogos", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "stores", - ":storeId", - "terminalLogos" - ], - "variable": [ - { - "key": "storeId", - "value": "", - "description": "The unique identifier of the store." - } - ], - "query": [ - { - "key": "model", - "value": "model_example", - "description": "The terminal model. Possible values: E355, VX675WIFIBT, VX680, VX690, VX700, VX820, M400, MX925, P400Plus, UX300, UX410, V200cPlus, V240mPlus, V400cPlus, V400m, e280, e285, e285p, S1E, S1EL, S1F2, S1L, S1U, S7T.", - "disabled": false - } - ] - }, - "description": "Updates the logo that is configured for a specific payment terminal model at the store identified in the path. You can update the logo for only one terminal model at a time. This logo applies to all terminals of the specified model under the store, unless a different logo is configured for an individual terminal. * To change the logo, specify the image file as a Base64-encoded string. * To restore the logo inherited from a higher level (merchant or company account), specify an empty logo value. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal settings read and write" - } + ] } ] - } -, + }, { "name": "/stores/:storeId/terminalSettings", "description": "Returns the payment terminal settings that are configured for the store identified in the path. These settings apply to all terminals under the store unless different values are configured for an individual terminal. To make this request, your API credential must have one of the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal settings read * Management API—Terminal settings read and write For [sensitive terminal settings](https://docs.adyen.com/point-of-sale/automating-terminal-management/configure-terminals-api#sensitive-terminal-settings), your API credential must have the following role: * Management API—Terminal settings Advanced read and write", @@ -8545,50 +11997,51 @@ { "name": "Get terminal settings", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/stores/:storeId/terminalSettings", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "stores", - ":storeId", - "terminalSettings" - ], - "variable": [ - { - "key": "storeId", - "value": "", - "description": "The unique identifier of the store." - } - ], - "query": [ - ] - }, - "description": "Returns the payment terminal settings that are configured for the store identified in the path. These settings apply to all terminals under the store unless different values are configured for an individual terminal. To make this request, your API credential must have one of the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal settings read * Management API—Terminal settings read and write For [sensitive terminal settings](https://docs.adyen.com/point-of-sale/automating-terminal-management/configure-terminals-api#sensitive-terminal-settings), your API credential must have the following role: * Management API—Terminal settings Advanced read and write" - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/stores/:storeId/terminalSettings", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "stores", + ":storeId", + "terminalSettings" + ], + "variable": [ + { + "key": "storeId", + "value": "", + "description": "The unique identifier of the store." + } + ], + "query": [ + ] + }, + "description": "Returns the payment terminal settings that are configured for the store identified in the path. These settings apply to all terminals under the store unless different values are configured for an individual terminal. To make this request, your API credential must have one of the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal settings read * Management API—Terminal settings read and write For [sensitive terminal settings](https://docs.adyen.com/point-of-sale/automating-terminal-management/configure-terminals-api#sensitive-terminal-settings), your API credential must have the following role: * Management API—Terminal settings Advanced read and write" +} + ,"response": [ + ] } ] - } -, + }, { "name": "/stores/:storeId/terminalSettings", "description": "Updates payment terminal settings for the store identified in the path. These settings apply to all terminals under the store, unless different values are configured for an individual terminal. * To change a parameter value, include the full object that contains the parameter, even if you don't want to change all parameters in the object. * To restore a parameter value inherited from a higher level, include the full object that contains the parameter, and specify an empty value for the parameter or omit the parameter. * Objects that are not included in the request are not updated. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal settings read and write For [sensitive terminal settings](https://docs.adyen.com/point-of-sale/automating-terminal-management/configure-terminals-api#sensitive-terminal-settings), your API credential must have the following role: * Management API—Terminal settings Advanced read and write", @@ -8596,106 +12049,225 @@ { "name": "Add EAP-PEAP and PSK Wi-Fi profiles", "request": { - "method": "PATCH", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"wifiProfiles\" : {\n \"profiles\" : [ {\n \"authType\" : \"wpa-eap\",\n \"autoWifi\" : false,\n \"bssType\" : \"infra\",\n \"channel\" : 0,\n \"defaultProfile\" : true,\n \"eap\" : \"peap\",\n \"eapCaCert\" : {\n \"data\" : \"MD1rKS05M2JqRVFNQ...RTtLH1tLWo=\",\n \"name\" : \"eap-peap-ca.pem\"\n },\n \"eapIdentity\" : \"admin\",\n \"eapIntermediateCert\" : {\n \"data\" : \"PD3tUS1CRDdJTiGDR...EFoLS0tLQg=\",\n \"name\" : \"eap-peap-client.pem\"\n },\n \"eapPwd\" : \"EAP_PEAP_PASSWORD\",\n \"hiddenSsid\" : false,\n \"name\" : \"Profile-eap-peap-1\",\n \"ssid\" : \"your-network\",\n \"wsec\" : \"ccmp\"\n }, {\n \"authType\" : \"wpa-psk\",\n \"autoWifi\" : false,\n \"bssType\" : \"infra\",\n \"channel\" : 0,\n \"defaultProfile\" : false,\n \"hiddenSsid\" : false,\n \"name\" : \"Profile-guest-wifi\",\n \"psk\" : \"WIFI_PASSWORD\",\n \"ssid\" : \"your-network\",\n \"wsec\" : \"ccmp\"\n } ],\n \"settings\" : {\n \"band\" : \"2.4GHz\",\n \"roaming\" : true,\n \"timeout\" : 5\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/stores/:storeId/terminalSettings", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "stores", + ":storeId", + "terminalSettings" + ], + "variable": [ + { + "key": "storeId", + "value": "", + "description": "The unique identifier of the store." + } + ], + "query": [ + ] + }, + "description": "Updates payment terminal settings for the store identified in the path. These settings apply to all terminals under the store, unless different values are configured for an individual terminal. * To change a parameter value, include the full object that contains the parameter, even if you don't want to change all parameters in the object. * To restore a parameter value inherited from a higher level, include the full object that contains the parameter, and specify an empty value for the parameter or omit the parameter. * Objects that are not included in the request are not updated. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal settings read and write For [sensitive terminal settings](https://docs.adyen.com/point-of-sale/automating-terminal-management/configure-terminals-api#sensitive-terminal-settings), your API credential must have the following role: * Management API—Terminal settings Advanced read and write" +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"cardholderReceipt\" : {\n \"headerForAuthorizedReceipt\" : \"header1,header2,filler\"\n },\n \"gratuities\" : [ {\n \"currency\" : \"EUR\",\n \"usePredefinedTipEntries\" : true,\n \"predefinedTipEntries\" : [ \"100\", \"1%\", \"5%\" ],\n \"allowCustomAmount\" : true\n } ],\n \"nexo\" : {\n \"displayUrls\" : {\n \"localUrls\" : [ {\n \"password\" : \"BASIC_AUTH_PASSWORD\",\n \"url\" : \"https://your-display-notifications-endpoint.com\",\n \"username\" : \"BASIC_AUTH_USERNAME\"\n } ]\n },\n \"encryptionKey\" : {\n \"identifier\" : \"KEY_IDENTIFIER\",\n \"passphrase\" : \"KEY_PASSPHRASE\",\n \"version\" : 1\n },\n \"eventUrls\" : {\n \"eventPublicUrls\" : [ {\n \"password\" : \"BASIC_AUTH_PASSWORD\",\n \"url\" : \"https://your-event-notifications-endpoint.com\",\n \"username\" : \"BASIC_AUTH_USERNAME\"\n } ]\n }\n },\n \"opi\" : {\n \"enablePayAtTable\" : true,\n \"payAtTableStoreNumber\" : \"1\",\n \"payAtTableURL\" : \"https:/your-pay-at-table-endpoint.com\"\n },\n \"offlineProcessing\" : {\n \"chipFloorLimit\" : 0\n },\n \"receiptOptions\" : {\n \"qrCodeData\" : \"http://www.example.com/order/${pspreference}/${merchantreference}\"\n },\n \"receiptPrinting\" : {\n \"shopperApproved\" : true,\n \"shopperRefused\" : true,\n \"shopperCancelled\" : true,\n \"shopperRefundApproved\" : true,\n \"shopperRefundRefused\" : true,\n \"shopperVoid\" : true\n },\n \"signature\" : {\n \"askSignatureOnScreen\" : true,\n \"skipSignature\" : false,\n \"deviceName\" : \"Amsterdam-236203386\"\n },\n \"wifiProfiles\" : {\n \"profiles\" : [ {\n \"authType\" : \"wpa-eap\",\n \"autoWifi\" : false,\n \"bssType\" : \"infra\",\n \"channel\" : 0,\n \"defaultProfile\" : true,\n \"eap\" : \"peap\",\n \"eapCaCert\" : {\n \"data\" : \"MD1rKS05M2JqRVFNQ...RTtLH1tLWo=\",\n \"name\" : \"eap-peap-ca.pem\"\n },\n \"eapIdentity\" : \"admin\",\n \"eapIntermediateCert\" : {\n \"data\" : \"PD3tUS1CRDdJTiGDR...EFoLS0tLQg=\",\n \"name\" : \"eap-peap-client.pem\"\n },\n \"eapPwd\" : \"EAP_PEAP_PASSWORD\",\n \"hiddenSsid\" : false,\n \"name\" : \"Profile-eap-peap-1\",\n \"ssid\" : \"your-network\",\n \"wsec\" : \"ccmp\"\n }, {\n \"authType\" : \"wpa-psk\",\n \"autoWifi\" : false,\n \"bssType\" : \"infra\",\n \"channel\" : 0,\n \"defaultProfile\" : false,\n \"hiddenSsid\" : false,\n \"name\" : \"Profile-guest-wifi\",\n \"psk\" : \"WIFI_PASSWORD\",\n \"ssid\" : \"your-network\",\n \"wsec\" : \"ccmp\"\n } ],\n \"settings\" : {\n \"band\" : \"2.4GHz\",\n \"roaming\" : true,\n \"timeout\" : 5\n }\n },\n \"timeouts\" : {\n \"fromActiveToSleep\" : 30\n },\n \"hardware\" : {\n \"displayMaximumBackLight\" : 75\n }\n}", + "originalRequest": { + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"wifiProfiles\" : {\n \"profiles\" : [ {\n \"authType\" : \"wpa-eap\",\n \"autoWifi\" : false,\n \"bssType\" : \"infra\",\n \"channel\" : 0,\n \"defaultProfile\" : true,\n \"eap\" : \"peap\",\n \"eapCaCert\" : {\n \"data\" : \"MD1rKS05M2JqRVFNQ...RTtLH1tLWo=\",\n \"name\" : \"eap-peap-ca.pem\"\n },\n \"eapIdentity\" : \"admin\",\n \"eapIntermediateCert\" : {\n \"data\" : \"PD3tUS1CRDdJTiGDR...EFoLS0tLQg=\",\n \"name\" : \"eap-peap-client.pem\"\n },\n \"eapPwd\" : \"EAP_PEAP_PASSWORD\",\n \"hiddenSsid\" : false,\n \"name\" : \"Profile-eap-peap-1\",\n \"ssid\" : \"your-network\",\n \"wsec\" : \"ccmp\"\n }, {\n \"authType\" : \"wpa-psk\",\n \"autoWifi\" : false,\n \"bssType\" : \"infra\",\n \"channel\" : 0,\n \"defaultProfile\" : false,\n \"hiddenSsid\" : false,\n \"name\" : \"Profile-guest-wifi\",\n \"psk\" : \"WIFI_PASSWORD\",\n \"ssid\" : \"your-network\",\n \"wsec\" : \"ccmp\"\n } ],\n \"settings\" : {\n \"band\" : \"2.4GHz\",\n \"roaming\" : true,\n \"timeout\" : 5\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/stores/:storeId/terminalSettings", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "stores", + ":storeId", + "terminalSettings" + ], + "variable": [ + { + "key": "storeId", + "value": "", + "description": "The unique identifier of the store." + } + ], + "query": [ + ] + }, + "description": "Updates payment terminal settings for the store identified in the path. These settings apply to all terminals under the store, unless different values are configured for an individual terminal. * To change a parameter value, include the full object that contains the parameter, even if you don't want to change all parameters in the object. * To restore a parameter value inherited from a higher level, include the full object that contains the parameter, and specify an empty value for the parameter or omit the parameter. * Objects that are not included in the request are not updated. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal settings read and write For [sensitive terminal settings](https://docs.adyen.com/point-of-sale/automating-terminal-management/configure-terminals-api#sensitive-terminal-settings), your API credential must have the following role: * Management API—Terminal settings Advanced read and write" +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"wifiProfiles\" : {\n \"profiles\" : [ {\n \"authType\" : \"wpa-eap\",\n \"autoWifi\" : false,\n \"bssType\" : \"infra\",\n \"channel\" : 0,\n \"defaultProfile\" : true,\n \"eap\" : \"peap\",\n \"eapCaCert\" : {\n \"data\" : \"MD1rKS05M2JqRVFNQ...RTtLH1tLWo=\",\n \"name\" : \"eap-peap-ca.pem\"\n },\n \"eapIdentity\" : \"admin\",\n \"eapIntermediateCert\" : {\n \"data\" : \"PD3tUS1CRDdJTiGDR...EFoLS0tLQg=\",\n \"name\" : \"eap-peap-client.pem\"\n },\n \"eapPwd\" : \"EAP_PEAP_PASSWORD\",\n \"hiddenSsid\" : false,\n \"name\" : \"Profile-eap-peap-1\",\n \"ssid\" : \"your-network\",\n \"wsec\" : \"ccmp\"\n }, {\n \"authType\" : \"wpa-psk\",\n \"autoWifi\" : false,\n \"bssType\" : \"infra\",\n \"channel\" : 0,\n \"defaultProfile\" : false,\n \"hiddenSsid\" : false,\n \"name\" : \"Profile-guest-wifi\",\n \"psk\" : \"WIFI_PASSWORD\",\n \"ssid\" : \"your-network\",\n \"wsec\" : \"ccmp\"\n } ],\n \"settings\" : {\n \"band\" : \"2.4GHz\",\n \"roaming\" : true,\n \"timeout\" : 5\n }\n }\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/stores/:storeId/terminalSettings", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "stores", - ":storeId", - "terminalSettings" - ], - "variable": [ - { - "key": "storeId", - "value": "", - "description": "The unique identifier of the store." - } - ], - "query": [ - ] - }, - "description": "Updates payment terminal settings for the store identified in the path. These settings apply to all terminals under the store, unless different values are configured for an individual terminal. * To change a parameter value, include the full object that contains the parameter, even if you don't want to change all parameters in the object. * To restore a parameter value inherited from a higher level, include the full object that contains the parameter, and specify an empty value for the parameter or omit the parameter. * Objects that are not included in the request are not updated. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal settings read and write For [sensitive terminal settings](https://docs.adyen.com/point-of-sale/automating-terminal-management/configure-terminals-api#sensitive-terminal-settings), your API credential must have the following role: * Management API—Terminal settings Advanced read and write" - } + ] }, { "name": "Add EAP-TLS Wi-Fi profile", "request": { - "method": "PATCH", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"wifiProfiles\" : {\n \"profiles\" : [ {\n \"authType\" : \"wpa-eap\",\n \"autoWifi\" : false,\n \"bssType\" : \"infra\",\n \"channel\" : 0,\n \"defaultProfile\" : true,\n \"eap\" : \"tls\",\n \"eapCaCert\" : {\n \"data\" : \"LS0tLS05M2JqRVFNQ...EUtLS0tLQo=\",\n \"name\" : \"eap-tls-ca.pem\"\n },\n \"eapClientCert\" : {\n \"data\" : \"LS0tLS1CRUdJTiBDR...EUtLS0tLQo=\",\n \"name\" : \"eap-tls-client.pem\"\n },\n \"eapClientKey\" : {\n \"data\" : \"AAAB3NzaC1...Rtah3KLFwPU=\",\n \"name\" : \"rsa-private.key\"\n },\n \"eapClientPwd\" : \"\",\n \"eapIdentity\" : \"admin\",\n \"hiddenSsid\" : false,\n \"name\" : \"Profile-eap-tls-1\",\n \"ssid\" : \"your-network\",\n \"wsec\" : \"ccmp\"\n } ],\n \"settings\" : {\n \"band\" : \"2.4GHz\",\n \"roaming\" : true,\n \"timeout\" : 5\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/stores/:storeId/terminalSettings", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "stores", + ":storeId", + "terminalSettings" + ], + "variable": [ + { + "key": "storeId", + "value": "", + "description": "The unique identifier of the store." + } + ], + "query": [ + ] + }, + "description": "Updates payment terminal settings for the store identified in the path. These settings apply to all terminals under the store, unless different values are configured for an individual terminal. * To change a parameter value, include the full object that contains the parameter, even if you don't want to change all parameters in the object. * To restore a parameter value inherited from a higher level, include the full object that contains the parameter, and specify an empty value for the parameter or omit the parameter. * Objects that are not included in the request are not updated. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal settings read and write For [sensitive terminal settings](https://docs.adyen.com/point-of-sale/automating-terminal-management/configure-terminals-api#sensitive-terminal-settings), your API credential must have the following role: * Management API—Terminal settings Advanced read and write" +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"cardholderReceipt\" : {\n \"headerForAuthorizedReceipt\" : \"header1,header2,filler\"\n },\n \"gratuities\" : [ {\n \"currency\" : \"EUR\",\n \"usePredefinedTipEntries\" : true,\n \"predefinedTipEntries\" : [ \"100\", \"1%\", \"5%\" ],\n \"allowCustomAmount\" : true\n } ],\n \"nexo\" : {\n \"displayUrls\" : {\n \"localUrls\" : [ {\n \"password\" : \"BASIC_AUTH_PASSWORD\",\n \"url\" : \"https://your-display-notifications-endpoint.com\",\n \"username\" : \"BASIC_AUTH_USERNAME\"\n } ]\n },\n \"encryptionKey\" : {\n \"identifier\" : \"KEY_IDENTIFIER\",\n \"passphrase\" : \"KEY_PASSPHRASE\",\n \"version\" : 1\n },\n \"eventUrls\" : {\n \"eventPublicUrls\" : [ {\n \"password\" : \"BASIC_AUTH_PASSWORD\",\n \"url\" : \"https://your-event-notifications-endpoint.com\",\n \"username\" : \"BASIC_AUTH_USERNAME\"\n } ]\n }\n },\n \"opi\" : {\n \"enablePayAtTable\" : true,\n \"payAtTableStoreNumber\" : \"1\",\n \"payAtTableURL\" : \"https:/your-pay-at-table-endpoint.com\"\n },\n \"offlineProcessing\" : {\n \"chipFloorLimit\" : 0\n },\n \"receiptOptions\" : {\n \"qrCodeData\" : \"http://www.example.com/order/${pspreference}/${merchantreference}\"\n },\n \"receiptPrinting\" : {\n \"shopperApproved\" : true,\n \"shopperRefused\" : true,\n \"shopperCancelled\" : true,\n \"shopperRefundApproved\" : true,\n \"shopperRefundRefused\" : true,\n \"shopperVoid\" : true\n },\n \"signature\" : {\n \"askSignatureOnScreen\" : true,\n \"skipSignature\" : false,\n \"deviceName\" : \"Amsterdam-236203386\"\n },\n \"wifiProfiles\" : {\n \"profiles\" : [ {\n \"authType\" : \"wpa-eap\",\n \"autoWifi\" : false,\n \"bssType\" : \"infra\",\n \"channel\" : 0,\n \"defaultProfile\" : true,\n \"eap\" : \"tls\",\n \"eapCaCert\" : {\n \"data\" : \"LS0tLS05M2JqRVFNQ...EUtLS0tLQo=\",\n \"name\" : \"eap-tls-ca.pem\"\n },\n \"eapClientCert\" : {\n \"data\" : \"LS0tLS1CRUdJTiBDR...EUtLS0tLQo=\",\n \"name\" : \"eap-tls-client.pem\"\n },\n \"eapClientKey\" : {\n \"data\" : \"AAAB3NzaC1...Rtah3KLFwPU=\",\n \"name\" : \"rsa-private.key\"\n },\n \"eapClientPwd\" : \"\",\n \"eapIdentity\" : \"admin\",\n \"hiddenSsid\" : false,\n \"name\" : \"Profile-eap-tls-1\",\n \"ssid\" : \"your-network\",\n \"wsec\" : \"ccmp\"\n } ],\n \"settings\" : {\n \"band\" : \"2.4GHz\",\n \"roaming\" : true,\n \"timeout\" : 5\n }\n },\n \"timeouts\" : {\n \"fromActiveToSleep\" : 30\n },\n \"hardware\" : {\n \"displayMaximumBackLight\" : 75\n }\n}", + "originalRequest": { + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"wifiProfiles\" : {\n \"profiles\" : [ {\n \"authType\" : \"wpa-eap\",\n \"autoWifi\" : false,\n \"bssType\" : \"infra\",\n \"channel\" : 0,\n \"defaultProfile\" : true,\n \"eap\" : \"tls\",\n \"eapCaCert\" : {\n \"data\" : \"LS0tLS05M2JqRVFNQ...EUtLS0tLQo=\",\n \"name\" : \"eap-tls-ca.pem\"\n },\n \"eapClientCert\" : {\n \"data\" : \"LS0tLS1CRUdJTiBDR...EUtLS0tLQo=\",\n \"name\" : \"eap-tls-client.pem\"\n },\n \"eapClientKey\" : {\n \"data\" : \"AAAB3NzaC1...Rtah3KLFwPU=\",\n \"name\" : \"rsa-private.key\"\n },\n \"eapClientPwd\" : \"\",\n \"eapIdentity\" : \"admin\",\n \"hiddenSsid\" : false,\n \"name\" : \"Profile-eap-tls-1\",\n \"ssid\" : \"your-network\",\n \"wsec\" : \"ccmp\"\n } ],\n \"settings\" : {\n \"band\" : \"2.4GHz\",\n \"roaming\" : true,\n \"timeout\" : 5\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/stores/:storeId/terminalSettings", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "stores", + ":storeId", + "terminalSettings" + ], + "variable": [ + { + "key": "storeId", + "value": "", + "description": "The unique identifier of the store." + } + ], + "query": [ + ] + }, + "description": "Updates payment terminal settings for the store identified in the path. These settings apply to all terminals under the store, unless different values are configured for an individual terminal. * To change a parameter value, include the full object that contains the parameter, even if you don't want to change all parameters in the object. * To restore a parameter value inherited from a higher level, include the full object that contains the parameter, and specify an empty value for the parameter or omit the parameter. * Objects that are not included in the request are not updated. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal settings read and write For [sensitive terminal settings](https://docs.adyen.com/point-of-sale/automating-terminal-management/configure-terminals-api#sensitive-terminal-settings), your API credential must have the following role: * Management API—Terminal settings Advanced read and write" +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"wifiProfiles\" : {\n \"profiles\" : [ {\n \"authType\" : \"wpa-eap\",\n \"autoWifi\" : false,\n \"bssType\" : \"infra\",\n \"channel\" : 0,\n \"defaultProfile\" : true,\n \"eap\" : \"tls\",\n \"eapCaCert\" : {\n \"data\" : \"LS0tLS05M2JqRVFNQ...EUtLS0tLQo=\",\n \"name\" : \"eap-tls-ca.pem\"\n },\n \"eapClientCert\" : {\n \"data\" : \"LS0tLS1CRUdJTiBDR...EUtLS0tLQo=\",\n \"name\" : \"eap-tls-client.pem\"\n },\n \"eapClientKey\" : {\n \"data\" : \"AAAB3NzaC1...Rtah3KLFwPU=\",\n \"name\" : \"rsa-private.key\"\n },\n \"eapClientPwd\" : \"\",\n \"eapIdentity\" : \"admin\",\n \"hiddenSsid\" : false,\n \"name\" : \"Profile-eap-tls-1\",\n \"ssid\" : \"your-network\",\n \"wsec\" : \"ccmp\"\n } ],\n \"settings\" : {\n \"band\" : \"2.4GHz\",\n \"roaming\" : true,\n \"timeout\" : 5\n }\n }\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/stores/:storeId/terminalSettings", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "stores", - ":storeId", - "terminalSettings" - ], - "variable": [ - { - "key": "storeId", - "value": "", - "description": "The unique identifier of the store." - } - ], - "query": [ - ] - }, - "description": "Updates payment terminal settings for the store identified in the path. These settings apply to all terminals under the store, unless different values are configured for an individual terminal. * To change a parameter value, include the full object that contains the parameter, even if you don't want to change all parameters in the object. * To restore a parameter value inherited from a higher level, include the full object that contains the parameter, and specify an empty value for the parameter or omit the parameter. * Objects that are not included in the request are not updated. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal settings read and write For [sensitive terminal settings](https://docs.adyen.com/point-of-sale/automating-terminal-management/configure-terminals-api#sensitive-terminal-settings), your API credential must have the following role: * Management API—Terminal settings Advanced read and write" - } + ] } ] } - ] } ], diff --git a/postman/ManagementService-v3.json b/postman/ManagementService-v3.json index 8e0fa52..8e0eabb 100644 --- a/postman/ManagementService-v3.json +++ b/postman/ManagementService-v3.json @@ -19,57 +19,58 @@ { "name": "Generate new API key", "request": { - "method": "POST", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/merchants/:merchantId/apiCredentials/:apiCredentialId/generateApiKey", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "merchants", - ":merchantId", - "apiCredentials", - ":apiCredentialId", - "generateApiKey" - ], - "variable": [ - { - "key": "merchantId", - "value": "{{YOUR_MERCHANT_ACCOUNT}}", - "description": "The unique identifier of the merchant account." - }, - { - "key": "apiCredentialId", - "value": "", - "description": "Unique identifier of the API credential." - } - ], - "query": [ - ] - }, - "description": "Returns a new API key for the API credential. You can use the new API key a few minutes after generating it. The old API key stops working 24 hours after generating a new one. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—API credentials read and write" - } + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/merchants/:merchantId/apiCredentials/:apiCredentialId/generateApiKey", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "merchants", + ":merchantId", + "apiCredentials", + ":apiCredentialId", + "generateApiKey" + ], + "variable": [ + { + "key": "merchantId", + "value": "{{YOUR_MERCHANT_ACCOUNT}}", + "description": "The unique identifier of the merchant account." + }, + { + "key": "apiCredentialId", + "value": "", + "description": "Unique identifier of the API credential." + } + ], + "query": [ + ] + }, + "description": "Returns a new API key for the API credential. You can use the new API key a few minutes after generating it. The old API key stops working 24 hours after generating a new one. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—API credentials read and write" +} + ,"response": [ + ] } ] } - ] }, { @@ -82,55 +83,56 @@ { "name": "Get a list of merchant accounts", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/merchants", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "merchants" - ], - "variable": [ - ], - "query": [ - { - "key": "pageNumber", - "value": "56", - "description": "The number of the page to fetch.", - "disabled": true - }, - { - "key": "pageSize", - "value": "56", - "description": "The number of items to have on a page, maximum 100. The default is 10 items on a page.", - "disabled": true - } - ] - }, - "description": "Returns the list of merchant accounts that your API credential has access to. The list is grouped into pages as defined by the query parameters. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Account read" - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/merchants", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "merchants" + ], + "variable": [ + ], + "query": [ + { + "key": "pageNumber", + "value": "56", + "description": "The number of the page to fetch.", + "disabled": true + }, + { + "key": "pageSize", + "value": "56", + "description": "The number of items to have on a page, maximum 100. The default is 10 items on a page.", + "disabled": true + } + ] + }, + "description": "Returns the list of merchant accounts that your API credential has access to. The list is grouped into pages as defined by the query parameters. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Account read" +} + ,"response": [ + ] } ] - } -, + }, { "name": "/merchants", "description": "Creates a merchant account for the company account specified in the request. Use this endpoint if your integration requires it, such as Adyen for Platforms Manage. Your Adyen contact will set up your access. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Accounts read and write", @@ -138,49 +140,101 @@ { "name": "Create a merchant account for an Adyen for Platforms Manage integration", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"companyId\" : \"{{YOUR_COMPANY_ACCOUNT}}\",\n \"legalEntityId\" : \"YOUR_LEGAL_ENTITY_ID\",\n \"businessLineId\" : \"YOUR_BUSINESS_LINE_ID\",\n \"description\" : \"YOUR_DESCRIPTION\",\n \"reference\" : \"YOUR_OWN_REFERENCE\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/merchants", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "merchants" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates a merchant account for the company account specified in the request. Use this endpoint if your integration requires it, such as Adyen for Platforms Manage. Your Adyen contact will set up your access. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Accounts read and write" +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"companyId\" : \"YOUR_COMPANY_ACCOUNT\",\n \"legalEntityId\" : \"YOUR_LEGAL_ENTITY_ID\",\n \"businessLineId\" : \"YOUR_BUSINESS_LINE_ID\",\n \"description\" : \"YOUR_DESCRIPTION\",\n \"reference\" : \"YOUR_OWN_REFERENCE\",\n \"id\" : \"YOUR_OWN_REFERENCE\"\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"companyId\" : \"{{YOUR_COMPANY_ACCOUNT}}\",\n \"legalEntityId\" : \"YOUR_LEGAL_ENTITY_ID\",\n \"businessLineId\" : \"YOUR_BUSINESS_LINE_ID\",\n \"description\" : \"YOUR_DESCRIPTION\",\n \"reference\" : \"YOUR_OWN_REFERENCE\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/merchants", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "merchants" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates a merchant account for the company account specified in the request. Use this endpoint if your integration requires it, such as Adyen for Platforms Manage. Your Adyen contact will set up your access. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Accounts read and write" +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"companyId\" : \"{{YOUR_COMPANY_ACCOUNT}}\",\n \"legalEntityId\" : \"YOUR_LEGAL_ENTITY_ID\",\n \"businessLineId\" : \"YOUR_BUSINESS_LINE_ID\",\n \"description\" : \"YOUR_DESCRIPTION\",\n \"reference\" : \"YOUR_OWN_REFERENCE\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/merchants", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "merchants" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Creates a merchant account for the company account specified in the request. Use this endpoint if your integration requires it, such as Adyen for Platforms Manage. Your Adyen contact will set up your access. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Accounts read and write" - } + ] } ] - } -, + }, { "name": "/merchants/:merchantId", "description": "Returns the merchant account specified in the path. Your API credential must have access to the merchant account. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Account read", @@ -188,49 +242,50 @@ { "name": "Get a merchant account", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/merchants/:merchantId", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "merchants", - ":merchantId" - ], - "variable": [ - { - "key": "merchantId", - "value": "{{YOUR_MERCHANT_ACCOUNT}}", - "description": "The unique identifier of the merchant account." - } - ], - "query": [ - ] - }, - "description": "Returns the merchant account specified in the path. Your API credential must have access to the merchant account. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Account read" - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/merchants/:merchantId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "merchants", + ":merchantId" + ], + "variable": [ + { + "key": "merchantId", + "value": "{{YOUR_MERCHANT_ACCOUNT}}", + "description": "The unique identifier of the merchant account." + } + ], + "query": [ + ] + }, + "description": "Returns the merchant account specified in the path. Your API credential must have access to the merchant account. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Account read" +} + ,"response": [ + ] } ] - } -, + }, { "name": "/merchants/:merchantId/activate", "description": "Sends a request to activate the merchant account identified in the path. You get the result of the activation asynchronously through a [`merchant.updated`](https://docs.adyen.com/api-explorer/ManagementNotification/latest/post/merchant.updated) webhook. Once the merchant account is activated, you can start using it to accept payments and payouts. Use this endpoint if your integration requires it, such as Adyen for Platforms Manage. Your Adyen contact will set up your access. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Accounts read and write", @@ -238,50 +293,51 @@ { "name": "Request to activate a merchant account", "request": { - "method": "POST", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/merchants/:merchantId/activate", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "merchants", - ":merchantId", - "activate" - ], - "variable": [ - { - "key": "merchantId", - "value": "{{YOUR_MERCHANT_ACCOUNT}}", - "description": "The unique identifier of the merchant account." - } - ], - "query": [ - ] - }, - "description": "Sends a request to activate the merchant account identified in the path. You get the result of the activation asynchronously through a [`merchant.updated`](https://docs.adyen.com/api-explorer/ManagementNotification/latest/post/merchant.updated) webhook. Once the merchant account is activated, you can start using it to accept payments and payouts. Use this endpoint if your integration requires it, such as Adyen for Platforms Manage. Your Adyen contact will set up your access. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Accounts read and write" - } + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/merchants/:merchantId/activate", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "merchants", + ":merchantId", + "activate" + ], + "variable": [ + { + "key": "merchantId", + "value": "{{YOUR_MERCHANT_ACCOUNT}}", + "description": "The unique identifier of the merchant account." + } + ], + "query": [ + ] + }, + "description": "Sends a request to activate the merchant account identified in the path. You get the result of the activation asynchronously through a [`merchant.updated`](https://docs.adyen.com/api-explorer/ManagementNotification/latest/post/merchant.updated) webhook. Once the merchant account is activated, you can start using it to accept payments and payouts. Use this endpoint if your integration requires it, such as Adyen for Platforms Manage. Your Adyen contact will set up your access. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Accounts read and write" +} + ,"response": [ + ] } ] } - ] }, { @@ -294,50 +350,51 @@ { "name": "Get a list of split configurations", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/merchants/:merchantId/splitConfigurations", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "merchants", - ":merchantId", - "splitConfigurations" - ], - "variable": [ - { - "key": "merchantId", - "value": "{{YOUR_MERCHANT_ACCOUNT}}", - "description": "The unique identifier of the merchant account." - } - ], - "query": [ - ] - }, - "description": "Returns the list of split configurations for the merchant account. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API - SplitConfiguration read and write" - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/merchants/:merchantId/splitConfigurations", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "merchants", + ":merchantId", + "splitConfigurations" + ], + "variable": [ + { + "key": "merchantId", + "value": "{{YOUR_MERCHANT_ACCOUNT}}", + "description": "The unique identifier of the merchant account." + } + ], + "query": [ + ] + }, + "description": "Returns the list of split configurations for the merchant account. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API - SplitConfiguration read and write" +} + ,"response": [ + ] } ] - } -, + }, { "name": "/merchants/:merchantId/splitConfigurations", "description": "Creates a split configuration for the merchant account specified in the path. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API - SplitConfiguration read and write", @@ -345,56 +402,115 @@ { "name": "Create a split configuration", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"description\" : \"Your description for the split configuration\",\n \"rules\" : [ {\n \"paymentMethod\" : \"ANY\",\n \"shopperInteraction\" : \"ANY\",\n \"fundingSource\" : \"ANY\",\n \"currency\" : \"ANY\",\n \"splitLogic\" : {\n \"paymentFee\" : \"deductFromLiableAccount\",\n \"chargeback\" : \"deductFromLiableAccount\",\n \"tip\" : \"addToOneBalanceAccount\",\n \"remainder\" : \"addToOneBalanceAccount\",\n \"commission\" : {\n \"fixedAmount\" : 10,\n \"variablePercentage\" : 100\n },\n \"additionalCommission\" : {\n \"fixedAmount\" : 10,\n \"variablePercentage\" : 50,\n \"balanceAccountId\" : \"BA3227C223222H5HQ2XX77VVH\"\n }\n }\n } ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/merchants/:merchantId/splitConfigurations", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "merchants", + ":merchantId", + "splitConfigurations" + ], + "variable": [ + { + "key": "merchantId", + "value": "{{YOUR_MERCHANT_ACCOUNT}}", + "description": "The unique identifier of the merchant account." + } + ], + "query": [ + ] + }, + "description": "Creates a split configuration for the merchant account specified in the path. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API - SplitConfiguration read and write" +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"description\" : \"Your description for the split configuration\",\n \"rules\" : [ {\n \"currency\" : \"ANY\",\n \"fundingSource\" : \"ANY\",\n \"paymentMethod\" : \"ANY\",\n \"ruleId\" : \"SCRL4224P22322585HPCX384JW65VW\",\n \"shopperInteraction\" : \"ANY\",\n \"splitLogic\" : {\n \"additionalCommission\" : {\n \"fixedAmount\" : 10,\n \"variablePercentage\" : 50,\n \"balanceAccountId\" : \"BA3227C223222H5HQ2XX77VVH\"\n },\n \"chargeback\" : \"deductFromLiableAccount\",\n \"commission\" : {\n \"fixedAmount\" : 10,\n \"variablePercentage\" : 100\n },\n \"splitLogicId\" : \"SCLG4224P22322585HPCX384JX52M2\",\n \"paymentFee\" : \"deductFromLiableAccount\",\n \"remainder\" : \"addToOneBalanceAccount\",\n \"tip\" : \"addToOneBalanceAccount\"\n }\n } ],\n \"splitConfigurationId\" : \"SCNF4224P22322585HPCX384JV6JGX\"\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"description\" : \"Your description for the split configuration\",\n \"rules\" : [ {\n \"paymentMethod\" : \"ANY\",\n \"shopperInteraction\" : \"ANY\",\n \"fundingSource\" : \"ANY\",\n \"currency\" : \"ANY\",\n \"splitLogic\" : {\n \"paymentFee\" : \"deductFromLiableAccount\",\n \"chargeback\" : \"deductFromLiableAccount\",\n \"tip\" : \"addToOneBalanceAccount\",\n \"remainder\" : \"addToOneBalanceAccount\",\n \"commission\" : {\n \"fixedAmount\" : 10,\n \"variablePercentage\" : 100\n },\n \"additionalCommission\" : {\n \"fixedAmount\" : 10,\n \"variablePercentage\" : 50,\n \"balanceAccountId\" : \"BA3227C223222H5HQ2XX77VVH\"\n }\n }\n } ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/merchants/:merchantId/splitConfigurations", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "merchants", + ":merchantId", + "splitConfigurations" + ], + "variable": [ + { + "key": "merchantId", + "value": "{{YOUR_MERCHANT_ACCOUNT}}", + "description": "The unique identifier of the merchant account." + } + ], + "query": [ + ] + }, + "description": "Creates a split configuration for the merchant account specified in the path. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API - SplitConfiguration read and write" +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"description\" : \"Your description for the split configuration\",\n \"rules\" : [ {\n \"paymentMethod\" : \"ANY\",\n \"shopperInteraction\" : \"ANY\",\n \"fundingSource\" : \"ANY\",\n \"currency\" : \"ANY\",\n \"splitLogic\" : {\n \"paymentFee\" : \"deductFromLiableAccount\",\n \"chargeback\" : \"deductFromLiableAccount\",\n \"tip\" : \"addToOneBalanceAccount\",\n \"remainder\" : \"addToOneBalanceAccount\",\n \"commission\" : {\n \"fixedAmount\" : 10,\n \"variablePercentage\" : 100\n },\n \"additionalCommission\" : {\n \"fixedAmount\" : 10,\n \"variablePercentage\" : 50,\n \"balanceAccountId\" : \"BA3227C223222H5HQ2XX77VVH\"\n }\n }\n } ]\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/merchants/:merchantId/splitConfigurations", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "merchants", - ":merchantId", - "splitConfigurations" - ], - "variable": [ - { - "key": "merchantId", - "value": "{{YOUR_MERCHANT_ACCOUNT}}", - "description": "The unique identifier of the merchant account." - } - ], - "query": [ - ] - }, - "description": "Creates a split configuration for the merchant account specified in the path. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API - SplitConfiguration read and write" - } + ] } ] - } -, + }, { "name": "/merchants/:merchantId/splitConfigurations/:splitConfigurationId", "description": "Deletes the split configuration specified in the path. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API - SplitConfiguration read and write", @@ -402,56 +518,57 @@ { "name": "Delete a split configuration", "request": { - "method": "DELETE", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/merchants/:merchantId/splitConfigurations/:splitConfigurationId", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "merchants", - ":merchantId", - "splitConfigurations", - ":splitConfigurationId" - ], - "variable": [ - { - "key": "merchantId", - "value": "{{YOUR_MERCHANT_ACCOUNT}}", - "description": "The unique identifier of the merchant account." - }, - { - "key": "splitConfigurationId", - "value": "", - "description": "The unique identifier of the split configuration." - } - ], - "query": [ - ] - }, - "description": "Deletes the split configuration specified in the path. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API - SplitConfiguration read and write" - } + "method": "DELETE", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/merchants/:merchantId/splitConfigurations/:splitConfigurationId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "merchants", + ":merchantId", + "splitConfigurations", + ":splitConfigurationId" + ], + "variable": [ + { + "key": "merchantId", + "value": "{{YOUR_MERCHANT_ACCOUNT}}", + "description": "The unique identifier of the merchant account." + }, + { + "key": "splitConfigurationId", + "value": "", + "description": "The unique identifier of the split configuration." + } + ], + "query": [ + ] + }, + "description": "Deletes the split configuration specified in the path. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API - SplitConfiguration read and write" +} + ,"response": [ + ] } ] - } -, + }, { "name": "/merchants/:merchantId/splitConfigurations/:splitConfigurationId", "description": "Returns the split configuration specified in the path. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API - SplitConfiguration read and write", @@ -459,56 +576,57 @@ { "name": "Get a split configuration", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/merchants/:merchantId/splitConfigurations/:splitConfigurationId", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "merchants", - ":merchantId", - "splitConfigurations", - ":splitConfigurationId" - ], - "variable": [ - { - "key": "merchantId", - "value": "{{YOUR_MERCHANT_ACCOUNT}}", - "description": "The unique identifier of the merchant account." - }, - { - "key": "splitConfigurationId", - "value": "", - "description": "The unique identifier of the split configuration." - } - ], - "query": [ - ] - }, - "description": "Returns the split configuration specified in the path. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API - SplitConfiguration read and write" - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/merchants/:merchantId/splitConfigurations/:splitConfigurationId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "merchants", + ":merchantId", + "splitConfigurations", + ":splitConfigurationId" + ], + "variable": [ + { + "key": "merchantId", + "value": "{{YOUR_MERCHANT_ACCOUNT}}", + "description": "The unique identifier of the merchant account." + }, + { + "key": "splitConfigurationId", + "value": "", + "description": "The unique identifier of the split configuration." + } + ], + "query": [ + ] + }, + "description": "Returns the split configuration specified in the path. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API - SplitConfiguration read and write" +} + ,"response": [ + ] } ] - } -, + }, { "name": "/merchants/:merchantId/splitConfigurations/:splitConfigurationId", "description": "Changes the description of the split configuration specified in the path. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API - SplitConfiguration read and write", @@ -516,62 +634,127 @@ { "name": "Update split configuration description", "request": { - "method": "PATCH", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"description\" : \"Updated description for the split configuration\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/merchants/:merchantId/splitConfigurations/:splitConfigurationId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "merchants", + ":merchantId", + "splitConfigurations", + ":splitConfigurationId" + ], + "variable": [ + { + "key": "merchantId", + "value": "{{YOUR_MERCHANT_ACCOUNT}}", + "description": "The unique identifier of the merchant account." + }, + { + "key": "splitConfigurationId", + "value": "", + "description": "The unique identifier of the split configuration." + } + ], + "query": [ + ] + }, + "description": "Changes the description of the split configuration specified in the path. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API - SplitConfiguration read and write" +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"description\" : \"Updated description for the split configuration\",\n \"rules\" : [ {\n \"currency\" : \"ANY\",\n \"fundingSource\" : \"ANY\",\n \"paymentMethod\" : \"ANY\",\n \"ruleId\" : \"SCRL4224P22322585HPCX384JW65VW\",\n \"shopperInteraction\" : \"ANY\",\n \"splitLogic\" : {\n \"additionalCommission\" : {\n \"fixedAmount\" : 10,\n \"variablePercentage\" : 50,\n \"balanceAccountId\" : \"BA3227C223222H5HQ2XX77VVH\"\n },\n \"chargeback\" : \"deductFromLiableAccount\",\n \"commission\" : {\n \"fixedAmount\" : 10,\n \"variablePercentage\" : 100\n },\n \"splitLogicId\" : \"SCLG4224P22322585HPCX384JX52M2\",\n \"paymentFee\" : \"deductFromLiableAccount\",\n \"remainder\" : \"addToOneBalanceAccount\",\n \"tip\" : \"addToOneBalanceAccount\"\n }\n }, {\n \"currency\" : \"EUR\",\n \"fundingSource\" : \"ANY\",\n \"paymentMethod\" : \"visa\",\n \"ruleId\" : \"SCRL4224P22322585HPCX5V4KV6L2R\",\n \"shopperInteraction\" : \"ANY\",\n \"splitLogic\" : {\n \"additionalCommission\" : {\n \"fixedAmount\" : 100,\n \"variablePercentage\" : 0,\n \"balanceAccountId\" : \"BA3227C223222H5HQ2XX77VVH\"\n },\n \"chargeback\" : \"deductFromLiableAccount\",\n \"commission\" : {\n \"fixedAmount\" : 100,\n \"variablePercentage\" : 100\n },\n \"splitLogicId\" : \"SCLG4224P22322585HPCX5V4KW26C9\",\n \"paymentFee\" : \"deductFromLiableAccount\",\n \"remainder\" : \"addToLiableAccount\",\n \"tip\" : \"addToLiableAccount\"\n }\n } ],\n \"splitConfigurationId\" : \"SCNF4224P22322585HPCX384JV6JGX\"\n}", + "originalRequest": { + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"description\" : \"Updated description for the split configuration\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/merchants/:merchantId/splitConfigurations/:splitConfigurationId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "merchants", + ":merchantId", + "splitConfigurations", + ":splitConfigurationId" + ], + "variable": [ + { + "key": "merchantId", + "value": "{{YOUR_MERCHANT_ACCOUNT}}", + "description": "The unique identifier of the merchant account." + }, + { + "key": "splitConfigurationId", + "value": "", + "description": "The unique identifier of the split configuration." + } + ], + "query": [ + ] + }, + "description": "Changes the description of the split configuration specified in the path. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API - SplitConfiguration read and write" +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"description\" : \"Updated description for the split configuration\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/merchants/:merchantId/splitConfigurations/:splitConfigurationId", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "merchants", - ":merchantId", - "splitConfigurations", - ":splitConfigurationId" - ], - "variable": [ - { - "key": "merchantId", - "value": "{{YOUR_MERCHANT_ACCOUNT}}", - "description": "The unique identifier of the merchant account." - }, - { - "key": "splitConfigurationId", - "value": "", - "description": "The unique identifier of the split configuration." - } - ], - "query": [ - ] - }, - "description": "Changes the description of the split configuration specified in the path. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API - SplitConfiguration read and write" - } + ] } ] - } -, + }, { "name": "/merchants/:merchantId/splitConfigurations/:splitConfigurationId", "description": "Creates a rule in the split configuration specified in the path. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API - SplitConfiguration read and write", @@ -579,62 +762,127 @@ { "name": "Add rule to a split configuration", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"paymentMethod\" : \"visa\",\n \"shopperInteraction\" : \"POS\",\n \"fundingSource\" : \"ANY\",\n \"currency\" : \"USD\",\n \"splitLogic\" : {\n \"paymentFee\" : \"deductFromLiableAccount\",\n \"chargeback\" : \"deductFromLiableAccount\",\n \"tip\" : \"addToOneBalanceAccount\",\n \"remainder\" : \"addToLiableAccount\",\n \"commission\" : {\n \"fixedAmount\" : 10,\n \"variablePercentage\" : 100\n },\n \"additionalCommission\" : {\n \"fixedAmount\" : 10,\n \"variablePercentage\" : 50,\n \"balanceAccountId\" : \"BA3227C223222H5HQ2XX77VVH\"\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/merchants/:merchantId/splitConfigurations/:splitConfigurationId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "merchants", + ":merchantId", + "splitConfigurations", + ":splitConfigurationId" + ], + "variable": [ + { + "key": "merchantId", + "value": "{{YOUR_MERCHANT_ACCOUNT}}", + "description": "The unique identifier of the merchant account." + }, + { + "key": "splitConfigurationId", + "value": "", + "description": "The unique identifier of the split configuration." + } + ], + "query": [ + ] + }, + "description": "Creates a rule in the split configuration specified in the path. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API - SplitConfiguration read and write" +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"description\" : \"My first split configuration\",\n \"rules\" : [ {\n \"currency\" : \"ANY\",\n \"fundingSource\" : \"ANY\",\n \"paymentMethod\" : \"ANY\",\n \"ruleId\" : \"SCRL4224P22322585HPCX384JW65VW\",\n \"shopperInteraction\" : \"ANY\",\n \"splitLogic\" : {\n \"additionalCommission\" : {\n \"fixedAmount\" : 10,\n \"variablePercentage\" : 50,\n \"balanceAccountId\" : \"BA3227C223222H5HQ2XX77VVH\"\n },\n \"chargeback\" : \"deductFromLiableAccount\",\n \"commission\" : {\n \"fixedAmount\" : 10,\n \"variablePercentage\" : 100\n },\n \"splitLogicId\" : \"SCLG4224P22322585HPCX384JX52M2\",\n \"paymentFee\" : \"deductFromLiableAccount\",\n \"remainder\" : \"addToOneBalanceAccount\",\n \"tip\" : \"addToOneBalanceAccount\"\n }\n }, {\n \"currency\" : \"USD\",\n \"fundingSource\" : \"ANY\",\n \"paymentMethod\" : \"visa\",\n \"ruleId\" : \"SCRL4224P22322585HPCX5V4KV6L2R\",\n \"shopperInteraction\" : \"POS\",\n \"splitLogic\" : {\n \"additionalCommission\" : {\n \"fixedAmount\" : 10,\n \"variablePercentage\" : 50,\n \"balanceAccountId\" : \"BA3227C223222H5HQ2XX77VVH\"\n },\n \"chargeback\" : \"deductFromLiableAccount\",\n \"commission\" : {\n \"fixedAmount\" : 10,\n \"variablePercentage\" : 100\n },\n \"splitLogicId\" : \"SCLG4224P22322585HPCX5V4KW26C9\",\n \"paymentFee\" : \"deductFromLiableAccount\",\n \"remainder\" : \"addToLiableAccount\",\n \"tip\" : \"addToOneBalanceAccount\"\n }\n } ],\n \"splitConfigurationId\" : \"SCNF4224P22322585HPCX384JV6JGX\"\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"paymentMethod\" : \"visa\",\n \"shopperInteraction\" : \"POS\",\n \"fundingSource\" : \"ANY\",\n \"currency\" : \"USD\",\n \"splitLogic\" : {\n \"paymentFee\" : \"deductFromLiableAccount\",\n \"chargeback\" : \"deductFromLiableAccount\",\n \"tip\" : \"addToOneBalanceAccount\",\n \"remainder\" : \"addToLiableAccount\",\n \"commission\" : {\n \"fixedAmount\" : 10,\n \"variablePercentage\" : 100\n },\n \"additionalCommission\" : {\n \"fixedAmount\" : 10,\n \"variablePercentage\" : 50,\n \"balanceAccountId\" : \"BA3227C223222H5HQ2XX77VVH\"\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/merchants/:merchantId/splitConfigurations/:splitConfigurationId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "merchants", + ":merchantId", + "splitConfigurations", + ":splitConfigurationId" + ], + "variable": [ + { + "key": "merchantId", + "value": "{{YOUR_MERCHANT_ACCOUNT}}", + "description": "The unique identifier of the merchant account." + }, + { + "key": "splitConfigurationId", + "value": "", + "description": "The unique identifier of the split configuration." + } + ], + "query": [ + ] + }, + "description": "Creates a rule in the split configuration specified in the path. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API - SplitConfiguration read and write" +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"paymentMethod\" : \"visa\",\n \"shopperInteraction\" : \"POS\",\n \"fundingSource\" : \"ANY\",\n \"currency\" : \"USD\",\n \"splitLogic\" : {\n \"paymentFee\" : \"deductFromLiableAccount\",\n \"chargeback\" : \"deductFromLiableAccount\",\n \"tip\" : \"addToOneBalanceAccount\",\n \"remainder\" : \"addToLiableAccount\",\n \"commission\" : {\n \"fixedAmount\" : 10,\n \"variablePercentage\" : 100\n },\n \"additionalCommission\" : {\n \"fixedAmount\" : 10,\n \"variablePercentage\" : 50,\n \"balanceAccountId\" : \"BA3227C223222H5HQ2XX77VVH\"\n }\n }\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/merchants/:merchantId/splitConfigurations/:splitConfigurationId", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "merchants", - ":merchantId", - "splitConfigurations", - ":splitConfigurationId" - ], - "variable": [ - { - "key": "merchantId", - "value": "{{YOUR_MERCHANT_ACCOUNT}}", - "description": "The unique identifier of the merchant account." - }, - { - "key": "splitConfigurationId", - "value": "", - "description": "The unique identifier of the split configuration." - } - ], - "query": [ - ] - }, - "description": "Creates a rule in the split configuration specified in the path. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API - SplitConfiguration read and write" - } + ] } ] - } -, + }, { "name": "/merchants/:merchantId/splitConfigurations/:splitConfigurationId/rules/:ruleId", "description": "Deletes the split configuration rule specified in the path. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API - SplitConfiguration read and write", @@ -642,63 +890,64 @@ { "name": "Delete a split configuration rule", "request": { - "method": "DELETE", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/merchants/:merchantId/splitConfigurations/:splitConfigurationId/rules/:ruleId", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "merchants", - ":merchantId", - "splitConfigurations", - ":splitConfigurationId", - "rules", - ":ruleId" - ], - "variable": [ - { - "key": "merchantId", - "value": "{{YOUR_MERCHANT_ACCOUNT}}", - "description": "The unique identifier of the merchant account." - }, - { - "key": "splitConfigurationId", - "value": "", - "description": "The unique identifier of the split configuration." - }, - { - "key": "ruleId", - "value": "", - "description": "" - } - ], - "query": [ - ] - }, - "description": "Deletes the split configuration rule specified in the path. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API - SplitConfiguration read and write" - } + "method": "DELETE", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/merchants/:merchantId/splitConfigurations/:splitConfigurationId/rules/:ruleId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "merchants", + ":merchantId", + "splitConfigurations", + ":splitConfigurationId", + "rules", + ":ruleId" + ], + "variable": [ + { + "key": "merchantId", + "value": "{{YOUR_MERCHANT_ACCOUNT}}", + "description": "The unique identifier of the merchant account." + }, + { + "key": "splitConfigurationId", + "value": "", + "description": "The unique identifier of the split configuration." + }, + { + "key": "ruleId", + "value": "", + "description": "" + } + ], + "query": [ + ] + }, + "description": "Deletes the split configuration rule specified in the path. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API - SplitConfiguration read and write" +} + ,"response": [ + ] } ] - } -, + }, { "name": "/merchants/:merchantId/splitConfigurations/:splitConfigurationId/rules/:ruleId", "description": "Changes the conditions of the split configuration rule specified in the path. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API - SplitConfiguration read and write", @@ -706,69 +955,141 @@ { "name": "Update the conditions in split configuration rule", "request": { - "method": "PATCH", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"currency\" : \"EUR\",\n \"fundingSource\" : \"ANY\",\n \"paymentMethod\" : \"visa\",\n \"shopperInteraction\" : \"ANY\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/merchants/:merchantId/splitConfigurations/:splitConfigurationId/rules/:ruleId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "merchants", + ":merchantId", + "splitConfigurations", + ":splitConfigurationId", + "rules", + ":ruleId" + ], + "variable": [ + { + "key": "merchantId", + "value": "{{YOUR_MERCHANT_ACCOUNT}}", + "description": "The unique identifier of the merchant account." + }, + { + "key": "splitConfigurationId", + "value": "", + "description": "The identifier of the split configuration." + }, + { + "key": "ruleId", + "value": "", + "description": "The unique identifier of the split configuration rule." + } + ], + "query": [ + ] + }, + "description": "Changes the conditions of the split configuration rule specified in the path. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API - SplitConfiguration read and write" +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"description\" : \"Your description for the split configuration\",\n \"rules\" : [ {\n \"currency\" : \"ANY\",\n \"fundingSource\" : \"ANY\",\n \"paymentMethod\" : \"ANY\",\n \"ruleId\" : \"SCRL4224P22322585HPCX384JW65VW\",\n \"shopperInteraction\" : \"ANY\",\n \"splitLogic\" : {\n \"additionalCommission\" : {\n \"fixedAmount\" : 10,\n \"variablePercentage\" : 50,\n \"balanceAccountId\" : \"BA3227C223222H5HQ2XX77VVH\"\n },\n \"chargeback\" : \"deductFromLiableAccount\",\n \"commission\" : {\n \"fixedAmount\" : 10,\n \"variablePercentage\" : 100\n },\n \"splitLogicId\" : \"SCLG4224P22322585HPCX384JX52M2\",\n \"paymentFee\" : \"deductFromLiableAccount\",\n \"remainder\" : \"addToOneBalanceAccount\",\n \"tip\" : \"addToOneBalanceAccount\"\n }\n }, {\n \"currency\" : \"EUR\",\n \"fundingSource\" : \"ANY\",\n \"paymentMethod\" : \"visa\",\n \"ruleId\" : \"SCRL4224P22322585HPCX5V4KV6L2R\",\n \"shopperInteraction\" : \"ANY\",\n \"splitLogic\" : {\n \"additionalCommission\" : {\n \"fixedAmount\" : 10,\n \"variablePercentage\" : 50,\n \"balanceAccountId\" : \"BA3227C223222H5HQ2XX77VVH\"\n },\n \"chargeback\" : \"deductFromLiableAccount\",\n \"commission\" : {\n \"fixedAmount\" : 10,\n \"variablePercentage\" : 100\n },\n \"splitLogicId\" : \"SCLG4224P22322585HPCX5V4KW26C9\",\n \"paymentFee\" : \"deductFromLiableAccount\",\n \"remainder\" : \"addToLiableAccount\",\n \"tip\" : \"addToOneBalanceAccount\"\n }\n } ],\n \"splitConfigurationId\" : \"SCNF4224P22322585HPCX384JV6JGX\"\n}", + "originalRequest": { + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"currency\" : \"EUR\",\n \"fundingSource\" : \"ANY\",\n \"paymentMethod\" : \"visa\",\n \"shopperInteraction\" : \"ANY\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/merchants/:merchantId/splitConfigurations/:splitConfigurationId/rules/:ruleId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "merchants", + ":merchantId", + "splitConfigurations", + ":splitConfigurationId", + "rules", + ":ruleId" + ], + "variable": [ + { + "key": "merchantId", + "value": "{{YOUR_MERCHANT_ACCOUNT}}", + "description": "The unique identifier of the merchant account." + }, + { + "key": "splitConfigurationId", + "value": "", + "description": "The identifier of the split configuration." + }, + { + "key": "ruleId", + "value": "", + "description": "The unique identifier of the split configuration rule." + } + ], + "query": [ + ] + }, + "description": "Changes the conditions of the split configuration rule specified in the path. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API - SplitConfiguration read and write" +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"currency\" : \"EUR\",\n \"fundingSource\" : \"ANY\",\n \"paymentMethod\" : \"visa\",\n \"shopperInteraction\" : \"ANY\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/merchants/:merchantId/splitConfigurations/:splitConfigurationId/rules/:ruleId", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "merchants", - ":merchantId", - "splitConfigurations", - ":splitConfigurationId", - "rules", - ":ruleId" - ], - "variable": [ - { - "key": "merchantId", - "value": "{{YOUR_MERCHANT_ACCOUNT}}", - "description": "The unique identifier of the merchant account." - }, - { - "key": "splitConfigurationId", - "value": "", - "description": "The identifier of the split configuration." - }, - { - "key": "ruleId", - "value": "", - "description": "The unique identifier of the split configuration rule." - } - ], - "query": [ - ] - }, - "description": "Changes the conditions of the split configuration rule specified in the path. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API - SplitConfiguration read and write" - } + ] } ] - } -, + }, { "name": "/merchants/:merchantId/splitConfigurations/:splitConfigurationId/rules/:ruleId/splitLogic/:splitLogicId", "description": "Changes the split logic specified in the path. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API - SplitConfiguration read and write", @@ -776,76 +1097,155 @@ { "name": "Update the split logic", "request": { - "method": "PATCH", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"additionalCommission\" : {\n \"fixedAmount\" : 100,\n \"variablePercentage\" : 0,\n \"balanceAccountId\" : \"BA3227C223222H5HQ2XX77VVH\"\n },\n \"chargeback\" : \"deductFromLiableAccount\",\n \"commission\" : {\n \"fixedAmount\" : 100,\n \"variablePercentage\" : 100\n },\n \"paymentFee\" : \"deductFromLiableAccount\",\n \"remainder\" : \"addToLiableAccount\",\n \"tip\" : \"addToLiableAccount\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/merchants/:merchantId/splitConfigurations/:splitConfigurationId/rules/:ruleId/splitLogic/:splitLogicId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "merchants", + ":merchantId", + "splitConfigurations", + ":splitConfigurationId", + "rules", + ":ruleId", + "splitLogic", + ":splitLogicId" + ], + "variable": [ + { + "key": "merchantId", + "value": "{{YOUR_MERCHANT_ACCOUNT}}", + "description": "The unique identifier of the merchant account." + }, + { + "key": "splitConfigurationId", + "value": "", + "description": "The unique identifier of the split configuration." + }, + { + "key": "ruleId", + "value": "", + "description": "The unique identifier of the split configuration rule." + }, + { + "key": "splitLogicId", + "value": "", + "description": "The unique identifier of the split configuration split." + } + ], + "query": [ + ] + }, + "description": "Changes the split logic specified in the path. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API - SplitConfiguration read and write" +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"description\" : \"Your description for the split configuration\",\n \"rules\" : [ {\n \"currency\" : \"ANY\",\n \"fundingSource\" : \"ANY\",\n \"paymentMethod\" : \"ANY\",\n \"ruleId\" : \"SCRL4224P22322585HPCX384JW65VW\",\n \"shopperInteraction\" : \"ANY\",\n \"splitLogic\" : {\n \"additionalCommission\" : {\n \"fixedAmount\" : 10,\n \"variablePercentage\" : 50,\n \"balanceAccountId\" : \"BA3227C223222H5HQ2XX77VVH\"\n },\n \"chargeback\" : \"deductFromLiableAccount\",\n \"commission\" : {\n \"fixedAmount\" : 10,\n \"variablePercentage\" : 100\n },\n \"splitLogicId\" : \"SCLG4224P22322585HPCX384JX52M2\",\n \"paymentFee\" : \"deductFromLiableAccount\",\n \"remainder\" : \"addToOneBalanceAccount\",\n \"tip\" : \"addToOneBalanceAccount\"\n }\n }, {\n \"currency\" : \"EUR\",\n \"fundingSource\" : \"ANY\",\n \"paymentMethod\" : \"visa\",\n \"ruleId\" : \"SCRL4224P22322585HPCX5V4KV6L2R\",\n \"shopperInteraction\" : \"ANY\",\n \"splitLogic\" : {\n \"additionalCommission\" : {\n \"fixedAmount\" : 100,\n \"variablePercentage\" : 0,\n \"balanceAccountId\" : \"BA3227C223222H5HQ2XX77VVH\"\n },\n \"chargeback\" : \"deductFromLiableAccount\",\n \"commission\" : {\n \"fixedAmount\" : 100,\n \"variablePercentage\" : 100\n },\n \"splitLogicId\" : \"SCLG4224P22322585HPCX5V4KW26C9\",\n \"paymentFee\" : \"deductFromLiableAccount\",\n \"remainder\" : \"addToLiableAccount\",\n \"tip\" : \"addToLiableAccount\"\n }\n } ],\n \"splitConfigurationId\" : \"SCNF4224P22322585HPCX384JV6JGX\"\n}", + "originalRequest": { + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"additionalCommission\" : {\n \"fixedAmount\" : 100,\n \"variablePercentage\" : 0,\n \"balanceAccountId\" : \"BA3227C223222H5HQ2XX77VVH\"\n },\n \"chargeback\" : \"deductFromLiableAccount\",\n \"commission\" : {\n \"fixedAmount\" : 100,\n \"variablePercentage\" : 100\n },\n \"paymentFee\" : \"deductFromLiableAccount\",\n \"remainder\" : \"addToLiableAccount\",\n \"tip\" : \"addToLiableAccount\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/merchants/:merchantId/splitConfigurations/:splitConfigurationId/rules/:ruleId/splitLogic/:splitLogicId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "merchants", + ":merchantId", + "splitConfigurations", + ":splitConfigurationId", + "rules", + ":ruleId", + "splitLogic", + ":splitLogicId" + ], + "variable": [ + { + "key": "merchantId", + "value": "{{YOUR_MERCHANT_ACCOUNT}}", + "description": "The unique identifier of the merchant account." + }, + { + "key": "splitConfigurationId", + "value": "", + "description": "The unique identifier of the split configuration." + }, + { + "key": "ruleId", + "value": "", + "description": "The unique identifier of the split configuration rule." + }, + { + "key": "splitLogicId", + "value": "", + "description": "The unique identifier of the split configuration split." + } + ], + "query": [ + ] + }, + "description": "Changes the split logic specified in the path. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API - SplitConfiguration read and write" +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"additionalCommission\" : {\n \"fixedAmount\" : 100,\n \"variablePercentage\" : 0,\n \"balanceAccountId\" : \"BA3227C223222H5HQ2XX77VVH\"\n },\n \"chargeback\" : \"deductFromLiableAccount\",\n \"commission\" : {\n \"fixedAmount\" : 100,\n \"variablePercentage\" : 100\n },\n \"paymentFee\" : \"deductFromLiableAccount\",\n \"remainder\" : \"addToLiableAccount\",\n \"tip\" : \"addToLiableAccount\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/merchants/:merchantId/splitConfigurations/:splitConfigurationId/rules/:ruleId/splitLogic/:splitLogicId", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "merchants", - ":merchantId", - "splitConfigurations", - ":splitConfigurationId", - "rules", - ":ruleId", - "splitLogic", - ":splitLogicId" - ], - "variable": [ - { - "key": "merchantId", - "value": "{{YOUR_MERCHANT_ACCOUNT}}", - "description": "The unique identifier of the merchant account." - }, - { - "key": "splitConfigurationId", - "value": "", - "description": "The unique identifier of the split configuration." - }, - { - "key": "ruleId", - "value": "", - "description": "The unique identifier of the split configuration rule." - }, - { - "key": "splitLogicId", - "value": "", - "description": "The unique identifier of the split configuration split." - } - ], - "query": [ - ] - }, - "description": "Changes the split logic specified in the path. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API - SplitConfiguration read and write" - } + ] } ] } - ] }, { @@ -858,57 +1258,58 @@ { "name": "Get a list of allowed origins", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/companies/:companyId/apiCredentials/:apiCredentialId/allowedOrigins", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "companies", - ":companyId", - "apiCredentials", - ":apiCredentialId", - "allowedOrigins" - ], - "variable": [ - { - "key": "companyId", - "value": "{{YOUR_COMPANY_ACCOUNT}}", - "description": "The unique identifier of the company account." - }, - { - "key": "apiCredentialId", - "value": "", - "description": "Unique identifier of the API credential." - } - ], - "query": [ - ] - }, - "description": "Returns the list of [allowed origins](https://docs.adyen.com/development-resources/client-side-authentication#allowed-origins) for the API credential identified in the path. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—API credentials read and write" - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/companies/:companyId/apiCredentials/:apiCredentialId/allowedOrigins", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "companies", + ":companyId", + "apiCredentials", + ":apiCredentialId", + "allowedOrigins" + ], + "variable": [ + { + "key": "companyId", + "value": "{{YOUR_COMPANY_ACCOUNT}}", + "description": "The unique identifier of the company account." + }, + { + "key": "apiCredentialId", + "value": "", + "description": "Unique identifier of the API credential." + } + ], + "query": [ + ] + }, + "description": "Returns the list of [allowed origins](https://docs.adyen.com/development-resources/client-side-authentication#allowed-origins) for the API credential identified in the path. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—API credentials read and write" +} + ,"response": [ + ] } ] - } -, + }, { "name": "/companies/:companyId/apiCredentials/:apiCredentialId/allowedOrigins", "description": "Adds a new [allowed origin](https://docs.adyen.com/development-resources/client-side-authentication#allowed-origins) to the API credential's list of allowed origins. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—API credentials read and write", @@ -916,63 +1317,129 @@ { "name": "Add an allowed origin for the API credential", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"domain\" : \"https://www.eu.mystore.com\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/companies/:companyId/apiCredentials/:apiCredentialId/allowedOrigins", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "companies", + ":companyId", + "apiCredentials", + ":apiCredentialId", + "allowedOrigins" + ], + "variable": [ + { + "key": "companyId", + "value": "{{YOUR_COMPANY_ACCOUNT}}", + "description": "The unique identifier of the company account." + }, + { + "key": "apiCredentialId", + "value": "", + "description": "Unique identifier of the API credential." + } + ], + "query": [ + ] + }, + "description": "Adds a new [allowed origin](https://docs.adyen.com/development-resources/client-side-authentication#allowed-origins) to the API credential's list of allowed origins. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—API credentials read and write" +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"id\" : \"YOUR_ALLOWED_ORIGIN\",\n \"domain\" : \"https://www.eu.mystore.com\",\n \"_links\" : {\n \"self\" : {\n \"href\" : \"https://management-test.adyen.com/v1/companies/YOUR_COMPANY_ACCOUNT/apiCredentials/YOUR_API_CREDENTIAL/allowedOrigins/YOUR_ALLOWED_ORIGIN\"\n }\n }\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"domain\" : \"https://www.eu.mystore.com\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/companies/:companyId/apiCredentials/:apiCredentialId/allowedOrigins", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "companies", + ":companyId", + "apiCredentials", + ":apiCredentialId", + "allowedOrigins" + ], + "variable": [ + { + "key": "companyId", + "value": "{{YOUR_COMPANY_ACCOUNT}}", + "description": "The unique identifier of the company account." + }, + { + "key": "apiCredentialId", + "value": "", + "description": "Unique identifier of the API credential." + } + ], + "query": [ + ] + }, + "description": "Adds a new [allowed origin](https://docs.adyen.com/development-resources/client-side-authentication#allowed-origins) to the API credential's list of allowed origins. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—API credentials read and write" +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"domain\" : \"https://www.eu.mystore.com\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/companies/:companyId/apiCredentials/:apiCredentialId/allowedOrigins", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "companies", - ":companyId", - "apiCredentials", - ":apiCredentialId", - "allowedOrigins" - ], - "variable": [ - { - "key": "companyId", - "value": "{{YOUR_COMPANY_ACCOUNT}}", - "description": "The unique identifier of the company account." - }, - { - "key": "apiCredentialId", - "value": "", - "description": "Unique identifier of the API credential." - } - ], - "query": [ - ] - }, - "description": "Adds a new [allowed origin](https://docs.adyen.com/development-resources/client-side-authentication#allowed-origins) to the API credential's list of allowed origins. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—API credentials read and write" - } + ] } ] - } -, + }, { "name": "/companies/:companyId/apiCredentials/:apiCredentialId/allowedOrigins/:originId", "description": "Removes the [allowed origin](https://docs.adyen.com/development-resources/client-side-authentication#allowed-origins) identified in the path. As soon as an allowed origin is removed, we no longer accept client-side requests from that domain. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—API credentials read and write", @@ -980,63 +1447,64 @@ { "name": "Delete an allowed origin", "request": { - "method": "DELETE", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/companies/:companyId/apiCredentials/:apiCredentialId/allowedOrigins/:originId", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "companies", - ":companyId", - "apiCredentials", - ":apiCredentialId", - "allowedOrigins", - ":originId" - ], - "variable": [ - { - "key": "companyId", - "value": "{{YOUR_COMPANY_ACCOUNT}}", - "description": "The unique identifier of the company account." - }, - { - "key": "apiCredentialId", - "value": "", - "description": "Unique identifier of the API credential." - }, - { - "key": "originId", - "value": "", - "description": "Unique identifier of the allowed origin." - } - ], - "query": [ - ] - }, - "description": "Removes the [allowed origin](https://docs.adyen.com/development-resources/client-side-authentication#allowed-origins) identified in the path. As soon as an allowed origin is removed, we no longer accept client-side requests from that domain. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—API credentials read and write" - } + "method": "DELETE", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/companies/:companyId/apiCredentials/:apiCredentialId/allowedOrigins/:originId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "companies", + ":companyId", + "apiCredentials", + ":apiCredentialId", + "allowedOrigins", + ":originId" + ], + "variable": [ + { + "key": "companyId", + "value": "{{YOUR_COMPANY_ACCOUNT}}", + "description": "The unique identifier of the company account." + }, + { + "key": "apiCredentialId", + "value": "", + "description": "Unique identifier of the API credential." + }, + { + "key": "originId", + "value": "", + "description": "Unique identifier of the allowed origin." + } + ], + "query": [ + ] + }, + "description": "Removes the [allowed origin](https://docs.adyen.com/development-resources/client-side-authentication#allowed-origins) identified in the path. As soon as an allowed origin is removed, we no longer accept client-side requests from that domain. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—API credentials read and write" +} + ,"response": [ + ] } ] - } -, + }, { "name": "/companies/:companyId/apiCredentials/:apiCredentialId/allowedOrigins/:originId", "description": "Returns the [allowed origin](https://docs.adyen.com/development-resources/client-side-authentication#allowed-origins) identified in the path. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—API credentials read and write", @@ -1044,63 +1512,64 @@ { "name": "Get an allowed origin", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/companies/:companyId/apiCredentials/:apiCredentialId/allowedOrigins/:originId", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "companies", - ":companyId", - "apiCredentials", - ":apiCredentialId", - "allowedOrigins", - ":originId" - ], - "variable": [ - { - "key": "companyId", - "value": "{{YOUR_COMPANY_ACCOUNT}}", - "description": "The unique identifier of the company account." - }, - { - "key": "apiCredentialId", - "value": "", - "description": "Unique identifier of the API credential." - }, - { - "key": "originId", - "value": "", - "description": "Unique identifier of the allowed origin." - } - ], - "query": [ - ] - }, - "description": "Returns the [allowed origin](https://docs.adyen.com/development-resources/client-side-authentication#allowed-origins) identified in the path. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—API credentials read and write" - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/companies/:companyId/apiCredentials/:apiCredentialId/allowedOrigins/:originId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "companies", + ":companyId", + "apiCredentials", + ":apiCredentialId", + "allowedOrigins", + ":originId" + ], + "variable": [ + { + "key": "companyId", + "value": "{{YOUR_COMPANY_ACCOUNT}}", + "description": "The unique identifier of the company account." + }, + { + "key": "apiCredentialId", + "value": "", + "description": "Unique identifier of the API credential." + }, + { + "key": "originId", + "value": "", + "description": "Unique identifier of the allowed origin." + } + ], + "query": [ + ] + }, + "description": "Returns the [allowed origin](https://docs.adyen.com/development-resources/client-side-authentication#allowed-origins) identified in the path. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—API credentials read and write" +} + ,"response": [ + ] } ] } - ] }, { @@ -1113,57 +1582,58 @@ { "name": "Generate new API key", "request": { - "method": "POST", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/companies/:companyId/apiCredentials/:apiCredentialId/generateApiKey", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "companies", - ":companyId", - "apiCredentials", - ":apiCredentialId", - "generateApiKey" - ], - "variable": [ - { - "key": "companyId", - "value": "{{YOUR_COMPANY_ACCOUNT}}", - "description": "The unique identifier of the company account." - }, - { - "key": "apiCredentialId", - "value": "", - "description": "Unique identifier of the API credential." - } - ], - "query": [ - ] - }, - "description": "Returns a new API key for the API credential. You can use the new API key a few minutes after generating it. The old API key stops working 24 hours after generating a new one. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—API credentials read and write" - } + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/companies/:companyId/apiCredentials/:apiCredentialId/generateApiKey", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "companies", + ":companyId", + "apiCredentials", + ":apiCredentialId", + "generateApiKey" + ], + "variable": [ + { + "key": "companyId", + "value": "{{YOUR_COMPANY_ACCOUNT}}", + "description": "The unique identifier of the company account." + }, + { + "key": "apiCredentialId", + "value": "", + "description": "Unique identifier of the API credential." + } + ], + "query": [ + ] + }, + "description": "Returns a new API key for the API credential. You can use the new API key a few minutes after generating it. The old API key stops working 24 hours after generating a new one. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—API credentials read and write" +} + ,"response": [ + ] } ] } - ] }, { @@ -1176,57 +1646,58 @@ { "name": "Generate new client key", "request": { - "method": "POST", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/companies/:companyId/apiCredentials/:apiCredentialId/generateClientKey", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "companies", - ":companyId", - "apiCredentials", - ":apiCredentialId", - "generateClientKey" - ], - "variable": [ - { - "key": "companyId", - "value": "{{YOUR_COMPANY_ACCOUNT}}", - "description": "The unique identifier of the company account." - }, - { - "key": "apiCredentialId", - "value": "", - "description": "Unique identifier of the API credential." - } - ], - "query": [ - ] - }, - "description": "Returns a new [client key](https://docs.adyen.com/development-resources/client-side-authentication#how-it-works) for the API credential identified in the path. You can use the new client key a few minutes after generating it. The old client key stops working 24 hours after generating a new one. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—API credentials read and write" - } + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/companies/:companyId/apiCredentials/:apiCredentialId/generateClientKey", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "companies", + ":companyId", + "apiCredentials", + ":apiCredentialId", + "generateClientKey" + ], + "variable": [ + { + "key": "companyId", + "value": "{{YOUR_COMPANY_ACCOUNT}}", + "description": "The unique identifier of the company account." + }, + { + "key": "apiCredentialId", + "value": "", + "description": "Unique identifier of the API credential." + } + ], + "query": [ + ] + }, + "description": "Returns a new [client key](https://docs.adyen.com/development-resources/client-side-authentication#how-it-works) for the API credential identified in the path. You can use the new client key a few minutes after generating it. The old client key stops working 24 hours after generating a new one. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—API credentials read and write" +} + ,"response": [ + ] } ] } - ] }, { @@ -1239,68 +1710,69 @@ { "name": "Get a list of users", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/companies/:companyId/users", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "companies", - ":companyId", - "users" - ], - "variable": [ - { - "key": "companyId", - "value": "{{YOUR_COMPANY_ACCOUNT}}", - "description": "The unique identifier of the company account." - } - ], - "query": [ - { - "key": "pageNumber", - "value": "56", - "description": "The number of the page to return.", - "disabled": true - }, - { - "key": "pageSize", - "value": "56", - "description": "The number of items to have on a page. Maximum value is **100**. The default is **10** items on a page.", - "disabled": true - }, - { - "key": "username", - "value": "username_example", - "description": "The partial or complete username to select all users that match.", - "disabled": true - } - ] - }, - "description": "Returns the list of users for the `companyId` identified in the path. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Users read and write " - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/companies/:companyId/users", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "companies", + ":companyId", + "users" + ], + "variable": [ + { + "key": "companyId", + "value": "{{YOUR_COMPANY_ACCOUNT}}", + "description": "The unique identifier of the company account." + } + ], + "query": [ + { + "key": "pageNumber", + "value": "56", + "description": "The number of the page to return.", + "disabled": true + }, + { + "key": "pageSize", + "value": "56", + "description": "The number of items to have on a page. Maximum value is **100**. The default is **10** items on a page.", + "disabled": true + }, + { + "key": "username", + "value": "username_example", + "description": "The partial or complete username to select all users that match.", + "disabled": true + } + ] + }, + "description": "Returns the list of users for the `companyId` identified in the path. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Users read and write " +} + ,"response": [ + ] } ] - } -, + }, { "name": "/companies/:companyId/users", "description": "Creates the user for the `companyId` identified in the path. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Users read and write ", @@ -1308,56 +1780,115 @@ { "name": "Create a user", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\" : {\n \"firstName\" : \"John\",\n \"lastName\" : \"Smith\"\n },\n \"username\" : \"johnsmith\",\n \"email\" : \"john.smith@example.com\",\n \"timeZoneCode\" : \"Europe/Amsterdam\",\n \"roles\" : [ \"Merchant standard role\", \"Merchant admin\" ],\n \"associatedMerchantAccounts\" : [ \"{{YOUR_MERCHANT_ACCOUNT}}\" ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/companies/:companyId/users", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "companies", + ":companyId", + "users" + ], + "variable": [ + { + "key": "companyId", + "value": "{{YOUR_COMPANY_ACCOUNT}}", + "description": "The unique identifier of the company account." + } + ], + "query": [ + ] + }, + "description": "Creates the user for the `companyId` identified in the path. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Users read and write " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"id\" : \"S2-5C334C6770\",\n \"name\" : {\n \"firstName\" : \"John\",\n \"lastName\" : \"Smith\"\n },\n \"email\" : \"john.smith@example.com\",\n \"timeZoneCode\" : \"Europe/Amsterdam\",\n \"username\" : \"johnsmith\",\n \"roles\" : [ \"Merchant standard role\", \"Merchant admin\" ],\n \"active\" : true,\n \"_links\" : {\n \"self\" : {\n \"href\" : \"https://management-test.adyen.com/v1/companies/YOUR_COMPANY_ACCOUNT/users/S2-5C334C6770\"\n }\n },\n \"associatedMerchantAccounts\" : [ \"YOUR_MERCHANT_ACCOUNT\" ]\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\" : {\n \"firstName\" : \"John\",\n \"lastName\" : \"Smith\"\n },\n \"username\" : \"johnsmith\",\n \"email\" : \"john.smith@example.com\",\n \"timeZoneCode\" : \"Europe/Amsterdam\",\n \"roles\" : [ \"Merchant standard role\", \"Merchant admin\" ],\n \"associatedMerchantAccounts\" : [ \"{{YOUR_MERCHANT_ACCOUNT}}\" ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/companies/:companyId/users", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "companies", + ":companyId", + "users" + ], + "variable": [ + { + "key": "companyId", + "value": "{{YOUR_COMPANY_ACCOUNT}}", + "description": "The unique identifier of the company account." + } + ], + "query": [ + ] + }, + "description": "Creates the user for the `companyId` identified in the path. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Users read and write " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"name\" : {\n \"firstName\" : \"John\",\n \"lastName\" : \"Smith\"\n },\n \"username\" : \"johnsmith\",\n \"email\" : \"john.smith@example.com\",\n \"timeZoneCode\" : \"Europe/Amsterdam\",\n \"roles\" : [ \"Merchant standard role\", \"Merchant admin\" ],\n \"associatedMerchantAccounts\" : [ \"{{YOUR_MERCHANT_ACCOUNT}}\" ]\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/companies/:companyId/users", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "companies", - ":companyId", - "users" - ], - "variable": [ - { - "key": "companyId", - "value": "{{YOUR_COMPANY_ACCOUNT}}", - "description": "The unique identifier of the company account." - } - ], - "query": [ - ] - }, - "description": "Creates the user for the `companyId` identified in the path. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Users read and write " - } + ] } ] - } -, + }, { "name": "/companies/:companyId/users/:userId", "description": "Returns user details for the `userId` and the `companyId` identified in the path. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Users read and write ", @@ -1365,56 +1896,57 @@ { "name": "Get user details", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/companies/:companyId/users/:userId", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "companies", - ":companyId", - "users", - ":userId" - ], - "variable": [ - { - "key": "companyId", - "value": "{{YOUR_COMPANY_ACCOUNT}}", - "description": "The unique identifier of the company account." - }, - { - "key": "userId", - "value": "", - "description": "The unique identifier of the user." - } - ], - "query": [ - ] - }, - "description": "Returns user details for the `userId` and the `companyId` identified in the path. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Users read and write " - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/companies/:companyId/users/:userId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "companies", + ":companyId", + "users", + ":userId" + ], + "variable": [ + { + "key": "companyId", + "value": "{{YOUR_COMPANY_ACCOUNT}}", + "description": "The unique identifier of the company account." + }, + { + "key": "userId", + "value": "", + "description": "The unique identifier of the user." + } + ], + "query": [ + ] + }, + "description": "Returns user details for the `userId` and the `companyId` identified in the path. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Users read and write " +} + ,"response": [ + ] } ] - } -, + }, { "name": "/companies/:companyId/users/:userId", "description": "Updates user details for the `userId` and the `companyId` identified in the path. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Users read and write ", @@ -1422,62 +1954,63 @@ { "name": "Update user details", "request": { - "method": "PATCH", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"accountGroups\": \"\",\n \"active\": \"\",\n \"associatedMerchantAccounts\": \"\",\n \"email\": \"\",\n \"name\": \"\",\n \"roles\": \"\",\n \"timeZoneCode\": \"\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/companies/:companyId/users/:userId", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "companies", - ":companyId", - "users", - ":userId" - ], - "variable": [ - { - "key": "companyId", - "value": "{{YOUR_COMPANY_ACCOUNT}}", - "description": "The unique identifier of the company account." - }, - { - "key": "userId", - "value": "", - "description": "The unique identifier of the user." - } - ], - "query": [ - ] - }, - "description": "Updates user details for the `userId` and the `companyId` identified in the path. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Users read and write " - } + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"accountGroups\": \"\",\n \"active\": \"\",\n \"associatedMerchantAccounts\": \"\",\n \"email\": \"\",\n \"name\": \"\",\n \"roles\": \"\",\n \"timeZoneCode\": \"\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/companies/:companyId/users/:userId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "companies", + ":companyId", + "users", + ":userId" + ], + "variable": [ + { + "key": "companyId", + "value": "{{YOUR_COMPANY_ACCOUNT}}", + "description": "The unique identifier of the company account." + }, + { + "key": "userId", + "value": "", + "description": "The unique identifier of the user." + } + ], + "query": [ + ] + }, + "description": "Updates user details for the `userId` and the `companyId` identified in the path. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Users read and write " +} + ,"response": [ + ] } ] } - ] }, { @@ -1490,138 +2023,299 @@ { "name": "Schedule installing an Android app", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"terminalIds\" : [ \"S1E-000150183300032\", \"S1E-000150183300033\", \"S1F2-000150183300034\" ],\n \"storeId\" : \"\",\n \"scheduledAt\" : \"2021-12-12T20:21:22-0100\",\n \"actionDetails\" : {\n \"type\" : \"InstallAndroidApp\",\n \"appId\" : \"ANDA422LZ223223K5F694GCCF732K8\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/terminals/scheduleActions", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "terminals", + "scheduleActions" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Schedules a [terminal action](https://docs.adyen.com/point-of-sale/automating-terminal-management/terminal-actions-api) by specifying the action and the terminals that the action must be applied to. The following restrictions apply: * You can schedule only one action at a time. For example, to install a new app version and remove an old app version, you have to make two API requests. * The maximum number of terminals in a request is **100**. For example, to apply an action to 250 terminals, you have to divide the terminals over three API requests. * If there is an error with one or more terminal IDs in the request, the action is scheduled for none of the terminals. You need to fix the error and try again. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal actions read and write" +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"actionDetails\" : {\n \"appId\" : \"ANDA422LZ223223K5F694GCCF732K8\",\n \"type\" : \"InstallAndroidApp\"\n },\n \"scheduledAt\" : \"2021-12-12T20:21:22-0100\",\n \"storeId\" : \"\",\n \"items\" : [ {\n \"id\" : \"TRAC422T2223223K5GFMQHM6WQ4KB6\",\n \"terminalId\" : \"S1E-000150183300032\"\n }, {\n \"id\" : \"TRAC4224X22338VQ5GD4CQJCQT5PC2\",\n \"terminalId\" : \"S1E-000150183300033\"\n }, {\n \"id\" : \"TRAC4224Z223223K5GD89RLBWQ6CWT\",\n \"terminalId\" : \"S1F2-000150183300034\"\n } ],\n \"terminalsWithErrors\" : { },\n \"totalScheduled\" : 3,\n \"totalErrors\" : 0\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"terminalIds\" : [ \"S1E-000150183300032\", \"S1E-000150183300033\", \"S1F2-000150183300034\" ],\n \"storeId\" : \"\",\n \"scheduledAt\" : \"2021-12-12T20:21:22-0100\",\n \"actionDetails\" : {\n \"type\" : \"InstallAndroidApp\",\n \"appId\" : \"ANDA422LZ223223K5F694GCCF732K8\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/terminals/scheduleActions", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "terminals", + "scheduleActions" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Schedules a [terminal action](https://docs.adyen.com/point-of-sale/automating-terminal-management/terminal-actions-api) by specifying the action and the terminals that the action must be applied to. The following restrictions apply: * You can schedule only one action at a time. For example, to install a new app version and remove an old app version, you have to make two API requests. * The maximum number of terminals in a request is **100**. For example, to apply an action to 250 terminals, you have to divide the terminals over three API requests. * If there is an error with one or more terminal IDs in the request, the action is scheduled for none of the terminals. You need to fix the error and try again. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal actions read and write" +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"terminalIds\" : [ \"S1E-000150183300032\", \"S1E-000150183300033\", \"S1F2-000150183300034\" ],\n \"storeId\" : \"\",\n \"scheduledAt\" : \"2021-12-12T20:21:22-0100\",\n \"actionDetails\" : {\n \"type\" : \"InstallAndroidApp\",\n \"appId\" : \"ANDA422LZ223223K5F694GCCF732K8\"\n }\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/terminals/scheduleActions", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "terminals", - "scheduleActions" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Schedules a [terminal action](https://docs.adyen.com/point-of-sale/automating-terminal-management/terminal-actions-api) by specifying the action and the terminals that the action must be applied to. The following restrictions apply: * You can schedule only one action at a time. For example, to install a new app version and remove an old app version, you have to make two API requests. * The maximum number of terminals in a request is **100**. For example, to apply an action to 250 terminals, you have to divide the terminals over three API requests. * If there is an error with one or more terminal IDs in the request, the action is scheduled for none of the terminals. You need to fix the error and try again. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal actions read and write" - } + ] }, { "name": "Schedule uninstalling an Android certificate", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"terminalIds\" : [ \"S1E-000150183300032\", \"S1E-000150183300033\", \"S1F2-000150183300034\" ],\n \"storeId\" : \"\",\n \"scheduledAt\" : \"2021-12-12T20:21:22-0100\",\n \"actionDetails\" : {\n \"type\" : \"UninstallAndroidCertificate\",\n \"certificateId\" : \"ANDC422LZ223223K5F78NVN9SL4VPH\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/terminals/scheduleActions", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "terminals", + "scheduleActions" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Schedules a [terminal action](https://docs.adyen.com/point-of-sale/automating-terminal-management/terminal-actions-api) by specifying the action and the terminals that the action must be applied to. The following restrictions apply: * You can schedule only one action at a time. For example, to install a new app version and remove an old app version, you have to make two API requests. * The maximum number of terminals in a request is **100**. For example, to apply an action to 250 terminals, you have to divide the terminals over three API requests. * If there is an error with one or more terminal IDs in the request, the action is scheduled for none of the terminals. You need to fix the error and try again. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal actions read and write" +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"actionDetails\" : {\n \"certificateId\" : \"ANDC422LZ223223K5F78NVN9SL4VPH\",\n \"type\" : \"UninstallAndroidCertificate\"\n },\n \"scheduledAt\" : \"2021-12-12T20:21:22-0100\",\n \"storeId\" : \"\",\n \"items\" : [ {\n \"id\" : \"TRAC422T2223223K5GFMQHM6WQ4KB6\",\n \"terminalId\" : \"S1E-000150183300032\"\n }, {\n \"id\" : \"TRAC4224X22338VQ5GD4CQJCQT5PC2\",\n \"terminalId\" : \"S1E-000150183300033\"\n }, {\n \"id\" : \"TRAC4224Z223223K5GD89RLBWQ6CWT\",\n \"terminalId\" : \"S1F2-000150183300034\"\n } ],\n \"terminalsWithErrors\" : { },\n \"totalScheduled\" : 3,\n \"totalErrors\" : 0\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"terminalIds\" : [ \"S1E-000150183300032\", \"S1E-000150183300033\", \"S1F2-000150183300034\" ],\n \"storeId\" : \"\",\n \"scheduledAt\" : \"2021-12-12T20:21:22-0100\",\n \"actionDetails\" : {\n \"type\" : \"UninstallAndroidCertificate\",\n \"certificateId\" : \"ANDC422LZ223223K5F78NVN9SL4VPH\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/terminals/scheduleActions", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "terminals", + "scheduleActions" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Schedules a [terminal action](https://docs.adyen.com/point-of-sale/automating-terminal-management/terminal-actions-api) by specifying the action and the terminals that the action must be applied to. The following restrictions apply: * You can schedule only one action at a time. For example, to install a new app version and remove an old app version, you have to make two API requests. * The maximum number of terminals in a request is **100**. For example, to apply an action to 250 terminals, you have to divide the terminals over three API requests. * If there is an error with one or more terminal IDs in the request, the action is scheduled for none of the terminals. You need to fix the error and try again. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal actions read and write" +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"terminalIds\" : [ \"S1E-000150183300032\", \"S1E-000150183300033\", \"S1F2-000150183300034\" ],\n \"storeId\" : \"\",\n \"scheduledAt\" : \"2021-12-12T20:21:22-0100\",\n \"actionDetails\" : {\n \"type\" : \"UninstallAndroidCertificate\",\n \"certificateId\" : \"ANDC422LZ223223K5F78NVN9SL4VPH\"\n }\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/terminals/scheduleActions", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "terminals", - "scheduleActions" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Schedules a [terminal action](https://docs.adyen.com/point-of-sale/automating-terminal-management/terminal-actions-api) by specifying the action and the terminals that the action must be applied to. The following restrictions apply: * You can schedule only one action at a time. For example, to install a new app version and remove an old app version, you have to make two API requests. * The maximum number of terminals in a request is **100**. For example, to apply an action to 250 terminals, you have to divide the terminals over three API requests. * If there is an error with one or more terminal IDs in the request, the action is scheduled for none of the terminals. You need to fix the error and try again. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal actions read and write" - } + ] }, { "name": "Invalid terminal ID in the request", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"terminalIds\" : [ \"S1E-000150183300032\", \"S1E-000150183300033\", \"S1F2-000150183300034\" ],\n \"storeId\" : \"\",\n \"scheduledAt\" : \"2021-12-11T20:21:22-0100\",\n \"actionDetails\" : {\n \"type\" : \"InstallAndroidApp\",\n \"appId\" : \"ANDA422LZ223223K5F694GCCF621J7\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/terminals/scheduleActions", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "terminals", + "scheduleActions" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Schedules a [terminal action](https://docs.adyen.com/point-of-sale/automating-terminal-management/terminal-actions-api) by specifying the action and the terminals that the action must be applied to. The following restrictions apply: * You can schedule only one action at a time. For example, to install a new app version and remove an old app version, you have to make two API requests. * The maximum number of terminals in a request is **100**. For example, to apply an action to 250 terminals, you have to divide the terminals over three API requests. * If there is an error with one or more terminal IDs in the request, the action is scheduled for none of the terminals. You need to fix the error and try again. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal actions read and write" +} + ,"response": [ + {"name": "Unprocessable Entity - a request validation error.", + "code": 422, + "status": "Unprocessable Entity", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"type\" : \"https://docs.adyen.com/errors/unprocessable-entity\",\n \"errorCode\" : \"02_005\",\n \"title\" : \"Terminal ID verification failed.\",\n \"status\" : 422,\n \"detail\" : \"Terminal IDs are empty\"\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"terminalIds\" : [ \"S1E-000150183300032\", \"S1E-000150183300033\", \"S1F2-000150183300034\" ],\n \"storeId\" : \"\",\n \"scheduledAt\" : \"2021-12-11T20:21:22-0100\",\n \"actionDetails\" : {\n \"type\" : \"InstallAndroidApp\",\n \"appId\" : \"ANDA422LZ223223K5F694GCCF621J7\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/terminals/scheduleActions", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "terminals", + "scheduleActions" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Schedules a [terminal action](https://docs.adyen.com/point-of-sale/automating-terminal-management/terminal-actions-api) by specifying the action and the terminals that the action must be applied to. The following restrictions apply: * You can schedule only one action at a time. For example, to install a new app version and remove an old app version, you have to make two API requests. * The maximum number of terminals in a request is **100**. For example, to apply an action to 250 terminals, you have to divide the terminals over three API requests. * If there is an error with one or more terminal IDs in the request, the action is scheduled for none of the terminals. You need to fix the error and try again. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal actions read and write" +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"terminalIds\" : [ \"S1E-000150183300032\", \"S1E-000150183300033\", \"S1F2-000150183300034\" ],\n \"storeId\" : \"\",\n \"scheduledAt\" : \"2021-12-11T20:21:22-0100\",\n \"actionDetails\" : {\n \"type\" : \"InstallAndroidApp\",\n \"appId\" : \"ANDA422LZ223223K5F694GCCF621J7\"\n }\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/terminals/scheduleActions", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "terminals", - "scheduleActions" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Schedules a [terminal action](https://docs.adyen.com/point-of-sale/automating-terminal-management/terminal-actions-api) by specifying the action and the terminals that the action must be applied to. The following restrictions apply: * You can schedule only one action at a time. For example, to install a new app version and remove an old app version, you have to make two API requests. * The maximum number of terminals in a request is **100**. For example, to apply an action to 250 terminals, you have to divide the terminals over three API requests. * If there is an error with one or more terminal IDs in the request, the action is scheduled for none of the terminals. You need to fix the error and try again. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal actions read and write" - } + ] } ] } - ] }, { @@ -1634,50 +2328,51 @@ { "name": "Get the terminal logo", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/terminals/:terminalId/terminalLogos", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "terminals", - ":terminalId", - "terminalLogos" - ], - "variable": [ - { - "key": "terminalId", - "value": "", - "description": "The unique identifier of the payment terminal." - } - ], - "query": [ - ] - }, - "description": "Returns the logo that is configured for the payment terminal identified in the path. The logo is returned as a Base64-encoded string. You need to Base64-decode the string to get the actual image file. To make this request, your API credential must have one of the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal settings read * Management API—Terminal settings read and write" - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/terminals/:terminalId/terminalLogos", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "terminals", + ":terminalId", + "terminalLogos" + ], + "variable": [ + { + "key": "terminalId", + "value": "", + "description": "The unique identifier of the payment terminal." + } + ], + "query": [ + ] + }, + "description": "Returns the logo that is configured for the payment terminal identified in the path. The logo is returned as a Base64-encoded string. You need to Base64-decode the string to get the actual image file. To make this request, your API credential must have one of the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal settings read * Management API—Terminal settings read and write" +} + ,"response": [ + ] } ] - } -, + }, { "name": "/terminals/:terminalId/terminalLogos", "description": "Updates the logo for the payment terminal identified in the path. * To change the logo, specify the image file as a Base64-encoded string. * To restore the logo inherited from a higher level (store, merchant account, or company account), specify an empty logo value. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal settings read and write", @@ -1685,106 +2380,225 @@ { "name": "Remove logo to restore the logo from a higher level", "request": { - "method": "PATCH", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"data\" : \"\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/terminals/:terminalId/terminalLogos", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "terminals", + ":terminalId", + "terminalLogos" + ], + "variable": [ + { + "key": "terminalId", + "value": "", + "description": "The unique identifier of the payment terminal." + } + ], + "query": [ + ] + }, + "description": "Updates the logo for the payment terminal identified in the path. * To change the logo, specify the image file as a Base64-encoded string. * To restore the logo inherited from a higher level (store, merchant account, or company account), specify an empty logo value. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal settings read and write" +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"data\" : \"LOGO_INHERITED_FROM_HIGHER_LEVEL_BASE-64_ENCODED_STRING\"\n}", + "originalRequest": { + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"data\" : \"\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/terminals/:terminalId/terminalLogos", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "terminals", + ":terminalId", + "terminalLogos" + ], + "variable": [ + { + "key": "terminalId", + "value": "", + "description": "The unique identifier of the payment terminal." + } + ], + "query": [ + ] + }, + "description": "Updates the logo for the payment terminal identified in the path. * To change the logo, specify the image file as a Base64-encoded string. * To restore the logo inherited from a higher level (store, merchant account, or company account), specify an empty logo value. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal settings read and write" +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"data\" : \"\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/terminals/:terminalId/terminalLogos", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "terminals", - ":terminalId", - "terminalLogos" - ], - "variable": [ - { - "key": "terminalId", - "value": "", - "description": "The unique identifier of the payment terminal." - } - ], - "query": [ - ] - }, - "description": "Updates the logo for the payment terminal identified in the path. * To change the logo, specify the image file as a Base64-encoded string. * To restore the logo inherited from a higher level (store, merchant account, or company account), specify an empty logo value. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal settings read and write" - } + ] }, { "name": "Upload terminal logo", "request": { - "method": "PATCH", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"data\" : \"LOGO_FILE_CONVERTED_TO_A_BASE-64_ENCODED_STRING\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/terminals/:terminalId/terminalLogos", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "terminals", + ":terminalId", + "terminalLogos" + ], + "variable": [ + { + "key": "terminalId", + "value": "", + "description": "The unique identifier of the payment terminal." + } + ], + "query": [ + ] + }, + "description": "Updates the logo for the payment terminal identified in the path. * To change the logo, specify the image file as a Base64-encoded string. * To restore the logo inherited from a higher level (store, merchant account, or company account), specify an empty logo value. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal settings read and write" +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"data\" : \"BASE-64_ENCODED_STRING_FROM_THE_REQUEST\"\n}", + "originalRequest": { + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"data\" : \"LOGO_FILE_CONVERTED_TO_A_BASE-64_ENCODED_STRING\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/terminals/:terminalId/terminalLogos", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "terminals", + ":terminalId", + "terminalLogos" + ], + "variable": [ + { + "key": "terminalId", + "value": "", + "description": "The unique identifier of the payment terminal." + } + ], + "query": [ + ] + }, + "description": "Updates the logo for the payment terminal identified in the path. * To change the logo, specify the image file as a Base64-encoded string. * To restore the logo inherited from a higher level (store, merchant account, or company account), specify an empty logo value. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal settings read and write" +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"data\" : \"LOGO_FILE_CONVERTED_TO_A_BASE-64_ENCODED_STRING\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/terminals/:terminalId/terminalLogos", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "terminals", - ":terminalId", - "terminalLogos" - ], - "variable": [ - { - "key": "terminalId", - "value": "", - "description": "The unique identifier of the payment terminal." - } - ], - "query": [ - ] - }, - "description": "Updates the logo for the payment terminal identified in the path. * To change the logo, specify the image file as a Base64-encoded string. * To restore the logo inherited from a higher level (store, merchant account, or company account), specify an empty logo value. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal settings read and write" - } + ] } ] - } -, + }, { "name": "/terminals/:terminalId/terminalSettings", "description": "Returns the settings that are configured for the payment terminal identified in the path. To make this request, your API credential must have one of the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal settings read * Management API—Terminal settings read and write For [sensitive terminal settings](https://docs.adyen.com/point-of-sale/automating-terminal-management/configure-terminals-api#sensitive-terminal-settings), your API credential must have the following role: * Management API—Terminal settings Advanced read and write", @@ -1792,50 +2606,51 @@ { "name": "Get terminal settings", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/terminals/:terminalId/terminalSettings", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "terminals", - ":terminalId", - "terminalSettings" - ], - "variable": [ - { - "key": "terminalId", - "value": "", - "description": "The unique identifier of the payment terminal." - } - ], - "query": [ - ] - }, - "description": "Returns the settings that are configured for the payment terminal identified in the path. To make this request, your API credential must have one of the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal settings read * Management API—Terminal settings read and write For [sensitive terminal settings](https://docs.adyen.com/point-of-sale/automating-terminal-management/configure-terminals-api#sensitive-terminal-settings), your API credential must have the following role: * Management API—Terminal settings Advanced read and write" - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/terminals/:terminalId/terminalSettings", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "terminals", + ":terminalId", + "terminalSettings" + ], + "variable": [ + { + "key": "terminalId", + "value": "", + "description": "The unique identifier of the payment terminal." + } + ], + "query": [ + ] + }, + "description": "Returns the settings that are configured for the payment terminal identified in the path. To make this request, your API credential must have one of the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal settings read * Management API—Terminal settings read and write For [sensitive terminal settings](https://docs.adyen.com/point-of-sale/automating-terminal-management/configure-terminals-api#sensitive-terminal-settings), your API credential must have the following role: * Management API—Terminal settings Advanced read and write" +} + ,"response": [ + ] } ] - } -, + }, { "name": "/terminals/:terminalId/terminalSettings", "description": "Updates the settings that are configured for the payment terminal identified in the path. * To change a parameter value, include the full object that contains the parameter, even if you don't want to change all parameters in the object. * To restore a parameter value inherited from a higher level, include the full object that contains the parameter, and specify an empty value for the parameter or omit the parameter. * Objects that are not included in the request are not updated. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal settings read and write For [sensitive terminal settings](https://docs.adyen.com/point-of-sale/automating-terminal-management/configure-terminals-api#sensitive-terminal-settings), your API credential must have the following role: * Management API—Terminal settings Advanced read and write", @@ -1843,106 +2658,225 @@ { "name": "Add EAP-PEAP and PSK Wi-Fi profiles", "request": { - "method": "PATCH", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"wifiProfiles\" : {\n \"profiles\" : [ {\n \"authType\" : \"wpa-eap\",\n \"autoWifi\" : false,\n \"bssType\" : \"infra\",\n \"channel\" : 0,\n \"defaultProfile\" : true,\n \"eap\" : \"peap\",\n \"eapCaCert\" : {\n \"data\" : \"MD1rKS05M2JqRVFNQ...RTtLH1tLWo=\",\n \"name\" : \"eap-peap-ca.pem\"\n },\n \"eapIdentity\" : \"admin\",\n \"eapIntermediateCert\" : {\n \"data\" : \"PD3tUS1CRDdJTiGDR...EFoLS0tLQg=\",\n \"name\" : \"eap-peap-client.pem\"\n },\n \"eapPwd\" : \"EAP_PEAP_PASSWORD\",\n \"hiddenSsid\" : false,\n \"name\" : \"Profile-eap-peap-1\",\n \"ssid\" : \"your-network\",\n \"wsec\" : \"ccmp\"\n }, {\n \"authType\" : \"wpa-psk\",\n \"autoWifi\" : false,\n \"bssType\" : \"infra\",\n \"channel\" : 0,\n \"defaultProfile\" : false,\n \"hiddenSsid\" : false,\n \"name\" : \"Profile-guest-wifi\",\n \"psk\" : \"WIFI_PASSWORD\",\n \"ssid\" : \"your-network\",\n \"wsec\" : \"ccmp\"\n } ],\n \"settings\" : {\n \"band\" : \"2.4GHz\",\n \"roaming\" : true,\n \"timeout\" : 5\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/terminals/:terminalId/terminalSettings", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "terminals", + ":terminalId", + "terminalSettings" + ], + "variable": [ + { + "key": "terminalId", + "value": "", + "description": "The unique identifier of the payment terminal." + } + ], + "query": [ + ] + }, + "description": "Updates the settings that are configured for the payment terminal identified in the path. * To change a parameter value, include the full object that contains the parameter, even if you don't want to change all parameters in the object. * To restore a parameter value inherited from a higher level, include the full object that contains the parameter, and specify an empty value for the parameter or omit the parameter. * Objects that are not included in the request are not updated. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal settings read and write For [sensitive terminal settings](https://docs.adyen.com/point-of-sale/automating-terminal-management/configure-terminals-api#sensitive-terminal-settings), your API credential must have the following role: * Management API—Terminal settings Advanced read and write" +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"cardholderReceipt\" : {\n \"headerForAuthorizedReceipt\" : \"header1,header2,filler\"\n },\n \"gratuities\" : [ {\n \"currency\" : \"EUR\",\n \"usePredefinedTipEntries\" : true,\n \"predefinedTipEntries\" : [ \"100\", \"1%\", \"5%\" ],\n \"allowCustomAmount\" : true\n } ],\n \"nexo\" : {\n \"displayUrls\" : {\n \"localUrls\" : [ {\n \"password\" : \"BASIC_AUTH_PASSWORD\",\n \"url\" : \"https://your-display-notifications-endpoint.com\",\n \"username\" : \"BASIC_AUTH_USERNAME\"\n } ]\n },\n \"encryptionKey\" : {\n \"identifier\" : \"KEY_IDENTIFIER\",\n \"passphrase\" : \"KEY_PASSPHRASE\",\n \"version\" : 1\n },\n \"eventUrls\" : {\n \"eventPublicUrls\" : [ {\n \"password\" : \"BASIC_AUTH_PASSWORD\",\n \"url\" : \"https://your-event-notifications-endpoint.com\",\n \"username\" : \"BASIC_AUTH_USERNAME\"\n } ]\n },\n \"notification\" : {\n \"showButton\" : true\n }\n },\n \"opi\" : {\n \"enablePayAtTable\" : true,\n \"payAtTableStoreNumber\" : \"1\",\n \"payAtTableURL\" : \"https:/your-pay-at-table-endpoint.com\"\n },\n \"offlineProcessing\" : {\n \"chipFloorLimit\" : 0\n },\n \"receiptOptions\" : {\n \"qrCodeData\" : \"http://www.example.com/order/${pspreference}/${merchantreference}\"\n },\n \"receiptPrinting\" : {\n \"shopperApproved\" : true,\n \"shopperRefused\" : true,\n \"shopperCancelled\" : true,\n \"shopperRefundApproved\" : true,\n \"shopperRefundRefused\" : true,\n \"shopperVoid\" : true\n },\n \"signature\" : {\n \"askSignatureOnScreen\" : true,\n \"skipSignature\" : false,\n \"deviceName\" : \"Amsterdam-236203386\"\n },\n \"wifiProfiles\" : {\n \"profiles\" : [ {\n \"authType\" : \"wpa-eap\",\n \"autoWifi\" : false,\n \"bssType\" : \"infra\",\n \"channel\" : 0,\n \"defaultProfile\" : true,\n \"eap\" : \"peap\",\n \"eapCaCert\" : {\n \"data\" : \"MD1rKS05M2JqRVFNQ...RTtLH1tLWo=\",\n \"name\" : \"eap-peap-ca.pem\"\n },\n \"eapIdentity\" : \"admin\",\n \"eapIntermediateCert\" : {\n \"data\" : \"PD3tUS1CRDdJTiGDR...EFoLS0tLQg=\",\n \"name\" : \"eap-peap-client.pem\"\n },\n \"eapPwd\" : \"EAP_PEAP_PASSWORD\",\n \"hiddenSsid\" : false,\n \"name\" : \"Profile-eap-peap-1\",\n \"ssid\" : \"your-network\",\n \"wsec\" : \"ccmp\"\n }, {\n \"authType\" : \"wpa-psk\",\n \"autoWifi\" : false,\n \"bssType\" : \"infra\",\n \"channel\" : 0,\n \"defaultProfile\" : false,\n \"hiddenSsid\" : false,\n \"name\" : \"Profile-guest-wifi\",\n \"psk\" : \"WIFI_PASSWORD\",\n \"ssid\" : \"your-network\",\n \"wsec\" : \"ccmp\"\n } ],\n \"settings\" : {\n \"band\" : \"2.4GHz\",\n \"roaming\" : true,\n \"timeout\" : 5\n }\n },\n \"timeouts\" : {\n \"fromActiveToSleep\" : 30\n },\n \"hardware\" : {\n \"displayMaximumBackLight\" : 75,\n \"restartHour\" : 5\n },\n \"passcodes\" : {\n \"adminMenuPin\" : \"1234\",\n \"txMenuPin\" : \"1234\",\n \"refundPin\" : \"123456\",\n \"screenLockPin\" : \"1111\"\n },\n \"connectivity\" : {\n \"simcardStatus\" : \"INVENTORY\"\n }\n}", + "originalRequest": { + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"wifiProfiles\" : {\n \"profiles\" : [ {\n \"authType\" : \"wpa-eap\",\n \"autoWifi\" : false,\n \"bssType\" : \"infra\",\n \"channel\" : 0,\n \"defaultProfile\" : true,\n \"eap\" : \"peap\",\n \"eapCaCert\" : {\n \"data\" : \"MD1rKS05M2JqRVFNQ...RTtLH1tLWo=\",\n \"name\" : \"eap-peap-ca.pem\"\n },\n \"eapIdentity\" : \"admin\",\n \"eapIntermediateCert\" : {\n \"data\" : \"PD3tUS1CRDdJTiGDR...EFoLS0tLQg=\",\n \"name\" : \"eap-peap-client.pem\"\n },\n \"eapPwd\" : \"EAP_PEAP_PASSWORD\",\n \"hiddenSsid\" : false,\n \"name\" : \"Profile-eap-peap-1\",\n \"ssid\" : \"your-network\",\n \"wsec\" : \"ccmp\"\n }, {\n \"authType\" : \"wpa-psk\",\n \"autoWifi\" : false,\n \"bssType\" : \"infra\",\n \"channel\" : 0,\n \"defaultProfile\" : false,\n \"hiddenSsid\" : false,\n \"name\" : \"Profile-guest-wifi\",\n \"psk\" : \"WIFI_PASSWORD\",\n \"ssid\" : \"your-network\",\n \"wsec\" : \"ccmp\"\n } ],\n \"settings\" : {\n \"band\" : \"2.4GHz\",\n \"roaming\" : true,\n \"timeout\" : 5\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/terminals/:terminalId/terminalSettings", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "terminals", + ":terminalId", + "terminalSettings" + ], + "variable": [ + { + "key": "terminalId", + "value": "", + "description": "The unique identifier of the payment terminal." + } + ], + "query": [ + ] + }, + "description": "Updates the settings that are configured for the payment terminal identified in the path. * To change a parameter value, include the full object that contains the parameter, even if you don't want to change all parameters in the object. * To restore a parameter value inherited from a higher level, include the full object that contains the parameter, and specify an empty value for the parameter or omit the parameter. * Objects that are not included in the request are not updated. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal settings read and write For [sensitive terminal settings](https://docs.adyen.com/point-of-sale/automating-terminal-management/configure-terminals-api#sensitive-terminal-settings), your API credential must have the following role: * Management API—Terminal settings Advanced read and write" +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"wifiProfiles\" : {\n \"profiles\" : [ {\n \"authType\" : \"wpa-eap\",\n \"autoWifi\" : false,\n \"bssType\" : \"infra\",\n \"channel\" : 0,\n \"defaultProfile\" : true,\n \"eap\" : \"peap\",\n \"eapCaCert\" : {\n \"data\" : \"MD1rKS05M2JqRVFNQ...RTtLH1tLWo=\",\n \"name\" : \"eap-peap-ca.pem\"\n },\n \"eapIdentity\" : \"admin\",\n \"eapIntermediateCert\" : {\n \"data\" : \"PD3tUS1CRDdJTiGDR...EFoLS0tLQg=\",\n \"name\" : \"eap-peap-client.pem\"\n },\n \"eapPwd\" : \"EAP_PEAP_PASSWORD\",\n \"hiddenSsid\" : false,\n \"name\" : \"Profile-eap-peap-1\",\n \"ssid\" : \"your-network\",\n \"wsec\" : \"ccmp\"\n }, {\n \"authType\" : \"wpa-psk\",\n \"autoWifi\" : false,\n \"bssType\" : \"infra\",\n \"channel\" : 0,\n \"defaultProfile\" : false,\n \"hiddenSsid\" : false,\n \"name\" : \"Profile-guest-wifi\",\n \"psk\" : \"WIFI_PASSWORD\",\n \"ssid\" : \"your-network\",\n \"wsec\" : \"ccmp\"\n } ],\n \"settings\" : {\n \"band\" : \"2.4GHz\",\n \"roaming\" : true,\n \"timeout\" : 5\n }\n }\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/terminals/:terminalId/terminalSettings", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "terminals", - ":terminalId", - "terminalSettings" - ], - "variable": [ - { - "key": "terminalId", - "value": "", - "description": "The unique identifier of the payment terminal." - } - ], - "query": [ - ] - }, - "description": "Updates the settings that are configured for the payment terminal identified in the path. * To change a parameter value, include the full object that contains the parameter, even if you don't want to change all parameters in the object. * To restore a parameter value inherited from a higher level, include the full object that contains the parameter, and specify an empty value for the parameter or omit the parameter. * Objects that are not included in the request are not updated. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal settings read and write For [sensitive terminal settings](https://docs.adyen.com/point-of-sale/automating-terminal-management/configure-terminals-api#sensitive-terminal-settings), your API credential must have the following role: * Management API—Terminal settings Advanced read and write" - } + ] }, { "name": "Add EAP-TLS Wi-Fi profile", "request": { - "method": "PATCH", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"wifiProfiles\" : {\n \"profiles\" : [ {\n \"authType\" : \"wpa-eap\",\n \"autoWifi\" : false,\n \"bssType\" : \"infra\",\n \"channel\" : 0,\n \"defaultProfile\" : true,\n \"eap\" : \"tls\",\n \"eapCaCert\" : {\n \"data\" : \"LS0tLS05M2JqRVFNQ...EUtLS0tLQo=\",\n \"name\" : \"eap-tls-ca.pem\"\n },\n \"eapClientCert\" : {\n \"data\" : \"LS0tLS1CRUdJTiBDR...EUtLS0tLQo=\",\n \"name\" : \"eap-tls-client.pem\"\n },\n \"eapClientKey\" : {\n \"data\" : \"AAAB3NzaC1...Rtah3KLFwPU=\",\n \"name\" : \"rsa-private.key\"\n },\n \"eapClientPwd\" : \"\",\n \"eapIdentity\" : \"admin\",\n \"hiddenSsid\" : false,\n \"name\" : \"Profile-eap-tls-1\",\n \"ssid\" : \"your-network\",\n \"wsec\" : \"ccmp\"\n } ],\n \"settings\" : {\n \"band\" : \"2.4GHz\",\n \"roaming\" : true,\n \"timeout\" : 5\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/terminals/:terminalId/terminalSettings", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "terminals", + ":terminalId", + "terminalSettings" + ], + "variable": [ + { + "key": "terminalId", + "value": "", + "description": "The unique identifier of the payment terminal." + } + ], + "query": [ + ] + }, + "description": "Updates the settings that are configured for the payment terminal identified in the path. * To change a parameter value, include the full object that contains the parameter, even if you don't want to change all parameters in the object. * To restore a parameter value inherited from a higher level, include the full object that contains the parameter, and specify an empty value for the parameter or omit the parameter. * Objects that are not included in the request are not updated. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal settings read and write For [sensitive terminal settings](https://docs.adyen.com/point-of-sale/automating-terminal-management/configure-terminals-api#sensitive-terminal-settings), your API credential must have the following role: * Management API—Terminal settings Advanced read and write" +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"cardholderReceipt\" : {\n \"headerForAuthorizedReceipt\" : \"header1,header2,filler\"\n },\n \"gratuities\" : [ {\n \"currency\" : \"EUR\",\n \"usePredefinedTipEntries\" : true,\n \"predefinedTipEntries\" : [ \"100\", \"1%\", \"5%\" ],\n \"allowCustomAmount\" : true\n } ],\n \"nexo\" : {\n \"displayUrls\" : {\n \"localUrls\" : [ {\n \"password\" : \"BASIC_AUTH_PASSWORD\",\n \"url\" : \"https://your-display-notifications-endpoint.com\",\n \"username\" : \"BASIC_AUTH_USERNAME\"\n } ]\n },\n \"encryptionKey\" : {\n \"identifier\" : \"KEY_IDENTIFIER\",\n \"passphrase\" : \"KEY_PASSPHRASE\",\n \"version\" : 1\n },\n \"eventUrls\" : {\n \"eventPublicUrls\" : [ {\n \"password\" : \"BASIC_AUTH_PASSWORD\",\n \"url\" : \"https://your-event-notifications-endpoint.com\",\n \"username\" : \"BASIC_AUTH_USERNAME\"\n } ]\n },\n \"notification\" : {\n \"showButton\" : true\n }\n },\n \"opi\" : {\n \"enablePayAtTable\" : true,\n \"payAtTableStoreNumber\" : \"1\",\n \"payAtTableURL\" : \"https:/your-pay-at-table-endpoint.com\"\n },\n \"offlineProcessing\" : {\n \"chipFloorLimit\" : 0\n },\n \"receiptOptions\" : {\n \"qrCodeData\" : \"http://www.example.com/order/${pspreference}/${merchantreference}\"\n },\n \"receiptPrinting\" : {\n \"shopperApproved\" : true,\n \"shopperRefused\" : true,\n \"shopperCancelled\" : true,\n \"shopperRefundApproved\" : true,\n \"shopperRefundRefused\" : true,\n \"shopperVoid\" : true\n },\n \"signature\" : {\n \"askSignatureOnScreen\" : true,\n \"skipSignature\" : false,\n \"deviceName\" : \"Amsterdam-236203386\"\n },\n \"wifiProfiles\" : {\n \"profiles\" : [ {\n \"authType\" : \"wpa-eap\",\n \"autoWifi\" : false,\n \"bssType\" : \"infra\",\n \"channel\" : 0,\n \"defaultProfile\" : true,\n \"eap\" : \"tls\",\n \"eapCaCert\" : {\n \"data\" : \"LS0tLS05M2JqRVFNQ...EUtLS0tLQo=\",\n \"name\" : \"eap-tls-ca.pem\"\n },\n \"eapClientCert\" : {\n \"data\" : \"LS0tLS1CRUdJTiBDR...EUtLS0tLQo=\",\n \"name\" : \"eap-tls-client.pem\"\n },\n \"eapClientKey\" : {\n \"data\" : \"AAAB3NzaC1...Rtah3KLFwPU=\",\n \"name\" : \"rsa-private.key\"\n },\n \"eapClientPwd\" : \"\",\n \"eapIdentity\" : \"admin\",\n \"hiddenSsid\" : false,\n \"name\" : \"Profile-eap-tls-1\",\n \"ssid\" : \"your-network\",\n \"wsec\" : \"ccmp\"\n } ],\n \"settings\" : {\n \"band\" : \"2.4GHz\",\n \"roaming\" : true,\n \"timeout\" : 5\n }\n },\n \"timeouts\" : {\n \"fromActiveToSleep\" : 30\n },\n \"hardware\" : {\n \"displayMaximumBackLight\" : 75,\n \"restartHour\" : 5\n },\n \"passcodes\" : {\n \"adminMenuPin\" : \"1234\",\n \"txMenuPin\" : \"1234\",\n \"refundPin\" : \"123456\",\n \"screenLockPin\" : \"1111\"\n },\n \"connectivity\" : {\n \"simcardStatus\" : \"INVENTORY\"\n }\n}", + "originalRequest": { + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"wifiProfiles\" : {\n \"profiles\" : [ {\n \"authType\" : \"wpa-eap\",\n \"autoWifi\" : false,\n \"bssType\" : \"infra\",\n \"channel\" : 0,\n \"defaultProfile\" : true,\n \"eap\" : \"tls\",\n \"eapCaCert\" : {\n \"data\" : \"LS0tLS05M2JqRVFNQ...EUtLS0tLQo=\",\n \"name\" : \"eap-tls-ca.pem\"\n },\n \"eapClientCert\" : {\n \"data\" : \"LS0tLS1CRUdJTiBDR...EUtLS0tLQo=\",\n \"name\" : \"eap-tls-client.pem\"\n },\n \"eapClientKey\" : {\n \"data\" : \"AAAB3NzaC1...Rtah3KLFwPU=\",\n \"name\" : \"rsa-private.key\"\n },\n \"eapClientPwd\" : \"\",\n \"eapIdentity\" : \"admin\",\n \"hiddenSsid\" : false,\n \"name\" : \"Profile-eap-tls-1\",\n \"ssid\" : \"your-network\",\n \"wsec\" : \"ccmp\"\n } ],\n \"settings\" : {\n \"band\" : \"2.4GHz\",\n \"roaming\" : true,\n \"timeout\" : 5\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/terminals/:terminalId/terminalSettings", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "terminals", + ":terminalId", + "terminalSettings" + ], + "variable": [ + { + "key": "terminalId", + "value": "", + "description": "The unique identifier of the payment terminal." + } + ], + "query": [ + ] + }, + "description": "Updates the settings that are configured for the payment terminal identified in the path. * To change a parameter value, include the full object that contains the parameter, even if you don't want to change all parameters in the object. * To restore a parameter value inherited from a higher level, include the full object that contains the parameter, and specify an empty value for the parameter or omit the parameter. * Objects that are not included in the request are not updated. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal settings read and write For [sensitive terminal settings](https://docs.adyen.com/point-of-sale/automating-terminal-management/configure-terminals-api#sensitive-terminal-settings), your API credential must have the following role: * Management API—Terminal settings Advanced read and write" +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"wifiProfiles\" : {\n \"profiles\" : [ {\n \"authType\" : \"wpa-eap\",\n \"autoWifi\" : false,\n \"bssType\" : \"infra\",\n \"channel\" : 0,\n \"defaultProfile\" : true,\n \"eap\" : \"tls\",\n \"eapCaCert\" : {\n \"data\" : \"LS0tLS05M2JqRVFNQ...EUtLS0tLQo=\",\n \"name\" : \"eap-tls-ca.pem\"\n },\n \"eapClientCert\" : {\n \"data\" : \"LS0tLS1CRUdJTiBDR...EUtLS0tLQo=\",\n \"name\" : \"eap-tls-client.pem\"\n },\n \"eapClientKey\" : {\n \"data\" : \"AAAB3NzaC1...Rtah3KLFwPU=\",\n \"name\" : \"rsa-private.key\"\n },\n \"eapClientPwd\" : \"\",\n \"eapIdentity\" : \"admin\",\n \"hiddenSsid\" : false,\n \"name\" : \"Profile-eap-tls-1\",\n \"ssid\" : \"your-network\",\n \"wsec\" : \"ccmp\"\n } ],\n \"settings\" : {\n \"band\" : \"2.4GHz\",\n \"roaming\" : true,\n \"timeout\" : 5\n }\n }\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/terminals/:terminalId/terminalSettings", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "terminals", - ":terminalId", - "terminalSettings" - ], - "variable": [ - { - "key": "terminalId", - "value": "", - "description": "The unique identifier of the payment terminal." - } - ], - "query": [ - ] - }, - "description": "Updates the settings that are configured for the payment terminal identified in the path. * To change a parameter value, include the full object that contains the parameter, even if you don't want to change all parameters in the object. * To restore a parameter value inherited from a higher level, include the full object that contains the parameter, and specify an empty value for the parameter or omit the parameter. * Objects that are not included in the request are not updated. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal settings read and write For [sensitive terminal settings](https://docs.adyen.com/point-of-sale/automating-terminal-management/configure-terminals-api#sensitive-terminal-settings), your API credential must have the following role: * Management API—Terminal settings Advanced read and write" - } + ] } ] } - ] }, { @@ -1955,50 +2889,51 @@ { "name": "Get a list of payout settings", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/merchants/:merchantId/payoutSettings", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "merchants", - ":merchantId", - "payoutSettings" - ], - "variable": [ - { - "key": "merchantId", - "value": "{{YOUR_MERCHANT_ACCOUNT}}", - "description": "The unique identifier of the merchant account." - } - ], - "query": [ - ] - }, - "description": "Returns the list of payout settings for the merchant account identified in the path. Use this endpoint if your integration requires it, such as Adyen for Platforms Manage. Your Adyen contact will set up your access. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Payout account settings read" - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/merchants/:merchantId/payoutSettings", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "merchants", + ":merchantId", + "payoutSettings" + ], + "variable": [ + { + "key": "merchantId", + "value": "{{YOUR_MERCHANT_ACCOUNT}}", + "description": "The unique identifier of the merchant account." + } + ], + "query": [ + ] + }, + "description": "Returns the list of payout settings for the merchant account identified in the path. Use this endpoint if your integration requires it, such as Adyen for Platforms Manage. Your Adyen contact will set up your access. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Payout account settings read" +} + ,"response": [ + ] } ] - } -, + }, { "name": "/merchants/:merchantId/payoutSettings", "description": "Sends a request to add a payout setting for the merchant account specified in the path. A payout setting links the merchant account to the [transfer instrument](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/transferInstruments) that contains the details of the payout bank account. Adyen verifies the bank account before allowing and enabling the payout setting. If you're accepting payments in multiple currencies, you may add multiple payout settings for the merchant account. Use this endpoint if your integration requires it, such as Adyen for Platforms Manage. Your Adyen contact will set up your access. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Payout account settings read and write", @@ -2006,56 +2941,57 @@ { "name": "Add a payout setting", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"enabled\": \"\",\n \"enabledFromDate\": \"\",\n \"transferInstrumentId\": \"\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/merchants/:merchantId/payoutSettings", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "merchants", - ":merchantId", - "payoutSettings" - ], - "variable": [ - { - "key": "merchantId", - "value": "{{YOUR_MERCHANT_ACCOUNT}}", - "description": "The unique identifier of the merchant account." - } - ], - "query": [ - ] - }, - "description": "Sends a request to add a payout setting for the merchant account specified in the path. A payout setting links the merchant account to the [transfer instrument](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/transferInstruments) that contains the details of the payout bank account. Adyen verifies the bank account before allowing and enabling the payout setting. If you're accepting payments in multiple currencies, you may add multiple payout settings for the merchant account. Use this endpoint if your integration requires it, such as Adyen for Platforms Manage. Your Adyen contact will set up your access. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Payout account settings read and write" - } + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"enabled\": \"\",\n \"enabledFromDate\": \"\",\n \"transferInstrumentId\": \"\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/merchants/:merchantId/payoutSettings", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "merchants", + ":merchantId", + "payoutSettings" + ], + "variable": [ + { + "key": "merchantId", + "value": "{{YOUR_MERCHANT_ACCOUNT}}", + "description": "The unique identifier of the merchant account." + } + ], + "query": [ + ] + }, + "description": "Sends a request to add a payout setting for the merchant account specified in the path. A payout setting links the merchant account to the [transfer instrument](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/transferInstruments) that contains the details of the payout bank account. Adyen verifies the bank account before allowing and enabling the payout setting. If you're accepting payments in multiple currencies, you may add multiple payout settings for the merchant account. Use this endpoint if your integration requires it, such as Adyen for Platforms Manage. Your Adyen contact will set up your access. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Payout account settings read and write" +} + ,"response": [ + ] } ] - } -, + }, { "name": "/merchants/:merchantId/payoutSettings/:payoutSettingsId", "description": "Deletes the payout setting identified in the path. Use this endpoint if your integration requires it, such as Adyen for Platforms Manage. Your Adyen contact will set up your access. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Payout account settings read and write", @@ -2063,56 +2999,57 @@ { "name": "Delete a payout setting", "request": { - "method": "DELETE", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/merchants/:merchantId/payoutSettings/:payoutSettingsId", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "merchants", - ":merchantId", - "payoutSettings", - ":payoutSettingsId" - ], - "variable": [ - { - "key": "merchantId", - "value": "{{YOUR_MERCHANT_ACCOUNT}}", - "description": "The unique identifier of the merchant account." - }, - { - "key": "payoutSettingsId", - "value": "", - "description": "The unique identifier of the payout setting." - } - ], - "query": [ - ] - }, - "description": "Deletes the payout setting identified in the path. Use this endpoint if your integration requires it, such as Adyen for Platforms Manage. Your Adyen contact will set up your access. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Payout account settings read and write" - } + "method": "DELETE", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/merchants/:merchantId/payoutSettings/:payoutSettingsId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "merchants", + ":merchantId", + "payoutSettings", + ":payoutSettingsId" + ], + "variable": [ + { + "key": "merchantId", + "value": "{{YOUR_MERCHANT_ACCOUNT}}", + "description": "The unique identifier of the merchant account." + }, + { + "key": "payoutSettingsId", + "value": "", + "description": "The unique identifier of the payout setting." + } + ], + "query": [ + ] + }, + "description": "Deletes the payout setting identified in the path. Use this endpoint if your integration requires it, such as Adyen for Platforms Manage. Your Adyen contact will set up your access. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Payout account settings read and write" +} + ,"response": [ + ] } ] - } -, + }, { "name": "/merchants/:merchantId/payoutSettings/:payoutSettingsId", "description": "Returns the payout setting identified in the path. Use this endpoint if your integration requires it, such as Adyen for Platforms Manage. Your Adyen contact will set up your access. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Payout account settings read", @@ -2120,56 +3057,57 @@ { "name": "Get a payout setting", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/merchants/:merchantId/payoutSettings/:payoutSettingsId", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "merchants", - ":merchantId", - "payoutSettings", - ":payoutSettingsId" - ], - "variable": [ - { - "key": "merchantId", - "value": "{{YOUR_MERCHANT_ACCOUNT}}", - "description": "The unique identifier of the merchant account." - }, - { - "key": "payoutSettingsId", - "value": "", - "description": "The unique identifier of the payout setting." - } - ], - "query": [ - ] - }, - "description": "Returns the payout setting identified in the path. Use this endpoint if your integration requires it, such as Adyen for Platforms Manage. Your Adyen contact will set up your access. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Payout account settings read" - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/merchants/:merchantId/payoutSettings/:payoutSettingsId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "merchants", + ":merchantId", + "payoutSettings", + ":payoutSettingsId" + ], + "variable": [ + { + "key": "merchantId", + "value": "{{YOUR_MERCHANT_ACCOUNT}}", + "description": "The unique identifier of the merchant account." + }, + { + "key": "payoutSettingsId", + "value": "", + "description": "The unique identifier of the payout setting." + } + ], + "query": [ + ] + }, + "description": "Returns the payout setting identified in the path. Use this endpoint if your integration requires it, such as Adyen for Platforms Manage. Your Adyen contact will set up your access. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Payout account settings read" +} + ,"response": [ + ] } ] - } -, + }, { "name": "/merchants/:merchantId/payoutSettings/:payoutSettingsId", "description": "Updates the payout setting identified in the path. You can enable or disable the payout setting. Use this endpoint if your integration requires it, such as Adyen for Platforms Manage. Your Adyen contact will set up your access. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Payout account settings read and write", @@ -2177,62 +3115,63 @@ { "name": "Update a payout setting", "request": { - "method": "PATCH", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"enabled\": \"\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/merchants/:merchantId/payoutSettings/:payoutSettingsId", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "merchants", - ":merchantId", - "payoutSettings", - ":payoutSettingsId" - ], - "variable": [ - { - "key": "merchantId", - "value": "{{YOUR_MERCHANT_ACCOUNT}}", - "description": "The unique identifier of the merchant account." - }, - { - "key": "payoutSettingsId", - "value": "", - "description": "The unique identifier of the payout setting." - } - ], - "query": [ - ] - }, - "description": "Updates the payout setting identified in the path. You can enable or disable the payout setting. Use this endpoint if your integration requires it, such as Adyen for Platforms Manage. Your Adyen contact will set up your access. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Payout account settings read and write" - } + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"enabled\": \"\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/merchants/:merchantId/payoutSettings/:payoutSettingsId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "merchants", + ":merchantId", + "payoutSettings", + ":payoutSettingsId" + ], + "variable": [ + { + "key": "merchantId", + "value": "{{YOUR_MERCHANT_ACCOUNT}}", + "description": "The unique identifier of the merchant account." + }, + { + "key": "payoutSettingsId", + "value": "", + "description": "The unique identifier of the payout setting." + } + ], + "query": [ + ] + }, + "description": "Updates the payout setting identified in the path. You can enable or disable the payout setting. Use this endpoint if your integration requires it, such as Adyen for Platforms Manage. Your Adyen contact will set up your access. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Payout account settings read and write" +} + ,"response": [ + ] } ] } - ] }, { @@ -2245,62 +3184,63 @@ { "name": "List all webhooks", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/merchants/:merchantId/webhooks", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "merchants", - ":merchantId", - "webhooks" - ], - "variable": [ - { - "key": "merchantId", - "value": "{{YOUR_MERCHANT_ACCOUNT}}", - "description": "The unique identifier of the merchant account." - } - ], - "query": [ - { - "key": "pageNumber", - "value": "56", - "description": "The number of the page to fetch.", - "disabled": true - }, - { - "key": "pageSize", - "value": "56", - "description": "The number of items to have on a page, maximum 100. The default is 10 items on a page.", - "disabled": true - } - ] - }, - "description": "Lists all webhook configurations for the merchant account. To make this request, your API credential must have one of the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Webhooks read * Management API—Webhooks read and write" - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/merchants/:merchantId/webhooks", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "merchants", + ":merchantId", + "webhooks" + ], + "variable": [ + { + "key": "merchantId", + "value": "{{YOUR_MERCHANT_ACCOUNT}}", + "description": "The unique identifier of the merchant account." + } + ], + "query": [ + { + "key": "pageNumber", + "value": "56", + "description": "The number of the page to fetch.", + "disabled": true + }, + { + "key": "pageSize", + "value": "56", + "description": "The number of items to have on a page, maximum 100. The default is 10 items on a page.", + "disabled": true + } + ] + }, + "description": "Lists all webhook configurations for the merchant account. To make this request, your API credential must have one of the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Webhooks read * Management API—Webhooks read and write" +} + ,"response": [ + ] } ] - } -, + }, { "name": "/merchants/:merchantId/webhooks", "description": "Subscribe to receive webhook notifications about events related to your merchant account. You can add basic authentication to make sure the data is secure. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Webhooks read and write", @@ -2308,56 +3248,115 @@ { "name": "Add a webhook configuration", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"type\" : \"standard\",\n \"url\" : \"YOUR_WEBHOOK_URL\",\n \"username\" : \"YOUR_USER\",\n \"password\" : \"YOUR_PASSWORD\",\n \"active\" : true,\n \"communicationFormat\" : \"json\",\n \"acceptsExpiredCertificate\" : false,\n \"acceptsSelfSignedCertificate\" : true,\n \"acceptsUntrustedRootCertificate\" : true,\n \"populateSoapActionHeader\" : false\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/merchants/:merchantId/webhooks", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "merchants", + ":merchantId", + "webhooks" + ], + "variable": [ + { + "key": "merchantId", + "value": "{{YOUR_MERCHANT_ACCOUNT}}", + "description": "The unique identifier of the merchant account." + } + ], + "query": [ + ] + }, + "description": "Subscribe to receive webhook notifications about events related to your merchant account. You can add basic authentication to make sure the data is secure. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Webhooks read and write" +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"id\" : \"S2-31433949437F\",\n \"type\" : \"standard\",\n \"url\" : \"YOUR_WEBHOOK_URL\",\n \"description\" : \"Webhook for YOUR_MERCHANT_ACCOUNT - YOUR_MERCHANT_CODE\",\n \"username\" : \"myuser\",\n \"hasPassword\" : true,\n \"active\" : true,\n \"hasError\" : false,\n \"communicationFormat\" : \"json\",\n \"acceptsExpiredCertificate\" : false,\n \"acceptsSelfSignedCertificate\" : true,\n \"acceptsUntrustedRootCertificate\" : true,\n \"certificateAlias\" : \"signed-test.adyen.com_2023\",\n \"populateSoapActionHeader\" : false,\n \"additionalSettings\" : {\n \"properties\" : {\n \"includePosTerminalInfo\" : false,\n \"includeARN\" : false,\n \"includePosDetails\" : false,\n \"includeCardInfoForRecurringContractNotification\" : false,\n \"includeRiskData\" : false,\n \"includeRiskExperimentReference\" : false,\n \"includeSoapSecurityHeader\" : false,\n \"includeContactlessWalletTokenInformation\" : false,\n \"includeAcquirerReference\" : false,\n \"includeRiskProfileReference\" : false,\n \"includeOriginalMerchantReferenceCancelOrRefundNotification\" : false,\n \"includeNfcTokenInformation\" : false,\n \"includeSubvariant\" : false,\n \"includeThreeDSVersion\" : false,\n \"includeInstallmentsInfo\" : false,\n \"includeAliasInfo\" : false,\n \"includeShopperCountry\" : false,\n \"includeRawThreeDSecureResult\" : false,\n \"includeAirlineData\" : false,\n \"includeGrossCurrencyChargebackDetails\" : false,\n \"includeThreeDSecureResult\" : false,\n \"includeMetadataIn3DSecurePaymentNotification\" : false,\n \"includeOriginalReferenceForChargebackReversed\" : false,\n \"addAcquirerResult\" : false,\n \"includeDeliveryAddress\" : false,\n \"includeRetryAttempts\" : false,\n \"includeExtraCosts\" : false,\n \"includeCardHolderName\" : false,\n \"includeShopperDetail\" : false,\n \"includeBankAccountDetails\" : false,\n \"includeMandateDetails\" : false,\n \"includeAuthAmountForDynamicZeroAuth\" : false,\n \"includeIssuerCountry\" : false,\n \"includeAcquirerErrorDetails\" : false,\n \"includeCoBrandedWith\" : false,\n \"includeShopperInteraction\" : false,\n \"includeDeviceAndBrowserInfo\" : false,\n \"addRawAcquirerResult\" : false,\n \"includeCardBin\" : false,\n \"includeFundingSource\" : false,\n \"includeThreeDS2ChallengeInformation\" : false,\n \"includeRiskProfile\" : false,\n \"includeRealtimeAccountUpdaterStatus\" : false,\n \"includeDunningProjectData\" : false,\n \"includePaymentResultInOrderClosedNotification\" : false,\n \"includeCardBinDetails\" : false,\n \"includeNotesInManualReviewNotifications\" : false,\n \"includeZeroAuthFlag\" : false,\n \"addCaptureReferenceToDisputeNotification\" : false,\n \"includePayPalDetails\" : false,\n \"includeRawThreeDSecureDetailsResult\" : false,\n \"includeBankVerificationResults\" : false,\n \"includeCaptureDelayHours\" : false,\n \"addPaymentAccountReference\" : false,\n \"includePayULatamDetails\" : false,\n \"includeStore\" : false,\n \"returnAvsData\" : false,\n \"includeWeChatPayOpenid\" : false,\n \"includeUpiVpa\" : false,\n \"includeCustomRoutingFlagging\" : false,\n \"includeTokenisedPaymentMetaData\" : false\n }\n },\n \"_links\" : {\n \"self\" : {\n \"href\" : \"https://management-test.adyen.com/v1/merchants/YOUR_MERCHANT_ACCOUNT/webhooks/S2-31433949437F\"\n },\n \"generateHmac\" : {\n \"href\" : \"https://management-test.adyen.com/v1/merchants/YOUR_MERCHANT_ACCOUNT/webhooks/S2-31433949437F/generateHmac\"\n },\n \"merchant\" : {\n \"href\" : \"https://management-test.adyen.com/v1/merchants/YOUR_MERCHANT_ACCOUNT\"\n },\n \"testWebhook\" : {\n \"href\" : \"https://management-test.adyen.com/v1/merchants/YOUR_MERCHANT_ACCOUNT/webhooks/S2-31433949437F/test\"\n }\n }\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"type\" : \"standard\",\n \"url\" : \"YOUR_WEBHOOK_URL\",\n \"username\" : \"YOUR_USER\",\n \"password\" : \"YOUR_PASSWORD\",\n \"active\" : true,\n \"communicationFormat\" : \"json\",\n \"acceptsExpiredCertificate\" : false,\n \"acceptsSelfSignedCertificate\" : true,\n \"acceptsUntrustedRootCertificate\" : true,\n \"populateSoapActionHeader\" : false\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/merchants/:merchantId/webhooks", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "merchants", + ":merchantId", + "webhooks" + ], + "variable": [ + { + "key": "merchantId", + "value": "{{YOUR_MERCHANT_ACCOUNT}}", + "description": "The unique identifier of the merchant account." + } + ], + "query": [ + ] + }, + "description": "Subscribe to receive webhook notifications about events related to your merchant account. You can add basic authentication to make sure the data is secure. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Webhooks read and write" +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"type\" : \"standard\",\n \"url\" : \"YOUR_WEBHOOK_URL\",\n \"username\" : \"YOUR_USER\",\n \"password\" : \"YOUR_PASSWORD\",\n \"active\" : true,\n \"communicationFormat\" : \"json\",\n \"acceptsExpiredCertificate\" : false,\n \"acceptsSelfSignedCertificate\" : true,\n \"acceptsUntrustedRootCertificate\" : true,\n \"populateSoapActionHeader\" : false\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/merchants/:merchantId/webhooks", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "merchants", - ":merchantId", - "webhooks" - ], - "variable": [ - { - "key": "merchantId", - "value": "{{YOUR_MERCHANT_ACCOUNT}}", - "description": "The unique identifier of the merchant account." - } - ], - "query": [ - ] - }, - "description": "Subscribe to receive webhook notifications about events related to your merchant account. You can add basic authentication to make sure the data is secure. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Webhooks read and write" - } + ] } ] - } -, + }, { "name": "/merchants/:merchantId/webhooks/:webhookId", "description": "Remove the configuration for the webhook identified in the path. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Webhooks read and write", @@ -2365,56 +3364,57 @@ { "name": "Remove a webhook", "request": { - "method": "DELETE", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/merchants/:merchantId/webhooks/:webhookId", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "merchants", - ":merchantId", - "webhooks", - ":webhookId" - ], - "variable": [ - { - "key": "merchantId", - "value": "{{YOUR_MERCHANT_ACCOUNT}}", - "description": "The unique identifier of the merchant account." - }, - { - "key": "webhookId", - "value": "", - "description": "Unique identifier of the webhook configuration." - } - ], - "query": [ - ] - }, - "description": "Remove the configuration for the webhook identified in the path. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Webhooks read and write" - } + "method": "DELETE", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/merchants/:merchantId/webhooks/:webhookId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "merchants", + ":merchantId", + "webhooks", + ":webhookId" + ], + "variable": [ + { + "key": "merchantId", + "value": "{{YOUR_MERCHANT_ACCOUNT}}", + "description": "The unique identifier of the merchant account." + }, + { + "key": "webhookId", + "value": "", + "description": "Unique identifier of the webhook configuration." + } + ], + "query": [ + ] + }, + "description": "Remove the configuration for the webhook identified in the path. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Webhooks read and write" +} + ,"response": [ + ] } ] - } -, + }, { "name": "/merchants/:merchantId/webhooks/:webhookId", "description": "Returns the configuration for the webhook identified in the path. To make this request, your API credential must have one of the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Webhooks read * Management API—Webhooks read and write", @@ -2422,56 +3422,57 @@ { "name": "Get a webhook", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/merchants/:merchantId/webhooks/:webhookId", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "merchants", - ":merchantId", - "webhooks", - ":webhookId" - ], - "variable": [ - { - "key": "merchantId", - "value": "{{YOUR_MERCHANT_ACCOUNT}}", - "description": "The unique identifier of the merchant account." - }, - { - "key": "webhookId", - "value": "", - "description": "Unique identifier of the webhook configuration." - } - ], - "query": [ - ] - }, - "description": "Returns the configuration for the webhook identified in the path. To make this request, your API credential must have one of the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Webhooks read * Management API—Webhooks read and write" - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/merchants/:merchantId/webhooks/:webhookId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "merchants", + ":merchantId", + "webhooks", + ":webhookId" + ], + "variable": [ + { + "key": "merchantId", + "value": "{{YOUR_MERCHANT_ACCOUNT}}", + "description": "The unique identifier of the merchant account." + }, + { + "key": "webhookId", + "value": "", + "description": "Unique identifier of the webhook configuration." + } + ], + "query": [ + ] + }, + "description": "Returns the configuration for the webhook identified in the path. To make this request, your API credential must have one of the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Webhooks read * Management API—Webhooks read and write" +} + ,"response": [ + ] } ] - } -, + }, { "name": "/merchants/:merchantId/webhooks/:webhookId", "description": "Make changes to the configuration of the webhook identified in the path. The request contains the new values you want to have in the webhook configuration. The response contains the full configuration for the webhook, which includes the new values from the request. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Webhooks read and write", @@ -2479,62 +3480,127 @@ { "name": "Activate the webhook", "request": { - "method": "PATCH", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"active\" : true\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/merchants/:merchantId/webhooks/:webhookId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "merchants", + ":merchantId", + "webhooks", + ":webhookId" + ], + "variable": [ + { + "key": "merchantId", + "value": "{{YOUR_MERCHANT_ACCOUNT}}", + "description": "The unique identifier of the merchant account." + }, + { + "key": "webhookId", + "value": "", + "description": "Unique identifier of the webhook configuration." + } + ], + "query": [ + ] + }, + "description": "Make changes to the configuration of the webhook identified in the path. The request contains the new values you want to have in the webhook configuration. The response contains the full configuration for the webhook, which includes the new values from the request. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Webhooks read and write" +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"id\" : \"S2-3E5E42476641\",\n \"type\" : \"standard\",\n \"url\" : \"YOUR_WEBHOOK_URL\",\n \"description\" : \"Webhook for YOUR_MERCHANT_ACCOUNT - YOUR_MERCHANT_CODE\",\n \"username\" : \"\",\n \"hasPassword\" : false,\n \"active\" : true,\n \"hasError\" : false,\n \"communicationFormat\" : \"json\",\n \"acceptsExpiredCertificate\" : false,\n \"acceptsSelfSignedCertificate\" : false,\n \"acceptsUntrustedRootCertificate\" : false,\n \"populateSoapActionHeader\" : false,\n \"additionalSettings\" : {\n \"properties\" : {\n \"includePosTerminalInfo\" : false,\n \"includeARN\" : false,\n \"includePosDetails\" : false,\n \"includeCardInfoForRecurringContractNotification\" : false,\n \"includeRiskData\" : false,\n \"includeRiskExperimentReference\" : false,\n \"includeSoapSecurityHeader\" : false,\n \"includeContactlessWalletTokenInformation\" : false,\n \"includeAcquirerReference\" : false,\n \"includeRiskProfileReference\" : false,\n \"includeOriginalMerchantReferenceCancelOrRefundNotification\" : false,\n \"includeNfcTokenInformation\" : false,\n \"includeSubvariant\" : false,\n \"includeThreeDSVersion\" : false,\n \"includeInstallmentsInfo\" : false,\n \"includeAliasInfo\" : false,\n \"includeShopperCountry\" : false,\n \"includeRawThreeDSecureResult\" : false,\n \"includeAirlineData\" : false,\n \"includeGrossCurrencyChargebackDetails\" : false,\n \"includeThreeDSecureResult\" : false,\n \"includeMetadataIn3DSecurePaymentNotification\" : false,\n \"includeOriginalReferenceForChargebackReversed\" : false,\n \"addAcquirerResult\" : false,\n \"includeDeliveryAddress\" : false,\n \"includeRetryAttempts\" : false,\n \"includeExtraCosts\" : false,\n \"includeCardHolderName\" : false,\n \"includeShopperDetail\" : false,\n \"includeBankAccountDetails\" : false,\n \"includeMandateDetails\" : false,\n \"includeAuthAmountForDynamicZeroAuth\" : false,\n \"includeIssuerCountry\" : false,\n \"includeAcquirerErrorDetails\" : false,\n \"includeCoBrandedWith\" : false,\n \"includeShopperInteraction\" : false,\n \"includeDeviceAndBrowserInfo\" : false,\n \"addRawAcquirerResult\" : false,\n \"includeCardBin\" : false,\n \"includeFundingSource\" : false,\n \"includeThreeDS2ChallengeInformation\" : false,\n \"includeRiskProfile\" : false,\n \"includeRealtimeAccountUpdaterStatus\" : false,\n \"includeDunningProjectData\" : false,\n \"includePaymentResultInOrderClosedNotification\" : false,\n \"includeCardBinDetails\" : false,\n \"includeNotesInManualReviewNotifications\" : false,\n \"includeZeroAuthFlag\" : false,\n \"addCaptureReferenceToDisputeNotification\" : false,\n \"includePayPalDetails\" : false,\n \"includeRawThreeDSecureDetailsResult\" : false,\n \"includeBankVerificationResults\" : false,\n \"includeCaptureDelayHours\" : false,\n \"addPaymentAccountReference\" : false,\n \"includePayULatamDetails\" : false,\n \"includeStore\" : false,\n \"returnAvsData\" : false,\n \"includeWeChatPayOpenid\" : false,\n \"includeUpiVpa\" : false,\n \"includeCustomRoutingFlagging\" : false,\n \"includeTokenisedPaymentMetaData\" : false\n }\n },\n \"_links\" : {\n \"self\" : {\n \"href\" : \"https://management-test.adyen.com/v1/merchants/YOUR_MERCHANT_ACCOUNT/webhooks/S2-3E5E42476641\"\n },\n \"generateHmac\" : {\n \"href\" : \"https://management-test.adyen.com/v1/merchants/YOUR_MERCHANT_ACCOUNT/webhooks/S2-3E5E42476641/generateHmac\"\n },\n \"merchant\" : {\n \"href\" : \"https://management-test.adyen.com/v1/merchants/YOUR_MERCHANT_ACCOUNT\"\n },\n \"testWebhook\" : {\n \"href\" : \"https://management-test.adyen.com/v1/merchants/YOUR_MERCHANT_ACCOUNT/webhooks/S2-3E5E42476641/test\"\n }\n }\n}", + "originalRequest": { + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"active\" : true\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/merchants/:merchantId/webhooks/:webhookId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "merchants", + ":merchantId", + "webhooks", + ":webhookId" + ], + "variable": [ + { + "key": "merchantId", + "value": "{{YOUR_MERCHANT_ACCOUNT}}", + "description": "The unique identifier of the merchant account." + }, + { + "key": "webhookId", + "value": "", + "description": "Unique identifier of the webhook configuration." + } + ], + "query": [ + ] + }, + "description": "Make changes to the configuration of the webhook identified in the path. The request contains the new values you want to have in the webhook configuration. The response contains the full configuration for the webhook, which includes the new values from the request. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Webhooks read and write" +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"active\" : true\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/merchants/:merchantId/webhooks/:webhookId", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "merchants", - ":merchantId", - "webhooks", - ":webhookId" - ], - "variable": [ - { - "key": "merchantId", - "value": "{{YOUR_MERCHANT_ACCOUNT}}", - "description": "The unique identifier of the merchant account." - }, - { - "key": "webhookId", - "value": "", - "description": "Unique identifier of the webhook configuration." - } - ], - "query": [ - ] - }, - "description": "Make changes to the configuration of the webhook identified in the path. The request contains the new values you want to have in the webhook configuration. The response contains the full configuration for the webhook, which includes the new values from the request. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Webhooks read and write" - } + ] } ] - } -, + }, { "name": "/merchants/:merchantId/webhooks/:webhookId/generateHmac", "description": "Returns an [HMAC key](https://en.wikipedia.org/wiki/HMAC) for the webhook identified in the path. This key allows you to check the integrity and the origin of the notifications you receive.By creating an HMAC key, you start receiving [HMAC-signed notifications](https://docs.adyen.com/development-resources/webhooks/verify-hmac-signatures#enable-hmac-signatures) from Adyen. Find out more about how to [verify HMAC signatures](https://docs.adyen.com/development-resources/webhooks/verify-hmac-signatures). To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Webhooks read and write", @@ -2542,57 +3608,58 @@ { "name": "Generate an HMAC key", "request": { - "method": "POST", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/merchants/:merchantId/webhooks/:webhookId/generateHmac", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "merchants", - ":merchantId", - "webhooks", - ":webhookId", - "generateHmac" - ], - "variable": [ - { - "key": "merchantId", - "value": "{{YOUR_MERCHANT_ACCOUNT}}", - "description": "The unique identifier of the merchant account." - }, - { - "key": "webhookId", - "value": "", - "description": "" - } - ], - "query": [ - ] - }, - "description": "Returns an [HMAC key](https://en.wikipedia.org/wiki/HMAC) for the webhook identified in the path. This key allows you to check the integrity and the origin of the notifications you receive.By creating an HMAC key, you start receiving [HMAC-signed notifications](https://docs.adyen.com/development-resources/webhooks/verify-hmac-signatures#enable-hmac-signatures) from Adyen. Find out more about how to [verify HMAC signatures](https://docs.adyen.com/development-resources/webhooks/verify-hmac-signatures). To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Webhooks read and write" - } + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/merchants/:merchantId/webhooks/:webhookId/generateHmac", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "merchants", + ":merchantId", + "webhooks", + ":webhookId", + "generateHmac" + ], + "variable": [ + { + "key": "merchantId", + "value": "{{YOUR_MERCHANT_ACCOUNT}}", + "description": "The unique identifier of the merchant account." + }, + { + "key": "webhookId", + "value": "", + "description": "" + } + ], + "query": [ + ] + }, + "description": "Returns an [HMAC key](https://en.wikipedia.org/wiki/HMAC) for the webhook identified in the path. This key allows you to check the integrity and the origin of the notifications you receive.By creating an HMAC key, you start receiving [HMAC-signed notifications](https://docs.adyen.com/development-resources/webhooks/verify-hmac-signatures#enable-hmac-signatures) from Adyen. Find out more about how to [verify HMAC signatures](https://docs.adyen.com/development-resources/webhooks/verify-hmac-signatures). To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Webhooks read and write" +} + ,"response": [ + ] } ] - } -, + }, { "name": "/merchants/:merchantId/webhooks/:webhookId/test", "description": "Sends sample notifications to test if the webhook is set up correctly. We send four test notifications for each event code you choose. They cover success and failure scenarios for the hard-coded currencies EUR and GBP, regardless of the currencies configured in the merchant accounts. For custom notifications, we only send the specified custom notification. The response describes the result of the test. The `status` field tells you if the test was successful or not. You can use the other fields to troubleshoot unsuccessful tests. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Webhooks read and write", @@ -2600,63 +3667,129 @@ { "name": "Test a webhook notification", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"notification\" : {\n \"paymentMethod\" : \"visa\",\n \"eventCode\" : \"AUTHORISATION\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"reason\" : \"Authorize visa payment\",\n \"success\" : true\n },\n \"types\" : [ \"CUSTOM\" ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/merchants/:merchantId/webhooks/:webhookId/test", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "merchants", + ":merchantId", + "webhooks", + ":webhookId", + "test" + ], + "variable": [ + { + "key": "merchantId", + "value": "{{YOUR_MERCHANT_ACCOUNT}}", + "description": "The unique identifier of the merchant account." + }, + { + "key": "webhookId", + "value": "", + "description": "Unique identifier of the webhook configuration." + } + ], + "query": [ + ] + }, + "description": "Sends sample notifications to test if the webhook is set up correctly. We send four test notifications for each event code you choose. They cover success and failure scenarios for the hard-coded currencies EUR and GBP, regardless of the currencies configured in the merchant accounts. For custom notifications, we only send the specified custom notification. The response describes the result of the test. The `status` field tells you if the test was successful or not. You can use the other fields to troubleshoot unsuccessful tests. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Webhooks read and write" +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"data\" : [ {\n \"merchantId\" : \"YOUR_MERCHANT_ACCOUNT\",\n \"output\" : \"\",\n \"requestSent\" : \"{\\"live\\":\\"false\\",\\"notificationItems\\":[{\\"NotificationRequestItem\\":{\\"amount\\":{\\"currency\\":\\"EUR\\",\\"value\\":100},\\"eventCode\\":\\"AUTHORISATION\\",\\"eventDate\\":\\"2022-05-10T17:02:03+02:00\\",\\"merchantAccountCode\\":\\"YOUR_MERCHANT_ACCOUNT\\",\\"merchantReference\\":\\"4TZLD23Y\\",\\"operations\\":[\\"CANCEL\\",\\"CAPTURE\\",\\"REFUND\\"],\\"paymentMethod\\":\\"visa\\",\\"pspReference\\":\\"E05WW50L6IOBRGA0\\",\\"reason\\":\\"\\",\\"success\\":\\"true\\"}}]}\",\n \"responseCode\" : \"200\",\n \"responseTime\" : \"532 ms\",\n \"status\" : \"success\"\n } ]\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"notification\" : {\n \"paymentMethod\" : \"visa\",\n \"eventCode\" : \"AUTHORISATION\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"reason\" : \"Authorize visa payment\",\n \"success\" : true\n },\n \"types\" : [ \"CUSTOM\" ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/merchants/:merchantId/webhooks/:webhookId/test", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "merchants", + ":merchantId", + "webhooks", + ":webhookId", + "test" + ], + "variable": [ + { + "key": "merchantId", + "value": "{{YOUR_MERCHANT_ACCOUNT}}", + "description": "The unique identifier of the merchant account." + }, + { + "key": "webhookId", + "value": "", + "description": "Unique identifier of the webhook configuration." + } + ], + "query": [ + ] + }, + "description": "Sends sample notifications to test if the webhook is set up correctly. We send four test notifications for each event code you choose. They cover success and failure scenarios for the hard-coded currencies EUR and GBP, regardless of the currencies configured in the merchant accounts. For custom notifications, we only send the specified custom notification. The response describes the result of the test. The `status` field tells you if the test was successful or not. You can use the other fields to troubleshoot unsuccessful tests. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Webhooks read and write" +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"notification\" : {\n \"paymentMethod\" : \"visa\",\n \"eventCode\" : \"AUTHORISATION\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"reason\" : \"Authorize visa payment\",\n \"success\" : true\n },\n \"types\" : [ \"CUSTOM\" ]\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/merchants/:merchantId/webhooks/:webhookId/test", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "merchants", - ":merchantId", - "webhooks", - ":webhookId", - "test" - ], - "variable": [ - { - "key": "merchantId", - "value": "{{YOUR_MERCHANT_ACCOUNT}}", - "description": "The unique identifier of the merchant account." - }, - { - "key": "webhookId", - "value": "", - "description": "Unique identifier of the webhook configuration." - } - ], - "query": [ - ] - }, - "description": "Sends sample notifications to test if the webhook is set up correctly. We send four test notifications for each event code you choose. They cover success and failure scenarios for the hard-coded currencies EUR and GBP, regardless of the currencies configured in the merchant accounts. For custom notifications, we only send the specified custom notification. The response describes the result of the test. The `status` field tells you if the test was successful or not. You can use the other fields to troubleshoot unsuccessful tests. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Webhooks read and write" - } + ] } ] } - ] }, { @@ -2669,57 +3802,58 @@ { "name": "Generate new client key", "request": { - "method": "POST", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/merchants/:merchantId/apiCredentials/:apiCredentialId/generateClientKey", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "merchants", - ":merchantId", - "apiCredentials", - ":apiCredentialId", - "generateClientKey" - ], - "variable": [ - { - "key": "merchantId", - "value": "{{YOUR_MERCHANT_ACCOUNT}}", - "description": "The unique identifier of the merchant account." - }, - { - "key": "apiCredentialId", - "value": "", - "description": "Unique identifier of the API credential." - } - ], - "query": [ - ] - }, - "description": "Returns a new [client key](https://docs.adyen.com/development-resources/client-side-authentication#how-it-works) for the API credential identified in the path. You can use the new client key a few minutes after generating it. The old client key stops working 24 hours after generating a new one. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—API credentials read and write" - } + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/merchants/:merchantId/apiCredentials/:apiCredentialId/generateClientKey", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "merchants", + ":merchantId", + "apiCredentials", + ":apiCredentialId", + "generateClientKey" + ], + "variable": [ + { + "key": "merchantId", + "value": "{{YOUR_MERCHANT_ACCOUNT}}", + "description": "The unique identifier of the merchant account." + }, + { + "key": "apiCredentialId", + "value": "", + "description": "Unique identifier of the API credential." + } + ], + "query": [ + ] + }, + "description": "Returns a new [client key](https://docs.adyen.com/development-resources/client-side-authentication#how-it-works) for the API credential identified in the path. You can use the new client key a few minutes after generating it. The old client key stops working 24 hours after generating a new one. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—API credentials read and write" +} + ,"response": [ + ] } ] } - ] }, { @@ -2732,57 +3866,58 @@ { "name": "Get a list of allowed origins", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/merchants/:merchantId/apiCredentials/:apiCredentialId/allowedOrigins", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "merchants", - ":merchantId", - "apiCredentials", - ":apiCredentialId", - "allowedOrigins" - ], - "variable": [ - { - "key": "merchantId", - "value": "{{YOUR_MERCHANT_ACCOUNT}}", - "description": "The unique identifier of the merchant account." - }, - { - "key": "apiCredentialId", - "value": "", - "description": "Unique identifier of the API credential." - } - ], - "query": [ - ] - }, - "description": "Returns the list of [allowed origins](https://docs.adyen.com/development-resources/client-side-authentication#allowed-origins) for the API credential identified in the path. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—API credentials read and write" - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/merchants/:merchantId/apiCredentials/:apiCredentialId/allowedOrigins", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "merchants", + ":merchantId", + "apiCredentials", + ":apiCredentialId", + "allowedOrigins" + ], + "variable": [ + { + "key": "merchantId", + "value": "{{YOUR_MERCHANT_ACCOUNT}}", + "description": "The unique identifier of the merchant account." + }, + { + "key": "apiCredentialId", + "value": "", + "description": "Unique identifier of the API credential." + } + ], + "query": [ + ] + }, + "description": "Returns the list of [allowed origins](https://docs.adyen.com/development-resources/client-side-authentication#allowed-origins) for the API credential identified in the path. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—API credentials read and write" +} + ,"response": [ + ] } ] - } -, + }, { "name": "/merchants/:merchantId/apiCredentials/:apiCredentialId/allowedOrigins", "description": "Adds a new [allowed origin](https://docs.adyen.com/development-resources/client-side-authentication#allowed-origins) to the API credential's list of allowed origins. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—API credentials read and write", @@ -2790,63 +3925,129 @@ { "name": "Add an allowed origin for the API credential", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"domain\" : \"https://www.eu.mystore.com\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/merchants/:merchantId/apiCredentials/:apiCredentialId/allowedOrigins", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "merchants", + ":merchantId", + "apiCredentials", + ":apiCredentialId", + "allowedOrigins" + ], + "variable": [ + { + "key": "merchantId", + "value": "{{YOUR_MERCHANT_ACCOUNT}}", + "description": "The unique identifier of the merchant account." + }, + { + "key": "apiCredentialId", + "value": "", + "description": "Unique identifier of the API credential." + } + ], + "query": [ + ] + }, + "description": "Adds a new [allowed origin](https://docs.adyen.com/development-resources/client-side-authentication#allowed-origins) to the API credential's list of allowed origins. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—API credentials read and write" +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"domain\" : \"https://www.eu.mystore.com\",\n \"_links\" : {\n \"self\" : {\n \"href\" : \"https://management-test.adyen.com/v1/merchants/YOUR_MERCHANT_ACCOUNT/apiCredentials/YOUR_API_CREDENTIAL/allowedOrigins/YOUR_ALLOWED_ORIGIN\"\n }\n }\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"domain\" : \"https://www.eu.mystore.com\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/merchants/:merchantId/apiCredentials/:apiCredentialId/allowedOrigins", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "merchants", + ":merchantId", + "apiCredentials", + ":apiCredentialId", + "allowedOrigins" + ], + "variable": [ + { + "key": "merchantId", + "value": "{{YOUR_MERCHANT_ACCOUNT}}", + "description": "The unique identifier of the merchant account." + }, + { + "key": "apiCredentialId", + "value": "", + "description": "Unique identifier of the API credential." + } + ], + "query": [ + ] + }, + "description": "Adds a new [allowed origin](https://docs.adyen.com/development-resources/client-side-authentication#allowed-origins) to the API credential's list of allowed origins. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—API credentials read and write" +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"domain\" : \"https://www.eu.mystore.com\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/merchants/:merchantId/apiCredentials/:apiCredentialId/allowedOrigins", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "merchants", - ":merchantId", - "apiCredentials", - ":apiCredentialId", - "allowedOrigins" - ], - "variable": [ - { - "key": "merchantId", - "value": "{{YOUR_MERCHANT_ACCOUNT}}", - "description": "The unique identifier of the merchant account." - }, - { - "key": "apiCredentialId", - "value": "", - "description": "Unique identifier of the API credential." - } - ], - "query": [ - ] - }, - "description": "Adds a new [allowed origin](https://docs.adyen.com/development-resources/client-side-authentication#allowed-origins) to the API credential's list of allowed origins. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—API credentials read and write" - } + ] } ] - } -, + }, { "name": "/merchants/:merchantId/apiCredentials/:apiCredentialId/allowedOrigins/:originId", "description": "Removes the [allowed origin](https://docs.adyen.com/development-resources/client-side-authentication#allowed-origins) identified in the path. As soon as an allowed origin is removed, we no longer accept client-side requests from that domain. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—API credentials read and write", @@ -2854,63 +4055,64 @@ { "name": "Delete an allowed origin", "request": { - "method": "DELETE", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/merchants/:merchantId/apiCredentials/:apiCredentialId/allowedOrigins/:originId", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "merchants", - ":merchantId", - "apiCredentials", - ":apiCredentialId", - "allowedOrigins", - ":originId" - ], - "variable": [ - { - "key": "merchantId", - "value": "{{YOUR_MERCHANT_ACCOUNT}}", - "description": "The unique identifier of the merchant account." - }, - { - "key": "apiCredentialId", - "value": "", - "description": "Unique identifier of the API credential." - }, - { - "key": "originId", - "value": "", - "description": "Unique identifier of the allowed origin." - } - ], - "query": [ - ] - }, - "description": "Removes the [allowed origin](https://docs.adyen.com/development-resources/client-side-authentication#allowed-origins) identified in the path. As soon as an allowed origin is removed, we no longer accept client-side requests from that domain. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—API credentials read and write" - } + "method": "DELETE", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/merchants/:merchantId/apiCredentials/:apiCredentialId/allowedOrigins/:originId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "merchants", + ":merchantId", + "apiCredentials", + ":apiCredentialId", + "allowedOrigins", + ":originId" + ], + "variable": [ + { + "key": "merchantId", + "value": "{{YOUR_MERCHANT_ACCOUNT}}", + "description": "The unique identifier of the merchant account." + }, + { + "key": "apiCredentialId", + "value": "", + "description": "Unique identifier of the API credential." + }, + { + "key": "originId", + "value": "", + "description": "Unique identifier of the allowed origin." + } + ], + "query": [ + ] + }, + "description": "Removes the [allowed origin](https://docs.adyen.com/development-resources/client-side-authentication#allowed-origins) identified in the path. As soon as an allowed origin is removed, we no longer accept client-side requests from that domain. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—API credentials read and write" +} + ,"response": [ + ] } ] - } -, + }, { "name": "/merchants/:merchantId/apiCredentials/:apiCredentialId/allowedOrigins/:originId", "description": "Returns the [allowed origin](https://docs.adyen.com/development-resources/client-side-authentication#allowed-origins) identified in the path. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—API credentials read and write", @@ -2918,63 +4120,64 @@ { "name": "Get an allowed origin", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/merchants/:merchantId/apiCredentials/:apiCredentialId/allowedOrigins/:originId", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "merchants", - ":merchantId", - "apiCredentials", - ":apiCredentialId", - "allowedOrigins", - ":originId" - ], - "variable": [ - { - "key": "merchantId", - "value": "{{YOUR_MERCHANT_ACCOUNT}}", - "description": "The unique identifier of the merchant account." - }, - { - "key": "apiCredentialId", - "value": "", - "description": "Unique identifier of the API credential." - }, - { - "key": "originId", - "value": "", - "description": "Unique identifier of the allowed origin." - } - ], - "query": [ - ] - }, - "description": "Returns the [allowed origin](https://docs.adyen.com/development-resources/client-side-authentication#allowed-origins) identified in the path. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—API credentials read and write" - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/merchants/:merchantId/apiCredentials/:apiCredentialId/allowedOrigins/:originId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "merchants", + ":merchantId", + "apiCredentials", + ":apiCredentialId", + "allowedOrigins", + ":originId" + ], + "variable": [ + { + "key": "merchantId", + "value": "{{YOUR_MERCHANT_ACCOUNT}}", + "description": "The unique identifier of the merchant account." + }, + { + "key": "apiCredentialId", + "value": "", + "description": "Unique identifier of the API credential." + }, + { + "key": "originId", + "value": "", + "description": "Unique identifier of the allowed origin." + } + ], + "query": [ + ] + }, + "description": "Returns the [allowed origin](https://docs.adyen.com/development-resources/client-side-authentication#allowed-origins) identified in the path. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—API credentials read and write" +} + ,"response": [ + ] } ] } - ] }, { @@ -2987,56 +4190,57 @@ { "name": "Get a list of billing entities", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/companies/:companyId/billingEntities", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "companies", - ":companyId", - "billingEntities" - ], - "variable": [ - { - "key": "companyId", - "value": "{{YOUR_COMPANY_ACCOUNT}}", - "description": "The unique identifier of the company account." - } - ], - "query": [ - { - "key": "name", - "value": "name_example", - "description": "The name of the billing entity.", - "disabled": true - } - ] - }, - "description": "Returns the billing entities of the company identified in the path and all merchant accounts belonging to the company. A billing entity is a legal entity where we charge orders to. An order for terminal products must contain the ID of a billing entity. To make this request, your API credential must have one of the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal ordering read * Management API—Terminal ordering read and write" - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/companies/:companyId/billingEntities", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "companies", + ":companyId", + "billingEntities" + ], + "variable": [ + { + "key": "companyId", + "value": "{{YOUR_COMPANY_ACCOUNT}}", + "description": "The unique identifier of the company account." + } + ], + "query": [ + { + "key": "name", + "value": "name_example", + "description": "The name of the billing entity.", + "disabled": true + } + ] + }, + "description": "Returns the billing entities of the company identified in the path and all merchant accounts belonging to the company. A billing entity is a legal entity where we charge orders to. An order for terminal products must contain the ID of a billing entity. To make this request, your API credential must have one of the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal ordering read * Management API—Terminal ordering read and write" +} + ,"response": [ + ] } ] - } -, + }, { "name": "/companies/:companyId/shippingLocations", "description": "Returns the shipping locations for the company identified in the path and all merchant accounts belonging to the company. A shipping location includes the address where orders can be delivered, and an ID which you need to specify when ordering terminal products. To make this request, your API credential must have one of the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal ordering read * Management API—Terminal ordering read and write", @@ -3044,68 +4248,69 @@ { "name": "Get a list of shipping locations", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/companies/:companyId/shippingLocations", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "companies", - ":companyId", - "shippingLocations" - ], - "variable": [ - { - "key": "companyId", - "value": "{{YOUR_COMPANY_ACCOUNT}}", - "description": "The unique identifier of the company account." - } - ], - "query": [ - { - "key": "name", - "value": "name_example", - "description": "The name of the shipping location.", - "disabled": true - }, - { - "key": "offset", - "value": "56", - "description": "The number of locations to skip.", - "disabled": true - }, - { - "key": "limit", - "value": "56", - "description": "The number of locations to return.", - "disabled": true - } - ] - }, - "description": "Returns the shipping locations for the company identified in the path and all merchant accounts belonging to the company. A shipping location includes the address where orders can be delivered, and an ID which you need to specify when ordering terminal products. To make this request, your API credential must have one of the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal ordering read * Management API—Terminal ordering read and write" - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/companies/:companyId/shippingLocations", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "companies", + ":companyId", + "shippingLocations" + ], + "variable": [ + { + "key": "companyId", + "value": "{{YOUR_COMPANY_ACCOUNT}}", + "description": "The unique identifier of the company account." + } + ], + "query": [ + { + "key": "name", + "value": "name_example", + "description": "The name of the shipping location.", + "disabled": true + }, + { + "key": "offset", + "value": "56", + "description": "The number of locations to skip.", + "disabled": true + }, + { + "key": "limit", + "value": "56", + "description": "The number of locations to return.", + "disabled": true + } + ] + }, + "description": "Returns the shipping locations for the company identified in the path and all merchant accounts belonging to the company. A shipping location includes the address where orders can be delivered, and an ID which you need to specify when ordering terminal products. To make this request, your API credential must have one of the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal ordering read * Management API—Terminal ordering read and write" +} + ,"response": [ + ] } ] - } -, + }, { "name": "/companies/:companyId/shippingLocations", "description": "Creates a shipping location for the company identified in the path. A shipping location defines an address where orders can be delivered. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal ordering read and write", @@ -3113,56 +4318,115 @@ { "name": "Create a shipping location", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\" : \"YOUR_COMPANY Rokin depot\",\n \"address\" : {\n \"companyName\" : \"YOUR_COMPANY\",\n \"streetAddress\" : \"Rokin 21\",\n \"postalCode\" : \"1012 KS\",\n \"city\" : \"Amsterdam\",\n \"stateOrProvince\" : \"\",\n \"country\" : \"NL\"\n },\n \"contact\" : {\n \"firstName\" : \"Paul\",\n \"lastName\" : \"Green\",\n \"phoneNumber\" : \"+31 020 1234567\",\n \"email\" : \"Paul.Green@company.com\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/companies/:companyId/shippingLocations", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "companies", + ":companyId", + "shippingLocations" + ], + "variable": [ + { + "key": "companyId", + "value": "{{YOUR_COMPANY_ACCOUNT}}", + "description": "The unique identifier of the company account." + } + ], + "query": [ + ] + }, + "description": "Creates a shipping location for the company identified in the path. A shipping location defines an address where orders can be delivered. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal ordering read and write" +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"id\" : \"S2-7973536B20662642215526704F302044452F714622375D476169\",\n \"name\" : \"YOUR_COMPANY Rokin depot\",\n \"contact\" : {\n \"firstName\" : \"Paul\",\n \"lastName\" : \"Green\",\n \"phoneNumber\" : \"+31 020 1234567\",\n \"email\" : \"Paul.Green@company.com\"\n },\n \"address\" : {\n \"companyName\" : \"YOUR_COMPANY\",\n \"streetAddress\" : \"Rokin 21\",\n \"postalCode\" : \"1012 KS\",\n \"city\" : \"Amsterdam\",\n \"stateOrProvince\" : \"\"\n }\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\" : \"YOUR_COMPANY Rokin depot\",\n \"address\" : {\n \"companyName\" : \"YOUR_COMPANY\",\n \"streetAddress\" : \"Rokin 21\",\n \"postalCode\" : \"1012 KS\",\n \"city\" : \"Amsterdam\",\n \"stateOrProvince\" : \"\",\n \"country\" : \"NL\"\n },\n \"contact\" : {\n \"firstName\" : \"Paul\",\n \"lastName\" : \"Green\",\n \"phoneNumber\" : \"+31 020 1234567\",\n \"email\" : \"Paul.Green@company.com\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/companies/:companyId/shippingLocations", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "companies", + ":companyId", + "shippingLocations" + ], + "variable": [ + { + "key": "companyId", + "value": "{{YOUR_COMPANY_ACCOUNT}}", + "description": "The unique identifier of the company account." + } + ], + "query": [ + ] + }, + "description": "Creates a shipping location for the company identified in the path. A shipping location defines an address where orders can be delivered. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal ordering read and write" +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"name\" : \"YOUR_COMPANY Rokin depot\",\n \"address\" : {\n \"companyName\" : \"YOUR_COMPANY\",\n \"streetAddress\" : \"Rokin 21\",\n \"postalCode\" : \"1012 KS\",\n \"city\" : \"Amsterdam\",\n \"stateOrProvince\" : \"\",\n \"country\" : \"NL\"\n },\n \"contact\" : {\n \"firstName\" : \"Paul\",\n \"lastName\" : \"Green\",\n \"phoneNumber\" : \"+31 020 1234567\",\n \"email\" : \"Paul.Green@company.com\"\n }\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/companies/:companyId/shippingLocations", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "companies", - ":companyId", - "shippingLocations" - ], - "variable": [ - { - "key": "companyId", - "value": "{{YOUR_COMPANY_ACCOUNT}}", - "description": "The unique identifier of the company account." - } - ], - "query": [ - ] - }, - "description": "Creates a shipping location for the company identified in the path. A shipping location defines an address where orders can be delivered. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal ordering read and write" - } + ] } ] - } -, + }, { "name": "/companies/:companyId/terminalModels", "description": "Returns a list of payment terminal models that the company identified in the path has access to. The response includes the terminal model ID, which can be used as a query parameter when getting a list of terminals or a list of products for ordering. To make this request, your API credential must have one of the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal ordering read * Management API—Terminal ordering read and write", @@ -3170,50 +4434,51 @@ { "name": "Get a list of terminal models", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/companies/:companyId/terminalModels", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "companies", - ":companyId", - "terminalModels" - ], - "variable": [ - { - "key": "companyId", - "value": "{{YOUR_COMPANY_ACCOUNT}}", - "description": "The unique identifier of the company account." - } - ], - "query": [ - ] - }, - "description": "Returns a list of payment terminal models that the company identified in the path has access to. The response includes the terminal model ID, which can be used as a query parameter when getting a list of terminals or a list of products for ordering. To make this request, your API credential must have one of the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal ordering read * Management API—Terminal ordering read and write" - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/companies/:companyId/terminalModels", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "companies", + ":companyId", + "terminalModels" + ], + "variable": [ + { + "key": "companyId", + "value": "{{YOUR_COMPANY_ACCOUNT}}", + "description": "The unique identifier of the company account." + } + ], + "query": [ + ] + }, + "description": "Returns a list of payment terminal models that the company identified in the path has access to. The response includes the terminal model ID, which can be used as a query parameter when getting a list of terminals or a list of products for ordering. To make this request, your API credential must have one of the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal ordering read * Management API—Terminal ordering read and write" +} + ,"response": [ + ] } ] - } -, + }, { "name": "/companies/:companyId/terminalOrders", "description": "Returns a lists of terminal products orders for the company identified in the path. To filter the list, use one or more of the query parameters. To make this request, your API credential must have one of the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal ordering read * Management API—Terminal ordering read and write", @@ -3221,74 +4486,75 @@ { "name": "Get a list of orders", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/companies/:companyId/terminalOrders", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "companies", - ":companyId", - "terminalOrders" - ], - "variable": [ - { - "key": "companyId", - "value": "{{YOUR_COMPANY_ACCOUNT}}", - "description": "The unique identifier of the company account." - } - ], - "query": [ - { - "key": "customerOrderReference", - "value": "customerOrderReference_example", - "description": "Your purchase order number.", - "disabled": true - }, - { - "key": "status", - "value": "status_example", - "description": "The order status. Possible values (not case-sensitive): Placed, Confirmed, Cancelled, Shipped, Delivered.", - "disabled": true - }, - { - "key": "offset", - "value": "56", - "description": "The number of orders to skip.", - "disabled": true - }, - { - "key": "limit", - "value": "56", - "description": "The number of orders to return.", - "disabled": true - } - ] - }, - "description": "Returns a lists of terminal products orders for the company identified in the path. To filter the list, use one or more of the query parameters. To make this request, your API credential must have one of the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal ordering read * Management API—Terminal ordering read and write" - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/companies/:companyId/terminalOrders", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "companies", + ":companyId", + "terminalOrders" + ], + "variable": [ + { + "key": "companyId", + "value": "{{YOUR_COMPANY_ACCOUNT}}", + "description": "The unique identifier of the company account." + } + ], + "query": [ + { + "key": "customerOrderReference", + "value": "customerOrderReference_example", + "description": "Your purchase order number.", + "disabled": true + }, + { + "key": "status", + "value": "status_example", + "description": "The order status. Possible values (not case-sensitive): Placed, Confirmed, Cancelled, Shipped, Delivered.", + "disabled": true + }, + { + "key": "offset", + "value": "56", + "description": "The number of orders to skip.", + "disabled": true + }, + { + "key": "limit", + "value": "56", + "description": "The number of orders to return.", + "disabled": true + } + ] + }, + "description": "Returns a lists of terminal products orders for the company identified in the path. To filter the list, use one or more of the query parameters. To make this request, your API credential must have one of the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal ordering read * Management API—Terminal ordering read and write" +} + ,"response": [ + ] } ] - } -, + }, { "name": "/companies/:companyId/terminalOrders", "description": "Creates an order for payment terminal products for the company identified in the path. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal ordering read and write >Requests to the Management API test endpoint do not create actual orders for test terminals. To order test terminals, you need to [submit a sales order](https://docs.adyen.com/point-of-sale/managing-terminals/order-terminals/#sales-order-steps) in your Customer Area.", @@ -3296,56 +4562,115 @@ { "name": "Create an order", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"customerOrderReference\" : \"{{$guid}}\",\n \"shippingLocationId\" : \"S2-6A6C2E3432747D4F2F2C3455485E3836457D\",\n \"billingEntityId\" : \"Company.YOUR_COMPANY\",\n \"items\" : [ {\n \"id\" : \"TBOX-V400m-684-EU\",\n \"name\" : \"V400m Package\",\n \"quantity\" : 1\n }, {\n \"id\" : \"PART-175746-EU\",\n \"name\" : \"Adyen Test Card\",\n \"quantity\" : 1\n } ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/companies/:companyId/terminalOrders", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "companies", + ":companyId", + "terminalOrders" + ], + "variable": [ + { + "key": "companyId", + "value": "{{YOUR_COMPANY_ACCOUNT}}", + "description": "The unique identifier of the company account." + } + ], + "query": [ + ] + }, + "description": "Creates an order for payment terminal products for the company identified in the path. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal ordering read and write >Requests to the Management API test endpoint do not create actual orders for test terminals. To order test terminals, you need to [submit a sales order](https://docs.adyen.com/point-of-sale/managing-terminals/order-terminals/#sales-order-steps) in your Customer Area." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"id\" : \"5265677890100681\",\n \"customerOrderReference\" : \"YOUR_REFERENCE\",\n \"status\" : \"Placed\",\n \"shippingLocation\" : {\n \"id\" : \"S2-232A6D2967356F424F4369432B3F486B6A6D\",\n \"name\" : \"YOUR_COMPANY HQ - POS Ops\",\n \"contact\" : {\n \"firstName\" : \"Paul\",\n \"lastName\" : \"Green\",\n \"email\" : \"Paul.Green@company.com\"\n },\n \"address\" : {\n \"streetAddress\" : \"Simon Carmiggeltstraat\",\n \"streetAddress2\" : \"6-50\",\n \"postalCode\" : \"1011 DJ\",\n \"city\" : \"Amsterdam\",\n \"country\" : \"NL\"\n }\n },\n \"billingEntity\" : {\n \"id\" : \"Company.YOUR_COMPANY\",\n \"name\" : \"YOUR_COMPANY\",\n \"taxId\" : \"NL1234567890\",\n \"email\" : \"Paul.Green@company.com\",\n \"address\" : {\n \"streetAddress\" : \"Simon Carmiggeltstraat 6-50\",\n \"postalCode\" : \"1011 DJ\",\n \"city\" : \"Amsterdam\",\n \"country\" : \"NL\"\n }\n },\n \"orderDate\" : \"2022-01-20T14:12:33Z\",\n \"items\" : [ {\n \"id\" : \"TBOX-V400m-684-EU\",\n \"name\" : \"V400m Package\",\n \"quantity\" : 1\n }, {\n \"id\" : \"PART-175746-EU\",\n \"name\" : \"Adyen Test Card\",\n \"quantity\" : 1\n } ]\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"customerOrderReference\" : \"{{$guid}}\",\n \"shippingLocationId\" : \"S2-6A6C2E3432747D4F2F2C3455485E3836457D\",\n \"billingEntityId\" : \"Company.YOUR_COMPANY\",\n \"items\" : [ {\n \"id\" : \"TBOX-V400m-684-EU\",\n \"name\" : \"V400m Package\",\n \"quantity\" : 1\n }, {\n \"id\" : \"PART-175746-EU\",\n \"name\" : \"Adyen Test Card\",\n \"quantity\" : 1\n } ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/companies/:companyId/terminalOrders", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "companies", + ":companyId", + "terminalOrders" + ], + "variable": [ + { + "key": "companyId", + "value": "{{YOUR_COMPANY_ACCOUNT}}", + "description": "The unique identifier of the company account." + } + ], + "query": [ + ] + }, + "description": "Creates an order for payment terminal products for the company identified in the path. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal ordering read and write >Requests to the Management API test endpoint do not create actual orders for test terminals. To order test terminals, you need to [submit a sales order](https://docs.adyen.com/point-of-sale/managing-terminals/order-terminals/#sales-order-steps) in your Customer Area." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"customerOrderReference\" : \"{{$guid}}\",\n \"shippingLocationId\" : \"S2-6A6C2E3432747D4F2F2C3455485E3836457D\",\n \"billingEntityId\" : \"Company.YOUR_COMPANY\",\n \"items\" : [ {\n \"id\" : \"TBOX-V400m-684-EU\",\n \"name\" : \"V400m Package\",\n \"quantity\" : 1\n }, {\n \"id\" : \"PART-175746-EU\",\n \"name\" : \"Adyen Test Card\",\n \"quantity\" : 1\n } ]\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/companies/:companyId/terminalOrders", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "companies", - ":companyId", - "terminalOrders" - ], - "variable": [ - { - "key": "companyId", - "value": "{{YOUR_COMPANY_ACCOUNT}}", - "description": "The unique identifier of the company account." - } - ], - "query": [ - ] - }, - "description": "Creates an order for payment terminal products for the company identified in the path. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal ordering read and write >Requests to the Management API test endpoint do not create actual orders for test terminals. To order test terminals, you need to [submit a sales order](https://docs.adyen.com/point-of-sale/managing-terminals/order-terminals/#sales-order-steps) in your Customer Area." - } + ] } ] - } -, + }, { "name": "/companies/:companyId/terminalOrders/:orderId", "description": "Returns the details of the terminal products order identified in the path. To make this request, your API credential must have one of the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal ordering read * Management API—Terminal ordering read and write", @@ -3353,56 +4678,57 @@ { "name": "Get an order", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/companies/:companyId/terminalOrders/:orderId", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "companies", - ":companyId", - "terminalOrders", - ":orderId" - ], - "variable": [ - { - "key": "companyId", - "value": "{{YOUR_COMPANY_ACCOUNT}}", - "description": "The unique identifier of the company account." - }, - { - "key": "orderId", - "value": "", - "description": "The unique identifier of the order." - } - ], - "query": [ - ] - }, - "description": "Returns the details of the terminal products order identified in the path. To make this request, your API credential must have one of the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal ordering read * Management API—Terminal ordering read and write" - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/companies/:companyId/terminalOrders/:orderId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "companies", + ":companyId", + "terminalOrders", + ":orderId" + ], + "variable": [ + { + "key": "companyId", + "value": "{{YOUR_COMPANY_ACCOUNT}}", + "description": "The unique identifier of the company account." + }, + { + "key": "orderId", + "value": "", + "description": "The unique identifier of the order." + } + ], + "query": [ + ] + }, + "description": "Returns the details of the terminal products order identified in the path. To make this request, your API credential must have one of the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal ordering read * Management API—Terminal ordering read and write" +} + ,"response": [ + ] } ] - } -, + }, { "name": "/companies/:companyId/terminalOrders/:orderId", "description": "Updates the terminal products order identified in the path. Updating is only possible while the order has the status **Placed**. The request body only needs to contain what you want to change. However, to update the products in the `items` array, you must provide the entire array. For example, if the array has three items: To remove one item, the array must include the remaining two items. Or to add one item, the array must include all four items. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal ordering read and write", @@ -3410,62 +4736,127 @@ { "name": "Update a terminal order", "request": { - "method": "PATCH", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"items\" : [ {\n \"id\" : \"TBOX-V400m-684-EU\",\n \"name\" : \"V400m Package\",\n \"quantity\" : 1\n }, {\n \"id\" : \"PART-175746-EU\",\n \"name\" : \"Adyen Test Card\",\n \"quantity\" : 1\n }, {\n \"id\" : \"PART-620222-EU\",\n \"name\" : \"Receipt Roll\",\n \"quantity\" : 5\n } ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/companies/:companyId/terminalOrders/:orderId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "companies", + ":companyId", + "terminalOrders", + ":orderId" + ], + "variable": [ + { + "key": "companyId", + "value": "{{YOUR_COMPANY_ACCOUNT}}", + "description": "The unique identifier of the company account." + }, + { + "key": "orderId", + "value": "", + "description": "The unique identifier of the order." + } + ], + "query": [ + ] + }, + "description": "Updates the terminal products order identified in the path. Updating is only possible while the order has the status **Placed**. The request body only needs to contain what you want to change. However, to update the products in the `items` array, you must provide the entire array. For example, if the array has three items: To remove one item, the array must include the remaining two items. Or to add one item, the array must include all four items. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal ordering read and write" +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"id\" : \"5265677890100681\",\n \"customerOrderReference\" : \"YOUR_REFERENCE_1\",\n \"status\" : \"Placed\",\n \"shippingLocation\" : {\n \"id\" : \"S2-7973536B20662642215526704F302044452F714622375D476169\",\n \"name\" : \"YOUR_COMPANY Rokin depot\",\n \"contact\" : {\n \"firstName\" : \"Paul\",\n \"lastName\" : \"Green\",\n \"phoneNumber\" : \"+31 020 1234567\",\n \"email\" : \"Paul.Green@company.com\"\n },\n \"address\" : {\n \"companyName\" : \"YOUR_COMPANY\",\n \"streetAddress\" : \"Rokin 21\",\n \"postalCode\" : \"1012 KS\",\n \"city\" : \"Amsterdam\",\n \"stateOrProvince\" : \"\",\n \"country\" : \"NL\"\n }\n },\n \"billingEntity\" : {\n \"id\" : \"Company.YOUR_COMPANY\",\n \"name\" : \"YOUR_COMPANY\",\n \"taxId\" : \"NL1234567890\",\n \"email\" : \"Paul.Green@company.com\",\n \"address\" : {\n \"streetAddress\" : \"Simon Carmiggeltstraat 6-50\",\n \"postalCode\" : \"1011 DJ\",\n \"city\" : \"Amsterdam\",\n \"country\" : \"NL\"\n }\n },\n \"orderDate\" : \"2022-01-20T14:12:33Z\",\n \"items\" : [ {\n \"id\" : \"TBOX-V400m-684-EU\",\n \"name\" : \"V400m Package\",\n \"quantity\" : 1\n }, {\n \"id\" : \"PART-175746-EU\",\n \"name\" : \"Adyen Test Card\",\n \"quantity\" : 1\n }, {\n \"id\" : \"PART-620222-EU\",\n \"name\" : \"Receipt Roll\",\n \"quantity\" : 5\n } ]\n}", + "originalRequest": { + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"items\" : [ {\n \"id\" : \"TBOX-V400m-684-EU\",\n \"name\" : \"V400m Package\",\n \"quantity\" : 1\n }, {\n \"id\" : \"PART-175746-EU\",\n \"name\" : \"Adyen Test Card\",\n \"quantity\" : 1\n }, {\n \"id\" : \"PART-620222-EU\",\n \"name\" : \"Receipt Roll\",\n \"quantity\" : 5\n } ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/companies/:companyId/terminalOrders/:orderId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "companies", + ":companyId", + "terminalOrders", + ":orderId" + ], + "variable": [ + { + "key": "companyId", + "value": "{{YOUR_COMPANY_ACCOUNT}}", + "description": "The unique identifier of the company account." + }, + { + "key": "orderId", + "value": "", + "description": "The unique identifier of the order." + } + ], + "query": [ + ] + }, + "description": "Updates the terminal products order identified in the path. Updating is only possible while the order has the status **Placed**. The request body only needs to contain what you want to change. However, to update the products in the `items` array, you must provide the entire array. For example, if the array has three items: To remove one item, the array must include the remaining two items. Or to add one item, the array must include all four items. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal ordering read and write" +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"items\" : [ {\n \"id\" : \"TBOX-V400m-684-EU\",\n \"name\" : \"V400m Package\",\n \"quantity\" : 1\n }, {\n \"id\" : \"PART-175746-EU\",\n \"name\" : \"Adyen Test Card\",\n \"quantity\" : 1\n }, {\n \"id\" : \"PART-620222-EU\",\n \"name\" : \"Receipt Roll\",\n \"quantity\" : 5\n } ]\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/companies/:companyId/terminalOrders/:orderId", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "companies", - ":companyId", - "terminalOrders", - ":orderId" - ], - "variable": [ - { - "key": "companyId", - "value": "{{YOUR_COMPANY_ACCOUNT}}", - "description": "The unique identifier of the company account." - }, - { - "key": "orderId", - "value": "", - "description": "The unique identifier of the order." - } - ], - "query": [ - ] - }, - "description": "Updates the terminal products order identified in the path. Updating is only possible while the order has the status **Placed**. The request body only needs to contain what you want to change. However, to update the products in the `items` array, you must provide the entire array. For example, if the array has three items: To remove one item, the array must include the remaining two items. Or to add one item, the array must include all four items. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal ordering read and write" - } + ] } ] - } -, + }, { "name": "/companies/:companyId/terminalOrders/:orderId/cancel", "description": "Cancels the terminal products order identified in the path. Cancelling is only possible while the order has the status **Placed**. To cancel an order, make a POST call without a request body. The response returns the full order details, but with the status changed to **Cancelled**. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal ordering read and write", @@ -3473,57 +4864,58 @@ { "name": "Cancel an order", "request": { - "method": "POST", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/companies/:companyId/terminalOrders/:orderId/cancel", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "companies", - ":companyId", - "terminalOrders", - ":orderId", - "cancel" - ], - "variable": [ - { - "key": "companyId", - "value": "{{YOUR_COMPANY_ACCOUNT}}", - "description": "The unique identifier of the company account." - }, - { - "key": "orderId", - "value": "", - "description": "The unique identifier of the order." - } - ], - "query": [ - ] - }, - "description": "Cancels the terminal products order identified in the path. Cancelling is only possible while the order has the status **Placed**. To cancel an order, make a POST call without a request body. The response returns the full order details, but with the status changed to **Cancelled**. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal ordering read and write" - } + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/companies/:companyId/terminalOrders/:orderId/cancel", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "companies", + ":companyId", + "terminalOrders", + ":orderId", + "cancel" + ], + "variable": [ + { + "key": "companyId", + "value": "{{YOUR_COMPANY_ACCOUNT}}", + "description": "The unique identifier of the company account." + }, + { + "key": "orderId", + "value": "", + "description": "The unique identifier of the order." + } + ], + "query": [ + ] + }, + "description": "Cancels the terminal products order identified in the path. Cancelling is only possible while the order has the status **Placed**. To cancel an order, make a POST call without a request body. The response returns the full order details, but with the status changed to **Cancelled**. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal ordering read and write" +} + ,"response": [ + ] } ] - } -, + }, { "name": "/companies/:companyId/terminalProducts", "description": "Returns a country-specific list of payment terminal packages and parts that the company identified in the path has access to. To make this request, your API credential must have one of the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal ordering read * Management API—Terminal ordering read and write", @@ -3531,74 +4923,75 @@ { "name": "Get a list of terminal products", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/companies/:companyId/terminalProducts", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "companies", - ":companyId", - "terminalProducts" - ], - "variable": [ - { - "key": "companyId", - "value": "{{YOUR_COMPANY_ACCOUNT}}", - "description": "The unique identifier of the company account." - } - ], - "query": [ - { - "key": "country", - "value": "country_example", - "description": "The country to return products for, in [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format. For example, **US**", - "disabled": false - }, - { - "key": "terminalModelId", - "value": "terminalModelId_example", - "description": "The terminal model to return products for. Use the ID returned in the [GET `/terminalModels`](https://docs.adyen.com/api-explorer/#/ManagementService/latest/get/companies/{companyId}/terminalModels) response. For example, **Verifone.M400**", - "disabled": true - }, - { - "key": "offset", - "value": "56", - "description": "The number of products to skip.", - "disabled": true - }, - { - "key": "limit", - "value": "56", - "description": "The number of products to return.", - "disabled": true - } - ] - }, - "description": "Returns a country-specific list of payment terminal packages and parts that the company identified in the path has access to. To make this request, your API credential must have one of the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal ordering read * Management API—Terminal ordering read and write" - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/companies/:companyId/terminalProducts", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "companies", + ":companyId", + "terminalProducts" + ], + "variable": [ + { + "key": "companyId", + "value": "{{YOUR_COMPANY_ACCOUNT}}", + "description": "The unique identifier of the company account." + } + ], + "query": [ + { + "key": "country", + "value": "country_example", + "description": "The country to return products for, in [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format. For example, **US**", + "disabled": false + }, + { + "key": "terminalModelId", + "value": "terminalModelId_example", + "description": "The terminal model to return products for. Use the ID returned in the [GET `/terminalModels`](https://docs.adyen.com/api-explorer/#/ManagementService/latest/get/companies/{companyId}/terminalModels) response. For example, **Verifone.M400**", + "disabled": true + }, + { + "key": "offset", + "value": "56", + "description": "The number of products to skip.", + "disabled": true + }, + { + "key": "limit", + "value": "56", + "description": "The number of products to return.", + "disabled": true + } + ] + }, + "description": "Returns a country-specific list of payment terminal packages and parts that the company identified in the path has access to. To make this request, your API credential must have one of the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal ordering read * Management API—Terminal ordering read and write" +} + ,"response": [ + ] } ] } - ] }, { @@ -3611,62 +5004,63 @@ { "name": "Get a list of API credentials", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/merchants/:merchantId/apiCredentials", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "merchants", - ":merchantId", - "apiCredentials" - ], - "variable": [ - { - "key": "merchantId", - "value": "{{YOUR_MERCHANT_ACCOUNT}}", - "description": "The unique identifier of the merchant account." - } - ], - "query": [ - { - "key": "pageNumber", - "value": "56", - "description": "The number of the page to fetch.", - "disabled": true - }, - { - "key": "pageSize", - "value": "56", - "description": "The number of items to have on a page, maximum 100. The default is 10 items on a page.", - "disabled": true - } - ] - }, - "description": "Returns the list of [API credentials](https://docs.adyen.com/development-resources/api-credentials) for the merchant account. The list is grouped into pages as defined by the query parameters. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—API credentials read and write" - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/merchants/:merchantId/apiCredentials", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "merchants", + ":merchantId", + "apiCredentials" + ], + "variable": [ + { + "key": "merchantId", + "value": "{{YOUR_MERCHANT_ACCOUNT}}", + "description": "The unique identifier of the merchant account." + } + ], + "query": [ + { + "key": "pageNumber", + "value": "56", + "description": "The number of the page to fetch.", + "disabled": true + }, + { + "key": "pageSize", + "value": "56", + "description": "The number of items to have on a page, maximum 100. The default is 10 items on a page.", + "disabled": true + } + ] + }, + "description": "Returns the list of [API credentials](https://docs.adyen.com/development-resources/api-credentials) for the merchant account. The list is grouped into pages as defined by the query parameters. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—API credentials read and write" +} + ,"response": [ + ] } ] - } -, + }, { "name": "/merchants/:merchantId/apiCredentials", "description": "Creates an [API credential](https://docs.adyen.com/development-resources/api-credentials) for the company account identified in the path. In the request, you can specify the roles and allowed origins for the new API credential. The response includes the: * [API key](https://docs.adyen.com/development-resources/api-authentication#api-key-authentication): used for API request authentication. * [Client key](https://docs.adyen.com/development-resources/client-side-authentication#how-it-works): public key used for client-side authentication. * [Username and password](https://docs.adyen.com/development-resources/api-authentication#using-basic-authentication): used for basic authentication. > Make sure you store the API key securely in your system. You won't be able to retrieve it later. If your API key is lost or compromised, you need to [generate a new API key](https://docs.adyen.com/api-explorer/#/ManagementService/v1/post/merchants/{merchantId}/apiCredentials/{apiCredentialId}/generateApiKey). To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—API credentials read and write", @@ -3674,56 +5068,115 @@ { "name": "Add an API credential", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"roles\" : [ \"Checkout webservice role\" ],\n \"allowedOrigins\" : [ \"https://www.mystore.com\" ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/merchants/:merchantId/apiCredentials", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "merchants", + ":merchantId", + "apiCredentials" + ], + "variable": [ + { + "key": "merchantId", + "value": "{{YOUR_MERCHANT_ACCOUNT}}", + "description": "The unique identifier of the merchant account." + } + ], + "query": [ + ] + }, + "description": "Creates an [API credential](https://docs.adyen.com/development-resources/api-credentials) for the company account identified in the path. In the request, you can specify the roles and allowed origins for the new API credential. The response includes the: * [API key](https://docs.adyen.com/development-resources/api-authentication#api-key-authentication): used for API request authentication. * [Client key](https://docs.adyen.com/development-resources/client-side-authentication#how-it-works): public key used for client-side authentication. * [Username and password](https://docs.adyen.com/development-resources/api-authentication#using-basic-authentication): used for basic authentication. > Make sure you store the API key securely in your system. You won't be able to retrieve it later. If your API key is lost or compromised, you need to [generate a new API key](https://docs.adyen.com/api-explorer/#/ManagementService/v1/post/merchants/{merchantId}/apiCredentials/{apiCredentialId}/generateApiKey). To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—API credentials read and write" +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"id\" : \"YOUR_API_CREDENTIAL\",\n \"username\" : \"YOUR_USERNAME\",\n \"clientKey\" : \"YOUR_CLIENT_KEY\",\n \"allowedIpAddresses\" : [ ],\n \"roles\" : [ \"Checkout webservice role\" ],\n \"active\" : true,\n \"allowedOrigins\" : [ {\n \"id\" : \"YOUR_ALLOWED_ORIGIN\",\n \"domain\" : \"https://www.mystore.com\",\n \"_links\" : {\n \"self\" : {\n \"href\" : \"https://management-test.adyen.com/v1/companies/YOUR_COMPANY_ACCOUNT/apiCredentials/YOUR_API_CREDENTIAL/allowedOrigins/YOUR_ALLOWED_ORIGIN\"\n }\n }\n } ],\n \"_links\" : {\n \"self\" : {\n \"href\" : \"https://management-test.adyen.com/v1/companies/YOUR_COMPANY_ACCOUNT/apiCredentials/YOUR_API_CREDENTIAL\"\n },\n \"allowedOrigins\" : {\n \"href\" : \"https://management-test.adyen.com/v1/companies/YOUR_COMPANY_ACCOUNT/apiCredentials/YOUR_API_CREDENTIAL/allowedOrigins\"\n },\n \"generateApiKey\" : {\n \"href\" : \"https://management-test.adyen.com/v1/companies/YOUR_COMPANY_ACCOUNT/apiCredentials/YOUR_API_CREDENTIAL/generateApiKey\"\n },\n \"generateClientKey\" : {\n \"href\" : \"https://management-test.adyen.com/v1/companies/YOUR_COMPANY_ACCOUNT/apiCredentials/YOUR_API_CREDENTIAL/generateClientKey\"\n },\n \"merchant\" : {\n \"href\" : \"https://management-test.adyen.com/v1/merchants/YOUR_MERCHANT_ACCOUNT\"\n }\n },\n \"apiKey\" : \"YOUR_API_KEY\",\n \"password\" : \"YOUR_PASSWORD\"\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"roles\" : [ \"Checkout webservice role\" ],\n \"allowedOrigins\" : [ \"https://www.mystore.com\" ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/merchants/:merchantId/apiCredentials", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "merchants", + ":merchantId", + "apiCredentials" + ], + "variable": [ + { + "key": "merchantId", + "value": "{{YOUR_MERCHANT_ACCOUNT}}", + "description": "The unique identifier of the merchant account." + } + ], + "query": [ + ] + }, + "description": "Creates an [API credential](https://docs.adyen.com/development-resources/api-credentials) for the company account identified in the path. In the request, you can specify the roles and allowed origins for the new API credential. The response includes the: * [API key](https://docs.adyen.com/development-resources/api-authentication#api-key-authentication): used for API request authentication. * [Client key](https://docs.adyen.com/development-resources/client-side-authentication#how-it-works): public key used for client-side authentication. * [Username and password](https://docs.adyen.com/development-resources/api-authentication#using-basic-authentication): used for basic authentication. > Make sure you store the API key securely in your system. You won't be able to retrieve it later. If your API key is lost or compromised, you need to [generate a new API key](https://docs.adyen.com/api-explorer/#/ManagementService/v1/post/merchants/{merchantId}/apiCredentials/{apiCredentialId}/generateApiKey). To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—API credentials read and write" +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"roles\" : [ \"Checkout webservice role\" ],\n \"allowedOrigins\" : [ \"https://www.mystore.com\" ]\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/merchants/:merchantId/apiCredentials", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "merchants", - ":merchantId", - "apiCredentials" - ], - "variable": [ - { - "key": "merchantId", - "value": "{{YOUR_MERCHANT_ACCOUNT}}", - "description": "The unique identifier of the merchant account." - } - ], - "query": [ - ] - }, - "description": "Creates an [API credential](https://docs.adyen.com/development-resources/api-credentials) for the company account identified in the path. In the request, you can specify the roles and allowed origins for the new API credential. The response includes the: * [API key](https://docs.adyen.com/development-resources/api-authentication#api-key-authentication): used for API request authentication. * [Client key](https://docs.adyen.com/development-resources/client-side-authentication#how-it-works): public key used for client-side authentication. * [Username and password](https://docs.adyen.com/development-resources/api-authentication#using-basic-authentication): used for basic authentication. > Make sure you store the API key securely in your system. You won't be able to retrieve it later. If your API key is lost or compromised, you need to [generate a new API key](https://docs.adyen.com/api-explorer/#/ManagementService/v1/post/merchants/{merchantId}/apiCredentials/{apiCredentialId}/generateApiKey). To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—API credentials read and write" - } + ] } ] - } -, + }, { "name": "/merchants/:merchantId/apiCredentials/:apiCredentialId", "description": "Returns the [API credential](https://docs.adyen.com/development-resources/api-credentials) identified in the path. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—API credentials read and write", @@ -3731,56 +5184,57 @@ { "name": "Get an API credential", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/merchants/:merchantId/apiCredentials/:apiCredentialId", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "merchants", - ":merchantId", - "apiCredentials", - ":apiCredentialId" - ], - "variable": [ - { - "key": "merchantId", - "value": "{{YOUR_MERCHANT_ACCOUNT}}", - "description": "The unique identifier of the merchant account." - }, - { - "key": "apiCredentialId", - "value": "", - "description": "Unique identifier of the API credential." - } - ], - "query": [ - ] - }, - "description": "Returns the [API credential](https://docs.adyen.com/development-resources/api-credentials) identified in the path. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—API credentials read and write" - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/merchants/:merchantId/apiCredentials/:apiCredentialId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "merchants", + ":merchantId", + "apiCredentials", + ":apiCredentialId" + ], + "variable": [ + { + "key": "merchantId", + "value": "{{YOUR_MERCHANT_ACCOUNT}}", + "description": "The unique identifier of the merchant account." + }, + { + "key": "apiCredentialId", + "value": "", + "description": "Unique identifier of the API credential." + } + ], + "query": [ + ] + }, + "description": "Returns the [API credential](https://docs.adyen.com/development-resources/api-credentials) identified in the path. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—API credentials read and write" +} + ,"response": [ + ] } ] - } -, + }, { "name": "/merchants/:merchantId/apiCredentials/:apiCredentialId", "description": "Changes the API credential's roles, or allowed origins. The request has the new values for the fields you want to change. The response contains the full updated API credential, including the new values from the request. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—API credentials read and write", @@ -3788,62 +5242,127 @@ { "name": "Activate an API credential", "request": { - "method": "PATCH", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"active\" : true\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/merchants/:merchantId/apiCredentials/:apiCredentialId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "merchants", + ":merchantId", + "apiCredentials", + ":apiCredentialId" + ], + "variable": [ + { + "key": "merchantId", + "value": "{{YOUR_MERCHANT_ACCOUNT}}", + "description": "The unique identifier of the merchant account." + }, + { + "key": "apiCredentialId", + "value": "", + "description": "Unique identifier of the API credential." + } + ], + "query": [ + ] + }, + "description": "Changes the API credential's roles, or allowed origins. The request has the new values for the fields you want to change. The response contains the full updated API credential, including the new values from the request. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—API credentials read and write" +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"id\" : \"YOUR_API_CREDENTIAL\",\n \"username\" : \"YOUR_USERNAME\",\n \"clientKey\" : \"YOUR_CLIENT_KEY\",\n \"allowedIpAddresses\" : [ ],\n \"roles\" : [ \"Checkout webservice role\", \"Merchant PAL Webservice role\" ],\n \"active\" : true,\n \"allowedOrigins\" : [ {\n \"id\" : \"YOUR_ALLOWED_ORIGIN\",\n \"domain\" : \"https://www.mystore.com\",\n \"_links\" : {\n \"self\" : {\n \"href\" : \"https://management-test.adyen.com/v1/companies/YOUR_COMPANY_ACCOUNT/apiCredentials/YOUR_API_CREDENTIAL/allowedOrigins/YOUR_ALLOWED_ORIGIN\"\n }\n }\n } ],\n \"_links\" : {\n \"self\" : {\n \"href\" : \"https://management-test.adyen.com/v1/companies/YOUR_COMPANY_ACCOUNT/apiCredentials/YOUR_API_CREDENTIAL\"\n },\n \"allowedOrigins\" : {\n \"href\" : \"https://management-test.adyen.com/v1/companies/YOUR_COMPANY_ACCOUNT/apiCredentials/YOUR_API_CREDENTIAL/allowedOrigins\"\n },\n \"generateApiKey\" : {\n \"href\" : \"https://management-test.adyen.com/v1/companies/YOUR_COMPANY_ACCOUNT/apiCredentials/YOUR_API_CREDENTIAL/generateApiKey\"\n },\n \"generateClientKey\" : {\n \"href\" : \"https://management-test.adyen.com/v1/companies/YOUR_COMPANY_ACCOUNT/apiCredentials/YOUR_API_CREDENTIAL/generateClientKey\"\n },\n \"merchant\" : {\n \"href\" : \"https://management-test.adyen.com/v1/merchants/YOUR_MERCHANT_ACCOUNT\"\n }\n }\n}", + "originalRequest": { + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"active\" : true\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/merchants/:merchantId/apiCredentials/:apiCredentialId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "merchants", + ":merchantId", + "apiCredentials", + ":apiCredentialId" + ], + "variable": [ + { + "key": "merchantId", + "value": "{{YOUR_MERCHANT_ACCOUNT}}", + "description": "The unique identifier of the merchant account." + }, + { + "key": "apiCredentialId", + "value": "", + "description": "Unique identifier of the API credential." + } + ], + "query": [ + ] + }, + "description": "Changes the API credential's roles, or allowed origins. The request has the new values for the fields you want to change. The response contains the full updated API credential, including the new values from the request. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—API credentials read and write" +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"active\" : true\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/merchants/:merchantId/apiCredentials/:apiCredentialId", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "merchants", - ":merchantId", - "apiCredentials", - ":apiCredentialId" - ], - "variable": [ - { - "key": "merchantId", - "value": "{{YOUR_MERCHANT_ACCOUNT}}", - "description": "The unique identifier of the merchant account." - }, - { - "key": "apiCredentialId", - "value": "", - "description": "Unique identifier of the API credential." - } - ], - "query": [ - ] - }, - "description": "Changes the API credential's roles, or allowed origins. The request has the new values for the fields you want to change. The response contains the full updated API credential, including the new values from the request. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—API credentials read and write" - } + ] } ] } - ] }, { @@ -3856,68 +5375,69 @@ { "name": "Get a list of users", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/merchants/:merchantId/users", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "merchants", - ":merchantId", - "users" - ], - "variable": [ - { - "key": "merchantId", - "value": "{{YOUR_MERCHANT_ACCOUNT}}", - "description": "Unique identifier of the merchant." - } - ], - "query": [ - { - "key": "pageNumber", - "value": "56", - "description": "The number of the page to fetch.", - "disabled": true - }, - { - "key": "pageSize", - "value": "56", - "description": "The number of items to have on a page. Maximum value is **100**. The default is **10** items on a page.", - "disabled": true - }, - { - "key": "username", - "value": "username_example", - "description": "The partial or complete username to select all users that match.", - "disabled": true - } - ] - }, - "description": "Returns a list of users associated with the `merchantId` specified in the path. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Users read and write " - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/merchants/:merchantId/users", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "merchants", + ":merchantId", + "users" + ], + "variable": [ + { + "key": "merchantId", + "value": "{{YOUR_MERCHANT_ACCOUNT}}", + "description": "Unique identifier of the merchant." + } + ], + "query": [ + { + "key": "pageNumber", + "value": "56", + "description": "The number of the page to fetch.", + "disabled": true + }, + { + "key": "pageSize", + "value": "56", + "description": "The number of items to have on a page. Maximum value is **100**. The default is **10** items on a page.", + "disabled": true + }, + { + "key": "username", + "value": "username_example", + "description": "The partial or complete username to select all users that match.", + "disabled": true + } + ] + }, + "description": "Returns a list of users associated with the `merchantId` specified in the path. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Users read and write " +} + ,"response": [ + ] } ] - } -, + }, { "name": "/merchants/:merchantId/users", "description": "Creates a user for the `merchantId` specified in the path. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Users read and write ", @@ -3925,56 +5445,115 @@ { "name": "Create a user", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\" : {\n \"firstName\" : \"John\",\n \"lastName\" : \"Smith\"\n },\n \"username\" : \"johnsmith\",\n \"email\" : \"john.smith@example.com\",\n \"timeZoneCode\" : \"Europe/Amsterdam\",\n \"roles\" : [ \"Merchant standard role\" ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/merchants/:merchantId/users", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "merchants", + ":merchantId", + "users" + ], + "variable": [ + { + "key": "merchantId", + "value": "{{YOUR_MERCHANT_ACCOUNT}}", + "description": "Unique identifier of the merchant." + } + ], + "query": [ + ] + }, + "description": "Creates a user for the `merchantId` specified in the path. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Users read and write " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"id\" : \"S2-3B3C3C3B22\",\n \"name\" : {\n \"firstName\" : \"John\",\n \"lastName\" : \"Smith\"\n },\n \"email\" : \"john.smith@example.com\",\n \"timeZoneCode\" : \"Europe/Amsterdam\",\n \"username\" : \"johnsmith\",\n \"roles\" : [ \"Merchant standard role\" ],\n \"active\" : true,\n \"_links\" : {\n \"self\" : {\n \"href\" : \"https://management-test.adyen.com/v1/merchants/YOUR_MERCHANT_ACCOUNT/users/S2-3B3C3C3B22\"\n }\n }\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\" : {\n \"firstName\" : \"John\",\n \"lastName\" : \"Smith\"\n },\n \"username\" : \"johnsmith\",\n \"email\" : \"john.smith@example.com\",\n \"timeZoneCode\" : \"Europe/Amsterdam\",\n \"roles\" : [ \"Merchant standard role\" ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/merchants/:merchantId/users", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "merchants", + ":merchantId", + "users" + ], + "variable": [ + { + "key": "merchantId", + "value": "{{YOUR_MERCHANT_ACCOUNT}}", + "description": "Unique identifier of the merchant." + } + ], + "query": [ + ] + }, + "description": "Creates a user for the `merchantId` specified in the path. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Users read and write " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"name\" : {\n \"firstName\" : \"John\",\n \"lastName\" : \"Smith\"\n },\n \"username\" : \"johnsmith\",\n \"email\" : \"john.smith@example.com\",\n \"timeZoneCode\" : \"Europe/Amsterdam\",\n \"roles\" : [ \"Merchant standard role\" ]\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/merchants/:merchantId/users", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "merchants", - ":merchantId", - "users" - ], - "variable": [ - { - "key": "merchantId", - "value": "{{YOUR_MERCHANT_ACCOUNT}}", - "description": "Unique identifier of the merchant." - } - ], - "query": [ - ] - }, - "description": "Creates a user for the `merchantId` specified in the path. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Users read and write " - } + ] } ] - } -, + }, { "name": "/merchants/:merchantId/users/:userId", "description": "Returns user details for the `userId` and the `merchantId` specified in the path. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Users read and write ", @@ -3982,56 +5561,57 @@ { "name": "Get user details", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/merchants/:merchantId/users/:userId", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "merchants", - ":merchantId", - "users", - ":userId" - ], - "variable": [ - { - "key": "merchantId", - "value": "{{YOUR_MERCHANT_ACCOUNT}}", - "description": "Unique identifier of the merchant." - }, - { - "key": "userId", - "value": "", - "description": "Unique identifier of the user." - } - ], - "query": [ - ] - }, - "description": "Returns user details for the `userId` and the `merchantId` specified in the path. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Users read and write " - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/merchants/:merchantId/users/:userId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "merchants", + ":merchantId", + "users", + ":userId" + ], + "variable": [ + { + "key": "merchantId", + "value": "{{YOUR_MERCHANT_ACCOUNT}}", + "description": "Unique identifier of the merchant." + }, + { + "key": "userId", + "value": "", + "description": "Unique identifier of the user." + } + ], + "query": [ + ] + }, + "description": "Returns user details for the `userId` and the `merchantId` specified in the path. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Users read and write " +} + ,"response": [ + ] } ] - } -, + }, { "name": "/merchants/:merchantId/users/:userId", "description": "Updates user details for the `userId` and the `merchantId` specified in the path. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Users read and write ", @@ -4039,62 +5619,63 @@ { "name": "Update a user", "request": { - "method": "PATCH", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"accountGroups\": \"\",\n \"active\": \"\",\n \"email\": \"\",\n \"name\": \"\",\n \"roles\": \"\",\n \"timeZoneCode\": \"\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/merchants/:merchantId/users/:userId", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "merchants", - ":merchantId", - "users", - ":userId" - ], - "variable": [ - { - "key": "merchantId", - "value": "{{YOUR_MERCHANT_ACCOUNT}}", - "description": "Unique identifier of the merchant." - }, - { - "key": "userId", - "value": "", - "description": "Unique identifier of the user." - } - ], - "query": [ - ] - }, - "description": "Updates user details for the `userId` and the `merchantId` specified in the path. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Users read and write " - } + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"accountGroups\": \"\",\n \"active\": \"\",\n \"email\": \"\",\n \"name\": \"\",\n \"roles\": \"\",\n \"timeZoneCode\": \"\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/merchants/:merchantId/users/:userId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "merchants", + ":merchantId", + "users", + ":userId" + ], + "variable": [ + { + "key": "merchantId", + "value": "{{YOUR_MERCHANT_ACCOUNT}}", + "description": "Unique identifier of the merchant." + }, + { + "key": "userId", + "value": "", + "description": "Unique identifier of the user." + } + ], + "query": [ + ] + }, + "description": "Updates user details for the `userId` and the `merchantId` specified in the path. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Users read and write " +} + ,"response": [ + ] } ] } - ] }, { @@ -4107,74 +5688,75 @@ { "name": "Get a list of terminal actions", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/companies/:companyId/terminalActions", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "companies", - ":companyId", - "terminalActions" - ], - "variable": [ - { - "key": "companyId", - "value": "{{YOUR_COMPANY_ACCOUNT}}", - "description": "The unique identifier of the company account." - } - ], - "query": [ - { - "key": "pageNumber", - "value": "56", - "description": "The number of the page to fetch.", - "disabled": true - }, - { - "key": "pageSize", - "value": "56", - "description": "The number of items to have on a page, maximum 100. The default is 20 items on a page.", - "disabled": true - }, - { - "key": "status", - "value": "status_example", - "description": "Returns terminal actions with the specified status. Allowed values: **pending**, **successful**, **failed**, **cancelled**, **tryLater**.", - "disabled": true - }, - { - "key": "type", - "value": "type_example", - "description": "Returns terminal actions of the specified type. Allowed values: **InstallAndroidApp**, **UninstallAndroidApp**, **InstallAndroidCertificate**, **UninstallAndroidCertificate**.", - "disabled": true - } - ] - }, - "description": "Returns the [terminal actions](https://docs.adyen.com/point-of-sale/automating-terminal-management/terminal-actions-api) that have been scheduled for the company identified in the path.The response doesn't include actions that are scheduled by Adyen. To make this request, your API credential must have one of the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal actions read * Management API—Terminal actions read and write" - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/companies/:companyId/terminalActions", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "companies", + ":companyId", + "terminalActions" + ], + "variable": [ + { + "key": "companyId", + "value": "{{YOUR_COMPANY_ACCOUNT}}", + "description": "The unique identifier of the company account." + } + ], + "query": [ + { + "key": "pageNumber", + "value": "56", + "description": "The number of the page to fetch.", + "disabled": true + }, + { + "key": "pageSize", + "value": "56", + "description": "The number of items to have on a page, maximum 100. The default is 20 items on a page.", + "disabled": true + }, + { + "key": "status", + "value": "status_example", + "description": "Returns terminal actions with the specified status. Allowed values: **pending**, **successful**, **failed**, **cancelled**, **tryLater**.", + "disabled": true + }, + { + "key": "type", + "value": "type_example", + "description": "Returns terminal actions of the specified type. Allowed values: **InstallAndroidApp**, **UninstallAndroidApp**, **InstallAndroidCertificate**, **UninstallAndroidCertificate**.", + "disabled": true + } + ] + }, + "description": "Returns the [terminal actions](https://docs.adyen.com/point-of-sale/automating-terminal-management/terminal-actions-api) that have been scheduled for the company identified in the path.The response doesn't include actions that are scheduled by Adyen. To make this request, your API credential must have one of the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal actions read * Management API—Terminal actions read and write" +} + ,"response": [ + ] } ] - } -, + }, { "name": "/companies/:companyId/terminalActions/:actionId", "description": "Returns the details of the [terminal action](https://docs.adyen.com/point-of-sale/automating-terminal-management/terminal-actions-api) identified in the path. To make this request, your API credential must have one of the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal actions read * Management API—Terminal actions read and write", @@ -4182,56 +5764,57 @@ { "name": "Get terminal action", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/companies/:companyId/terminalActions/:actionId", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "companies", - ":companyId", - "terminalActions", - ":actionId" - ], - "variable": [ - { - "key": "companyId", - "value": "{{YOUR_COMPANY_ACCOUNT}}", - "description": "The unique identifier of the company account." - }, - { - "key": "actionId", - "value": "", - "description": "The unique identifier of the terminal action." - } - ], - "query": [ - ] - }, - "description": "Returns the details of the [terminal action](https://docs.adyen.com/point-of-sale/automating-terminal-management/terminal-actions-api) identified in the path. To make this request, your API credential must have one of the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal actions read * Management API—Terminal actions read and write" - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/companies/:companyId/terminalActions/:actionId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "companies", + ":companyId", + "terminalActions", + ":actionId" + ], + "variable": [ + { + "key": "companyId", + "value": "{{YOUR_COMPANY_ACCOUNT}}", + "description": "The unique identifier of the company account." + }, + { + "key": "actionId", + "value": "", + "description": "The unique identifier of the terminal action." + } + ], + "query": [ + ] + }, + "description": "Returns the details of the [terminal action](https://docs.adyen.com/point-of-sale/automating-terminal-management/terminal-actions-api) identified in the path. To make this request, your API credential must have one of the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal actions read * Management API—Terminal actions read and write" +} + ,"response": [ + ] } ] } - ] }, { @@ -4244,74 +5827,75 @@ { "name": "Get all payment methods", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/merchants/:merchantId/paymentMethodSettings", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "merchants", - ":merchantId", - "paymentMethodSettings" - ], - "variable": [ - { - "key": "merchantId", - "value": "{{YOUR_MERCHANT_ACCOUNT}}", - "description": "The unique identifier of the merchant account." - } - ], - "query": [ - { - "key": "storeId", - "value": "storeId_example", - "description": "The unique identifier of the store for which to return the payment methods.", - "disabled": true - }, - { - "key": "businessLineId", - "value": "businessLineId_example", - "description": "The unique identifier of the Business Line for which to return the payment methods.", - "disabled": true - }, - { - "key": "pageSize", - "value": "56", - "description": "The number of items to have on a page, maximum 100. The default is 10 items on a page.", - "disabled": true - }, - { - "key": "pageNumber", - "value": "56", - "description": "The number of the page to fetch.", - "disabled": true - } - ] - }, - "description": "Returns details for all payment methods of the merchant account identified in the path. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Payment methods read " - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/merchants/:merchantId/paymentMethodSettings", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "merchants", + ":merchantId", + "paymentMethodSettings" + ], + "variable": [ + { + "key": "merchantId", + "value": "{{YOUR_MERCHANT_ACCOUNT}}", + "description": "The unique identifier of the merchant account." + } + ], + "query": [ + { + "key": "storeId", + "value": "storeId_example", + "description": "The unique identifier of the store for which to return the payment methods.", + "disabled": true + }, + { + "key": "businessLineId", + "value": "businessLineId_example", + "description": "The unique identifier of the Business Line for which to return the payment methods.", + "disabled": true + }, + { + "key": "pageSize", + "value": "56", + "description": "The number of items to have on a page, maximum 100. The default is 10 items on a page.", + "disabled": true + }, + { + "key": "pageNumber", + "value": "56", + "description": "The number of the page to fetch.", + "disabled": true + } + ] + }, + "description": "Returns details for all payment methods of the merchant account identified in the path. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Payment methods read " +} + ,"response": [ + ] } ] - } -, + }, { "name": "/merchants/:merchantId/paymentMethodSettings", "description": "Sends a request to add a new payment method to the merchant account identified in the path. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Payment methods read and write ", @@ -4319,106 +5903,225 @@ { "name": "Request a payment method", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"type\" : \"visa\",\n \"currencies\" : [ \"USD\" ],\n \"countries\" : [ \"US\" ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/merchants/:merchantId/paymentMethodSettings", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "merchants", + ":merchantId", + "paymentMethodSettings" + ], + "variable": [ + { + "key": "merchantId", + "value": "{{YOUR_MERCHANT_ACCOUNT}}", + "description": "The unique identifier of the merchant account." + } + ], + "query": [ + ] + }, + "description": "Sends a request to add a new payment method to the merchant account identified in the path. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Payment methods read and write " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"id\" : \"PM3227C223224K5FH84M8CBNH\",\n \"type\" : \"visa\",\n \"countries\" : [ \"US\" ],\n \"currencies\" : [ \"USD\" ]\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"type\" : \"visa\",\n \"currencies\" : [ \"USD\" ],\n \"countries\" : [ \"US\" ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/merchants/:merchantId/paymentMethodSettings", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "merchants", + ":merchantId", + "paymentMethodSettings" + ], + "variable": [ + { + "key": "merchantId", + "value": "{{YOUR_MERCHANT_ACCOUNT}}", + "description": "The unique identifier of the merchant account." + } + ], + "query": [ + ] + }, + "description": "Sends a request to add a new payment method to the merchant account identified in the path. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Payment methods read and write " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"type\" : \"visa\",\n \"currencies\" : [ \"USD\" ],\n \"countries\" : [ \"US\" ]\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/merchants/:merchantId/paymentMethodSettings", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "merchants", - ":merchantId", - "paymentMethodSettings" - ], - "variable": [ - { - "key": "merchantId", - "value": "{{YOUR_MERCHANT_ACCOUNT}}", - "description": "The unique identifier of the merchant account." - } - ], - "query": [ - ] - }, - "description": "Sends a request to add a new payment method to the merchant account identified in the path. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Payment methods read and write " - } + ] }, { "name": "Request to add Swish", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"businessLineId\" : \"BL322KV223222D5F8H2J4BQ6C\",\n \"storeId\" : \"ST322LJ223223K5F4SQNR9XL5\",\n \"type\" : \"swish\",\n \"swish\" : {\n \"swishNumber\" : \"1231111111\"\n },\n \"currencies\" : [ \"SEK\" ],\n \"countries\" : [ \"SE\" ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/merchants/:merchantId/paymentMethodSettings", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "merchants", + ":merchantId", + "paymentMethodSettings" + ], + "variable": [ + { + "key": "merchantId", + "value": "{{YOUR_MERCHANT_ACCOUNT}}", + "description": "The unique identifier of the merchant account." + } + ], + "query": [ + ] + }, + "description": "Sends a request to add a new payment method to the merchant account identified in the path. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Payment methods read and write " +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"id\" : \"PM3227C223224K5FH84M8CBNH\",\n \"businessLineId\" : \"BL322KV223222D5F8H2J4BQ6C\",\n \"storeId\" : \"ST322LJ223223K5F4SQNR9XL5\",\n \"type\" : \"swish\",\n \"countries\" : [ \"SE\" ],\n \"currencies\" : [ \"SEK\" ],\n \"swish\" : {\n \"swishNumber\" : \"1231111111\"\n }\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"businessLineId\" : \"BL322KV223222D5F8H2J4BQ6C\",\n \"storeId\" : \"ST322LJ223223K5F4SQNR9XL5\",\n \"type\" : \"swish\",\n \"swish\" : {\n \"swishNumber\" : \"1231111111\"\n },\n \"currencies\" : [ \"SEK\" ],\n \"countries\" : [ \"SE\" ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/merchants/:merchantId/paymentMethodSettings", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "merchants", + ":merchantId", + "paymentMethodSettings" + ], + "variable": [ + { + "key": "merchantId", + "value": "{{YOUR_MERCHANT_ACCOUNT}}", + "description": "The unique identifier of the merchant account." + } + ], + "query": [ + ] + }, + "description": "Sends a request to add a new payment method to the merchant account identified in the path. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Payment methods read and write " +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"businessLineId\" : \"BL322KV223222D5F8H2J4BQ6C\",\n \"storeId\" : \"ST322LJ223223K5F4SQNR9XL5\",\n \"type\" : \"swish\",\n \"swish\" : {\n \"swishNumber\" : \"1231111111\"\n },\n \"currencies\" : [ \"SEK\" ],\n \"countries\" : [ \"SE\" ]\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/merchants/:merchantId/paymentMethodSettings", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "merchants", - ":merchantId", - "paymentMethodSettings" - ], - "variable": [ - { - "key": "merchantId", - "value": "{{YOUR_MERCHANT_ACCOUNT}}", - "description": "The unique identifier of the merchant account." - } - ], - "query": [ - ] - }, - "description": "Sends a request to add a new payment method to the merchant account identified in the path. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Payment methods read and write " - } + ] } ] - } -, + }, { "name": "/merchants/:merchantId/paymentMethodSettings/:paymentMethodId", "description": "Returns details for the merchant account and the payment method identified in the path. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Payment methods read ", @@ -4426,56 +6129,57 @@ { "name": "Get payment method details", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/merchants/:merchantId/paymentMethodSettings/:paymentMethodId", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "merchants", - ":merchantId", - "paymentMethodSettings", - ":paymentMethodId" - ], - "variable": [ - { - "key": "merchantId", - "value": "{{YOUR_MERCHANT_ACCOUNT}}", - "description": "The unique identifier of the merchant account." - }, - { - "key": "paymentMethodId", - "value": "", - "description": "The unique identifier of the payment method." - } - ], - "query": [ - ] - }, - "description": "Returns details for the merchant account and the payment method identified in the path. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Payment methods read " - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/merchants/:merchantId/paymentMethodSettings/:paymentMethodId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "merchants", + ":merchantId", + "paymentMethodSettings", + ":paymentMethodId" + ], + "variable": [ + { + "key": "merchantId", + "value": "{{YOUR_MERCHANT_ACCOUNT}}", + "description": "The unique identifier of the merchant account." + }, + { + "key": "paymentMethodId", + "value": "", + "description": "The unique identifier of the payment method." + } + ], + "query": [ + ] + }, + "description": "Returns details for the merchant account and the payment method identified in the path. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Payment methods read " +} + ,"response": [ + ] } ] - } -, + }, { "name": "/merchants/:merchantId/paymentMethodSettings/:paymentMethodId", "description": "Updates payment method details for the merchant account and the payment method identified in the path. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Payment methods read and write ", @@ -4483,62 +6187,63 @@ { "name": "Update a payment method", "request": { - "method": "PATCH", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"bcmc\": \"\",\n \"cartesBancaires\": \"\",\n \"countries\": \"\",\n \"cup\": \"\",\n \"currencies\": \"\",\n \"customRoutingFlags\": \"\",\n \"diners\": \"\",\n \"discover\": \"\",\n \"eftpos_australia\": \"\",\n \"enabled\": \"\",\n \"girocard\": \"\",\n \"ideal\": \"\",\n \"interac_card\": \"\",\n \"jcb\": \"\",\n \"maestro\": \"\",\n \"mc\": \"\",\n \"storeIds\": \"\",\n \"visa\": \"\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/merchants/:merchantId/paymentMethodSettings/:paymentMethodId", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "merchants", - ":merchantId", - "paymentMethodSettings", - ":paymentMethodId" - ], - "variable": [ - { - "key": "merchantId", - "value": "{{YOUR_MERCHANT_ACCOUNT}}", - "description": "The unique identifier of the merchant account." - }, - { - "key": "paymentMethodId", - "value": "", - "description": "The unique identifier of the payment method." - } - ], - "query": [ - ] - }, - "description": "Updates payment method details for the merchant account and the payment method identified in the path. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Payment methods read and write " - } + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"bcmc\": \"\",\n \"cartesBancaires\": \"\",\n \"countries\": \"\",\n \"cup\": \"\",\n \"currencies\": \"\",\n \"customRoutingFlags\": \"\",\n \"diners\": \"\",\n \"discover\": \"\",\n \"eftpos_australia\": \"\",\n \"enabled\": \"\",\n \"girocard\": \"\",\n \"ideal\": \"\",\n \"interac_card\": \"\",\n \"jcb\": \"\",\n \"maestro\": \"\",\n \"mc\": \"\",\n \"storeIds\": \"\",\n \"visa\": \"\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/merchants/:merchantId/paymentMethodSettings/:paymentMethodId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "merchants", + ":merchantId", + "paymentMethodSettings", + ":paymentMethodId" + ], + "variable": [ + { + "key": "merchantId", + "value": "{{YOUR_MERCHANT_ACCOUNT}}", + "description": "The unique identifier of the merchant account." + }, + { + "key": "paymentMethodId", + "value": "", + "description": "The unique identifier of the payment method." + } + ], + "query": [ + ] + }, + "description": "Updates payment method details for the merchant account and the payment method identified in the path. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Payment methods read and write " +} + ,"response": [ + ] } ] - } -, + }, { "name": "/merchants/:merchantId/paymentMethodSettings/:paymentMethodId/addApplePayDomains", "description": "Adds the new domain to the list of Apple Pay domains that are registered with the merchant account and the payment method identified in the path. For more information, see [Apple Pay documentation](https://docs.adyen.com/payment-methods/apple-pay/enable-apple-pay#register-merchant-domain). To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Payment methods read and write ", @@ -4546,63 +6251,64 @@ { "name": "Add an Apple Pay domain", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"domains\" : [ \"https://example.com\" ]\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/merchants/:merchantId/paymentMethodSettings/:paymentMethodId/addApplePayDomains", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "merchants", - ":merchantId", - "paymentMethodSettings", - ":paymentMethodId", - "addApplePayDomains" - ], - "variable": [ - { - "key": "merchantId", - "value": "{{YOUR_MERCHANT_ACCOUNT}}", - "description": "The unique identifier of the merchant account." - }, - { - "key": "paymentMethodId", - "value": "", - "description": "The unique identifier of the payment method." - } - ], - "query": [ - ] - }, - "description": "Adds the new domain to the list of Apple Pay domains that are registered with the merchant account and the payment method identified in the path. For more information, see [Apple Pay documentation](https://docs.adyen.com/payment-methods/apple-pay/enable-apple-pay#register-merchant-domain). To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Payment methods read and write " - } + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"domains\" : [ \"https://example.com\" ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/merchants/:merchantId/paymentMethodSettings/:paymentMethodId/addApplePayDomains", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "merchants", + ":merchantId", + "paymentMethodSettings", + ":paymentMethodId", + "addApplePayDomains" + ], + "variable": [ + { + "key": "merchantId", + "value": "{{YOUR_MERCHANT_ACCOUNT}}", + "description": "The unique identifier of the merchant account." + }, + { + "key": "paymentMethodId", + "value": "", + "description": "The unique identifier of the payment method." + } + ], + "query": [ + ] + }, + "description": "Adds the new domain to the list of Apple Pay domains that are registered with the merchant account and the payment method identified in the path. For more information, see [Apple Pay documentation](https://docs.adyen.com/payment-methods/apple-pay/enable-apple-pay#register-merchant-domain). To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Payment methods read and write " +} + ,"response": [ + ] } ] - } -, + }, { "name": "/merchants/:merchantId/paymentMethodSettings/:paymentMethodId/getApplePayDomains", "description": "Returns all Apple Pay domains that are registered with the merchant account and the payment method identified in the path. For more information, see [Apple Pay documentation](https://docs.adyen.com/payment-methods/apple-pay/enable-apple-pay#register-merchant-domain). To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Payment methods read ", @@ -4610,57 +6316,58 @@ { "name": "Get Apple Pay domains", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/merchants/:merchantId/paymentMethodSettings/:paymentMethodId/getApplePayDomains", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "merchants", - ":merchantId", - "paymentMethodSettings", - ":paymentMethodId", - "getApplePayDomains" - ], - "variable": [ - { - "key": "merchantId", - "value": "{{YOUR_MERCHANT_ACCOUNT}}", - "description": "The unique identifier of the merchant account." - }, - { - "key": "paymentMethodId", - "value": "", - "description": "The unique identifier of the payment method." - } - ], - "query": [ - ] - }, - "description": "Returns all Apple Pay domains that are registered with the merchant account and the payment method identified in the path. For more information, see [Apple Pay documentation](https://docs.adyen.com/payment-methods/apple-pay/enable-apple-pay#register-merchant-domain). To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Payment methods read " - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/merchants/:merchantId/paymentMethodSettings/:paymentMethodId/getApplePayDomains", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "merchants", + ":merchantId", + "paymentMethodSettings", + ":paymentMethodId", + "getApplePayDomains" + ], + "variable": [ + { + "key": "merchantId", + "value": "{{YOUR_MERCHANT_ACCOUNT}}", + "description": "The unique identifier of the merchant account." + }, + { + "key": "paymentMethodId", + "value": "", + "description": "The unique identifier of the payment method." + } + ], + "query": [ + ] + }, + "description": "Returns all Apple Pay domains that are registered with the merchant account and the payment method identified in the path. For more information, see [Apple Pay documentation](https://docs.adyen.com/payment-methods/apple-pay/enable-apple-pay#register-merchant-domain). To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Payment methods read " +} + ,"response": [ + ] } ] } - ] }, { @@ -4673,43 +6380,44 @@ { "name": "Get API credential details", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/me", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "me" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Returns your [API credential](https://docs.adyen.com/development-resources/api-credentials) details based on the API Key you used in the request. You can make this request with any of the Management API roles." - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/me", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "me" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Returns your [API credential](https://docs.adyen.com/development-resources/api-credentials) details based on the API Key you used in the request. You can make this request with any of the Management API roles." +} + ,"response": [ + ] } ] - } -, + }, { "name": "/me/allowedOrigins", "description": "Returns the list of [allowed origins](https://docs.adyen.com/development-resources/client-side-authentication#allowed-origins) of your [API credential](https://docs.adyen.com/development-resources/api-credentials) based on the API key you used in the request. You can make this request with any of the Management API roles.", @@ -4717,44 +6425,45 @@ { "name": "Get allowed origins", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/me/allowedOrigins", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "me", - "allowedOrigins" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Returns the list of [allowed origins](https://docs.adyen.com/development-resources/client-side-authentication#allowed-origins) of your [API credential](https://docs.adyen.com/development-resources/api-credentials) based on the API key you used in the request. You can make this request with any of the Management API roles." - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/me/allowedOrigins", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "me", + "allowedOrigins" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Returns the list of [allowed origins](https://docs.adyen.com/development-resources/client-side-authentication#allowed-origins) of your [API credential](https://docs.adyen.com/development-resources/api-credentials) based on the API key you used in the request. You can make this request with any of the Management API roles." +} + ,"response": [ + ] } ] - } -, + }, { "name": "/me/allowedOrigins", "description": "Adds an allowed origin to the list of [allowed origins](https://docs.adyen.com/development-resources/client-side-authentication#allowed-origins) of your API credential. The API key from the request is used to identify the [API credential](https://docs.adyen.com/development-resources/api-credentials). You can make this request with any of the Management API roles.", @@ -4762,50 +6471,51 @@ { "name": "Add allowed origin", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"_links\": \"\",\n \"domain\": \"\",\n \"id\": \"\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/me/allowedOrigins", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "me", - "allowedOrigins" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Adds an allowed origin to the list of [allowed origins](https://docs.adyen.com/development-resources/client-side-authentication#allowed-origins) of your API credential. The API key from the request is used to identify the [API credential](https://docs.adyen.com/development-resources/api-credentials). You can make this request with any of the Management API roles." - } + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"_links\": \"\",\n \"domain\": \"\",\n \"id\": \"\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/me/allowedOrigins", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "me", + "allowedOrigins" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Adds an allowed origin to the list of [allowed origins](https://docs.adyen.com/development-resources/client-side-authentication#allowed-origins) of your API credential. The API key from the request is used to identify the [API credential](https://docs.adyen.com/development-resources/api-credentials). You can make this request with any of the Management API roles." +} + ,"response": [ + ] } ] - } -, + }, { "name": "/me/allowedOrigins/:originId", "description": "Removes the [allowed origin](https://docs.adyen.com/development-resources/client-side-authentication#allowed-origins) specified in the path. The API key from the request is used to identify the [API credential](https://docs.adyen.com/development-resources/api-credentials). You can make this request with any of the Management API roles.", @@ -4813,50 +6523,51 @@ { "name": "Remove allowed origin", "request": { - "method": "DELETE", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/me/allowedOrigins/:originId", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "me", - "allowedOrigins", - ":originId" - ], - "variable": [ - { - "key": "originId", - "value": "", - "description": "Unique identifier of the allowed origin." - } - ], - "query": [ - ] - }, - "description": "Removes the [allowed origin](https://docs.adyen.com/development-resources/client-side-authentication#allowed-origins) specified in the path. The API key from the request is used to identify the [API credential](https://docs.adyen.com/development-resources/api-credentials). You can make this request with any of the Management API roles." - } + "method": "DELETE", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/me/allowedOrigins/:originId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "me", + "allowedOrigins", + ":originId" + ], + "variable": [ + { + "key": "originId", + "value": "", + "description": "Unique identifier of the allowed origin." + } + ], + "query": [ + ] + }, + "description": "Removes the [allowed origin](https://docs.adyen.com/development-resources/client-side-authentication#allowed-origins) specified in the path. The API key from the request is used to identify the [API credential](https://docs.adyen.com/development-resources/api-credentials). You can make this request with any of the Management API roles." +} + ,"response": [ + ] } ] - } -, + }, { "name": "/me/allowedOrigins/:originId", "description": "Returns the details of the [allowed origin](https://docs.adyen.com/development-resources/client-side-authentication#allowed-origins) specified in the path. The API key from the request is used to identify the [API credential](https://docs.adyen.com/development-resources/api-credentials). You can make this request with any of the Management API roles.", @@ -4864,50 +6575,51 @@ { "name": "Get allowed origin details", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/me/allowedOrigins/:originId", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "me", - "allowedOrigins", - ":originId" - ], - "variable": [ - { - "key": "originId", - "value": "", - "description": "Unique identifier of the allowed origin." - } - ], - "query": [ - ] - }, - "description": "Returns the details of the [allowed origin](https://docs.adyen.com/development-resources/client-side-authentication#allowed-origins) specified in the path. The API key from the request is used to identify the [API credential](https://docs.adyen.com/development-resources/api-credentials). You can make this request with any of the Management API roles." - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/me/allowedOrigins/:originId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "me", + "allowedOrigins", + ":originId" + ], + "variable": [ + { + "key": "originId", + "value": "", + "description": "Unique identifier of the allowed origin." + } + ], + "query": [ + ] + }, + "description": "Returns the details of the [allowed origin](https://docs.adyen.com/development-resources/client-side-authentication#allowed-origins) specified in the path. The API key from the request is used to identify the [API credential](https://docs.adyen.com/development-resources/api-credentials). You can make this request with any of the Management API roles." +} + ,"response": [ + ] } ] - } -, + }, { "name": "/me/generateClientKey", "description": "Generates a new [client key](https://docs.adyen.com/development-resources/client-side-authentication/) used to authenticate requests from your payment environment. You can use the new client key a few minutes after generating it. The old client key stops working 24 hours after generating a new one. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—API credentials read and write", @@ -4915,44 +6627,45 @@ { "name": "Generate a client key", "request": { - "method": "POST", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/me/generateClientKey", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "me", - "generateClientKey" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Generates a new [client key](https://docs.adyen.com/development-resources/client-side-authentication/) used to authenticate requests from your payment environment. You can use the new client key a few minutes after generating it. The old client key stops working 24 hours after generating a new one. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—API credentials read and write" - } + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/me/generateClientKey", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "me", + "generateClientKey" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Generates a new [client key](https://docs.adyen.com/development-resources/client-side-authentication/) used to authenticate requests from your payment environment. You can use the new client key a few minutes after generating it. The old client key stops working 24 hours after generating a new one. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—API credentials read and write" +} + ,"response": [ + ] } ] } - ] }, { @@ -4965,56 +6678,57 @@ { "name": "Get the terminal logo", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/merchants/:merchantId/terminalLogos", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "merchants", - ":merchantId", - "terminalLogos" - ], - "variable": [ - { - "key": "merchantId", - "value": "{{YOUR_MERCHANT_ACCOUNT}}", - "description": "The unique identifier of the merchant account." - } - ], - "query": [ - { - "key": "model", - "value": "model_example", - "description": "The terminal model. Possible values: E355, VX675WIFIBT, VX680, VX690, VX700, VX820, M400, MX925, P400Plus, UX300, UX410, V200cPlus, V240mPlus, V400cPlus, V400m, e280, e285, e285p, S1E, S1EL, S1F2, S1L, S1U, S7T.", - "disabled": false - } - ] - }, - "description": "Returns the logo that is configured for a specific payment terminal model at the merchant account identified in the path. The logo is returned as a Base64-encoded string. You need to Base64-decode the string to get the actual image file. This logo applies to all terminals of the specified model under the merchant account, unless a different logo is configured at a lower level (store or individual terminal). To make this request, your API credential must have one of the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal settings read * Management API—Terminal settings read and write" - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/merchants/:merchantId/terminalLogos", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "merchants", + ":merchantId", + "terminalLogos" + ], + "variable": [ + { + "key": "merchantId", + "value": "{{YOUR_MERCHANT_ACCOUNT}}", + "description": "The unique identifier of the merchant account." + } + ], + "query": [ + { + "key": "model", + "value": "model_example", + "description": "The terminal model. Possible values: E355, VX675WIFIBT, VX680, VX690, VX700, VX820, M400, MX925, P400Plus, UX300, UX410, V200cPlus, V240mPlus, V400cPlus, V400m, e280, e285, e285p, S1E, S1EL, S1F2, S1L, S1U, S7T.", + "disabled": false + } + ] + }, + "description": "Returns the logo that is configured for a specific payment terminal model at the merchant account identified in the path. The logo is returned as a Base64-encoded string. You need to Base64-decode the string to get the actual image file. This logo applies to all terminals of the specified model under the merchant account, unless a different logo is configured at a lower level (store or individual terminal). To make this request, your API credential must have one of the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal settings read * Management API—Terminal settings read and write" +} + ,"response": [ + ] } ] - } -, + }, { "name": "/merchants/:merchantId/terminalLogos", "description": "Updates the logo for a specific payment terminal model at the merchant account identified in the path. You can update the logo for only one terminal model at a time. This logo applies to all terminals of the specified model under the merchant account, unless a different logo is configured at a lower level (store or individual terminal). * To change the logo, specify the image file as a Base64-encoded string. * To restore the logo inherited from the company account, specify an empty logo value. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal settings read and write", @@ -5022,118 +6736,249 @@ { "name": "Remove logo to restore the logo from a higher level", "request": { - "method": "PATCH", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"data\" : \"\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/merchants/:merchantId/terminalLogos", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "merchants", + ":merchantId", + "terminalLogos" + ], + "variable": [ + { + "key": "merchantId", + "value": "{{YOUR_MERCHANT_ACCOUNT}}", + "description": "The unique identifier of the merchant account." + } + ], + "query": [ + { + "key": "model", + "value": "model_example", + "description": "The terminal model. Allowed values: E355, VX675WIFIBT, VX680, VX690, VX700, VX820, M400, MX925, P400Plus, UX300, UX410, V200cPlus, V240mPlus, V400cPlus, V400m, e280, e285, e285p, S1E, S1EL, S1F2, S1L, S1U, S7T.", + "disabled": false + } + ] + }, + "description": "Updates the logo for a specific payment terminal model at the merchant account identified in the path. You can update the logo for only one terminal model at a time. This logo applies to all terminals of the specified model under the merchant account, unless a different logo is configured at a lower level (store or individual terminal). * To change the logo, specify the image file as a Base64-encoded string. * To restore the logo inherited from the company account, specify an empty logo value. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal settings read and write" +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"data\" : \"LOGO_INHERITED_FROM_HIGHER_LEVEL_BASE-64_ENCODED_STRING\"\n}", + "originalRequest": { + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"data\" : \"\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/merchants/:merchantId/terminalLogos", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "merchants", + ":merchantId", + "terminalLogos" + ], + "variable": [ + { + "key": "merchantId", + "value": "{{YOUR_MERCHANT_ACCOUNT}}", + "description": "The unique identifier of the merchant account." + } + ], + "query": [ + { + "key": "model", + "value": "model_example", + "description": "The terminal model. Allowed values: E355, VX675WIFIBT, VX680, VX690, VX700, VX820, M400, MX925, P400Plus, UX300, UX410, V200cPlus, V240mPlus, V400cPlus, V400m, e280, e285, e285p, S1E, S1EL, S1F2, S1L, S1U, S7T.", + "disabled": false + } + ] + }, + "description": "Updates the logo for a specific payment terminal model at the merchant account identified in the path. You can update the logo for only one terminal model at a time. This logo applies to all terminals of the specified model under the merchant account, unless a different logo is configured at a lower level (store or individual terminal). * To change the logo, specify the image file as a Base64-encoded string. * To restore the logo inherited from the company account, specify an empty logo value. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal settings read and write" +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"data\" : \"\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/merchants/:merchantId/terminalLogos", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "merchants", - ":merchantId", - "terminalLogos" - ], - "variable": [ - { - "key": "merchantId", - "value": "{{YOUR_MERCHANT_ACCOUNT}}", - "description": "The unique identifier of the merchant account." - } - ], - "query": [ - { - "key": "model", - "value": "model_example", - "description": "The terminal model. Allowed values: E355, VX675WIFIBT, VX680, VX690, VX700, VX820, M400, MX925, P400Plus, UX300, UX410, V200cPlus, V240mPlus, V400cPlus, V400m, e280, e285, e285p, S1E, S1EL, S1F2, S1L, S1U, S7T.", - "disabled": false - } - ] - }, - "description": "Updates the logo for a specific payment terminal model at the merchant account identified in the path. You can update the logo for only one terminal model at a time. This logo applies to all terminals of the specified model under the merchant account, unless a different logo is configured at a lower level (store or individual terminal). * To change the logo, specify the image file as a Base64-encoded string. * To restore the logo inherited from the company account, specify an empty logo value. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal settings read and write" - } + ] }, { "name": "Upload terminal logo", "request": { - "method": "PATCH", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"data\" : \"LOGO_FILE_CONVERTED_TO_A_BASE-64_ENCODED_STRING\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/merchants/:merchantId/terminalLogos", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "merchants", + ":merchantId", + "terminalLogos" + ], + "variable": [ + { + "key": "merchantId", + "value": "{{YOUR_MERCHANT_ACCOUNT}}", + "description": "The unique identifier of the merchant account." + } + ], + "query": [ + { + "key": "model", + "value": "model_example", + "description": "The terminal model. Allowed values: E355, VX675WIFIBT, VX680, VX690, VX700, VX820, M400, MX925, P400Plus, UX300, UX410, V200cPlus, V240mPlus, V400cPlus, V400m, e280, e285, e285p, S1E, S1EL, S1F2, S1L, S1U, S7T.", + "disabled": false + } + ] + }, + "description": "Updates the logo for a specific payment terminal model at the merchant account identified in the path. You can update the logo for only one terminal model at a time. This logo applies to all terminals of the specified model under the merchant account, unless a different logo is configured at a lower level (store or individual terminal). * To change the logo, specify the image file as a Base64-encoded string. * To restore the logo inherited from the company account, specify an empty logo value. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal settings read and write" +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"data\" : \"BASE-64_ENCODED_STRING_FROM_THE_REQUEST\"\n}", + "originalRequest": { + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"data\" : \"LOGO_FILE_CONVERTED_TO_A_BASE-64_ENCODED_STRING\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/merchants/:merchantId/terminalLogos", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "merchants", + ":merchantId", + "terminalLogos" + ], + "variable": [ + { + "key": "merchantId", + "value": "{{YOUR_MERCHANT_ACCOUNT}}", + "description": "The unique identifier of the merchant account." + } + ], + "query": [ + { + "key": "model", + "value": "model_example", + "description": "The terminal model. Allowed values: E355, VX675WIFIBT, VX680, VX690, VX700, VX820, M400, MX925, P400Plus, UX300, UX410, V200cPlus, V240mPlus, V400cPlus, V400m, e280, e285, e285p, S1E, S1EL, S1F2, S1L, S1U, S7T.", + "disabled": false + } + ] + }, + "description": "Updates the logo for a specific payment terminal model at the merchant account identified in the path. You can update the logo for only one terminal model at a time. This logo applies to all terminals of the specified model under the merchant account, unless a different logo is configured at a lower level (store or individual terminal). * To change the logo, specify the image file as a Base64-encoded string. * To restore the logo inherited from the company account, specify an empty logo value. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal settings read and write" +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"data\" : \"LOGO_FILE_CONVERTED_TO_A_BASE-64_ENCODED_STRING\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/merchants/:merchantId/terminalLogos", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "merchants", - ":merchantId", - "terminalLogos" - ], - "variable": [ - { - "key": "merchantId", - "value": "{{YOUR_MERCHANT_ACCOUNT}}", - "description": "The unique identifier of the merchant account." - } - ], - "query": [ - { - "key": "model", - "value": "model_example", - "description": "The terminal model. Allowed values: E355, VX675WIFIBT, VX680, VX690, VX700, VX820, M400, MX925, P400Plus, UX300, UX410, V200cPlus, V240mPlus, V400cPlus, V400m, e280, e285, e285p, S1E, S1EL, S1F2, S1L, S1U, S7T.", - "disabled": false - } - ] - }, - "description": "Updates the logo for a specific payment terminal model at the merchant account identified in the path. You can update the logo for only one terminal model at a time. This logo applies to all terminals of the specified model under the merchant account, unless a different logo is configured at a lower level (store or individual terminal). * To change the logo, specify the image file as a Base64-encoded string. * To restore the logo inherited from the company account, specify an empty logo value. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal settings read and write" - } + ] } ] - } -, + }, { "name": "/merchants/:merchantId/terminalSettings", "description": "Returns the payment terminal settings that are configured for the merchant account identified in the path. These settings apply to all terminals under the merchant account unless different values are configured at a lower level (store or individual terminal). To make this request, your API credential must have one of the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal settings read * Management API—Terminal settings read and write", @@ -5141,50 +6986,51 @@ { "name": "Get terminal settings", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/merchants/:merchantId/terminalSettings", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "merchants", - ":merchantId", - "terminalSettings" - ], - "variable": [ - { - "key": "merchantId", - "value": "{{YOUR_MERCHANT_ACCOUNT}}", - "description": "The unique identifier of the merchant account." - } - ], - "query": [ - ] - }, - "description": "Returns the payment terminal settings that are configured for the merchant account identified in the path. These settings apply to all terminals under the merchant account unless different values are configured at a lower level (store or individual terminal). To make this request, your API credential must have one of the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal settings read * Management API—Terminal settings read and write" - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/merchants/:merchantId/terminalSettings", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "merchants", + ":merchantId", + "terminalSettings" + ], + "variable": [ + { + "key": "merchantId", + "value": "{{YOUR_MERCHANT_ACCOUNT}}", + "description": "The unique identifier of the merchant account." + } + ], + "query": [ + ] + }, + "description": "Returns the payment terminal settings that are configured for the merchant account identified in the path. These settings apply to all terminals under the merchant account unless different values are configured at a lower level (store or individual terminal). To make this request, your API credential must have one of the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal settings read * Management API—Terminal settings read and write" +} + ,"response": [ + ] } ] - } -, + }, { "name": "/merchants/:merchantId/terminalSettings", "description": "Updates payment terminal settings for the merchant account identified in the path. These settings apply to all terminals under the merchant account, unless different values are configured at a lower level (store or individual terminal). * To change a parameter value, include the full object that contains the parameter, even if you don't want to change all parameters in the object. * To restore a parameter value inherited from a higher level, include the full object that contains the parameter, and specify an empty value for the parameter or omit the parameter. * Objects that are not included in the request are not updated. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal settings read and write", @@ -5192,106 +7038,225 @@ { "name": "Add EAP-PEAP and PSK Wi-Fi profiles", "request": { - "method": "PATCH", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"wifiProfiles\" : {\n \"profiles\" : [ {\n \"authType\" : \"wpa-eap\",\n \"autoWifi\" : false,\n \"bssType\" : \"infra\",\n \"channel\" : 0,\n \"defaultProfile\" : true,\n \"eap\" : \"peap\",\n \"eapCaCert\" : {\n \"data\" : \"MD1rKS05M2JqRVFNQ...RTtLH1tLWo=\",\n \"name\" : \"eap-peap-ca.pem\"\n },\n \"eapIdentity\" : \"admin\",\n \"eapIntermediateCert\" : {\n \"data\" : \"PD3tUS1CRDdJTiGDR...EFoLS0tLQg=\",\n \"name\" : \"eap-peap-client.pem\"\n },\n \"eapPwd\" : \"EAP_PEAP_PASSWORD\",\n \"hiddenSsid\" : false,\n \"name\" : \"Profile-eap-peap-1\",\n \"ssid\" : \"your-network\",\n \"wsec\" : \"ccmp\"\n }, {\n \"authType\" : \"wpa-psk\",\n \"autoWifi\" : false,\n \"bssType\" : \"infra\",\n \"channel\" : 0,\n \"defaultProfile\" : false,\n \"hiddenSsid\" : false,\n \"name\" : \"Profile-guest-wifi\",\n \"psk\" : \"WIFI_PASSWORD\",\n \"ssid\" : \"your-network\",\n \"wsec\" : \"ccmp\"\n } ],\n \"settings\" : {\n \"band\" : \"2.4GHz\",\n \"roaming\" : true,\n \"timeout\" : 5\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/merchants/:merchantId/terminalSettings", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "merchants", + ":merchantId", + "terminalSettings" + ], + "variable": [ + { + "key": "merchantId", + "value": "{{YOUR_MERCHANT_ACCOUNT}}", + "description": "The unique identifier of the merchant account." + } + ], + "query": [ + ] + }, + "description": "Updates payment terminal settings for the merchant account identified in the path. These settings apply to all terminals under the merchant account, unless different values are configured at a lower level (store or individual terminal). * To change a parameter value, include the full object that contains the parameter, even if you don't want to change all parameters in the object. * To restore a parameter value inherited from a higher level, include the full object that contains the parameter, and specify an empty value for the parameter or omit the parameter. * Objects that are not included in the request are not updated. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal settings read and write" +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"cardholderReceipt\" : {\n \"headerForAuthorizedReceipt\" : \"header1,header2,filler\"\n },\n \"gratuities\" : [ {\n \"currency\" : \"EUR\",\n \"usePredefinedTipEntries\" : true,\n \"predefinedTipEntries\" : [ \"100\", \"1%\", \"5%\" ],\n \"allowCustomAmount\" : true\n } ],\n \"nexo\" : {\n \"nexoEventUrls\" : [ \"https://your-event-notifications-endpoint.com\" ]\n },\n \"opi\" : {\n \"enablePayAtTable\" : true,\n \"payAtTableStoreNumber\" : \"1\",\n \"payAtTableURL\" : \"https:/your-pay-at-table-endpoint.com\"\n },\n \"offlineProcessing\" : {\n \"chipFloorLimit\" : 0\n },\n \"receiptOptions\" : {\n \"qrCodeData\" : \"http://www.example.com/order/${pspreference}/${merchantreference}\"\n },\n \"receiptPrinting\" : {\n \"shopperApproved\" : true,\n \"shopperRefused\" : true,\n \"shopperCancelled\" : true,\n \"shopperRefundApproved\" : true,\n \"shopperRefundRefused\" : true,\n \"shopperVoid\" : true\n },\n \"signature\" : {\n \"askSignatureOnScreen\" : true,\n \"skipSignature\" : false,\n \"deviceName\" : \"Amsterdam-236203386\"\n },\n \"wifiProfiles\" : {\n \"profiles\" : [ {\n \"authType\" : \"wpa-eap\",\n \"autoWifi\" : false,\n \"bssType\" : \"infra\",\n \"channel\" : 0,\n \"defaultProfile\" : true,\n \"eap\" : \"peap\",\n \"eapCaCert\" : {\n \"data\" : \"MD1rKS05M2JqRVFNQ...RTtLH1tLWo=\",\n \"name\" : \"eap-peap-ca.pem\"\n },\n \"eapIdentity\" : \"admin\",\n \"eapIntermediateCert\" : {\n \"data\" : \"PD3tUS1CRDdJTiGDR...EFoLS0tLQg=\",\n \"name\" : \"eap-peap-client.pem\"\n },\n \"eapPwd\" : \"EAP_PEAP_PASSWORD\",\n \"hiddenSsid\" : false,\n \"name\" : \"Profile-eap-peap-1\",\n \"ssid\" : \"your-network\",\n \"wsec\" : \"ccmp\"\n }, {\n \"authType\" : \"wpa-psk\",\n \"autoWifi\" : false,\n \"bssType\" : \"infra\",\n \"channel\" : 0,\n \"defaultProfile\" : false,\n \"hiddenSsid\" : false,\n \"name\" : \"Profile-guest-wifi\",\n \"psk\" : \"WIFI_PASSWORD\",\n \"ssid\" : \"your-network\",\n \"wsec\" : \"ccmp\"\n } ],\n \"settings\" : {\n \"band\" : \"2.4GHz\",\n \"roaming\" : true,\n \"timeout\" : 5\n }\n },\n \"timeouts\" : {\n \"fromActiveToSleep\" : 30\n },\n \"hardware\" : {\n \"displayMaximumBackLight\" : 75\n }\n}", + "originalRequest": { + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"wifiProfiles\" : {\n \"profiles\" : [ {\n \"authType\" : \"wpa-eap\",\n \"autoWifi\" : false,\n \"bssType\" : \"infra\",\n \"channel\" : 0,\n \"defaultProfile\" : true,\n \"eap\" : \"peap\",\n \"eapCaCert\" : {\n \"data\" : \"MD1rKS05M2JqRVFNQ...RTtLH1tLWo=\",\n \"name\" : \"eap-peap-ca.pem\"\n },\n \"eapIdentity\" : \"admin\",\n \"eapIntermediateCert\" : {\n \"data\" : \"PD3tUS1CRDdJTiGDR...EFoLS0tLQg=\",\n \"name\" : \"eap-peap-client.pem\"\n },\n \"eapPwd\" : \"EAP_PEAP_PASSWORD\",\n \"hiddenSsid\" : false,\n \"name\" : \"Profile-eap-peap-1\",\n \"ssid\" : \"your-network\",\n \"wsec\" : \"ccmp\"\n }, {\n \"authType\" : \"wpa-psk\",\n \"autoWifi\" : false,\n \"bssType\" : \"infra\",\n \"channel\" : 0,\n \"defaultProfile\" : false,\n \"hiddenSsid\" : false,\n \"name\" : \"Profile-guest-wifi\",\n \"psk\" : \"WIFI_PASSWORD\",\n \"ssid\" : \"your-network\",\n \"wsec\" : \"ccmp\"\n } ],\n \"settings\" : {\n \"band\" : \"2.4GHz\",\n \"roaming\" : true,\n \"timeout\" : 5\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/merchants/:merchantId/terminalSettings", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "merchants", + ":merchantId", + "terminalSettings" + ], + "variable": [ + { + "key": "merchantId", + "value": "{{YOUR_MERCHANT_ACCOUNT}}", + "description": "The unique identifier of the merchant account." + } + ], + "query": [ + ] + }, + "description": "Updates payment terminal settings for the merchant account identified in the path. These settings apply to all terminals under the merchant account, unless different values are configured at a lower level (store or individual terminal). * To change a parameter value, include the full object that contains the parameter, even if you don't want to change all parameters in the object. * To restore a parameter value inherited from a higher level, include the full object that contains the parameter, and specify an empty value for the parameter or omit the parameter. * Objects that are not included in the request are not updated. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal settings read and write" +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"wifiProfiles\" : {\n \"profiles\" : [ {\n \"authType\" : \"wpa-eap\",\n \"autoWifi\" : false,\n \"bssType\" : \"infra\",\n \"channel\" : 0,\n \"defaultProfile\" : true,\n \"eap\" : \"peap\",\n \"eapCaCert\" : {\n \"data\" : \"MD1rKS05M2JqRVFNQ...RTtLH1tLWo=\",\n \"name\" : \"eap-peap-ca.pem\"\n },\n \"eapIdentity\" : \"admin\",\n \"eapIntermediateCert\" : {\n \"data\" : \"PD3tUS1CRDdJTiGDR...EFoLS0tLQg=\",\n \"name\" : \"eap-peap-client.pem\"\n },\n \"eapPwd\" : \"EAP_PEAP_PASSWORD\",\n \"hiddenSsid\" : false,\n \"name\" : \"Profile-eap-peap-1\",\n \"ssid\" : \"your-network\",\n \"wsec\" : \"ccmp\"\n }, {\n \"authType\" : \"wpa-psk\",\n \"autoWifi\" : false,\n \"bssType\" : \"infra\",\n \"channel\" : 0,\n \"defaultProfile\" : false,\n \"hiddenSsid\" : false,\n \"name\" : \"Profile-guest-wifi\",\n \"psk\" : \"WIFI_PASSWORD\",\n \"ssid\" : \"your-network\",\n \"wsec\" : \"ccmp\"\n } ],\n \"settings\" : {\n \"band\" : \"2.4GHz\",\n \"roaming\" : true,\n \"timeout\" : 5\n }\n }\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/merchants/:merchantId/terminalSettings", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "merchants", - ":merchantId", - "terminalSettings" - ], - "variable": [ - { - "key": "merchantId", - "value": "{{YOUR_MERCHANT_ACCOUNT}}", - "description": "The unique identifier of the merchant account." - } - ], - "query": [ - ] - }, - "description": "Updates payment terminal settings for the merchant account identified in the path. These settings apply to all terminals under the merchant account, unless different values are configured at a lower level (store or individual terminal). * To change a parameter value, include the full object that contains the parameter, even if you don't want to change all parameters in the object. * To restore a parameter value inherited from a higher level, include the full object that contains the parameter, and specify an empty value for the parameter or omit the parameter. * Objects that are not included in the request are not updated. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal settings read and write" - } + ] }, { "name": "Add EAP-TLS Wi-Fi profile", "request": { - "method": "PATCH", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"wifiProfiles\" : {\n \"profiles\" : [ {\n \"authType\" : \"wpa-eap\",\n \"autoWifi\" : false,\n \"bssType\" : \"infra\",\n \"channel\" : 0,\n \"defaultProfile\" : true,\n \"eap\" : \"tls\",\n \"eapCaCert\" : {\n \"data\" : \"LS0tLS05M2JqRVFNQ...EUtLS0tLQo=\",\n \"name\" : \"eap-tls-ca.pem\"\n },\n \"eapClientCert\" : {\n \"data\" : \"LS0tLS1CRUdJTiBDR...EUtLS0tLQo=\",\n \"name\" : \"eap-tls-client.pem\"\n },\n \"eapClientKey\" : {\n \"data\" : \"AAAB3NzaC1...Rtah3KLFwPU=\",\n \"name\" : \"rsa-private.key\"\n },\n \"eapClientPwd\" : \"\",\n \"eapIdentity\" : \"admin\",\n \"hiddenSsid\" : false,\n \"name\" : \"Profile-eap-tls-1\",\n \"ssid\" : \"your-network\",\n \"wsec\" : \"ccmp\"\n } ],\n \"settings\" : {\n \"band\" : \"2.4GHz\",\n \"roaming\" : true,\n \"timeout\" : 5\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/merchants/:merchantId/terminalSettings", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "merchants", + ":merchantId", + "terminalSettings" + ], + "variable": [ + { + "key": "merchantId", + "value": "{{YOUR_MERCHANT_ACCOUNT}}", + "description": "The unique identifier of the merchant account." + } + ], + "query": [ + ] + }, + "description": "Updates payment terminal settings for the merchant account identified in the path. These settings apply to all terminals under the merchant account, unless different values are configured at a lower level (store or individual terminal). * To change a parameter value, include the full object that contains the parameter, even if you don't want to change all parameters in the object. * To restore a parameter value inherited from a higher level, include the full object that contains the parameter, and specify an empty value for the parameter or omit the parameter. * Objects that are not included in the request are not updated. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal settings read and write" +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"cardholderReceipt\" : {\n \"headerForAuthorizedReceipt\" : \"header1,header2,filler\"\n },\n \"gratuities\" : [ {\n \"currency\" : \"EUR\",\n \"usePredefinedTipEntries\" : true,\n \"predefinedTipEntries\" : [ \"100\", \"1%\", \"5%\" ],\n \"allowCustomAmount\" : true\n } ],\n \"nexo\" : {\n \"nexoEventUrls\" : [ \"https://your-event-notifications-endpoint.com\" ]\n },\n \"opi\" : {\n \"enablePayAtTable\" : true,\n \"payAtTableStoreNumber\" : \"1\",\n \"payAtTableURL\" : \"https:/your-pay-at-table-endpoint.com\"\n },\n \"offlineProcessing\" : {\n \"chipFloorLimit\" : 0\n },\n \"receiptOptions\" : {\n \"qrCodeData\" : \"http://www.example.com/order/${pspreference}/${merchantreference}\"\n },\n \"receiptPrinting\" : {\n \"shopperApproved\" : true,\n \"shopperRefused\" : true,\n \"shopperCancelled\" : true,\n \"shopperRefundApproved\" : true,\n \"shopperRefundRefused\" : true,\n \"shopperVoid\" : true\n },\n \"signature\" : {\n \"askSignatureOnScreen\" : true,\n \"skipSignature\" : false,\n \"deviceName\" : \"Amsterdam-236203386\"\n },\n \"wifiProfiles\" : {\n \"profiles\" : [ {\n \"authType\" : \"wpa-eap\",\n \"autoWifi\" : false,\n \"bssType\" : \"infra\",\n \"channel\" : 0,\n \"defaultProfile\" : true,\n \"eap\" : \"tls\",\n \"eapCaCert\" : {\n \"data\" : \"LS0tLS05M2JqRVFNQ...EUtLS0tLQo=\",\n \"name\" : \"eap-tls-ca.pem\"\n },\n \"eapClientCert\" : {\n \"data\" : \"LS0tLS1CRUdJTiBDR...EUtLS0tLQo=\",\n \"name\" : \"eap-tls-client.pem\"\n },\n \"eapClientKey\" : {\n \"data\" : \"AAAB3NzaC1...Rtah3KLFwPU=\",\n \"name\" : \"rsa-private.key\"\n },\n \"eapClientPwd\" : \"\",\n \"eapIdentity\" : \"admin\",\n \"hiddenSsid\" : false,\n \"name\" : \"Profile-eap-tls-1\",\n \"ssid\" : \"your-network\",\n \"wsec\" : \"ccmp\"\n } ],\n \"settings\" : {\n \"band\" : \"2.4GHz\",\n \"roaming\" : true,\n \"timeout\" : 5\n }\n },\n \"timeouts\" : {\n \"fromActiveToSleep\" : 30\n },\n \"hardware\" : {\n \"displayMaximumBackLight\" : 75\n }\n}", + "originalRequest": { + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"wifiProfiles\" : {\n \"profiles\" : [ {\n \"authType\" : \"wpa-eap\",\n \"autoWifi\" : false,\n \"bssType\" : \"infra\",\n \"channel\" : 0,\n \"defaultProfile\" : true,\n \"eap\" : \"tls\",\n \"eapCaCert\" : {\n \"data\" : \"LS0tLS05M2JqRVFNQ...EUtLS0tLQo=\",\n \"name\" : \"eap-tls-ca.pem\"\n },\n \"eapClientCert\" : {\n \"data\" : \"LS0tLS1CRUdJTiBDR...EUtLS0tLQo=\",\n \"name\" : \"eap-tls-client.pem\"\n },\n \"eapClientKey\" : {\n \"data\" : \"AAAB3NzaC1...Rtah3KLFwPU=\",\n \"name\" : \"rsa-private.key\"\n },\n \"eapClientPwd\" : \"\",\n \"eapIdentity\" : \"admin\",\n \"hiddenSsid\" : false,\n \"name\" : \"Profile-eap-tls-1\",\n \"ssid\" : \"your-network\",\n \"wsec\" : \"ccmp\"\n } ],\n \"settings\" : {\n \"band\" : \"2.4GHz\",\n \"roaming\" : true,\n \"timeout\" : 5\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/merchants/:merchantId/terminalSettings", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "merchants", + ":merchantId", + "terminalSettings" + ], + "variable": [ + { + "key": "merchantId", + "value": "{{YOUR_MERCHANT_ACCOUNT}}", + "description": "The unique identifier of the merchant account." + } + ], + "query": [ + ] + }, + "description": "Updates payment terminal settings for the merchant account identified in the path. These settings apply to all terminals under the merchant account, unless different values are configured at a lower level (store or individual terminal). * To change a parameter value, include the full object that contains the parameter, even if you don't want to change all parameters in the object. * To restore a parameter value inherited from a higher level, include the full object that contains the parameter, and specify an empty value for the parameter or omit the parameter. * Objects that are not included in the request are not updated. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal settings read and write" +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"wifiProfiles\" : {\n \"profiles\" : [ {\n \"authType\" : \"wpa-eap\",\n \"autoWifi\" : false,\n \"bssType\" : \"infra\",\n \"channel\" : 0,\n \"defaultProfile\" : true,\n \"eap\" : \"tls\",\n \"eapCaCert\" : {\n \"data\" : \"LS0tLS05M2JqRVFNQ...EUtLS0tLQo=\",\n \"name\" : \"eap-tls-ca.pem\"\n },\n \"eapClientCert\" : {\n \"data\" : \"LS0tLS1CRUdJTiBDR...EUtLS0tLQo=\",\n \"name\" : \"eap-tls-client.pem\"\n },\n \"eapClientKey\" : {\n \"data\" : \"AAAB3NzaC1...Rtah3KLFwPU=\",\n \"name\" : \"rsa-private.key\"\n },\n \"eapClientPwd\" : \"\",\n \"eapIdentity\" : \"admin\",\n \"hiddenSsid\" : false,\n \"name\" : \"Profile-eap-tls-1\",\n \"ssid\" : \"your-network\",\n \"wsec\" : \"ccmp\"\n } ],\n \"settings\" : {\n \"band\" : \"2.4GHz\",\n \"roaming\" : true,\n \"timeout\" : 5\n }\n }\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/merchants/:merchantId/terminalSettings", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "merchants", - ":merchantId", - "terminalSettings" - ], - "variable": [ - { - "key": "merchantId", - "value": "{{YOUR_MERCHANT_ACCOUNT}}", - "description": "The unique identifier of the merchant account." - } - ], - "query": [ - ] - }, - "description": "Updates payment terminal settings for the merchant account identified in the path. These settings apply to all terminals under the merchant account, unless different values are configured at a lower level (store or individual terminal). * To change a parameter value, include the full object that contains the parameter, even if you don't want to change all parameters in the object. * To restore a parameter value inherited from a higher level, include the full object that contains the parameter, and specify an empty value for the parameter or omit the parameter. * Objects that are not included in the request are not updated. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal settings read and write" - } + ] } ] } - ] }, { @@ -5304,91 +7269,92 @@ { "name": "Get a list of terminals", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/terminals", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "terminals" - ], - "variable": [ - ], - "query": [ - { - "key": "searchQuery", - "value": "searchQuery_example", - "description": "Returns terminals with an ID that contains the specified string. If present, other query parameters are ignored.", - "disabled": true - }, - { - "key": "otpQuery", - "value": "otpQuery_example", - "description": "Returns one or more terminals associated with the one-time passwords specified in the request. If this query parameter is used, other query parameters are ignored.", - "disabled": true - }, - { - "key": "countries", - "value": "countries_example", - "description": "Returns terminals located in the countries specified by their [two-letter country code](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2).", - "disabled": true - }, - { - "key": "merchantIds", - "value": "merchantIds_example", - "description": "Returns terminals that belong to the merchant accounts specified by their unique merchant account ID.", - "disabled": true - }, - { - "key": "storeIds", - "value": "storeIds_example", - "description": "Returns terminals that are assigned to the [stores](https://docs.adyen.com/api-explorer/#/ManagementService/latest/get/stores) specified by their unique store ID.", - "disabled": true - }, - { - "key": "brandModels", - "value": "brandModels_example", - "description": "Returns terminals of the [models](https://docs.adyen.com/api-explorer/#/ManagementService/latest/get/companies/{companyId}/terminalModels) specified in the format *brand.model*.", - "disabled": true - }, - { - "key": "pageNumber", - "value": "56", - "description": "The number of the page to fetch.", - "disabled": true - }, - { - "key": "pageSize", - "value": "56", - "description": "The number of items to have on a page, maximum 100. The default is 20 items on a page.", - "disabled": true - } - ] - }, - "description": "Returns the payment terminals that the API credential has access to and that match the query parameters. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API — Terminal actions read" - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/terminals", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "terminals" + ], + "variable": [ + ], + "query": [ + { + "key": "searchQuery", + "value": "searchQuery_example", + "description": "Returns terminals with an ID that contains the specified string. If present, other query parameters are ignored.", + "disabled": true + }, + { + "key": "otpQuery", + "value": "otpQuery_example", + "description": "Returns one or more terminals associated with the one-time passwords specified in the request. If this query parameter is used, other query parameters are ignored.", + "disabled": true + }, + { + "key": "countries", + "value": "countries_example", + "description": "Returns terminals located in the countries specified by their [two-letter country code](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2).", + "disabled": true + }, + { + "key": "merchantIds", + "value": "merchantIds_example", + "description": "Returns terminals that belong to the merchant accounts specified by their unique merchant account ID.", + "disabled": true + }, + { + "key": "storeIds", + "value": "storeIds_example", + "description": "Returns terminals that are assigned to the [stores](https://docs.adyen.com/api-explorer/#/ManagementService/latest/get/stores) specified by their unique store ID.", + "disabled": true + }, + { + "key": "brandModels", + "value": "brandModels_example", + "description": "Returns terminals of the [models](https://docs.adyen.com/api-explorer/#/ManagementService/latest/get/companies/{companyId}/terminalModels) specified in the format *brand.model*.", + "disabled": true + }, + { + "key": "pageNumber", + "value": "56", + "description": "The number of the page to fetch.", + "disabled": true + }, + { + "key": "pageSize", + "value": "56", + "description": "The number of items to have on a page, maximum 100. The default is 20 items on a page.", + "disabled": true + } + ] + }, + "description": "Returns the payment terminals that the API credential has access to and that match the query parameters. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API — Terminal actions read" +} + ,"response": [ + ] } ] - } -, + }, { "name": "/terminals/:terminalId/reassign", "description": "Reassigns a payment terminal to a company account, merchant account, merchant account inventory, or a store. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Assign Terminal", @@ -5396,56 +7362,57 @@ { "name": "Reassign a terminal", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"companyId\": \"\",\n \"inventory\": \"\",\n \"merchantId\": \"\",\n \"storeId\": \"\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/terminals/:terminalId/reassign", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "terminals", - ":terminalId", - "reassign" - ], - "variable": [ - { - "key": "terminalId", - "value": "", - "description": "The unique identifier of the payment terminal." - } - ], - "query": [ - ] - }, - "description": "Reassigns a payment terminal to a company account, merchant account, merchant account inventory, or a store. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Assign Terminal" - } + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"companyId\": \"\",\n \"inventory\": \"\",\n \"merchantId\": \"\",\n \"storeId\": \"\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/terminals/:terminalId/reassign", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "terminals", + ":terminalId", + "reassign" + ], + "variable": [ + { + "key": "terminalId", + "value": "", + "description": "The unique identifier of the payment terminal." + } + ], + "query": [ + ] + }, + "description": "Reassigns a payment terminal to a company account, merchant account, merchant account inventory, or a store. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Assign Terminal" +} + ,"response": [ + ] } ] } - ] }, { @@ -5458,62 +7425,63 @@ { "name": "List all webhooks", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/companies/:companyId/webhooks", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "companies", - ":companyId", - "webhooks" - ], - "variable": [ - { - "key": "companyId", - "value": "{{YOUR_COMPANY_ACCOUNT}}", - "description": "Unique identifier of the [company account](https://docs.adyen.com/account/account-structure#company-account)." - } - ], - "query": [ - { - "key": "pageNumber", - "value": "56", - "description": "The number of the page to fetch.", - "disabled": true - }, - { - "key": "pageSize", - "value": "56", - "description": "The number of items to have on a page, maximum 100. The default is 10 items on a page.", - "disabled": true - } - ] - }, - "description": "Lists all webhook configurations for the company account. To make this request, your API credential must have one of the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Webhooks read * Management API—Webhooks read and write" - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/companies/:companyId/webhooks", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "companies", + ":companyId", + "webhooks" + ], + "variable": [ + { + "key": "companyId", + "value": "{{YOUR_COMPANY_ACCOUNT}}", + "description": "Unique identifier of the [company account](https://docs.adyen.com/account/account-structure#company-account)." + } + ], + "query": [ + { + "key": "pageNumber", + "value": "56", + "description": "The number of the page to fetch.", + "disabled": true + }, + { + "key": "pageSize", + "value": "56", + "description": "The number of items to have on a page, maximum 100. The default is 10 items on a page.", + "disabled": true + } + ] + }, + "description": "Lists all webhook configurations for the company account. To make this request, your API credential must have one of the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Webhooks read * Management API—Webhooks read and write" +} + ,"response": [ + ] } ] - } -, + }, { "name": "/companies/:companyId/webhooks", "description": "Subscribe to receive webhook notifications about events related to your company account. You can add basic authentication to make sure the data is secure. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Webhooks read and write", @@ -5521,56 +7489,115 @@ { "name": "Add a webhook configuration", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"type\" : \"standard\",\n \"url\" : \"YOUR_WEBHOOK_URL\",\n \"username\" : \"YOUR_USER\",\n \"password\" : \"YOUR_PASSWORD\",\n \"active\" : true,\n \"communicationFormat\" : \"soap\",\n \"acceptsExpiredCertificate\" : false,\n \"acceptsSelfSignedCertificate\" : true,\n \"acceptsUntrustedRootCertificate\" : true,\n \"populateSoapActionHeader\" : false,\n \"filterMerchantAccountType\" : \"includeAccounts\",\n \"filterMerchantAccounts\" : [ \"{{YOUR_MERCHANT_ACCOUNT}}\" ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/companies/:companyId/webhooks", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "companies", + ":companyId", + "webhooks" + ], + "variable": [ + { + "key": "companyId", + "value": "{{YOUR_COMPANY_ACCOUNT}}", + "description": "Unique identifier of the [company account](https://docs.adyen.com/account/account-structure#company-account)." + } + ], + "query": [ + ] + }, + "description": "Subscribe to receive webhook notifications about events related to your company account. You can add basic authentication to make sure the data is secure. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Webhooks read and write" +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"id\" : \"S2-6933523D2772\",\n \"type\" : \"standard\",\n \"url\" : \"YOUR_WEBHOOK_URL\",\n \"description\" : \"Webhook for YOUR_COMPANY_ACCOUNT - YOUR_COMPANY_CODE\",\n \"filterMerchantAccountType\" : \"includeAccounts\",\n \"filterMerchantAccounts\" : [ \"YOUR_MERCHANT_ACCOUNT\" ],\n \"username\" : \"myuser\",\n \"hasPassword\" : true,\n \"active\" : true,\n \"hasError\" : false,\n \"communicationFormat\" : \"soap\",\n \"acceptsExpiredCertificate\" : false,\n \"acceptsSelfSignedCertificate\" : true,\n \"acceptsUntrustedRootCertificate\" : true,\n \"certificateAlias\" : \"signed-test.adyen.com_2023\",\n \"populateSoapActionHeader\" : false,\n \"additionalSettings\" : {\n \"properties\" : {\n \"includePosTerminalInfo\" : false,\n \"includeARN\" : false,\n \"includePosDetails\" : false,\n \"includeCardInfoForRecurringContractNotification\" : false,\n \"includeRiskData\" : false,\n \"includeRiskExperimentReference\" : false,\n \"includeSoapSecurityHeader\" : false,\n \"includeContactlessWalletTokenInformation\" : false,\n \"includeAcquirerReference\" : false,\n \"includeRiskProfileReference\" : false,\n \"includeOriginalMerchantReferenceCancelOrRefundNotification\" : false,\n \"includeNfcTokenInformation\" : false,\n \"includeSubvariant\" : false,\n \"includeThreeDSVersion\" : false,\n \"includeInstallmentsInfo\" : false,\n \"includeAliasInfo\" : false,\n \"includeShopperCountry\" : false,\n \"includeRawThreeDSecureResult\" : false,\n \"includeAirlineData\" : false,\n \"includeGrossCurrencyChargebackDetails\" : false,\n \"includeThreeDSecureResult\" : false,\n \"includeMetadataIn3DSecurePaymentNotification\" : false,\n \"includeOriginalReferenceForChargebackReversed\" : false,\n \"addAcquirerResult\" : false,\n \"includeDeliveryAddress\" : false,\n \"includeRetryAttempts\" : false,\n \"includeExtraCosts\" : false,\n \"includeCardHolderName\" : false,\n \"includeShopperDetail\" : false,\n \"includeBankAccountDetails\" : false,\n \"includeMandateDetails\" : false,\n \"includeAuthAmountForDynamicZeroAuth\" : false,\n \"includeIssuerCountry\" : false,\n \"includeAcquirerErrorDetails\" : false,\n \"includeCoBrandedWith\" : false,\n \"includeShopperInteraction\" : false,\n \"includeDeviceAndBrowserInfo\" : false,\n \"addRawAcquirerResult\" : false,\n \"includeCardBin\" : false,\n \"includeFundingSource\" : false,\n \"includeThreeDS2ChallengeInformation\" : false,\n \"includeRiskProfile\" : false,\n \"includeRealtimeAccountUpdaterStatus\" : false,\n \"includeDunningProjectData\" : false,\n \"includePaymentResultInOrderClosedNotification\" : false,\n \"includeCardBinDetails\" : false,\n \"includeNotesInManualReviewNotifications\" : false,\n \"includeZeroAuthFlag\" : false,\n \"addCaptureReferenceToDisputeNotification\" : false,\n \"includePayPalDetails\" : false,\n \"includeRawThreeDSecureDetailsResult\" : false,\n \"includeBankVerificationResults\" : false,\n \"includeCaptureDelayHours\" : false,\n \"addPaymentAccountReference\" : false,\n \"includePayULatamDetails\" : false,\n \"includeStore\" : false,\n \"returnAvsData\" : false,\n \"includeWeChatPayOpenid\" : false,\n \"includeUpiVpa\" : false,\n \"includeCustomRoutingFlagging\" : false,\n \"includeTokenisedPaymentMetaData\" : false\n }\n },\n \"_links\" : {\n \"self\" : {\n \"href\" : \"https://management-test.adyen.com/v1/companies/YOUR_COMPANY_ACCOUNT/webhooks/S2-6933523D2772\"\n },\n \"company\" : {\n \"href\" : \"https://management-test.adyen.com/v1/companies/YOUR_COMPANY_ACCOUNT\"\n },\n \"generateHmac\" : {\n \"href\" : \"https://management-test.adyen.com/v1/companies/YOUR_COMPANY_ACCOUNT/webhooks/S2-6933523D2772/generateHmac\"\n },\n \"testWebhook\" : {\n \"href\" : \"https://management-test.adyen.com/v1/companies/YOUR_COMPANY_ACCOUNT/webhooks/S2-6933523D2772/test\"\n }\n }\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"type\" : \"standard\",\n \"url\" : \"YOUR_WEBHOOK_URL\",\n \"username\" : \"YOUR_USER\",\n \"password\" : \"YOUR_PASSWORD\",\n \"active\" : true,\n \"communicationFormat\" : \"soap\",\n \"acceptsExpiredCertificate\" : false,\n \"acceptsSelfSignedCertificate\" : true,\n \"acceptsUntrustedRootCertificate\" : true,\n \"populateSoapActionHeader\" : false,\n \"filterMerchantAccountType\" : \"includeAccounts\",\n \"filterMerchantAccounts\" : [ \"{{YOUR_MERCHANT_ACCOUNT}}\" ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/companies/:companyId/webhooks", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "companies", + ":companyId", + "webhooks" + ], + "variable": [ + { + "key": "companyId", + "value": "{{YOUR_COMPANY_ACCOUNT}}", + "description": "Unique identifier of the [company account](https://docs.adyen.com/account/account-structure#company-account)." + } + ], + "query": [ + ] + }, + "description": "Subscribe to receive webhook notifications about events related to your company account. You can add basic authentication to make sure the data is secure. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Webhooks read and write" +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"type\" : \"standard\",\n \"url\" : \"YOUR_WEBHOOK_URL\",\n \"username\" : \"YOUR_USER\",\n \"password\" : \"YOUR_PASSWORD\",\n \"active\" : true,\n \"communicationFormat\" : \"soap\",\n \"acceptsExpiredCertificate\" : false,\n \"acceptsSelfSignedCertificate\" : true,\n \"acceptsUntrustedRootCertificate\" : true,\n \"populateSoapActionHeader\" : false,\n \"filterMerchantAccountType\" : \"includeAccounts\",\n \"filterMerchantAccounts\" : [ \"{{YOUR_MERCHANT_ACCOUNT}}\" ]\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/companies/:companyId/webhooks", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "companies", - ":companyId", - "webhooks" - ], - "variable": [ - { - "key": "companyId", - "value": "{{YOUR_COMPANY_ACCOUNT}}", - "description": "Unique identifier of the [company account](https://docs.adyen.com/account/account-structure#company-account)." - } - ], - "query": [ - ] - }, - "description": "Subscribe to receive webhook notifications about events related to your company account. You can add basic authentication to make sure the data is secure. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Webhooks read and write" - } + ] } ] - } -, + }, { "name": "/companies/:companyId/webhooks/:webhookId", "description": "Remove the configuration for the webhook identified in the path. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Webhooks read and write", @@ -5578,56 +7605,57 @@ { "name": "Remove a webhook", "request": { - "method": "DELETE", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/companies/:companyId/webhooks/:webhookId", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "companies", - ":companyId", - "webhooks", - ":webhookId" - ], - "variable": [ - { - "key": "companyId", - "value": "{{YOUR_COMPANY_ACCOUNT}}", - "description": "The unique identifier of the company account." - }, - { - "key": "webhookId", - "value": "", - "description": "Unique identifier of the webhook configuration." - } - ], - "query": [ - ] - }, - "description": "Remove the configuration for the webhook identified in the path. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Webhooks read and write" - } + "method": "DELETE", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/companies/:companyId/webhooks/:webhookId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "companies", + ":companyId", + "webhooks", + ":webhookId" + ], + "variable": [ + { + "key": "companyId", + "value": "{{YOUR_COMPANY_ACCOUNT}}", + "description": "The unique identifier of the company account." + }, + { + "key": "webhookId", + "value": "", + "description": "Unique identifier of the webhook configuration." + } + ], + "query": [ + ] + }, + "description": "Remove the configuration for the webhook identified in the path. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Webhooks read and write" +} + ,"response": [ + ] } ] - } -, + }, { "name": "/companies/:companyId/webhooks/:webhookId", "description": "Returns the configuration for the webhook identified in the path. To make this request, your API credential must have one of the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Webhooks read * Management API—Webhooks read and write", @@ -5635,56 +7663,57 @@ { "name": "Get a webhook", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/companies/:companyId/webhooks/:webhookId", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "companies", - ":companyId", - "webhooks", - ":webhookId" - ], - "variable": [ - { - "key": "companyId", - "value": "{{YOUR_COMPANY_ACCOUNT}}", - "description": "Unique identifier of the [company account](https://docs.adyen.com/account/account-structure#company-account)." - }, - { - "key": "webhookId", - "value": "", - "description": "Unique identifier of the webhook configuration." - } - ], - "query": [ - ] - }, - "description": "Returns the configuration for the webhook identified in the path. To make this request, your API credential must have one of the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Webhooks read * Management API—Webhooks read and write" - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/companies/:companyId/webhooks/:webhookId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "companies", + ":companyId", + "webhooks", + ":webhookId" + ], + "variable": [ + { + "key": "companyId", + "value": "{{YOUR_COMPANY_ACCOUNT}}", + "description": "Unique identifier of the [company account](https://docs.adyen.com/account/account-structure#company-account)." + }, + { + "key": "webhookId", + "value": "", + "description": "Unique identifier of the webhook configuration." + } + ], + "query": [ + ] + }, + "description": "Returns the configuration for the webhook identified in the path. To make this request, your API credential must have one of the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Webhooks read * Management API—Webhooks read and write" +} + ,"response": [ + ] } ] - } -, + }, { "name": "/companies/:companyId/webhooks/:webhookId", "description": "Make changes to the configuration of the webhook identified in the path. The request contains the new values you want to have in the webhook configuration. The response contains the full configuration for the webhook, which includes the new values from the request. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Webhooks read and write", @@ -5692,62 +7721,127 @@ { "name": "Activate the webhook", "request": { - "method": "PATCH", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"active\" : true\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/companies/:companyId/webhooks/:webhookId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "companies", + ":companyId", + "webhooks", + ":webhookId" + ], + "variable": [ + { + "key": "companyId", + "value": "{{YOUR_COMPANY_ACCOUNT}}", + "description": "The unique identifier of the company account." + }, + { + "key": "webhookId", + "value": "", + "description": "Unique identifier of the webhook configuration." + } + ], + "query": [ + ] + }, + "description": "Make changes to the configuration of the webhook identified in the path. The request contains the new values you want to have in the webhook configuration. The response contains the full configuration for the webhook, which includes the new values from the request. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Webhooks read and write" +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"id\" : \"S2-4A3B33202A46\",\n \"type\" : \"standard\",\n \"url\" : \"YOUR_WEBHOOK_URL\",\n \"description\" : \"Webhook for YOUR_COMPANY_ACCOUNT - YOUR_COMPANY_CODE\",\n \"filterMerchantAccountType\" : \"allAccounts\",\n \"username\" : \"\",\n \"hasPassword\" : false,\n \"active\" : true,\n \"hasError\" : false,\n \"communicationFormat\" : \"json\",\n \"acceptsExpiredCertificate\" : false,\n \"acceptsSelfSignedCertificate\" : false,\n \"acceptsUntrustedRootCertificate\" : false,\n \"populateSoapActionHeader\" : false,\n \"additionalSettings\" : {\n \"properties\" : {\n \"includePosTerminalInfo\" : false,\n \"includeARN\" : false,\n \"includePosDetails\" : false,\n \"includeCardInfoForRecurringContractNotification\" : false,\n \"includeRiskData\" : false,\n \"includeRiskExperimentReference\" : false,\n \"includeSoapSecurityHeader\" : false,\n \"includeContactlessWalletTokenInformation\" : false,\n \"includeAcquirerReference\" : false,\n \"includeRiskProfileReference\" : false,\n \"includeOriginalMerchantReferenceCancelOrRefundNotification\" : false,\n \"includeNfcTokenInformation\" : false,\n \"includeSubvariant\" : false,\n \"includeThreeDSVersion\" : false,\n \"includeInstallmentsInfo\" : false,\n \"includeAliasInfo\" : false,\n \"includeShopperCountry\" : false,\n \"includeRawThreeDSecureResult\" : false,\n \"includeAirlineData\" : false,\n \"includeGrossCurrencyChargebackDetails\" : false,\n \"includeThreeDSecureResult\" : false,\n \"includeMetadataIn3DSecurePaymentNotification\" : false,\n \"includeOriginalReferenceForChargebackReversed\" : false,\n \"addAcquirerResult\" : false,\n \"includeDeliveryAddress\" : false,\n \"includeRetryAttempts\" : false,\n \"includeExtraCosts\" : false,\n \"includeCardHolderName\" : false,\n \"includeShopperDetail\" : false,\n \"includeBankAccountDetails\" : false,\n \"includeMandateDetails\" : false,\n \"includeAuthAmountForDynamicZeroAuth\" : false,\n \"includeIssuerCountry\" : false,\n \"includeAcquirerErrorDetails\" : false,\n \"includeCoBrandedWith\" : false,\n \"includeShopperInteraction\" : false,\n \"includeDeviceAndBrowserInfo\" : false,\n \"addRawAcquirerResult\" : false,\n \"includeCardBin\" : false,\n \"includeFundingSource\" : false,\n \"includeThreeDS2ChallengeInformation\" : false,\n \"includeRiskProfile\" : false,\n \"includeRealtimeAccountUpdaterStatus\" : false,\n \"includeDunningProjectData\" : false,\n \"includePaymentResultInOrderClosedNotification\" : false,\n \"includeCardBinDetails\" : false,\n \"includeNotesInManualReviewNotifications\" : false,\n \"includeZeroAuthFlag\" : false,\n \"addCaptureReferenceToDisputeNotification\" : false,\n \"includePayPalDetails\" : false,\n \"includeRawThreeDSecureDetailsResult\" : false,\n \"includeBankVerificationResults\" : false,\n \"includeCaptureDelayHours\" : false,\n \"addPaymentAccountReference\" : false,\n \"includePayULatamDetails\" : false,\n \"includeStore\" : false,\n \"returnAvsData\" : false,\n \"includeWeChatPayOpenid\" : false,\n \"includeUpiVpa\" : false,\n \"includeCustomRoutingFlagging\" : false,\n \"includeTokenisedPaymentMetaData\" : false\n }\n },\n \"_links\" : {\n \"self\" : {\n \"href\" : \"https://management-test.adyen.com/v1/companies/YOUR_COMPANY_ACCOUNT/webhooks/S2-4A3B33202A46\"\n },\n \"company\" : {\n \"href\" : \"https://management-test.adyen.com/v1/companies/YOUR_COMPANY_ACCOUNT\"\n },\n \"generateHmac\" : {\n \"href\" : \"https://management-test.adyen.com/v1/companies/YOUR_COMPANY_ACCOUNT/webhooks/S2-4A3B33202A46/generateHmac\"\n },\n \"testWebhook\" : {\n \"href\" : \"https://management-test.adyen.com/v1/companies/YOUR_COMPANY_ACCOUNT/webhooks/S2-4A3B33202A46/test\"\n }\n }\n}", + "originalRequest": { + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"active\" : true\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/companies/:companyId/webhooks/:webhookId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "companies", + ":companyId", + "webhooks", + ":webhookId" + ], + "variable": [ + { + "key": "companyId", + "value": "{{YOUR_COMPANY_ACCOUNT}}", + "description": "The unique identifier of the company account." + }, + { + "key": "webhookId", + "value": "", + "description": "Unique identifier of the webhook configuration." + } + ], + "query": [ + ] + }, + "description": "Make changes to the configuration of the webhook identified in the path. The request contains the new values you want to have in the webhook configuration. The response contains the full configuration for the webhook, which includes the new values from the request. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Webhooks read and write" +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"active\" : true\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/companies/:companyId/webhooks/:webhookId", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "companies", - ":companyId", - "webhooks", - ":webhookId" - ], - "variable": [ - { - "key": "companyId", - "value": "{{YOUR_COMPANY_ACCOUNT}}", - "description": "The unique identifier of the company account." - }, - { - "key": "webhookId", - "value": "", - "description": "Unique identifier of the webhook configuration." - } - ], - "query": [ - ] - }, - "description": "Make changes to the configuration of the webhook identified in the path. The request contains the new values you want to have in the webhook configuration. The response contains the full configuration for the webhook, which includes the new values from the request. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Webhooks read and write" - } + ] } ] - } -, + }, { "name": "/companies/:companyId/webhooks/:webhookId/generateHmac", "description": "Returns an [HMAC key](https://en.wikipedia.org/wiki/HMAC) for the webhook identified in the path. This key allows you to check the integrity and the origin of the notifications you receive.By creating an HMAC key, you start receiving [HMAC-signed notifications](https://docs.adyen.com/development-resources/webhooks/verify-hmac-signatures#enable-hmac-signatures) from Adyen. Find out more about how to [verify HMAC signatures](https://docs.adyen.com/development-resources/webhooks/verify-hmac-signatures). To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Webhooks read and write", @@ -5755,57 +7849,58 @@ { "name": "Generate an HMAC key", "request": { - "method": "POST", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/companies/:companyId/webhooks/:webhookId/generateHmac", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "companies", - ":companyId", - "webhooks", - ":webhookId", - "generateHmac" - ], - "variable": [ - { - "key": "companyId", - "value": "{{YOUR_COMPANY_ACCOUNT}}", - "description": "The unique identifier of the company account." - }, - { - "key": "webhookId", - "value": "", - "description": "Unique identifier of the webhook configuration." - } - ], - "query": [ - ] - }, - "description": "Returns an [HMAC key](https://en.wikipedia.org/wiki/HMAC) for the webhook identified in the path. This key allows you to check the integrity and the origin of the notifications you receive.By creating an HMAC key, you start receiving [HMAC-signed notifications](https://docs.adyen.com/development-resources/webhooks/verify-hmac-signatures#enable-hmac-signatures) from Adyen. Find out more about how to [verify HMAC signatures](https://docs.adyen.com/development-resources/webhooks/verify-hmac-signatures). To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Webhooks read and write" - } + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/companies/:companyId/webhooks/:webhookId/generateHmac", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "companies", + ":companyId", + "webhooks", + ":webhookId", + "generateHmac" + ], + "variable": [ + { + "key": "companyId", + "value": "{{YOUR_COMPANY_ACCOUNT}}", + "description": "The unique identifier of the company account." + }, + { + "key": "webhookId", + "value": "", + "description": "Unique identifier of the webhook configuration." + } + ], + "query": [ + ] + }, + "description": "Returns an [HMAC key](https://en.wikipedia.org/wiki/HMAC) for the webhook identified in the path. This key allows you to check the integrity and the origin of the notifications you receive.By creating an HMAC key, you start receiving [HMAC-signed notifications](https://docs.adyen.com/development-resources/webhooks/verify-hmac-signatures#enable-hmac-signatures) from Adyen. Find out more about how to [verify HMAC signatures](https://docs.adyen.com/development-resources/webhooks/verify-hmac-signatures). To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Webhooks read and write" +} + ,"response": [ + ] } ] - } -, + }, { "name": "/companies/:companyId/webhooks/:webhookId/test", "description": "Sends sample notifications to test if the webhook is set up correctly. We send sample notifications for maximum 20 of the merchant accounts that the webhook is configured for. If the webhook is configured for more than 20 merchant accounts, use the `merchantIds` array to specify a subset of the merchant accounts for which to send test notifications. We send four test notifications for each event code you choose. They cover success and failure scenarios for the hard-coded currencies EUR and GBP, regardless of the currencies configured in the merchant accounts. For custom notifications, we only send the specified custom notification. The response describes the result of the test. The `status` field tells you if the test was successful or not. You can use the other response fields to troubleshoot unsuccessful tests. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Webhooks read and write", @@ -5813,63 +7908,129 @@ { "name": "Test a webhook notification", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"notification\" : {\n \"paymentMethod\" : \"visa\",\n \"eventCode\" : \"AUTHORISATION\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 2000\n },\n \"reason\" : \"Authorize visa payment\",\n \"success\" : true\n },\n \"types\" : [ \"CUSTOM\" ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/companies/:companyId/webhooks/:webhookId/test", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "companies", + ":companyId", + "webhooks", + ":webhookId", + "test" + ], + "variable": [ + { + "key": "companyId", + "value": "{{YOUR_COMPANY_ACCOUNT}}", + "description": "The unique identifier of the company account." + }, + { + "key": "webhookId", + "value": "", + "description": "Unique identifier of the webhook configuration." + } + ], + "query": [ + ] + }, + "description": "Sends sample notifications to test if the webhook is set up correctly. We send sample notifications for maximum 20 of the merchant accounts that the webhook is configured for. If the webhook is configured for more than 20 merchant accounts, use the `merchantIds` array to specify a subset of the merchant accounts for which to send test notifications. We send four test notifications for each event code you choose. They cover success and failure scenarios for the hard-coded currencies EUR and GBP, regardless of the currencies configured in the merchant accounts. For custom notifications, we only send the specified custom notification. The response describes the result of the test. The `status` field tells you if the test was successful or not. You can use the other response fields to troubleshoot unsuccessful tests. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Webhooks read and write" +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"data\" : [ {\n \"merchantId\" : \"YOUR_MERCHANT_ACCOUNT_AU\",\n \"output\" : \"\",\n \"requestSent\" : \"{\\"live\\":\\"false\\",\\"notificationItems\\":[{\\"NotificationRequestItem\\":{\\"amount\\":{\\"currency\\":\\"EUR\\",\\"value\\":100},\\"eventCode\\":\\"AUTHORISATION\\",\\"eventDate\\":\\"2022-05-10T16:57:19+02:00\\",\\"merchantAccountCode\\":\\"YOUR_MERCHANT_ACCOUNT_AU\\",\\"merchantReference\\":\\"6GZBF5ML\\",\\"operations\\":[\\"CANCEL\\",\\"CAPTURE\\",\\"REFUND\\"],\\"paymentMethod\\":\\"visa\\",\\"pspReference\\":\\"KDN7UP7S1JIK6XES\\",\\"reason\\":\\"\\",\\"success\\":\\"true\\"}}]}\",\n \"responseCode\" : \"200\",\n \"responseTime\" : \"657 ms\",\n \"status\" : \"success\"\n }, {\n \"merchantId\" : \"YOUR_MERCHANT_ACCOUNT_EU\",\n \"output\" : \"\",\n \"requestSent\" : \"{\\"live\\":\\"false\\",\\"notificationItems\\":[{\\"NotificationRequestItem\\":{\\"amount\\":{\\"currency\\":\\"EUR\\",\\"value\\":100},\\"eventCode\\":\\"AUTHORISATION\\",\\"eventDate\\":\\"2022-05-10T16:57:19+02:00\\",\\"merchantAccountCode\\":\\"YOUR_MERCHANT_ACCOUNT_EU\\",\\"merchantReference\\":\\"6GZBF5ML\\",\\"operations\\":[\\"CANCEL\\",\\"CAPTURE\\",\\"REFUND\\"],\\"paymentMethod\\":\\"visa\\",\\"pspReference\\":\\"KDN7UP7S1JIK6XES\\",\\"reason\\":\\"\\",\\"success\\":\\"true\\"}}]}\",\n \"responseCode\" : \"200\",\n \"responseTime\" : \"590 ms\",\n \"status\" : \"success\"\n }, {\n \"merchantId\" : \"YOUR_MERCHANT_ACCOUNT_US\",\n \"output\" : \"\",\n \"requestSent\" : \"{\\"live\\":\\"false\\",\\"notificationItems\\":[{\\"NotificationRequestItem\\":{\\"amount\\":{\\"currency\\":\\"EUR\\",\\"value\\":100},\\"eventCode\\":\\"AUTHORISATION\\",\\"eventDate\\":\\"2022-05-10T16:57:19+02:00\\",\\"merchantAccountCode\\":\\"YOUR_MERCHANT_ACCOUNT_US\\",\\"merchantReference\\":\\"6GZBF5ML\\",\\"operations\\":[\\"CANCEL\\",\\"CAPTURE\\",\\"REFUND\\"],\\"paymentMethod\\":\\"visa\\",\\"pspReference\\":\\"KDN7UP7S1JIK6XES\\",\\"reason\\":\\"\\",\\"success\\":\\"true\\"}}]}\",\n \"responseCode\" : \"200\",\n \"responseTime\" : \"248 ms\",\n \"status\" : \"success\"\n } ]\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"notification\" : {\n \"paymentMethod\" : \"visa\",\n \"eventCode\" : \"AUTHORISATION\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 2000\n },\n \"reason\" : \"Authorize visa payment\",\n \"success\" : true\n },\n \"types\" : [ \"CUSTOM\" ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/companies/:companyId/webhooks/:webhookId/test", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "companies", + ":companyId", + "webhooks", + ":webhookId", + "test" + ], + "variable": [ + { + "key": "companyId", + "value": "{{YOUR_COMPANY_ACCOUNT}}", + "description": "The unique identifier of the company account." + }, + { + "key": "webhookId", + "value": "", + "description": "Unique identifier of the webhook configuration." + } + ], + "query": [ + ] + }, + "description": "Sends sample notifications to test if the webhook is set up correctly. We send sample notifications for maximum 20 of the merchant accounts that the webhook is configured for. If the webhook is configured for more than 20 merchant accounts, use the `merchantIds` array to specify a subset of the merchant accounts for which to send test notifications. We send four test notifications for each event code you choose. They cover success and failure scenarios for the hard-coded currencies EUR and GBP, regardless of the currencies configured in the merchant accounts. For custom notifications, we only send the specified custom notification. The response describes the result of the test. The `status` field tells you if the test was successful or not. You can use the other response fields to troubleshoot unsuccessful tests. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Webhooks read and write" +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"notification\" : {\n \"paymentMethod\" : \"visa\",\n \"eventCode\" : \"AUTHORISATION\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 2000\n },\n \"reason\" : \"Authorize visa payment\",\n \"success\" : true\n },\n \"types\" : [ \"CUSTOM\" ]\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/companies/:companyId/webhooks/:webhookId/test", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "companies", - ":companyId", - "webhooks", - ":webhookId", - "test" - ], - "variable": [ - { - "key": "companyId", - "value": "{{YOUR_COMPANY_ACCOUNT}}", - "description": "The unique identifier of the company account." - }, - { - "key": "webhookId", - "value": "", - "description": "Unique identifier of the webhook configuration." - } - ], - "query": [ - ] - }, - "description": "Sends sample notifications to test if the webhook is set up correctly. We send sample notifications for maximum 20 of the merchant accounts that the webhook is configured for. If the webhook is configured for more than 20 merchant accounts, use the `merchantIds` array to specify a subset of the merchant accounts for which to send test notifications. We send four test notifications for each event code you choose. They cover success and failure scenarios for the hard-coded currencies EUR and GBP, regardless of the currencies configured in the merchant accounts. For custom notifications, we only send the specified custom notification. The response describes the result of the test. The `status` field tells you if the test was successful or not. You can use the other response fields to troubleshoot unsuccessful tests. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Webhooks read and write" - } + ] } ] } - ] }, { @@ -5882,68 +8043,69 @@ { "name": "Get a list of stores", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/merchants/:merchantId/stores", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "merchants", - ":merchantId", - "stores" - ], - "variable": [ - { - "key": "merchantId", - "value": "{{YOUR_MERCHANT_ACCOUNT}}", - "description": "The unique identifier of the merchant account." - } - ], - "query": [ - { - "key": "pageNumber", - "value": "56", - "description": "The number of the page to fetch.", - "disabled": true - }, - { - "key": "pageSize", - "value": "56", - "description": "The number of items to have on a page, maximum 100. The default is 10 items on a page.", - "disabled": true - }, - { - "key": "reference", - "value": "reference_example", - "description": "The reference of the store.", - "disabled": true - } - ] - }, - "description": "Returns a list of stores for the merchant account identified in the path. The list is grouped into pages as defined by the query parameters. To make this request, your API credential must have one of the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Stores read * Management API—Stores read and write" - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/merchants/:merchantId/stores", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "merchants", + ":merchantId", + "stores" + ], + "variable": [ + { + "key": "merchantId", + "value": "{{YOUR_MERCHANT_ACCOUNT}}", + "description": "The unique identifier of the merchant account." + } + ], + "query": [ + { + "key": "pageNumber", + "value": "56", + "description": "The number of the page to fetch.", + "disabled": true + }, + { + "key": "pageSize", + "value": "56", + "description": "The number of items to have on a page, maximum 100. The default is 10 items on a page.", + "disabled": true + }, + { + "key": "reference", + "value": "reference_example", + "description": "The reference of the store.", + "disabled": true + } + ] + }, + "description": "Returns a list of stores for the merchant account identified in the path. The list is grouped into pages as defined by the query parameters. To make this request, your API credential must have one of the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Stores read * Management API—Stores read and write" +} + ,"response": [ + ] } ] - } -, + }, { "name": "/merchants/:merchantId/stores", "description": "Creates a store for the merchant account identified in the path. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Stores read and write", @@ -5951,56 +8113,115 @@ { "name": "Create a store under the merchant account specified in the path.", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"description\" : \"City centre store\",\n \"shopperStatement\" : \"Springfield Shop\",\n \"phoneNumber\" : \"1813702551707653\",\n \"reference\" : \"Spring_store_2\",\n \"address\" : {\n \"country\" : \"US\",\n \"line1\" : \"200 Main Street\",\n \"line2\" : \"Building 5A\",\n \"line3\" : \"Suite 3\",\n \"city\" : \"Springfield\",\n \"stateOrProvince\" : \"NY\",\n \"postalCode\" : \"20250\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/merchants/:merchantId/stores", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "merchants", + ":merchantId", + "stores" + ], + "variable": [ + { + "key": "merchantId", + "value": "{{YOUR_MERCHANT_ACCOUNT}}", + "description": "The unique identifier of the merchant account." + } + ], + "query": [ + ] + }, + "description": "Creates a store for the merchant account identified in the path. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Stores read and write" +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"id\" : \"YOUR_STORE_ID\",\n \"address\" : {\n \"country\" : \"US\",\n \"line1\" : \"200 Main Street\",\n \"line2\" : \"Building 5A\",\n \"line3\" : \"Suite 3\",\n \"city\" : \"Springfield\",\n \"stateOrProvince\" : \"NY\",\n \"postalCode\" : \"20250\"\n },\n \"description\" : \"City centre store\",\n \"merchantId\" : \"YOUR_MERCHANT_ACCOUNT_ID\",\n \"shopperStatement\" : \"Springfield Shop\",\n \"phoneNumber\" : \"1813702551707653\",\n \"reference\" : \"Spring_store_2\",\n \"status\" : \"active\",\n \"_links\" : {\n \"self\" : {\n \"href\" : \"https://management-test.adyen.com/v1/stores/YOUR_STORE_ID\"\n }\n }\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"description\" : \"City centre store\",\n \"shopperStatement\" : \"Springfield Shop\",\n \"phoneNumber\" : \"1813702551707653\",\n \"reference\" : \"Spring_store_2\",\n \"address\" : {\n \"country\" : \"US\",\n \"line1\" : \"200 Main Street\",\n \"line2\" : \"Building 5A\",\n \"line3\" : \"Suite 3\",\n \"city\" : \"Springfield\",\n \"stateOrProvince\" : \"NY\",\n \"postalCode\" : \"20250\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/merchants/:merchantId/stores", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "merchants", + ":merchantId", + "stores" + ], + "variable": [ + { + "key": "merchantId", + "value": "{{YOUR_MERCHANT_ACCOUNT}}", + "description": "The unique identifier of the merchant account." + } + ], + "query": [ + ] + }, + "description": "Creates a store for the merchant account identified in the path. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Stores read and write" +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"description\" : \"City centre store\",\n \"shopperStatement\" : \"Springfield Shop\",\n \"phoneNumber\" : \"1813702551707653\",\n \"reference\" : \"Spring_store_2\",\n \"address\" : {\n \"country\" : \"US\",\n \"line1\" : \"200 Main Street\",\n \"line2\" : \"Building 5A\",\n \"line3\" : \"Suite 3\",\n \"city\" : \"Springfield\",\n \"stateOrProvince\" : \"NY\",\n \"postalCode\" : \"20250\"\n }\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/merchants/:merchantId/stores", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "merchants", - ":merchantId", - "stores" - ], - "variable": [ - { - "key": "merchantId", - "value": "{{YOUR_MERCHANT_ACCOUNT}}", - "description": "The unique identifier of the merchant account." - } - ], - "query": [ - ] - }, - "description": "Creates a store for the merchant account identified in the path. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Stores read and write" - } + ] } ] - } -, + }, { "name": "/merchants/:merchantId/stores/:storeId", "description": "Returns the details of the store identified in the path. To make this request, your API credential must have one of the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Stores read * Management API—Stores read and write", @@ -6008,56 +8229,57 @@ { "name": "Get a store", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/merchants/:merchantId/stores/:storeId", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "merchants", - ":merchantId", - "stores", - ":storeId" - ], - "variable": [ - { - "key": "merchantId", - "value": "{{YOUR_MERCHANT_ACCOUNT}}", - "description": "The unique identifier of the merchant account." - }, - { - "key": "storeId", - "value": "", - "description": "The unique identifier of the store." - } - ], - "query": [ - ] - }, - "description": "Returns the details of the store identified in the path. To make this request, your API credential must have one of the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Stores read * Management API—Stores read and write" - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/merchants/:merchantId/stores/:storeId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "merchants", + ":merchantId", + "stores", + ":storeId" + ], + "variable": [ + { + "key": "merchantId", + "value": "{{YOUR_MERCHANT_ACCOUNT}}", + "description": "The unique identifier of the merchant account." + }, + { + "key": "storeId", + "value": "", + "description": "The unique identifier of the store." + } + ], + "query": [ + ] + }, + "description": "Returns the details of the store identified in the path. To make this request, your API credential must have one of the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Stores read * Management API—Stores read and write" +} + ,"response": [ + ] } ] - } -, + }, { "name": "/merchants/:merchantId/stores/:storeId", "description": "Updates the store identified in the path. You can only update some store parameters. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Stores read and write", @@ -6065,118 +8287,249 @@ { "name": "Update store address.", "request": { - "method": "PATCH", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"address\" : {\n \"line1\" : \"1776 West Pinewood Avenue\",\n \"line2\" : \"Heartland Building\",\n \"line3\" : \"\",\n \"postalCode\" : \"20251\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/merchants/:merchantId/stores/:storeId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "merchants", + ":merchantId", + "stores", + ":storeId" + ], + "variable": [ + { + "key": "merchantId", + "value": "{{YOUR_MERCHANT_ACCOUNT}}", + "description": "The unique identifier of the merchant account." + }, + { + "key": "storeId", + "value": "", + "description": "The unique identifier of the store." + } + ], + "query": [ + ] + }, + "description": "Updates the store identified in the path. You can only update some store parameters. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Stores read and write" +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"id\" : \"YOUR_STORE_ID\",\n \"address\" : {\n \"country\" : \"US\",\n \"line1\" : \"1776 West Pinewood Avenue\",\n \"line2\" : \"Heartland Building\",\n \"line3\" : \"\",\n \"city\" : \"Springfield\",\n \"stateOrProvince\" : \"NY\",\n \"postalCode\" : \"20251\"\n },\n \"description\" : \"City centre store\",\n \"merchantId\" : \"YOUR_MERCHANT_ACCOUNT_ID\",\n \"shopperStatement\" : \"Springfield Shop\",\n \"phoneNumber\" : \"+1813702551707653\",\n \"reference\" : \"Spring_store_2\",\n \"status\" : \"active\",\n \"_links\" : {\n \"self\" : {\n \"href\" : \"https://management-test.adyen.com/v1/stores/YOUR_STORE_ID\"\n }\n }\n}", + "originalRequest": { + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"address\" : {\n \"line1\" : \"1776 West Pinewood Avenue\",\n \"line2\" : \"Heartland Building\",\n \"line3\" : \"\",\n \"postalCode\" : \"20251\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/merchants/:merchantId/stores/:storeId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "merchants", + ":merchantId", + "stores", + ":storeId" + ], + "variable": [ + { + "key": "merchantId", + "value": "{{YOUR_MERCHANT_ACCOUNT}}", + "description": "The unique identifier of the merchant account." + }, + { + "key": "storeId", + "value": "", + "description": "The unique identifier of the store." + } + ], + "query": [ + ] + }, + "description": "Updates the store identified in the path. You can only update some store parameters. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Stores read and write" +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"address\" : {\n \"line1\" : \"1776 West Pinewood Avenue\",\n \"line2\" : \"Heartland Building\",\n \"line3\" : \"\",\n \"postalCode\" : \"20251\"\n }\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/merchants/:merchantId/stores/:storeId", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "merchants", - ":merchantId", - "stores", - ":storeId" - ], - "variable": [ - { - "key": "merchantId", - "value": "{{YOUR_MERCHANT_ACCOUNT}}", - "description": "The unique identifier of the merchant account." - }, - { - "key": "storeId", - "value": "", - "description": "The unique identifier of the store." - } - ], - "query": [ - ] - }, - "description": "Updates the store identified in the path. You can only update some store parameters. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Stores read and write" - } + ] }, { "name": "Add split configuration to store", "request": { - "method": "PATCH", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"splitConfiguration\" : {\n \"balanceAccountId\" : \"BA3227C223222H5HQ2XX77VVH\",\n \"splitConfigurationId\" : \"SCNF4224P22322585HPCX384JV6JGX\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/merchants/:merchantId/stores/:storeId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "merchants", + ":merchantId", + "stores", + ":storeId" + ], + "variable": [ + { + "key": "merchantId", + "value": "{{YOUR_MERCHANT_ACCOUNT}}", + "description": "The unique identifier of the merchant account." + }, + { + "key": "storeId", + "value": "", + "description": "The unique identifier of the store." + } + ], + "query": [ + ] + }, + "description": "Updates the store identified in the path. You can only update some store parameters. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Stores read and write" +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"id\" : \"YOUR_STORE_ID\",\n \"address\" : {\n \"country\" : \"US\",\n \"line1\" : \"1776 West Pinewood Avenue\",\n \"line2\" : \"Heartland Building\",\n \"line3\" : \"\",\n \"city\" : \"Springfield\",\n \"stateOrProvince\" : \"NY\",\n \"postalCode\" : \"20251\"\n },\n \"description\" : \"City centre store\",\n \"merchantId\" : \"YOUR_MERCHANT_ACCOUNT_ID\",\n \"shopperStatement\" : \"Springfield Shop\",\n \"phoneNumber\" : \"+1813702551707653\",\n \"reference\" : \"Spring_store_2\",\n \"splitConfiguration\" : {\n \"balanceAccountId\" : \"BA3227C223222H5HQ2XX77VVH\",\n \"splitConfigurationId\" : \"SCNF4224P22322585HPCX384JV6JGX\"\n },\n \"status\" : \"active\",\n \"_links\" : {\n \"self\" : {\n \"href\" : \"https://management-test.adyen.com/v1/stores/YOUR_STORE_ID\"\n }\n }\n}", + "originalRequest": { + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"splitConfiguration\" : {\n \"balanceAccountId\" : \"BA3227C223222H5HQ2XX77VVH\",\n \"splitConfigurationId\" : \"SCNF4224P22322585HPCX384JV6JGX\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/merchants/:merchantId/stores/:storeId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "merchants", + ":merchantId", + "stores", + ":storeId" + ], + "variable": [ + { + "key": "merchantId", + "value": "{{YOUR_MERCHANT_ACCOUNT}}", + "description": "The unique identifier of the merchant account." + }, + { + "key": "storeId", + "value": "", + "description": "The unique identifier of the store." + } + ], + "query": [ + ] + }, + "description": "Updates the store identified in the path. You can only update some store parameters. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Stores read and write" +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"splitConfiguration\" : {\n \"balanceAccountId\" : \"BA3227C223222H5HQ2XX77VVH\",\n \"splitConfigurationId\" : \"SCNF4224P22322585HPCX384JV6JGX\"\n }\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/merchants/:merchantId/stores/:storeId", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "merchants", - ":merchantId", - "stores", - ":storeId" - ], - "variable": [ - { - "key": "merchantId", - "value": "{{YOUR_MERCHANT_ACCOUNT}}", - "description": "The unique identifier of the merchant account." - }, - { - "key": "storeId", - "value": "", - "description": "The unique identifier of the store." - } - ], - "query": [ - ] - }, - "description": "Updates the store identified in the path. You can only update some store parameters. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Stores read and write" - } + ] } ] - } -, + }, { "name": "/stores", "description": "Returns a list of stores. The list is grouped into pages as defined by the query parameters. To make this request, your API credential must have one of the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Stores read * Management API—Stores read and write", @@ -6184,67 +8537,68 @@ { "name": "Get a list of stores", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/stores", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "stores" - ], - "variable": [ - ], - "query": [ - { - "key": "pageNumber", - "value": "56", - "description": "The number of the page to fetch.", - "disabled": true - }, - { - "key": "pageSize", - "value": "56", - "description": "The number of items to have on a page, maximum 100. The default is 10 items on a page.", - "disabled": true - }, - { - "key": "reference", - "value": "reference_example", - "description": "The reference of the store.", - "disabled": true - }, - { - "key": "merchantId", - "value": "merchantId_example", - "description": "The unique identifier of the merchant account.", - "disabled": true - } - ] - }, - "description": "Returns a list of stores. The list is grouped into pages as defined by the query parameters. To make this request, your API credential must have one of the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Stores read * Management API—Stores read and write" - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/stores", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "stores" + ], + "variable": [ + ], + "query": [ + { + "key": "pageNumber", + "value": "56", + "description": "The number of the page to fetch.", + "disabled": true + }, + { + "key": "pageSize", + "value": "56", + "description": "The number of items to have on a page, maximum 100. The default is 10 items on a page.", + "disabled": true + }, + { + "key": "reference", + "value": "reference_example", + "description": "The reference of the store.", + "disabled": true + }, + { + "key": "merchantId", + "value": "merchantId_example", + "description": "The unique identifier of the merchant account.", + "disabled": true + } + ] + }, + "description": "Returns a list of stores. The list is grouped into pages as defined by the query parameters. To make this request, your API credential must have one of the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Stores read * Management API—Stores read and write" +} + ,"response": [ + ] } ] - } -, + }, { "name": "/stores", "description": "Creates a store for the merchant account specified in the request. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Stores read and write", @@ -6252,49 +8606,101 @@ { "name": "Create a store", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"merchantId\" : \"{{YOUR_MERCHANT_ACCOUNT}}_ID\",\n \"description\" : \"City centre store\",\n \"shopperStatement\" : \"Springfield Shop\",\n \"phoneNumber\" : \"+1813702551707653\",\n \"reference\" : \"Spring_store_2\",\n \"address\" : {\n \"country\" : \"US\",\n \"line1\" : \"200 Main Street\",\n \"line2\" : \"Building 5A\",\n \"line3\" : \"Suite 3\",\n \"city\" : \"Springfield\",\n \"stateOrProvince\" : \"NY\",\n \"postalCode\" : \"20250\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/stores", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "stores" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates a store for the merchant account specified in the request. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Stores read and write" +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"id\" : \"YOUR_STORE_ID\",\n \"address\" : {\n \"country\" : \"US\",\n \"line1\" : \"200 Main Street\",\n \"line2\" : \"Building 5A\",\n \"line3\" : \"Suite 3\",\n \"city\" : \"Springfield\",\n \"stateOrProvince\" : \"NY\",\n \"postalCode\" : \"20250\"\n },\n \"description\" : \"City centre store\",\n \"merchantId\" : \"YOUR_MERCHANT_ACCOUNT_ID\",\n \"shopperStatement\" : \"Springfield Shop\",\n \"phoneNumber\" : \"+1813702551707653\",\n \"reference\" : \"Spring_store_2\",\n \"status\" : \"active\",\n \"_links\" : {\n \"self\" : {\n \"href\" : \"https://management-test.adyen.com/v1/stores/YOUR_STORE_ID\"\n }\n }\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"merchantId\" : \"{{YOUR_MERCHANT_ACCOUNT}}_ID\",\n \"description\" : \"City centre store\",\n \"shopperStatement\" : \"Springfield Shop\",\n \"phoneNumber\" : \"+1813702551707653\",\n \"reference\" : \"Spring_store_2\",\n \"address\" : {\n \"country\" : \"US\",\n \"line1\" : \"200 Main Street\",\n \"line2\" : \"Building 5A\",\n \"line3\" : \"Suite 3\",\n \"city\" : \"Springfield\",\n \"stateOrProvince\" : \"NY\",\n \"postalCode\" : \"20250\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/stores", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "stores" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates a store for the merchant account specified in the request. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Stores read and write" +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"merchantId\" : \"{{YOUR_MERCHANT_ACCOUNT}}_ID\",\n \"description\" : \"City centre store\",\n \"shopperStatement\" : \"Springfield Shop\",\n \"phoneNumber\" : \"+1813702551707653\",\n \"reference\" : \"Spring_store_2\",\n \"address\" : {\n \"country\" : \"US\",\n \"line1\" : \"200 Main Street\",\n \"line2\" : \"Building 5A\",\n \"line3\" : \"Suite 3\",\n \"city\" : \"Springfield\",\n \"stateOrProvince\" : \"NY\",\n \"postalCode\" : \"20250\"\n }\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/stores", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "stores" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Creates a store for the merchant account specified in the request. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Stores read and write" - } + ] } ] - } -, + }, { "name": "/stores/:storeId", "description": "Returns the details of the store identified in the path. To make this request, your API credential must have one of the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Stores read * Management API—Stores read and write", @@ -6302,49 +8708,50 @@ { "name": "Get a store", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/stores/:storeId", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "stores", - ":storeId" - ], - "variable": [ - { - "key": "storeId", - "value": "", - "description": "The unique identifier of the store." - } - ], - "query": [ - ] - }, - "description": "Returns the details of the store identified in the path. To make this request, your API credential must have one of the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Stores read * Management API—Stores read and write" - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/stores/:storeId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "stores", + ":storeId" + ], + "variable": [ + { + "key": "storeId", + "value": "", + "description": "The unique identifier of the store." + } + ], + "query": [ + ] + }, + "description": "Returns the details of the store identified in the path. To make this request, your API credential must have one of the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Stores read * Management API—Stores read and write" +} + ,"response": [ + ] } ] - } -, + }, { "name": "/stores/:storeId", "description": "Updates the store identified in the path. You can only update some store parameters. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Stores read and write", @@ -6352,104 +8759,164 @@ { "name": "Update store address.", "request": { - "method": "PATCH", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"address\" : {\n \"line1\" : \"1776 West Pinewood Avenue\",\n \"line2\" : \"Heartland Building\",\n \"line3\" : \"\",\n \"postalCode\" : \"20251\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/stores/:storeId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "stores", + ":storeId" + ], + "variable": [ + { + "key": "storeId", + "value": "", + "description": "The unique identifier of the store." + } + ], + "query": [ + ] + }, + "description": "Updates the store identified in the path. You can only update some store parameters. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Stores read and write" +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"id\" : \"YOUR_STORE_ID\",\n \"address\" : {\n \"country\" : \"US\",\n \"line1\" : \"1776 West Pinewood Avenue\",\n \"line2\" : \"Heartland Building\",\n \"line3\" : \"\",\n \"city\" : \"Springfield\",\n \"stateOrProvince\" : \"NY\",\n \"postalCode\" : \"20251\"\n },\n \"description\" : \"City centre store\",\n \"merchantId\" : \"YOUR_MERCHANT_ACCOUNT_ID\",\n \"shopperStatement\" : \"Springfield Shop\",\n \"phoneNumber\" : \"+1813702551707653\",\n \"reference\" : \"Spring_store_2\",\n \"status\" : \"active\",\n \"_links\" : {\n \"self\" : {\n \"href\" : \"https://management-test.adyen.com/v1/stores/YOUR_STORE_ID\"\n }\n }\n}", + "originalRequest": { + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"address\" : {\n \"line1\" : \"1776 West Pinewood Avenue\",\n \"line2\" : \"Heartland Building\",\n \"line3\" : \"\",\n \"postalCode\" : \"20251\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/stores/:storeId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "stores", + ":storeId" + ], + "variable": [ + { + "key": "storeId", + "value": "", + "description": "The unique identifier of the store." + } + ], + "query": [ + ] + }, + "description": "Updates the store identified in the path. You can only update some store parameters. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Stores read and write" +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"address\" : {\n \"line1\" : \"1776 West Pinewood Avenue\",\n \"line2\" : \"Heartland Building\",\n \"line3\" : \"\",\n \"postalCode\" : \"20251\"\n }\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/stores/:storeId", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "stores", - ":storeId" - ], - "variable": [ - { - "key": "storeId", - "value": "", - "description": "The unique identifier of the store." - } - ], - "query": [ - ] - }, - "description": "Updates the store identified in the path. You can only update some store parameters. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Stores read and write" - } + ] }, { "name": "Add split configuration to store", "request": { - "method": "PATCH", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"splitConfiguration\" : {\n \"balanceAccountId\" : \"BA3227C223222H5HQ2XX77VVH\",\n \"splitConfigurationId\" : \"SCNF4224P22322585HPCX384JV6JGX\"\n }\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/stores/:storeId", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "stores", - ":storeId" - ], - "variable": [ - { - "key": "storeId", - "value": "", - "description": "The unique identifier of the store." - } - ], - "query": [ - ] - }, - "description": "Updates the store identified in the path. You can only update some store parameters. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Stores read and write" - } + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"splitConfiguration\" : {\n \"balanceAccountId\" : \"BA3227C223222H5HQ2XX77VVH\",\n \"splitConfigurationId\" : \"SCNF4224P22322585HPCX384JV6JGX\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/stores/:storeId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "stores", + ":storeId" + ], + "variable": [ + { + "key": "storeId", + "value": "", + "description": "The unique identifier of the store." + } + ], + "query": [ + ] + }, + "description": "Updates the store identified in the path. You can only update some store parameters. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Stores read and write" +} + ,"response": [ + ] } ] } - ] }, { @@ -6462,74 +8929,75 @@ { "name": "Get a list of Android apps", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/companies/:companyId/androidApps", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "companies", - ":companyId", - "androidApps" - ], - "variable": [ - { - "key": "companyId", - "value": "{{YOUR_COMPANY_ACCOUNT}}", - "description": "The unique identifier of the company account." - } - ], - "query": [ - { - "key": "pageNumber", - "value": "56", - "description": "The number of the page to fetch.", - "disabled": true - }, - { - "key": "pageSize", - "value": "56", - "description": "The number of items to have on a page, maximum 100. The default is 20 items on a page.", - "disabled": true - }, - { - "key": "packageName", - "value": "packageName_example", - "description": "The package name that uniquely identifies the Android app.", - "disabled": true - }, - { - "key": "versionCode", - "value": "56", - "description": "The version number of the app.", - "disabled": true - } - ] - }, - "description": "Returns a list of the Android apps that are available for the company identified in the path. These apps have been uploaded to Adyen and can be installed or uninstalled on Android payment terminals through [terminal actions](https://docs.adyen.com/point-of-sale/automating-terminal-management/terminal-actions-api). To make this request, your API credential must have one of the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Android files read * Management API—Android files read and write * Management API—Terminal actions read * Management API—Terminal actions read and write" - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/companies/:companyId/androidApps", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "companies", + ":companyId", + "androidApps" + ], + "variable": [ + { + "key": "companyId", + "value": "{{YOUR_COMPANY_ACCOUNT}}", + "description": "The unique identifier of the company account." + } + ], + "query": [ + { + "key": "pageNumber", + "value": "56", + "description": "The number of the page to fetch.", + "disabled": true + }, + { + "key": "pageSize", + "value": "56", + "description": "The number of items to have on a page, maximum 100. The default is 20 items on a page.", + "disabled": true + }, + { + "key": "packageName", + "value": "packageName_example", + "description": "The package name that uniquely identifies the Android app.", + "disabled": true + }, + { + "key": "versionCode", + "value": "56", + "description": "The version number of the app.", + "disabled": true + } + ] + }, + "description": "Returns a list of the Android apps that are available for the company identified in the path. These apps have been uploaded to Adyen and can be installed or uninstalled on Android payment terminals through [terminal actions](https://docs.adyen.com/point-of-sale/automating-terminal-management/terminal-actions-api). To make this request, your API credential must have one of the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Android files read * Management API—Android files read and write * Management API—Terminal actions read * Management API—Terminal actions read and write" +} + ,"response": [ + ] } ] - } -, + }, { "name": "/companies/:companyId/androidApps", "description": "Uploads an Android APK file to Adyen. The maximum APK file size is 200 MB. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Android files read and write >By choosing to upload, install, or run any third-party applications on an Adyen payment terminal, you accept full responsibility and liability for any consequences of uploading, installing, or running any such applications.", @@ -6537,50 +9005,51 @@ { "name": "Upload Android App", "request": { - "method": "POST", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/companies/:companyId/androidApps", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "companies", - ":companyId", - "androidApps" - ], - "variable": [ - { - "key": "companyId", - "value": "{{YOUR_COMPANY_ACCOUNT}}", - "description": "The unique identifier of the company account." - } - ], - "query": [ - ] - }, - "description": "Uploads an Android APK file to Adyen. The maximum APK file size is 200 MB. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Android files read and write >By choosing to upload, install, or run any third-party applications on an Adyen payment terminal, you accept full responsibility and liability for any consequences of uploading, installing, or running any such applications." - } + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/companies/:companyId/androidApps", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "companies", + ":companyId", + "androidApps" + ], + "variable": [ + { + "key": "companyId", + "value": "{{YOUR_COMPANY_ACCOUNT}}", + "description": "The unique identifier of the company account." + } + ], + "query": [ + ] + }, + "description": "Uploads an Android APK file to Adyen. The maximum APK file size is 200 MB. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Android files read and write >By choosing to upload, install, or run any third-party applications on an Adyen payment terminal, you accept full responsibility and liability for any consequences of uploading, installing, or running any such applications." +} + ,"response": [ + ] } ] - } -, + }, { "name": "/companies/:companyId/androidApps/:id", "description": "Returns the details of the Android app identified in the path. These apps have been uploaded to Adyen and can be installed or uninstalled on Android payment terminals through [terminal actions](https://docs.adyen.com/point-of-sale/automating-terminal-management/terminal-actions-api). To make this request, your API credential must have one of the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Android files read * Management API—Android files read and write", @@ -6588,56 +9057,57 @@ { "name": "Get Android app", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/companies/:companyId/androidApps/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "companies", - ":companyId", - "androidApps", - ":id" - ], - "variable": [ - { - "key": "companyId", - "value": "{{YOUR_COMPANY_ACCOUNT}}", - "description": "The unique identifier of the company account." - }, - { - "key": "id", - "value": "", - "description": "The unique identifier of the app." - } - ], - "query": [ - ] - }, - "description": "Returns the details of the Android app identified in the path. These apps have been uploaded to Adyen and can be installed or uninstalled on Android payment terminals through [terminal actions](https://docs.adyen.com/point-of-sale/automating-terminal-management/terminal-actions-api). To make this request, your API credential must have one of the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Android files read * Management API—Android files read and write" - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/companies/:companyId/androidApps/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "companies", + ":companyId", + "androidApps", + ":id" + ], + "variable": [ + { + "key": "companyId", + "value": "{{YOUR_COMPANY_ACCOUNT}}", + "description": "The unique identifier of the company account." + }, + { + "key": "id", + "value": "", + "description": "The unique identifier of the app." + } + ], + "query": [ + ] + }, + "description": "Returns the details of the Android app identified in the path. These apps have been uploaded to Adyen and can be installed or uninstalled on Android payment terminals through [terminal actions](https://docs.adyen.com/point-of-sale/automating-terminal-management/terminal-actions-api). To make this request, your API credential must have one of the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Android files read * Management API—Android files read and write" +} + ,"response": [ + ] } ] - } -, + }, { "name": "/companies/:companyId/androidCertificates", "description": "Returns a list of the Android certificates that are available for the company identified in the path. Typically, these certificates enable running apps on Android payment terminals. The certifcates in the list have been uploaded to Adyen and can be installed or uninstalled on Android terminals through [terminal actions](https://docs.adyen.com/point-of-sale/automating-terminal-management/terminal-actions-api). To make this request, your API credential must have one of the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Android files read * Management API—Android files read and write * Management API—Terminal actions read * Management API—Terminal actions read and write", @@ -6645,68 +9115,69 @@ { "name": "Get a list of Android certificates", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/companies/:companyId/androidCertificates", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "companies", - ":companyId", - "androidCertificates" - ], - "variable": [ - { - "key": "companyId", - "value": "{{YOUR_COMPANY_ACCOUNT}}", - "description": "The unique identifier of the company account." - } - ], - "query": [ - { - "key": "pageNumber", - "value": "56", - "description": "The number of the page to fetch.", - "disabled": true - }, - { - "key": "pageSize", - "value": "56", - "description": "The number of items to have on a page, maximum 100. The default is 20 items on a page.", - "disabled": true - }, - { - "key": "certificateName", - "value": "certificateName_example", - "description": "The name of the certificate.", - "disabled": true - } - ] - }, - "description": "Returns a list of the Android certificates that are available for the company identified in the path. Typically, these certificates enable running apps on Android payment terminals. The certifcates in the list have been uploaded to Adyen and can be installed or uninstalled on Android terminals through [terminal actions](https://docs.adyen.com/point-of-sale/automating-terminal-management/terminal-actions-api). To make this request, your API credential must have one of the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Android files read * Management API—Android files read and write * Management API—Terminal actions read * Management API—Terminal actions read and write" - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/companies/:companyId/androidCertificates", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "companies", + ":companyId", + "androidCertificates" + ], + "variable": [ + { + "key": "companyId", + "value": "{{YOUR_COMPANY_ACCOUNT}}", + "description": "The unique identifier of the company account." + } + ], + "query": [ + { + "key": "pageNumber", + "value": "56", + "description": "The number of the page to fetch.", + "disabled": true + }, + { + "key": "pageSize", + "value": "56", + "description": "The number of items to have on a page, maximum 100. The default is 20 items on a page.", + "disabled": true + }, + { + "key": "certificateName", + "value": "certificateName_example", + "description": "The name of the certificate.", + "disabled": true + } + ] + }, + "description": "Returns a list of the Android certificates that are available for the company identified in the path. Typically, these certificates enable running apps on Android payment terminals. The certifcates in the list have been uploaded to Adyen and can be installed or uninstalled on Android terminals through [terminal actions](https://docs.adyen.com/point-of-sale/automating-terminal-management/terminal-actions-api). To make this request, your API credential must have one of the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Android files read * Management API—Android files read and write * Management API—Terminal actions read * Management API—Terminal actions read and write" +} + ,"response": [ + ] } ] } - ] }, { @@ -6719,56 +9190,57 @@ { "name": "Get the terminal logo", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/companies/:companyId/terminalLogos", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "companies", - ":companyId", - "terminalLogos" - ], - "variable": [ - { - "key": "companyId", - "value": "{{YOUR_COMPANY_ACCOUNT}}", - "description": "The unique identifier of the company account." - } - ], - "query": [ - { - "key": "model", - "value": "model_example", - "description": "The terminal model. Possible values: E355, VX675WIFIBT, VX680, VX690, VX700, VX820, M400, MX925, P400Plus, UX300, UX410, V200cPlus, V240mPlus, V400cPlus, V400m, e280, e285, e285p, S1E, S1EL, S1F2, S1L, S1U, S7T.", - "disabled": false - } - ] - }, - "description": "Returns the logo that is configured for a specific payment terminal model at the company identified in the path. The logo is returned as a Base64-encoded string. You need to Base64-decode the string to get the actual image file. This logo applies to all terminals of the specified model under the company, unless a different logo is configured at a lower level (merchant account, store, or individual terminal). To make this request, your API credential must have one of the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal settings read * Management API—Terminal settings read and write" - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/companies/:companyId/terminalLogos", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "companies", + ":companyId", + "terminalLogos" + ], + "variable": [ + { + "key": "companyId", + "value": "{{YOUR_COMPANY_ACCOUNT}}", + "description": "The unique identifier of the company account." + } + ], + "query": [ + { + "key": "model", + "value": "model_example", + "description": "The terminal model. Possible values: E355, VX675WIFIBT, VX680, VX690, VX700, VX820, M400, MX925, P400Plus, UX300, UX410, V200cPlus, V240mPlus, V400cPlus, V400m, e280, e285, e285p, S1E, S1EL, S1F2, S1L, S1U, S7T.", + "disabled": false + } + ] + }, + "description": "Returns the logo that is configured for a specific payment terminal model at the company identified in the path. The logo is returned as a Base64-encoded string. You need to Base64-decode the string to get the actual image file. This logo applies to all terminals of the specified model under the company, unless a different logo is configured at a lower level (merchant account, store, or individual terminal). To make this request, your API credential must have one of the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal settings read * Management API—Terminal settings read and write" +} + ,"response": [ + ] } ] - } -, + }, { "name": "/companies/:companyId/terminalLogos", "description": "Updates the logo that is configured for a specific payment terminal model at the company identified in the path. You can update the logo for only one terminal model at a time. This logo applies to all terminals of the specified model under the company, unless a different logo is configured at a lower level (merchant account, store, or individual terminal). * To change the logo, specify the image file as a Base64-encoded string. * To restore the logo inherited from the Adyen PSP level, specify an empty logo value. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal settings read and write", @@ -6776,118 +9248,249 @@ { "name": "Remove logo to restore the logo from a higher level", "request": { - "method": "PATCH", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"data\" : \"\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/companies/:companyId/terminalLogos", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "companies", + ":companyId", + "terminalLogos" + ], + "variable": [ + { + "key": "companyId", + "value": "{{YOUR_COMPANY_ACCOUNT}}", + "description": "The unique identifier of the company account." + } + ], + "query": [ + { + "key": "model", + "value": "model_example", + "description": "The terminal model. Possible values: E355, VX675WIFIBT, VX680, VX690, VX700, VX820, M400, MX925, P400Plus, UX300, UX410, V200cPlus, V240mPlus, V400cPlus, V400m, e280, e285, e285p, S1E, S1EL, S1F2, S1L, S1U, S7T.", + "disabled": false + } + ] + }, + "description": "Updates the logo that is configured for a specific payment terminal model at the company identified in the path. You can update the logo for only one terminal model at a time. This logo applies to all terminals of the specified model under the company, unless a different logo is configured at a lower level (merchant account, store, or individual terminal). * To change the logo, specify the image file as a Base64-encoded string. * To restore the logo inherited from the Adyen PSP level, specify an empty logo value. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal settings read and write" +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"data\" : \"LOGO_INHERITED_FROM_HIGHER_LEVEL_BASE-64_ENCODED_STRING\"\n}", + "originalRequest": { + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"data\" : \"\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/companies/:companyId/terminalLogos", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "companies", + ":companyId", + "terminalLogos" + ], + "variable": [ + { + "key": "companyId", + "value": "{{YOUR_COMPANY_ACCOUNT}}", + "description": "The unique identifier of the company account." + } + ], + "query": [ + { + "key": "model", + "value": "model_example", + "description": "The terminal model. Possible values: E355, VX675WIFIBT, VX680, VX690, VX700, VX820, M400, MX925, P400Plus, UX300, UX410, V200cPlus, V240mPlus, V400cPlus, V400m, e280, e285, e285p, S1E, S1EL, S1F2, S1L, S1U, S7T.", + "disabled": false + } + ] + }, + "description": "Updates the logo that is configured for a specific payment terminal model at the company identified in the path. You can update the logo for only one terminal model at a time. This logo applies to all terminals of the specified model under the company, unless a different logo is configured at a lower level (merchant account, store, or individual terminal). * To change the logo, specify the image file as a Base64-encoded string. * To restore the logo inherited from the Adyen PSP level, specify an empty logo value. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal settings read and write" +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"data\" : \"\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/companies/:companyId/terminalLogos", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "companies", - ":companyId", - "terminalLogos" - ], - "variable": [ - { - "key": "companyId", - "value": "{{YOUR_COMPANY_ACCOUNT}}", - "description": "The unique identifier of the company account." - } - ], - "query": [ - { - "key": "model", - "value": "model_example", - "description": "The terminal model. Possible values: E355, VX675WIFIBT, VX680, VX690, VX700, VX820, M400, MX925, P400Plus, UX300, UX410, V200cPlus, V240mPlus, V400cPlus, V400m, e280, e285, e285p, S1E, S1EL, S1F2, S1L, S1U, S7T.", - "disabled": false - } - ] - }, - "description": "Updates the logo that is configured for a specific payment terminal model at the company identified in the path. You can update the logo for only one terminal model at a time. This logo applies to all terminals of the specified model under the company, unless a different logo is configured at a lower level (merchant account, store, or individual terminal). * To change the logo, specify the image file as a Base64-encoded string. * To restore the logo inherited from the Adyen PSP level, specify an empty logo value. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal settings read and write" - } + ] }, { "name": "Upload terminal logo", "request": { - "method": "PATCH", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"data\" : \"LOGO_FILE_CONVERTED_TO_A_BASE-64_ENCODED_STRING\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/companies/:companyId/terminalLogos", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "companies", + ":companyId", + "terminalLogos" + ], + "variable": [ + { + "key": "companyId", + "value": "{{YOUR_COMPANY_ACCOUNT}}", + "description": "The unique identifier of the company account." + } + ], + "query": [ + { + "key": "model", + "value": "model_example", + "description": "The terminal model. Possible values: E355, VX675WIFIBT, VX680, VX690, VX700, VX820, M400, MX925, P400Plus, UX300, UX410, V200cPlus, V240mPlus, V400cPlus, V400m, e280, e285, e285p, S1E, S1EL, S1F2, S1L, S1U, S7T.", + "disabled": false + } + ] + }, + "description": "Updates the logo that is configured for a specific payment terminal model at the company identified in the path. You can update the logo for only one terminal model at a time. This logo applies to all terminals of the specified model under the company, unless a different logo is configured at a lower level (merchant account, store, or individual terminal). * To change the logo, specify the image file as a Base64-encoded string. * To restore the logo inherited from the Adyen PSP level, specify an empty logo value. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal settings read and write" +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"data\" : \"BASE-64_ENCODED_STRING_FROM_THE_REQUEST\"\n}", + "originalRequest": { + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"data\" : \"LOGO_FILE_CONVERTED_TO_A_BASE-64_ENCODED_STRING\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/companies/:companyId/terminalLogos", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "companies", + ":companyId", + "terminalLogos" + ], + "variable": [ + { + "key": "companyId", + "value": "{{YOUR_COMPANY_ACCOUNT}}", + "description": "The unique identifier of the company account." + } + ], + "query": [ + { + "key": "model", + "value": "model_example", + "description": "The terminal model. Possible values: E355, VX675WIFIBT, VX680, VX690, VX700, VX820, M400, MX925, P400Plus, UX300, UX410, V200cPlus, V240mPlus, V400cPlus, V400m, e280, e285, e285p, S1E, S1EL, S1F2, S1L, S1U, S7T.", + "disabled": false + } + ] + }, + "description": "Updates the logo that is configured for a specific payment terminal model at the company identified in the path. You can update the logo for only one terminal model at a time. This logo applies to all terminals of the specified model under the company, unless a different logo is configured at a lower level (merchant account, store, or individual terminal). * To change the logo, specify the image file as a Base64-encoded string. * To restore the logo inherited from the Adyen PSP level, specify an empty logo value. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal settings read and write" +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"data\" : \"LOGO_FILE_CONVERTED_TO_A_BASE-64_ENCODED_STRING\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/companies/:companyId/terminalLogos", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "companies", - ":companyId", - "terminalLogos" - ], - "variable": [ - { - "key": "companyId", - "value": "{{YOUR_COMPANY_ACCOUNT}}", - "description": "The unique identifier of the company account." - } - ], - "query": [ - { - "key": "model", - "value": "model_example", - "description": "The terminal model. Possible values: E355, VX675WIFIBT, VX680, VX690, VX700, VX820, M400, MX925, P400Plus, UX300, UX410, V200cPlus, V240mPlus, V400cPlus, V400m, e280, e285, e285p, S1E, S1EL, S1F2, S1L, S1U, S7T.", - "disabled": false - } - ] - }, - "description": "Updates the logo that is configured for a specific payment terminal model at the company identified in the path. You can update the logo for only one terminal model at a time. This logo applies to all terminals of the specified model under the company, unless a different logo is configured at a lower level (merchant account, store, or individual terminal). * To change the logo, specify the image file as a Base64-encoded string. * To restore the logo inherited from the Adyen PSP level, specify an empty logo value. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal settings read and write" - } + ] } ] - } -, + }, { "name": "/companies/:companyId/terminalSettings", "description": "Returns the payment terminal settings that are configured for the company identified in the path. These settings apply to all terminals under the company, unless different values are configured at a lower level (merchant account, store, or individual terminal). To make this request, your API credential must have one of the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal settings read * Management API—Terminal settings read and write For [sensitive terminal settings](https://docs.adyen.com/point-of-sale/automating-terminal-management/configure-terminals-api#sensitive-terminal-settings), your API credential must have the following role: * Management API—Terminal settings Advanced read and write", @@ -6895,50 +9498,51 @@ { "name": "Get terminal settings", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/companies/:companyId/terminalSettings", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "companies", - ":companyId", - "terminalSettings" - ], - "variable": [ - { - "key": "companyId", - "value": "{{YOUR_COMPANY_ACCOUNT}}", - "description": "The unique identifier of the company account." - } - ], - "query": [ - ] - }, - "description": "Returns the payment terminal settings that are configured for the company identified in the path. These settings apply to all terminals under the company, unless different values are configured at a lower level (merchant account, store, or individual terminal). To make this request, your API credential must have one of the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal settings read * Management API—Terminal settings read and write For [sensitive terminal settings](https://docs.adyen.com/point-of-sale/automating-terminal-management/configure-terminals-api#sensitive-terminal-settings), your API credential must have the following role: * Management API—Terminal settings Advanced read and write" - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/companies/:companyId/terminalSettings", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "companies", + ":companyId", + "terminalSettings" + ], + "variable": [ + { + "key": "companyId", + "value": "{{YOUR_COMPANY_ACCOUNT}}", + "description": "The unique identifier of the company account." + } + ], + "query": [ + ] + }, + "description": "Returns the payment terminal settings that are configured for the company identified in the path. These settings apply to all terminals under the company, unless different values are configured at a lower level (merchant account, store, or individual terminal). To make this request, your API credential must have one of the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal settings read * Management API—Terminal settings read and write For [sensitive terminal settings](https://docs.adyen.com/point-of-sale/automating-terminal-management/configure-terminals-api#sensitive-terminal-settings), your API credential must have the following role: * Management API—Terminal settings Advanced read and write" +} + ,"response": [ + ] } ] - } -, + }, { "name": "/companies/:companyId/terminalSettings", "description": "Updates payment terminal settings for the company identified in the path. These settings apply to all terminals under the company, unless different values are configured at a lower level (merchant account, store, or individual terminal). * To change a parameter value, include the full object that contains the parameter, even if you don't want to change all parameters in the object. * To restore a parameter value inherited from the Adyen PSP level, include the full object that contains the parameter, and specify an empty value for the parameter or omit the parameter. * Objects that are not included in the request are not updated. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal settings read and write For [sensitive terminal settings](https://docs.adyen.com/point-of-sale/automating-terminal-management/configure-terminals-api#sensitive-terminal-settings), your API credential must have the following role: * Management API—Terminal settings Advanced read and write", @@ -6946,106 +9550,225 @@ { "name": "Add EAP-PEAP and PSK Wi-Fi profiles", "request": { - "method": "PATCH", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"wifiProfiles\" : {\n \"profiles\" : [ {\n \"authType\" : \"wpa-eap\",\n \"autoWifi\" : false,\n \"bssType\" : \"infra\",\n \"channel\" : 0,\n \"defaultProfile\" : true,\n \"eap\" : \"peap\",\n \"eapCaCert\" : {\n \"data\" : \"MD1rKS05M2JqRVFNQ...RTtLH1tLWo=\",\n \"name\" : \"eap-peap-ca.pem\"\n },\n \"eapIdentity\" : \"admin\",\n \"eapIntermediateCert\" : {\n \"data\" : \"PD3tUS1CRDdJTiGDR...EFoLS0tLQg=\",\n \"name\" : \"eap-peap-client.pem\"\n },\n \"eapPwd\" : \"EAP_PEAP_PASSWORD\",\n \"hiddenSsid\" : false,\n \"name\" : \"Profile-eap-peap-1\",\n \"ssid\" : \"your-network\",\n \"wsec\" : \"ccmp\"\n }, {\n \"authType\" : \"wpa-psk\",\n \"autoWifi\" : false,\n \"bssType\" : \"infra\",\n \"channel\" : 0,\n \"defaultProfile\" : false,\n \"hiddenSsid\" : false,\n \"name\" : \"Profile-guest-wifi\",\n \"psk\" : \"WIFI_PASSWORD\",\n \"ssid\" : \"your-network\",\n \"wsec\" : \"ccmp\"\n } ],\n \"settings\" : {\n \"band\" : \"2.4GHz\",\n \"roaming\" : true,\n \"timeout\" : 5\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/companies/:companyId/terminalSettings", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "companies", + ":companyId", + "terminalSettings" + ], + "variable": [ + { + "key": "companyId", + "value": "{{YOUR_COMPANY_ACCOUNT}}", + "description": "The unique identifier of the company account." + } + ], + "query": [ + ] + }, + "description": "Updates payment terminal settings for the company identified in the path. These settings apply to all terminals under the company, unless different values are configured at a lower level (merchant account, store, or individual terminal). * To change a parameter value, include the full object that contains the parameter, even if you don't want to change all parameters in the object. * To restore a parameter value inherited from the Adyen PSP level, include the full object that contains the parameter, and specify an empty value for the parameter or omit the parameter. * Objects that are not included in the request are not updated. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal settings read and write For [sensitive terminal settings](https://docs.adyen.com/point-of-sale/automating-terminal-management/configure-terminals-api#sensitive-terminal-settings), your API credential must have the following role: * Management API—Terminal settings Advanced read and write" +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"cardholderReceipt\" : {\n \"headerForAuthorizedReceipt\" : \"header1,header2,filler\"\n },\n \"gratuities\" : [ {\n \"currency\" : \"EUR\",\n \"usePredefinedTipEntries\" : true,\n \"predefinedTipEntries\" : [ \"100\", \"1%\", \"5%\" ],\n \"allowCustomAmount\" : true\n } ],\n \"nexo\" : {\n \"displayUrls\" : {\n \"localUrls\" : [ {\n \"password\" : \"BASIC_AUTH_PASSWORD\",\n \"url\" : \"https://your-display-notifications-endpoint.com\",\n \"username\" : \"BASIC_AUTH_USERNAME\"\n } ]\n },\n \"encryptionKey\" : {\n \"identifier\" : \"KEY_IDENTIFIER\",\n \"passphrase\" : \"KEY_PASSPHRASE\",\n \"version\" : 1\n },\n \"eventUrls\" : {\n \"eventPublicUrls\" : [ {\n \"password\" : \"BASIC_AUTH_PASSWORD\",\n \"url\" : \"https://your-event-notifications-endpoint.com\",\n \"username\" : \"BASIC_AUTH_USERNAME\"\n } ]\n }\n },\n \"opi\" : {\n \"enablePayAtTable\" : true,\n \"payAtTableStoreNumber\" : \"1\",\n \"payAtTableURL\" : \"https:/your-pay-at-table-endpoint.com\"\n },\n \"offlineProcessing\" : {\n \"chipFloorLimit\" : 0\n },\n \"receiptOptions\" : {\n \"qrCodeData\" : \"http://www.example.com/order/${pspreference}/${merchantreference}\"\n },\n \"receiptPrinting\" : {\n \"shopperApproved\" : true,\n \"shopperRefused\" : true,\n \"shopperCancelled\" : true,\n \"shopperRefundApproved\" : true,\n \"shopperRefundRefused\" : true,\n \"shopperVoid\" : true\n },\n \"signature\" : {\n \"askSignatureOnScreen\" : true,\n \"skipSignature\" : false,\n \"deviceName\" : \"Amsterdam-236203386\"\n },\n \"wifiProfiles\" : {\n \"profiles\" : [ {\n \"authType\" : \"wpa-eap\",\n \"autoWifi\" : false,\n \"bssType\" : \"infra\",\n \"channel\" : 0,\n \"defaultProfile\" : true,\n \"eap\" : \"peap\",\n \"eapCaCert\" : {\n \"data\" : \"MD1rKS05M2JqRVFNQ...RTtLH1tLWo=\",\n \"name\" : \"eap-peap-ca.pem\"\n },\n \"eapIdentity\" : \"admin\",\n \"eapIntermediateCert\" : {\n \"data\" : \"PD3tUS1CRDdJTiGDR...EFoLS0tLQg=\",\n \"name\" : \"eap-peap-client.pem\"\n },\n \"eapPwd\" : \"EAP_PEAP_PASSWORD\",\n \"hiddenSsid\" : false,\n \"name\" : \"Profile-eap-peap-1\",\n \"ssid\" : \"your-network\",\n \"wsec\" : \"ccmp\"\n }, {\n \"authType\" : \"wpa-psk\",\n \"autoWifi\" : false,\n \"bssType\" : \"infra\",\n \"channel\" : 0,\n \"defaultProfile\" : false,\n \"hiddenSsid\" : false,\n \"name\" : \"Profile-guest-wifi\",\n \"psk\" : \"WIFI_PASSWORD\",\n \"ssid\" : \"your-network\",\n \"wsec\" : \"ccmp\"\n } ],\n \"settings\" : {\n \"band\" : \"2.4GHz\",\n \"roaming\" : true,\n \"timeout\" : 5\n }\n },\n \"timeouts\" : {\n \"fromActiveToSleep\" : 30\n },\n \"hardware\" : {\n \"displayMaximumBackLight\" : 75\n }\n}", + "originalRequest": { + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"wifiProfiles\" : {\n \"profiles\" : [ {\n \"authType\" : \"wpa-eap\",\n \"autoWifi\" : false,\n \"bssType\" : \"infra\",\n \"channel\" : 0,\n \"defaultProfile\" : true,\n \"eap\" : \"peap\",\n \"eapCaCert\" : {\n \"data\" : \"MD1rKS05M2JqRVFNQ...RTtLH1tLWo=\",\n \"name\" : \"eap-peap-ca.pem\"\n },\n \"eapIdentity\" : \"admin\",\n \"eapIntermediateCert\" : {\n \"data\" : \"PD3tUS1CRDdJTiGDR...EFoLS0tLQg=\",\n \"name\" : \"eap-peap-client.pem\"\n },\n \"eapPwd\" : \"EAP_PEAP_PASSWORD\",\n \"hiddenSsid\" : false,\n \"name\" : \"Profile-eap-peap-1\",\n \"ssid\" : \"your-network\",\n \"wsec\" : \"ccmp\"\n }, {\n \"authType\" : \"wpa-psk\",\n \"autoWifi\" : false,\n \"bssType\" : \"infra\",\n \"channel\" : 0,\n \"defaultProfile\" : false,\n \"hiddenSsid\" : false,\n \"name\" : \"Profile-guest-wifi\",\n \"psk\" : \"WIFI_PASSWORD\",\n \"ssid\" : \"your-network\",\n \"wsec\" : \"ccmp\"\n } ],\n \"settings\" : {\n \"band\" : \"2.4GHz\",\n \"roaming\" : true,\n \"timeout\" : 5\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/companies/:companyId/terminalSettings", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "companies", + ":companyId", + "terminalSettings" + ], + "variable": [ + { + "key": "companyId", + "value": "{{YOUR_COMPANY_ACCOUNT}}", + "description": "The unique identifier of the company account." + } + ], + "query": [ + ] + }, + "description": "Updates payment terminal settings for the company identified in the path. These settings apply to all terminals under the company, unless different values are configured at a lower level (merchant account, store, or individual terminal). * To change a parameter value, include the full object that contains the parameter, even if you don't want to change all parameters in the object. * To restore a parameter value inherited from the Adyen PSP level, include the full object that contains the parameter, and specify an empty value for the parameter or omit the parameter. * Objects that are not included in the request are not updated. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal settings read and write For [sensitive terminal settings](https://docs.adyen.com/point-of-sale/automating-terminal-management/configure-terminals-api#sensitive-terminal-settings), your API credential must have the following role: * Management API—Terminal settings Advanced read and write" +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"wifiProfiles\" : {\n \"profiles\" : [ {\n \"authType\" : \"wpa-eap\",\n \"autoWifi\" : false,\n \"bssType\" : \"infra\",\n \"channel\" : 0,\n \"defaultProfile\" : true,\n \"eap\" : \"peap\",\n \"eapCaCert\" : {\n \"data\" : \"MD1rKS05M2JqRVFNQ...RTtLH1tLWo=\",\n \"name\" : \"eap-peap-ca.pem\"\n },\n \"eapIdentity\" : \"admin\",\n \"eapIntermediateCert\" : {\n \"data\" : \"PD3tUS1CRDdJTiGDR...EFoLS0tLQg=\",\n \"name\" : \"eap-peap-client.pem\"\n },\n \"eapPwd\" : \"EAP_PEAP_PASSWORD\",\n \"hiddenSsid\" : false,\n \"name\" : \"Profile-eap-peap-1\",\n \"ssid\" : \"your-network\",\n \"wsec\" : \"ccmp\"\n }, {\n \"authType\" : \"wpa-psk\",\n \"autoWifi\" : false,\n \"bssType\" : \"infra\",\n \"channel\" : 0,\n \"defaultProfile\" : false,\n \"hiddenSsid\" : false,\n \"name\" : \"Profile-guest-wifi\",\n \"psk\" : \"WIFI_PASSWORD\",\n \"ssid\" : \"your-network\",\n \"wsec\" : \"ccmp\"\n } ],\n \"settings\" : {\n \"band\" : \"2.4GHz\",\n \"roaming\" : true,\n \"timeout\" : 5\n }\n }\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/companies/:companyId/terminalSettings", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "companies", - ":companyId", - "terminalSettings" - ], - "variable": [ - { - "key": "companyId", - "value": "{{YOUR_COMPANY_ACCOUNT}}", - "description": "The unique identifier of the company account." - } - ], - "query": [ - ] - }, - "description": "Updates payment terminal settings for the company identified in the path. These settings apply to all terminals under the company, unless different values are configured at a lower level (merchant account, store, or individual terminal). * To change a parameter value, include the full object that contains the parameter, even if you don't want to change all parameters in the object. * To restore a parameter value inherited from the Adyen PSP level, include the full object that contains the parameter, and specify an empty value for the parameter or omit the parameter. * Objects that are not included in the request are not updated. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal settings read and write For [sensitive terminal settings](https://docs.adyen.com/point-of-sale/automating-terminal-management/configure-terminals-api#sensitive-terminal-settings), your API credential must have the following role: * Management API—Terminal settings Advanced read and write" - } + ] }, { "name": "Add EAP-TLS Wi-Fi profile", "request": { - "method": "PATCH", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"wifiProfiles\" : {\n \"profiles\" : [ {\n \"authType\" : \"wpa-eap\",\n \"autoWifi\" : false,\n \"bssType\" : \"infra\",\n \"channel\" : 0,\n \"defaultProfile\" : true,\n \"eap\" : \"tls\",\n \"eapCaCert\" : {\n \"data\" : \"LS0tLS05M2JqRVFNQ...EUtLS0tLQo=\",\n \"name\" : \"eap-tls-ca.pem\"\n },\n \"eapClientCert\" : {\n \"data\" : \"LS0tLS1CRUdJTiBDR...EUtLS0tLQo=\",\n \"name\" : \"eap-tls-client.pem\"\n },\n \"eapClientKey\" : {\n \"data\" : \"AAAB3NzaC1...Rtah3KLFwPU=\",\n \"name\" : \"rsa-private.key\"\n },\n \"eapClientPwd\" : \"\",\n \"eapIdentity\" : \"admin\",\n \"hiddenSsid\" : false,\n \"name\" : \"Profile-eap-tls-1\",\n \"ssid\" : \"your-network\",\n \"wsec\" : \"ccmp\"\n } ],\n \"settings\" : {\n \"band\" : \"2.4GHz\",\n \"roaming\" : true,\n \"timeout\" : 5\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/companies/:companyId/terminalSettings", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "companies", + ":companyId", + "terminalSettings" + ], + "variable": [ + { + "key": "companyId", + "value": "{{YOUR_COMPANY_ACCOUNT}}", + "description": "The unique identifier of the company account." + } + ], + "query": [ + ] + }, + "description": "Updates payment terminal settings for the company identified in the path. These settings apply to all terminals under the company, unless different values are configured at a lower level (merchant account, store, or individual terminal). * To change a parameter value, include the full object that contains the parameter, even if you don't want to change all parameters in the object. * To restore a parameter value inherited from the Adyen PSP level, include the full object that contains the parameter, and specify an empty value for the parameter or omit the parameter. * Objects that are not included in the request are not updated. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal settings read and write For [sensitive terminal settings](https://docs.adyen.com/point-of-sale/automating-terminal-management/configure-terminals-api#sensitive-terminal-settings), your API credential must have the following role: * Management API—Terminal settings Advanced read and write" +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"cardholderReceipt\" : {\n \"headerForAuthorizedReceipt\" : \"header1,header2,filler\"\n },\n \"gratuities\" : [ {\n \"currency\" : \"EUR\",\n \"usePredefinedTipEntries\" : true,\n \"predefinedTipEntries\" : [ \"100\", \"1%\", \"5%\" ],\n \"allowCustomAmount\" : true\n } ],\n \"nexo\" : {\n \"displayUrls\" : {\n \"localUrls\" : [ {\n \"password\" : \"BASIC_AUTH_PASSWORD\",\n \"url\" : \"https://your-display-notifications-endpoint.com\",\n \"username\" : \"BASIC_AUTH_USERNAME\"\n } ]\n },\n \"encryptionKey\" : {\n \"identifier\" : \"KEY_IDENTIFIER\",\n \"passphrase\" : \"KEY_PASSPHRASE\",\n \"version\" : 1\n },\n \"eventUrls\" : {\n \"eventPublicUrls\" : [ {\n \"password\" : \"BASIC_AUTH_PASSWORD\",\n \"url\" : \"https://your-event-notifications-endpoint.com\",\n \"username\" : \"BASIC_AUTH_USERNAME\"\n } ]\n }\n },\n \"opi\" : {\n \"enablePayAtTable\" : true,\n \"payAtTableStoreNumber\" : \"1\",\n \"payAtTableURL\" : \"https:/your-pay-at-table-endpoint.com\"\n },\n \"offlineProcessing\" : {\n \"chipFloorLimit\" : 0\n },\n \"receiptOptions\" : {\n \"qrCodeData\" : \"http://www.example.com/order/${pspreference}/${merchantreference}\"\n },\n \"receiptPrinting\" : {\n \"shopperApproved\" : true,\n \"shopperRefused\" : true,\n \"shopperCancelled\" : true,\n \"shopperRefundApproved\" : true,\n \"shopperRefundRefused\" : true,\n \"shopperVoid\" : true\n },\n \"signature\" : {\n \"askSignatureOnScreen\" : true,\n \"skipSignature\" : false,\n \"deviceName\" : \"Amsterdam-236203386\"\n },\n \"wifiProfiles\" : {\n \"profiles\" : [ {\n \"authType\" : \"wpa-eap\",\n \"autoWifi\" : false,\n \"bssType\" : \"infra\",\n \"channel\" : 0,\n \"defaultProfile\" : true,\n \"eap\" : \"tls\",\n \"eapCaCert\" : {\n \"data\" : \"LS0tLS05M2JqRVFNQ...EUtLS0tLQo=\",\n \"name\" : \"eap-tls-ca.pem\"\n },\n \"eapClientCert\" : {\n \"data\" : \"LS0tLS1CRUdJTiBDR...EUtLS0tLQo=\",\n \"name\" : \"eap-tls-client.pem\"\n },\n \"eapClientKey\" : {\n \"data\" : \"AAAB3NzaC1...Rtah3KLFwPU=\",\n \"name\" : \"rsa-private.key\"\n },\n \"eapClientPwd\" : \"\",\n \"eapIdentity\" : \"admin\",\n \"hiddenSsid\" : false,\n \"name\" : \"Profile-eap-tls-1\",\n \"ssid\" : \"your-network\",\n \"wsec\" : \"ccmp\"\n } ],\n \"settings\" : {\n \"band\" : \"2.4GHz\",\n \"roaming\" : true,\n \"timeout\" : 5\n }\n },\n \"timeouts\" : {\n \"fromActiveToSleep\" : 30\n },\n \"hardware\" : {\n \"displayMaximumBackLight\" : 75\n }\n}", + "originalRequest": { + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"wifiProfiles\" : {\n \"profiles\" : [ {\n \"authType\" : \"wpa-eap\",\n \"autoWifi\" : false,\n \"bssType\" : \"infra\",\n \"channel\" : 0,\n \"defaultProfile\" : true,\n \"eap\" : \"tls\",\n \"eapCaCert\" : {\n \"data\" : \"LS0tLS05M2JqRVFNQ...EUtLS0tLQo=\",\n \"name\" : \"eap-tls-ca.pem\"\n },\n \"eapClientCert\" : {\n \"data\" : \"LS0tLS1CRUdJTiBDR...EUtLS0tLQo=\",\n \"name\" : \"eap-tls-client.pem\"\n },\n \"eapClientKey\" : {\n \"data\" : \"AAAB3NzaC1...Rtah3KLFwPU=\",\n \"name\" : \"rsa-private.key\"\n },\n \"eapClientPwd\" : \"\",\n \"eapIdentity\" : \"admin\",\n \"hiddenSsid\" : false,\n \"name\" : \"Profile-eap-tls-1\",\n \"ssid\" : \"your-network\",\n \"wsec\" : \"ccmp\"\n } ],\n \"settings\" : {\n \"band\" : \"2.4GHz\",\n \"roaming\" : true,\n \"timeout\" : 5\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/companies/:companyId/terminalSettings", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "companies", + ":companyId", + "terminalSettings" + ], + "variable": [ + { + "key": "companyId", + "value": "{{YOUR_COMPANY_ACCOUNT}}", + "description": "The unique identifier of the company account." + } + ], + "query": [ + ] + }, + "description": "Updates payment terminal settings for the company identified in the path. These settings apply to all terminals under the company, unless different values are configured at a lower level (merchant account, store, or individual terminal). * To change a parameter value, include the full object that contains the parameter, even if you don't want to change all parameters in the object. * To restore a parameter value inherited from the Adyen PSP level, include the full object that contains the parameter, and specify an empty value for the parameter or omit the parameter. * Objects that are not included in the request are not updated. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal settings read and write For [sensitive terminal settings](https://docs.adyen.com/point-of-sale/automating-terminal-management/configure-terminals-api#sensitive-terminal-settings), your API credential must have the following role: * Management API—Terminal settings Advanced read and write" +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"wifiProfiles\" : {\n \"profiles\" : [ {\n \"authType\" : \"wpa-eap\",\n \"autoWifi\" : false,\n \"bssType\" : \"infra\",\n \"channel\" : 0,\n \"defaultProfile\" : true,\n \"eap\" : \"tls\",\n \"eapCaCert\" : {\n \"data\" : \"LS0tLS05M2JqRVFNQ...EUtLS0tLQo=\",\n \"name\" : \"eap-tls-ca.pem\"\n },\n \"eapClientCert\" : {\n \"data\" : \"LS0tLS1CRUdJTiBDR...EUtLS0tLQo=\",\n \"name\" : \"eap-tls-client.pem\"\n },\n \"eapClientKey\" : {\n \"data\" : \"AAAB3NzaC1...Rtah3KLFwPU=\",\n \"name\" : \"rsa-private.key\"\n },\n \"eapClientPwd\" : \"\",\n \"eapIdentity\" : \"admin\",\n \"hiddenSsid\" : false,\n \"name\" : \"Profile-eap-tls-1\",\n \"ssid\" : \"your-network\",\n \"wsec\" : \"ccmp\"\n } ],\n \"settings\" : {\n \"band\" : \"2.4GHz\",\n \"roaming\" : true,\n \"timeout\" : 5\n }\n }\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/companies/:companyId/terminalSettings", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "companies", - ":companyId", - "terminalSettings" - ], - "variable": [ - { - "key": "companyId", - "value": "{{YOUR_COMPANY_ACCOUNT}}", - "description": "The unique identifier of the company account." - } - ], - "query": [ - ] - }, - "description": "Updates payment terminal settings for the company identified in the path. These settings apply to all terminals under the company, unless different values are configured at a lower level (merchant account, store, or individual terminal). * To change a parameter value, include the full object that contains the parameter, even if you don't want to change all parameters in the object. * To restore a parameter value inherited from the Adyen PSP level, include the full object that contains the parameter, and specify an empty value for the parameter or omit the parameter. * Objects that are not included in the request are not updated. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal settings read and write For [sensitive terminal settings](https://docs.adyen.com/point-of-sale/automating-terminal-management/configure-terminals-api#sensitive-terminal-settings), your API credential must have the following role: * Management API—Terminal settings Advanced read and write" - } + ] } ] } - ] }, { @@ -7058,62 +9781,63 @@ { "name": "Get a list of API credentials", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/companies/:companyId/apiCredentials", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "companies", - ":companyId", - "apiCredentials" - ], - "variable": [ - { - "key": "companyId", - "value": "{{YOUR_COMPANY_ACCOUNT}}", - "description": "The unique identifier of the company account." - } - ], - "query": [ - { - "key": "pageNumber", - "value": "56", - "description": "The number of the page to fetch.", - "disabled": true - }, - { - "key": "pageSize", - "value": "56", - "description": "The number of items to have on a page, maximum 100. The default is 10 items on a page.", - "disabled": true - } - ] - }, - "description": "Returns the list of [API credentials](https://docs.adyen.com/development-resources/api-credentials) for the company account. The list is grouped into pages as defined by the query parameters. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—API credentials read and write" - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/companies/:companyId/apiCredentials", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "companies", + ":companyId", + "apiCredentials" + ], + "variable": [ + { + "key": "companyId", + "value": "{{YOUR_COMPANY_ACCOUNT}}", + "description": "The unique identifier of the company account." + } + ], + "query": [ + { + "key": "pageNumber", + "value": "56", + "description": "The number of the page to fetch.", + "disabled": true + }, + { + "key": "pageSize", + "value": "56", + "description": "The number of items to have on a page, maximum 100. The default is 10 items on a page.", + "disabled": true + } + ] + }, + "description": "Returns the list of [API credentials](https://docs.adyen.com/development-resources/api-credentials) for the company account. The list is grouped into pages as defined by the query parameters. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—API credentials read and write" +} + ,"response": [ + ] } ] - } -, + }, { "name": "/companies/:companyId/apiCredentials", "description": "Creates an [API credential](https://docs.adyen.com/development-resources/api-credentials) for the company account identified in the path. In the request, you can specify which merchant accounts the new API credential will have access to, as well as its roles and allowed origins. The response includes several types of authentication details: * [API key](https://docs.adyen.com/development-resources/api-authentication#api-key-authentication): used for API request authentication. * [Client key](https://docs.adyen.com/development-resources/client-side-authentication#how-it-works): public key used for client-side authentication. * [Username and password](https://docs.adyen.com/development-resources/api-authentication#using-basic-authentication): used for basic authentication. > Make sure you store the API key securely in your system. You won't be able to retrieve it later. If your API key is lost or compromised, you need to [generate a new API key](https://docs.adyen.com/api-explorer/#/ManagementService/v1/post/companies/{companyId}/apiCredentials/{apiCredentialId}/generateApiKey). To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—API credentials read and write", @@ -7121,56 +9845,115 @@ { "name": "Add an API credential", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"roles\" : [ \"Checkout webservice role\" ],\n \"allowedOrigins\" : [ \"https://www.mystore.com\" ],\n \"associatedMerchantAccounts\" : [ \"{{YOUR_MERCHANT_ACCOUNT}}_AU\", \"{{YOUR_MERCHANT_ACCOUNT}}_EU\", \"{{YOUR_MERCHANT_ACCOUNT}}_US\" ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/companies/:companyId/apiCredentials", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "companies", + ":companyId", + "apiCredentials" + ], + "variable": [ + { + "key": "companyId", + "value": "{{YOUR_COMPANY_ACCOUNT}}", + "description": "The unique identifier of the company account." + } + ], + "query": [ + ] + }, + "description": "Creates an [API credential](https://docs.adyen.com/development-resources/api-credentials) for the company account identified in the path. In the request, you can specify which merchant accounts the new API credential will have access to, as well as its roles and allowed origins. The response includes several types of authentication details: * [API key](https://docs.adyen.com/development-resources/api-authentication#api-key-authentication): used for API request authentication. * [Client key](https://docs.adyen.com/development-resources/client-side-authentication#how-it-works): public key used for client-side authentication. * [Username and password](https://docs.adyen.com/development-resources/api-authentication#using-basic-authentication): used for basic authentication. > Make sure you store the API key securely in your system. You won't be able to retrieve it later. If your API key is lost or compromised, you need to [generate a new API key](https://docs.adyen.com/api-explorer/#/ManagementService/v1/post/companies/{companyId}/apiCredentials/{apiCredentialId}/generateApiKey). To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—API credentials read and write" +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"id\" : \"YOUR_API_CREDENTIAL\",\n \"username\" : \"YOUR_USERNAME\",\n \"clientKey\" : \"YOUR_CLIENT_KEY\",\n \"allowedIpAddresses\" : [ ],\n \"roles\" : [ \"Checkout webservice role\" ],\n \"active\" : true,\n \"allowedOrigins\" : [ {\n \"id\" : \"YOUR_ALLOWED_ORIGIN\",\n \"domain\" : \"https://www.mystore.com\",\n \"_links\" : {\n \"self\" : {\n \"href\" : \"https://management-test.adyen.com/v1/companies/YOUR_COMPANY_ACCOUNT/apiCredentials/YOUR_API_CREDENTIAL/allowedOrigins/YOUR_ALLOWED_ORIGIN\"\n }\n }\n } ],\n \"_links\" : {\n \"self\" : {\n \"href\" : \"https://management-test.adyen.com/v1/companies/YOUR_COMPANY_ACCOUNT/apiCredentials/YOUR_API_CREDENTIAL\"\n },\n \"allowedOrigins\" : {\n \"href\" : \"https://management-test.adyen.com/v1/companies/YOUR_COMPANY_ACCOUNT/apiCredentials/YOUR_API_CREDENTIAL/allowedOrigins\"\n },\n \"company\" : {\n \"href\" : \"https://management-test.adyen.com/v1/companies/YOUR_COMPANY_ACCOUNT\"\n },\n \"generateApiKey\" : {\n \"href\" : \"https://management-test.adyen.com/v1/companies/YOUR_COMPANY_ACCOUNT/apiCredentials/YOUR_API_CREDENTIAL/generateApiKey\"\n },\n \"generateClientKey\" : {\n \"href\" : \"https://management-test.adyen.com/v1/companies/YOUR_COMPANY_ACCOUNT/apiCredentials/YOUR_API_CREDENTIAL/generateClientKey\"\n }\n },\n \"apiKey\" : \"YOUR_API_KEY\",\n \"password\" : \"YOUR_PASSWORD\",\n \"associatedMerchantAccounts\" : [ \"YOUR_MERCHANT_ACCOUNT_AU\", \"YOUR_MERCHANT_ACCOUNT_EU\", \"YOUR_MERCHANT_ACCOUNT_US\" ]\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"roles\" : [ \"Checkout webservice role\" ],\n \"allowedOrigins\" : [ \"https://www.mystore.com\" ],\n \"associatedMerchantAccounts\" : [ \"{{YOUR_MERCHANT_ACCOUNT}}_AU\", \"{{YOUR_MERCHANT_ACCOUNT}}_EU\", \"{{YOUR_MERCHANT_ACCOUNT}}_US\" ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/companies/:companyId/apiCredentials", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "companies", + ":companyId", + "apiCredentials" + ], + "variable": [ + { + "key": "companyId", + "value": "{{YOUR_COMPANY_ACCOUNT}}", + "description": "The unique identifier of the company account." + } + ], + "query": [ + ] + }, + "description": "Creates an [API credential](https://docs.adyen.com/development-resources/api-credentials) for the company account identified in the path. In the request, you can specify which merchant accounts the new API credential will have access to, as well as its roles and allowed origins. The response includes several types of authentication details: * [API key](https://docs.adyen.com/development-resources/api-authentication#api-key-authentication): used for API request authentication. * [Client key](https://docs.adyen.com/development-resources/client-side-authentication#how-it-works): public key used for client-side authentication. * [Username and password](https://docs.adyen.com/development-resources/api-authentication#using-basic-authentication): used for basic authentication. > Make sure you store the API key securely in your system. You won't be able to retrieve it later. If your API key is lost or compromised, you need to [generate a new API key](https://docs.adyen.com/api-explorer/#/ManagementService/v1/post/companies/{companyId}/apiCredentials/{apiCredentialId}/generateApiKey). To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—API credentials read and write" +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"roles\" : [ \"Checkout webservice role\" ],\n \"allowedOrigins\" : [ \"https://www.mystore.com\" ],\n \"associatedMerchantAccounts\" : [ \"{{YOUR_MERCHANT_ACCOUNT}}_AU\", \"{{YOUR_MERCHANT_ACCOUNT}}_EU\", \"{{YOUR_MERCHANT_ACCOUNT}}_US\" ]\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/companies/:companyId/apiCredentials", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "companies", - ":companyId", - "apiCredentials" - ], - "variable": [ - { - "key": "companyId", - "value": "{{YOUR_COMPANY_ACCOUNT}}", - "description": "The unique identifier of the company account." - } - ], - "query": [ - ] - }, - "description": "Creates an [API credential](https://docs.adyen.com/development-resources/api-credentials) for the company account identified in the path. In the request, you can specify which merchant accounts the new API credential will have access to, as well as its roles and allowed origins. The response includes several types of authentication details: * [API key](https://docs.adyen.com/development-resources/api-authentication#api-key-authentication): used for API request authentication. * [Client key](https://docs.adyen.com/development-resources/client-side-authentication#how-it-works): public key used for client-side authentication. * [Username and password](https://docs.adyen.com/development-resources/api-authentication#using-basic-authentication): used for basic authentication. > Make sure you store the API key securely in your system. You won't be able to retrieve it later. If your API key is lost or compromised, you need to [generate a new API key](https://docs.adyen.com/api-explorer/#/ManagementService/v1/post/companies/{companyId}/apiCredentials/{apiCredentialId}/generateApiKey). To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—API credentials read and write" - } + ] } ] - } -, + }, { "name": "/companies/:companyId/apiCredentials/:apiCredentialId", "description": "Returns the [API credential](https://docs.adyen.com/development-resources/api-credentials) identified in the path. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—API credentials read and write", @@ -7178,56 +9961,57 @@ { "name": "Get an API credential", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/companies/:companyId/apiCredentials/:apiCredentialId", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "companies", - ":companyId", - "apiCredentials", - ":apiCredentialId" - ], - "variable": [ - { - "key": "companyId", - "value": "{{YOUR_COMPANY_ACCOUNT}}", - "description": "The unique identifier of the company account." - }, - { - "key": "apiCredentialId", - "value": "", - "description": "Unique identifier of the API credential." - } - ], - "query": [ - ] - }, - "description": "Returns the [API credential](https://docs.adyen.com/development-resources/api-credentials) identified in the path. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—API credentials read and write" - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/companies/:companyId/apiCredentials/:apiCredentialId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "companies", + ":companyId", + "apiCredentials", + ":apiCredentialId" + ], + "variable": [ + { + "key": "companyId", + "value": "{{YOUR_COMPANY_ACCOUNT}}", + "description": "The unique identifier of the company account." + }, + { + "key": "apiCredentialId", + "value": "", + "description": "Unique identifier of the API credential." + } + ], + "query": [ + ] + }, + "description": "Returns the [API credential](https://docs.adyen.com/development-resources/api-credentials) identified in the path. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—API credentials read and write" +} + ,"response": [ + ] } ] - } -, + }, { "name": "/companies/:companyId/apiCredentials/:apiCredentialId", "description": "Changes the API credential's roles, merchant account access, or allowed origins. The request has the new values for the fields you want to change. The response contains the full updated API credential, including the new values from the request. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—API credentials read and write", @@ -7235,62 +10019,127 @@ { "name": "Activate an API credential", "request": { - "method": "PATCH", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"active\" : true\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/companies/:companyId/apiCredentials/:apiCredentialId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "companies", + ":companyId", + "apiCredentials", + ":apiCredentialId" + ], + "variable": [ + { + "key": "companyId", + "value": "{{YOUR_COMPANY_ACCOUNT}}", + "description": "The unique identifier of the company account." + }, + { + "key": "apiCredentialId", + "value": "", + "description": "Unique identifier of the API credential." + } + ], + "query": [ + ] + }, + "description": "Changes the API credential's roles, merchant account access, or allowed origins. The request has the new values for the fields you want to change. The response contains the full updated API credential, including the new values from the request. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—API credentials read and write" +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"id\" : \"YOUR_API_CREDENTIAL\",\n \"username\" : \"YOUR_USERNAME\",\n \"clientKey\" : \"YOUR_CLIENT_KEY\",\n \"allowedIpAddresses\" : [ ],\n \"roles\" : [ \"Management API - Accounts read\", \"Management API - Webhooks read\", \"Management API - API credentials read and write\", \"Management API - Stores read\", \"Management API — Payment methods read\", \"Management API - Stores read and write\", \"Management API - Webhooks read and write\", \"Merchant Recurring role\", \"Data Protection API\", \"Management API - Payout Account Settings Read\", \"Checkout webservice role\", \"Management API - Accounts read and write\", \"Merchant PAL Webservice role\" ],\n \"active\" : true,\n \"_links\" : {\n \"self\" : {\n \"href\" : \"https://management-test.adyen.com/v1/companies/YOUR_COMPANY_ACCOUNT/apiCredentials/YOUR_API_CREDENTIAL\"\n },\n \"allowedOrigins\" : {\n \"href\" : \"https://management-test.adyen.com/v1/companies/YOUR_COMPANY_ACCOUNT/apiCredentials/YOUR_API_CREDENTIAL/allowedOrigins\"\n },\n \"company\" : {\n \"href\" : \"https://management-test.adyen.com/v1/companies/YOUR_COMPANY_ACCOUNT\"\n },\n \"generateApiKey\" : {\n \"href\" : \"https://management-test.adyen.com/v1/companies/YOUR_COMPANY_ACCOUNT/apiCredentials/YOUR_API_CREDENTIAL/generateApiKey\"\n },\n \"generateClientKey\" : {\n \"href\" : \"https://management-test.adyen.com/v1/companies/YOUR_COMPANY_ACCOUNT/apiCredentials/YOUR_API_CREDENTIAL/generateClientKey\"\n }\n },\n \"associatedMerchantAccounts\" : [ ]\n}", + "originalRequest": { + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"active\" : true\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/companies/:companyId/apiCredentials/:apiCredentialId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "companies", + ":companyId", + "apiCredentials", + ":apiCredentialId" + ], + "variable": [ + { + "key": "companyId", + "value": "{{YOUR_COMPANY_ACCOUNT}}", + "description": "The unique identifier of the company account." + }, + { + "key": "apiCredentialId", + "value": "", + "description": "Unique identifier of the API credential." + } + ], + "query": [ + ] + }, + "description": "Changes the API credential's roles, merchant account access, or allowed origins. The request has the new values for the fields you want to change. The response contains the full updated API credential, including the new values from the request. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—API credentials read and write" +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"active\" : true\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/companies/:companyId/apiCredentials/:apiCredentialId", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "companies", - ":companyId", - "apiCredentials", - ":apiCredentialId" - ], - "variable": [ - { - "key": "companyId", - "value": "{{YOUR_COMPANY_ACCOUNT}}", - "description": "The unique identifier of the company account." - }, - { - "key": "apiCredentialId", - "value": "", - "description": "Unique identifier of the API credential." - } - ], - "query": [ - ] - }, - "description": "Changes the API credential's roles, merchant account access, or allowed origins. The request has the new values for the fields you want to change. The response contains the full updated API credential, including the new values from the request. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—API credentials read and write" - } + ] } ] } - ] }, { @@ -7303,56 +10152,57 @@ { "name": "Get a list of billing entities", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/merchants/:merchantId/billingEntities", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "merchants", - ":merchantId", - "billingEntities" - ], - "variable": [ - { - "key": "merchantId", - "value": "{{YOUR_MERCHANT_ACCOUNT}}", - "description": "The unique identifier of the merchant account." - } - ], - "query": [ - { - "key": "name", - "value": "name_example", - "description": "The name of the billing entity.", - "disabled": true - } - ] - }, - "description": "Returns the billing entities of the merchant account identified in the path. A billing entity is a legal entity where we charge orders to. An order for terminal products must contain the ID of a billing entity. To make this request, your API credential must have one of the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal ordering read * Management API—Terminal ordering read and write" - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/merchants/:merchantId/billingEntities", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "merchants", + ":merchantId", + "billingEntities" + ], + "variable": [ + { + "key": "merchantId", + "value": "{{YOUR_MERCHANT_ACCOUNT}}", + "description": "The unique identifier of the merchant account." + } + ], + "query": [ + { + "key": "name", + "value": "name_example", + "description": "The name of the billing entity.", + "disabled": true + } + ] + }, + "description": "Returns the billing entities of the merchant account identified in the path. A billing entity is a legal entity where we charge orders to. An order for terminal products must contain the ID of a billing entity. To make this request, your API credential must have one of the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal ordering read * Management API—Terminal ordering read and write" +} + ,"response": [ + ] } ] - } -, + }, { "name": "/merchants/:merchantId/shippingLocations", "description": "Returns the shipping locations for the merchant account identified in the path. A shipping location includes the address where orders can be delivered, and an ID which you need to specify when ordering terminal products. To make this request, your API credential must have one of the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal ordering read * Management API—Terminal ordering read and write", @@ -7360,68 +10210,69 @@ { "name": "Get a list of shipping locations", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/merchants/:merchantId/shippingLocations", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "merchants", - ":merchantId", - "shippingLocations" - ], - "variable": [ - { - "key": "merchantId", - "value": "{{YOUR_MERCHANT_ACCOUNT}}", - "description": "The unique identifier of the merchant account." - } - ], - "query": [ - { - "key": "name", - "value": "name_example", - "description": "The name of the shipping location.", - "disabled": true - }, - { - "key": "offset", - "value": "56", - "description": "The number of locations to skip.", - "disabled": true - }, - { - "key": "limit", - "value": "56", - "description": "The number of locations to return.", - "disabled": true - } - ] - }, - "description": "Returns the shipping locations for the merchant account identified in the path. A shipping location includes the address where orders can be delivered, and an ID which you need to specify when ordering terminal products. To make this request, your API credential must have one of the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal ordering read * Management API—Terminal ordering read and write" - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/merchants/:merchantId/shippingLocations", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "merchants", + ":merchantId", + "shippingLocations" + ], + "variable": [ + { + "key": "merchantId", + "value": "{{YOUR_MERCHANT_ACCOUNT}}", + "description": "The unique identifier of the merchant account." + } + ], + "query": [ + { + "key": "name", + "value": "name_example", + "description": "The name of the shipping location.", + "disabled": true + }, + { + "key": "offset", + "value": "56", + "description": "The number of locations to skip.", + "disabled": true + }, + { + "key": "limit", + "value": "56", + "description": "The number of locations to return.", + "disabled": true + } + ] + }, + "description": "Returns the shipping locations for the merchant account identified in the path. A shipping location includes the address where orders can be delivered, and an ID which you need to specify when ordering terminal products. To make this request, your API credential must have one of the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal ordering read * Management API—Terminal ordering read and write" +} + ,"response": [ + ] } ] - } -, + }, { "name": "/merchants/:merchantId/shippingLocations", "description": "Creates a shipping location for the merchant account identified in the path. A shipping location defines an address where orders can be shipped to. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal ordering read and write", @@ -7429,56 +10280,115 @@ { "name": "Create a shipping location", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\" : \"{{YOUR_MERCHANT_ACCOUNT}} Barcelona depot\",\n \"address\" : {\n \"companyName\" : \"YOUR_COMPANY\",\n \"streetAddress\" : \"El quinto pino 42\",\n \"postalCode\" : \"08012\",\n \"city\" : \"Barcelona\",\n \"stateOrProvince\" : \"\",\n \"country\" : \"ES\"\n },\n \"contact\" : {\n \"firstName\" : \"Rita\",\n \"lastName\" : \"Perengano\",\n \"phoneNumber\" : \"+34 93 1234567\",\n \"email\" : \"Rita.Perengano@company.com\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/merchants/:merchantId/shippingLocations", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "merchants", + ":merchantId", + "shippingLocations" + ], + "variable": [ + { + "key": "merchantId", + "value": "{{YOUR_MERCHANT_ACCOUNT}}", + "description": "The unique identifier of the merchant account." + } + ], + "query": [ + ] + }, + "description": "Creates a shipping location for the merchant account identified in the path. A shipping location defines an address where orders can be shipped to. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal ordering read and write" +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"id\" : \"S2-73536B20665526704F30792642212044452F714622375D477270\",\n \"name\" : \"YOUR_MERCHANT_ACCOUNT Barcelona depot\",\n \"contact\" : {\n \"firstName\" : \"Rita\",\n \"lastName\" : \"Perengano\",\n \"phoneNumber\" : \"+34931234567\",\n \"email\" : \"Rita.Perengano@company.com\"\n },\n \"address\" : {\n \"companyName\" : \"YOUR_COMPANY\",\n \"streetAddress\" : \"El quinto pino 42\",\n \"postalCode\" : \"08012\",\n \"city\" : \"Barcelona\",\n \"stateOrProvince\" : \"\"\n }\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\" : \"{{YOUR_MERCHANT_ACCOUNT}} Barcelona depot\",\n \"address\" : {\n \"companyName\" : \"YOUR_COMPANY\",\n \"streetAddress\" : \"El quinto pino 42\",\n \"postalCode\" : \"08012\",\n \"city\" : \"Barcelona\",\n \"stateOrProvince\" : \"\",\n \"country\" : \"ES\"\n },\n \"contact\" : {\n \"firstName\" : \"Rita\",\n \"lastName\" : \"Perengano\",\n \"phoneNumber\" : \"+34 93 1234567\",\n \"email\" : \"Rita.Perengano@company.com\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/merchants/:merchantId/shippingLocations", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "merchants", + ":merchantId", + "shippingLocations" + ], + "variable": [ + { + "key": "merchantId", + "value": "{{YOUR_MERCHANT_ACCOUNT}}", + "description": "The unique identifier of the merchant account." + } + ], + "query": [ + ] + }, + "description": "Creates a shipping location for the merchant account identified in the path. A shipping location defines an address where orders can be shipped to. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal ordering read and write" +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"name\" : \"{{YOUR_MERCHANT_ACCOUNT}} Barcelona depot\",\n \"address\" : {\n \"companyName\" : \"YOUR_COMPANY\",\n \"streetAddress\" : \"El quinto pino 42\",\n \"postalCode\" : \"08012\",\n \"city\" : \"Barcelona\",\n \"stateOrProvince\" : \"\",\n \"country\" : \"ES\"\n },\n \"contact\" : {\n \"firstName\" : \"Rita\",\n \"lastName\" : \"Perengano\",\n \"phoneNumber\" : \"+34 93 1234567\",\n \"email\" : \"Rita.Perengano@company.com\"\n }\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/merchants/:merchantId/shippingLocations", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "merchants", - ":merchantId", - "shippingLocations" - ], - "variable": [ - { - "key": "merchantId", - "value": "{{YOUR_MERCHANT_ACCOUNT}}", - "description": "The unique identifier of the merchant account." - } - ], - "query": [ - ] - }, - "description": "Creates a shipping location for the merchant account identified in the path. A shipping location defines an address where orders can be shipped to. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal ordering read and write" - } + ] } ] - } -, + }, { "name": "/merchants/:merchantId/terminalModels", "description": "Returns the payment terminal models that merchant account identified in the path has access to. The response includes the terminal model ID, which can be used as a query parameter when getting a list of terminals or a list of products for ordering. To make this request, your API credential must have one of the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal ordering read * Management API—Terminal ordering read and write", @@ -7486,50 +10396,51 @@ { "name": "Get a list of terminal models", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/merchants/:merchantId/terminalModels", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "merchants", - ":merchantId", - "terminalModels" - ], - "variable": [ - { - "key": "merchantId", - "value": "{{YOUR_MERCHANT_ACCOUNT}}", - "description": "The unique identifier of the merchant account." - } - ], - "query": [ - ] - }, - "description": "Returns the payment terminal models that merchant account identified in the path has access to. The response includes the terminal model ID, which can be used as a query parameter when getting a list of terminals or a list of products for ordering. To make this request, your API credential must have one of the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal ordering read * Management API—Terminal ordering read and write" - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/merchants/:merchantId/terminalModels", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "merchants", + ":merchantId", + "terminalModels" + ], + "variable": [ + { + "key": "merchantId", + "value": "{{YOUR_MERCHANT_ACCOUNT}}", + "description": "The unique identifier of the merchant account." + } + ], + "query": [ + ] + }, + "description": "Returns the payment terminal models that merchant account identified in the path has access to. The response includes the terminal model ID, which can be used as a query parameter when getting a list of terminals or a list of products for ordering. To make this request, your API credential must have one of the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal ordering read * Management API—Terminal ordering read and write" +} + ,"response": [ + ] } ] - } -, + }, { "name": "/merchants/:merchantId/terminalOrders", "description": "Returns a list of terminal products orders for the merchant account identified in the path. To make this request, your API credential must have one of the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal ordering read * Management API—Terminal ordering read and write", @@ -7537,74 +10448,75 @@ { "name": "Get a list of orders", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/merchants/:merchantId/terminalOrders", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "merchants", - ":merchantId", - "terminalOrders" - ], - "variable": [ - { - "key": "merchantId", - "value": "{{YOUR_MERCHANT_ACCOUNT}}", - "description": "" - } - ], - "query": [ - { - "key": "customerOrderReference", - "value": "customerOrderReference_example", - "description": "Your purchase order number.", - "disabled": true - }, - { - "key": "status", - "value": "status_example", - "description": "The order status. Possible values (not case-sensitive): Placed, Confirmed, Cancelled, Shipped, Delivered.", - "disabled": true - }, - { - "key": "offset", - "value": "56", - "description": "The number of orders to skip.", - "disabled": true - }, - { - "key": "limit", - "value": "56", - "description": "The number of orders to return.", - "disabled": true - } - ] - }, - "description": "Returns a list of terminal products orders for the merchant account identified in the path. To make this request, your API credential must have one of the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal ordering read * Management API—Terminal ordering read and write" - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/merchants/:merchantId/terminalOrders", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "merchants", + ":merchantId", + "terminalOrders" + ], + "variable": [ + { + "key": "merchantId", + "value": "{{YOUR_MERCHANT_ACCOUNT}}", + "description": "" + } + ], + "query": [ + { + "key": "customerOrderReference", + "value": "customerOrderReference_example", + "description": "Your purchase order number.", + "disabled": true + }, + { + "key": "status", + "value": "status_example", + "description": "The order status. Possible values (not case-sensitive): Placed, Confirmed, Cancelled, Shipped, Delivered.", + "disabled": true + }, + { + "key": "offset", + "value": "56", + "description": "The number of orders to skip.", + "disabled": true + }, + { + "key": "limit", + "value": "56", + "description": "The number of orders to return.", + "disabled": true + } + ] + }, + "description": "Returns a list of terminal products orders for the merchant account identified in the path. To make this request, your API credential must have one of the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal ordering read * Management API—Terminal ordering read and write" +} + ,"response": [ + ] } ] - } -, + }, { "name": "/merchants/:merchantId/terminalOrders", "description": "Creates an order for payment terminal products for the merchant account identified in the path. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal ordering read and write >Requests to the Management API test endpoint do not create actual orders for test terminals. To order test terminals, you need to [submit a sales order](https://docs.adyen.com/point-of-sale/managing-terminals/order-terminals/#sales-order-steps) in your Customer Area.", @@ -7612,56 +10524,115 @@ { "name": "Create an order", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"customerOrderReference\" : \"{{$guid}}\",\n \"shippingLocationId\" : \"S2-6A6C2E3432747D4F2F2C3455485E3836457D\",\n \"billingEntityId\" : \"MerchantAccount.{{YOUR_MERCHANT_ACCOUNT}}\",\n \"items\" : [ {\n \"id\" : \"PART-287001-EU\",\n \"name\" : \"Bluetooth Charging Base - V400m\",\n \"quantity\" : 2\n }, {\n \"id\" : \"PART-620222-EU\",\n \"name\" : \"Receipt Roll\",\n \"quantity\" : 20\n } ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/merchants/:merchantId/terminalOrders", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "merchants", + ":merchantId", + "terminalOrders" + ], + "variable": [ + { + "key": "merchantId", + "value": "{{YOUR_MERCHANT_ACCOUNT}}", + "description": "The unique identifier of the merchant account." + } + ], + "query": [ + ] + }, + "description": "Creates an order for payment terminal products for the merchant account identified in the path. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal ordering read and write >Requests to the Management API test endpoint do not create actual orders for test terminals. To order test terminals, you need to [submit a sales order](https://docs.adyen.com/point-of-sale/managing-terminals/order-terminals/#sales-order-steps) in your Customer Area." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"id\" : \"4154567890100682\",\n \"customerOrderReference\" : \"YOUR_REFERENCE\",\n \"status\" : \"Placed\",\n \"shippingLocation\" : {\n \"id\" : \"S2-6A6C2E3432747D4F2F2C3455485E3836457D\",\n \"name\" : \"YOUR_COMPANY Spain\",\n \"contact\" : {\n \"firstName\" : \"Pablo\",\n \"lastName\" : \"Mengano\",\n \"phoneNumber\" : \"+34911234567\",\n \"email\" : \"Pablo.Mengano@company.com\"\n },\n \"address\" : {\n \"streetAddress\" : \"Paseo de la Castellana 43\",\n \"streetAddress2\" : \"7 piso\",\n \"postalCode\" : \"28046\",\n \"city\" : \"Madrid\",\n \"country\" : \"ES\"\n }\n },\n \"billingEntity\" : {\n \"id\" : \"MerchantAccount.YOUR_MERCHANT_ACCOUNT\",\n \"name\" : \"YOUR_MERCHANT_ACCOUNT\",\n \"taxId\" : \"ES1234567890\",\n \"email\" : \"Pablo.Mengano@company.com\",\n \"address\" : {\n \"streetAddress\" : \"Paseo de la Castellana 43, 7\",\n \"postalCode\" : \"28046\",\n \"city\" : \"Madrid\",\n \"country\" : \"ES\"\n }\n },\n \"orderDate\" : \"2022-01-21T16:12:33Z\",\n \"items\" : [ {\n \"id\" : \"PART-287001-EU\",\n \"name\" : \"Bluetooth Charging Base - V400m\",\n \"quantity\" : 2\n }, {\n \"id\" : \"PART-620222-EU\",\n \"name\" : \"Receipt Roll\",\n \"quantity\" : 20\n } ]\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"customerOrderReference\" : \"{{$guid}}\",\n \"shippingLocationId\" : \"S2-6A6C2E3432747D4F2F2C3455485E3836457D\",\n \"billingEntityId\" : \"MerchantAccount.{{YOUR_MERCHANT_ACCOUNT}}\",\n \"items\" : [ {\n \"id\" : \"PART-287001-EU\",\n \"name\" : \"Bluetooth Charging Base - V400m\",\n \"quantity\" : 2\n }, {\n \"id\" : \"PART-620222-EU\",\n \"name\" : \"Receipt Roll\",\n \"quantity\" : 20\n } ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/merchants/:merchantId/terminalOrders", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "merchants", + ":merchantId", + "terminalOrders" + ], + "variable": [ + { + "key": "merchantId", + "value": "{{YOUR_MERCHANT_ACCOUNT}}", + "description": "The unique identifier of the merchant account." + } + ], + "query": [ + ] + }, + "description": "Creates an order for payment terminal products for the merchant account identified in the path. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal ordering read and write >Requests to the Management API test endpoint do not create actual orders for test terminals. To order test terminals, you need to [submit a sales order](https://docs.adyen.com/point-of-sale/managing-terminals/order-terminals/#sales-order-steps) in your Customer Area." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"customerOrderReference\" : \"{{$guid}}\",\n \"shippingLocationId\" : \"S2-6A6C2E3432747D4F2F2C3455485E3836457D\",\n \"billingEntityId\" : \"MerchantAccount.{{YOUR_MERCHANT_ACCOUNT}}\",\n \"items\" : [ {\n \"id\" : \"PART-287001-EU\",\n \"name\" : \"Bluetooth Charging Base - V400m\",\n \"quantity\" : 2\n }, {\n \"id\" : \"PART-620222-EU\",\n \"name\" : \"Receipt Roll\",\n \"quantity\" : 20\n } ]\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/merchants/:merchantId/terminalOrders", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "merchants", - ":merchantId", - "terminalOrders" - ], - "variable": [ - { - "key": "merchantId", - "value": "{{YOUR_MERCHANT_ACCOUNT}}", - "description": "The unique identifier of the merchant account." - } - ], - "query": [ - ] - }, - "description": "Creates an order for payment terminal products for the merchant account identified in the path. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal ordering read and write >Requests to the Management API test endpoint do not create actual orders for test terminals. To order test terminals, you need to [submit a sales order](https://docs.adyen.com/point-of-sale/managing-terminals/order-terminals/#sales-order-steps) in your Customer Area." - } + ] } ] - } -, + }, { "name": "/merchants/:merchantId/terminalOrders/:orderId", "description": "Returns the details of the terminal products order identified in the path. To make this request, your API credential must have one of the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal ordering read * Management API—Terminal ordering read and write", @@ -7669,56 +10640,57 @@ { "name": "Get an order", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/merchants/:merchantId/terminalOrders/:orderId", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "merchants", - ":merchantId", - "terminalOrders", - ":orderId" - ], - "variable": [ - { - "key": "merchantId", - "value": "{{YOUR_MERCHANT_ACCOUNT}}", - "description": "The unique identifier of the merchant account." - }, - { - "key": "orderId", - "value": "", - "description": "The unique identifier of the order." - } - ], - "query": [ - ] - }, - "description": "Returns the details of the terminal products order identified in the path. To make this request, your API credential must have one of the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal ordering read * Management API—Terminal ordering read and write" - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/merchants/:merchantId/terminalOrders/:orderId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "merchants", + ":merchantId", + "terminalOrders", + ":orderId" + ], + "variable": [ + { + "key": "merchantId", + "value": "{{YOUR_MERCHANT_ACCOUNT}}", + "description": "The unique identifier of the merchant account." + }, + { + "key": "orderId", + "value": "", + "description": "The unique identifier of the order." + } + ], + "query": [ + ] + }, + "description": "Returns the details of the terminal products order identified in the path. To make this request, your API credential must have one of the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal ordering read * Management API—Terminal ordering read and write" +} + ,"response": [ + ] } ] - } -, + }, { "name": "/merchants/:merchantId/terminalOrders/:orderId", "description": "Updates the terminal products order identified in the path. Updating is only possible while the order has the status **Placed**. The request body only needs to contain what you want to change. However, to update the products in the `items` array, you must provide the entire array. For example, if the array has three items: To remove one item, the array must include the remaining two items. Or to add one item, the array must include all four items. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal ordering read and write", @@ -7726,62 +10698,127 @@ { "name": "Update a terminal order", "request": { - "method": "PATCH", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"items\" : [ {\n \"id\" : \"TBOX-V400m-684-EU\",\n \"name\" : \"V400m Package\",\n \"quantity\" : 1\n }, {\n \"id\" : \"PART-287001-EU\",\n \"name\" : \"Bluetooth Charging Base - V400m\",\n \"quantity\" : 2\n }, {\n \"id\" : \"PART-620222-EU\",\n \"name\" : \"Receipt Roll\",\n \"quantity\" : 20\n } ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/merchants/:merchantId/terminalOrders/:orderId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "merchants", + ":merchantId", + "terminalOrders", + ":orderId" + ], + "variable": [ + { + "key": "merchantId", + "value": "{{YOUR_MERCHANT_ACCOUNT}}", + "description": "The unique identifier of the merchant account." + }, + { + "key": "orderId", + "value": "", + "description": "The unique identifier of the order." + } + ], + "query": [ + ] + }, + "description": "Updates the terminal products order identified in the path. Updating is only possible while the order has the status **Placed**. The request body only needs to contain what you want to change. However, to update the products in the `items` array, you must provide the entire array. For example, if the array has three items: To remove one item, the array must include the remaining two items. Or to add one item, the array must include all four items. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal ordering read and write" +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"id\" : \"4154567890100682\",\n \"customerOrderReference\" : \"YOUR_REFERENCE\",\n \"status\" : \"Placed\",\n \"shippingLocation\" : {\n \"id\" : \"S2-73536B20665526704F30792642212044452F714622375D477270\",\n \"name\" : \"YOUR_MERCHANT_ACCOUNT Barcelona depot\",\n \"contact\" : {\n \"firstName\" : \"Rita\",\n \"lastName\" : \"Perengano\",\n \"phoneNumber\" : \"+34931234567\",\n \"email\" : \"Rita.Perengano@company.com\"\n },\n \"address\" : {\n \"companyName\" : \"YOUR_COMPANY\",\n \"streetAddress\" : \"El quinto pino 42\",\n \"postalCode\" : \"08012\",\n \"city\" : \"Barcelona\",\n \"stateOrProvince\" : \"\",\n \"country\" : \"ES\"\n }\n },\n \"billingEntity\" : {\n \"id\" : \"MerchantAccount.YOUR_MERCHANT_ACCOUNT\",\n \"name\" : \"YOUR_MERCHANT_ACCOUNT\",\n \"taxId\" : \"ES1234567890\",\n \"email\" : \"Pablo.Mengano@company.com\",\n \"address\" : {\n \"streetAddress\" : \"Paseo de la Castellana 43, 7\",\n \"postalCode\" : \"28046\",\n \"city\" : \"Madrid\",\n \"country\" : \"ES\"\n }\n },\n \"orderDate\" : \"2022-01-21T16:12:33Z\",\n \"items\" : [ {\n \"id\" : \"TBOX-V400m-684-EU\",\n \"name\" : \"V400m Package\",\n \"quantity\" : 1\n }, {\n \"id\" : \"PART-287001-EU\",\n \"name\" : \"Bluetooth Charging Base - V400m\",\n \"quantity\" : 2\n }, {\n \"id\" : \"PART-620222-EU\",\n \"name\" : \"Receipt Roll\",\n \"quantity\" : 20\n } ]\n}", + "originalRequest": { + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"items\" : [ {\n \"id\" : \"TBOX-V400m-684-EU\",\n \"name\" : \"V400m Package\",\n \"quantity\" : 1\n }, {\n \"id\" : \"PART-287001-EU\",\n \"name\" : \"Bluetooth Charging Base - V400m\",\n \"quantity\" : 2\n }, {\n \"id\" : \"PART-620222-EU\",\n \"name\" : \"Receipt Roll\",\n \"quantity\" : 20\n } ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/merchants/:merchantId/terminalOrders/:orderId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "merchants", + ":merchantId", + "terminalOrders", + ":orderId" + ], + "variable": [ + { + "key": "merchantId", + "value": "{{YOUR_MERCHANT_ACCOUNT}}", + "description": "The unique identifier of the merchant account." + }, + { + "key": "orderId", + "value": "", + "description": "The unique identifier of the order." + } + ], + "query": [ + ] + }, + "description": "Updates the terminal products order identified in the path. Updating is only possible while the order has the status **Placed**. The request body only needs to contain what you want to change. However, to update the products in the `items` array, you must provide the entire array. For example, if the array has three items: To remove one item, the array must include the remaining two items. Or to add one item, the array must include all four items. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal ordering read and write" +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"items\" : [ {\n \"id\" : \"TBOX-V400m-684-EU\",\n \"name\" : \"V400m Package\",\n \"quantity\" : 1\n }, {\n \"id\" : \"PART-287001-EU\",\n \"name\" : \"Bluetooth Charging Base - V400m\",\n \"quantity\" : 2\n }, {\n \"id\" : \"PART-620222-EU\",\n \"name\" : \"Receipt Roll\",\n \"quantity\" : 20\n } ]\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/merchants/:merchantId/terminalOrders/:orderId", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "merchants", - ":merchantId", - "terminalOrders", - ":orderId" - ], - "variable": [ - { - "key": "merchantId", - "value": "{{YOUR_MERCHANT_ACCOUNT}}", - "description": "The unique identifier of the merchant account." - }, - { - "key": "orderId", - "value": "", - "description": "The unique identifier of the order." - } - ], - "query": [ - ] - }, - "description": "Updates the terminal products order identified in the path. Updating is only possible while the order has the status **Placed**. The request body only needs to contain what you want to change. However, to update the products in the `items` array, you must provide the entire array. For example, if the array has three items: To remove one item, the array must include the remaining two items. Or to add one item, the array must include all four items. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal ordering read and write" - } + ] } ] - } -, + }, { "name": "/merchants/:merchantId/terminalOrders/:orderId/cancel", "description": "Cancels the terminal products order identified in the path. Cancelling is only possible while the order has the status **Placed**. To cancel an order, make a POST call without a request body. The response returns the full order details, but with the status changed to **Cancelled**. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal ordering read and write", @@ -7789,57 +10826,58 @@ { "name": "Cancel an order", "request": { - "method": "POST", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/merchants/:merchantId/terminalOrders/:orderId/cancel", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "merchants", - ":merchantId", - "terminalOrders", - ":orderId", - "cancel" - ], - "variable": [ - { - "key": "merchantId", - "value": "{{YOUR_MERCHANT_ACCOUNT}}", - "description": "The unique identifier of the merchant account." - }, - { - "key": "orderId", - "value": "", - "description": "The unique identifier of the order." - } - ], - "query": [ - ] - }, - "description": "Cancels the terminal products order identified in the path. Cancelling is only possible while the order has the status **Placed**. To cancel an order, make a POST call without a request body. The response returns the full order details, but with the status changed to **Cancelled**. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal ordering read and write" - } + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/merchants/:merchantId/terminalOrders/:orderId/cancel", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "merchants", + ":merchantId", + "terminalOrders", + ":orderId", + "cancel" + ], + "variable": [ + { + "key": "merchantId", + "value": "{{YOUR_MERCHANT_ACCOUNT}}", + "description": "The unique identifier of the merchant account." + }, + { + "key": "orderId", + "value": "", + "description": "The unique identifier of the order." + } + ], + "query": [ + ] + }, + "description": "Cancels the terminal products order identified in the path. Cancelling is only possible while the order has the status **Placed**. To cancel an order, make a POST call without a request body. The response returns the full order details, but with the status changed to **Cancelled**. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal ordering read and write" +} + ,"response": [ + ] } ] - } -, + }, { "name": "/merchants/:merchantId/terminalProducts", "description": "Returns a country-specific list of payment terminal packages and parts that the merchant account identified in the path has access to. To make this request, your API credential must have one of the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal ordering read * Management API—Terminal ordering read and write", @@ -7847,74 +10885,75 @@ { "name": "Get a list of terminal products", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/merchants/:merchantId/terminalProducts", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "merchants", - ":merchantId", - "terminalProducts" - ], - "variable": [ - { - "key": "merchantId", - "value": "{{YOUR_MERCHANT_ACCOUNT}}", - "description": "The unique identifier of the merchant account." - } - ], - "query": [ - { - "key": "country", - "value": "country_example", - "description": "The country to return products for, in [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format. For example, **US**", - "disabled": false - }, - { - "key": "terminalModelId", - "value": "terminalModelId_example", - "description": "The terminal model to return products for. Use the ID returned in the [GET `/terminalModels`](https://docs.adyen.com/api-explorer/#/ManagementService/latest/get/merchants/{merchantId}/terminalModels) response. For example, **Verifone.M400**", - "disabled": true - }, - { - "key": "offset", - "value": "56", - "description": "The number of products to skip.", - "disabled": true - }, - { - "key": "limit", - "value": "56", - "description": "The number of products to return.", - "disabled": true - } - ] - }, - "description": "Returns a country-specific list of payment terminal packages and parts that the merchant account identified in the path has access to. To make this request, your API credential must have one of the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal ordering read * Management API—Terminal ordering read and write" - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/merchants/:merchantId/terminalProducts", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "merchants", + ":merchantId", + "terminalProducts" + ], + "variable": [ + { + "key": "merchantId", + "value": "{{YOUR_MERCHANT_ACCOUNT}}", + "description": "The unique identifier of the merchant account." + } + ], + "query": [ + { + "key": "country", + "value": "country_example", + "description": "The country to return products for, in [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format. For example, **US**", + "disabled": false + }, + { + "key": "terminalModelId", + "value": "terminalModelId_example", + "description": "The terminal model to return products for. Use the ID returned in the [GET `/terminalModels`](https://docs.adyen.com/api-explorer/#/ManagementService/latest/get/merchants/{merchantId}/terminalModels) response. For example, **Verifone.M400**", + "disabled": true + }, + { + "key": "offset", + "value": "56", + "description": "The number of products to skip.", + "disabled": true + }, + { + "key": "limit", + "value": "56", + "description": "The number of products to return.", + "disabled": true + } + ] + }, + "description": "Returns a country-specific list of payment terminal packages and parts that the merchant account identified in the path has access to. To make this request, your API credential must have one of the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal ordering read * Management API—Terminal ordering read and write" +} + ,"response": [ + ] } ] } - ] }, { @@ -7927,55 +10966,56 @@ { "name": "Get a list of company accounts", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/companies", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "companies" - ], - "variable": [ - ], - "query": [ - { - "key": "pageNumber", - "value": "56", - "description": "The number of the page to fetch.", - "disabled": true - }, - { - "key": "pageSize", - "value": "56", - "description": "The number of items to have on a page, maximum 100. The default is 10 items on a page.", - "disabled": true - } - ] - }, - "description": "Returns the list of company accounts that your API credential has access to. The list is grouped into pages as defined by the query parameters. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Account read" - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/companies", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "companies" + ], + "variable": [ + ], + "query": [ + { + "key": "pageNumber", + "value": "56", + "description": "The number of the page to fetch.", + "disabled": true + }, + { + "key": "pageSize", + "value": "56", + "description": "The number of items to have on a page, maximum 100. The default is 10 items on a page.", + "disabled": true + } + ] + }, + "description": "Returns the list of company accounts that your API credential has access to. The list is grouped into pages as defined by the query parameters. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Account read" +} + ,"response": [ + ] } ] - } -, + }, { "name": "/companies/:companyId", "description": "Returns the company account specified in the path. Your API credential must have access to the company account. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Account read", @@ -7983,49 +11023,50 @@ { "name": "Get a company account", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/companies/:companyId", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "companies", - ":companyId" - ], - "variable": [ - { - "key": "companyId", - "value": "{{YOUR_COMPANY_ACCOUNT}}", - "description": "The unique identifier of the company account." - } - ], - "query": [ - ] - }, - "description": "Returns the company account specified in the path. Your API credential must have access to the company account. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Account read" - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/companies/:companyId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "companies", + ":companyId" + ], + "variable": [ + { + "key": "companyId", + "value": "{{YOUR_COMPANY_ACCOUNT}}", + "description": "The unique identifier of the company account." + } + ], + "query": [ + ] + }, + "description": "Returns the company account specified in the path. Your API credential must have access to the company account. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Account read" +} + ,"response": [ + ] } ] - } -, + }, { "name": "/companies/:companyId/merchants", "description": "Returns the list of merchant accounts under the company account specified in the path. The list only includes merchant accounts that your API credential has access to. The list is grouped into pages as defined by the query parameters. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Account read", @@ -8033,62 +11074,63 @@ { "name": "Get a list of merchant accounts", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/companies/:companyId/merchants", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "companies", - ":companyId", - "merchants" - ], - "variable": [ - { - "key": "companyId", - "value": "{{YOUR_COMPANY_ACCOUNT}}", - "description": "The unique identifier of the company account." - } - ], - "query": [ - { - "key": "pageNumber", - "value": "56", - "description": "The number of the page to fetch.", - "disabled": true - }, - { - "key": "pageSize", - "value": "56", - "description": "The number of items to have on a page, maximum 100. The default is 10 items on a page.", - "disabled": true - } - ] - }, - "description": "Returns the list of merchant accounts under the company account specified in the path. The list only includes merchant accounts that your API credential has access to. The list is grouped into pages as defined by the query parameters. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Account read" - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/companies/:companyId/merchants", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "companies", + ":companyId", + "merchants" + ], + "variable": [ + { + "key": "companyId", + "value": "{{YOUR_COMPANY_ACCOUNT}}", + "description": "The unique identifier of the company account." + } + ], + "query": [ + { + "key": "pageNumber", + "value": "56", + "description": "The number of the page to fetch.", + "disabled": true + }, + { + "key": "pageSize", + "value": "56", + "description": "The number of items to have on a page, maximum 100. The default is 10 items on a page.", + "disabled": true + } + ] + }, + "description": "Returns the list of merchant accounts under the company account specified in the path. The list only includes merchant accounts that your API credential has access to. The list is grouped into pages as defined by the query parameters. To make this request, your API credential must have the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Account read" +} + ,"response": [ + ] } ] } - ] }, { @@ -8101,63 +11143,64 @@ { "name": "Get the terminal logo", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/merchants/:merchantId/stores/:reference/terminalLogos", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "merchants", - ":merchantId", - "stores", - ":reference", - "terminalLogos" - ], - "variable": [ - { - "key": "merchantId", - "value": "{{YOUR_MERCHANT_ACCOUNT}}", - "description": "The unique identifier of the merchant account." - }, - { - "key": "reference", - "value": "", - "description": "The reference that identifies the store." - } - ], - "query": [ - { - "key": "model", - "value": "model_example", - "description": "The terminal model. Possible values: E355, VX675WIFIBT, VX680, VX690, VX700, VX820, M400, MX925, P400Plus, UX300, UX410, V200cPlus, V240mPlus, V400cPlus, V400m, e280, e285, e285p, S1E, S1EL, S1F2, S1L, S1U, S7T.", - "disabled": false - } - ] - }, - "description": "Returns the logo that is configured for a specific payment terminal model at the store identified in the path. The logo is returned as a Base64-encoded string. You need to Base64-decode the string to get the actual image file. This logo applies to all terminals of the specified model under the store, unless a different logo is configured for an individual terminal. To make this request, your API credential must have one of the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal settings read * Management API—Terminal settings read and write" - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/merchants/:merchantId/stores/:reference/terminalLogos", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "merchants", + ":merchantId", + "stores", + ":reference", + "terminalLogos" + ], + "variable": [ + { + "key": "merchantId", + "value": "{{YOUR_MERCHANT_ACCOUNT}}", + "description": "The unique identifier of the merchant account." + }, + { + "key": "reference", + "value": "", + "description": "The reference that identifies the store." + } + ], + "query": [ + { + "key": "model", + "value": "model_example", + "description": "The terminal model. Possible values: E355, VX675WIFIBT, VX680, VX690, VX700, VX820, M400, MX925, P400Plus, UX300, UX410, V200cPlus, V240mPlus, V400cPlus, V400m, e280, e285, e285p, S1E, S1EL, S1F2, S1L, S1U, S7T.", + "disabled": false + } + ] + }, + "description": "Returns the logo that is configured for a specific payment terminal model at the store identified in the path. The logo is returned as a Base64-encoded string. You need to Base64-decode the string to get the actual image file. This logo applies to all terminals of the specified model under the store, unless a different logo is configured for an individual terminal. To make this request, your API credential must have one of the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal settings read * Management API—Terminal settings read and write" +} + ,"response": [ + ] } ] - } -, + }, { "name": "/merchants/:merchantId/stores/:reference/terminalLogos", "description": "Updates the logo that is configured for a specific payment terminal model at the store identified in the path. You can update the logo for only one terminal model at a time. This logo applies to all terminals of the specified model under the store, unless a different logo is configured for an individual terminal. * To change the logo, specify the image file as a Base64-encoded string. * To restore the logo inherited from a higher level (merchant or company account), specify an empty logo value. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal settings read and write", @@ -8165,132 +11208,277 @@ { "name": "Remove logo to restore the logo from a higher level", "request": { - "method": "PATCH", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"data\" : \"\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/merchants/:merchantId/stores/:reference/terminalLogos", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "merchants", + ":merchantId", + "stores", + ":reference", + "terminalLogos" + ], + "variable": [ + { + "key": "merchantId", + "value": "{{YOUR_MERCHANT_ACCOUNT}}", + "description": "The unique identifier of the merchant account." + }, + { + "key": "reference", + "value": "", + "description": "The reference that identifies the store." + } + ], + "query": [ + { + "key": "model", + "value": "model_example", + "description": "The terminal model. Possible values: E355, VX675WIFIBT, VX680, VX690, VX700, VX820, M400, MX925, P400Plus, UX300, UX410, V200cPlus, V240mPlus, V400cPlus, V400m, e280, e285, e285p, S1E, S1EL, S1F2, S1L, S1U, S7T", + "disabled": false + } + ] + }, + "description": "Updates the logo that is configured for a specific payment terminal model at the store identified in the path. You can update the logo for only one terminal model at a time. This logo applies to all terminals of the specified model under the store, unless a different logo is configured for an individual terminal. * To change the logo, specify the image file as a Base64-encoded string. * To restore the logo inherited from a higher level (merchant or company account), specify an empty logo value. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal settings read and write" +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"data\" : \"LOGO_INHERITED_FROM_HIGHER_LEVEL_BASE-64_ENCODED_STRING\"\n}", + "originalRequest": { + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"data\" : \"\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/merchants/:merchantId/stores/:reference/terminalLogos", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "merchants", + ":merchantId", + "stores", + ":reference", + "terminalLogos" + ], + "variable": [ + { + "key": "merchantId", + "value": "{{YOUR_MERCHANT_ACCOUNT}}", + "description": "The unique identifier of the merchant account." + }, + { + "key": "reference", + "value": "", + "description": "The reference that identifies the store." + } + ], + "query": [ + { + "key": "model", + "value": "model_example", + "description": "The terminal model. Possible values: E355, VX675WIFIBT, VX680, VX690, VX700, VX820, M400, MX925, P400Plus, UX300, UX410, V200cPlus, V240mPlus, V400cPlus, V400m, e280, e285, e285p, S1E, S1EL, S1F2, S1L, S1U, S7T", + "disabled": false + } + ] + }, + "description": "Updates the logo that is configured for a specific payment terminal model at the store identified in the path. You can update the logo for only one terminal model at a time. This logo applies to all terminals of the specified model under the store, unless a different logo is configured for an individual terminal. * To change the logo, specify the image file as a Base64-encoded string. * To restore the logo inherited from a higher level (merchant or company account), specify an empty logo value. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal settings read and write" +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"data\" : \"\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/merchants/:merchantId/stores/:reference/terminalLogos", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "merchants", - ":merchantId", - "stores", - ":reference", - "terminalLogos" - ], - "variable": [ - { - "key": "merchantId", - "value": "{{YOUR_MERCHANT_ACCOUNT}}", - "description": "The unique identifier of the merchant account." - }, - { - "key": "reference", - "value": "", - "description": "The reference that identifies the store." - } - ], - "query": [ - { - "key": "model", - "value": "model_example", - "description": "The terminal model. Possible values: E355, VX675WIFIBT, VX680, VX690, VX700, VX820, M400, MX925, P400Plus, UX300, UX410, V200cPlus, V240mPlus, V400cPlus, V400m, e280, e285, e285p, S1E, S1EL, S1F2, S1L, S1U, S7T", - "disabled": false - } - ] - }, - "description": "Updates the logo that is configured for a specific payment terminal model at the store identified in the path. You can update the logo for only one terminal model at a time. This logo applies to all terminals of the specified model under the store, unless a different logo is configured for an individual terminal. * To change the logo, specify the image file as a Base64-encoded string. * To restore the logo inherited from a higher level (merchant or company account), specify an empty logo value. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal settings read and write" - } + ] }, { "name": "Upload terminal logo", "request": { - "method": "PATCH", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"data\" : \"LOGO_FILE_CONVERTED_TO_A_BASE-64_ENCODED_STRING\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/merchants/:merchantId/stores/:reference/terminalLogos", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "merchants", + ":merchantId", + "stores", + ":reference", + "terminalLogos" + ], + "variable": [ + { + "key": "merchantId", + "value": "{{YOUR_MERCHANT_ACCOUNT}}", + "description": "The unique identifier of the merchant account." + }, + { + "key": "reference", + "value": "", + "description": "The reference that identifies the store." + } + ], + "query": [ + { + "key": "model", + "value": "model_example", + "description": "The terminal model. Possible values: E355, VX675WIFIBT, VX680, VX690, VX700, VX820, M400, MX925, P400Plus, UX300, UX410, V200cPlus, V240mPlus, V400cPlus, V400m, e280, e285, e285p, S1E, S1EL, S1F2, S1L, S1U, S7T", + "disabled": false + } + ] + }, + "description": "Updates the logo that is configured for a specific payment terminal model at the store identified in the path. You can update the logo for only one terminal model at a time. This logo applies to all terminals of the specified model under the store, unless a different logo is configured for an individual terminal. * To change the logo, specify the image file as a Base64-encoded string. * To restore the logo inherited from a higher level (merchant or company account), specify an empty logo value. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal settings read and write" +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"data\" : \"BASE-64_ENCODED_STRING_FROM_THE_REQUEST\"\n}", + "originalRequest": { + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"data\" : \"LOGO_FILE_CONVERTED_TO_A_BASE-64_ENCODED_STRING\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/merchants/:merchantId/stores/:reference/terminalLogos", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "merchants", + ":merchantId", + "stores", + ":reference", + "terminalLogos" + ], + "variable": [ + { + "key": "merchantId", + "value": "{{YOUR_MERCHANT_ACCOUNT}}", + "description": "The unique identifier of the merchant account." + }, + { + "key": "reference", + "value": "", + "description": "The reference that identifies the store." + } + ], + "query": [ + { + "key": "model", + "value": "model_example", + "description": "The terminal model. Possible values: E355, VX675WIFIBT, VX680, VX690, VX700, VX820, M400, MX925, P400Plus, UX300, UX410, V200cPlus, V240mPlus, V400cPlus, V400m, e280, e285, e285p, S1E, S1EL, S1F2, S1L, S1U, S7T", + "disabled": false + } + ] + }, + "description": "Updates the logo that is configured for a specific payment terminal model at the store identified in the path. You can update the logo for only one terminal model at a time. This logo applies to all terminals of the specified model under the store, unless a different logo is configured for an individual terminal. * To change the logo, specify the image file as a Base64-encoded string. * To restore the logo inherited from a higher level (merchant or company account), specify an empty logo value. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal settings read and write" +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"data\" : \"LOGO_FILE_CONVERTED_TO_A_BASE-64_ENCODED_STRING\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/merchants/:merchantId/stores/:reference/terminalLogos", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "merchants", - ":merchantId", - "stores", - ":reference", - "terminalLogos" - ], - "variable": [ - { - "key": "merchantId", - "value": "{{YOUR_MERCHANT_ACCOUNT}}", - "description": "The unique identifier of the merchant account." - }, - { - "key": "reference", - "value": "", - "description": "The reference that identifies the store." - } - ], - "query": [ - { - "key": "model", - "value": "model_example", - "description": "The terminal model. Possible values: E355, VX675WIFIBT, VX680, VX690, VX700, VX820, M400, MX925, P400Plus, UX300, UX410, V200cPlus, V240mPlus, V400cPlus, V400m, e280, e285, e285p, S1E, S1EL, S1F2, S1L, S1U, S7T", - "disabled": false - } - ] - }, - "description": "Updates the logo that is configured for a specific payment terminal model at the store identified in the path. You can update the logo for only one terminal model at a time. This logo applies to all terminals of the specified model under the store, unless a different logo is configured for an individual terminal. * To change the logo, specify the image file as a Base64-encoded string. * To restore the logo inherited from a higher level (merchant or company account), specify an empty logo value. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal settings read and write" - } + ] } ] - } -, + }, { "name": "/merchants/:merchantId/stores/:reference/terminalSettings", "description": "Returns the payment terminal settings that are configured for the store identified in the path. These settings apply to all terminals under the store unless different values are configured for an individual terminal. To make this request, your API credential must have one of the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal settings read * Management API—Terminal settings read and write For [sensitive terminal settings](https://docs.adyen.com/point-of-sale/automating-terminal-management/configure-terminals-api#sensitive-terminal-settings), your API credential must have the following role: * Management API—Terminal settings Advanced read and write", @@ -8298,57 +11486,58 @@ { "name": "Get terminal settings", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/merchants/:merchantId/stores/:reference/terminalSettings", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "merchants", - ":merchantId", - "stores", - ":reference", - "terminalSettings" - ], - "variable": [ - { - "key": "merchantId", - "value": "{{YOUR_MERCHANT_ACCOUNT}}", - "description": "The unique identifier of the merchant account." - }, - { - "key": "reference", - "value": "", - "description": "The reference that identifies the store." - } - ], - "query": [ - ] - }, - "description": "Returns the payment terminal settings that are configured for the store identified in the path. These settings apply to all terminals under the store unless different values are configured for an individual terminal. To make this request, your API credential must have one of the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal settings read * Management API—Terminal settings read and write For [sensitive terminal settings](https://docs.adyen.com/point-of-sale/automating-terminal-management/configure-terminals-api#sensitive-terminal-settings), your API credential must have the following role: * Management API—Terminal settings Advanced read and write" - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/merchants/:merchantId/stores/:reference/terminalSettings", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "merchants", + ":merchantId", + "stores", + ":reference", + "terminalSettings" + ], + "variable": [ + { + "key": "merchantId", + "value": "{{YOUR_MERCHANT_ACCOUNT}}", + "description": "The unique identifier of the merchant account." + }, + { + "key": "reference", + "value": "", + "description": "The reference that identifies the store." + } + ], + "query": [ + ] + }, + "description": "Returns the payment terminal settings that are configured for the store identified in the path. These settings apply to all terminals under the store unless different values are configured for an individual terminal. To make this request, your API credential must have one of the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal settings read * Management API—Terminal settings read and write For [sensitive terminal settings](https://docs.adyen.com/point-of-sale/automating-terminal-management/configure-terminals-api#sensitive-terminal-settings), your API credential must have the following role: * Management API—Terminal settings Advanced read and write" +} + ,"response": [ + ] } ] - } -, + }, { "name": "/merchants/:merchantId/stores/:reference/terminalSettings", "description": "Updates payment terminal settings for the store identified in the path. These settings apply to all terminals under the store, unless different values are configured for an individual terminal. * To change a parameter value, include the full object that contains the parameter, even if you don't want to change all parameters in the object. * To restore a parameter value inherited from a higher level, include the full object that contains the parameter, and specify an empty value for the parameter or omit the parameter. * Objects that are not included in the request are not updated. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal settings read and write For [sensitive terminal settings](https://docs.adyen.com/point-of-sale/automating-terminal-management/configure-terminals-api#sensitive-terminal-settings), your API credential must have the following role: * Management API—Terminal settings Advanced read and write", @@ -8356,120 +11545,253 @@ { "name": "Add EAP-PEAP and PSK Wi-Fi profiles", "request": { - "method": "PATCH", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"wifiProfiles\" : {\n \"profiles\" : [ {\n \"authType\" : \"wpa-eap\",\n \"autoWifi\" : false,\n \"bssType\" : \"infra\",\n \"channel\" : 0,\n \"defaultProfile\" : true,\n \"eap\" : \"peap\",\n \"eapCaCert\" : {\n \"data\" : \"MD1rKS05M2JqRVFNQ...RTtLH1tLWo=\",\n \"name\" : \"eap-peap-ca.pem\"\n },\n \"eapIdentity\" : \"admin\",\n \"eapIntermediateCert\" : {\n \"data\" : \"PD3tUS1CRDdJTiGDR...EFoLS0tLQg=\",\n \"name\" : \"eap-peap-client.pem\"\n },\n \"eapPwd\" : \"EAP_PEAP_PASSWORD\",\n \"name\" : \"Profile-eap-peap-1\",\n \"ssid\" : \"your-network\",\n \"wsec\" : \"ccmp\"\n }, {\n \"authType\" : \"wpa-psk\",\n \"autoWifi\" : false,\n \"bssType\" : \"infra\",\n \"channel\" : 0,\n \"defaultProfile\" : false,\n \"name\" : \"Profile-guest-wifi\",\n \"psk\" : \"WIFI_PASSWORD\",\n \"ssid\" : \"your-network\",\n \"wsec\" : \"ccmp\"\n } ],\n \"settings\" : {\n \"band\" : \"2.4GHz\",\n \"roaming\" : true,\n \"timeout\" : 5\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/merchants/:merchantId/stores/:reference/terminalSettings", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "merchants", + ":merchantId", + "stores", + ":reference", + "terminalSettings" + ], + "variable": [ + { + "key": "merchantId", + "value": "{{YOUR_MERCHANT_ACCOUNT}}", + "description": "The unique identifier of the merchant account." + }, + { + "key": "reference", + "value": "", + "description": "The reference that identifies the store." + } + ], + "query": [ + ] + }, + "description": "Updates payment terminal settings for the store identified in the path. These settings apply to all terminals under the store, unless different values are configured for an individual terminal. * To change a parameter value, include the full object that contains the parameter, even if you don't want to change all parameters in the object. * To restore a parameter value inherited from a higher level, include the full object that contains the parameter, and specify an empty value for the parameter or omit the parameter. * Objects that are not included in the request are not updated. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal settings read and write For [sensitive terminal settings](https://docs.adyen.com/point-of-sale/automating-terminal-management/configure-terminals-api#sensitive-terminal-settings), your API credential must have the following role: * Management API—Terminal settings Advanced read and write" +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"cardholderReceipt\" : {\n \"headerForAuthorizedReceipt\" : \"header1,header2,filler\"\n },\n \"gratuities\" : [ {\n \"currency\" : \"EUR\",\n \"usePredefinedTipEntries\" : true,\n \"predefinedTipEntries\" : [ \"100\", \"1%\", \"5%\" ],\n \"allowCustomAmount\" : true\n } ],\n \"nexo\" : {\n \"displayUrls\" : {\n \"localUrls\" : [ {\n \"password\" : \"BASIC_AUTH_PASSWORD\",\n \"url\" : \"https://your-display-notifications-endpoint.com\",\n \"username\" : \"BASIC_AUTH_USERNAME\"\n } ]\n },\n \"encryptionKey\" : {\n \"identifier\" : \"KEY_IDENTIFIER\",\n \"passphrase\" : \"KEY_PASSPHRASE\",\n \"version\" : 1\n },\n \"eventUrls\" : {\n \"eventPublicUrls\" : [ {\n \"password\" : \"BASIC_AUTH_PASSWORD\",\n \"url\" : \"https://your-event-notifications-endpoint.com\",\n \"username\" : \"BASIC_AUTH_USERNAME\"\n } ]\n }\n },\n \"opi\" : {\n \"enablePayAtTable\" : true,\n \"payAtTableStoreNumber\" : \"1\",\n \"payAtTableURL\" : \"https:/your-pay-at-table-endpoint.com\"\n },\n \"offlineProcessing\" : {\n \"chipFloorLimit\" : 0\n },\n \"receiptOptions\" : {\n \"qrCodeData\" : \"http://www.example.com/order/${pspreference}/${merchantreference}\"\n },\n \"receiptPrinting\" : {\n \"shopperApproved\" : true,\n \"shopperRefused\" : true,\n \"shopperCancelled\" : true,\n \"shopperRefundApproved\" : true,\n \"shopperRefundRefused\" : true,\n \"shopperVoid\" : true\n },\n \"signature\" : {\n \"askSignatureOnScreen\" : true,\n \"skipSignature\" : false,\n \"deviceName\" : \"Amsterdam-236203386\"\n },\n \"wifiProfiles\" : {\n \"profiles\" : [ {\n \"authType\" : \"wpa-eap\",\n \"autoWifi\" : false,\n \"bssType\" : \"infra\",\n \"channel\" : 0,\n \"defaultProfile\" : true,\n \"eap\" : \"peap\",\n \"eapCaCert\" : {\n \"data\" : \"MD1rKS05M2JqRVFNQ...RTtLH1tLWo=\",\n \"name\" : \"eap-peap-ca.pem\"\n },\n \"eapIdentity\" : \"admin\",\n \"eapIntermediateCert\" : {\n \"data\" : \"PD3tUS1CRDdJTiGDR...EFoLS0tLQg=\",\n \"name\" : \"eap-peap-client.pem\"\n },\n \"eapPwd\" : \"EAP_PEAP_PASSWORD\",\n \"name\" : \"Profile-eap-peap-1\",\n \"ssid\" : \"your-network\",\n \"wsec\" : \"ccmp\"\n }, {\n \"authType\" : \"wpa-psk\",\n \"autoWifi\" : false,\n \"bssType\" : \"infra\",\n \"channel\" : 0,\n \"defaultProfile\" : false,\n \"name\" : \"Profile-guest-wifi\",\n \"psk\" : \"WIFI_PASSWORD\",\n \"ssid\" : \"your-network\",\n \"wsec\" : \"ccmp\"\n } ],\n \"settings\" : {\n \"band\" : \"2.4GHz\",\n \"roaming\" : true,\n \"timeout\" : 5\n }\n },\n \"timeouts\" : {\n \"fromActiveToSleep\" : 30\n },\n \"hardware\" : {\n \"displayMaximumBackLight\" : 75\n }\n}", + "originalRequest": { + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"wifiProfiles\" : {\n \"profiles\" : [ {\n \"authType\" : \"wpa-eap\",\n \"autoWifi\" : false,\n \"bssType\" : \"infra\",\n \"channel\" : 0,\n \"defaultProfile\" : true,\n \"eap\" : \"peap\",\n \"eapCaCert\" : {\n \"data\" : \"MD1rKS05M2JqRVFNQ...RTtLH1tLWo=\",\n \"name\" : \"eap-peap-ca.pem\"\n },\n \"eapIdentity\" : \"admin\",\n \"eapIntermediateCert\" : {\n \"data\" : \"PD3tUS1CRDdJTiGDR...EFoLS0tLQg=\",\n \"name\" : \"eap-peap-client.pem\"\n },\n \"eapPwd\" : \"EAP_PEAP_PASSWORD\",\n \"name\" : \"Profile-eap-peap-1\",\n \"ssid\" : \"your-network\",\n \"wsec\" : \"ccmp\"\n }, {\n \"authType\" : \"wpa-psk\",\n \"autoWifi\" : false,\n \"bssType\" : \"infra\",\n \"channel\" : 0,\n \"defaultProfile\" : false,\n \"name\" : \"Profile-guest-wifi\",\n \"psk\" : \"WIFI_PASSWORD\",\n \"ssid\" : \"your-network\",\n \"wsec\" : \"ccmp\"\n } ],\n \"settings\" : {\n \"band\" : \"2.4GHz\",\n \"roaming\" : true,\n \"timeout\" : 5\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/merchants/:merchantId/stores/:reference/terminalSettings", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "merchants", + ":merchantId", + "stores", + ":reference", + "terminalSettings" + ], + "variable": [ + { + "key": "merchantId", + "value": "{{YOUR_MERCHANT_ACCOUNT}}", + "description": "The unique identifier of the merchant account." + }, + { + "key": "reference", + "value": "", + "description": "The reference that identifies the store." + } + ], + "query": [ + ] + }, + "description": "Updates payment terminal settings for the store identified in the path. These settings apply to all terminals under the store, unless different values are configured for an individual terminal. * To change a parameter value, include the full object that contains the parameter, even if you don't want to change all parameters in the object. * To restore a parameter value inherited from a higher level, include the full object that contains the parameter, and specify an empty value for the parameter or omit the parameter. * Objects that are not included in the request are not updated. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal settings read and write For [sensitive terminal settings](https://docs.adyen.com/point-of-sale/automating-terminal-management/configure-terminals-api#sensitive-terminal-settings), your API credential must have the following role: * Management API—Terminal settings Advanced read and write" +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"wifiProfiles\" : {\n \"profiles\" : [ {\n \"authType\" : \"wpa-eap\",\n \"autoWifi\" : false,\n \"bssType\" : \"infra\",\n \"channel\" : 0,\n \"defaultProfile\" : true,\n \"eap\" : \"peap\",\n \"eapCaCert\" : {\n \"data\" : \"MD1rKS05M2JqRVFNQ...RTtLH1tLWo=\",\n \"name\" : \"eap-peap-ca.pem\"\n },\n \"eapIdentity\" : \"admin\",\n \"eapIntermediateCert\" : {\n \"data\" : \"PD3tUS1CRDdJTiGDR...EFoLS0tLQg=\",\n \"name\" : \"eap-peap-client.pem\"\n },\n \"eapPwd\" : \"EAP_PEAP_PASSWORD\",\n \"name\" : \"Profile-eap-peap-1\",\n \"ssid\" : \"your-network\",\n \"wsec\" : \"ccmp\"\n }, {\n \"authType\" : \"wpa-psk\",\n \"autoWifi\" : false,\n \"bssType\" : \"infra\",\n \"channel\" : 0,\n \"defaultProfile\" : false,\n \"name\" : \"Profile-guest-wifi\",\n \"psk\" : \"WIFI_PASSWORD\",\n \"ssid\" : \"your-network\",\n \"wsec\" : \"ccmp\"\n } ],\n \"settings\" : {\n \"band\" : \"2.4GHz\",\n \"roaming\" : true,\n \"timeout\" : 5\n }\n }\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/merchants/:merchantId/stores/:reference/terminalSettings", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "merchants", - ":merchantId", - "stores", - ":reference", - "terminalSettings" - ], - "variable": [ - { - "key": "merchantId", - "value": "{{YOUR_MERCHANT_ACCOUNT}}", - "description": "The unique identifier of the merchant account." - }, - { - "key": "reference", - "value": "", - "description": "The reference that identifies the store." - } - ], - "query": [ - ] - }, - "description": "Updates payment terminal settings for the store identified in the path. These settings apply to all terminals under the store, unless different values are configured for an individual terminal. * To change a parameter value, include the full object that contains the parameter, even if you don't want to change all parameters in the object. * To restore a parameter value inherited from a higher level, include the full object that contains the parameter, and specify an empty value for the parameter or omit the parameter. * Objects that are not included in the request are not updated. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal settings read and write For [sensitive terminal settings](https://docs.adyen.com/point-of-sale/automating-terminal-management/configure-terminals-api#sensitive-terminal-settings), your API credential must have the following role: * Management API—Terminal settings Advanced read and write" - } + ] }, { "name": "Add EAP-TLS Wi-Fi profile", "request": { - "method": "PATCH", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"wifiProfiles\" : {\n \"profiles\" : [ {\n \"authType\" : \"wpa-eap\",\n \"autoWifi\" : false,\n \"bssType\" : \"infra\",\n \"channel\" : 0,\n \"defaultProfile\" : true,\n \"eap\" : \"tls\",\n \"eapCaCert\" : {\n \"data\" : \"LS0tLS05M2JqRVFNQ...EUtLS0tLQo=\",\n \"name\" : \"eap-tls-ca.pem\"\n },\n \"eapClientCert\" : {\n \"data\" : \"LS0tLS1CRUdJTiBDR...EUtLS0tLQo=\",\n \"name\" : \"eap-tls-client.pem\"\n },\n \"eapClientKey\" : {\n \"data\" : \"AAAB3NzaC1...Rtah3KLFwPU=\",\n \"name\" : \"rsa-private.key\"\n },\n \"eapClientPwd\" : \"\",\n \"eapIdentity\" : \"admin\",\n \"name\" : \"Profile-eap-tls-1\",\n \"ssid\" : \"your-network\",\n \"wsec\" : \"ccmp\"\n } ],\n \"settings\" : {\n \"band\" : \"2.4GHz\",\n \"roaming\" : true,\n \"timeout\" : 5\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/merchants/:merchantId/stores/:reference/terminalSettings", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "merchants", + ":merchantId", + "stores", + ":reference", + "terminalSettings" + ], + "variable": [ + { + "key": "merchantId", + "value": "{{YOUR_MERCHANT_ACCOUNT}}", + "description": "The unique identifier of the merchant account." + }, + { + "key": "reference", + "value": "", + "description": "The reference that identifies the store." + } + ], + "query": [ + ] + }, + "description": "Updates payment terminal settings for the store identified in the path. These settings apply to all terminals under the store, unless different values are configured for an individual terminal. * To change a parameter value, include the full object that contains the parameter, even if you don't want to change all parameters in the object. * To restore a parameter value inherited from a higher level, include the full object that contains the parameter, and specify an empty value for the parameter or omit the parameter. * Objects that are not included in the request are not updated. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal settings read and write For [sensitive terminal settings](https://docs.adyen.com/point-of-sale/automating-terminal-management/configure-terminals-api#sensitive-terminal-settings), your API credential must have the following role: * Management API—Terminal settings Advanced read and write" +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"cardholderReceipt\" : {\n \"headerForAuthorizedReceipt\" : \"header1,header2,filler\"\n },\n \"gratuities\" : [ {\n \"currency\" : \"EUR\",\n \"usePredefinedTipEntries\" : true,\n \"predefinedTipEntries\" : [ \"100\", \"1%\", \"5%\" ],\n \"allowCustomAmount\" : true\n } ],\n \"nexo\" : {\n \"displayUrls\" : {\n \"localUrls\" : [ {\n \"password\" : \"BASIC_AUTH_PASSWORD\",\n \"url\" : \"https://your-display-notifications-endpoint.com\",\n \"username\" : \"BASIC_AUTH_USERNAME\"\n } ]\n },\n \"encryptionKey\" : {\n \"identifier\" : \"KEY_IDENTIFIER\",\n \"passphrase\" : \"KEY_PASSPHRASE\",\n \"version\" : 1\n },\n \"eventUrls\" : {\n \"eventPublicUrls\" : [ {\n \"password\" : \"BASIC_AUTH_PASSWORD\",\n \"url\" : \"https://your-event-notifications-endpoint.com\",\n \"username\" : \"BASIC_AUTH_USERNAME\"\n } ]\n }\n },\n \"opi\" : {\n \"enablePayAtTable\" : true,\n \"payAtTableStoreNumber\" : \"1\",\n \"payAtTableURL\" : \"https:/your-pay-at-table-endpoint.com\"\n },\n \"offlineProcessing\" : {\n \"chipFloorLimit\" : 0\n },\n \"receiptOptions\" : {\n \"qrCodeData\" : \"http://www.example.com/order/${pspreference}/${merchantreference}\"\n },\n \"receiptPrinting\" : {\n \"shopperApproved\" : true,\n \"shopperRefused\" : true,\n \"shopperCancelled\" : true,\n \"shopperRefundApproved\" : true,\n \"shopperRefundRefused\" : true,\n \"shopperVoid\" : true\n },\n \"signature\" : {\n \"askSignatureOnScreen\" : true,\n \"skipSignature\" : false,\n \"deviceName\" : \"Amsterdam-236203386\"\n },\n \"wifiProfiles\" : {\n \"profiles\" : [ {\n \"authType\" : \"wpa-eap\",\n \"autoWifi\" : false,\n \"bssType\" : \"infra\",\n \"channel\" : 0,\n \"defaultProfile\" : true,\n \"eap\" : \"tls\",\n \"eapCaCert\" : {\n \"data\" : \"LS0tLS05M2JqRVFNQ...EUtLS0tLQo=\",\n \"name\" : \"eap-tls-ca.pem\"\n },\n \"eapClientCert\" : {\n \"data\" : \"LS0tLS1CRUdJTiBDR...EUtLS0tLQo=\",\n \"name\" : \"eap-tls-client.pem\"\n },\n \"eapClientKey\" : {\n \"data\" : \"AAAB3NzaC1...Rtah3KLFwPU=\",\n \"name\" : \"rsa-private.key\"\n },\n \"eapClientPwd\" : \"\",\n \"eapIdentity\" : \"admin\",\n \"name\" : \"Profile-eap-tls-1\",\n \"ssid\" : \"your-network\",\n \"wsec\" : \"ccmp\"\n } ],\n \"settings\" : {\n \"band\" : \"2.4GHz\",\n \"roaming\" : true,\n \"timeout\" : 5\n }\n },\n \"timeouts\" : {\n \"fromActiveToSleep\" : 30\n },\n \"hardware\" : {\n \"displayMaximumBackLight\" : 75\n }\n}", + "originalRequest": { + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"wifiProfiles\" : {\n \"profiles\" : [ {\n \"authType\" : \"wpa-eap\",\n \"autoWifi\" : false,\n \"bssType\" : \"infra\",\n \"channel\" : 0,\n \"defaultProfile\" : true,\n \"eap\" : \"tls\",\n \"eapCaCert\" : {\n \"data\" : \"LS0tLS05M2JqRVFNQ...EUtLS0tLQo=\",\n \"name\" : \"eap-tls-ca.pem\"\n },\n \"eapClientCert\" : {\n \"data\" : \"LS0tLS1CRUdJTiBDR...EUtLS0tLQo=\",\n \"name\" : \"eap-tls-client.pem\"\n },\n \"eapClientKey\" : {\n \"data\" : \"AAAB3NzaC1...Rtah3KLFwPU=\",\n \"name\" : \"rsa-private.key\"\n },\n \"eapClientPwd\" : \"\",\n \"eapIdentity\" : \"admin\",\n \"name\" : \"Profile-eap-tls-1\",\n \"ssid\" : \"your-network\",\n \"wsec\" : \"ccmp\"\n } ],\n \"settings\" : {\n \"band\" : \"2.4GHz\",\n \"roaming\" : true,\n \"timeout\" : 5\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/merchants/:merchantId/stores/:reference/terminalSettings", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "merchants", + ":merchantId", + "stores", + ":reference", + "terminalSettings" + ], + "variable": [ + { + "key": "merchantId", + "value": "{{YOUR_MERCHANT_ACCOUNT}}", + "description": "The unique identifier of the merchant account." + }, + { + "key": "reference", + "value": "", + "description": "The reference that identifies the store." + } + ], + "query": [ + ] + }, + "description": "Updates payment terminal settings for the store identified in the path. These settings apply to all terminals under the store, unless different values are configured for an individual terminal. * To change a parameter value, include the full object that contains the parameter, even if you don't want to change all parameters in the object. * To restore a parameter value inherited from a higher level, include the full object that contains the parameter, and specify an empty value for the parameter or omit the parameter. * Objects that are not included in the request are not updated. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal settings read and write For [sensitive terminal settings](https://docs.adyen.com/point-of-sale/automating-terminal-management/configure-terminals-api#sensitive-terminal-settings), your API credential must have the following role: * Management API—Terminal settings Advanced read and write" +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"wifiProfiles\" : {\n \"profiles\" : [ {\n \"authType\" : \"wpa-eap\",\n \"autoWifi\" : false,\n \"bssType\" : \"infra\",\n \"channel\" : 0,\n \"defaultProfile\" : true,\n \"eap\" : \"tls\",\n \"eapCaCert\" : {\n \"data\" : \"LS0tLS05M2JqRVFNQ...EUtLS0tLQo=\",\n \"name\" : \"eap-tls-ca.pem\"\n },\n \"eapClientCert\" : {\n \"data\" : \"LS0tLS1CRUdJTiBDR...EUtLS0tLQo=\",\n \"name\" : \"eap-tls-client.pem\"\n },\n \"eapClientKey\" : {\n \"data\" : \"AAAB3NzaC1...Rtah3KLFwPU=\",\n \"name\" : \"rsa-private.key\"\n },\n \"eapClientPwd\" : \"\",\n \"eapIdentity\" : \"admin\",\n \"name\" : \"Profile-eap-tls-1\",\n \"ssid\" : \"your-network\",\n \"wsec\" : \"ccmp\"\n } ],\n \"settings\" : {\n \"band\" : \"2.4GHz\",\n \"roaming\" : true,\n \"timeout\" : 5\n }\n }\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/merchants/:merchantId/stores/:reference/terminalSettings", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "merchants", - ":merchantId", - "stores", - ":reference", - "terminalSettings" - ], - "variable": [ - { - "key": "merchantId", - "value": "{{YOUR_MERCHANT_ACCOUNT}}", - "description": "The unique identifier of the merchant account." - }, - { - "key": "reference", - "value": "", - "description": "The reference that identifies the store." - } - ], - "query": [ - ] - }, - "description": "Updates payment terminal settings for the store identified in the path. These settings apply to all terminals under the store, unless different values are configured for an individual terminal. * To change a parameter value, include the full object that contains the parameter, even if you don't want to change all parameters in the object. * To restore a parameter value inherited from a higher level, include the full object that contains the parameter, and specify an empty value for the parameter or omit the parameter. * Objects that are not included in the request are not updated. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal settings read and write For [sensitive terminal settings](https://docs.adyen.com/point-of-sale/automating-terminal-management/configure-terminals-api#sensitive-terminal-settings), your API credential must have the following role: * Management API—Terminal settings Advanced read and write" - } + ] } ] - } -, + }, { "name": "/stores/:storeId/terminalLogos", "description": "Returns the logo that is configured for a specific payment terminal model at the store identified in the path. The logo is returned as a Base64-encoded string. You need to Base64-decode the string to get the actual image file. This logo applies to all terminals of that model under the store unless a different logo is configured for an individual terminal. To make this request, your API credential must have one of the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal settings read * Management API—Terminal settings read and write", @@ -8477,56 +11799,57 @@ { "name": "Get the terminal logo", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/stores/:storeId/terminalLogos", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "stores", - ":storeId", - "terminalLogos" - ], - "variable": [ - { - "key": "storeId", - "value": "", - "description": "The unique identifier of the store." - } - ], - "query": [ - { - "key": "model", - "value": "model_example", - "description": "The terminal model. Possible values: E355, VX675WIFIBT, VX680, VX690, VX700, VX820, M400, MX925, P400Plus, UX300, UX410, V200cPlus, V240mPlus, V400cPlus, V400m, e280, e285, e285p, S1E, S1EL, S1F2, S1L, S1U, S7T.", - "disabled": false - } - ] - }, - "description": "Returns the logo that is configured for a specific payment terminal model at the store identified in the path. The logo is returned as a Base64-encoded string. You need to Base64-decode the string to get the actual image file. This logo applies to all terminals of that model under the store unless a different logo is configured for an individual terminal. To make this request, your API credential must have one of the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal settings read * Management API—Terminal settings read and write" - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/stores/:storeId/terminalLogos", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "stores", + ":storeId", + "terminalLogos" + ], + "variable": [ + { + "key": "storeId", + "value": "", + "description": "The unique identifier of the store." + } + ], + "query": [ + { + "key": "model", + "value": "model_example", + "description": "The terminal model. Possible values: E355, VX675WIFIBT, VX680, VX690, VX700, VX820, M400, MX925, P400Plus, UX300, UX410, V200cPlus, V240mPlus, V400cPlus, V400m, e280, e285, e285p, S1E, S1EL, S1F2, S1L, S1U, S7T.", + "disabled": false + } + ] + }, + "description": "Returns the logo that is configured for a specific payment terminal model at the store identified in the path. The logo is returned as a Base64-encoded string. You need to Base64-decode the string to get the actual image file. This logo applies to all terminals of that model under the store unless a different logo is configured for an individual terminal. To make this request, your API credential must have one of the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal settings read * Management API—Terminal settings read and write" +} + ,"response": [ + ] } ] - } -, + }, { "name": "/stores/:storeId/terminalLogos", "description": "Updates the logo that is configured for a specific payment terminal model at the store identified in the path. You can update the logo for only one terminal model at a time. This logo applies to all terminals of the specified model under the store, unless a different logo is configured for an individual terminal. * To change the logo, specify the image file as a Base64-encoded string. * To restore the logo inherited from a higher level (merchant or company account), specify an empty logo value. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal settings read and write", @@ -8534,118 +11857,249 @@ { "name": "Remove logo to restore the logo from a higher level", "request": { - "method": "PATCH", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"data\" : \"\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/stores/:storeId/terminalLogos", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "stores", + ":storeId", + "terminalLogos" + ], + "variable": [ + { + "key": "storeId", + "value": "", + "description": "The unique identifier of the store." + } + ], + "query": [ + { + "key": "model", + "value": "model_example", + "description": "The terminal model. Possible values: E355, VX675WIFIBT, VX680, VX690, VX700, VX820, M400, MX925, P400Plus, UX300, UX410, V200cPlus, V240mPlus, V400cPlus, V400m, e280, e285, e285p, S1E, S1EL, S1F2, S1L, S1U, S7T.", + "disabled": false + } + ] + }, + "description": "Updates the logo that is configured for a specific payment terminal model at the store identified in the path. You can update the logo for only one terminal model at a time. This logo applies to all terminals of the specified model under the store, unless a different logo is configured for an individual terminal. * To change the logo, specify the image file as a Base64-encoded string. * To restore the logo inherited from a higher level (merchant or company account), specify an empty logo value. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal settings read and write" +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"data\" : \"LOGO_INHERITED_FROM_HIGHER_LEVEL_BASE-64_ENCODED_STRING\"\n}", + "originalRequest": { + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"data\" : \"\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/stores/:storeId/terminalLogos", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "stores", + ":storeId", + "terminalLogos" + ], + "variable": [ + { + "key": "storeId", + "value": "", + "description": "The unique identifier of the store." + } + ], + "query": [ + { + "key": "model", + "value": "model_example", + "description": "The terminal model. Possible values: E355, VX675WIFIBT, VX680, VX690, VX700, VX820, M400, MX925, P400Plus, UX300, UX410, V200cPlus, V240mPlus, V400cPlus, V400m, e280, e285, e285p, S1E, S1EL, S1F2, S1L, S1U, S7T.", + "disabled": false + } + ] + }, + "description": "Updates the logo that is configured for a specific payment terminal model at the store identified in the path. You can update the logo for only one terminal model at a time. This logo applies to all terminals of the specified model under the store, unless a different logo is configured for an individual terminal. * To change the logo, specify the image file as a Base64-encoded string. * To restore the logo inherited from a higher level (merchant or company account), specify an empty logo value. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal settings read and write" +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"data\" : \"\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/stores/:storeId/terminalLogos", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "stores", - ":storeId", - "terminalLogos" - ], - "variable": [ - { - "key": "storeId", - "value": "", - "description": "The unique identifier of the store." - } - ], - "query": [ - { - "key": "model", - "value": "model_example", - "description": "The terminal model. Possible values: E355, VX675WIFIBT, VX680, VX690, VX700, VX820, M400, MX925, P400Plus, UX300, UX410, V200cPlus, V240mPlus, V400cPlus, V400m, e280, e285, e285p, S1E, S1EL, S1F2, S1L, S1U, S7T.", - "disabled": false - } - ] - }, - "description": "Updates the logo that is configured for a specific payment terminal model at the store identified in the path. You can update the logo for only one terminal model at a time. This logo applies to all terminals of the specified model under the store, unless a different logo is configured for an individual terminal. * To change the logo, specify the image file as a Base64-encoded string. * To restore the logo inherited from a higher level (merchant or company account), specify an empty logo value. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal settings read and write" - } + ] }, { "name": "Upload terminal logo", "request": { - "method": "PATCH", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"data\" : \"LOGO_FILE_CONVERTED_TO_A_BASE-64_ENCODED_STRING\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/stores/:storeId/terminalLogos", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "stores", + ":storeId", + "terminalLogos" + ], + "variable": [ + { + "key": "storeId", + "value": "", + "description": "The unique identifier of the store." + } + ], + "query": [ + { + "key": "model", + "value": "model_example", + "description": "The terminal model. Possible values: E355, VX675WIFIBT, VX680, VX690, VX700, VX820, M400, MX925, P400Plus, UX300, UX410, V200cPlus, V240mPlus, V400cPlus, V400m, e280, e285, e285p, S1E, S1EL, S1F2, S1L, S1U, S7T.", + "disabled": false + } + ] + }, + "description": "Updates the logo that is configured for a specific payment terminal model at the store identified in the path. You can update the logo for only one terminal model at a time. This logo applies to all terminals of the specified model under the store, unless a different logo is configured for an individual terminal. * To change the logo, specify the image file as a Base64-encoded string. * To restore the logo inherited from a higher level (merchant or company account), specify an empty logo value. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal settings read and write" +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"data\" : \"BASE-64_ENCODED_STRING_FROM_THE_REQUEST\"\n}", + "originalRequest": { + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"data\" : \"LOGO_FILE_CONVERTED_TO_A_BASE-64_ENCODED_STRING\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/stores/:storeId/terminalLogos", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "stores", + ":storeId", + "terminalLogos" + ], + "variable": [ + { + "key": "storeId", + "value": "", + "description": "The unique identifier of the store." + } + ], + "query": [ + { + "key": "model", + "value": "model_example", + "description": "The terminal model. Possible values: E355, VX675WIFIBT, VX680, VX690, VX700, VX820, M400, MX925, P400Plus, UX300, UX410, V200cPlus, V240mPlus, V400cPlus, V400m, e280, e285, e285p, S1E, S1EL, S1F2, S1L, S1U, S7T.", + "disabled": false + } + ] + }, + "description": "Updates the logo that is configured for a specific payment terminal model at the store identified in the path. You can update the logo for only one terminal model at a time. This logo applies to all terminals of the specified model under the store, unless a different logo is configured for an individual terminal. * To change the logo, specify the image file as a Base64-encoded string. * To restore the logo inherited from a higher level (merchant or company account), specify an empty logo value. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal settings read and write" +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"data\" : \"LOGO_FILE_CONVERTED_TO_A_BASE-64_ENCODED_STRING\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/stores/:storeId/terminalLogos", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "stores", - ":storeId", - "terminalLogos" - ], - "variable": [ - { - "key": "storeId", - "value": "", - "description": "The unique identifier of the store." - } - ], - "query": [ - { - "key": "model", - "value": "model_example", - "description": "The terminal model. Possible values: E355, VX675WIFIBT, VX680, VX690, VX700, VX820, M400, MX925, P400Plus, UX300, UX410, V200cPlus, V240mPlus, V400cPlus, V400m, e280, e285, e285p, S1E, S1EL, S1F2, S1L, S1U, S7T.", - "disabled": false - } - ] - }, - "description": "Updates the logo that is configured for a specific payment terminal model at the store identified in the path. You can update the logo for only one terminal model at a time. This logo applies to all terminals of the specified model under the store, unless a different logo is configured for an individual terminal. * To change the logo, specify the image file as a Base64-encoded string. * To restore the logo inherited from a higher level (merchant or company account), specify an empty logo value. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal settings read and write" - } + ] } ] - } -, + }, { "name": "/stores/:storeId/terminalSettings", "description": "Returns the payment terminal settings that are configured for the store identified in the path. These settings apply to all terminals under the store unless different values are configured for an individual terminal. To make this request, your API credential must have one of the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal settings read * Management API—Terminal settings read and write For [sensitive terminal settings](https://docs.adyen.com/point-of-sale/automating-terminal-management/configure-terminals-api#sensitive-terminal-settings), your API credential must have the following role: * Management API—Terminal settings Advanced read and write", @@ -8653,50 +12107,51 @@ { "name": "Get terminal settings", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/stores/:storeId/terminalSettings", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "stores", - ":storeId", - "terminalSettings" - ], - "variable": [ - { - "key": "storeId", - "value": "", - "description": "The unique identifier of the store." - } - ], - "query": [ - ] - }, - "description": "Returns the payment terminal settings that are configured for the store identified in the path. These settings apply to all terminals under the store unless different values are configured for an individual terminal. To make this request, your API credential must have one of the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal settings read * Management API—Terminal settings read and write For [sensitive terminal settings](https://docs.adyen.com/point-of-sale/automating-terminal-management/configure-terminals-api#sensitive-terminal-settings), your API credential must have the following role: * Management API—Terminal settings Advanced read and write" - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/stores/:storeId/terminalSettings", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "stores", + ":storeId", + "terminalSettings" + ], + "variable": [ + { + "key": "storeId", + "value": "", + "description": "The unique identifier of the store." + } + ], + "query": [ + ] + }, + "description": "Returns the payment terminal settings that are configured for the store identified in the path. These settings apply to all terminals under the store unless different values are configured for an individual terminal. To make this request, your API credential must have one of the following [roles](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal settings read * Management API—Terminal settings read and write For [sensitive terminal settings](https://docs.adyen.com/point-of-sale/automating-terminal-management/configure-terminals-api#sensitive-terminal-settings), your API credential must have the following role: * Management API—Terminal settings Advanced read and write" +} + ,"response": [ + ] } ] - } -, + }, { "name": "/stores/:storeId/terminalSettings", "description": "Updates payment terminal settings for the store identified in the path. These settings apply to all terminals under the store, unless different values are configured for an individual terminal. * To change a parameter value, include the full object that contains the parameter, even if you don't want to change all parameters in the object. * To restore a parameter value inherited from a higher level, include the full object that contains the parameter, and specify an empty value for the parameter or omit the parameter. * Objects that are not included in the request are not updated. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal settings read and write For [sensitive terminal settings](https://docs.adyen.com/point-of-sale/automating-terminal-management/configure-terminals-api#sensitive-terminal-settings), your API credential must have the following role: * Management API—Terminal settings Advanced read and write", @@ -8704,106 +12159,225 @@ { "name": "Add EAP-PEAP and PSK Wi-Fi profiles", "request": { - "method": "PATCH", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"wifiProfiles\" : {\n \"profiles\" : [ {\n \"authType\" : \"wpa-eap\",\n \"autoWifi\" : false,\n \"bssType\" : \"infra\",\n \"channel\" : 0,\n \"defaultProfile\" : true,\n \"eap\" : \"peap\",\n \"eapCaCert\" : {\n \"data\" : \"MD1rKS05M2JqRVFNQ...RTtLH1tLWo=\",\n \"name\" : \"eap-peap-ca.pem\"\n },\n \"eapIdentity\" : \"admin\",\n \"eapIntermediateCert\" : {\n \"data\" : \"PD3tUS1CRDdJTiGDR...EFoLS0tLQg=\",\n \"name\" : \"eap-peap-client.pem\"\n },\n \"eapPwd\" : \"EAP_PEAP_PASSWORD\",\n \"hiddenSsid\" : false,\n \"name\" : \"Profile-eap-peap-1\",\n \"ssid\" : \"your-network\",\n \"wsec\" : \"ccmp\"\n }, {\n \"authType\" : \"wpa-psk\",\n \"autoWifi\" : false,\n \"bssType\" : \"infra\",\n \"channel\" : 0,\n \"defaultProfile\" : false,\n \"hiddenSsid\" : false,\n \"name\" : \"Profile-guest-wifi\",\n \"psk\" : \"WIFI_PASSWORD\",\n \"ssid\" : \"your-network\",\n \"wsec\" : \"ccmp\"\n } ],\n \"settings\" : {\n \"band\" : \"2.4GHz\",\n \"roaming\" : true,\n \"timeout\" : 5\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/stores/:storeId/terminalSettings", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "stores", + ":storeId", + "terminalSettings" + ], + "variable": [ + { + "key": "storeId", + "value": "", + "description": "The unique identifier of the store." + } + ], + "query": [ + ] + }, + "description": "Updates payment terminal settings for the store identified in the path. These settings apply to all terminals under the store, unless different values are configured for an individual terminal. * To change a parameter value, include the full object that contains the parameter, even if you don't want to change all parameters in the object. * To restore a parameter value inherited from a higher level, include the full object that contains the parameter, and specify an empty value for the parameter or omit the parameter. * Objects that are not included in the request are not updated. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal settings read and write For [sensitive terminal settings](https://docs.adyen.com/point-of-sale/automating-terminal-management/configure-terminals-api#sensitive-terminal-settings), your API credential must have the following role: * Management API—Terminal settings Advanced read and write" +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"cardholderReceipt\" : {\n \"headerForAuthorizedReceipt\" : \"header1,header2,filler\"\n },\n \"gratuities\" : [ {\n \"currency\" : \"EUR\",\n \"usePredefinedTipEntries\" : true,\n \"predefinedTipEntries\" : [ \"100\", \"1%\", \"5%\" ],\n \"allowCustomAmount\" : true\n } ],\n \"nexo\" : {\n \"displayUrls\" : {\n \"localUrls\" : [ {\n \"password\" : \"BASIC_AUTH_PASSWORD\",\n \"url\" : \"https://your-display-notifications-endpoint.com\",\n \"username\" : \"BASIC_AUTH_USERNAME\"\n } ]\n },\n \"encryptionKey\" : {\n \"identifier\" : \"KEY_IDENTIFIER\",\n \"passphrase\" : \"KEY_PASSPHRASE\",\n \"version\" : 1\n },\n \"eventUrls\" : {\n \"eventPublicUrls\" : [ {\n \"password\" : \"BASIC_AUTH_PASSWORD\",\n \"url\" : \"https://your-event-notifications-endpoint.com\",\n \"username\" : \"BASIC_AUTH_USERNAME\"\n } ]\n }\n },\n \"opi\" : {\n \"enablePayAtTable\" : true,\n \"payAtTableStoreNumber\" : \"1\",\n \"payAtTableURL\" : \"https:/your-pay-at-table-endpoint.com\"\n },\n \"offlineProcessing\" : {\n \"chipFloorLimit\" : 0\n },\n \"receiptOptions\" : {\n \"qrCodeData\" : \"http://www.example.com/order/${pspreference}/${merchantreference}\"\n },\n \"receiptPrinting\" : {\n \"shopperApproved\" : true,\n \"shopperRefused\" : true,\n \"shopperCancelled\" : true,\n \"shopperRefundApproved\" : true,\n \"shopperRefundRefused\" : true,\n \"shopperVoid\" : true\n },\n \"signature\" : {\n \"askSignatureOnScreen\" : true,\n \"skipSignature\" : false,\n \"deviceName\" : \"Amsterdam-236203386\"\n },\n \"wifiProfiles\" : {\n \"profiles\" : [ {\n \"authType\" : \"wpa-eap\",\n \"autoWifi\" : false,\n \"bssType\" : \"infra\",\n \"channel\" : 0,\n \"defaultProfile\" : true,\n \"eap\" : \"peap\",\n \"eapCaCert\" : {\n \"data\" : \"MD1rKS05M2JqRVFNQ...RTtLH1tLWo=\",\n \"name\" : \"eap-peap-ca.pem\"\n },\n \"eapIdentity\" : \"admin\",\n \"eapIntermediateCert\" : {\n \"data\" : \"PD3tUS1CRDdJTiGDR...EFoLS0tLQg=\",\n \"name\" : \"eap-peap-client.pem\"\n },\n \"eapPwd\" : \"EAP_PEAP_PASSWORD\",\n \"hiddenSsid\" : false,\n \"name\" : \"Profile-eap-peap-1\",\n \"ssid\" : \"your-network\",\n \"wsec\" : \"ccmp\"\n }, {\n \"authType\" : \"wpa-psk\",\n \"autoWifi\" : false,\n \"bssType\" : \"infra\",\n \"channel\" : 0,\n \"defaultProfile\" : false,\n \"hiddenSsid\" : false,\n \"name\" : \"Profile-guest-wifi\",\n \"psk\" : \"WIFI_PASSWORD\",\n \"ssid\" : \"your-network\",\n \"wsec\" : \"ccmp\"\n } ],\n \"settings\" : {\n \"band\" : \"2.4GHz\",\n \"roaming\" : true,\n \"timeout\" : 5\n }\n },\n \"timeouts\" : {\n \"fromActiveToSleep\" : 30\n },\n \"hardware\" : {\n \"displayMaximumBackLight\" : 75\n }\n}", + "originalRequest": { + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"wifiProfiles\" : {\n \"profiles\" : [ {\n \"authType\" : \"wpa-eap\",\n \"autoWifi\" : false,\n \"bssType\" : \"infra\",\n \"channel\" : 0,\n \"defaultProfile\" : true,\n \"eap\" : \"peap\",\n \"eapCaCert\" : {\n \"data\" : \"MD1rKS05M2JqRVFNQ...RTtLH1tLWo=\",\n \"name\" : \"eap-peap-ca.pem\"\n },\n \"eapIdentity\" : \"admin\",\n \"eapIntermediateCert\" : {\n \"data\" : \"PD3tUS1CRDdJTiGDR...EFoLS0tLQg=\",\n \"name\" : \"eap-peap-client.pem\"\n },\n \"eapPwd\" : \"EAP_PEAP_PASSWORD\",\n \"hiddenSsid\" : false,\n \"name\" : \"Profile-eap-peap-1\",\n \"ssid\" : \"your-network\",\n \"wsec\" : \"ccmp\"\n }, {\n \"authType\" : \"wpa-psk\",\n \"autoWifi\" : false,\n \"bssType\" : \"infra\",\n \"channel\" : 0,\n \"defaultProfile\" : false,\n \"hiddenSsid\" : false,\n \"name\" : \"Profile-guest-wifi\",\n \"psk\" : \"WIFI_PASSWORD\",\n \"ssid\" : \"your-network\",\n \"wsec\" : \"ccmp\"\n } ],\n \"settings\" : {\n \"band\" : \"2.4GHz\",\n \"roaming\" : true,\n \"timeout\" : 5\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/stores/:storeId/terminalSettings", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "stores", + ":storeId", + "terminalSettings" + ], + "variable": [ + { + "key": "storeId", + "value": "", + "description": "The unique identifier of the store." + } + ], + "query": [ + ] + }, + "description": "Updates payment terminal settings for the store identified in the path. These settings apply to all terminals under the store, unless different values are configured for an individual terminal. * To change a parameter value, include the full object that contains the parameter, even if you don't want to change all parameters in the object. * To restore a parameter value inherited from a higher level, include the full object that contains the parameter, and specify an empty value for the parameter or omit the parameter. * Objects that are not included in the request are not updated. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal settings read and write For [sensitive terminal settings](https://docs.adyen.com/point-of-sale/automating-terminal-management/configure-terminals-api#sensitive-terminal-settings), your API credential must have the following role: * Management API—Terminal settings Advanced read and write" +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"wifiProfiles\" : {\n \"profiles\" : [ {\n \"authType\" : \"wpa-eap\",\n \"autoWifi\" : false,\n \"bssType\" : \"infra\",\n \"channel\" : 0,\n \"defaultProfile\" : true,\n \"eap\" : \"peap\",\n \"eapCaCert\" : {\n \"data\" : \"MD1rKS05M2JqRVFNQ...RTtLH1tLWo=\",\n \"name\" : \"eap-peap-ca.pem\"\n },\n \"eapIdentity\" : \"admin\",\n \"eapIntermediateCert\" : {\n \"data\" : \"PD3tUS1CRDdJTiGDR...EFoLS0tLQg=\",\n \"name\" : \"eap-peap-client.pem\"\n },\n \"eapPwd\" : \"EAP_PEAP_PASSWORD\",\n \"hiddenSsid\" : false,\n \"name\" : \"Profile-eap-peap-1\",\n \"ssid\" : \"your-network\",\n \"wsec\" : \"ccmp\"\n }, {\n \"authType\" : \"wpa-psk\",\n \"autoWifi\" : false,\n \"bssType\" : \"infra\",\n \"channel\" : 0,\n \"defaultProfile\" : false,\n \"hiddenSsid\" : false,\n \"name\" : \"Profile-guest-wifi\",\n \"psk\" : \"WIFI_PASSWORD\",\n \"ssid\" : \"your-network\",\n \"wsec\" : \"ccmp\"\n } ],\n \"settings\" : {\n \"band\" : \"2.4GHz\",\n \"roaming\" : true,\n \"timeout\" : 5\n }\n }\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/stores/:storeId/terminalSettings", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "stores", - ":storeId", - "terminalSettings" - ], - "variable": [ - { - "key": "storeId", - "value": "", - "description": "The unique identifier of the store." - } - ], - "query": [ - ] - }, - "description": "Updates payment terminal settings for the store identified in the path. These settings apply to all terminals under the store, unless different values are configured for an individual terminal. * To change a parameter value, include the full object that contains the parameter, even if you don't want to change all parameters in the object. * To restore a parameter value inherited from a higher level, include the full object that contains the parameter, and specify an empty value for the parameter or omit the parameter. * Objects that are not included in the request are not updated. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal settings read and write For [sensitive terminal settings](https://docs.adyen.com/point-of-sale/automating-terminal-management/configure-terminals-api#sensitive-terminal-settings), your API credential must have the following role: * Management API—Terminal settings Advanced read and write" - } + ] }, { "name": "Add EAP-TLS Wi-Fi profile", "request": { - "method": "PATCH", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"wifiProfiles\" : {\n \"profiles\" : [ {\n \"authType\" : \"wpa-eap\",\n \"autoWifi\" : false,\n \"bssType\" : \"infra\",\n \"channel\" : 0,\n \"defaultProfile\" : true,\n \"eap\" : \"tls\",\n \"eapCaCert\" : {\n \"data\" : \"LS0tLS05M2JqRVFNQ...EUtLS0tLQo=\",\n \"name\" : \"eap-tls-ca.pem\"\n },\n \"eapClientCert\" : {\n \"data\" : \"LS0tLS1CRUdJTiBDR...EUtLS0tLQo=\",\n \"name\" : \"eap-tls-client.pem\"\n },\n \"eapClientKey\" : {\n \"data\" : \"AAAB3NzaC1...Rtah3KLFwPU=\",\n \"name\" : \"rsa-private.key\"\n },\n \"eapClientPwd\" : \"\",\n \"eapIdentity\" : \"admin\",\n \"hiddenSsid\" : false,\n \"name\" : \"Profile-eap-tls-1\",\n \"ssid\" : \"your-network\",\n \"wsec\" : \"ccmp\"\n } ],\n \"settings\" : {\n \"band\" : \"2.4GHz\",\n \"roaming\" : true,\n \"timeout\" : 5\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/stores/:storeId/terminalSettings", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "stores", + ":storeId", + "terminalSettings" + ], + "variable": [ + { + "key": "storeId", + "value": "", + "description": "The unique identifier of the store." + } + ], + "query": [ + ] + }, + "description": "Updates payment terminal settings for the store identified in the path. These settings apply to all terminals under the store, unless different values are configured for an individual terminal. * To change a parameter value, include the full object that contains the parameter, even if you don't want to change all parameters in the object. * To restore a parameter value inherited from a higher level, include the full object that contains the parameter, and specify an empty value for the parameter or omit the parameter. * Objects that are not included in the request are not updated. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal settings read and write For [sensitive terminal settings](https://docs.adyen.com/point-of-sale/automating-terminal-management/configure-terminals-api#sensitive-terminal-settings), your API credential must have the following role: * Management API—Terminal settings Advanced read and write" +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"cardholderReceipt\" : {\n \"headerForAuthorizedReceipt\" : \"header1,header2,filler\"\n },\n \"gratuities\" : [ {\n \"currency\" : \"EUR\",\n \"usePredefinedTipEntries\" : true,\n \"predefinedTipEntries\" : [ \"100\", \"1%\", \"5%\" ],\n \"allowCustomAmount\" : true\n } ],\n \"nexo\" : {\n \"displayUrls\" : {\n \"localUrls\" : [ {\n \"password\" : \"BASIC_AUTH_PASSWORD\",\n \"url\" : \"https://your-display-notifications-endpoint.com\",\n \"username\" : \"BASIC_AUTH_USERNAME\"\n } ]\n },\n \"encryptionKey\" : {\n \"identifier\" : \"KEY_IDENTIFIER\",\n \"passphrase\" : \"KEY_PASSPHRASE\",\n \"version\" : 1\n },\n \"eventUrls\" : {\n \"eventPublicUrls\" : [ {\n \"password\" : \"BASIC_AUTH_PASSWORD\",\n \"url\" : \"https://your-event-notifications-endpoint.com\",\n \"username\" : \"BASIC_AUTH_USERNAME\"\n } ]\n }\n },\n \"opi\" : {\n \"enablePayAtTable\" : true,\n \"payAtTableStoreNumber\" : \"1\",\n \"payAtTableURL\" : \"https:/your-pay-at-table-endpoint.com\"\n },\n \"offlineProcessing\" : {\n \"chipFloorLimit\" : 0\n },\n \"receiptOptions\" : {\n \"qrCodeData\" : \"http://www.example.com/order/${pspreference}/${merchantreference}\"\n },\n \"receiptPrinting\" : {\n \"shopperApproved\" : true,\n \"shopperRefused\" : true,\n \"shopperCancelled\" : true,\n \"shopperRefundApproved\" : true,\n \"shopperRefundRefused\" : true,\n \"shopperVoid\" : true\n },\n \"signature\" : {\n \"askSignatureOnScreen\" : true,\n \"skipSignature\" : false,\n \"deviceName\" : \"Amsterdam-236203386\"\n },\n \"wifiProfiles\" : {\n \"profiles\" : [ {\n \"authType\" : \"wpa-eap\",\n \"autoWifi\" : false,\n \"bssType\" : \"infra\",\n \"channel\" : 0,\n \"defaultProfile\" : true,\n \"eap\" : \"tls\",\n \"eapCaCert\" : {\n \"data\" : \"LS0tLS05M2JqRVFNQ...EUtLS0tLQo=\",\n \"name\" : \"eap-tls-ca.pem\"\n },\n \"eapClientCert\" : {\n \"data\" : \"LS0tLS1CRUdJTiBDR...EUtLS0tLQo=\",\n \"name\" : \"eap-tls-client.pem\"\n },\n \"eapClientKey\" : {\n \"data\" : \"AAAB3NzaC1...Rtah3KLFwPU=\",\n \"name\" : \"rsa-private.key\"\n },\n \"eapClientPwd\" : \"\",\n \"eapIdentity\" : \"admin\",\n \"hiddenSsid\" : false,\n \"name\" : \"Profile-eap-tls-1\",\n \"ssid\" : \"your-network\",\n \"wsec\" : \"ccmp\"\n } ],\n \"settings\" : {\n \"band\" : \"2.4GHz\",\n \"roaming\" : true,\n \"timeout\" : 5\n }\n },\n \"timeouts\" : {\n \"fromActiveToSleep\" : 30\n },\n \"hardware\" : {\n \"displayMaximumBackLight\" : 75\n }\n}", + "originalRequest": { + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"wifiProfiles\" : {\n \"profiles\" : [ {\n \"authType\" : \"wpa-eap\",\n \"autoWifi\" : false,\n \"bssType\" : \"infra\",\n \"channel\" : 0,\n \"defaultProfile\" : true,\n \"eap\" : \"tls\",\n \"eapCaCert\" : {\n \"data\" : \"LS0tLS05M2JqRVFNQ...EUtLS0tLQo=\",\n \"name\" : \"eap-tls-ca.pem\"\n },\n \"eapClientCert\" : {\n \"data\" : \"LS0tLS1CRUdJTiBDR...EUtLS0tLQo=\",\n \"name\" : \"eap-tls-client.pem\"\n },\n \"eapClientKey\" : {\n \"data\" : \"AAAB3NzaC1...Rtah3KLFwPU=\",\n \"name\" : \"rsa-private.key\"\n },\n \"eapClientPwd\" : \"\",\n \"eapIdentity\" : \"admin\",\n \"hiddenSsid\" : false,\n \"name\" : \"Profile-eap-tls-1\",\n \"ssid\" : \"your-network\",\n \"wsec\" : \"ccmp\"\n } ],\n \"settings\" : {\n \"band\" : \"2.4GHz\",\n \"roaming\" : true,\n \"timeout\" : 5\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/stores/:storeId/terminalSettings", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "stores", + ":storeId", + "terminalSettings" + ], + "variable": [ + { + "key": "storeId", + "value": "", + "description": "The unique identifier of the store." + } + ], + "query": [ + ] + }, + "description": "Updates payment terminal settings for the store identified in the path. These settings apply to all terminals under the store, unless different values are configured for an individual terminal. * To change a parameter value, include the full object that contains the parameter, even if you don't want to change all parameters in the object. * To restore a parameter value inherited from a higher level, include the full object that contains the parameter, and specify an empty value for the parameter or omit the parameter. * Objects that are not included in the request are not updated. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal settings read and write For [sensitive terminal settings](https://docs.adyen.com/point-of-sale/automating-terminal-management/configure-terminals-api#sensitive-terminal-settings), your API credential must have the following role: * Management API—Terminal settings Advanced read and write" +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"wifiProfiles\" : {\n \"profiles\" : [ {\n \"authType\" : \"wpa-eap\",\n \"autoWifi\" : false,\n \"bssType\" : \"infra\",\n \"channel\" : 0,\n \"defaultProfile\" : true,\n \"eap\" : \"tls\",\n \"eapCaCert\" : {\n \"data\" : \"LS0tLS05M2JqRVFNQ...EUtLS0tLQo=\",\n \"name\" : \"eap-tls-ca.pem\"\n },\n \"eapClientCert\" : {\n \"data\" : \"LS0tLS1CRUdJTiBDR...EUtLS0tLQo=\",\n \"name\" : \"eap-tls-client.pem\"\n },\n \"eapClientKey\" : {\n \"data\" : \"AAAB3NzaC1...Rtah3KLFwPU=\",\n \"name\" : \"rsa-private.key\"\n },\n \"eapClientPwd\" : \"\",\n \"eapIdentity\" : \"admin\",\n \"hiddenSsid\" : false,\n \"name\" : \"Profile-eap-tls-1\",\n \"ssid\" : \"your-network\",\n \"wsec\" : \"ccmp\"\n } ],\n \"settings\" : {\n \"band\" : \"2.4GHz\",\n \"roaming\" : true,\n \"timeout\" : 5\n }\n }\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/stores/:storeId/terminalSettings", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "stores", - ":storeId", - "terminalSettings" - ], - "variable": [ - { - "key": "storeId", - "value": "", - "description": "The unique identifier of the store." - } - ], - "query": [ - ] - }, - "description": "Updates payment terminal settings for the store identified in the path. These settings apply to all terminals under the store, unless different values are configured for an individual terminal. * To change a parameter value, include the full object that contains the parameter, even if you don't want to change all parameters in the object. * To restore a parameter value inherited from a higher level, include the full object that contains the parameter, and specify an empty value for the parameter or omit the parameter. * Objects that are not included in the request are not updated. To make this request, your API credential must have the following [role](https://docs.adyen.com/development-resources/api-credentials#api-permissions): * Management API—Terminal settings read and write For [sensitive terminal settings](https://docs.adyen.com/point-of-sale/automating-terminal-management/configure-terminals-api#sensitive-terminal-settings), your API credential must have the following role: * Management API—Terminal settings Advanced read and write" - } + ] } ] } - ] } ], diff --git a/postman/PayoutService-v30.json b/postman/PayoutService-v30.json index 5c31506..74aa491 100644 --- a/postman/PayoutService-v30.json +++ b/postman/PayoutService-v30.json @@ -19,49 +19,101 @@ { "name": "Store payout details", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"recurring\" : {\n \"contract\" : \"PAYOUT\"\n },\n \"bank\" : {\n \"bankName\" : \"AbnAmro\",\n \"bic\" : \"ABNANL2A\",\n \"countryCode\" : \"NL\",\n \"iban\" : \"NL32ABNA0515071439\",\n \"ownerName\" : \"Adyen\",\n \"bankCity\" : \"Amsterdam\",\n \"taxId\" : \"bankTaxId\"\n },\n \"shopperEmail\" : \"shopper@email.com\",\n \"shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID\",\n \"shopperName\" : {\n \"firstName\" : \"Adyen\",\n \"lastName\" : \"Test\"\n },\n \"dateOfBirth\" : \"1990-01-01\",\n \"entityType\" : \"Company\",\n \"nationality\" : \"NL\",\n \"billingAddress\" : {\n \"houseNumberOrName\" : \"17\",\n \"street\" : \"Teststreet 1\",\n \"city\" : \"Amsterdam\",\n \"stateOrProvince\" : \"NY\",\n \"country\" : \"US\",\n \"postalCode\" : \"12345\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/storeDetail", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "storeDetail" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Stores payment details under the `PAYOUT` recurring contract. These payment details can be used later to submit a payout via the `/submitThirdParty` call." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"pspReference\" : \"991617894326362D\",\n \"recurringDetailReference\" : \"9916178936754752\",\n \"resultCode\" : \"Success\"\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"recurring\" : {\n \"contract\" : \"PAYOUT\"\n },\n \"bank\" : {\n \"bankName\" : \"AbnAmro\",\n \"bic\" : \"ABNANL2A\",\n \"countryCode\" : \"NL\",\n \"iban\" : \"NL32ABNA0515071439\",\n \"ownerName\" : \"Adyen\",\n \"bankCity\" : \"Amsterdam\",\n \"taxId\" : \"bankTaxId\"\n },\n \"shopperEmail\" : \"shopper@email.com\",\n \"shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID\",\n \"shopperName\" : {\n \"firstName\" : \"Adyen\",\n \"lastName\" : \"Test\"\n },\n \"dateOfBirth\" : \"1990-01-01\",\n \"entityType\" : \"Company\",\n \"nationality\" : \"NL\",\n \"billingAddress\" : {\n \"houseNumberOrName\" : \"17\",\n \"street\" : \"Teststreet 1\",\n \"city\" : \"Amsterdam\",\n \"stateOrProvince\" : \"NY\",\n \"country\" : \"US\",\n \"postalCode\" : \"12345\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/storeDetail", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "storeDetail" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Stores payment details under the `PAYOUT` recurring contract. These payment details can be used later to submit a payout via the `/submitThirdParty` call." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"recurring\" : {\n \"contract\" : \"PAYOUT\"\n },\n \"bank\" : {\n \"bankName\" : \"AbnAmro\",\n \"bic\" : \"ABNANL2A\",\n \"countryCode\" : \"NL\",\n \"iban\" : \"NL32ABNA0515071439\",\n \"ownerName\" : \"Adyen\",\n \"bankCity\" : \"Amsterdam\",\n \"taxId\" : \"bankTaxId\"\n },\n \"shopperEmail\" : \"shopper@email.com\",\n \"shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID\",\n \"shopperName\" : {\n \"firstName\" : \"Adyen\",\n \"lastName\" : \"Test\"\n },\n \"dateOfBirth\" : \"1990-01-01\",\n \"entityType\" : \"Company\",\n \"nationality\" : \"NL\",\n \"billingAddress\" : {\n \"houseNumberOrName\" : \"17\",\n \"street\" : \"Teststreet 1\",\n \"city\" : \"Amsterdam\",\n \"stateOrProvince\" : \"NY\",\n \"country\" : \"US\",\n \"postalCode\" : \"12345\"\n }\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/storeDetail", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "storeDetail" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Stores payment details under the `PAYOUT` recurring contract. These payment details can be used later to submit a payout via the `/submitThirdParty` call." - } + ] } ] - } -, + }, { "name": "/storeDetailAndSubmitThirdParty", "description": "Submits a payout and stores its details for subsequent payouts. The submitted payout must be confirmed or declined either by a reviewer or via `/confirmThirdParty` or `/declineThirdParty` calls.", @@ -69,221 +121,230 @@ { "name": "Submit a payout and stores details", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"recurring\" : {\n \"contract\" : \"PAYOUT\"\n },\n \"amount\" : {\n \"value\" : 2000,\n \"currency\" : \"EUR\"\n },\n \"bank\" : {\n \"bankName\" : \"Commerzbank\",\n \"iban\" : \"DE87123456781234567890\",\n \"countryCode\" : \"DE\",\n \"ownerName\" : \"Simon Hopper\"\n },\n \"reference\" : \"Your Reference\",\n \"shopperEmail\" : \"s.hopper@test.com\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"shopperName\" : {\n \"firstName\" : \"Adyen\",\n \"lastName\" : \"Test\"\n },\n \"dateOfBirth\" : \"1990-01-01\",\n \"entityType\" : \"Company\",\n \"nationality\" : \"NL\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/storeDetailAndSubmitThirdParty", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "storeDetailAndSubmitThirdParty" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Submits a payout and stores its details for subsequent payouts. The submitted payout must be confirmed or declined either by a reviewer or via `/confirmThirdParty` or `/declineThirdParty` calls." - } + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"recurring\" : {\n \"contract\" : \"PAYOUT\"\n },\n \"amount\" : {\n \"value\" : 2000,\n \"currency\" : \"EUR\"\n },\n \"bank\" : {\n \"bankName\" : \"Commerzbank\",\n \"iban\" : \"DE87123456781234567890\",\n \"countryCode\" : \"DE\",\n \"ownerName\" : \"Simon Hopper\"\n },\n \"reference\" : \"Your Reference\",\n \"shopperEmail\" : \"s.hopper@test.com\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"shopperName\" : {\n \"firstName\" : \"Adyen\",\n \"lastName\" : \"Test\"\n },\n \"dateOfBirth\" : \"1990-01-01\",\n \"entityType\" : \"Company\",\n \"nationality\" : \"NL\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/storeDetailAndSubmitThirdParty", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "storeDetailAndSubmitThirdParty" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Submits a payout and stores its details for subsequent payouts. The submitted payout must be confirmed or declined either by a reviewer or via `/confirmThirdParty` or `/declineThirdParty` calls." +} + ,"response": [ + ] }, { "name": "Submit a payout to Neteller", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 100\n },\n \"selectedBrand\" : \"neteller\",\n \"additionalData\" : {\n \"tokenDataType\" : \"Neteller\",\n \"account\" : \"myNetellerAccount\"\n },\n \"shopperName\" : {\n \"firstName\" : \"Test\",\n \"lastName\" : \"Test2\"\n },\n \"dateOfBirth\" : \"1982-07-17\",\n \"entityType\" : \"NaturalPerson\",\n \"nationality\" : \"NL\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"recurring\" : {\n \"contract\" : \"PAYOUT\"\n },\n \"reference\" : \"Test Payout\",\n \"shopperEmail\" : \"test@company.com\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/storeDetailAndSubmitThirdParty", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "storeDetailAndSubmitThirdParty" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Submits a payout and stores its details for subsequent payouts. The submitted payout must be confirmed or declined either by a reviewer or via `/confirmThirdParty` or `/declineThirdParty` calls." - } + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 100\n },\n \"selectedBrand\" : \"neteller\",\n \"additionalData\" : {\n \"tokenDataType\" : \"Neteller\",\n \"account\" : \"myNetellerAccount\"\n },\n \"shopperName\" : {\n \"firstName\" : \"Test\",\n \"lastName\" : \"Test2\"\n },\n \"dateOfBirth\" : \"1982-07-17\",\n \"entityType\" : \"NaturalPerson\",\n \"nationality\" : \"NL\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"recurring\" : {\n \"contract\" : \"PAYOUT\"\n },\n \"reference\" : \"Test Payout\",\n \"shopperEmail\" : \"test@company.com\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/storeDetailAndSubmitThirdParty", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "storeDetailAndSubmitThirdParty" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Submits a payout and stores its details for subsequent payouts. The submitted payout must be confirmed or declined either by a reviewer or via `/confirmThirdParty` or `/declineThirdParty` calls." +} + ,"response": [ + ] }, { "name": "Submit a payout to PayPal", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1750\n },\n \"selectedBrand\" : \"paypal\",\n \"additionalData\" : {\n \"tokenDataType\" : \"PayPal\",\n \"emailId\" : \"EmailUsedForPayPalAccount@example.com\",\n \"paypal.payerId\" : \"AK5HCWWRUV2KL\"\n },\n \"shopperName\" : {\n \"firstName\" : \"Test\",\n \"lastName\" : \"Test2\"\n },\n \"dateOfBirth\" : \"1982-07-17\",\n \"entityType\" : \"NaturalPerson\",\n \"nationality\" : \"NL\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"recurring\" : {\n \"contract\" : \"PAYOUT\"\n },\n \"reference\" : \"Test Payout\",\n \"shopperEmail\" : \"test@company.com\",\n \"shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/storeDetailAndSubmitThirdParty", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "storeDetailAndSubmitThirdParty" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Submits a payout and stores its details for subsequent payouts. The submitted payout must be confirmed or declined either by a reviewer or via `/confirmThirdParty` or `/declineThirdParty` calls." - } + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1750\n },\n \"selectedBrand\" : \"paypal\",\n \"additionalData\" : {\n \"tokenDataType\" : \"PayPal\",\n \"emailId\" : \"EmailUsedForPayPalAccount@example.com\",\n \"paypal.payerId\" : \"AK5HCWWRUV2KL\"\n },\n \"shopperName\" : {\n \"firstName\" : \"Test\",\n \"lastName\" : \"Test2\"\n },\n \"dateOfBirth\" : \"1982-07-17\",\n \"entityType\" : \"NaturalPerson\",\n \"nationality\" : \"NL\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"recurring\" : {\n \"contract\" : \"PAYOUT\"\n },\n \"reference\" : \"Test Payout\",\n \"shopperEmail\" : \"test@company.com\",\n \"shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/storeDetailAndSubmitThirdParty", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "storeDetailAndSubmitThirdParty" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Submits a payout and stores its details for subsequent payouts. The submitted payout must be confirmed or declined either by a reviewer or via `/confirmThirdParty` or `/declineThirdParty` calls." +} + ,"response": [ + ] }, { "name": "Submit a payout to Paysafecard", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"selectedBrand\" : \"paysafecard\",\n \"additionalData\" : {\n \"emailId\" : \"EmailUsedForPaysafecardAccount@example.com\"\n },\n \"shopperName\" : {\n \"firstName\" : \"Test\",\n \"lastName\" : \"Test2\"\n },\n \"dateOfBirth\" : \"1982-07-17\",\n \"entityType\" : \"NaturalPerson\",\n \"nationality\" : \"NL\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"recurring\" : {\n \"contract\" : \"PAYOUT\"\n },\n \"reference\" : \"Test Payout\",\n \"shopperEmail\" : \"test@company.com\",\n \"shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/storeDetailAndSubmitThirdParty", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "storeDetailAndSubmitThirdParty" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Submits a payout and stores its details for subsequent payouts. The submitted payout must be confirmed or declined either by a reviewer or via `/confirmThirdParty` or `/declineThirdParty` calls." - } + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"selectedBrand\" : \"paysafecard\",\n \"additionalData\" : {\n \"emailId\" : \"EmailUsedForPaysafecardAccount@example.com\"\n },\n \"shopperName\" : {\n \"firstName\" : \"Test\",\n \"lastName\" : \"Test2\"\n },\n \"dateOfBirth\" : \"1982-07-17\",\n \"entityType\" : \"NaturalPerson\",\n \"nationality\" : \"NL\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"recurring\" : {\n \"contract\" : \"PAYOUT\"\n },\n \"reference\" : \"Test Payout\",\n \"shopperEmail\" : \"test@company.com\",\n \"shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/storeDetailAndSubmitThirdParty", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "storeDetailAndSubmitThirdParty" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Submits a payout and stores its details for subsequent payouts. The submitted payout must be confirmed or declined either by a reviewer or via `/confirmThirdParty` or `/declineThirdParty` calls." +} + ,"response": [ + ] }, { "name": "Submit a payout to Skrill", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 100\n },\n \"selectedBrand\" : \"moneybookers\",\n \"additionalData\" : {\n \"tokenDataType\" : \"MoneyBookers\",\n \"email\" : \"name@adyen.com\"\n },\n \"shopperName\" : {\n \"firstName\" : \"Test\",\n \"lastName\" : \"Test2\"\n },\n \"dateOfBirth\" : \"1982-07-17\",\n \"entityType\" : \"NaturalPerson\",\n \"nationality\" : \"NL\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"recurring\" : {\n \"contract\" : \"PAYOUT\"\n },\n \"reference\" : \"Test Payout\",\n \"shopperEmail\" : \"test@company.com\",\n \"shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/storeDetailAndSubmitThirdParty", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "storeDetailAndSubmitThirdParty" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Submits a payout and stores its details for subsequent payouts. The submitted payout must be confirmed or declined either by a reviewer or via `/confirmThirdParty` or `/declineThirdParty` calls." - } + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 100\n },\n \"selectedBrand\" : \"moneybookers\",\n \"additionalData\" : {\n \"tokenDataType\" : \"MoneyBookers\",\n \"email\" : \"name@adyen.com\"\n },\n \"shopperName\" : {\n \"firstName\" : \"Test\",\n \"lastName\" : \"Test2\"\n },\n \"dateOfBirth\" : \"1982-07-17\",\n \"entityType\" : \"NaturalPerson\",\n \"nationality\" : \"NL\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"recurring\" : {\n \"contract\" : \"PAYOUT\"\n },\n \"reference\" : \"Test Payout\",\n \"shopperEmail\" : \"test@company.com\",\n \"shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/storeDetailAndSubmitThirdParty", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "storeDetailAndSubmitThirdParty" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Submits a payout and stores its details for subsequent payouts. The submitted payout must be confirmed or declined either by a reviewer or via `/confirmThirdParty` or `/declineThirdParty` calls." +} + ,"response": [ + ] } ] - } -, + }, { "name": "/submitThirdParty", "description": "Submits a payout using the previously stored payment details. To store payment details, use the `/storeDetail` API call. The submitted payout must be confirmed or declined either by a reviewer or via `/confirmThirdParty` or `/declineThirdParty` calls.", @@ -291,49 +352,50 @@ { "name": "Submit a payout", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"recurring\" : {\n \"contract\" : \"PAYOUT\"\n },\n \"reference\" : \"PayoutPayment-0001\",\n \"shopperEmail\" : \"shopper@email.com\",\n \"shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID\",\n \"shopperName\" : {\n \"firstName\" : \"Adyen\",\n \"lastName\" : \"Test\"\n },\n \"dateOfBirth\" : \"1990-01-01\",\n \"entityType\" : \"Company\",\n \"nationality\" : \"NL\",\n \"selectedRecurringDetailReference\" : \"LATEST\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/submitThirdParty", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "submitThirdParty" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Submits a payout using the previously stored payment details. To store payment details, use the `/storeDetail` API call. The submitted payout must be confirmed or declined either by a reviewer or via `/confirmThirdParty` or `/declineThirdParty` calls." - } + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"recurring\" : {\n \"contract\" : \"PAYOUT\"\n },\n \"reference\" : \"PayoutPayment-0001\",\n \"shopperEmail\" : \"shopper@email.com\",\n \"shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID\",\n \"shopperName\" : {\n \"firstName\" : \"Adyen\",\n \"lastName\" : \"Test\"\n },\n \"dateOfBirth\" : \"1990-01-01\",\n \"entityType\" : \"Company\",\n \"nationality\" : \"NL\",\n \"selectedRecurringDetailReference\" : \"LATEST\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/submitThirdParty", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "submitThirdParty" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Submits a payout using the previously stored payment details. To store payment details, use the `/storeDetail` API call. The submitted payout must be confirmed or declined either by a reviewer or via `/confirmThirdParty` or `/declineThirdParty` calls." +} + ,"response": [ + ] } ] } - ] }, { @@ -346,92 +408,95 @@ { "name": "Instant card payout (B2C)", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"value\" : 2500,\n \"currency\" : \"USD\"\n },\n \"card\" : {\n \"number\" : \"4111111111111111\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\"\n },\n \"billingAddress\" : {\n \"houseNumberOrName\" : \"121\",\n \"street\" : \"Brannan Street\",\n \"city\" : \"Beverly Hills\",\n \"postalCode\" : \"90210\",\n \"stateOrProvince\" : \"CA\",\n \"country\" : \"US\"\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"reference\" : \"P9999999999999999\",\n \"shopperName\" : {\n \"firstName\" : \"John\",\n \"lastName\" : \"Smith\"\n },\n \"nationality\" : \"NL\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payout", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payout" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "With this call, you can pay out to your customers, and funds will be made available within 30 minutes on the cardholder's bank account (this is dependent on whether the issuer supports this functionality). Instant card payouts are only supported for Visa and Mastercard cards." - } + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"amount\" : {\n \"value\" : 2500,\n \"currency\" : \"USD\"\n },\n \"card\" : {\n \"number\" : \"4111111111111111\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\"\n },\n \"billingAddress\" : {\n \"houseNumberOrName\" : \"121\",\n \"street\" : \"Brannan Street\",\n \"city\" : \"Beverly Hills\",\n \"postalCode\" : \"90210\",\n \"stateOrProvince\" : \"CA\",\n \"country\" : \"US\"\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"reference\" : \"P9999999999999999\",\n \"shopperName\" : {\n \"firstName\" : \"John\",\n \"lastName\" : \"Smith\"\n },\n \"nationality\" : \"NL\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payout", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payout" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "With this call, you can pay out to your customers, and funds will be made available within 30 minutes on the cardholder's bank account (this is dependent on whether the issuer supports this functionality). Instant card payouts are only supported for Visa and Mastercard cards." +} + ,"response": [ + ] }, { "name": "Instant card payout (P2P)", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"value\" : 2500,\n \"currency\" : \"USD\"\n },\n \"card\" : {\n \"number\" : \"4111111111111111\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\"\n },\n \"billingAddress\" : {\n \"houseNumberOrName\" : \"121\",\n \"street\" : \"Brannan Street\",\n \"city\" : \"Beverly Hills\",\n \"postalCode\" : \"90210\",\n \"stateOrProvince\" : \"CA\",\n \"country\" : \"US\"\n },\n \"fundSource\" : {\n \"additionalData\" : {\n \"fundingSource\" : \"DEBIT\"\n },\n \"billingAddress\" : {\n \"houseNumberOrName\" : \"121\",\n \"street\" : \"Brannan Street\",\n \"city\" : \"Beverly Hills\",\n \"postalCode\" : \"90210\",\n \"stateOrProvince\" : \"CA\",\n \"country\" : \"US\"\n },\n \"card\" : {\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"Payer Name\",\n \"number\" : \"4400000000000008\"\n },\n \"shopperName\" : {\n \"firstName\" : \"Payer\",\n \"lastName\" : \"Name\"\n }\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"reference\" : \"P9999999999999999\",\n \"shopperName\" : {\n \"firstName\" : \"John\",\n \"lastName\" : \"Smith\"\n },\n \"dateOfBirth\" : \"1990-01-01\",\n \"nationality\" : \"NL\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payout", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payout" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "With this call, you can pay out to your customers, and funds will be made available within 30 minutes on the cardholder's bank account (this is dependent on whether the issuer supports this functionality). Instant card payouts are only supported for Visa and Mastercard cards." - } + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"amount\" : {\n \"value\" : 2500,\n \"currency\" : \"USD\"\n },\n \"card\" : {\n \"number\" : \"4111111111111111\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\"\n },\n \"billingAddress\" : {\n \"houseNumberOrName\" : \"121\",\n \"street\" : \"Brannan Street\",\n \"city\" : \"Beverly Hills\",\n \"postalCode\" : \"90210\",\n \"stateOrProvince\" : \"CA\",\n \"country\" : \"US\"\n },\n \"fundSource\" : {\n \"additionalData\" : {\n \"fundingSource\" : \"DEBIT\"\n },\n \"billingAddress\" : {\n \"houseNumberOrName\" : \"121\",\n \"street\" : \"Brannan Street\",\n \"city\" : \"Beverly Hills\",\n \"postalCode\" : \"90210\",\n \"stateOrProvince\" : \"CA\",\n \"country\" : \"US\"\n },\n \"card\" : {\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"Payer Name\",\n \"number\" : \"4400000000000008\"\n },\n \"shopperName\" : {\n \"firstName\" : \"Payer\",\n \"lastName\" : \"Name\"\n }\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"reference\" : \"P9999999999999999\",\n \"shopperName\" : {\n \"firstName\" : \"John\",\n \"lastName\" : \"Smith\"\n },\n \"dateOfBirth\" : \"1990-01-01\",\n \"nationality\" : \"NL\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payout", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payout" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "With this call, you can pay out to your customers, and funds will be made available within 30 minutes on the cardholder's bank account (this is dependent on whether the issuer supports this functionality). Instant card payouts are only supported for Visa and Mastercard cards." +} + ,"response": [ + ] } ] } - ] }, { @@ -444,49 +509,101 @@ { "name": "Confirm a payout", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"originalReference\" : \"9913140798220028\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/confirmThirdParty", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "confirmThirdParty" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Confirms a previously submitted payout. To cancel a payout, use the `/declineThirdParty` endpoint." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"pspReference\" : \"991617894325358C\",\n \"response\" : \"[payout-confirm-received]\"\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"originalReference\" : \"9913140798220028\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/confirmThirdParty", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "confirmThirdParty" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Confirms a previously submitted payout. To cancel a payout, use the `/declineThirdParty` endpoint." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"originalReference\" : \"9913140798220028\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/confirmThirdParty", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "confirmThirdParty" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Confirms a previously submitted payout. To cancel a payout, use the `/declineThirdParty` endpoint." - } + ] } ] - } -, + }, { "name": "/declineThirdParty", "description": "Cancels a previously submitted payout. To confirm and send a payout, use the `/confirmThirdParty` endpoint.", @@ -494,49 +611,101 @@ { "name": "Cancel a payout", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"originalReference\" : \"9913140798220028\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/declineThirdParty", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "declineThirdParty" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Cancels a previously submitted payout. To confirm and send a payout, use the `/confirmThirdParty` endpoint." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"pspReference\" : \"991617894325360J\",\n \"response\" : \"[payout-decline-received]\"\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"originalReference\" : \"9913140798220028\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/declineThirdParty", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "declineThirdParty" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Cancels a previously submitted payout. To confirm and send a payout, use the `/confirmThirdParty` endpoint." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"originalReference\" : \"9913140798220028\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/declineThirdParty", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "declineThirdParty" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Cancels a previously submitted payout. To confirm and send a payout, use the `/confirmThirdParty` endpoint." - } + ] } ] } - ] } ], diff --git a/postman/PayoutService-v40.json b/postman/PayoutService-v40.json index 45b9a8c..96696bf 100644 --- a/postman/PayoutService-v40.json +++ b/postman/PayoutService-v40.json @@ -19,49 +19,101 @@ { "name": "Store payout details", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"recurring\" : {\n \"contract\" : \"PAYOUT\"\n },\n \"bank\" : {\n \"bankName\" : \"AbnAmro\",\n \"bic\" : \"ABNANL2A\",\n \"countryCode\" : \"NL\",\n \"iban\" : \"NL32ABNA0515071439\",\n \"ownerName\" : \"Adyen\",\n \"bankCity\" : \"Amsterdam\",\n \"taxId\" : \"bankTaxId\"\n },\n \"shopperEmail\" : \"shopper@email.com\",\n \"shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID\",\n \"shopperName\" : {\n \"firstName\" : \"Adyen\",\n \"lastName\" : \"Test\"\n },\n \"dateOfBirth\" : \"1990-01-01\",\n \"entityType\" : \"Company\",\n \"nationality\" : \"NL\",\n \"billingAddress\" : {\n \"houseNumberOrName\" : \"17\",\n \"street\" : \"Teststreet 1\",\n \"city\" : \"Amsterdam\",\n \"stateOrProvince\" : \"NY\",\n \"country\" : \"US\",\n \"postalCode\" : \"12345\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/storeDetail", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "storeDetail" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Stores payment details under the `PAYOUT` recurring contract. These payment details can be used later to submit a payout via the `/submitThirdParty` call." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"pspReference\" : \"991617894326362D\",\n \"recurringDetailReference\" : \"9916178936754752\",\n \"resultCode\" : \"Success\"\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"recurring\" : {\n \"contract\" : \"PAYOUT\"\n },\n \"bank\" : {\n \"bankName\" : \"AbnAmro\",\n \"bic\" : \"ABNANL2A\",\n \"countryCode\" : \"NL\",\n \"iban\" : \"NL32ABNA0515071439\",\n \"ownerName\" : \"Adyen\",\n \"bankCity\" : \"Amsterdam\",\n \"taxId\" : \"bankTaxId\"\n },\n \"shopperEmail\" : \"shopper@email.com\",\n \"shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID\",\n \"shopperName\" : {\n \"firstName\" : \"Adyen\",\n \"lastName\" : \"Test\"\n },\n \"dateOfBirth\" : \"1990-01-01\",\n \"entityType\" : \"Company\",\n \"nationality\" : \"NL\",\n \"billingAddress\" : {\n \"houseNumberOrName\" : \"17\",\n \"street\" : \"Teststreet 1\",\n \"city\" : \"Amsterdam\",\n \"stateOrProvince\" : \"NY\",\n \"country\" : \"US\",\n \"postalCode\" : \"12345\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/storeDetail", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "storeDetail" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Stores payment details under the `PAYOUT` recurring contract. These payment details can be used later to submit a payout via the `/submitThirdParty` call." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"recurring\" : {\n \"contract\" : \"PAYOUT\"\n },\n \"bank\" : {\n \"bankName\" : \"AbnAmro\",\n \"bic\" : \"ABNANL2A\",\n \"countryCode\" : \"NL\",\n \"iban\" : \"NL32ABNA0515071439\",\n \"ownerName\" : \"Adyen\",\n \"bankCity\" : \"Amsterdam\",\n \"taxId\" : \"bankTaxId\"\n },\n \"shopperEmail\" : \"shopper@email.com\",\n \"shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID\",\n \"shopperName\" : {\n \"firstName\" : \"Adyen\",\n \"lastName\" : \"Test\"\n },\n \"dateOfBirth\" : \"1990-01-01\",\n \"entityType\" : \"Company\",\n \"nationality\" : \"NL\",\n \"billingAddress\" : {\n \"houseNumberOrName\" : \"17\",\n \"street\" : \"Teststreet 1\",\n \"city\" : \"Amsterdam\",\n \"stateOrProvince\" : \"NY\",\n \"country\" : \"US\",\n \"postalCode\" : \"12345\"\n }\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/storeDetail", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "storeDetail" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Stores payment details under the `PAYOUT` recurring contract. These payment details can be used later to submit a payout via the `/submitThirdParty` call." - } + ] } ] - } -, + }, { "name": "/storeDetailAndSubmitThirdParty", "description": "Submits a payout and stores its details for subsequent payouts. The submitted payout must be confirmed or declined either by a reviewer or via `/confirmThirdParty` or `/declineThirdParty` calls.", @@ -69,221 +121,230 @@ { "name": "Submit a payout and stores details", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"recurring\" : {\n \"contract\" : \"PAYOUT\"\n },\n \"amount\" : {\n \"value\" : 2000,\n \"currency\" : \"EUR\"\n },\n \"bank\" : {\n \"bankName\" : \"Commerzbank\",\n \"iban\" : \"DE87123456781234567890\",\n \"countryCode\" : \"DE\",\n \"ownerName\" : \"Simon Hopper\"\n },\n \"reference\" : \"Your Reference\",\n \"shopperEmail\" : \"s.hopper@test.com\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"shopperName\" : {\n \"firstName\" : \"Adyen\",\n \"lastName\" : \"Test\"\n },\n \"dateOfBirth\" : \"1990-01-01\",\n \"entityType\" : \"Company\",\n \"nationality\" : \"NL\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/storeDetailAndSubmitThirdParty", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "storeDetailAndSubmitThirdParty" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Submits a payout and stores its details for subsequent payouts. The submitted payout must be confirmed or declined either by a reviewer or via `/confirmThirdParty` or `/declineThirdParty` calls." - } + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"recurring\" : {\n \"contract\" : \"PAYOUT\"\n },\n \"amount\" : {\n \"value\" : 2000,\n \"currency\" : \"EUR\"\n },\n \"bank\" : {\n \"bankName\" : \"Commerzbank\",\n \"iban\" : \"DE87123456781234567890\",\n \"countryCode\" : \"DE\",\n \"ownerName\" : \"Simon Hopper\"\n },\n \"reference\" : \"Your Reference\",\n \"shopperEmail\" : \"s.hopper@test.com\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"shopperName\" : {\n \"firstName\" : \"Adyen\",\n \"lastName\" : \"Test\"\n },\n \"dateOfBirth\" : \"1990-01-01\",\n \"entityType\" : \"Company\",\n \"nationality\" : \"NL\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/storeDetailAndSubmitThirdParty", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "storeDetailAndSubmitThirdParty" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Submits a payout and stores its details for subsequent payouts. The submitted payout must be confirmed or declined either by a reviewer or via `/confirmThirdParty` or `/declineThirdParty` calls." +} + ,"response": [ + ] }, { "name": "Submit a payout to Neteller", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 100\n },\n \"selectedBrand\" : \"neteller\",\n \"additionalData\" : {\n \"tokenDataType\" : \"Neteller\",\n \"account\" : \"myNetellerAccount\"\n },\n \"shopperName\" : {\n \"firstName\" : \"Test\",\n \"lastName\" : \"Test2\"\n },\n \"dateOfBirth\" : \"1982-07-17\",\n \"entityType\" : \"NaturalPerson\",\n \"nationality\" : \"NL\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"recurring\" : {\n \"contract\" : \"PAYOUT\"\n },\n \"reference\" : \"Test Payout\",\n \"shopperEmail\" : \"test@company.com\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/storeDetailAndSubmitThirdParty", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "storeDetailAndSubmitThirdParty" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Submits a payout and stores its details for subsequent payouts. The submitted payout must be confirmed or declined either by a reviewer or via `/confirmThirdParty` or `/declineThirdParty` calls." - } + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 100\n },\n \"selectedBrand\" : \"neteller\",\n \"additionalData\" : {\n \"tokenDataType\" : \"Neteller\",\n \"account\" : \"myNetellerAccount\"\n },\n \"shopperName\" : {\n \"firstName\" : \"Test\",\n \"lastName\" : \"Test2\"\n },\n \"dateOfBirth\" : \"1982-07-17\",\n \"entityType\" : \"NaturalPerson\",\n \"nationality\" : \"NL\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"recurring\" : {\n \"contract\" : \"PAYOUT\"\n },\n \"reference\" : \"Test Payout\",\n \"shopperEmail\" : \"test@company.com\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/storeDetailAndSubmitThirdParty", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "storeDetailAndSubmitThirdParty" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Submits a payout and stores its details for subsequent payouts. The submitted payout must be confirmed or declined either by a reviewer or via `/confirmThirdParty` or `/declineThirdParty` calls." +} + ,"response": [ + ] }, { "name": "Submit a payout to PayPal", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1750\n },\n \"selectedBrand\" : \"paypal\",\n \"additionalData\" : {\n \"tokenDataType\" : \"PayPal\",\n \"emailId\" : \"EmailUsedForPayPalAccount@example.com\",\n \"paypal.payerId\" : \"AK5HCWWRUV2KL\"\n },\n \"shopperName\" : {\n \"firstName\" : \"Test\",\n \"lastName\" : \"Test2\"\n },\n \"dateOfBirth\" : \"1982-07-17\",\n \"entityType\" : \"NaturalPerson\",\n \"nationality\" : \"NL\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"recurring\" : {\n \"contract\" : \"PAYOUT\"\n },\n \"reference\" : \"Test Payout\",\n \"shopperEmail\" : \"test@company.com\",\n \"shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/storeDetailAndSubmitThirdParty", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "storeDetailAndSubmitThirdParty" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Submits a payout and stores its details for subsequent payouts. The submitted payout must be confirmed or declined either by a reviewer or via `/confirmThirdParty` or `/declineThirdParty` calls." - } + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1750\n },\n \"selectedBrand\" : \"paypal\",\n \"additionalData\" : {\n \"tokenDataType\" : \"PayPal\",\n \"emailId\" : \"EmailUsedForPayPalAccount@example.com\",\n \"paypal.payerId\" : \"AK5HCWWRUV2KL\"\n },\n \"shopperName\" : {\n \"firstName\" : \"Test\",\n \"lastName\" : \"Test2\"\n },\n \"dateOfBirth\" : \"1982-07-17\",\n \"entityType\" : \"NaturalPerson\",\n \"nationality\" : \"NL\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"recurring\" : {\n \"contract\" : \"PAYOUT\"\n },\n \"reference\" : \"Test Payout\",\n \"shopperEmail\" : \"test@company.com\",\n \"shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/storeDetailAndSubmitThirdParty", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "storeDetailAndSubmitThirdParty" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Submits a payout and stores its details for subsequent payouts. The submitted payout must be confirmed or declined either by a reviewer or via `/confirmThirdParty` or `/declineThirdParty` calls." +} + ,"response": [ + ] }, { "name": "Submit a payout to Paysafecard", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"selectedBrand\" : \"paysafecard\",\n \"additionalData\" : {\n \"emailId\" : \"EmailUsedForPaysafecardAccount@example.com\"\n },\n \"shopperName\" : {\n \"firstName\" : \"Test\",\n \"lastName\" : \"Test2\"\n },\n \"dateOfBirth\" : \"1982-07-17\",\n \"entityType\" : \"NaturalPerson\",\n \"nationality\" : \"NL\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"recurring\" : {\n \"contract\" : \"PAYOUT\"\n },\n \"reference\" : \"Test Payout\",\n \"shopperEmail\" : \"test@company.com\",\n \"shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/storeDetailAndSubmitThirdParty", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "storeDetailAndSubmitThirdParty" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Submits a payout and stores its details for subsequent payouts. The submitted payout must be confirmed or declined either by a reviewer or via `/confirmThirdParty` or `/declineThirdParty` calls." - } + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"selectedBrand\" : \"paysafecard\",\n \"additionalData\" : {\n \"emailId\" : \"EmailUsedForPaysafecardAccount@example.com\"\n },\n \"shopperName\" : {\n \"firstName\" : \"Test\",\n \"lastName\" : \"Test2\"\n },\n \"dateOfBirth\" : \"1982-07-17\",\n \"entityType\" : \"NaturalPerson\",\n \"nationality\" : \"NL\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"recurring\" : {\n \"contract\" : \"PAYOUT\"\n },\n \"reference\" : \"Test Payout\",\n \"shopperEmail\" : \"test@company.com\",\n \"shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/storeDetailAndSubmitThirdParty", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "storeDetailAndSubmitThirdParty" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Submits a payout and stores its details for subsequent payouts. The submitted payout must be confirmed or declined either by a reviewer or via `/confirmThirdParty` or `/declineThirdParty` calls." +} + ,"response": [ + ] }, { "name": "Submit a payout to Skrill", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 100\n },\n \"selectedBrand\" : \"moneybookers\",\n \"additionalData\" : {\n \"tokenDataType\" : \"MoneyBookers\",\n \"email\" : \"name@adyen.com\"\n },\n \"shopperName\" : {\n \"firstName\" : \"Test\",\n \"lastName\" : \"Test2\"\n },\n \"dateOfBirth\" : \"1982-07-17\",\n \"entityType\" : \"NaturalPerson\",\n \"nationality\" : \"NL\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"recurring\" : {\n \"contract\" : \"PAYOUT\"\n },\n \"reference\" : \"Test Payout\",\n \"shopperEmail\" : \"test@company.com\",\n \"shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/storeDetailAndSubmitThirdParty", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "storeDetailAndSubmitThirdParty" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Submits a payout and stores its details for subsequent payouts. The submitted payout must be confirmed or declined either by a reviewer or via `/confirmThirdParty` or `/declineThirdParty` calls." - } + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 100\n },\n \"selectedBrand\" : \"moneybookers\",\n \"additionalData\" : {\n \"tokenDataType\" : \"MoneyBookers\",\n \"email\" : \"name@adyen.com\"\n },\n \"shopperName\" : {\n \"firstName\" : \"Test\",\n \"lastName\" : \"Test2\"\n },\n \"dateOfBirth\" : \"1982-07-17\",\n \"entityType\" : \"NaturalPerson\",\n \"nationality\" : \"NL\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"recurring\" : {\n \"contract\" : \"PAYOUT\"\n },\n \"reference\" : \"Test Payout\",\n \"shopperEmail\" : \"test@company.com\",\n \"shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/storeDetailAndSubmitThirdParty", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "storeDetailAndSubmitThirdParty" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Submits a payout and stores its details for subsequent payouts. The submitted payout must be confirmed or declined either by a reviewer or via `/confirmThirdParty` or `/declineThirdParty` calls." +} + ,"response": [ + ] } ] - } -, + }, { "name": "/submitThirdParty", "description": "Submits a payout using the previously stored payment details. To store payment details, use the `/storeDetail` API call. The submitted payout must be confirmed or declined either by a reviewer or via `/confirmThirdParty` or `/declineThirdParty` calls.", @@ -291,49 +352,50 @@ { "name": "Submit a payout", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"recurring\" : {\n \"contract\" : \"PAYOUT\"\n },\n \"reference\" : \"PayoutPayment-0001\",\n \"shopperEmail\" : \"shopper@email.com\",\n \"shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID\",\n \"shopperName\" : {\n \"firstName\" : \"Adyen\",\n \"lastName\" : \"Test\"\n },\n \"dateOfBirth\" : \"1990-01-01\",\n \"entityType\" : \"Company\",\n \"nationality\" : \"NL\",\n \"selectedRecurringDetailReference\" : \"LATEST\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/submitThirdParty", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "submitThirdParty" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Submits a payout using the previously stored payment details. To store payment details, use the `/storeDetail` API call. The submitted payout must be confirmed or declined either by a reviewer or via `/confirmThirdParty` or `/declineThirdParty` calls." - } + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"recurring\" : {\n \"contract\" : \"PAYOUT\"\n },\n \"reference\" : \"PayoutPayment-0001\",\n \"shopperEmail\" : \"shopper@email.com\",\n \"shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID\",\n \"shopperName\" : {\n \"firstName\" : \"Adyen\",\n \"lastName\" : \"Test\"\n },\n \"dateOfBirth\" : \"1990-01-01\",\n \"entityType\" : \"Company\",\n \"nationality\" : \"NL\",\n \"selectedRecurringDetailReference\" : \"LATEST\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/submitThirdParty", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "submitThirdParty" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Submits a payout using the previously stored payment details. To store payment details, use the `/storeDetail` API call. The submitted payout must be confirmed or declined either by a reviewer or via `/confirmThirdParty` or `/declineThirdParty` calls." +} + ,"response": [ + ] } ] } - ] }, { @@ -346,92 +408,95 @@ { "name": "Instant card payout (B2C)", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"value\" : 2500,\n \"currency\" : \"USD\"\n },\n \"card\" : {\n \"number\" : \"4111111111111111\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\"\n },\n \"billingAddress\" : {\n \"houseNumberOrName\" : \"121\",\n \"street\" : \"Brannan Street\",\n \"city\" : \"Beverly Hills\",\n \"postalCode\" : \"90210\",\n \"stateOrProvince\" : \"CA\",\n \"country\" : \"US\"\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"reference\" : \"P9999999999999999\",\n \"shopperName\" : {\n \"firstName\" : \"John\",\n \"lastName\" : \"Smith\"\n },\n \"nationality\" : \"NL\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payout", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payout" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "With this call, you can pay out to your customers, and funds will be made available within 30 minutes on the cardholder's bank account (this is dependent on whether the issuer supports this functionality). Instant card payouts are only supported for Visa and Mastercard cards." - } + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"amount\" : {\n \"value\" : 2500,\n \"currency\" : \"USD\"\n },\n \"card\" : {\n \"number\" : \"4111111111111111\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\"\n },\n \"billingAddress\" : {\n \"houseNumberOrName\" : \"121\",\n \"street\" : \"Brannan Street\",\n \"city\" : \"Beverly Hills\",\n \"postalCode\" : \"90210\",\n \"stateOrProvince\" : \"CA\",\n \"country\" : \"US\"\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"reference\" : \"P9999999999999999\",\n \"shopperName\" : {\n \"firstName\" : \"John\",\n \"lastName\" : \"Smith\"\n },\n \"nationality\" : \"NL\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payout", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payout" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "With this call, you can pay out to your customers, and funds will be made available within 30 minutes on the cardholder's bank account (this is dependent on whether the issuer supports this functionality). Instant card payouts are only supported for Visa and Mastercard cards." +} + ,"response": [ + ] }, { "name": "Instant card payout (P2P)", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"value\" : 2500,\n \"currency\" : \"USD\"\n },\n \"card\" : {\n \"number\" : \"4111111111111111\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\"\n },\n \"billingAddress\" : {\n \"houseNumberOrName\" : \"121\",\n \"street\" : \"Brannan Street\",\n \"city\" : \"Beverly Hills\",\n \"postalCode\" : \"90210\",\n \"stateOrProvince\" : \"CA\",\n \"country\" : \"US\"\n },\n \"fundSource\" : {\n \"additionalData\" : {\n \"fundingSource\" : \"DEBIT\"\n },\n \"billingAddress\" : {\n \"houseNumberOrName\" : \"121\",\n \"street\" : \"Brannan Street\",\n \"city\" : \"Beverly Hills\",\n \"postalCode\" : \"90210\",\n \"stateOrProvince\" : \"CA\",\n \"country\" : \"US\"\n },\n \"card\" : {\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"Payer Name\",\n \"number\" : \"4400000000000008\"\n },\n \"shopperName\" : {\n \"firstName\" : \"Payer\",\n \"lastName\" : \"Name\"\n }\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"reference\" : \"P9999999999999999\",\n \"shopperName\" : {\n \"firstName\" : \"John\",\n \"lastName\" : \"Smith\"\n },\n \"dateOfBirth\" : \"1990-01-01\",\n \"nationality\" : \"NL\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payout", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payout" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "With this call, you can pay out to your customers, and funds will be made available within 30 minutes on the cardholder's bank account (this is dependent on whether the issuer supports this functionality). Instant card payouts are only supported for Visa and Mastercard cards." - } + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"amount\" : {\n \"value\" : 2500,\n \"currency\" : \"USD\"\n },\n \"card\" : {\n \"number\" : \"4111111111111111\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\"\n },\n \"billingAddress\" : {\n \"houseNumberOrName\" : \"121\",\n \"street\" : \"Brannan Street\",\n \"city\" : \"Beverly Hills\",\n \"postalCode\" : \"90210\",\n \"stateOrProvince\" : \"CA\",\n \"country\" : \"US\"\n },\n \"fundSource\" : {\n \"additionalData\" : {\n \"fundingSource\" : \"DEBIT\"\n },\n \"billingAddress\" : {\n \"houseNumberOrName\" : \"121\",\n \"street\" : \"Brannan Street\",\n \"city\" : \"Beverly Hills\",\n \"postalCode\" : \"90210\",\n \"stateOrProvince\" : \"CA\",\n \"country\" : \"US\"\n },\n \"card\" : {\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"Payer Name\",\n \"number\" : \"4400000000000008\"\n },\n \"shopperName\" : {\n \"firstName\" : \"Payer\",\n \"lastName\" : \"Name\"\n }\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"reference\" : \"P9999999999999999\",\n \"shopperName\" : {\n \"firstName\" : \"John\",\n \"lastName\" : \"Smith\"\n },\n \"dateOfBirth\" : \"1990-01-01\",\n \"nationality\" : \"NL\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payout", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payout" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "With this call, you can pay out to your customers, and funds will be made available within 30 minutes on the cardholder's bank account (this is dependent on whether the issuer supports this functionality). Instant card payouts are only supported for Visa and Mastercard cards." +} + ,"response": [ + ] } ] } - ] }, { @@ -444,49 +509,101 @@ { "name": "Confirm a payout", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"originalReference\" : \"9913140798220028\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/confirmThirdParty", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "confirmThirdParty" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Confirms a previously submitted payout. To cancel a payout, use the `/declineThirdParty` endpoint." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"pspReference\" : \"991617894325358C\",\n \"response\" : \"[payout-confirm-received]\"\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"originalReference\" : \"9913140798220028\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/confirmThirdParty", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "confirmThirdParty" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Confirms a previously submitted payout. To cancel a payout, use the `/declineThirdParty` endpoint." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"originalReference\" : \"9913140798220028\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/confirmThirdParty", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "confirmThirdParty" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Confirms a previously submitted payout. To cancel a payout, use the `/declineThirdParty` endpoint." - } + ] } ] - } -, + }, { "name": "/declineThirdParty", "description": "Cancels a previously submitted payout. To confirm and send a payout, use the `/confirmThirdParty` endpoint.", @@ -494,49 +611,101 @@ { "name": "Cancel a payout", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"originalReference\" : \"9913140798220028\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/declineThirdParty", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "declineThirdParty" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Cancels a previously submitted payout. To confirm and send a payout, use the `/confirmThirdParty` endpoint." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"pspReference\" : \"991617894325360J\",\n \"response\" : \"[payout-decline-received]\"\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"originalReference\" : \"9913140798220028\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/declineThirdParty", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "declineThirdParty" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Cancels a previously submitted payout. To confirm and send a payout, use the `/confirmThirdParty` endpoint." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"originalReference\" : \"9913140798220028\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/declineThirdParty", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "declineThirdParty" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Cancels a previously submitted payout. To confirm and send a payout, use the `/confirmThirdParty` endpoint." - } + ] } ] } - ] } ], diff --git a/postman/PayoutService-v50.json b/postman/PayoutService-v50.json index 4c71a27..4eead31 100644 --- a/postman/PayoutService-v50.json +++ b/postman/PayoutService-v50.json @@ -19,49 +19,101 @@ { "name": "Store payout details", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"recurring\" : {\n \"contract\" : \"PAYOUT\"\n },\n \"bank\" : {\n \"bankName\" : \"AbnAmro\",\n \"bic\" : \"ABNANL2A\",\n \"countryCode\" : \"NL\",\n \"iban\" : \"NL32ABNA0515071439\",\n \"ownerName\" : \"Adyen\",\n \"bankCity\" : \"Amsterdam\",\n \"taxId\" : \"bankTaxId\"\n },\n \"shopperEmail\" : \"shopper@email.com\",\n \"shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID\",\n \"shopperName\" : {\n \"firstName\" : \"Adyen\",\n \"lastName\" : \"Test\"\n },\n \"dateOfBirth\" : \"1990-01-01\",\n \"entityType\" : \"Company\",\n \"nationality\" : \"NL\",\n \"billingAddress\" : {\n \"houseNumberOrName\" : \"17\",\n \"street\" : \"Teststreet 1\",\n \"city\" : \"Amsterdam\",\n \"stateOrProvince\" : \"NY\",\n \"country\" : \"US\",\n \"postalCode\" : \"12345\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/storeDetail", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "storeDetail" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Stores payment details under the `PAYOUT` recurring contract. These payment details can be used later to submit a payout via the `/submitThirdParty` call." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"pspReference\" : \"991617894326362D\",\n \"recurringDetailReference\" : \"9916178936754752\",\n \"resultCode\" : \"Success\"\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"recurring\" : {\n \"contract\" : \"PAYOUT\"\n },\n \"bank\" : {\n \"bankName\" : \"AbnAmro\",\n \"bic\" : \"ABNANL2A\",\n \"countryCode\" : \"NL\",\n \"iban\" : \"NL32ABNA0515071439\",\n \"ownerName\" : \"Adyen\",\n \"bankCity\" : \"Amsterdam\",\n \"taxId\" : \"bankTaxId\"\n },\n \"shopperEmail\" : \"shopper@email.com\",\n \"shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID\",\n \"shopperName\" : {\n \"firstName\" : \"Adyen\",\n \"lastName\" : \"Test\"\n },\n \"dateOfBirth\" : \"1990-01-01\",\n \"entityType\" : \"Company\",\n \"nationality\" : \"NL\",\n \"billingAddress\" : {\n \"houseNumberOrName\" : \"17\",\n \"street\" : \"Teststreet 1\",\n \"city\" : \"Amsterdam\",\n \"stateOrProvince\" : \"NY\",\n \"country\" : \"US\",\n \"postalCode\" : \"12345\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/storeDetail", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "storeDetail" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Stores payment details under the `PAYOUT` recurring contract. These payment details can be used later to submit a payout via the `/submitThirdParty` call." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"recurring\" : {\n \"contract\" : \"PAYOUT\"\n },\n \"bank\" : {\n \"bankName\" : \"AbnAmro\",\n \"bic\" : \"ABNANL2A\",\n \"countryCode\" : \"NL\",\n \"iban\" : \"NL32ABNA0515071439\",\n \"ownerName\" : \"Adyen\",\n \"bankCity\" : \"Amsterdam\",\n \"taxId\" : \"bankTaxId\"\n },\n \"shopperEmail\" : \"shopper@email.com\",\n \"shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID\",\n \"shopperName\" : {\n \"firstName\" : \"Adyen\",\n \"lastName\" : \"Test\"\n },\n \"dateOfBirth\" : \"1990-01-01\",\n \"entityType\" : \"Company\",\n \"nationality\" : \"NL\",\n \"billingAddress\" : {\n \"houseNumberOrName\" : \"17\",\n \"street\" : \"Teststreet 1\",\n \"city\" : \"Amsterdam\",\n \"stateOrProvince\" : \"NY\",\n \"country\" : \"US\",\n \"postalCode\" : \"12345\"\n }\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/storeDetail", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "storeDetail" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Stores payment details under the `PAYOUT` recurring contract. These payment details can be used later to submit a payout via the `/submitThirdParty` call." - } + ] } ] - } -, + }, { "name": "/storeDetailAndSubmitThirdParty", "description": "Submits a payout and stores its details for subsequent payouts. The submitted payout must be confirmed or declined either by a reviewer or via `/confirmThirdParty` or `/declineThirdParty` calls.", @@ -69,221 +121,230 @@ { "name": "Submit a payout and stores details", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"recurring\" : {\n \"contract\" : \"PAYOUT\"\n },\n \"amount\" : {\n \"value\" : 2000,\n \"currency\" : \"EUR\"\n },\n \"bank\" : {\n \"bankName\" : \"Commerzbank\",\n \"iban\" : \"DE87123456781234567890\",\n \"countryCode\" : \"DE\",\n \"ownerName\" : \"Simon Hopper\"\n },\n \"reference\" : \"Your Reference\",\n \"shopperEmail\" : \"s.hopper@test.com\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"shopperName\" : {\n \"firstName\" : \"Adyen\",\n \"lastName\" : \"Test\"\n },\n \"dateOfBirth\" : \"1990-01-01\",\n \"entityType\" : \"Company\",\n \"nationality\" : \"NL\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/storeDetailAndSubmitThirdParty", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "storeDetailAndSubmitThirdParty" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Submits a payout and stores its details for subsequent payouts. The submitted payout must be confirmed or declined either by a reviewer or via `/confirmThirdParty` or `/declineThirdParty` calls." - } + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"recurring\" : {\n \"contract\" : \"PAYOUT\"\n },\n \"amount\" : {\n \"value\" : 2000,\n \"currency\" : \"EUR\"\n },\n \"bank\" : {\n \"bankName\" : \"Commerzbank\",\n \"iban\" : \"DE87123456781234567890\",\n \"countryCode\" : \"DE\",\n \"ownerName\" : \"Simon Hopper\"\n },\n \"reference\" : \"Your Reference\",\n \"shopperEmail\" : \"s.hopper@test.com\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"shopperName\" : {\n \"firstName\" : \"Adyen\",\n \"lastName\" : \"Test\"\n },\n \"dateOfBirth\" : \"1990-01-01\",\n \"entityType\" : \"Company\",\n \"nationality\" : \"NL\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/storeDetailAndSubmitThirdParty", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "storeDetailAndSubmitThirdParty" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Submits a payout and stores its details for subsequent payouts. The submitted payout must be confirmed or declined either by a reviewer or via `/confirmThirdParty` or `/declineThirdParty` calls." +} + ,"response": [ + ] }, { "name": "Submit a payout to Neteller", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 100\n },\n \"selectedBrand\" : \"neteller\",\n \"additionalData\" : {\n \"tokenDataType\" : \"Neteller\",\n \"account\" : \"myNetellerAccount\"\n },\n \"shopperName\" : {\n \"firstName\" : \"Test\",\n \"lastName\" : \"Test2\"\n },\n \"dateOfBirth\" : \"1982-07-17\",\n \"entityType\" : \"NaturalPerson\",\n \"nationality\" : \"NL\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"recurring\" : {\n \"contract\" : \"PAYOUT\"\n },\n \"reference\" : \"Test Payout\",\n \"shopperEmail\" : \"test@company.com\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/storeDetailAndSubmitThirdParty", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "storeDetailAndSubmitThirdParty" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Submits a payout and stores its details for subsequent payouts. The submitted payout must be confirmed or declined either by a reviewer or via `/confirmThirdParty` or `/declineThirdParty` calls." - } + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 100\n },\n \"selectedBrand\" : \"neteller\",\n \"additionalData\" : {\n \"tokenDataType\" : \"Neteller\",\n \"account\" : \"myNetellerAccount\"\n },\n \"shopperName\" : {\n \"firstName\" : \"Test\",\n \"lastName\" : \"Test2\"\n },\n \"dateOfBirth\" : \"1982-07-17\",\n \"entityType\" : \"NaturalPerson\",\n \"nationality\" : \"NL\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"recurring\" : {\n \"contract\" : \"PAYOUT\"\n },\n \"reference\" : \"Test Payout\",\n \"shopperEmail\" : \"test@company.com\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/storeDetailAndSubmitThirdParty", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "storeDetailAndSubmitThirdParty" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Submits a payout and stores its details for subsequent payouts. The submitted payout must be confirmed or declined either by a reviewer or via `/confirmThirdParty` or `/declineThirdParty` calls." +} + ,"response": [ + ] }, { "name": "Submit a payout to PayPal", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1750\n },\n \"selectedBrand\" : \"paypal\",\n \"additionalData\" : {\n \"tokenDataType\" : \"PayPal\",\n \"emailId\" : \"EmailUsedForPayPalAccount@example.com\",\n \"paypal.payerId\" : \"AK5HCWWRUV2KL\"\n },\n \"shopperName\" : {\n \"firstName\" : \"Test\",\n \"lastName\" : \"Test2\"\n },\n \"dateOfBirth\" : \"1982-07-17\",\n \"entityType\" : \"NaturalPerson\",\n \"nationality\" : \"NL\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"recurring\" : {\n \"contract\" : \"PAYOUT\"\n },\n \"reference\" : \"Test Payout\",\n \"shopperEmail\" : \"test@company.com\",\n \"shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/storeDetailAndSubmitThirdParty", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "storeDetailAndSubmitThirdParty" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Submits a payout and stores its details for subsequent payouts. The submitted payout must be confirmed or declined either by a reviewer or via `/confirmThirdParty` or `/declineThirdParty` calls." - } + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1750\n },\n \"selectedBrand\" : \"paypal\",\n \"additionalData\" : {\n \"tokenDataType\" : \"PayPal\",\n \"emailId\" : \"EmailUsedForPayPalAccount@example.com\",\n \"paypal.payerId\" : \"AK5HCWWRUV2KL\"\n },\n \"shopperName\" : {\n \"firstName\" : \"Test\",\n \"lastName\" : \"Test2\"\n },\n \"dateOfBirth\" : \"1982-07-17\",\n \"entityType\" : \"NaturalPerson\",\n \"nationality\" : \"NL\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"recurring\" : {\n \"contract\" : \"PAYOUT\"\n },\n \"reference\" : \"Test Payout\",\n \"shopperEmail\" : \"test@company.com\",\n \"shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/storeDetailAndSubmitThirdParty", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "storeDetailAndSubmitThirdParty" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Submits a payout and stores its details for subsequent payouts. The submitted payout must be confirmed or declined either by a reviewer or via `/confirmThirdParty` or `/declineThirdParty` calls." +} + ,"response": [ + ] }, { "name": "Submit a payout to Paysafecard", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"selectedBrand\" : \"paysafecard\",\n \"additionalData\" : {\n \"emailId\" : \"EmailUsedForPaysafecardAccount@example.com\"\n },\n \"shopperName\" : {\n \"firstName\" : \"Test\",\n \"lastName\" : \"Test2\"\n },\n \"dateOfBirth\" : \"1982-07-17\",\n \"entityType\" : \"NaturalPerson\",\n \"nationality\" : \"NL\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"recurring\" : {\n \"contract\" : \"PAYOUT\"\n },\n \"reference\" : \"Test Payout\",\n \"shopperEmail\" : \"test@company.com\",\n \"shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/storeDetailAndSubmitThirdParty", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "storeDetailAndSubmitThirdParty" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Submits a payout and stores its details for subsequent payouts. The submitted payout must be confirmed or declined either by a reviewer or via `/confirmThirdParty` or `/declineThirdParty` calls." - } + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"selectedBrand\" : \"paysafecard\",\n \"additionalData\" : {\n \"emailId\" : \"EmailUsedForPaysafecardAccount@example.com\"\n },\n \"shopperName\" : {\n \"firstName\" : \"Test\",\n \"lastName\" : \"Test2\"\n },\n \"dateOfBirth\" : \"1982-07-17\",\n \"entityType\" : \"NaturalPerson\",\n \"nationality\" : \"NL\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"recurring\" : {\n \"contract\" : \"PAYOUT\"\n },\n \"reference\" : \"Test Payout\",\n \"shopperEmail\" : \"test@company.com\",\n \"shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/storeDetailAndSubmitThirdParty", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "storeDetailAndSubmitThirdParty" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Submits a payout and stores its details for subsequent payouts. The submitted payout must be confirmed or declined either by a reviewer or via `/confirmThirdParty` or `/declineThirdParty` calls." +} + ,"response": [ + ] }, { "name": "Submit a payout to Skrill", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 100\n },\n \"selectedBrand\" : \"moneybookers\",\n \"additionalData\" : {\n \"tokenDataType\" : \"MoneyBookers\",\n \"email\" : \"name@adyen.com\"\n },\n \"shopperName\" : {\n \"firstName\" : \"Test\",\n \"lastName\" : \"Test2\"\n },\n \"dateOfBirth\" : \"1982-07-17\",\n \"entityType\" : \"NaturalPerson\",\n \"nationality\" : \"NL\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"recurring\" : {\n \"contract\" : \"PAYOUT\"\n },\n \"reference\" : \"Test Payout\",\n \"shopperEmail\" : \"test@company.com\",\n \"shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/storeDetailAndSubmitThirdParty", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "storeDetailAndSubmitThirdParty" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Submits a payout and stores its details for subsequent payouts. The submitted payout must be confirmed or declined either by a reviewer or via `/confirmThirdParty` or `/declineThirdParty` calls." - } + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 100\n },\n \"selectedBrand\" : \"moneybookers\",\n \"additionalData\" : {\n \"tokenDataType\" : \"MoneyBookers\",\n \"email\" : \"name@adyen.com\"\n },\n \"shopperName\" : {\n \"firstName\" : \"Test\",\n \"lastName\" : \"Test2\"\n },\n \"dateOfBirth\" : \"1982-07-17\",\n \"entityType\" : \"NaturalPerson\",\n \"nationality\" : \"NL\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"recurring\" : {\n \"contract\" : \"PAYOUT\"\n },\n \"reference\" : \"Test Payout\",\n \"shopperEmail\" : \"test@company.com\",\n \"shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/storeDetailAndSubmitThirdParty", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "storeDetailAndSubmitThirdParty" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Submits a payout and stores its details for subsequent payouts. The submitted payout must be confirmed or declined either by a reviewer or via `/confirmThirdParty` or `/declineThirdParty` calls." +} + ,"response": [ + ] } ] - } -, + }, { "name": "/submitThirdParty", "description": "Submits a payout using the previously stored payment details. To store payment details, use the `/storeDetail` API call. The submitted payout must be confirmed or declined either by a reviewer or via `/confirmThirdParty` or `/declineThirdParty` calls.", @@ -291,49 +352,50 @@ { "name": "Submit a payout", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"recurring\" : {\n \"contract\" : \"PAYOUT\"\n },\n \"reference\" : \"PayoutPayment-0001\",\n \"shopperEmail\" : \"shopper@email.com\",\n \"shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID\",\n \"shopperName\" : {\n \"firstName\" : \"Adyen\",\n \"lastName\" : \"Test\"\n },\n \"dateOfBirth\" : \"1990-01-01\",\n \"entityType\" : \"Company\",\n \"nationality\" : \"NL\",\n \"selectedRecurringDetailReference\" : \"LATEST\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/submitThirdParty", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "submitThirdParty" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Submits a payout using the previously stored payment details. To store payment details, use the `/storeDetail` API call. The submitted payout must be confirmed or declined either by a reviewer or via `/confirmThirdParty` or `/declineThirdParty` calls." - } + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"recurring\" : {\n \"contract\" : \"PAYOUT\"\n },\n \"reference\" : \"PayoutPayment-0001\",\n \"shopperEmail\" : \"shopper@email.com\",\n \"shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID\",\n \"shopperName\" : {\n \"firstName\" : \"Adyen\",\n \"lastName\" : \"Test\"\n },\n \"dateOfBirth\" : \"1990-01-01\",\n \"entityType\" : \"Company\",\n \"nationality\" : \"NL\",\n \"selectedRecurringDetailReference\" : \"LATEST\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/submitThirdParty", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "submitThirdParty" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Submits a payout using the previously stored payment details. To store payment details, use the `/storeDetail` API call. The submitted payout must be confirmed or declined either by a reviewer or via `/confirmThirdParty` or `/declineThirdParty` calls." +} + ,"response": [ + ] } ] } - ] }, { @@ -346,92 +408,95 @@ { "name": "Instant card payout (B2C)", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"value\" : 2500,\n \"currency\" : \"USD\"\n },\n \"card\" : {\n \"number\" : \"4111111111111111\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\"\n },\n \"billingAddress\" : {\n \"houseNumberOrName\" : \"121\",\n \"street\" : \"Brannan Street\",\n \"city\" : \"Beverly Hills\",\n \"postalCode\" : \"90210\",\n \"stateOrProvince\" : \"CA\",\n \"country\" : \"US\"\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"reference\" : \"P9999999999999999\",\n \"shopperName\" : {\n \"firstName\" : \"John\",\n \"lastName\" : \"Smith\"\n },\n \"nationality\" : \"NL\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payout", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payout" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "With this call, you can pay out to your customers, and funds will be made available within 30 minutes on the cardholder's bank account (this is dependent on whether the issuer supports this functionality). Instant card payouts are only supported for Visa and Mastercard cards." - } + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"amount\" : {\n \"value\" : 2500,\n \"currency\" : \"USD\"\n },\n \"card\" : {\n \"number\" : \"4111111111111111\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\"\n },\n \"billingAddress\" : {\n \"houseNumberOrName\" : \"121\",\n \"street\" : \"Brannan Street\",\n \"city\" : \"Beverly Hills\",\n \"postalCode\" : \"90210\",\n \"stateOrProvince\" : \"CA\",\n \"country\" : \"US\"\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"reference\" : \"P9999999999999999\",\n \"shopperName\" : {\n \"firstName\" : \"John\",\n \"lastName\" : \"Smith\"\n },\n \"nationality\" : \"NL\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payout", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payout" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "With this call, you can pay out to your customers, and funds will be made available within 30 minutes on the cardholder's bank account (this is dependent on whether the issuer supports this functionality). Instant card payouts are only supported for Visa and Mastercard cards." +} + ,"response": [ + ] }, { "name": "Instant card payout (P2P)", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"value\" : 2500,\n \"currency\" : \"USD\"\n },\n \"card\" : {\n \"number\" : \"4111111111111111\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\"\n },\n \"billingAddress\" : {\n \"houseNumberOrName\" : \"121\",\n \"street\" : \"Brannan Street\",\n \"city\" : \"Beverly Hills\",\n \"postalCode\" : \"90210\",\n \"stateOrProvince\" : \"CA\",\n \"country\" : \"US\"\n },\n \"fundSource\" : {\n \"additionalData\" : {\n \"fundingSource\" : \"DEBIT\"\n },\n \"billingAddress\" : {\n \"houseNumberOrName\" : \"121\",\n \"street\" : \"Brannan Street\",\n \"city\" : \"Beverly Hills\",\n \"postalCode\" : \"90210\",\n \"stateOrProvince\" : \"CA\",\n \"country\" : \"US\"\n },\n \"card\" : {\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"Payer Name\",\n \"number\" : \"4400000000000008\"\n },\n \"shopperName\" : {\n \"firstName\" : \"Payer\",\n \"lastName\" : \"Name\"\n }\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"reference\" : \"P9999999999999999\",\n \"shopperName\" : {\n \"firstName\" : \"John\",\n \"lastName\" : \"Smith\"\n },\n \"dateOfBirth\" : \"1990-01-01\",\n \"nationality\" : \"NL\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payout", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payout" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "With this call, you can pay out to your customers, and funds will be made available within 30 minutes on the cardholder's bank account (this is dependent on whether the issuer supports this functionality). Instant card payouts are only supported for Visa and Mastercard cards." - } + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"amount\" : {\n \"value\" : 2500,\n \"currency\" : \"USD\"\n },\n \"card\" : {\n \"number\" : \"4111111111111111\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\"\n },\n \"billingAddress\" : {\n \"houseNumberOrName\" : \"121\",\n \"street\" : \"Brannan Street\",\n \"city\" : \"Beverly Hills\",\n \"postalCode\" : \"90210\",\n \"stateOrProvince\" : \"CA\",\n \"country\" : \"US\"\n },\n \"fundSource\" : {\n \"additionalData\" : {\n \"fundingSource\" : \"DEBIT\"\n },\n \"billingAddress\" : {\n \"houseNumberOrName\" : \"121\",\n \"street\" : \"Brannan Street\",\n \"city\" : \"Beverly Hills\",\n \"postalCode\" : \"90210\",\n \"stateOrProvince\" : \"CA\",\n \"country\" : \"US\"\n },\n \"card\" : {\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"Payer Name\",\n \"number\" : \"4400000000000008\"\n },\n \"shopperName\" : {\n \"firstName\" : \"Payer\",\n \"lastName\" : \"Name\"\n }\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"reference\" : \"P9999999999999999\",\n \"shopperName\" : {\n \"firstName\" : \"John\",\n \"lastName\" : \"Smith\"\n },\n \"dateOfBirth\" : \"1990-01-01\",\n \"nationality\" : \"NL\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payout", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payout" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "With this call, you can pay out to your customers, and funds will be made available within 30 minutes on the cardholder's bank account (this is dependent on whether the issuer supports this functionality). Instant card payouts are only supported for Visa and Mastercard cards." +} + ,"response": [ + ] } ] } - ] }, { @@ -444,49 +509,101 @@ { "name": "Confirm a payout", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"originalReference\" : \"9913140798220028\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/confirmThirdParty", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "confirmThirdParty" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Confirms a previously submitted payout. To cancel a payout, use the `/declineThirdParty` endpoint." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"pspReference\" : \"991617894325358C\",\n \"response\" : \"[payout-confirm-received]\"\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"originalReference\" : \"9913140798220028\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/confirmThirdParty", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "confirmThirdParty" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Confirms a previously submitted payout. To cancel a payout, use the `/declineThirdParty` endpoint." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"originalReference\" : \"9913140798220028\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/confirmThirdParty", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "confirmThirdParty" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Confirms a previously submitted payout. To cancel a payout, use the `/declineThirdParty` endpoint." - } + ] } ] - } -, + }, { "name": "/declineThirdParty", "description": "Cancels a previously submitted payout. To confirm and send a payout, use the `/confirmThirdParty` endpoint.", @@ -494,49 +611,101 @@ { "name": "Cancel a payout", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"originalReference\" : \"9913140798220028\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/declineThirdParty", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "declineThirdParty" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Cancels a previously submitted payout. To confirm and send a payout, use the `/confirmThirdParty` endpoint." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"pspReference\" : \"991617894325360J\",\n \"response\" : \"[payout-decline-received]\"\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"originalReference\" : \"9913140798220028\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/declineThirdParty", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "declineThirdParty" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Cancels a previously submitted payout. To confirm and send a payout, use the `/confirmThirdParty` endpoint." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"originalReference\" : \"9913140798220028\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/declineThirdParty", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "declineThirdParty" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Cancels a previously submitted payout. To confirm and send a payout, use the `/confirmThirdParty` endpoint." - } + ] } ] } - ] } ], diff --git a/postman/PayoutService-v51.json b/postman/PayoutService-v51.json index 210494a..cfaa664 100644 --- a/postman/PayoutService-v51.json +++ b/postman/PayoutService-v51.json @@ -19,49 +19,101 @@ { "name": "Store payout details", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"recurring\" : {\n \"contract\" : \"PAYOUT\"\n },\n \"bank\" : {\n \"bankName\" : \"AbnAmro\",\n \"bic\" : \"ABNANL2A\",\n \"countryCode\" : \"NL\",\n \"iban\" : \"NL32ABNA0515071439\",\n \"ownerName\" : \"Adyen\",\n \"bankCity\" : \"Amsterdam\",\n \"taxId\" : \"bankTaxId\"\n },\n \"shopperEmail\" : \"shopper@email.com\",\n \"shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID\",\n \"shopperName\" : {\n \"firstName\" : \"Adyen\",\n \"lastName\" : \"Test\"\n },\n \"dateOfBirth\" : \"1990-01-01\",\n \"entityType\" : \"Company\",\n \"nationality\" : \"NL\",\n \"billingAddress\" : {\n \"houseNumberOrName\" : \"17\",\n \"street\" : \"Teststreet 1\",\n \"city\" : \"Amsterdam\",\n \"stateOrProvince\" : \"NY\",\n \"country\" : \"US\",\n \"postalCode\" : \"12345\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/storeDetail", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "storeDetail" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Stores payment details under the `PAYOUT` recurring contract. These payment details can be used later to submit a payout via the `/submitThirdParty` call." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"pspReference\" : \"991617894326362D\",\n \"recurringDetailReference\" : \"9916178936754752\",\n \"resultCode\" : \"Success\"\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"recurring\" : {\n \"contract\" : \"PAYOUT\"\n },\n \"bank\" : {\n \"bankName\" : \"AbnAmro\",\n \"bic\" : \"ABNANL2A\",\n \"countryCode\" : \"NL\",\n \"iban\" : \"NL32ABNA0515071439\",\n \"ownerName\" : \"Adyen\",\n \"bankCity\" : \"Amsterdam\",\n \"taxId\" : \"bankTaxId\"\n },\n \"shopperEmail\" : \"shopper@email.com\",\n \"shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID\",\n \"shopperName\" : {\n \"firstName\" : \"Adyen\",\n \"lastName\" : \"Test\"\n },\n \"dateOfBirth\" : \"1990-01-01\",\n \"entityType\" : \"Company\",\n \"nationality\" : \"NL\",\n \"billingAddress\" : {\n \"houseNumberOrName\" : \"17\",\n \"street\" : \"Teststreet 1\",\n \"city\" : \"Amsterdam\",\n \"stateOrProvince\" : \"NY\",\n \"country\" : \"US\",\n \"postalCode\" : \"12345\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/storeDetail", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "storeDetail" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Stores payment details under the `PAYOUT` recurring contract. These payment details can be used later to submit a payout via the `/submitThirdParty` call." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"recurring\" : {\n \"contract\" : \"PAYOUT\"\n },\n \"bank\" : {\n \"bankName\" : \"AbnAmro\",\n \"bic\" : \"ABNANL2A\",\n \"countryCode\" : \"NL\",\n \"iban\" : \"NL32ABNA0515071439\",\n \"ownerName\" : \"Adyen\",\n \"bankCity\" : \"Amsterdam\",\n \"taxId\" : \"bankTaxId\"\n },\n \"shopperEmail\" : \"shopper@email.com\",\n \"shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID\",\n \"shopperName\" : {\n \"firstName\" : \"Adyen\",\n \"lastName\" : \"Test\"\n },\n \"dateOfBirth\" : \"1990-01-01\",\n \"entityType\" : \"Company\",\n \"nationality\" : \"NL\",\n \"billingAddress\" : {\n \"houseNumberOrName\" : \"17\",\n \"street\" : \"Teststreet 1\",\n \"city\" : \"Amsterdam\",\n \"stateOrProvince\" : \"NY\",\n \"country\" : \"US\",\n \"postalCode\" : \"12345\"\n }\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/storeDetail", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "storeDetail" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Stores payment details under the `PAYOUT` recurring contract. These payment details can be used later to submit a payout via the `/submitThirdParty` call." - } + ] } ] - } -, + }, { "name": "/storeDetailAndSubmitThirdParty", "description": "Submits a payout and stores its details for subsequent payouts. The submitted payout must be confirmed or declined either by a reviewer or via `/confirmThirdParty` or `/declineThirdParty` calls.", @@ -69,221 +121,230 @@ { "name": "Submit a payout and stores details", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"recurring\" : {\n \"contract\" : \"PAYOUT\"\n },\n \"amount\" : {\n \"value\" : 2000,\n \"currency\" : \"EUR\"\n },\n \"bank\" : {\n \"bankName\" : \"Commerzbank\",\n \"iban\" : \"DE87123456781234567890\",\n \"countryCode\" : \"DE\",\n \"ownerName\" : \"Simon Hopper\"\n },\n \"reference\" : \"Your Reference\",\n \"shopperEmail\" : \"s.hopper@test.com\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"shopperName\" : {\n \"firstName\" : \"Adyen\",\n \"lastName\" : \"Test\"\n },\n \"dateOfBirth\" : \"1990-01-01\",\n \"entityType\" : \"Company\",\n \"nationality\" : \"NL\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/storeDetailAndSubmitThirdParty", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "storeDetailAndSubmitThirdParty" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Submits a payout and stores its details for subsequent payouts. The submitted payout must be confirmed or declined either by a reviewer or via `/confirmThirdParty` or `/declineThirdParty` calls." - } + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"recurring\" : {\n \"contract\" : \"PAYOUT\"\n },\n \"amount\" : {\n \"value\" : 2000,\n \"currency\" : \"EUR\"\n },\n \"bank\" : {\n \"bankName\" : \"Commerzbank\",\n \"iban\" : \"DE87123456781234567890\",\n \"countryCode\" : \"DE\",\n \"ownerName\" : \"Simon Hopper\"\n },\n \"reference\" : \"Your Reference\",\n \"shopperEmail\" : \"s.hopper@test.com\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"shopperName\" : {\n \"firstName\" : \"Adyen\",\n \"lastName\" : \"Test\"\n },\n \"dateOfBirth\" : \"1990-01-01\",\n \"entityType\" : \"Company\",\n \"nationality\" : \"NL\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/storeDetailAndSubmitThirdParty", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "storeDetailAndSubmitThirdParty" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Submits a payout and stores its details for subsequent payouts. The submitted payout must be confirmed or declined either by a reviewer or via `/confirmThirdParty` or `/declineThirdParty` calls." +} + ,"response": [ + ] }, { "name": "Submit a payout to Neteller", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 100\n },\n \"selectedBrand\" : \"neteller\",\n \"additionalData\" : {\n \"tokenDataType\" : \"Neteller\",\n \"account\" : \"myNetellerAccount\"\n },\n \"shopperName\" : {\n \"firstName\" : \"Test\",\n \"lastName\" : \"Test2\"\n },\n \"dateOfBirth\" : \"1982-07-17\",\n \"entityType\" : \"NaturalPerson\",\n \"nationality\" : \"NL\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"recurring\" : {\n \"contract\" : \"PAYOUT\"\n },\n \"reference\" : \"Test Payout\",\n \"shopperEmail\" : \"test@company.com\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/storeDetailAndSubmitThirdParty", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "storeDetailAndSubmitThirdParty" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Submits a payout and stores its details for subsequent payouts. The submitted payout must be confirmed or declined either by a reviewer or via `/confirmThirdParty` or `/declineThirdParty` calls." - } + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 100\n },\n \"selectedBrand\" : \"neteller\",\n \"additionalData\" : {\n \"tokenDataType\" : \"Neteller\",\n \"account\" : \"myNetellerAccount\"\n },\n \"shopperName\" : {\n \"firstName\" : \"Test\",\n \"lastName\" : \"Test2\"\n },\n \"dateOfBirth\" : \"1982-07-17\",\n \"entityType\" : \"NaturalPerson\",\n \"nationality\" : \"NL\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"recurring\" : {\n \"contract\" : \"PAYOUT\"\n },\n \"reference\" : \"Test Payout\",\n \"shopperEmail\" : \"test@company.com\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/storeDetailAndSubmitThirdParty", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "storeDetailAndSubmitThirdParty" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Submits a payout and stores its details for subsequent payouts. The submitted payout must be confirmed or declined either by a reviewer or via `/confirmThirdParty` or `/declineThirdParty` calls." +} + ,"response": [ + ] }, { "name": "Submit a payout to PayPal", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1750\n },\n \"selectedBrand\" : \"paypal\",\n \"additionalData\" : {\n \"tokenDataType\" : \"PayPal\",\n \"emailId\" : \"EmailUsedForPayPalAccount@example.com\",\n \"paypal.payerId\" : \"AK5HCWWRUV2KL\"\n },\n \"shopperName\" : {\n \"firstName\" : \"Test\",\n \"lastName\" : \"Test2\"\n },\n \"dateOfBirth\" : \"1982-07-17\",\n \"entityType\" : \"NaturalPerson\",\n \"nationality\" : \"NL\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"recurring\" : {\n \"contract\" : \"PAYOUT\"\n },\n \"reference\" : \"Test Payout\",\n \"shopperEmail\" : \"test@company.com\",\n \"shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/storeDetailAndSubmitThirdParty", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "storeDetailAndSubmitThirdParty" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Submits a payout and stores its details for subsequent payouts. The submitted payout must be confirmed or declined either by a reviewer or via `/confirmThirdParty` or `/declineThirdParty` calls." - } + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1750\n },\n \"selectedBrand\" : \"paypal\",\n \"additionalData\" : {\n \"tokenDataType\" : \"PayPal\",\n \"emailId\" : \"EmailUsedForPayPalAccount@example.com\",\n \"paypal.payerId\" : \"AK5HCWWRUV2KL\"\n },\n \"shopperName\" : {\n \"firstName\" : \"Test\",\n \"lastName\" : \"Test2\"\n },\n \"dateOfBirth\" : \"1982-07-17\",\n \"entityType\" : \"NaturalPerson\",\n \"nationality\" : \"NL\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"recurring\" : {\n \"contract\" : \"PAYOUT\"\n },\n \"reference\" : \"Test Payout\",\n \"shopperEmail\" : \"test@company.com\",\n \"shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/storeDetailAndSubmitThirdParty", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "storeDetailAndSubmitThirdParty" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Submits a payout and stores its details for subsequent payouts. The submitted payout must be confirmed or declined either by a reviewer or via `/confirmThirdParty` or `/declineThirdParty` calls." +} + ,"response": [ + ] }, { "name": "Submit a payout to Paysafecard", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"selectedBrand\" : \"paysafecard\",\n \"additionalData\" : {\n \"emailId\" : \"EmailUsedForPaysafecardAccount@example.com\"\n },\n \"shopperName\" : {\n \"firstName\" : \"Test\",\n \"lastName\" : \"Test2\"\n },\n \"dateOfBirth\" : \"1982-07-17\",\n \"entityType\" : \"NaturalPerson\",\n \"nationality\" : \"NL\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"recurring\" : {\n \"contract\" : \"PAYOUT\"\n },\n \"reference\" : \"Test Payout\",\n \"shopperEmail\" : \"test@company.com\",\n \"shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/storeDetailAndSubmitThirdParty", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "storeDetailAndSubmitThirdParty" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Submits a payout and stores its details for subsequent payouts. The submitted payout must be confirmed or declined either by a reviewer or via `/confirmThirdParty` or `/declineThirdParty` calls." - } + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"selectedBrand\" : \"paysafecard\",\n \"additionalData\" : {\n \"emailId\" : \"EmailUsedForPaysafecardAccount@example.com\"\n },\n \"shopperName\" : {\n \"firstName\" : \"Test\",\n \"lastName\" : \"Test2\"\n },\n \"dateOfBirth\" : \"1982-07-17\",\n \"entityType\" : \"NaturalPerson\",\n \"nationality\" : \"NL\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"recurring\" : {\n \"contract\" : \"PAYOUT\"\n },\n \"reference\" : \"Test Payout\",\n \"shopperEmail\" : \"test@company.com\",\n \"shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/storeDetailAndSubmitThirdParty", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "storeDetailAndSubmitThirdParty" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Submits a payout and stores its details for subsequent payouts. The submitted payout must be confirmed or declined either by a reviewer or via `/confirmThirdParty` or `/declineThirdParty` calls." +} + ,"response": [ + ] }, { "name": "Submit a payout to Skrill", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 100\n },\n \"selectedBrand\" : \"moneybookers\",\n \"additionalData\" : {\n \"tokenDataType\" : \"MoneyBookers\",\n \"email\" : \"name@adyen.com\"\n },\n \"shopperName\" : {\n \"firstName\" : \"Test\",\n \"lastName\" : \"Test2\"\n },\n \"dateOfBirth\" : \"1982-07-17\",\n \"entityType\" : \"NaturalPerson\",\n \"nationality\" : \"NL\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"recurring\" : {\n \"contract\" : \"PAYOUT\"\n },\n \"reference\" : \"Test Payout\",\n \"shopperEmail\" : \"test@company.com\",\n \"shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/storeDetailAndSubmitThirdParty", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "storeDetailAndSubmitThirdParty" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Submits a payout and stores its details for subsequent payouts. The submitted payout must be confirmed or declined either by a reviewer or via `/confirmThirdParty` or `/declineThirdParty` calls." - } + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 100\n },\n \"selectedBrand\" : \"moneybookers\",\n \"additionalData\" : {\n \"tokenDataType\" : \"MoneyBookers\",\n \"email\" : \"name@adyen.com\"\n },\n \"shopperName\" : {\n \"firstName\" : \"Test\",\n \"lastName\" : \"Test2\"\n },\n \"dateOfBirth\" : \"1982-07-17\",\n \"entityType\" : \"NaturalPerson\",\n \"nationality\" : \"NL\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"recurring\" : {\n \"contract\" : \"PAYOUT\"\n },\n \"reference\" : \"Test Payout\",\n \"shopperEmail\" : \"test@company.com\",\n \"shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/storeDetailAndSubmitThirdParty", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "storeDetailAndSubmitThirdParty" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Submits a payout and stores its details for subsequent payouts. The submitted payout must be confirmed or declined either by a reviewer or via `/confirmThirdParty` or `/declineThirdParty` calls." +} + ,"response": [ + ] } ] - } -, + }, { "name": "/submitThirdParty", "description": "Submits a payout using the previously stored payment details. To store payment details, use the `/storeDetail` API call. The submitted payout must be confirmed or declined either by a reviewer or via `/confirmThirdParty` or `/declineThirdParty` calls.", @@ -291,49 +352,50 @@ { "name": "Submit a payout", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"recurring\" : {\n \"contract\" : \"PAYOUT\"\n },\n \"reference\" : \"PayoutPayment-0001\",\n \"shopperEmail\" : \"shopper@email.com\",\n \"shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID\",\n \"shopperName\" : {\n \"firstName\" : \"Adyen\",\n \"lastName\" : \"Test\"\n },\n \"dateOfBirth\" : \"1990-01-01\",\n \"entityType\" : \"Company\",\n \"nationality\" : \"NL\",\n \"selectedRecurringDetailReference\" : \"LATEST\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/submitThirdParty", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "submitThirdParty" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Submits a payout using the previously stored payment details. To store payment details, use the `/storeDetail` API call. The submitted payout must be confirmed or declined either by a reviewer or via `/confirmThirdParty` or `/declineThirdParty` calls." - } + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"recurring\" : {\n \"contract\" : \"PAYOUT\"\n },\n \"reference\" : \"PayoutPayment-0001\",\n \"shopperEmail\" : \"shopper@email.com\",\n \"shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID\",\n \"shopperName\" : {\n \"firstName\" : \"Adyen\",\n \"lastName\" : \"Test\"\n },\n \"dateOfBirth\" : \"1990-01-01\",\n \"entityType\" : \"Company\",\n \"nationality\" : \"NL\",\n \"selectedRecurringDetailReference\" : \"LATEST\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/submitThirdParty", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "submitThirdParty" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Submits a payout using the previously stored payment details. To store payment details, use the `/storeDetail` API call. The submitted payout must be confirmed or declined either by a reviewer or via `/confirmThirdParty` or `/declineThirdParty` calls." +} + ,"response": [ + ] } ] } - ] }, { @@ -346,92 +408,95 @@ { "name": "Instant card payout (B2C)", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"value\" : 2500,\n \"currency\" : \"USD\"\n },\n \"card\" : {\n \"number\" : \"4111111111111111\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\"\n },\n \"billingAddress\" : {\n \"houseNumberOrName\" : \"121\",\n \"street\" : \"Brannan Street\",\n \"city\" : \"Beverly Hills\",\n \"postalCode\" : \"90210\",\n \"stateOrProvince\" : \"CA\",\n \"country\" : \"US\"\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"reference\" : \"P9999999999999999\",\n \"shopperName\" : {\n \"firstName\" : \"John\",\n \"lastName\" : \"Smith\"\n },\n \"nationality\" : \"NL\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payout", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payout" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "With this call, you can pay out to your customers, and funds will be made available within 30 minutes on the cardholder's bank account (this is dependent on whether the issuer supports this functionality). Instant card payouts are only supported for Visa and Mastercard cards." - } + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"amount\" : {\n \"value\" : 2500,\n \"currency\" : \"USD\"\n },\n \"card\" : {\n \"number\" : \"4111111111111111\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\"\n },\n \"billingAddress\" : {\n \"houseNumberOrName\" : \"121\",\n \"street\" : \"Brannan Street\",\n \"city\" : \"Beverly Hills\",\n \"postalCode\" : \"90210\",\n \"stateOrProvince\" : \"CA\",\n \"country\" : \"US\"\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"reference\" : \"P9999999999999999\",\n \"shopperName\" : {\n \"firstName\" : \"John\",\n \"lastName\" : \"Smith\"\n },\n \"nationality\" : \"NL\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payout", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payout" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "With this call, you can pay out to your customers, and funds will be made available within 30 minutes on the cardholder's bank account (this is dependent on whether the issuer supports this functionality). Instant card payouts are only supported for Visa and Mastercard cards." +} + ,"response": [ + ] }, { "name": "Instant card payout (P2P)", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"value\" : 2500,\n \"currency\" : \"USD\"\n },\n \"card\" : {\n \"number\" : \"4111111111111111\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\"\n },\n \"billingAddress\" : {\n \"houseNumberOrName\" : \"121\",\n \"street\" : \"Brannan Street\",\n \"city\" : \"Beverly Hills\",\n \"postalCode\" : \"90210\",\n \"stateOrProvince\" : \"CA\",\n \"country\" : \"US\"\n },\n \"fundSource\" : {\n \"additionalData\" : {\n \"fundingSource\" : \"DEBIT\"\n },\n \"billingAddress\" : {\n \"houseNumberOrName\" : \"121\",\n \"street\" : \"Brannan Street\",\n \"city\" : \"Beverly Hills\",\n \"postalCode\" : \"90210\",\n \"stateOrProvince\" : \"CA\",\n \"country\" : \"US\"\n },\n \"card\" : {\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"Payer Name\",\n \"number\" : \"4400000000000008\"\n },\n \"shopperName\" : {\n \"firstName\" : \"Payer\",\n \"lastName\" : \"Name\"\n }\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"reference\" : \"P9999999999999999\",\n \"shopperName\" : {\n \"firstName\" : \"John\",\n \"lastName\" : \"Smith\"\n },\n \"dateOfBirth\" : \"1990-01-01\",\n \"nationality\" : \"NL\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payout", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payout" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "With this call, you can pay out to your customers, and funds will be made available within 30 minutes on the cardholder's bank account (this is dependent on whether the issuer supports this functionality). Instant card payouts are only supported for Visa and Mastercard cards." - } + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"amount\" : {\n \"value\" : 2500,\n \"currency\" : \"USD\"\n },\n \"card\" : {\n \"number\" : \"4111111111111111\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\"\n },\n \"billingAddress\" : {\n \"houseNumberOrName\" : \"121\",\n \"street\" : \"Brannan Street\",\n \"city\" : \"Beverly Hills\",\n \"postalCode\" : \"90210\",\n \"stateOrProvince\" : \"CA\",\n \"country\" : \"US\"\n },\n \"fundSource\" : {\n \"additionalData\" : {\n \"fundingSource\" : \"DEBIT\"\n },\n \"billingAddress\" : {\n \"houseNumberOrName\" : \"121\",\n \"street\" : \"Brannan Street\",\n \"city\" : \"Beverly Hills\",\n \"postalCode\" : \"90210\",\n \"stateOrProvince\" : \"CA\",\n \"country\" : \"US\"\n },\n \"card\" : {\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"Payer Name\",\n \"number\" : \"4400000000000008\"\n },\n \"shopperName\" : {\n \"firstName\" : \"Payer\",\n \"lastName\" : \"Name\"\n }\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"reference\" : \"P9999999999999999\",\n \"shopperName\" : {\n \"firstName\" : \"John\",\n \"lastName\" : \"Smith\"\n },\n \"dateOfBirth\" : \"1990-01-01\",\n \"nationality\" : \"NL\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payout", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payout" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "With this call, you can pay out to your customers, and funds will be made available within 30 minutes on the cardholder's bank account (this is dependent on whether the issuer supports this functionality). Instant card payouts are only supported for Visa and Mastercard cards." +} + ,"response": [ + ] } ] } - ] }, { @@ -444,49 +509,101 @@ { "name": "Confirm a payout", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"originalReference\" : \"9913140798220028\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/confirmThirdParty", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "confirmThirdParty" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Confirms a previously submitted payout. To cancel a payout, use the `/declineThirdParty` endpoint." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"pspReference\" : \"991617894325358C\",\n \"response\" : \"[payout-confirm-received]\"\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"originalReference\" : \"9913140798220028\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/confirmThirdParty", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "confirmThirdParty" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Confirms a previously submitted payout. To cancel a payout, use the `/declineThirdParty` endpoint." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"originalReference\" : \"9913140798220028\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/confirmThirdParty", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "confirmThirdParty" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Confirms a previously submitted payout. To cancel a payout, use the `/declineThirdParty` endpoint." - } + ] } ] - } -, + }, { "name": "/declineThirdParty", "description": "Cancels a previously submitted payout. To confirm and send a payout, use the `/confirmThirdParty` endpoint.", @@ -494,49 +611,101 @@ { "name": "Cancel a payout", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"originalReference\" : \"9913140798220028\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/declineThirdParty", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "declineThirdParty" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Cancels a previously submitted payout. To confirm and send a payout, use the `/confirmThirdParty` endpoint." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"pspReference\" : \"991617894325360J\",\n \"response\" : \"[payout-decline-received]\"\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"originalReference\" : \"9913140798220028\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/declineThirdParty", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "declineThirdParty" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Cancels a previously submitted payout. To confirm and send a payout, use the `/confirmThirdParty` endpoint." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"originalReference\" : \"9913140798220028\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/declineThirdParty", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "declineThirdParty" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Cancels a previously submitted payout. To confirm and send a payout, use the `/confirmThirdParty` endpoint." - } + ] } ] } - ] } ], diff --git a/postman/PayoutService-v52.json b/postman/PayoutService-v52.json index 7dfc577..ef36d94 100644 --- a/postman/PayoutService-v52.json +++ b/postman/PayoutService-v52.json @@ -19,49 +19,101 @@ { "name": "Store payout details", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"recurring\" : {\n \"contract\" : \"PAYOUT\"\n },\n \"bank\" : {\n \"bankName\" : \"AbnAmro\",\n \"bic\" : \"ABNANL2A\",\n \"countryCode\" : \"NL\",\n \"iban\" : \"NL32ABNA0515071439\",\n \"ownerName\" : \"Adyen\",\n \"bankCity\" : \"Amsterdam\",\n \"taxId\" : \"bankTaxId\"\n },\n \"shopperEmail\" : \"shopper@email.com\",\n \"shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID\",\n \"shopperName\" : {\n \"firstName\" : \"Adyen\",\n \"lastName\" : \"Test\"\n },\n \"dateOfBirth\" : \"1990-01-01\",\n \"entityType\" : \"Company\",\n \"nationality\" : \"NL\",\n \"billingAddress\" : {\n \"houseNumberOrName\" : \"17\",\n \"street\" : \"Teststreet 1\",\n \"city\" : \"Amsterdam\",\n \"stateOrProvince\" : \"NY\",\n \"country\" : \"US\",\n \"postalCode\" : \"12345\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/storeDetail", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "storeDetail" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Stores payment details under the `PAYOUT` recurring contract. These payment details can be used later to submit a payout via the `/submitThirdParty` call." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"pspReference\" : \"991617894326362D\",\n \"recurringDetailReference\" : \"9916178936754752\",\n \"resultCode\" : \"Success\"\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"recurring\" : {\n \"contract\" : \"PAYOUT\"\n },\n \"bank\" : {\n \"bankName\" : \"AbnAmro\",\n \"bic\" : \"ABNANL2A\",\n \"countryCode\" : \"NL\",\n \"iban\" : \"NL32ABNA0515071439\",\n \"ownerName\" : \"Adyen\",\n \"bankCity\" : \"Amsterdam\",\n \"taxId\" : \"bankTaxId\"\n },\n \"shopperEmail\" : \"shopper@email.com\",\n \"shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID\",\n \"shopperName\" : {\n \"firstName\" : \"Adyen\",\n \"lastName\" : \"Test\"\n },\n \"dateOfBirth\" : \"1990-01-01\",\n \"entityType\" : \"Company\",\n \"nationality\" : \"NL\",\n \"billingAddress\" : {\n \"houseNumberOrName\" : \"17\",\n \"street\" : \"Teststreet 1\",\n \"city\" : \"Amsterdam\",\n \"stateOrProvince\" : \"NY\",\n \"country\" : \"US\",\n \"postalCode\" : \"12345\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/storeDetail", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "storeDetail" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Stores payment details under the `PAYOUT` recurring contract. These payment details can be used later to submit a payout via the `/submitThirdParty` call." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"recurring\" : {\n \"contract\" : \"PAYOUT\"\n },\n \"bank\" : {\n \"bankName\" : \"AbnAmro\",\n \"bic\" : \"ABNANL2A\",\n \"countryCode\" : \"NL\",\n \"iban\" : \"NL32ABNA0515071439\",\n \"ownerName\" : \"Adyen\",\n \"bankCity\" : \"Amsterdam\",\n \"taxId\" : \"bankTaxId\"\n },\n \"shopperEmail\" : \"shopper@email.com\",\n \"shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID\",\n \"shopperName\" : {\n \"firstName\" : \"Adyen\",\n \"lastName\" : \"Test\"\n },\n \"dateOfBirth\" : \"1990-01-01\",\n \"entityType\" : \"Company\",\n \"nationality\" : \"NL\",\n \"billingAddress\" : {\n \"houseNumberOrName\" : \"17\",\n \"street\" : \"Teststreet 1\",\n \"city\" : \"Amsterdam\",\n \"stateOrProvince\" : \"NY\",\n \"country\" : \"US\",\n \"postalCode\" : \"12345\"\n }\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/storeDetail", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "storeDetail" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Stores payment details under the `PAYOUT` recurring contract. These payment details can be used later to submit a payout via the `/submitThirdParty` call." - } + ] } ] - } -, + }, { "name": "/storeDetailAndSubmitThirdParty", "description": "Submits a payout and stores its details for subsequent payouts. The submitted payout must be confirmed or declined either by a reviewer or via `/confirmThirdParty` or `/declineThirdParty` calls.", @@ -69,221 +121,230 @@ { "name": "Submit a payout and stores details", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"recurring\" : {\n \"contract\" : \"PAYOUT\"\n },\n \"amount\" : {\n \"value\" : 2000,\n \"currency\" : \"EUR\"\n },\n \"bank\" : {\n \"bankName\" : \"Commerzbank\",\n \"iban\" : \"DE87123456781234567890\",\n \"countryCode\" : \"DE\",\n \"ownerName\" : \"Simon Hopper\"\n },\n \"reference\" : \"Your Reference\",\n \"shopperEmail\" : \"s.hopper@test.com\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"shopperName\" : {\n \"firstName\" : \"Adyen\",\n \"lastName\" : \"Test\"\n },\n \"dateOfBirth\" : \"1990-01-01\",\n \"entityType\" : \"Company\",\n \"nationality\" : \"NL\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/storeDetailAndSubmitThirdParty", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "storeDetailAndSubmitThirdParty" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Submits a payout and stores its details for subsequent payouts. The submitted payout must be confirmed or declined either by a reviewer or via `/confirmThirdParty` or `/declineThirdParty` calls." - } + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"recurring\" : {\n \"contract\" : \"PAYOUT\"\n },\n \"amount\" : {\n \"value\" : 2000,\n \"currency\" : \"EUR\"\n },\n \"bank\" : {\n \"bankName\" : \"Commerzbank\",\n \"iban\" : \"DE87123456781234567890\",\n \"countryCode\" : \"DE\",\n \"ownerName\" : \"Simon Hopper\"\n },\n \"reference\" : \"Your Reference\",\n \"shopperEmail\" : \"s.hopper@test.com\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"shopperName\" : {\n \"firstName\" : \"Adyen\",\n \"lastName\" : \"Test\"\n },\n \"dateOfBirth\" : \"1990-01-01\",\n \"entityType\" : \"Company\",\n \"nationality\" : \"NL\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/storeDetailAndSubmitThirdParty", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "storeDetailAndSubmitThirdParty" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Submits a payout and stores its details for subsequent payouts. The submitted payout must be confirmed or declined either by a reviewer or via `/confirmThirdParty` or `/declineThirdParty` calls." +} + ,"response": [ + ] }, { "name": "Submit a payout to Neteller", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 100\n },\n \"selectedBrand\" : \"neteller\",\n \"additionalData\" : {\n \"tokenDataType\" : \"Neteller\",\n \"account\" : \"myNetellerAccount\"\n },\n \"shopperName\" : {\n \"firstName\" : \"Test\",\n \"lastName\" : \"Test2\"\n },\n \"dateOfBirth\" : \"1982-07-17\",\n \"entityType\" : \"NaturalPerson\",\n \"nationality\" : \"NL\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"recurring\" : {\n \"contract\" : \"PAYOUT\"\n },\n \"reference\" : \"Test Payout\",\n \"shopperEmail\" : \"test@company.com\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/storeDetailAndSubmitThirdParty", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "storeDetailAndSubmitThirdParty" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Submits a payout and stores its details for subsequent payouts. The submitted payout must be confirmed or declined either by a reviewer or via `/confirmThirdParty` or `/declineThirdParty` calls." - } + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 100\n },\n \"selectedBrand\" : \"neteller\",\n \"additionalData\" : {\n \"tokenDataType\" : \"Neteller\",\n \"account\" : \"myNetellerAccount\"\n },\n \"shopperName\" : {\n \"firstName\" : \"Test\",\n \"lastName\" : \"Test2\"\n },\n \"dateOfBirth\" : \"1982-07-17\",\n \"entityType\" : \"NaturalPerson\",\n \"nationality\" : \"NL\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"recurring\" : {\n \"contract\" : \"PAYOUT\"\n },\n \"reference\" : \"Test Payout\",\n \"shopperEmail\" : \"test@company.com\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/storeDetailAndSubmitThirdParty", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "storeDetailAndSubmitThirdParty" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Submits a payout and stores its details for subsequent payouts. The submitted payout must be confirmed or declined either by a reviewer or via `/confirmThirdParty` or `/declineThirdParty` calls." +} + ,"response": [ + ] }, { "name": "Submit a payout to PayPal", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1750\n },\n \"selectedBrand\" : \"paypal\",\n \"additionalData\" : {\n \"tokenDataType\" : \"PayPal\",\n \"emailId\" : \"EmailUsedForPayPalAccount@example.com\",\n \"paypal.payerId\" : \"AK5HCWWRUV2KL\"\n },\n \"shopperName\" : {\n \"firstName\" : \"Test\",\n \"lastName\" : \"Test2\"\n },\n \"dateOfBirth\" : \"1982-07-17\",\n \"entityType\" : \"NaturalPerson\",\n \"nationality\" : \"NL\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"recurring\" : {\n \"contract\" : \"PAYOUT\"\n },\n \"reference\" : \"Test Payout\",\n \"shopperEmail\" : \"test@company.com\",\n \"shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/storeDetailAndSubmitThirdParty", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "storeDetailAndSubmitThirdParty" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Submits a payout and stores its details for subsequent payouts. The submitted payout must be confirmed or declined either by a reviewer or via `/confirmThirdParty` or `/declineThirdParty` calls." - } + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1750\n },\n \"selectedBrand\" : \"paypal\",\n \"additionalData\" : {\n \"tokenDataType\" : \"PayPal\",\n \"emailId\" : \"EmailUsedForPayPalAccount@example.com\",\n \"paypal.payerId\" : \"AK5HCWWRUV2KL\"\n },\n \"shopperName\" : {\n \"firstName\" : \"Test\",\n \"lastName\" : \"Test2\"\n },\n \"dateOfBirth\" : \"1982-07-17\",\n \"entityType\" : \"NaturalPerson\",\n \"nationality\" : \"NL\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"recurring\" : {\n \"contract\" : \"PAYOUT\"\n },\n \"reference\" : \"Test Payout\",\n \"shopperEmail\" : \"test@company.com\",\n \"shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/storeDetailAndSubmitThirdParty", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "storeDetailAndSubmitThirdParty" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Submits a payout and stores its details for subsequent payouts. The submitted payout must be confirmed or declined either by a reviewer or via `/confirmThirdParty` or `/declineThirdParty` calls." +} + ,"response": [ + ] }, { "name": "Submit a payout to Paysafecard", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"selectedBrand\" : \"paysafecard\",\n \"additionalData\" : {\n \"emailId\" : \"EmailUsedForPaysafecardAccount@example.com\"\n },\n \"shopperName\" : {\n \"firstName\" : \"Test\",\n \"lastName\" : \"Test2\"\n },\n \"dateOfBirth\" : \"1982-07-17\",\n \"entityType\" : \"NaturalPerson\",\n \"nationality\" : \"NL\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"recurring\" : {\n \"contract\" : \"PAYOUT\"\n },\n \"reference\" : \"Test Payout\",\n \"shopperEmail\" : \"test@company.com\",\n \"shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/storeDetailAndSubmitThirdParty", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "storeDetailAndSubmitThirdParty" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Submits a payout and stores its details for subsequent payouts. The submitted payout must be confirmed or declined either by a reviewer or via `/confirmThirdParty` or `/declineThirdParty` calls." - } + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"selectedBrand\" : \"paysafecard\",\n \"additionalData\" : {\n \"emailId\" : \"EmailUsedForPaysafecardAccount@example.com\"\n },\n \"shopperName\" : {\n \"firstName\" : \"Test\",\n \"lastName\" : \"Test2\"\n },\n \"dateOfBirth\" : \"1982-07-17\",\n \"entityType\" : \"NaturalPerson\",\n \"nationality\" : \"NL\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"recurring\" : {\n \"contract\" : \"PAYOUT\"\n },\n \"reference\" : \"Test Payout\",\n \"shopperEmail\" : \"test@company.com\",\n \"shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/storeDetailAndSubmitThirdParty", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "storeDetailAndSubmitThirdParty" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Submits a payout and stores its details for subsequent payouts. The submitted payout must be confirmed or declined either by a reviewer or via `/confirmThirdParty` or `/declineThirdParty` calls." +} + ,"response": [ + ] }, { "name": "Submit a payout to Skrill", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 100\n },\n \"selectedBrand\" : \"moneybookers\",\n \"additionalData\" : {\n \"tokenDataType\" : \"MoneyBookers\",\n \"email\" : \"name@adyen.com\"\n },\n \"shopperName\" : {\n \"firstName\" : \"Test\",\n \"lastName\" : \"Test2\"\n },\n \"dateOfBirth\" : \"1982-07-17\",\n \"entityType\" : \"NaturalPerson\",\n \"nationality\" : \"NL\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"recurring\" : {\n \"contract\" : \"PAYOUT\"\n },\n \"reference\" : \"Test Payout\",\n \"shopperEmail\" : \"test@company.com\",\n \"shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/storeDetailAndSubmitThirdParty", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "storeDetailAndSubmitThirdParty" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Submits a payout and stores its details for subsequent payouts. The submitted payout must be confirmed or declined either by a reviewer or via `/confirmThirdParty` or `/declineThirdParty` calls." - } + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 100\n },\n \"selectedBrand\" : \"moneybookers\",\n \"additionalData\" : {\n \"tokenDataType\" : \"MoneyBookers\",\n \"email\" : \"name@adyen.com\"\n },\n \"shopperName\" : {\n \"firstName\" : \"Test\",\n \"lastName\" : \"Test2\"\n },\n \"dateOfBirth\" : \"1982-07-17\",\n \"entityType\" : \"NaturalPerson\",\n \"nationality\" : \"NL\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"recurring\" : {\n \"contract\" : \"PAYOUT\"\n },\n \"reference\" : \"Test Payout\",\n \"shopperEmail\" : \"test@company.com\",\n \"shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/storeDetailAndSubmitThirdParty", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "storeDetailAndSubmitThirdParty" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Submits a payout and stores its details for subsequent payouts. The submitted payout must be confirmed or declined either by a reviewer or via `/confirmThirdParty` or `/declineThirdParty` calls." +} + ,"response": [ + ] } ] - } -, + }, { "name": "/submitThirdParty", "description": "Submits a payout using the previously stored payment details. To store payment details, use the `/storeDetail` API call. The submitted payout must be confirmed or declined either by a reviewer or via `/confirmThirdParty` or `/declineThirdParty` calls.", @@ -291,49 +352,50 @@ { "name": "Submit a payout", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"recurring\" : {\n \"contract\" : \"PAYOUT\"\n },\n \"reference\" : \"PayoutPayment-0001\",\n \"shopperEmail\" : \"shopper@email.com\",\n \"shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID\",\n \"shopperName\" : {\n \"firstName\" : \"Adyen\",\n \"lastName\" : \"Test\"\n },\n \"dateOfBirth\" : \"1990-01-01\",\n \"entityType\" : \"Company\",\n \"nationality\" : \"NL\",\n \"selectedRecurringDetailReference\" : \"LATEST\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/submitThirdParty", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "submitThirdParty" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Submits a payout using the previously stored payment details. To store payment details, use the `/storeDetail` API call. The submitted payout must be confirmed or declined either by a reviewer or via `/confirmThirdParty` or `/declineThirdParty` calls." - } + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"recurring\" : {\n \"contract\" : \"PAYOUT\"\n },\n \"reference\" : \"PayoutPayment-0001\",\n \"shopperEmail\" : \"shopper@email.com\",\n \"shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID\",\n \"shopperName\" : {\n \"firstName\" : \"Adyen\",\n \"lastName\" : \"Test\"\n },\n \"dateOfBirth\" : \"1990-01-01\",\n \"entityType\" : \"Company\",\n \"nationality\" : \"NL\",\n \"selectedRecurringDetailReference\" : \"LATEST\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/submitThirdParty", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "submitThirdParty" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Submits a payout using the previously stored payment details. To store payment details, use the `/storeDetail` API call. The submitted payout must be confirmed or declined either by a reviewer or via `/confirmThirdParty` or `/declineThirdParty` calls." +} + ,"response": [ + ] } ] } - ] }, { @@ -346,92 +408,95 @@ { "name": "Instant card payout (B2C)", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"value\" : 2500,\n \"currency\" : \"USD\"\n },\n \"card\" : {\n \"number\" : \"4111111111111111\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\"\n },\n \"billingAddress\" : {\n \"houseNumberOrName\" : \"121\",\n \"street\" : \"Brannan Street\",\n \"city\" : \"Beverly Hills\",\n \"postalCode\" : \"90210\",\n \"stateOrProvince\" : \"CA\",\n \"country\" : \"US\"\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"reference\" : \"P9999999999999999\",\n \"shopperName\" : {\n \"firstName\" : \"John\",\n \"lastName\" : \"Smith\"\n },\n \"nationality\" : \"NL\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payout", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payout" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "With this call, you can pay out to your customers, and funds will be made available within 30 minutes on the cardholder's bank account (this is dependent on whether the issuer supports this functionality). Instant card payouts are only supported for Visa and Mastercard cards." - } + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"amount\" : {\n \"value\" : 2500,\n \"currency\" : \"USD\"\n },\n \"card\" : {\n \"number\" : \"4111111111111111\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\"\n },\n \"billingAddress\" : {\n \"houseNumberOrName\" : \"121\",\n \"street\" : \"Brannan Street\",\n \"city\" : \"Beverly Hills\",\n \"postalCode\" : \"90210\",\n \"stateOrProvince\" : \"CA\",\n \"country\" : \"US\"\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"reference\" : \"P9999999999999999\",\n \"shopperName\" : {\n \"firstName\" : \"John\",\n \"lastName\" : \"Smith\"\n },\n \"nationality\" : \"NL\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payout", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payout" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "With this call, you can pay out to your customers, and funds will be made available within 30 minutes on the cardholder's bank account (this is dependent on whether the issuer supports this functionality). Instant card payouts are only supported for Visa and Mastercard cards." +} + ,"response": [ + ] }, { "name": "Instant card payout (P2P)", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"value\" : 2500,\n \"currency\" : \"USD\"\n },\n \"card\" : {\n \"number\" : \"4111111111111111\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\"\n },\n \"billingAddress\" : {\n \"houseNumberOrName\" : \"121\",\n \"street\" : \"Brannan Street\",\n \"city\" : \"Beverly Hills\",\n \"postalCode\" : \"90210\",\n \"stateOrProvince\" : \"CA\",\n \"country\" : \"US\"\n },\n \"fundSource\" : {\n \"additionalData\" : {\n \"fundingSource\" : \"DEBIT\"\n },\n \"billingAddress\" : {\n \"houseNumberOrName\" : \"121\",\n \"street\" : \"Brannan Street\",\n \"city\" : \"Beverly Hills\",\n \"postalCode\" : \"90210\",\n \"stateOrProvince\" : \"CA\",\n \"country\" : \"US\"\n },\n \"card\" : {\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"Payer Name\",\n \"number\" : \"4400000000000008\"\n },\n \"shopperName\" : {\n \"firstName\" : \"Payer\",\n \"lastName\" : \"Name\"\n }\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"reference\" : \"P9999999999999999\",\n \"shopperName\" : {\n \"firstName\" : \"John\",\n \"lastName\" : \"Smith\"\n },\n \"dateOfBirth\" : \"1990-01-01\",\n \"nationality\" : \"NL\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payout", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payout" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "With this call, you can pay out to your customers, and funds will be made available within 30 minutes on the cardholder's bank account (this is dependent on whether the issuer supports this functionality). Instant card payouts are only supported for Visa and Mastercard cards." - } + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"amount\" : {\n \"value\" : 2500,\n \"currency\" : \"USD\"\n },\n \"card\" : {\n \"number\" : \"4111111111111111\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\"\n },\n \"billingAddress\" : {\n \"houseNumberOrName\" : \"121\",\n \"street\" : \"Brannan Street\",\n \"city\" : \"Beverly Hills\",\n \"postalCode\" : \"90210\",\n \"stateOrProvince\" : \"CA\",\n \"country\" : \"US\"\n },\n \"fundSource\" : {\n \"additionalData\" : {\n \"fundingSource\" : \"DEBIT\"\n },\n \"billingAddress\" : {\n \"houseNumberOrName\" : \"121\",\n \"street\" : \"Brannan Street\",\n \"city\" : \"Beverly Hills\",\n \"postalCode\" : \"90210\",\n \"stateOrProvince\" : \"CA\",\n \"country\" : \"US\"\n },\n \"card\" : {\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"Payer Name\",\n \"number\" : \"4400000000000008\"\n },\n \"shopperName\" : {\n \"firstName\" : \"Payer\",\n \"lastName\" : \"Name\"\n }\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"reference\" : \"P9999999999999999\",\n \"shopperName\" : {\n \"firstName\" : \"John\",\n \"lastName\" : \"Smith\"\n },\n \"dateOfBirth\" : \"1990-01-01\",\n \"nationality\" : \"NL\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payout", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payout" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "With this call, you can pay out to your customers, and funds will be made available within 30 minutes on the cardholder's bank account (this is dependent on whether the issuer supports this functionality). Instant card payouts are only supported for Visa and Mastercard cards." +} + ,"response": [ + ] } ] } - ] }, { @@ -444,49 +509,101 @@ { "name": "Confirm a payout", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"originalReference\" : \"9913140798220028\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/confirmThirdParty", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "confirmThirdParty" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Confirms a previously submitted payout. To cancel a payout, use the `/declineThirdParty` endpoint." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"pspReference\" : \"991617894325358C\",\n \"response\" : \"[payout-confirm-received]\"\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"originalReference\" : \"9913140798220028\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/confirmThirdParty", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "confirmThirdParty" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Confirms a previously submitted payout. To cancel a payout, use the `/declineThirdParty` endpoint." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"originalReference\" : \"9913140798220028\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/confirmThirdParty", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "confirmThirdParty" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Confirms a previously submitted payout. To cancel a payout, use the `/declineThirdParty` endpoint." - } + ] } ] - } -, + }, { "name": "/declineThirdParty", "description": "Cancels a previously submitted payout. To confirm and send a payout, use the `/confirmThirdParty` endpoint.", @@ -494,49 +611,101 @@ { "name": "Cancel a payout", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"originalReference\" : \"9913140798220028\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/declineThirdParty", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "declineThirdParty" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Cancels a previously submitted payout. To confirm and send a payout, use the `/confirmThirdParty` endpoint." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"pspReference\" : \"991617894325360J\",\n \"response\" : \"[payout-decline-received]\"\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"originalReference\" : \"9913140798220028\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/declineThirdParty", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "declineThirdParty" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Cancels a previously submitted payout. To confirm and send a payout, use the `/confirmThirdParty` endpoint." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"originalReference\" : \"9913140798220028\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/declineThirdParty", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "declineThirdParty" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Cancels a previously submitted payout. To confirm and send a payout, use the `/confirmThirdParty` endpoint." - } + ] } ] } - ] } ], diff --git a/postman/PayoutService-v64.json b/postman/PayoutService-v64.json index 49fda66..e17de8f 100644 --- a/postman/PayoutService-v64.json +++ b/postman/PayoutService-v64.json @@ -19,49 +19,101 @@ { "name": "Store payout details", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"recurring\" : {\n \"contract\" : \"PAYOUT\"\n },\n \"bank\" : {\n \"bankName\" : \"AbnAmro\",\n \"bic\" : \"ABNANL2A\",\n \"countryCode\" : \"NL\",\n \"iban\" : \"NL32ABNA0515071439\",\n \"ownerName\" : \"Adyen\",\n \"bankCity\" : \"Amsterdam\",\n \"taxId\" : \"bankTaxId\"\n },\n \"shopperEmail\" : \"shopper@email.com\",\n \"shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID\",\n \"shopperName\" : {\n \"firstName\" : \"Adyen\",\n \"lastName\" : \"Test\"\n },\n \"dateOfBirth\" : \"1990-01-01\",\n \"entityType\" : \"Company\",\n \"nationality\" : \"NL\",\n \"billingAddress\" : {\n \"houseNumberOrName\" : \"17\",\n \"street\" : \"Teststreet 1\",\n \"city\" : \"Amsterdam\",\n \"stateOrProvince\" : \"NY\",\n \"country\" : \"US\",\n \"postalCode\" : \"12345\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/storeDetail", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "storeDetail" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Stores payment details under the `PAYOUT` recurring contract. These payment details can be used later to submit a payout via the `/submitThirdParty` call." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"pspReference\" : \"991617894326362D\",\n \"recurringDetailReference\" : \"9916178936754752\",\n \"resultCode\" : \"Success\"\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"recurring\" : {\n \"contract\" : \"PAYOUT\"\n },\n \"bank\" : {\n \"bankName\" : \"AbnAmro\",\n \"bic\" : \"ABNANL2A\",\n \"countryCode\" : \"NL\",\n \"iban\" : \"NL32ABNA0515071439\",\n \"ownerName\" : \"Adyen\",\n \"bankCity\" : \"Amsterdam\",\n \"taxId\" : \"bankTaxId\"\n },\n \"shopperEmail\" : \"shopper@email.com\",\n \"shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID\",\n \"shopperName\" : {\n \"firstName\" : \"Adyen\",\n \"lastName\" : \"Test\"\n },\n \"dateOfBirth\" : \"1990-01-01\",\n \"entityType\" : \"Company\",\n \"nationality\" : \"NL\",\n \"billingAddress\" : {\n \"houseNumberOrName\" : \"17\",\n \"street\" : \"Teststreet 1\",\n \"city\" : \"Amsterdam\",\n \"stateOrProvince\" : \"NY\",\n \"country\" : \"US\",\n \"postalCode\" : \"12345\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/storeDetail", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "storeDetail" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Stores payment details under the `PAYOUT` recurring contract. These payment details can be used later to submit a payout via the `/submitThirdParty` call." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"recurring\" : {\n \"contract\" : \"PAYOUT\"\n },\n \"bank\" : {\n \"bankName\" : \"AbnAmro\",\n \"bic\" : \"ABNANL2A\",\n \"countryCode\" : \"NL\",\n \"iban\" : \"NL32ABNA0515071439\",\n \"ownerName\" : \"Adyen\",\n \"bankCity\" : \"Amsterdam\",\n \"taxId\" : \"bankTaxId\"\n },\n \"shopperEmail\" : \"shopper@email.com\",\n \"shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID\",\n \"shopperName\" : {\n \"firstName\" : \"Adyen\",\n \"lastName\" : \"Test\"\n },\n \"dateOfBirth\" : \"1990-01-01\",\n \"entityType\" : \"Company\",\n \"nationality\" : \"NL\",\n \"billingAddress\" : {\n \"houseNumberOrName\" : \"17\",\n \"street\" : \"Teststreet 1\",\n \"city\" : \"Amsterdam\",\n \"stateOrProvince\" : \"NY\",\n \"country\" : \"US\",\n \"postalCode\" : \"12345\"\n }\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/storeDetail", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "storeDetail" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Stores payment details under the `PAYOUT` recurring contract. These payment details can be used later to submit a payout via the `/submitThirdParty` call." - } + ] } ] - } -, + }, { "name": "/storeDetailAndSubmitThirdParty", "description": "Submits a payout and stores its details for subsequent payouts. The submitted payout must be confirmed or declined either by a reviewer or via `/confirmThirdParty` or `/declineThirdParty` calls.", @@ -69,221 +121,230 @@ { "name": "Submit a payout and stores details", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"recurring\" : {\n \"contract\" : \"PAYOUT\"\n },\n \"amount\" : {\n \"value\" : 2000,\n \"currency\" : \"EUR\"\n },\n \"bank\" : {\n \"bankName\" : \"Commerzbank\",\n \"iban\" : \"DE87123456781234567890\",\n \"countryCode\" : \"DE\",\n \"ownerName\" : \"Simon Hopper\"\n },\n \"reference\" : \"Your Reference\",\n \"shopperEmail\" : \"s.hopper@test.com\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"shopperName\" : {\n \"firstName\" : \"Adyen\",\n \"lastName\" : \"Test\"\n },\n \"dateOfBirth\" : \"1990-01-01\",\n \"entityType\" : \"Company\",\n \"nationality\" : \"NL\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/storeDetailAndSubmitThirdParty", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "storeDetailAndSubmitThirdParty" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Submits a payout and stores its details for subsequent payouts. The submitted payout must be confirmed or declined either by a reviewer or via `/confirmThirdParty` or `/declineThirdParty` calls." - } + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"recurring\" : {\n \"contract\" : \"PAYOUT\"\n },\n \"amount\" : {\n \"value\" : 2000,\n \"currency\" : \"EUR\"\n },\n \"bank\" : {\n \"bankName\" : \"Commerzbank\",\n \"iban\" : \"DE87123456781234567890\",\n \"countryCode\" : \"DE\",\n \"ownerName\" : \"Simon Hopper\"\n },\n \"reference\" : \"Your Reference\",\n \"shopperEmail\" : \"s.hopper@test.com\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"shopperName\" : {\n \"firstName\" : \"Adyen\",\n \"lastName\" : \"Test\"\n },\n \"dateOfBirth\" : \"1990-01-01\",\n \"entityType\" : \"Company\",\n \"nationality\" : \"NL\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/storeDetailAndSubmitThirdParty", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "storeDetailAndSubmitThirdParty" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Submits a payout and stores its details for subsequent payouts. The submitted payout must be confirmed or declined either by a reviewer or via `/confirmThirdParty` or `/declineThirdParty` calls." +} + ,"response": [ + ] }, { "name": "Submit a payout to Neteller", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 100\n },\n \"selectedBrand\" : \"neteller\",\n \"additionalData\" : {\n \"tokenDataType\" : \"Neteller\",\n \"account\" : \"myNetellerAccount\"\n },\n \"shopperName\" : {\n \"firstName\" : \"Test\",\n \"lastName\" : \"Test2\"\n },\n \"dateOfBirth\" : \"1982-07-17\",\n \"entityType\" : \"NaturalPerson\",\n \"nationality\" : \"NL\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"recurring\" : {\n \"contract\" : \"PAYOUT\"\n },\n \"reference\" : \"Test Payout\",\n \"shopperEmail\" : \"test@company.com\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/storeDetailAndSubmitThirdParty", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "storeDetailAndSubmitThirdParty" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Submits a payout and stores its details for subsequent payouts. The submitted payout must be confirmed or declined either by a reviewer or via `/confirmThirdParty` or `/declineThirdParty` calls." - } + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 100\n },\n \"selectedBrand\" : \"neteller\",\n \"additionalData\" : {\n \"tokenDataType\" : \"Neteller\",\n \"account\" : \"myNetellerAccount\"\n },\n \"shopperName\" : {\n \"firstName\" : \"Test\",\n \"lastName\" : \"Test2\"\n },\n \"dateOfBirth\" : \"1982-07-17\",\n \"entityType\" : \"NaturalPerson\",\n \"nationality\" : \"NL\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"recurring\" : {\n \"contract\" : \"PAYOUT\"\n },\n \"reference\" : \"Test Payout\",\n \"shopperEmail\" : \"test@company.com\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/storeDetailAndSubmitThirdParty", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "storeDetailAndSubmitThirdParty" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Submits a payout and stores its details for subsequent payouts. The submitted payout must be confirmed or declined either by a reviewer or via `/confirmThirdParty` or `/declineThirdParty` calls." +} + ,"response": [ + ] }, { "name": "Submit a payout to PayPal", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1750\n },\n \"selectedBrand\" : \"paypal\",\n \"additionalData\" : {\n \"tokenDataType\" : \"PayPal\",\n \"emailId\" : \"EmailUsedForPayPalAccount@example.com\",\n \"paypal.payerId\" : \"AK5HCWWRUV2KL\"\n },\n \"shopperName\" : {\n \"firstName\" : \"Test\",\n \"lastName\" : \"Test2\"\n },\n \"dateOfBirth\" : \"1982-07-17\",\n \"entityType\" : \"NaturalPerson\",\n \"nationality\" : \"NL\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"recurring\" : {\n \"contract\" : \"PAYOUT\"\n },\n \"reference\" : \"Test Payout\",\n \"shopperEmail\" : \"test@company.com\",\n \"shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/storeDetailAndSubmitThirdParty", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "storeDetailAndSubmitThirdParty" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Submits a payout and stores its details for subsequent payouts. The submitted payout must be confirmed or declined either by a reviewer or via `/confirmThirdParty` or `/declineThirdParty` calls." - } + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1750\n },\n \"selectedBrand\" : \"paypal\",\n \"additionalData\" : {\n \"tokenDataType\" : \"PayPal\",\n \"emailId\" : \"EmailUsedForPayPalAccount@example.com\",\n \"paypal.payerId\" : \"AK5HCWWRUV2KL\"\n },\n \"shopperName\" : {\n \"firstName\" : \"Test\",\n \"lastName\" : \"Test2\"\n },\n \"dateOfBirth\" : \"1982-07-17\",\n \"entityType\" : \"NaturalPerson\",\n \"nationality\" : \"NL\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"recurring\" : {\n \"contract\" : \"PAYOUT\"\n },\n \"reference\" : \"Test Payout\",\n \"shopperEmail\" : \"test@company.com\",\n \"shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/storeDetailAndSubmitThirdParty", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "storeDetailAndSubmitThirdParty" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Submits a payout and stores its details for subsequent payouts. The submitted payout must be confirmed or declined either by a reviewer or via `/confirmThirdParty` or `/declineThirdParty` calls." +} + ,"response": [ + ] }, { "name": "Submit a payout to Paysafecard", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"selectedBrand\" : \"paysafecard\",\n \"additionalData\" : {\n \"emailId\" : \"EmailUsedForPaysafecardAccount@example.com\"\n },\n \"shopperName\" : {\n \"firstName\" : \"Test\",\n \"lastName\" : \"Test2\"\n },\n \"dateOfBirth\" : \"1982-07-17\",\n \"entityType\" : \"NaturalPerson\",\n \"nationality\" : \"NL\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"recurring\" : {\n \"contract\" : \"PAYOUT\"\n },\n \"reference\" : \"Test Payout\",\n \"shopperEmail\" : \"test@company.com\",\n \"shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/storeDetailAndSubmitThirdParty", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "storeDetailAndSubmitThirdParty" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Submits a payout and stores its details for subsequent payouts. The submitted payout must be confirmed or declined either by a reviewer or via `/confirmThirdParty` or `/declineThirdParty` calls." - } + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"selectedBrand\" : \"paysafecard\",\n \"additionalData\" : {\n \"emailId\" : \"EmailUsedForPaysafecardAccount@example.com\"\n },\n \"shopperName\" : {\n \"firstName\" : \"Test\",\n \"lastName\" : \"Test2\"\n },\n \"dateOfBirth\" : \"1982-07-17\",\n \"entityType\" : \"NaturalPerson\",\n \"nationality\" : \"NL\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"recurring\" : {\n \"contract\" : \"PAYOUT\"\n },\n \"reference\" : \"Test Payout\",\n \"shopperEmail\" : \"test@company.com\",\n \"shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/storeDetailAndSubmitThirdParty", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "storeDetailAndSubmitThirdParty" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Submits a payout and stores its details for subsequent payouts. The submitted payout must be confirmed or declined either by a reviewer or via `/confirmThirdParty` or `/declineThirdParty` calls." +} + ,"response": [ + ] }, { "name": "Submit a payout to Skrill", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 100\n },\n \"selectedBrand\" : \"moneybookers\",\n \"additionalData\" : {\n \"tokenDataType\" : \"MoneyBookers\",\n \"email\" : \"name@adyen.com\"\n },\n \"shopperName\" : {\n \"firstName\" : \"Test\",\n \"lastName\" : \"Test2\"\n },\n \"dateOfBirth\" : \"1982-07-17\",\n \"entityType\" : \"NaturalPerson\",\n \"nationality\" : \"NL\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"recurring\" : {\n \"contract\" : \"PAYOUT\"\n },\n \"reference\" : \"Test Payout\",\n \"shopperEmail\" : \"test@company.com\",\n \"shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/storeDetailAndSubmitThirdParty", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "storeDetailAndSubmitThirdParty" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Submits a payout and stores its details for subsequent payouts. The submitted payout must be confirmed or declined either by a reviewer or via `/confirmThirdParty` or `/declineThirdParty` calls." - } + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 100\n },\n \"selectedBrand\" : \"moneybookers\",\n \"additionalData\" : {\n \"tokenDataType\" : \"MoneyBookers\",\n \"email\" : \"name@adyen.com\"\n },\n \"shopperName\" : {\n \"firstName\" : \"Test\",\n \"lastName\" : \"Test2\"\n },\n \"dateOfBirth\" : \"1982-07-17\",\n \"entityType\" : \"NaturalPerson\",\n \"nationality\" : \"NL\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"recurring\" : {\n \"contract\" : \"PAYOUT\"\n },\n \"reference\" : \"Test Payout\",\n \"shopperEmail\" : \"test@company.com\",\n \"shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/storeDetailAndSubmitThirdParty", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "storeDetailAndSubmitThirdParty" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Submits a payout and stores its details for subsequent payouts. The submitted payout must be confirmed or declined either by a reviewer or via `/confirmThirdParty` or `/declineThirdParty` calls." +} + ,"response": [ + ] } ] - } -, + }, { "name": "/submitThirdParty", "description": "Submits a payout using the previously stored payment details. To store payment details, use the `/storeDetail` API call. The submitted payout must be confirmed or declined either by a reviewer or via `/confirmThirdParty` or `/declineThirdParty` calls.", @@ -291,49 +352,50 @@ { "name": "Submit a payout", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"recurring\" : {\n \"contract\" : \"PAYOUT\"\n },\n \"reference\" : \"PayoutPayment-0001\",\n \"shopperEmail\" : \"shopper@email.com\",\n \"shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID\",\n \"shopperName\" : {\n \"firstName\" : \"Adyen\",\n \"lastName\" : \"Test\"\n },\n \"dateOfBirth\" : \"1990-01-01\",\n \"entityType\" : \"Company\",\n \"nationality\" : \"NL\",\n \"selectedRecurringDetailReference\" : \"LATEST\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/submitThirdParty", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "submitThirdParty" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Submits a payout using the previously stored payment details. To store payment details, use the `/storeDetail` API call. The submitted payout must be confirmed or declined either by a reviewer or via `/confirmThirdParty` or `/declineThirdParty` calls." - } + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"recurring\" : {\n \"contract\" : \"PAYOUT\"\n },\n \"reference\" : \"PayoutPayment-0001\",\n \"shopperEmail\" : \"shopper@email.com\",\n \"shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID\",\n \"shopperName\" : {\n \"firstName\" : \"Adyen\",\n \"lastName\" : \"Test\"\n },\n \"dateOfBirth\" : \"1990-01-01\",\n \"entityType\" : \"Company\",\n \"nationality\" : \"NL\",\n \"selectedRecurringDetailReference\" : \"LATEST\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/submitThirdParty", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "submitThirdParty" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Submits a payout using the previously stored payment details. To store payment details, use the `/storeDetail` API call. The submitted payout must be confirmed or declined either by a reviewer or via `/confirmThirdParty` or `/declineThirdParty` calls." +} + ,"response": [ + ] } ] } - ] }, { @@ -346,92 +408,95 @@ { "name": "Instant card payout (B2C)", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"value\" : 2500,\n \"currency\" : \"USD\"\n },\n \"card\" : {\n \"number\" : \"4111111111111111\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\"\n },\n \"billingAddress\" : {\n \"houseNumberOrName\" : \"121\",\n \"street\" : \"Brannan Street\",\n \"city\" : \"Beverly Hills\",\n \"postalCode\" : \"90210\",\n \"stateOrProvince\" : \"CA\",\n \"country\" : \"US\"\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"reference\" : \"P9999999999999999\",\n \"shopperName\" : {\n \"firstName\" : \"John\",\n \"lastName\" : \"Smith\"\n },\n \"nationality\" : \"NL\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payout", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payout" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "With this call, you can pay out to your customers, and funds will be made available within 30 minutes on the cardholder's bank account (this is dependent on whether the issuer supports this functionality). Instant card payouts are only supported for Visa and Mastercard cards." - } + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"amount\" : {\n \"value\" : 2500,\n \"currency\" : \"USD\"\n },\n \"card\" : {\n \"number\" : \"4111111111111111\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\"\n },\n \"billingAddress\" : {\n \"houseNumberOrName\" : \"121\",\n \"street\" : \"Brannan Street\",\n \"city\" : \"Beverly Hills\",\n \"postalCode\" : \"90210\",\n \"stateOrProvince\" : \"CA\",\n \"country\" : \"US\"\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"reference\" : \"P9999999999999999\",\n \"shopperName\" : {\n \"firstName\" : \"John\",\n \"lastName\" : \"Smith\"\n },\n \"nationality\" : \"NL\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payout", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payout" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "With this call, you can pay out to your customers, and funds will be made available within 30 minutes on the cardholder's bank account (this is dependent on whether the issuer supports this functionality). Instant card payouts are only supported for Visa and Mastercard cards." +} + ,"response": [ + ] }, { "name": "Instant card payout (P2P)", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"value\" : 2500,\n \"currency\" : \"USD\"\n },\n \"card\" : {\n \"number\" : \"4111111111111111\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\"\n },\n \"billingAddress\" : {\n \"houseNumberOrName\" : \"121\",\n \"street\" : \"Brannan Street\",\n \"city\" : \"Beverly Hills\",\n \"postalCode\" : \"90210\",\n \"stateOrProvince\" : \"CA\",\n \"country\" : \"US\"\n },\n \"fundSource\" : {\n \"additionalData\" : {\n \"fundingSource\" : \"DEBIT\"\n },\n \"billingAddress\" : {\n \"houseNumberOrName\" : \"121\",\n \"street\" : \"Brannan Street\",\n \"city\" : \"Beverly Hills\",\n \"postalCode\" : \"90210\",\n \"stateOrProvince\" : \"CA\",\n \"country\" : \"US\"\n },\n \"card\" : {\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"Payer Name\",\n \"number\" : \"4400000000000008\"\n },\n \"shopperName\" : {\n \"firstName\" : \"Payer\",\n \"lastName\" : \"Name\"\n }\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"reference\" : \"P9999999999999999\",\n \"shopperName\" : {\n \"firstName\" : \"John\",\n \"lastName\" : \"Smith\"\n },\n \"dateOfBirth\" : \"1990-01-01\",\n \"nationality\" : \"NL\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payout", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payout" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "With this call, you can pay out to your customers, and funds will be made available within 30 minutes on the cardholder's bank account (this is dependent on whether the issuer supports this functionality). Instant card payouts are only supported for Visa and Mastercard cards." - } + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"amount\" : {\n \"value\" : 2500,\n \"currency\" : \"USD\"\n },\n \"card\" : {\n \"number\" : \"4111111111111111\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\"\n },\n \"billingAddress\" : {\n \"houseNumberOrName\" : \"121\",\n \"street\" : \"Brannan Street\",\n \"city\" : \"Beverly Hills\",\n \"postalCode\" : \"90210\",\n \"stateOrProvince\" : \"CA\",\n \"country\" : \"US\"\n },\n \"fundSource\" : {\n \"additionalData\" : {\n \"fundingSource\" : \"DEBIT\"\n },\n \"billingAddress\" : {\n \"houseNumberOrName\" : \"121\",\n \"street\" : \"Brannan Street\",\n \"city\" : \"Beverly Hills\",\n \"postalCode\" : \"90210\",\n \"stateOrProvince\" : \"CA\",\n \"country\" : \"US\"\n },\n \"card\" : {\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"Payer Name\",\n \"number\" : \"4400000000000008\"\n },\n \"shopperName\" : {\n \"firstName\" : \"Payer\",\n \"lastName\" : \"Name\"\n }\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"reference\" : \"P9999999999999999\",\n \"shopperName\" : {\n \"firstName\" : \"John\",\n \"lastName\" : \"Smith\"\n },\n \"dateOfBirth\" : \"1990-01-01\",\n \"nationality\" : \"NL\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payout", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payout" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "With this call, you can pay out to your customers, and funds will be made available within 30 minutes on the cardholder's bank account (this is dependent on whether the issuer supports this functionality). Instant card payouts are only supported for Visa and Mastercard cards." +} + ,"response": [ + ] } ] } - ] }, { @@ -444,49 +509,101 @@ { "name": "Confirm a payout", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"originalReference\" : \"9913140798220028\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/confirmThirdParty", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "confirmThirdParty" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Confirms a previously submitted payout. To cancel a payout, use the `/declineThirdParty` endpoint." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"pspReference\" : \"991617894325358C\",\n \"response\" : \"[payout-confirm-received]\"\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"originalReference\" : \"9913140798220028\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/confirmThirdParty", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "confirmThirdParty" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Confirms a previously submitted payout. To cancel a payout, use the `/declineThirdParty` endpoint." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"originalReference\" : \"9913140798220028\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/confirmThirdParty", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "confirmThirdParty" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Confirms a previously submitted payout. To cancel a payout, use the `/declineThirdParty` endpoint." - } + ] } ] - } -, + }, { "name": "/declineThirdParty", "description": "Cancels a previously submitted payout. To confirm and send a payout, use the `/confirmThirdParty` endpoint.", @@ -494,49 +611,101 @@ { "name": "Cancel a payout", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"originalReference\" : \"9913140798220028\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/declineThirdParty", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "declineThirdParty" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Cancels a previously submitted payout. To confirm and send a payout, use the `/confirmThirdParty` endpoint." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"pspReference\" : \"991617894325360J\",\n \"response\" : \"[payout-decline-received]\"\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"originalReference\" : \"9913140798220028\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/declineThirdParty", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "declineThirdParty" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Cancels a previously submitted payout. To confirm and send a payout, use the `/confirmThirdParty` endpoint." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"originalReference\" : \"9913140798220028\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/declineThirdParty", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "declineThirdParty" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Cancels a previously submitted payout. To confirm and send a payout, use the `/confirmThirdParty` endpoint." - } + ] } ] } - ] } ], diff --git a/postman/PayoutService-v67.json b/postman/PayoutService-v67.json index 6d46003..e38219b 100644 --- a/postman/PayoutService-v67.json +++ b/postman/PayoutService-v67.json @@ -19,49 +19,101 @@ { "name": "Store payout details", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"recurring\" : {\n \"contract\" : \"PAYOUT\"\n },\n \"bank\" : {\n \"bankName\" : \"AbnAmro\",\n \"bic\" : \"ABNANL2A\",\n \"countryCode\" : \"NL\",\n \"iban\" : \"NL32ABNA0515071439\",\n \"ownerName\" : \"Adyen\",\n \"bankCity\" : \"Amsterdam\",\n \"taxId\" : \"bankTaxId\"\n },\n \"shopperEmail\" : \"shopper@email.com\",\n \"shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID\",\n \"shopperName\" : {\n \"firstName\" : \"Adyen\",\n \"lastName\" : \"Test\"\n },\n \"dateOfBirth\" : \"1990-01-01\",\n \"entityType\" : \"Company\",\n \"nationality\" : \"NL\",\n \"billingAddress\" : {\n \"houseNumberOrName\" : \"17\",\n \"street\" : \"Teststreet 1\",\n \"city\" : \"Amsterdam\",\n \"stateOrProvince\" : \"NY\",\n \"country\" : \"US\",\n \"postalCode\" : \"12345\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/storeDetail", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "storeDetail" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Stores payment details under the `PAYOUT` recurring contract. These payment details can be used later to submit a payout via the `/submitThirdParty` call." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"pspReference\" : \"991617894326362D\",\n \"recurringDetailReference\" : \"9916178936754752\",\n \"resultCode\" : \"Success\"\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"recurring\" : {\n \"contract\" : \"PAYOUT\"\n },\n \"bank\" : {\n \"bankName\" : \"AbnAmro\",\n \"bic\" : \"ABNANL2A\",\n \"countryCode\" : \"NL\",\n \"iban\" : \"NL32ABNA0515071439\",\n \"ownerName\" : \"Adyen\",\n \"bankCity\" : \"Amsterdam\",\n \"taxId\" : \"bankTaxId\"\n },\n \"shopperEmail\" : \"shopper@email.com\",\n \"shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID\",\n \"shopperName\" : {\n \"firstName\" : \"Adyen\",\n \"lastName\" : \"Test\"\n },\n \"dateOfBirth\" : \"1990-01-01\",\n \"entityType\" : \"Company\",\n \"nationality\" : \"NL\",\n \"billingAddress\" : {\n \"houseNumberOrName\" : \"17\",\n \"street\" : \"Teststreet 1\",\n \"city\" : \"Amsterdam\",\n \"stateOrProvince\" : \"NY\",\n \"country\" : \"US\",\n \"postalCode\" : \"12345\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/storeDetail", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "storeDetail" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Stores payment details under the `PAYOUT` recurring contract. These payment details can be used later to submit a payout via the `/submitThirdParty` call." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"recurring\" : {\n \"contract\" : \"PAYOUT\"\n },\n \"bank\" : {\n \"bankName\" : \"AbnAmro\",\n \"bic\" : \"ABNANL2A\",\n \"countryCode\" : \"NL\",\n \"iban\" : \"NL32ABNA0515071439\",\n \"ownerName\" : \"Adyen\",\n \"bankCity\" : \"Amsterdam\",\n \"taxId\" : \"bankTaxId\"\n },\n \"shopperEmail\" : \"shopper@email.com\",\n \"shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID\",\n \"shopperName\" : {\n \"firstName\" : \"Adyen\",\n \"lastName\" : \"Test\"\n },\n \"dateOfBirth\" : \"1990-01-01\",\n \"entityType\" : \"Company\",\n \"nationality\" : \"NL\",\n \"billingAddress\" : {\n \"houseNumberOrName\" : \"17\",\n \"street\" : \"Teststreet 1\",\n \"city\" : \"Amsterdam\",\n \"stateOrProvince\" : \"NY\",\n \"country\" : \"US\",\n \"postalCode\" : \"12345\"\n }\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/storeDetail", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "storeDetail" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Stores payment details under the `PAYOUT` recurring contract. These payment details can be used later to submit a payout via the `/submitThirdParty` call." - } + ] } ] - } -, + }, { "name": "/storeDetailAndSubmitThirdParty", "description": "Submits a payout and stores its details for subsequent payouts. The submitted payout must be confirmed or declined either by a reviewer or via `/confirmThirdParty` or `/declineThirdParty` calls.", @@ -69,221 +121,230 @@ { "name": "Submit a payout and stores details", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"recurring\" : {\n \"contract\" : \"PAYOUT\"\n },\n \"amount\" : {\n \"value\" : 2000,\n \"currency\" : \"EUR\"\n },\n \"bank\" : {\n \"bankName\" : \"Commerzbank\",\n \"iban\" : \"DE87123456781234567890\",\n \"countryCode\" : \"DE\",\n \"ownerName\" : \"Simon Hopper\"\n },\n \"reference\" : \"Your Reference\",\n \"shopperEmail\" : \"s.hopper@test.com\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"shopperName\" : {\n \"firstName\" : \"Adyen\",\n \"lastName\" : \"Test\"\n },\n \"dateOfBirth\" : \"1990-01-01\",\n \"entityType\" : \"Company\",\n \"nationality\" : \"NL\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/storeDetailAndSubmitThirdParty", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "storeDetailAndSubmitThirdParty" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Submits a payout and stores its details for subsequent payouts. The submitted payout must be confirmed or declined either by a reviewer or via `/confirmThirdParty` or `/declineThirdParty` calls." - } + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"recurring\" : {\n \"contract\" : \"PAYOUT\"\n },\n \"amount\" : {\n \"value\" : 2000,\n \"currency\" : \"EUR\"\n },\n \"bank\" : {\n \"bankName\" : \"Commerzbank\",\n \"iban\" : \"DE87123456781234567890\",\n \"countryCode\" : \"DE\",\n \"ownerName\" : \"Simon Hopper\"\n },\n \"reference\" : \"Your Reference\",\n \"shopperEmail\" : \"s.hopper@test.com\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"shopperName\" : {\n \"firstName\" : \"Adyen\",\n \"lastName\" : \"Test\"\n },\n \"dateOfBirth\" : \"1990-01-01\",\n \"entityType\" : \"Company\",\n \"nationality\" : \"NL\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/storeDetailAndSubmitThirdParty", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "storeDetailAndSubmitThirdParty" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Submits a payout and stores its details for subsequent payouts. The submitted payout must be confirmed or declined either by a reviewer or via `/confirmThirdParty` or `/declineThirdParty` calls." +} + ,"response": [ + ] }, { "name": "Submit a payout to Neteller", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 100\n },\n \"selectedBrand\" : \"neteller\",\n \"additionalData\" : {\n \"tokenDataType\" : \"Neteller\",\n \"account\" : \"myNetellerAccount\"\n },\n \"shopperName\" : {\n \"firstName\" : \"Test\",\n \"lastName\" : \"Test2\"\n },\n \"dateOfBirth\" : \"1982-07-17\",\n \"entityType\" : \"NaturalPerson\",\n \"nationality\" : \"NL\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"recurring\" : {\n \"contract\" : \"PAYOUT\"\n },\n \"reference\" : \"Test Payout\",\n \"shopperEmail\" : \"test@company.com\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/storeDetailAndSubmitThirdParty", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "storeDetailAndSubmitThirdParty" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Submits a payout and stores its details for subsequent payouts. The submitted payout must be confirmed or declined either by a reviewer or via `/confirmThirdParty` or `/declineThirdParty` calls." - } + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 100\n },\n \"selectedBrand\" : \"neteller\",\n \"additionalData\" : {\n \"tokenDataType\" : \"Neteller\",\n \"account\" : \"myNetellerAccount\"\n },\n \"shopperName\" : {\n \"firstName\" : \"Test\",\n \"lastName\" : \"Test2\"\n },\n \"dateOfBirth\" : \"1982-07-17\",\n \"entityType\" : \"NaturalPerson\",\n \"nationality\" : \"NL\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"recurring\" : {\n \"contract\" : \"PAYOUT\"\n },\n \"reference\" : \"Test Payout\",\n \"shopperEmail\" : \"test@company.com\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/storeDetailAndSubmitThirdParty", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "storeDetailAndSubmitThirdParty" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Submits a payout and stores its details for subsequent payouts. The submitted payout must be confirmed or declined either by a reviewer or via `/confirmThirdParty` or `/declineThirdParty` calls." +} + ,"response": [ + ] }, { "name": "Submit a payout to PayPal", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1750\n },\n \"selectedBrand\" : \"paypal\",\n \"additionalData\" : {\n \"tokenDataType\" : \"PayPal\",\n \"emailId\" : \"EmailUsedForPayPalAccount@example.com\",\n \"paypal.payerId\" : \"AK5HCWWRUV2KL\"\n },\n \"shopperName\" : {\n \"firstName\" : \"Test\",\n \"lastName\" : \"Test2\"\n },\n \"dateOfBirth\" : \"1982-07-17\",\n \"entityType\" : \"NaturalPerson\",\n \"nationality\" : \"NL\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"recurring\" : {\n \"contract\" : \"PAYOUT\"\n },\n \"reference\" : \"Test Payout\",\n \"shopperEmail\" : \"test@company.com\",\n \"shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/storeDetailAndSubmitThirdParty", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "storeDetailAndSubmitThirdParty" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Submits a payout and stores its details for subsequent payouts. The submitted payout must be confirmed or declined either by a reviewer or via `/confirmThirdParty` or `/declineThirdParty` calls." - } + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1750\n },\n \"selectedBrand\" : \"paypal\",\n \"additionalData\" : {\n \"tokenDataType\" : \"PayPal\",\n \"emailId\" : \"EmailUsedForPayPalAccount@example.com\",\n \"paypal.payerId\" : \"AK5HCWWRUV2KL\"\n },\n \"shopperName\" : {\n \"firstName\" : \"Test\",\n \"lastName\" : \"Test2\"\n },\n \"dateOfBirth\" : \"1982-07-17\",\n \"entityType\" : \"NaturalPerson\",\n \"nationality\" : \"NL\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"recurring\" : {\n \"contract\" : \"PAYOUT\"\n },\n \"reference\" : \"Test Payout\",\n \"shopperEmail\" : \"test@company.com\",\n \"shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/storeDetailAndSubmitThirdParty", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "storeDetailAndSubmitThirdParty" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Submits a payout and stores its details for subsequent payouts. The submitted payout must be confirmed or declined either by a reviewer or via `/confirmThirdParty` or `/declineThirdParty` calls." +} + ,"response": [ + ] }, { "name": "Submit a payout to Paysafecard", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"selectedBrand\" : \"paysafecard\",\n \"additionalData\" : {\n \"emailId\" : \"EmailUsedForPaysafecardAccount@example.com\"\n },\n \"shopperName\" : {\n \"firstName\" : \"Test\",\n \"lastName\" : \"Test2\"\n },\n \"dateOfBirth\" : \"1982-07-17\",\n \"entityType\" : \"NaturalPerson\",\n \"nationality\" : \"NL\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"recurring\" : {\n \"contract\" : \"PAYOUT\"\n },\n \"reference\" : \"Test Payout\",\n \"shopperEmail\" : \"test@company.com\",\n \"shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/storeDetailAndSubmitThirdParty", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "storeDetailAndSubmitThirdParty" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Submits a payout and stores its details for subsequent payouts. The submitted payout must be confirmed or declined either by a reviewer or via `/confirmThirdParty` or `/declineThirdParty` calls." - } + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"selectedBrand\" : \"paysafecard\",\n \"additionalData\" : {\n \"emailId\" : \"EmailUsedForPaysafecardAccount@example.com\"\n },\n \"shopperName\" : {\n \"firstName\" : \"Test\",\n \"lastName\" : \"Test2\"\n },\n \"dateOfBirth\" : \"1982-07-17\",\n \"entityType\" : \"NaturalPerson\",\n \"nationality\" : \"NL\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"recurring\" : {\n \"contract\" : \"PAYOUT\"\n },\n \"reference\" : \"Test Payout\",\n \"shopperEmail\" : \"test@company.com\",\n \"shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/storeDetailAndSubmitThirdParty", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "storeDetailAndSubmitThirdParty" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Submits a payout and stores its details for subsequent payouts. The submitted payout must be confirmed or declined either by a reviewer or via `/confirmThirdParty` or `/declineThirdParty` calls." +} + ,"response": [ + ] }, { "name": "Submit a payout to Skrill", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 100\n },\n \"selectedBrand\" : \"moneybookers\",\n \"additionalData\" : {\n \"tokenDataType\" : \"MoneyBookers\",\n \"email\" : \"name@adyen.com\"\n },\n \"shopperName\" : {\n \"firstName\" : \"Test\",\n \"lastName\" : \"Test2\"\n },\n \"dateOfBirth\" : \"1982-07-17\",\n \"entityType\" : \"NaturalPerson\",\n \"nationality\" : \"NL\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"recurring\" : {\n \"contract\" : \"PAYOUT\"\n },\n \"reference\" : \"Test Payout\",\n \"shopperEmail\" : \"test@company.com\",\n \"shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/storeDetailAndSubmitThirdParty", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "storeDetailAndSubmitThirdParty" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Submits a payout and stores its details for subsequent payouts. The submitted payout must be confirmed or declined either by a reviewer or via `/confirmThirdParty` or `/declineThirdParty` calls." - } + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 100\n },\n \"selectedBrand\" : \"moneybookers\",\n \"additionalData\" : {\n \"tokenDataType\" : \"MoneyBookers\",\n \"email\" : \"name@adyen.com\"\n },\n \"shopperName\" : {\n \"firstName\" : \"Test\",\n \"lastName\" : \"Test2\"\n },\n \"dateOfBirth\" : \"1982-07-17\",\n \"entityType\" : \"NaturalPerson\",\n \"nationality\" : \"NL\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"recurring\" : {\n \"contract\" : \"PAYOUT\"\n },\n \"reference\" : \"Test Payout\",\n \"shopperEmail\" : \"test@company.com\",\n \"shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/storeDetailAndSubmitThirdParty", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "storeDetailAndSubmitThirdParty" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Submits a payout and stores its details for subsequent payouts. The submitted payout must be confirmed or declined either by a reviewer or via `/confirmThirdParty` or `/declineThirdParty` calls." +} + ,"response": [ + ] } ] - } -, + }, { "name": "/submitThirdParty", "description": "Submits a payout using the previously stored payment details. To store payment details, use the `/storeDetail` API call. The submitted payout must be confirmed or declined either by a reviewer or via `/confirmThirdParty` or `/declineThirdParty` calls.", @@ -291,49 +352,50 @@ { "name": "Submit a payout", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"recurring\" : {\n \"contract\" : \"PAYOUT\"\n },\n \"reference\" : \"PayoutPayment-0001\",\n \"shopperEmail\" : \"shopper@email.com\",\n \"shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID\",\n \"shopperName\" : {\n \"firstName\" : \"Adyen\",\n \"lastName\" : \"Test\"\n },\n \"dateOfBirth\" : \"1990-01-01\",\n \"entityType\" : \"Company\",\n \"nationality\" : \"NL\",\n \"selectedRecurringDetailReference\" : \"LATEST\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/submitThirdParty", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "submitThirdParty" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Submits a payout using the previously stored payment details. To store payment details, use the `/storeDetail` API call. The submitted payout must be confirmed or declined either by a reviewer or via `/confirmThirdParty` or `/declineThirdParty` calls." - } + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"recurring\" : {\n \"contract\" : \"PAYOUT\"\n },\n \"reference\" : \"PayoutPayment-0001\",\n \"shopperEmail\" : \"shopper@email.com\",\n \"shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID\",\n \"shopperName\" : {\n \"firstName\" : \"Adyen\",\n \"lastName\" : \"Test\"\n },\n \"dateOfBirth\" : \"1990-01-01\",\n \"entityType\" : \"Company\",\n \"nationality\" : \"NL\",\n \"selectedRecurringDetailReference\" : \"LATEST\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/submitThirdParty", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "submitThirdParty" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Submits a payout using the previously stored payment details. To store payment details, use the `/storeDetail` API call. The submitted payout must be confirmed or declined either by a reviewer or via `/confirmThirdParty` or `/declineThirdParty` calls." +} + ,"response": [ + ] } ] } - ] }, { @@ -346,92 +408,95 @@ { "name": "Instant card payout (B2C)", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"value\" : 2500,\n \"currency\" : \"USD\"\n },\n \"card\" : {\n \"number\" : \"4111111111111111\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\"\n },\n \"billingAddress\" : {\n \"houseNumberOrName\" : \"121\",\n \"street\" : \"Brannan Street\",\n \"city\" : \"Beverly Hills\",\n \"postalCode\" : \"90210\",\n \"stateOrProvince\" : \"CA\",\n \"country\" : \"US\"\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"reference\" : \"P9999999999999999\",\n \"shopperName\" : {\n \"firstName\" : \"John\",\n \"lastName\" : \"Smith\"\n },\n \"nationality\" : \"NL\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payout", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payout" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "With this call, you can pay out to your customers, and funds will be made available within 30 minutes on the cardholder's bank account (this is dependent on whether the issuer supports this functionality). Instant card payouts are only supported for Visa and Mastercard cards." - } + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"amount\" : {\n \"value\" : 2500,\n \"currency\" : \"USD\"\n },\n \"card\" : {\n \"number\" : \"4111111111111111\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\"\n },\n \"billingAddress\" : {\n \"houseNumberOrName\" : \"121\",\n \"street\" : \"Brannan Street\",\n \"city\" : \"Beverly Hills\",\n \"postalCode\" : \"90210\",\n \"stateOrProvince\" : \"CA\",\n \"country\" : \"US\"\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"reference\" : \"P9999999999999999\",\n \"shopperName\" : {\n \"firstName\" : \"John\",\n \"lastName\" : \"Smith\"\n },\n \"nationality\" : \"NL\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payout", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payout" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "With this call, you can pay out to your customers, and funds will be made available within 30 minutes on the cardholder's bank account (this is dependent on whether the issuer supports this functionality). Instant card payouts are only supported for Visa and Mastercard cards." +} + ,"response": [ + ] }, { "name": "Instant card payout (P2P)", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"value\" : 2500,\n \"currency\" : \"USD\"\n },\n \"card\" : {\n \"number\" : \"4111111111111111\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\"\n },\n \"billingAddress\" : {\n \"houseNumberOrName\" : \"121\",\n \"street\" : \"Brannan Street\",\n \"city\" : \"Beverly Hills\",\n \"postalCode\" : \"90210\",\n \"stateOrProvince\" : \"CA\",\n \"country\" : \"US\"\n },\n \"fundSource\" : {\n \"additionalData\" : {\n \"fundingSource\" : \"DEBIT\"\n },\n \"billingAddress\" : {\n \"houseNumberOrName\" : \"121\",\n \"street\" : \"Brannan Street\",\n \"city\" : \"Beverly Hills\",\n \"postalCode\" : \"90210\",\n \"stateOrProvince\" : \"CA\",\n \"country\" : \"US\"\n },\n \"card\" : {\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"Payer Name\",\n \"number\" : \"4400000000000008\"\n },\n \"shopperName\" : {\n \"firstName\" : \"Payer\",\n \"lastName\" : \"Name\"\n }\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"reference\" : \"P9999999999999999\",\n \"shopperName\" : {\n \"firstName\" : \"John\",\n \"lastName\" : \"Smith\"\n },\n \"dateOfBirth\" : \"1990-01-01\",\n \"nationality\" : \"NL\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payout", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payout" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "With this call, you can pay out to your customers, and funds will be made available within 30 minutes on the cardholder's bank account (this is dependent on whether the issuer supports this functionality). Instant card payouts are only supported for Visa and Mastercard cards." - } + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"amount\" : {\n \"value\" : 2500,\n \"currency\" : \"USD\"\n },\n \"card\" : {\n \"number\" : \"4111111111111111\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\"\n },\n \"billingAddress\" : {\n \"houseNumberOrName\" : \"121\",\n \"street\" : \"Brannan Street\",\n \"city\" : \"Beverly Hills\",\n \"postalCode\" : \"90210\",\n \"stateOrProvince\" : \"CA\",\n \"country\" : \"US\"\n },\n \"fundSource\" : {\n \"additionalData\" : {\n \"fundingSource\" : \"DEBIT\"\n },\n \"billingAddress\" : {\n \"houseNumberOrName\" : \"121\",\n \"street\" : \"Brannan Street\",\n \"city\" : \"Beverly Hills\",\n \"postalCode\" : \"90210\",\n \"stateOrProvince\" : \"CA\",\n \"country\" : \"US\"\n },\n \"card\" : {\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"Payer Name\",\n \"number\" : \"4400000000000008\"\n },\n \"shopperName\" : {\n \"firstName\" : \"Payer\",\n \"lastName\" : \"Name\"\n }\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"reference\" : \"P9999999999999999\",\n \"shopperName\" : {\n \"firstName\" : \"John\",\n \"lastName\" : \"Smith\"\n },\n \"dateOfBirth\" : \"1990-01-01\",\n \"nationality\" : \"NL\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payout", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payout" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "With this call, you can pay out to your customers, and funds will be made available within 30 minutes on the cardholder's bank account (this is dependent on whether the issuer supports this functionality). Instant card payouts are only supported for Visa and Mastercard cards." +} + ,"response": [ + ] } ] } - ] }, { @@ -444,49 +509,101 @@ { "name": "Confirm a payout", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"originalReference\" : \"9913140798220028\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/confirmThirdParty", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "confirmThirdParty" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Confirms a previously submitted payout. To cancel a payout, use the `/declineThirdParty` endpoint." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"pspReference\" : \"991617894325358C\",\n \"response\" : \"[payout-confirm-received]\"\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"originalReference\" : \"9913140798220028\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/confirmThirdParty", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "confirmThirdParty" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Confirms a previously submitted payout. To cancel a payout, use the `/declineThirdParty` endpoint." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"originalReference\" : \"9913140798220028\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/confirmThirdParty", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "confirmThirdParty" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Confirms a previously submitted payout. To cancel a payout, use the `/declineThirdParty` endpoint." - } + ] } ] - } -, + }, { "name": "/declineThirdParty", "description": "Cancels a previously submitted payout. To confirm and send a payout, use the `/confirmThirdParty` endpoint.", @@ -494,49 +611,101 @@ { "name": "Cancel a payout", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"originalReference\" : \"9913140798220028\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/declineThirdParty", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "declineThirdParty" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Cancels a previously submitted payout. To confirm and send a payout, use the `/confirmThirdParty` endpoint." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"pspReference\" : \"991617894325360J\",\n \"response\" : \"[payout-decline-received]\"\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"originalReference\" : \"9913140798220028\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/declineThirdParty", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "declineThirdParty" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Cancels a previously submitted payout. To confirm and send a payout, use the `/confirmThirdParty` endpoint." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"originalReference\" : \"9913140798220028\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/declineThirdParty", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "declineThirdParty" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Cancels a previously submitted payout. To confirm and send a payout, use the `/confirmThirdParty` endpoint." - } + ] } ] } - ] } ], diff --git a/postman/PayoutService-v68.json b/postman/PayoutService-v68.json index 8bd5ddb..aff7d1a 100644 --- a/postman/PayoutService-v68.json +++ b/postman/PayoutService-v68.json @@ -19,49 +19,101 @@ { "name": "Store payout details", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"recurring\" : {\n \"contract\" : \"PAYOUT\"\n },\n \"bank\" : {\n \"bankName\" : \"AbnAmro\",\n \"bic\" : \"ABNANL2A\",\n \"countryCode\" : \"NL\",\n \"iban\" : \"NL32ABNA0515071439\",\n \"ownerName\" : \"Adyen\",\n \"bankCity\" : \"Amsterdam\",\n \"taxId\" : \"bankTaxId\"\n },\n \"shopperEmail\" : \"shopper@email.com\",\n \"shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID\",\n \"shopperName\" : {\n \"firstName\" : \"Adyen\",\n \"lastName\" : \"Test\"\n },\n \"dateOfBirth\" : \"1990-01-01\",\n \"entityType\" : \"Company\",\n \"nationality\" : \"NL\",\n \"billingAddress\" : {\n \"houseNumberOrName\" : \"17\",\n \"street\" : \"Teststreet 1\",\n \"city\" : \"Amsterdam\",\n \"stateOrProvince\" : \"NY\",\n \"country\" : \"US\",\n \"postalCode\" : \"12345\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/storeDetail", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "storeDetail" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Stores payment details under the `PAYOUT` recurring contract. These payment details can be used later to submit a payout via the `/submitThirdParty` call." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"pspReference\" : \"991617894326362D\",\n \"recurringDetailReference\" : \"9916178936754752\",\n \"resultCode\" : \"Success\"\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"recurring\" : {\n \"contract\" : \"PAYOUT\"\n },\n \"bank\" : {\n \"bankName\" : \"AbnAmro\",\n \"bic\" : \"ABNANL2A\",\n \"countryCode\" : \"NL\",\n \"iban\" : \"NL32ABNA0515071439\",\n \"ownerName\" : \"Adyen\",\n \"bankCity\" : \"Amsterdam\",\n \"taxId\" : \"bankTaxId\"\n },\n \"shopperEmail\" : \"shopper@email.com\",\n \"shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID\",\n \"shopperName\" : {\n \"firstName\" : \"Adyen\",\n \"lastName\" : \"Test\"\n },\n \"dateOfBirth\" : \"1990-01-01\",\n \"entityType\" : \"Company\",\n \"nationality\" : \"NL\",\n \"billingAddress\" : {\n \"houseNumberOrName\" : \"17\",\n \"street\" : \"Teststreet 1\",\n \"city\" : \"Amsterdam\",\n \"stateOrProvince\" : \"NY\",\n \"country\" : \"US\",\n \"postalCode\" : \"12345\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/storeDetail", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "storeDetail" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Stores payment details under the `PAYOUT` recurring contract. These payment details can be used later to submit a payout via the `/submitThirdParty` call." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"recurring\" : {\n \"contract\" : \"PAYOUT\"\n },\n \"bank\" : {\n \"bankName\" : \"AbnAmro\",\n \"bic\" : \"ABNANL2A\",\n \"countryCode\" : \"NL\",\n \"iban\" : \"NL32ABNA0515071439\",\n \"ownerName\" : \"Adyen\",\n \"bankCity\" : \"Amsterdam\",\n \"taxId\" : \"bankTaxId\"\n },\n \"shopperEmail\" : \"shopper@email.com\",\n \"shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID\",\n \"shopperName\" : {\n \"firstName\" : \"Adyen\",\n \"lastName\" : \"Test\"\n },\n \"dateOfBirth\" : \"1990-01-01\",\n \"entityType\" : \"Company\",\n \"nationality\" : \"NL\",\n \"billingAddress\" : {\n \"houseNumberOrName\" : \"17\",\n \"street\" : \"Teststreet 1\",\n \"city\" : \"Amsterdam\",\n \"stateOrProvince\" : \"NY\",\n \"country\" : \"US\",\n \"postalCode\" : \"12345\"\n }\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/storeDetail", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "storeDetail" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Stores payment details under the `PAYOUT` recurring contract. These payment details can be used later to submit a payout via the `/submitThirdParty` call." - } + ] } ] - } -, + }, { "name": "/storeDetailAndSubmitThirdParty", "description": "Submits a payout and stores its details for subsequent payouts. The submitted payout must be confirmed or declined either by a reviewer or via `/confirmThirdParty` or `/declineThirdParty` calls.", @@ -69,221 +121,230 @@ { "name": "Submit a payout and stores details", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"recurring\" : {\n \"contract\" : \"PAYOUT\"\n },\n \"amount\" : {\n \"value\" : 2000,\n \"currency\" : \"EUR\"\n },\n \"bank\" : {\n \"bankName\" : \"Commerzbank\",\n \"iban\" : \"DE87123456781234567890\",\n \"countryCode\" : \"DE\",\n \"ownerName\" : \"Simon Hopper\"\n },\n \"reference\" : \"Your Reference\",\n \"shopperEmail\" : \"s.hopper@test.com\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"shopperName\" : {\n \"firstName\" : \"Adyen\",\n \"lastName\" : \"Test\"\n },\n \"dateOfBirth\" : \"1990-01-01\",\n \"entityType\" : \"Company\",\n \"nationality\" : \"NL\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/storeDetailAndSubmitThirdParty", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "storeDetailAndSubmitThirdParty" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Submits a payout and stores its details for subsequent payouts. The submitted payout must be confirmed or declined either by a reviewer or via `/confirmThirdParty` or `/declineThirdParty` calls." - } + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"recurring\" : {\n \"contract\" : \"PAYOUT\"\n },\n \"amount\" : {\n \"value\" : 2000,\n \"currency\" : \"EUR\"\n },\n \"bank\" : {\n \"bankName\" : \"Commerzbank\",\n \"iban\" : \"DE87123456781234567890\",\n \"countryCode\" : \"DE\",\n \"ownerName\" : \"Simon Hopper\"\n },\n \"reference\" : \"Your Reference\",\n \"shopperEmail\" : \"s.hopper@test.com\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"shopperName\" : {\n \"firstName\" : \"Adyen\",\n \"lastName\" : \"Test\"\n },\n \"dateOfBirth\" : \"1990-01-01\",\n \"entityType\" : \"Company\",\n \"nationality\" : \"NL\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/storeDetailAndSubmitThirdParty", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "storeDetailAndSubmitThirdParty" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Submits a payout and stores its details for subsequent payouts. The submitted payout must be confirmed or declined either by a reviewer or via `/confirmThirdParty` or `/declineThirdParty` calls." +} + ,"response": [ + ] }, { "name": "Submit a payout to Neteller", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 100\n },\n \"selectedBrand\" : \"neteller\",\n \"additionalData\" : {\n \"tokenDataType\" : \"Neteller\",\n \"account\" : \"myNetellerAccount\"\n },\n \"shopperName\" : {\n \"firstName\" : \"Test\",\n \"lastName\" : \"Test2\"\n },\n \"dateOfBirth\" : \"1982-07-17\",\n \"entityType\" : \"NaturalPerson\",\n \"nationality\" : \"NL\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"recurring\" : {\n \"contract\" : \"PAYOUT\"\n },\n \"reference\" : \"Test Payout\",\n \"shopperEmail\" : \"test@company.com\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/storeDetailAndSubmitThirdParty", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "storeDetailAndSubmitThirdParty" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Submits a payout and stores its details for subsequent payouts. The submitted payout must be confirmed or declined either by a reviewer or via `/confirmThirdParty` or `/declineThirdParty` calls." - } + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 100\n },\n \"selectedBrand\" : \"neteller\",\n \"additionalData\" : {\n \"tokenDataType\" : \"Neteller\",\n \"account\" : \"myNetellerAccount\"\n },\n \"shopperName\" : {\n \"firstName\" : \"Test\",\n \"lastName\" : \"Test2\"\n },\n \"dateOfBirth\" : \"1982-07-17\",\n \"entityType\" : \"NaturalPerson\",\n \"nationality\" : \"NL\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"recurring\" : {\n \"contract\" : \"PAYOUT\"\n },\n \"reference\" : \"Test Payout\",\n \"shopperEmail\" : \"test@company.com\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/storeDetailAndSubmitThirdParty", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "storeDetailAndSubmitThirdParty" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Submits a payout and stores its details for subsequent payouts. The submitted payout must be confirmed or declined either by a reviewer or via `/confirmThirdParty` or `/declineThirdParty` calls." +} + ,"response": [ + ] }, { "name": "Submit a payout to PayPal", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1750\n },\n \"selectedBrand\" : \"paypal\",\n \"additionalData\" : {\n \"tokenDataType\" : \"PayPal\",\n \"emailId\" : \"EmailUsedForPayPalAccount@example.com\",\n \"paypal.payerId\" : \"AK5HCWWRUV2KL\"\n },\n \"shopperName\" : {\n \"firstName\" : \"Test\",\n \"lastName\" : \"Test2\"\n },\n \"dateOfBirth\" : \"1982-07-17\",\n \"entityType\" : \"NaturalPerson\",\n \"nationality\" : \"NL\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"recurring\" : {\n \"contract\" : \"PAYOUT\"\n },\n \"reference\" : \"Test Payout\",\n \"shopperEmail\" : \"test@company.com\",\n \"shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/storeDetailAndSubmitThirdParty", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "storeDetailAndSubmitThirdParty" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Submits a payout and stores its details for subsequent payouts. The submitted payout must be confirmed or declined either by a reviewer or via `/confirmThirdParty` or `/declineThirdParty` calls." - } + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1750\n },\n \"selectedBrand\" : \"paypal\",\n \"additionalData\" : {\n \"tokenDataType\" : \"PayPal\",\n \"emailId\" : \"EmailUsedForPayPalAccount@example.com\",\n \"paypal.payerId\" : \"AK5HCWWRUV2KL\"\n },\n \"shopperName\" : {\n \"firstName\" : \"Test\",\n \"lastName\" : \"Test2\"\n },\n \"dateOfBirth\" : \"1982-07-17\",\n \"entityType\" : \"NaturalPerson\",\n \"nationality\" : \"NL\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"recurring\" : {\n \"contract\" : \"PAYOUT\"\n },\n \"reference\" : \"Test Payout\",\n \"shopperEmail\" : \"test@company.com\",\n \"shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/storeDetailAndSubmitThirdParty", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "storeDetailAndSubmitThirdParty" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Submits a payout and stores its details for subsequent payouts. The submitted payout must be confirmed or declined either by a reviewer or via `/confirmThirdParty` or `/declineThirdParty` calls." +} + ,"response": [ + ] }, { "name": "Submit a payout to Paysafecard", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"selectedBrand\" : \"paysafecard\",\n \"additionalData\" : {\n \"emailId\" : \"EmailUsedForPaysafecardAccount@example.com\"\n },\n \"shopperName\" : {\n \"firstName\" : \"Test\",\n \"lastName\" : \"Test2\"\n },\n \"dateOfBirth\" : \"1982-07-17\",\n \"entityType\" : \"NaturalPerson\",\n \"nationality\" : \"NL\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"recurring\" : {\n \"contract\" : \"PAYOUT\"\n },\n \"reference\" : \"Test Payout\",\n \"shopperEmail\" : \"test@company.com\",\n \"shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/storeDetailAndSubmitThirdParty", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "storeDetailAndSubmitThirdParty" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Submits a payout and stores its details for subsequent payouts. The submitted payout must be confirmed or declined either by a reviewer or via `/confirmThirdParty` or `/declineThirdParty` calls." - } + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"selectedBrand\" : \"paysafecard\",\n \"additionalData\" : {\n \"emailId\" : \"EmailUsedForPaysafecardAccount@example.com\"\n },\n \"shopperName\" : {\n \"firstName\" : \"Test\",\n \"lastName\" : \"Test2\"\n },\n \"dateOfBirth\" : \"1982-07-17\",\n \"entityType\" : \"NaturalPerson\",\n \"nationality\" : \"NL\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"recurring\" : {\n \"contract\" : \"PAYOUT\"\n },\n \"reference\" : \"Test Payout\",\n \"shopperEmail\" : \"test@company.com\",\n \"shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/storeDetailAndSubmitThirdParty", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "storeDetailAndSubmitThirdParty" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Submits a payout and stores its details for subsequent payouts. The submitted payout must be confirmed or declined either by a reviewer or via `/confirmThirdParty` or `/declineThirdParty` calls." +} + ,"response": [ + ] }, { "name": "Submit a payout to Skrill", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 100\n },\n \"selectedBrand\" : \"moneybookers\",\n \"additionalData\" : {\n \"tokenDataType\" : \"MoneyBookers\",\n \"email\" : \"name@adyen.com\"\n },\n \"shopperName\" : {\n \"firstName\" : \"Test\",\n \"lastName\" : \"Test2\"\n },\n \"dateOfBirth\" : \"1982-07-17\",\n \"entityType\" : \"NaturalPerson\",\n \"nationality\" : \"NL\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"recurring\" : {\n \"contract\" : \"PAYOUT\"\n },\n \"reference\" : \"Test Payout\",\n \"shopperEmail\" : \"test@company.com\",\n \"shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/storeDetailAndSubmitThirdParty", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "storeDetailAndSubmitThirdParty" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Submits a payout and stores its details for subsequent payouts. The submitted payout must be confirmed or declined either by a reviewer or via `/confirmThirdParty` or `/declineThirdParty` calls." - } + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 100\n },\n \"selectedBrand\" : \"moneybookers\",\n \"additionalData\" : {\n \"tokenDataType\" : \"MoneyBookers\",\n \"email\" : \"name@adyen.com\"\n },\n \"shopperName\" : {\n \"firstName\" : \"Test\",\n \"lastName\" : \"Test2\"\n },\n \"dateOfBirth\" : \"1982-07-17\",\n \"entityType\" : \"NaturalPerson\",\n \"nationality\" : \"NL\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"recurring\" : {\n \"contract\" : \"PAYOUT\"\n },\n \"reference\" : \"Test Payout\",\n \"shopperEmail\" : \"test@company.com\",\n \"shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/storeDetailAndSubmitThirdParty", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "storeDetailAndSubmitThirdParty" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Submits a payout and stores its details for subsequent payouts. The submitted payout must be confirmed or declined either by a reviewer or via `/confirmThirdParty` or `/declineThirdParty` calls." +} + ,"response": [ + ] } ] - } -, + }, { "name": "/submitThirdParty", "description": "Submits a payout using the previously stored payment details. To store payment details, use the `/storeDetail` API call. The submitted payout must be confirmed or declined either by a reviewer or via `/confirmThirdParty` or `/declineThirdParty` calls.", @@ -291,49 +352,50 @@ { "name": "Submit a payout", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"recurring\" : {\n \"contract\" : \"PAYOUT\"\n },\n \"reference\" : \"PayoutPayment-0001\",\n \"shopperEmail\" : \"shopper@email.com\",\n \"shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID\",\n \"shopperName\" : {\n \"firstName\" : \"Adyen\",\n \"lastName\" : \"Test\"\n },\n \"dateOfBirth\" : \"1990-01-01\",\n \"entityType\" : \"Company\",\n \"nationality\" : \"NL\",\n \"selectedRecurringDetailReference\" : \"LATEST\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/submitThirdParty", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "submitThirdParty" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Submits a payout using the previously stored payment details. To store payment details, use the `/storeDetail` API call. The submitted payout must be confirmed or declined either by a reviewer or via `/confirmThirdParty` or `/declineThirdParty` calls." - } + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"recurring\" : {\n \"contract\" : \"PAYOUT\"\n },\n \"reference\" : \"PayoutPayment-0001\",\n \"shopperEmail\" : \"shopper@email.com\",\n \"shopperReference\" : \"YOUR_UNIQUE_SHOPPER_ID\",\n \"shopperName\" : {\n \"firstName\" : \"Adyen\",\n \"lastName\" : \"Test\"\n },\n \"dateOfBirth\" : \"1990-01-01\",\n \"entityType\" : \"Company\",\n \"nationality\" : \"NL\",\n \"selectedRecurringDetailReference\" : \"LATEST\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/submitThirdParty", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "submitThirdParty" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Submits a payout using the previously stored payment details. To store payment details, use the `/storeDetail` API call. The submitted payout must be confirmed or declined either by a reviewer or via `/confirmThirdParty` or `/declineThirdParty` calls." +} + ,"response": [ + ] } ] } - ] }, { @@ -346,92 +408,95 @@ { "name": "Instant card payout (B2C)", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"value\" : 2500,\n \"currency\" : \"USD\"\n },\n \"card\" : {\n \"number\" : \"4111111111111111\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\"\n },\n \"billingAddress\" : {\n \"houseNumberOrName\" : \"121\",\n \"street\" : \"Brannan Street\",\n \"city\" : \"Beverly Hills\",\n \"postalCode\" : \"90210\",\n \"stateOrProvince\" : \"CA\",\n \"country\" : \"US\"\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"reference\" : \"P9999999999999999\",\n \"shopperName\" : {\n \"firstName\" : \"John\",\n \"lastName\" : \"Smith\"\n },\n \"nationality\" : \"NL\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payout", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payout" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "With this call, you can pay out to your customers, and funds will be made available within 30 minutes on the cardholder's bank account (this is dependent on whether the issuer supports this functionality). Instant card payouts are only supported for Visa and Mastercard cards." - } + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"amount\" : {\n \"value\" : 2500,\n \"currency\" : \"USD\"\n },\n \"card\" : {\n \"number\" : \"4111111111111111\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\"\n },\n \"billingAddress\" : {\n \"houseNumberOrName\" : \"121\",\n \"street\" : \"Brannan Street\",\n \"city\" : \"Beverly Hills\",\n \"postalCode\" : \"90210\",\n \"stateOrProvince\" : \"CA\",\n \"country\" : \"US\"\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"reference\" : \"P9999999999999999\",\n \"shopperName\" : {\n \"firstName\" : \"John\",\n \"lastName\" : \"Smith\"\n },\n \"nationality\" : \"NL\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payout", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payout" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "With this call, you can pay out to your customers, and funds will be made available within 30 minutes on the cardholder's bank account (this is dependent on whether the issuer supports this functionality). Instant card payouts are only supported for Visa and Mastercard cards." +} + ,"response": [ + ] }, { "name": "Instant card payout (P2P)", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"value\" : 2500,\n \"currency\" : \"USD\"\n },\n \"card\" : {\n \"number\" : \"4111111111111111\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\"\n },\n \"billingAddress\" : {\n \"houseNumberOrName\" : \"121\",\n \"street\" : \"Brannan Street\",\n \"city\" : \"Beverly Hills\",\n \"postalCode\" : \"90210\",\n \"stateOrProvince\" : \"CA\",\n \"country\" : \"US\"\n },\n \"fundSource\" : {\n \"additionalData\" : {\n \"fundingSource\" : \"DEBIT\"\n },\n \"billingAddress\" : {\n \"houseNumberOrName\" : \"121\",\n \"street\" : \"Brannan Street\",\n \"city\" : \"Beverly Hills\",\n \"postalCode\" : \"90210\",\n \"stateOrProvince\" : \"CA\",\n \"country\" : \"US\"\n },\n \"card\" : {\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"Payer Name\",\n \"number\" : \"4400000000000008\"\n },\n \"shopperName\" : {\n \"firstName\" : \"Payer\",\n \"lastName\" : \"Name\"\n }\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"reference\" : \"P9999999999999999\",\n \"shopperName\" : {\n \"firstName\" : \"John\",\n \"lastName\" : \"Smith\"\n },\n \"dateOfBirth\" : \"1990-01-01\",\n \"nationality\" : \"NL\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/payout", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "payout" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "With this call, you can pay out to your customers, and funds will be made available within 30 minutes on the cardholder's bank account (this is dependent on whether the issuer supports this functionality). Instant card payouts are only supported for Visa and Mastercard cards." - } + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"amount\" : {\n \"value\" : 2500,\n \"currency\" : \"USD\"\n },\n \"card\" : {\n \"number\" : \"4111111111111111\",\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"John Smith\"\n },\n \"billingAddress\" : {\n \"houseNumberOrName\" : \"121\",\n \"street\" : \"Brannan Street\",\n \"city\" : \"Beverly Hills\",\n \"postalCode\" : \"90210\",\n \"stateOrProvince\" : \"CA\",\n \"country\" : \"US\"\n },\n \"fundSource\" : {\n \"additionalData\" : {\n \"fundingSource\" : \"DEBIT\"\n },\n \"billingAddress\" : {\n \"houseNumberOrName\" : \"121\",\n \"street\" : \"Brannan Street\",\n \"city\" : \"Beverly Hills\",\n \"postalCode\" : \"90210\",\n \"stateOrProvince\" : \"CA\",\n \"country\" : \"US\"\n },\n \"card\" : {\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"Payer Name\",\n \"number\" : \"4400000000000008\"\n },\n \"shopperName\" : {\n \"firstName\" : \"Payer\",\n \"lastName\" : \"Name\"\n }\n },\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"reference\" : \"P9999999999999999\",\n \"shopperName\" : {\n \"firstName\" : \"John\",\n \"lastName\" : \"Smith\"\n },\n \"dateOfBirth\" : \"1990-01-01\",\n \"nationality\" : \"NL\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/payout", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "payout" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "With this call, you can pay out to your customers, and funds will be made available within 30 minutes on the cardholder's bank account (this is dependent on whether the issuer supports this functionality). Instant card payouts are only supported for Visa and Mastercard cards." +} + ,"response": [ + ] } ] } - ] }, { @@ -444,49 +509,101 @@ { "name": "Confirm a payout", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"originalReference\" : \"9913140798220028\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/confirmThirdParty", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "confirmThirdParty" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Confirms a previously submitted payout. To cancel a payout, use the `/declineThirdParty` endpoint." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"pspReference\" : \"991617894325358C\",\n \"response\" : \"[payout-confirm-received]\"\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"originalReference\" : \"9913140798220028\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/confirmThirdParty", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "confirmThirdParty" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Confirms a previously submitted payout. To cancel a payout, use the `/declineThirdParty` endpoint." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"originalReference\" : \"9913140798220028\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/confirmThirdParty", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "confirmThirdParty" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Confirms a previously submitted payout. To cancel a payout, use the `/declineThirdParty` endpoint." - } + ] } ] - } -, + }, { "name": "/declineThirdParty", "description": "Cancels a previously submitted payout. To confirm and send a payout, use the `/confirmThirdParty` endpoint.", @@ -494,49 +611,101 @@ { "name": "Cancel a payout", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"originalReference\" : \"9913140798220028\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/declineThirdParty", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "declineThirdParty" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Cancels a previously submitted payout. To confirm and send a payout, use the `/confirmThirdParty` endpoint." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"pspReference\" : \"991617894325360J\",\n \"response\" : \"[payout-decline-received]\"\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"originalReference\" : \"9913140798220028\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/declineThirdParty", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "declineThirdParty" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Cancels a previously submitted payout. To confirm and send a payout, use the `/confirmThirdParty` endpoint." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"originalReference\" : \"9913140798220028\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/declineThirdParty", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "declineThirdParty" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Cancels a previously submitted payout. To confirm and send a payout, use the `/confirmThirdParty` endpoint." - } + ] } ] } - ] } ], diff --git a/postman/RecurringService-v25.json b/postman/RecurringService-v25.json index c53834e..e317208 100644 --- a/postman/RecurringService-v25.json +++ b/postman/RecurringService-v25.json @@ -19,49 +19,50 @@ { "name": "Disable a recurring contract", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"recurringDetailReference\" : \"8314442372419167\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/disable", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "disable" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Disables stored payment details to stop charging a shopper with this particular recurring detail ID. For more information, refer to [Disable stored details](https://docs.adyen.com/classic-integration/recurring-payments/disable-stored-details/)." - } + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"recurringDetailReference\" : \"8314442372419167\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/disable", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "disable" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Disables stored payment details to stop charging a shopper with this particular recurring detail ID. For more information, refer to [Disable stored details](https://docs.adyen.com/classic-integration/recurring-payments/disable-stored-details/)." +} + ,"response": [ + ] } ] - } -, + }, { "name": "/listRecurringDetails", "description": "Lists the stored payment details for a shopper, if there are any available. The recurring detail ID can be used with a regular authorisation request to charge the shopper. A summary of the payment detail is returned for presentation to the shopper. For more information, refer to [Retrieve stored details](https://docs.adyen.com/classic-integration/recurring-payments/retrieve-stored-details/).", @@ -69,49 +70,50 @@ { "name": "List recurring details of the specified contract value", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"recurring\" : {\n \"contract\" : \"RECURRING\"\n },\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/listRecurringDetails", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "listRecurringDetails" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Lists the stored payment details for a shopper, if there are any available. The recurring detail ID can be used with a regular authorisation request to charge the shopper. A summary of the payment detail is returned for presentation to the shopper. For more information, refer to [Retrieve stored details](https://docs.adyen.com/classic-integration/recurring-payments/retrieve-stored-details/)." - } + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"recurring\" : {\n \"contract\" : \"RECURRING\"\n },\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/listRecurringDetails", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "listRecurringDetails" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Lists the stored payment details for a shopper, if there are any available. The recurring detail ID can be used with a regular authorisation request to charge the shopper. A summary of the payment detail is returned for presentation to the shopper. For more information, refer to [Retrieve stored details](https://docs.adyen.com/classic-integration/recurring-payments/retrieve-stored-details/)." +} + ,"response": [ + ] } ] - } -, + }, { "name": "/notifyShopper", "description": "Sends a request to the issuer so they can inform the shopper about the upcoming recurring payment. This endpoint is used only for local acquiring in India. For more information, refer to [Recurring card payments in India](https://docs.adyen.com/payment-methods/cards/cards-recurring-india).", @@ -119,49 +121,101 @@ { "name": "Request issuer to notify shopper of upcoming recurring payment", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"storedPaymentMethodId\" : \"8415995487234100\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"amount\" : {\n \"currency\" : \"INR\",\n \"value\" : 1000\n },\n \"billingDate\" : \"2021-03-16\",\n \"reference\" : \"Example reference\",\n \"displayedReference\" : \"exampleDisplayedReference\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/notifyShopper", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "notifyShopper" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends a request to the issuer so they can inform the shopper about the upcoming recurring payment. This endpoint is used only for local acquiring in India. For more information, refer to [Recurring card payments in India](https://docs.adyen.com/payment-methods/cards/cards-recurring-india)." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"message\" : \"Request Processed Successfully\",\n \"resultCode\" : \"Success\",\n \"shopperNotificationReference\" : \"9915003646742627\",\n \"storedPaymentMethodId\" : \"8415995487234100\",\n \"pspReference\" : \"M5N7TQ4TG5PFWR50\",\n \"reference\" : \"Example reference\",\n \"displayedReference\" : \"exampleDisplayedReference\"\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"storedPaymentMethodId\" : \"8415995487234100\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"amount\" : {\n \"currency\" : \"INR\",\n \"value\" : 1000\n },\n \"billingDate\" : \"2021-03-16\",\n \"reference\" : \"Example reference\",\n \"displayedReference\" : \"exampleDisplayedReference\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/notifyShopper", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "notifyShopper" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends a request to the issuer so they can inform the shopper about the upcoming recurring payment. This endpoint is used only for local acquiring in India. For more information, refer to [Recurring card payments in India](https://docs.adyen.com/payment-methods/cards/cards-recurring-india)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"storedPaymentMethodId\" : \"8415995487234100\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"amount\" : {\n \"currency\" : \"INR\",\n \"value\" : 1000\n },\n \"billingDate\" : \"2021-03-16\",\n \"reference\" : \"Example reference\",\n \"displayedReference\" : \"exampleDisplayedReference\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/notifyShopper", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "notifyShopper" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends a request to the issuer so they can inform the shopper about the upcoming recurring payment. This endpoint is used only for local acquiring in India. For more information, refer to [Recurring card payments in India](https://docs.adyen.com/payment-methods/cards/cards-recurring-india)." - } + ] } ] - } -, + }, { "name": "/scheduleAccountUpdater", "description": "When making the API call, you can submit either the credit card information, or the recurring detail reference and the shopper reference: * If the card information is provided, all the sub-fields for `card` are mandatory. * If the recurring detail reference is provided, the fields for `shopperReference` and `selectedRecurringDetailReference` are mandatory.", @@ -169,92 +223,95 @@ { "name": "Schedule AccountUpdater with card data", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"reference\" : \"{{$guid}}\",\n \"card\" : {\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"Adyen Test\",\n \"number\" : \"4111111111111111\"\n }\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/scheduleAccountUpdater", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "scheduleAccountUpdater" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "When making the API call, you can submit either the credit card information, or the recurring detail reference and the shopper reference: * If the card information is provided, all the sub-fields for `card` are mandatory. * If the recurring detail reference is provided, the fields for `shopperReference` and `selectedRecurringDetailReference` are mandatory." - } + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"reference\" : \"{{$guid}}\",\n \"card\" : {\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"Adyen Test\",\n \"number\" : \"4111111111111111\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/scheduleAccountUpdater", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "scheduleAccountUpdater" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "When making the API call, you can submit either the credit card information, or the recurring detail reference and the shopper reference: * If the card information is provided, all the sub-fields for `card` are mandatory. * If the recurring detail reference is provided, the fields for `shopperReference` and `selectedRecurringDetailReference` are mandatory." +} + ,"response": [ + ] }, { "name": "Schedule AccountUpdater with token data", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"reference\" : \"{{$guid}}\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"selectedRecurringDetailReference\" : \"8814232895168272\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/scheduleAccountUpdater", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "scheduleAccountUpdater" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "When making the API call, you can submit either the credit card information, or the recurring detail reference and the shopper reference: * If the card information is provided, all the sub-fields for `card` are mandatory. * If the recurring detail reference is provided, the fields for `shopperReference` and `selectedRecurringDetailReference` are mandatory." - } + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"reference\" : \"{{$guid}}\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"selectedRecurringDetailReference\" : \"8814232895168272\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/scheduleAccountUpdater", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "scheduleAccountUpdater" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "When making the API call, you can submit either the credit card information, or the recurring detail reference and the shopper reference: * If the card information is provided, all the sub-fields for `card` are mandatory. * If the recurring detail reference is provided, the fields for `shopperReference` and `selectedRecurringDetailReference` are mandatory." +} + ,"response": [ + ] } ] } - ] } ], diff --git a/postman/RecurringService-v30.json b/postman/RecurringService-v30.json index 0ea0bb7..d0919f7 100644 --- a/postman/RecurringService-v30.json +++ b/postman/RecurringService-v30.json @@ -19,49 +19,50 @@ { "name": "Disable a recurring contract", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"recurringDetailReference\" : \"8314442372419167\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/disable", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "disable" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Disables stored payment details to stop charging a shopper with this particular recurring detail ID. For more information, refer to [Disable stored details](https://docs.adyen.com/classic-integration/recurring-payments/disable-stored-details/)." - } + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"recurringDetailReference\" : \"8314442372419167\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/disable", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "disable" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Disables stored payment details to stop charging a shopper with this particular recurring detail ID. For more information, refer to [Disable stored details](https://docs.adyen.com/classic-integration/recurring-payments/disable-stored-details/)." +} + ,"response": [ + ] } ] - } -, + }, { "name": "/listRecurringDetails", "description": "Lists the stored payment details for a shopper, if there are any available. The recurring detail ID can be used with a regular authorisation request to charge the shopper. A summary of the payment detail is returned for presentation to the shopper. For more information, refer to [Retrieve stored details](https://docs.adyen.com/classic-integration/recurring-payments/retrieve-stored-details/).", @@ -69,49 +70,50 @@ { "name": "List recurring details of the specified contract value", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"recurring\" : {\n \"contract\" : \"RECURRING\"\n },\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/listRecurringDetails", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "listRecurringDetails" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Lists the stored payment details for a shopper, if there are any available. The recurring detail ID can be used with a regular authorisation request to charge the shopper. A summary of the payment detail is returned for presentation to the shopper. For more information, refer to [Retrieve stored details](https://docs.adyen.com/classic-integration/recurring-payments/retrieve-stored-details/)." - } + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"recurring\" : {\n \"contract\" : \"RECURRING\"\n },\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/listRecurringDetails", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "listRecurringDetails" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Lists the stored payment details for a shopper, if there are any available. The recurring detail ID can be used with a regular authorisation request to charge the shopper. A summary of the payment detail is returned for presentation to the shopper. For more information, refer to [Retrieve stored details](https://docs.adyen.com/classic-integration/recurring-payments/retrieve-stored-details/)." +} + ,"response": [ + ] } ] - } -, + }, { "name": "/notifyShopper", "description": "Sends a request to the issuer so they can inform the shopper about the upcoming recurring payment. This endpoint is used only for local acquiring in India. For more information, refer to [Recurring card payments in India](https://docs.adyen.com/payment-methods/cards/cards-recurring-india).", @@ -119,49 +121,101 @@ { "name": "Request issuer to notify shopper of upcoming recurring payment", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"storedPaymentMethodId\" : \"8415995487234100\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"amount\" : {\n \"currency\" : \"INR\",\n \"value\" : 1000\n },\n \"billingDate\" : \"2021-03-16\",\n \"reference\" : \"Example reference\",\n \"displayedReference\" : \"exampleDisplayedReference\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/notifyShopper", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "notifyShopper" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends a request to the issuer so they can inform the shopper about the upcoming recurring payment. This endpoint is used only for local acquiring in India. For more information, refer to [Recurring card payments in India](https://docs.adyen.com/payment-methods/cards/cards-recurring-india)." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"message\" : \"Request Processed Successfully\",\n \"resultCode\" : \"Success\",\n \"shopperNotificationReference\" : \"9915003646742627\",\n \"storedPaymentMethodId\" : \"8415995487234100\",\n \"pspReference\" : \"M5N7TQ4TG5PFWR50\",\n \"reference\" : \"Example reference\",\n \"displayedReference\" : \"exampleDisplayedReference\"\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"storedPaymentMethodId\" : \"8415995487234100\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"amount\" : {\n \"currency\" : \"INR\",\n \"value\" : 1000\n },\n \"billingDate\" : \"2021-03-16\",\n \"reference\" : \"Example reference\",\n \"displayedReference\" : \"exampleDisplayedReference\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/notifyShopper", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "notifyShopper" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends a request to the issuer so they can inform the shopper about the upcoming recurring payment. This endpoint is used only for local acquiring in India. For more information, refer to [Recurring card payments in India](https://docs.adyen.com/payment-methods/cards/cards-recurring-india)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"storedPaymentMethodId\" : \"8415995487234100\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"amount\" : {\n \"currency\" : \"INR\",\n \"value\" : 1000\n },\n \"billingDate\" : \"2021-03-16\",\n \"reference\" : \"Example reference\",\n \"displayedReference\" : \"exampleDisplayedReference\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/notifyShopper", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "notifyShopper" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends a request to the issuer so they can inform the shopper about the upcoming recurring payment. This endpoint is used only for local acquiring in India. For more information, refer to [Recurring card payments in India](https://docs.adyen.com/payment-methods/cards/cards-recurring-india)." - } + ] } ] - } -, + }, { "name": "/scheduleAccountUpdater", "description": "When making the API call, you can submit either the credit card information, or the recurring detail reference and the shopper reference: * If the card information is provided, all the sub-fields for `card` are mandatory. * If the recurring detail reference is provided, the fields for `shopperReference` and `selectedRecurringDetailReference` are mandatory.", @@ -169,92 +223,95 @@ { "name": "Schedule AccountUpdater with card data", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"reference\" : \"{{$guid}}\",\n \"card\" : {\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"Adyen Test\",\n \"number\" : \"4111111111111111\"\n }\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/scheduleAccountUpdater", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "scheduleAccountUpdater" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "When making the API call, you can submit either the credit card information, or the recurring detail reference and the shopper reference: * If the card information is provided, all the sub-fields for `card` are mandatory. * If the recurring detail reference is provided, the fields for `shopperReference` and `selectedRecurringDetailReference` are mandatory." - } + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"reference\" : \"{{$guid}}\",\n \"card\" : {\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"Adyen Test\",\n \"number\" : \"4111111111111111\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/scheduleAccountUpdater", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "scheduleAccountUpdater" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "When making the API call, you can submit either the credit card information, or the recurring detail reference and the shopper reference: * If the card information is provided, all the sub-fields for `card` are mandatory. * If the recurring detail reference is provided, the fields for `shopperReference` and `selectedRecurringDetailReference` are mandatory." +} + ,"response": [ + ] }, { "name": "Schedule AccountUpdater with token data", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"reference\" : \"{{$guid}}\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"selectedRecurringDetailReference\" : \"8814232895168272\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/scheduleAccountUpdater", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "scheduleAccountUpdater" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "When making the API call, you can submit either the credit card information, or the recurring detail reference and the shopper reference: * If the card information is provided, all the sub-fields for `card` are mandatory. * If the recurring detail reference is provided, the fields for `shopperReference` and `selectedRecurringDetailReference` are mandatory." - } + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"reference\" : \"{{$guid}}\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"selectedRecurringDetailReference\" : \"8814232895168272\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/scheduleAccountUpdater", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "scheduleAccountUpdater" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "When making the API call, you can submit either the credit card information, or the recurring detail reference and the shopper reference: * If the card information is provided, all the sub-fields for `card` are mandatory. * If the recurring detail reference is provided, the fields for `shopperReference` and `selectedRecurringDetailReference` are mandatory." +} + ,"response": [ + ] } ] } - ] } ], diff --git a/postman/RecurringService-v40.json b/postman/RecurringService-v40.json index 416245b..2a83ccf 100644 --- a/postman/RecurringService-v40.json +++ b/postman/RecurringService-v40.json @@ -19,49 +19,50 @@ { "name": "Create new permits linked to a recurring contract.", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"merchantAccount\": \"\",\n \"permits\": \"\",\n \"recurringDetailReference\": \"\",\n \"shopperReference\": \"\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/createPermit", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "createPermit" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Create permits for a recurring contract, including support for defining restrictions." - } + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"merchantAccount\": \"\",\n \"permits\": \"\",\n \"recurringDetailReference\": \"\",\n \"shopperReference\": \"\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/createPermit", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "createPermit" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Create permits for a recurring contract, including support for defining restrictions." +} + ,"response": [ + ] } ] - } -, + }, { "name": "/disable", "description": "Disables stored payment details to stop charging a shopper with this particular recurring detail ID. For more information, refer to [Disable stored details](https://docs.adyen.com/classic-integration/recurring-payments/disable-stored-details/).", @@ -69,49 +70,50 @@ { "name": "Disable a recurring contract", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"recurringDetailReference\" : \"8314442372419167\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/disable", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "disable" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Disables stored payment details to stop charging a shopper with this particular recurring detail ID. For more information, refer to [Disable stored details](https://docs.adyen.com/classic-integration/recurring-payments/disable-stored-details/)." - } + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"recurringDetailReference\" : \"8314442372419167\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/disable", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "disable" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Disables stored payment details to stop charging a shopper with this particular recurring detail ID. For more information, refer to [Disable stored details](https://docs.adyen.com/classic-integration/recurring-payments/disable-stored-details/)." +} + ,"response": [ + ] } ] - } -, + }, { "name": "/listRecurringDetails", "description": "Lists the stored payment details for a shopper, if there are any available. The recurring detail ID can be used with a regular authorisation request to charge the shopper. A summary of the payment detail is returned for presentation to the shopper. For more information, refer to [Retrieve stored details](https://docs.adyen.com/classic-integration/recurring-payments/retrieve-stored-details/).", @@ -119,49 +121,50 @@ { "name": "List recurring details of the specified contract value", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"recurring\" : {\n \"contract\" : \"RECURRING\"\n },\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/listRecurringDetails", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "listRecurringDetails" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Lists the stored payment details for a shopper, if there are any available. The recurring detail ID can be used with a regular authorisation request to charge the shopper. A summary of the payment detail is returned for presentation to the shopper. For more information, refer to [Retrieve stored details](https://docs.adyen.com/classic-integration/recurring-payments/retrieve-stored-details/)." - } + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"recurring\" : {\n \"contract\" : \"RECURRING\"\n },\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/listRecurringDetails", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "listRecurringDetails" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Lists the stored payment details for a shopper, if there are any available. The recurring detail ID can be used with a regular authorisation request to charge the shopper. A summary of the payment detail is returned for presentation to the shopper. For more information, refer to [Retrieve stored details](https://docs.adyen.com/classic-integration/recurring-payments/retrieve-stored-details/)." +} + ,"response": [ + ] } ] - } -, + }, { "name": "/notifyShopper", "description": "Sends a request to the issuer so they can inform the shopper about the upcoming recurring payment. This endpoint is used only for local acquiring in India. For more information, refer to [Recurring card payments in India](https://docs.adyen.com/payment-methods/cards/cards-recurring-india).", @@ -169,49 +172,101 @@ { "name": "Request issuer to notify shopper of upcoming recurring payment", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"storedPaymentMethodId\" : \"8415995487234100\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"amount\" : {\n \"currency\" : \"INR\",\n \"value\" : 1000\n },\n \"billingDate\" : \"2021-03-16\",\n \"reference\" : \"Example reference\",\n \"displayedReference\" : \"exampleDisplayedReference\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/notifyShopper", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "notifyShopper" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends a request to the issuer so they can inform the shopper about the upcoming recurring payment. This endpoint is used only for local acquiring in India. For more information, refer to [Recurring card payments in India](https://docs.adyen.com/payment-methods/cards/cards-recurring-india)." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"message\" : \"Request Processed Successfully\",\n \"resultCode\" : \"Success\",\n \"shopperNotificationReference\" : \"9915003646742627\",\n \"storedPaymentMethodId\" : \"8415995487234100\",\n \"pspReference\" : \"M5N7TQ4TG5PFWR50\",\n \"reference\" : \"Example reference\",\n \"displayedReference\" : \"exampleDisplayedReference\"\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"storedPaymentMethodId\" : \"8415995487234100\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"amount\" : {\n \"currency\" : \"INR\",\n \"value\" : 1000\n },\n \"billingDate\" : \"2021-03-16\",\n \"reference\" : \"Example reference\",\n \"displayedReference\" : \"exampleDisplayedReference\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/notifyShopper", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "notifyShopper" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends a request to the issuer so they can inform the shopper about the upcoming recurring payment. This endpoint is used only for local acquiring in India. For more information, refer to [Recurring card payments in India](https://docs.adyen.com/payment-methods/cards/cards-recurring-india)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"storedPaymentMethodId\" : \"8415995487234100\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"amount\" : {\n \"currency\" : \"INR\",\n \"value\" : 1000\n },\n \"billingDate\" : \"2021-03-16\",\n \"reference\" : \"Example reference\",\n \"displayedReference\" : \"exampleDisplayedReference\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/notifyShopper", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "notifyShopper" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends a request to the issuer so they can inform the shopper about the upcoming recurring payment. This endpoint is used only for local acquiring in India. For more information, refer to [Recurring card payments in India](https://docs.adyen.com/payment-methods/cards/cards-recurring-india)." - } + ] } ] - } -, + }, { "name": "/scheduleAccountUpdater", "description": "When making the API call, you can submit either the credit card information, or the recurring detail reference and the shopper reference: * If the card information is provided, all the sub-fields for `card` are mandatory. * If the recurring detail reference is provided, the fields for `shopperReference` and `selectedRecurringDetailReference` are mandatory.", @@ -219,92 +274,95 @@ { "name": "Schedule AccountUpdater with card data", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"reference\" : \"{{$guid}}\",\n \"card\" : {\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"Adyen Test\",\n \"number\" : \"4111111111111111\"\n }\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/scheduleAccountUpdater", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "scheduleAccountUpdater" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "When making the API call, you can submit either the credit card information, or the recurring detail reference and the shopper reference: * If the card information is provided, all the sub-fields for `card` are mandatory. * If the recurring detail reference is provided, the fields for `shopperReference` and `selectedRecurringDetailReference` are mandatory." - } + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"reference\" : \"{{$guid}}\",\n \"card\" : {\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"Adyen Test\",\n \"number\" : \"4111111111111111\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/scheduleAccountUpdater", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "scheduleAccountUpdater" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "When making the API call, you can submit either the credit card information, or the recurring detail reference and the shopper reference: * If the card information is provided, all the sub-fields for `card` are mandatory. * If the recurring detail reference is provided, the fields for `shopperReference` and `selectedRecurringDetailReference` are mandatory." +} + ,"response": [ + ] }, { "name": "Schedule AccountUpdater with token data", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"reference\" : \"{{$guid}}\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"selectedRecurringDetailReference\" : \"8814232895168272\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/scheduleAccountUpdater", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "scheduleAccountUpdater" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "When making the API call, you can submit either the credit card information, or the recurring detail reference and the shopper reference: * If the card information is provided, all the sub-fields for `card` are mandatory. * If the recurring detail reference is provided, the fields for `shopperReference` and `selectedRecurringDetailReference` are mandatory." - } + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"reference\" : \"{{$guid}}\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"selectedRecurringDetailReference\" : \"8814232895168272\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/scheduleAccountUpdater", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "scheduleAccountUpdater" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "When making the API call, you can submit either the credit card information, or the recurring detail reference and the shopper reference: * If the card information is provided, all the sub-fields for `card` are mandatory. * If the recurring detail reference is provided, the fields for `shopperReference` and `selectedRecurringDetailReference` are mandatory." +} + ,"response": [ + ] } ] } - ] } ], diff --git a/postman/RecurringService-v49.json b/postman/RecurringService-v49.json index c84fedf..e45fe27 100644 --- a/postman/RecurringService-v49.json +++ b/postman/RecurringService-v49.json @@ -19,49 +19,50 @@ { "name": "Create new permits linked to a recurring contract.", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"merchantAccount\": \"\",\n \"permits\": \"\",\n \"recurringDetailReference\": \"\",\n \"shopperReference\": \"\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/createPermit", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "createPermit" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Create permits for a recurring contract, including support for defining restrictions." - } + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"merchantAccount\": \"\",\n \"permits\": \"\",\n \"recurringDetailReference\": \"\",\n \"shopperReference\": \"\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/createPermit", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "createPermit" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Create permits for a recurring contract, including support for defining restrictions." +} + ,"response": [ + ] } ] - } -, + }, { "name": "/disable", "description": "Disables stored payment details to stop charging a shopper with this particular recurring detail ID. For more information, refer to [Disable stored details](https://docs.adyen.com/classic-integration/recurring-payments/disable-stored-details/).", @@ -69,49 +70,50 @@ { "name": "Disable a recurring contract", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"recurringDetailReference\" : \"8314442372419167\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/disable", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "disable" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Disables stored payment details to stop charging a shopper with this particular recurring detail ID. For more information, refer to [Disable stored details](https://docs.adyen.com/classic-integration/recurring-payments/disable-stored-details/)." - } + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"recurringDetailReference\" : \"8314442372419167\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/disable", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "disable" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Disables stored payment details to stop charging a shopper with this particular recurring detail ID. For more information, refer to [Disable stored details](https://docs.adyen.com/classic-integration/recurring-payments/disable-stored-details/)." +} + ,"response": [ + ] } ] - } -, + }, { "name": "/listRecurringDetails", "description": "Lists the stored payment details for a shopper, if there are any available. The recurring detail ID can be used with a regular authorisation request to charge the shopper. A summary of the payment detail is returned for presentation to the shopper. For more information, refer to [Retrieve stored details](https://docs.adyen.com/classic-integration/recurring-payments/retrieve-stored-details/).", @@ -119,49 +121,50 @@ { "name": "List recurring details of the specified contract value", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"recurring\" : {\n \"contract\" : \"RECURRING\"\n },\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/listRecurringDetails", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "listRecurringDetails" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Lists the stored payment details for a shopper, if there are any available. The recurring detail ID can be used with a regular authorisation request to charge the shopper. A summary of the payment detail is returned for presentation to the shopper. For more information, refer to [Retrieve stored details](https://docs.adyen.com/classic-integration/recurring-payments/retrieve-stored-details/)." - } + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"recurring\" : {\n \"contract\" : \"RECURRING\"\n },\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/listRecurringDetails", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "listRecurringDetails" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Lists the stored payment details for a shopper, if there are any available. The recurring detail ID can be used with a regular authorisation request to charge the shopper. A summary of the payment detail is returned for presentation to the shopper. For more information, refer to [Retrieve stored details](https://docs.adyen.com/classic-integration/recurring-payments/retrieve-stored-details/)." +} + ,"response": [ + ] } ] - } -, + }, { "name": "/notifyShopper", "description": "Sends a request to the issuer so they can inform the shopper about the upcoming recurring payment. This endpoint is used only for local acquiring in India. For more information, refer to [Recurring card payments in India](https://docs.adyen.com/payment-methods/cards/cards-recurring-india).", @@ -169,49 +172,101 @@ { "name": "Request issuer to notify shopper of upcoming recurring payment", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"storedPaymentMethodId\" : \"8415995487234100\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"amount\" : {\n \"currency\" : \"INR\",\n \"value\" : 1000\n },\n \"billingDate\" : \"2021-03-16\",\n \"reference\" : \"Example reference\",\n \"displayedReference\" : \"exampleDisplayedReference\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/notifyShopper", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "notifyShopper" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends a request to the issuer so they can inform the shopper about the upcoming recurring payment. This endpoint is used only for local acquiring in India. For more information, refer to [Recurring card payments in India](https://docs.adyen.com/payment-methods/cards/cards-recurring-india)." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"message\" : \"Request Processed Successfully\",\n \"resultCode\" : \"Success\",\n \"shopperNotificationReference\" : \"9915003646742627\",\n \"storedPaymentMethodId\" : \"8415995487234100\",\n \"pspReference\" : \"M5N7TQ4TG5PFWR50\",\n \"reference\" : \"Example reference\",\n \"displayedReference\" : \"exampleDisplayedReference\"\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"storedPaymentMethodId\" : \"8415995487234100\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"amount\" : {\n \"currency\" : \"INR\",\n \"value\" : 1000\n },\n \"billingDate\" : \"2021-03-16\",\n \"reference\" : \"Example reference\",\n \"displayedReference\" : \"exampleDisplayedReference\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/notifyShopper", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "notifyShopper" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends a request to the issuer so they can inform the shopper about the upcoming recurring payment. This endpoint is used only for local acquiring in India. For more information, refer to [Recurring card payments in India](https://docs.adyen.com/payment-methods/cards/cards-recurring-india)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"storedPaymentMethodId\" : \"8415995487234100\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"amount\" : {\n \"currency\" : \"INR\",\n \"value\" : 1000\n },\n \"billingDate\" : \"2021-03-16\",\n \"reference\" : \"Example reference\",\n \"displayedReference\" : \"exampleDisplayedReference\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/notifyShopper", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "notifyShopper" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends a request to the issuer so they can inform the shopper about the upcoming recurring payment. This endpoint is used only for local acquiring in India. For more information, refer to [Recurring card payments in India](https://docs.adyen.com/payment-methods/cards/cards-recurring-india)." - } + ] } ] - } -, + }, { "name": "/scheduleAccountUpdater", "description": "When making the API call, you can submit either the credit card information, or the recurring detail reference and the shopper reference: * If the card information is provided, all the sub-fields for `card` are mandatory. * If the recurring detail reference is provided, the fields for `shopperReference` and `selectedRecurringDetailReference` are mandatory.", @@ -219,92 +274,95 @@ { "name": "Schedule AccountUpdater with card data", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"reference\" : \"{{$guid}}\",\n \"card\" : {\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"Adyen Test\",\n \"number\" : \"4111111111111111\"\n }\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/scheduleAccountUpdater", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "scheduleAccountUpdater" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "When making the API call, you can submit either the credit card information, or the recurring detail reference and the shopper reference: * If the card information is provided, all the sub-fields for `card` are mandatory. * If the recurring detail reference is provided, the fields for `shopperReference` and `selectedRecurringDetailReference` are mandatory." - } + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"reference\" : \"{{$guid}}\",\n \"card\" : {\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"Adyen Test\",\n \"number\" : \"4111111111111111\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/scheduleAccountUpdater", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "scheduleAccountUpdater" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "When making the API call, you can submit either the credit card information, or the recurring detail reference and the shopper reference: * If the card information is provided, all the sub-fields for `card` are mandatory. * If the recurring detail reference is provided, the fields for `shopperReference` and `selectedRecurringDetailReference` are mandatory." +} + ,"response": [ + ] }, { "name": "Schedule AccountUpdater with token data", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"reference\" : \"{{$guid}}\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"selectedRecurringDetailReference\" : \"8814232895168272\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/scheduleAccountUpdater", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "scheduleAccountUpdater" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "When making the API call, you can submit either the credit card information, or the recurring detail reference and the shopper reference: * If the card information is provided, all the sub-fields for `card` are mandatory. * If the recurring detail reference is provided, the fields for `shopperReference` and `selectedRecurringDetailReference` are mandatory." - } + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"reference\" : \"{{$guid}}\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"selectedRecurringDetailReference\" : \"8814232895168272\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/scheduleAccountUpdater", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "scheduleAccountUpdater" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "When making the API call, you can submit either the credit card information, or the recurring detail reference and the shopper reference: * If the card information is provided, all the sub-fields for `card` are mandatory. * If the recurring detail reference is provided, the fields for `shopperReference` and `selectedRecurringDetailReference` are mandatory." +} + ,"response": [ + ] } ] } - ] } ], diff --git a/postman/RecurringService-v67.json b/postman/RecurringService-v67.json index 5687a45..f4839a8 100644 --- a/postman/RecurringService-v67.json +++ b/postman/RecurringService-v67.json @@ -19,49 +19,50 @@ { "name": "Create new permits linked to a recurring contract.", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"merchantAccount\": \"\",\n \"permits\": \"\",\n \"recurringDetailReference\": \"\",\n \"shopperReference\": \"\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/createPermit", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "createPermit" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Create permits for a recurring contract, including support for defining restrictions." - } + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"merchantAccount\": \"\",\n \"permits\": \"\",\n \"recurringDetailReference\": \"\",\n \"shopperReference\": \"\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/createPermit", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "createPermit" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Create permits for a recurring contract, including support for defining restrictions." +} + ,"response": [ + ] } ] - } -, + }, { "name": "/disable", "description": "Disables stored payment details to stop charging a shopper with this particular recurring detail ID. For more information, refer to [Disable stored details](https://docs.adyen.com/classic-integration/recurring-payments/disable-stored-details/).", @@ -69,49 +70,50 @@ { "name": "Disable a recurring contract", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"recurringDetailReference\" : \"8314442372419167\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/disable", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "disable" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Disables stored payment details to stop charging a shopper with this particular recurring detail ID. For more information, refer to [Disable stored details](https://docs.adyen.com/classic-integration/recurring-payments/disable-stored-details/)." - } + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"recurringDetailReference\" : \"8314442372419167\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/disable", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "disable" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Disables stored payment details to stop charging a shopper with this particular recurring detail ID. For more information, refer to [Disable stored details](https://docs.adyen.com/classic-integration/recurring-payments/disable-stored-details/)." +} + ,"response": [ + ] } ] - } -, + }, { "name": "/disablePermit", "description": "Disable a permit that was previously linked to a recurringDetailReference.", @@ -119,49 +121,50 @@ { "name": "Disable an existing permit.", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"merchantAccount\": \"\",\n \"token\": \"\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/disablePermit", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "disablePermit" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Disable a permit that was previously linked to a recurringDetailReference." - } + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"merchantAccount\": \"\",\n \"token\": \"\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/disablePermit", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "disablePermit" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Disable a permit that was previously linked to a recurringDetailReference." +} + ,"response": [ + ] } ] - } -, + }, { "name": "/listRecurringDetails", "description": "Lists the stored payment details for a shopper, if there are any available. The recurring detail ID can be used with a regular authorisation request to charge the shopper. A summary of the payment detail is returned for presentation to the shopper. For more information, refer to [Retrieve stored details](https://docs.adyen.com/classic-integration/recurring-payments/retrieve-stored-details/).", @@ -169,49 +172,50 @@ { "name": "List recurring details of the specified contract value", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"recurring\" : {\n \"contract\" : \"RECURRING\"\n },\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/listRecurringDetails", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "listRecurringDetails" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Lists the stored payment details for a shopper, if there are any available. The recurring detail ID can be used with a regular authorisation request to charge the shopper. A summary of the payment detail is returned for presentation to the shopper. For more information, refer to [Retrieve stored details](https://docs.adyen.com/classic-integration/recurring-payments/retrieve-stored-details/)." - } + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"recurring\" : {\n \"contract\" : \"RECURRING\"\n },\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/listRecurringDetails", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "listRecurringDetails" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Lists the stored payment details for a shopper, if there are any available. The recurring detail ID can be used with a regular authorisation request to charge the shopper. A summary of the payment detail is returned for presentation to the shopper. For more information, refer to [Retrieve stored details](https://docs.adyen.com/classic-integration/recurring-payments/retrieve-stored-details/)." +} + ,"response": [ + ] } ] - } -, + }, { "name": "/notifyShopper", "description": "Sends a request to the issuer so they can inform the shopper about the upcoming recurring payment. This endpoint is used only for local acquiring in India. For more information, refer to [Recurring card payments in India](https://docs.adyen.com/payment-methods/cards/cards-recurring-india).", @@ -219,49 +223,101 @@ { "name": "Request issuer to notify shopper of upcoming recurring payment", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"storedPaymentMethodId\" : \"8415995487234100\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"amount\" : {\n \"currency\" : \"INR\",\n \"value\" : 1000\n },\n \"billingDate\" : \"2021-03-16\",\n \"reference\" : \"Example reference\",\n \"displayedReference\" : \"exampleDisplayedReference\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/notifyShopper", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "notifyShopper" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends a request to the issuer so they can inform the shopper about the upcoming recurring payment. This endpoint is used only for local acquiring in India. For more information, refer to [Recurring card payments in India](https://docs.adyen.com/payment-methods/cards/cards-recurring-india)." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"message\" : \"Request Processed Successfully\",\n \"resultCode\" : \"Success\",\n \"shopperNotificationReference\" : \"9915003646742627\",\n \"storedPaymentMethodId\" : \"8415995487234100\",\n \"pspReference\" : \"M5N7TQ4TG5PFWR50\",\n \"reference\" : \"Example reference\",\n \"displayedReference\" : \"exampleDisplayedReference\"\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"storedPaymentMethodId\" : \"8415995487234100\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"amount\" : {\n \"currency\" : \"INR\",\n \"value\" : 1000\n },\n \"billingDate\" : \"2021-03-16\",\n \"reference\" : \"Example reference\",\n \"displayedReference\" : \"exampleDisplayedReference\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/notifyShopper", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "notifyShopper" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends a request to the issuer so they can inform the shopper about the upcoming recurring payment. This endpoint is used only for local acquiring in India. For more information, refer to [Recurring card payments in India](https://docs.adyen.com/payment-methods/cards/cards-recurring-india)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"storedPaymentMethodId\" : \"8415995487234100\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"amount\" : {\n \"currency\" : \"INR\",\n \"value\" : 1000\n },\n \"billingDate\" : \"2021-03-16\",\n \"reference\" : \"Example reference\",\n \"displayedReference\" : \"exampleDisplayedReference\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/notifyShopper", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "notifyShopper" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends a request to the issuer so they can inform the shopper about the upcoming recurring payment. This endpoint is used only for local acquiring in India. For more information, refer to [Recurring card payments in India](https://docs.adyen.com/payment-methods/cards/cards-recurring-india)." - } + ] } ] - } -, + }, { "name": "/scheduleAccountUpdater", "description": "When making the API call, you can submit either the credit card information, or the recurring detail reference and the shopper reference: * If the card information is provided, all the sub-fields for `card` are mandatory. * If the recurring detail reference is provided, the fields for `shopperReference` and `selectedRecurringDetailReference` are mandatory.", @@ -269,92 +325,95 @@ { "name": "Schedule AccountUpdater with card data", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"reference\" : \"{{$guid}}\",\n \"card\" : {\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"Adyen Test\",\n \"number\" : \"4111111111111111\"\n }\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/scheduleAccountUpdater", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "scheduleAccountUpdater" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "When making the API call, you can submit either the credit card information, or the recurring detail reference and the shopper reference: * If the card information is provided, all the sub-fields for `card` are mandatory. * If the recurring detail reference is provided, the fields for `shopperReference` and `selectedRecurringDetailReference` are mandatory." - } + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"reference\" : \"{{$guid}}\",\n \"card\" : {\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"Adyen Test\",\n \"number\" : \"4111111111111111\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/scheduleAccountUpdater", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "scheduleAccountUpdater" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "When making the API call, you can submit either the credit card information, or the recurring detail reference and the shopper reference: * If the card information is provided, all the sub-fields for `card` are mandatory. * If the recurring detail reference is provided, the fields for `shopperReference` and `selectedRecurringDetailReference` are mandatory." +} + ,"response": [ + ] }, { "name": "Schedule AccountUpdater with token data", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"reference\" : \"{{$guid}}\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"selectedRecurringDetailReference\" : \"8814232895168272\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/scheduleAccountUpdater", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "scheduleAccountUpdater" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "When making the API call, you can submit either the credit card information, or the recurring detail reference and the shopper reference: * If the card information is provided, all the sub-fields for `card` are mandatory. * If the recurring detail reference is provided, the fields for `shopperReference` and `selectedRecurringDetailReference` are mandatory." - } + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"reference\" : \"{{$guid}}\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"selectedRecurringDetailReference\" : \"8814232895168272\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/scheduleAccountUpdater", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "scheduleAccountUpdater" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "When making the API call, you can submit either the credit card information, or the recurring detail reference and the shopper reference: * If the card information is provided, all the sub-fields for `card` are mandatory. * If the recurring detail reference is provided, the fields for `shopperReference` and `selectedRecurringDetailReference` are mandatory." +} + ,"response": [ + ] } ] } - ] } ], diff --git a/postman/RecurringService-v68.json b/postman/RecurringService-v68.json index 79fe1fc..50c780d 100644 --- a/postman/RecurringService-v68.json +++ b/postman/RecurringService-v68.json @@ -19,49 +19,50 @@ { "name": "Create new permits linked to a recurring contract.", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"merchantAccount\": \"\",\n \"permits\": \"\",\n \"recurringDetailReference\": \"\",\n \"shopperReference\": \"\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/createPermit", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "createPermit" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Create permits for a recurring contract, including support for defining restrictions." - } + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"merchantAccount\": \"\",\n \"permits\": \"\",\n \"recurringDetailReference\": \"\",\n \"shopperReference\": \"\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/createPermit", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "createPermit" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Create permits for a recurring contract, including support for defining restrictions." +} + ,"response": [ + ] } ] - } -, + }, { "name": "/disable", "description": "Disables stored payment details to stop charging a shopper with this particular recurring detail ID. For more information, refer to [Disable stored details](https://docs.adyen.com/classic-integration/recurring-payments/disable-stored-details/).", @@ -69,49 +70,50 @@ { "name": "Disable a recurring contract", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"recurringDetailReference\" : \"8314442372419167\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/disable", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "disable" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Disables stored payment details to stop charging a shopper with this particular recurring detail ID. For more information, refer to [Disable stored details](https://docs.adyen.com/classic-integration/recurring-payments/disable-stored-details/)." - } + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"recurringDetailReference\" : \"8314442372419167\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/disable", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "disable" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Disables stored payment details to stop charging a shopper with this particular recurring detail ID. For more information, refer to [Disable stored details](https://docs.adyen.com/classic-integration/recurring-payments/disable-stored-details/)." +} + ,"response": [ + ] } ] - } -, + }, { "name": "/disablePermit", "description": "Disable a permit that was previously linked to a recurringDetailReference.", @@ -119,49 +121,50 @@ { "name": "Disable an existing permit.", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"merchantAccount\": \"\",\n \"token\": \"\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/disablePermit", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "disablePermit" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Disable a permit that was previously linked to a recurringDetailReference." - } + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"merchantAccount\": \"\",\n \"token\": \"\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/disablePermit", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "disablePermit" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Disable a permit that was previously linked to a recurringDetailReference." +} + ,"response": [ + ] } ] - } -, + }, { "name": "/listRecurringDetails", "description": "Lists the stored payment details for a shopper, if there are any available. The recurring detail ID can be used with a regular authorisation request to charge the shopper. A summary of the payment detail is returned for presentation to the shopper. For more information, refer to [Retrieve stored details](https://docs.adyen.com/classic-integration/recurring-payments/retrieve-stored-details/).", @@ -169,49 +172,50 @@ { "name": "List recurring details of the specified contract value", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"recurring\" : {\n \"contract\" : \"RECURRING\"\n },\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/listRecurringDetails", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "listRecurringDetails" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Lists the stored payment details for a shopper, if there are any available. The recurring detail ID can be used with a regular authorisation request to charge the shopper. A summary of the payment detail is returned for presentation to the shopper. For more information, refer to [Retrieve stored details](https://docs.adyen.com/classic-integration/recurring-payments/retrieve-stored-details/)." - } + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"recurring\" : {\n \"contract\" : \"RECURRING\"\n },\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/listRecurringDetails", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "listRecurringDetails" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Lists the stored payment details for a shopper, if there are any available. The recurring detail ID can be used with a regular authorisation request to charge the shopper. A summary of the payment detail is returned for presentation to the shopper. For more information, refer to [Retrieve stored details](https://docs.adyen.com/classic-integration/recurring-payments/retrieve-stored-details/)." +} + ,"response": [ + ] } ] - } -, + }, { "name": "/notifyShopper", "description": "Sends a request to the issuer so they can inform the shopper about the upcoming recurring payment. This endpoint is used only for local acquiring in India. For more information, refer to [Recurring card payments in India](https://docs.adyen.com/payment-methods/cards/cards-recurring-india).", @@ -219,49 +223,101 @@ { "name": "Request issuer to notify shopper of upcoming recurring payment", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"storedPaymentMethodId\" : \"8415995487234100\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"amount\" : {\n \"currency\" : \"INR\",\n \"value\" : 1000\n },\n \"billingDate\" : \"2021-03-16\",\n \"reference\" : \"Example reference\",\n \"displayedReference\" : \"exampleDisplayedReference\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/notifyShopper", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "notifyShopper" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends a request to the issuer so they can inform the shopper about the upcoming recurring payment. This endpoint is used only for local acquiring in India. For more information, refer to [Recurring card payments in India](https://docs.adyen.com/payment-methods/cards/cards-recurring-india)." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"message\" : \"Request Processed Successfully\",\n \"resultCode\" : \"Success\",\n \"shopperNotificationReference\" : \"9915003646742627\",\n \"storedPaymentMethodId\" : \"8415995487234100\",\n \"pspReference\" : \"M5N7TQ4TG5PFWR50\",\n \"reference\" : \"Example reference\",\n \"displayedReference\" : \"exampleDisplayedReference\"\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"storedPaymentMethodId\" : \"8415995487234100\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"amount\" : {\n \"currency\" : \"INR\",\n \"value\" : 1000\n },\n \"billingDate\" : \"2021-03-16\",\n \"reference\" : \"Example reference\",\n \"displayedReference\" : \"exampleDisplayedReference\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/notifyShopper", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "notifyShopper" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Sends a request to the issuer so they can inform the shopper about the upcoming recurring payment. This endpoint is used only for local acquiring in India. For more information, refer to [Recurring card payments in India](https://docs.adyen.com/payment-methods/cards/cards-recurring-india)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"storedPaymentMethodId\" : \"8415995487234100\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"amount\" : {\n \"currency\" : \"INR\",\n \"value\" : 1000\n },\n \"billingDate\" : \"2021-03-16\",\n \"reference\" : \"Example reference\",\n \"displayedReference\" : \"exampleDisplayedReference\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/notifyShopper", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "notifyShopper" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Sends a request to the issuer so they can inform the shopper about the upcoming recurring payment. This endpoint is used only for local acquiring in India. For more information, refer to [Recurring card payments in India](https://docs.adyen.com/payment-methods/cards/cards-recurring-india)." - } + ] } ] - } -, + }, { "name": "/scheduleAccountUpdater", "description": "When making the API call, you can submit either the credit card information, or the recurring detail reference and the shopper reference: * If the card information is provided, all the sub-fields for `card` are mandatory. * If the recurring detail reference is provided, the fields for `shopperReference` and `selectedRecurringDetailReference` are mandatory.", @@ -269,92 +325,95 @@ { "name": "Schedule AccountUpdater with card data", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"reference\" : \"{{$guid}}\",\n \"card\" : {\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"Adyen Test\",\n \"number\" : \"4111111111111111\"\n }\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/scheduleAccountUpdater", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "scheduleAccountUpdater" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "When making the API call, you can submit either the credit card information, or the recurring detail reference and the shopper reference: * If the card information is provided, all the sub-fields for `card` are mandatory. * If the recurring detail reference is provided, the fields for `shopperReference` and `selectedRecurringDetailReference` are mandatory." - } + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"reference\" : \"{{$guid}}\",\n \"card\" : {\n \"expiryMonth\" : \"03\",\n \"expiryYear\" : \"2030\",\n \"holderName\" : \"Adyen Test\",\n \"number\" : \"4111111111111111\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/scheduleAccountUpdater", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "scheduleAccountUpdater" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "When making the API call, you can submit either the credit card information, or the recurring detail reference and the shopper reference: * If the card information is provided, all the sub-fields for `card` are mandatory. * If the recurring detail reference is provided, the fields for `shopperReference` and `selectedRecurringDetailReference` are mandatory." +} + ,"response": [ + ] }, { "name": "Schedule AccountUpdater with token data", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"reference\" : \"{{$guid}}\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"selectedRecurringDetailReference\" : \"8814232895168272\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/scheduleAccountUpdater", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "scheduleAccountUpdater" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "When making the API call, you can submit either the credit card information, or the recurring detail reference and the shopper reference: * If the card information is provided, all the sub-fields for `card` are mandatory. * If the recurring detail reference is provided, the fields for `shopperReference` and `selectedRecurringDetailReference` are mandatory." - } + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"reference\" : \"{{$guid}}\",\n \"shopperReference\" : \"YOUR_SHOPPER_REFERENCE\",\n \"selectedRecurringDetailReference\" : \"8814232895168272\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/scheduleAccountUpdater", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "scheduleAccountUpdater" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "When making the API call, you can submit either the credit card information, or the recurring detail reference and the shopper reference: * If the card information is provided, all the sub-fields for `card` are mandatory. * If the recurring detail reference is provided, the fields for `shopperReference` and `selectedRecurringDetailReference` are mandatory." +} + ,"response": [ + ] } ] } - ] } ], diff --git a/postman/StoredValueService-v46.json b/postman/StoredValueService-v46.json index 455d745..61c3475 100644 --- a/postman/StoredValueService-v46.json +++ b/postman/StoredValueService-v46.json @@ -19,49 +19,50 @@ { "name": "Changes the status of the payment method.", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\": \"\",\n \"merchantAccount\": \"\",\n \"paymentMethod\": \"\",\n \"recurringDetailReference\": \"\",\n \"reference\": \"\",\n \"shopperInteraction\": \"\",\n \"shopperReference\": \"\",\n \"status\": \"\",\n \"store\": \"\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/changeStatus", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "changeStatus" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Changes the status of the provided payment method to the specified status." - } + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"amount\": \"\",\n \"merchantAccount\": \"\",\n \"paymentMethod\": \"\",\n \"recurringDetailReference\": \"\",\n \"reference\": \"\",\n \"shopperInteraction\": \"\",\n \"shopperReference\": \"\",\n \"status\": \"\",\n \"store\": \"\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/changeStatus", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "changeStatus" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Changes the status of the provided payment method to the specified status." +} + ,"response": [ + ] } ] - } -, + }, { "name": "/checkBalance", "description": "Checks the balance of the provided payment method.", @@ -69,49 +70,50 @@ { "name": "Checks the balance.", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\": \"\",\n \"merchantAccount\": \"\",\n \"paymentMethod\": \"\",\n \"recurringDetailReference\": \"\",\n \"reference\": \"\",\n \"shopperInteraction\": \"\",\n \"shopperReference\": \"\",\n \"store\": \"\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/checkBalance", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "checkBalance" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Checks the balance of the provided payment method." - } + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"amount\": \"\",\n \"merchantAccount\": \"\",\n \"paymentMethod\": \"\",\n \"recurringDetailReference\": \"\",\n \"reference\": \"\",\n \"shopperInteraction\": \"\",\n \"shopperReference\": \"\",\n \"store\": \"\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/checkBalance", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "checkBalance" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Checks the balance of the provided payment method." +} + ,"response": [ + ] } ] - } -, + }, { "name": "/issue", "description": "Issues a new card of the given payment method.", @@ -119,49 +121,50 @@ { "name": "Issues a new card.", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\": \"\",\n \"merchantAccount\": \"\",\n \"paymentMethod\": \"\",\n \"recurringDetailReference\": \"\",\n \"reference\": \"\",\n \"shopperInteraction\": \"\",\n \"shopperReference\": \"\",\n \"store\": \"\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/issue", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "issue" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Issues a new card of the given payment method." - } + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"amount\": \"\",\n \"merchantAccount\": \"\",\n \"paymentMethod\": \"\",\n \"recurringDetailReference\": \"\",\n \"reference\": \"\",\n \"shopperInteraction\": \"\",\n \"shopperReference\": \"\",\n \"store\": \"\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/issue", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "issue" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Issues a new card of the given payment method." +} + ,"response": [ + ] } ] - } -, + }, { "name": "/load", "description": "Loads the payment method with the specified funds.", @@ -169,49 +172,50 @@ { "name": "Loads the payment method.", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\": \"\",\n \"loadType\": \"\",\n \"merchantAccount\": \"\",\n \"paymentMethod\": \"\",\n \"recurringDetailReference\": \"\",\n \"reference\": \"\",\n \"shopperInteraction\": \"\",\n \"shopperReference\": \"\",\n \"store\": \"\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/load", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "load" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Loads the payment method with the specified funds." - } + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"amount\": \"\",\n \"loadType\": \"\",\n \"merchantAccount\": \"\",\n \"paymentMethod\": \"\",\n \"recurringDetailReference\": \"\",\n \"reference\": \"\",\n \"shopperInteraction\": \"\",\n \"shopperReference\": \"\",\n \"store\": \"\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/load", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "load" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Loads the payment method with the specified funds." +} + ,"response": [ + ] } ] - } -, + }, { "name": "/mergeBalance", "description": "Increases the balance of the paymentmethod by the full amount left on the source paymentmethod", @@ -219,49 +223,50 @@ { "name": "Merge the balance of two cards.", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\": \"\",\n \"merchantAccount\": \"\",\n \"paymentMethod\": \"\",\n \"recurringDetailReference\": \"\",\n \"reference\": \"\",\n \"shopperInteraction\": \"\",\n \"shopperReference\": \"\",\n \"sourcePaymentMethod\": \"\",\n \"store\": \"\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/mergeBalance", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "mergeBalance" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Increases the balance of the paymentmethod by the full amount left on the source paymentmethod" - } + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"amount\": \"\",\n \"merchantAccount\": \"\",\n \"paymentMethod\": \"\",\n \"recurringDetailReference\": \"\",\n \"reference\": \"\",\n \"shopperInteraction\": \"\",\n \"shopperReference\": \"\",\n \"sourcePaymentMethod\": \"\",\n \"store\": \"\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/mergeBalance", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "mergeBalance" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Increases the balance of the paymentmethod by the full amount left on the source paymentmethod" +} + ,"response": [ + ] } ] - } -, + }, { "name": "/voidTransaction", "description": "Voids the referenced stored value transaction.", @@ -269,49 +274,50 @@ { "name": "Voids a transaction.", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"merchantAccount\": \"\",\n \"originalReference\": \"\",\n \"reference\": \"\",\n \"store\": \"\",\n \"tenderReference\": \"\",\n \"uniqueTerminalId\": \"\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/voidTransaction", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "voidTransaction" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Voids the referenced stored value transaction." - } + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"merchantAccount\": \"\",\n \"originalReference\": \"\",\n \"reference\": \"\",\n \"store\": \"\",\n \"tenderReference\": \"\",\n \"uniqueTerminalId\": \"\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/voidTransaction", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "voidTransaction" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Voids the referenced stored value transaction." +} + ,"response": [ + ] } ] } - ] } ], diff --git a/postman/TestCardService-v1.json b/postman/TestCardService-v1.json index d703172..d2690f7 100644 --- a/postman/TestCardService-v1.json +++ b/postman/TestCardService-v1.json @@ -19,49 +19,50 @@ { "name": "Creates one or more test card ranges.", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"accountCode\": \"\",\n \"accountTypeCode\": \"\",\n \"testCardRanges\": \"\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/createTestCardRanges", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "createTestCardRanges" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Creates one or more test card ranges." - } + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"accountCode\": \"\",\n \"accountTypeCode\": \"\",\n \"testCardRanges\": \"\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/createTestCardRanges", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "createTestCardRanges" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Creates one or more test card ranges." +} + ,"response": [ + ] } ] } - ] } ], diff --git a/postman/TfmAPIService-v1.json b/postman/TfmAPIService-v1.json index cde87b5..bf632c5 100644 --- a/postman/TfmAPIService-v1.json +++ b/postman/TfmAPIService-v1.json @@ -19,135 +19,293 @@ { "name": "Assign a terminal to the company inventory", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"companyAccount\" : \"{{YOUR_COMPANY_ACCOUNT}}\",\n \"terminals\" : [ \"P400Plus-275479597\" ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/assignTerminals", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "assignTerminals" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Assigns one or more payment terminals to a merchant account or a store. You can also use this endpoint to reassign terminals between merchant accounts or stores, and to unassign a terminal and return it to company inventory." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"results\" : {\n \"P400Plus-275479597\" : \"RemoveConfigScheduled\"\n }\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"companyAccount\" : \"{{YOUR_COMPANY_ACCOUNT}}\",\n \"terminals\" : [ \"P400Plus-275479597\" ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/assignTerminals", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "assignTerminals" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Assigns one or more payment terminals to a merchant account or a store. You can also use this endpoint to reassign terminals between merchant accounts or stores, and to unassign a terminal and return it to company inventory." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"companyAccount\" : \"{{YOUR_COMPANY_ACCOUNT}}\",\n \"terminals\" : [ \"P400Plus-275479597\" ]\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/assignTerminals", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "assignTerminals" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Assigns one or more payment terminals to a merchant account or a store. You can also use this endpoint to reassign terminals between merchant accounts or stores, and to unassign a terminal and return it to company inventory." - } + ] }, { "name": "Assign a terminal to the inventory of a merchant account", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"companyAccount\" : \"{{YOUR_COMPANY_ACCOUNT}}\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"merchantInventory\" : true,\n \"terminals\" : [ \"P400Plus-275479597\" ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/assignTerminals", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "assignTerminals" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Assigns one or more payment terminals to a merchant account or a store. You can also use this endpoint to reassign terminals between merchant accounts or stores, and to unassign a terminal and return it to company inventory." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"results\" : {\n \"P400Plus-275479597\" : \"RemoveConfigScheduled\"\n }\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"companyAccount\" : \"{{YOUR_COMPANY_ACCOUNT}}\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"merchantInventory\" : true,\n \"terminals\" : [ \"P400Plus-275479597\" ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/assignTerminals", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "assignTerminals" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Assigns one or more payment terminals to a merchant account or a store. You can also use this endpoint to reassign terminals between merchant accounts or stores, and to unassign a terminal and return it to company inventory." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"companyAccount\" : \"{{YOUR_COMPANY_ACCOUNT}}\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"merchantInventory\" : true,\n \"terminals\" : [ \"P400Plus-275479597\" ]\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/assignTerminals", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "assignTerminals" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Assigns one or more payment terminals to a merchant account or a store. You can also use this endpoint to reassign terminals between merchant accounts or stores, and to unassign a terminal and return it to company inventory." - } + ] }, { "name": "Assign a terminal to a store", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"companyAccount\" : \"{{YOUR_COMPANY_ACCOUNT}}\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"store\" : \"YOUR_STORE\",\n \"terminals\" : [ \"P400Plus-275479597\" ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/assignTerminals", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "assignTerminals" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Assigns one or more payment terminals to a merchant account or a store. You can also use this endpoint to reassign terminals between merchant accounts or stores, and to unassign a terminal and return it to company inventory." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"results\" : {\n \"P400Plus-275479597\" : \"RemoveConfigScheduled\"\n }\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"companyAccount\" : \"{{YOUR_COMPANY_ACCOUNT}}\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"store\" : \"YOUR_STORE\",\n \"terminals\" : [ \"P400Plus-275479597\" ]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/assignTerminals", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "assignTerminals" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Assigns one or more payment terminals to a merchant account or a store. You can also use this endpoint to reassign terminals between merchant accounts or stores, and to unassign a terminal and return it to company inventory." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"companyAccount\" : \"{{YOUR_COMPANY_ACCOUNT}}\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"store\" : \"YOUR_STORE\",\n \"terminals\" : [ \"P400Plus-275479597\" ]\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/assignTerminals", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "assignTerminals" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Assigns one or more payment terminals to a merchant account or a store. You can also use this endpoint to reassign terminals between merchant accounts or stores, and to unassign a terminal and return it to company inventory." - } + ] } ] - } -, + }, { "name": "/findTerminal", "description": "Returns the company account, merchant account, or store that a payment terminal is assigned to.", @@ -155,49 +313,101 @@ { "name": "Find where a terminal is assigned to", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"terminal\" : \"M400-401972715\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/findTerminal", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "findTerminal" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Returns the company account, merchant account, or store that a payment terminal is assigned to." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"companyAccount\" : \"YOUR_COMPANY_ACCOUNT\",\n \"merchantAccount\" : \"YOUR_MERCHANT_ACCOUNT\",\n \"merchantInventory\" : false,\n \"store\" : \"YOUR_STORE\",\n \"terminal\" : \"M400-401972715\"\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"terminal\" : \"M400-401972715\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/findTerminal", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "findTerminal" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Returns the company account, merchant account, or store that a payment terminal is assigned to." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"terminal\" : \"M400-401972715\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/findTerminal", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "findTerminal" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Returns the company account, merchant account, or store that a payment terminal is assigned to." - } + ] } ] - } -, + }, { "name": "/getStoresUnderAccount", "description": "Returns a list of stores associated with a company account or a merchant account, including the status of each store.", @@ -205,92 +415,197 @@ { "name": "Get all the stores under a company", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"companyAccount\" : \"{{YOUR_COMPANY_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/getStoresUnderAccount", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "getStoresUnderAccount" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Returns a list of stores associated with a company account or a merchant account, including the status of each store." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"stores\" : [ {\n \"store\" : \"YOUR_STORE\",\n \"description\" : \"YOUR_STORE\",\n \"address\" : {\n \"city\" : \"The City\",\n \"countryCode\" : \"NL\",\n \"postalCode\" : \"1234\",\n \"streetAddress\" : \"The Street\"\n },\n \"status\" : \"Active\",\n \"merchantAccountCode\" : \"YOUR_MERCHANT_ACCOUNT\"\n } ]\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"companyAccount\" : \"{{YOUR_COMPANY_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/getStoresUnderAccount", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "getStoresUnderAccount" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Returns a list of stores associated with a company account or a merchant account, including the status of each store." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"companyAccount\" : \"{{YOUR_COMPANY_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/getStoresUnderAccount", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "getStoresUnderAccount" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Returns a list of stores associated with a company account or a merchant account, including the status of each store." - } + ] }, { "name": "Get all the stores under a merchant account", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"companyAccount\" : \"{{YOUR_COMPANY_ACCOUNT}}\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/getStoresUnderAccount", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "getStoresUnderAccount" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Returns a list of stores associated with a company account or a merchant account, including the status of each store." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"stores\" : [ {\n \"store\" : \"YOUR_STORE\",\n \"description\" : \"YOUR_STORE\",\n \"address\" : {\n \"city\" : \"The City\",\n \"countryCode\" : \"NL\",\n \"postalCode\" : \"1234\",\n \"streetAddress\" : \"The Street\"\n },\n \"status\" : \"Active\",\n \"merchantAccountCode\" : \"YOUR_MERCHANT_ACCOUNT\"\n } ]\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"companyAccount\" : \"{{YOUR_COMPANY_ACCOUNT}}\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/getStoresUnderAccount", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "getStoresUnderAccount" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Returns a list of stores associated with a company account or a merchant account, including the status of each store." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"companyAccount\" : \"{{YOUR_COMPANY_ACCOUNT}}\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/getStoresUnderAccount", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "getStoresUnderAccount" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Returns a list of stores associated with a company account or a merchant account, including the status of each store." - } + ] } ] - } -, + }, { "name": "/getTerminalDetails", "description": "Returns the details of a payment terminal, including where the terminal is assigned to. The response returns the same details that are provided in the terminal list in your Customer Area and in the Terminal Fleet report.", @@ -298,49 +613,101 @@ { "name": "Get information about a specific terminal", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"terminal\" : \"M400-401972715\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/getTerminalDetails", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "getTerminalDetails" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Returns the details of a payment terminal, including where the terminal is assigned to. The response returns the same details that are provided in the terminal list in your Customer Area and in the Terminal Fleet report." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"companyAccount\" : \"YOUR_COMPANY_ACCOUNT\",\n \"merchantAccount\" : \"YOUR_MERCHANT_ACCOUNT\",\n \"merchantInventory\" : false,\n \"store\" : \"YOUR_STORE\",\n \"terminal\" : \"M400-401972715\",\n \"deviceModel\" : \"M400\",\n \"serialNumber\" : \"401-972-715\",\n \"permanentTerminalId\" : \"88912016\",\n \"terminalStatus\" : \"SwitchedOff\",\n \"firmwareVersion\" : \"Verifone_VOS 1.57.6\",\n \"country\" : \"NETHERLANDS\",\n \"storeDetails\" : {\n \"store\" : \"YOUR_STORE\",\n \"description\" : \"TestStore\",\n \"address\" : {\n \"city\" : \"The City\",\n \"countryCode\" : \"NL\",\n \"postalCode\" : \"1234\",\n \"streetAddress\" : \"The Street\"\n }\n },\n \"ethernetMac\" : \"60:c7:98:5a:69:cd\",\n \"ethernetIp\" : \"192.168.2.11\",\n \"wifiMac\" : \"c4:ac:59:47:f3:71\",\n \"wifiIp\" : \"192.168.2.12\",\n \"dhcpEnabled\" : false\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"terminal\" : \"M400-401972715\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/getTerminalDetails", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "getTerminalDetails" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Returns the details of a payment terminal, including where the terminal is assigned to. The response returns the same details that are provided in the terminal list in your Customer Area and in the Terminal Fleet report." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"terminal\" : \"M400-401972715\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/getTerminalDetails", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "getTerminalDetails" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Returns the details of a payment terminal, including where the terminal is assigned to. The response returns the same details that are provided in the terminal list in your Customer Area and in the Terminal Fleet report." - } + ] } ] - } -, + }, { "name": "/getTerminalsUnderAccount", "description": "Returns a list of payment terminals associated with a company account, merchant account, or store. The response shows whether the terminals are in the inventory, or in-store (ready for boarding or already boarded).", @@ -348,135 +715,293 @@ { "name": "Get all the terminals under a company account", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"companyAccount\" : \"{{YOUR_COMPANY_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/getTerminalsUnderAccount", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "getTerminalsUnderAccount" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Returns a list of payment terminals associated with a company account, merchant account, or store. The response shows whether the terminals are in the inventory, or in-store (ready for boarding or already boarded)." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"companyAccount\" : \"YOUR_COMPANY_ACCOUNT\",\n \"merchantAccounts\" : [ {\n \"merchantAccount\" : \"YOUR_MERCHANT_ACCOUNT\",\n \"inStoreTerminals\" : [ \"P400Plus-275479597\" ],\n \"stores\" : [ {\n \"store\" : \"YOUR_STORE\",\n \"inStoreTerminals\" : [ \"M400-401972715\" ]\n } ]\n } ]\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"companyAccount\" : \"{{YOUR_COMPANY_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/getTerminalsUnderAccount", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "getTerminalsUnderAccount" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Returns a list of payment terminals associated with a company account, merchant account, or store. The response shows whether the terminals are in the inventory, or in-store (ready for boarding or already boarded)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"companyAccount\" : \"{{YOUR_COMPANY_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/getTerminalsUnderAccount", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "getTerminalsUnderAccount" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Returns a list of payment terminals associated with a company account, merchant account, or store. The response shows whether the terminals are in the inventory, or in-store (ready for boarding or already boarded)." - } + ] }, { "name": "Get all the terminals under a merchant account", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"companyAccount\" : \"{{YOUR_COMPANY_ACCOUNT}}\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/getTerminalsUnderAccount", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "getTerminalsUnderAccount" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Returns a list of payment terminals associated with a company account, merchant account, or store. The response shows whether the terminals are in the inventory, or in-store (ready for boarding or already boarded)." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"companyAccount\" : \"YOUR_COMPANY_ACCOUNT\",\n \"merchantAccounts\" : [ {\n \"merchantAccount\" : \"YOUR_MERCHANT_ACCOUNT\",\n \"inStoreTerminals\" : [ \"P400Plus-275479597\" ],\n \"stores\" : [ {\n \"store\" : \"YOUR_STORE\",\n \"inStoreTerminals\" : [ \"M400-401972715\" ]\n } ]\n } ]\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"companyAccount\" : \"{{YOUR_COMPANY_ACCOUNT}}\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/getTerminalsUnderAccount", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "getTerminalsUnderAccount" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Returns a list of payment terminals associated with a company account, merchant account, or store. The response shows whether the terminals are in the inventory, or in-store (ready for boarding or already boarded)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"companyAccount\" : \"{{YOUR_COMPANY_ACCOUNT}}\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/getTerminalsUnderAccount", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "getTerminalsUnderAccount" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Returns a list of payment terminals associated with a company account, merchant account, or store. The response shows whether the terminals are in the inventory, or in-store (ready for boarding or already boarded)." - } + ] }, { "name": "Get all the terminals assigned to a store", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"companyAccount\" : \"{{YOUR_COMPANY_ACCOUNT}}\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"store\" : \"YOUR_STORE\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/getTerminalsUnderAccount", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "getTerminalsUnderAccount" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Returns a list of payment terminals associated with a company account, merchant account, or store. The response shows whether the terminals are in the inventory, or in-store (ready for boarding or already boarded)." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"companyAccount\" : \"YOUR_COMPANY_ACCOUNT\",\n \"merchantAccounts\" : [ {\n \"merchantAccount\" : \"YOUR_MERCHANT_ACCOUNT\",\n \"stores\" : [ {\n \"store\" : \"YOUR_STORE\",\n \"inStoreTerminals\" : [ \"M400-401972715\" ]\n } ]\n } ]\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"companyAccount\" : \"{{YOUR_COMPANY_ACCOUNT}}\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"store\" : \"YOUR_STORE\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/getTerminalsUnderAccount", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "getTerminalsUnderAccount" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Returns a list of payment terminals associated with a company account, merchant account, or store. The response shows whether the terminals are in the inventory, or in-store (ready for boarding or already boarded)." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"companyAccount\" : \"{{YOUR_COMPANY_ACCOUNT}}\",\n \"merchantAccount\" : \"{{YOUR_MERCHANT_ACCOUNT}}\",\n \"store\" : \"YOUR_STORE\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/getTerminalsUnderAccount", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "getTerminalsUnderAccount" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Returns a list of payment terminals associated with a company account, merchant account, or store. The response shows whether the terminals are in the inventory, or in-store (ready for boarding or already boarded)." - } + ] } ] } - ] } ], diff --git a/postman/TransferService-v1.json b/postman/TransferService-v1.json index 2f887c4..b596e1c 100644 --- a/postman/TransferService-v1.json +++ b/postman/TransferService-v1.json @@ -19,91 +19,92 @@ { "name": "Get all transactions", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/transactions", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "transactions" - ], - "variable": [ - ], - "query": [ - { - "key": "balancePlatform", - "value": "balancePlatform_example", - "description": "The unique identifier of the [balance platform](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/get/balancePlatforms/{id}__queryParam_id). Required if you don't provide a `balanceAccountId` or `accountHolderId`.", - "disabled": true - }, - { - "key": "paymentInstrumentId", - "value": "paymentInstrumentId_example", - "description": "The unique identifier of the [payment instrument](https://docs.adyen.com/api-explorer/balanceplatform/latest/get/paymentInstruments/_id_). To use this parameter, you must also provide a `balanceAccountId`, `accountHolderId`, or `balancePlatform`. The `paymentInstrumentId` must be related to the `balanceAccountId` or `accountHolderId` that you provide.", - "disabled": true - }, - { - "key": "accountHolderId", - "value": "accountHolderId_example", - "description": "The unique identifier of the [account holder](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/get/accountHolders/{id}__queryParam_id). Required if you don't provide a `balanceAccountId` or `balancePlatform`. If you provide a `balanceAccountId`, the `accountHolderId` must be related to the `balanceAccountId`.", - "disabled": true - }, - { - "key": "balanceAccountId", - "value": "balanceAccountId_example", - "description": "The unique identifier of the [balance account](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/get/balanceAccounts/{id}__queryParam_id). Required if you don't provide an `accountHolderId` or `balancePlatform`. If you provide an `accountHolderId`, the `balanceAccountId` must be related to the `accountHolderId`.", - "disabled": true - }, - { - "key": "cursor", - "value": "cursor_example", - "description": "The `cursor` returned in the links of the previous response.", - "disabled": true - }, - { - "key": "createdSince", - "value": "2013-10-20T19:20:30+01:00", - "description": "Only include transactions that have been created on or after this point in time. The value must be in ISO 8601 format. For example, **2021-05-30T15:07:40Z**.", - "disabled": false - }, - { - "key": "createdUntil", - "value": "2013-10-20T19:20:30+01:00", - "description": "Only include transactions that have been created on or before this point in time. The value must be in ISO 8601 format. For example, **2021-05-30T15:07:40Z**.", - "disabled": false - }, - { - "key": "limit", - "value": "56", - "description": "The number of items returned per page, maximum of 100 items. By default, the response returns 10 items per page.", - "disabled": true - } - ] - }, - "description": ">Versions 1 and 2 of the Transfers API are deprecated. If you are just starting your implementation, use the latest version. Returns all the transactions related to a balance account, account holder, or balance platform. When making this request, you must include at least one of the following: - `balanceAccountId` - `accountHolderId` - `balancePlatform`. This endpoint supports cursor-based pagination. The response returns the first page of results, and returns links to the next and previous pages when applicable. You can use the links to page through the results. " - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/transactions", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "transactions" + ], + "variable": [ + ], + "query": [ + { + "key": "balancePlatform", + "value": "balancePlatform_example", + "description": "The unique identifier of the [balance platform](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/get/balancePlatforms/{id}__queryParam_id). Required if you don't provide a `balanceAccountId` or `accountHolderId`.", + "disabled": true + }, + { + "key": "paymentInstrumentId", + "value": "paymentInstrumentId_example", + "description": "The unique identifier of the [payment instrument](https://docs.adyen.com/api-explorer/balanceplatform/latest/get/paymentInstruments/_id_). To use this parameter, you must also provide a `balanceAccountId`, `accountHolderId`, or `balancePlatform`. The `paymentInstrumentId` must be related to the `balanceAccountId` or `accountHolderId` that you provide.", + "disabled": true + }, + { + "key": "accountHolderId", + "value": "accountHolderId_example", + "description": "The unique identifier of the [account holder](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/get/accountHolders/{id}__queryParam_id). Required if you don't provide a `balanceAccountId` or `balancePlatform`. If you provide a `balanceAccountId`, the `accountHolderId` must be related to the `balanceAccountId`.", + "disabled": true + }, + { + "key": "balanceAccountId", + "value": "balanceAccountId_example", + "description": "The unique identifier of the [balance account](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/get/balanceAccounts/{id}__queryParam_id). Required if you don't provide an `accountHolderId` or `balancePlatform`. If you provide an `accountHolderId`, the `balanceAccountId` must be related to the `accountHolderId`.", + "disabled": true + }, + { + "key": "cursor", + "value": "cursor_example", + "description": "The `cursor` returned in the links of the previous response.", + "disabled": true + }, + { + "key": "createdSince", + "value": "2013-10-20T19:20:30+01:00", + "description": "Only include transactions that have been created on or after this point in time. The value must be in ISO 8601 format. For example, **2021-05-30T15:07:40Z**.", + "disabled": false + }, + { + "key": "createdUntil", + "value": "2013-10-20T19:20:30+01:00", + "description": "Only include transactions that have been created on or before this point in time. The value must be in ISO 8601 format. For example, **2021-05-30T15:07:40Z**.", + "disabled": false + }, + { + "key": "limit", + "value": "56", + "description": "The number of items returned per page, maximum of 100 items. By default, the response returns 10 items per page.", + "disabled": true + } + ] + }, + "description": ">Versions 1 and 2 of the Transfers API are deprecated. If you are just starting your implementation, use the latest version. Returns all the transactions related to a balance account, account holder, or balance platform. When making this request, you must include at least one of the following: - `balanceAccountId` - `accountHolderId` - `balancePlatform`. This endpoint supports cursor-based pagination. The response returns the first page of results, and returns links to the next and previous pages when applicable. You can use the links to page through the results. " +} + ,"response": [ + ] } ] - } -, + }, { "name": "/transactions/:id", "description": ">Versions 1 and 2 of the Transfers API are deprecated. If you are just starting your implementation, use the latest version. Returns a transaction.", @@ -111,49 +112,50 @@ { "name": "Get a transaction", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/transactions/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "transactions", - ":id" - ], - "variable": [ - { - "key": "id", - "value": "", - "description": "The unique identifier of the transaction." - } - ], - "query": [ - ] - }, - "description": ">Versions 1 and 2 of the Transfers API are deprecated. If you are just starting your implementation, use the latest version. Returns a transaction." - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/transactions/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "transactions", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "The unique identifier of the transaction." + } + ], + "query": [ + ] + }, + "description": ">Versions 1 and 2 of the Transfers API are deprecated. If you are just starting your implementation, use the latest version. Returns a transaction." +} + ,"response": [ + ] } ] } - ] }, { @@ -166,104 +168,221 @@ { "name": "Transfer funds to another balance account", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "WWW-Authenticate", - "value": "", - "description": "Header for authenticating through SCA", - "disabled": true + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "WWW-Authenticate", + "value": "", + "description": "Header for authenticating through SCA", + "disabled": true + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"source\" : {\n \"balanceAccountId\" : \"BAB8B2C3D4E5F6G7H8D9J6GD4\"\n },\n \"destination\" : {\n \"balanceAccountId\" : \"BAB1234567890ABC123456789\"\n },\n \"amount\" : {\n \"value\" : 10000,\n \"currency\" : \"EUR\"\n },\n \"reference\" : \"Your internal reference for the transfer\",\n \"description\" : \"Your description\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/transfers", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "transfers" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": ">Versions 1 and 2 of the Transfers API are deprecated. If you are just starting your implementation, use the latest version. Starts a transfer request to move funds within your balance platform, or send funds to a [transfer instrument](https://docs.adyen.com/api-explorer/#/legalentity/v1/post/transferInstruments). Adyen sends the outcome of the transfer request through webhooks. To use this endpoint, you need an additional role for your API credential and transfers must be enabled for the source balance account. Your Adyen contact will set these up for you." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"id\" : \"1W1UG35U8A9J5ZLG\",\n \"source\" : {\n \"balanceAccountId\" : \"BAB8B2C3D4E5F6G7H8D9J6GD4\"\n },\n \"destination\" : {\n \"balanceAccountId\" : \"BAB1234567890ABC123456789\"\n },\n \"amount\" : {\n \"value\" : 10000,\n \"currency\" : \"EUR\"\n },\n \"resultCode\" : \"Authorised\"\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "WWW-Authenticate", + "value": "", + "description": "Header for authenticating through SCA", + "disabled": true + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"source\" : {\n \"balanceAccountId\" : \"BAB8B2C3D4E5F6G7H8D9J6GD4\"\n },\n \"destination\" : {\n \"balanceAccountId\" : \"BAB1234567890ABC123456789\"\n },\n \"amount\" : {\n \"value\" : 10000,\n \"currency\" : \"EUR\"\n },\n \"reference\" : \"Your internal reference for the transfer\",\n \"description\" : \"Your description\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/transfers", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "transfers" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": ">Versions 1 and 2 of the Transfers API are deprecated. If you are just starting your implementation, use the latest version. Starts a transfer request to move funds within your balance platform, or send funds to a [transfer instrument](https://docs.adyen.com/api-explorer/#/legalentity/v1/post/transferInstruments). Adyen sends the outcome of the transfer request through webhooks. To use this endpoint, you need an additional role for your API credential and transfers must be enabled for the source balance account. Your Adyen contact will set these up for you." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"source\" : {\n \"balanceAccountId\" : \"BAB8B2C3D4E5F6G7H8D9J6GD4\"\n },\n \"destination\" : {\n \"balanceAccountId\" : \"BAB1234567890ABC123456789\"\n },\n \"amount\" : {\n \"value\" : 10000,\n \"currency\" : \"EUR\"\n },\n \"reference\" : \"Your internal reference for the transfer\",\n \"description\" : \"Your description\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/transfers", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "transfers" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": ">Versions 1 and 2 of the Transfers API are deprecated. If you are just starting your implementation, use the latest version. Starts a transfer request to move funds within your balance platform, or send funds to a [transfer instrument](https://docs.adyen.com/api-explorer/#/legalentity/v1/post/transferInstruments). Adyen sends the outcome of the transfer request through webhooks. To use this endpoint, you need an additional role for your API credential and transfers must be enabled for the source balance account. Your Adyen contact will set these up for you." - } + ] }, { "name": "Pay out to a transfer instrument", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "WWW-Authenticate", - "value": "", - "description": "Header for authenticating through SCA", - "disabled": true + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "WWW-Authenticate", + "value": "", + "description": "Header for authenticating through SCA", + "disabled": true + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"source\" : {\n \"balanceAccountId\" : \"BAB8B2C3D4E5F6G7H8D9J6GD4\"\n },\n \"destination\" : {\n \"transferInstrumentId\" : \"SE1234567890ABC1234567890\"\n },\n \"amount\" : {\n \"value\" : 10000,\n \"currency\" : \"EUR\"\n },\n \"reference\" : \"Your internal reference for the transfer\",\n \"description\" : \"Your description\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/transfers", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "transfers" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": ">Versions 1 and 2 of the Transfers API are deprecated. If you are just starting your implementation, use the latest version. Starts a transfer request to move funds within your balance platform, or send funds to a [transfer instrument](https://docs.adyen.com/api-explorer/#/legalentity/v1/post/transferInstruments). Adyen sends the outcome of the transfer request through webhooks. To use this endpoint, you need an additional role for your API credential and transfers must be enabled for the source balance account. Your Adyen contact will set these up for you." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"id\" : \"1W1UG35U8A9J5ZLG\",\n \"source\" : {\n \"balanceAccountId\" : \"BAB8B2C3D4E5F6G7H8D9J6GD4\"\n },\n \"destination\" : {\n \"transferInstrumentId\" : \"SE1234567890ABC1234567890\"\n },\n \"amount\" : {\n \"value\" : 10000,\n \"currency\" : \"EUR\"\n },\n \"resultCode\" : \"Authorised\"\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "WWW-Authenticate", + "value": "", + "description": "Header for authenticating through SCA", + "disabled": true + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"source\" : {\n \"balanceAccountId\" : \"BAB8B2C3D4E5F6G7H8D9J6GD4\"\n },\n \"destination\" : {\n \"transferInstrumentId\" : \"SE1234567890ABC1234567890\"\n },\n \"amount\" : {\n \"value\" : 10000,\n \"currency\" : \"EUR\"\n },\n \"reference\" : \"Your internal reference for the transfer\",\n \"description\" : \"Your description\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/transfers", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "transfers" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": ">Versions 1 and 2 of the Transfers API are deprecated. If you are just starting your implementation, use the latest version. Starts a transfer request to move funds within your balance platform, or send funds to a [transfer instrument](https://docs.adyen.com/api-explorer/#/legalentity/v1/post/transferInstruments). Adyen sends the outcome of the transfer request through webhooks. To use this endpoint, you need an additional role for your API credential and transfers must be enabled for the source balance account. Your Adyen contact will set these up for you." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"source\" : {\n \"balanceAccountId\" : \"BAB8B2C3D4E5F6G7H8D9J6GD4\"\n },\n \"destination\" : {\n \"transferInstrumentId\" : \"SE1234567890ABC1234567890\"\n },\n \"amount\" : {\n \"value\" : 10000,\n \"currency\" : \"EUR\"\n },\n \"reference\" : \"Your internal reference for the transfer\",\n \"description\" : \"Your description\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/transfers", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "transfers" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": ">Versions 1 and 2 of the Transfers API are deprecated. If you are just starting your implementation, use the latest version. Starts a transfer request to move funds within your balance platform, or send funds to a [transfer instrument](https://docs.adyen.com/api-explorer/#/legalentity/v1/post/transferInstruments). Adyen sends the outcome of the transfer request through webhooks. To use this endpoint, you need an additional role for your API credential and transfers must be enabled for the source balance account. Your Adyen contact will set these up for you." - } + ] } ] } - ] } ], diff --git a/postman/TransferService-v2.json b/postman/TransferService-v2.json index 1986067..7c191f2 100644 --- a/postman/TransferService-v2.json +++ b/postman/TransferService-v2.json @@ -19,91 +19,92 @@ { "name": "Get all transactions", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/transactions", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "transactions" - ], - "variable": [ - ], - "query": [ - { - "key": "balancePlatform", - "value": "balancePlatform_example", - "description": "The unique identifier of the [balance platform](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/get/balancePlatforms/{id}__queryParam_id). Required if you don't provide a `balanceAccountId` or `accountHolderId`.", - "disabled": true - }, - { - "key": "paymentInstrumentId", - "value": "paymentInstrumentId_example", - "description": "The unique identifier of the [payment instrument](https://docs.adyen.com/api-explorer/balanceplatform/latest/get/paymentInstruments/_id_). To use this parameter, you must also provide a `balanceAccountId`, `accountHolderId`, or `balancePlatform`. The `paymentInstrumentId` must be related to the `balanceAccountId` or `accountHolderId` that you provide.", - "disabled": true - }, - { - "key": "accountHolderId", - "value": "accountHolderId_example", - "description": "The unique identifier of the [account holder](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/get/accountHolders/{id}__queryParam_id). Required if you don't provide a `balanceAccountId` or `balancePlatform`. If you provide a `balanceAccountId`, the `accountHolderId` must be related to the `balanceAccountId`.", - "disabled": true - }, - { - "key": "balanceAccountId", - "value": "balanceAccountId_example", - "description": "The unique identifier of the [balance account](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/get/balanceAccounts/{id}__queryParam_id). Required if you don't provide an `accountHolderId` or `balancePlatform`. If you provide an `accountHolderId`, the `balanceAccountId` must be related to the `accountHolderId`.", - "disabled": true - }, - { - "key": "cursor", - "value": "cursor_example", - "description": "The `cursor` returned in the links of the previous response.", - "disabled": true - }, - { - "key": "createdSince", - "value": "2013-10-20T19:20:30+01:00", - "description": "Only include transactions that have been created on or after this point in time. The value must be in ISO 8601 format. For example, **2021-05-30T15:07:40Z**.", - "disabled": false - }, - { - "key": "createdUntil", - "value": "2013-10-20T19:20:30+01:00", - "description": "Only include transactions that have been created on or before this point in time. The value must be in ISO 8601 format. For example, **2021-05-30T15:07:40Z**.", - "disabled": false - }, - { - "key": "limit", - "value": "56", - "description": "The number of items returned per page, maximum of 100 items. By default, the response returns 10 items per page.", - "disabled": true - } - ] - }, - "description": ">Versions 1 and 2 of the Transfers API are deprecated. If you are just starting your implementation, use the latest version. Returns all the transactions related to a balance account, account holder, or balance platform. When making this request, you must include at least one of the following: - `balanceAccountId` - `accountHolderId` - `balancePlatform`. This endpoint supports cursor-based pagination. The response returns the first page of results, and returns links to the next and previous pages when applicable. You can use the links to page through the results. " - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/transactions", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "transactions" + ], + "variable": [ + ], + "query": [ + { + "key": "balancePlatform", + "value": "balancePlatform_example", + "description": "The unique identifier of the [balance platform](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/get/balancePlatforms/{id}__queryParam_id). Required if you don't provide a `balanceAccountId` or `accountHolderId`.", + "disabled": true + }, + { + "key": "paymentInstrumentId", + "value": "paymentInstrumentId_example", + "description": "The unique identifier of the [payment instrument](https://docs.adyen.com/api-explorer/balanceplatform/latest/get/paymentInstruments/_id_). To use this parameter, you must also provide a `balanceAccountId`, `accountHolderId`, or `balancePlatform`. The `paymentInstrumentId` must be related to the `balanceAccountId` or `accountHolderId` that you provide.", + "disabled": true + }, + { + "key": "accountHolderId", + "value": "accountHolderId_example", + "description": "The unique identifier of the [account holder](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/get/accountHolders/{id}__queryParam_id). Required if you don't provide a `balanceAccountId` or `balancePlatform`. If you provide a `balanceAccountId`, the `accountHolderId` must be related to the `balanceAccountId`.", + "disabled": true + }, + { + "key": "balanceAccountId", + "value": "balanceAccountId_example", + "description": "The unique identifier of the [balance account](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/get/balanceAccounts/{id}__queryParam_id). Required if you don't provide an `accountHolderId` or `balancePlatform`. If you provide an `accountHolderId`, the `balanceAccountId` must be related to the `accountHolderId`.", + "disabled": true + }, + { + "key": "cursor", + "value": "cursor_example", + "description": "The `cursor` returned in the links of the previous response.", + "disabled": true + }, + { + "key": "createdSince", + "value": "2013-10-20T19:20:30+01:00", + "description": "Only include transactions that have been created on or after this point in time. The value must be in ISO 8601 format. For example, **2021-05-30T15:07:40Z**.", + "disabled": false + }, + { + "key": "createdUntil", + "value": "2013-10-20T19:20:30+01:00", + "description": "Only include transactions that have been created on or before this point in time. The value must be in ISO 8601 format. For example, **2021-05-30T15:07:40Z**.", + "disabled": false + }, + { + "key": "limit", + "value": "56", + "description": "The number of items returned per page, maximum of 100 items. By default, the response returns 10 items per page.", + "disabled": true + } + ] + }, + "description": ">Versions 1 and 2 of the Transfers API are deprecated. If you are just starting your implementation, use the latest version. Returns all the transactions related to a balance account, account holder, or balance platform. When making this request, you must include at least one of the following: - `balanceAccountId` - `accountHolderId` - `balancePlatform`. This endpoint supports cursor-based pagination. The response returns the first page of results, and returns links to the next and previous pages when applicable. You can use the links to page through the results. " +} + ,"response": [ + ] } ] - } -, + }, { "name": "/transactions/:id", "description": ">Versions 1 and 2 of the Transfers API are deprecated. If you are just starting your implementation, use the latest version. Returns a transaction.", @@ -111,49 +112,50 @@ { "name": "Get a transaction", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/transactions/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "transactions", - ":id" - ], - "variable": [ - { - "key": "id", - "value": "", - "description": "The unique identifier of the transaction." - } - ], - "query": [ - ] - }, - "description": ">Versions 1 and 2 of the Transfers API are deprecated. If you are just starting your implementation, use the latest version. Returns a transaction." - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/transactions/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "transactions", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "The unique identifier of the transaction." + } + ], + "query": [ + ] + }, + "description": ">Versions 1 and 2 of the Transfers API are deprecated. If you are just starting your implementation, use the latest version. Returns a transaction." +} + ,"response": [ + ] } ] } - ] }, { @@ -166,153 +168,329 @@ { "name": "Make a SEPA funds transfer", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "WWW-Authenticate", - "value": "", - "description": "Header for authenticating through SCA", - "disabled": true + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "WWW-Authenticate", + "value": "", + "description": "Header for authenticating through SCA", + "disabled": true + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"amount\" : {\n \"value\" : 110000,\n \"currency\" : \"EUR\"\n },\n \"balanceAccountId\" : \"BAB8B2C3D4E5F6G7H8D9J6GD4\",\n \"counterparty\" : {\n \"bankAccount\" : {\n \"iban\" : \"NL13TEST0123456789\",\n \"ownerName\" : {\n \"fullName\" : \"A. Klaassen\"\n }\n }\n },\n \"bank\" : {\n \"priority\" : \"regular\"\n },\n \"referenceForBeneficiary\" : \"Your reference sent to the beneficiary\",\n \"reference\" : \"Your internal reference for the transfer\",\n \"description\" : \"Your description\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/transfers", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "transfers" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": ">Versions 1 and 2 of the Transfers API are deprecated. If you are just starting your implementation, use the latest version. Starts a request to transfer funds to [balance accounts](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/post/balanceAccounts), [transfer instruments](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/transferInstruments), or third-party bank accounts. Adyen sends the outcome of the transfer request through webhooks. To use this endpoint, you need an additional role for your API credential and transfers must be enabled for the source balance account. Your Adyen contact will set these up for you." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"id\" : \"1W1UG35U8A9J5ZLG\",\n \"amount\" : {\n \"value\" : 110000,\n \"currency\" : \"EUR\"\n },\n \"balanceAccountId\" : \"BAB8B2C3D4E5F6G7H8D9J6GD4\",\n \"counterparty\" : {\n \"bankAccount\" : {\n \"iban\" : \"NL13TEST0123456789\",\n \"ownerName\" : {\n \"fullName\" : \"A. Klaassen\"\n }\n }\n },\n \"bank\" : {\n \"priority\" : \"regular\"\n },\n \"referenceForBeneficiary\" : \"Your reference sent to the beneficiary\",\n \"reference\" : \"Your internal reference for the transfer\",\n \"description\" : \"Your description\",\n \"direction\" : \"outgoing\",\n \"reason\" : \"approved\",\n \"status\" : \"authorised\"\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "WWW-Authenticate", + "value": "", + "description": "Header for authenticating through SCA", + "disabled": true + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"amount\" : {\n \"value\" : 110000,\n \"currency\" : \"EUR\"\n },\n \"balanceAccountId\" : \"BAB8B2C3D4E5F6G7H8D9J6GD4\",\n \"counterparty\" : {\n \"bankAccount\" : {\n \"iban\" : \"NL13TEST0123456789\",\n \"ownerName\" : {\n \"fullName\" : \"A. Klaassen\"\n }\n }\n },\n \"bank\" : {\n \"priority\" : \"regular\"\n },\n \"referenceForBeneficiary\" : \"Your reference sent to the beneficiary\",\n \"reference\" : \"Your internal reference for the transfer\",\n \"description\" : \"Your description\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/transfers", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "transfers" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": ">Versions 1 and 2 of the Transfers API are deprecated. If you are just starting your implementation, use the latest version. Starts a request to transfer funds to [balance accounts](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/post/balanceAccounts), [transfer instruments](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/transferInstruments), or third-party bank accounts. Adyen sends the outcome of the transfer request through webhooks. To use this endpoint, you need an additional role for your API credential and transfers must be enabled for the source balance account. Your Adyen contact will set these up for you." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"value\" : 110000,\n \"currency\" : \"EUR\"\n },\n \"balanceAccountId\" : \"BAB8B2C3D4E5F6G7H8D9J6GD4\",\n \"counterparty\" : {\n \"bankAccount\" : {\n \"iban\" : \"NL13TEST0123456789\",\n \"ownerName\" : {\n \"fullName\" : \"A. Klaassen\"\n }\n }\n },\n \"bank\" : {\n \"priority\" : \"regular\"\n },\n \"referenceForBeneficiary\" : \"Your reference sent to the beneficiary\",\n \"reference\" : \"Your internal reference for the transfer\",\n \"description\" : \"Your description\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/transfers", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "transfers" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": ">Versions 1 and 2 of the Transfers API are deprecated. If you are just starting your implementation, use the latest version. Starts a request to transfer funds to [balance accounts](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/post/balanceAccounts), [transfer instruments](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/transferInstruments), or third-party bank accounts. Adyen sends the outcome of the transfer request through webhooks. To use this endpoint, you need an additional role for your API credential and transfers must be enabled for the source balance account. Your Adyen contact will set these up for you." - } + ] }, { "name": "Transfer funds to another balance account", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "WWW-Authenticate", - "value": "", - "description": "Header for authenticating through SCA", - "disabled": true + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "WWW-Authenticate", + "value": "", + "description": "Header for authenticating through SCA", + "disabled": true + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"balanceAccountId\" : \"BAB8B2C3D4E5F6G7H8D9J6GD4\",\n \"counterparty\" : {\n \"balanceAccountId\" : \"BAB1234567890ABC123456789\"\n },\n \"amount\" : {\n \"value\" : 10000,\n \"currency\" : \"EUR\"\n },\n \"reference\" : \"Your internal reference for the transfer\",\n \"description\" : \"Your description\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/transfers", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "transfers" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": ">Versions 1 and 2 of the Transfers API are deprecated. If you are just starting your implementation, use the latest version. Starts a request to transfer funds to [balance accounts](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/post/balanceAccounts), [transfer instruments](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/transferInstruments), or third-party bank accounts. Adyen sends the outcome of the transfer request through webhooks. To use this endpoint, you need an additional role for your API credential and transfers must be enabled for the source balance account. Your Adyen contact will set these up for you." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"id\" : \"1W1UG35U8A9J5ZLG\",\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 10000\n },\n \"balanceAccountId\" : \"BAB8B2C3D4E5F6G7H8D9J6GD4\",\n \"counterparty\" : {\n \"balanceAccountId\" : \"BA32272223222B5LPRFDW7J9G\"\n },\n \"referenceForBeneficiary\" : \"Your reference sent to the beneficiary\",\n \"reference\" : \"Your internal reference for the transfer\",\n \"description\" : \"Your description\",\n \"direction\" : \"outgoing\",\n \"reason\" : \"approved\",\n \"status\" : \"authorised\"\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "WWW-Authenticate", + "value": "", + "description": "Header for authenticating through SCA", + "disabled": true + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"balanceAccountId\" : \"BAB8B2C3D4E5F6G7H8D9J6GD4\",\n \"counterparty\" : {\n \"balanceAccountId\" : \"BAB1234567890ABC123456789\"\n },\n \"amount\" : {\n \"value\" : 10000,\n \"currency\" : \"EUR\"\n },\n \"reference\" : \"Your internal reference for the transfer\",\n \"description\" : \"Your description\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/transfers", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "transfers" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": ">Versions 1 and 2 of the Transfers API are deprecated. If you are just starting your implementation, use the latest version. Starts a request to transfer funds to [balance accounts](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/post/balanceAccounts), [transfer instruments](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/transferInstruments), or third-party bank accounts. Adyen sends the outcome of the transfer request through webhooks. To use this endpoint, you need an additional role for your API credential and transfers must be enabled for the source balance account. Your Adyen contact will set these up for you." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"balanceAccountId\" : \"BAB8B2C3D4E5F6G7H8D9J6GD4\",\n \"counterparty\" : {\n \"balanceAccountId\" : \"BAB1234567890ABC123456789\"\n },\n \"amount\" : {\n \"value\" : 10000,\n \"currency\" : \"EUR\"\n },\n \"reference\" : \"Your internal reference for the transfer\",\n \"description\" : \"Your description\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/transfers", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "transfers" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": ">Versions 1 and 2 of the Transfers API are deprecated. If you are just starting your implementation, use the latest version. Starts a request to transfer funds to [balance accounts](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/post/balanceAccounts), [transfer instruments](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/transferInstruments), or third-party bank accounts. Adyen sends the outcome of the transfer request through webhooks. To use this endpoint, you need an additional role for your API credential and transfers must be enabled for the source balance account. Your Adyen contact will set these up for you." - } + ] }, { "name": "Pay out to a transfer instrument", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "WWW-Authenticate", - "value": "", - "description": "Header for authenticating through SCA", - "disabled": true + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "WWW-Authenticate", + "value": "", + "description": "Header for authenticating through SCA", + "disabled": true + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"amount\" : {\n \"value\" : 80000,\n \"currency\" : \"EUR\"\n },\n \"balanceAccountId\" : \"BAB8B2C3D4E5F6G7H8D9J6GD4\",\n \"counterparty\" : {\n \"transferInstrumentId\" : \"SE1234567890ABC1234567890\"\n },\n \"bank\" : {\n \"priority\" : \"regular\"\n },\n \"referenceForBeneficiary\" : \"Your reference sent to the beneficiary\",\n \"reference\" : \"Your internal reference for the transfer\",\n \"description\" : \"Your description\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/transfers", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "transfers" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": ">Versions 1 and 2 of the Transfers API are deprecated. If you are just starting your implementation, use the latest version. Starts a request to transfer funds to [balance accounts](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/post/balanceAccounts), [transfer instruments](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/transferInstruments), or third-party bank accounts. Adyen sends the outcome of the transfer request through webhooks. To use this endpoint, you need an additional role for your API credential and transfers must be enabled for the source balance account. Your Adyen contact will set these up for you." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"id\" : \"1W1UG35U8A9J5ZLG\",\n \"amount\" : {\n \"value\" : 80000,\n \"currency\" : \"EUR\"\n },\n \"balanceAccountId\" : \"BAB8B2C3D4E5F6G7H8D9J6GD4\",\n \"counterparty\" : {\n \"transferInstrumentId\" : \"SE1234567890ABC1234567890\"\n },\n \"bank\" : {\n \"priority\" : \"regular\"\n },\n \"referenceForBeneficiary\" : \"Your reference sent to the beneficiary\",\n \"reference\" : \"Your internal reference for the transfer\",\n \"description\" : \"Your description\",\n \"direction\" : \"outgoing\",\n \"reason\" : \"approved\",\n \"status\" : \"authorised\"\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "WWW-Authenticate", + "value": "", + "description": "Header for authenticating through SCA", + "disabled": true + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"amount\" : {\n \"value\" : 80000,\n \"currency\" : \"EUR\"\n },\n \"balanceAccountId\" : \"BAB8B2C3D4E5F6G7H8D9J6GD4\",\n \"counterparty\" : {\n \"transferInstrumentId\" : \"SE1234567890ABC1234567890\"\n },\n \"bank\" : {\n \"priority\" : \"regular\"\n },\n \"referenceForBeneficiary\" : \"Your reference sent to the beneficiary\",\n \"reference\" : \"Your internal reference for the transfer\",\n \"description\" : \"Your description\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/transfers", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "transfers" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": ">Versions 1 and 2 of the Transfers API are deprecated. If you are just starting your implementation, use the latest version. Starts a request to transfer funds to [balance accounts](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/post/balanceAccounts), [transfer instruments](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/transferInstruments), or third-party bank accounts. Adyen sends the outcome of the transfer request through webhooks. To use this endpoint, you need an additional role for your API credential and transfers must be enabled for the source balance account. Your Adyen contact will set these up for you." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"value\" : 80000,\n \"currency\" : \"EUR\"\n },\n \"balanceAccountId\" : \"BAB8B2C3D4E5F6G7H8D9J6GD4\",\n \"counterparty\" : {\n \"transferInstrumentId\" : \"SE1234567890ABC1234567890\"\n },\n \"bank\" : {\n \"priority\" : \"regular\"\n },\n \"referenceForBeneficiary\" : \"Your reference sent to the beneficiary\",\n \"reference\" : \"Your internal reference for the transfer\",\n \"description\" : \"Your description\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/transfers", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "transfers" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": ">Versions 1 and 2 of the Transfers API are deprecated. If you are just starting your implementation, use the latest version. Starts a request to transfer funds to [balance accounts](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/post/balanceAccounts), [transfer instruments](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/transferInstruments), or third-party bank accounts. Adyen sends the outcome of the transfer request through webhooks. To use this endpoint, you need an additional role for your API credential and transfers must be enabled for the source balance account. Your Adyen contact will set these up for you." - } + ] } ] } - ] } ], diff --git a/postman/TransferService-v3.json b/postman/TransferService-v3.json index 0e4d630..eacc038 100644 --- a/postman/TransferService-v3.json +++ b/postman/TransferService-v3.json @@ -19,91 +19,92 @@ { "name": "Get all transactions", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/transactions", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "transactions" - ], - "variable": [ - ], - "query": [ - { - "key": "balancePlatform", - "value": "balancePlatform_example", - "description": "The unique identifier of the [balance platform](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/get/balancePlatforms/{id}__queryParam_id). Required if you don't provide a `balanceAccountId` or `accountHolderId`.", - "disabled": true - }, - { - "key": "paymentInstrumentId", - "value": "paymentInstrumentId_example", - "description": "The unique identifier of the [payment instrument](https://docs.adyen.com/api-explorer/balanceplatform/latest/get/paymentInstruments/_id_). To use this parameter, you must also provide a `balanceAccountId`, `accountHolderId`, or `balancePlatform`. The `paymentInstrumentId` must be related to the `balanceAccountId` or `accountHolderId` that you provide.", - "disabled": true - }, - { - "key": "accountHolderId", - "value": "accountHolderId_example", - "description": "The unique identifier of the [account holder](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/get/accountHolders/{id}__queryParam_id). Required if you don't provide a `balanceAccountId` or `balancePlatform`. If you provide a `balanceAccountId`, the `accountHolderId` must be related to the `balanceAccountId`.", - "disabled": true - }, - { - "key": "balanceAccountId", - "value": "balanceAccountId_example", - "description": "The unique identifier of the [balance account](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/get/balanceAccounts/{id}__queryParam_id). Required if you don't provide an `accountHolderId` or `balancePlatform`. If you provide an `accountHolderId`, the `balanceAccountId` must be related to the `accountHolderId`.", - "disabled": true - }, - { - "key": "cursor", - "value": "cursor_example", - "description": "The `cursor` returned in the links of the previous response.", - "disabled": true - }, - { - "key": "createdSince", - "value": "2013-10-20T19:20:30+01:00", - "description": "Only include transactions that have been created on or after this point in time. The value must be in ISO 8601 format. For example, **2021-05-30T15:07:40Z**.", - "disabled": false - }, - { - "key": "createdUntil", - "value": "2013-10-20T19:20:30+01:00", - "description": "Only include transactions that have been created on or before this point in time. The value must be in ISO 8601 format. For example, **2021-05-30T15:07:40Z**.", - "disabled": false - }, - { - "key": "limit", - "value": "56", - "description": "The number of items returned per page, maximum of 100 items. By default, the response returns 10 items per page.", - "disabled": true - } - ] - }, - "description": ">Versions 1 and 2 of the Transfers API are deprecated. If you are just starting your implementation, use the latest version. Returns all the transactions related to a balance account, account holder, or balance platform. When making this request, you must include at least one of the following: - `balanceAccountId` - `accountHolderId` - `balancePlatform`. This endpoint supports cursor-based pagination. The response returns the first page of results, and returns links to the next and previous pages when applicable. You can use the links to page through the results. " - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/transactions", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "transactions" + ], + "variable": [ + ], + "query": [ + { + "key": "balancePlatform", + "value": "balancePlatform_example", + "description": "The unique identifier of the [balance platform](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/get/balancePlatforms/{id}__queryParam_id). Required if you don't provide a `balanceAccountId` or `accountHolderId`.", + "disabled": true + }, + { + "key": "paymentInstrumentId", + "value": "paymentInstrumentId_example", + "description": "The unique identifier of the [payment instrument](https://docs.adyen.com/api-explorer/balanceplatform/latest/get/paymentInstruments/_id_). To use this parameter, you must also provide a `balanceAccountId`, `accountHolderId`, or `balancePlatform`. The `paymentInstrumentId` must be related to the `balanceAccountId` or `accountHolderId` that you provide.", + "disabled": true + }, + { + "key": "accountHolderId", + "value": "accountHolderId_example", + "description": "The unique identifier of the [account holder](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/get/accountHolders/{id}__queryParam_id). Required if you don't provide a `balanceAccountId` or `balancePlatform`. If you provide a `balanceAccountId`, the `accountHolderId` must be related to the `balanceAccountId`.", + "disabled": true + }, + { + "key": "balanceAccountId", + "value": "balanceAccountId_example", + "description": "The unique identifier of the [balance account](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/get/balanceAccounts/{id}__queryParam_id). Required if you don't provide an `accountHolderId` or `balancePlatform`. If you provide an `accountHolderId`, the `balanceAccountId` must be related to the `accountHolderId`.", + "disabled": true + }, + { + "key": "cursor", + "value": "cursor_example", + "description": "The `cursor` returned in the links of the previous response.", + "disabled": true + }, + { + "key": "createdSince", + "value": "2013-10-20T19:20:30+01:00", + "description": "Only include transactions that have been created on or after this point in time. The value must be in ISO 8601 format. For example, **2021-05-30T15:07:40Z**.", + "disabled": false + }, + { + "key": "createdUntil", + "value": "2013-10-20T19:20:30+01:00", + "description": "Only include transactions that have been created on or before this point in time. The value must be in ISO 8601 format. For example, **2021-05-30T15:07:40Z**.", + "disabled": false + }, + { + "key": "limit", + "value": "56", + "description": "The number of items returned per page, maximum of 100 items. By default, the response returns 10 items per page.", + "disabled": true + } + ] + }, + "description": ">Versions 1 and 2 of the Transfers API are deprecated. If you are just starting your implementation, use the latest version. Returns all the transactions related to a balance account, account holder, or balance platform. When making this request, you must include at least one of the following: - `balanceAccountId` - `accountHolderId` - `balancePlatform`. This endpoint supports cursor-based pagination. The response returns the first page of results, and returns links to the next and previous pages when applicable. You can use the links to page through the results. " +} + ,"response": [ + ] } ] - } -, + }, { "name": "/transactions/:id", "description": ">Versions 1 and 2 of the Transfers API are deprecated. If you are just starting your implementation, use the latest version. Returns a transaction.", @@ -111,49 +112,50 @@ { "name": "Get a transaction", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/transactions/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "transactions", - ":id" - ], - "variable": [ - { - "key": "id", - "value": "", - "description": "The unique identifier of the transaction." - } - ], - "query": [ - ] - }, - "description": ">Versions 1 and 2 of the Transfers API are deprecated. If you are just starting your implementation, use the latest version. Returns a transaction." - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/transactions/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "transactions", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "The unique identifier of the transaction." + } + ], + "query": [ + ] + }, + "description": ">Versions 1 and 2 of the Transfers API are deprecated. If you are just starting your implementation, use the latest version. Returns a transaction." +} + ,"response": [ + ] } ] } - ] }, { @@ -166,251 +168,545 @@ { "name": "Make a cross-border transfer", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "WWW-Authenticate", - "value": "", - "description": "Header for authenticating through SCA", - "disabled": true + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "WWW-Authenticate", + "value": "", + "description": "Header for authenticating through SCA", + "disabled": true + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"amount\" : {\n \"value\" : 110000,\n \"currency\" : \"EUR\"\n },\n \"balanceAccountId\" : \"BAB8B2C3D4E5F6G7H8D9J6GD4\",\n \"category\" : \"bank\",\n \"counterparty\" : {\n \"bankAccount\" : {\n \"accountHolder\" : {\n \"fullName\" : \"A. Klaassen\",\n \"address\" : {\n \"city\" : \"San Francisco\",\n \"country\" : \"US\",\n \"postalCode\" : \"94678\",\n \"stateOrProvince\" : \"CA\",\n \"line1\" : \"274\",\n \"line2\" : \"Brannan Street\"\n }\n },\n \"accountIdentification\" : {\n \"type\" : \"numberAndBic\",\n \"accountNumber\" : \"123456789\",\n \"bic\" : \"BOFAUS3NXXX\"\n }\n }\n },\n \"priority\" : \"crossBorder\",\n \"referenceForBeneficiary\" : \"Your-reference-sent-to-the-beneficiary\",\n \"reference\" : \"Your internal reference for the transfer\",\n \"description\" : \"Your description for the transfer\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/transfers", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "transfers" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": ">Versions 1 and 2 of the Transfers API are deprecated. If you are just starting your implementation, use the latest version. Starts a request to transfer funds to [balance accounts](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/post/balanceAccounts), [transfer instruments](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/transferInstruments), or third-party bank accounts. Adyen sends the outcome of the transfer request through webhooks. To use this endpoint, you need an additional role for your API credential and transfers must be enabled for the source balance account. Your Adyen contact will set these up for you." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"id\" : \"1W1UG35U8A9J5ZLG\",\n \"accountHolder\" : {\n \"description\" : \"Your account holder description\",\n \"id\" : \"AH3227C223222C5GXQXF658WB\",\n \"reference\" : \"Your account holder reference\"\n },\n \"amount\" : {\n \"value\" : 110000,\n \"currency\" : \"EUR\"\n },\n \"balanceAccount\" : {\n \"description\" : \"Your balance account description\",\n \"id\" : \"BAB8B2C3D4E5F6G7H8D9J6GD4\",\n \"reference\" : \"Your balance account reference\"\n },\n \"balanceAccountId\" : \"BAB8B2C3D4E5F6G7H8D9J6GD4\",\n \"category\" : \"bank\",\n \"counterparty\" : {\n \"bankAccount\" : {\n \"accountHolder\" : {\n \"fullName\" : \"A. Klaassen\",\n \"address\" : {\n \"city\" : \"San Francisco\",\n \"country\" : \"US\",\n \"postalCode\" : \"94678\",\n \"stateOrProvince\" : \"CA\",\n \"line1\" : \"274\",\n \"line2\" : \"Brannan Street\"\n }\n },\n \"accountIdentification\" : {\n \"type\" : \"numberAndBic\",\n \"accountNumber\" : \"123456789\",\n \"bic\" : \"BOFAUS3NXXX\"\n }\n }\n },\n \"paymentInstrumentId\" : \"PI3222G223222G59347DAA265\",\n \"paymentInstrument\" : {\n \"description\" : \"Your payment instrument description\",\n \"id\" : \"PI3222G223222G59347DAA265\",\n \"reference\" : \"Your payment instrument reference\"\n },\n \"priority\" : \"crossBorder\",\n \"referenceForBeneficiary\" : \"Your-reference-sent-to-the-beneficiary\",\n \"reference\" : \"Your internal reference for the transfer\",\n \"description\" : \"Your description for the transfer\",\n \"direction\" : \"outgoing\",\n \"reason\" : \"approved\",\n \"status\" : \"authorised\"\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "WWW-Authenticate", + "value": "", + "description": "Header for authenticating through SCA", + "disabled": true + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"amount\" : {\n \"value\" : 110000,\n \"currency\" : \"EUR\"\n },\n \"balanceAccountId\" : \"BAB8B2C3D4E5F6G7H8D9J6GD4\",\n \"category\" : \"bank\",\n \"counterparty\" : {\n \"bankAccount\" : {\n \"accountHolder\" : {\n \"fullName\" : \"A. Klaassen\",\n \"address\" : {\n \"city\" : \"San Francisco\",\n \"country\" : \"US\",\n \"postalCode\" : \"94678\",\n \"stateOrProvince\" : \"CA\",\n \"line1\" : \"274\",\n \"line2\" : \"Brannan Street\"\n }\n },\n \"accountIdentification\" : {\n \"type\" : \"numberAndBic\",\n \"accountNumber\" : \"123456789\",\n \"bic\" : \"BOFAUS3NXXX\"\n }\n }\n },\n \"priority\" : \"crossBorder\",\n \"referenceForBeneficiary\" : \"Your-reference-sent-to-the-beneficiary\",\n \"reference\" : \"Your internal reference for the transfer\",\n \"description\" : \"Your description for the transfer\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/transfers", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "transfers" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": ">Versions 1 and 2 of the Transfers API are deprecated. If you are just starting your implementation, use the latest version. Starts a request to transfer funds to [balance accounts](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/post/balanceAccounts), [transfer instruments](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/transferInstruments), or third-party bank accounts. Adyen sends the outcome of the transfer request through webhooks. To use this endpoint, you need an additional role for your API credential and transfers must be enabled for the source balance account. Your Adyen contact will set these up for you." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"value\" : 110000,\n \"currency\" : \"EUR\"\n },\n \"balanceAccountId\" : \"BAB8B2C3D4E5F6G7H8D9J6GD4\",\n \"category\" : \"bank\",\n \"counterparty\" : {\n \"bankAccount\" : {\n \"accountHolder\" : {\n \"fullName\" : \"A. Klaassen\",\n \"address\" : {\n \"city\" : \"San Francisco\",\n \"country\" : \"US\",\n \"postalCode\" : \"94678\",\n \"stateOrProvince\" : \"CA\",\n \"line1\" : \"274\",\n \"line2\" : \"Brannan Street\"\n }\n },\n \"accountIdentification\" : {\n \"type\" : \"numberAndBic\",\n \"accountNumber\" : \"123456789\",\n \"bic\" : \"BOFAUS3NXXX\"\n }\n }\n },\n \"priority\" : \"crossBorder\",\n \"referenceForBeneficiary\" : \"Your-reference-sent-to-the-beneficiary\",\n \"reference\" : \"Your internal reference for the transfer\",\n \"description\" : \"Your description for the transfer\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/transfers", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "transfers" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": ">Versions 1 and 2 of the Transfers API are deprecated. If you are just starting your implementation, use the latest version. Starts a request to transfer funds to [balance accounts](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/post/balanceAccounts), [transfer instruments](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/transferInstruments), or third-party bank accounts. Adyen sends the outcome of the transfer request through webhooks. To use this endpoint, you need an additional role for your API credential and transfers must be enabled for the source balance account. Your Adyen contact will set these up for you." - } + ] }, { "name": "Make a SEPA funds transfer", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "WWW-Authenticate", - "value": "", - "description": "Header for authenticating through SCA", - "disabled": true + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "WWW-Authenticate", + "value": "", + "description": "Header for authenticating through SCA", + "disabled": true + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"amount\" : {\n \"value\" : 110000,\n \"currency\" : \"EUR\"\n },\n \"balanceAccountId\" : \"BAB8B2C3D4E5F6G7H8D9J6GD4\",\n \"category\" : \"bank\",\n \"counterparty\" : {\n \"bankAccount\" : {\n \"accountHolder\" : {\n \"fullName\" : \"A. Klaassen\"\n },\n \"accountIdentification\" : {\n \"type\" : \"iban\",\n \"iban\" : \"NL91ABNA0417164300\"\n }\n }\n },\n \"priority\" : \"regular\",\n \"referenceForBeneficiary\" : \"Your-reference-sent-to-the-beneficiary\",\n \"reference\" : \"Your internal reference for the transfer\",\n \"description\" : \"Your description for the transfer\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/transfers", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "transfers" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": ">Versions 1 and 2 of the Transfers API are deprecated. If you are just starting your implementation, use the latest version. Starts a request to transfer funds to [balance accounts](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/post/balanceAccounts), [transfer instruments](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/transferInstruments), or third-party bank accounts. Adyen sends the outcome of the transfer request through webhooks. To use this endpoint, you need an additional role for your API credential and transfers must be enabled for the source balance account. Your Adyen contact will set these up for you." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"id\" : \"1W1UG35U8A9J5ZLG\",\n \"accountHolder\" : {\n \"description\" : \"Your account holder description\",\n \"id\" : \"AH3227C223222C5GXQXF658WB\",\n \"reference\" : \"Your account holder reference\"\n },\n \"amount\" : {\n \"value\" : 110000,\n \"currency\" : \"EUR\"\n },\n \"balanceAccount\" : {\n \"description\" : \"Your balance account description\",\n \"id\" : \"BAB8B2C3D4E5F6G7H8D9J6GD4\",\n \"reference\" : \"Your balance account reference\"\n },\n \"balanceAccountId\" : \"BAB8B2C3D4E5F6G7H8D9J6GD4\",\n \"category\" : \"bank\",\n \"counterparty\" : {\n \"bankAccount\" : {\n \"accountHolder\" : {\n \"fullName\" : \"A. Klaassen\"\n },\n \"accountIdentification\" : {\n \"type\" : \"iban\",\n \"iban\" : \"NL91ABNA0417164300\"\n }\n }\n },\n \"paymentInstrumentId\" : \"PI3222G223222G59347DAA265\",\n \"paymentInstrument\" : {\n \"description\" : \"Your payment instrument description\",\n \"id\" : \"PI3222G223222G59347DAA265\",\n \"reference\" : \"Your payment instrument reference\"\n },\n \"priority\" : \"regular\",\n \"referenceForBeneficiary\" : \"Your-reference-sent-to-the-beneficiary\",\n \"reference\" : \"Your internal reference for the transfer\",\n \"description\" : \"Your description for the transfer\",\n \"direction\" : \"outgoing\",\n \"reason\" : \"approved\",\n \"status\" : \"authorised\"\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "WWW-Authenticate", + "value": "", + "description": "Header for authenticating through SCA", + "disabled": true + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"amount\" : {\n \"value\" : 110000,\n \"currency\" : \"EUR\"\n },\n \"balanceAccountId\" : \"BAB8B2C3D4E5F6G7H8D9J6GD4\",\n \"category\" : \"bank\",\n \"counterparty\" : {\n \"bankAccount\" : {\n \"accountHolder\" : {\n \"fullName\" : \"A. Klaassen\"\n },\n \"accountIdentification\" : {\n \"type\" : \"iban\",\n \"iban\" : \"NL91ABNA0417164300\"\n }\n }\n },\n \"priority\" : \"regular\",\n \"referenceForBeneficiary\" : \"Your-reference-sent-to-the-beneficiary\",\n \"reference\" : \"Your internal reference for the transfer\",\n \"description\" : \"Your description for the transfer\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/transfers", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "transfers" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": ">Versions 1 and 2 of the Transfers API are deprecated. If you are just starting your implementation, use the latest version. Starts a request to transfer funds to [balance accounts](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/post/balanceAccounts), [transfer instruments](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/transferInstruments), or third-party bank accounts. Adyen sends the outcome of the transfer request through webhooks. To use this endpoint, you need an additional role for your API credential and transfers must be enabled for the source balance account. Your Adyen contact will set these up for you." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"value\" : 110000,\n \"currency\" : \"EUR\"\n },\n \"balanceAccountId\" : \"BAB8B2C3D4E5F6G7H8D9J6GD4\",\n \"category\" : \"bank\",\n \"counterparty\" : {\n \"bankAccount\" : {\n \"accountHolder\" : {\n \"fullName\" : \"A. Klaassen\"\n },\n \"accountIdentification\" : {\n \"type\" : \"iban\",\n \"iban\" : \"NL91ABNA0417164300\"\n }\n }\n },\n \"priority\" : \"regular\",\n \"referenceForBeneficiary\" : \"Your-reference-sent-to-the-beneficiary\",\n \"reference\" : \"Your internal reference for the transfer\",\n \"description\" : \"Your description for the transfer\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/transfers", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "transfers" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": ">Versions 1 and 2 of the Transfers API are deprecated. If you are just starting your implementation, use the latest version. Starts a request to transfer funds to [balance accounts](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/post/balanceAccounts), [transfer instruments](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/transferInstruments), or third-party bank accounts. Adyen sends the outcome of the transfer request through webhooks. To use this endpoint, you need an additional role for your API credential and transfers must be enabled for the source balance account. Your Adyen contact will set these up for you." - } + ] }, { "name": "Make a US local funds transfer", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "WWW-Authenticate", - "value": "", - "description": "Header for authenticating through SCA", - "disabled": true + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "WWW-Authenticate", + "value": "", + "description": "Header for authenticating through SCA", + "disabled": true + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"amount\" : {\n \"value\" : 110000,\n \"currency\" : \"USD\"\n },\n \"balanceAccountId\" : \"BAB8B2C3D4E5F6G7H8D9J6GD4\",\n \"category\" : \"bank\",\n \"counterparty\" : {\n \"bankAccount\" : {\n \"accountHolder\" : {\n \"fullName\" : \"A. Klaassen\"\n },\n \"accountIdentification\" : {\n \"type\" : \"usLocal\",\n \"accountNumber\" : \"123456789\",\n \"routingNumber\" : \"011000138\"\n }\n }\n },\n \"priority\" : \"regular\",\n \"referenceForBeneficiary\" : \"Your-reference-sent-to-the-beneficiary\",\n \"reference\" : \"Your internal reference for the transfer\",\n \"description\" : \"Your description for the transfer\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/transfers", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "transfers" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": ">Versions 1 and 2 of the Transfers API are deprecated. If you are just starting your implementation, use the latest version. Starts a request to transfer funds to [balance accounts](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/post/balanceAccounts), [transfer instruments](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/transferInstruments), or third-party bank accounts. Adyen sends the outcome of the transfer request through webhooks. To use this endpoint, you need an additional role for your API credential and transfers must be enabled for the source balance account. Your Adyen contact will set these up for you." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"id\" : \"1W1UG35U8A9J5ZLG\",\n \"accountHolder\" : {\n \"description\" : \"Your account holder description\",\n \"id\" : \"AH3227C223222C5GXQXF658WB\",\n \"reference\" : \"Your account holder reference\"\n },\n \"amount\" : {\n \"value\" : 110000,\n \"currency\" : \"USD\"\n },\n \"balanceAccount\" : {\n \"description\" : \"Your balance account description\",\n \"id\" : \"BAB8B2C3D4E5F6G7H8D9J6GD4\",\n \"reference\" : \"Your balance account reference\"\n },\n \"balanceAccountId\" : \"BAB8B2C3D4E5F6G7H8D9J6GD4\",\n \"category\" : \"bank\",\n \"counterparty\" : {\n \"bankAccount\" : {\n \"accountHolder\" : {\n \"fullName\" : \"A. Klaassen\"\n },\n \"accountIdentification\" : {\n \"type\" : \"usLocal\",\n \"accountNumber\" : \"123456789\",\n \"routingNumber\" : \"011000138\"\n }\n }\n },\n \"paymentInstrumentId\" : \"PI3222G223222G59347DAA265\",\n \"paymentInstrument\" : {\n \"description\" : \"Your payment instrument description\",\n \"id\" : \"PI3222G223222G59347DAA265\",\n \"reference\" : \"Your payment instrument reference\"\n },\n \"priority\" : \"regular\",\n \"referenceForBeneficiary\" : \"Your-reference-sent-to-the-beneficiary\",\n \"reference\" : \"Your internal reference for the transfer\",\n \"description\" : \"Your description for the transfer\",\n \"direction\" : \"outgoing\",\n \"reason\" : \"approved\",\n \"status\" : \"authorised\"\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "WWW-Authenticate", + "value": "", + "description": "Header for authenticating through SCA", + "disabled": true + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"amount\" : {\n \"value\" : 110000,\n \"currency\" : \"USD\"\n },\n \"balanceAccountId\" : \"BAB8B2C3D4E5F6G7H8D9J6GD4\",\n \"category\" : \"bank\",\n \"counterparty\" : {\n \"bankAccount\" : {\n \"accountHolder\" : {\n \"fullName\" : \"A. Klaassen\"\n },\n \"accountIdentification\" : {\n \"type\" : \"usLocal\",\n \"accountNumber\" : \"123456789\",\n \"routingNumber\" : \"011000138\"\n }\n }\n },\n \"priority\" : \"regular\",\n \"referenceForBeneficiary\" : \"Your-reference-sent-to-the-beneficiary\",\n \"reference\" : \"Your internal reference for the transfer\",\n \"description\" : \"Your description for the transfer\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/transfers", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "transfers" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": ">Versions 1 and 2 of the Transfers API are deprecated. If you are just starting your implementation, use the latest version. Starts a request to transfer funds to [balance accounts](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/post/balanceAccounts), [transfer instruments](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/transferInstruments), or third-party bank accounts. Adyen sends the outcome of the transfer request through webhooks. To use this endpoint, you need an additional role for your API credential and transfers must be enabled for the source balance account. Your Adyen contact will set these up for you." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"value\" : 110000,\n \"currency\" : \"USD\"\n },\n \"balanceAccountId\" : \"BAB8B2C3D4E5F6G7H8D9J6GD4\",\n \"category\" : \"bank\",\n \"counterparty\" : {\n \"bankAccount\" : {\n \"accountHolder\" : {\n \"fullName\" : \"A. Klaassen\"\n },\n \"accountIdentification\" : {\n \"type\" : \"usLocal\",\n \"accountNumber\" : \"123456789\",\n \"routingNumber\" : \"011000138\"\n }\n }\n },\n \"priority\" : \"regular\",\n \"referenceForBeneficiary\" : \"Your-reference-sent-to-the-beneficiary\",\n \"reference\" : \"Your internal reference for the transfer\",\n \"description\" : \"Your description for the transfer\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/transfers", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "transfers" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": ">Versions 1 and 2 of the Transfers API are deprecated. If you are just starting your implementation, use the latest version. Starts a request to transfer funds to [balance accounts](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/post/balanceAccounts), [transfer instruments](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/transferInstruments), or third-party bank accounts. Adyen sends the outcome of the transfer request through webhooks. To use this endpoint, you need an additional role for your API credential and transfers must be enabled for the source balance account. Your Adyen contact will set these up for you." - } + ] }, { "name": "Transfer funds to another balance account", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "WWW-Authenticate", - "value": "", - "description": "Header for authenticating through SCA", - "disabled": true + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "WWW-Authenticate", + "value": "", + "description": "Header for authenticating through SCA", + "disabled": true + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"amount\" : {\n \"value\" : 10000,\n \"currency\" : \"EUR\"\n },\n \"balanceAccountId\" : \"BAB8B2C3D4E5F6G7H8D9J6GD4\",\n \"category\" : \"internal\",\n \"counterparty\" : {\n \"balanceAccountId\" : \"BA32272223222B5LPRFDW7J9G\"\n },\n \"referenceForBeneficiary\" : \"Your-reference-sent-to-the-beneficiary\",\n \"reference\" : \"Your internal reference for the transfer\",\n \"description\" : \"Your description for the transfer\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/transfers", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "transfers" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": ">Versions 1 and 2 of the Transfers API are deprecated. If you are just starting your implementation, use the latest version. Starts a request to transfer funds to [balance accounts](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/post/balanceAccounts), [transfer instruments](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/transferInstruments), or third-party bank accounts. Adyen sends the outcome of the transfer request through webhooks. To use this endpoint, you need an additional role for your API credential and transfers must be enabled for the source balance account. Your Adyen contact will set these up for you." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"id\" : \"1W1UG35U8A9J5ZLG\",\n \"accountHolder\" : {\n \"description\" : \"Your account holder description\",\n \"id\" : \"AH3227C223222C5GXQXF658WB\",\n \"reference\" : \"Your account holder reference\"\n },\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 10000\n },\n \"balanceAccount\" : {\n \"description\" : \"Your balance account description\",\n \"id\" : \"BAB8B2C3D4E5F6G7H8D9J6GD4\",\n \"reference\" : \"Your balance account reference\"\n },\n \"balanceAccountId\" : \"BAB8B2C3D4E5F6G7H8D9J6GD4\",\n \"category\" : \"internal\",\n \"counterparty\" : {\n \"balanceAccountId\" : \"BA32272223222B5LPRFDW7J9G\"\n },\n \"referenceForBeneficiary\" : \"Your-reference-sent-to-the-beneficiary\",\n \"reference\" : \"Your internal reference for the transfer\",\n \"description\" : \"Your description for the transfer\",\n \"direction\" : \"outgoing\",\n \"reason\" : \"approved\",\n \"status\" : \"authorised\"\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "WWW-Authenticate", + "value": "", + "description": "Header for authenticating through SCA", + "disabled": true + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"amount\" : {\n \"value\" : 10000,\n \"currency\" : \"EUR\"\n },\n \"balanceAccountId\" : \"BAB8B2C3D4E5F6G7H8D9J6GD4\",\n \"category\" : \"internal\",\n \"counterparty\" : {\n \"balanceAccountId\" : \"BA32272223222B5LPRFDW7J9G\"\n },\n \"referenceForBeneficiary\" : \"Your-reference-sent-to-the-beneficiary\",\n \"reference\" : \"Your internal reference for the transfer\",\n \"description\" : \"Your description for the transfer\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/transfers", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "transfers" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": ">Versions 1 and 2 of the Transfers API are deprecated. If you are just starting your implementation, use the latest version. Starts a request to transfer funds to [balance accounts](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/post/balanceAccounts), [transfer instruments](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/transferInstruments), or third-party bank accounts. Adyen sends the outcome of the transfer request through webhooks. To use this endpoint, you need an additional role for your API credential and transfers must be enabled for the source balance account. Your Adyen contact will set these up for you." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"value\" : 10000,\n \"currency\" : \"EUR\"\n },\n \"balanceAccountId\" : \"BAB8B2C3D4E5F6G7H8D9J6GD4\",\n \"category\" : \"internal\",\n \"counterparty\" : {\n \"balanceAccountId\" : \"BA32272223222B5LPRFDW7J9G\"\n },\n \"referenceForBeneficiary\" : \"Your-reference-sent-to-the-beneficiary\",\n \"reference\" : \"Your internal reference for the transfer\",\n \"description\" : \"Your description for the transfer\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/transfers", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "transfers" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": ">Versions 1 and 2 of the Transfers API are deprecated. If you are just starting your implementation, use the latest version. Starts a request to transfer funds to [balance accounts](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/post/balanceAccounts), [transfer instruments](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/transferInstruments), or third-party bank accounts. Adyen sends the outcome of the transfer request through webhooks. To use this endpoint, you need an additional role for your API credential and transfers must be enabled for the source balance account. Your Adyen contact will set these up for you." - } + ] }, { "name": "Pay out to a transfer instrument", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "WWW-Authenticate", - "value": "", - "description": "Header for authenticating through SCA", - "disabled": true + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "WWW-Authenticate", + "value": "", + "description": "Header for authenticating through SCA", + "disabled": true + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"amount\" : {\n \"value\" : 80000,\n \"currency\" : \"EUR\"\n },\n \"balanceAccountId\" : \"BAB8B2C3D4E5F6G7H8D9J6GD4\",\n \"category\" : \"bank\",\n \"counterparty\" : {\n \"transferInstrumentId\" : \"SE1234567890ABC1234567890\"\n },\n \"priority\" : \"regular\",\n \"referenceForBeneficiary\" : \"Your-reference-sent-to-the-beneficiary\",\n \"reference\" : \"Your internal reference for the transfer\",\n \"description\" : \"Your description for the transfer\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/transfers", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "transfers" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": ">Versions 1 and 2 of the Transfers API are deprecated. If you are just starting your implementation, use the latest version. Starts a request to transfer funds to [balance accounts](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/post/balanceAccounts), [transfer instruments](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/transferInstruments), or third-party bank accounts. Adyen sends the outcome of the transfer request through webhooks. To use this endpoint, you need an additional role for your API credential and transfers must be enabled for the source balance account. Your Adyen contact will set these up for you." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"id\" : \"1W1UG35U8A9J5ZLG\",\n \"accountHolder\" : {\n \"description\" : \"Your account holder description\",\n \"id\" : \"AH3227C223222C5GXQXF658WB\",\n \"reference\" : \"Your account holder reference\"\n },\n \"amount\" : {\n \"value\" : 80000,\n \"currency\" : \"EUR\"\n },\n \"balanceAccount\" : {\n \"description\" : \"Your balance account description\",\n \"id\" : \"BAB8B2C3D4E5F6G7H8D9J6GD4\",\n \"reference\" : \"Your balance account reference\"\n },\n \"balanceAccountId\" : \"BAB8B2C3D4E5F6G7H8D9J6GD4\",\n \"category\" : \"bank\",\n \"counterparty\" : {\n \"transferInstrumentId\" : \"SE1234567890ABC1234567890\"\n },\n \"paymentInstrumentId\" : \"PI3222G223222G59347DAA265\",\n \"paymentInstrument\" : {\n \"description\" : \"Your payment instrument description\",\n \"id\" : \"PI3222G223222G59347DAA265\",\n \"reference\" : \"Your payment instrument reference\"\n },\n \"priority\" : \"regular\",\n \"referenceForBeneficiary\" : \"Your-reference-sent-to-the-beneficiary\",\n \"reference\" : \"Your internal reference for the transfer\",\n \"description\" : \"Your description for the transfer\",\n \"direction\" : \"outgoing\",\n \"reason\" : \"approved\",\n \"status\" : \"authorised\"\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "WWW-Authenticate", + "value": "", + "description": "Header for authenticating through SCA", + "disabled": true + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"amount\" : {\n \"value\" : 80000,\n \"currency\" : \"EUR\"\n },\n \"balanceAccountId\" : \"BAB8B2C3D4E5F6G7H8D9J6GD4\",\n \"category\" : \"bank\",\n \"counterparty\" : {\n \"transferInstrumentId\" : \"SE1234567890ABC1234567890\"\n },\n \"priority\" : \"regular\",\n \"referenceForBeneficiary\" : \"Your-reference-sent-to-the-beneficiary\",\n \"reference\" : \"Your internal reference for the transfer\",\n \"description\" : \"Your description for the transfer\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/transfers", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "transfers" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": ">Versions 1 and 2 of the Transfers API are deprecated. If you are just starting your implementation, use the latest version. Starts a request to transfer funds to [balance accounts](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/post/balanceAccounts), [transfer instruments](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/transferInstruments), or third-party bank accounts. Adyen sends the outcome of the transfer request through webhooks. To use this endpoint, you need an additional role for your API credential and transfers must be enabled for the source balance account. Your Adyen contact will set these up for you." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"value\" : 80000,\n \"currency\" : \"EUR\"\n },\n \"balanceAccountId\" : \"BAB8B2C3D4E5F6G7H8D9J6GD4\",\n \"category\" : \"bank\",\n \"counterparty\" : {\n \"transferInstrumentId\" : \"SE1234567890ABC1234567890\"\n },\n \"priority\" : \"regular\",\n \"referenceForBeneficiary\" : \"Your-reference-sent-to-the-beneficiary\",\n \"reference\" : \"Your internal reference for the transfer\",\n \"description\" : \"Your description for the transfer\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/transfers", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "transfers" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": ">Versions 1 and 2 of the Transfers API are deprecated. If you are just starting your implementation, use the latest version. Starts a request to transfer funds to [balance accounts](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/post/balanceAccounts), [transfer instruments](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/transferInstruments), or third-party bank accounts. Adyen sends the outcome of the transfer request through webhooks. To use this endpoint, you need an additional role for your API credential and transfers must be enabled for the source balance account. Your Adyen contact will set these up for you." - } + ] } ] - } -, + }, { "name": "/transfers/:transferId/returns", "description": "Returns previously transferred funds without creating a new `transferId`.", @@ -418,56 +714,57 @@ { "name": "Return a transfer", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\": \"\",\n \"reference\": \"\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/transfers/:transferId/returns", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "transfers", - ":transferId", - "returns" - ], - "variable": [ - { - "key": "transferId", - "value": "", - "description": "The unique identifier of the transfer to be returned." - } - ], - "query": [ - ] - }, - "description": "Returns previously transferred funds without creating a new `transferId`." - } + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"amount\": \"\",\n \"reference\": \"\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/transfers/:transferId/returns", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "transfers", + ":transferId", + "returns" + ], + "variable": [ + { + "key": "transferId", + "value": "", + "description": "The unique identifier of the transfer to be returned." + } + ], + "query": [ + ] + }, + "description": "Returns previously transferred funds without creating a new `transferId`." +} + ,"response": [ + ] } ] } - ] }, { @@ -480,49 +777,50 @@ { "name": "Get a capital account", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/grants", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "grants" - ], - "variable": [ - ], - "query": [ - { - "key": "counterpartyAccountHolderId", - "value": "counterpartyAccountHolderId_example", - "description": "The counterparty account holder id.", - "disabled": true - } - ] - }, - "description": "Returns a list of grants with status and outstanding balances." - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/grants", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "grants" + ], + "variable": [ + ], + "query": [ + { + "key": "counterpartyAccountHolderId", + "value": "counterpartyAccountHolderId_example", + "description": "The counterparty account holder id.", + "disabled": true + } + ] + }, + "description": "Returns a list of grants with status and outstanding balances." +} + ,"response": [ + ] } ] - } -, + }, { "name": "/grants", "description": "Requests the payout of the selected grant offer.", @@ -530,49 +828,101 @@ { "name": "Request grant payout to a balance account", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"grantAccountId\" : \"CG00000000000000000000001\",\n \"grantOfferId\" : \"0000000000000001\",\n \"counterparty\" : {\n \"accountHolderId\" : \"AH00000000000000000000001\",\n \"balanceAccountId\" : \"BA00000000000000000000001\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/grants", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "grants" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Requests the payout of the selected grant offer." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"id\" : \"GR00000000000000000000001\",\n \"grantAccountId\" : \"CG00000000000000000000001\",\n \"grantOfferId\" : \"0000000000000001\",\n \"counterparty\" : {\n \"accountHolderId\" : \"AH00000000000000000000001\",\n \"balanceAccountId\" : \"BA00000000000000000000001\"\n },\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000000\n },\n \"fee\" : {\n \"amount\" : {\n \"value\" : 120000,\n \"currency\" : \"EUR\"\n }\n },\n \"balances\" : {\n \"currency\" : \"EUR\",\n \"fee\" : 120000,\n \"principal\" : 1000000,\n \"total\" : 1120000\n },\n \"repayment\" : {\n \"basisPoints\" : 1400\n },\n \"status\" : \"Pending\"\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"grantAccountId\" : \"CG00000000000000000000001\",\n \"grantOfferId\" : \"0000000000000001\",\n \"counterparty\" : {\n \"accountHolderId\" : \"AH00000000000000000000001\",\n \"balanceAccountId\" : \"BA00000000000000000000001\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/grants", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "grants" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Requests the payout of the selected grant offer." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"grantAccountId\" : \"CG00000000000000000000001\",\n \"grantOfferId\" : \"0000000000000001\",\n \"counterparty\" : {\n \"accountHolderId\" : \"AH00000000000000000000001\",\n \"balanceAccountId\" : \"BA00000000000000000000001\"\n }\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/grants", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "grants" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Requests the payout of the selected grant offer." - } + ] } ] - } -, + }, { "name": "/grants/:id", "description": "Returns the details of a capital account specified in the path.", @@ -580,49 +930,50 @@ { "name": "Get grant reference details", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/grants/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "grants", - ":id" - ], - "variable": [ - { - "key": "id", - "value": "", - "description": "The unique identifier of the grant." - } - ], - "query": [ - ] - }, - "description": "Returns the details of a capital account specified in the path." - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/grants/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "grants", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "The unique identifier of the grant." + } + ], + "query": [ + ] + }, + "description": "Returns the details of a capital account specified in the path." +} + ,"response": [ + ] } ] } - ] } ], diff --git a/postman/TransferService-v4.json b/postman/TransferService-v4.json index 26c2166..6c99570 100644 --- a/postman/TransferService-v4.json +++ b/postman/TransferService-v4.json @@ -19,91 +19,92 @@ { "name": "Get all transactions", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/transactions", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "transactions" - ], - "variable": [ - ], - "query": [ - { - "key": "balancePlatform", - "value": "balancePlatform_example", - "description": "The unique identifier of the [balance platform](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/get/balancePlatforms/{id}__queryParam_id). Required if you don't provide a `balanceAccountId` or `accountHolderId`.", - "disabled": true - }, - { - "key": "paymentInstrumentId", - "value": "paymentInstrumentId_example", - "description": "The unique identifier of the [payment instrument](https://docs.adyen.com/api-explorer/balanceplatform/latest/get/paymentInstruments/_id_). To use this parameter, you must also provide a `balanceAccountId`, `accountHolderId`, or `balancePlatform`. The `paymentInstrumentId` must be related to the `balanceAccountId` or `accountHolderId` that you provide.", - "disabled": true - }, - { - "key": "accountHolderId", - "value": "accountHolderId_example", - "description": "The unique identifier of the [account holder](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/get/accountHolders/{id}__queryParam_id). Required if you don't provide a `balanceAccountId` or `balancePlatform`. If you provide a `balanceAccountId`, the `accountHolderId` must be related to the `balanceAccountId`.", - "disabled": true - }, - { - "key": "balanceAccountId", - "value": "balanceAccountId_example", - "description": "The unique identifier of the [balance account](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/get/balanceAccounts/{id}__queryParam_id). Required if you don't provide an `accountHolderId` or `balancePlatform`. If you provide an `accountHolderId`, the `balanceAccountId` must be related to the `accountHolderId`.", - "disabled": true - }, - { - "key": "cursor", - "value": "cursor_example", - "description": "The `cursor` returned in the links of the previous response.", - "disabled": true - }, - { - "key": "createdSince", - "value": "2013-10-20T19:20:30+01:00", - "description": "Only include transactions that have been created on or after this point in time. The value must be in ISO 8601 format. For example, **2021-05-30T15:07:40Z**.", - "disabled": false - }, - { - "key": "createdUntil", - "value": "2013-10-20T19:20:30+01:00", - "description": "Only include transactions that have been created on or before this point in time. The value must be in ISO 8601 format. For example, **2021-05-30T15:07:40Z**.", - "disabled": false - }, - { - "key": "limit", - "value": "56", - "description": "The number of items returned per page, maximum of 100 items. By default, the response returns 10 items per page.", - "disabled": true - } - ] - }, - "description": ">Versions 1 and 2 of the Transfers API are deprecated. If you are just starting your implementation, use the latest version. Returns all the transactions related to a balance account, account holder, or balance platform. When making this request, you must include at least one of the following: - `balanceAccountId` - `accountHolderId` - `balancePlatform`. This endpoint supports cursor-based pagination. The response returns the first page of results, and returns links to the next and previous pages when applicable. You can use the links to page through the results. " - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/transactions", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "transactions" + ], + "variable": [ + ], + "query": [ + { + "key": "balancePlatform", + "value": "balancePlatform_example", + "description": "The unique identifier of the [balance platform](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/get/balancePlatforms/{id}__queryParam_id). Required if you don't provide a `balanceAccountId` or `accountHolderId`.", + "disabled": true + }, + { + "key": "paymentInstrumentId", + "value": "paymentInstrumentId_example", + "description": "The unique identifier of the [payment instrument](https://docs.adyen.com/api-explorer/balanceplatform/latest/get/paymentInstruments/_id_). To use this parameter, you must also provide a `balanceAccountId`, `accountHolderId`, or `balancePlatform`. The `paymentInstrumentId` must be related to the `balanceAccountId` or `accountHolderId` that you provide.", + "disabled": true + }, + { + "key": "accountHolderId", + "value": "accountHolderId_example", + "description": "The unique identifier of the [account holder](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/get/accountHolders/{id}__queryParam_id). Required if you don't provide a `balanceAccountId` or `balancePlatform`. If you provide a `balanceAccountId`, the `accountHolderId` must be related to the `balanceAccountId`.", + "disabled": true + }, + { + "key": "balanceAccountId", + "value": "balanceAccountId_example", + "description": "The unique identifier of the [balance account](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/get/balanceAccounts/{id}__queryParam_id). Required if you don't provide an `accountHolderId` or `balancePlatform`. If you provide an `accountHolderId`, the `balanceAccountId` must be related to the `accountHolderId`.", + "disabled": true + }, + { + "key": "cursor", + "value": "cursor_example", + "description": "The `cursor` returned in the links of the previous response.", + "disabled": true + }, + { + "key": "createdSince", + "value": "2013-10-20T19:20:30+01:00", + "description": "Only include transactions that have been created on or after this point in time. The value must be in ISO 8601 format. For example, **2021-05-30T15:07:40Z**.", + "disabled": false + }, + { + "key": "createdUntil", + "value": "2013-10-20T19:20:30+01:00", + "description": "Only include transactions that have been created on or before this point in time. The value must be in ISO 8601 format. For example, **2021-05-30T15:07:40Z**.", + "disabled": false + }, + { + "key": "limit", + "value": "56", + "description": "The number of items returned per page, maximum of 100 items. By default, the response returns 10 items per page.", + "disabled": true + } + ] + }, + "description": ">Versions 1 and 2 of the Transfers API are deprecated. If you are just starting your implementation, use the latest version. Returns all the transactions related to a balance account, account holder, or balance platform. When making this request, you must include at least one of the following: - `balanceAccountId` - `accountHolderId` - `balancePlatform`. This endpoint supports cursor-based pagination. The response returns the first page of results, and returns links to the next and previous pages when applicable. You can use the links to page through the results. " +} + ,"response": [ + ] } ] - } -, + }, { "name": "/transactions/:id", "description": ">Versions 1 and 2 of the Transfers API are deprecated. If you are just starting your implementation, use the latest version. Returns a transaction.", @@ -111,49 +112,50 @@ { "name": "Get a transaction", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/transactions/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "transactions", - ":id" - ], - "variable": [ - { - "key": "id", - "value": "", - "description": "The unique identifier of the transaction." - } - ], - "query": [ - ] - }, - "description": ">Versions 1 and 2 of the Transfers API are deprecated. If you are just starting your implementation, use the latest version. Returns a transaction." - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/transactions/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "transactions", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "The unique identifier of the transaction." + } + ], + "query": [ + ] + }, + "description": ">Versions 1 and 2 of the Transfers API are deprecated. If you are just starting your implementation, use the latest version. Returns a transaction." +} + ,"response": [ + ] } ] } - ] }, { @@ -166,251 +168,545 @@ { "name": "Make a cross-border transfer", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "WWW-Authenticate", - "value": "", - "description": "Header for authenticating through SCA", - "disabled": true + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "WWW-Authenticate", + "value": "", + "description": "Header for authenticating through SCA", + "disabled": true + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"amount\" : {\n \"value\" : 110000,\n \"currency\" : \"EUR\"\n },\n \"balanceAccountId\" : \"BAB8B2C3D4E5F6G7H8D9J6GD4\",\n \"category\" : \"bank\",\n \"counterparty\" : {\n \"bankAccount\" : {\n \"accountHolder\" : {\n \"fullName\" : \"A. Klaassen\",\n \"address\" : {\n \"city\" : \"San Francisco\",\n \"country\" : \"US\",\n \"postalCode\" : \"94678\",\n \"stateOrProvince\" : \"CA\",\n \"line1\" : \"274\",\n \"line2\" : \"Brannan Street\"\n }\n },\n \"accountIdentification\" : {\n \"type\" : \"numberAndBic\",\n \"accountNumber\" : \"123456789\",\n \"bic\" : \"BOFAUS3NXXX\"\n }\n }\n },\n \"priority\" : \"crossBorder\",\n \"referenceForBeneficiary\" : \"Your-reference-sent-to-the-beneficiary\",\n \"reference\" : \"Your internal reference for the transfer\",\n \"description\" : \"Your description for the transfer\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/transfers", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "transfers" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": ">Versions 1 and 2 of the Transfers API are deprecated. If you are just starting your implementation, use the latest version. Starts a request to transfer funds to [balance accounts](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/post/balanceAccounts), [transfer instruments](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/transferInstruments), or third-party bank accounts. Adyen sends the outcome of the transfer request through webhooks. To use this endpoint, you need an additional role for your API credential and transfers must be enabled for the source balance account. Your Adyen contact will set these up for you." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"id\" : \"1W1UG35U8A9J5ZLG\",\n \"accountHolder\" : {\n \"description\" : \"Your account holder description\",\n \"id\" : \"AH3227C223222C5GXQXF658WB\",\n \"reference\" : \"Your account holder reference\"\n },\n \"amount\" : {\n \"value\" : 110000,\n \"currency\" : \"EUR\"\n },\n \"balanceAccount\" : {\n \"description\" : \"Your balance account description\",\n \"id\" : \"BAB8B2C3D4E5F6G7H8D9J6GD4\",\n \"reference\" : \"Your balance account reference\"\n },\n \"category\" : \"bank\",\n \"categoryData\" : {\n \"priority\" : \"crossBorder\",\n \"type\" : \"bank\"\n },\n \"counterparty\" : {\n \"bankAccount\" : {\n \"accountHolder\" : {\n \"fullName\" : \"A. Klaassen\",\n \"address\" : {\n \"city\" : \"San Francisco\",\n \"country\" : \"US\",\n \"postalCode\" : \"94678\",\n \"stateOrProvince\" : \"CA\",\n \"line1\" : \"274\",\n \"line2\" : \"Brannan Street\"\n }\n },\n \"accountIdentification\" : {\n \"type\" : \"numberAndBic\",\n \"accountNumber\" : \"123456789\",\n \"bic\" : \"BOFAUS3NXXX\"\n }\n }\n },\n \"paymentInstrument\" : {\n \"description\" : \"Your payment instrument description\",\n \"id\" : \"PI3222G223222G59347DAA265\",\n \"reference\" : \"Your payment instrument reference\"\n },\n \"referenceForBeneficiary\" : \"Your-reference-sent-to-the-beneficiary\",\n \"reference\" : \"Your internal reference for the transfer\",\n \"description\" : \"Your description for the transfer\",\n \"direction\" : \"outgoing\",\n \"reason\" : \"approved\",\n \"status\" : \"authorised\"\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "WWW-Authenticate", + "value": "", + "description": "Header for authenticating through SCA", + "disabled": true + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"amount\" : {\n \"value\" : 110000,\n \"currency\" : \"EUR\"\n },\n \"balanceAccountId\" : \"BAB8B2C3D4E5F6G7H8D9J6GD4\",\n \"category\" : \"bank\",\n \"counterparty\" : {\n \"bankAccount\" : {\n \"accountHolder\" : {\n \"fullName\" : \"A. Klaassen\",\n \"address\" : {\n \"city\" : \"San Francisco\",\n \"country\" : \"US\",\n \"postalCode\" : \"94678\",\n \"stateOrProvince\" : \"CA\",\n \"line1\" : \"274\",\n \"line2\" : \"Brannan Street\"\n }\n },\n \"accountIdentification\" : {\n \"type\" : \"numberAndBic\",\n \"accountNumber\" : \"123456789\",\n \"bic\" : \"BOFAUS3NXXX\"\n }\n }\n },\n \"priority\" : \"crossBorder\",\n \"referenceForBeneficiary\" : \"Your-reference-sent-to-the-beneficiary\",\n \"reference\" : \"Your internal reference for the transfer\",\n \"description\" : \"Your description for the transfer\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/transfers", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "transfers" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": ">Versions 1 and 2 of the Transfers API are deprecated. If you are just starting your implementation, use the latest version. Starts a request to transfer funds to [balance accounts](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/post/balanceAccounts), [transfer instruments](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/transferInstruments), or third-party bank accounts. Adyen sends the outcome of the transfer request through webhooks. To use this endpoint, you need an additional role for your API credential and transfers must be enabled for the source balance account. Your Adyen contact will set these up for you." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"value\" : 110000,\n \"currency\" : \"EUR\"\n },\n \"balanceAccountId\" : \"BAB8B2C3D4E5F6G7H8D9J6GD4\",\n \"category\" : \"bank\",\n \"counterparty\" : {\n \"bankAccount\" : {\n \"accountHolder\" : {\n \"fullName\" : \"A. Klaassen\",\n \"address\" : {\n \"city\" : \"San Francisco\",\n \"country\" : \"US\",\n \"postalCode\" : \"94678\",\n \"stateOrProvince\" : \"CA\",\n \"line1\" : \"274\",\n \"line2\" : \"Brannan Street\"\n }\n },\n \"accountIdentification\" : {\n \"type\" : \"numberAndBic\",\n \"accountNumber\" : \"123456789\",\n \"bic\" : \"BOFAUS3NXXX\"\n }\n }\n },\n \"priority\" : \"crossBorder\",\n \"referenceForBeneficiary\" : \"Your-reference-sent-to-the-beneficiary\",\n \"reference\" : \"Your internal reference for the transfer\",\n \"description\" : \"Your description for the transfer\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/transfers", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "transfers" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": ">Versions 1 and 2 of the Transfers API are deprecated. If you are just starting your implementation, use the latest version. Starts a request to transfer funds to [balance accounts](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/post/balanceAccounts), [transfer instruments](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/transferInstruments), or third-party bank accounts. Adyen sends the outcome of the transfer request through webhooks. To use this endpoint, you need an additional role for your API credential and transfers must be enabled for the source balance account. Your Adyen contact will set these up for you." - } + ] }, { "name": "Make a SEPA funds transfer", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "WWW-Authenticate", - "value": "", - "description": "Header for authenticating through SCA", - "disabled": true + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "WWW-Authenticate", + "value": "", + "description": "Header for authenticating through SCA", + "disabled": true + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"amount\" : {\n \"value\" : 110000,\n \"currency\" : \"EUR\"\n },\n \"balanceAccountId\" : \"BAB8B2C3D4E5F6G7H8D9J6GD4\",\n \"category\" : \"bank\",\n \"counterparty\" : {\n \"bankAccount\" : {\n \"accountHolder\" : {\n \"fullName\" : \"A. Klaassen\"\n },\n \"accountIdentification\" : {\n \"type\" : \"iban\",\n \"iban\" : \"NL91ABNA0417164300\"\n }\n }\n },\n \"priority\" : \"regular\",\n \"referenceForBeneficiary\" : \"Your-reference-sent-to-the-beneficiary\",\n \"reference\" : \"Your internal reference for the transfer\",\n \"description\" : \"Your description for the transfer\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/transfers", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "transfers" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": ">Versions 1 and 2 of the Transfers API are deprecated. If you are just starting your implementation, use the latest version. Starts a request to transfer funds to [balance accounts](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/post/balanceAccounts), [transfer instruments](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/transferInstruments), or third-party bank accounts. Adyen sends the outcome of the transfer request through webhooks. To use this endpoint, you need an additional role for your API credential and transfers must be enabled for the source balance account. Your Adyen contact will set these up for you." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"id\" : \"1W1UG35U8A9J5ZLG\",\n \"accountHolder\" : {\n \"description\" : \"Your account holder description\",\n \"id\" : \"AH3227C223222C5GXQXF658WB\",\n \"reference\" : \"Your account holder reference\"\n },\n \"amount\" : {\n \"value\" : 110000,\n \"currency\" : \"EUR\"\n },\n \"balanceAccount\" : {\n \"description\" : \"Your balance account description\",\n \"id\" : \"BAB8B2C3D4E5F6G7H8D9J6GD4\",\n \"reference\" : \"Your balance account reference\"\n },\n \"category\" : \"bank\",\n \"categoryData\" : {\n \"priority\" : \"regular\",\n \"type\" : \"bank\"\n },\n \"counterparty\" : {\n \"bankAccount\" : {\n \"accountHolder\" : {\n \"fullName\" : \"A. Klaassen\"\n },\n \"accountIdentification\" : {\n \"type\" : \"iban\",\n \"iban\" : \"NL91ABNA0417164300\"\n }\n }\n },\n \"paymentInstrument\" : {\n \"description\" : \"Your payment instrument description\",\n \"id\" : \"PI3222G223222G59347DAA265\",\n \"reference\" : \"Your payment instrument reference\"\n },\n \"referenceForBeneficiary\" : \"Your-reference-sent-to-the-beneficiary\",\n \"reference\" : \"Your internal reference for the transfer\",\n \"description\" : \"Your description for the transfer\",\n \"direction\" : \"outgoing\",\n \"reason\" : \"approved\",\n \"status\" : \"authorised\"\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "WWW-Authenticate", + "value": "", + "description": "Header for authenticating through SCA", + "disabled": true + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"amount\" : {\n \"value\" : 110000,\n \"currency\" : \"EUR\"\n },\n \"balanceAccountId\" : \"BAB8B2C3D4E5F6G7H8D9J6GD4\",\n \"category\" : \"bank\",\n \"counterparty\" : {\n \"bankAccount\" : {\n \"accountHolder\" : {\n \"fullName\" : \"A. Klaassen\"\n },\n \"accountIdentification\" : {\n \"type\" : \"iban\",\n \"iban\" : \"NL91ABNA0417164300\"\n }\n }\n },\n \"priority\" : \"regular\",\n \"referenceForBeneficiary\" : \"Your-reference-sent-to-the-beneficiary\",\n \"reference\" : \"Your internal reference for the transfer\",\n \"description\" : \"Your description for the transfer\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/transfers", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "transfers" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": ">Versions 1 and 2 of the Transfers API are deprecated. If you are just starting your implementation, use the latest version. Starts a request to transfer funds to [balance accounts](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/post/balanceAccounts), [transfer instruments](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/transferInstruments), or third-party bank accounts. Adyen sends the outcome of the transfer request through webhooks. To use this endpoint, you need an additional role for your API credential and transfers must be enabled for the source balance account. Your Adyen contact will set these up for you." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"value\" : 110000,\n \"currency\" : \"EUR\"\n },\n \"balanceAccountId\" : \"BAB8B2C3D4E5F6G7H8D9J6GD4\",\n \"category\" : \"bank\",\n \"counterparty\" : {\n \"bankAccount\" : {\n \"accountHolder\" : {\n \"fullName\" : \"A. Klaassen\"\n },\n \"accountIdentification\" : {\n \"type\" : \"iban\",\n \"iban\" : \"NL91ABNA0417164300\"\n }\n }\n },\n \"priority\" : \"regular\",\n \"referenceForBeneficiary\" : \"Your-reference-sent-to-the-beneficiary\",\n \"reference\" : \"Your internal reference for the transfer\",\n \"description\" : \"Your description for the transfer\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/transfers", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "transfers" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": ">Versions 1 and 2 of the Transfers API are deprecated. If you are just starting your implementation, use the latest version. Starts a request to transfer funds to [balance accounts](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/post/balanceAccounts), [transfer instruments](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/transferInstruments), or third-party bank accounts. Adyen sends the outcome of the transfer request through webhooks. To use this endpoint, you need an additional role for your API credential and transfers must be enabled for the source balance account. Your Adyen contact will set these up for you." - } + ] }, { "name": "Make a US local funds transfer", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "WWW-Authenticate", - "value": "", - "description": "Header for authenticating through SCA", - "disabled": true + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "WWW-Authenticate", + "value": "", + "description": "Header for authenticating through SCA", + "disabled": true + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"amount\" : {\n \"value\" : 110000,\n \"currency\" : \"USD\"\n },\n \"balanceAccountId\" : \"BAB8B2C3D4E5F6G7H8D9J6GD4\",\n \"category\" : \"bank\",\n \"counterparty\" : {\n \"bankAccount\" : {\n \"accountHolder\" : {\n \"fullName\" : \"A. Klaassen\"\n },\n \"accountIdentification\" : {\n \"type\" : \"usLocal\",\n \"accountNumber\" : \"123456789\",\n \"routingNumber\" : \"011000138\"\n }\n }\n },\n \"priority\" : \"regular\",\n \"referenceForBeneficiary\" : \"Your-reference-sent-to-the-beneficiary\",\n \"reference\" : \"Your internal reference for the transfer\",\n \"description\" : \"Your description for the transfer\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/transfers", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "transfers" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": ">Versions 1 and 2 of the Transfers API are deprecated. If you are just starting your implementation, use the latest version. Starts a request to transfer funds to [balance accounts](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/post/balanceAccounts), [transfer instruments](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/transferInstruments), or third-party bank accounts. Adyen sends the outcome of the transfer request through webhooks. To use this endpoint, you need an additional role for your API credential and transfers must be enabled for the source balance account. Your Adyen contact will set these up for you." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"id\" : \"1W1UG35U8A9J5ZLG\",\n \"accountHolder\" : {\n \"description\" : \"Your account holder description\",\n \"id\" : \"AH3227C223222C5GXQXF658WB\",\n \"reference\" : \"Your account holder reference\"\n },\n \"amount\" : {\n \"value\" : 110000,\n \"currency\" : \"USD\"\n },\n \"balanceAccount\" : {\n \"description\" : \"Your balance account description\",\n \"id\" : \"BAB8B2C3D4E5F6G7H8D9J6GD4\",\n \"reference\" : \"Your balance account reference\"\n },\n \"category\" : \"bank\",\n \"categoryData\" : {\n \"priority\" : \"regular\",\n \"type\" : \"bank\"\n },\n \"counterparty\" : {\n \"bankAccount\" : {\n \"accountHolder\" : {\n \"fullName\" : \"A. Klaassen\"\n },\n \"accountIdentification\" : {\n \"type\" : \"usLocal\",\n \"accountNumber\" : \"123456789\",\n \"routingNumber\" : \"011000138\"\n }\n }\n },\n \"paymentInstrument\" : {\n \"description\" : \"Your payment instrument description\",\n \"id\" : \"PI3222G223222G59347DAA265\",\n \"reference\" : \"Your payment instrument reference\"\n },\n \"referenceForBeneficiary\" : \"Your-reference-sent-to-the-beneficiary\",\n \"reference\" : \"Your internal reference for the transfer\",\n \"description\" : \"Your description for the transfer\",\n \"direction\" : \"outgoing\",\n \"reason\" : \"approved\",\n \"status\" : \"authorised\"\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "WWW-Authenticate", + "value": "", + "description": "Header for authenticating through SCA", + "disabled": true + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"amount\" : {\n \"value\" : 110000,\n \"currency\" : \"USD\"\n },\n \"balanceAccountId\" : \"BAB8B2C3D4E5F6G7H8D9J6GD4\",\n \"category\" : \"bank\",\n \"counterparty\" : {\n \"bankAccount\" : {\n \"accountHolder\" : {\n \"fullName\" : \"A. Klaassen\"\n },\n \"accountIdentification\" : {\n \"type\" : \"usLocal\",\n \"accountNumber\" : \"123456789\",\n \"routingNumber\" : \"011000138\"\n }\n }\n },\n \"priority\" : \"regular\",\n \"referenceForBeneficiary\" : \"Your-reference-sent-to-the-beneficiary\",\n \"reference\" : \"Your internal reference for the transfer\",\n \"description\" : \"Your description for the transfer\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/transfers", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "transfers" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": ">Versions 1 and 2 of the Transfers API are deprecated. If you are just starting your implementation, use the latest version. Starts a request to transfer funds to [balance accounts](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/post/balanceAccounts), [transfer instruments](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/transferInstruments), or third-party bank accounts. Adyen sends the outcome of the transfer request through webhooks. To use this endpoint, you need an additional role for your API credential and transfers must be enabled for the source balance account. Your Adyen contact will set these up for you." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"value\" : 110000,\n \"currency\" : \"USD\"\n },\n \"balanceAccountId\" : \"BAB8B2C3D4E5F6G7H8D9J6GD4\",\n \"category\" : \"bank\",\n \"counterparty\" : {\n \"bankAccount\" : {\n \"accountHolder\" : {\n \"fullName\" : \"A. Klaassen\"\n },\n \"accountIdentification\" : {\n \"type\" : \"usLocal\",\n \"accountNumber\" : \"123456789\",\n \"routingNumber\" : \"011000138\"\n }\n }\n },\n \"priority\" : \"regular\",\n \"referenceForBeneficiary\" : \"Your-reference-sent-to-the-beneficiary\",\n \"reference\" : \"Your internal reference for the transfer\",\n \"description\" : \"Your description for the transfer\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/transfers", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "transfers" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": ">Versions 1 and 2 of the Transfers API are deprecated. If you are just starting your implementation, use the latest version. Starts a request to transfer funds to [balance accounts](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/post/balanceAccounts), [transfer instruments](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/transferInstruments), or third-party bank accounts. Adyen sends the outcome of the transfer request through webhooks. To use this endpoint, you need an additional role for your API credential and transfers must be enabled for the source balance account. Your Adyen contact will set these up for you." - } + ] }, { "name": "Transfer funds to another balance account", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "WWW-Authenticate", - "value": "", - "description": "Header for authenticating through SCA", - "disabled": true + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "WWW-Authenticate", + "value": "", + "description": "Header for authenticating through SCA", + "disabled": true + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"amount\" : {\n \"value\" : 10000,\n \"currency\" : \"EUR\"\n },\n \"balanceAccountId\" : \"BAB8B2C3D4E5F6G7H8D9J6GD4\",\n \"category\" : \"internal\",\n \"counterparty\" : {\n \"balanceAccountId\" : \"BA32272223222B5LPRFDW7J9G\"\n },\n \"referenceForBeneficiary\" : \"Your-reference-sent-to-the-beneficiary\",\n \"reference\" : \"Your internal reference for the transfer\",\n \"description\" : \"Your description for the transfer\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/transfers", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "transfers" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": ">Versions 1 and 2 of the Transfers API are deprecated. If you are just starting your implementation, use the latest version. Starts a request to transfer funds to [balance accounts](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/post/balanceAccounts), [transfer instruments](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/transferInstruments), or third-party bank accounts. Adyen sends the outcome of the transfer request through webhooks. To use this endpoint, you need an additional role for your API credential and transfers must be enabled for the source balance account. Your Adyen contact will set these up for you." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"id\" : \"1W1UG35U8A9J5ZLG\",\n \"accountHolder\" : {\n \"description\" : \"Your account holder description\",\n \"id\" : \"AH3227C223222C5GXQXF658WB\",\n \"reference\" : \"Your account holder reference\"\n },\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 10000\n },\n \"balanceAccount\" : {\n \"description\" : \"Your balance account description\",\n \"id\" : \"BAB8B2C3D4E5F6G7H8D9J6GD4\",\n \"reference\" : \"Your balance account reference\"\n },\n \"category\" : \"internal\",\n \"counterparty\" : {\n \"balanceAccountId\" : \"BA32272223222B5LPRFDW7J9G\"\n },\n \"referenceForBeneficiary\" : \"Your-reference-sent-to-the-beneficiary\",\n \"reference\" : \"Your internal reference for the transfer\",\n \"description\" : \"Your description for the transfer\",\n \"direction\" : \"outgoing\",\n \"reason\" : \"approved\",\n \"status\" : \"authorised\"\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "WWW-Authenticate", + "value": "", + "description": "Header for authenticating through SCA", + "disabled": true + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"amount\" : {\n \"value\" : 10000,\n \"currency\" : \"EUR\"\n },\n \"balanceAccountId\" : \"BAB8B2C3D4E5F6G7H8D9J6GD4\",\n \"category\" : \"internal\",\n \"counterparty\" : {\n \"balanceAccountId\" : \"BA32272223222B5LPRFDW7J9G\"\n },\n \"referenceForBeneficiary\" : \"Your-reference-sent-to-the-beneficiary\",\n \"reference\" : \"Your internal reference for the transfer\",\n \"description\" : \"Your description for the transfer\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/transfers", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "transfers" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": ">Versions 1 and 2 of the Transfers API are deprecated. If you are just starting your implementation, use the latest version. Starts a request to transfer funds to [balance accounts](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/post/balanceAccounts), [transfer instruments](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/transferInstruments), or third-party bank accounts. Adyen sends the outcome of the transfer request through webhooks. To use this endpoint, you need an additional role for your API credential and transfers must be enabled for the source balance account. Your Adyen contact will set these up for you." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"value\" : 10000,\n \"currency\" : \"EUR\"\n },\n \"balanceAccountId\" : \"BAB8B2C3D4E5F6G7H8D9J6GD4\",\n \"category\" : \"internal\",\n \"counterparty\" : {\n \"balanceAccountId\" : \"BA32272223222B5LPRFDW7J9G\"\n },\n \"referenceForBeneficiary\" : \"Your-reference-sent-to-the-beneficiary\",\n \"reference\" : \"Your internal reference for the transfer\",\n \"description\" : \"Your description for the transfer\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/transfers", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "transfers" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": ">Versions 1 and 2 of the Transfers API are deprecated. If you are just starting your implementation, use the latest version. Starts a request to transfer funds to [balance accounts](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/post/balanceAccounts), [transfer instruments](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/transferInstruments), or third-party bank accounts. Adyen sends the outcome of the transfer request through webhooks. To use this endpoint, you need an additional role for your API credential and transfers must be enabled for the source balance account. Your Adyen contact will set these up for you." - } + ] }, { "name": "Pay out to a transfer instrument", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "WWW-Authenticate", - "value": "", - "description": "Header for authenticating through SCA", - "disabled": true + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "WWW-Authenticate", + "value": "", + "description": "Header for authenticating through SCA", + "disabled": true + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"amount\" : {\n \"value\" : 80000,\n \"currency\" : \"EUR\"\n },\n \"balanceAccountId\" : \"BAB8B2C3D4E5F6G7H8D9J6GD4\",\n \"category\" : \"bank\",\n \"counterparty\" : {\n \"transferInstrumentId\" : \"SE1234567890ABC1234567890\"\n },\n \"priority\" : \"regular\",\n \"referenceForBeneficiary\" : \"Your-reference-sent-to-the-beneficiary\",\n \"reference\" : \"Your internal reference for the transfer\",\n \"description\" : \"Your description for the transfer\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/transfers", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "transfers" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": ">Versions 1 and 2 of the Transfers API are deprecated. If you are just starting your implementation, use the latest version. Starts a request to transfer funds to [balance accounts](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/post/balanceAccounts), [transfer instruments](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/transferInstruments), or third-party bank accounts. Adyen sends the outcome of the transfer request through webhooks. To use this endpoint, you need an additional role for your API credential and transfers must be enabled for the source balance account. Your Adyen contact will set these up for you." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"id\" : \"1W1UG35U8A9J5ZLG\",\n \"accountHolder\" : {\n \"description\" : \"Your account holder description\",\n \"id\" : \"AH3227C223222C5GXQXF658WB\",\n \"reference\" : \"Your account holder reference\"\n },\n \"amount\" : {\n \"value\" : 80000,\n \"currency\" : \"EUR\"\n },\n \"balanceAccount\" : {\n \"description\" : \"Your balance account description\",\n \"id\" : \"BAB8B2C3D4E5F6G7H8D9J6GD4\",\n \"reference\" : \"Your balance account reference\"\n },\n \"category\" : \"bank\",\n \"categoryData\" : {\n \"priority\" : \"regular\",\n \"type\" : \"bank\"\n },\n \"counterparty\" : {\n \"transferInstrumentId\" : \"SE1234567890ABC1234567890\"\n },\n \"paymentInstrument\" : {\n \"description\" : \"Your payment instrument description\",\n \"id\" : \"PI3222G223222G59347DAA265\",\n \"reference\" : \"Your payment instrument reference\"\n },\n \"referenceForBeneficiary\" : \"Your-reference-sent-to-the-beneficiary\",\n \"reference\" : \"Your internal reference for the transfer\",\n \"description\" : \"Your description for the transfer\",\n \"direction\" : \"outgoing\",\n \"reason\" : \"approved\",\n \"status\" : \"authorised\"\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "WWW-Authenticate", + "value": "", + "description": "Header for authenticating through SCA", + "disabled": true + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"amount\" : {\n \"value\" : 80000,\n \"currency\" : \"EUR\"\n },\n \"balanceAccountId\" : \"BAB8B2C3D4E5F6G7H8D9J6GD4\",\n \"category\" : \"bank\",\n \"counterparty\" : {\n \"transferInstrumentId\" : \"SE1234567890ABC1234567890\"\n },\n \"priority\" : \"regular\",\n \"referenceForBeneficiary\" : \"Your-reference-sent-to-the-beneficiary\",\n \"reference\" : \"Your internal reference for the transfer\",\n \"description\" : \"Your description for the transfer\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/transfers", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "transfers" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": ">Versions 1 and 2 of the Transfers API are deprecated. If you are just starting your implementation, use the latest version. Starts a request to transfer funds to [balance accounts](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/post/balanceAccounts), [transfer instruments](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/transferInstruments), or third-party bank accounts. Adyen sends the outcome of the transfer request through webhooks. To use this endpoint, you need an additional role for your API credential and transfers must be enabled for the source balance account. Your Adyen contact will set these up for you." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\" : {\n \"value\" : 80000,\n \"currency\" : \"EUR\"\n },\n \"balanceAccountId\" : \"BAB8B2C3D4E5F6G7H8D9J6GD4\",\n \"category\" : \"bank\",\n \"counterparty\" : {\n \"transferInstrumentId\" : \"SE1234567890ABC1234567890\"\n },\n \"priority\" : \"regular\",\n \"referenceForBeneficiary\" : \"Your-reference-sent-to-the-beneficiary\",\n \"reference\" : \"Your internal reference for the transfer\",\n \"description\" : \"Your description for the transfer\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/transfers", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "transfers" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": ">Versions 1 and 2 of the Transfers API are deprecated. If you are just starting your implementation, use the latest version. Starts a request to transfer funds to [balance accounts](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/post/balanceAccounts), [transfer instruments](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/transferInstruments), or third-party bank accounts. Adyen sends the outcome of the transfer request through webhooks. To use this endpoint, you need an additional role for your API credential and transfers must be enabled for the source balance account. Your Adyen contact will set these up for you." - } + ] } ] - } -, + }, { "name": "/transfers/:transferId/returns", "description": "Returns previously transferred funds without creating a new `transferId`.", @@ -418,56 +714,57 @@ { "name": "Return a transfer", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"amount\": \"\",\n \"reference\": \"\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/transfers/:transferId/returns", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "transfers", - ":transferId", - "returns" - ], - "variable": [ - { - "key": "transferId", - "value": "", - "description": "The unique identifier of the transfer to be returned." - } - ], - "query": [ - ] - }, - "description": "Returns previously transferred funds without creating a new `transferId`." - } + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"amount\": \"\",\n \"reference\": \"\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/transfers/:transferId/returns", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "transfers", + ":transferId", + "returns" + ], + "variable": [ + { + "key": "transferId", + "value": "", + "description": "The unique identifier of the transfer to be returned." + } + ], + "query": [ + ] + }, + "description": "Returns previously transferred funds without creating a new `transferId`." +} + ,"response": [ + ] } ] } - ] }, { @@ -480,49 +777,50 @@ { "name": "Get a capital account", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/grants", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "grants" - ], - "variable": [ - ], - "query": [ - { - "key": "counterpartyAccountHolderId", - "value": "counterpartyAccountHolderId_example", - "description": "The counterparty account holder id.", - "disabled": true - } - ] - }, - "description": "Returns a list of grants with status and outstanding balances." - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/grants", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "grants" + ], + "variable": [ + ], + "query": [ + { + "key": "counterpartyAccountHolderId", + "value": "counterpartyAccountHolderId_example", + "description": "The counterparty account holder id.", + "disabled": true + } + ] + }, + "description": "Returns a list of grants with status and outstanding balances." +} + ,"response": [ + ] } ] - } -, + }, { "name": "/grants", "description": "Requests the payout of the selected grant offer.", @@ -530,49 +828,101 @@ { "name": "Request grant payout to a balance account", "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "description": "", - "disabled": false - }, - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"grantAccountId\" : \"CG00000000000000000000001\",\n \"grantOfferId\" : \"0000000000000001\",\n \"counterparty\" : {\n \"accountHolderId\" : \"AH00000000000000000000001\",\n \"balanceAccountId\" : \"BA00000000000000000000001\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/grants", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "grants" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Requests the payout of the selected grant offer." +} + ,"response": [ + {"name": "OK - the request has succeeded.", + "code": 200, + "status": "OK", + "header": [{ + "key": "Content-Type", + "value": "application/json"} + ], + "_postman_previewlanguage": "json", + "cookie": [], + "body" : "{\n \"id\" : \"GR00000000000000000000001\",\n \"grantAccountId\" : \"CG00000000000000000000001\",\n \"grantOfferId\" : \"0000000000000001\",\n \"counterparty\" : {\n \"accountHolderId\" : \"AH00000000000000000000001\",\n \"balanceAccountId\" : \"BA00000000000000000000001\"\n },\n \"amount\" : {\n \"currency\" : \"EUR\",\n \"value\" : 1000000\n },\n \"fee\" : {\n \"amount\" : {\n \"value\" : 120000,\n \"currency\" : \"EUR\"\n }\n },\n \"balances\" : {\n \"currency\" : \"EUR\",\n \"fee\" : 120000,\n \"principal\" : 1000000,\n \"total\" : 1120000\n },\n \"repayment\" : {\n \"basisPoints\" : 1400\n },\n \"status\" : \"Pending\"\n}", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "disabled": false + }, + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"grantAccountId\" : \"CG00000000000000000000001\",\n \"grantOfferId\" : \"0000000000000001\",\n \"counterparty\" : {\n \"accountHolderId\" : \"AH00000000000000000000001\",\n \"balanceAccountId\" : \"BA00000000000000000000001\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/grants", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "grants" + ], + "variable": [ + ], + "query": [ + ] + }, + "description": "Requests the payout of the selected grant offer." +} } - ], - "body": { - "mode": "raw", - "raw": "{\n \"grantAccountId\" : \"CG00000000000000000000001\",\n \"grantOfferId\" : \"0000000000000001\",\n \"counterparty\" : {\n \"accountHolderId\" : \"AH00000000000000000000001\",\n \"balanceAccountId\" : \"BA00000000000000000000001\"\n }\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/grants", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "grants" - ], - "variable": [ - ], - "query": [ - ] - }, - "description": "Requests the payout of the selected grant offer." - } + ] } ] - } -, + }, { "name": "/grants/:id", "description": "Returns the details of a capital account specified in the path.", @@ -580,49 +930,50 @@ { "name": "Get grant reference details", "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "", - "disabled": false - } - ], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{baseUrl}}/grants/:id", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "grants", - ":id" - ], - "variable": [ - { - "key": "id", - "value": "", - "description": "The unique identifier of the grant." - } - ], - "query": [ - ] - }, - "description": "Returns the details of a capital account specified in the path." - } + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "description": "", + "disabled": false + } + ], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/grants/:id", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "grants", + ":id" + ], + "variable": [ + { + "key": "id", + "value": "", + "description": "The unique identifier of the grant." + } + ], + "query": [ + ] + }, + "description": "Returns the details of a capital account specified in the path." +} + ,"response": [ + ] } ] } - ] } ],