{"info":{"_postman_id":"1511c7b5-194d-4366-ae6e-1a9feaa97654","name":"Clickpay Direct API","description":"<html><head></head><body><h1 id=\"clickpay-direct-api\">ClickPay Direct API</h1>\n\n<p>The official ClickPay API postman collection</p>\n<h2>Getting Started</h2>\n\n<p>In order to use the below API you need to have a ClickPay account. You can sign up for a free account<a href=\"https://merchant.clickpay.com.sa/merchant/register\">here</a>.</p>\n\n<p>Once you complete sign up and Log in to you ClickPay dashboard, Go to Developers page &gt; Key management, where you can find the profile id and server key using in this collection.</p>\n\n<h2>Target Audience</h2>\n\n<p>This document is intended for software engineers who needs to integrate a payment gateway for online payment acceptance</p>\n\n<h2>Assistance</h2>\n\n<p>If you require assistance, please email us at support@clickpay.sa</p>\n\n<h2>Documentation</h2>\n\n<p>For further documentation, you can find all technical documentation once you<a href=\"https://merchant.clickpay.com.sa/merchant/register\">sign up</a>to ClickPay account, in Developers Section.</p>\n\n<h2>Integration Solutions</h2>\n\n<ol><li><div><b>eCommerce Plugins</b>: Shopify, Magento, WooCommerce, OpenCart, CSCart, Expand Cart, Salla</div></li><li><div><b>Mobile SDK</b>: Android, IOS, React, Flutter</div></li><li><div><b>API Integrations: </b>ClickPay Hosted Payment Page, Managed Form, Merchant Own form</div></li></ol>\n\n<h2>Available Services</h2>\n\n<ul><li><div>Authorization and capture</div></li><li><div>eCommerce, MoTo, Recurring</div></li><li><div>Invoicing</div></li><li><div>Payment Notification (Callback service, Instant Payment Notifications)</div></li><li><div>Customer emails receipts (Send Grid)</div></li></ul>\n\n<h2>Payment Methods</h2>\n\n<ol><li><div>Credit Cards: Visa, MasterCard</div></li><li><div>Debit Cards: mada</div></li><li><div>Mobile Wallets: Apple pay</div></li></ol>\n\n<p>If the below tag is passed in the request for hosted payment page the relevant payment method is displayed if enabled for the merchant else all the applicable payment methods are displayed on the payment page.</p>\n<p>\"payment_methods\": [\"card\",\"applepay\"]</p>\n<table><tbody><tr><td><div><p><b>Payment Method</b></p></div><div><div><div><div></div></div></div><div></div></div></td><td><div><p><b>Description</b></p></div><div><div><div><div></div></div></div><div></div></div></td></tr><tr><td><div><p>card</p></div><div><div><div><div></div></div></div><div></div></div></td><td><div><p>Credit Card payment method</p></div><div><div><div><div></div></div></div><div></div></div></td></tr><tr><td><div><p>creditcard</p></div><div><div><div><div></div></div></div><div></div></div></td><td><div><p>Credit Card payment method</p></div><div><div><div><div></div></div></div><div></div></div></td></tr><tr><td><div><p>mada</p></div><div><div><div><div></div></div></div><div></div></div></td><td><div><p>MADA payment method in KSA</p></div><div><div><div><div></div></div></div><div></div></div></td></tr><tr><td><div><p>stcpay</p></div><div><div><div><div></div></div></div><div></div></div></td><td><div><p>STC Pay payment method in KSA</p></div><div><div><div><div></div></div></div><div></div></div></td></tr><tr><td><div><p>applepay</p></div><div><div><div><div></div></div></div><div></div></div></td><td><div><p>Apple pay payment method</p></div><div><div><div><div></div></div></div><div></div></div></td></tr></tbody></table>\n\n<h2>Testing</h2>\n\n<h3>Test Cards</h3>\n\n<p>Test Cards can be found in ClickPay merchant dashboard &gt; Developers &gt; Testing &gt; API debug log</p>\n\n<table><tbody><tr><td><div><p><b>Number</b></p></div><div><div><div><div></div></div></div><div></div></div></td><td><div><p><b>Scheme</b></p></div><div><div><div><div></div></div></div><div></div></div></td><td><div><p><b>CVV</b></p></div><div><div><div><div></div></div></div><div></div></div></td><td><div><p><b>3D enrolled</b></p></div><div><div><div><div></div></div></div><div></div></div></td></tr><tr><td><div><p>4000000000000002</p></div><div><div><div><div></div></div></div><div></div></div></td><td><div><p>Visa</p></div><div><div><div><div></div></div></div><div></div></div></td><td><div><p>123</p></div><div><div><div><div></div></div></div><div></div></div></td><td><div><p>Yes</p></div><div><div><div><div></div></div></div><div></div></div></td></tr><tr><td><div><p>4111111111111111</p></div><div><div><div><div></div></div></div><div></div></div></td><td><div><p>Visa</p></div><div><div><div><div></div></div></div><div></div></div></td><td><div><p>123</p></div><div><div><div><div></div></div></div><div></div></div></td><td><div><p>No</p></div><div><div><div><div></div></div></div><div></div></div></td></tr><tr><td><div><p>4012001036983332</p></div><div><div><div><div></div></div></div><div></div></div></td><td><div><p>Visa</p></div><div><div><div><div></div></div></div><div></div></div></td><td><div><p>530</p></div><div><div><div><div></div></div></div><div></div></div></td><td><div><p>Yes</p></div><div><div><div><div></div></div></div><div></div></div></td></tr><tr><td><div><p>5498383801606532</p></div><div><div><div><div></div></div></div><div></div></div></td><td><div><p>MasterCard</p></div><div><div><div><div></div></div></div><div></div></div></td><td><div><p>977</p></div><div><div><div><div></div></div></div><div></div></div></td><td><div><p>Yes</p></div><div><div><div><div></div></div></div><div></div></div></td></tr><tr><td><div><p>5200000000000007</p></div><div><div><div><div></div></div></div><div></div></div></td><td><div><p>MasterCard</p></div><div><div><div><div></div></div></div><div></div></div></td><td><div><p>977</p></div><div><div><div><div></div></div></div><div></div></div></td><td><div><p>Yes</p></div><div><div><div><div></div></div></div><div></div></div></td></tr><tr><td><div><p>5200000000000114</p></div><div><div><div><div></div></div></div><div></div></div></td><td><div><p>MasterCard</p></div><div><div><div><div></div></div></div><div></div></div></td><td><div><p>977</p></div><div><div><div><div></div></div></div><div></div></div></td><td><div><p>No</p></div><div><div><div><div></div></div></div><div></div></div></td></tr></tbody></table>\n\n<h3>Debugging</h3>\n\n<p>To help you troubleshoot your integration, API Debug logs can be found in ClickPay merchant dashboard &gt; Developers &gt; Testing &gt; API debug log</p>\n\n<h2>Hosted Payment Page UI Customization</h2>\n\n<p>Hosted Payment Page can be fully customized from ClickPay Merchant Dashboard &gt; Developers &gt; Paypage Settings, you can apply any of the following controls to match the hosted payment page UI with your websites theme:</p>\n\n<ul><li><div>Logo Image (Upload Image Logo)</div></li><li><div>Header Image (Upload Header Image)</div></li><li><div>Disable Merchant Name: Yes/No( Hide Merchant name under the Merchant logo )</div></li><li><div>Header Image Repeat: Yes/No</div></li><li><div>Header Image Position: (Left/Center/Right)</div></li><li><div>Header background color</div></li><li><div>Page background color</div></li><li><div>Page background grey transparent: (Y/N)</div></li><li><div>PayButton Background color</div></li><li><div>PayButton Hover color</div></li><li><div>PayButton Text color</div></li></ul>\n\n<h3>Hide Billing/Shipping details</h3>\n\n<p>To hide billing and shipping details, refer to the Post request sample in this collection (Create payment page - Hide billing &amp; shipping)</p>\n\n<h3>Framed Option</h3>\n\n<p>You can load the payment page in a frame on your checkout page avoiding the redirection of your customers to a new page, refer to the Post request sample in this collection (Create payment page – Framed)</p>\n\n<h2>Transaction API</h2>\n\n<p>The main transaction request API is used to process all payments, regardless of if they are through either&nbsp;your own payment pages, the&nbsp;managed payment pages, or if your are using the&nbsp;hosted payment pages.</p>\n\n<p>All requests are made using server-to-server calls, with JSON format data.</p>\n\n<p>The transaction request API must not be used from within a browser.</p>\n\n<p>All requests must be sent using HTTP POST to the ClickPay transaction API endpoint</p>\n\n<h3>Authorization Header</h3>\n\n<p>You will need your&nbsp;server key&nbsp;in order to make any of the API requests in this collection. This is not the same as the client key that is used within the&nbsp;managed payment pages. Authentication is done by including your server key in the 'Authorization:' header for the request.</p>\n\n<p>(Authorization Type: API key)</p>\n<p>Server key is available in your ClickPay Merchant Dashboard &gt; Developers Section &gt; Key Management</p></body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[{"content":"ClickPay Direct API","slug":"clickpay-direct-api"}],"owner":"20069242","collectionId":"1511c7b5-194d-4366-ae6e-1a9feaa97654","publishedId":"UVyn2e7i","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2025-09-08T07:53:29.000Z"},"item":[{"name":"Hosted Payment Page","item":[{"name":"Create Payment Page - General","event":[{"listen":"prerequest","script":{"id":"e78b4793-cae5-4bd4-97cc-6996facf01e5","exec":[""],"type":"text/javascript"}}],"id":"7d80fd2c-7a3f-433f-8cbb-b9b90ef58e6f","protocolProfileBehavior":{"disabledSystemHeaders":{"content-type":true},"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"profile_id\": {{profile_id}},\n    \"tran_type\": \"sale\",\n    \"tran_class\": \"ecom\",\n    \"cart_id\": \"cart_11111\",\n    \"cart_amount\": 0.01,\n    \"cart_currency\": \"{{currency}}\",\n    \"cart_description\": \"Description of the items/services\",\n    \"paypage_lang\": \"en\",\n    \"customer_details\": {\n        \"name\": \"first-name last-name\",\n        \"email\": \"name@email.com\",\n        \"phone\": \"05xxxxxxxx\",\n        \"street1\": \"address street\",\n        \"city\": \"riyadh\",\n        \"state\": \"riyadh\",\n        \"country\": \"SA\",\n        \"zip\": \"12345\"\n    },\n    \"shipping_details\": {\n        \"name\": \"name1 last1\",\n        \"email\": \"email1@domain.com\",\n        \"phone\": \"05xxxxxxxx\",\n        \"street1\": \"street2\",\n        \"city\": \"riyadh\",\n        \"state\": \"riyadh\",\n        \"country\": \"SA\",\n        \"zip\": \"54321\"\n    },\n    \"callback\": \"{{callback_url}}\",\n    \"return\": \"{{return_url}}\",\n    \"user_defined\": {\n        \"udf3\": \"UDF3 Test3\",\n        \"udf9\": \"UDF9 Test9\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://secure.clickpay.com.sa/payment/request","description":"<p>Create a Payment page for Hosted Payment Page Integration.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"authorization"},{"key":"value","value":"{{server_key}}"}]},"isInherited":true,"source":{"_postman_id":"1511c7b5-194d-4366-ae6e-1a9feaa97654","id":"1511c7b5-194d-4366-ae6e-1a9feaa97654","name":"Clickpay Direct API","type":"collection"}},"urlObject":{"protocol":"https","path":["payment","request"],"host":["secure","clickpay","com","sa"],"query":[],"variable":[]}},"response":[{"id":"65562927-bb35-4039-8cf2-1f0e1cb818cc","name":"Create Payment Page - with payment result","originalRequest":{"method":"POST","header":[{"key":"authorization","value":"{{server_key}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"profile_id\": {{profile_id}},\n    \"tran_type\": \"sale\",\n    \"tran_class\": \"ecom\",\n    \"cart_id\": \"cart_11111\",\n    \"cart_currency\": \"AED\",\n    \"cart_amount\": 12.3,\n    \"cart_description\": \"Description of the items/services\",\n    \"paypage_lang\": \"en\",\n    \"customer_details\": {\n        \"name\": \"first last\",\n        \"email\": \"email@domain.com\",\n        \"phone\": \"0522222222\",\n        \"street1\": \"address street\",\n        \"city\": \"dubai\",\n        \"state\": \"du\",\n        \"country\": \"AE\",\n        \"zip\": \"12345\",\n        \"ip\": \"1.1.1.1\"\n    },\n    \"shipping_details\": {\n        \"name\": \"name1 last1\",\n        \"email\": \"email1@domain.com\",\n        \"phone\": \"971555555555\",\n        \"street1\": \"street2\",\n        \"city\": \"dubai\",\n        \"state\": \"dubai\",\n        \"country\": \"AE\",\n        \"zip\": \"54321\",\n        \"ip\": \"2.2.2.2\"\n    },\n    \"callback\": \"{{callback_url}}\",\n    \"return\": \"{{return_url}}\",\n    \"card_details\": {\n      \"pan\": \"4111111111111111\",\n      \"cvv\": \"123\",\n      \"expiry_month\": 12,\n      \"expiry_year\": 2022 \n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://secure.clickpay.com.sa/payment/request"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 01 Dec 2020 18:32:47 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"934"},{"key":"Connection","value":"keep-alive"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Strict-Transport-Security","value":"max-age=63072000; includeSubDomains; preload"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Content-Security-Policy","value":"default-src 'self' *.paytabs.com; img-src https: data:; style-src 'self' *.paytabs.com 'unsafe-inline'; script-src 'self' *.paytabs.com 'unsafe-inline' 'unsafe-eval'; connect-src 'self' *.paytabs.com; frame-src 'self' *.paytabs.com; child-src 'self' *.paytabs.com;"}],"cookie":[],"responseTime":null,"body":"{\n    \"tran_ref\": \"TST2033600019178\",\n    \"tran_type\": \"Sale\",\n    \"cart_id\": \"cart_11111\",\n    \"cart_description\": \"Description of the items/services\",\n    \"cart_currency\": \"SAR\",\n    \"cart_amount\": \"12.3\",\n    \"return\": \"https://webhook.site/92ac6a52-256d-434b-bde8-94b1e73d3aa1\",\n    \"customer_details\": {\n        \"name\": \"first last\",\n        \"email\": \"email@domain.com\",\n        \"phone\": \"0522222222\",\n        \"street1\": \"address street\",\n        \"city\": \"riyadh\",\n        \"state\": \"riyadh\",\n        \"country\": \"SA\",\n        \"ip\": \"1.1.1.1\"\n    },\n    \"shipping_details\": {\n        \"name\": \"name1 last1\",\n        \"email\": \"email1@domain.com\",\n        \"phone\": \"971555555555\",\n        \"street1\": \"street2\",\n        \"city\": \"riyadh\",\n        \"state\": \"riyadh\",\n        \"country\": \"SA\",\n        \"ip\": \"2.2.2.2\"\n    },\n    \"payment_result\": {\n        \"response_status\": \"A\",\n        \"response_code\": \"831000\",\n        \"response_message\": \"Authorised\",\n        \"acquirer_message\": \"100:ACCEPT\",\n        \"acquirer_rrn\": \"033618116239\",\n        \"transaction_time\": \"2020-12-01T18:32:47Z\"\n    },\n    \"payment_info\": {\n        \"card_type\": \"Credit\",\n        \"card_scheme\": \"Visa\",\n        \"payment_description\": \"4111 11## #### 1111\"\n    },\n    \"token\": \"JfN1DVwmwVrSS5t4bP11CQ2t6gDyEp5T\"\n}"},{"id":"fc523dc9-e9d9-451f-ada2-8abcc7bc307a","name":"Create payment page","originalRequest":{"method":"POST","header":[{"key":"authorization","value":"{{server_key}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"profile_id\": {{profile_id}},\n    \"payment_methods\":[\"cup\"],\n    \"tran_type\": \"sale\",\n    \"tran_class\": \"ecom\",\n    \"cart_id\": \"cart_11111\",\n    \"cart_currency\": \"AED\",\n    \"cart_amount\": 123,\n    \"cart_description\": \"Description of the items/services\",\n    \"paypage_lang\": \"en\",\n    \"customer_details\": {\n        \"name\": \"first last\",\n        \"email\": \"email@domain.com\",\n        \"phone\": \"0522222222\",\n        \"street1\": \"address street\",\n        \"city\": \"dubai\",\n        \"state\": \"du\",\n        \"country\": \"AE\",\n        \"zip\": \"12345\"\n    },\n    \"shipping_details\": {\n        \"name\": \"name1 last1\",\n        \"email\": \"email1@domain.com\",\n        \"phone\": \"971555555555\",\n        \"street1\": \"street2\",\n        \"city\": \"dubai\",\n        \"state\": \"dubai\",\n        \"country\": \"AE\",\n        \"zip\": \"54321\"\n    },\n    \"card_details\": {\n    \"pan\":              \"The card number\",\n    \"expiry_month\":     Month part of the expiry date, 1-12,\n    \"expiry_year\":      Year part of the expiry date, as a 4 digit year,\n    \"cvv\":\n    }\n    \"callback\": \"{{callback_url}}\",\n    \"return\": \"{{return_url}}\",\n    \"card_discounts\":[\n\t\t{\n\t\t\t\"discount_cards\":\"4111,5200\",\n\t\t\t\"discount_amount\": \"1.0\",\n\t\t\t\"discount_title\": \"50% discount on cards start with 4111,5200\"\n\t\t},\n\t\t{\n\t\t\t\"discount_cards\":\"4000\",\n\t\t\t\"discount_amount\": \"25\",\n\t\t\t\"discount_title\": \"25% discount on cards start with 4000\"\n\t\t}\n\t]\n}","options":{"raw":{"language":"json"}}},"url":"https://secure.clickpay.com.sa/payment/request"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 01 Dec 2020 13:49:50 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"740"},{"key":"Connection","value":"keep-alive"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Strict-Transport-Security","value":"max-age=63072000; includeSubDomains; preload"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Content-Security-Policy","value":"default-src 'self' *.paytabs.com; img-src https: data:; style-src 'self' *.paytabs.com 'unsafe-inline'; script-src 'self' *.paytabs.com 'unsafe-inline' 'unsafe-eval'; connect-src 'self' *.paytabs.com; frame-src 'self' *.paytabs.com; child-src 'self' *.paytabs.com;"}],"cookie":[],"responseTime":null,"body":"{\n    \"tran_ref\": \"TST2033600019149\",\n    \"tran_type\": \"Sale\",\n    \"cart_id\": \"cart_11111\",\n    \"cart_description\": \"Description of the items/services\",\n    \"cart_currency\": \"SAR\",\n    \"cart_amount\": \"123\",\n    \"callback\": \"https://webhook.site/92ac6a52-256d-434b-bde8-94b1e73d3aa1\",\n    \"return\": \"https://webhook.site/92ac6a52-256d-434b-bde8-94b1e73d3aa1\",\n    \"redirect_url\": \"https://secure.clickpay.com.sa/payment/page/00C58CE782E419E877BEEC073DBED38E53899637B4FC4338E9A45211\",\n    \"customer_details\": {\n        \"name\": \"first last\",\n        \"email\": \"email@domain.com\",\n        \"phone\": \"0522222222\",\n        \"street1\": \"address street\",\n        \"city\": \"riyadh\",\n        \"state\": \"riyadh\",\n        \"country\": \"SA\"\n    },\n    \"shipping_details\": {\n        \"name\": \"name1 last1\",\n        \"email\": \"email1@domain.com\",\n        \"phone\": \"971555555555\",\n        \"street1\": \"street2\",\n        \"city\": \"riyadh\",\n        \"state\": \"riyadh\",\n        \"country\": \"SA\"\n    }\n}"},{"id":"62dcb2c0-ee7c-4c86-8354-a00c9ed8ff3d","name":"Create Payment Page-with redirecturl","originalRequest":{"method":"POST","header":[{"key":"authorization","value":"{{server_key}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"profile_id\": {{profile_id}},\n    \"tran_type\": \"sale\",\n    \"tran_class\": \"ecom\",\n    \"cart_id\": \"cart_11111\",\n    \"cart_currency\": \"AED\",\n    \"cart_amount\": 12.3,\n    \"cart_description\": \"Description of the items/services\",\n    \"paypage_lang\": \"en\",\n    \"customer_details\": {\n        \"name\": \"first last\",\n        \"email\": \"email@domain.com\",\n        \"phone\": \"0522222222\",\n        \"street1\": \"address street\",\n        \"city\": \"dubai\",\n        \"state\": \"du\",\n        \"country\": \"AE\",\n        \"zip\": \"12345\",\n        \"ip\": \"1.1.1.1\"\n    },\n    \"shipping_details\": {\n        \"name\": \"name1 last1\",\n        \"email\": \"email1@domain.com\",\n        \"phone\": \"971555555555\",\n        \"street1\": \"street2\",\n        \"city\": \"dubai\",\n        \"state\": \"dubai\",\n        \"country\": \"AE\",\n        \"zip\": \"54321\",\n        \"ip\": \"2.2.2.2\"\n    },\n    \"callback\": \"{{callback_url}}\",\n    \"return\": \"{{return_url}}\",\n    \"card_details\": {\n      \"pan\": \"4000000000000002\",\n      \"cvv\": \"123\",\n      \"expiry_month\": 12,\n      \"expiry_year\": 2022 \n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://secure.clickpay.com.sa/payment/request"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 01 Dec 2020 18:33:40 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"812"},{"key":"Connection","value":"keep-alive"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Strict-Transport-Security","value":"max-age=63072000; includeSubDomains; preload"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Content-Security-Policy","value":"default-src 'self' *.paytabs.com; img-src https: data:; style-src 'self' *.paytabs.com 'unsafe-inline'; script-src 'self' *.paytabs.com 'unsafe-inline' 'unsafe-eval'; connect-src 'self' *.paytabs.com; frame-src 'self' *.paytabs.com; child-src 'self' *.paytabs.com;"}],"cookie":[],"responseTime":null,"body":"{\n    \"tran_ref\": \"TST2033600019179\",\n    \"tran_type\": \"Sale\",\n    \"cart_id\": \"cart_11111\",\n    \"cart_description\": \"Description of the items/services\",\n    \"cart_currency\": \"SAR\",\n    \"cart_amount\": \"12.3\",\n    \"return\": \"https://webhook.site/92ac6a52-256d-434b-bde8-94b1e73d3aa1\",\n    \"redirect_url\": \"https://secure.clickpay.com.sa/payment/page/00C5499B82E406E003415A157D77D5FD9CBCCE3E537AD06E5865E7CA/redirect\",\n    \"customer_details\": {\n        \"name\": \"first last\",\n        \"email\": \"email@domain.com\",\n        \"phone\": \"0522222222\",\n        \"street1\": \"address street\",\n        \"city\": \"riyadh\",\n        \"state\": \"riyadh\",\n        \"country\": \"SA\",\n        \"ip\": \"1.1.1.1\"\n    },\n    \"shipping_details\": {\n        \"name\": \"name1 last1\",\n        \"email\": \"email1@domain.com\",\n        \"phone\": \"971555555555\",\n        \"street1\": \"street2\",\n        \"city\": \"riyadh\",\n        \"state\": \"riyadh\",\n        \"country\": \"SA\",\n        \"ip\": \"2.2.2.2\"\n    },\n    \"payment_info\": {\n        \"card_type\": \"Credit\",\n        \"card_scheme\": \"Visa\",\n        \"payment_description\": \"4000 00## #### 0002\"\n    }\n}"}],"_postman_id":"7d80fd2c-7a3f-433f-8cbb-b9b90ef58e6f"},{"name":"Create Payment Page - With custom params","id":"92b062ea-dec6-4d5c-b963-6cfe64afbcd2","protocolProfileBehavior":{"disabledSystemHeaders":{},"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"profile_id\": {{profile_id}},\n    \"tran_type\": \"sale\",\n    \"tran_class\": \"ecom\",\n    \"cart_id\": \"cart_11111\",\n    \"cart_currency\": \"SAR\",\n    \"cart_amount\": 12.3,\n    \"cart_description\": \"Description of the items/services\",\n    \"paypage_lang\": \"en\",\n    \"customer_details\": {\n        \"name\": \"first last\",\n        \"email\": \"email@domain.com\",\n        \"phone\": \"0522222222\",\n        \"street1\": \"address street\",\n        \"city\": \"riaydh\",\n        \"state\": \"riaydh\",\n        \"country\": \"SA\",\n        \"zip\": \"12345\"\n    },\n    \"shipping_details\": {\n        \"name\": \"name1 last1\",\n        \"email\": \"email1@domain.com\",\n        \"phone\": \"971555555555\",\n        \"street1\": \"street2\",\n        \"city\": \"riaydh\",\n        \"state\": \"riaydh\",\n        \"country\": \"SA\",\n        \"zip\": \"54321\"\n    },\n    \"callback\": \"\",\n    \"return\": \"\",\n    \"user_defined\": {\n        \"udf1\": \"UDF1 Test\",\n        \"udf2\": \"UDF2 Test\",\n        \"udf3\": \"UDF3 Test\",\n        \"udf4\": \"UDF4 Test\",\n        \"udf5\": \"UDF5 Test\",\n        \"udf6\": \"UDF6 Test\",\n        \"udf7\": \"UDF7 Test\",\n        \"udf8\": \"UDF8 Test\",\n        \"udf9\": \"UDF9 Test\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://secure.clickpay.com.sa/payment/request","description":"<p>Create a Payment page for Hosted Payment Page Integration.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"authorization"},{"key":"value","value":"{{server_key}}"}]},"isInherited":true,"source":{"_postman_id":"1511c7b5-194d-4366-ae6e-1a9feaa97654","id":"1511c7b5-194d-4366-ae6e-1a9feaa97654","name":"Clickpay Direct API","type":"collection"}},"urlObject":{"protocol":"https","path":["payment","request"],"host":["secure","clickpay","com","sa"],"query":[],"variable":[]}},"response":[],"_postman_id":"92b062ea-dec6-4d5c-b963-6cfe64afbcd2"},{"name":"Create Payment Page - With Card Discounts","id":"279362cc-f58b-4d69-b493-ac6f75e24018","protocolProfileBehavior":{"disabledSystemHeaders":{},"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"profile_id\": {{profile_id}},\n    \"tran_type\": \"sale\",\n    \"tran_class\": \"ecom\",\n    \"cart_id\": \"cart_11111\",\n    \"cart_currency\": \"SAR\",\n    \"cart_amount\": 13,\n    \"cart_description\": \"Description of the items/services\",\n    \"paypage_lang\": \"en\",\n    \"customer_details\": {\n        \"name\": \"first last\",\n        \"email\": \"email@domain.com\",\n        \"phone\": \"0522222222\",\n        \"street1\": \"address street\",\n        \"city\": \"riyadh\",\n        \"state\": \"riyadh\",\n        \"country\": \"SA\",\n        \"zip\": \"12345\"\n    },\n    \"shipping_details\": {\n        \"name\": \"name1 last1\",\n        \"email\": \"email1@domain.com\",\n        \"phone\": \"971555555555\",\n        \"street1\": \"street2\",\n        \"city\": \"riyadh\",\n        \"state\": \"riyadh\",\n        \"country\": \"SA\",\n        \"zip\": \"54321\"\n    },\n    \"callback\": \"\",\n    \"return\": \"\",\n    \"card_discounts\":[\n\t\t{\n\t\t\t\"discount_cards\":\"4111,5200\",\n\t\t\t\"discount_amount\": \"1.0\",\n\t\t\t\"discount_title\": \"1 SAR discount on cards start with 4111,5200\"\n\t\t},\n\t\t{\n\t\t\t\"discount_cards\":\"4000\",\n\t\t\t\"discount_amount\": \"2.5\",\n\t\t\t\"discount_title\": \"25 SAR discount on cards start with 4000\"\n\t\t}\n\t]\n}","options":{"raw":{"language":"json"}}},"url":"https://secure.clickpay.com.sa/payment/request","description":"<p>Create a Payment page for Hosted Payment Page Integration with Card Discounts.</p>\n<p>card_discount array can have multiple discounts based on card ranges.</p>\n<p>card_discounts array will have the following fields:</p>\n<p><em>discount_cards: BIN ranges, It could be applied for cards starting with the numbers mentioned in this field. This will be comma separated fields.</em></p>\n<p><em>discount_amount: Flat discount amount that will be applied when the discount card BIN ranges are matched</em></p>\n<p><em>discount_title: Title that will be displayed on the payment page for the cardholder/ customer.</em></p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"authorization"},{"key":"value","value":"{{server_key}}"}]},"isInherited":true,"source":{"_postman_id":"1511c7b5-194d-4366-ae6e-1a9feaa97654","id":"1511c7b5-194d-4366-ae6e-1a9feaa97654","name":"Clickpay Direct API","type":"collection"}},"urlObject":{"protocol":"https","path":["payment","request"],"host":["secure","clickpay","com","sa"],"query":[],"variable":[]}},"response":[],"_postman_id":"279362cc-f58b-4d69-b493-ac6f75e24018"},{"name":"Create payment page - Framed","id":"24750240-2026-4e7d-8bdc-b666ff289f54","protocolProfileBehavior":{"disabledSystemHeaders":{},"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"profile_id\": {{profile_id}},\n    \"tran_type\": \"sale\",\n    \"tran_class\": \"ecom\",\n    \"cart_id\": \"cart_22222\",\n    \"cart_currency\": \"SAR\",\n    \"cart_amount\": 12.3,\n    \"cart_description\": \"Description of the items/services\",\n    \"paypage_lang\": \"en\",\n    \"customer_details\": {\n        \"name\": \"first last\",\n        \"email\": \"email@domain.com\",\n        \"phone\": \"0522222222\",\n        \"street1\": \"address street\",\n        \"city\": \"riyadh\",\n        \"state\": \"riyadh\",\n        \"country\": \"SA\",\n        \"zip\": \"12345\"\n    },\n    \"shipping_details\": {\n        \"name\": \"name1 last1\",\n        \"email\": \"email1@domain.com\",\n        \"phone\": \"971555555555\",\n        \"street1\": \"street2\",\n        \"city\": \"riyadh\",\n        \"state\": \"riyadh\",\n        \"country\": \"SA\",\n        \"zip\": \"54321\"\n    },\n    \"callback\": \"{{callback_url}}\",\n    \"return\": \"{{return_url}}\",\n    \"framed\": true,\n    \"framed_return_top\": true,\n    \"framed_return_parent\": true,\n    \"hide_shipping\": true\n}","options":{"raw":{"language":"json"}}},"url":"https://secure.clickpay.com.sa/payment/request","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"authorization"},{"key":"value","value":"{{server_key}}"}]},"isInherited":true,"source":{"_postman_id":"1511c7b5-194d-4366-ae6e-1a9feaa97654","id":"1511c7b5-194d-4366-ae6e-1a9feaa97654","name":"Clickpay Direct API","type":"collection"}},"urlObject":{"protocol":"https","path":["payment","request"],"host":["secure","clickpay","com","sa"],"query":[],"variable":[]}},"response":[],"_postman_id":"24750240-2026-4e7d-8bdc-b666ff289f54"},{"name":"Create payment page - Tokenization","id":"ef1513ef-8586-46b6-af96-67eda6cebf61","protocolProfileBehavior":{"disabledSystemHeaders":{},"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"profile_id\": {{profile_id}},\n    \"tran_type\": \"sale\",\n    \"tran_class\": \"ecom\",\n    \"cart_id\": \"cart_444441\",\n    \"cart_currency\": \"{{currency}}\",\n    \"cart_amount\": 1,\n    \"cart_description\": \"Payment with tok enabled, save card enabled\",\n    \"customer_details\": {\n        \"name\": \"first last\",\n        \"email\": \"email@domain.com\",\n        \"phone\": \"0522222222\",\n        \"street1\": \"address street\",\n        \"city\": \"riyadh\",\n        \"state\": \"riyadh\",\n        \"country\": \"SA\",\n        \"zip\": \"12345\"\n    },\n    \"shipping_details\": {\n        \"name\": \"name1 last1\",\n        \"email\": \"email1@domain.com\",\n        \"phone\": \"971555555555\",\n        \"street1\": \"street2\",\n        \"city\": \"riyadh\",\n        \"state\": \"riyadh\",\n        \"country\": \"SA\",\n        \"zip\": \"54321\"\n    },\n    \"callback\": \"{{callback_url}}\",\n    \"return\": \"{{return_url}}\",\n    \"hide_shipping\": true,\n    \"tokenise\": 2,\n    \"show_save_card\": false\n}","options":{"raw":{"language":"json"}}},"url":"https://secure.clickpay.com.sa/payment/request","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"authorization"},{"key":"value","value":"{{server_key}}"}]},"isInherited":true,"source":{"_postman_id":"1511c7b5-194d-4366-ae6e-1a9feaa97654","id":"1511c7b5-194d-4366-ae6e-1a9feaa97654","name":"Clickpay Direct API","type":"collection"}},"urlObject":{"protocol":"https","path":["payment","request"],"host":["secure","clickpay","com","sa"],"query":[],"variable":[]}},"response":[{"id":"2898303a-bed4-45b0-b4de-66eeda0c5e1b","name":"Create payment page - Tokenization","originalRequest":{"method":"POST","header":[{"key":"authorization","value":"{{server_key}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"profile_id\": {{profile_id}},\n    \"tran_type\": \"sale\",\n    \"tran_class\": \"ecom\",\n    \"tokenise\": \"2\",\n    \"cart_id\": \"cart_444441\",\n    \"cart_currency\": \"SAR\",\n    \"cart_amount\": 1,\n    \"cart_description\": \"Payment with tok enabled, save card enabled\",\n    \"show_save_card\": false,\n    \"customer_details\": {\n        \"name\": \"first last\",\n        \"email\": \"email@domain.com\",\n        \"phone\": \"0522222222\",\n        \"street1\": \"address street\",\n        \"city\": \"riyadh\",\n        \"state\": \"riyadh\",\n        \"country\": \"SA\",\n        \"zip\": \"12345\"\n    },\n    \"shipping_details\": {\n        \"name\": \"name1 last1\",\n        \"email\": \"email1@domain.com\",\n        \"phone\": \"971555555555\",\n        \"street1\": \"street2\",\n        \"city\": \"riyadh\",\n        \"state\": \"riyadh\",\n        \"country\": \"SA\",\n        \"zip\": \"54321\"\n    },\n    \"callback\": \"{{callback_url}}\",\n    \"return\": \"{{return_url}}\",\n    \"hide_shipping\": true\n}","options":{"raw":{"language":"json"}}},"url":"https://secure.clickpay.com.sa/payment/request"},"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n    \"tran_ref\": \"TST2105900091503\",\r\n    \"tran_type\": \"Sale\",\r\n    \"cart_id\": \"cart_444441\",\r\n    \"cart_description\": \"Payment with tok enabled, save card enabled\",\r\n    \"cart_currency\": \"SAR\",\r\n    \"cart_amount\": \"1\",\r\n    \"callback\": \"https://webhook.site/ebe60b53-4158-4d82-aa16-231f2823378d\",\r\n    \"return\": \"http://localhost/default/checkresponse.php\",\r\n    \"redirect_url\": \"https://secure.clickpay.com.sa/payment/page/3F3856B482E417B4D619EA58B2F511BACCCB35681E2A0DD91F1E6103\",\r\n    \"customer_details\": {\r\n        \"name\": \"first last\",\r\n        \"email\": \"email@domain.com\",\r\n        \"phone\": \"0522222222\",\r\n        \"street1\": \"address street\",\r\n        \"city\": \"riyadh\",\r\n        \"state\": \"riyadh\",\r\n        \"country\": \"SA\"\r\n    },\r\n    \"shipping_details\": {\r\n        \"name\": \"name1 last1\",\r\n        \"email\": \"email1@domain.com\",\r\n        \"phone\": \"971555555555\",\r\n        \"street1\": \"street2\",\r\n        \"city\": \"riyadh\",\r\n        \"state\": \"riyadh\",\r\n        \"country\": \"SA\"\r\n    }\r\n}"},{"id":"53389ed6-5299-4043-83d9-ab779eb24c8d","name":"Callback/IPN response post successful payment","originalRequest":{"method":"POST","header":[{"key":"connection","value":"close","type":"text"},{"key":"accept-encoding","value":"gzip","type":"text"},{"key":"signature","value":"7391e1717350e26e6cd83c4d8be1a26e2727948660e750ab1f131fbabca5f798","type":"text"},{"key":"content-type","value":"application/json","type":"text"},{"key":"client-key","value":"{{client_key}}","type":"text"},{"key":"content-length","value":"895","type":"text"},{"key":"user-agent","value":"Go-http-client/1.1","type":"text"},{"key":"host","value":"webhook.site","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"tran_ref\": \"TST2105900091509\",\n  \"cart_id\": \"cart_444441\",\n  \"cart_description\": \"Payment with token enabled, save card enabled\",\n  \"cart_currency\": \"SAR\",\n  \"cart_amount\": \"1\",\n  \"tran_currency\": \"SAR\",\n  \"tran_total\": \"1.00\",\n  \"customer_details\": {\n    \"name\": \"first last\",\n    \"email\": \"email@domain.com\",\n    \"phone\": \"0522222222\",\n    \"street1\": \"address street\",\n    \"city\": \"riyadh\",\n    \"state\": \"riyadh\",\n    \"country\": \"SA\",\n    \"ip\": \"196.219.145.121\"\n  },\n  \"shipping_details\": {\n    \"name\": \"name1 last1\",\n    \"email\": \"email1@domain.com\",\n    \"phone\": \"971555555555\",\n    \"street1\": \"street2\",\n    \"city\": \"riyadh\",\n    \"state\": \"riyadh\",\n    \"country\": \"SA\"\n  },\n  \"payment_result\": {\n    \"response_status\": \"A\",\n    \"response_code\": \"G17365\",\n    \"response_message\": \"Authorised\",\n    \"cvv_result\": \" \",\n    \"avs_result\": \" \",\n    \"transaction_time\": \"2021-02-28T13:02:45Z\"\n  },\n  \"payment_info\": {\n    \"card_type\": \"Credit\",\n    \"card_scheme\": \"Visa\",\n    \"payment_description\": \"4111 11## #### 1111\",\n    \"expiryMonth\": 11,\n    \"expiryYear\": 2022\n  },\n  \"token\": \"2C4651BE67A3E530C6B791F560837DB1\"\n}","options":{"raw":{"language":"json"}}},"url":"{{callback_url}}"},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"ef1513ef-8586-46b6-af96-67eda6cebf61"},{"name":"Create payment page - Tokenization (optional)","id":"ec4e6438-48e7-4e49-8201-6d90686259ba","protocolProfileBehavior":{"disabledSystemHeaders":{"content-type":true},"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"authorization","value":"{{server_key}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"profile_id\": {{profile_id}},\n    \"tran_type\": \"auth\",\n    \"tran_class\": \"ecom\",\n    \"cart_id\": \"cart_444442\",\n    \"cart_currency\": \"SAR\",\n    \"cart_amount\": 120.3,\n    \"cart_description\": \"Payment with tok enabled, save card enabled\",\n    \"customer_details\": {\n        \"name\": \"first last\",\n        \"email\": \"email@domain.com\",\n        \"phone\": \"0522222222\",\n        \"street1\": \"address street\",\n        \"city\": \"riyadh\",\n        \"state\": \"riyadh\",\n        \"country\": \"SA\",\n        \"zip\": \"12345\"\n    },\n    \"shipping_details\": {\n        \"name\": \"name1 last1\",\n        \"email\": \"email1@domain.com\",\n        \"phone\": \"971555555555\",\n        \"street1\": \"street2\",\n        \"city\": \"riyadh\",\n        \"state\": \"riyadh\",\n        \"country\": \"SA\",\n        \"zip\": \"54321\"\n    },\n    \"callback\": \"{{callback_url}}\",\n    \"return\": \"{{return_url}}\",\n    \"hide_shipping\": true,\n    \"tokenise\": 2,\n    \"show_save_card\": true\n}","options":{"raw":{"language":"json"}}},"url":"https://secure.clickpay.com.sa/payment/request","urlObject":{"protocol":"https","path":["payment","request"],"host":["secure","clickpay","com","sa"],"query":[],"variable":[]}},"response":[],"_postman_id":"ec4e6438-48e7-4e49-8201-6d90686259ba"}],"id":"a2e74fb5-c871-4049-a802-b7cdbf61fce7","description":"<p>Hosted Payment Page - Merchants with PCI SAQ A or do not have any PCI levels.</p>\n<p><em>tran_type</em></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Value</th>\n<th>Format</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>sale</td>\n<td>Purchase Transaction</td>\n</tr>\n<tr>\n<td>auth</td>\n<td>Transaction in auth and capture mode</td>\n</tr>\n<tr>\n<td>capture</td>\n<td>Capturing authorized transaction</td>\n</tr>\n<tr>\n<td>void</td>\n<td>Voiding authorized transaction</td>\n</tr>\n<tr>\n<td>refund</td>\n<td>Refund Transaction of fully captured transaction</td>\n</tr>\n</tbody>\n</table>\n</div><p><em>tran_class</em></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Value</th>\n<th>Format</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>ecom</td>\n<td>ECommerce Online Transaction</td>\n</tr>\n<tr>\n<td>moto</td>\n<td>Mail Order Telephonic Order Transaction</td>\n</tr>\n<tr>\n<td>recurring</td>\n<td>Recurring token based transaction</td>\n</tr>\n</tbody>\n</table>\n</div><p><em>tokenise</em></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Value</th>\n<th>Format</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>2</td>\n<td>Hex32</td>\n</tr>\n<tr>\n<td>3</td>\n<td>AlphaNum20</td>\n</tr>\n<tr>\n<td>4</td>\n<td>Digit22</td>\n</tr>\n<tr>\n<td>5</td>\n<td>Digit16</td>\n</tr>\n<tr>\n<td>6</td>\n<td>AlphaNum32</td>\n</tr>\n</tbody>\n</table>\n</div>","_postman_id":"a2e74fb5-c871-4049-a802-b7cdbf61fce7","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"authorization"},{"key":"value","value":"{{server_key}}"}]},"isInherited":true,"source":{"_postman_id":"1511c7b5-194d-4366-ae6e-1a9feaa97654","id":"1511c7b5-194d-4366-ae6e-1a9feaa97654","name":"Clickpay Direct API","type":"collection"}}},{"name":"Token based transactions","item":[{"name":"Create merchant initiated recurring payment","id":"88086199-60f0-4b6c-beb0-6cda49067ac1","protocolProfileBehavior":{"disabledSystemHeaders":{"content-type":true},"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"profile_id\": {{profile_id}},\n    \"tran_type\": \"sale\",\n    \"tran_class\": \"recurring\",\n    \"cart_id\": \"cart_55555\",\n    \"cart_currency\": \"{{currency}}\",\n    \"cart_amount\": 42,\n    \"cart_description\": \"Description of the items/services\",\n    \"token\": \"2C4651BF67A3EE34C6B691FE628378BD\",\n    \"tran_ref\": \"SFT2111200151763\"\n}","options":{"raw":{"language":"json"}}},"url":"https://secure.clickpay.com.sa/payment/request","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"authorization"},{"key":"value","value":"{{server_key}}"}]},"isInherited":true,"source":{"_postman_id":"1511c7b5-194d-4366-ae6e-1a9feaa97654","id":"1511c7b5-194d-4366-ae6e-1a9feaa97654","name":"Clickpay Direct API","type":"collection"}},"urlObject":{"protocol":"https","path":["payment","request"],"host":["secure","clickpay","com","sa"],"query":[],"variable":[]}},"response":[{"id":"f94881e7-b9ab-4a79-8cb6-3893c47a10c8","name":"Create payment - by Token","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"api-server-key","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"profile_id\": {{profile-id}},\n    \"tran_type\": \"sale\",\n    \"tran_class\": \"recurring\",\n    \"cart_id\": \"cart_55555\",\n    \"cart_currency\": \"SAR\",\n    \"cart_amount\": 100,\n    \"cart_description\": \"Description of the items/services\",\n    \"token\": \"2C4651BE67A3E530C6B791F560837DB1\",\n    \"tran_ref\": \"TST2105900091509\",\n    \"hide_shipping\": true,\n    \"callback\": \"https://webhook.site/92ac6a52-256d-434b-bde8-94b1e73d3aa1\",\n    \"return\": \"https://webhook.site/92ac6a52-256d-434b-bde8-94b1e73d3aa1\"\n}","options":{"raw":{"language":"json"}}},"url":"https://secure.clickpay.com.sa/payment/request"},"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n    \"tran_ref\": \"SFT2105900091549\",\r\n    \"tran_type\": \"Sale\",\r\n    \"cart_id\": \"cart_55555\",\r\n    \"cart_description\": \"Description of the items/services\",\r\n    \"cart_currency\": \"SAR\",\r\n    \"cart_amount\": \"100\",\r\n    \"callback\": \"https://webhook.site/66d0f832-c55c-40c9-9da3-c43b0bc194c4\",\r\n    \"customer_details\": {\r\n        \"name\": \"firstname lastname\",\r\n        \"email\": \"email@domain.com\",\r\n        \"phone\": \"0522222222\",\r\n        \"street1\": \"address street\",\r\n        \"city\": \"riyadh\",\r\n        \"state\": \"riyadh\",\r\n        \"country\": \"SA\",\r\n        \"ip\": \"196.219.145.121\"\r\n    },\r\n    \"payment_result\": {\r\n        \"response_status\": \"A\",\r\n        \"response_code\": \"G19498\",\r\n        \"response_message\": \"Authorised\",\r\n        \"transaction_time\": \"2021-02-28T13:38:18Z\"\r\n    },\r\n    \"payment_info\": {\r\n        \"card_type\": \"Credit\",\r\n        \"card_scheme\": \"Visa\",\r\n        \"payment_description\": \"4111 11## #### 1111\"\r\n    }\r\n}"}],"_postman_id":"88086199-60f0-4b6c-beb0-6cda49067ac1"},{"name":"Create customer initiated recurring payment","id":"a5360b68-863c-4ee6-9e31-c66086f374a6","protocolProfileBehavior":{"disabledSystemHeaders":{"content-type":true},"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"profile_id\": {{profile_id}},\n    \"tran_type\": \"sale\",\n    \"tran_class\": \"ecom\",\n    \"cart_id\": \"cart_55555\",\n    \"cart_currency\": \"{{currency}}\",\n    \"cart_amount\": 42,\n    \"cart_description\": \"Description of the items/services\",\n    \"token\": \"2C4651BF67A3EE34C6B691FE628378BD\",\n    \"customer_details\": {\n        \"name\": \"first last\",\n        \"email\": \"email@domain.com\",\n        \"phone\": \"0522222222\",\n        \"street1\": \"address street\",\n        \"city\": \"riyadh\",\n        \"state\": \"riyadh\",\n        \"country\": \"SA\",\n        \"zip\": \"12345\"\n    },\n    \"hide_shipping\": true,\n    \"callback\": \"{{callback_url}}\",\n    \"return\": \"{{return_url}}\"\n}","options":{"raw":{"language":"json"}}},"url":"https://secure.clickpay.com.sa/payment/request","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"authorization"},{"key":"value","value":"{{server_key}}"}]},"isInherited":true,"source":{"_postman_id":"1511c7b5-194d-4366-ae6e-1a9feaa97654","id":"1511c7b5-194d-4366-ae6e-1a9feaa97654","name":"Clickpay Direct API","type":"collection"}},"urlObject":{"protocol":"https","path":["payment","request"],"host":["secure","clickpay","com","sa"],"query":[],"variable":[]}},"response":[{"id":"00cbd7aa-f32a-47ab-9bbe-f38734757ae6","name":"Create payment - by Token","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"api-server-key","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"profile_id\": {{profile-id}},\n    \"tran_type\": \"sale\",\n    \"tran_class\": \"ecom\",\n    \"cart_id\": \"cart_55555\",\n    \"cart_currency\": \"SAR\",\n    \"cart_amount\": 133,\n    \"cart_description\": \"Description of the items/services\",\n    \"token\": \"2C4652BE67A3E937C6B790F966817BBB\",\n    \"customer_details\": {\n        \"name\": \"first last\",\n        \"email\": \"email@domain.com\",\n        \"phone\": \"0522222222\",\n        \"street1\": \"address street\",\n        \"city\": \"riyadh\",\n        \"state\": \"riyadh\",\n        \"country\": \"SA\",\n        \"zip\": \"12345\"\n    },\n    \"hide_shipping\": true,\n    \"callback\": \"{{callback_url}}\",\n    \"return\": \"{{return_url}}\"\n\n}","options":{"raw":{"language":"json"}}},"url":"https://secure.clickpay.com.sa/payment/request"},"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n    \"tran_ref\": \"SFT2105900091549\",\r\n    \"tran_type\": \"Sale\",\r\n    \"cart_id\": \"cart_55555\",\r\n    \"cart_description\": \"Description of the items/services\",\r\n    \"cart_currency\": \"SAR\",\r\n    \"cart_amount\": \"100\",\r\n    \"callback\": \"https://webhook.site/66d0f832-c55c-40c9-9da3-c43b0bc194c4\",\r\n    \"customer_details\": {\r\n        \"name\": \"firstname lastname\",\r\n        \"email\": \"email@domain.com\",\r\n        \"phone\": \"0522222222\",\r\n        \"street1\": \"address street\",\r\n        \"city\": \"riyadh\",\r\n        \"state\": \"riyadh\",\r\n        \"country\": \"SA\",\r\n        \"ip\": \"196.219.145.121\"\r\n    },\r\n    \"payment_result\": {\r\n        \"response_status\": \"A\",\r\n        \"response_code\": \"G19498\",\r\n        \"response_message\": \"Authorised\",\r\n        \"transaction_time\": \"2021-02-28T13:38:18Z\"\r\n    },\r\n    \"payment_info\": {\r\n        \"card_type\": \"Credit\",\r\n        \"card_scheme\": \"Visa\",\r\n        \"payment_description\": \"4111 11## #### 1111\"\r\n    }\r\n}"}],"_postman_id":"a5360b68-863c-4ee6-9e31-c66086f374a6"},{"name":"Query Token","id":"03d8fe3c-b6ce-49fa-9a64-d7122896eec3","protocolProfileBehavior":{"disabledSystemHeaders":{"content-type":true},"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"profile_id\": {{profile_id}},\n    \"token\": \"2C4650BC67A3E833C6B791FB608779B8\"\n}","options":{"raw":{"language":"json"}}},"url":"https://secure.clickpay.com.sa/payment/token","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"authorization"},{"key":"value","value":"{{server_key}}"}]},"isInherited":true,"source":{"_postman_id":"1511c7b5-194d-4366-ae6e-1a9feaa97654","id":"1511c7b5-194d-4366-ae6e-1a9feaa97654","name":"Clickpay Direct API","type":"collection"}},"urlObject":{"protocol":"https","path":["payment","token"],"host":["secure","clickpay","com","sa"],"query":[],"variable":[]}},"response":[{"id":"7eef1eb1-091f-44f1-93aa-8d0ddfffe35f","name":"Query Token","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"api-server-key","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"profile_id\": {{profile-id}},\n    \"token\": \"2C4650BC67A3E833C6B791FB608779B8\"\n}","options":{"raw":{"language":"json"}}},"url":"https://secure.clickpay.com.sa/payment/token"},"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n    \"tran_ref\": \"TST2105900091509\",\r\n    \"payment_info\": {\r\n        \"card_type\": \"Credit\",\r\n        \"card_scheme\": \"Visa\",\r\n        \"payment_description\": \"4111 11## #### 1111\"\r\n    },\r\n    \"customer_details\": {\r\n        \"name\": \"first last\",\r\n        \"email\": \"email@domain.com\",\r\n        \"phone\": \"0522222222\",\r\n        \"street1\": \"address street\",\r\n        \"city\": \"riyadh\",\r\n        \"state\": \"riyadh\",\r\n        \"country\": \"SA\",\r\n        \"ip\": \"196.219.145.121\"\r\n    }\r\n}"}],"_postman_id":"03d8fe3c-b6ce-49fa-9a64-d7122896eec3"},{"name":"Delete Token","id":"04642a5d-e506-4a56-8f16-b6edaac4f400","protocolProfileBehavior":{"disabledSystemHeaders":{"content-type":true},"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"profile_id\": {{profile_id}},\n    \"token\": \"2C4650BC67A3E833C6B791FB608779B8\"\n}","options":{"raw":{"language":"json"}}},"url":"https://secure.clickpay.com.sa/payment/token/delete","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"authorization"},{"key":"value","value":"{{server_key}}"}]},"isInherited":true,"source":{"_postman_id":"1511c7b5-194d-4366-ae6e-1a9feaa97654","id":"1511c7b5-194d-4366-ae6e-1a9feaa97654","name":"Clickpay Direct API","type":"collection"}},"urlObject":{"protocol":"https","path":["payment","token","delete"],"host":["secure","clickpay","com","sa"],"query":[],"variable":[]}},"response":[],"_postman_id":"04642a5d-e506-4a56-8f16-b6edaac4f400"}],"id":"d27c2cc3-9f37-471a-bdb5-c4e863939451","description":"<p>Sale or Authorization initiated with a token.</p>\n<p>Note1: This requires acquirer to enable tokenization and continuous authorization on their end.</p>\n<p>Note2: You need to send request and share your profile ID to <a href=\"support@clickpay.sa\">support@clickpay.sa</a> to enable recurring option for your profile.</p>\n<p><em>tran_type</em></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Value</th>\n<th>Format</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>sale</td>\n<td>Purchase Transaction</td>\n</tr>\n<tr>\n<td>auth</td>\n<td>Transaction in auth and capture mode</td>\n</tr>\n<tr>\n<td>capture</td>\n<td>Capturing authorized transaction</td>\n</tr>\n<tr>\n<td>void</td>\n<td>Voiding authorized transaction</td>\n</tr>\n<tr>\n<td>refund</td>\n<td>Refund Transaction of fully captured transaction</td>\n</tr>\n</tbody>\n</table>\n</div><p><em>tran_class</em></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Value</th>\n<th>Format</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>ecom</td>\n<td>ECommerce Online Transaction</td>\n</tr>\n<tr>\n<td>moto</td>\n<td>Mail Order Telephonic Order Transaction</td>\n</tr>\n<tr>\n<td>recurring</td>\n<td>Recurring token based transaction</td>\n</tr>\n</tbody>\n</table>\n</div><p><em>tokenise</em></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Value</th>\n<th>Format</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>2</td>\n<td>Hex32</td>\n</tr>\n<tr>\n<td>3</td>\n<td>AlphaNum20</td>\n</tr>\n<tr>\n<td>4</td>\n<td>Digit22</td>\n</tr>\n<tr>\n<td>5</td>\n<td>Digit16</td>\n</tr>\n<tr>\n<td>6</td>\n<td>AlphaNum32</td>\n</tr>\n</tbody>\n</table>\n</div>","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"b8e184ee-fb24-46a7-9335-5cc275779d4c"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"e32aed95-105b-4abf-b610-308ca6038bc8"}}],"_postman_id":"d27c2cc3-9f37-471a-bdb5-c4e863939451","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"authorization"},{"key":"value","value":"{{server_key}}"}]},"isInherited":true,"source":{"_postman_id":"1511c7b5-194d-4366-ae6e-1a9feaa97654","id":"1511c7b5-194d-4366-ae6e-1a9feaa97654","name":"Clickpay Direct API","type":"collection"}}},{"name":"Follow-up Transaction","item":[{"name":"Query Transaction","id":"f1abd82f-767b-4c47-a267-f489d2375332","protocolProfileBehavior":{"disabledSystemHeaders":{},"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authorization","value":"{{server_key}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"profile_id\": {{profile_id}},\n    \"tran_ref\": \"TST2105900091509\"\n}","options":{"raw":{"language":"json"}}},"url":"https://secure.clickpay.com.sa/payment/query","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"authorization"},{"key":"value","value":"{{server_key}}"}]},"isInherited":true,"source":{"_postman_id":"1511c7b5-194d-4366-ae6e-1a9feaa97654","id":"1511c7b5-194d-4366-ae6e-1a9feaa97654","name":"Clickpay Direct API","type":"collection"}},"urlObject":{"protocol":"https","path":["payment","query"],"host":["secure","clickpay","com","sa"],"query":[],"variable":[]}},"response":[{"id":"93271bee-12c2-40a3-a505-e545a2f48dcc","name":"Query Sale-eCom Transaction","originalRequest":{"method":"POST","header":[{"key":"authorization","value":"api-server-key","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"profile_id\": profile-id,\n    \"tran_ref\": \"TST2016700000692\"\n}","options":{"raw":{"language":"json"}}},"url":"https://secure.clickpay.com.sa/payment/query"},"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"tran_ref\": \"TST2105900091468\",\n    \"tran_type\": \"Sale\",\n    \"cart_id\": \"Sample Payment\",\n    \"cart_description\": \"Sample Payment\",\n    \"cart_currency\": \"SAR\",\n    \"cart_amount\": \"1\",\n    \"customer_details\": {\n        \"name\": \"first name\",\n        \"email\": \"emailaddress@email.com\",\n        \"phone\": \"01005417901\",\n        \"street1\": \"street\",\n        \"city\": \"riyadh\",\n        \"state\": \"riyadh\",\n        \"country\": \"SA\",\n        \"ip\": \"40.123.210.168\"\n    },\n    \"payment_result\": {\n        \"response_status\": \"A\",\n        \"response_code\": \"G15046\",\n        \"response_message\": \"Authorised\",\n        \"transaction_time\": \"2021-02-28T12:24:06Z\"\n    },\n    \"payment_info\": {\n        \"card_type\": \"Credit\",\n        \"card_scheme\": \"Visa\",\n        \"payment_description\": \"4111 11## #### 1111\"\n    }\n}"},{"id":"758a79b3-8da9-4d0b-a370-4f1e41eedd6d","name":"Query Sale-eCom with Token Transaction","originalRequest":{"method":"POST","header":[{"key":"authorization","value":"{{server_key}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"profile_id\": {{profile_id}},\n    \"tran_ref\": \"TST2105900091509\"\n}","options":{"raw":{"language":"json"}}},"url":"https://secure.clickpay.com.sa/payment/query"},"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n    \"tran_ref\": \"TST2105900091509\",\r\n    \"tran_type\": \"Sale\",\r\n    \"cart_id\": \"cart_444441\",\r\n    \"cart_description\": \"Payment with tok enabled, save card enabled\",\r\n    \"cart_currency\": \"SAR\",\r\n    \"cart_amount\": \"1\",\r\n    \"customer_details\": {\r\n        \"name\": \"first last\",\r\n        \"email\": \"email@domain.com\",\r\n        \"phone\": \"0522222222\",\r\n        \"street1\": \"address street\",\r\n        \"city\": \"riyadh\",\r\n        \"state\": \"riyadh\",\r\n        \"country\": \"SA\",\r\n        \"ip\": \"196.219.145.121\"\r\n    },\r\n    \"shipping_details\": {\r\n        \"name\": \"name1 last1\",\r\n        \"email\": \"email1@domain.com\",\r\n        \"phone\": \"971555555555\",\r\n        \"street1\": \"street2\",\r\n        \"city\": \"riyadh\",\r\n        \"state\": \"riyadh\",\r\n        \"country\": \"SA\",\r\n        \"ip\": \"196.219.145.121\"\r\n    },\r\n    \"payment_result\": {\r\n        \"response_status\": \"A\",\r\n        \"response_code\": \"G17365\",\r\n        \"response_message\": \"Authorised\",\r\n        \"transaction_time\": \"2021-02-28T13:02:45Z\"\r\n    },\r\n    \"payment_info\": {\r\n        \"card_type\": \"Credit\",\r\n        \"card_scheme\": \"Visa\",\r\n        \"payment_description\": \"4111 11## #### 1111\"\r\n    },\r\n    \"token\": \"2C4651BE67A3E530C6B791F560837DB1\"\r\n}"},{"id":"861fd4a2-6d55-4fe2-84c3-92bee3271902","name":"Query Sale-Recurring Transaction","originalRequest":{"method":"POST","header":[{"key":"authorization","value":"{{server_key}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"profile_id\": {{profile_id}},\n    \"tran_ref\": \"TST2105900091549\"\n}","options":{"raw":{"language":"json"}}},"url":"https://secure.clickpay.com.sa/payment/query"},"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"tran_ref\": \"TST2105900091549\",\n    \"tran_type\": \"Sale\",\n    \"cart_id\": \"cart_55555\",\n    \"cart_description\": \"Description of the items/services\",\n    \"cart_currency\": \"SAR\",\n    \"cart_amount\": \"100\",\n    \"customer_details\": {\n        \"name\": \"first last\",\n        \"email\": \"email@domain.com\",\n        \"phone\": \"0522222222\",\n        \"street1\": \"address street\",\n        \"city\": \"riyadh\",\n        \"state\": \"riyadh\",\n        \"country\": \"SA\",\n        \"ip\": \"196.219.145.121\"\n    },\n    \"payment_result\": {\n        \"response_status\": \"A\",\n        \"response_code\": \"G19498\",\n        \"response_message\": \"Authorised\",\n        \"transaction_time\": \"2021-02-28T13:38:18Z\"\n    },\n    \"payment_info\": {\n        \"card_type\": \"Credit\",\n        \"card_scheme\": \"Visa\",\n        \"payment_description\": \"4111 11## #### 1111\"\n    },\n    \"token\": \"2C4651BE67A3E530C6B791F560837DB1\",\n    \"parentRequest\": {\n        \"tran_ref\": \"TST2105900091509\",\n        \"cart_currency\": \"SAR\",\n        \"cart_amount\": \"1\"\n    }\n}"}],"_postman_id":"f1abd82f-767b-4c47-a267-f489d2375332"},{"name":"Capture","id":"2dcad220-fb11-4389-bdf1-b8a5196281c9","protocolProfileBehavior":{"disabledSystemHeaders":{"content-type":true},"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"authorization","value":"{{server_key}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"profile_id\": {{profile_id}},\n    \"tran_type\": \"capture\",\n    \"tran_class\": \"ecom\",\n    \"cart_id\": \"cart_66666\",\n    \"cart_currency\": \"{{currency}}\",\n    \"cart_amount\": 1.3,\n    \"cart_description\": \"Capture reason\",\n    \"tran_ref\": \"TST2112600164150\"\n}","options":{"raw":{"language":"json"}}},"url":"https://secure.clickpay.com.sa/payment/request","urlObject":{"protocol":"https","path":["payment","request"],"host":["secure","clickpay","com","sa"],"query":[],"variable":[]}},"response":[],"_postman_id":"2dcad220-fb11-4389-bdf1-b8a5196281c9"},{"name":"Refund","id":"ec016546-04c5-4efe-ae70-0d9a92b26722","protocolProfileBehavior":{"disabledSystemHeaders":{"content-type":true},"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"authorization","value":"{{server_key}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"profile_id\": {{profile_id}},\n    \"tran_type\": \"refund\",\n    \"tran_class\": \"ecom\",\n    \"cart_id\": \"cart_66666\",\n    \"cart_currency\": \"{{currency}}\",\n    \"cart_amount\": 1.3,\n    \"cart_description\": \"Refund reason\",\n    \"tran_ref\": \"TST2016700000692\"\n}","options":{"raw":{"language":"json"}}},"url":"https://secure.clickpay.com.sa/payment/request","urlObject":{"protocol":"https","path":["payment","request"],"host":["secure","clickpay","com","sa"],"query":[],"variable":[]}},"response":[],"_postman_id":"ec016546-04c5-4efe-ae70-0d9a92b26722"},{"name":"Void","id":"93779721-19e2-4f2e-9a89-c481ca2fb193","protocolProfileBehavior":{"disabledSystemHeaders":{"content-type":true},"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"authorization","value":"{{server_key}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"profile_id\": {{profile_id}},\n    \"tran_type\": \"void\",\n    \"tran_class\": \"ecom\",\n    \"cart_id\": \"cart_66666\",\n    \"cart_currency\": \"{{currency}}\",\n    \"cart_amount\": 1.3,\n    \"cart_description\": \"Void reason\",\n    \"tran_ref\": \"TST2016700000692\"\n}","options":{"raw":{"language":"json"}}},"url":"https://secure.clickpay.com.sa/payment/request","urlObject":{"protocol":"https","path":["payment","request"],"host":["secure","clickpay","com","sa"],"query":[],"variable":[]}},"response":[],"_postman_id":"93779721-19e2-4f2e-9a89-c481ca2fb193"}],"id":"67cfb7fd-cba3-4b08-9917-af528308f754","description":"<p>Follow Up transactions are transactions after the initial sale or authorization request. This could be capture, void, refund as applicable and allowed.</p>\n","_postman_id":"67cfb7fd-cba3-4b08-9917-af528308f754","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"authorization"},{"key":"value","value":"{{server_key}}"}]},"isInherited":true,"source":{"_postman_id":"1511c7b5-194d-4366-ae6e-1a9feaa97654","id":"1511c7b5-194d-4366-ae6e-1a9feaa97654","name":"Clickpay Direct API","type":"collection"}}},{"name":"Own Form-PCISAQD_or_PCIDSS","item":[{"name":"Own Form - Payment Request","event":[{"listen":"prerequest","script":{"id":"b63f19e4-cc6d-42c7-b6cf-7523d60efb6b","exec":[""],"type":"text/javascript"}}],"id":"92369292-c0b1-474e-b998-39c3189177ce","protocolProfileBehavior":{"disabledSystemHeaders":{"content-type":true},"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"authorization","value":"{{server_key}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"profile_id\": {{profile_id}},\n    \"tran_type\": \"sale\",\n    \"tran_class\": \"ecom\",\n    \"cart_id\": \"cart_77777\",\n    \"cart_currency\": \"{{currency}}\",\n    \"cart_amount\": 12.3,\n    \"cart_description\": \"Description of the items/services\",\n    \"paypage_lang\": \"en\",\n    \"customer_details\": {\n        \"name\": \"first last\",\n        \"email\": \"email@domain.com\",\n        \"phone\": \"0522222222\",\n        \"street1\": \"address street\",\n        \"city\": \"riyadh\",\n        \"state\": \"riyadh\",\n        \"country\": \"SA\",\n        \"zip\": \"12345\",\n        \"ip\": \"1.1.1.1\"\n    },\n    \"shipping_details\": {\n        \"name\": \"name1 last1\",\n        \"email\": \"email1@domain.com\",\n        \"phone\": \"971555555555\",\n        \"street1\": \"street2\",\n        \"city\": \"riyadh\",\n        \"state\": \"riyadh\",\n        \"country\": \"SA\",\n        \"zip\": \"54321\"\n    },\n    \"callback\": \"{{callback_url}}\",\n    \"return\": \"{{return_url}}\",\n    \"card_details\": {\n        \"pan\": \"4000000000000002\",\n        \"cvv\": \"123\",\n        \"expiry_month\": 12,\n        \"expiry_year\": 2022\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://secure.clickpay.com.sa/payment/request","description":"<p>Create a Payment page for Hosted Payment Page Integration.</p>\n","urlObject":{"protocol":"https","path":["payment","request"],"host":["secure","clickpay","com","sa"],"query":[],"variable":[]}},"response":[{"id":"0516fe87-2e9a-4688-81e3-8b2cbba387c6","name":"Create Payment Page-with redirecturl","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"profile_id\": profile-id,\n    \"tran_type\": \"sale\",\n    \"tran_class\": \"ecom\",\n    \"cart_id\": \"cart_11111\",\n    \"cart_currency\": \"SAR\",\n    \"cart_amount\": 12.3,\n    \"cart_description\": \"Description of the items/services\",\n    \"paypage_lang\": \"en\",\n    \"customer_details\": {\n        \"name\": \"first last\",\n        \"email\": \"email@domain.com\",\n        \"phone\": \"0522222222\",\n        \"street1\": \"address street\",\n        \"city\": \"riyadh\",\n        \"state\": \"riyadh\",\n        \"country\": \"SA\",\n        \"zip\": \"12345\",\n        \"ip\": \"1.1.1.1\"\n    },\n    \"shipping_details\": {\n        \"name\": \"name1 last1\",\n        \"email\": \"email1@domain.com\",\n        \"phone\": \"971555555555\",\n        \"street1\": \"street2\",\n        \"city\": \"riyadh\",\n        \"state\": \"riyadh\",\n        \"country\": \"SA\",\n        \"zip\": \"54321\",\n        \"ip\": \"2.2.2.2\"\n    },\n    \"callback\": \"https://webhook.site/92ac6a52-256d-434b-bde8-94b1e73d3aa1\",\n    \"return\": \"https://webhook.site/92ac6a52-256d-434b-bde8-94b1e73d3aa1\",\n    \"card_details\": {\n      \"pan\": \"4000000000000002\",\n      \"cvv\": \"123\",\n      \"expiry_month\": 12,\n      \"expiry_year\": 2022 \n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://secure.clickpay.com.sa/payment/request"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 01 Dec 2020 18:33:40 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"812"},{"key":"Connection","value":"keep-alive"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Strict-Transport-Security","value":"max-age=63072000; includeSubDomains; preload"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Content-Security-Policy","value":"default-src 'self' *.paytabs.com; img-src https: data:; style-src 'self' *.paytabs.com 'unsafe-inline'; script-src 'self' *.paytabs.com 'unsafe-inline' 'unsafe-eval'; connect-src 'self' *.paytabs.com; frame-src 'self' *.paytabs.com; child-src 'self' *.paytabs.com;"}],"cookie":[],"responseTime":null,"body":"{\n    \"tran_ref\": \"TST2033600019179\",\n    \"tran_type\": \"Sale\",\n    \"cart_id\": \"cart_11111\",\n    \"cart_description\": \"Description of the items/services\",\n    \"cart_currency\": \"SAR\",\n    \"cart_amount\": \"12.3\",\n    \"return\": \"https://webhook.site/92ac6a52-256d-434b-bde8-94b1e73d3aa1\",\n    \"redirect_url\": \"https://secure.clickpay.com.sa/payment/page/00C5499B82E406E003415A157D77D5FD9CBCCE3E537AD06E5865E7CA/redirect\",\n    \"customer_details\": {\n        \"name\": \"first last\",\n        \"email\": \"email@domain.com\",\n        \"phone\": \"0522222222\",\n        \"street1\": \"address street\",\n        \"city\": \"riyadh\",\n        \"state\": \"riyadh\",\n        \"country\": \"SA\",\n        \"ip\": \"1.1.1.1\"\n    },\n    \"shipping_details\": {\n        \"name\": \"name1 last1\",\n        \"email\": \"email1@domain.com\",\n        \"phone\": \"971555555555\",\n        \"street1\": \"street2\",\n        \"city\": \"riyadh\",\n        \"state\": \"riyadh\",\n        \"country\": \"SA\",\n        \"ip\": \"2.2.2.2\"\n    },\n    \"payment_info\": {\n        \"card_type\": \"Credit\",\n        \"card_scheme\": \"Visa\",\n        \"payment_description\": \"4000 00## #### 0002\"\n    }\n}"},{"id":"f5b7b451-cd9b-4490-809a-66cc03c11e58","name":"Create Payment Page - with payment result","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"profile_id\": {{profile_id}},\n    \"tran_type\": \"sale\",\n    \"tran_class\": \"ecom\",\n    \"cart_id\": \"cart_11111\",\n    \"cart_currency\": \"SAR\",\n    \"cart_amount\": 12.3,\n    \"cart_description\": \"Description of the items/services\",\n    \"paypage_lang\": \"en\",\n    \"customer_details\": {\n        \"name\": \"first last\",\n        \"email\": \"email@domain.com\",\n        \"phone\": \"0522222222\",\n        \"street1\": \"address street\",\n        \"city\": \"riyadh\",\n        \"state\": \"riyadh\",\n        \"country\": \"SA\",\n        \"zip\": \"12345\",\n        \"ip\": \"1.1.1.1\"\n    },\n    \"shipping_details\": {\n        \"name\": \"name1 last1\",\n        \"email\": \"email1@domain.com\",\n        \"phone\": \"971555555555\",\n        \"street1\": \"street2\",\n        \"city\": \"riyadh\",\n        \"state\": \"riyadh\",\n        \"country\": \"SA\",\n        \"zip\": \"54321\",\n        \"ip\": \"2.2.2.2\"\n    },\n    \"callback\": \"{{callback_url}}\",\n    \"return\": \"{{return_url}}\",\n    \"card_details\": {\n      \"pan\": \"4111111111111111\",\n      \"cvv\": \"123\",\n      \"expiry_month\": 12,\n      \"expiry_year\": 2022 \n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://secure.clickpay.com.sa/payment/request"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 01 Dec 2020 18:32:47 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"934"},{"key":"Connection","value":"keep-alive"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Strict-Transport-Security","value":"max-age=63072000; includeSubDomains; preload"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Content-Security-Policy","value":"default-src 'self' *.paytabs.com; img-src https: data:; style-src 'self' *.paytabs.com 'unsafe-inline'; script-src 'self' *.paytabs.com 'unsafe-inline' 'unsafe-eval'; connect-src 'self' *.paytabs.com; frame-src 'self' *.paytabs.com; child-src 'self' *.paytabs.com;"}],"cookie":[],"responseTime":null,"body":"{\n    \"tran_ref\": \"TST2033600019178\",\n    \"tran_type\": \"Sale\",\n    \"cart_id\": \"cart_11111\",\n    \"cart_description\": \"Description of the items/services\",\n    \"cart_currency\": \"SAR\",\n    \"cart_amount\": \"12.3\",\n    \"return\": \"https://webhook.site/92ac6a52-256d-434b-bde8-94b1e73d3aa1\",\n    \"customer_details\": {\n        \"name\": \"first last\",\n        \"email\": \"email@domain.com\",\n        \"phone\": \"0522222222\",\n        \"street1\": \"address street\",\n        \"city\": \"riyadh\",\n        \"state\": \"riyadh\",\n        \"country\": \"SA\",\n        \"ip\": \"1.1.1.1\"\n    },\n    \"shipping_details\": {\n        \"name\": \"name1 last1\",\n        \"email\": \"email1@domain.com\",\n        \"phone\": \"971555555555\",\n        \"street1\": \"street2\",\n        \"city\": \"riyadh\",\n        \"state\": \"riyadh\",\n        \"country\": \"SA\",\n        \"ip\": \"2.2.2.2\"\n    },\n    \"payment_result\": {\n        \"response_status\": \"A\",\n        \"response_code\": \"831000\",\n        \"response_message\": \"Authorised\",\n        \"acquirer_message\": \"100:ACCEPT\",\n        \"acquirer_rrn\": \"033618116239\",\n        \"transaction_time\": \"2020-12-01T18:32:47Z\"\n    },\n    \"payment_info\": {\n        \"card_type\": \"Credit\",\n        \"card_scheme\": \"Visa\",\n        \"payment_description\": \"4111 11## #### 1111\"\n    },\n    \"token\": \"JfN1DVwmwVrSS5t4bP11CQ2t6gDyEp5T\"\n}"},{"id":"5370960c-29c5-488a-9f3a-5f6855e22db5","name":"Create payment page","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"profile_id\": {{profile_id}},\n    \"payment_methods\":[\"cup\"],\n    \"tran_type\": \"sale\",\n    \"tran_class\": \"ecom\",\n    \"cart_id\": \"cart_11111\",\n    \"cart_currency\": \"SAR\",\n    \"cart_amount\": 123,\n    \"cart_description\": \"Description of the items/services\",\n    \"paypage_lang\": \"en\",\n    \"customer_details\": {\n        \"name\": \"first last\",\n        \"email\": \"email@domain.com\",\n        \"phone\": \"0522222222\",\n        \"street1\": \"address street\",\n        \"city\": \"riyadh\",\n        \"state\": \"riyadh\",\n        \"country\": \"SA\",\n        \"zip\": \"12345\"\n    },\n    \"shipping_details\": {\n        \"name\": \"name1 last1\",\n        \"email\": \"email1@domain.com\",\n        \"phone\": \"971555555555\",\n        \"street1\": \"street2\",\n        \"city\": \"riyadh\",\n        \"state\": \"riyadh\",\n        \"country\": \"SA\",\n        \"zip\": \"54321\"\n    },\n    \"card_details\": {\n    \"pan\":              \"The card number\",\n    \"expiry_month\":     \"Month part of the expiry date, 1-12\",\n    \"expiry_year\":      \"Year part of the expiry date, as a 4 digit year\",\n    \"cvv\":              \"the cvv\"\n    },\n    \"callback\": \"{{callback_url}}\",\n    \"return\": \"{{return_url}}\",\n    \"card_discounts\":[\n\t\t{\n\t\t\t\"discount_cards\":\"4111,5200\",\n\t\t\t\"discount_amount\": \"1.0\",\n\t\t\t\"discount_title\": \"50% discount on cards start with 4111,5200\"\n\t\t},\n\t\t{\n\t\t\t\"discount_cards\":\"4000\",\n\t\t\t\"discount_amount\": \"25\",\n\t\t\t\"discount_title\": \"25% discount on cards start with 4000\"\n\t\t}\n\t]\n}","options":{"raw":{"language":"json"}}},"url":"https://secure.clickpay.com.sa/payment/request"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 01 Dec 2020 13:49:50 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"740"},{"key":"Connection","value":"keep-alive"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Strict-Transport-Security","value":"max-age=63072000; includeSubDomains; preload"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Content-Security-Policy","value":"default-src 'self' *.paytabs.com; img-src https: data:; style-src 'self' *.paytabs.com 'unsafe-inline'; script-src 'self' *.paytabs.com 'unsafe-inline' 'unsafe-eval'; connect-src 'self' *.paytabs.com; frame-src 'self' *.paytabs.com; child-src 'self' *.paytabs.com;"}],"cookie":[],"responseTime":null,"body":"{\n    \"tran_ref\": \"TST2033600019149\",\n    \"tran_type\": \"Sale\",\n    \"cart_id\": \"cart_11111\",\n    \"cart_description\": \"Description of the items/services\",\n    \"cart_currency\": \"SAR\",\n    \"cart_amount\": \"123\",\n    \"callback\": \"https://webhook.site/92ac6a52-256d-434b-bde8-94b1e73d3aa1\",\n    \"return\": \"https://webhook.site/92ac6a52-256d-434b-bde8-94b1e73d3aa1\",\n    \"redirect_url\": \"https://secure.clickpay.com.sa/payment/page/00C58CE782E419E877BEEC073DBED38E53899637B4FC4338E9A45211\",\n    \"customer_details\": {\n        \"name\": \"first last\",\n        \"email\": \"email@domain.com\",\n        \"phone\": \"0522222222\",\n        \"street1\": \"address street\",\n        \"city\": \"riyadh\",\n        \"state\": \"riyadh\",\n        \"country\": \"SA\"\n    },\n    \"shipping_details\": {\n        \"name\": \"name1 last1\",\n        \"email\": \"email1@domain.com\",\n        \"phone\": \"971555555555\",\n        \"street1\": \"street2\",\n        \"city\": \"riyadh\",\n        \"state\": \"riyadh\",\n        \"country\": \"SA\"\n    }\n}"}],"_postman_id":"92369292-c0b1-474e-b998-39c3189177ce"}],"id":"5fa662d4-2ddf-4c6c-8fe0-96a76eba137f","description":"<p>Merchants with PCI DSS Level 1 certification or PCI SAQ D will be able to collect the card details in their own form and pass it through API request to the Core system.</p>\n","_postman_id":"5fa662d4-2ddf-4c6c-8fe0-96a76eba137f","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"authorization"},{"key":"value","value":"{{server_key}}"}]},"isInherited":true,"source":{"_postman_id":"1511c7b5-194d-4366-ae6e-1a9feaa97654","id":"1511c7b5-194d-4366-ae6e-1a9feaa97654","name":"Clickpay Direct API","type":"collection"}}},{"name":"Managed Form-PCISAQAEP","item":[{"name":"Managed Form - Payment Request","event":[{"listen":"prerequest","script":{"id":"60800c9a-b9ad-49c2-ad46-cec333442bec","exec":[""],"type":"text/javascript"}}],"id":"eed6a180-14a3-455c-ac0e-a80f8186b076","protocolProfileBehavior":{"disabledSystemHeaders":{"content-type":true},"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"{{server_key}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"profile_id\": {{profile_id}},\n    \"tran_type\": \"sale\",\n    \"tran_class\": \"ecom\",\n    \"cart_id\": \"cart_77771\",\n    \"cart_currency\": \"{{currency}}\",\n    \"cart_amount\": 12.3,\n    \"cart_description\": \"Description of the items/services\",\n    \"paypage_lang\": \"en\",\n    \"customer_details\": {\n        \"name\": \"first last\",\n        \"email\": \"email@domain.com\",\n        \"phone\": \"0522222222\",\n        \"street1\": \"address street\",\n        \"city\": \"riyadh\",\n        \"state\": \"riyadh\",\n        \"country\": \"SA\",\n        \"zip\": \"12345\",\n        \"ip\": \"1.1.1.1\"\n    },\n    \"shipping_details\": {\n        \"name\": \"name1 last1\",\n        \"email\": \"email1@domain.com\",\n        \"phone\": \"971555555555\",\n        \"street1\": \"street2\",\n        \"city\": \"riyadh\",\n        \"state\": \"riyadh\",\n        \"country\": \"SA\",\n        \"zip\": \"54321\"\n    },\n    \"return\": \"{{return_url}}\",\n    \"callback\": \"{{callback_url}}\",\n    \"payment_token\": \"D1Pnghft7xSxfMVwqP4k\"\n}","options":{"raw":{"language":"json"}}},"url":"https://secure.clickpay.com.sa/payment/request","description":"<p>Create a Payment page for Hosted Payment Page Integration.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"authorization"},{"key":"value","value":"{{server_key}}"}]},"isInherited":true,"source":{"_postman_id":"1511c7b5-194d-4366-ae6e-1a9feaa97654","id":"1511c7b5-194d-4366-ae6e-1a9feaa97654","name":"Clickpay Direct API","type":"collection"}},"urlObject":{"protocol":"https","path":["payment","request"],"host":["secure","clickpay","com","sa"],"query":[],"variable":[]}},"response":[{"id":"b7ecde8b-c263-4f0e-864a-4d138216d16e","name":"Create Payment Page - with payment result","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"profile_id\": {{profile_id}},\n    \"tran_type\": \"sale\",\n    \"tran_class\": \"ecom\",\n    \"cart_id\": \"cart_11111\",\n    \"cart_currency\": \"SAR\",\n    \"cart_amount\": 12.3,\n    \"cart_description\": \"Description of the items/services\",\n    \"paypage_lang\": \"en\",\n    \"customer_details\": {\n        \"name\": \"first last\",\n        \"email\": \"email@domain.com\",\n        \"phone\": \"0522222222\",\n        \"street1\": \"address street\",\n        \"city\": \"riyadh\",\n        \"state\": \"riyadh\",\n        \"country\": \"SA\",\n        \"zip\": \"12345\",\n        \"ip\": \"1.1.1.1\"\n    },\n    \"shipping_details\": {\n        \"name\": \"name1 last1\",\n        \"email\": \"email1@domain.com\",\n        \"phone\": \"971555555555\",\n        \"street1\": \"street2\",\n        \"city\": \"riyadh\",\n        \"state\": \"riyadh\",\n        \"country\": \"SA\",\n        \"zip\": \"54321\",\n        \"ip\": \"2.2.2.2\"\n    },\n    \"callback\": \"{{callback_url}}\",\n    \"return\": \"{{return_url}}\",\n    \"card_details\": {\n      \"pan\": \"4111111111111111\",\n      \"cvv\": \"123\",\n      \"expiry_month\": 12,\n      \"expiry_year\": 2022 \n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://secure.clickpay.com.sa/payment/request"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 01 Dec 2020 18:32:47 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"934"},{"key":"Connection","value":"keep-alive"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Strict-Transport-Security","value":"max-age=63072000; includeSubDomains; preload"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Content-Security-Policy","value":"default-src 'self' *.paytabs.com; img-src https: data:; style-src 'self' *.paytabs.com 'unsafe-inline'; script-src 'self' *.paytabs.com 'unsafe-inline' 'unsafe-eval'; connect-src 'self' *.paytabs.com; frame-src 'self' *.paytabs.com; child-src 'self' *.paytabs.com;"}],"cookie":[],"responseTime":null,"body":"{\n    \"tran_ref\": \"TST2033600019178\",\n    \"tran_type\": \"Sale\",\n    \"cart_id\": \"cart_11111\",\n    \"cart_description\": \"Description of the items/services\",\n    \"cart_currency\": \"SAR\",\n    \"cart_amount\": \"12.3\",\n    \"return\": \"https://webhook.site/92ac6a52-256d-434b-bde8-94b1e73d3aa1\",\n    \"customer_details\": {\n        \"name\": \"first last\",\n        \"email\": \"email@domain.com\",\n        \"phone\": \"0522222222\",\n        \"street1\": \"address street\",\n        \"city\": \"riyadh\",\n        \"state\": \"riyadh\",\n        \"country\": \"SA\",\n        \"ip\": \"1.1.1.1\"\n    },\n    \"shipping_details\": {\n        \"name\": \"name1 last1\",\n        \"email\": \"email1@domain.com\",\n        \"phone\": \"971555555555\",\n        \"street1\": \"street2\",\n        \"city\": \"riyadh\",\n        \"state\": \"riyadh\",\n        \"country\": \"SA\",\n        \"ip\": \"2.2.2.2\"\n    },\n    \"payment_result\": {\n        \"response_status\": \"A\",\n        \"response_code\": \"831000\",\n        \"response_message\": \"Authorised\",\n        \"acquirer_message\": \"100:ACCEPT\",\n        \"acquirer_rrn\": \"033618116239\",\n        \"transaction_time\": \"2020-12-01T18:32:47Z\"\n    },\n    \"payment_info\": {\n        \"card_type\": \"Credit\",\n        \"card_scheme\": \"Visa\",\n        \"payment_description\": \"4111 11## #### 1111\"\n    },\n    \"token\": \"JfN1DVwmwVrSS5t4bP11CQ2t6gDyEp5T\"\n}"},{"id":"97514bf9-9dbc-478f-bf66-d3059035aa9c","name":"Create Payment Page-with redirecturl","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"profile_id\": {{profile_id}},\n    \"tran_type\": \"sale\",\n    \"tran_class\": \"ecom\",\n    \"cart_id\": \"cart_11111\",\n    \"cart_currency\": \"SAR\",\n    \"cart_amount\": 12.3,\n    \"cart_description\": \"Description of the items/services\",\n    \"paypage_lang\": \"en\",\n    \"customer_details\": {\n        \"name\": \"first last\",\n        \"email\": \"email@domain.com\",\n        \"phone\": \"0522222222\",\n        \"street1\": \"address street\",\n        \"city\": \"riyadh\",\n        \"state\": \"riyadh\",\n        \"country\": \"SA\",\n        \"zip\": \"12345\",\n        \"ip\": \"1.1.1.1\"\n    },\n    \"shipping_details\": {\n        \"name\": \"name1 last1\",\n        \"email\": \"email1@domain.com\",\n        \"phone\": \"971555555555\",\n        \"street1\": \"street2\",\n        \"city\": \"riyadh\",\n        \"state\": \"riyadh\",\n        \"country\": \"SA\",\n        \"zip\": \"54321\",\n        \"ip\": \"2.2.2.2\"\n    },\n    \"callback\": \"{{callback_url}}\",\n    \"return\": \"{{return_url}}\",\n    \"card_details\": {\n      \"pan\": \"4000000000000002\",\n      \"cvv\": \"123\",\n      \"expiry_month\": 12,\n      \"expiry_year\": 2022 \n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://secure.clickpay.com.sa/payment/request"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 01 Dec 2020 18:33:40 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"812"},{"key":"Connection","value":"keep-alive"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Strict-Transport-Security","value":"max-age=63072000; includeSubDomains; preload"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Content-Security-Policy","value":"default-src 'self' *.paytabs.com; img-src https: data:; style-src 'self' *.paytabs.com 'unsafe-inline'; script-src 'self' *.paytabs.com 'unsafe-inline' 'unsafe-eval'; connect-src 'self' *.paytabs.com; frame-src 'self' *.paytabs.com; child-src 'self' *.paytabs.com;"}],"cookie":[],"responseTime":null,"body":"{\n    \"tran_ref\": \"TST2033600019179\",\n    \"tran_type\": \"Sale\",\n    \"cart_id\": \"cart_11111\",\n    \"cart_description\": \"Description of the items/services\",\n    \"cart_currency\": \"SAR\",\n    \"cart_amount\": \"12.3\",\n    \"return\": \"https://webhook.site/92ac6a52-256d-434b-bde8-94b1e73d3aa1\",\n    \"redirect_url\": \"https://secure.clickpay.com.sa/payment/page/00C5499B82E406E003415A157D77D5FD9CBCCE3E537AD06E5865E7CA/redirect\",\n    \"customer_details\": {\n        \"name\": \"first last\",\n        \"email\": \"email@domain.com\",\n        \"phone\": \"0522222222\",\n        \"street1\": \"address street\",\n        \"city\": \"riyadh\",\n        \"state\": \"riyadh\",\n        \"country\": \"SA\",\n        \"ip\": \"1.1.1.1\"\n    },\n    \"shipping_details\": {\n        \"name\": \"name1 last1\",\n        \"email\": \"email1@domain.com\",\n        \"phone\": \"971555555555\",\n        \"street1\": \"street2\",\n        \"city\": \"riyadh\",\n        \"state\": \"riyadh\",\n        \"country\": \"SA\",\n        \"ip\": \"2.2.2.2\"\n    },\n    \"payment_info\": {\n        \"card_type\": \"Credit\",\n        \"card_scheme\": \"Visa\",\n        \"payment_description\": \"4000 00## #### 0002\"\n    }\n}"},{"id":"ccd0b1dd-a8b1-4c3c-8522-d74be61b7ee6","name":"Create payment page","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"profile_id\": {{profile_id}},\n    \"payment_methods\":[\"cup\"],\n    \"tran_type\": \"sale\",\n    \"tran_class\": \"ecom\",\n    \"cart_id\": \"cart_11111\",\n    \"cart_currency\": \"SAR\",\n    \"cart_amount\": 123,\n    \"cart_description\": \"Description of the items/services\",\n    \"paypage_lang\": \"en\",\n    \"customer_details\": {\n        \"name\": \"first last\",\n        \"email\": \"email@domain.com\",\n        \"phone\": \"0522222222\",\n        \"street1\": \"address street\",\n        \"city\": \"riyadh\",\n        \"state\": \"riyadh\",\n        \"country\": \"SA\",\n        \"zip\": \"12345\"\n    },\n    \"shipping_details\": {\n        \"name\": \"name1 last1\",\n        \"email\": \"email1@domain.com\",\n        \"phone\": \"971555555555\",\n        \"street1\": \"street2\",\n        \"city\": \"riyadh\",\n        \"state\": \"riyadh\",\n        \"country\": \"SA\",\n        \"zip\": \"54321\"\n    },\n    \"card_details\": {\n    \"pan\":              \"The card number\",\n    \"expiry_month\":     \"Month part of the expiry date, 1-12\",\n    \"expiry_year\":      \"Year part of the expiry date, as a 4 digit year\",\n    \"cvv\":              \"cvv\"\n    },\n    \"callback\": \"{{callback_url}}\",\n    \"return\": \"{{return_url}}\",\n    \"card_discounts\":[\n\t\t{\n\t\t\t\"discount_cards\":\"4111,5200\",\n\t\t\t\"discount_amount\": \"1.0\",\n\t\t\t\"discount_title\": \"50% discount on cards start with 4111,5200\"\n\t\t},\n\t\t{\n\t\t\t\"discount_cards\":\"4000\",\n\t\t\t\"discount_amount\": \"25\",\n\t\t\t\"discount_title\": \"25% discount on cards start with 4000\"\n\t\t}\n\t]\n}","options":{"raw":{"language":"json"}}},"url":"https://secure.clickpay.com.sa/payment/request"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 01 Dec 2020 13:49:50 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"740"},{"key":"Connection","value":"keep-alive"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Strict-Transport-Security","value":"max-age=63072000; includeSubDomains; preload"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Content-Security-Policy","value":"default-src 'self' *.paytabs.com; img-src https: data:; style-src 'self' *.paytabs.com 'unsafe-inline'; script-src 'self' *.paytabs.com 'unsafe-inline' 'unsafe-eval'; connect-src 'self' *.paytabs.com; frame-src 'self' *.paytabs.com; child-src 'self' *.paytabs.com;"}],"cookie":[],"responseTime":null,"body":"{\n    \"tran_ref\": \"TST2033600019149\",\n    \"tran_type\": \"Sale\",\n    \"cart_id\": \"cart_11111\",\n    \"cart_description\": \"Description of the items/services\",\n    \"cart_currency\": \"SAR\",\n    \"cart_amount\": \"123\",\n    \"callback\": \"https://webhook.site/92ac6a52-256d-434b-bde8-94b1e73d3aa1\",\n    \"return\": \"https://webhook.site/92ac6a52-256d-434b-bde8-94b1e73d3aa1\",\n    \"redirect_url\": \"https://secure.clickpay.com.sa/payment/page/00C58CE782E419E877BEEC073DBED38E53899637B4FC4338E9A45211\",\n    \"customer_details\": {\n        \"name\": \"first last\",\n        \"email\": \"email@domain.com\",\n        \"phone\": \"0522222222\",\n        \"street1\": \"address street\",\n        \"city\": \"riyadh\",\n        \"state\": \"riyadh\",\n        \"country\": \"SA\"\n    },\n    \"shipping_details\": {\n        \"name\": \"name1 last1\",\n        \"email\": \"email1@domain.com\",\n        \"phone\": \"971555555555\",\n        \"street1\": \"street2\",\n        \"city\": \"riyadh\",\n        \"state\": \"riyadh\",\n        \"country\": \"SA\"\n    }\n}"}],"_postman_id":"eed6a180-14a3-455c-ac0e-a80f8186b076"}],"id":"ef9786bb-49ee-4fb4-9331-a6ddf7e9d90c","description":"<p>Merchants with minimum of PCI SAQ A-EP will be able to use the managed form mode of integration.</p>\n<p><strong>Tag Values</strong></p>\n<p><em>tran_type</em></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Value</th>\n<th>Format</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>sale</td>\n<td>Purchase Transaction</td>\n</tr>\n<tr>\n<td>auth</td>\n<td>Transaction in auth and capture mode</td>\n</tr>\n<tr>\n<td>capture</td>\n<td>Capturing authorized transaction</td>\n</tr>\n<tr>\n<td>void</td>\n<td>Voiding authorized transaction</td>\n</tr>\n<tr>\n<td>refund</td>\n<td>Refund Transaction of fully captured transaction</td>\n</tr>\n</tbody>\n</table>\n</div><p><em>tran_class</em></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Value</th>\n<th>Format</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>ecom</td>\n<td>ECommerce Online Transaction</td>\n</tr>\n<tr>\n<td>moto</td>\n<td>Mail Order Telephonic Order Transaction</td>\n</tr>\n<tr>\n<td>recurring</td>\n<td>Recurring token based transaction</td>\n</tr>\n</tbody>\n</table>\n</div><p><em>tokenise</em></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Value</th>\n<th>Format</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>2</td>\n<td>Hex32</td>\n</tr>\n<tr>\n<td>3</td>\n<td>AlphaNum20</td>\n</tr>\n<tr>\n<td>4</td>\n<td>Digit22</td>\n</tr>\n<tr>\n<td>5</td>\n<td>Digit16</td>\n</tr>\n<tr>\n<td>6</td>\n<td>AlphaNum32</td>\n</tr>\n</tbody>\n</table>\n</div>","_postman_id":"ef9786bb-49ee-4fb4-9331-a6ddf7e9d90c","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"authorization"},{"key":"value","value":"{{server_key}}"}]},"isInherited":true,"source":{"_postman_id":"1511c7b5-194d-4366-ae6e-1a9feaa97654","id":"1511c7b5-194d-4366-ae6e-1a9feaa97654","name":"Clickpay Direct API","type":"collection"}}},{"name":"Apple Pay","item":[{"name":"Payment Request","id":"ffb84b5e-3252-463c-b5f8-f16063fc6512","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"profile_id\": 47125,\r\n    \"tran_type\": \"sale\",\r\n    \"tran_class\": \"ecom\",\r\n    \"cart_id\": \"cart_88888\",\r\n    \"cart_description\": \"Sample Payment\",\r\n    \"cart_currency\": \"{{currency}}\",\r\n    \"cart_amount\": \"1\",\r\n    \"return\": \"none\",\r\n    \"customer_details\": {\r\n        \"name\": \"John Smith\",\r\n        \"email\": \"jsmith@gmail.com\",\r\n        \"street1\": \"404, 11th st, void\",\r\n        \"city\": \"riyadh\",\r\n        \"country\": \"SA\",\r\n        \"phone\": \"97333333101\",\r\n        \"ip\": \"99.99.00.00\"\r\n    },\r\n    \"apple_pay_token\": {\r\n        \"paymentMethod\": {\r\n            \"network\": \"Visa\",\r\n            \"type\": \"Debit\",\r\n            \"displayName\": \"Visa 4228\"\r\n        },\r\n        \"transactionIdentifier\": \"D32A2C43FCC4314A668FFDB95B0F38D0BEF0B2F6AC8569CC433607BA51D25301\",\r\n        \"paymentData\": {\r\n            \"data\": \"P\\/l0iLnWAj393LZyMjdblyJHo8zUrAv2i73tcSnFkLDCFkuk35oh5+CCA7G6rBFXD0O6iu3kS3cE+yW3uhS88vI7jqMMG4bnJ0GdJUckJ6P7o++IurHG0bIHhOlu8gqL\\/1Bd73sHAKp4eK8GRQ0muRQGPwpTUf82J6mvntA\\/QhQ3b4Bd2ycn0N5T31XA8okVdNi++8TBuFgflz+61arcrtd7cIQ2lHmqOSk65qV\\/EdxpOGAzEjnexgk640cvvfp0rufusssFsgNeW\\/0sWniqWqmF64XeA3W2W6rlFThtYOjivbkjeB5fpZaa+fVYKehOF9v4z0\\/XENOmVzLFVUqS\\/Ba2NKeuMeBt3uporjg4o7rWaguCubz73qYkxSs+KxULy9b+yn692RvarmlNiE92dQ6XIAX1ASUAtMktYNU9nPg=\",\r\n            \"signature\": \"MIAGCSqGSIb3DQEHAqCAMIACAQExDzANBglghkgBZQMEAgEFADCABgkqhkiG9w0BBwEAAKCAMIID5jCCA4ugAwIBAgIIaGD2mdnMpw8wCgYIKoZIzj0EAwIwejEuMCwGA1UEAwwlQXBwbGUgQXBwbGljYXRpb24gSW50ZWdyYXRpb24gQ0EgLSBHMzEmMCQGA1UECwwdQXBwbGUgQ2VydGlmaWNhdGlvbiBBdXRob3JpdHkxEzARBgNVBAoMCkFwcGxlIEluYy4xCzAJBgNVBAYTAlVTMB4XDTE2MDYwMzE4MTY0MFoXDTIxMDYwMjE4MTY0MFowYjEoMCYGA1UEAwwfZWNjLXNtcC1icm9rZXItc2lnbl9VQzQtU0FOREJPWDEUMBIGA1UECwwLaU9TIFN5c3RlbXMxEzARBgNVBAoMCkFwcGxlIEluYy4xCzAJBgNVBAYTAlVTMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEgjD9q8Oc914gLFDZm0US5jfiqQHdbLPgsc1LUmeY+M9OvegaJajCHkwz3c6OKpbC9q+hkwNFxOh6RCbOlRsSlaOCAhEwggINMEUGCCsGAQUFBwEBBDkwNzA1BggrBgEFBQcwAYYpaHR0cDovL29jc3AuYXBwbGUuY29tL29jc3AwNC1hcHBsZWFpY2EzMDIwHQYDVR0OBBYEFAIkMAua7u1GMZekplopnkJxghxFMAwGA1UdEwEB\\/wQCMAAwHwYDVR0jBBgwFoAUI\\/JJxE+T5O8n5sT2KGw\\/orv9LkswggEdBgNVHSAEggEUMIIBEDCCAQwGCSqGSIb3Y2QFATCB\\/jCBwwYIKwYBBQUHAgIwgbYMgbNSZWxpYW5jZSBvbiB0aGlzIGNlcnRpZmljYXRlIGJ5IGFueSBwYXJ0eSBhc3N1bWVzIGFjY2VwdGFuY2Ugb2YgdGhlIHRoZW4gYXBwbGljYWJsZSBzdGFuZGFyZCB0ZXJtcyBhbmQgY29uZGl0aW9ucyBvZiB1c2UsIGNlcnRpZmljYXRlIHBvbGljeSBhbmQgY2VydGlmaWNhdGlvbiBwcmFjdGljZSBzdGF0ZW1lbnRzLjA2BggrBgEFBQcCARYqaHR0cDovL3d3dy5hcHBsZS5jb20vY2VydGlmaWNhdGVhdXRob3JpdHkvMDQGA1UdHwQtMCswKaAnoCWGI2h0dHA6Ly9jcmwuYXBwbGUuY29tL2FwcGxlYWljYTMuY3JsMA4GA1UdDwEB\\/wQEAwIHgDAPBgkqhkiG92NkBh0EAgUAMAoGCCqGSM49BAMCA0kAMEYCIQDaHGOui+X2T44R6GVpN7m2nEcr6T6sMjOhZ5NuSo1egwIhAL1a+\\/hp88DKJ0sv3eT3FxWcs71xmbLKD\\/QJ3mWagrJNMIIC7jCCAnWgAwIBAgIISW0vvzqY2pcwCgYIKoZIzj0EAwIwZzEbMBkGA1UEAwwSQXBwbGUgUm9vdCBDQSAtIEczMSYwJAYDVQQLDB1BcHBsZSBDZXJ0aWZpY2F0aW9uIEF1dGhvcml0eTETMBEGA1UECgwKQXBwbGUgSW5jLjELMAkGA1UEBhMCVVMwHhcNMTQwNTA2MjM0NjMwWhcNMjkwNTA2MjM0NjMwWjB6MS4wLAYDVQQDDCVBcHBsZSBBcHBsaWNhdGlvbiBJbnRlZ3JhdGlvbiBDQSAtIEczMSYwJAYDVQQLDB1BcHBsZSBDZXJ0aWZpY2F0aW9uIEF1dGhvcml0eTETMBEGA1UECgwKQXBwbGUgSW5jLjELMAkGA1UEBhMCVVMwWTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAATwFxGEGddkhdUaXiWBB3bogKLv3nuuTeCN\\/EuT4TNW1WZbNa4i0Jd2DSJOe7oI\\/XYXzojLdrtmcL7I6CmE\\/1RFo4H3MIH0MEYGCCsGAQUFBwEBBDowODA2BggrBgEFBQcwAYYqaHR0cDovL29jc3AuYXBwbGUuY29tL29jc3AwNC1hcHBsZXJvb3RjYWczMB0GA1UdDgQWBBQj8knET5Pk7yfmxPYobD+iu\\/0uSzAPBgNVHRMBAf8EBTADAQH\\/MB8GA1UdIwQYMBaAFLuw3qFYM4iapIqZ3r6966\\/ayySrMDcGA1UdHwQwMC4wLKAqoCiGJmh0dHA6Ly9jcmwuYXBwbGUuY29tL2FwcGxlcm9vdGNhZzMuY3JsMA4GA1UdDwEB\\/wQEAwIBBjAQBgoqhkiG92NkBgIOBAIFADAKBggqhkjOPQQDAgNnADBkAjA6z3KDURaZsYb7NcNWymK\\/9Bft2Q91TaKOvvGcgV5Ct4n4mPebWZ+Y1UENj53pwv4CMDIt1UQhsKMFd2xd8zg7kGf9F3wsIW2WT8ZyaYISb1T4en0bmcubCYkhYQaZDwmSHQAAMYIBjDCCAYgCAQEwgYYwejEuMCwGA1UEAwwlQXBwbGUgQXBwbGljYXRpb24gSW50ZWdyYXRpb24gQ0EgLSBHMzEmMCQGA1UECwwdQXBwbGUgQ2VydGlmaWNhdGlvbiBBdXRob3JpdHkxEzARBgNVBAoMCkFwcGxlIEluYy4xCzAJBgNVBAYTAlVTAghoYPaZ2cynDzANBglghkgBZQMEAgEFAKCBlTAYBgkqhkiG9w0BCQMxCwYJKoZIhvcNAQcBMBwGCSqGSIb3DQEJBTEPFw0yMDA2MTYwOTQ5MDlaMCoGCSqGSIb3DQEJNDEdMBswDQYJYIZIAWUDBAIBBQChCgYIKoZIzj0EAwIwLwYJKoZIhvcNAQkEMSIEILdZb7ICrNx5ZgvQt3OlTdlF57svjNEbx7YslS+w4DPyMAoGCCqGSM49BAMCBEcwRQIgZFY0mdI63DwtrciRA3xRWPCL+QD2KXPWPUC8b2azEKkCIQCb90ECiwGTt4TOm194OCo9wusSNlZipzmy1XBPohv8sAAAAAAAAA==\",\r\n            \"header\": {\r\n                \"publicKeyHash\": \"dQ1T3uh4uMRK7OAynypjLF7V9NWdL49JVKIHU+jDsww=\",\r\n                \"ephemeralPublicKey\": \"MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEcPy\\/H\\/285E6ruf9Y4Yn3D41MdtLFRqdGVPoXr6wWpWk\\/cBr31AZSVWCorIu4HT92GNy5efMcinrAyev2Mwy+zg==\",\r\n                \"transactionId\": \"d32a2c43fcc4314a668ffdb95b0f38d0bef0b2f6ac8569cc433607ba51d25301\"\r\n            },\r\n            \"version\": \"EC_v1\"\r\n        }\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"https://secure.clickpay.com.sa/payment/request","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"authorization"},{"key":"value","value":"{{server_key}}"}]},"isInherited":true,"source":{"_postman_id":"1511c7b5-194d-4366-ae6e-1a9feaa97654","id":"1511c7b5-194d-4366-ae6e-1a9feaa97654","name":"Clickpay Direct API","type":"collection"}},"urlObject":{"protocol":"https","path":["payment","request"],"host":["secure","clickpay","com","sa"],"query":[],"variable":[]}},"response":[],"_postman_id":"ffb84b5e-3252-463c-b5f8-f16063fc6512"}],"id":"c0c53346-5631-46b8-a762-36947a1b61ef","_postman_id":"c0c53346-5631-46b8-a762-36947a1b61ef","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"authorization"},{"key":"value","value":"{{server_key}}"}]},"isInherited":true,"source":{"_postman_id":"1511c7b5-194d-4366-ae6e-1a9feaa97654","id":"1511c7b5-194d-4366-ae6e-1a9feaa97654","name":"Clickpay Direct API","type":"collection"}}},{"name":"Invoice","item":[{"name":"Create Invoice","event":[{"listen":"prerequest","script":{"id":"b261ba32-8a8d-43fd-909b-7726ed32fb97","exec":[""],"type":"text/javascript"}},{"listen":"test","script":{"id":"d628ad92-bed1-4140-92f8-3bd875fa4a85","exec":["var jsonData = JSON.parse(responseBody);\r","postman.setEnvironmentVariable(\"invoice_id\", jsonData.invoice_id);"],"type":"text/javascript"}}],"id":"f33e2163-b119-4280-868d-0f04a1c213f6","protocolProfileBehavior":{"disabledSystemHeaders":{"content-type":true},"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"{{server_key}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"profile_id\": {{profile_id}},\n    \"tran_type\": \"sale\",\n    \"tran_class\": \"ecom\",\n    \"cart_currency\": \"{{currency}}\",\n    \"cart_amount\": \"9.5\",\n    \"cart_id\": \"cart_12345\",\n    \"cart_description\": \"Test Description\",\n    \"hide_shipping\": true,\n    \"customer_ref\":\"CUST0101\",\n    \"customer_details\": {\n        \"name\": \"First Last\",\n        \"email\": \"wj@email.com\",\n        \"street1\": \"404, 11th st, void\",\n        \"city\": \"riyadh\",\n        \"country\": \"SA\"\n    },\n    \"invoice\": {\n        \"shipping_charges\": 0,\n        \"extra_charges\": 0,\n        \"extra_discount\": 0,\n        \"total\": 0,\n        \"line_items\": [\n            {\n                \"sku\": \"sku\",\n                \"description\": \"desc\",\n                \"url\": \"https://www.shopping.sa/whats-new/flat-white\",\n                \"unit_cost\": 9.5,\n                \"quantity\": 1,\n                \"net_total\": 9.5,\n                \"discount_rate\": 0,\n                \"discount_amount\": 0,\n                \"tax_rate\": 0,\n                \"tax_total\": 0,\n                \"total\": 9.5\n            }\n        ]\n    },\n    \"callback\": \"{{callback_url}}\",\n    \"return\": \"{{return_url}}\"\n}","options":{"raw":{"language":"json"}}},"url":"https://secure.clickpay.com.sa/payment/new/invoice","description":"<p>Create an Invoice</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"authorization"},{"key":"value","value":"{{server_key}}"}]},"isInherited":true,"source":{"_postman_id":"1511c7b5-194d-4366-ae6e-1a9feaa97654","id":"1511c7b5-194d-4366-ae6e-1a9feaa97654","name":"Clickpay Direct API","type":"collection"}},"urlObject":{"protocol":"https","path":["payment","new","invoice"],"host":["secure","clickpay","com","sa"],"query":[],"variable":[]}},"response":[{"id":"8fc14a57-5680-4524-87b0-93c049468685","name":"Create Invoice","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"{{server_key}}","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"profile_id\": {{profile_id}},\n  \"tran_type\": \"sale\",\n  \"tran_class\": \"ecom\",\n  \"cart_currency\": \"SAR\",\n  \"cart_amount\": \"9.5\",\n  \"cart_id\": \"Test Cart\",\n  \"cart_description\": \"Test Description\",\n  \"return\": \"https://webhook.site/92ac6a52-256d-434b-bde8-94b1e73d3aa1\",\n  \"hide_shipping\": true,\n  \"invoice\": {\n    \"shipping_charges\": 0,\n    \"extra_charges\": 0,\n    \"extra_discount\": 0,\n    \"total\": 0,\n    \"line_items\": [\n      {\n        \"sku\": \"sku\",\n        \"description\": \"desc\",\n        \"url\": \"https://webhook.site/92ac6a52-256d-434b-bde8-94b1e73d3aa1\",\n        \"unit_cost\": 9.5,\n        \"quantity\": 1,\n        \"net_total\": 9.5,\n        \"discount_rate\": 0,\n        \"discount_amount\": 0,\n        \"tax_rate\": 0,\n        \"tax_total\": 0,\n        \"total\": 9.5\n      }\n    ]\n  }\n}","options":{"raw":{"language":"json"}}},"url":"https://secure.clickpay.com.sa/payment/new/invoice"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Sun, 14 Feb 2021 05:15:45 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"130"},{"key":"Connection","value":"keep-alive"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Strict-Transport-Security","value":"max-age=63072000; includeSubDomains; preload"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Content-Security-Policy","value":"default-src 'self' *.paytabs.com; img-src https: data:; style-src 'self' *.paytabs.com 'unsafe-inline'; script-src 'self' *.paytabs.com 'unsafe-inline' 'unsafe-eval'; connect-src 'self' *.paytabs.com; frame-src 'self' *.paytabs.com; child-src 'self' *.paytabs.com;"}],"cookie":[],"responseTime":null,"body":"{\n    \"invoice_id\": 267830,\n    \"invoice_link\": \"https://secure.clickpay.com.sa/payment/request/invoice/267830/EB439AE996B8419F94EE5B46D4F3891D\"\n}"}],"_postman_id":"f33e2163-b119-4280-868d-0f04a1c213f6"},{"name":"Create Invoice with Tokenization","event":[{"listen":"prerequest","script":{"id":"037524db-bb2b-4110-9cb5-dbb33060fc90","exec":[""],"type":"text/javascript"}},{"listen":"test","script":{"id":"e9938f54-6fed-48e0-a657-c0391a44ee29","exec":["var jsonData = JSON.parse(responseBody);\r","postman.setEnvironmentVariable(\"invoice_id\", jsonData.invoice_id);"],"type":"text/javascript"}}],"id":"06bff819-1f63-4d07-965e-43d395f89748","protocolProfileBehavior":{"disabledSystemHeaders":{"content-type":true},"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"{{server_key}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"profile_id\": {{profile_id}},\n    \"tran_type\": \"sale\",\n    \"tran_class\": \"ecom\",\n    \"tokenise\": 2,\n    \"cart_currency\": \"{{currency}}\",\n    \"cart_amount\": \"9.5\",\n    \"cart_id\": \"cart_12345_2\",\n    \"cart_description\": \"Test Description\",\n    \"hide_shipping\": true,\n    \"customer_ref\":\"CUST0101\",\n    \"invoice\": {\n        \"shipping_charges\": 0,\n        \"extra_charges\": 0,\n        \"extra_discount\": 0,\n        \"total\": 0,\n        \"line_items\": [\n            {\n                \"sku\": \"sku\",\n                \"description\": \"desc\",\n                \"url\": \"https://www.shopping.sa/whats-new/flat-white\",\n                \"unit_cost\": 9.5,\n                \"quantity\": 1,\n                \"net_total\": 9.5,\n                \"discount_rate\": 0,\n                \"discount_amount\": 0,\n                \"tax_rate\": 0,\n                \"tax_total\": 0,\n                \"total\": 9.5\n            }\n        ]\n    },\n    \"callback\": \"{{callback_url}}\",\n    \"return\": \"{{return_url}}\"\n}","options":{"raw":{"language":"json"}}},"url":"https://secure.clickpay.com.sa/payment/new/invoice","description":"<p>Create an Invoice</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"authorization"},{"key":"value","value":"{{server_key}}"}]},"isInherited":true,"source":{"_postman_id":"1511c7b5-194d-4366-ae6e-1a9feaa97654","id":"1511c7b5-194d-4366-ae6e-1a9feaa97654","name":"Clickpay Direct API","type":"collection"}},"urlObject":{"protocol":"https","path":["payment","new","invoice"],"host":["secure","clickpay","com","sa"],"query":[],"variable":[]}},"response":[{"id":"3e444b7c-b588-4fc6-86f3-c77a4a1d5880","name":"Create Invoice","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"{{server_key}}","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"profile_id\": {{profile_id}},\n  \"tran_type\": \"sale\",\n  \"tran_class\": \"ecom\",\n  \"cart_currency\": \"SAR\",\n  \"cart_amount\": \"9.5\",\n  \"cart_id\": \"Test Cart\",\n  \"cart_description\": \"Test Description\",\n  \"return\": \"https://webhook.site/92ac6a52-256d-434b-bde8-94b1e73d3aa1\",\n  \"hide_shipping\": true,\n  \"invoice\": {\n    \"shipping_charges\": 0,\n    \"extra_charges\": 0,\n    \"extra_discount\": 0,\n    \"total\": 0,\n    \"line_items\": [\n      {\n        \"sku\": \"sku\",\n        \"description\": \"desc\",\n        \"url\": \"https://webhook.site/92ac6a52-256d-434b-bde8-94b1e73d3aa1\",\n        \"unit_cost\": 9.5,\n        \"quantity\": 1,\n        \"net_total\": 9.5,\n        \"discount_rate\": 0,\n        \"discount_amount\": 0,\n        \"tax_rate\": 0,\n        \"tax_total\": 0,\n        \"total\": 9.5\n      }\n    ]\n  }\n}","options":{"raw":{"language":"json"}}},"url":"https://secure.clickpay.com.sa/payment/new/invoice"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Sun, 14 Feb 2021 05:15:45 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"130"},{"key":"Connection","value":"keep-alive"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Strict-Transport-Security","value":"max-age=63072000; includeSubDomains; preload"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Content-Security-Policy","value":"default-src 'self' *.paytabs.com; img-src https: data:; style-src 'self' *.paytabs.com 'unsafe-inline'; script-src 'self' *.paytabs.com 'unsafe-inline' 'unsafe-eval'; connect-src 'self' *.paytabs.com; frame-src 'self' *.paytabs.com; child-src 'self' *.paytabs.com;"}],"cookie":[],"responseTime":null,"body":"{\n    \"invoice_id\": 267830,\n    \"invoice_link\": \"https://secure.clickpay.com.sa/payment/request/invoice/267830/EB439AE996B8419F94EE5B46D4F3891D\"\n}"}],"_postman_id":"06bff819-1f63-4d07-965e-43d395f89748"},{"name":"InvoiceStatus-GET","id":"f649d9b6-0987-4b08-8ba0-4cb6f6ee2873","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"{{server_key}}","type":"text"}],"url":"https://secure.clickpay.com.sa/payment/invoice/{{invoice_id}}/status","description":"<p>Get Status of Invoice using Invoice ID</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"authorization"},{"key":"value","value":"{{server_key}}"}]},"isInherited":true,"source":{"_postman_id":"1511c7b5-194d-4366-ae6e-1a9feaa97654","id":"1511c7b5-194d-4366-ae6e-1a9feaa97654","name":"Clickpay Direct API","type":"collection"}},"urlObject":{"protocol":"https","path":["payment","invoice","{{invoice_id}}","status"],"host":["secure","clickpay","com","sa"],"query":[],"variable":[]}},"response":[{"id":"bc13a993-77d6-4adf-b561-18889f34445c","name":"InvoiceStatus-Pending","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"{{server_key}}","type":"text"}],"url":"https://secure.clickpay.com.sa/payment/invoice/{{invoice_id}}/status"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Sun, 14 Feb 2021 05:17:57 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"29"},{"key":"Connection","value":"keep-alive"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Strict-Transport-Security","value":"max-age=63072000; includeSubDomains; preload"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Content-Security-Policy","value":"default-src 'self' *.paytabs.com; img-src https: data:; style-src 'self' *.paytabs.com 'unsafe-inline'; script-src 'self' *.paytabs.com 'unsafe-inline' 'unsafe-eval'; connect-src 'self' *.paytabs.com; frame-src 'self' *.paytabs.com; child-src 'self' *.paytabs.com;"}],"cookie":[],"responseTime":null,"body":"{\n    \"invoice_status\": \"pending\"\n}"},{"id":"4c48eeab-e4c3-478f-b5c8-8f78512eac44","name":"InvoiceStatus-Paid","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"{{server_key}}","type":"text"}],"url":"https://secure.clickpay.com.sa/payment/invoice/{{invoice_id}}/status"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Sun, 14 Feb 2021 05:21:55 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"105"},{"key":"Connection","value":"keep-alive"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Strict-Transport-Security","value":"max-age=63072000; includeSubDomains; preload"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Content-Security-Policy","value":"default-src 'self' *.paytabs.com; img-src https: data:; style-src 'self' *.paytabs.com 'unsafe-inline'; script-src 'self' *.paytabs.com 'unsafe-inline' 'unsafe-eval'; connect-src 'self' *.paytabs.com; frame-src 'self' *.paytabs.com; child-src 'self' *.paytabs.com;"}],"cookie":[],"responseTime":null,"body":"{\n    \"invoice_status\": \"paid\",\n    \"tran_ref\": \"TST2104500076067\",\n    \"tran_status\": \"A\",\n    \"tran_status_msg\": \"Authorised\"\n}"},{"id":"61ce4fda-a520-4575-8272-b56678c296ce","name":"InvoiceStatus-Cancelled","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"{{server_key}}","type":"text"}],"url":"https://secure.clickpay.com.sa/payment/invoice/{{invoice_id}}/status"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Sun, 14 Feb 2021 05:30:01 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"31"},{"key":"Connection","value":"keep-alive"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Strict-Transport-Security","value":"max-age=63072000; includeSubDomains; preload"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Content-Security-Policy","value":"default-src 'self' *.paytabs.com; img-src https: data:; style-src 'self' *.paytabs.com 'unsafe-inline'; script-src 'self' *.paytabs.com 'unsafe-inline' 'unsafe-eval'; connect-src 'self' *.paytabs.com; frame-src 'self' *.paytabs.com; child-src 'self' *.paytabs.com;"}],"cookie":[],"responseTime":null,"body":"{\n    \"invoice_status\": \"cancelled\"\n}"}],"_postman_id":"f649d9b6-0987-4b08-8ba0-4cb6f6ee2873"},{"name":"InvoiceStatus-POST","id":"58796b9d-6ae7-4d71-b1fd-9300acdbc3ea","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"{{server_key}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"profile_id\": {{profile_id}},\r\n    \"invoice_id\": {{invoice_id}}\r\n}","options":{"raw":{"language":"json"}}},"url":"https://secure.clickpay.com.sa/payment/invoice/status","description":"<p>Getting Status of invoice using Invoice ID</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"authorization"},{"key":"value","value":"{{server_key}}"}]},"isInherited":true,"source":{"_postman_id":"1511c7b5-194d-4366-ae6e-1a9feaa97654","id":"1511c7b5-194d-4366-ae6e-1a9feaa97654","name":"Clickpay Direct API","type":"collection"}},"urlObject":{"protocol":"https","path":["payment","invoice","status"],"host":["secure","clickpay","com","sa"],"query":[],"variable":[]}},"response":[{"id":"78ce3bae-6dd2-4170-97b8-afab1607f1fd","name":"InvoiceStatus-Paid","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"{{server_key}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"profile_id\": {{profile_id}},\r\n    \"invoice_id\": {{invoice_id}}\r\n}","options":{"raw":{"language":"json"}}},"url":"https://secure.clickpay.com.sa/payment/invoice/status"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Sun, 14 Feb 2021 05:33:14 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"105"},{"key":"Connection","value":"keep-alive"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Strict-Transport-Security","value":"max-age=63072000; includeSubDomains; preload"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Content-Security-Policy","value":"default-src 'self' *.paytabs.com; img-src https: data:; style-src 'self' *.paytabs.com 'unsafe-inline'; script-src 'self' *.paytabs.com 'unsafe-inline' 'unsafe-eval'; connect-src 'self' *.paytabs.com; frame-src 'self' *.paytabs.com; child-src 'self' *.paytabs.com;"}],"cookie":[],"responseTime":null,"body":"{\n    \"invoice_status\": \"paid\",\n    \"tran_ref\": \"TST2104500076080\",\n    \"tran_status\": \"A\",\n    \"tran_status_msg\": \"Authorised\"\n}"},{"id":"d1e875df-3609-4101-b6e3-8b18caaf5de1","name":"InvoiceStatus-Cancelled","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"{{server_key}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"profile_id\": {{profile_id}},\r\n    \"invoice_id\": {{invoice_id}}\r\n}","options":{"raw":{"language":"json"}}},"url":"https://secure.clickpay.com.sa/payment/invoice/status"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Sun, 14 Feb 2021 05:30:45 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"31"},{"key":"Connection","value":"keep-alive"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Strict-Transport-Security","value":"max-age=63072000; includeSubDomains; preload"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Content-Security-Policy","value":"default-src 'self' *.paytabs.com; img-src https: data:; style-src 'self' *.paytabs.com 'unsafe-inline'; script-src 'self' *.paytabs.com 'unsafe-inline' 'unsafe-eval'; connect-src 'self' *.paytabs.com; frame-src 'self' *.paytabs.com; child-src 'self' *.paytabs.com;"}],"cookie":[],"responseTime":null,"body":"{\n    \"invoice_status\": \"cancelled\"\n}"},{"id":"70dbe6e0-7581-4714-880a-7e4ca48c6840","name":"InvoiceStatus-Pending","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"{{server_key}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"profile_id\": {{profile_id}},\r\n    \"invoice_id\": {{invoice_id}}\r\n}","options":{"raw":{"language":"json"}}},"url":"https://secure.clickpay.com.sa/payment/invoice/status"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Sun, 14 Feb 2021 05:31:37 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"29"},{"key":"Connection","value":"keep-alive"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Strict-Transport-Security","value":"max-age=63072000; includeSubDomains; preload"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Content-Security-Policy","value":"default-src 'self' *.paytabs.com; img-src https: data:; style-src 'self' *.paytabs.com 'unsafe-inline'; script-src 'self' *.paytabs.com 'unsafe-inline' 'unsafe-eval'; connect-src 'self' *.paytabs.com; frame-src 'self' *.paytabs.com; child-src 'self' *.paytabs.com;"}],"cookie":[],"responseTime":null,"body":"{\n    \"invoice_status\": \"pending\"\n}"}],"_postman_id":"58796b9d-6ae7-4d71-b1fd-9300acdbc3ea"},{"name":"InvoiceCancel-PUT","id":"9f930bd3-907a-468c-ae84-b2b99206da1b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Authorization","value":"{{server_key}}","type":"text"}],"url":"https://secure.clickpay.com.sa/payment/invoice/{{invoice_id}}/cancel","description":"<p>Cancel Invoice</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"authorization"},{"key":"value","value":"{{server_key}}"}]},"isInherited":true,"source":{"_postman_id":"1511c7b5-194d-4366-ae6e-1a9feaa97654","id":"1511c7b5-194d-4366-ae6e-1a9feaa97654","name":"Clickpay Direct API","type":"collection"}},"urlObject":{"protocol":"https","path":["payment","invoice","{{invoice_id}}","cancel"],"host":["secure","clickpay","com","sa"],"query":[],"variable":[]}},"response":[{"id":"8e2bbe87-1028-41c8-a3e2-f2e0a7cf9a44","name":"InvoiceCancel-Cancelled","originalRequest":{"method":"PUT","header":[{"key":"Authorization","value":"{{server_key}}","type":"text"}],"url":"https://secure.clickpay.com.sa/payment/invoice/{{invoice_id}}/cancel"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Sun, 14 Feb 2021 05:28:24 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"41"},{"key":"Connection","value":"keep-alive"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Strict-Transport-Security","value":"max-age=63072000; includeSubDomains; preload"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Content-Security-Policy","value":"default-src 'self' *.paytabs.com; img-src https: data:; style-src 'self' *.paytabs.com 'unsafe-inline'; script-src 'self' *.paytabs.com 'unsafe-inline' 'unsafe-eval'; connect-src 'self' *.paytabs.com; frame-src 'self' *.paytabs.com; child-src 'self' *.paytabs.com;"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Invoice has been cancelled\"\n}"}],"_postman_id":"9f930bd3-907a-468c-ae84-b2b99206da1b"},{"name":"InvoiceCancel-POST","id":"abb75bd7-0954-401d-b2fa-278930248019","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"{{server_key}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"profile_id\": {{profile_id}},\r\n    \"invoice_id\": {{invoice_id}}\r\n}","options":{"raw":{"language":"json"}}},"url":"https://secure.clickpay.com.sa/payment/invoice/status","description":"<p>Cancel Invoice</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"authorization"},{"key":"value","value":"{{server_key}}"}]},"isInherited":true,"source":{"_postman_id":"1511c7b5-194d-4366-ae6e-1a9feaa97654","id":"1511c7b5-194d-4366-ae6e-1a9feaa97654","name":"Clickpay Direct API","type":"collection"}},"urlObject":{"protocol":"https","path":["payment","invoice","status"],"host":["secure","clickpay","com","sa"],"query":[],"variable":[]}},"response":[{"id":"ccd8b96d-46ae-42b4-a8a9-e6735186d1c3","name":"InvoiceCancel-Failed to Cancel","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"{{server_key}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"profile_id\": {{profile_id}},\r\n    \"invoice_id\": {{invoice_id}}\r\n}","options":{"raw":{"language":"json"}}},"url":"https://secure.clickpay.com.sa/payment/invoice/cancel"},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Sun, 14 Feb 2021 05:29:12 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"50"},{"key":"Connection","value":"keep-alive"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Strict-Transport-Security","value":"max-age=63072000; includeSubDomains; preload"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Content-Security-Policy","value":"default-src 'self' *.paytabs.com; img-src https: data:; style-src 'self' *.paytabs.com 'unsafe-inline'; script-src 'self' *.paytabs.com 'unsafe-inline' 'unsafe-eval'; connect-src 'self' *.paytabs.com; frame-src 'self' *.paytabs.com; child-src 'self' *.paytabs.com;"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": 500,\n    \"message\": \"Failed to cancel invoice\"\n}"}],"_postman_id":"abb75bd7-0954-401d-b2fa-278930248019"}],"id":"655b0eb4-e4c4-428e-b53a-6ddbd6235cd5","_postman_id":"655b0eb4-e4c4-428e-b53a-6ddbd6235cd5","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"authorization"},{"key":"value","value":"{{server_key}}"}]},"isInherited":true,"source":{"_postman_id":"1511c7b5-194d-4366-ae6e-1a9feaa97654","id":"1511c7b5-194d-4366-ae6e-1a9feaa97654","name":"Clickpay Direct API","type":"collection"}}},{"name":"B2B Payouts & Split payments","item":[],"id":"88d87f80-8e2b-4bc9-a62f-2e1e51a79112","description":"<p>In order to use the below API you need to have a Clickpay account. You can sign up. for a free account <a href=\"https://merchant.clickpay.com.sa/merchant/register\">here</a>.</p>\n<p>Once you complete sign up and Log in to you Clickpay dashboard, Go to Developers page &gt; Key management, where you can find the profile id and server key using in this collection.</p>\n<h2 id=\"payouts-api\">PayOuts API</h2>\n<p>The \"CreateBatch\" API is used to create a batch. \"Add More Requests to Batch\" API is used to submit additional transfer requests. \"CloseBatch\" API is to submit the Batch for approval and processing. \"Query\" API is to check the status of the payout.</p>\n<p>All requests are made using server-to-server calls, with JSON format data</p>\n<p>All requests must be sent using HTTP POST to the ​Clickpay transaction API endpoint</p>\n<h2 id=\"authorization-header\">Authorization Header</h2>\n<p>You will need your server key in order to make any of the API requests in this collection. This is not the same as the client key that is used within the managed payment pages. Authentication is done by including your server key in the Authorization:' header for the request.</p>\n<p>(Authorization Type: API key)</p>\n<p>Server key is available in your ​Clickpay Merchant Dashboard &gt; Developers Section Key Management</p>\n<h2>Assistance</h2>\n\n<p>If you require assistance, please email us at support@clickpay.sa</p>","_postman_id":"88d87f80-8e2b-4bc9-a62f-2e1e51a79112","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"authorization"},{"key":"value","value":"{{server_key}}"}]},"isInherited":true,"source":{"_postman_id":"1511c7b5-194d-4366-ae6e-1a9feaa97654","id":"1511c7b5-194d-4366-ae6e-1a9feaa97654","name":"Clickpay Direct API","type":"collection"}}}],"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"authorization"},{"key":"value","value":"{{server_key}}"}]}},"event":[{"listen":"prerequest","script":{"id":"75d50f80-2725-4849-9903-68cc65978651","type":"text/javascript","requests":{},"exec":[""]}},{"listen":"test","script":{"id":"b3fa23db-1480-47ed-bdc6-53ab10375692","type":"text/javascript","requests":{},"exec":[""]}}]}