{ "info": { "_postman_id": "eb65907b-1119-4ba7-a7c2-cd108ffb7adc", "name": "Paiwise-Checkout (live)", "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json", "_exporter_id": "15495219" }, "item": [ { "name": "Check - Create", "request": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json", "type": "text" } ], "body": { "mode": "raw", "raw": "{\r\n \"amount\": 3000,\r\n \"currency\": \"EUR\",\r\n \"message\": \"Test\",\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 \"customer_id\": \"559b0c5dff5fc68a98a1f2e7f695eb16\",\r\n \"card_id\" : \"qNpdctqqDpIsIkKu\"\r\n}" }, "url": { "raw": "https://api.paiwise.com/checkout/create", "protocol": "https", "host": [ "api", "paiwise", "com" ], "path": [ "checkout", "create" ] } }, "response": [] }, { "name": "Check - Retreive", "request": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json", "type": "text" } ], "body": { "mode": "raw", "raw": "{\r\n \"checkout_id\": \"174f379d25cc44840034d8901b168ef2\"\r\n}" }, "url": { "raw": "https://api.paiwise.com/checkout/retreive", "protocol": "https", "host": [ "api", "paiwise", "com" ], "path": [ "checkout", "retreive" ] } }, "response": [] }, { "name": "Check - Capture", "request": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json", "type": "text" } ], "body": { "mode": "raw", "raw": "{\r\n \"checkout_id\": \"9a4020fe1fc272c6b7911fd4ca25355a\"\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\": \"9a4020fe1fc272c6b7911fd4ca25355a\",\r\n \"amount\": 3000\r\n}" }, "url": { "raw": "https://api.paiwise.com/checkout/refund", "protocol": "https", "host": [ "api", "paiwise", "com" ], "path": [ "checkout", "refund" ] } }, "response": [] }, { "name": "CreateCustomer", "request": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json", "type": "default" } ], "body": { "mode": "raw", "raw": "{\r\n \"first_name\" : \"Sven\",\r\n \"last_name\" : \"Svensson\",\r\n \"email\" : \"test@test.com\",\r\n \"metaData\" : {\r\n \"kundnummer\" : \"9fh9f7hf\"\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": "RetreiveCustomer", "request": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json", "type": "text" } ], "body": { "mode": "raw", "raw": "{\r\n \"customer_id\": \"559b0c5dff5fc68a98a1f2e7f695eb16\"\r\n}" }, "url": { "raw": "https://api.paiwise.com/checkout/retreive-customer", "protocol": "https", "host": [ "api", "paiwise", "com" ], "path": [ "checkout", "retreive-customer" ] } }, "response": [] } ], "auth": { "type": "bearer", "bearer": [ { "key": "token", "value": "yourAPIkey", "type": "string" } ] }, "event": [ { "listen": "prerequest", "script": { "type": "text/javascript", "exec": [ "" ] } }, { "listen": "test", "script": { "type": "text/javascript", "exec": [ "" ] } } ] }