{ "info": { "_postman_id": "b474128c-8e7e-41ee-a909-e60f927d05a7", "name": "Paiwise-Checkout", "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json", "_exporter_id": "18992219" }, "item": [ { "name": "Check - Create", "request": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json", "type": "text" } ], "body": { "mode": "raw", "raw": "{\r\n \"amount\": 1000,\r\n \"currency\": \"EUR\",\r\n \"message\": \"Bye\",\r\n \"capture\": false,\r\n \"returnUrl\": \"http://google.com\",\r\n \"returnUrlCancel\": \"http://facebook.com/testing\",\r\n \"metaData\": {\r\n \"data1\": \"testing data1\"\r\n }\r\n}" }, "url": { "raw": "https://api.paiwise.com/checkout/create", "protocol": "https", "host": [ "api", "paiwise", "com" ], "path": [ "checkout", "create" ] } }, "response": [] }, { "name": "Check - Retrieve", "request": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json", "type": "text" } ], "body": { "mode": "raw", "raw": "{\r\n \"checkout_id\": \"023476f6e5aa9453ea19cf9c1e5aa1af\"\r\n}" }, "url": { "raw": "https://api.paiwise.com/checkout/retrieve", "protocol": "https", "host": [ "api", "paiwise", "com" ], "path": [ "checkout", "retrieve" ] } }, "response": [] }, { "name": "Check - Capture", "request": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json", "type": "text" } ], "body": { "mode": "raw", "raw": "{\r\n \"checkout_id\": \"023476f6e5aa9453ea19cf9c1e5aa1af\"\r\n}" }, "url": { "raw": "https://api.paiwise.com/checkout/capture", "protocol": "https", "host": [ "api", "paiwise", "com" ], "path": [ "checkout", "capture" ] } }, "response": [] }, { "name": "Check - Refund", "request": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json", "type": "text" } ], "body": { "mode": "raw", "raw": "{\r\n \"checkout_id\": \"023476f6e5aa9453ea19cf9c1e5aa1af\",\r\n \"amount\": 100\r\n}" }, "url": { "raw": "https://api.paiwise.com/checkout/refund", "protocol": "https", "host": [ "api", "paiwise", "com" ], "path": [ "checkout", "refund" ] } }, "response": [] }, { "name": "Customer - Create", "request": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json", "type": "text" } ], "body": { "mode": "raw", "raw": "{\r\n \"first_name\": \"Name\",\r\n \"last_name\": \"Surname\",\r\n \"email\": \"email@test.com\",\r\n \"metaData\": {\r\n \"kundnummer\": \"00000000\"\r\n }\r\n}" }, "url": { "raw": "https://api.paiwise.com/checkout/create-customer", "protocol": "https", "host": [ "api", "paiwise", "com" ], "path": [ "checkout", "create-customer" ] } }, "response": [] }, { "name": "Customer - Retrieve", "request": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json", "type": "text" } ], "body": { "mode": "raw", "raw": "{\r\n \"customer_id\": \"32633bcc6f5b02d7b06859a887603056\"\r\n}" }, "url": { "raw": "https://api.paiwise.com/checkout/retrieve-customer", "protocol": "https", "host": [ "api", "paiwise", "com" ], "path": [ "checkout", "retrieve-customer" ] } }, "response": [] } ], "auth": { "type": "bearer", "bearer": [ { "key": "token", "value": "mzJgTvdMe8eV-V4bYSjhM1ks3XyIW38M", "type": "string" } ] }, "event": [ { "listen": "prerequest", "script": { "type": "text/javascript", "exec": [ "" ] } }, { "listen": "test", "script": { "type": "text/javascript", "exec": [ "" ] } } ] }