{"info":{"_postman_id":"fbf27e62-9b8d-4e0a-99ab-eb88b276971f","name":"PT-2 Direct API","description":"<html><head></head><body><h1 id=\"paytabs-pt2-direct-apis\">PayTabs-PT2 Direct APIs</h1>\n\n<p>The official PayTabs API postman collection</p>\n<h2>Getting Started</h2>\n\n<p>In order to use the below API you need to have a PayTabs account. You can sign up for a free account<a href=\"https://merchant.paytabs.com/merchant/register\">here</a>.</p>\n\n<p>Once you complete sign up and Log in to you PayTabs 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 cs@paytabs.com</p>\n\n<h2>Documentation</h2>\n\n<p>For further documentation, you can find all technical documentation once you<a href=\"https://merchant.paytabs.com/merchant/register\">sign up</a>to PayTabs 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, Xero, Zoho, Expand Cart, Zid, Salla</div></li><li><div><b>Mobile SDK</b>: Android, IOS, React, Flutter</div></li><li><div><b>API Integrations: </b>PayTabs 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, American express, UnionPay</div></li><li><div>Debit Cards: mada (KSA), meeza (Egypt), Omannet(Oman), Knet (Kuwait)</div></li><li><div>Mobile Wallets: STCpay (KSA), Meeza Wallets (Egypt), Apple pay, Samsung pay</div></li><li><div>BuyNow, Pay Later: valU (Egypt)</div></li><li><div>Cash: Aman (Egypt)</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\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>amex</p></div><div><div><div><div></div></div></div><div></div></div></td><td><div><p>AMEX payment method</p></div><div><div><div><div></div></div></div><div></div></div></td></tr><tr><td><div><p>unionpay</p></div><div><div><div><div></div></div></div><div></div></div></td><td><div><p>Union Pay payment method</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>valu</p></div><div><div><div><div></div></div></div><div></div></div></td><td><div><p>ValU payment method in Egypt</p></div><div><div><div><div></div></div></div><div></div></div></td></tr><tr><td><div><p>meeza</p></div><div><div><div><div></div></div></div><div></div></div></td><td><div><p>Meeza payment method in Egypt</p></div><div><div><div><div></div></div></div><div></div></div></td></tr><tr><td><div><p>meezaqr</p></div><div><div><div><div></div></div></div><div></div></div></td><td><div><p>Meeza QR payment method in Egypt</p></div><div><div><div><div></div></div></div><div></div></div></td></tr><tr><td><div><p>omannet</p></div><div><div><div><div></div></div></div><div></div></div></td><td><div><p>Omannet payment method in Oman</p></div><div><div><div><div></div></div></div><div></div></div></td></tr><tr><td><div><p>knet</p></div><div><div><div><div></div></div></div><div></div></div></td><td><div><p>KNET payment method</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><tr><td><div><p>samsungpay</p></div><div><div><div><div></div></div></div><div></div></div></td><td><div><p>Samsung Pay payment method</p></div><div><div><div><div></div></div></div><div></div></div></td></tr><tr><td><div><p>aman</p></div><div><div><div><div></div></div></div><div></div></div></td><td><div><p>Aman Payment method in Egypt</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 PayTabs 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 PayTabs merchant dashboard &gt; Developers &gt; Testing &gt; API debug log</p>\n\n<h3>Response Code</h3>\n\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>code</strong></th>\n<th><strong>status</strong></th>\n<th><strong>message</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>0</td>\n<td>A</td>\n<td>Authorised</td>\n</tr>\n<tr>\n<td>1</td>\n<td>E</td>\n<td>Authentication Failed</td>\n</tr>\n<tr>\n<td>2</td>\n<td>E</td>\n<td>Invalid Request</td>\n</tr>\n<tr>\n<td>3</td>\n<td>E</td>\n<td>Invalid Profile ID</td>\n</tr>\n<tr>\n<td>4</td>\n<td>E</td>\n<td>Duplicate Request</td>\n</tr>\n<tr>\n<td>5</td>\n<td>E</td>\n<td>Request Limit Exceeded</td>\n</tr>\n<tr>\n<td>101</td>\n<td>E</td>\n<td>Cart ID not valid</td>\n</tr>\n<tr>\n<td>100</td>\n<td>E</td>\n<td>Transaction Cost or Currency not valid</td>\n</tr>\n<tr>\n<td>102</td>\n<td>E</td>\n<td>Description not valid</td>\n</tr>\n<tr>\n<td>103</td>\n<td>E</td>\n<td>Name not valid</td>\n</tr>\n<tr>\n<td>104</td>\n<td>E</td>\n<td>Address not valid</td>\n</tr>\n<tr>\n<td>105</td>\n<td>E</td>\n<td>Country not valid</td>\n</tr>\n<tr>\n<td>106</td>\n<td>E</td>\n<td>Email not valid</td>\n</tr>\n<tr>\n<td>107</td>\n<td>E</td>\n<td>Phone number not valid</td>\n</tr>\n<tr>\n<td>108</td>\n<td>E</td>\n<td>IP Address not valid</td>\n</tr>\n<tr>\n<td>109</td>\n<td>E</td>\n<td>Invalid transaction mode</td>\n</tr>\n<tr>\n<td>110</td>\n<td>E</td>\n<td>Invalid transaction type</td>\n</tr>\n<tr>\n<td>111</td>\n<td>E</td>\n<td>Invalid transaction class</td>\n</tr>\n<tr>\n<td>112</td>\n<td>E</td>\n<td>Method/Class/Currency combination not supported</td>\n</tr>\n<tr>\n<td>113</td>\n<td>E</td>\n<td>Invalid transaction reference</td>\n</tr>\n<tr>\n<td>114</td>\n<td>E</td>\n<td>Amount differs from original</td>\n</tr>\n<tr>\n<td>115</td>\n<td>E</td>\n<td>Original transaction not authorised</td>\n</tr>\n<tr>\n<td>116</td>\n<td>E</td>\n<td>Original transaction already voided</td>\n</tr>\n<tr>\n<td>117</td>\n<td>E</td>\n<td>Original transaction mismatch</td>\n</tr>\n<tr>\n<td>118</td>\n<td>E</td>\n<td>Amount greater than available balance</td>\n</tr>\n<tr>\n<td>119</td>\n<td>E</td>\n<td>Original transaction can not be voided</td>\n</tr>\n<tr>\n<td>120</td>\n<td>E</td>\n<td>Previous transaction is on hold</td>\n</tr>\n<tr>\n<td>121</td>\n<td>E</td>\n<td>Transaction mode differs from original</td>\n</tr>\n<tr>\n<td>122</td>\n<td>D</td>\n<td>Continuous authority not available on referenced transaction</td>\n</tr>\n<tr>\n<td>123</td>\n<td>E</td>\n<td>City not valid</td>\n</tr>\n<tr>\n<td>200</td>\n<td>E</td>\n<td>Invalid card number</td>\n</tr>\n<tr>\n<td>201</td>\n<td>E</td>\n<td>Invalid card expiry date</td>\n</tr>\n<tr>\n<td>202</td>\n<td>E</td>\n<td>Invalid card security code (CVV)</td>\n</tr>\n<tr>\n<td>203</td>\n<td>E</td>\n<td>Invalid account</td>\n</tr>\n<tr>\n<td>204</td>\n<td>E</td>\n<td>Previous transaction in use</td>\n</tr>\n<tr>\n<td>205</td>\n<td>E</td>\n<td>Invalid payment method</td>\n</tr>\n<tr>\n<td>206</td>\n<td>D</td>\n<td>Currency mismatch</td>\n</tr>\n<tr>\n<td>207</td>\n<td>E</td>\n<td>Invalid terminal</td>\n</tr>\n<tr>\n<td>208</td>\n<td>E</td>\n<td>Invalid return url</td>\n</tr>\n<tr>\n<td>209</td>\n<td>E</td>\n<td>Invalid merchant token</td>\n</tr>\n<tr>\n<td>211</td>\n<td>E</td>\n<td>Profile mismatch</td>\n</tr>\n<tr>\n<td>212</td>\n<td>E</td>\n<td>Permission Denied</td>\n</tr>\n<tr>\n<td>213</td>\n<td>D</td>\n<td>Card does not match filter</td>\n</tr>\n<tr>\n<td>214</td>\n<td>E</td>\n<td>Terminal invalid request</td>\n</tr>\n<tr>\n<td>215</td>\n<td>E</td>\n<td>Terminal unable to process request</td>\n</tr>\n<tr>\n<td>216</td>\n<td>E</td>\n<td>Invalid refund mode</td>\n</tr>\n<tr>\n<td>300</td>\n<td>D</td>\n<td>Not authorised</td>\n</tr>\n<tr>\n<td>301</td>\n<td>D</td>\n<td>Card expiry date required</td>\n</tr>\n<tr>\n<td>302</td>\n<td>D</td>\n<td>Card expired/ incorrect expiry date</td>\n</tr>\n<tr>\n<td>303</td>\n<td>D</td>\n<td>Card is not ATM use only</td>\n</tr>\n<tr>\n<td>304</td>\n<td>D</td>\n<td>Card security code (CVV) required</td>\n</tr>\n<tr>\n<td>305</td>\n<td>D</td>\n<td>Card security code (CVV) mismatch</td>\n</tr>\n<tr>\n<td>306</td>\n<td>D</td>\n<td>Address verification (AVS) mismatch</td>\n</tr>\n<tr>\n<td>307</td>\n<td>D</td>\n<td>Card security code (CVV) and address (AVS) mismatch</td>\n</tr>\n<tr>\n<td>308</td>\n<td>D</td>\n<td>Card is not enabled for e-commerce</td>\n</tr>\n<tr>\n<td>309</td>\n<td>D</td>\n<td>3DSecure authentication not available for this card</td>\n</tr>\n<tr>\n<td>310</td>\n<td>D</td>\n<td>3DSecure authentication rejected</td>\n</tr>\n<tr>\n<td>311</td>\n<td>D</td>\n<td>Card cancelled</td>\n</tr>\n<tr>\n<td>312</td>\n<td>D</td>\n<td>No/invalid account</td>\n</tr>\n<tr>\n<td>313</td>\n<td>D</td>\n<td>Transaction not permitted by issuer</td>\n</tr>\n<tr>\n<td>314</td>\n<td>D</td>\n<td>Not authorised</td>\n</tr>\n<tr>\n<td>315</td>\n<td>D</td>\n<td>Not authorised</td>\n</tr>\n<tr>\n<td>316</td>\n<td>D</td>\n<td>Insufficient funds</td>\n</tr>\n<tr>\n<td>317</td>\n<td>D</td>\n<td>Blocked by acquirer</td>\n</tr>\n<tr>\n<td>318</td>\n<td>X</td>\n<td>Authorisation expired</td>\n</tr>\n<tr>\n<td>319</td>\n<td>D</td>\n<td>Unable to void</td>\n</tr>\n<tr>\n<td>320</td>\n<td>D</td>\n<td>Unable to refund</td>\n</tr>\n<tr>\n<td>321</td>\n<td>C</td>\n<td>Cancelled</td>\n</tr>\n<tr>\n<td>322</td>\n<td>D</td>\n<td>Not supported by acquirer</td>\n</tr>\n<tr>\n<td>323</td>\n<td>D</td>\n<td>Card limits exceeded</td>\n</tr>\n<tr>\n<td>324</td>\n<td>D</td>\n<td>Terminal limits exceeded</td>\n</tr>\n<tr>\n<td>325</td>\n<td>D</td>\n<td>Merchant limits exceeded</td>\n</tr>\n<tr>\n<td>326</td>\n<td>D</td>\n<td>Account limits exceeded</td>\n</tr>\n<tr>\n<td>327</td>\n<td>D</td>\n<td>OTP timeout</td>\n</tr>\n<tr>\n<td>328</td>\n<td>D</td>\n<td>Refund request not approved</td>\n</tr>\n<tr>\n<td>329</td>\n<td>D</td>\n<td>Declined by card issuer</td>\n</tr>\n<tr>\n<td>330</td>\n<td>D</td>\n<td>Unable to capture</td>\n</tr>\n<tr>\n<td>331</td>\n<td>D</td>\n<td>Minimum financed amount violation</td>\n</tr>\n<tr>\n<td>332</td>\n<td>D</td>\n<td>Wallet customer not found</td>\n</tr>\n<tr>\n<td>333</td>\n<td>D</td>\n<td>OTP is invalid</td>\n</tr>\n<tr>\n<td>334</td>\n<td>D</td>\n<td>Unable to retrieve details from processor</td>\n</tr>\n<tr>\n<td>335</td>\n<td>D</td>\n<td>Transaction type not supported by acquirer</td>\n</tr>\n<tr>\n<td>336</td>\n<td>D</td>\n<td>Trading suspended</td>\n</tr>\n<tr>\n<td>337</td>\n<td>D</td>\n<td>Refund declined by acquirer</td>\n</tr>\n<tr>\n<td>338</td>\n<td>D</td>\n<td>Authentication not available</td>\n</tr>\n<tr>\n<td>339</td>\n<td>D</td>\n<td>OTP attempts exceeded</td>\n</tr>\n<tr>\n<td>340</td>\n<td>D</td>\n<td>Not registered for OTP</td>\n</tr>\n<tr>\n<td>341</td>\n<td>D</td>\n<td>Transaction time exceeded</td>\n</tr>\n<tr>\n<td>342</td>\n<td>D</td>\n<td>Refund balance exceeded</td>\n</tr>\n<tr>\n<td>343</td>\n<td>D</td>\n<td>Declined by acquirer</td>\n</tr>\n<tr>\n<td>344</td>\n<td>D</td>\n<td>Acquirer is unable to process this request</td>\n</tr>\n<tr>\n<td>345</td>\n<td>D</td>\n<td>3DSecure authentication not completed</td>\n</tr>\n<tr>\n<td>346</td>\n<td>D</td>\n<td>Issuer unable to process 3DSecure</td>\n</tr>\n<tr>\n<td>347</td>\n<td>D</td>\n<td>Incorrect PIN</td>\n</tr>\n<tr>\n<td>348</td>\n<td>D</td>\n<td>Allowable PIN tries exceeded</td>\n</tr>\n<tr>\n<td>349</td>\n<td>E</td>\n<td>Invalid merchant account</td>\n</tr>\n<tr>\n<td>350</td>\n<td>D</td>\n<td>Invalid tenure</td>\n</tr>\n<tr>\n<td>351</td>\n<td>D</td>\n<td>Invalid downpayment</td>\n</tr>\n<tr>\n<td>400</td>\n<td>E</td>\n<td>Internal system error</td>\n</tr>\n<tr>\n<td>401</td>\n<td>E</td>\n<td>No response</td>\n</tr>\n<tr>\n<td>402</td>\n<td>E</td>\n<td>Error connecting to service provider</td>\n</tr>\n<tr>\n<td>500</td>\n<td>D</td>\n<td>Declined</td>\n</tr>\n<tr>\n<td>501</td>\n<td>D</td>\n<td>Declined</td>\n</tr>\n<tr>\n<td>502</td>\n<td>D</td>\n<td>Declined</td>\n</tr>\n<tr>\n<td>503</td>\n<td>D</td>\n<td>Declined</td>\n</tr>\n<tr>\n<td>504</td>\n<td>D</td>\n<td>Declined</td>\n</tr>\n<tr>\n<td>600</td>\n<td>P</td>\n<td>Pending</td>\n</tr>\n<tr>\n<td>601</td>\n<td>H</td>\n<td>On Hold</td>\n</tr>\n</tbody>\n</table>\n</div><h2>Hosted Payment Page UI Customization</h2>\n\n<p>Hosted Payment Page can be fully customized from PayTabs 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 PayTabs 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 PayTabs 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":"PayTabs-PT2 Direct APIs","slug":"paytabs-pt2-direct-apis"}],"owner":"14575178","collectionId":"fbf27e62-9b8d-4e0a-99ab-eb88b276971f","publishedId":"TWDRtfWG","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2021-07-25T06:28:03.000Z"},"item":[{"name":"Hosted Payment Page","item":[{"name":"Create Payment Page - General","event":[{"listen":"prerequest","script":{"id":"fd9a6990-9363-4675-990f-5fe9a77c99fa","exec":[""],"type":"text/javascript","packages":{},"requests":{}}}],"id":"956ab915-78dc-4acb-9a0d-203d516c42d0","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_currency\": \"{{currency}}\",\n    \"cart_amount\": 120.3,\n    \"cart_description\": \"Description of the items/services\",\n    \"paypage_lang\": \"en\",\n    \"customer_details\": {\n        \"name\": \"{{customer_name}}\",\n        \"email\": \"email@domain.com\",\n        \"phone\": \"{{customer_phone}}\",\n        \"country\": \"{{customer_country}}\",\n        \"state\": \"{{customer_state}}\",\n        \"city\": \"{{customer_city}}\",\n        \"street1\": \"address street\",\n        \"zip\": \"12345\"\n    },\n    \"shipping_details\": {\n        \"name\": \"{{customer_name}} shipping\",\n        \"email\": \"email1@domain.com\",\n        \"phone\": \"{{customer_phone}}\",\n        \"country\": \"{{customer_country}}\",\n        \"state\": \"{{customer_state}}\",\n        \"city\": \"{{customer_city}}\",\n        \"street1\": \"street2\",\n        \"zip\": \"54321\"\n    },\n    \"callback\": \"{{callback_url}}\",\n    \"return\": \"{{return_url}}\"\n}","options":{"raw":{"language":"json"}}},"url":"https://{{domain}}/payment/request","description":"<p>Create a Payment page for Hosted Payment Page Integration.</p>\n","auth":{"type":"apikey","apikey":{"value":"{{server_key}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"fbf27e62-9b8d-4e0a-99ab-eb88b276971f","id":"fbf27e62-9b8d-4e0a-99ab-eb88b276971f","name":"PT-2 Direct API","type":"collection"}},"urlObject":{"protocol":"https","path":["payment","request"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"a1a76908-e46a-4f40-8404-97de51922b8d","name":"Created","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\": \"{{currency}}\",\n    \"cart_amount\": 12.3,\n    \"cart_description\": \"Description of the items/services\",\n    \"paypage_lang\": \"en\",\n    \"customer_details\": {\n        \"name\": \"{{customer_name}}\",\n        \"email\": \"email@domain.com\",\n        \"phone\": \"{{customer_phone}}\",\n        \"country\": \"{{customer_country}}\",\n        \"state\": \"{{customer_state}}\",\n        \"city\": \"{{customer_city}}\",\n        \"street1\": \"address street\",\n        \"zip\": \"12345\"\n    },\n    \"shipping_details\": {\n        \"name\": \"{{customer_name}} shipping\",\n        \"email\": \"email1@domain.com\",\n        \"phone\": \"{{customer_phone}}\",\n        \"country\": \"{{customer_country}}\",\n        \"state\": \"{{customer_state}}\",\n        \"city\": \"{{customer_city}}\",\n        \"street1\": \"street2\",\n        \"zip\": \"54321\"\n    },\n    \"callback\": \"{{callback_url}}\",\n    \"return\": \"{{return_url}}\"\n}","options":{"raw":{"language":"json"}}},"url":"https://{{domain}}/payment/request"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 25 Dec 2024 05:02:53 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"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 *; child-src 'self' *.paytabs.com;"},{"key":"Cache-Control","value":"private"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"8f76480de911d5ba-NRT"},{"key":"Content-Encoding","value":"br"}],"cookie":[],"responseTime":null,"body":"{\n    \"tran_ref\": \"TST2436002183944\",\n    \"tran_type\": \"Sale\",\n    \"cart_id\": \"cart_11111\",\n    \"cart_description\": \"Description of the items/services\",\n    \"cart_currency\": \"AED\",\n    \"cart_amount\": \"12.30\",\n    \"tran_total\": \"0\",\n    \"return\": \"none\",\n    \"redirect_url\": \"https://secure.paytabs.com/payment/wr/5D9854E482E514673F453E0C97D7D6EAFD4A24CD69A5CF7C4B8DEA61\",\n    \"customer_details\": {\n        \"name\": \"Wajih Last\",\n        \"email\": \"email@domain.com\",\n        \"phone\": \"0500000000\",\n        \"street1\": \"address street\",\n        \"city\": \"Dubai\",\n        \"state\": \"DU\",\n        \"country\": \"AE\",\n        \"ip\": \"5.193.61.186\"\n    },\n    \"shipping_details\": {\n        \"name\": \"Wajih Last shipping\",\n        \"email\": \"email1@domain.com\",\n        \"phone\": \"0500000000\",\n        \"street1\": \"street2\",\n        \"city\": \"Dubai\",\n        \"state\": \"DU\",\n        \"country\": \"AE\"\n    },\n    \"serviceId\": 2,\n    \"profileId\": 47170,\n    \"merchantId\": 1842,\n    \"trace\": \"PMNT0101.676B91FD.00357DD2\"\n}"},{"id":"4d1c2674-5315-4238-9e57-b0e393ce4239","name":"Error - Duplicate","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\": \"{{currency}}\",\n    \"cart_amount\": 12.3,\n    \"cart_description\": \"Description of the items/services\",\n    \"paypage_lang\": \"en\",\n    \"customer_details\": {\n        \"name\": \"{{customer_name}}\",\n        \"email\": \"email@domain.com\",\n        \"phone\": \"{{customer_phone}}\",\n        \"country\": \"{{customer_country}}\",\n        \"state\": \"{{customer_state}}\",\n        \"city\": \"{{customer_city}}\",\n        \"street1\": \"address street\",\n        \"zip\": \"12345\"\n    },\n    \"shipping_details\": {\n        \"name\": \"{{customer_name}} shipping\",\n        \"email\": \"email1@domain.com\",\n        \"phone\": \"{{customer_phone}}\",\n        \"country\": \"{{customer_country}}\",\n        \"state\": \"{{customer_state}}\",\n        \"city\": \"{{customer_city}}\",\n        \"street1\": \"street2\",\n        \"zip\": \"54321\"\n    },\n    \"callback\": \"{{callback_url}}\",\n    \"return\": \"{{return_url}}\"\n}","options":{"raw":{"language":"json"}}},"url":"https://{{domain}}/payment/request"},"status":"Conflict","code":409,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 25 Dec 2024 05:03:18 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"78"},{"key":"Connection","value":"keep-alive"},{"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 *; child-src 'self' *.paytabs.com;"},{"key":"Cache-Control","value":"private"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"8f7648a9da82d5ba-NRT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": 4,\n    \"message\": \"Duplicate Request\",\n    \"trace\": \"PMNT0102.676B9216.00357DB5\"\n}"},{"id":"f45aac24-a5ee-4f20-b183-d51a0b9f9462","name":"Error - Wrong credential","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"profile_id\": {{profile_id}}1,\n    \"tran_type\": \"sale\",\n    \"tran_class\": \"ecom\",\n    \"cart_id\": \"cart_11111\",\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\": \"{{customer_name}}\",\n        \"email\": \"email@domain.com\",\n        \"phone\": \"{{customer_phone}}\",\n        \"country\": \"{{customer_country}}\",\n        \"state\": \"{{customer_state}}\",\n        \"city\": \"{{customer_city}}\",\n        \"street1\": \"address street\",\n        \"zip\": \"12345\"\n    },\n    \"shipping_details\": {\n        \"name\": \"{{customer_name}} shipping\",\n        \"email\": \"email1@domain.com\",\n        \"phone\": \"{{customer_phone}}\",\n        \"country\": \"{{customer_country}}\",\n        \"state\": \"{{customer_state}}\",\n        \"city\": \"{{customer_city}}\",\n        \"street1\": \"street2\",\n        \"zip\": \"54321\"\n    },\n    \"callback\": \"{{callback_url}}\",\n    \"return\": \"{{return_url}}\"\n}","options":{"raw":{"language":"json"}}},"url":"https://{{domain}}/payment/request"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 25 Dec 2024 05:04:00 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"112"},{"key":"Connection","value":"keep-alive"},{"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 *; child-src 'self' *.paytabs.com;"},{"key":"Cache-Control","value":"private"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"8f7649b05da5d5ba-NRT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": 1,\n    \"message\": \"Authentication failed. Check authentication header.\",\n    \"trace\": \"PMNT0101.676B9240.003580F2\"\n}"}],"_postman_id":"956ab915-78dc-4acb-9a0d-203d516c42d0"},{"name":"Create Payment Page - Hide shipping","id":"b1910c56-05ca-4618-a161-3dfedb706588","protocolProfileBehavior":{"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\": \"{{currency}}\",\n    \"cart_amount\": 12.3,\n    \"cart_description\": \"Description of the items/services\",\n    \"paypage_lang\": \"en\",\n    \"customer_details\": {\n        \"name\": \"{{customer_name}}\",\n        \"email\": \"email@domain.com\",\n        \"phone\": \"{{customer_phone}}\",\n        \"country\": \"{{customer_country}}\",\n        \"state\": \"{{customer_state}}\",\n        \"city\": \"{{customer_city}}\",\n        \"street1\": \"address street\",\n        \"zip\": \"12345\"\n    },\n    \"hide_shipping\": true,\n    \"callback\": \"{{callback_url}}\",\n    \"return\": \"{{return_url}}\"\n}","options":{"raw":{"language":"json"}}},"url":"https://{{domain}}/payment/request","auth":{"type":"apikey","apikey":{"value":"{{server_key}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"fbf27e62-9b8d-4e0a-99ab-eb88b276971f","id":"fbf27e62-9b8d-4e0a-99ab-eb88b276971f","name":"PT-2 Direct API","type":"collection"}},"urlObject":{"protocol":"https","path":["payment","request"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"b1910c56-05ca-4618-a161-3dfedb706588"},{"name":"Create Payment Page - Card approval","id":"fdcea881-860e-4dff-8660-bf00bcdb02cc","protocolProfileBehavior":{"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\": \"{{currency}}\",\n    \"cart_amount\": 12.3,\n    \"cart_description\": \"Description of the items/services\",\n    \"paypage_lang\": \"en\",\n    \"customer_details\": {\n        \"name\": \"{{customer_name}}\",\n        \"email\": \"email@domain.com\",\n        \"phone\": \"{{customer_phone}}\",\n        \"country\": \"{{customer_country}}\",\n        \"state\": \"{{customer_state}}\",\n        \"city\": \"{{customer_city}}\",\n        \"street1\": \"address street\",\n        \"zip\": \"12345\"\n    },\n    \"hide_shipping\": true,\n    \"callback\": \"{{callback_url}}\",\n    \"return\": \"{{return_url}}\",\n    \"card_approval\": {\n        \"validation_url\": \"https://webhook.site/ddf8714e-2ec5-4763-9733-5284afdd6588\",\n        \"bin_length\": 6,\n        \"block_if_no_response\": true\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://{{domain}}/payment/request","auth":{"type":"apikey","apikey":{"value":"{{server_key}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"fbf27e62-9b8d-4e0a-99ab-eb88b276971f","id":"fbf27e62-9b8d-4e0a-99ab-eb88b276971f","name":"PT-2 Direct API","type":"collection"}},"urlObject":{"protocol":"https","path":["payment","request"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"fdcea881-860e-4dff-8660-bf00bcdb02cc"},{"name":"Create Payment Page - with Invoice","event":[{"listen":"prerequest","script":{"id":"fd9a6990-9363-4675-990f-5fe9a77c99fa","exec":[""],"type":"text/javascript","packages":{}}}],"id":"2256cbb6-f51f-40c8-813d-c762cb9c0d2e","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_555\",\n    \"cart_currency\": \"{{currency}}\",\n    \"cart_amount\": 9.5,\n    \"cart_description\": \"Description of the items/services\",\n    \"customer_details\": {\n        \"name\": \"{{customer_name}}\",\n        \"email\": \"email@domain.com\",\n        \"phone\": \"{{customer_phone}}\",\n        \"country\": \"{{customer_country}}\",\n        \"state\": \"{{customer_state}}\",\n        \"city\": \"{{customer_city}}\",\n        \"street1\": \"address street\",\n        \"zip\": \"12345\"\n    },\n    \"hide_shipping\": true,\n    \"callback\": \"{{callback_url}}\",\n    \"return\": \"{{return_url}}\",\n    \"customer_ref\": \"customer_ref-1\",\n    \"invoice\": {\n        \"shipping_charges\": 0,\n        \"extra_charges\": 0,\n        \"extra_discount\": 0,\n        \"total\": 9.5,\n        \"line_items\": [\n            {\n                \"sku\": \"sku\",\n                \"description\": \"invoice item\",\n                \"url\": \"https://paytabs.com\",\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://{{domain}}/payment/request","description":"<p>Create a Payment page for Hosted Payment Page Integration.</p>\n","auth":{"type":"apikey","apikey":{"value":"{{server_key}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"fbf27e62-9b8d-4e0a-99ab-eb88b276971f","id":"fbf27e62-9b8d-4e0a-99ab-eb88b276971f","name":"PT-2 Direct API","type":"collection"}},"urlObject":{"protocol":"https","path":["payment","request"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"2256cbb6-f51f-40c8-813d-c762cb9c0d2e"},{"name":"Create Payment Page - With custom params","event":[{"listen":"prerequest","script":{"id":"5a37d34d-77a8-4224-8a84-5fbdeca2d320","exec":[""],"type":"text/javascript","packages":{},"requests":{}}}],"id":"e8d49d96-d16b-4991-bdd1-fba780434d07","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_currency\": \"{{currency}}\",\n    \"cart_amount\": 12.34,\n    \"cart_description\": \"Description of the items/services\",\n    \"paypage_lang\": \"en\",\n    \"hide_shipping\": true,\n    \"customer_details\": {\n        \"name\": \"{{customer_name}}\",\n        \"email\": \"email@domain.com\",\n        \"phone\": \"{{customer_phone}}\",\n        \"country\": \"{{customer_country}}\",\n        \"state\": \"{{customer_state}}\",\n        \"city\": \"{{customer_city}}\",\n        \"street1\": \"address street\",\n        \"zip\": \"12345\"\n    },\n    \"callback\": \"{{callback_url}}\",\n    \"return\": \"{{return_url}}\",\n    \"user_defined\": {\n        \"test\": \"UDF1 Test (Invalid)\",\n        \"test2\": \"UDF2 Test (Invalid)\",\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://{{domain}}/payment/request","description":"<p>Create a Payment page for Hosted Payment Page Integration.</p>\n","auth":{"type":"apikey","apikey":{"value":"{{server_key}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"fbf27e62-9b8d-4e0a-99ab-eb88b276971f","id":"fbf27e62-9b8d-4e0a-99ab-eb88b276971f","name":"PT-2 Direct API","type":"collection"}},"urlObject":{"protocol":"https","path":["payment","request"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"e8d49d96-d16b-4991-bdd1-fba780434d07"},{"name":"Create Payment Page - With Card Discounts Amount","event":[{"listen":"prerequest","script":{"id":"0b793ee4-7d01-4e0b-a417-8b37dbf43be7","exec":[""],"type":"text/javascript","packages":{}}}],"id":"9d7d48c7-0956-4fc8-8b7c-0ee956ea7e1f","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_currency\": \"{{currency}}\",\n    \"cart_amount\": 40,\n    \"cart_description\": \"Description of the items/services\",\n    \"paypage_lang\": \"en\",\n    \"customer_details\": {\n        \"name\": \"{{customer_name}}\",\n        \"email\": \"email@domain.com\",\n        \"phone\": \"{{customer_phone}}\",\n        \"country\": \"{{customer_country}}\",\n        \"state\": \"{{customer_state}}\",\n        \"city\": \"{{customer_city}}\",\n        \"street1\": \"address street\",\n        \"zip\": \"12345\"\n    },\n    \"hide_shipping\": true,\n    \"callback\": \"{{callback_url}}\",\n    \"return\": \"{{return_url}}\",\n    \"card_discounts\": [\n        {\n            \"discount_cards\": \"4111,5200\",\n            \"discount_amount\": 30,\n            \"discount_title\": \"30 {{currency}} discount on cards start with 4111,5200\"\n        },\n        {\n            \"discount_cards\": \"4000\",\n            \"discount_amount\": \"2.5\",\n            \"discount_title\": \"25 {{currency}} discount on cards start with 4000\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://{{domain}}/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><i>discount_cards: BIN ranges, It could be applied for cards starting with the numbers mentioned in this field. This will be comma separated fields.</i></p>\n<p><i>discount_amount: Flat discount amount that will be applied when the discount card BIN ranges are matched</i></p>\n<p><i>discount_title: Title that will be displayed on the payment page for the cardholder/ customer.</i></p>\n","auth":{"type":"apikey","apikey":{"value":"{{server_key}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"fbf27e62-9b8d-4e0a-99ab-eb88b276971f","id":"fbf27e62-9b8d-4e0a-99ab-eb88b276971f","name":"PT-2 Direct API","type":"collection"}},"urlObject":{"protocol":"https","path":["payment","request"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"9d7d48c7-0956-4fc8-8b7c-0ee956ea7e1f"},{"name":"Create Payment Page - With Card Discounts Percent and Flat Amount","event":[{"listen":"prerequest","script":{"id":"0b793ee4-7d01-4e0b-a417-8b37dbf43be7","exec":[""],"type":"text/javascript","packages":{}}}],"id":"871c8899-ba96-46c6-b704-7d05d63c63f3","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_currency\": \"{{currency}}\",\n    \"cart_amount\": 40,\n    \"cart_description\": \"Description of the items/services\",\n    \"paypage_lang\": \"en\",\n    \"customer_details\": {\n        \"name\": \"{{customer_name}}\",\n        \"email\": \"email@domain.com\",\n        \"phone\": \"{{customer_phone}}\",\n        \"country\": \"{{customer_country}}\",\n        \"state\": \"{{customer_state}}\",\n        \"city\": \"{{customer_city}}\",\n        \"street1\": \"address street\",\n        \"zip\": \"12345\"\n    },\n    \"hide_shipping\": true,\n    \"callback\": \"{{callback_url}}\",\n    \"return\": \"{{return_url}}\",\n    \"card_discounts\": [\n        {\n            \"discount_cards\": \"4111,5200\",\n            \"discount_percent\": 30,\n            \"discount_title\": \"30% {{currency}} discount on cards start with 4111,5200\"\n        },\n        {\n            \"discount_cards\": \"400000\",\n            \"discount_amount\": \"25\",\n            \"discount_title\": \"25 {{currency}} discount on cards start with 4000\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://{{domain}}/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_percent: Discount Percent 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":{"value":"{{server_key}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"fbf27e62-9b8d-4e0a-99ab-eb88b276971f","id":"fbf27e62-9b8d-4e0a-99ab-eb88b276971f","name":"PT-2 Direct API","type":"collection"}},"urlObject":{"protocol":"https","path":["payment","request"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"871c8899-ba96-46c6-b704-7d05d63c63f3"},{"name":"Create Payment Page - With Card Filter","event":[{"listen":"prerequest","script":{"id":"0b793ee4-7d01-4e0b-a417-8b37dbf43be7","exec":[""],"type":"text/javascript","packages":{}}}],"id":"77d1a734-9e16-406e-a32c-bdde6513fa28","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_currency\": \"{{currency}}\",\n    \"cart_amount\": 13,\n    \"cart_description\": \"Description of the items/services\",\n    \"paypage_lang\": \"en\",\n    \"customer_details\": {\n        \"name\": \"{{customer_name}}\",\n        \"email\": \"email@domain.com\",\n        \"phone\": \"{{customer_phone}}\",\n        \"country\": \"{{customer_country}}\",\n        \"state\": \"{{customer_state}}\",\n        \"city\": \"{{customer_city}}\",\n        \"street1\": \"address street\",\n        \"zip\": \"12345\"\n    },\n    \"hide_shipping\": true,\n    \"callback\": \"{{callback_url}}\",\n    \"return\": \"{{return_url}}\",\n    \"card_filter\": \"4111\",\n    \"card_filter_title\": \"Only accept cards start with 4111\"\n}","options":{"raw":{"language":"json"}}},"url":"https://{{domain}}/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><i>discount_cards: BIN ranges, It could be applied for cards starting with the numbers mentioned in this field. This will be comma separated fields.</i></p>\n<p><i>discount_amount: Flat discount amount that will be applied when the discount card BIN ranges are matched</i></p>\n<p><i>discount_title: Title that will be displayed on the payment page for the cardholder/ customer.</i></p>\n","auth":{"type":"apikey","apikey":{"value":"{{server_key}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"fbf27e62-9b8d-4e0a-99ab-eb88b276971f","id":"fbf27e62-9b8d-4e0a-99ab-eb88b276971f","name":"PT-2 Direct API","type":"collection"}},"urlObject":{"protocol":"https","path":["payment","request"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"77d1a734-9e16-406e-a32c-bdde6513fa28"},{"name":"Create payment page - Framed","id":"f441b650-4081-4d38-b70a-8f08ec2c0bd4","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\": \"{{currency}}\",\n    \"cart_amount\": 12.3,\n    \"cart_description\": \"Description of the items/services\",\n    \"paypage_lang\": \"en\",\n    \"customer_details\": {\n        \"name\": \"{{customer_name}}\",\n        \"email\": \"email@domain.com\",\n        \"phone\": \"{{customer_phone}}\",\n        \"country\": \"{{customer_country}}\",\n        \"state\": \"{{customer_state}}\",\n        \"city\": \"{{customer_city}}\",\n        \"street1\": \"address street\",\n        \"zip\": \"12345\"\n    },\n    \"hide_shipping\": true,\n    \"callback\": \"{{callback_url}}\",\n    \"return\": \"{{return_url}}\",\n    \"framed\": true,\n    \"framed_return_top\": true,\n    \"framed_return_parent\": true,\n    \"force_full_ui\": false\n}","options":{"raw":{"language":"json"}}},"url":"https://{{domain}}/payment/request","description":"<p>Load payment page in iframe by passing <br /> \"framed\": true</p>\n<p>Additional parameters for framed:<br />\n\"framed_return_top\": true<br />\n\"framed_return_parent\": true</p>\n","auth":{"type":"apikey","apikey":{"value":"{{server_key}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"fbf27e62-9b8d-4e0a-99ab-eb88b276971f","id":"fbf27e62-9b8d-4e0a-99ab-eb88b276971f","name":"PT-2 Direct API","type":"collection"}},"urlObject":{"protocol":"https","path":["payment","request"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"f441b650-4081-4d38-b70a-8f08ec2c0bd4"},{"name":"Create payment page - Framed (iFrame postMessage)","id":"c6b4f291-9404-43ad-839b-c77443b3287c","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\": \"{{currency}}\",\n    \"cart_amount\": 12.3,\n    \"cart_description\": \"Description of the items/services\",\n    \"paypage_lang\": \"en\",\n    \"customer_details\": {\n        \"name\": \"{{customer_name}}\",\n        \"email\": \"email@domain.com\",\n        \"phone\": \"{{customer_phone}}\",\n        \"country\": \"{{customer_country}}\",\n        \"state\": \"{{customer_state}}\",\n        \"city\": \"{{customer_city}}\",\n        \"street1\": \"address street\",\n        \"zip\": \"12345\"\n    },\n    \"hide_shipping\": true,\n    \"callback\": \"{{callback_url}}\",\n    \"return\": \"None\",\n    \"framed\": true,\n    \"framed_message_target\": \"https://container-website.com\"\n}","options":{"raw":{"language":"json"}}},"url":"https://{{domain}}/payment/request","description":"<p>Load payment page in iframe by passing <br /> \"framed\": true</p>\n<p>Additional parameters for framed:<br />\n\"framed_return_top\": true<br />\n\"framed_return_parent\": true</p>\n","auth":{"type":"apikey","apikey":{"value":"{{server_key}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"fbf27e62-9b8d-4e0a-99ab-eb88b276971f","id":"fbf27e62-9b8d-4e0a-99ab-eb88b276971f","name":"PT-2 Direct API","type":"collection"}},"urlObject":{"protocol":"https","path":["payment","request"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"c6b4f291-9404-43ad-839b-c77443b3287c"},{"name":"Create payment page - Tokenization","id":"ca6d3ed8-bea3-42cf-90a7-d198f8ab0ec0","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\": \"{{customer_name}}\",\n        \"email\": \"email@domain.com\",\n        \"phone\": \"{{customer_phone}}\",\n        \"country\": \"{{customer_country}}\",\n        \"state\": \"{{customer_state}}\",\n        \"city\": \"{{customer_city}}\",\n        \"street1\": \"address street\",\n        \"zip\": \"12345\"\n    },\n    \"hide_shipping\": true,\n    \"callback\": \"{{callback_url}}\",\n    \"return\": \"{{return_url}}\",\n    \"tokenise\": 2,\n    \"show_save_card\": false\n}","options":{"raw":{"language":"json"}}},"url":"https://{{domain}}/payment/request","auth":{"type":"apikey","apikey":{"value":"{{server_key}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"fbf27e62-9b8d-4e0a-99ab-eb88b276971f","id":"fbf27e62-9b8d-4e0a-99ab-eb88b276971f","name":"PT-2 Direct API","type":"collection"}},"urlObject":{"protocol":"https","path":["payment","request"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"09fd5d51-e9bd-4ab4-b458-3f53a3af9785","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\": \"EGP\",\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\": \"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    \"callback\": \"{{callback_url}}\",\n    \"return\": \"{{return_url}}\",\n    \"hide_shipping\": true\n}","options":{"raw":{"language":"json"}}},"url":"https://{{domain}}/payment/request"},"_postman_previewlanguage":"json","header":null,"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\": \"EGP\",\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-egypt.paytabs.com/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\": \"dubai\",\r\n        \"state\": \"DU\",\r\n        \"country\": \"AE\"\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\": \"dubai\",\r\n        \"state\": \"DU\",\r\n        \"country\": \"AE\"\r\n    }\r\n}"},{"id":"698a0767-d19f-4c19-809f-3bd4aa9a3101","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 tok enabled, save card enabled\",\n  \"cart_currency\": \"EGP\",\n  \"cart_amount\": \"1\",\n  \"tran_currency\": \"EGP\",\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\": \"dubai\",\n    \"state\": \"DU\",\n    \"country\": \"AE\",\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\": \"dubai\",\n    \"state\": \"DU\",\n    \"country\": \"AE\"\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":null,"header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"ca6d3ed8-bea3-42cf-90a7-d198f8ab0ec0"},{"name":"Create payment page - Tokenization (new format)","id":"33d459a2-4078-4c3a-95dd-e300868a5fc6","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_444442\",\n    \"cart_currency\": \"{{currency}}\",\n    \"cart_amount\": 1,\n    \"cart_description\": \"Payment with tok enabled\",\n    \"customer_details\": {\n        \"name\": \"{{customer_name}}\",\n        \"email\": \"email@domain.com\",\n        \"phone\": \"{{customer_phone}}\",\n        \"country\": \"{{customer_country}}\",\n        \"state\": \"{{customer_state}}\",\n        \"city\": \"{{customer_city}}\",\n        \"street1\": \"address street\",\n        \"zip\": \"12345\"\n    },\n    \"callback\": \"{{callback_url}}\",\n    \"return\": \"{{return_url}}\",\n    \"hide_shipping\": true,\n    \"token_info\": {\n        \"tokenise\": 2,\n        \"token_type\": \"registered\",\n        \"counter\": 1,\n        \"total_count\": 5\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://{{domain}}/payment/request","auth":{"type":"apikey","apikey":{"value":"{{server_key}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"fbf27e62-9b8d-4e0a-99ab-eb88b276971f","id":"fbf27e62-9b8d-4e0a-99ab-eb88b276971f","name":"PT-2 Direct API","type":"collection"}},"urlObject":{"protocol":"https","path":["payment","request"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"33d459a2-4078-4c3a-95dd-e300868a5fc6"},{"name":"Create payment page - Tokenization (optional)","id":"b0b8d8ba-09eb-42dd-88a7-170a4032f5f5","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\": \"{{currency}}\",\n    \"cart_amount\": 120.3,\n    \"cart_description\": \"Payment with tok enabled, save card enabled\",\n    \"customer_details\": {\n        \"name\": \"{{customer_name}}\",\n        \"email\": \"email@domain.com\",\n        \"phone\": \"{{customer_phone}}\",\n        \"country\": \"{{customer_country}}\",\n        \"state\": \"{{customer_state}}\",\n        \"city\": \"{{customer_city}}\",\n        \"street1\": \"address street\",\n        \"zip\": \"12345\"\n    },\n    \"hide_shipping\": true,\n    \"callback\": \"{{callback_url}}\",\n    \"return\": \"{{return_url}}\",\n    \"tokenise\": 2,\n    \"show_save_card\": true\n}","options":{"raw":{"language":"json"}}},"url":"https://{{domain}}/payment/request","urlObject":{"protocol":"https","path":["payment","request"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"b0b8d8ba-09eb-42dd-88a7-170a4032f5f5"},{"name":"Create Payment Page - Theme select","event":[{"listen":"prerequest","script":{"id":"fd9a6990-9363-4675-990f-5fe9a77c99fa","exec":[""],"type":"text/javascript","packages":{}}}],"id":"d0e888ec-3a10-4e18-b0b5-9fe3021e324c","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_11113\",\n    \"cart_currency\": \"{{currency}}\",\n    \"cart_amount\": 12.3,\n    \"cart_description\": \"Description of the items/services\",\n    \"customer_details\": {\n        \"name\": \"{{customer_name}}\",\n        \"email\": \"email@domain.com\",\n        \"phone\": \"{{customer_phone}}\",\n        \"country\": \"{{customer_country}}\",\n        \"state\": \"{{customer_state}}\",\n        \"city\": \"{{customer_city}}\",\n        \"street1\": \"address street\",\n        \"zip\": \"12345\"\n    },\n    \"callback\": \"{{callback_url}}\",\n    \"return\": \"{{return_url}}\",\n    \"config_id\": 2188\n}","options":{"raw":{"language":"json"}}},"url":"https://{{domain}}/payment/request","description":"<p>Create a Payment page for Hosted Payment Page Integration.</p>\n","auth":{"type":"apikey","apikey":{"value":"{{server_key}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"fbf27e62-9b8d-4e0a-99ab-eb88b276971f","id":"fbf27e62-9b8d-4e0a-99ab-eb88b276971f","name":"PT-2 Direct API","type":"collection"}},"urlObject":{"protocol":"https","path":["payment","request"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"d0e888ec-3a10-4e18-b0b5-9fe3021e324c"},{"name":"Create Payment Page - Donation","id":"e52c4c5e-9517-40da-a4d2-0fdd1e6ab46e","protocolProfileBehavior":{"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\": \"{{currency}}\",\n    \"cart_amount\": 8,\n    \"cart_description\": \"Description of the items/services\",\n    \"paypage_lang\": \"en\",\n    \"customer_details\": {\n        \"name\": \"{{customer_name}}\",\n        \"email\": \"email@domain.com\",\n        \"phone\": \"{{customer_phone}}\",\n        \"country\": \"{{customer_country}}\",\n        \"state\": \"{{customer_state}}\",\n        \"city\": \"{{customer_city}}\",\n        \"street1\": \"address street\",\n        \"zip\": \"12345\"\n    },\n    \"hide_shipping\": true,\n    \"callback\": \"{{callback_url}}\",\n    \"return\": \"{{return_url}}\",\n    \"donation_mode\": true,\n    \"cart_min\": 5,\n    \"cart_max\": 10\n}","options":{"raw":{"language":"json"}}},"url":"https://{{domain}}/payment/request","auth":{"type":"apikey","apikey":{"value":"{{server_key}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"fbf27e62-9b8d-4e0a-99ab-eb88b276971f","id":"fbf27e62-9b8d-4e0a-99ab-eb88b276971f","name":"PT-2 Direct API","type":"collection"}},"urlObject":{"protocol":"https","path":["payment","request"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"e52c4c5e-9517-40da-a4d2-0fdd1e6ab46e"},{"name":"Create Payment Page - Alternate currency","event":[{"listen":"prerequest","script":{"id":"fd9a6990-9363-4675-990f-5fe9a77c99fa","exec":[""],"type":"text/javascript","packages":{}}}],"id":"c81fa922-5ae2-4750-bd3a-72437a42598e","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_currency\": \"{{currency}}\",\n    \"cart_amount\": 12.3,\n    \"cart_description\": \"Description of the items/services\",\n    \"paypage_lang\": \"en\",\n    \"customer_details\": {\n        \"name\": \"{{customer_name}}\",\n        \"email\": \"email@domain.com\",\n        \"phone\": \"{{customer_phone}}\",\n        \"country\": \"{{customer_country}}\",\n        \"state\": \"{{customer_state}}\",\n        \"city\": \"{{customer_city}}\",\n        \"street1\": \"address street\",\n        \"zip\": \"12345\"\n    },\n    \"hide_shipping\": true,\n    \"callback\": \"{{callback_url}}\",\n    \"return\": \"{{return_url}}\",\n    \"alt_currency\": \"USD\"\n}","options":{"raw":{"language":"json"}}},"url":"https://{{domain}}/payment/request","description":"<p>Create a Payment page for Hosted Payment Page Integration.</p>\n","auth":{"type":"apikey","apikey":{"value":"{{server_key}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"fbf27e62-9b8d-4e0a-99ab-eb88b276971f","id":"fbf27e62-9b8d-4e0a-99ab-eb88b276971f","name":"PT-2 Direct API","type":"collection"}},"urlObject":{"protocol":"https","path":["payment","request"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"c81fa922-5ae2-4750-bd3a-72437a42598e"}],"id":"e6285639-2c3e-48dd-b9d7-99cb6a8729be","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":"e6285639-2c3e-48dd-b9d7-99cb6a8729be","auth":{"type":"apikey","apikey":{"value":"{{server_key}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"fbf27e62-9b8d-4e0a-99ab-eb88b276971f","id":"fbf27e62-9b8d-4e0a-99ab-eb88b276971f","name":"PT-2 Direct API","type":"collection"}}},{"name":"Hosted Payment Page - with payment methods","item":[{"name":"Create Payment Page - KNET","event":[{"listen":"prerequest","script":{"id":"2e55920f-e434-42bd-aaee-a4e17c5c32db","exec":[""],"type":"text/javascript","packages":{}}}],"id":"fdc0b460-51cd-40d8-8862-ea7e5cd95816","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    \"payment_methods\": [\n        \"knet\",\n        \"knetdebit\",\n        \"knetcredit\"\n    ],\n    \"cart_id\": \"cart_11111\",\n    \"cart_amount\": 10,\n    \"cart_currency\": \"{{currency}}\",\n    \"cart_description\": \"Description of the items/services\",\n    \"paypage_lang\": \"en\",\n    \"customer_details\": {\n        \"name\": \"{{customer_name}}\",\n        \"email\": \"email@domain.com\",\n        \"phone\": \"{{customer_phone}}\",\n        \"country\": \"{{customer_country}}\",\n        \"state\": \"{{customer_state}}\",\n        \"city\": \"{{customer_city}}\",\n        \"street1\": \"address street\",\n        \"zip\": \"12345\"\n    },\n    \"hide_shipping\": true,\n    \"callback\": \"{{callback_url}}\",\n    \"return\": \"{{return_url}}\"\n}","options":{"raw":{"language":"json"}}},"url":"https://{{domain}}/payment/request","description":"<p>Create a Payment page for Hosted Payment Page Integration.</p>\n","auth":{"type":"apikey","apikey":{"value":"{{server_key}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"fbf27e62-9b8d-4e0a-99ab-eb88b276971f","id":"fbf27e62-9b8d-4e0a-99ab-eb88b276971f","name":"PT-2 Direct API","type":"collection"}},"urlObject":{"protocol":"https","path":["payment","request"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"fdc0b460-51cd-40d8-8862-ea7e5cd95816"},{"name":"Create Payment Page - PayPal","event":[{"listen":"prerequest","script":{"id":"2e55920f-e434-42bd-aaee-a4e17c5c32db","exec":[""],"type":"text/javascript","packages":{}}}],"id":"e2bce56e-6053-4b4b-a2d5-39f141a73c6b","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    \"payment_methods\": [\n        \"paypal\"\n    ],\n    \"cart_id\": \"cart_11111\",\n    \"cart_amount\": 10,\n    \"cart_currency\": \"{{currency}}\",\n    \"cart_description\": \"Description of the items/services\",\n    \"paypage_lang\": \"en\",\n    \"customer_details\": {\n        \"name\": \"{{customer_name}}\",\n        \"email\": \"email@domain.com\",\n        \"phone\": \"{{customer_phone}}\",\n        \"country\": \"{{customer_country}}\",\n        \"state\": \"{{customer_state}}\",\n        \"city\": \"{{customer_city}}\",\n        \"street1\": \"address street\",\n        \"zip\": \"12345\"\n    },\n    \"hide_shipping\": true,\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://{{domain}}/payment/request","description":"<p>Create a Payment page for Hosted Payment Page Integration.</p>\n","auth":{"type":"apikey","apikey":{"value":"{{server_key}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"fbf27e62-9b8d-4e0a-99ab-eb88b276971f","id":"fbf27e62-9b8d-4e0a-99ab-eb88b276971f","name":"PT-2 Direct API","type":"collection"}},"urlObject":{"protocol":"https","path":["payment","request"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"e2bce56e-6053-4b4b-a2d5-39f141a73c6b"},{"name":"Create Payment Page - ADCB TouchPoints","event":[{"listen":"prerequest","script":{"id":"2e55920f-e434-42bd-aaee-a4e17c5c32db","exec":[""],"type":"text/javascript","packages":{}}}],"id":"a46963f1-6f3c-4311-8b3a-b8515672cc00","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    \"payment_methods\": [\n        \"touchpoints\"\n    ],\n    \"cart_id\": \"cart_11111\",\n    \"cart_amount\": 30,\n    \"cart_currency\": \"{{currency}}\",\n    \"cart_description\": \"Description of the items/services\",\n    \"paypage_lang\": \"en\",\n    \"customer_details\": {\n        \"name\": \"{{customer_name}}\",\n        \"email\": \"email@domain.com\",\n        \"phone\": \"{{customer_phone}}\",\n        \"country\": \"{{customer_country}}\",\n        \"state\": \"{{customer_state}}\",\n        \"city\": \"{{customer_city}}\",\n        \"street1\": \"address street\",\n        \"zip\": \"12345\"\n    },\n    \"shipping_details\": {\n        \"name\": \"{{customer_name}}\",\n        \"email\": \"email@domain.com\",\n        \"phone\": \"{{customer_phone}}\",\n        \"country\": \"{{customer_country}}\",\n        \"state\": \"{{customer_state}}\",\n        \"city\": \"{{customer_city}}\",\n        \"street1\": \"address street\",\n        \"zip\": \"12345\"\n    },\n    \"callback\": \"{{callback_url}}\",\n    \"return\": \"{{return_url}}\"\n}","options":{"raw":{"language":"json"}}},"url":"https://{{domain}}/payment/request","description":"<p>Create a Payment page for Hosted Payment Page Integration.</p>\n","auth":{"type":"apikey","apikey":{"value":"{{server_key}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"fbf27e62-9b8d-4e0a-99ab-eb88b276971f","id":"fbf27e62-9b8d-4e0a-99ab-eb88b276971f","name":"PT-2 Direct API","type":"collection"}},"urlObject":{"protocol":"https","path":["payment","request"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"a46963f1-6f3c-4311-8b3a-b8515672cc00"},{"name":"Create payment page - Aman","id":"1abc4b48-1210-424c-8366-45bd8f419d7c","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    \"payment_methods\": [\n        \"aman\"\n    ],\n    \"cart_id\": \"cart_22222\",\n    \"cart_currency\": \"EGP\",\n    \"cart_amount\": 132.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\": \"{{mobile_number}}\",\n        \"street1\": \"address street\",\n        \"city\": \"Cairo\",\n        \"state\": \"Cairo\",\n        \"country\": \"EG\",\n        \"zip\": \"12345\"\n    },\n    \"callback\": \"{{callback_url}}\",\n    \"return\": \"{{return_url}}\",\n    \"hide_shipping\": true\n}","options":{"raw":{"language":"json"}}},"url":"https://{{domain}}/payment/request","auth":{"type":"apikey","apikey":{"value":"{{server_key}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"fbf27e62-9b8d-4e0a-99ab-eb88b276971f","id":"fbf27e62-9b8d-4e0a-99ab-eb88b276971f","name":"PT-2 Direct API","type":"collection"}},"urlObject":{"protocol":"https","path":["payment","request"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"1abc4b48-1210-424c-8366-45bd8f419d7c"},{"name":"Create payment page - Tabby","id":"15776065-138a-42cb-9046-9296c8a4c9c8","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    \"payment_methods\": [\n        \"tabby\"\n    ],\n    \"cart_id\": \"cart_22222\",\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\": \"{{customer_name}}\",\n        \"email\": \"email@domain.com\",\n        \"phone\": \"{{customer_phone}}\",\n        \"country\": \"{{customer_country}}\",\n        \"state\": \"{{customer_state}}\",\n        \"city\": \"{{customer_city}}\",\n        \"street1\": \"address street\",\n        \"zip\": \"12345\"\n    },\n    \"callback\": \"{{callback_url}}\",\n    \"return\": \"{{return_url}}\",\n    \"hide_shipping\": true\n}","options":{"raw":{"language":"json"}}},"url":"https://{{domain}}/payment/request","auth":{"type":"apikey","apikey":{"value":"{{server_key}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"fbf27e62-9b8d-4e0a-99ab-eb88b276971f","id":"fbf27e62-9b8d-4e0a-99ab-eb88b276971f","name":"PT-2 Direct API","type":"collection"}},"urlObject":{"protocol":"https","path":["payment","request"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"15776065-138a-42cb-9046-9296c8a4c9c8"},{"name":"Create payment page - Halan","id":"7bf4a95d-ae17-4c38-a81b-7c125b43c45d","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    \"payment_methods\": [\n        \"halan\"\n    ],\n    \"cart_id\": \"cart_22222\",\n    \"cart_currency\": \"{{currency}}\",\n    \"cart_amount\": 500,\n    \"cart_description\": \"Description of the items/services\",\n    \"paypage_lang\": \"en\",\n    \"customer_details\": {\n        \"name\": \"{{customer_name}}\",\n        \"email\": \"email@domain.com\",\n        \"phone\": \"{{customer_phone}}\",\n        \"country\": \"{{customer_country}}\",\n        \"state\": \"{{customer_state}}\",\n        \"city\": \"{{customer_city}}\",\n        \"street1\": \"address street\",\n        \"zip\": \"12345\"\n    },\n    \"callback\": \"{{callback_url}}\",\n    \"return\": \"{{return_url}}\",\n    \"hide_shipping\": true\n}","options":{"raw":{"language":"json"}}},"url":"https://{{domain}}/payment/request","auth":{"type":"apikey","apikey":{"value":"{{server_key}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"fbf27e62-9b8d-4e0a-99ab-eb88b276971f","id":"fbf27e62-9b8d-4e0a-99ab-eb88b276971f","name":"PT-2 Direct API","type":"collection"}},"urlObject":{"protocol":"https","path":["payment","request"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"7bf4a95d-ae17-4c38-a81b-7c125b43c45d"},{"name":"Create payment page - Tamara","id":"bc85ac1b-5cd6-43bd-b46f-99686224c867","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    \"payment_methods\": [\n        \"tamara\"\n    ],\n    \"cart_id\": \"cart_22222\",\n    \"cart_currency\": \"{{currency}}\",\n    \"cart_amount\": 500,\n    \"cart_description\": \"Description of the items/services\",\n    \"paypage_lang\": \"en\",\n    \"customer_details\": {\n        \"name\": \"{{customer_name}}\",\n        \"email\": \"email@domain.com\",\n        \"phone\": \"{{customer_phone}}\",\n        \"country\": \"{{customer_country}}\",\n        \"state\": \"{{customer_state}}\",\n        \"city\": \"{{customer_city}}\",\n        \"street1\": \"address street\",\n        \"zip\": \"12345\"\n    },\n    \"callback\": \"{{callback_url}}\",\n    \"return\": \"{{return_url}}\",\n    \"hide_shipping\": true\n}","options":{"raw":{"language":"json"}}},"url":"https://{{domain}}/payment/request","auth":{"type":"apikey","apikey":{"value":"{{server_key}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"fbf27e62-9b8d-4e0a-99ab-eb88b276971f","id":"fbf27e62-9b8d-4e0a-99ab-eb88b276971f","name":"PT-2 Direct API","type":"collection"}},"urlObject":{"protocol":"https","path":["payment","request"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"bc85ac1b-5cd6-43bd-b46f-99686224c867"}],"id":"808180a5-65e7-4e01-88c6-0cd36ead016e","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":"808180a5-65e7-4e01-88c6-0cd36ead016e","auth":{"type":"apikey","apikey":{"value":"{{server_key}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"fbf27e62-9b8d-4e0a-99ab-eb88b276971f","id":"fbf27e62-9b8d-4e0a-99ab-eb88b276971f","name":"PT-2 Direct API","type":"collection"}}},{"name":"Token based transactions","item":[{"name":"Create merchant initiated recurring payment","id":"821f230c-d3e7-407a-a265-c3d15ce2ff0c","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\": 33,\n    \"cart_description\": \"Description of the items/services\",\n    \"token\": \"{{token}}\",\n    \"tran_ref\": \"TST2402301880811\",\n    \"callback\": \"{{callback_url}}\"\n}","options":{"raw":{"language":"json"}}},"url":"https://{{domain}}/payment/request","description":"<p>The request is for Merchant Initiated Recurring payment without cardholder involvement.</p>\n","auth":{"type":"apikey","apikey":{"value":"{{server_key}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"fbf27e62-9b8d-4e0a-99ab-eb88b276971f","id":"fbf27e62-9b8d-4e0a-99ab-eb88b276971f","name":"PT-2 Direct API","type":"collection"}},"urlObject":{"protocol":"https","path":["payment","request"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"0e537ddb-40f8-4252-a703-1ded5c3d57ce","name":"Create payment - by Token","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\": \"recurring\",\n    \"cart_id\": \"cart_55555\",\n    \"cart_currency\": \"EGP\",\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\": \"{{callback_url}}\",\n    \"return\": \"{{return_url}}\"\n}","options":{"raw":{"language":"json"}}},"url":"https://{{domain}}/payment/request"},"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\r\n    \"tran_ref\": \"TST2105900091549\",\r\n    \"tran_type\": \"Sale\",\r\n    \"cart_id\": \"cart_55555\",\r\n    \"cart_description\": \"Description of the items/services\",\r\n    \"cart_currency\": \"EGP\",\r\n    \"cart_amount\": \"100\",\r\n    \"callback\": \"https://webhook.site/66d0f832-c55c-40c9-9da3-c43b0bc194c4\",\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\": \"dubai\",\r\n        \"state\": \"DU\",\r\n        \"country\": \"AE\",\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":"821f230c-d3e7-407a-a265-c3d15ce2ff0c"},{"name":"Create customer initiated token based payment","id":"5ac50499-2bc7-4ecf-83ce-45d566ba4fc4","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\": 133,\n    \"cart_description\": \"Description of the items/services\",\n    \"token\": \"{{token}}\",\n    \"customer_details\": {\n        \"name\": \"{{customer_name}}\",\n        \"email\": \"email@domain.com\",\n        \"phone\": \"{{customer_phone}}\",\n        \"country\": \"{{customer_country}}\",\n        \"state\": \"{{customer_state}}\",\n        \"city\": \"{{customer_city}}\",\n        \"street1\": \"address street\",\n        \"zip\": \"12345\"\n    },\n    \"hide_shipping\": true,\n    \"callback\": \"{{callback_url}}\",\n    \"return\": \"{{return_url}}\"\n}","options":{"raw":{"language":"json"}}},"url":"https://{{domain}}/payment/request","auth":{"type":"apikey","apikey":{"value":"{{server_key}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"fbf27e62-9b8d-4e0a-99ab-eb88b276971f","id":"fbf27e62-9b8d-4e0a-99ab-eb88b276971f","name":"PT-2 Direct API","type":"collection"}},"urlObject":{"protocol":"https","path":["payment","request"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"5ac50499-2bc7-4ecf-83ce-45d566ba4fc4"},{"name":"Create customer initiated token based payment (new format)","id":"b0f2ec2e-6d94-4393-a274-4d50880861cd","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\": \"ecomtoken\",\n    \"cart_id\": \"cart_55555\",\n    \"cart_currency\": \"{{currency}}\",\n    \"cart_amount\": 133,\n    \"cart_description\": \"Description of the items/services\",\n    \"customer_details\": {\n        \"name\": \"{{customer_name}}\",\n        \"email\": \"email@domain.com\",\n        \"phone\": \"{{customer_phone}}\",\n        \"country\": \"{{customer_country}}\",\n        \"state\": \"{{customer_state}}\",\n        \"city\": \"{{customer_city}}\",\n        \"street1\": \"address street\",\n        \"zip\": \"12345\"\n    },\n    \"hide_shipping\": true,\n    \"callback\": \"{{callback_url}}\",\n    \"return\": \"{{return_url}}\",\n    \"token_info\": {\n        \"token\": \"{{token}}\",\n        \"token_type\": \"registered\",\n        \"counter\": 2\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://{{domain}}/payment/request","auth":{"type":"apikey","apikey":{"value":"{{server_key}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"fbf27e62-9b8d-4e0a-99ab-eb88b276971f","id":"fbf27e62-9b8d-4e0a-99ab-eb88b276971f","name":"PT-2 Direct API","type":"collection"}},"urlObject":{"protocol":"https","path":["payment","request"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"1362caab-6666-46a8-b35d-3e364b53d5ca","name":"Failed - Invalid Counter","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"profile_id\": {{profile_id}},\n    \"tran_type\": \"sale\",\n    \"tran_class\": \"ecomtoken\",\n    \"cart_id\": \"cart_55555\",\n    \"cart_currency\": \"{{currency}}\",\n    \"cart_amount\": 133,\n    \"cart_description\": \"Description of the items/services\",\n    \"customer_details\": {\n        \"name\": \"{{customer_name}}\",\n        \"email\": \"email@domain.com\",\n        \"phone\": \"{{customer_phone}}\",\n        \"country\": \"{{customer_country}}\",\n        \"state\": \"{{customer_state}}\",\n        \"city\": \"{{customer_city}}\",\n        \"street1\": \"address street\",\n        \"zip\": \"12345\"\n    },\n    \"hide_shipping\": true,\n    \"callback\": \"{{callback_url}}\",\n    \"return\": \"{{return_url}}\",\n    \"token_info\": {\n        \"token\": \"{{token}}\",\n        \"token_type\": \"registered\",\n        \"counter\": 0,\n        \"total_count\": 5\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://{{domain}}/payment/request"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 28 Feb 2025 07:56:51 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"130"},{"key":"Connection","value":"keep-alive"},{"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; font-src 'self' data: *.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 *; child-src 'self' *.paytabs.com;"},{"key":"Cache-Control","value":"private"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"918edc425faa8a6f-NRT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": 2,\n    \"message\": \"Invalid value for field token_info.counter. Must be between 1 and 999\",\n    \"trace\": \"PMNT0101.67C16C43.00032602\"\n}"}],"_postman_id":"b0f2ec2e-6d94-4393-a274-4d50880861cd"},{"name":"Query Token","id":"64e5bed6-fab7-43ed-a78c-e0461d046217","protocolProfileBehavior":{"disabledSystemHeaders":{"content-type":true},"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"profile_id\": {{profile_id}},\n    \"token\": \"{{token}}\"\n}","options":{"raw":{"language":"json"}}},"url":"https://{{domain}}/payment/token","auth":{"type":"apikey","apikey":{"value":"{{server_key}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"fbf27e62-9b8d-4e0a-99ab-eb88b276971f","id":"fbf27e62-9b8d-4e0a-99ab-eb88b276971f","name":"PT-2 Direct API","type":"collection"}},"urlObject":{"protocol":"https","path":["payment","token"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"ea4b1c38-bd74-4e7d-a0e6-90315549fe02","name":"Query Token","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"{{server_key}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"profile_id\": {{profile_id}},\n    \"token\": \"2C4650BC67A3E833C6B791FB608779B8\"\n}","options":{"raw":{"language":"json"}}},"url":"https://{{domain}}/payment/token"},"_postman_previewlanguage":"json","header":null,"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\": \"dubai\",\r\n        \"state\": \"DU\",\r\n        \"country\": \"AE\",\r\n        \"ip\": \"196.219.145.121\"\r\n    }\r\n}"}],"_postman_id":"64e5bed6-fab7-43ed-a78c-e0461d046217"},{"name":"Delete Token","id":"14bdd306-15c9-49e8-9eb5-4097259798b6","protocolProfileBehavior":{"disabledSystemHeaders":{"content-type":true},"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"profile_id\": {{profile_id}},\n    \"token\": \"{{token}}\"\n}","options":{"raw":{"language":"json"}}},"url":"https://{{domain}}/payment/token/delete","auth":{"type":"apikey","apikey":{"value":"{{server_key}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"fbf27e62-9b8d-4e0a-99ab-eb88b276971f","id":"fbf27e62-9b8d-4e0a-99ab-eb88b276971f","name":"PT-2 Direct API","type":"collection"}},"urlObject":{"protocol":"https","path":["payment","token","delete"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"14bdd306-15c9-49e8-9eb5-4097259798b6"}],"id":"47b591ba-2188-4cad-99af-11396b5941bc","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=\"mailto:cs@paytabs.com\">cs@paytabs.com</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":"d7074215-5e4a-4f65-9e0d-6cd3bca8ed54"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"1e0756a3-6012-4f35-b0fe-ff6283e5f32b"}}],"_postman_id":"47b591ba-2188-4cad-99af-11396b5941bc","auth":{"type":"apikey","apikey":{"value":"{{server_key}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"fbf27e62-9b8d-4e0a-99ab-eb88b276971f","id":"fbf27e62-9b8d-4e0a-99ab-eb88b276971f","name":"PT-2 Direct API","type":"collection"}}},{"name":"Follow-up Transaction","item":[{"name":"Query Transaction - by Tran ref","id":"460174cf-2332-4622-8eef-242d26add480","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\": \"TST2530002372060\"\n}","options":{"raw":{"language":"json"}}},"url":"https://{{domain}}/payment/query","auth":{"type":"apikey","apikey":{"value":"{{server_key}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"fbf27e62-9b8d-4e0a-99ab-eb88b276971f","id":"fbf27e62-9b8d-4e0a-99ab-eb88b276971f","name":"PT-2 Direct API","type":"collection"}},"urlObject":{"protocol":"https","path":["payment","query"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"833d30b7-72a8-482b-a4d1-c8dbc37d2e78","name":"Query Sale-eCom Transaction","originalRequest":{"method":"POST","header":[{"key":"authorization","value":"{{server_key}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"profile_id\": {{profile_id}},\n    \"tran_ref\": \"TST2016700000692\"\n}","options":{"raw":{"language":"json"}}},"url":"https://{{domain}}/payment/query"},"_postman_previewlanguage":"json","header":null,"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\": \"EGP\",\n    \"cart_amount\": \"1\",\n    \"customer_details\": {\n        \"name\": \"ALiaa Ahmed\",\n        \"email\": \"aliaa.ashafie+pt2eg@paytabs.com\",\n        \"phone\": \"01005417901\",\n        \"street1\": \"Alexandria\",\n        \"city\": \"Alexandria\",\n        \"state\": \"ALX\",\n        \"country\": \"EG\",\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":"9f8dca26-7989-4308-90af-51d5c98ee4f1","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://{{domain}}/payment/query"},"_postman_previewlanguage":"json","header":null,"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\": \"EGP\",\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\": \"dubai\",\r\n        \"state\": \"DU\",\r\n        \"country\": \"AE\",\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\": \"dubai\",\r\n        \"state\": \"DU\",\r\n        \"country\": \"AE\",\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":"cd166295-1bf2-4c4c-bad1-538227c693ea","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://{{domain}}/payment/query"},"_postman_previewlanguage":"json","header":null,"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\": \"EGP\",\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\": \"dubai\",\n        \"state\": \"DU\",\n        \"country\": \"AE\",\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\": \"EGP\",\n        \"cart_amount\": \"1\"\n    }\n}"}],"_postman_id":"460174cf-2332-4622-8eef-242d26add480"},{"name":"Query Transaction - by Tran ref (Shopify items)","id":"bc104ec2-f9d6-4ca9-93a7-07afc420d987","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\": \"TST2524102332075\",\n    \"shopify\": {\n        \"include_order_items\": true\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://{{domain}}/payment/query","auth":{"type":"apikey","apikey":{"value":"{{server_key}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"fbf27e62-9b8d-4e0a-99ab-eb88b276971f","id":"fbf27e62-9b8d-4e0a-99ab-eb88b276971f","name":"PT-2 Direct API","type":"collection"}},"urlObject":{"protocol":"https","path":["payment","query"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"bc104ec2-f9d6-4ca9-93a7-07afc420d987"},{"name":"Query Transaction - by Cart id","id":"d3eb1479-0c9d-4ef0-b05e-e6e2893153e5","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    \"cart_id\": \"cart_11111\"\n}","options":{"raw":{"language":"json"}}},"url":"https://{{domain}}/payment/query","auth":{"type":"apikey","apikey":{"value":"{{server_key}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"fbf27e62-9b8d-4e0a-99ab-eb88b276971f","id":"fbf27e62-9b8d-4e0a-99ab-eb88b276971f","name":"PT-2 Direct API","type":"collection"}},"urlObject":{"protocol":"https","path":["payment","query"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"74866e5d-f58d-4f5b-8ede-037ececd11c3","name":"Query Transaction - by Cart id","originalRequest":{"method":"POST","header":[{"key":"authorization","value":"{{server_key}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"profile_id\": {{profile_id}},\n    \"cart_id\": \"cart_id_1234\"\n}","options":{"raw":{"language":"json"}}},"url":"https://{{domain}}/payment/query"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 22 Jul 2022 06:41:10 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"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 *; child-src 'self' *.paytabs.com;"},{"key":"Permissions-Policy","value":"interest-cohort=()"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Expect-CT","value":"max-age=604800, report-uri=\"https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct\""},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"72ea30698994b96e-AMS"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"tran_ref\": \"TST2220301299642\",\n        \"tran_type\": \"Capture\",\n        \"cart_id\": \"cart_id_1234\",\n        \"cart_description\": \"Capture reason\",\n        \"cart_currency\": \"AED\",\n        \"cart_amount\": \"12.34\",\n        \"customer_details\": {\n            \"name\": \"wajih km\",\n            \"email\": \"wajih@domain.com\",\n            \"phone\": \"0522222222\"\n        },\n        \"payment_result\": {\n            \"response_status\": \"A\",\n            \"response_code\": \"G72063\",\n            \"response_message\": \"Authorised\",\n            \"transaction_time\": \"2022-07-22T06:41:03Z\"\n        },\n        \"payment_info\": {\n            \"card_type\": \"Credit\",\n            \"card_scheme\": \"Visa\",\n            \"payment_description\": \"4111 11## #### 1111\"\n        },\n        \"serviceId\": 0\n    },\n    {\n        \"tran_ref\": \"TST2220301299641\",\n        \"tran_type\": \"Auth\",\n        \"cart_id\": \"cart_id_1234\",\n        \"cart_description\": \"Description of the items/services\",\n        \"cart_currency\": \"AED\",\n        \"cart_amount\": \"12.34\",\n        \"customer_details\": {\n            \"name\": \"wajih km\",\n            \"email\": \"wajih@domain.com\",\n            \"phone\": \"0522222222\",\n            \"ip\": \"92.98.202.106\"\n        },\n        \"payment_result\": {\n            \"response_status\": \"A\",\n            \"response_code\": \"G72045\",\n            \"response_message\": \"Authorised\",\n            \"transaction_time\": \"2022-07-22T06:40:45Z\"\n        },\n        \"payment_info\": {\n            \"card_type\": \"Credit\",\n            \"card_scheme\": \"Visa\",\n            \"payment_description\": \"4111 11## #### 1111\"\n        },\n        \"serviceId\": 0\n    }\n]"}],"_postman_id":"d3eb1479-0c9d-4ef0-b05e-e6e2893153e5"},{"name":"Capture","id":"33264e01-07a1-418f-a742-8f2582288231","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\": \"TST2016700000692\"\n}","options":{"raw":{"language":"json"}}},"url":"https://{{domain}}/payment/request","urlObject":{"protocol":"https","path":["payment","request"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"33264e01-07a1-418f-a742-8f2582288231"},{"name":"Auth Extension","id":"a2e07628-51a2-4fd1-a2f3-c7fe1a71a892","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\": \"authext\",\n    \"tran_class\": \"ecom\",\n    \"cart_id\": \"cart_66666\",\n    \"cart_currency\": \"{{currency}}\",\n    \"cart_amount\": 1.3,\n    \"cart_description\": \"Auth extension reason\",\n    \"tran_ref\": \"TST2016700000692\"\n}","options":{"raw":{"language":"json"}}},"url":"https://{{domain}}/payment/request","urlObject":{"protocol":"https","path":["payment","request"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"a2e07628-51a2-4fd1-a2f3-c7fe1a71a892"},{"name":"Refund","id":"e4d5d2a2-8714-41f7-a4c5-ff9a9a4289f0","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://{{domain}}/payment/request","urlObject":{"protocol":"https","path":["payment","request"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"e4d5d2a2-8714-41f7-a4c5-ff9a9a4289f0"},{"name":"Void","id":"d1650b89-798c-4421-b6cc-041c66ba0ea6","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://{{domain}}/payment/request","urlObject":{"protocol":"https","path":["payment","request"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"d1650b89-798c-4421-b6cc-041c66ba0ea6"}],"id":"419a02a3-ecc4-4e56-b832-eb380d40a9c2","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":"419a02a3-ecc4-4e56-b832-eb380d40a9c2","auth":{"type":"apikey","apikey":{"value":"{{server_key}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"fbf27e62-9b8d-4e0a-99ab-eb88b276971f","id":"fbf27e62-9b8d-4e0a-99ab-eb88b276971f","name":"PT-2 Direct API","type":"collection"}}},{"name":"Own Form-PCISAQD_or_PCIDSS","item":[{"name":"Own Form - Payment Request","event":[{"listen":"prerequest","script":{"id":"cc70fe9a-d738-4d5c-b7f1-4d006c987a17","exec":[""],"type":"text/javascript","packages":{}}}],"id":"75a7805f-6c09-4c0d-998a-0675e0dafc1e","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\": 0.3,\n    \"cart_description\": \"Description of the items/services\",\n    \"paypage_lang\": \"en\",\n    \"customer_details\": {\n        \"name\": \"{{customer_name}}\",\n        \"email\": \"email@domain.com\",\n        \"phone\": \"{{customer_phone}}\",\n        \"country\": \"{{customer_country}}\",\n        \"state\": \"{{customer_state}}\",\n        \"city\": \"{{customer_city}}\",\n        \"street1\": \"address street\",\n        \"zip\": \"12345\",\n        \"ip\": \"1.1.1.1\"\n    },\n    \"shipping_details\": {\n        \"name\": \"{{customer_name}}\",\n        \"email\": \"email@domain.com\",\n        \"phone\": \"{{customer_phone}}\",\n        \"country\": \"{{customer_country}}\",\n        \"state\": \"{{customer_state}}\",\n        \"city\": \"{{customer_city}}\",\n        \"street1\": \"address street\",\n        \"zip\": \"12345\"\n    },\n    \"callback\": \"{{callback_url}}\",\n    \"return\": \"{{return_url}}\",\n    \"card_details\": {\n        \"pan\": \"5123450000000008\",\n        \"cvv\": \"100\",\n        \"expiry_month\": 1,\n        \"expiry_year\": 2039\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://{{domain}}/payment/request","description":"<p>Create payment request when payment details are collected at merchant's page.</p>\n","urlObject":{"protocol":"https","path":["payment","request"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"94e87b68-5556-4595-9ea2-163ad7031855","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\": \"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://{{domain}}/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\": \"AED\",\n    \"cart_amount\": \"12.3\",\n    \"return\": \"https://webhook.site/92ac6a52-256d-434b-bde8-94b1e73d3aa1\",\n    \"redirect_url\": \"https://secure.paytabs.com/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\": \"dubai\",\n        \"state\": \"DU\",\n        \"country\": \"AE\",\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\": \"DU\",\n        \"country\": \"AE\",\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":"9d77d9a2-6a81-43bd-8042-c7c992983699","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\": \"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://{{domain}}/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\": \"AED\",\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\": \"dubai\",\n        \"state\": \"DU\",\n        \"country\": \"AE\",\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\": \"DU\",\n        \"country\": \"AE\",\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":"da2a5477-2d3d-4014-94ef-2f8b34351e81","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\": \"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://{{domain}}/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\": \"AED\",\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.paytabs.com/payment/page/00C58CE782E419E877BEEC073DBED38E53899637B4FC4338E9A45211\",\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    },\n    \"shipping_details\": {\n        \"name\": \"name1 last1\",\n        \"email\": \"email1@domain.com\",\n        \"phone\": \"971555555555\",\n        \"street1\": \"street2\",\n        \"city\": \"dubai\",\n        \"state\": \"DU\",\n        \"country\": \"AE\"\n    }\n}"}],"_postman_id":"75a7805f-6c09-4c0d-998a-0675e0dafc1e"},{"name":"MOTO - Non 3DS","event":[{"listen":"prerequest","script":{"id":"52f4ef01-9779-47a1-8641-27a03964030f","exec":[""],"type":"text/javascript","packages":{}}}],"id":"7961fde5-6fa3-4355-81a0-aed8285a2ac3","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\": \"moto\",\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\": \"{{customer_name}}\",\n        \"email\": \"email@domain.com\",\n        \"phone\": \"{{customer_phone}}\",\n        \"country\": \"{{customer_country}}\",\n        \"state\": \"{{customer_state}}\",\n        \"city\": \"{{customer_city}}\",\n        \"street1\": \"address street\",\n        \"zip\": \"12345\",\n        \"ip\": \"1.1.1.1\"\n    },\n    \"shipping_details\": {\n        \"name\": \"{{customer_name}}\",\n        \"email\": \"email@domain.com\",\n        \"phone\": \"{{customer_phone}}\",\n        \"country\": \"{{customer_country}}\",\n        \"state\": \"{{customer_state}}\",\n        \"city\": \"{{customer_city}}\",\n        \"street1\": \"address street\",\n        \"zip\": \"12345\"\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://{{domain}}/payment/request","description":"<p>Create a Payment page for Hosted Payment Page Integration.</p>\n","urlObject":{"protocol":"https","path":["payment","request"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"7961fde5-6fa3-4355-81a0-aed8285a2ac3"},{"name":"MOTO - Non 3DS/ Non CVV","event":[{"listen":"prerequest","script":{"id":"abadda57-5aa3-4ded-bc69-243e3a48909b","exec":[""],"type":"text/javascript","packages":{}}}],"id":"c92f83dd-8be2-41f3-b327-99780650bd99","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\": \"moto\",\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\": \"{{customer_name}}\",\n        \"email\": \"email@domain.com\",\n        \"phone\": \"{{customer_phone}}\",\n        \"country\": \"{{customer_country}}\",\n        \"state\": \"{{customer_state}}\",\n        \"city\": \"{{customer_city}}\",\n        \"street1\": \"address street\",\n        \"zip\": \"12345\",\n        \"ip\": \"1.1.1.1\"\n    },\n    \"shipping_details\": {\n        \"name\": \"{{customer_name}}\",\n        \"email\": \"email@domain.com\",\n        \"phone\": \"{{customer_phone}}\",\n        \"country\": \"{{customer_country}}\",\n        \"state\": \"{{customer_state}}\",\n        \"city\": \"{{customer_city}}\",\n        \"street1\": \"address street\",\n        \"zip\": \"12345\"\n    },\n    \"callback\": \"{{callback_url}}\",\n    \"return\": \"{{return_url}}\",\n    \"card_details\": {\n        \"pan\": \"4000000000000002\",\n        \"expiry_month\": 12,\n        \"expiry_year\": 2022\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://{{domain}}/payment/request","description":"<p>Create a Payment page for Hosted Payment Page Integration.</p>\n","urlObject":{"protocol":"https","path":["payment","request"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"c92f83dd-8be2-41f3-b327-99780650bd99"}],"id":"383cf419-abed-42bf-a3e1-e9df1ab8a2e9","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":"383cf419-abed-42bf-a3e1-e9df1ab8a2e9","auth":{"type":"apikey","apikey":{"value":"{{server_key}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"fbf27e62-9b8d-4e0a-99ab-eb88b276971f","id":"fbf27e62-9b8d-4e0a-99ab-eb88b276971f","name":"PT-2 Direct API","type":"collection"}}},{"name":"Managed Form-PCISAQAEP","item":[{"name":"Managed Form - Payment Request","event":[{"listen":"prerequest","script":{"id":"bfb7e382-189b-4197-9f51-96fb3b3fd52d","exec":[""],"type":"text/javascript","packages":{}}}],"id":"aac47337-28ac-45f8-b028-4ae5351ba25c","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\": \"{{customer_name}}\",\n        \"email\": \"email@domain.com\",\n        \"phone\": \"{{customer_phone}}\",\n        \"country\": \"{{customer_country}}\",\n        \"state\": \"{{customer_state}}\",\n        \"city\": \"{{customer_city}}\",\n        \"street1\": \"address street\",\n        \"zip\": \"12345\",\n        \"ip\": \"1.1.1.1\"\n    },\n    \"shipping_details\": {\n        \"name\": \"{{customer_name}}\",\n        \"email\": \"email@domain.com\",\n        \"phone\": \"{{customer_phone}}\",\n        \"country\": \"{{customer_country}}\",\n        \"state\": \"{{customer_state}}\",\n        \"city\": \"{{customer_city}}\",\n        \"street1\": \"address street\",\n        \"zip\": \"12345\"\n    },\n    \"return\": \"{{return_url}}\",\n    \"callback\": \"{{callback_url}}\",\n    \"payment_token\": \"D1Pnghft7xSxfMVwqP4k\"\n}","options":{"raw":{"language":"json"}}},"url":"https://{{domain}}/payment/request","description":"<p>Create a Payment page where card details are collected on merchant's page and tokenised with PayTabs payment gateway.</p>\n","auth":{"type":"apikey","apikey":{"value":"{{server_key}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"fbf27e62-9b8d-4e0a-99ab-eb88b276971f","id":"fbf27e62-9b8d-4e0a-99ab-eb88b276971f","name":"PT-2 Direct API","type":"collection"}},"urlObject":{"protocol":"https","path":["payment","request"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"ede649f5-63d5-47fb-af97-db8dd435f581","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\": \"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    \"payment_token\": \"D1Pnghft7xSxfMVwqP4k\",\n    \"callback\": \"{{callback_url}}\",\n    \"return\": \"{{return_url}}\"\n}","options":{"raw":{"language":"json"}}},"url":"https://{{domain}}/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\": \"AED\",\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.paytabs.com/payment/page/00C58CE782E419E877BEEC073DBED38E53899637B4FC4338E9A45211\",\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    },\n    \"shipping_details\": {\n        \"name\": \"name1 last1\",\n        \"email\": \"email1@domain.com\",\n        \"phone\": \"971555555555\",\n        \"street1\": \"street2\",\n        \"city\": \"dubai\",\n        \"state\": \"DU\",\n        \"country\": \"AE\"\n    }\n}"}],"_postman_id":"aac47337-28ac-45f8-b028-4ae5351ba25c"},{"name":"Card tokenise","id":"64259996-421c-4036-897f-54b6703a3342","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"clientKey\": \"{{client-key}}\",\r\n    \"currency\": \"USD\",\r\n    \"payment\": {\r\n        \"method\": \"card\",\r\n        \"cardNumber\": \"4111111111111111\",\r\n        \"expiryMonth\": \"11\",\r\n        \"expiryYear\": \"2033\",\r\n        \"cvv\": \"123\"\r\n    },\r\n    \"device\": {\r\n        \"screenWidth\": 1920,\r\n        \"screenHeight\": 1080,\r\n        \"colorDepth\": 24,\r\n        \"timezoneOffset\": -240\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"https://{{domain}}/payment/tokenise","auth":{"type":"apikey","apikey":{"value":"{{server_key}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"fbf27e62-9b8d-4e0a-99ab-eb88b276971f","id":"fbf27e62-9b8d-4e0a-99ab-eb88b276971f","name":"PT-2 Direct API","type":"collection"}},"urlObject":{"protocol":"https","path":["payment","tokenise"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"64259996-421c-4036-897f-54b6703a3342"}],"id":"51a8ddfd-6172-4db8-bb4b-9be4dc5c60ee","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":"51a8ddfd-6172-4db8-bb4b-9be4dc5c60ee","auth":{"type":"apikey","apikey":{"value":"{{server_key}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"fbf27e62-9b8d-4e0a-99ab-eb88b276971f","id":"fbf27e62-9b8d-4e0a-99ab-eb88b276971f","name":"PT-2 Direct API","type":"collection"}}},{"name":"Apple Pay","item":[{"name":"Payment Request","id":"a5e7be8b-e2d3-47b3-8157-bd124aaa2b5c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"profile_id\": {{profile_id}},\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.99\",\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\": \"{{customer_city}}\",\r\n        \"country\": \"{{customer_country}}\",\r\n        \"phone\": \"97333333101\",\r\n        \"ip\": \"99.99.00.00\"\r\n    },\r\n    \"apple_pay_token\": {\r\n        \"paymentData\": {\r\n            \"data\": \"+3gNmCG0hOYfbClM1x3/v67ZbctwoYmxo4UK2Gip1klITRDKTaZWxc43RuyH5FEkrx8i6l6tLgZIB4ZmnVEINTlmFsTQ3uRJT02Rs3vEhBv1L8RG9N4LHpoTPbbuJ0sT+yBm2BxHXkDM6RD4aj8G3jtnKfD5aCCnvSJH61nWZL08gfncyerzww3MJUULX1oISJQPCxMKf29OdVw40qwWbNRdQF/Tv0Ao8P0h1MvpXkMug24XTDWJ234Uwv52ph76yvpxtOZvNA1BnA7gUORT1DEAUSeTNtBLy2vHUFg5iWlz6WTQe/iiwtvuBb+gtXQNANgif+PSk2cRziHWsJN472ngm+Fs9yWPI2p0A/O+RMP95qBBgjH9wew4mGNjDQU5m5QXFgHlly51/ffz\",\r\n            \"signature\": \"MIAGCSqGSIb3DQEHAqCAMIACAQExDTALBglghkgBZQMEAgEwgAYJKoZIhvcNAQcBAACggDCCA+MwggOIoAMCAQICCEwwQUlRnVQ2MAoGCCqGSM49BAMCMHoxLjAsBgNVBAMMJUFwcGxlIEFwcGxpY2F0aW9uIEludGVncmF0aW9uIENBIC0gRzMxJjAkBgNVBAsMHUFwcGxlIENlcnRpZmljYXRpb24gQXV0aG9yaXR5MRMwEQYDVQQKDApBcHBsZSBJbmMuMQswCQYDVQQGEwJVUzAeFw0xOTA1MTgwMTMyNTdaFw0yNDA1MTYwMTMyNTdaMF8xJTAjBgNVBAMMHGVjYy1zbXAtYnJva2VyLXNpZ25fVUM0LVBST0QxFDASBgNVBAsMC2lPUyBTeXN0ZW1zMRMwEQYDVQQKDApBcHBsZSBJbmMuMQswCQYDVQQGEwJVUzBZMBMGByqGSM49AgEGCCqGSM49AwEHA0IABMIVd+3r1seyIY9o3XCQoSGNx7C9bywoPYRgldlK9KVBG4NCDtgR80B+gzMfHFTD9+syINa61dTv9JKJiT58DxOjggIRMIICDTAMBgNVHRMBAf8EAjAAMB8GA1UdIwQYMBaAFCPyScRPk+TvJ+bE9ihsP6K7/S5LMEUGCCsGAQUFBwEBBDkwNzA1BggrBgEFBQcwAYYpaHR0cDovL29jc3AuYXBwbGUuY29tL29jc3AwNC1hcHBsZWFpY2EzMDIwggEdBgNVHSAEggEUMIIBEDCCAQwGCSqGSIb3Y2QFATCB/jCBwwYIKwYBBQUHAgIwgbYMgbNSZWxpYW5jZSBvbiB0aGlzIGNlcnRpZmljYXRlIGJ5IGFueSBwYXJ0eSBhc3N1bWVzIGFjY2VwdGFuY2Ugb2YgdGhlIHRoZW4gYXBwbGljYWJsZSBzdGFuZGFyZCB0ZXJtcyBhbmQgY29uZGl0aW9ucyBvZiB1c2UsIGNlcnRpZmljYXRlIHBvbGljeSBhbmQgY2VydGlmaWNhdGlvbiBwcmFjdGljZSBzdGF0ZW1lbnRzLjA2BggrBgEFBQcCARYqaHR0cDovL3d3dy5hcHBsZS5jb20vY2VydGlmaWNhdGVhdXRob3JpdHkvMDQGA1UdHwQtMCswKaAnoCWGI2h0dHA6Ly9jcmwuYXBwbGUuY29tL2FwcGxlYWljYTMuY3JsMB0GA1UdDgQWBBSUV9tv1XSBhomJdi9+V4UH55tYJDAOBgNVHQ8BAf8EBAMCB4AwDwYJKoZIhvdjZAYdBAIFADAKBggqhkjOPQQDAgNJADBGAiEAvglXH+ceHnNbVeWvrLTHL+tEXzAYUiLHJRACth69b1UCIQDRizUKXdbdbrF0YDWxHrLOh8+j5q9svYOAiQ3ILN2qYzCCAu4wggJ1oAMCAQICCEltL786mNqXMAoGCCqGSM49BAMCMGcxGzAZBgNVBAMMEkFwcGxlIFJvb3QgQ0EgLSBHMzEmMCQGA1UECwwdQXBwbGUgQ2VydGlmaWNhdGlvbiBBdXRob3JpdHkxEzARBgNVBAoMCkFwcGxlIEluYy4xCzAJBgNVBAYTAlVTMB4XDTE0MDUwNjIzNDYzMFoXDTI5MDUwNjIzNDYzMFowejEuMCwGA1UEAwwlQXBwbGUgQXBwbGljYXRpb24gSW50ZWdyYXRpb24gQ0EgLSBHMzEmMCQGA1UECwwdQXBwbGUgQ2VydGlmaWNhdGlvbiBBdXRob3JpdHkxEzARBgNVBAoMCkFwcGxlIEluYy4xCzAJBgNVBAYTAlVTMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE8BcRhBnXZIXVGl4lgQd26ICi7957rk3gjfxLk+EzVtVmWzWuItCXdg0iTnu6CP12F86Iy3a7ZnC+yOgphP9URaOB9zCB9DBGBggrBgEFBQcBAQQ6MDgwNgYIKwYBBQUHMAGGKmh0dHA6Ly9vY3NwLmFwcGxlLmNvbS9vY3NwMDQtYXBwbGVyb290Y2FnMzAdBgNVHQ4EFgQUI/JJxE+T5O8n5sT2KGw/orv9LkswDwYDVR0TAQH/BAUwAwEB/zAfBgNVHSMEGDAWgBS7sN6hWDOImqSKmd6+veuv2sskqzA3BgNVHR8EMDAuMCygKqAohiZodHRwOi8vY3JsLmFwcGxlLmNvbS9hcHBsZXJvb3RjYWczLmNybDAOBgNVHQ8BAf8EBAMCAQYwEAYKKoZIhvdjZAYCDgQCBQAwCgYIKoZIzj0EAwIDZwAwZAIwOs9yg1EWmbGG+zXDVspiv/QX7dkPdU2ijr7xnIFeQreJ+Jj3m1mfmNVBDY+d6cL+AjAyLdVEIbCjBXdsXfM4O5Bn/Rd8LCFtlk/GcmmCEm9U+Hp9G5nLmwmJIWEGmQ8Jkh0AADGCAYcwggGDAgEBMIGGMHoxLjAsBgNVBAMMJUFwcGxlIEFwcGxpY2F0aW9uIEludGVncmF0aW9uIENBIC0gRzMxJjAkBgNVBAsMHUFwcGxlIENlcnRpZmljYXRpb24gQXV0aG9yaXR5MRMwEQYDVQQKDApBcHBsZSBJbmMuMQswCQYDVQQGEwJVUwIITDBBSVGdVDYwCwYJYIZIAWUDBAIBoIGTMBgGCSqGSIb3DQEJAzELBgkqhkiG9w0BBwEwHAYJKoZIhvcNAQkFMQ8XDTIzMDYxNTA5NDMxN1owKAYJKoZIhvcNAQk0MRswGTALBglghkgBZQMEAgGhCgYIKoZIzj0EAwIwLwYJKoZIhvcNAQkEMSIEIJ7JSGErzRO8xjSbtN+Eb7r7C6WudqOsnIl6SlthROgNMAoGCCqGSM49BAMCBEYwRAIgDO0nqmCZRETghuJvbkx4oSq9LfxcUrlCCgx++9Xe6RcCIAH+R3RhpNwQ8dahvGm3VNhL4bJNnzrW7vOA9nACcDcBAAAAAAAA\",\r\n            \"header\": {\r\n                \"publicKeyHash\": \"eOq6SD4sCQLEZ58iuYP/IRWMQihHJwzSv3/9+6aJBdg=\",\r\n                \"ephemeralPublicKey\": \"MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEqIknEJ0VjxUGYMmy1+R3Yd+LduF4trKlHgYU0VdYji0ZXJbPsTkxtBAKk49dzDmelgZNBJgWezPjTvQbE/YxkQ==\",\r\n                \"transactionId\": \"c2776121b97deddb0dd62dd5a704407a5ae0e1fe19cf82d8e4ee51871752ac78\"\r\n            },\r\n            \"version\": \"EC_v1\"\r\n        },\r\n        \"paymentMethod\": {\r\n            \"displayName\": \"MasterCard 4162\",\r\n            \"network\": \"MasterCard\",\r\n            \"type\": \"credit\"\r\n        },\r\n        \"transactionIdentifier\": \"c2776121b97deddb0dd62dd5a704407a5ae0e1fe19cf82d8e4ee51871752ac78\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"https://{{domain}}/payment/request","auth":{"type":"apikey","apikey":{"value":"{{server_key}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"fbf27e62-9b8d-4e0a-99ab-eb88b276971f","id":"fbf27e62-9b8d-4e0a-99ab-eb88b276971f","name":"PT-2 Direct API","type":"collection"}},"urlObject":{"protocol":"https","path":["payment","request"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"a5e7be8b-e2d3-47b3-8157-bd124aaa2b5c"}],"id":"44427b96-07f7-4d72-819e-65143956fe67","_postman_id":"44427b96-07f7-4d72-819e-65143956fe67","description":"","auth":{"type":"apikey","apikey":{"value":"{{server_key}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"fbf27e62-9b8d-4e0a-99ab-eb88b276971f","id":"fbf27e62-9b8d-4e0a-99ab-eb88b276971f","name":"PT-2 Direct API","type":"collection"}}},{"name":"Samsung Pay","item":[{"name":"Payment Request","id":"28d55506-6c57-47eb-887a-21aa42a4bc23","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"profile_id\": {{profile_id}},\r\n    \"tran_type\": \"sale\",\r\n    \"tran_class\": \"ecom\",\r\n    \"cart_id\": \"cart_99999\",\r\n    \"cart_description\": \"Sample Payment\",\r\n    \"cart_currency\": \"{{currency}}\",\r\n    \"cart_amount\": \"1\",\r\n    \"tokenise\": 2,\r\n    \"return\": \"{{return_url}}\",\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\": \"{{customer_city}}\",\r\n        \"country\": \"{{customer_country}}\",\r\n        \"phone\": \"\",\r\n        \"ip\": \"99.99.00.00\"\r\n    },\r\n    \"samsung_pay_token\": {\r\n        \"3DS\": {\r\n            \"data\": \"eyJhbGciOiJSU0ExXzUiLCJraWQiOiI5ZXlTR0doYTdOd1h5MUZ2ZlR1dU9ZRUt0TjRTNFBYa0xtL2hBOFJDTTBvPSIsInR5cCI6IkpPU0UiLCJjaGFubmVsU2VjdXJpdHlDb250ZXh0IjoiUlNBX1BLSSIsImVuYyI6IkExMjhHQ00ifQ.MavQXDz3LOEiD-I9hyUQE_F_SBSMpwkhp7-MU0SAqMrY77cK7asGqtnySJsm6az7IQp1X4DspSKp3Yn6Dq_1xEaNTtsrEvUri3mL3MX9sOHq3nbJl-M1Wuo25ITSu4kal9Da8Dr-o9U11AhxF8vwfvnosX7D5tR8eNdAzsPi5BdcaB4QQpTFQvWESH48QlTmWmX8HfJLhnin2JH2J0YBiM8yi2h8i_ZOTapeVrjA37ig7VGmf4YnE5CmQZrZBHazYGHr-nzGhIQUyUkYbCvQRUr43k2fYNXbnQb1ARtBXe1jK_e0kxwBQz5TMRaa0RsYJGTlyTsQJrP0T78F3jpMmg.95JMDZbXPv9LFZe3.HuhBARXSZ9RLHEjv4eloQwgNTI9a_kknrrmlXZS1jQljLAj7p3GZVTr3lFhpx0Z3-FXBslVA306yGrj_JcTJjpTwudOE2XVadaSarMpFHiMXHa_fcheqGDS60BeksvHWZmoV51I4WbYLB7tjD_SfAO7Ic0u78OW4BD2AnHEsauWuTwxAZ-g7ma4XRfgO2kWAHuuNdTxY_NtzYLoUix4mH02h6q3ARZ7Za331qGVCLsk90t6-ytJcWpV_._mNeyiwfoSvP84cGzq7PEQ\",\r\n            \"type\": \"S\",\r\n            \"version\": \"100\"\r\n        },\r\n        \"payment_card_brand\": \"VI\",\r\n        \"payment_currency_type\": \"USD\",\r\n        \"payment_eco_opt_in\": \"false\",\r\n        \"payment_last4_dpan\": \"0832\",\r\n        \"payment_last4_fpan\": \"9039\",\r\n        \"merchant_ref\": \"\",\r\n        \"method\": \"3DS\",\r\n        \"recurring_payment\": false,\r\n        \"payment_shipping_address\": {\r\n            \"shipping\": {},\r\n            \"email\": \"\"\r\n        },\r\n        \"payment_shipping_method\": \"\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"https://{{domain}}/payment/request","auth":{"type":"apikey","apikey":{"value":"{{server_key}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"fbf27e62-9b8d-4e0a-99ab-eb88b276971f","id":"fbf27e62-9b8d-4e0a-99ab-eb88b276971f","name":"PT-2 Direct API","type":"collection"}},"urlObject":{"protocol":"https","path":["payment","request"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"28d55506-6c57-47eb-887a-21aa42a4bc23"}],"id":"e5d9a726-2dcd-44c7-a8a9-0f670a53dda4","_postman_id":"e5d9a726-2dcd-44c7-a8a9-0f670a53dda4","description":"","auth":{"type":"apikey","apikey":{"value":"{{server_key}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"fbf27e62-9b8d-4e0a-99ab-eb88b276971f","id":"fbf27e62-9b8d-4e0a-99ab-eb88b276971f","name":"PT-2 Direct API","type":"collection"}}},{"name":"Invoice","item":[{"name":"Create Invoice","event":[{"listen":"prerequest","script":{"id":"e2896db6-90d7-4e07-b41d-652852db7f60","exec":[""],"type":"text/javascript","packages":{}}},{"listen":"test","script":{"id":"931d1688-8380-426a-ac3c-91b70594f4a6","exec":["var jsonData = JSON.parse(responseBody);\r","postman.setEnvironmentVariable(\"invoice_id\", jsonData.invoice_id);"],"type":"text/javascript","packages":{}}}],"id":"6a65e9f8-753b-4552-8595-31edfda2c0ca","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\": \"{{customer_name}}\",\n        \"email\": \"email@domain.com\",\n        \"phone\": \"{{customer_phone}}\",\n        \"country\": \"{{customer_country}}\",\n        \"state\": \"{{customer_state}}\",\n        \"city\": \"{{customer_city}}\",\n        \"street1\": \"address street\",\n        \"zip\": \"12345\"\n    },\n    \"invoice\": {\n        \"lang\": \"en\",\n        \"shipping_charges\": 0,\n        \"extra_charges\": 0,\n        \"extra_discount\": 0,\n        \"total\": 0,\n        \"activation_date\": \"\",\n        \"expiry_date\": \"2025-03-27T13:33:00+04:00\",\n        \"due_date\": \"2025-03-26T12:36:00+04:00\",\n        \"disable_edit\": false,\n        \"line_items\": [\n            {\n                \"sku\": \"sku\",\n                \"description\": \"desc\",\n                \"url\": \"https://www.costacoffee.ae/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://{{domain}}/payment/invoice/new","description":"<p>Create an Invoice</p>\n","auth":{"type":"apikey","apikey":{"value":"{{server_key}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"fbf27e62-9b8d-4e0a-99ab-eb88b276971f","id":"fbf27e62-9b8d-4e0a-99ab-eb88b276971f","name":"PT-2 Direct API","type":"collection"}},"urlObject":{"protocol":"https","path":["payment","invoice","new"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"6a65e9f8-753b-4552-8595-31edfda2c0ca"},{"name":"Create Invoice with Payment methods","event":[{"listen":"prerequest","script":{"id":"e2896db6-90d7-4e07-b41d-652852db7f60","exec":[""],"type":"text/javascript","packages":{}}},{"listen":"test","script":{"id":"931d1688-8380-426a-ac3c-91b70594f4a6","exec":["var jsonData = JSON.parse(responseBody);\r","postman.setEnvironmentVariable(\"invoice_id\", jsonData.invoice_id);"],"type":"text/javascript","packages":{}}}],"id":"50dd1b04-0b58-4334-973d-57dda7b75f79","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\": \"{{customer_name}}\",\n        \"email\": \"email@domain.com\",\n        \"phone\": \"{{customer_phone}}\",\n        \"country\": \"{{customer_country}}\",\n        \"state\": \"{{customer_state}}\",\n        \"city\": \"{{customer_city}}\",\n        \"street1\": \"address street\",\n        \"zip\": \"12345\"\n    },\n    \"payment_methods\":[\n        \"card\"\n    ],\n    \"invoice\": {\n        \"lang\": \"en\",\n        \"shipping_charges\": 0,\n        \"extra_charges\": 0,\n        \"extra_discount\": 0,\n        \"total\": 0,\n        \"activation_date\": \"\",\n        \"expiry_date\": \"2024-09-27T13:33:00+04:00\",\n        \"due_date\": \"2024-09-26T12:36:00+04:00\",\n        \"line_items\": [\n            {\n                \"sku\": \"sku\",\n                \"description\": \"desc\",\n                \"url\": \"https://www.costacoffee.ae/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://{{domain}}/payment/invoice/new","description":"<p>Create an Invoice</p>\n","auth":{"type":"apikey","apikey":{"value":"{{server_key}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"fbf27e62-9b8d-4e0a-99ab-eb88b276971f","id":"fbf27e62-9b8d-4e0a-99ab-eb88b276971f","name":"PT-2 Direct API","type":"collection"}},"urlObject":{"protocol":"https","path":["payment","invoice","new"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"50dd1b04-0b58-4334-973d-57dda7b75f79"},{"name":"Create Invoice with Tokenization","event":[{"listen":"prerequest","script":{"id":"d6490651-102e-48bd-8a89-9e52a6446569","exec":[""],"type":"text/javascript"}},{"listen":"test","script":{"id":"1926bf03-99a5-46b6-b024-85725d743271","exec":["var jsonData = JSON.parse(responseBody);\r","postman.setEnvironmentVariable(\"invoice_id\", jsonData.invoice_id);"],"type":"text/javascript"}}],"id":"4637e2ae-36a3-4b41-927d-4795939f4f86","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        \"activation_date\": \"2021-07-25T12:35:20+04:00\",\n        \"expiry_date\": \"2021-07-27T13:33:00+04:00\",\n        \"due_date\": \"2021-07-26T12:36:00+04:00\",\n        \"line_items\": [\n            {\n                \"sku\": \"sku\",\n                \"description\": \"desc\",\n                \"url\": \"https://www.costacoffee.ae/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://{{domain}}/payment/new/invoice","description":"<p>Create an Invoice</p>\n","auth":{"type":"apikey","apikey":{"value":"{{server_key}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"fbf27e62-9b8d-4e0a-99ab-eb88b276971f","id":"fbf27e62-9b8d-4e0a-99ab-eb88b276971f","name":"PT-2 Direct API","type":"collection"}},"urlObject":{"protocol":"https","path":["payment","new","invoice"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"4637e2ae-36a3-4b41-927d-4795939f4f86"},{"name":"InvoiceStatus-GET","id":"cdaffc47-4baa-4208-891e-12146f6f5832","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"{{server_key}}","type":"text"}],"url":"https://{{domain}}/payment/invoice/{{invoice_id}}/status","description":"<p>Get Status of Invoice using Invoice ID</p>\n","auth":{"type":"apikey","apikey":{"value":"{{server_key}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"fbf27e62-9b8d-4e0a-99ab-eb88b276971f","id":"fbf27e62-9b8d-4e0a-99ab-eb88b276971f","name":"PT-2 Direct API","type":"collection"}},"urlObject":{"protocol":"https","path":["payment","invoice","{{invoice_id}}","status"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"29e13a08-0a40-4204-8a54-fd4b09e60a40","name":"InvoiceStatus-Pending","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"{{server_key}}","type":"text"}],"url":"https://{{domain}}/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":"2ece4590-a2e7-49c6-b5ce-4c59090180a1","name":"InvoiceStatus-Paid","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"{{server_key}}","type":"text"}],"url":"https://{{domain}}/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":"ccebefd3-6318-400d-9311-370159e2d444","name":"InvoiceStatus-Cancelled","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"{{server_key}}","type":"text"}],"url":"https://{{domain}}/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":"cdaffc47-4baa-4208-891e-12146f6f5832"},{"name":"InvoiceStatus-POST","id":"56c68635-d198-40d9-b19d-c43758447376","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://{{domain}}/payment/invoice/status","description":"<p>Getting Status of invoice using Invoice ID</p>\n","auth":{"type":"apikey","apikey":{"value":"{{server_key}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"fbf27e62-9b8d-4e0a-99ab-eb88b276971f","id":"fbf27e62-9b8d-4e0a-99ab-eb88b276971f","name":"PT-2 Direct API","type":"collection"}},"urlObject":{"protocol":"https","path":["payment","invoice","status"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"60627fc7-83fd-42f1-8f41-c8fff7d7cfd6","name":"Status - 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://{{domain}}/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":"63ddd699-bfca-43eb-974a-212847dc5453","name":"Status - 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://{{domain}}/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":"ac9a1813-67fe-4d1b-9dc5-5de0490100fd","name":"Status - 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://{{domain}}/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":"56c68635-d198-40d9-b19d-c43758447376"},{"name":"InvoiceCancel-PUT","id":"84952c14-a6e4-4ebe-af6e-0b39bead7bd0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Authorization","value":"{{server_key}}","type":"text"}],"url":"https://{{domain}}/payment/invoice/{{invoice_id}}/cancel","description":"<p>Cancel Invoice</p>\n","auth":{"type":"apikey","apikey":{"value":"{{server_key}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"fbf27e62-9b8d-4e0a-99ab-eb88b276971f","id":"fbf27e62-9b8d-4e0a-99ab-eb88b276971f","name":"PT-2 Direct API","type":"collection"}},"urlObject":{"protocol":"https","path":["payment","invoice","{{invoice_id}}","cancel"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"ef0e6c96-44e1-4ed0-95f5-c3f57851955a","name":"InvoiceCancel-Cancelled","originalRequest":{"method":"PUT","header":[{"key":"Authorization","value":"{{server_key}}","type":"text"}],"url":"https://{{domain}}/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":"84952c14-a6e4-4ebe-af6e-0b39bead7bd0"},{"name":"InvoiceCancel-POST","id":"9dc7a330-b7a2-4afd-8a14-e83806aa64ab","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://{{domain}}/payment/invoice/cancel","description":"<p>Cancel Invoice</p>\n","auth":{"type":"apikey","apikey":{"value":"{{server_key}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"fbf27e62-9b8d-4e0a-99ab-eb88b276971f","id":"fbf27e62-9b8d-4e0a-99ab-eb88b276971f","name":"PT-2 Direct API","type":"collection"}},"urlObject":{"protocol":"https","path":["payment","invoice","cancel"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"a20c54ce-4e1d-4456-a453-9a12e785b140","name":"Success - 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://{{domain}}/payment/invoice/cancel"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 24 Mar 2025 07:02:16 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"41"},{"key":"Connection","value":"keep-alive"},{"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; font-src 'self' data: *.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 *; child-src 'self' *.paytabs.com;"},{"key":"Cache-Control","value":"private"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"92544d4cdfacd4e6-NRT"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Invoice has been cancelled\"\n}"},{"id":"1c5ca3d3-d436-4453-8038-735ab073b64b","name":"Failed","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://{{domain}}/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":"9dc7a330-b7a2-4afd-8a14-e83806aa64ab"},{"name":"Send Invoice SMS","id":"780f1a04-0dff-4932-8039-4b9624284ea6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"profile_id\": {{profile_id}},\r\n    \"customer_details\": {\r\n        \"phone\": \"{{customer_phone}}\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"https://{{domain}}/payment/invoice/{{invoice_id}}/sms","description":"<p>Send Invoice by SMS</p>\n<p>Replace in the URL instead of 123456</p>\n","auth":{"type":"apikey","apikey":{"value":"{{server_key}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"fbf27e62-9b8d-4e0a-99ab-eb88b276971f","id":"fbf27e62-9b8d-4e0a-99ab-eb88b276971f","name":"PT-2 Direct API","type":"collection"}},"urlObject":{"protocol":"https","path":["payment","invoice","{{invoice_id}}","sms"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"26f07309-24d0-43da-acb5-98ed86e1a9cf","name":"Success","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"profile_id\": {{profile_id}},\r\n    \"customer_details\": {\r\n        \"phone\": \"{{customer_phone}}\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"https://{{domain}}/payment/invoice/{{invoice_id}}/sms"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 24 Mar 2025 06:56:48 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"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; font-src 'self' data: *.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 *; child-src 'self' *.paytabs.com;"},{"key":"Cache-Control","value":"private"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"9254454bdb8676b3-HKG"},{"key":"Content-Encoding","value":"br"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Invoice 4387736 sent to +971 52 781 4059\"\n}"},{"id":"74740d42-fa73-42c6-b085-9051dc45f2f7","name":"Fail - Invalid phone number","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"profile_id\": {{profile_id}},\r\n    \"customer_details\": {\r\n        \"phone\": \"{{customer_phone}}\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"https://{{domain}}/payment/invoice/{{invoice_id}}/sms"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 24 Mar 2025 06:45:43 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"84"},{"key":"Connection","value":"keep-alive"},{"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; font-src 'self' data: *.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 *; child-src 'self' *.paytabs.com;"},{"key":"Cache-Control","value":"private"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"92543510f8d72a6e-CDG"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": 2,\n    \"message\": \"API: failed to send SMS\",\n    \"trace\": \"PMNT0102.67E0FF97.00063EFD\"\n}"},{"id":"0ee1f448-cdb3-460d-95ab-5cef3f589452","name":"Fail - Invoice is Paid","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"profile_id\": {{profile_id}},\r\n    \"customer_details\": {\r\n        \"phone\": \"{{customer_phone}}\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"https://{{domain}}/payment/invoice/{{invoice_id}}/sms"},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 24 Mar 2025 07:01:21 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"81"},{"key":"Connection","value":"keep-alive"},{"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; font-src 'self' data: *.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 *; child-src 'self' *.paytabs.com;"},{"key":"Cache-Control","value":"private"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"92544bfa69e4d4e6-NRT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": 2,\n    \"message\": \"Invoice already paid\",\n    \"trace\": \"PMNT0101.67E10341.0006467A\"\n}"},{"id":"4e7b6242-e8c4-45a3-a543-996cd21fbf99","name":"Fail - Invoice is Cancelled","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"profile_id\": {{profile_id}},\r\n    \"customer_details\": {\r\n        \"phone\": \"{{customer_phone}}\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"https://{{domain}}/payment/invoice/{{invoice_id}}/sms"},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 24 Mar 2025 07:03:25 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"87"},{"key":"Connection","value":"keep-alive"},{"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; font-src 'self' data: *.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 *; child-src 'self' *.paytabs.com;"},{"key":"Cache-Control","value":"private"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"92544efe0e14ddc1-HKG"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": 2,\n    \"message\": \"Invoice has been cancelled\",\n    \"trace\": \"PMNT0102.67E103BD.00064408\"\n}"}],"_postman_id":"780f1a04-0dff-4932-8039-4b9624284ea6"},{"name":"Search","id":"c1e8e26f-969b-4462-83da-21f7363d235e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"profile_id\": {{profile_id}},\r\n    \"created_date_from\": \"01/09/2023\",\r\n    \"created_date_to\": \"03/10/2023\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://{{domain}}/payment/invoice/search","auth":{"type":"apikey","apikey":{"value":"{{server_key}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"fbf27e62-9b8d-4e0a-99ab-eb88b276971f","id":"fbf27e62-9b8d-4e0a-99ab-eb88b276971f","name":"PT-2 Direct API","type":"collection"}},"urlObject":{"protocol":"https","path":["payment","invoice","search"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"c1e8e26f-969b-4462-83da-21f7363d235e"},{"name":"Mark as Paid","id":"b9bbb09c-b26a-460f-9aa9-ae39a0db8567","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    \"invoice_currency\": \"{{currency}}\",\r\n    \"invoice_total\": 75.00,\r\n    \"pay_method\": \"cheque\",\r\n    \"pay_description\": \"Cheque number 1234\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://{{domain}}/payment/invoice/paid","auth":{"type":"apikey","apikey":{"value":"{{server_key}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"fbf27e62-9b8d-4e0a-99ab-eb88b276971f","id":"fbf27e62-9b8d-4e0a-99ab-eb88b276971f","name":"PT-2 Direct API","type":"collection"}},"urlObject":{"protocol":"https","path":["payment","invoice","paid"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"c25cfbbc-769c-465d-8e29-1fee85d2b691","name":"Success","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    \"invoice_currency\": \"{{currency}}\",\r\n    \"invoice_total\": 9.5,\r\n    \"pay_method\": \"cheque\",\r\n    \"pay_description\": \"Cheque number 1234\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://{{domain}}/payment/invoice/paid"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 24 Mar 2025 11:26:22 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"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.sa; font-src 'self' data: *.paytabs.sa; img-src https: data:; style-src 'self' *.paytabs.sa 'unsafe-inline'; script-src 'self' *.paytabs.sa 'unsafe-inline' 'unsafe-eval'; connect-src 'self' *.paytabs.sa; frame-src *; child-src 'self' *.paytabs.sa;"},{"key":"Cache-Control","value":"private"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"9255d0264feadd8a-HKG"},{"key":"Content-Encoding","value":"br"}],"cookie":[],"responseTime":null,"body":"{\n    \"profile_id\": 48214,\n    \"invoice_id\": 1394394,\n    \"invoice_currency\": \"SAR\",\n    \"invoice_total\": \"9.50\",\n    \"pay_method\": \"Cheque\",\n    \"pay_description\": \"Cheque number 1234\",\n    \"tran_ref\": \"TST2508301021297\"\n}"},{"id":"a802187a-3f09-4b72-8fa8-3a4acb9b8410","name":"Fail - Disabled option","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    \"invoice_currency\": \"{{currency}}\",\r\n    \"invoice_total\": 9.5,\r\n    \"pay_method\": \"cheque\",\r\n    \"pay_description\": \"Cheque number 1234\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://{{domain}}/payment/invoice/paid"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 24 Mar 2025 11:26:54 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"78"},{"key":"Connection","value":"keep-alive"},{"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; font-src 'self' data: *.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 *; child-src 'self' *.paytabs.com;"},{"key":"Cache-Control","value":"private"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"9255d0f24a44263f-NRT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": 2,\n    \"message\": \"API not supported\",\n    \"trace\": \"PMNT0402.67E1417E.0006A009\"\n}"}],"_postman_id":"b9bbb09c-b26a-460f-9aa9-ae39a0db8567"},{"name":"Download PDF","id":"cf36fa64-e1cc-4291-b803-31e44a69dfca","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://{{domain}}/payment/invoice/{{invoice_id}}/download/pdf","auth":{"type":"apikey","apikey":{"value":"{{server_key}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"fbf27e62-9b8d-4e0a-99ab-eb88b276971f","id":"fbf27e62-9b8d-4e0a-99ab-eb88b276971f","name":"PT-2 Direct API","type":"collection"}},"urlObject":{"protocol":"https","path":["payment","invoice","{{invoice_id}}","download","pdf"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"cf36fa64-e1cc-4291-b803-31e44a69dfca"}],"id":"5912ebee-d9d7-44e0-b2b8-ad1f0c974f25","description":"<p><b>Creation and management of invoices</b><br />\nactivation_date - Activation date of invoice<br />\nexpiry_date - Expiry date of invoice (should be greater than due date)<br />\ndue_date - Due date of invoice (should be greater than or equal to activation date)</p>\n<p>Supported date formats:</p>\n<ul>\n<li>Unix timestamp</li>\n<li>RFC3339 format</li>\n</ul>\n","_postman_id":"5912ebee-d9d7-44e0-b2b8-ad1f0c974f25","auth":{"type":"apikey","apikey":{"value":"{{server_key}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"fbf27e62-9b8d-4e0a-99ab-eb88b276971f","id":"fbf27e62-9b8d-4e0a-99ab-eb88b276971f","name":"PT-2 Direct API","type":"collection"}}},{"name":"Inquiry","item":[{"name":"ValU inquery","id":"2b434491-a858-4a52-be15-e3e0a3fd5d56","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    \"cart_amount\": \"1200\",\r\n    \"cart_currency\": \"EGP\",\r\n    \"customer_details\": {\r\n        \"phone\": \"{{valu_phone}}\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"https://{{domain}}/payment/info/valu/inquiry","auth":{"type":"apikey","apikey":{"value":"{{server_key}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"fbf27e62-9b8d-4e0a-99ab-eb88b276971f","id":"fbf27e62-9b8d-4e0a-99ab-eb88b276971f","name":"PT-2 Direct API","type":"collection"}},"urlObject":{"protocol":"https","path":["payment","info","valu","inquiry"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[{"id":"bb446e72-c971-4f70-9f11-4efef9ee4947","name":"Success","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"{{server_key}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"profile_id\": {{profile_id}},\r\n    \"cart_amount\": \"1199.0\",\r\n    \"cart_currency\": \"EGP\",\r\n    \"customer_details\": {\r\n        \"phone\": \"{{mobile_number}}\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"https://{{domain}}/payment/info/valu/inquiry"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 27 Sep 2023 06:29:30 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"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 *; child-src 'self' *.paytabs.com;"},{"key":"Cache-Control","value":"private"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"80d1b124b8362a62-CDG"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"trace\": \"PMNT0404.6513CBC3.00003021\",\n    \"valuResponse\": {\n        \"responseCode\": \"0\",\n        \"responseDesc\": \"SUCCESS\",\n        \"mobileNumber\": \"01000006000\",\n        \"minimumDownPayment\": \"0\",\n        \"productList\": [\n            {\n                \"productPrice\": \"1199\",\n                \"ToUAmount\": \"0\",\n                \"CashbackAmount\": \"0\",\n                \"financedAmount\": \"1199\",\n                \"orderId\": \"312449999\",\n                \"tenureList\": [\n                    {\n                        \"tenorMonth\": 1,\n                        \"emi\": \"1232\",\n                        \"adminFees\": \"0\",\n                        \"downPayment\": \"0\"\n                    },\n                    {\n                        \"tenorMonth\": 2,\n                        \"emi\": \"625\",\n                        \"adminFees\": \"0\",\n                        \"downPayment\": \"0\"\n                    },\n                    {\n                        \"tenorMonth\": 3,\n                        \"emi\": \"422\",\n                        \"adminFees\": \"0\",\n                        \"downPayment\": \"0\"\n                    },\n                    {\n                        \"tenorMonth\": 4,\n                        \"emi\": \"321\",\n                        \"adminFees\": \"0\",\n                        \"downPayment\": \"0\"\n                    },\n                    {\n                        \"tenorMonth\": 5,\n                        \"emi\": \"260\",\n                        \"adminFees\": \"0\",\n                        \"downPayment\": \"0\"\n                    },\n                    {\n                        \"tenorMonth\": 6,\n                        \"emi\": \"220\",\n                        \"adminFees\": \"0\",\n                        \"downPayment\": \"0\"\n                    },\n                    {\n                        \"tenorMonth\": 9,\n                        \"emi\": \"152\",\n                        \"adminFees\": \"0\",\n                        \"downPayment\": \"0\"\n                    },\n                    {\n                        \"tenorMonth\": 12,\n                        \"emi\": \"119\",\n                        \"adminFees\": \"0\",\n                        \"downPayment\": \"0\"\n                    },\n                    {\n                        \"tenorMonth\": 15,\n                        \"emi\": \"99\",\n                        \"adminFees\": \"0\",\n                        \"downPayment\": \"0\"\n                    },\n                    {\n                        \"tenorMonth\": 18,\n                        \"emi\": \"86\",\n                        \"adminFees\": \"0\",\n                        \"downPayment\": \"0\"\n                    },\n                    {\n                        \"tenorMonth\": 21,\n                        \"emi\": \"76\",\n                        \"adminFees\": \"0\",\n                        \"downPayment\": \"0\"\n                    },\n                    {\n                        \"tenorMonth\": 24,\n                        \"emi\": \"69\",\n                        \"adminFees\": \"0\",\n                        \"downPayment\": \"0\"\n                    },\n                    {\n                        \"tenorMonth\": 27,\n                        \"emi\": \"64\",\n                        \"adminFees\": \"0\",\n                        \"downPayment\": \"0\"\n                    },\n                    {\n                        \"tenorMonth\": 30,\n                        \"emi\": \"59\",\n                        \"adminFees\": \"0\",\n                        \"downPayment\": \"0\"\n                    },\n                    {\n                        \"tenorMonth\": 33,\n                        \"emi\": \"56\",\n                        \"adminFees\": \"0\",\n                        \"downPayment\": \"0\"\n                    },\n                    {\n                        \"tenorMonth\": 36,\n                        \"emi\": \"53\",\n                        \"adminFees\": \"0\",\n                        \"downPayment\": \"0\"\n                    },\n                    {\n                        \"tenorMonth\": 39,\n                        \"emi\": \"51\",\n                        \"adminFees\": \"0\",\n                        \"downPayment\": \"0\"\n                    },\n                    {\n                        \"tenorMonth\": 42,\n                        \"emi\": \"49\",\n                        \"adminFees\": \"0\",\n                        \"downPayment\": \"0\"\n                    },\n                    {\n                        \"tenorMonth\": 45,\n                        \"emi\": \"47\",\n                        \"adminFees\": \"0\",\n                        \"downPayment\": \"0\"\n                    },\n                    {\n                        \"tenorMonth\": 48,\n                        \"emi\": \"45\",\n                        \"adminFees\": \"0\",\n                        \"downPayment\": \"0\"\n                    },\n                    {\n                        \"tenorMonth\": 51,\n                        \"emi\": \"44\",\n                        \"adminFees\": \"0\",\n                        \"downPayment\": \"0\"\n                    },\n                    {\n                        \"tenorMonth\": 54,\n                        \"emi\": \"43\",\n                        \"adminFees\": \"0\",\n                        \"downPayment\": \"0\"\n                    },\n                    {\n                        \"tenorMonth\": 57,\n                        \"emi\": \"42\",\n                        \"adminFees\": \"0\",\n                        \"downPayment\": \"0\"\n                    },\n                    {\n                        \"tenorMonth\": 60,\n                        \"emi\": \"41\",\n                        \"adminFees\": \"0\",\n                        \"downPayment\": \"0\"\n                    }\n                ]\n            }\n        ]\n    }\n}"},{"id":"cf9c6727-3d95-4fab-84a3-c00be45801bc","name":"Failure - mobile not registered","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"{{server_key}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"profile_id\": {{profile_id}},\r\n    \"cart_amount\": \"1199.0\",\r\n    \"cart_currency\": \"EGP\",\r\n    \"customer_details\": {\r\n        \"phone\": \"01008601003\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"https://{{domain}}/payment/info/valu/inquiry"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 27 Sep 2023 06:31:04 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"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 *; child-src 'self' *.paytabs.com;"},{"key":"Cache-Control","value":"private"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"80d1b3836f692a62-CDG"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"trace\": \"PMNT0404.6513CC24.0000308E\",\n    \"valuResponse\": {\n        \"responseCode\": \"ERR_CST_01\",\n        \"responseDesc\": \"Customer not found\",\n        \"mobileNumber\": \"01008601003\"\n    }\n}"},{"id":"295e2025-6cf4-4e39-ab6e-4ecf6bdf5dd6","name":"Failure - Invalid mobile number","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"{{server_key}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"profile_id\": {{profile_id}},\r\n    \"cart_amount\": \"1199.0\",\r\n    \"cart_currency\": \"EGP\",\r\n    \"customer_details\": {\r\n        \"phone\": \"01\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"https://{{domain}}/payment/info/valu/inquiry"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 27 Sep 2023 06:31:47 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"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 *; child-src 'self' *.paytabs.com;"},{"key":"Cache-Control","value":"private"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"80d1b4a5ed532a62-CDG"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"Unable to validate phone number\",\n    \"message\": \"Inquiry validation failed\"\n}"},{"id":"2c309fdf-aabd-4d02-bcfe-e3b095e179c3","name":"Failure - no mobile number","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"{{server_key}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"profile_id\": {{profile_id}},\r\n    \"cart_amount\": \"1199.0\",\r\n    \"cart_currency\": \"EGP\",\r\n    \"customer_details\": {\r\n        \r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"https://{{domain}}/payment/info/valu/inquiry"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 27 Sep 2023 06:32:09 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"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 *; child-src 'self' *.paytabs.com;"},{"key":"Cache-Control","value":"private"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"80d1b5321b2f2a62-CDG"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"Customer phone number must be provided\",\n    \"message\": \"Inquiry validation failed\"\n}"},{"id":"2368e041-a2e4-44f2-bbe4-6d9aec38e883","name":"Failure - Invalid amount","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"{{server_key}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"profile_id\": {{profile_id}},\r\n    \"cart_amount\": \"119.0\",\r\n    \"cart_currency\": \"EGP\",\r\n    \"customer_details\": {\r\n        \"phone\": \"{{mobile_number}}\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"https://{{domain}}/payment/info/valu/inquiry"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 27 Sep 2023 06:33:33 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"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 *; child-src 'self' *.paytabs.com;"},{"key":"Cache-Control","value":"private"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"80d1b7416a442a62-CDG"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"Request amount must be minimum of 1000.00\",\n    \"message\": \"Inquiry validation failed\"\n}"}],"_postman_id":"2b434491-a858-4a52-be15-e3e0a3fd5d56"}],"id":"ed00011e-eab3-4c25-aedc-71df204e07ef","_postman_id":"ed00011e-eab3-4c25-aedc-71df204e07ef","description":"","auth":{"type":"apikey","apikey":{"value":"{{server_key}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"fbf27e62-9b8d-4e0a-99ab-eb88b276971f","id":"fbf27e62-9b8d-4e0a-99ab-eb88b276971f","name":"PT-2 Direct API","type":"collection"}}},{"name":"Sadad","item":[{"name":"Payment Request","id":"3c8ed379-e3be-45f4-bb99-82c298d97ff5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"profile_id\": {{profile_id}},\r\n    \"amount\": 1765,\r\n    \"cart_id\": \"cart_9991\",\r\n    \"cart_description\": \"Test Sadad with Invoice Object\",\r\n    \"customer\": {\r\n        \"name\": \"{{customer_name}}\",\r\n        \"phone\": \"0505555555\"\r\n    },\r\n    \"callback\": \"{{callback_url}}\",\r\n    \"invoice\": {\r\n        \"line_items\": [\r\n            {\r\n                \"unit_cost\": 100,\r\n                \"quantity\": 5\r\n            },\r\n            {\r\n                \"sku\": \"001\",\r\n                \"description\": \"Rental Charges\",\r\n                \"unit_cost\": 1000,\r\n                \"quantity\": 1,\r\n                \"tax_rate\": 15,\r\n                \"tax_total\": 150,\r\n                \"total\": 1150\r\n            },\r\n            {\r\n                \"sku\": \"002\",\r\n                \"description\": \"Service Fee\",\r\n                \"unit_cost\": 100,\r\n                \"quantity\": 1,\r\n                \"tax_rate\": 15,\r\n                \"tax_total\": 15,\r\n                \"total\": 115\r\n            }\r\n        ]\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"https://{{domain}}/payment/apm/sadad/ifs/request","auth":{"type":"apikey","apikey":{"value":"{{server_key}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"fbf27e62-9b8d-4e0a-99ab-eb88b276971f","id":"fbf27e62-9b8d-4e0a-99ab-eb88b276971f","name":"PT-2 Direct API","type":"collection"}},"urlObject":{"protocol":"https","path":["payment","apm","sadad","ifs","request"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"3c8ed379-e3be-45f4-bb99-82c298d97ff5"},{"name":"Payment Request - Split payout","id":"b4e2d7e2-6814-42d1-9eff-fa979b1f2a27","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"profile_id\": {{profile_id}},\r\n    \"amount\": 500,\r\n    \"customer\": {\r\n        \"name\": \"{{customer_name}}\",\r\n        \"phone\": \"0505555555\"\r\n    },\r\n    \"split_payout\": [\r\n        {\r\n            \"entity_id\": 1000,\r\n            \"entity_name\": \"Restaurant\",\r\n            \"item_description\": \"Meal\",\r\n            \"item_total\": \"133.56\",\r\n            \"msc_flag\": \"p\",\r\n            \"beneficiary\": {\r\n                \"name\": \"Customer Name\",\r\n                \"account_number\": \"SAXX0X0000XXX000XXXXX000\",\r\n                \"country\": \"SA\",\r\n                \"bank\": \"bank name\",\r\n                \"bank_branch\": \"\",\r\n                \"email\": \"demo@paytabs.com\",\r\n                \"mobile_number\": \"+966XXXXXXXXX\",\r\n                \"address_1\": \"Riyadh\",\r\n                \"address_2\": \"\"\r\n            }\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://{{domain}}/payment/apm/sadad/ifs/request","auth":{"type":"apikey","apikey":{"value":"{{server_key}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"fbf27e62-9b8d-4e0a-99ab-eb88b276971f","id":"fbf27e62-9b8d-4e0a-99ab-eb88b276971f","name":"PT-2 Direct API","type":"collection"}},"urlObject":{"protocol":"https","path":["payment","apm","sadad","ifs","request"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"b4e2d7e2-6814-42d1-9eff-fa979b1f2a27"},{"name":"Payment Request - Inquiry","id":"fbfa3a24-2cd8-4da5-9d1e-876c504306f9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"profile_id\": {{profile_id}},\r\n    \"tran_ref\": \"TST2505001006695\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://{{domain}}/payment/apm/sadad/ifs/inquiry","auth":{"type":"apikey","apikey":{"value":"{{server_key}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"fbf27e62-9b8d-4e0a-99ab-eb88b276971f","id":"fbf27e62-9b8d-4e0a-99ab-eb88b276971f","name":"PT-2 Direct API","type":"collection"}},"urlObject":{"protocol":"https","path":["payment","apm","sadad","ifs","inquiry"],"host":["{{domain}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"fbfa3a24-2cd8-4da5-9d1e-876c504306f9"}],"id":"8115de98-0379-46e6-b901-e55676fca113","_postman_id":"8115de98-0379-46e6-b901-e55676fca113","description":"","auth":{"type":"apikey","apikey":{"value":"{{server_key}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"fbf27e62-9b8d-4e0a-99ab-eb88b276971f","id":"fbf27e62-9b8d-4e0a-99ab-eb88b276971f","name":"PT-2 Direct API","type":"collection"}}}],"auth":{"type":"apikey","apikey":{"value":"{{server_key}}","key":"<key>"}},"event":[{"listen":"prerequest","script":{"id":"65dc14af-8e8d-4fde-afe3-c94a9a9e563d","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"8dd1cb91-e3eb-4d3b-bb92-1bde4b96a2df","type":"text/javascript","exec":[""]}}]}