{"info":{"_postman_id":"e4d70019-075d-4657-9364-3463dc56cc40","name":"Aviorapay API Documentation","description":"<html><head></head><body><h1 id=\"overview\">Overview</h1>\n<hr>\n<p>Aviorapay is a payment gateway optimization and intelligence service that merchants can use to provide a remote and frictionless payment experience.</p>\n<p>This documentation will help you get started with integrating Aviorapay but if you have any questions, please do not hesitate to reach out to us via email at <a href=\"https://\">info@aviorapay.com</a></p>\n<p>Please be advised that our support team is only available during standard business hours.</p>\n<h1 id=\"environments\">Environments</h1>\n<hr>\n<p>These are the BaseUrls for the APIs on different environments:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Environment</strong></th>\n<th><strong>Base URL</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Production</td>\n<td><a href=\"https://\">https://app.aviorapay.com/api/v1</a></td>\n</tr>\n<tr>\n<td>Sandbox</td>\n<td><a href=\"https://\">https://app.aviorapay.com/api/v1</a>  <br><code>Note: set the Sandbox flag true (checked) in your merchant account. As shown in the image below</code></td>\n</tr>\n</tbody>\n</table>\n</div><h1 id=\"authentication\">Authentication</h1>\n<hr>\n<p>To access the API, you must acquire your unique API key from the merchant dashboard -&gt; API Keys section in your account. Make sure to use this key as a <strong>bearer token</strong> in the Authorization header for every request you send.</p>\n<p><code>AUTHORIZATION: Bearer Token</code></p>\n<p><code>Token: {{APIKey}} .</code></p>\n<p>Access your sandbox API key credentials by navigating to your merchant login and checking the 'is sandbox' option, located in the top right corner under merchant profile.</p>\n<img src=\"https://content.pstmn.io/16858f7f-aa9d-483d-8d9c-a3835761fe7f/VW50aXRsZWQgZGVzaWduICg1NykucG5n\" alt=\"\">\n\n<p>To get to the live API key, uncheck the <strong>'Is Sandbox'</strong> option in the top right corner of your merchant dashboard. After unchecking, the page will refresh, and you can generate an API key for live transactions in this environment.\"</p>\n<img src=\"https://content.pstmn.io/cc12856c-91f6-489a-9356-ca3e2403d075/VW50aXRsZWQgZGVzaWduICg1MikucG5n\" alt=\"\">\n\n<p>Reiterating, the API keys in Sandbox mode are for testing (when 'is sandbox' is CHECKED in the top right corner under merchant profile). The live API key credentials are for processing actual card transactions in Live mode (when 'is sandbox' is UNCHECKED in the same location)</p>\n<h1 id=\"request-headers\">Request Headers</h1>\n<hr>\n<p>Use these headers on every API call unless noted.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Header</th>\n<th>Value</th>\n<th>Required</th>\n<th>Notes</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>Content-Type</code></td>\n<td><code>application/json</code></td>\n<td>Yes</td>\n<td>All endpoints. Send JSON payloads.</td>\n</tr>\n<tr>\n<td><code>Authorization</code></td>\n<td><code>Bearer {MERCHANT_API_KEY}</code></td>\n<td>Yes</td>\n<td>All endpoints.  <br>Replace with your merchant API key.</td>\n</tr>\n<tr>\n<td><code>BrandId</code></td>\n<td><code>{YOUR_BRAND_ID}</code></td>\n<td>Conditional</td>\n<td><strong>Session</strong> and <strong>Customer</strong>APIs.  <br>optional in customer APIs but Mandatory in Session APIs</td>\n</tr>\n</tbody>\n</table>\n</div></body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[{"content":"Overview","slug":"overview"},{"content":"Environments","slug":"environments"},{"content":"Authentication","slug":"authentication"},{"content":"Request Headers","slug":"request-headers"}],"owner":"54431596","collectionId":"e4d70019-075d-4657-9364-3463dc56cc40","publishedId":"2sBXwwnnYx","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"6C84A8"},"publishDate":"2026-06-24T07:01:56.000Z"},"item":[{"name":"⚙️ Integration Steps","item":[],"id":"62004153-90c9-4655-94e2-6c51f3f222de","description":"<p>To start integrating you should already have your Merchant access to our admin portal and sandbox credentials which you will need to complete the integration.</p>\n<h1 id=\"1-setup--check-merchant-details\">1. Setup &amp; check merchant details</h1>\n<p>The first step in getting your integration ready is to check whether all the details about you as a merchant are correct on our Merchant portal. If you detect anomalies, then please contact your Account Manager.</p>\n<p>Start with sandbox mode (see top right-hand corner on your merchant portal to toggle between modes) and generate API Key, Brand ID and Public Key and also set up the callback URLs for subscribing to webhooks.</p>\n<ol>\n<li><p><strong>API Key</strong> - necessary to send transactions via API</p>\n</li>\n<li><p><strong>Brand ID</strong> - needed to send transaction. Use different brand IDs for different shops or brands.</p>\n</li>\n<li><p><strong>Public Key -</strong> needed to signature verification received in headers of the webhook</p>\n</li>\n<li><p><strong>Webhook</strong> - recommended to get notifications from our server to your server to inform you of transaction status changes and notifications about transactions. You can check all the details of how our webhooks work on the Webhooks page.</p>\n</li>\n</ol>\n<h1 id=\"2-test-the-integration-in-sandbox-mode\">2. Test the integration in Sandbox Mode</h1>\n<p>After finishing your integration, make sure your code is working as intended and test the purchase flow in the staging environment.</p>\n<h3 id=\"testing-credentials-only-on-sandbox-mode\">Testing Credentials (only on Sandbox mode)</h3>\n<p>You have the opportunity to test the APIs by performing test purchases using the below test cards. We have introduced new test cards from 18th December 2025 onwards, which will have more exhaustive error messages helping you test different types of card transactions.</p>\n<p>The cards mentioned above will stop working and the below mentioned cards will be used:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>card_type</strong></th>\n<th><strong>Card Numbers</strong></th>\n<th>auth_type</th>\n<th>Behaviour</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Master</td>\n<td>5141922635866282</td>\n<td>3D Secure</td>\n<td>Authentication Successful</td>\n</tr>\n<tr>\n<td>Master</td>\n<td>5169811636324572</td>\n<td>3D Secure</td>\n<td>Authentication Failed</td>\n</tr>\n<tr>\n<td>Master</td>\n<td>5143312606271514</td>\n<td>2D Secure</td>\n<td>Insufficient funds</td>\n</tr>\n<tr>\n<td>Master</td>\n<td>5199805409482512</td>\n<td>2D Secure</td>\n<td>Pending execution</td>\n</tr>\n<tr>\n<td>Master</td>\n<td>5146669487735546</td>\n<td>2D Secure</td>\n<td>Incorrect card expiry</td>\n</tr>\n<tr>\n<td>Master</td>\n<td>5151735930865446</td>\n<td>3D Secure</td>\n<td>Incorrect cvv</td>\n</tr>\n<tr>\n<td>Master</td>\n<td>5185151885032695</td>\n<td>3D Secure</td>\n<td>Processor timeout</td>\n</tr>\n<tr>\n<td>Master</td>\n<td>5149446104369687</td>\n<td>2D Secure</td>\n<td>Refund failed</td>\n</tr>\n<tr>\n<td>Master</td>\n<td>5127160683722580</td>\n<td>3D Secure</td>\n<td>Transaction expired</td>\n</tr>\n<tr>\n<td>Master</td>\n<td>5159971600530380</td>\n<td>3D Secure</td>\n<td>Risk check failed</td>\n</tr>\n<tr>\n<td>Master</td>\n<td>5198134892284199</td>\n<td>2D Secure</td>\n<td>Issuer decline</td>\n</tr>\n<tr>\n<td>Master</td>\n<td>5116213113429327</td>\n<td>2D Secure</td>\n<td>Authentication successful</td>\n</tr>\n<tr>\n<td>Master</td>\n<td>5112857124909935</td>\n<td>2D Secure</td>\n<td>Authentication failed</td>\n</tr>\n<tr>\n<td>Master</td>\n<td>5156216152193051</td>\n<td>3D Secure</td>\n<td>Insufficient funds</td>\n</tr>\n<tr>\n<td>Master</td>\n<td>5170361568993009</td>\n<td>3D Secure</td>\n<td>Pending execution</td>\n</tr>\n<tr>\n<td>Master</td>\n<td>5559161923541480</td>\n<td>3D Secure</td>\n<td>Incorrect card expiry</td>\n</tr>\n<tr>\n<td>Master</td>\n<td>5110339832985475</td>\n<td>2D Secure</td>\n<td>Incorrect cvv</td>\n</tr>\n<tr>\n<td>Master</td>\n<td>5136528486494418</td>\n<td>2D Secure</td>\n<td>Processor timeout</td>\n</tr>\n<tr>\n<td>Master</td>\n<td>5162164630471008</td>\n<td>3D Secure</td>\n<td>Refund failed</td>\n</tr>\n<tr>\n<td>Master</td>\n<td>5140378358642890</td>\n<td>2D Secure</td>\n<td>Transaction expired</td>\n</tr>\n<tr>\n<td>Master</td>\n<td>5192488343990234</td>\n<td>2D Secure</td>\n<td>Risk check failed</td>\n</tr>\n<tr>\n<td>Master</td>\n<td>5115438560834809</td>\n<td>3D Secure</td>\n<td>Issuer decline</td>\n</tr>\n<tr>\n<td>VISA</td>\n<td>4079722589318630</td>\n<td>2D Secure</td>\n<td>Authentication successful</td>\n</tr>\n<tr>\n<td>VISA</td>\n<td>4878397953290146</td>\n<td>3D Secure</td>\n<td>Authentication successful</td>\n</tr>\n<tr>\n<td>VISA</td>\n<td>4125485445527190</td>\n<td>2D Secure</td>\n<td>Authentication failed</td>\n</tr>\n<tr>\n<td>VISA</td>\n<td>4984823599573265</td>\n<td>3D Secure</td>\n<td>Insufficient funds</td>\n</tr>\n<tr>\n<td>VISA</td>\n<td>4710793097358785</td>\n<td>2D Secure</td>\n<td>Pending execution</td>\n</tr>\n<tr>\n<td>VISA</td>\n<td>4500682811540204</td>\n<td>3D Secure</td>\n<td>Incorrect card expiry</td>\n</tr>\n<tr>\n<td>VISA</td>\n<td>4935648707390280</td>\n<td>2D Secure</td>\n<td>Incorrect cvv</td>\n</tr>\n<tr>\n<td>VISA</td>\n<td>4241214813524459</td>\n<td>3D Secure</td>\n<td>Refund failed</td>\n</tr>\n<tr>\n<td>VISA</td>\n<td>4342346318195134</td>\n<td>3D Secure</td>\n<td>Risk check failed</td>\n</tr>\n<tr>\n<td>VISA</td>\n<td>4618889598319798</td>\n<td>3D Secure</td>\n<td>Issuer decline</td>\n</tr>\n<tr>\n<td>VISA</td>\n<td>4195258724913240</td>\n<td>3D Secure</td>\n<td>Authentication failed</td>\n</tr>\n<tr>\n<td>VISA</td>\n<td>4662922293431520</td>\n<td>2D Secure</td>\n<td>Insufficient funds</td>\n</tr>\n<tr>\n<td>VISA</td>\n<td>4994455060632359</td>\n<td>3D Secure</td>\n<td>Pending execution</td>\n</tr>\n<tr>\n<td>VISA</td>\n<td>4460652052832634</td>\n<td>2D Secure</td>\n<td>Incorrect card expiry</td>\n</tr>\n<tr>\n<td>VISA</td>\n<td>4383025225665997</td>\n<td>3D Secure</td>\n<td>Incorrect cvv</td>\n</tr>\n<tr>\n<td>VISA</td>\n<td>4568730114361775</td>\n<td>2D Secure</td>\n<td>Processor timeout</td>\n</tr>\n<tr>\n<td>VISA</td>\n<td>4163340122068617</td>\n<td>3D Secure</td>\n<td>Processor timeout</td>\n</tr>\n<tr>\n<td>VISA</td>\n<td>4405935956954713</td>\n<td>2D Secure</td>\n<td>Refund failed</td>\n</tr>\n<tr>\n<td>VISA</td>\n<td>4945208335596614</td>\n<td>2D Secure</td>\n<td>Transaction expired</td>\n</tr>\n<tr>\n<td>VISA</td>\n<td>4566329901944380</td>\n<td>3D Secure</td>\n<td>Transaction expired</td>\n</tr>\n<tr>\n<td>VISA</td>\n<td>4588381711517694</td>\n<td>2D Secure</td>\n<td>Risk check failed</td>\n</tr>\n<tr>\n<td>VISA</td>\n<td>4401279985739470</td>\n<td>2D Secure</td>\n<td>Issuer decline</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Note:</strong><br />You can enter any expiry month and year which is larger or equal to the current month/year.<br />You can enter any cvv.<br />OTP will only be 123456 for 3ds cases.</p>\n<p>Currently, only card payment testing is supported in the sandbox environment. Testing Alternative Payment Methods (APMs) is not available in the sandbox at this time.</p>\n<h1 id=\"3-create-and-test-credentials-on-the-live-mode\">3. Create and test credentials on the Live Mode</h1>\n<p>After finishing your integration in sandbox mode, set up your production environment by turning off the sandbox mode from merchant dashboard and following the same steps mentioned in step one. Test the integration using small amounts to ensure everything is working.</p>\n<h1 id=\"4-go-live\">4. Go live!</h1>\n<p>Inform your Account Manager when the setup is done to get started with processing live traffic.</p>\n","auth":{"type":"noauth","isInherited":false},"event":[{"listen":"prerequest","script":{"type":"text/javascript","packages":{},"requests":{},"exec":[""],"id":"12a00859-3e08-480f-9d2f-2442d896e1c9"}},{"listen":"test","script":{"type":"text/javascript","packages":{},"requests":{},"exec":[""],"id":"ee72d64b-7a7a-49a9-a289-5547d20fa23f"}}],"_postman_id":"62004153-90c9-4655-94e2-6c51f3f222de"},{"name":"🔌 Webhooks","item":[{"name":"PayIn","item":[],"id":"669710a2-7795-4a17-a3d7-ee2253a00a63","description":"<h2 id=\"overview\"><strong>Overview</strong></h2>\n<p>When a transaction status changes to a terminal state (e.g., paid, refunded, expired), our payment gateway sends a server-to-server POST callback to the merchant's configured Webhook URL.</p>\n<p>The callback includes full transaction details so the merchant can update order status in real time.</p>\n<h3 id=\"webhook-events-for-payins\"><strong>Webhook Events for Payins</strong></h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Event type</strong></th>\n<th><strong>Status</strong></th>\n<th><strong>When is the event triggered</strong></th>\n<th><strong>Is this a terminal event?</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>purchase created</strong></td>\n<td><code>created</code></td>\n<td>Triggered when a new purchase request is initialized and recorded in the system.</td>\n<td>❌ No</td>\n</tr>\n<tr>\n<td><strong>payment in process</strong></td>\n<td><code>payment_in_process</code></td>\n<td>Triggered when the payment is initiated and awaiting confirmation from the PSP/bank.</td>\n<td>❌ No</td>\n</tr>\n<tr>\n<td><strong>purchase overdue</strong></td>\n<td><code>overdue</code></td>\n<td>Triggered when a purchase remains in the CREATED state and the configured <em>Transaction Overdue Hours</em> (from Admin Settings) have elapsed, the system automatically updates the purchase status to OVERDUE</td>\n<td>❌ No (may lead to failed/expired/paid later)</td>\n</tr>\n<tr>\n<td><strong>purchase paid</strong></td>\n<td><code>paid</code></td>\n<td>Triggered when the payment is successfully completed and confirmed.</td>\n<td>✅ Yes</td>\n</tr>\n<tr>\n<td><strong>purchase failed</strong></td>\n<td><code>error</code></td>\n<td>Triggered when the payment attempt fails due to technical error, insufficient funds, or rejection by PSP/bank.</td>\n<td>✅ Yes</td>\n</tr>\n<tr>\n<td><strong>purchase cancelled</strong></td>\n<td><code>cancelled</code></td>\n<td>Triggered when the customer or system cancels the purchase before completion.</td>\n<td>✅ Yes</td>\n</tr>\n<tr>\n<td><strong>purchase expired</strong></td>\n<td><code>expired</code></td>\n<td>Triggered when the purchase is not paid within the allowed expiry time.</td>\n<td>✅ Yes</td>\n</tr>\n<tr>\n<td><strong>refund in process</strong></td>\n<td><code>refund_in_process</code></td>\n<td>Triggered when a refund has been initiated but is not yet completed/settled.</td>\n<td>❌ No</td>\n</tr>\n<tr>\n<td><strong>payment refund</strong></td>\n<td><code>refunded</code> / <code>fraud_refunded</code></td>\n<td>Triggered when the completed payment is refunded, refunded due to fraud, or reversed via chargeback.</td>\n<td>✅ Yes</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"webhook-payload-specification\"><strong>Webhook Payload Specification</strong></h4>\n<p><strong>Fields Description</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Key</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>message.purchaseId</td>\n<td>Unique identifier of the purchase generated by Aviorapay.</td>\n</tr>\n<tr>\n<td>message.client</td>\n<td>Customer’s ID in merchant’s system (if available), otherwise \"NA\".</td>\n</tr>\n<tr>\n<td>message.client.email</td>\n<td>Customer’s email address.</td>\n</tr>\n<tr>\n<td>message.client.phone</td>\n<td>Customer’s phone number (with country code).</td>\n</tr>\n<tr>\n<td>message.client.full_name</td>\n<td>Full name of the customer.</td>\n</tr>\n<tr>\n<td>message.client.date_of_birth</td>\n<td>Customer’s date of birth in YYYY-MM-DD format.</td>\n</tr>\n<tr>\n<td>message.client.street_address</td>\n<td>Customer’s full street address.</td>\n</tr>\n<tr>\n<td>message.client.country</td>\n<td>ISO 2-letter country code of the customer.</td>\n</tr>\n<tr>\n<td>message.client.city</td>\n<td>City name (and state, if applicable).</td>\n</tr>\n<tr>\n<td>message.client.zip_code</td>\n<td>Postal / ZIP code.</td>\n</tr>\n<tr>\n<td>message.client.stateCode</td>\n<td>ISO 2-letter state code.</td>\n</tr>\n<tr>\n<td>message.updated_on</td>\n<td>UNIX timestamp of the last update to the transaction.</td>\n</tr>\n<tr>\n<td>message.type</td>\n<td>Type of transaction (e.g., \"purchase\").</td>\n</tr>\n<tr>\n<td>message.paymentMethod</td>\n<td>Comma-separated list of payment methods used (e.g., \"MASTER,VISA,JCB\").</td>\n</tr>\n<tr>\n<td>message.amountUnit</td>\n<td>Unit of amount — \"MAJOR\" for full currency unit, \"MINOR\" for subunits.</td>\n</tr>\n<tr>\n<td>message.errorMsg</td>\n<td>Message describing the transaction result — success message or error details.</td>\n</tr>\n<tr>\n<td>message.created_on</td>\n<td>UNIX timestamp when the purchase was created.</td>\n</tr>\n<tr>\n<td>message.merchantRef</td>\n<td>Unique transaction reference from the merchant.</td>\n</tr>\n<tr>\n<td>message.merchantName</td>\n<td>Registered merchant name in Aviorapay.</td>\n</tr>\n<tr>\n<td>message.purchase.currency</td>\n<td>Currency code (ISO 4217).</td>\n</tr>\n<tr>\n<td>message.purchase.products</td>\n<td>Array of product details (name, quantity, price, discount, tax).</td>\n</tr>\n<tr>\n<td>message.purchase.total</td>\n<td>Total amount for all products (in amount unit).</td>\n</tr>\n<tr>\n<td>message.purchase.language</td>\n<td>Language code for the transaction (ISO 639-1).</td>\n</tr>\n<tr>\n<td>message.payment.payment_type</td>\n<td>Type of payment (e.g., \"PURCHASE\").</td>\n</tr>\n<tr>\n<td>message.payment.amount</td>\n<td>Payment amount.</td>\n</tr>\n<tr>\n<td>message.payment.currency</td>\n<td>Payment currency.</td>\n</tr>\n<tr>\n<td>message.payment.paid_on</td>\n<td>UNIX timestamp when the payment was completed.</td>\n</tr>\n<tr>\n<td>message.status</td>\n<td>Current transaction status.</td>\n</tr>\n<tr>\n<td>message.status_history</td>\n<td>Array of all past statuses with timestamps.</td>\n</tr>\n<tr>\n<td>message.reference</td>\n<td>Aviorapay’s unique transaction reference.</td>\n</tr>\n<tr>\n<td>status (root-level)</td>\n<td>Duplicate of current status for quick access.</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"possible-status-values\"><strong>Possible Status Values</strong></h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>status</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>error</td>\n<td>purchase failed due to an error.</td>\n</tr>\n<tr>\n<td>cancelled</td>\n<td>purchase was cancelled by the user or system.</td>\n</tr>\n<tr>\n<td>created</td>\n<td>purchase record created but not paid yet.</td>\n</tr>\n<tr>\n<td>expired</td>\n<td>payment link or session expired.</td>\n</tr>\n<tr>\n<td>overdue</td>\n<td>payment overdue.</td>\n</tr>\n<tr>\n<td>paid</td>\n<td>payment completed successfully.</td>\n</tr>\n<tr>\n<td>refunded</td>\n<td>payment refunded.</td>\n</tr>\n<tr>\n<td>fraud_refunded</td>\n<td>refunded due to fraud detection.</td>\n</tr>\n<tr>\n<td>chargeback</td>\n<td>reversed due to chargeback.</td>\n</tr>\n<tr>\n<td>payment_in_process</td>\n<td>payment is in progress.</td>\n</tr>\n<tr>\n<td>refund_in_process</td>\n<td>refund process started but not completed.</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"🔐-key-pair-generation\"><strong>🔐 Key Pair Generation</strong></h2>\n<p><strong>Aviorapay uses RSA key pairs to digitally sign webhooks, ensuring all notifications are both secure and authentic.</strong></p>\n<hr />\n<p><strong>1. Generate Your Keys</strong></p>\n<img src=\"https://content.pstmn.io/6e17a656-3d35-471b-9eb3-9b4e22306c02/U2NyZWVuc2hvdCAyMDI1LTExLTE3IGF0IDguMzIuNDTigK9BTS5wbmc=\" />\n\n<ul>\n<li><p>Click “Generate Key Pair” in the dashboard.</p>\n</li>\n<li><p>A unique RSA private key and public key are created for your merchant ID.</p>\n</li>\n</ul>\n<p><strong>2. Key Storage</strong></p>\n<img src=\"https://content.pstmn.io/336ed3b4-84ad-4df2-bfbb-d59ac9427185/U2NyZWVuc2hvdCAyMDI1LTExLTE3IGF0IDguMzUuMDLigK9BTS5wbmc=\" />\n\n<ul>\n<li><p>Private Key → Stored securely by Aviorapay (never exposed).</p>\n</li>\n<li><p>Public Key → Displayed to you once on the screen. Copy and save it for verifying signatures.</p>\n</li>\n</ul>\n<p><strong>3. Webhook Signing</strong></p>\n<ul>\n<li><p>Every webhook payload is signed using Aviorapay’s private key.</p>\n</li>\n<li><p>The signature is included in webhook headers:</p>\n<ul>\n<li>aviorapay-sign or aviorapay_sign</li>\n</ul>\n</li>\n</ul>\n<p><strong>4. Verification</strong></p>\n<ul>\n<li><p>Use your public key to verify the aviorapay-sign header against the webhook body.</p>\n</li>\n<li><p>This ensures the webhook came from Aviorapay and was not tampered with.</p>\n</li>\n</ul>\n<h2 id=\"🔏-signature-aviorapay-sign-or-aviorapay_sign\"><strong>🔏 Signature: aviorapay-sign (or aviorapay_sign)</strong></h2>\n<p><strong>The aviorapay-sign header is a Base64-encoded digital signature generated using your merchant-specific RSA private key.</strong></p>\n<hr />\n<h3 id=\"🔨-how-the-signature-is-generated\"><strong>🔨 How the Signature is Generated</strong></h3>\n<ol>\n<li>Message Construction</li>\n</ol>\n<p>Concatenate the following fields in order:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{purchaseId}|{message.status}|{brandId}\n\n</code></pre>\n<p>Example</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>1234567890|PAID|BRAND_001\n\n</code></pre><p>2. Signing Algorithm</p>\n<ul>\n<li><p>Algorithm: SHA256withRSA</p>\n</li>\n<li><p>Output: Base64-encoded signature (sent in the aviorapay-sign header).</p>\n</li>\n</ul>\n<h3 id=\"✅-how-to-verify-the-signature\"><strong>✅ How to Verify the Signature</strong></h3>\n<ol>\n<li>Rebuild the Message</li>\n</ol>\n<p>From the webhook JSON body, extract:</p>\n<ul>\n<li><p>purchaseId</p>\n</li>\n<li><p>status (convert to uppercase)</p>\n</li>\n<li><p>brandId</p>\n</li>\n</ul>\n<p>Reconstruct the string in the same format:<br />{purchaseId}|{message.status}|{brandId}</p>\n<p>2. Verification Steps</p>\n<ul>\n<li><p>Use your stored public key.</p>\n</li>\n<li><p>Decode the aviorapay-sign header from Base64.</p>\n</li>\n<li><p>Verify using SHA256withRSA.</p>\n</li>\n<li><p>If verification succeeds, the webhook is authentic and untampered.</p>\n</li>\n</ul>\n<hr />\n<h3 id=\"💻-java-verification-example\"><strong>💻 Java Verification Example</strong></h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-java\">public static boolean verifySignature(String message, String signatureBase64, PublicKey publicKey) throws Exception {\n    Signature signature = Signature.getInstance(\"SHA256withRSA\");\n    signature.initVerify(publicKey);\n    signature.update(message.getBytes());\n    byte[] signatureBytes = Base64.getDecoder().decode(signatureBase64);\n    return signature.verify(signatureBytes);\n}\n\n</code></pre>\n<ul>\n<li><p>message → The reconstructed string (purchaseId|STATUS|brandId)</p>\n</li>\n<li><p>signatureBase64 → Value from aviorapay-sign header</p>\n</li>\n<li><p>publicKey → Your saved Aviorapay public key</p>\n</li>\n</ul>\n<p><strong>Sample Webhook</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"message\": {\n    \"purchaseId\": \"6808127876673d75156df3e6\",\n    \"client\": {\n      \"customerId\": \"NA\",\n      \"email\": \"daler101@hotmail.com\",\n      \"phone\": \"+17808752869\",\n      \"full_name\": \"Dale Richardson\",\n      \"date_of_birth\": \"1800-01-01\",\n      \"street_address\": \"48 AVE , ALBERTA BEACH\",\n      \"country\": \"CA\",\n      \"city\": \"ALBERTA\",\n      \"zip_code\": \"T0E 0A0\",\n      \"shipping_street_address\": \" \",\n      \"shipping_country\": \"\",\n      \"shipping_city\": \"\",\n      \"shipping_zip_code\": \"\",\n      \"cc\": [],\n      \"bcc\": [],\n      \"stateCode\": \"AB\"\n    },\n    \"updated_on\": 1745359929,\n    \"type\": \"purchase\",\n    \"isFraud\": \"NO\",\n    \"paymentMethod\": \"INTERAC,MASTER,VISA,JCB\",\n    \"amountUnit\": \"MAJOR\",\n    \"errorMsg\": \"Transaction succeeded-APPROVED\",\n    \"detailedMsg\": \"Transaction succeeded-APPROVED\",\n    \"redirectType\": \"POST\",\n    \"force_recurring\": false,\n    \"created_on\": 1745359481,\n    \"merchantRef\": \"7235\",\n    \"merchantName\": \"firstinvestacademy\",\n    \"pspReference\": \"pKlSYNsPOdOL2FCmSAjXEOHzDDpSP5\",\n    \"bankmid\": \"waverlite\",\n    \"bankname\": \"waverlite\",\n    \"purchase\": {\n      \"currency\": \"CAD\",\n      \"products\": [\n        {\n          \"name\": \"Payment\",\n          \"quantity\": 1,\n          \"price\": 294,\n          \"discount\": 0,\n          \"tax_percent\": \"0.00\"\n        }\n      ],\n      \"total\": 294,\n      \"language\": \"en\",\n      \"notes\": \"Micro+ Plan\",\n      \"debt\": 0,\n      \"total_formatted\": 1,\n      \"expireInMin\": \"43800\",\n      \"taxAmount\": 0,\n      \"taxPercent\": 0,\n      \"request_client_details\": [],\n      \"email_message\": \"\"\n    },\n    \"payment\": {\n      \"is_outgoing\": false,\n      \"payment_type\": \"PURCHASE\",\n      \"amount\": 294,\n      \"currency\": \"CAD\",\n      \"net_amount\": 294,\n      \"fee_amount\": 0,\n      \"pending_amount\": 0,\n      \"pending_unfreeze_on\": null,\n      \"description\": \"\",\n      \"paid_on\": 1745359487,\n      \"remote_paid_on\": 1745359487\n    },\n    \"issuer_details\": {\n      \"website\": \"\",\n      \"legal_street_address\": \"\",\n      \"legal_country\": \"\",\n      \"legal_city\": \"\",\n      \"legal_zip_code\": \"\",\n      \"bank_accounts\": [\n        {}\n      ],\n      \"legal_name\": \"FISCOM\",\n      \"brand_name\": \"FISCOM\",\n      \"registration_number\": \"\",\n      \"tax_number\": \"\"\n    },\n    \"transaction_data\": {\n      \"payment_method\": \"\",\n      \"flow\": \"payform\",\n      \"extra\": {\n        \"amount\": 294,\n        \"masked_pan\": \"INTERAC\"\n      },\n      \"country\": \"\",\n      \"attempts\": [\n        {\n          \"client_ip\": \"185.199.101.249\",\n          \"type\": \"execute\",\n          \"payment_method\": \"INTERAC\",\n          \"flow\": \"payform\",\n          \"successful\": true,\n          \"country\": \"INTERAC\",\n          \"processing_time\": 1745359487,\n          \"extra\": {\n            \"amount\": 294,\n            \"masked_pan\": \"INTERAC\"\n          }\n        }\n      ]\n    },\n    \"status\": \"PAID\",\n    \"status_history\": [\n      {\n        \"status\": \"created\",\n        \"timestamp\": 1745359481\n      },\n      {\n        \"status\": \"pending_execute\",\n        \"timestamp\": 1745359487\n      },\n      {\n        \"status\": \"payment_in_process\",\n        \"timestamp\": 1745359491\n      },\n      {\n        \"status\": \"viewed\",\n        \"timestamp\": 1745359500\n      },\n      {\n        \"status\": \"paid 294.0\",\n        \"timestamp\": 1745359929\n      }\n    ],\n    \"viewedOn\": 1745359932,\n    \"is_test\": false,\n    \"brand_id\": \"88f25364-8d96-4c2f-8dae-d4aa2756e4e3\",\n    \"send_receipt\": false,\n    \"is_recurring_token\": false,\n    \"skip_capture\": false,\n    \"reference_generated\": \"PS4754\",\n    \"reference\": \"7235\",\n    \"issued\": \"2025-04-22\",\n    \"due\": 1745359481,\n    \"refund_upto\": 0,\n    \"cc_descriptor\": \"Africhange Technologies\",\n    \"fraudScore\": \"NA\",\n    \"trustScore\": \"NA\",\n    \"fx_Currency\": \"CAD\",\n    \"fx_Amount\": \"294.00\",\n    \"transFees\": \"0.44\",\n    \"refundFee\": \"NA\",\n    \"chargeBackFee\": \"NA\",\n    \"rollingReserve\": \"0.00\",\n    \"cascade_Num\": \"NA\",\n    \"debitOrcredit\": \"NA\",\n    \"conversionRiskFactorApplied\": \"0\",\n    \"payInDetails\": {\n      \"name\": \"INTERAC E-TRANSFER\",\n      \"emailAddress\": \"transfer@ieft.ca\",\n      \"secretQA\": \"q4754199\",\n      \"secretAnswer\": \"a4754199\"\n    },\n    \"paidOn\": 1745359929,\n    \"receivedAmt\": 294,\n    \"refund_availability\": \"NONE\",\n    \"refundable_amount\": 0,\n    \"success_redirect\": \"https://firstinvestschool.com/?wc-api=wc_gateway_aviorapay_payments&amp;id=7235&amp;action=paid\",\n    \"failure_redirect\": \"https://firstinvestschool.com/?wc-api=wc_gateway_aviorapay_payments&amp;id=7235&amp;action=cancel\",\n    \"cancel_redirect\": \"https://firstinvestschool.com/?wc-api=wc_gateway_aviorapay_payments&amp;id=7235&amp;action=cancel\",\n    \"success_callback\": \"https://firstinvestschool.com/?wc-api=wc_gateway_aviorapay_payments&amp;id=7235&amp;action=paid\",\n    \"failure_callback\": \"\",\n    \"creator_agent\": \"Aviorapay Payments for WooCommerce: v1.2.3\",\n    \"platform\": \"API\",\n    \"created_from_ip\": \"54.229.186.248, 172.70.58.20, 15.158.56.19\",\n    \"checkout_url\": \"https://api.aviorapay.com/payments/6808127876673d75156df3e6/\",\n    \"direct_post_url\": \"https://api.aviorapay.com/api/v1/p/6808127876673d75156df3e6/\",\n    \"mdr\": \"13.52\",\n    \"payoutProcess\": false\n  },\n  \"status\": \"paid\"\n}\n\n</code></pre>\n","_postman_id":"669710a2-7795-4a17-a3d7-ee2253a00a63"},{"name":"Payout","item":[],"id":"cbc02f15-86c8-4b8c-a7f6-e00eb156361b","description":"<h3 id=\"overview\">Overview</h3>\n<p>When a transaction status changes to a terminal state (e.g., paid, pending_review (in development)), our payment gateway sends a server-to-server POST callback to the merchant's configured Webhook URL.</p>\n<p>The callback includes full transaction details so the merchant can update order status in real time.</p>\n<h3 id=\"webhook-events-for-payouts\">Webhook Events for Payouts</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Event type (Condition applied in code)</th>\n<th>Status</th>\n<th>When is the event triggered</th>\n<th>Is this a terminal event</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Payout – Created</td>\n<td>created</td>\n<td>When the payout request is created</td>\n<td>No</td>\n</tr>\n<tr>\n<td>Payout – in Process</td>\n<td>payout_in_process</td>\n<td>When the Payout request is triggered to the bank, and the status is in pending</td>\n<td>No</td>\n</tr>\n<tr>\n<td>Payout – Pending Review</td>\n<td>pending_review</td>\n<td>When the payout request needs manual review from the merchant</td>\n<td>No</td>\n</tr>\n<tr>\n<td>payout – failure</td>\n<td>error</td>\n<td>Triggered when the payout request fails (system/PSP error, rejection, etc.).</td>\n<td>✅ Yes</td>\n</tr>\n<tr>\n<td>payout – success</td>\n<td>paid</td>\n<td>Triggered when the payout is processed successfully and funds are released.</td>\n<td>✅ Yes</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"webhook-payload-specification\"><strong>Webhook Payload Specification</strong></h2>\n<h3 id=\"fields-description\"><strong>Fields Description</strong></h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Key</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>payload.payoutId</td>\n<td>Unique identifier of the payout generated by Aviorapay.</td>\n</tr>\n<tr>\n<td>payload.client.customerId</td>\n<td>Customer’s ID in the merchant’s system (if available), otherwise \"NA\".</td>\n</tr>\n<tr>\n<td>payload.client.email</td>\n<td>Customer’s email address.</td>\n</tr>\n<tr>\n<td>payload.client.phone</td>\n<td>Customer’s phone number (with country code).</td>\n</tr>\n<tr>\n<td>payload.client.full_name</td>\n<td>Full name of the customer.</td>\n</tr>\n<tr>\n<td>payload.client.country</td>\n<td>ISO 2-letter country code of the customer.</td>\n</tr>\n<tr>\n<td>payload.updated_on</td>\n<td>UNIX timestamp of the last update to the payout transaction.</td>\n</tr>\n<tr>\n<td>payload.payoutMethod</td>\n<td>Payout method used (e.g., \"PAYOUT-INTERAC\").</td>\n</tr>\n<tr>\n<td>payload.amountUnit</td>\n<td>Unit of amount — \"MAJOR\" for full currency unit, \"MINOR\" for subunits.</td>\n</tr>\n<tr>\n<td>payload.amount</td>\n<td>Total payout amount.</td>\n</tr>\n<tr>\n<td>payload.errorMsg</td>\n<td>Message describing the payout result — success message or error details.</td>\n</tr>\n<tr>\n<td>payload.purpose</td>\n<td>Purpose/description of the payout.</td>\n</tr>\n<tr>\n<td>payload.created_on</td>\n<td>UNIX timestamp when the payout was created.</td>\n</tr>\n<tr>\n<td>payload.merchantRef</td>\n<td>Unique transaction reference from the merchant.</td>\n</tr>\n<tr>\n<td>payload.merchantName</td>\n<td>Registered merchant name in Aviorapay.</td>\n</tr>\n<tr>\n<td>payload.currency</td>\n<td>Currency code of the payout (ISO 4217).</td>\n</tr>\n<tr>\n<td>payload.fx_Currency</td>\n<td>FX (foreign exchange) currency used (if applicable).</td>\n</tr>\n<tr>\n<td>payload.fx_Amount</td>\n<td>FX-adjusted payout amount.</td>\n</tr>\n<tr>\n<td>payload.transFees</td>\n<td>Transaction fee amount.</td>\n</tr>\n<tr>\n<td>payload.paymentOn</td>\n<td>UNIX timestamp when the payout was completed/paid.</td>\n</tr>\n<tr>\n<td>payload.payOutDetails.name</td>\n<td>Payout instrument name (e.g., \"INTERAC E-TRANSFER\").</td>\n</tr>\n<tr>\n<td>payload.payOutDetails.emailAddress</td>\n<td>Payout recipient email address.</td>\n</tr>\n<tr>\n<td>payload.payOutDetails.secretQA</td>\n<td>Security question used for payout (if applicable).</td>\n</tr>\n<tr>\n<td>payload.payOutDetails.secretAnswer</td>\n<td>Security answer used for payout (if applicable).</td>\n</tr>\n<tr>\n<td>payload.taxAmount</td>\n<td>Tax amount applied to the payout.</td>\n</tr>\n<tr>\n<td>payload.taxPercent</td>\n<td>Tax percentage applied to the payout.</td>\n</tr>\n<tr>\n<td>payload.redirectType</td>\n<td>Redirect method after payout completion (e.g., \"POST\").</td>\n</tr>\n<tr>\n<td>payload.pendingReview</td>\n<td>Indicates if the payout is under review (\"Yes\"/\"No\").</td>\n</tr>\n<tr>\n<td>payload.surcharge</td>\n<td>Surcharge amount applied (if any).</td>\n</tr>\n<tr>\n<td>payload.success_callback</td>\n<td>Callback URL invoked on payout success.</td>\n</tr>\n<tr>\n<td>payload.failure_callback</td>\n<td>Callback URL invoked on payout failure.</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"possible-status-values\"><strong>Possible Status Values</strong></h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>status</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>error</td>\n<td>Payout failed due to an error.</td>\n</tr>\n<tr>\n<td>created</td>\n<td>Payout record created but not paid yet.</td>\n</tr>\n<tr>\n<td>paid</td>\n<td>payment completed successfully.</td>\n</tr>\n<tr>\n<td>payout_in_process</td>\n<td>Payout is in progress.</td>\n</tr>\n<tr>\n<td>pending_review</td>\n<td>Payout needs to be reviewed</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"🔐-key-pair-generation\"><strong>🔐 Key Pair Generation</strong></h2>\n<p><strong>Aviorapay uses RSA key pairs to digitally sign webhooks, ensuring all notifications are both secure and authentic.</strong></p>\n<hr />\n<h3 id=\"1-generate-your-keys\"><strong>1. Generate Your Keys</strong></h3>\n<img src=\"https://content.pstmn.io/7518adf1-d6ec-4b0e-b1bb-b6710a5173f1/U2NyZWVuc2hvdCAyMDI1LTExLTE3IGF0IDExLjM4LjIw4oCvQU0ucG5n\" />\n\n<ul>\n<li><p>Click “Generate Key Pair” in the dashboard.</p>\n</li>\n<li><p>A unique RSA private key and public key are created for your merchant ID</p>\n</li>\n</ul>\n<h3 id=\"2-key-storage\"><strong>2. Key Storage</strong></h3>\n<img src=\"https://content.pstmn.io/0a39578e-0796-4671-80f6-d68ca391bdef/U2NyZWVuc2hvdCAyMDI1LTExLTE3IGF0IDExLjM4LjMw4oCvQU0ucG5n\" />\n\n<ul>\n<li><p>Private Key → Stored securely by Aviorapay (never exposed).</p>\n</li>\n<li><p>Public Key → Displayed to you once on the screen. Copy and save it for verifying signatures.</p>\n</li>\n</ul>\n<h3 id=\"3-webhook-signing\"><strong>3. Webhook Signing</strong></h3>\n<ul>\n<li><p>Every webhook payload is signed using Aviorapay’s private key.</p>\n</li>\n<li><p>The signature is included in webhook headers:</p>\n<ul>\n<li>aviorapay-sign or aviorapay_sign</li>\n</ul>\n</li>\n</ul>\n<h3 id=\"4-verification\"><strong>4. Verification</strong></h3>\n<ul>\n<li><p>Use your public key to verify the aviorapay-sign header against the webhook body.</p>\n</li>\n<li><p>This ensures the webhook came from Aviorapay and was not tampered with.</p>\n</li>\n</ul>\n<h2 id=\"🔏-signature-aviorapay-sign-or-aviorapay_sign\"><strong>🔏 Signature: aviorapay-sign (or aviorapay_sign)</strong></h2>\n<p><strong>The aviorapay-sign header is a Base64-encoded digital signature generated using your merchant-specific RSA private key.</strong></p>\n<h3 id=\"🔨-how-the-signature-is-generated\"><strong>🔨 How the Signature is Generated</strong></h3>\n<ol>\n<li><strong>Message Construction</strong></li>\n</ol>\n<p>Concatenate the following fields in order:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{payoutId}|{payload.status}\n\n</code></pre><p><strong>Example:</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>1234567890|paid\n\n</code></pre><p><strong>2. Signing Algorithm</strong></p>\n<ol>\n<li><p>Algorithm: SHA256withRSA</p>\n</li>\n<li><p>Output: Base64-encoded signature (sent in the aviorapay-sign header).</p>\n</li>\n</ol>\n<h3 id=\"✅-how-to-verify-the-signature\"><strong>✅ How to Verify the Signature</strong></h3>\n<ol>\n<li><strong>Rebuild the Message</strong></li>\n</ol>\n<p>From the webhook JSON body, extract:</p>\n<ul>\n<li><p>payoutId</p>\n</li>\n<li><p>payload.status (convert to lowercase)</p>\n</li>\n</ul>\n<p>Reconstruct the string in the same format:<br />{payoutId}|{payload.status}</p>\n<p><strong>2. Verification Steps</strong></p>\n<ul>\n<li><p>Use your stored public key.</p>\n</li>\n<li><p>Decode the aviorapay-sign header from Base64.</p>\n</li>\n<li><p>Verify using SHA256withRSA.</p>\n</li>\n<li><p>If verification succeeds, the webhook is authentic and untampered.</p>\n</li>\n</ul>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-java\">public static boolean verifySignature(String message, String signatureBase64, PublicKey publicKey) throws Exception {\n    Signature signature = Signature.getInstance(\"SHA256withRSA\");\n    signature.initVerify(publicKey);\n    signature.update(message.getBytes());\n    byte[] signatureBytes = Base64.getDecoder().decode(signatureBase64);\n    return signature.verify(signatureBytes);\n}\n\n</code></pre>\n<ul>\n<li><p>message → The reconstructed string (payoutId|status)</p>\n</li>\n<li><p>signatureBase64 → Value from aviorapay-sign header</p>\n</li>\n<li><p>publicKey → Your saved Aviorapay public key</p>\n</li>\n</ul>\n<p><strong>Sample Webhook:</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"payload\": {\n    \"payoutId\": \"68b02af16c4f71530ae1d73b\",\n    \"client\": {\n      \"customerId\": \"NA\",\n      \"email\": \"ashishm.21190@gmail.com\",\n      \"phone\": \"+14377717874\",\n      \"full_name\": \"Ashish Mistry\",\n      \"country\": \"CA\"\n    },\n    \"updated_on\": 1756375793,\n    \"payoutMethod\": \"PAYOUT-INTERAC-ETRANSFER\",\n    \"amountUnit\": \"MAJOR\",\n    \"amount\": 6,\n    \"errorMsg\": \"\",\n    \"purpose\": \"test payout\",\n    \"created_on\": 1756375793,\n    \"merchantRef\": \"68b02af16c4f71530ae1d73b\",\n    \"merchantName\": \"arunsinghal\",\n    \"status\": \"PAID\",\n    \"status_history\": [\n      {\n        \"status\": \"created\",\n        \"timestamp\": 1756375793\n      },\n      {\n        \"status\": \"paid\",\n        \"timestamp\": 1756375810\n      }\n    ],\n    \"currency\": \"CAD\",\n    \"fx_Currency\": \"CAD\",\n    \"fx_Amount\": \"6.00\",\n    \"transFees\": \"0.3\",\n    \"paymentOn\": 1756375810,\n    \"payOutDetails\": {\n      \"name\": \"INTERAC E-TRANSFER\",\n      \"emailAddress\": \"ashishm.21190@gmail.com\",\n      \"secretQA\": \"q680216471530173202\",\n      \"secretAnswer\": \"a680216471530173202\"\n    },\n    \"taxAmount\": 0,\n    \"taxPercent\": 0,\n    \"redirectType\": \"POST\",\n    \"pendingReview\": \"No\",\n    \"surcharge\": 0,\n    \"success_callback\": \"https://webhook.site/d7660184-d724-480c-bad0-cf0480f5518e\",\n    \"failure_callback\": \"https://webhook.site/d7660184-d724-480c-bad0-cf0480f5518e\",\n    \"mdr\": \"0.00\"\n  },\n  \"status\": \"paid\"\n}\n\n</code></pre>\n","_postman_id":"cbc02f15-86c8-4b8c-a7f6-e00eb156361b"}],"id":"a50f60c2-cb62-4f23-b067-36ffd9a30a4c","description":"<p>To receive information about various transaction status and events, you will need to set up an endpoint which accepts payloads sent by Aviorapay. Your endpoint will receive <strong>POST</strong> requests with <strong>content-type: application/json</strong>.</p>\n<h3 id=\"configuring-the-webhook-endpoint\">Configuring the webhook endpoint</h3>\n<p>The webhook endpoint can be set up on <code>Partner Dashboard -&gt; Webhooks -&gt; New Webhook</code>.</p>\n<img src=\"https://content.pstmn.io/d4583113-63ef-4cb1-9c7d-91746f5aebe9/VW50aXRsZWQgZGVzaWduICg1OSkucG5n\" alt />\n\n<p>Make sure you save the endpoint by clicking \"Create\".</p>\n<p>Aviorapay will post all payloads to the specified URLs. Please note that if merchant face any issues with accepting the webhook, it will not be resent. Alternatively the merchant can call Aviorapay get status API to verify the status of a purchase.</p>\n<h3 id=\"steps-to-configure-a-webhook\"><strong>Steps to Configure a Webhook</strong></h3>\n<img src=\"https://content.pstmn.io/bf68bcf1-1b1d-4827-a29e-a6150a8642ea/VW50aXRsZWQgZGVzaWduICg1MSkucG5n\" alt />\n\n<p><strong>1.Add a New Webhook:</strong></p>\n<ul>\n<li>Click on the “New Webhook” button.</li>\n</ul>\n<p><strong>2. Provide Details:</strong></p>\n<ul>\n<li><p>Name: Give the webhook a descriptive name.</p>\n</li>\n<li><p>Payment Method Selection:</p>\n</li>\n</ul>\n<p>a. Choose a specific payment method or select “All” for universal callbacks.</p>\n<ul>\n<li>Enter URL:</li>\n</ul>\n<p>a. Provide the callback URL where the event notifications will be sent.</p>\n<p><strong>3. Select Event Triggers:</strong></p>\n<p>a. Choose from a list of available events (Note: Depending on the payment method, not all events may be available.)</p>\n<p><strong>4. Save configuration:</strong></p>\n<p>a. Click “Save” to store the webhook settings.**</p>\n<h2 id=\"notes\">Notes:</h2>\n<ol>\n<li><p>You can setup one URL for all the events or individual URLs for each of the events. Aviorapay would call the webhooks based on whatever the setup is. If only one URL, the developer will need to extract the message from the payload information.</p>\n</li>\n<li><p>In case of a success_callback (webhook) or failure_callback (webhook) is given the <code>/purchases</code> API or <code>/createSession</code> API, then priority will be given to API callback webhooks, and not the webhooks set in the merchant dashboard. In other words, the webhooks given in the API will override the webhooks set in the merchant dashboard. The webhook posted would be a JSON object (either purchase or payout object as the case might be) containing the status. This object is the same as the one you will get in the <code>/getStatus</code> API call <code>https://app.aviorapay.com/api/v1/purchases/{purchaseId}/</code></p>\n</li>\n</ol>\n<h2 id=\"available-event-for-subscription\">Available Event for subscription</h2>\n<p>When a transaction status changes to a terminal state (e.g., paid, refunded, expired), our payment gateway sends a server-to-server POST callback to the merchant's configured Webhook URL.</p>\n<p>The callback includes full transaction details so the merchant can update order status in real time.</p>\n<h2 id=\"http-method--headers\"><strong>HTTP Method &amp; Headers</strong></h2>\n<p><strong>Method: POST</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Header</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Content-Type</td>\n<td><strong>application/json; charset=utf-8 — Indicates the payload format is JSON in UTF-8 encoding.</strong></td>\n</tr>\n<tr>\n<td>User-Agent</td>\n<td>Always set to \"Aviorapay\" — Identifies the request origin as Aviorapay.</td>\n</tr>\n<tr>\n<td>aviorapay_sign</td>\n<td><strong>Present only if a signature value (aviorapay_sign) is generated(</strong><a href=\"https://docs.google.com/document/d/1qgsO7_jxMOXASnezEw-RU70WNddCfKrXWCwPGJLmqUs/edit?tab=t.nwoa2ohizyre#heading=h.rlwjz036ocez\"><b>see the logic below</b></a><strong>). This is used for validating the authenticity of the callback.</strong></td>\n</tr>\n<tr>\n<td>aviorapay-sign</td>\n<td><strong>Same signature value as aviorapay_sign but provided in an alternate header name for better compatibility.</strong></td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"webhook-structure\"><strong>Webhook structure</strong></h3>\n<p>We add a signature as “<strong>aviorapay_sign</strong>” or <strong>\"aviorapay-sign\"</strong> in the webhook header for verifying the payload, If you have already created a <strong>public key</strong> from your merchant dashboard.</p>\n<p>To verify this signature, decrypt the signature with your public key. Compare this with the values which you received in your payload.</p>\n<p>Use the following method (in Java) for signature verification.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-java\"> private static boolean verify(String message,String signature, PublicKey publicKey) throws Exception \n{\n    Signature verifier = Signature.getInstance(\"SHA256withRSA\");\n    verifier.initVerify(publicKey);\n    verifier.update(message.getBytes());\n    return verifier.verify(Base64.getDecoder().decode(signature.getBytes()));\n}\n\n</code></pre>\n<ol>\n<li><p>Where the <strong>message</strong> is the combination of values which you received in the payload:</p>\n<ol>\n<li><p>For Payins: the message is a combination of <strong><code>purchaseId+\"|\"+status(uppercase)+\"|\"+brandId</code></strong></p>\n</li>\n<li><p>Payouts: this message is a combination of p**<code>ayoutId+\"|\"+status(lowercase)</code>**</p>\n</li>\n</ol>\n</li>\n<li><p>The signature is the value of the “<strong>aviorapay_sign</strong>” or <strong>\"aviorapay-sign\"</strong> you received in webhook.</p>\n</li>\n<li><p>You can obtain the <strong>Public Key</strong> from your merchant dashboard.</p>\n</li>\n</ol>\n","_postman_id":"a50f60c2-cb62-4f23-b067-36ffd9a30a4c"},{"name":"🖥️ Status Code","item":[{"name":"Transaction Status and Their Meaning","item":[],"id":"f07b383f-8210-4535-bc6b-8805b70a8d53","description":"<p>The lifecycle of a transaction is reflected through the status of the transaction.</p>\n<p>This section details various statuses of a transaction and what it means and when does it appears.</p>\n<p>The status of a transaction can be read from the <code>\"status\"</code> field of the responses or webhook payload.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Status</strong></th>\n<th><strong>Description</strong></th>\n<th><strong>When it Appears</strong></th>\n<th><strong>Is it Final?</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>CREATED</td>\n<td>Purchase is created in the system.</td>\n<td>When Purchase API is called, the transaction is created as \"CREATED\".</td>\n<td>N</td>\n</tr>\n<tr>\n<td>CANCELLED</td>\n<td>Purchase is cancelled in the system. Only transactions in \"CREATED\" status can be cancelled.</td>\n<td>When Cancel API is called.</td>\n<td>Y</td>\n</tr>\n<tr>\n<td>PENDING EXECUTE</td>\n<td>Purchase hasn't been completed yet. Only transactions in \"CREATED\" status can become \"PENDING EXECUTE\" after S2S API call.</td>\n<td>The callback URL provided in the S2S call response hasn't been called by merchant yet.</td>\n<td>N</td>\n</tr>\n<tr>\n<td>OVERDUE</td>\n<td>Purchase hasn't been completed yet. Only transactions in \"CREATED\" status can become \"OVERDUE\" if S2S API hasn't been called in 2 hours.</td>\n<td>S2S API hasn't been called within 2 hours since transaction creation.</td>\n<td>N</td>\n</tr>\n<tr>\n<td>EXPIRED</td>\n<td>Purchase hasn't been completed. Only transactions in \"PAYMENT IN PROCESS\" and \"PENDING EXECUTE\" status can become \"EXPIRED\". After payment in process, no data is provided.</td>\n<td>The callback URL provided in the S2S call response hasn't been called by the merchant after the specific time period.</td>\n<td>Y</td>\n</tr>\n<tr>\n<td>PAID</td>\n<td>Purchase has been completed successfully. Only transactions in \"PAYMENT IN PROCESS\" status can become \"PAID\".</td>\n<td>The callback URL provided in the S2S call response has been called by the merchant.</td>\n<td>Y</td>\n</tr>\n<tr>\n<td>PAYMENT IN PROCESS</td>\n<td>Purchase hasn't been completed. Only transactions in \"PENDING EXECUTE\" status can become \"PAYMENT IN PROCESS\".</td>\n<td>When the user's action is pending (e.g., OTP confirmation). Transaction can stay in this status for 24 hours since creation.</td>\n<td>N</td>\n</tr>\n<tr>\n<td>CHARGEBACK</td>\n<td>Transaction type that allows customers to receive money back.</td>\n<td>When requested by customer or merchant (manual process).</td>\n<td>Y</td>\n</tr>\n<tr>\n<td>REFUNDED</td>\n<td>Only transactions in \"REFUND IN PROCESS\" status can become \"REFUNDED\".</td>\n<td>When the provider confirms the refund.</td>\n<td>Y</td>\n</tr>\n<tr>\n<td>REFUND IN PROCESS</td>\n<td>Only transactions in <strong>\"PAID\"</strong> status can become <strong>\"REFUND IN PROCESS\"</strong>.</td>\n<td>When Refund API is called and a response is received with \"REFUND IN PROCESS\" status.</td>\n<td>N</td>\n</tr>\n<tr>\n<td>ERROR</td>\n<td>Only transactions in statuses: <strong>\"PENDING EXECUTE\"</strong>, <strong>\"PAYMENT IN PROCESS\"</strong>, <strong>\"PAYOUT IN PROCESS\"</strong> or <strong>\"REFUND IN PROCESS\"</strong> can become \"ERROR\".</td>\n<td>Refers to the Errors list for possible errors.</td>\n<td>Y</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Note:</strong></p>\n<p>If you want a more detailed error message, please rely on the <strong>\"errorMsg\"</strong> field in the responses or webhook payload.</p>\n","auth":{"type":"noauth","isInherited":false},"event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"2720bb29-627f-457f-b949-7a29ccda4ce8"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"4920df39-0615-4033-b358-014b15a32810"}}],"_postman_id":"f07b383f-8210-4535-bc6b-8805b70a8d53"}],"id":"9d520b07-4e03-4f49-932d-cc96bbb630df","description":"<h1 id=\"http-response-code\">HTTP Response Code</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Code</strong></th>\n<th><strong>Triggering Event</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>200</td>\n<td>Successful Response</td>\n</tr>\n<tr>\n<td>202</td>\n<td>Successful / Accepted</td>\n</tr>\n<tr>\n<td>400</td>\n<td>Bad request, the given data is invalid, or additional data is required</td>\n</tr>\n<tr>\n<td>401</td>\n<td>unauthorized request</td>\n</tr>\n<tr>\n<td>404</td>\n<td>page not found</td>\n</tr>\n<tr>\n<td>405</td>\n<td>Method Not Allowed (GET/POST)</td>\n</tr>\n<tr>\n<td>415</td>\n<td>unsupported media type</td>\n</tr>\n<tr>\n<td>422</td>\n<td>Unprocessable content, data is required</td>\n</tr>\n<tr>\n<td>429</td>\n<td>Too many request attempt</td>\n</tr>\n<tr>\n<td>500</td>\n<td>Internal server error</td>\n</tr>\n</tbody>\n</table>\n</div><p>You will not get Error codes if HTTPS response code is 200 or 202.</p>\n<h2 id=\"error-codes-and-messages\">Error Codes and Messages</h2>\n<h3 id=\"with-http-code-400-404-401-405-415\">with http code (400, 404, 401, 405, 415)</h3>\n<p>Below is the list of possible error codes and the corresponding messages from Aviorapay System</p>\n<h2 id=\"format\">Format</h2>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"message\": \"descriptive error message\",\n    \"code\": \"error_code\"\n}\n\n</code></pre>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Code</strong></th>\n<th><strong>Message</strong></th>\n<th><strong>APIs that could generate the error code</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Authentication_failed</td>\n<td>Authorization header missing</td>\n<td>All</td>\n</tr>\n<tr>\n<td>already_in_process</td>\n<td>Some Processing is running on this purchaseId</td>\n<td>All</td>\n</tr>\n<tr>\n<td>unsupported_media_type</td>\n<td>Unsupported media type \"text/plain; charset=ISO-8859-1\" in request.</td>\n<td>All</td>\n</tr>\n<tr>\n<td>authentication_failed</td>\n<td>Incorrect secret_key/Invalid Merchant Type</td>\n<td>All</td>\n</tr>\n<tr>\n<td>transaction_error</td>\n<td>See the table below</td>\n<td>See the table below</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"transaction_error-message-list\">\"transaction_error\" Message List</h2>\n<p>All the Messages possible when \"transaction_error\" is in reponse:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Message</strong></th>\n<th><strong>APIs that generate the error Message</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Cvv_error</td>\n<td>after executing callback_url</td>\n</tr>\n<tr>\n<td>Expired card</td>\n<td>after executing callback_url</td>\n</tr>\n<tr>\n<td>expiry_date_error</td>\n<td>after executing callback_url</td>\n</tr>\n<tr>\n<td>Insufficient fund</td>\n<td>after executing callback_url</td>\n</tr>\n<tr>\n<td>Invalid card number</td>\n<td>after executing callback_url</td>\n</tr>\n<tr>\n<td>Issuing bank - do not honer</td>\n<td>after executing callback_url</td>\n</tr>\n<tr>\n<td>Picking card</td>\n<td>after executing callback_url</td>\n</tr>\n<tr>\n<td>Temp error - card blocked</td>\n<td>after executing callback_url</td>\n</tr>\n<tr>\n<td>Transaction declined - try again</td>\n<td>after executing callback_url</td>\n</tr>\n<tr>\n<td>PurchaseId Not found.</td>\n<td>after executing callback_url</td>\n</tr>\n<tr>\n<td>Only purchases that can be paid for can be initiated for payment.</td>\n<td>after executing callback_url</td>\n</tr>\n<tr>\n<td>Customer/Ip is Blocked</td>\n<td>after executing callback_url</td>\n</tr>\n<tr>\n<td>Client Ip could not be match with Merchant Ip</td>\n<td>s2s calling</td>\n</tr>\n<tr>\n<td>Invalid Card Information</td>\n<td>s2s calling</td>\n</tr>\n<tr>\n<td>Card is Blocked</td>\n<td>s2s calling</td>\n</tr>\n<tr>\n<td>Different Type of key used to create purchase and payment</td>\n<td>s2s calling</td>\n</tr>\n<tr>\n<td>You charges setting is in complete .Please Contact to Administrator.</td>\n<td>s2s calling</td>\n</tr>\n<tr>\n<td>Allowed Attempt for this Transaction has been consumed</td>\n<td>s2s calling</td>\n</tr>\n<tr>\n<td>Customer not allowed For transaction</td>\n<td>s2s calling</td>\n</tr>\n<tr>\n<td>Invalid Card Expiry(Valid Format:MM/YY) must be greater than current month/year</td>\n<td>s2s calling</td>\n</tr>\n<tr>\n<td>Customer profile is Blocked</td>\n<td>s2s calling</td>\n</tr>\n<tr>\n<td>Customer/Card not allowed for transaction</td>\n<td>s2s calling</td>\n</tr>\n<tr>\n<td>Allowed Limit for this card for particular time period has been consumed</td>\n<td>create purchase</td>\n</tr>\n<tr>\n<td>some Mandatory Parameter are missing</td>\n<td>create purchase</td>\n</tr>\n<tr>\n<td>Invalid_Parameter</td>\n<td>create purchase</td>\n</tr>\n<tr>\n<td>Invalid format of Date_of_Birth[allowed format: yyyy-mm-dd]</td>\n<td>create purchase</td>\n</tr>\n<tr>\n<td>Invalid Email Format</td>\n<td>create purchase</td>\n</tr>\n<tr>\n<td>Please submit Valid Alpha2 Country Code Ex:(AF,IN) in \\\"country\\\" parameter</td>\n<td>create purchase</td>\n</tr>\n<tr>\n<td>Please pass Valid State Code</td>\n<td>create purchase</td>\n</tr>\n<tr>\n<td>Please pass valid street address in \\\"street_address\\\" parameter</td>\n<td>create purchase</td>\n</tr>\n<tr>\n<td>Please pass valid city name in \\\"city\\\" parameter</td>\n<td>create purchase</td>\n</tr>\n<tr>\n<td>Please pass valid postal Code name in \\\"zip_code\\\" parameter</td>\n<td>create purchase</td>\n</tr>\n<tr>\n<td>You are not Allowed for Live Transaction</td>\n<td>create purchase</td>\n</tr>\n<tr>\n<td>Merchant Limit is not set</td>\n<td>create purchase</td>\n</tr>\n<tr>\n<td>Minimum amount is not set for this merchant</td>\n<td>create purchase</td>\n</tr>\n<tr>\n<td>Brand not found!</td>\n<td>create purchase</td>\n</tr>\n<tr>\n<td>Your charges setting is incomplete .Plese Contact to Administrator.</td>\n<td>create purchase</td>\n</tr>\n<tr>\n<td>Only “curr_name” currency is allowed</td>\n<td>create purchase</td>\n</tr>\n<tr>\n<td>Transaction amount must be equal or greater to minimum trans amount</td>\n<td>create purchase</td>\n</tr>\n<tr>\n<td>Transaction amount must not be greater to maximum trans amount</td>\n<td>create purchase</td>\n</tr>\n<tr>\n<td>This Purchase was already fully refunded.</td>\n<td><code>/refund/</code></td>\n</tr>\n<tr>\n<td>Previous Refund Request already in Process</td>\n<td><code>/refund/</code></td>\n</tr>\n<tr>\n<td>Max Time for Refund was elapsed.</td>\n<td><code>/refund/</code></td>\n</tr>\n<tr>\n<td>Refund can not be initiated .Please contact Administrator.</td>\n<td><code>/refund/</code></td>\n</tr>\n<tr>\n<td>Only Purchases with `status == (paid)` can be refunded.</td>\n<td><code>/refund/</code></td>\n</tr>\n<tr>\n<td>Only purchases that can be paid for can be cancelled.</td>\n<td><code>/cancel/</code></td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"noauth","isInherited":false},"event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"aa89f70d-f4a9-4798-a626-fb5feec09a81"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"07490d15-25a9-4344-911c-d507014a426c"}}],"_postman_id":"9d520b07-4e03-4f49-932d-cc96bbb630df"},{"name":"Payment Methods","item":[{"name":"💰 APMs (Alternative Payment Methods)","item":[{"name":"🇮🇳 UPI Solution","item":[{"name":"Concepts","item":[],"id":"b17e9369-77b0-46cb-aae1-aeb6b5486935","description":"<h2 id=\"upi-overview\">UPI Overview</h2>\n<p>The Unified Payments Interface (UPI) technology unifies various banking functions, smooth fund routing, and merchant payments under one roof by enabling numerous bank accounts into a single mobile application (of any participating bank).</p>\n<h3 id=\"aviorapays-upi-product-suite-enables-merchants-to-initiate\"><strong>Aviorapay’s UPI product suite enables merchants to initiate:</strong></h3>\n<ul>\n<li><p><strong>PayIns:</strong> Consumers can utilise UPI to transfer funds from their bank account, through their bank’s app or website.</p>\n</li>\n<li><p><strong>Payouts:</strong> Facilitate real-time disbursements directly to consumers' accounts by UPI ID, IMPS, RTGS,NEFT.</p>\n</li>\n</ul>\n<h2 id=\"payin-flows\">PayIn Flows</h2>\n<p><strong>How it works</strong></p>\n<p>Aviorapay’s UPI PayIn API lets the platforms collect funds from payers through intent flow/payment link without entering the payer's VPA. Suitable for app or mobile-based flows.</p>\n<p><strong>Key Steps</strong></p>\n<img src=\"https://content.pstmn.io/3c74812c-5c9f-405b-ad81-8d87f944ddb0/aW1hZ2UucG5n\" width=\"1244\" height=\"560\" />\n\n<p><strong>Flow</strong></p>\n<ul>\n<li><p>Initiate Transfer Request: The merchant sends a request to the UPI PayIn API to initiate a PayIn (deposit/collections) transaction. This request includes the customer’s email address or mobile number, the amount to be collected, and an optional message.</p>\n</li>\n<li><p>UPI payment options: The API generates a Multiple payment option (PayTM, GPay, PhonePe apps as well by scanning QR code) where end user can select any one payment option to complete the transaction.</p>\n</li>\n<li><p>User pays using their App: User will then pay the amount using their desired payment app and method through default UPI apps or by scanning the QR code via any bank app)</p>\n</li>\n<li><p>Confirm Transfer Completion: Once the transfer is completed by the end user, the aviorapay would send webhook of payment completion with the status. The balance of merchant would be updated to reflect the new transaction’s outcome.</p>\n</li>\n<li><p>Update Merchant’s Account: The merchant would then update (on the merchant’s system) the customer’s account balance to reflect the received funds.</p>\n</li>\n</ul>\n<h2 id=\"payout-flows\"><strong>PayOut flows</strong></h2>\n<p><strong>How it works</strong></p>\n<p>Our APIs enable payouts through various channels, including IMPS, UPI, RTGS, and NEFT, to user's bank accounts.</p>\n<p>Here are some common use cases, though not limited to these:</p>\n<ol>\n<li><p>Vendor Payouts: Quickly settle payments for goods or services with your vendors or distributors.</p>\n</li>\n<li><p>Payroll &amp; Reimbursements: Disburse salaries, ad-hoc payments, or employee reimbursements to staff or agents.</p>\n</li>\n<li><p>Disbursements: Facilitate loan or credit disbursements to merchants or consumers' bank accounts via your own or a lender's account.</p>\n</li>\n</ol>\n<p>*<em>Key Steps</em><em>*</em></p>\n<img src=\"https://content.pstmn.io/617fb471-49f3-42da-a00e-51059ae89857/aW1hZ2UucG5n\" width=\"1538\" height=\"570\" />\n\n<p><strong>Flow</strong></p>\n<ul>\n<li><p>We recommend that merchan't validate the bank accounts of their customer's bank account before doing payouts.</p>\n</li>\n<li><p>Ensure that enough balance is there in your merchant account do the payout.</p>\n</li>\n<li><p>The merchant platform initiates the creation of a payout by passing beneficiary details, along with payout details.</p>\n</li>\n<li><p>Beneficiary's bank details</p>\n<ul>\n<li><p>Beneficiary's transfer Type (IMPS, RTGS, NEFT, UPI)</p>\n</li>\n<li><p>Beneficiary's ifsc Code (if transferType is either of IMPS, RTGS, or NEFT)</p>\n</li>\n<li><p>Beneficiary's payee Name (if transferType is either of IMPS, RTGS, or NEFT)</p>\n</li>\n<li><p>Beneficiary's bank Account Number (if transferType is either of IMPS, RTGS, or NEFT)</p>\n</li>\n</ul>\n</li>\n<li><p>Upon completion of the payout, reaching either a Success or Failure state, Aviorapay notifies the merchant’s platform via webhook, providing the final status of the transaction and additional details.</p>\n</li>\n</ul>\n","auth":{"type":"noauth","isInherited":false},"event":[{"listen":"prerequest","script":{"type":"text/javascript","packages":{},"requests":{},"exec":[""],"id":"e660c14a-7e5f-4e84-ae78-14ca299c7567"}},{"listen":"test","script":{"type":"text/javascript","packages":{},"requests":{},"exec":[""],"id":"a1a13c25-e203-490f-82b1-f6bfa4a128b4"}}],"_postman_id":"b17e9369-77b0-46cb-aae1-aeb6b5486935"},{"name":"PayIn API","item":[{"name":"Purchases","id":"323f86c6-bd6e-42f0-a287-56d70bf77041","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer Token"}],"body":{"mode":"raw","raw":"{\r\n    \"client\": {\r\n        \"email\": \"test@gmail.com\",\r\n        \"full_name\": \"test test\",\r\n        \"country\": \"IN\",\r\n        \"city\": \"Jaipur\",\r\n        \"stateCode\": \"RJ\",\r\n        \"street_address\": \"Praça da Bíblia 1308\",\r\n        \"zip_code\": \"302022\",\r\n        \"date_of_birth\": \"1994-31-04\",\r\n        \"phone\": \"+91 9634988765\"\r\n    },\r\n    \"purchase\": {\r\n        \"currency\": \"INR\",\r\n        \"products\": [\r\n            {\r\n                \"name\": \"test\",\r\n                \"price\": 100\r\n            }\r\n        ]\r\n    },\r\n    \"paymentMethod\": \"UPI-QR\",\r\n    \"merchantRef\": \"test12\", // optional\r\n    \"brand_id\": \"{{merchant_brand_id}}\",\r\n    \"success_redirect\": \"https://your.success.redirect.com\",\r\n    \"pending_redirect\": \"https://your.pending.redirect.com\",\r\n    \"failure_redirect\": \"https://your.failure.redirect.com\",\r\n    \"success_callback\": \"https://your.success.callback.com\",\r\n    \"failure_callback\": \"https://your.failure.callback.com\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://app.aviorapay.com/api/v1/purchases/","description":"<p>To Initiate a payment, the very first call to make is <code>/purchases</code> with the required data in the request body.</p>\n<p>To generate a Purchase, you are required to provide the <code>Brand ID</code> (in the request body) and <code>API key</code> (in the header) Both can be located in the Dashboard section of your merchant account login.</p>\n<p>The request body structure is shown on the request body of the example request shown here.</p>\n<p>The following (see table below) are the mandatory parameters that are required to create a purchase request.</p>\n<h3 id=\"mandatory-parameters-in-the-request-body\"><strong>Mandatory parameters in the request body:</strong></h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Notes</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>client.email</td>\n<td>The customer's email.</td>\n</tr>\n<tr>\n<td>client.city</td>\n<td>The customer's city.</td>\n</tr>\n<tr>\n<td>client.country</td>\n<td>ISO-3166 Country Code. Must be upper case. Example “SG” (Alpha2)</td>\n</tr>\n<tr>\n<td>client.stateCode</td>\n<td>Example “AL”, “XZ”. Must be in upper case.</td>\n</tr>\n<tr>\n<td>Client.street_address</td>\n<td>The customer's address.</td>\n</tr>\n<tr>\n<td>client.zip_code</td>\n<td>The customer's ZIP or postal code. If country=US, zip format must be NNNNN or NNNNN-NNNN.</td>\n</tr>\n<tr>\n<td>purchase.currency</td>\n<td>ISO 4217 code for currency you want to send the transaction in.  <br />  <br />Please note, the currency has to be enabled by the account manager for your account.</td>\n</tr>\n<tr>\n<td>purchase.products</td>\n<td>An object which contains the list of products which the customer is buying.</td>\n</tr>\n<tr>\n<td>purchase.products.name</td>\n<td>The name of the product.</td>\n</tr>\n<tr>\n<td>purchase.products.price</td>\n<td>Price in decimal format.  <br />example 1:  <br />EUR 5 , should be sent as 5.00  <br />  <br />example 2:  <br />USD 10 and 37 cents , should be sent as 10.37</td>\n</tr>\n<tr>\n<td>brand_id</td>\n<td>Obtain from Dashboard section of your merchant account login.</td>\n</tr>\n<tr>\n<td>success_redirect</td>\n<td>URL to send the user if the transactions is successful.</td>\n</tr>\n<tr>\n<td>pending_redirect</td>\n<td>URL to send the user if the transactions is in pending.</td>\n</tr>\n<tr>\n<td>failure_redirect</td>\n<td>URL to send the user if the transactions is unsuccessful.</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"optional-parameters\">Optional Parameters</h2>\n<h3 id=\"expireinmin\">expireInMin</h3>\n<p>This parameter, when passed in the PayIn request, sets the time window within which a customer should make the Interac payment through their bank's app. If a customer doesn't complete the payment within the configured time window, the status of the payment will be marked as 'EXPIRED' in Aviorapay.</p>\n<p>However, in certain cases, a payment made outside of this window could still be successful i.e. customer's account may be debited which would result in inconsistencies among Aviorapay's, merchant's and customer's status of the transaction. To avoid such cases it is advised to set the expiry time limit appropriately and advise the customers to make payment within this window. However, if there is an inconsistency between the status at Aviorapay and at customer's Bank, the merchant and Aviorapay will reconcile the amounts during the settlement.</p>\n<h3 id=\"merchantref\">merchantRef</h3>\n<p>The <code>merchantRef</code> parameter, although not mandatory, is strongly advised for merchants to specify. Its inclusion offers two significant advantages for the merchant:</p>\n<ol>\n<li><p><strong>Prevention of Duplicate Requests:</strong> When a <code>merchantRef</code> is utilized, it acts as a unique identifier. This means that if a second purchase request is made using the same <code>merchantRef</code> (reference number), the system will recognize it and prevent duplicate transactions from occurring. This prevents unintended or duplicate purchases.</p>\n</li>\n<li><p><strong>Facilitation of Transaction Retrieval:</strong> In situations where the response from the initial purchase request times out or the 'purchaseId' isn't received, having the <code>merchantRef</code> allows the merchant to retrieve detailed transaction information. This ensures they can track and access the specific purchase details related to that reference, even if the immediate response was not received.</p>\n</li>\n</ol>\n<p>However, if the merchant does not specify the 'merchantRef' parameter, the platform will automatically assign and use an internal 'purchaseId' as a reference for that transaction.</p>\n<h3 id=\"paymentmethod\">paymentMethod</h3>\n<p>The <code>paymentMethod</code> parameter identifies which payment solution merchant wants to use to perform a transaction. If parameter is provided, than Aviorapay will perform direct payment with the selected payment method instead of loading Aviorapay URL.</p>\n<p>Possible Payment Methods allowed: UPI-QR and UPI-INTENT</p>\n<h3 id=\"possible-error-messages\">Possible Error Messages</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Error Messages</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Allowed Limit for this payment method for particular time period has been consumed</td>\n</tr>\n<tr>\n<td>some Mandatory Parameter are missing</td>\n</tr>\n<tr>\n<td>Invalid format of Date_of_Birth [allowed format: yyyy-mm-dd]</td>\n</tr>\n<tr>\n<td>Invalid Email Format</td>\n</tr>\n<tr>\n<td>Please submit Valid Alpha2 Country Code Ex:(AF,IN) in \\\"country\\\" parameter</td>\n</tr>\n<tr>\n<td>Please pass Valid State Code</td>\n</tr>\n<tr>\n<td>Please pass valid street address in \\\"street_address\\\" parameter</td>\n</tr>\n<tr>\n<td>Please pass valid city name in \\\"city\\\" parameter</td>\n</tr>\n<tr>\n<td>Please pass valid postal Code name in \\\"zip_code\\\" parameter</td>\n</tr>\n<tr>\n<td>You are not Allowed for Live Transaction</td>\n</tr>\n<tr>\n<td>Merchant Limit is not set</td>\n</tr>\n<tr>\n<td>Minimum amount is not set for this merchant</td>\n</tr>\n<tr>\n<td>Brand not found !</td>\n</tr>\n<tr>\n<td>Your charges setting is incomplete .Plese Contact to Administrator.</td>\n</tr>\n<tr>\n<td>Only {{currencyCode}} currency is allowed.</td>\n</tr>\n<tr>\n<td>Transaction amount must be equal or greater to minimum trans amount</td>\n</tr>\n<tr>\n<td>Invalid_Parameter  <br />You'd usually get it when one or more mandatory parameters are not present in the request.</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"3c5cf351-d112-4376-b758-c6cee9885adb","id":"3c5cf351-d112-4376-b758-c6cee9885adb","name":"PayIn API","type":"folder"}},"urlObject":{"path":["purchases",""],"host":["https://app.aviorapay.com/api/v1"],"query":[],"variable":[]}},"response":[{"id":"c6c3a666-584f-44a6-9c56-f56daa11632b","name":"UPI-QR","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer Token"}],"body":{"mode":"raw","raw":"{\r\n    \"client\": {\r\n        \"email\": \"test@gmail.com\",\r\n        \"full_name\": \"test test\",\r\n        \"country\": \"IN\",\r\n        \"city\": \"Jaipur\",\r\n        \"stateCode\": \"RJ\",\r\n        \"street_address\": \"Praça da Bíblia 1308\",\r\n        \"zip_code\": \"302022\",\r\n        \"date_of_birth\": \"1994-31-04\",\r\n        \"phone\": \"+91 9634988765\"\r\n    },\r\n    \"purchase\": {\r\n        \"currency\": \"INR\",\r\n        \"products\": [\r\n            {\r\n                \"name\": \"test\",\r\n                \"price\": 100\r\n            }\r\n        ]\r\n    },\r\n    \"paymentMethod\": \"UPI-QR\",\r\n    \"merchantRef\": \"test12\", // optional\r\n    \"brand_id\": \"{{merchant_brand_id}}\",\r\n    \"success_redirect\": \"https://your.success.redirect.com\",\r\n    \"pending_redirect\": \"https://your.pending.redirect.com\",\r\n    \"failure_redirect\": \"https://your.failure.redirect.com\",\r\n    \"success_callback\": \"https://your.success.callback.com\",\r\n    \"failure_callback\": \"https://your.failure.callback.com\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://app.aviorapay.com/api/v1/purchases"},"status":"Success","code":202,"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"{\r\n    \"purchaseId\": \"6682942d5273633e7b8d30c8\",\r\n    \"client\": {\r\n        \"email\": \"deepakdeepaksinghal@gmail.com\",\r\n        \"date_of_birth\": \"1970-07-10\",\r\n        \"street_address\": \"10 New Burlington Street Apt. 214\",\r\n        \"country\": \"EG\",\r\n        \"city\": \"London\",\r\n        \"zip_code\": \"W1S 3BE\",\r\n        \"cc\": [],\r\n        \"bcc\": [],\r\n        \"stateCode\": \"QLD\"\r\n    },\r\n    \"updated_on\": 1719833645,\r\n    \"type\": \"purchase\",\r\n    \"paymentMethod\": \"UPI-QR\",\r\n    \"amountUnit\": \"MAJOR\",\r\n    \"errorMsg\": \"\",\r\n    \"redirectType\": \"POST\",\r\n    \"force_recurring\": false,\r\n    \"created_on\": 1719833645,\r\n    \"merchantRef\": \"6682942d5273633e7b8d30c8\",\r\n    \"merchantName\": \"merchant002\",\r\n    \"purchase\": {\r\n        \"currency\": \"INR\",\r\n        \"products\": [\r\n            {\r\n                \"name\": \"test\",\r\n                \"quantity\": 1.0,\r\n                \"price\": 10.0,\r\n                \"discount\": 0,\r\n                \"tax_percent\": \"0.00\"\r\n            }\r\n        ],\r\n        \"total\": 10.0,\r\n        \"language\": \"en\",\r\n        \"notes\": \"\",\r\n        \"debt\": 0,\r\n        \"total_formatted\": 1.0,\r\n        \"request_client_details\": [],\r\n        \"timezone\": \"MIT\",\r\n        \"email_message\": \"\"\r\n    },\r\n    \"payment\": {\r\n        \"is_outgoing\": false,\r\n        \"payment_type\": \"PURCHASE\",\r\n        \"amount\": 10.0,\r\n        \"currency\": \"INR\",\r\n        \"net_amount\": 10.0,\r\n        \"fee_amount\": 0.0,\r\n        \"pending_amount\": 0.0,\r\n        \"pending_unfreeze_on\": null,\r\n        \"description\": \"\",\r\n        \"paid_on\": 1719833645,\r\n        \"remote_paid_on\": 1719833645\r\n    },\r\n    \"issuer_details\": {\r\n        \"website\": \"\",\r\n        \"legal_street_address\": \"\",\r\n        \"legal_country\": \"\",\r\n        \"legal_city\": \"\",\r\n        \"legal_zip_code\": \"\",\r\n        \"bank_accounts\": [\r\n            {}\r\n        ],\r\n        \"legal_name\": \"test6\",\r\n        \"brand_name\": \"test6\",\r\n        \"registration_number\": \"\",\r\n        \"tax_number\": \"\"\r\n    },\r\n    \"transaction_data\": {\r\n        \"payment_method\": \"\",\r\n        \"flow\": \"payform\",\r\n        \"extra\": {\r\n            \"amount\": 10.0,\r\n            \"masked_pan\": \"UPI\"\r\n        },\r\n        \"country\": \"\",\r\n        \"attempts\": [\r\n            {\r\n                \"client_ip\": \"110.235.229.42\",\r\n                \"type\": \"execute\",\r\n                \"payment_method\": \"UPI-QR\",\r\n                \"flow\": \"payform\",\r\n                \"successful\": true,\r\n                \"country\": \"UPI\",\r\n                \"processing_time\": 1719833645,\r\n                \"extra\": {\r\n                    \"amount\": 10.0,\r\n                    \"masked_pan\": \"UPI\"\r\n                }\r\n            }\r\n        ]\r\n    },\r\n    \"status\": \"PAYMENT_IN_PROCESS\",\r\n    \"status_history\": [\r\n        {\r\n            \"status\": \"created\",\r\n            \"timestamp\": 1719833645\r\n        },\r\n        {\r\n            \"status\": \"pending_execute\",\r\n            \"timestamp\": 1719833645\r\n        },\r\n        {\r\n            \"status\": \"payment_in_process\",\r\n            \"timestamp\": 1719833645\r\n        }\r\n    ],\r\n    \"is_test\": false,\r\n    \"brand_id\": \"c4003b2c-22d4-4dc1-ad0c-c6b54f8c9636\",\r\n    \"send_receipt\": false,\r\n    \"is_recurring_token\": false,\r\n    \"skip_capture\": false,\r\n    \"reference_generated\": \"PS10421\",\r\n    \"issued\": \"2024-07-01\",\r\n    \"due\": 1719833645,\r\n    \"refund_upto\": 0,\r\n    \"cc_descriptor\": \"\",\r\n    \"fraudScore\": \"NA\",\r\n    \"trustScore\": \"NA\",\r\n    \"payInDetails\": {\r\n        \"expiration_date\": \"2025-03-27 23:59:59\",\r\n        \"qrCode\": \"iVBORw0KGgoAAAANSUhEUgAAAb0AAAG9AQAAAACpVZXpAAAH7UlEQVR4nO1cQY7qSgw0yiJLjpCbJBdDIhIXg5vkCCyzQPi7qtwkM2/zNcsYpIfeQFcvTNtdLtsx/9trtS/wC/wCv8A/AZ9mdnpevb9bt6zj+TWso3Uen17i33nGkgverotN/orP7FoHeHV/AG1nfnoZ+kfYrcdKv8ei/gEMvljxRkQZ4MVi5Ww2nm9LbBF/xnLYd7YVVu3dZ262hPUvA3+CUsCnDesJ39/PHhidtlg5cRFek9+WtSgwPO595ldGI4dTAohX/8ZpG2Hp8MdiQPnjEL7XIWJdEae6BfvgC0SxCGCx2Q2fvf5x5GMDGckRov7X2+8r4NhAvW6O82QrHBBeuGBHHjSHK7rDtDxtv8jD0YERv8PPwAHcRjogbv43/BF/wuZwytgHO9r4serxgbIg7vvzPNALY1GHzXDrwYJji2JgTsvOkY8PxGnDDYeVsPHcYjWoUtx6jF04cjPsa8PmjxWAroMWUbtbdPPHPuGZsOqdX8SfOJXGu26zagVgLILHraTWvOUDjRuuU4jq4a2xj8y9hLd6HaArFcMtD997gVoHJYCRwa8H2HzgWVxBDkoBxR5lraVHxIpgdWXEcjJKHrmw+S2Z071F8gLA+JSGCkwEbISoOFnJHiNtvSAhgc0RpyKmw/BeBqgUFUcJGIPWAZnjY1VXis+bUMdw93McHph0kXedfA/pBfMx5CKLlJCJ9n3+FEkOD1QSiuUyrSWaQfyuc0eS3UElm+m8ZYDNqrCbkQMgMMGWEcCQhdEB6a1Jsps/VgCGybASWTtOFu1Lz8SlD/lsgheepBXFupaUFQEiC4MXzozaRjYQrnhRAksioORDbx8doAAQkfwM3qzrP4MVI3lwRqeEOEgTgc37eyVg5zxFZNAuboR0HlkY5VZdbszbELtk6SpAk/DV44yBB2H5zFSWgR3KPAkSKIHZT3nt6EA4INgPmKJRim/1L1MljKI8zS0NbSwElG5qrX6DwsQkDQh5Kr91prI3V4jfqHUBYKfKH9jPQPbDCpchTkmop/xzgiYi9dULASm2863TQeuxGYuDYVUzmtFOm3tuxaDjA+Fi0AehAZFB0zOpfxikD4Uo7YOw9SFIBYAqkN4UyRnY4ZnNFWnfVlpX7WeTEI8PBGWepDvLZCDPopBZOQVVgj+CCNwaaaoBxP8p/zDloN5jZI/sQABGeYe7ctftyBUAPpmmozqBpAyZ/ArxmXmqfJTqIZVWbLGJJBWAtCXqN8rCqIN1rqh9N0qIs84dGzU2raMAkPEbJjMWt85atJg1fZXZhm7CURyqDvCpWpejnUci4QrxmWSSVQwqRGwT47qdEFQBOPCWpxeCPBulsl55KiyIOM96hiLWw+sAndSQB+1KqQxnjEBmIC+xb2NNjFnJp95RASjimEViKtAiTWoEM1bf1YHK2vKOPR4fiJuLyrIZuk0hNOP6Z9McsxJk8gsJEm44sYEqQHaghvF4fQk9ch+9MXR3aOdRJA9KsJVKDw9k1FbDE1WyiOkUghiwSQlQycmyz5mCRyWgZxAyFU2dJJvxm59RsgerlmS/XXMFgOzfYU3H1OFuSlaRnq288JyuyL5dhLJPB0IBIBa9mbCrOYxaqkqlqPwhlcU1B89Ud/wnklcABjdCmi4dEcoyo1Nrt2yVsDGrGGpqrgNUqY8siQblQXMeOcZv6Ijr1LpYdjWd4wM9h2yYcanE02gRxY3WmSHSxBKP1wFK4NFVz0i0jZUwO2Viz3PHA7nrfD4+8MlRLCRl4NITs42WxPdZxKGQdpXSah/aWQDo5IcJVB2ZhBrHi0UcmjY7eH/8HAWAraaTxMfSAU1ah9E9L8pAVD6tBGQnt/h1bMFGg3fLMdjUwvaMNfMOzCJtR+7wQPWucKBmZjjnV61DjJtxXkJpiO1qOhWAOV/TYhKcUpM2F91rxqGJVrHYdXcXAPIA5dDsIPXwnUZWOxRpgrMjEzORW8GrAnDO4tbE8QnORrCfBeeOMvSk3h/LLR6FgNtIIyui1OglaTAhYXNYamicufGdIx8eqFz9ZTkMYWy8dA1vqRp4Ir/2WcLINlBQAPgkIWQQz0c8OFvlkl8zA5lzGAeHz9+FgO6ii+y9QCRSowHdTtH9xOZTjWBn6asKUK2VvtBaUuFH+R62oAZkObLfKzM71wHCqhyVaFPpIs/emndV+mLfBmtivv85Dg9kAwajE+K3kg8lpq3YA0dlY48GAM+FgDklq7wDoVtUaVT/e/YdJDdiUcPrAHmeFJhemkBKMunZ/y6nZDeYGMKmzB8eCBshHW1T6VhuqdabzmI+P2Tpm1OWAWoei88uSBV+o9G7eimfN4O0f9e/enyg9PgL5Xk9tqDP9OKmKilbCNU0dxL6Wgr4aOlo/yGOagQ7yeZqwYRnXndlxArAnNHfRvbzXlML5ktJmWdij2rgsxAQVlVJMF2xaUCcGuUH6n9SpX3f9XR8IF7qQIiTlUWcznXf5/CRZfflqIGuaxkgDEVqaOyX4+VmnNvic2SyTCi5VRWfdgVUAF5dUVtj6KrpwL545dMX7TNg/LMaeHygnr7YxNM2JcEvVOLJrISKolk9oPpxW7ep+JJodLJqnkpN9Vs1IFxsarqzpLKHsrUXGaW1+vrFfj3w8+BA+iOHA1omrxbCJ9F67IP2oUK04+QFgC2Sq8U7x5CGTyVsaL3LLjIp9ywC/NPrC/wCv8Av8C/A/wCpreUSrYyOqQAAAABJRU5ErkJggg==\",\r\n    },\r\n    \"refund_availability\": \"NONE\",\r\n    \"refundable_amount\": 0.0,\r\n    \"success_redirect\": \"https://your.success.redirect.com\",\r\n    \"pending_redirect\": \"https://your.pending.redirect.com\",\r\n    \"failure_redirect\": \"https://your.failure.redirect.com\",\r\n    \"success_callback\": \"https://your.success.callback.com\",\r\n    \"failure_callback\": \"https://your.failure.callback.com\"\r\n    \"platform\": \"API\",\r\n    \"created_from_ip\": \"110.235.229.42\",\r\n    \"checkout_url\": \"https://app.aviorapay.com/payments/6682942d5273633e7b8d30c8/\"\r\n}\r\n"},{"id":"23939a3f-0786-49fa-9adb-0a49529fd4ec","name":"UPI-INTENT","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer Token"}],"body":{"mode":"raw","raw":"{\r\n    \"client\": {\r\n        \"email\": \"test@gmail.com\",\r\n        \"full_name\": \"test test\",\r\n        \"country\": \"IN\",\r\n        \"city\": \"Jaipur\",\r\n        \"stateCode\": \"RJ\",\r\n        \"street_address\": \"Praça da Bíblia 1308\",\r\n        \"zip_code\": \"302022\",\r\n        \"date_of_birth\": \"1994-31-04\",\r\n        \"phone\": \"+91 9634988765\"\r\n    },\r\n    \"purchase\": {\r\n        \"currency\": \"INR\",\r\n        \"products\": [\r\n            {\r\n                \"name\": \"test\",\r\n                \"price\": 100\r\n            }\r\n        ]\r\n    },\r\n    \"paymentMethod\": \"UPI-INTENT\",\r\n    \"merchantRef\": \"test12\", // optional\r\n    \"brand_id\": \"{{merchant_brand_id}}\",\r\n    \"success_redirect\": \"https://your.success.redirect.com\",\r\n    \"pending_redirect\": \"https://your.pending.redirect.com\",\r\n    \"failure_redirect\": \"https://your.failure.redirect.com\",\r\n    \"success_callback\": \"https://your.success.callback.com\",\r\n    \"failure_callback\": \"https://your.failure.callback.com\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://app.aviorapay.com/api/v1/purchases"},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"{\r\n    \"purchaseId\": \"6682942d5273633e7b8d30c8\",\r\n    \"client\": {\r\n        \"email\": \"deepakdeepaksinghal@gmail.com\",\r\n        \"date_of_birth\": \"1970-07-10\",\r\n        \"street_address\": \"10 New Burlington Street Apt. 214\",\r\n        \"country\": \"EG\",\r\n        \"city\": \"London\",\r\n        \"zip_code\": \"W1S 3BE\",\r\n        \"cc\": [],\r\n        \"bcc\": [],\r\n        \"stateCode\": \"QLD\"\r\n    },\r\n    \"updated_on\": 1719833645,\r\n    \"type\": \"purchase\",\r\n    \"paymentMethod\": \"UPI-INTENT\",\r\n    \"amountUnit\": \"MAJOR\",\r\n    \"errorMsg\": \"\",\r\n    \"redirectType\": \"POST\",\r\n    \"force_recurring\": false,\r\n    \"created_on\": 1719833645,\r\n    \"merchantRef\": \"6682942d5273633e7b8d30c8\",\r\n    \"merchantName\": \"merchant002\",\r\n    \"purchase\": {\r\n        \"currency\": \"INR\",\r\n        \"products\": [\r\n            {\r\n                \"name\": \"test\",\r\n                \"quantity\": 1.0,\r\n                \"price\": 10.0,\r\n                \"discount\": 0,\r\n                \"tax_percent\": \"0.00\"\r\n            }\r\n        ],\r\n        \"total\": 10.0,\r\n        \"language\": \"en\",\r\n        \"notes\": \"\",\r\n        \"debt\": 0,\r\n        \"total_formatted\": 1.0,\r\n        \"request_client_details\": [],\r\n        \"timezone\": \"MIT\",\r\n        \"email_message\": \"\"\r\n    },\r\n    \"payment\": {\r\n        \"is_outgoing\": false,\r\n        \"payment_type\": \"PURCHASE\",\r\n        \"amount\": 10.0,\r\n        \"currency\": \"INR\",\r\n        \"net_amount\": 10.0,\r\n        \"fee_amount\": 0.0,\r\n        \"pending_amount\": 0.0,\r\n        \"pending_unfreeze_on\": null,\r\n        \"description\": \"\",\r\n        \"paid_on\": 1719833645,\r\n        \"remote_paid_on\": 1719833645\r\n    },\r\n    \"issuer_details\": {\r\n        \"website\": \"\",\r\n        \"legal_street_address\": \"\",\r\n        \"legal_country\": \"\",\r\n        \"legal_city\": \"\",\r\n        \"legal_zip_code\": \"\",\r\n        \"bank_accounts\": [\r\n            {}\r\n        ],\r\n        \"legal_name\": \"test6\",\r\n        \"brand_name\": \"test6\",\r\n        \"registration_number\": \"\",\r\n        \"tax_number\": \"\"\r\n    },\r\n    \"transaction_data\": {\r\n        \"payment_method\": \"\",\r\n        \"flow\": \"payform\",\r\n        \"extra\": {\r\n            \"amount\": 10.0,\r\n            \"masked_pan\": \"UPI\"\r\n        },\r\n        \"country\": \"\",\r\n        \"attempts\": [\r\n            {\r\n                \"client_ip\": \"110.235.229.42\",\r\n                \"type\": \"execute\",\r\n                \"payment_method\": \"UPI-COLLECT\",\r\n                \"flow\": \"payform\",\r\n                \"successful\": true,\r\n                \"country\": \"UPI\",\r\n                \"processing_time\": 1719833645,\r\n                \"extra\": {\r\n                    \"amount\": 10.0,\r\n                    \"masked_pan\": \"UPI\"\r\n                }\r\n            }\r\n        ]\r\n    },\r\n    \"status\": \"PAYMENT_IN_PROCESS\",\r\n    \"status_history\": [\r\n        {\r\n            \"status\": \"created\",\r\n            \"timestamp\": 1719833645\r\n        },\r\n        {\r\n            \"status\": \"pending_execute\",\r\n            \"timestamp\": 1719833645\r\n        },\r\n        {\r\n            \"status\": \"payment_in_process\",\r\n            \"timestamp\": 1719833645\r\n        }\r\n    ],\r\n    \"is_test\": false,\r\n    \"brand_id\": \"c4003b2c-22d4-4dc1-ad0c-c6b54f8c9636\",\r\n    \"send_receipt\": false,\r\n    \"is_recurring_token\": false,\r\n    \"skip_capture\": false,\r\n    \"reference_generated\": \"PS10421\",\r\n    \"issued\": \"2024-07-01\",\r\n    \"due\": 1719833645,\r\n    \"refund_upto\": 0,\r\n    \"cc_descriptor\": \"\",\r\n    \"fraudScore\": \"NA\",\r\n    \"trustScore\": \"NA\",\r\n    \"payInDetails\": {\r\n        \"transaction_expiry\": \"2026-02-21 07:11:13\",\r\n        \"intentUri\": \"upi://pay?pa=bom260101330774%40mahb&am=101&tn=jamb&tr=jamb&pn=V%20S%20ENTERPRISEScu=\"\r\n    },\r\n    \"refund_availability\": \"NONE\",\r\n    \"refundable_amount\": 0.0,\r\n    \"success_redirect\": \"https://your.success.redirect.com\",\r\n    \"pending_redirect\": \"https://your.pending.redirect.com\",\r\n    \"failure_redirect\": \"https://your.failure.redirect.com\",\r\n    \"success_callback\": \"https://your.success.callback.com\",\r\n    \"failure_callback\": \"https://your.failure.callback.com\"\r\n    \"platform\": \"API\",\r\n    \"created_from_ip\": \"110.235.229.42\",\r\n    \"checkout_url\": \"https://app.aviorapay.com/payments/6682942d5273633e7b8d30c8/\"\r\n}"}],"_postman_id":"323f86c6-bd6e-42f0-a287-56d70bf77041"},{"name":"Get Status","id":"e2b97430-5d3e-40e8-a463-c01d8c452163","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer Token","type":"text"}],"url":"https://app.aviorapay.com/api/v1/purchases/{purchaseId}/","description":"<p>This API tells you about all the details of a purchase (PayIn), including its history</p>\n<p><strong>Note:</strong> With respect to bank transfers, the purchase request is synonymous with the PayIn request.</p>\n<h3 id=\"mandatory\">Mandatory</h3>\n<p>you need to pass the <code>PurchaseID</code> in the API URL</p>\n<h3 id=\"possible-value-of-status\">Possible Value of Status</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Status</strong></th>\n<th><strong>Notes</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>paid</td>\n<td>Transaction Successful</td>\n</tr>\n<tr>\n<td>payment_in_process</td>\n<td>Payment is under Processing</td>\n</tr>\n<tr>\n<td>expired</td>\n<td>Purchase has Expired.</td>\n</tr>\n<tr>\n<td>error</td>\n<td>Transaction has Failed.</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"response-examples\">Response Examples</h3>\n<p>In the response examples you can see instances of both <code>Paid</code> and <code>Error</code> Status purchases.</p>\n<h3 id=\"error-details\">Error Details</h3>\n<p>If there are any issues on the Purchase you can get more details from the <code>transaction_data.attempts.error</code> attribute of the response object</p>\n<h3 id=\"errors\">Errors</h3>\n<p>If there are any errors then it'll be in the format of :</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"message\": \"descriptive error message\",\n    \"code\": \"error_code\"\n}\n\n</code></pre>\n<p>Please see the Status Code section for further details.</p>\n","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"3c5cf351-d112-4376-b758-c6cee9885adb","id":"3c5cf351-d112-4376-b758-c6cee9885adb","name":"PayIn API","type":"folder"}},"urlObject":{"path":["purchases","{purchaseId}",""],"host":["https://app.aviorapay.com/api/v1"],"query":[],"variable":[]}},"response":[{"id":"35d4f2e1-71a9-45ca-af88-73fccd244945","name":"Success","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer Token"}],"url":"https://app.aviorapay.com/api/v1/purchases/{purchaseId}/"},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"{\r\n    \"purchaseId\": \"66c4667bb993c970367c288a\",\r\n    \"client\": {\r\n        \"email\": \"deepakdeepaksinghal@gmail.com\",\r\n        \"date_of_birth\": \"1970-07-10\",\r\n        \"street_address\": \"10 New Burlington Street Apt. 214\",\r\n        \"country\": \"IN\",\r\n        \"city\": \"London\",\r\n        \"zip_code\": \"W1S 3BE\",\r\n        \"cc\": [],\r\n        \"bcc\": [],\r\n        \"stateCode\": \"QLD\"\r\n    },\r\n    \"updated_on\": 1724147324,\r\n    \"type\": \"purchase\",\r\n    \"paymentMethod\": \"UPI\",\r\n    \"amountUnit\": \"MAJOR\",\r\n    \"errorMsg\": \"\",\r\n    \"redirectType\": \"POST\",\r\n    \"force_recurring\": false,\r\n    \"created_on\": 1724147324,\r\n    \"merchantRef\": \"66c4667bb993c970367c288a\",\r\n    \"merchantName\": \"merchant002\",\r\n    \"purchase\": {\r\n        \"currency\": \"INR\",\r\n        \"products\": [\r\n            {\r\n                \"name\": \"test\",\r\n                \"quantity\": 1.0,\r\n                \"price\": 10.0,\r\n                \"discount\": 0,\r\n                \"tax_percent\": \"0.00\"\r\n            }\r\n        ],\r\n        \"total\": 10.0,\r\n        \"language\": \"en\",\r\n        \"notes\": \"\",\r\n        \"debt\": 0,\r\n        \"total_formatted\": 1.0,\r\n        \"expireInMin\": \"35\",\r\n        \"request_client_details\": [],\r\n        \"timezone\": \"MIT\",\r\n        \"email_message\": \"\"\r\n    },\r\n    \"payment\": {\r\n        \"is_outgoing\": false,\r\n        \"payment_type\": \"PURCHASE\",\r\n        \"amount\": 10.0,\r\n        \"currency\": \"INR\",\r\n        \"net_amount\": 10.0,\r\n        \"fee_amount\": 0.0,\r\n        \"pending_amount\": 0.0,\r\n        \"pending_unfreeze_on\": null,\r\n        \"description\": \"\",\r\n        \"paid_on\": 1724147324,\r\n        \"remote_paid_on\": 1724147324\r\n    },\r\n    \"issuer_details\": {\r\n        \"website\": \"\",\r\n        \"legal_street_address\": \"\",\r\n        \"legal_country\": \"\",\r\n        \"legal_city\": \"\",\r\n        \"legal_zip_code\": \"\",\r\n        \"bank_accounts\": [\r\n            {}\r\n        ],\r\n        \"legal_name\": \"test6\",\r\n        \"brand_name\": \"test6\",\r\n        \"registration_number\": \"\",\r\n        \"tax_number\": \"\"\r\n    },\r\n    \"transaction_data\": {\r\n        \"payment_method\": \"\",\r\n        \"flow\": \"payform\",\r\n        \"extra\": {\r\n            \"amount\": 10.0,\r\n            \"masked_pan\": \"UPI\"\r\n        },\r\n        \"country\": \"\",\r\n        \"attempts\": [\r\n            {\r\n                \"client_ip\": \"103.59.75.113\",\r\n                \"type\": \"execute\",\r\n                \"payment_method\": \"UPI\",\r\n                \"flow\": \"payform\",\r\n                \"successful\": true,\r\n                \"country\": \"UPI\",\r\n                \"processing_time\": 1724147324,\r\n                \"extra\": {\r\n                    \"amount\": 10.0,\r\n                    \"masked_pan\": \"UPI\"\r\n                }\r\n            }\r\n        ]\r\n    },\r\n    \"status\": \"PAYMENT_IN_PROCESS\",\r\n    \"status_history\": [\r\n        {\r\n            \"status\": \"created\",\r\n            \"timestamp\": 1724147324\r\n        },\r\n        {\r\n            \"status\": \"pending_execute\",\r\n            \"timestamp\": 1724147324\r\n        },\r\n        {\r\n            \"status\": \"payment_in_process\",\r\n            \"timestamp\": 1724147324\r\n        }\r\n    ],\r\n    \"is_test\": false,\r\n    \"brand_id\": \"c4003b2c-22d4-4dc1-ad0c-c6b54f8c9636\",\r\n    \"send_receipt\": false,\r\n    \"is_recurring_token\": false,\r\n    \"skip_capture\": false,\r\n    \"reference_generated\": \"PS10907\",\r\n    \"issued\": \"2024-08-20\",\r\n    \"due\": 1724147324,\r\n    \"refund_upto\": 1725871728,\r\n    \"cc_descriptor\": \"test1\",\r\n    \"fraudScore\": \"NA\",\r\n    \"trustScore\": \"NA\",\r\n    \"payInDetails\": {\r\n        \"expiration_date\": \"2025-03-27 23:59:59\",\r\n        \"qrCode\": \"iVBORw0KGgoAAAANSUhEUgAAAb0AAAG9AQAAAACpVZXpAAAH7UlEQVR4nO1cQY7qSgw0yiJLjpCbJBdDIhIXg5vkCCyzQPi7qtwkM2/zNcsYpIfeQFcvTNtdLtsx/9trtS/wC/wCv8A/AZ9mdnpevb9bt6zj+TWso3Uen17i33nGkgverotN/orP7FoHeHV/AG1nfnoZ+kfYrcdKv8ei/gEMvljxRkQZ4MVi5Ww2nm9LbBF/xnLYd7YVVu3dZ262hPUvA3+CUsCnDesJ39/PHhidtlg5cRFek9+WtSgwPO595ldGI4dTAohX/8ZpG2Hp8MdiQPnjEL7XIWJdEae6BfvgC0SxCGCx2Q2fvf5x5GMDGckRov7X2+8r4NhAvW6O82QrHBBeuGBHHjSHK7rDtDxtv8jD0YERv8PPwAHcRjogbv43/BF/wuZwytgHO9r4serxgbIg7vvzPNALY1GHzXDrwYJji2JgTsvOkY8PxGnDDYeVsPHcYjWoUtx6jF04cjPsa8PmjxWAroMWUbtbdPPHPuGZsOqdX8SfOJXGu26zagVgLILHraTWvOUDjRuuU4jq4a2xj8y9hLd6HaArFcMtD997gVoHJYCRwa8H2HzgWVxBDkoBxR5lraVHxIpgdWXEcjJKHrmw+S2Z071F8gLA+JSGCkwEbISoOFnJHiNtvSAhgc0RpyKmw/BeBqgUFUcJGIPWAZnjY1VXis+bUMdw93McHph0kXedfA/pBfMx5CKLlJCJ9n3+FEkOD1QSiuUyrSWaQfyuc0eS3UElm+m8ZYDNqrCbkQMgMMGWEcCQhdEB6a1Jsps/VgCGybASWTtOFu1Lz8SlD/lsgheepBXFupaUFQEiC4MXzozaRjYQrnhRAksioORDbx8doAAQkfwM3qzrP4MVI3lwRqeEOEgTgc37eyVg5zxFZNAuboR0HlkY5VZdbszbELtk6SpAk/DV44yBB2H5zFSWgR3KPAkSKIHZT3nt6EA4INgPmKJRim/1L1MljKI8zS0NbSwElG5qrX6DwsQkDQh5Kr91prI3V4jfqHUBYKfKH9jPQPbDCpchTkmop/xzgiYi9dULASm2863TQeuxGYuDYVUzmtFOm3tuxaDjA+Fi0AehAZFB0zOpfxikD4Uo7YOw9SFIBYAqkN4UyRnY4ZnNFWnfVlpX7WeTEI8PBGWepDvLZCDPopBZOQVVgj+CCNwaaaoBxP8p/zDloN5jZI/sQABGeYe7ctftyBUAPpmmozqBpAyZ/ArxmXmqfJTqIZVWbLGJJBWAtCXqN8rCqIN1rqh9N0qIs84dGzU2raMAkPEbJjMWt85atJg1fZXZhm7CURyqDvCpWpejnUci4QrxmWSSVQwqRGwT47qdEFQBOPCWpxeCPBulsl55KiyIOM96hiLWw+sAndSQB+1KqQxnjEBmIC+xb2NNjFnJp95RASjimEViKtAiTWoEM1bf1YHK2vKOPR4fiJuLyrIZuk0hNOP6Z9McsxJk8gsJEm44sYEqQHaghvF4fQk9ch+9MXR3aOdRJA9KsJVKDw9k1FbDE1WyiOkUghiwSQlQycmyz5mCRyWgZxAyFU2dJJvxm59RsgerlmS/XXMFgOzfYU3H1OFuSlaRnq288JyuyL5dhLJPB0IBIBa9mbCrOYxaqkqlqPwhlcU1B89Ud/wnklcABjdCmi4dEcoyo1Nrt2yVsDGrGGpqrgNUqY8siQblQXMeOcZv6Ijr1LpYdjWd4wM9h2yYcanE02gRxY3WmSHSxBKP1wFK4NFVz0i0jZUwO2Viz3PHA7nrfD4+8MlRLCRl4NITs42WxPdZxKGQdpXSah/aWQDo5IcJVB2ZhBrHi0UcmjY7eH/8HAWAraaTxMfSAU1ah9E9L8pAVD6tBGQnt/h1bMFGg3fLMdjUwvaMNfMOzCJtR+7wQPWucKBmZjjnV61DjJtxXkJpiO1qOhWAOV/TYhKcUpM2F91rxqGJVrHYdXcXAPIA5dDsIPXwnUZWOxRpgrMjEzORW8GrAnDO4tbE8QnORrCfBeeOMvSk3h/LLR6FgNtIIyui1OglaTAhYXNYamicufGdIx8eqFz9ZTkMYWy8dA1vqRp4Ir/2WcLINlBQAPgkIWQQz0c8OFvlkl8zA5lzGAeHz9+FgO6ii+y9QCRSowHdTtH9xOZTjWBn6asKUK2VvtBaUuFH+R62oAZkObLfKzM71wHCqhyVaFPpIs/emndV+mLfBmtivv85Dg9kAwajE+K3kg8lpq3YA0dlY48GAM+FgDklq7wDoVtUaVT/e/YdJDdiUcPrAHmeFJhemkBKMunZ/y6nZDeYGMKmzB8eCBshHW1T6VhuqdabzmI+P2Tpm1OWAWoei88uSBV+o9G7eimfN4O0f9e/enyg9PgL5Xk9tqDP9OKmKilbCNU0dxL6Wgr4aOlo/yGOagQ7yeZqwYRnXndlxArAnNHfRvbzXlML5ktJmWdij2rgsxAQVlVJMF2xaUCcGuUH6n9SpX3f9XR8IF7qQIiTlUWcznXf5/CRZfflqIGuaxkgDEVqaOyX4+VmnNvic2SyTCi5VRWfdgVUAF5dUVtj6KrpwL545dMX7TNg/LMaeHygnr7YxNM2JcEvVOLJrISKolk9oPpxW7ep+JJodLJqnkpN9Vs1IFxsarqzpLKHsrUXGaW1+vrFfj3w8+BA+iOHA1omrxbCJ9F67IP2oUK04+QFgC2Sq8U7x5CGTyVsaL3LLjIp9ywC/NPrC/wCv8Av8C/A/wCpreUSrYyOqQAAAABJRU5ErkJggg==\"\r\n    },\r\n    \"refund_availability\": \"NONE\",\r\n    \"refundable_amount\": 10.0,\r\n    \"success_redirect\": \"https://staging.aviorapay.com/getResponse.jsp?success=true\",\r\n    \"failure_redirect\": \"https://staging.aviorapay.com/getResponse.jsp?success=false\",\r\n    \"cancel_redirect\": \"\",\r\n    \"success_callback\": \"https://staging.aviorapay.com\",\r\n    \"failure_callback\": \"https://staging.aviorapay.com\",\r\n    \"platform\": \"API\",\r\n    \"created_from_ip\": \"103.59.75.113\",\r\n    \"checkout_url\": \"https://staging.aviorapay.com/payments/66c4667bb993c970367c288a/\",\r\n    \"payoutProcess\": false\r\n}"},{"id":"3f213e5a-bd23-4345-a4f8-2d076bbd7409","name":"Failure","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer Token","type":"text"}],"url":"https://app.aviorapay.com/api/v1/purchases/{purchaseId}/"},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"{\r\n    \"message\": \"Error Message\",\r\n    \"code\": \"error_code\"\r\n}"}],"_postman_id":"e2b97430-5d3e-40e8-a463-c01d8c452163"}],"id":"3c5cf351-d112-4376-b758-c6cee9885adb","description":"<p><strong>API Flow</strong></p>\n<img src=\"https://lh7-us.googleusercontent.com/cfWw_RYZ9eZVEKzKjeRW4I_VwbBTyqH78LUrJG6ulp7FkE1pXVD6DZr9MnQXB9KH_oLFasJDb156naCsBc2bgotPaVY7LtGOJNifpTOb5uks3fjAKpgVhU4dsXQmQ7hFKNFIVhZEl2p8fCN1YufsRaA\" />\n\n<ol>\n<li><p>The merchant initiates the purchase via the create purchase API. If successful, they receive a checkout URL in the response JSON. Sometimes they can also get an object of PayIn Details which they can use to make the payment.</p>\n</li>\n<li><p>The merchant then has 2 options</p>\n<ol>\n<li><p>Upon utilizing the checkout URL, depending on the payment method passed, the user will be presented with several payment choices from which to choose in order to complete the payment:</p>\n<ol>\n<li><p>QR Code</p>\n</li>\n<li><p>PhonePe, Googlepay or Paytm intent flow</p>\n</li>\n</ol>\n</li>\n<li><p>Retrieve the PayIn details in the response JSON (as shown below).</p>\n</li>\n</ol>\n</li>\n<li><p>After a successful or failed payment by the end user, an appropriate webhook would be sent to the merchant. If option 2a was the method employed, the user would be redirected to the appropriate redirect URL.</p>\n</li>\n</ol>\n<p><strong>Available Payment Methods</strong>: UPI-QR and UPI-INTENT</p>\n","auth":{"type":"noauth","isInherited":false},"event":[{"listen":"prerequest","script":{"type":"text/javascript","packages":{},"requests":{},"exec":[""],"id":"5c2bdad9-bf6d-49dd-b5a9-79ce0e846a3d"}},{"listen":"test","script":{"type":"text/javascript","packages":{},"requests":{},"exec":[""],"id":"61bf8e65-62c8-4304-97bc-99b194599993"}}],"_postman_id":"3c5cf351-d112-4376-b758-c6cee9885adb"},{"name":"Payout","item":[{"name":"PayOut","id":"05e52be4-1b7b-406f-be68-aad74454be16","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer Token","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"client\": {\n        \"email\": \"customer141@gmail.com\",\n        \"phone\": \"+91 9634088651\",\n        \"country\": \"IN\",\n        \"zip_code\": \"302018\",\n        \"city\": \"Jaipur\",\n        \"street_address\": \"Vaishali Nagar\",\n        \"full_name\": \"Rahul Jain\",\n        \"stateCode\": \"RJ\"\n    },\n    \"beneficiaryDetail\": {\n        \"bankAccountName\": \"Rahul Jain\",\n        \"bankAccountNumber\": \"123456789012\",\n        \"ifscCode\": \"HDFC021212\"\n    },\n    \"payoutMethod\": \"Payout-BANKTRANSFER\",\n    \"amount\": 100,\n    \"currency\": \"INR\",\n    \"purpose\": \"payout for testing\",\n    \"success_redirect\": \"https://your.success.redirect.com\",\n    \"pending_redirect\": \"https://your.pending.redirect.com\",\n    \"failure_redirect\": \"https://your.failure.redirect.com\",\n    \"success_callback\": \"https://your.success.callback.com\",\n    \"failure_callback\": \"https://your.failure.callback.com\"\n}","options":{"raw":{"language":"json"}}},"url":"https://app.aviorapay.com/api/v1/payout/","description":"<p>To Initiate a payment, the very first API call to make is <code>/payout/</code> with the required data in the request body.</p>\n<p>To generate a Payout, you are required to provide the <code>API key</code> (in the header) can be located in the Dashboard section of your merchant account login.</p>\n<p>The request body structure is shown on the request body of the example request shown here.</p>\n<p>The following (see table below) are the mandatory parameters that are required to create a Payout request.</p>\n<h3 id=\"mandatory-parameters-in-the-request-body\"><strong>Mandatory parameters in the request body:</strong></h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Notes</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>client.email</td>\n<td>The customer's email.</td>\n</tr>\n<tr>\n<td>client.phone</td>\n<td>The customer's phone number along with the country code.  <br />Example: +91 9634088651</td>\n</tr>\n<tr>\n<td>client.city</td>\n<td>The customer's city.</td>\n</tr>\n<tr>\n<td>client.country</td>\n<td>ISO-3166 Country Code. Must be upper case. Example “SG” (Alpha2)</td>\n</tr>\n<tr>\n<td>client.stateCode</td>\n<td>Example “AL”, “XZ”. Must be in upper case.</td>\n</tr>\n<tr>\n<td>Client.street_address</td>\n<td>The customer's address.</td>\n</tr>\n<tr>\n<td>client.zip_code</td>\n<td>The customer's ZIP or postal code. If country=US, zip format must be NNNNN or NNNNN-NNNN.</td>\n</tr>\n<tr>\n<td>currency</td>\n<td>ISO 4217 code for currency you want to send the transaction in.  <br />  <br />Please note, the currency has to be enabled by the account manager for your account.</td>\n</tr>\n<tr>\n<td>amount</td>\n<td>amount in decimal format.  <br />example 1:  <br />EUR 5 , should be sent as 5.00  <br />  <br />example 2:  <br />USD 10 and 37 cents , should be sent as 10.37</td>\n</tr>\n<tr>\n<td>payoutMethod</td>\n<td>example: PAYOUT-BANKTRANSFER</td>\n</tr>\n<tr>\n<td>success_redirect</td>\n<td>URL to send the user if the transactions is successful.</td>\n</tr>\n<tr>\n<td>pending_redirect</td>\n<td>URL to send the user if the transactions is in pending.</td>\n</tr>\n<tr>\n<td>failure_redirect</td>\n<td>URL to send the user if the transactions is unsuccessful.</td>\n</tr>\n<tr>\n<td>Purpose</td>\n<td>The purpose of doing a payout.</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"additional-parameters-for-this-usecase\">Additional <strong>parameters for this usecase:</strong></h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Notes</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>beneficiaryDetail.bankName</td>\n<td>The Bank Name in which the customer want's to credit the money.  <br />  <br />Optional Field.  <br />If passed, only use the mentioned bank names below. Anything else might lead to payout failures.  <br />If you don't want to pass, then you might need to open our checkout_url in the response and user can select the Bank from the dropdown.</td>\n</tr>\n<tr>\n<td>beneficiaryDetail.bankAccountName</td>\n<td>Mandatory Field.  <br />Account Holder's Full Name.  <br />It is advised to have atleast 2 words in the name.</td>\n</tr>\n<tr>\n<td>beneficiaryDetail.bankAccountCurrency</td>\n<td>Optional Field.  <br />The Currency in which the money will be credited. Generally the same as the <code>currency</code> field mentioned above.</td>\n</tr>\n<tr>\n<td>beneficiaryDetail.bankAccountNumber</td>\n<td>Mandatory Field.  <br />Account Holder's Account Number.  <br />This is the account in which the money will be credited.</td>\n</tr>\n<tr>\n<td>beneficiaryDetail.ifscCode</td>\n<td>Mandatory Field.  <br />IFSC code of the account in which the money will be credited.</td>\n</tr>\n<tr>\n<td>beneficiaryDetail.bankCountryCode</td>\n<td>Optional Field.  <br />The country code in which the account exist. Generally the same as the <code>country</code> field mentioned above.</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Bank Names:</strong></p>\n<img src=\"https://content.pstmn.io/94f46e68-73b7-4a16-bff1-1d4a57dd6e92/aW1hZ2UucG5n\" width=\"676\" height=\"3498\" />","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"5b384f19-5ee6-40b9-874a-6502a00de091","id":"5b384f19-5ee6-40b9-874a-6502a00de091","name":"Payout","type":"folder"}},"urlObject":{"path":["payout",""],"host":["https://app.aviorapay.com/api/v1"],"query":[],"variable":[]}},"response":[{"id":"a58aeaae-fe32-4583-8e3a-0c2f002f16f9","name":"Success","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer Token","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"client\": {\r\n        \"email\": \"customer141@gmail.com\",\r\n        \"phone\": \"+91 9634088651\",\r\n        \"country\": \"IN\",\r\n        \"zip_code\": \"302018\",\r\n        \"city\": \"Jaipur\",\r\n        \"street_address\": \"Vaishali Nagar\",\r\n        \"full_name\": \"Rahul Jain\",\r\n        \"stateCode\": \"RJ\"\r\n    },\r\n    \"beneficiaryDetail\": {\r\n        \"bankAccountName\": \"Rahul Jain\",\r\n        \"bankAccountNumber\": \"123456789012\",\r\n        \"ifscCode\": \"HDFC021212\"\r\n    },\r\n    \"payoutMethod\": \"Payout-BANKTRANSFER\",\r\n    \"amount\": 100,\r\n    \"currency\": \"INR\",\r\n    \"purpose\": \"payout for testing\",\r\n    \"success_redirect\": \"https://your.success.redirect.com\",\r\n    \"pending_redirect\": \"https://your.pending.redirect.com\",\r\n    \"failure_redirect\": \"https://your.failure.redirect.com\",\r\n    \"success_callback\": \"https://your.success.callback.com\",\r\n    \"failure_callback\": \"https://your.failure.callback.com\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://app.aviorapay.com/api/v1/payout/"},"status":"Accepted","code":202,"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"{\r\n    \"payoutId\": \"6977137755e0628e3600c562\",\r\n    \"client\": {\r\n        \"customerId\": \"NA\",\r\n        \"email\": \"customer141@gmail.com\",\r\n        \"phone\": \"+91 9634088651\",\r\n        \"country\": \"IN\",\r\n        \"zip_code\": \"302018\",\r\n        \"city\": \"Jaipur\",\r\n        \"street_address\": \"Vaishali Nagar\",\r\n        \"full_name\": \"Rahul Jain\",\r\n        \"stateCode\": \"RJ\"\r\n    },\r\n    \"updated_on\": 1769411447,\r\n    \"payoutMethod\": \"PAYOUT-BANKTRANSFER\",\r\n    \"beneficiaryDetail\": {\r\n        \"bankAccountName\": \"Rahul Jain\",\r\n        \"bankAccountNumber\": \"123456789012\",\r\n        \"ifscCode\": \"HDFC021212\"\r\n    },\r\n    \"amountUnit\": \"MAJOR\",\r\n    \"amount\": 100.0,\r\n    \"errorMsg\": \"\",\r\n    \"purpose\": \"payout for testing\",\r\n    \"created_on\": 1769411447,\r\n    \"merchantRef\": \"6977137755e0628e3600c562\",\r\n    \"status\": \"PAID\",\r\n    \"status_history\": [\r\n        {\r\n            \"status\": \"created\",\r\n            \"timestamp\": 1769411447\r\n        },\r\n        {\r\n            \"status\": \"paid\",\r\n            \"timestamp\": 1769411447\r\n        },\r\n\r\n    ],\r\n    \"currency\": \"INR\",\r\n    \"extraFee\": \"0\",\r\n    \"paymentOn\": 0,\r\n    \"checkout_url\": \"https://test4.paymentsclub.net/payout/092e59f94279a3742fa3715fe9a2112a/\",\r\n    \"taxAmount\": 0.0,\r\n    \"taxPercent\": 0.0,\r\n    \"success_redirect\": \"https://your.success.redirect.com\",\r\n    \"pending_redirect\": \"https://your.pending.redirect.com\",\r\n    \"failure_redirect\": \"https://your.failure.redirect.com\",\r\n    \"success_callback\": \"https://your.success.callback.com\",\r\n    \"failure_callback\": \"https://your.failure.callback.com\"\r\n    \"redirectType\": \"POST\",\r\n    \"sessionId\": \"\",\r\n    \"surcharge\": 0.0,\r\n    \"surchargeType\": \"\",\r\n    \"trxMethod\": \"BANKTRANSFER\",\r\n    \"success_callback\": \"\",\r\n    \"failure_callback\": \"\"\r\n}"},{"id":"2ba6d2c8-41b2-47fd-9346-7db04a3935ef","name":"Error","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer Token","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"client\": {\r\n        \"email\": \"customer141@gmail.com\",\r\n        \"phone\": \"+91 9634088651\",\r\n        \"country\": \"IN\",\r\n        \"zip_code\": \"302018\",\r\n        \"city\": \"Jaipur\",\r\n        \"street_address\": \"Vaishali Nagar\",\r\n        \"full_name\": \"Rahul Jain\",\r\n        \"stateCode\": \"RJ\"\r\n    },\r\n    \"beneficiaryDetail\": {\r\n        \"bankAccountName\": \"Rahul Jain\",\r\n        \"bankAccountNumber\": \"123456789012\",\r\n        \"ifscCode\": \"HDFC021212\"\r\n    },\r\n    \"payoutMethod\": \"Payout-BANKTRANSFER\",\r\n    \"amount\": 100,\r\n    \"currency\": \"INR\",\r\n    \"purpose\": \"payout for testing\",\r\n    \"success_redirect\": \"https://your.success.redirect.com\",\r\n    \"pending_redirect\": \"https://your.pending.redirect.com\",\r\n    \"failure_redirect\": \"https://your.failure.redirect.com\",\r\n    \"success_callback\": \"https://your.success.callback.com\",\r\n    \"failure_callback\": \"https://your.failure.callback.com\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://app.aviorapay.com/api/v1/payout/"},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"{\r\n    \"payoutId\": \"6977137755e0628e3600c562\",\r\n    \"client\": {\r\n        \"customerId\": \"NA\",\r\n        \"email\": \"customer141@gmail.com\",\r\n        \"phone\": \"+91 9634088651\",\r\n        \"country\": \"IN\",\r\n        \"zip_code\": \"302018\",\r\n        \"city\": \"Jaipur\",\r\n        \"street_address\": \"Vaishali Nagar\",\r\n        \"full_name\": \"Rahul Jain\",\r\n        \"stateCode\": \"RJ\"\r\n    },\r\n    \"updated_on\": 1769411447,\r\n    \"payoutMethod\": \"PAYOUT-BANKTRANSFER\",\r\n    \"beneficiaryDetail\": {\r\n        \"bankAccountName\": \"Rahul Jain\",\r\n        \"bankAccountNumber\": \"123456789012\",\r\n        \"ifscCode\": \"HDFC021212\"\r\n    },\r\n    \"amountUnit\": \"MAJOR\",\r\n    \"amount\": 100.0,\r\n    \"errorMsg\": \"This customer can not be processed !\",\r\n    \"purpose\": \"payout for testing\",\r\n    \"created_on\": 1769411447,\r\n    \"merchantRef\": \"6977137755e0628e3600c562\",\r\n    \"status\": \"ERROR\",\r\n    \"status_history\": [\r\n        {\r\n            \"status\": \"created\",\r\n            \"timestamp\": 1769411447\r\n        },\r\n        {\r\n            \"status\": \"error\",\r\n            \"timestamp\": 1769411447\r\n        }\r\n    ],\r\n    \"currency\": \"INR\",\r\n    \"extraFee\": \"0\",\r\n    \"paymentOn\": 0,\r\n    \"checkout_url\": \"https://test4.paymentsclub.net/payout/092e59f94279a3742fa3715fe9a2112a/\",\r\n    \"taxAmount\": 0.0,\r\n    \"taxPercent\": 0.0,\r\n    \"success_redirect\": \"https://your.success.redirect.com\",\r\n    \"pending_redirect\": \"https://your.pending.redirect.com\",\r\n    \"failure_redirect\": \"https://your.failure.redirect.com\",\r\n    \"success_callback\": \"https://your.success.callback.com\",\r\n    \"failure_callback\": \"https://your.failure.callback.com\"\r\n    \"redirectType\": \"POST\",\r\n    \"sessionId\": \"\",\r\n    \"surcharge\": 0.0,\r\n    \"surchargeType\": \"\",\r\n    \"trxMethod\": \"BANKTRANSFER\",\r\n    \"success_callback\": \"\",\r\n    \"failure_callback\": \"\"\r\n}"}],"_postman_id":"05e52be4-1b7b-406f-be68-aad74454be16"},{"name":"Get Status","id":"dd79430a-9928-4991-b62f-4754ad4d11a0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"https://app.aviorapay.com/api/v1/getpayout/{payoutId}/","description":"<p>This API tells you about all the details of a Payout, including its history.</p>\n<h3 id=\"mandatory\">Mandatory</h3>\n<p>you need to pass the payoutId in the API URL</p>\n<h3 id=\"possible-value-of-status\">Possible Value of Status</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Status</strong></th>\n<th><strong>Notes</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>paid</td>\n<td>Transaction Successful</td>\n</tr>\n<tr>\n<td>payout_in_process</td>\n<td>payout is under Processing.</td>\n</tr>\n<tr>\n<td>error</td>\n<td>Transaction has Failed.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["getpayout","{payoutId}",""],"host":["https://app.aviorapay.com/api/v1"],"query":[],"variable":[]}},"response":[{"id":"c11e5dba-5bd4-44df-9bb1-caf2026df51c","name":"Success","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer Token","type":"text"}],"url":"https://app.aviorapay.com/api/v1/getpayout/{payoutId}/"},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"{\r\n    \"payoutId\": \"6977137755e0628e3600c562\",\r\n    \"client\": {\r\n        \"customerId\": \"NA\",\r\n        \"email\": \"customer141@gmail.com\",\r\n        \"phone\": \"+91 9634088651\",\r\n        \"country\": \"IN\",\r\n        \"zip_code\": \"302018\",\r\n        \"city\": \"Jaipur\",\r\n        \"street_address\": \"Vaishali Nagar\",\r\n        \"full_name\": \"Rahul Jain\",\r\n        \"stateCode\": \"RJ\"\r\n    },\r\n    \"updated_on\": 1769411447,\r\n    \"payoutMethod\": \"PAYOUT-BANKTRANSFER\",\r\n    \"beneficiaryDetail\": {\r\n        \"bankAccountName\": \"Rahul Jain\",\r\n        \"bankAccountNumber\": \"123456789012\",\r\n        \"ifscCode\": \"HDFC021212\"\r\n    },\r\n    \"amountUnit\": \"MAJOR\",\r\n    \"amount\": 100.0,\r\n    \"errorMsg\": \"\",\r\n    \"purpose\": \"payout for testing\",\r\n    \"created_on\": 1769411447,\r\n    \"merchantRef\": \"6977137755e0628e3600c562\",\r\n    \"status\": \"PAID\",\r\n    \"status_history\": [\r\n        {\r\n            \"status\": \"created\",\r\n            \"timestamp\": 1769411447\r\n        },\r\n        {\r\n            \"status\": \"paid\",\r\n            \"timestamp\": 1769411447\r\n        },\r\n\r\n    ],\r\n    \"currency\": \"INR\",\r\n    \"extraFee\": \"0\",\r\n    \"paymentOn\": 0,\r\n    \"checkout_url\": \"https://test4.paymentsclub.net/payout/092e59f94279a3742fa3715fe9a2112a/\",\r\n    \"taxAmount\": 0.0,\r\n    \"taxPercent\": 0.0,\r\n    \"success_redirect\": \"https://your.success.redirect.com\",\r\n    \"pending_redirect\": \"https://your.pending.redirect.com\",\r\n    \"failure_redirect\": \"https://your.failure.redirect.com\",\r\n    \"success_callback\": \"https://your.success.callback.com\",\r\n    \"failure_callback\": \"https://your.failure.callback.com\"\r\n    \"redirectType\": \"POST\",\r\n    \"sessionId\": \"\",\r\n    \"surcharge\": 0.0,\r\n    \"surchargeType\": \"\",\r\n    \"trxMethod\": \"BANKTRANSFER\",\r\n    \"success_callback\": \"\",\r\n    \"failure_callback\": \"\"\r\n}"},{"id":"9668e3f2-0c14-4722-ac1c-9f6e11b7307e","name":"Error","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer Token","type":"text"}],"url":"https://app.aviorapay.com/api/v1/getpayout/{payoutId}/"},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"{\r\n    \"payoutId\": \"6977137755e0628e3600c562\",\r\n    \"client\": {\r\n        \"customerId\": \"NA\",\r\n        \"email\": \"customer141@gmail.com\",\r\n        \"phone\": \"+91 9634088651\",\r\n        \"country\": \"IN\",\r\n        \"zip_code\": \"302018\",\r\n        \"city\": \"Jaipur\",\r\n        \"street_address\": \"Vaishali Nagar\",\r\n        \"full_name\": \"Rahul Jain\",\r\n        \"stateCode\": \"RJ\"\r\n    },\r\n    \"updated_on\": 1769411447,\r\n    \"payoutMethod\": \"PAYOUT-BANKTRANSFER\",\r\n    \"beneficiaryDetail\": {\r\n        \"bankAccountName\": \"Rahul Jain\",\r\n        \"bankAccountNumber\": \"123456789012\",\r\n        \"ifscCode\": \"HDFC021212\"\r\n    },\r\n    \"amountUnit\": \"MAJOR\",\r\n    \"amount\": 100.0,\r\n    \"errorMsg\": \"This customer can not be processed !\",\r\n    \"purpose\": \"payout for testing\",\r\n    \"created_on\": 1769411447,\r\n    \"merchantRef\": \"6977137755e0628e3600c562\",\r\n    \"status\": \"ERROR\",\r\n    \"status_history\": [\r\n        {\r\n            \"status\": \"created\",\r\n            \"timestamp\": 1769411447\r\n        },\r\n        {\r\n            \"status\": \"error\",\r\n            \"timestamp\": 1769411447\r\n        }\r\n    ],\r\n    \"currency\": \"INR\",\r\n    \"extraFee\": \"0\",\r\n    \"paymentOn\": 0,\r\n    \"checkout_url\": \"https://test4.paymentsclub.net/payout/092e59f94279a3742fa3715fe9a2112a/\",\r\n    \"taxAmount\": 0.0,\r\n    \"taxPercent\": 0.0,\r\n    \"success_redirect\": \"https://your.success.redirect.com\",\r\n    \"pending_redirect\": \"https://your.pending.redirect.com\",\r\n    \"failure_redirect\": \"https://your.failure.redirect.com\",\r\n    \"success_callback\": \"https://your.success.callback.com\",\r\n    \"failure_callback\": \"https://your.failure.callback.com\"\r\n    \"redirectType\": \"POST\",\r\n    \"sessionId\": \"\",\r\n    \"surcharge\": 0.0,\r\n    \"surchargeType\": \"\",\r\n    \"trxMethod\": \"BANKTRANSFER\",\r\n    \"success_callback\": \"\",\r\n    \"failure_callback\": \"\"\r\n}"}],"_postman_id":"dd79430a-9928-4991-b62f-4754ad4d11a0"}],"id":"5b384f19-5ee6-40b9-874a-6502a00de091","description":"<p><strong>API Flow</strong></p>\n<img src=\"https://lh7-us.googleusercontent.com/Uxy8jmp5RP-c360-oIMAZy2As8naqJdARgKsWU0x_BtszfJlwdRVM6-obffbtjTABfI9V0hxH4Ad-Ns96We42lIMdL434tTzLJ6aEQBt0dzX_ZXeM4RtG_kmEeem7WIsN520Zh5PS3xTFYNzOmks0ak\" />\n\n<ol>\n<li><p>The merchant initiates the payout via the create payout API. If successful, they will receive a paid status in the response. If any additional fields are required from the user, the status would be in pending and the user needs to be redirected to the checkout_url.</p>\n</li>\n<li><p>After a successful or failed payment by the end user, an appropriate webhook would be sent to the merchant. If the user would be redirected to the checkout_url for some additional details, once the user clicks on Pay, the user will be redirected to the appropriate redirect URL.</p>\n</li>\n</ol>\n<p>Available payout methods: PAYOUT-BANKTRANSFER</p>\n","auth":{"type":"noauth","isInherited":false},"event":[{"listen":"prerequest","script":{"type":"text/javascript","packages":{},"requests":{},"exec":[""],"id":"fc549b52-bf35-4689-a427-8c67657625c7"}},{"listen":"test","script":{"type":"text/javascript","packages":{},"requests":{},"exec":[""],"id":"be900170-a5c5-46bc-8b73-562759f87e62"}}],"_postman_id":"5b384f19-5ee6-40b9-874a-6502a00de091"}],"id":"d5af708c-c10f-41e9-919e-22e398c1fab3","auth":{"type":"noauth","isInherited":false},"event":[{"listen":"prerequest","script":{"type":"text/javascript","packages":{},"requests":{},"exec":[""],"id":"98e0a267-ce8e-4c9b-9f4c-f09a1f1e31ef"}},{"listen":"test","script":{"type":"text/javascript","packages":{},"requests":{},"exec":[""],"id":"22075ed9-f3a3-4512-be6e-12ab6dad570d"}}],"_postman_id":"d5af708c-c10f-41e9-919e-22e398c1fab3","description":""}],"id":"e8a601de-8ff8-4b60-acdb-6cb3d4076aac","_postman_id":"e8a601de-8ff8-4b60-acdb-6cb3d4076aac","description":""},{"name":"3rd Party Cashiers","item":[{"name":"ThirdParty UPI","item":[{"name":"Concepts","item":[],"id":"474e6273-9232-488b-a80d-aab05b9baa26","description":"<h2 id=\"concepts\">Concepts</h2>\n<ul>\n<li><p><strong>APM Integration:</strong> Merchants integrate with set of Aviorapay APIs to manage both incoming (pay-ins) and outgoing (payouts) funds.</p>\n</li>\n<li><p><strong>Asynchronous Communication:</strong> Both payin and payout flows use callback URLs and webhooks to confirm transaction statuses, ensuring the merchant system stays updated.</p>\n</li>\n<li><p><strong>Secure Redirection:</strong> Customers are securely redirected from the merchant site to the 3rd-party's cashier page for payments and back to the merchant site upon completion.</p>\n</li>\n<li><p><strong>UPI Payment Options:</strong> The integration supports UPI-based payments, presenting customers with choices, like UPI Dynamic QR and UPI intevent via VPA, during the checkout process.</p>\n</li>\n<li><p><strong>Beneficiary Details:</strong> For payouts, essential beneficiary details, including the Virtual Payment Address (VPA), must be provided to correctly route funds.</p>\n</li>\n</ul>\n<hr />\n<h2 id=\"key-steps-in-the-integration-process\">Key Steps in the Integration Process</h2>\n<h3 id=\"payin-flow\">PayIn Flow</h3>\n<ol>\n<li><p><strong>Customer Selection:</strong><br /> The customer selects UPI as the payment method on the merchant’s website.</p>\n</li>\n<li><p><strong>API Call to Create Purchase:</strong><br /> The merchant system calls the Aviorapay <code>createPurchase</code> API to initiate the transaction.</p>\n</li>\n<li><p><strong>Redirection to Third-Party Cashier Page:</strong><br /> The customer is redirected to 3rd-party's cashier page using the provided checkout URL.</p>\n</li>\n<li><p><strong>Payment Options Display:</strong><br /> On the cashier page, the customer is presented with multiple UPI payment options, such as:</p>\n<ul>\n<li><p>UPI Dynamic QR</p>\n</li>\n<li><p>UPI Intent (via VPA)</p>\n</li>\n</ul>\n</li>\n<li><p><strong>Transaction Execution:</strong><br /> The customer completes the payment using their UPI app.</p>\n</li>\n<li><p><strong>Callback &amp; Confirmation:</strong><br /> Upon a successful payment, success callback is sent to the merchant’s designated URL. The customer is then redirected back to the merchant’s checkout page, where they see confirmation of a successful payment and an updated balance.</p>\n</li>\n</ol>\n<h3 id=\"payout-flow\">Payout Flow</h3>\n<ol>\n<li><p><strong>Payout Request Initiation:</strong><br /> The customer initiates a payout request directly on the merchant’s website.</p>\n</li>\n<li><p><strong>Beneficiary Details Entry:</strong><br /> The customer enters the Virtual Payment Address (VPA) where they wish to receive the payout.</p>\n</li>\n<li><p><strong>API Call to Process Payout:</strong><br /> The merchant calls the payout API to process the request.</p>\n<ul>\n<li><p><strong>Input:</strong> Payout amount, beneficiary details (including VPA), and other required parameters.</p>\n</li>\n<li><p><strong>Callback:</strong> A callback URL is set up to receive asynchronous updates.</p>\n</li>\n</ul>\n</li>\n<li><p><strong>Payout Execution:</strong><br /> Payout is processed to the customer’s specified VPA.</p>\n</li>\n<li><p><strong>Webhook Notification:</strong><br /> A success webhook is triggered upon the successful completion of the payout.</p>\n</li>\n<li><p><strong>Balance Update:</strong><br /> Both the customer’s and merchant’s account balances are updated to reflect the transaction.</p>\n</li>\n</ol>\n","_postman_id":"474e6273-9232-488b-a80d-aab05b9baa26"},{"name":"Payin","item":[{"name":"Create Purchase","id":"6b8fb934-3ab8-417a-aab0-6a5ed46c9e05","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer Token"}],"body":{"mode":"raw","raw":"{\r\n    \"client\": {\r\n        \"email\": \"ziangani@outlook.com\",\r\n        \"street_address\": \"Mansarovar, Jaipur\",\r\n        \"city\": \"Jaipur\",\r\n        \"full_name\": \"Adarsh Saini\",\r\n        \"zip_code\": \"101100\",\r\n        \"country\": \"IN\",\r\n        \"date_of_birth\": \"1977-05-10\",\r\n        \"stateCode\": \"NA\",\r\n        \"phone\": \"0964926646\"\r\n    },\r\n    \"purchase\": {\r\n        \"currency\": \"INR\",\r\n        \"products\": [\r\n            {\r\n                \"name\": \"test\",\r\n                \"price\": 1\r\n            }\r\n        ]\r\n    },\r\n    \"paymentMethod\": \"THIRDPARTY-UPI\",\r\n    \"brand_id\": \"{brand_id}\",\r\n    \"success_redirect\": \"https://staging.aviorapay.com/getResponse.jsp?success=true\",\r\n    \"pending_redirect\": \"https://staging.aviorapay.com/getResponse.jsp?success=pending\",\r\n    \"failure_redirect\": \"https://staging.aviorapay.com/getResponse.jsp?success=false\",\r\n    \"success_callback\": \"https://staging.aviorapay.com\",\r\n    \"failure_callback\": \"https://staging.aviorapay.com\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://app.aviorapay.com/api/v1/purchases/","description":"<p>To Initiate a payment, the very first call to make is <code>/purchases</code> with the required data in the request body.</p>\n<p>To generate a Purchase, you are required to provide the <code>Brand ID</code> (in the request body) and <code>API key</code> (in the header) Both can be located in the Dashboard section of your merchant account login.</p>\n<p>The request body structure is shown on the request body of the example request shown here.</p>\n<p>The following (see table below) are the mandatory parameters that are required to create a purchase request.</p>\n<h3 id=\"mandatory-parameters-in-the-request-body\"><strong>Mandatory parameters in the request body:</strong></h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Notes</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>client.email</td>\n<td>An Identifier for a user</td>\n</tr>\n<tr>\n<td>client.city</td>\n<td></td>\n</tr>\n<tr>\n<td>client.country</td>\n<td>ISO-3166 Country Code. It must be upper case.  <br />This should be \"IN\" for India</td>\n</tr>\n<tr>\n<td>client.stateCode</td>\n<td>Example “AL”, “XZ”.. Must be in upper case.</td>\n</tr>\n<tr>\n<td>client.street_address</td>\n<td></td>\n</tr>\n<tr>\n<td>client.zip_code</td>\n<td></td>\n</tr>\n<tr>\n<td>client.full_name</td>\n<td></td>\n</tr>\n<tr>\n<td>purchase.currency</td>\n<td>ISO 4217 code for currency you want to send the transaction in.</td>\n</tr>\n<tr>\n<td>purchase.products.name</td>\n<td></td>\n</tr>\n<tr>\n<td>purchase.products.price</td>\n<td>Price in decimal format.  <br />example 1:  <br />INR 5 , should be sent as 10.00</td>\n</tr>\n<tr>\n<td>brand_id</td>\n<td>Obtain from Dashboard section of your merchant account login.</td>\n</tr>\n<tr>\n<td>success_redirect</td>\n<td>URL to send the user if the transactions is successful</td>\n</tr>\n<tr>\n<td>failure_redirect</td>\n<td>URL to send the user if the transactions is UNSUCCESSFUL</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"optional-parameters\">Optional Parameters</h2>\n<h3 id=\"expireinmin\">expireInMin</h3>\n<p>This parameter, when passed in the PayIn request, sets the time window within which a customer should make the Interac payment through their bank's app. If a customer doesn't complete the payment within the configured time window, the status of the payment will be marked as 'EXPIRED' in Aviorapay.</p>\n<p>However, in certain cases, a payment made outside of this window could still be successful i.e. customer's account may be debited which would result in inconsistencies among Aviorapay's, merchant's and customer's status of the transaction. To avoid such cases it is advised to set the expiry time limit appropriately and advise the customers to make payment within this window. However, if there is an inconsistency between the status at Aviorapay and at customer's Bank, the merchant and Aviorapay will reconcile the amounts during the settlement.</p>\n<h3 id=\"merchantref\">merchantRef</h3>\n<p>The <code>merchantRef</code> parameter, although not mandatory, is strongly advised for merchants to specify. Its inclusion offers two significant advantages for the merchant:</p>\n<ol>\n<li><p><strong>Prevention of Duplicate Requests:</strong> When a <code>merchantRef</code> is utilized, it acts as a unique identifier. This means that if a second purchase request is made using the same <code>merchantRef</code> (reference number), the system will recognize it and prevent duplicate transactions from occurring. This prevents unintended or duplicate purchases.</p>\n</li>\n<li><p><strong>Facilitation of Transaction Retrieval:</strong> In situations where the response from the initial purchase request times out or the 'purchaseId' isn't received, having the <code>merchantRef</code> allows the merchant to retrieve detailed transaction information. This ensures they can track and access the specific purchase details related to that reference, even if the immediate response was not received.</p>\n</li>\n</ol>\n<p>However, if the merchant does not specify the 'merchantRef' parameter, the platform will automatically assign and use an internal 'purchaseId' as a reference for that transaction.</p>\n<h3 id=\"paymentmethod\">paymentMethod</h3>\n<p>The <code>paymentMethod</code> parameter identifies which payment solution merchant wants to use to perform a transaction. If parameter is provided, than Aviorapay will perform direct payment with the selected payment method instead of loading Aviorapay URL.</p>\n<h3 id=\"possible-error-messages\">Possible Error Messages</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Error Messages</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Invalid format of Date_of_Birth[allowed format: yyyy-mm-dd]</td>\n<td></td>\n</tr>\n<tr>\n<td>Enter Valid Email</td>\n<td></td>\n</tr>\n<tr>\n<td>Please submit Valid Alpha2 Country Code Ex:(AF,IN) in \\\"country\\\" parameter</td>\n<td></td>\n</tr>\n<tr>\n<td>Please pass Valid State Code</td>\n<td></td>\n</tr>\n<tr>\n<td>Please pass valid street address in \\\"street_address\\\" parameter</td>\n<td></td>\n</tr>\n<tr>\n<td>Please pass valid city name in \\\"city\\\" parameter</td>\n<td></td>\n</tr>\n<tr>\n<td>Please pass valid postal Code name in \\\"zip_code\\\" parameter</td>\n<td></td>\n</tr>\n<tr>\n<td>You are not Allowed for Live Transaction</td>\n<td></td>\n</tr>\n<tr>\n<td>Minimum amount is not set for this merchant</td>\n<td></td>\n</tr>\n<tr>\n<td>success_redirect/failure_redirect/brand_id is missing</td>\n<td></td>\n</tr>\n<tr>\n<td>brand_id cannot be null</td>\n<td></td>\n</tr>\n<tr>\n<td>success_redirect cannot be null</td>\n<td></td>\n</tr>\n<tr>\n<td>failure_redirect cannot be null</td>\n<td></td>\n</tr>\n<tr>\n<td>Invalid failure_redirect: minimum 10 characters</td>\n<td></td>\n</tr>\n<tr>\n<td>purchase.products.price cannot be null</td>\n<td></td>\n</tr>\n<tr>\n<td>purchase.products[0].name/purchase.products[0].price are missing</td>\n<td></td>\n</tr>\n<tr>\n<td>Your charges setting is incomplete .Plese Contact to Administrator.</td>\n<td></td>\n</tr>\n<tr>\n<td>Currency \"{curr_name}\" is Not Allowed</td>\n<td></td>\n</tr>\n<tr>\n<td>Transaction amount must be equal or greater to minimum trans amount</td>\n<td></td>\n</tr>\n<tr>\n<td>Allowed Limit for this card for particular time period has been consumed</td>\n<td></td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Note:</strong> For certain use cases, in addition to long format purchase Id, Aviorapay also provides a 7 digit unique code for each purchase starting with digit 4, eg 4000001</p>\n<p><em>“purchaseIdShortCode”: “4000013\"</em></p>\n","urlObject":{"path":["purchases",""],"host":["https://app.aviorapay.com/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"6b8fb934-3ab8-417a-aab0-6a5ed46c9e05"},{"name":"Get Status","id":"3b5a20b0-1dce-4ec7-b294-9da924ee49a1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer Token","type":"text"}],"url":"https://app.aviorapay.com/api/v1/purchases/{purchaseId}/","description":"<p>This API tells you about all the details of a purchase (PayIn), including its history</p>\n<p><strong>Note:</strong> With respect to bank transfers, the purchase request is synonymous with the PayIn request.</p>\n<h3 id=\"mandatory\">Mandatory</h3>\n<p>you need to pass the <code>PurchaseID</code> in the API URL</p>\n<h3 id=\"possible-value-of-status\">Possible Value of Status</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Status</strong></th>\n<th><strong>Notes</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>paid</td>\n<td>Transaction Successful</td>\n</tr>\n<tr>\n<td>payment_in_process</td>\n<td>Payment is under Processing</td>\n</tr>\n<tr>\n<td>expired</td>\n<td>Purchase has Expired.</td>\n</tr>\n<tr>\n<td>error</td>\n<td>Transaction has Failed.</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"response-examples\">Response Examples</h3>\n<p>In the response examples you can see instances of both <code>Paid</code> and <code>Error</code> Status purchases.</p>\n<h3 id=\"error-details\">Error Details</h3>\n<p>If there are any issues on the Purchase you can get more details from the <code>transaction_data.attempts.error</code> attribute of the response object</p>\n<h3 id=\"errors\">Errors</h3>\n<p>If there are any errors then it'll be in the format of :</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"message\": \"descriptive error message\",\n    \"code\": \"error_code\"\n}\n\n</code></pre>\n<p>Please see the Status Code section for further details.</p>\n","urlObject":{"path":["purchases","{purchaseId}",""],"host":["https://app.aviorapay.com/api/v1"],"query":[],"variable":[]}},"response":[{"id":"f7df36ac-08c7-4f20-8e79-0b28f7540eaf","name":"Purchases-success","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer Token"}],"url":"https://app.aviorapay.com/api/v1/purchases/{purchaseId}/"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"purchaseId\": \"66c4667bb993c970367c288a\",\n    \"client\": {\n        \"email\": \"deepakdeepaksinghal@gmail.com\",\n        \"date_of_birth\": \"1970-07-10\",\n        \"street_address\": \"10 New Burlington Street Apt. 214\",\n        \"country\": \"IN\",\n        \"city\": \"London\",\n        \"zip_code\": \"W1S 3BE\",\n        \"cc\": [],\n        \"bcc\": [],\n        \"stateCode\": \"QLD\"\n    },\n    \"updated_on\": 1724147324,\n    \"type\": \"purchase\",\n    \"paymentMethod\": \"UPI\",\n    \"amountUnit\": \"MAJOR\",\n    \"errorMsg\": \"\",\n    \"redirectType\": \"POST\",\n    \"force_recurring\": false,\n    \"created_on\": 1724147324,\n    \"merchantRef\": \"66c4667bb993c970367c288a\",\n    \"merchantName\": \"merchant002\",\n    \"purchase\": {\n        \"currency\": \"INR\",\n        \"products\": [\n            {\n                \"name\": \"test\",\n                \"quantity\": 1,\n                \"price\": 10,\n                \"discount\": 0,\n                \"tax_percent\": \"0.00\"\n            }\n        ],\n        \"total\": 10,\n        \"language\": \"en\",\n        \"notes\": \"\",\n        \"debt\": 0,\n        \"total_formatted\": 1,\n        \"expireInMin\": \"35\",\n        \"request_client_details\": [],\n        \"timezone\": \"MIT\",\n        \"email_message\": \"\"\n    },\n    \"payment\": {\n        \"is_outgoing\": false,\n        \"payment_type\": \"PURCHASE\",\n        \"amount\": 10,\n        \"currency\": \"INR\",\n        \"net_amount\": 10,\n        \"fee_amount\": 0,\n        \"pending_amount\": 0,\n        \"pending_unfreeze_on\": null,\n        \"description\": \"\",\n        \"paid_on\": 1724147324,\n        \"remote_paid_on\": 1724147324\n    },\n    \"issuer_details\": {\n        \"website\": \"\",\n        \"legal_street_address\": \"\",\n        \"legal_country\": \"\",\n        \"legal_city\": \"\",\n        \"legal_zip_code\": \"\",\n        \"bank_accounts\": [\n            {}\n        ],\n        \"legal_name\": \"test6\",\n        \"brand_name\": \"test6\",\n        \"registration_number\": \"\",\n        \"tax_number\": \"\"\n    },\n    \"transaction_data\": {\n        \"payment_method\": \"\",\n        \"flow\": \"payform\",\n        \"extra\": {\n            \"amount\": 10,\n            \"masked_pan\": \"UPI\"\n        },\n        \"country\": \"\",\n        \"attempts\": [\n            {\n                \"client_ip\": \"103.59.75.113\",\n                \"type\": \"execute\",\n                \"payment_method\": \"UPI\",\n                \"flow\": \"payform\",\n                \"successful\": true,\n                \"country\": \"UPI\",\n                \"processing_time\": 1724147324,\n                \"extra\": {\n                    \"amount\": 10,\n                    \"masked_pan\": \"UPI\"\n                }\n            }\n        ]\n    },\n    \"status\": \"PAYMENT_IN_PROCESS\",\n    \"status_history\": [\n        {\n            \"status\": \"created\",\n            \"timestamp\": 1724147324\n        },\n        {\n            \"status\": \"pending_execute\",\n            \"timestamp\": 1724147324\n        },\n        {\n            \"status\": \"payment_in_process\",\n            \"timestamp\": 1724147324\n        }\n    ],\n    \"is_test\": false,\n    \"brand_id\": \"c4003b2c-22d4-4dc1-ad0c-c6b54f8c9636\",\n    \"send_receipt\": false,\n    \"is_recurring_token\": false,\n    \"skip_capture\": false,\n    \"reference_generated\": \"PS10907\",\n    \"issued\": \"2024-08-20\",\n    \"due\": 1724147324,\n    \"refund_upto\": 1725871728,\n    \"cc_descriptor\": \"test1\",\n    \"fraudScore\": \"NA\",\n    \"trustScore\": \"NA\",\n    \"payInDetails\": {\n        \"qrCode\": \"iVBORw0KGgoAAAANSUhEUgAAAb0AAAG9AQAAAACpVZXpAAAH7UlEQVR4nO1cQY7qSgw0yiJLjpCbJBdDIhIXg5vkCCyzQPi7qtwkM2/zNcsYpIfeQFcvTNtdLtsx/9trtS/wC/wCv8A/AZ9mdnpevb9bt6zj+TWso3Uen17i33nGkgverotN/orP7FoHeHV/AG1nfnoZ+kfYrcdKv8ei/gEMvljxRkQZ4MVi5Ww2nm9LbBF/xnLYd7YVVu3dZ262hPUvA3+CUsCnDesJ39/PHhidtlg5cRFek9+WtSgwPO595ldGI4dTAohX/8ZpG2Hp8MdiQPnjEL7XIWJdEae6BfvgC0SxCGCx2Q2fvf5x5GMDGckRov7X2+8r4NhAvW6O82QrHBBeuGBHHjSHK7rDtDxtv8jD0YERv8PPwAHcRjogbv43/BF/wuZwytgHO9r4serxgbIg7vvzPNALY1GHzXDrwYJji2JgTsvOkY8PxGnDDYeVsPHcYjWoUtx6jF04cjPsa8PmjxWAroMWUbtbdPPHPuGZsOqdX8SfOJXGu26zagVgLILHraTWvOUDjRuuU4jq4a2xj8y9hLd6HaArFcMtD997gVoHJYCRwa8H2HzgWVxBDkoBxR5lraVHxIpgdWXEcjJKHrmw+S2Z071F8gLA+JSGCkwEbISoOFnJHiNtvSAhgc0RpyKmw/BeBqgUFUcJGIPWAZnjY1VXis+bUMdw93McHph0kXedfA/pBfMx5CKLlJCJ9n3+FEkOD1QSiuUyrSWaQfyuc0eS3UElm+m8ZYDNqrCbkQMgMMGWEcCQhdEB6a1Jsps/VgCGybASWTtOFu1Lz8SlD/lsgheepBXFupaUFQEiC4MXzozaRjYQrnhRAksioORDbx8doAAQkfwM3qzrP4MVI3lwRqeEOEgTgc37eyVg5zxFZNAuboR0HlkY5VZdbszbELtk6SpAk/DV44yBB2H5zFSWgR3KPAkSKIHZT3nt6EA4INgPmKJRim/1L1MljKI8zS0NbSwElG5qrX6DwsQkDQh5Kr91prI3V4jfqHUBYKfKH9jPQPbDCpchTkmop/xzgiYi9dULASm2863TQeuxGYuDYVUzmtFOm3tuxaDjA+Fi0AehAZFB0zOpfxikD4Uo7YOw9SFIBYAqkN4UyRnY4ZnNFWnfVlpX7WeTEI8PBGWepDvLZCDPopBZOQVVgj+CCNwaaaoBxP8p/zDloN5jZI/sQABGeYe7ctftyBUAPpmmozqBpAyZ/ArxmXmqfJTqIZVWbLGJJBWAtCXqN8rCqIN1rqh9N0qIs84dGzU2raMAkPEbJjMWt85atJg1fZXZhm7CURyqDvCpWpejnUci4QrxmWSSVQwqRGwT47qdEFQBOPCWpxeCPBulsl55KiyIOM96hiLWw+sAndSQB+1KqQxnjEBmIC+xb2NNjFnJp95RASjimEViKtAiTWoEM1bf1YHK2vKOPR4fiJuLyrIZuk0hNOP6Z9McsxJk8gsJEm44sYEqQHaghvF4fQk9ch+9MXR3aOdRJA9KsJVKDw9k1FbDE1WyiOkUghiwSQlQycmyz5mCRyWgZxAyFU2dJJvxm59RsgerlmS/XXMFgOzfYU3H1OFuSlaRnq288JyuyL5dhLJPB0IBIBa9mbCrOYxaqkqlqPwhlcU1B89Ud/wnklcABjdCmi4dEcoyo1Nrt2yVsDGrGGpqrgNUqY8siQblQXMeOcZv6Ijr1LpYdjWd4wM9h2yYcanE02gRxY3WmSHSxBKP1wFK4NFVz0i0jZUwO2Viz3PHA7nrfD4+8MlRLCRl4NITs42WxPdZxKGQdpXSah/aWQDo5IcJVB2ZhBrHi0UcmjY7eH/8HAWAraaTxMfSAU1ah9E9L8pAVD6tBGQnt/h1bMFGg3fLMdjUwvaMNfMOzCJtR+7wQPWucKBmZjjnV61DjJtxXkJpiO1qOhWAOV/TYhKcUpM2F91rxqGJVrHYdXcXAPIA5dDsIPXwnUZWOxRpgrMjEzORW8GrAnDO4tbE8QnORrCfBeeOMvSk3h/LLR6FgNtIIyui1OglaTAhYXNYamicufGdIx8eqFz9ZTkMYWy8dA1vqRp4Ir/2WcLINlBQAPgkIWQQz0c8OFvlkl8zA5lzGAeHz9+FgO6ii+y9QCRSowHdTtH9xOZTjWBn6asKUK2VvtBaUuFH+R62oAZkObLfKzM71wHCqhyVaFPpIs/emndV+mLfBmtivv85Dg9kAwajE+K3kg8lpq3YA0dlY48GAM+FgDklq7wDoVtUaVT/e/YdJDdiUcPrAHmeFJhemkBKMunZ/y6nZDeYGMKmzB8eCBshHW1T6VhuqdabzmI+P2Tpm1OWAWoei88uSBV+o9G7eimfN4O0f9e/enyg9PgL5Xk9tqDP9OKmKilbCNU0dxL6Wgr4aOlo/yGOagQ7yeZqwYRnXndlxArAnNHfRvbzXlML5ktJmWdij2rgsxAQVlVJMF2xaUCcGuUH6n9SpX3f9XR8IF7qQIiTlUWcznXf5/CRZfflqIGuaxkgDEVqaOyX4+VmnNvic2SyTCi5VRWfdgVUAF5dUVtj6KrpwL545dMX7TNg/LMaeHygnr7YxNM2JcEvVOLJrISKolk9oPpxW7ep+JJodLJqnkpN9Vs1IFxsarqzpLKHsrUXGaW1+vrFfj3w8+BA+iOHA1omrxbCJ9F67IP2oUK04+QFgC2Sq8U7x5CGTyVsaL3LLjIp9ywC/NPrC/wCv8Av8C/A/wCpreUSrYyOqQAAAABJRU5ErkJggg==\",\n        \"gpayUri\": \"gpay://upi/pay?ver=01&mode=15&am=5.00&mam=1.00&cu=INR&pa=npstpay@timecosmos&pn=NPST%20PAY&mc=6012&tr=NPST040120220010&tn=QR%20SIT%20testing&mid=NPSTPAY001&msid=NPSTPAY001-001&mtid=NPSTPAY001-001&category=02&url=http://google.com\",\n        \"phonepeUri\": \"phonepe://pay?ver=01&mode=15&am=5.00&mam=1.00&cu=INR&pa=npstpay@timecosmos&pn=NPST%20PAY&mc=6012&tr=NPST040120220010&tn=QR%20SIT%20testing&mid=NPSTPAY001&msid=NPSTPAY001-001&mtid=NPSTPAY001-001&category=02&url=http://google.com\",\n        \"paytmUri\": \"paytmmp://pay?ver=01&mode=15&am=5.00&mam=1.00&cu=INR&pa=npstpay@timecosmos&pn=NPST%20PAY&mc=6012&tr=NPST040120220010&tn=QR%20SIT%20testing&mid=NPSTPAY001&msid=NPSTPAY001-001&mtid=NPSTPAY001-001&category=02&url=http://google.com\",\n        \"generatedLink\": \"https://staging.decf.in/pay/514o5z3m9z\"\n    },\n    \"refund_availability\": \"NONE\",\n    \"refundable_amount\": 10,\n    \"success_redirect\": \"https://staging.aviorapay.com/getResponse.jsp?success=true\",\n    \"failure_redirect\": \"https://staging.aviorapay.com/getResponse.jsp?success=false\",\n    \"cancel_redirect\": \"\",\n    \"success_callback\": \"https://staging.aviorapay.com\",\n    \"failure_callback\": \"https://staging.aviorapay.com\",\n    \"platform\": \"API\",\n    \"created_from_ip\": \"103.59.75.113\",\n    \"checkout_url\": \"https://staging.aviorapay.com/payments/66c4667bb993c970367c288a/\",\n    \"payoutProcess\": false\n}"},{"id":"2e1a248d-be3b-49f6-9286-44472d0a2c66","name":"Purchases","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer Token","type":"text"}],"url":"https://app.aviorapay.com/api/v1/purchases/{purchaseId}/"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Error Message\",\n    \"code\": \"error_code\"\n}"}],"_postman_id":"3b5a20b0-1dce-4ec7-b294-9da924ee49a1"}],"id":"f2e0b074-4cc5-49d2-b8cc-2e3409995260","description":"<h3 id=\"payin-api-flow\">PayIn API Flow</h3>\n<ol>\n<li><p><strong>Initiation:</strong></p>\n<ol>\n<li><p>Merchant system calls aviorapay <code>Purchases</code> API.</p>\n</li>\n<li><p><strong>Response:</strong> Returns a checkout URL and initiates a callback URL.</p>\n</li>\n</ol>\n</li>\n<li><p><strong>Redirection:</strong></p>\n<ol>\n<li>Customer is redirected to the cashier page.</li>\n</ol>\n</li>\n<li><p><strong>Payment Method Selection:</strong></p>\n<ol>\n<li>The cashier page displays options such as UPI Dynamic QR and UPI ID.</li>\n</ol>\n</li>\n<li><p><strong>Transaction Processing:</strong></p>\n<ol>\n<li>Customer completes the payment using a UPI app.</li>\n</ol>\n</li>\n<li><p><strong>Success Callback:</strong></p>\n<ol>\n<li>On successful payment, a scuccess wehook is triggered</li>\n</ol>\n</li>\n<li><p><strong>Finalization:</strong></p>\n<ol>\n<li>Customer is redirected back to the merchant site where the transaction status is displayed and the balance is updated.</li>\n</ol>\n</li>\n</ol>\n","_postman_id":"f2e0b074-4cc5-49d2-b8cc-2e3409995260"},{"name":"Payout","item":[{"name":"Create PayOut","id":"6de26936-d992-4ba1-b4e5-3d86b72e83f7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer Token"}],"body":{"mode":"raw","raw":"{\r\n    \"client\": {\r\n        \"email\": \"yogesh@gmail.com\",\r\n        \"country\": \"CA\",\r\n        \"phone\": \"766225230591\",\r\n        \"full_name\": \"Test Person-uk\"\r\n    },\r\n    \"beneficiaryDetail\": {\r\n        \"upi\": \"alpha@bravo\"\r\n    },\r\n    \"purpose\": \"test payout\",\r\n    \"currency\": \"INR\",\r\n    \"payoutMethod\": \"PAYOUT-THIRDPARTY-UPI\",\r\n    \"amount\": 10,\r\n    \"success_callback\": \"https://success.com\",\r\n    \"failure_callback\": \"https://failure.com\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://app.aviorapay.com/api/v1/payout/","description":"<p>To Initiate a payment, the very first call to make is <code>/payout/</code> with the required data in the request body.</p>\n<p>To generate a Payout, you are required to provide the <code>API key</code> (in the header) can be located in the Dashboard section of your merchant account login.</p>\n<p>The request body structure is shown on the request body of the example request shown here.</p>\n<p>The following (see table below) are the mandatory parameters that are required to create a Payout request.</p>\n<h3 id=\"mandatory-parameters-in-the-request-body\"><strong>Mandatory parameters in the request body:</strong></h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Notes</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>client.email</td>\n<td>An Identifier for a user</td>\n</tr>\n<tr>\n<td>client.phone</td>\n<td>An Identifier for a user</td>\n</tr>\n<tr>\n<td>client.full_name</td>\n<td>An Identifier for a user</td>\n</tr>\n<tr>\n<td>client.country</td>\n<td></td>\n</tr>\n<tr>\n<td>payoutMethod</td>\n<td>PAYOUT-THIRDPARTY-UPI</td>\n</tr>\n<tr>\n<td>beneficiaryDetail.upi</td>\n<td>VPA (UPI ID)</td>\n</tr>\n<tr>\n<td>Currency</td>\n<td>Note this is currency account for which you have balance</td>\n</tr>\n<tr>\n<td>Amount</td>\n<td>Amount in Currency</td>\n</tr>\n<tr>\n<td>Purpose</td>\n<td>Purpose of the payment</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["payout",""],"host":["https://app.aviorapay.com/api/v1"],"query":[{"disabled":true,"key":"","value":null},{"disabled":true,"key":null,"value":""}],"variable":[]}},"response":[],"_postman_id":"6de26936-d992-4ba1-b4e5-3d86b72e83f7"},{"name":"Get Status","id":"e91f81e7-9eba-43cd-ae30-ee7243d4e1a1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://app.aviorapay.com/api/v1/getpayout/{payoutId}/","description":"<p>This API tells you about all the details of a Payout, including its history</p>\n<h3 id=\"mandatory\">Mandatory</h3>\n<p>you need to pass the payoutId in the API URL</p>\n<h3 id=\"possible-value-of-status\">Possible Value of Status</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Status</strong></th>\n<th><strong>Notes</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>paid</td>\n<td>Transaction Successful</td>\n</tr>\n<tr>\n<td>payout_in_process</td>\n<td>payout is under Processing.</td>\n</tr>\n<tr>\n<td>error</td>\n<td>Transaction has Failed.</td>\n</tr>\n</tbody>\n</table>\n</div><p>The webhook will only be triggered for paid transactions or errors.</p>\n<p>Paid: \"success_callback\": \"<a href=\"https://success.com\">https://success.com</a>\",</p>\n<p>Error: \"failure_callback\": “<a href=\"https://failure.com%E2%80%9D\">https://failure.com”</a></p>\n","urlObject":{"path":["getpayout","{payoutId}",""],"host":["https://app.aviorapay.com/api/v1"],"query":[],"variable":[]}},"response":[{"id":"152a0eaf-3099-4847-b052-75fb1f9d6a22","name":"Get success Status","originalRequest":{"method":"GET","header":[],"url":"https://app.aviorapay.com/api/v1/getpayout/{payoutId}/"},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"{\r\n    \"payoutId\": \"66838ae86d41e41c10a8656d\",\r\n    \"client\": {\r\n        \"email\": \"Yogesh@gmail.com\",\r\n        \"phone\": \"766533230591\",\r\n        \"full_name\": \"Test Person-uk\",\r\n        \"country\": \"CA\"\r\n    },\r\n    \"updated_on\": 1719896808,\r\n    \"payoutMethod\": \"PAYOUT-UPI\",\r\n    \"beneficiaryDetail\": {\r\n        \"upi\": \"charles.babbage@okhdfc\",\r\n        \"transferType\": \"UPI\"\r\n    },\r\n    \"amountUnit\": \"MAJOR\",\r\n    \"amount\": 10.0,\r\n    \"errorMsg\": \"\",\r\n    \"purpose\": \"test payout\",\r\n    \"created_on\": 1719896808,\r\n    \"merchantRef\": \"66838ae86d41e41c10a8656d\",\r\n    \"merchantName\": \"newMerchant777\",\r\n    \"status\": \"PAYOUT_IN_PROCESS\",\r\n    \"status_history\": [\r\n        {\r\n            \"status\": \"created\",\r\n            \"timestamp\": 1719896808\r\n        },\r\n        {\r\n            \"status\": \"payout_in_process\",\r\n            \"timestamp\": 1719896810\r\n        },\r\n        {\r\n            \"status\": \"viewed\",\r\n            \"timestamp\": 1719900796\r\n        }\r\n    ],\r\n    \"viewedOn\": 1719900796,\r\n    \"currency\": \"INR\",\r\n    \"paymentOn\": 0,\r\n    \"success_callback\": \"https://success.com\",\r\n    \"failure_callback\": \"https://failure.com\"\r\n}\r\n"},{"id":"d850ee18-3a10-4498-8d47-bad44f973f99","name":"Get Error Status","originalRequest":{"method":"GET","header":[],"url":"https://app.aviorapay.com/api/v1/getpayout/{payoutId}/"},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"{\r\n    \"message\": \"Error Message\",\r\n    \"code\": \"error_code\"\r\n}"}],"_postman_id":"e91f81e7-9eba-43cd-ae30-ee7243d4e1a1"}],"id":"a146a948-36d1-4b07-978e-913a7b962f28","description":"<h3 id=\"payout-api-flow\">Payout API Flow</h3>\n<ol>\n<li><p><strong>Customer Action:</strong></p>\n<ul>\n<li>Customer initiates a payout request on the merchant site and inputs their VPA.</li>\n</ul>\n</li>\n<li><p><strong>Initiation:</strong></p>\n<ul>\n<li><p>Merchant system calls its payout API.</p>\n</li>\n<li><p><strong>Input Data:</strong> Includes payout amount, beneficiary details (with VPA), and callback URL.</p>\n</li>\n</ul>\n</li>\n<li><p><strong>Processing:</strong></p>\n<ul>\n<li>The payout request is processed.</li>\n</ul>\n</li>\n<li><p><strong>Webhook Notification:</strong></p>\n<ul>\n<li>Upon successful payout, merchant receives a success webhook.</li>\n</ul>\n</li>\n<li><p><strong>Finalization:</strong></p>\n<ul>\n<li>Merchant system updates both customer and merchant balances accordingly.</li>\n</ul>\n</li>\n</ol>\n","_postman_id":"a146a948-36d1-4b07-978e-913a7b962f28"}],"id":"69f9fc09-b1a7-4396-b1d5-abade5dd1142","description":"<p>This is a versatile payment solution that supports both pay-ins (customer payments) and payouts (customer withdrawals) primarily using UPI-based transactions. This integration enables merchants to provide seamless payment experiences on their platforms, offering multiple UPI payment options such as UPI Dynamic QR and UPI Intent (via VPA) payments. The integration leverages asynchronous callbacks and webhooks to ensure real-time transaction status updates and balance synchronization.</p>\n","_postman_id":"69f9fc09-b1a7-4396-b1d5-abade5dd1142"}],"id":"41201b32-f481-4fd1-aa1e-6c27594a2f05","_postman_id":"41201b32-f481-4fd1-aa1e-6c27594a2f05","description":""}],"id":"ea8c9aab-9875-4de7-9c98-1fee2228513e","_postman_id":"ea8c9aab-9875-4de7-9c98-1fee2228513e","description":""},{"name":"Trust Score","item":[{"name":"TrustScore Detailed","id":"87aa4817-a040-4c14-b16e-97de7f08edc6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"requiredinput\": {\r\n        \"ip\": \"111.11.11.11\",\r\n        \"email\": \"test@gmail.com\",\r\n        \"url\": \"https://www.asos.com/\"\r\n    },\r\n    \"optionalInput\": {\r\n        \"last_bets\": null,\r\n        \"last_wins\": \"\",\r\n        \"total_bonuses\": \"\",\r\n        \"last_real_bets\": \"\",\r\n        \"last_real_wins\": \"\",\r\n        \"total_deposits\": \"\",\r\n        \"last_bonus_bets\": \"\",\r\n        \"last_bonus_wins\": \"\",\r\n        \"average_real_bet\": \"\",\r\n        \"last_bets_amount\": \"\",\r\n        \"last_wins_amount\": \"\",\r\n        \"average_bonus_bet\": \"\",\r\n        \"bonus_to_deposits\": \"\",\r\n        \"last_deposit_date\": \"\",\r\n        \"total_withdrawals\": \"\",\r\n        \"is_phone_confirmed\": \"\",\r\n        \"money_in_money_out\": \"\",\r\n        \"last_deposit_amount\": \"\",\r\n        \"last_freespins_date\": \"\",\r\n        \"last_freespins_name\": \"\",\r\n        \"last_free_bonus_date\": \"\",\r\n        \"last_free_bonus_name\": \"\",\r\n        \"total_bonuses_amount\": \"\",\r\n        \"last_freespins_amount\": \"\",\r\n        \"last_freespins_status\": \"\",\r\n        \"last_real_bets_amount\": \"\",\r\n        \"last_real_wins_amount\": \"\",\r\n        \"total_deposits_amount\": \"\",\r\n        \"last_bonus_bets_amount\": \"\",\r\n        \"last_bonus_wins_amount\": \"\",\r\n        \"last_free_bonus_amount\": \"\",\r\n        \"last_free_bonus_status\": \"\",\r\n        \"last_deposit_bonus_date\": \"\",\r\n        \"last_deposit_bonus_name\": \"\",\r\n        \"last_freespins_currency\": \"\",\r\n        \"last_freespins_wagering\": \"\",\r\n        \"withdrawals_to_deposits\": \"\",\r\n        \"last_free_bonus_currency\": \"\",\r\n        \"last_free_bonus_wagering\": \"\",\r\n        \"total_withdrawals_amount\": \"\",\r\n        \"withdrawal_ewallet_email\": \"\",\r\n        \"last_deposit_bonus_amount\": \"\",\r\n        \"last_deposit_bonus_status\": \"\",\r\n        \"last_deposit_bonus_currency\": \"\",\r\n        \"last_deposit_bonus_wagering\": \"\",\r\n        \"session\": \"\",\r\n        \"payment_mode\": \"\",\r\n        \"card_fullname\": \"\",\r\n        \"card_bin\": \"\",\r\n        \"card_hash\": \"\",\r\n        \"card_last\": \"\",\r\n        \"card_expire\": \"\",\r\n        \"avs_result\": \"\",\r\n        \"cvv_result\": \"\",\r\n        \"sca_method\": \"\",\r\n        \"user_bank_account\": \"\",\r\n        \"user_bank_name\": \"\",\r\n        \"user_balance\": \"\",\r\n        \"user_verification_level\": \"\",\r\n        \"status_3d\": \"\",\r\n        \"regulation\": \"\",\r\n        \"payment_provider\": \"\",\r\n        \"phone_number\": \"\",\r\n        \"transaction_type\": \"\",\r\n        \"transaction_amount\": \"\",\r\n        \"transaction_currency\": \"\",\r\n        \"merchant_id\": \"\",\r\n        \"details_url\": \"\",\r\n        \"name\": \"\",\r\n        \"person_type\": \"\",\r\n        \"gender\": \"\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"https://app.aviorapay.com/api/v1/trustScore","description":"<h3 id=\"overview\">Overview</h3>\n<p>Aviorapay TrustScore's proprietary API combines email, phone number, IP and URL so that you can request and receive a user trust score from our enriched data, rules, and scoring in a single API call.</p>\n<p>Our take on Trust is different from the usual approach to fraud. This API tells you how much you can trust this user. It’s based on 100+ data points to which we have access. We use complex algorithms based on data sanity and customer behaviour in our partner network.</p>\n<p>Also, the additional optional parameter would be used to boost the accuracy of our response. So the more data we get the better we can ascertain the users' trust. So please endeavour to send as much information about the user as possible.</p>\n<h3 id=\"trust-score--usage\"><strong>Trust Score &amp; Usage</strong></h3>\n<p>TrustScore offers two distinct endpoints: <code>General</code> and <code>Detailed</code>.</p>\n<p>The General endpoint provides basic information by indicating whether a transaction is permitted or not. It gives a simple 'yes' or 'no' response regarding whether the transaction can proceed.</p>\n<p>On the other hand, the Detailed endpoint offers a more comprehensive evaluation. It furnishes an in-depth analysis of the transaction's authenticity, providing a detailed assessment beyond a simple allowance or denial, offering nuanced insights and information about the transaction's legitimacy.</p>\n<h3 id=\"detailed-trustscore\">Detailed TrustScore</h3>\n<p>Trust scores range from 0 to 5. A trust score of 0 indicates that we have limited information about the user, and it corresponds to the lowest level of trust. In addition to the TrustScore, we offer eight other flags to help assess the user's overall profile and determine appropriate actions to take. We suggest flagging or blocking users, transactions, or clicks as high risk based on a combination of the following factors: email deliverability, proxy usage, VPN usage, Tor usage, and recent abusive behavior.</p>\n<p>Every company has a unique target audience, so you might achieve better results by only flagging or blocking entities with low trust scores and recent instances of abuse. Keep in mind that mobile IP addresses are frequently misused and recycled by mobile carriers. Therefore, for mobile lookups, we advise giving more weight to the trust score, VPN usage, and Tor usage, as opposed to proxy usage.</p>\n<h3 id=\"permission\"><strong>Permission</strong></h3>\n<p>Access to this API has to be given to you by the admin. So please contact your sales representative at Aviorapay to get access to this API, if you get a 401 error of \"You are not allowed to call this API service\".</p>\n<h3 id=\"mandatory-parameters-in-body\">Mandatory Parameters (in body)</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameters</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>ip</td>\n<td>IP of the user. Both IP4 and IP6 are valid</td>\n</tr>\n<tr>\n<td>email</td>\n<td>The email id of the user you want to trust score on</td>\n</tr>\n<tr>\n<td>url</td>\n<td>The URL on which the user is trying to purchase or consume a product, service or data.</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"other-optional-paramters\">Other optional paramters:</h3>\n<p>The optional parameters are self-explanatory and appropriate values can be given in string format.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameters</strong></th>\n<th><strong>Values</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>last_bets</td>\n<td>String</td>\n</tr>\n<tr>\n<td>last_wins</td>\n<td>String</td>\n</tr>\n<tr>\n<td>total_bonuses</td>\n<td>String</td>\n</tr>\n<tr>\n<td>last_real_bets</td>\n<td>String</td>\n</tr>\n<tr>\n<td>last_real_wins</td>\n<td>String</td>\n</tr>\n<tr>\n<td>total_deposits</td>\n<td>String</td>\n</tr>\n<tr>\n<td>last_bonus_bets</td>\n<td>String</td>\n</tr>\n<tr>\n<td>last_bonus_wins</td>\n<td>String</td>\n</tr>\n<tr>\n<td>average_real_bet</td>\n<td>String</td>\n</tr>\n<tr>\n<td>last_bets_amount</td>\n<td>String</td>\n</tr>\n<tr>\n<td>last_wins_amount</td>\n<td>String</td>\n</tr>\n<tr>\n<td>average_bonus_bet</td>\n<td>String</td>\n</tr>\n<tr>\n<td>bonus_to_deposits</td>\n<td>String</td>\n</tr>\n<tr>\n<td>last_deposit_date</td>\n<td>String</td>\n</tr>\n<tr>\n<td>total_withdrawals</td>\n<td>String</td>\n</tr>\n<tr>\n<td>is_phone_confirmed</td>\n<td>String</td>\n</tr>\n<tr>\n<td>money_in_money_out</td>\n<td>String</td>\n</tr>\n<tr>\n<td>last_deposit_amount</td>\n<td>String</td>\n</tr>\n<tr>\n<td>last_freespins_date</td>\n<td>String</td>\n</tr>\n<tr>\n<td>last_freespins_name</td>\n<td>String</td>\n</tr>\n<tr>\n<td>last_free_bonus_date</td>\n<td>String</td>\n</tr>\n<tr>\n<td>last_free_bonus_name</td>\n<td>String</td>\n</tr>\n<tr>\n<td>total_bonuses_amount</td>\n<td>String</td>\n</tr>\n<tr>\n<td>last_freespins_amount</td>\n<td>String</td>\n</tr>\n<tr>\n<td>last_freespins_status</td>\n<td>String</td>\n</tr>\n<tr>\n<td>last_real_bets_amount</td>\n<td>String</td>\n</tr>\n<tr>\n<td>last_real_wins_amount</td>\n<td>String</td>\n</tr>\n<tr>\n<td>total_deposits_amount</td>\n<td>String</td>\n</tr>\n<tr>\n<td>last_bonus_bets_amount</td>\n<td>String</td>\n</tr>\n<tr>\n<td>last_bonus_wins_amount</td>\n<td>String</td>\n</tr>\n<tr>\n<td>last_free_bonus_amount</td>\n<td>String</td>\n</tr>\n<tr>\n<td>last_free_bonus_status</td>\n<td>String</td>\n</tr>\n<tr>\n<td>last_deposit_bonus_date</td>\n<td>String</td>\n</tr>\n<tr>\n<td>last_deposit_bonus_name</td>\n<td>String</td>\n</tr>\n<tr>\n<td>last_freespins_currency</td>\n<td>String</td>\n</tr>\n<tr>\n<td>last_freespins_wagering</td>\n<td>String</td>\n</tr>\n<tr>\n<td>withdrawals_to_deposits</td>\n<td>String</td>\n</tr>\n<tr>\n<td>last_free_bonus_currency</td>\n<td>String</td>\n</tr>\n<tr>\n<td>last_free_bonus_wagering</td>\n<td>String</td>\n</tr>\n<tr>\n<td>total_withdrawals_amount</td>\n<td>String</td>\n</tr>\n<tr>\n<td>withdrawal_ewallet_email</td>\n<td>String</td>\n</tr>\n<tr>\n<td>last_deposit_bonus_amount</td>\n<td>String</td>\n</tr>\n<tr>\n<td>last_deposit_bonus_status</td>\n<td>String</td>\n</tr>\n<tr>\n<td>last_deposit_bonus_currency</td>\n<td>String</td>\n</tr>\n<tr>\n<td>last_deposit_bonus_wagering</td>\n<td>String</td>\n</tr>\n<tr>\n<td>session</td>\n<td>String</td>\n</tr>\n<tr>\n<td>payment_mode</td>\n<td>String</td>\n</tr>\n<tr>\n<td>card_fullname</td>\n<td>String</td>\n</tr>\n<tr>\n<td>card_bin</td>\n<td>String</td>\n</tr>\n<tr>\n<td>card_hash</td>\n<td>String</td>\n</tr>\n<tr>\n<td>card_last</td>\n<td>String</td>\n</tr>\n<tr>\n<td>card_expire</td>\n<td>String</td>\n</tr>\n<tr>\n<td>avs_result</td>\n<td>String</td>\n</tr>\n<tr>\n<td>cvv_result</td>\n<td>String</td>\n</tr>\n<tr>\n<td>sca_method</td>\n<td>String</td>\n</tr>\n<tr>\n<td>user_bank_account</td>\n<td>String</td>\n</tr>\n<tr>\n<td>user_bank_name</td>\n<td>String</td>\n</tr>\n<tr>\n<td>user_balance</td>\n<td>String</td>\n</tr>\n<tr>\n<td>user_verification_level</td>\n<td>String</td>\n</tr>\n<tr>\n<td>status_3d</td>\n<td>String</td>\n</tr>\n<tr>\n<td>regulation</td>\n<td>String</td>\n</tr>\n<tr>\n<td>payment_provider</td>\n<td>String</td>\n</tr>\n<tr>\n<td>phone_number</td>\n<td>String</td>\n</tr>\n<tr>\n<td>transaction_type</td>\n<td>String</td>\n</tr>\n<tr>\n<td>transaction_amount</td>\n<td>String</td>\n</tr>\n<tr>\n<td>transaction_currency</td>\n<td>String</td>\n</tr>\n<tr>\n<td>merchant_id</td>\n<td>String</td>\n</tr>\n<tr>\n<td>details_url</td>\n<td>String</td>\n</tr>\n<tr>\n<td>name</td>\n<td>String</td>\n</tr>\n<tr>\n<td>person_type</td>\n<td>String</td>\n</tr>\n<tr>\n<td>gender</td>\n<td>String</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"response\">Response</h3>\n<p>In the response examples, you can observe both instances of a successful TrustScore response and an unsuccessful one.</p>\n<p>Please note that there are a lot of parameters to determine the trust level and give you some additional details on the email and IP of the user.</p>\n<p>in a successful trust score call the following data would be provided:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Response Item</strong></th>\n<th><strong>Description</strong></th>\n<th><strong>Possible Values</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>trustScore</td>\n<td>The trust score attributed to the user by our algorithms</td>\n<td>Integer 0 to 5</td>\n</tr>\n<tr>\n<td>deliverable</td>\n<td>Whether the email is deliverable, usually false means it wouldn't be a trustable user.</td>\n<td><strong>Boolean</strong></td>\n</tr>\n<tr>\n<td>proxy</td>\n<td>Is this IP address suspected to be a proxy? (SOCKS, Elite, Anonymous, VPN, Tor, etc.)</td>\n<td><strong>Boolean</strong></td>\n</tr>\n<tr>\n<td>vpn</td>\n<td>Is this IP suspected of being a VPN connection? This can include data center ranges which can become active VPNs at any time. The \"proxy\" status will always be true when this value is true.</td>\n<td><strong>Boolean</strong></td>\n</tr>\n<tr>\n<td>tor</td>\n<td>Is this IP suspected of being a TOR connection? This can include previously active TOR nodes and exits which can become active TOR exits at any time. The \"proxy\" status will always be true when this value is true.</td>\n<td><strong>Boolean</strong></td>\n</tr>\n<tr>\n<td>active_vpn</td>\n<td>Identifies active VPN connections used by popular VPN services and private VPN servers.</td>\n<td><strong>Boolean</strong></td>\n</tr>\n<tr>\n<td>active_tor</td>\n<td>Identifies active TOR exits on the TOR network.</td>\n<td><strong>Boolean</strong></td>\n</tr>\n<tr>\n<td>recent_abuse</td>\n<td>This value indicates whether the IP address has been associated with any recently verified abuse on our network, such as a confirmed chargeback, compromised device, or fake app install.</td>\n<td><strong>Boolean</strong></td>\n</tr>\n<tr>\n<td>bot_status</td>\n<td>Shows whether bots or non-human traffic recently used this IP address to engage in automated fraud. This provides strong evidence that the IP address is suspicious.</td>\n<td><strong>Boolean</strong></td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"errors\">Errors</h3>\n<p>If there are any errors then it'll be in the format of :</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"message\": \"descriptive error message\",\n    \"code\": \"error_code\"\n}\n\n</code></pre>\n<h3 id=\"possible-error-messages\">Possible Error Messages</h3>\n<p>the possible error codes one can get on calling this APIs are:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Code</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>400, 404, 401, 415, 405</td>\n</tr>\n</tbody>\n</table>\n</div><p>for example:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Code</strong></th>\n<th><strong>Error Messages</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>401</td>\n<td>Incorrect secret_key</td>\n</tr>\n<tr>\n<td>401</td>\n<td>You are not Allowed to call this API service</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["trustScore"],"host":["https://app.aviorapay.com/api/v1"],"query":[],"variable":[]}},"response":[{"id":"3a73c581-edd5-4e59-acc5-d2b2600bd629","name":"TrustScoreExists","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"requiredinput\": {\r\n        \"ip\": \"2001:8004:cc2:fadb:9958:4523:6c42:e3f2\",\r\n        \"email\": \"test@gmail.com\",\r\n        \"url\": \"http://test.com\"\r\n    },\r\n    \"optionalInput\": {\r\n        \"last_bets\": null,\r\n        \"last_wins\": \"\",\r\n        \"total_bonuses\": \"\",\r\n        \"last_real_bets\": \"\",\r\n        \"last_real_wins\": \"\",\r\n        \"total_deposits\": \"\",\r\n        \"last_bonus_bets\": \"\",\r\n        \"last_bonus_wins\": \"\",\r\n        \"average_real_bet\": \"\",\r\n        \"last_bets_amount\": \"\",\r\n        \"last_wins_amount\": \"\",\r\n        \"average_bonus_bet\": \"\",\r\n        \"bonus_to_deposits\": \"\",\r\n        \"last_deposit_date\": \"\",\r\n        \"total_withdrawals\": \"\",\r\n        \"is_phone_confirmed\": \"\",\r\n        \"money_in_money_out\": \"\",\r\n        \"last_deposit_amount\": \"\",\r\n        \"last_freespins_date\": \"\",\r\n        \"last_freespins_name\": \"\",\r\n        \"last_free_bonus_date\": \"\",\r\n        \"last_free_bonus_name\": \"\",\r\n        \"total_bonuses_amount\": \"\",\r\n        \"last_freespins_amount\": \"\",\r\n        \"last_freespins_status\": \"\",\r\n        \"last_real_bets_amount\": \"\",\r\n        \"last_real_wins_amount\": \"\",\r\n        \"total_deposits_amount\": \"\",\r\n        \"last_bonus_bets_amount\": \"\",\r\n        \"last_bonus_wins_amount\": \"\",\r\n        \"last_free_bonus_amount\": \"\",\r\n        \"last_free_bonus_status\": \"\",\r\n        \"last_deposit_bonus_date\": \"\",\r\n        \"last_deposit_bonus_name\": \"\",\r\n        \"last_freespins_currency\": \"\",\r\n        \"last_freespins_wagering\": \"\",\r\n        \"withdrawals_to_deposits\": \"\",\r\n        \"last_free_bonus_currency\": \"\",\r\n        \"last_free_bonus_wagering\": \"\",\r\n        \"total_withdrawals_amount\": \"\",\r\n        \"withdrawal_ewallet_email\": \"\",\r\n        \"last_deposit_bonus_amount\": \"\",\r\n        \"last_deposit_bonus_status\": \"\",\r\n        \"last_deposit_bonus_currency\": \"\",\r\n        \"last_deposit_bonus_wagering\": \"\",\r\n        \"session\": \"\",\r\n        \"payment_mode\": \"\",\r\n        \"card_fullname\": \"\",\r\n        \"card_bin\": \"\",\r\n        \"card_hash\": \"\",\r\n        \"card_last\": \"\",\r\n        \"card_expire\": \"\",\r\n        \"avs_result\": \"\",\r\n        \"cvv_result\": \"\",\r\n        \"sca_method\": \"\",\r\n        \"user_bank_account\": \"\",\r\n        \"user_bank_name\": \"\",\r\n        \"user_balance\": \"\",\r\n        \"user_verification_level\": \"\",\r\n        \"status_3d\": \"\",\r\n        \"regulation\": \"\",\r\n        \"payment_provider\": \"\",\r\n        \"phone_number\": \"\",\r\n        \"transaction_type\": \"\",\r\n        \"transaction_amount\": \"\",\r\n        \"transaction_currency\": \"\",\r\n        \"merchant_id\": \"\",\r\n        \"details_url\": \"\",\r\n        \"name\": \"\",\r\n        \"person_type\": \"\",\r\n        \"gender\": \"\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"{{StagingBaseURL}}/trustScore"},"status":"Accepted","code":202,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 29 Oct 2023 09:21:22 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Cache-Control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"X-Frame-Options","value":"DENY"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=r2%2FuLwSilxdD1lpiI1VqpgF0Tu9etiNhupySeBHl0zcU8XV1z8kwR%2FJ00ti4xpMdrTXW%2BkqZkLGrkkaUnMWFsaYlg%2FfA9UC4wIKwmc9LHUwna491EmnC3b3vlabzhUJ11CMpnVmicUE%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"81da590e8d4345a0-LHR"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"trustScore\": 0,\n    \"deliverable\": \"false\",\n    \"proxy\": \"false\",\n    \"vpn\": \"false\",\n    \"tor\": \"false\",\n    \"active_vpn\": \"false\",\n    \"active_tor\": \"false\",\n    \"recent_abuse\": \"false\",\n    \"bot_status\": \"false\"\n}"},{"id":"04f31725-7409-40fe-a5d8-170be5342559","name":"TrustScoreError","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"requiredinput\": {\r\n        \"ip\": \"2001:8004:cc2:fadb:9958:4523:6c42:e3f2\",\r\n        \"email\": \"test@gmail.com\",\r\n        \"url\": \"http://test.com\"\r\n    },\r\n    \"optionalInput\": {\r\n        \"last_bets\": null,\r\n        \"last_wins\": \"\",\r\n        \"total_bonuses\": \"\",\r\n        \"last_real_bets\": \"\",\r\n        \"last_real_wins\": \"\",\r\n        \"total_deposits\": \"\",\r\n        \"last_bonus_bets\": \"\",\r\n        \"last_bonus_wins\": \"\",\r\n        \"average_real_bet\": \"\",\r\n        \"last_bets_amount\": \"\",\r\n        \"last_wins_amount\": \"\",\r\n        \"average_bonus_bet\": \"\",\r\n        \"bonus_to_deposits\": \"\",\r\n        \"last_deposit_date\": \"\",\r\n        \"total_withdrawals\": \"\",\r\n        \"is_phone_confirmed\": \"\",\r\n        \"money_in_money_out\": \"\",\r\n        \"last_deposit_amount\": \"\",\r\n        \"last_freespins_date\": \"\",\r\n        \"last_freespins_name\": \"\",\r\n        \"last_free_bonus_date\": \"\",\r\n        \"last_free_bonus_name\": \"\",\r\n        \"total_bonuses_amount\": \"\",\r\n        \"last_freespins_amount\": \"\",\r\n        \"last_freespins_status\": \"\",\r\n        \"last_real_bets_amount\": \"\",\r\n        \"last_real_wins_amount\": \"\",\r\n        \"total_deposits_amount\": \"\",\r\n        \"last_bonus_bets_amount\": \"\",\r\n        \"last_bonus_wins_amount\": \"\",\r\n        \"last_free_bonus_amount\": \"\",\r\n        \"last_free_bonus_status\": \"\",\r\n        \"last_deposit_bonus_date\": \"\",\r\n        \"last_deposit_bonus_name\": \"\",\r\n        \"last_freespins_currency\": \"\",\r\n        \"last_freespins_wagering\": \"\",\r\n        \"withdrawals_to_deposits\": \"\",\r\n        \"last_free_bonus_currency\": \"\",\r\n        \"last_free_bonus_wagering\": \"\",\r\n        \"total_withdrawals_amount\": \"\",\r\n        \"withdrawal_ewallet_email\": \"\",\r\n        \"last_deposit_bonus_amount\": \"\",\r\n        \"last_deposit_bonus_status\": \"\",\r\n        \"last_deposit_bonus_currency\": \"\",\r\n        \"last_deposit_bonus_wagering\": \"\",\r\n        \"session\": \"\",\r\n        \"payment_mode\": \"\",\r\n        \"card_fullname\": \"\",\r\n        \"card_bin\": \"\",\r\n        \"card_hash\": \"\",\r\n        \"card_last\": \"\",\r\n        \"card_expire\": \"\",\r\n        \"avs_result\": \"\",\r\n        \"cvv_result\": \"\",\r\n        \"sca_method\": \"\",\r\n        \"user_bank_account\": \"\",\r\n        \"user_bank_name\": \"\",\r\n        \"user_balance\": \"\",\r\n        \"user_verification_level\": \"\",\r\n        \"status_3d\": \"\",\r\n        \"regulation\": \"\",\r\n        \"payment_provider\": \"\",\r\n        \"phone_number\": \"\",\r\n        \"transaction_type\": \"\",\r\n        \"transaction_amount\": \"\",\r\n        \"transaction_currency\": \"\",\r\n        \"merchant_id\": \"\",\r\n        \"details_url\": \"\",\r\n        \"name\": \"\",\r\n        \"person_type\": \"\",\r\n        \"gender\": \"\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"{{StagingBaseURL}}/trustScore"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 29 Oct 2023 09:28:33 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Cache-Control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"X-Frame-Options","value":"DENY"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=herXY1o%2BFZa%2F3qNFjvh4ANgP%2FD0DdAVVFm0vUZDAst2rFkieItm%2Fu0VN24DYrdp7MHMHFKWLvrsBYVIxjDPDaLgJjeGBvlTP2iZoB5EnG1hPPHUVXRNP%2FGMmOTh%2Fp7gsyj0vihW1kMk%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"81da6398ab144913-LHR"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Incorrect secret_key\",\n    \"code\": \"authentication_failed\"\n}"}],"_postman_id":"87aa4817-a040-4c14-b16e-97de7f08edc6"},{"name":"checkTransactionAllowed","id":"59ea737c-20f3-42e8-8fa1-baf34782084b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"requiredinput\": {\r\n        \"ip\": \"111.11.11.11\",\r\n        \"email\": \"test@gmail.com\",\r\n        \"url\": \"https://www.asos.com/\"\r\n    },\r\n    \"optionalInput\": {\r\n        \"last_bets\": null,\r\n        \"last_wins\": \"\",\r\n        \"total_bonuses\": \"\",\r\n        \"last_real_bets\": \"\",\r\n        \"last_real_wins\": \"\",\r\n        \"total_deposits\": \"\",\r\n        \"last_bonus_bets\": \"\",\r\n        \"last_bonus_wins\": \"\",\r\n        \"average_real_bet\": \"\",\r\n        \"last_bets_amount\": \"\",\r\n        \"last_wins_amount\": \"\",\r\n        \"average_bonus_bet\": \"\",\r\n        \"bonus_to_deposits\": \"\",\r\n        \"last_deposit_date\": \"\",\r\n        \"total_withdrawals\": \"\",\r\n        \"is_phone_confirmed\": \"\",\r\n        \"money_in_money_out\": \"\",\r\n        \"last_deposit_amount\": \"\",\r\n        \"last_freespins_date\": \"\",\r\n        \"last_freespins_name\": \"\",\r\n        \"last_free_bonus_date\": \"\",\r\n        \"last_free_bonus_name\": \"\",\r\n        \"total_bonuses_amount\": \"\",\r\n        \"last_freespins_amount\": \"\",\r\n        \"last_freespins_status\": \"\",\r\n        \"last_real_bets_amount\": \"\",\r\n        \"last_real_wins_amount\": \"\",\r\n        \"total_deposits_amount\": \"\",\r\n        \"last_bonus_bets_amount\": \"\",\r\n        \"last_bonus_wins_amount\": \"\",\r\n        \"last_free_bonus_amount\": \"\",\r\n        \"last_free_bonus_status\": \"\",\r\n        \"last_deposit_bonus_date\": \"\",\r\n        \"last_deposit_bonus_name\": \"\",\r\n        \"last_freespins_currency\": \"\",\r\n        \"last_freespins_wagering\": \"\",\r\n        \"withdrawals_to_deposits\": \"\",\r\n        \"last_free_bonus_currency\": \"\",\r\n        \"last_free_bonus_wagering\": \"\",\r\n        \"total_withdrawals_amount\": \"\",\r\n        \"withdrawal_ewallet_email\": \"\",\r\n        \"last_deposit_bonus_amount\": \"\",\r\n        \"last_deposit_bonus_status\": \"\",\r\n        \"last_deposit_bonus_currency\": \"\",\r\n        \"last_deposit_bonus_wagering\": \"\",\r\n        \"session\": \"\",\r\n        \"payment_mode\": \"\",\r\n        \"card_fullname\": \"\",\r\n        \"card_bin\": \"\",\r\n        \"card_hash\": \"\",\r\n        \"card_last\": \"\",\r\n        \"card_expire\": \"\",\r\n        \"avs_result\": \"\",\r\n        \"cvv_result\": \"\",\r\n        \"sca_method\": \"\",\r\n        \"user_bank_account\": \"\",\r\n        \"user_bank_name\": \"\",\r\n        \"user_balance\": \"\",\r\n        \"user_verification_level\": \"\",\r\n        \"status_3d\": \"\",\r\n        \"regulation\": \"\",\r\n        \"payment_provider\": \"\",\r\n        \"phone_number\": \"\",\r\n        \"transaction_type\": \"\",\r\n        \"transaction_amount\": \"\",\r\n        \"transaction_currency\": \"\",\r\n        \"merchant_id\": \"\",\r\n        \"details_url\": \"\",\r\n        \"name\": \"\",\r\n        \"person_type\": \"\",\r\n        \"gender\": \"\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"https://app.aviorapay.com/api/v1/checkTransAllowed","description":"<h3 id=\"general-trustscore\">General TrustScore</h3>\n<p>Request for the checkTransactionAllowed endpoint is identical to the TrustScore API. Only thing different is the response. Instead of detailed score, this endpoint only returns <code>transactionAllowed</code> parameter that can have either <code>YES</code> or <code>NO</code> value.</p>\n<h3 id=\"permission\"><strong>Permission</strong></h3>\n<p>Access to this API has to be given to you by the admin. So please contact your sales representative at Aviorapay to get access to this API, if you get a 401 error of \"You are not allowed to call this API service\".</p>\n<h3 id=\"mandatory-parameters-in-body\">Mandatory Parameters (in body)</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameters</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>ip</td>\n<td>IP of the user. Both IP4 and IP6 are valid</td>\n</tr>\n<tr>\n<td>email</td>\n<td>The email id of the user you want to trust score on</td>\n</tr>\n<tr>\n<td>url</td>\n<td>The URL on which the user is trying to purchase or consume a product, service or data.</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"other-optional-paramters\">Other optional paramters:</h3>\n<p>The optional parameters are self-explanatory and appropriate values can be given in string format.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameters</strong></th>\n<th><strong>Values</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>last_bets</td>\n<td>String</td>\n</tr>\n<tr>\n<td>last_wins</td>\n<td>String</td>\n</tr>\n<tr>\n<td>total_bonuses</td>\n<td>String</td>\n</tr>\n<tr>\n<td>last_real_bets</td>\n<td>String</td>\n</tr>\n<tr>\n<td>last_real_wins</td>\n<td>String</td>\n</tr>\n<tr>\n<td>total_deposits</td>\n<td>String</td>\n</tr>\n<tr>\n<td>last_bonus_bets</td>\n<td>String</td>\n</tr>\n<tr>\n<td>last_bonus_wins</td>\n<td>String</td>\n</tr>\n<tr>\n<td>average_real_bet</td>\n<td>String</td>\n</tr>\n<tr>\n<td>last_bets_amount</td>\n<td>String</td>\n</tr>\n<tr>\n<td>last_wins_amount</td>\n<td>String</td>\n</tr>\n<tr>\n<td>average_bonus_bet</td>\n<td>String</td>\n</tr>\n<tr>\n<td>bonus_to_deposits</td>\n<td>String</td>\n</tr>\n<tr>\n<td>last_deposit_date</td>\n<td>String</td>\n</tr>\n<tr>\n<td>total_withdrawals</td>\n<td>String</td>\n</tr>\n<tr>\n<td>is_phone_confirmed</td>\n<td>String</td>\n</tr>\n<tr>\n<td>money_in_money_out</td>\n<td>String</td>\n</tr>\n<tr>\n<td>last_deposit_amount</td>\n<td>String</td>\n</tr>\n<tr>\n<td>last_freespins_date</td>\n<td>String</td>\n</tr>\n<tr>\n<td>last_freespins_name</td>\n<td>String</td>\n</tr>\n<tr>\n<td>last_free_bonus_date</td>\n<td>String</td>\n</tr>\n<tr>\n<td>last_free_bonus_name</td>\n<td>String</td>\n</tr>\n<tr>\n<td>total_bonuses_amount</td>\n<td>String</td>\n</tr>\n<tr>\n<td>last_freespins_amount</td>\n<td>String</td>\n</tr>\n<tr>\n<td>last_freespins_status</td>\n<td>String</td>\n</tr>\n<tr>\n<td>last_real_bets_amount</td>\n<td>String</td>\n</tr>\n<tr>\n<td>last_real_wins_amount</td>\n<td>String</td>\n</tr>\n<tr>\n<td>total_deposits_amount</td>\n<td>String</td>\n</tr>\n<tr>\n<td>last_bonus_bets_amount</td>\n<td>String</td>\n</tr>\n<tr>\n<td>last_bonus_wins_amount</td>\n<td>String</td>\n</tr>\n<tr>\n<td>last_free_bonus_amount</td>\n<td>String</td>\n</tr>\n<tr>\n<td>last_free_bonus_status</td>\n<td>String</td>\n</tr>\n<tr>\n<td>last_deposit_bonus_date</td>\n<td>String</td>\n</tr>\n<tr>\n<td>last_deposit_bonus_name</td>\n<td>String</td>\n</tr>\n<tr>\n<td>last_freespins_currency</td>\n<td>String</td>\n</tr>\n<tr>\n<td>last_freespins_wagering</td>\n<td>String</td>\n</tr>\n<tr>\n<td>withdrawals_to_deposits</td>\n<td>String</td>\n</tr>\n<tr>\n<td>last_free_bonus_currency</td>\n<td>String</td>\n</tr>\n<tr>\n<td>last_free_bonus_wagering</td>\n<td>String</td>\n</tr>\n<tr>\n<td>total_withdrawals_amount</td>\n<td>String</td>\n</tr>\n<tr>\n<td>withdrawal_ewallet_email</td>\n<td>String</td>\n</tr>\n<tr>\n<td>last_deposit_bonus_amount</td>\n<td>String</td>\n</tr>\n<tr>\n<td>last_deposit_bonus_status</td>\n<td>String</td>\n</tr>\n<tr>\n<td>last_deposit_bonus_currency</td>\n<td>String</td>\n</tr>\n<tr>\n<td>last_deposit_bonus_wagering</td>\n<td>String</td>\n</tr>\n<tr>\n<td>session</td>\n<td>String</td>\n</tr>\n<tr>\n<td>payment_mode</td>\n<td>String</td>\n</tr>\n<tr>\n<td>card_fullname</td>\n<td>String</td>\n</tr>\n<tr>\n<td>card_bin</td>\n<td>String</td>\n</tr>\n<tr>\n<td>card_hash</td>\n<td>String</td>\n</tr>\n<tr>\n<td>card_last</td>\n<td>String</td>\n</tr>\n<tr>\n<td>card_expire</td>\n<td>String</td>\n</tr>\n<tr>\n<td>avs_result</td>\n<td>String</td>\n</tr>\n<tr>\n<td>cvv_result</td>\n<td>String</td>\n</tr>\n<tr>\n<td>sca_method</td>\n<td>String</td>\n</tr>\n<tr>\n<td>user_bank_account</td>\n<td>String</td>\n</tr>\n<tr>\n<td>user_bank_name</td>\n<td>String</td>\n</tr>\n<tr>\n<td>user_balance</td>\n<td>String</td>\n</tr>\n<tr>\n<td>user_verification_level</td>\n<td>String</td>\n</tr>\n<tr>\n<td>status_3d</td>\n<td>String</td>\n</tr>\n<tr>\n<td>regulation</td>\n<td>String</td>\n</tr>\n<tr>\n<td>payment_provider</td>\n<td>String</td>\n</tr>\n<tr>\n<td>phone_number</td>\n<td>String</td>\n</tr>\n<tr>\n<td>transaction_type</td>\n<td>String</td>\n</tr>\n<tr>\n<td>transaction_amount</td>\n<td>String</td>\n</tr>\n<tr>\n<td>transaction_currency</td>\n<td>String</td>\n</tr>\n<tr>\n<td>merchant_id</td>\n<td>String</td>\n</tr>\n<tr>\n<td>details_url</td>\n<td>String</td>\n</tr>\n<tr>\n<td>name</td>\n<td>String</td>\n</tr>\n<tr>\n<td>person_type</td>\n<td>String</td>\n</tr>\n<tr>\n<td>gender</td>\n<td>String</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"response\">Response</h3>\n<p>Response contains a single parameter: <code>transactionAllowed</code> which can either be <code>YES</code> or <code>NO</code> .</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n\"transactionAllowed\" : \"YES\"\n}\n\n</code></pre>\n<p>If there are any errors then it'll be in the format of :</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"message\": \"descriptive error message\",\n    \"code\": \"error_code\"\n}\n\n</code></pre>\n<h3 id=\"possible-error-messages\">Possible Error Messages</h3>\n<p>the possible error codes one can get on calling this APIs are:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Code</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>400, 404, 401, 415, 405</td>\n</tr>\n</tbody>\n</table>\n</div><p>for example:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Code</strong></th>\n<th><strong>Error Messages</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>401</td>\n<td>Incorrect secret_key</td>\n</tr>\n<tr>\n<td>401</td>\n<td>You are not Allowed to call this API service</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["checkTransAllowed"],"host":["https://app.aviorapay.com/api/v1"],"query":[],"variable":[]}},"response":[{"id":"cdaf39c0-2c00-4848-a6b4-b96c5941b3be","name":"TrustScoreExists","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"requiredinput\": {\r\n        \"ip\": \"2001:8004:cc2:fadb:9958:4523:6c42:e3f2\",\r\n        \"email\": \"test@gmail.com\",\r\n        \"url\": \"http://test.com\"\r\n    },\r\n    \"optionalInput\": {\r\n        \"last_bets\": null,\r\n        \"last_wins\": \"\",\r\n        \"total_bonuses\": \"\",\r\n        \"last_real_bets\": \"\",\r\n        \"last_real_wins\": \"\",\r\n        \"total_deposits\": \"\",\r\n        \"last_bonus_bets\": \"\",\r\n        \"last_bonus_wins\": \"\",\r\n        \"average_real_bet\": \"\",\r\n        \"last_bets_amount\": \"\",\r\n        \"last_wins_amount\": \"\",\r\n        \"average_bonus_bet\": \"\",\r\n        \"bonus_to_deposits\": \"\",\r\n        \"last_deposit_date\": \"\",\r\n        \"total_withdrawals\": \"\",\r\n        \"is_phone_confirmed\": \"\",\r\n        \"money_in_money_out\": \"\",\r\n        \"last_deposit_amount\": \"\",\r\n        \"last_freespins_date\": \"\",\r\n        \"last_freespins_name\": \"\",\r\n        \"last_free_bonus_date\": \"\",\r\n        \"last_free_bonus_name\": \"\",\r\n        \"total_bonuses_amount\": \"\",\r\n        \"last_freespins_amount\": \"\",\r\n        \"last_freespins_status\": \"\",\r\n        \"last_real_bets_amount\": \"\",\r\n        \"last_real_wins_amount\": \"\",\r\n        \"total_deposits_amount\": \"\",\r\n        \"last_bonus_bets_amount\": \"\",\r\n        \"last_bonus_wins_amount\": \"\",\r\n        \"last_free_bonus_amount\": \"\",\r\n        \"last_free_bonus_status\": \"\",\r\n        \"last_deposit_bonus_date\": \"\",\r\n        \"last_deposit_bonus_name\": \"\",\r\n        \"last_freespins_currency\": \"\",\r\n        \"last_freespins_wagering\": \"\",\r\n        \"withdrawals_to_deposits\": \"\",\r\n        \"last_free_bonus_currency\": \"\",\r\n        \"last_free_bonus_wagering\": \"\",\r\n        \"total_withdrawals_amount\": \"\",\r\n        \"withdrawal_ewallet_email\": \"\",\r\n        \"last_deposit_bonus_amount\": \"\",\r\n        \"last_deposit_bonus_status\": \"\",\r\n        \"last_deposit_bonus_currency\": \"\",\r\n        \"last_deposit_bonus_wagering\": \"\",\r\n        \"session\": \"\",\r\n        \"payment_mode\": \"\",\r\n        \"card_fullname\": \"\",\r\n        \"card_bin\": \"\",\r\n        \"card_hash\": \"\",\r\n        \"card_last\": \"\",\r\n        \"card_expire\": \"\",\r\n        \"avs_result\": \"\",\r\n        \"cvv_result\": \"\",\r\n        \"sca_method\": \"\",\r\n        \"user_bank_account\": \"\",\r\n        \"user_bank_name\": \"\",\r\n        \"user_balance\": \"\",\r\n        \"user_verification_level\": \"\",\r\n        \"status_3d\": \"\",\r\n        \"regulation\": \"\",\r\n        \"payment_provider\": \"\",\r\n        \"phone_number\": \"\",\r\n        \"transaction_type\": \"\",\r\n        \"transaction_amount\": \"\",\r\n        \"transaction_currency\": \"\",\r\n        \"merchant_id\": \"\",\r\n        \"details_url\": \"\",\r\n        \"name\": \"\",\r\n        \"person_type\": \"\",\r\n        \"gender\": \"\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"{{StagingBaseURL}}/checkTransAllowed"},"status":"Accepted","code":202,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 29 Oct 2023 09:21:22 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Cache-Control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"X-Frame-Options","value":"DENY"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=r2%2FuLwSilxdD1lpiI1VqpgF0Tu9etiNhupySeBHl0zcU8XV1z8kwR%2FJ00ti4xpMdrTXW%2BkqZkLGrkkaUnMWFsaYlg%2FfA9UC4wIKwmc9LHUwna491EmnC3b3vlabzhUJ11CMpnVmicUE%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"81da590e8d4345a0-LHR"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"transactionAllowed\": \"YES\"\n}"},{"id":"ea31c9d5-676b-438b-951d-ba788493a98f","name":"TrustScoreError","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"requiredinput\": {\r\n        \"ip\": \"2001:8004:cc2:fadb:9958:4523:6c42:e3f2\",\r\n        \"email\": \"test@gmail.com\",\r\n        \"url\": \"http://test.com\"\r\n    },\r\n    \"optionalInput\": {\r\n        \"last_bets\": null,\r\n        \"last_wins\": \"\",\r\n        \"total_bonuses\": \"\",\r\n        \"last_real_bets\": \"\",\r\n        \"last_real_wins\": \"\",\r\n        \"total_deposits\": \"\",\r\n        \"last_bonus_bets\": \"\",\r\n        \"last_bonus_wins\": \"\",\r\n        \"average_real_bet\": \"\",\r\n        \"last_bets_amount\": \"\",\r\n        \"last_wins_amount\": \"\",\r\n        \"average_bonus_bet\": \"\",\r\n        \"bonus_to_deposits\": \"\",\r\n        \"last_deposit_date\": \"\",\r\n        \"total_withdrawals\": \"\",\r\n        \"is_phone_confirmed\": \"\",\r\n        \"money_in_money_out\": \"\",\r\n        \"last_deposit_amount\": \"\",\r\n        \"last_freespins_date\": \"\",\r\n        \"last_freespins_name\": \"\",\r\n        \"last_free_bonus_date\": \"\",\r\n        \"last_free_bonus_name\": \"\",\r\n        \"total_bonuses_amount\": \"\",\r\n        \"last_freespins_amount\": \"\",\r\n        \"last_freespins_status\": \"\",\r\n        \"last_real_bets_amount\": \"\",\r\n        \"last_real_wins_amount\": \"\",\r\n        \"total_deposits_amount\": \"\",\r\n        \"last_bonus_bets_amount\": \"\",\r\n        \"last_bonus_wins_amount\": \"\",\r\n        \"last_free_bonus_amount\": \"\",\r\n        \"last_free_bonus_status\": \"\",\r\n        \"last_deposit_bonus_date\": \"\",\r\n        \"last_deposit_bonus_name\": \"\",\r\n        \"last_freespins_currency\": \"\",\r\n        \"last_freespins_wagering\": \"\",\r\n        \"withdrawals_to_deposits\": \"\",\r\n        \"last_free_bonus_currency\": \"\",\r\n        \"last_free_bonus_wagering\": \"\",\r\n        \"total_withdrawals_amount\": \"\",\r\n        \"withdrawal_ewallet_email\": \"\",\r\n        \"last_deposit_bonus_amount\": \"\",\r\n        \"last_deposit_bonus_status\": \"\",\r\n        \"last_deposit_bonus_currency\": \"\",\r\n        \"last_deposit_bonus_wagering\": \"\",\r\n        \"session\": \"\",\r\n        \"payment_mode\": \"\",\r\n        \"card_fullname\": \"\",\r\n        \"card_bin\": \"\",\r\n        \"card_hash\": \"\",\r\n        \"card_last\": \"\",\r\n        \"card_expire\": \"\",\r\n        \"avs_result\": \"\",\r\n        \"cvv_result\": \"\",\r\n        \"sca_method\": \"\",\r\n        \"user_bank_account\": \"\",\r\n        \"user_bank_name\": \"\",\r\n        \"user_balance\": \"\",\r\n        \"user_verification_level\": \"\",\r\n        \"status_3d\": \"\",\r\n        \"regulation\": \"\",\r\n        \"payment_provider\": \"\",\r\n        \"phone_number\": \"\",\r\n        \"transaction_type\": \"\",\r\n        \"transaction_amount\": \"\",\r\n        \"transaction_currency\": \"\",\r\n        \"merchant_id\": \"\",\r\n        \"details_url\": \"\",\r\n        \"name\": \"\",\r\n        \"person_type\": \"\",\r\n        \"gender\": \"\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"{{StagingBaseURL}}/checkTransAllowed"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 29 Oct 2023 09:28:33 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Cache-Control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"X-Frame-Options","value":"DENY"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=herXY1o%2BFZa%2F3qNFjvh4ANgP%2FD0DdAVVFm0vUZDAst2rFkieItm%2Fu0VN24DYrdp7MHMHFKWLvrsBYVIxjDPDaLgJjeGBvlTP2iZoB5EnG1hPPHUVXRNP%2FGMmOTh%2Fp7gsyj0vihW1kMk%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"81da6398ab144913-LHR"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Incorrect secret_key\",\n    \"code\": \"authentication_failed\"\n}"}],"_postman_id":"59ea737c-20f3-42e8-8fa1-baf34782084b"}],"id":"96dfcc61-8bd6-40b7-861f-42c30bf0a25b","_postman_id":"96dfcc61-8bd6-40b7-861f-42c30bf0a25b","description":""},{"name":"Cashier APIs","item":[{"name":"Customer","id":"d54def31-7a30-4b3b-97f5-d61f8027f721","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer Token","type":"text"},{"key":"BrandId","value":"brand_id_value","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"fullName\": \"Rahul Agarwal\",\r\n    \"emailId\": \"rahul+26@aviorapay.com\",\r\n    \"dateOfBirth\": \"1994-06-03\",\r\n    \"phoneNo\": \"+91 797639082\",\r\n    \"city\": \"Jaipur\",\r\n    \"stateCode\": \"RJ\",\r\n    \"zipCode\": \"302018\",\r\n    \"address\": \"House Number 53, Vaishali Nagar, Jaipur\",\r\n    \"country\": \"IN\",\r\n    \"merchantCustomerId\": \"rahultestcustomer@aviorapay.com\",\r\n    \"CustRegDate\": \"2023-12-27\", //non-mandatory - customer registration date on merchant site\r\n    \"SuccessTxn\": \"32\", //non-mandatory - total successful customer orders on merchant site\r\n    \"extraParam\": {\r\n        \"param1\": \"value1\",\r\n        \"param2\": \"value2\",\r\n        \"param3\": \"value3\",\r\n        \"param4\": \"value4\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.aviorapay.com/api/v1/customer","description":"<p><strong>OVERIEW</strong></p>\n<p>The <strong>createCustomer API</strong> allows merchants to create a customer profile on Aviorapay when a user visits their website, facilitating a seamless payment experience by pre-filling the customer's details, on the Aviorapay Cashier. The API takes in customer information and returns a unique customerID that can be passed in purchase payload, eliminating the need for customers to manually enter their details during transactions.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Type</th>\n<th><strong>Required</strong></th>\n<th>Description</th>\n<th>Example</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>merchantCustomerId</td>\n<td>String</td>\n<td>Yes</td>\n<td>unique customer ID provided by merchant. This can be email, mobile or an alphanumeric string</td>\n<td><a href=\"https://mailto:rahultestcustomer@aviorapay.com\">rahultestcustomer@aviorapay.com</a></td>\n</tr>\n<tr>\n<td>fullName</td>\n<td>String</td>\n<td>Yes</td>\n<td>Full name of the customer.</td>\n<td>Rahul Agarwal</td>\n</tr>\n<tr>\n<td>emailId</td>\n<td>String</td>\n<td>Yes</td>\n<td>Email address of the customer.</td>\n<td><a href=\"https://mailto:test@aviorapay.com\">test@aviorapay.com</a></td>\n</tr>\n<tr>\n<td>dateOfBirth</td>\n<td>String</td>\n<td>Optional</td>\n<td>Customer's date of birth in YYYY-MM-DD format.</td>\n<td>1995-12-27</td>\n</tr>\n<tr>\n<td>phoneNo</td>\n<td>String</td>\n<td>Yes</td>\n<td>Customer's phone number. Preferred with the country code</td>\n<td>+91 797639082</td>\n</tr>\n<tr>\n<td>city</td>\n<td>String</td>\n<td>Optional</td>\n<td>City of the customer.</td>\n<td>Jaipur</td>\n</tr>\n<tr>\n<td>stateCode</td>\n<td>String</td>\n<td>Yes</td>\n<td>State code of the customer.</td>\n<td>RJ</td>\n</tr>\n<tr>\n<td>zipCode</td>\n<td>String</td>\n<td>Optional</td>\n<td>Postal code of the customer's location.</td>\n<td>302018</td>\n</tr>\n<tr>\n<td>address</td>\n<td>String</td>\n<td>Optional</td>\n<td>Full address of the customer.</td>\n<td>House Number 53, Vaishali Nagar, Jaipur</td>\n</tr>\n<tr>\n<td>country</td>\n<td>String</td>\n<td>Yes</td>\n<td>Country code (ISO 3166-1 alpha-2).</td>\n<td>IN</td>\n</tr>\n<tr>\n<td>custRegDate</td>\n<td>Sting</td>\n<td>Optional</td>\n<td>Customer registration date on merchant site in YYYY-MM-DD format.</td>\n<td>2023-12-27</td>\n</tr>\n<tr>\n<td>successTxn</td>\n<td>String</td>\n<td>Optional</td>\n<td>Number of successful transactions customer has carried on merchant site.</td>\n<td>32</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"user-flow\"><strong>User Flow</strong></h3>\n<ol>\n<li><p><strong>Customer visits merchant's website</strong>: The customer selects the product or service and proceeds to checkout page.</p>\n</li>\n<li><p><strong>Merchant calls the</strong> <strong><code>createCustomer</code></strong> <strong>API</strong>: The merchant sends a <code>POST</code> request to the Aviorapay API with the customer's details.</p>\n</li>\n<li><p><strong>Customer ID generation</strong>: Aviorapay processes the request and generates a unique <code>customerId</code> which is returned in the response.</p>\n</li>\n<li><p><strong>Payment Process</strong>: The merchant uses the <code>customerId</code> for subsequent session creation, ensuring the customer doesn’t need to re-enter their details for future payments.</p>\n</li>\n</ol>\n<hr />\n<h3 id=\"benefits\"><strong>Benefits</strong></h3>\n<ul>\n<li><p><strong>Seamless user experience</strong>: The customer does not have to enter their details manually for every purchase.</p>\n</li>\n<li><p><strong>Faster Checkout</strong>: The merchant can use the <code>customerId</code> for faster payment processing.</p>\n</li>\n<li><p><strong>Data Security</strong>: Customer details are stored securely and can be reused across transactions, reducing the chances of errors.</p>\n</li>\n</ul>\n<h3 id=\"implementing-createcustomer-on-merchant-site\">Implementing createCustomer on merchant site:</h3>\n<p>The <code>createCustomer</code> can be implemented on merchant site in one of two ways, depending on merchant’s integration flow:</p>\n<p><strong>At Checkout:</strong></p>\n<p>When a customer initiates the checkout process, your system should invoke the <code>createCustomer</code> API, before actually starting the session.</p>\n<ul>\n<li><p><strong>Call</strong> <strong><code>createCustomer</code></strong>: This API call generates a unique customer ID.</p>\n</li>\n<li><p><strong>Use of Customer ID:</strong> Pass the returned customer ID in Session API, when creating a payment session.</p>\n</li>\n</ul>\n<p><strong>Upon Customer Login:</strong></p>\n<p>Alternatively, merchants may choose to call <code>createCustomer</code> at the time of customer login on their site.</p>\n<ul>\n<li><p><strong>Persistent Customer Profiles:</strong> This approach can help build or maintain a persistent customer profile, ensuring the customer ID is available for any subsequent payment sessions without needing to call <code>createCustomer</code> again.</p>\n</li>\n<li><p><strong>Integration Flexibility:</strong> This is useful for merchants who want to initialize customer data early in the customer journey rather than during checkout.</p>\n</li>\n</ul>\n<p>The method you choose depends on your business requirements and how your system is architected. Regardless of when you call it, the resulting customer ID must be passed to the <code>createSession</code> API to initiate a payment session.</p>\n","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"c3e3767a-26ba-4a32-89a9-3e620a7d0847","id":"c3e3767a-26ba-4a32-89a9-3e620a7d0847","name":"Cashier APIs","type":"folder"}},"urlObject":{"protocol":"https","path":["api","v1","customer"],"host":["api","aviorapay","com"],"query":[],"variable":[]}},"response":[{"id":"fdc6b993-75dd-4faa-a4ae-d897bab4528d","name":"Success","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"*/*","type":"text"},{"key":"BrandId","value":"brand_id_value","description":"If this parameter is passed in the header, a unique customer will be created under that particular Brand Name. else, the customer will be created under the main merchant (irrespective of the brands)","type":"text"},{"key":"Authorization","value":"Bearer Token","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"fullName\": \"Rahul Agarwal\",\r\n    \"emailId\": \"rahul+26@aviorapay.com\",\r\n    \"dateOfBirth\": \"1994-06-03\",\r\n    \"phoneNo\": \"+91 797639082\",\r\n    \"city\": \"Jaipur\",\r\n    \"stateCode\": \"RJ\",\r\n    \"zipCode\": \"302018\",\r\n    \"address\": \"House Number 53, Vaishali Nagar, Jaipur\",\r\n    \"country\": \"IN\",\r\n    \"merchantCustomerId\": \"rahultestcustomer@aviorapay.com\",\r\n    \"CustRegDate\": \"2023-12-27\", //non-mandatory - customer registration date on merchant site\r\n    \"SuccessTxn\": \"32\", //non-mandatory - total successful customer orders on merchant site\r\n    \"extraParam\": {\r\n        \"param1\": \"value1\",\r\n        \"param2\": \"value2\",\r\n        \"param3\": \"value3\",\r\n        \"param4\": \"value4\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.aviorapay.com/api/v1/customer"},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"{\r\n    \"customerId\": \"691afbc6fd96d34a8113a34d\",\r\n    \"merchantCustomerId\": \"rahultestcustomer@aviorapay.com\",\r\n    \"fullName\": \"Rahul Agarwal\",\r\n    \"emailId\": \"rahul+26@aviorapay.com\",\r\n    \"dateOfBirth\": \"1994-06-03\",\r\n    \"phoneNo\": \"+91 797639082\",\r\n    \"brandID\": \"1d666074-39be-4b90-aec9-e9de78fbdcb9\",\r\n    \"city\": \"Jaipur\",\r\n    \"zipCode\": \"302018\",\r\n    \"address\": \"House Number 53, Vaishali Nagar, Jaipur\",\r\n    \"country\": \"IN\",\r\n    \"stateCode\": \"RJ\",\r\n    \"custRegDate\": \"2023-12-27\",\r\n    \"successTrans\": 0,\r\n    \"createdOn\": 1763376070,\r\n    \"lastUpdated\": 0,\r\n    \"lastActivity\": 1763376070,\r\n    \"extraParam\": {\r\n        \"param1\": \"value1\",\r\n        \"param2\": \"value2\",\r\n        \"param3\": \"value3\",\r\n        \"param4\": \"value4\"\r\n    }\r\n}"},{"id":"abd1802c-13b8-494c-8651-06eb9c4e37a1","name":"Failure","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"*/*","type":"text"},{"key":"BrandId","value":"brand_id_value","description":"If this parameter is passed in the header, a unique customer will be created under that particular Brand Name. else, the customer will be created under the main merchant (irrespective of the brands)","type":"text"},{"key":"Authorization","value":"Bearer Token","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"fullName\": \"Rahul Agarwal\",\r\n    \"emailId\": \"rahul+26@aviorapay.com\",\r\n    \"dateOfBirth\": \"1994-06-03\",\r\n    \"phoneNo\": \"+91 797639082\",\r\n    \"city\": \"Jaipur\",\r\n    \"stateCode\": \"RJ\",\r\n    \"zipCode\": \"302018\",\r\n    \"address\": \"House Number 53, Vaishali Nagar, Jaipur\",\r\n    \"country\": \"IN\",\r\n    \"merchantCustomerId\": \"rahultestcustomer@aviorapay.com\",\r\n    \"CustRegDate\": \"2023-12-27\", //non-mandatory - customer registration date on merchant site\r\n    \"SuccessTxn\": \"32\", //non-mandatory - total successful customer orders on merchant site\r\n    \"extraParam\": {\r\n        \"param1\": \"value1\",\r\n        \"param2\": \"value2\",\r\n        \"param3\": \"value3\",\r\n        \"param4\": \"value4\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.aviorapay.com/api/v1/customer"},"status":"Bad Request","code":400,"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"{\r\n    \"message\": \"Invalid Email Format\",\r\n    \"code\": \"invalid_email\"\r\n}"},{"id":"1109eea6-12cb-4a80-8b45-dff14bd22de4","name":"Existing Customer","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"*/*","type":"text"},{"key":"BrandId","value":"brand_id_value","description":"If this parameter is passed in the header, a unique customer will be created under that particular Brand Name. else, the customer will be created under the main merchant (irrespective of the brands)","type":"text"},{"key":"Authorization","value":"Bearer Token","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"fullName\": \"Rahul Agarwal\",\r\n    \"emailId\": \"rahul+26@aviorapay.com\",\r\n    \"dateOfBirth\": \"1994-06-03\",\r\n    \"phoneNo\": \"+91 797639082\",\r\n    \"city\": \"Jaipur\",\r\n    \"stateCode\": \"RJ\",\r\n    \"zipCode\": \"302018\",\r\n    \"address\": \"House Number 53, Vaishali Nagar, Jaipur\",\r\n    \"country\": \"IN\",\r\n    \"merchantCustomerId\": \"rahultestcustomer@aviorapay.com\",\r\n    \"CustRegDate\": \"2023-12-27\", //non-mandatory - customer registration date on merchant site\r\n    \"SuccessTxn\": \"32\", //non-mandatory - total successful customer orders on merchant site\r\n    \"extraParam\": {\r\n        \"param1\": \"value1\",\r\n        \"param2\": \"value2\",\r\n        \"param3\": \"value3\",\r\n        \"param4\": \"value4\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.aviorapay.com/api/v1/customer"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"{\r\n    \"message\": \"Customer already exists with this information\",\r\n    \"code\": \"customer_already_exists\"\r\n}"}],"_postman_id":"d54def31-7a30-4b3b-97f5-d61f8027f721"},{"name":"Customer","id":"5404d2e4-addc-4ad6-87bf-fc520f75e9ff","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer Token","type":"text"},{"key":"BrandId","value":"brand_id_value","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"*/*","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"merchantCustomerId\": \"rahultestcustomer1@aviorapay.com\"\n}","options":{"raw":{"language":"json"}}},"url":"https://app.aviorapay.com/api/v1/customer","description":"<p>This endpoint makes an HTTP GET request to retrieve customer information from the Aviorapay API.</p>\n<h3 id=\"request\">Request</h3>\n<p>The request does not include any query parameters, but it uses a raw request body with the following parameter \"merchantCustomerId\", which will be the customer id on the merchant's side.</p>\n<h3 id=\"response\">Response</h3>\n<p>The response of this request can be documented as a JSON schema.</p>\n","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"c3e3767a-26ba-4a32-89a9-3e620a7d0847","id":"c3e3767a-26ba-4a32-89a9-3e620a7d0847","name":"Cashier APIs","type":"folder"}},"urlObject":{"protocol":"https","path":["api","v1","customer"],"host":["app","aviorapay","com"],"query":[],"variable":[]}},"response":[{"id":"c62577c0-9993-4477-be25-3d0afece2d45","name":"Success","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"*/*","type":"text"},{"key":"BrandId","value":"brand_id_value","type":"text"},{"key":"Authorization","value":"Bearer Token","type":"text"}],"url":"https://app.aviorapay.com/api/v1/customer"},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"customerId\": \"691afbc6fd96d34a8113a34d\",\n    \"merchantCustomerId\": \"rahultestcustomer1@aviorapay.com\",\n    \"fullName\": \"Rahul Agarwal\",\n    \"emailId\": \"rahul+26@aviorapay.com\",\n    \"dateOfBirth\": \"1994-06-03\",\n    \"phoneNo\": \"+91 797639082\",\n    \"brandID\": \"1d666074-39be-4b90-aec9-e9de78fbdcb9\",\n    \"city\": \"Jaipur\",\n    \"zipCode\": \"302018\",\n    \"address\": \"House Number 53, Vaishali Nagar, Jaipur\",\n    \"country\": \"IN\",\n    \"stateCode\": \"RJ\",\n    \"custRegDate\": \"2023-12-27\",\n    \"successTrans\": 0,\n    \"createdOn\": 1763376070,\n    \"lastUpdated\": 0,\n    \"lastActivity\": 1763376070,\n    \"extraParam\": {\n        \"param1\": \"value1\",\n        \"param2\": \"value2\",\n        \"param3\": \"value3\",\n        \"param4\": \"value4\"\n    }\n}"},{"id":"6a8737c7-f48c-4fa6-8b55-d6a7b940f820","name":"Invalid Customer","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"*/*","type":"text"},{"key":"BrandId","value":"brand_id_value","type":"text"},{"key":"Authorization","value":"Bearer Token","type":"text"}],"url":"https://app.aviorapay.com/api/v1/customer"},"status":"Bad Request","code":400,"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Customer with this information does not exist\",\n    \"code\": \"customer_does_not_exist\"\n}"}],"_postman_id":"5404d2e4-addc-4ad6-87bf-fc520f75e9ff"},{"name":"Customer","event":[{"listen":"test","script":{"exec":["var template = `","<style type=\"text/css\">","    .tftable {font-size:14px;color:#333333;width:100%;border-width: 1px;border-color: #87ceeb;border-collapse: collapse;}","    .tftable th {font-size:18px;background-color:#87ceeb;border-width: 1px;padding: 8px;border-style: solid;border-color: #87ceeb;text-align:left;}","    .tftable tr {background-color:#ffffff;}","    .tftable td {font-size:14px;border-width: 1px;padding: 8px;border-style: solid;border-color: #87ceeb;}","    .tftable tr:hover {background-color:#e0ffff;}","</style>","","<table class=\"tftable\" border=\"1\">","    <tr>","        <th>Customer ID</th>","        <th>First Name</th>","        <th>Last Name</th>","        <th>Email</th>","        <th>Phone</th>","    </tr>","    ","    <tr>","        <td>{{response.customerId}}</td>","        <td>{{response.firstName}}</td>","        <td>{{response.lastName}}</td>","        <td>{{response.email}}</td>","        <td>{{response.phone}}</td>","    </tr>","</table>","`;","","function constructVisualizerPayload() {","    return {response: pm.response.json()}","}","","pm.visualizer.set(template, constructVisualizerPayload());"],"type":"text/javascript","packages":{},"requests":{},"id":"39f05ffc-3fc4-455f-9c87-4418a5f3570f"}}],"id":"3a64d84a-13f5-4597-a64c-badbe05baba5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"PATCH","header":[{"key":"Authorization","value":"Bearer Token","type":"text"},{"key":"BrandId","value":"brand_id_value","type":"text"},{"key":"Accept","value":"*/*","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"fullName\": \"Gouri Shankar3\",\n    \"emailId\": \"gouri@aviorapay.com\",\n    \"dateOfBirth\": \"1990-11-27\",\n    \"phoneNo\": \"+91 9413666514\",\n    \"city\": \"Dausa\",\n    \"stateCode\": \"Raj\",\n    \"zipCode\": \"202021\",\n    \"address\": \"Somnath Nagar\",\n    \"country\": \"IN\",\n    \"CustRegDate\": \"2023-12-28\",\n    \"SuccessTxn\": \"33\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.aviorapay.com/api/v1/{AviorapayCustomerId}/patchCustomer","description":"<p>Whenever a customer or the merchant updates customer details on the merchant site, a PATCH request must be made to synchronize these changes with Aviorapay.</p>\n<p>This API endpoint allows you to update the customer details using an HTTP PATCH request. The request should be sent to <a href=\"https://app.aviorapay.com/api/v1/%7BcustomerId%7D/patchCustomer\">https://app.aviorapay.com/api/v1/{customerId}/patchCustomer</a>.</p>\n<h3 id=\"request-body\">Request Body</h3>\n<p>The request body should be in raw format and include the following parameters:</p>\n<ul>\n<li><p><code>fullName</code> (string): The full name of the customer.</p>\n</li>\n<li><p><code>emailId</code> (string): The email address of the customer.</p>\n</li>\n<li><p><code>dateOfBirth</code> (string): The date of birth of the customer.</p>\n</li>\n<li><p><code>phoneNo</code> (string): The phone number of the customer.</p>\n</li>\n<li><p><code>city</code> (string): The city of the customer.</p>\n</li>\n<li><p><code>stateCode</code> (string): The state code of the customer.</p>\n</li>\n<li><p><code>zipCode</code> (string): The zip code of the customer.</p>\n</li>\n<li><p><code>address</code> (string): The address of the customer.</p>\n</li>\n<li><p><code>country</code> (string): The country of the customer.</p>\n</li>\n<li><p><code>createdOn</code> (string): Time when the customer was created.</p>\n</li>\n<li><p><code>custRegDate</code> (string): Customer registration date (Non-Mandatory).</p>\n</li>\n<li><p><code>successTxn</code> (string): Success transaction details (Non-Mandatory).</p>\n</li>\n<li><p><code>lastActivity</code> (string): Time of the last activity.</p>\n</li>\n<li><p><code>lastUpdated</code> (string): Time when the last patch was called.</p>\n</li>\n<li><p><code>extraParam</code> (object): Additional parameters including <code>param1</code>, <code>param2</code>, <code>param3</code>, <code>param4</code> with their respective values.</p>\n</li>\n</ul>\n<h3 id=\"response\">Response</h3>\n<p>The response will contain the updated customer details or a success message upon successful update.</p>\n","urlObject":{"protocol":"https","path":["api","v1","{AviorapayCustomerId}","patchCustomer"],"host":["api","aviorapay","com"],"query":[],"variable":[]}},"response":[{"id":"bc609f4b-3f79-40ad-acdc-4e419a09cc23","name":"Success","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"*/*","type":"text"},{"key":"BrandId","value":"brand_id_value","type":"text"},{"key":"Authorisation","value":"Bearer Token","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"fullName\": \"Gouri Shankar3\",\n    \"emailId\": \"gouri@aviorapay.com\",\n    \"dateOfBirth\": \"1990-11-27\",\n    \"phoneNo\": \"+91 9413666514\",\n    \"city\": \"Dausa\",\n    \"stateCode\": \"Raj\",\n    \"zipCode\": \"202021\",\n    \"address\": \"Somnath Nagar\",\n    \"country\": \"IN\",\n    \"CustRegDate\": \"2023-12-28\",\n    \"SuccessTxn\": \"33\",\n    \"extraParam\": {\n        \"param1\": \"value1\",\n        \"param2\": \"value2\",\n        \"param3\": \"value3\",\n        \"param4\": \"value4\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.aviorapay.com/api/v1/{AviorapayCustomerId}/patchCustomer"},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"customerId\": \"691afbc6fd96d34a8113a34d\",\n    \"merchantCustomerId\": \"rahultestcustomer1@aviorapay.com\",\n    \"fullName\": \"Gouri Shankar3\",\n    \"emailId\": \"gouri@aviorapay.com\",\n    \"dateOfBirth\": \"1990-11-27\",\n    \"phoneNo\": \"+91 9413666514\",\n    \"brandID\": \"brandID\",\n    \"city\": \"Dausa\",\n    \"zipCode\": \"202021\",\n    \"address\": \"Somnath Nagar\",\n    \"country\": \"IN\",\n    \"stateCode\": \"Raj\",\n    \"custRegDate\": \"2023-12-28\",\n    \"successTrans\": 0,\n    \"createdOn\": 1763376070,\n    \"lastUpdated\": 1763377024,\n    \"lastActivity\": 1763377024,\n    \"extraParam\": {\n        \"param1\": \"value1\",\n        \"param2\": \"value2\",\n        \"param3\": \"value3\",\n        \"param4\": \"value4\"\n    }\n}"}],"_postman_id":"3a64d84a-13f5-4597-a64c-badbe05baba5"},{"name":"Purchase Session","id":"bdb65dee-5ea2-4d42-badb-eca0b5bb62e5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer Token","type":"text"},{"key":"BrandId","value":"brand_id_value","type":"text"},{"key":"Accept","value":"*/*","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"customerId\": \"68fed1855ebbe829416b08c6\",\r\n    \"merchantRef\": \"rahultestcustomer1@aviorapay.com\", // optional\r\n    \"currency\": \"EUR\",\r\n    \"products\": [\r\n        {\r\n            \"name\": \"Product1\",\r\n            \"price\": \"10\"\r\n        },\r\n        {\r\n            \"name\": \"Product2\",\r\n            \"price\": \"12\"\r\n        }\r\n    ],\r\n    \"totalAmount\": \"22\", // optional, but if present have precedence over sum of prices mentioned above.\r\n    \"paymentMethod\": \"VISA\", //optional\r\n    \"success_redirect\": \"https://merchant-success-page.com/\",\r\n    \"failure_redirect\": \"https://merchant-failure-page.com/\",\r\n    \"pending_redirect\": \"https://merchant-pending-page.com/\",\r\n    \"success_callback\": \"https://your.success.callback.com\",\r\n    \"failure_callback\": \"https://your.failure.callback.com\",\r\n    \"extraParam\": {\r\n        \"param1\": \"value1\",\r\n        \"showCryptoConversion\": \"yes\",\r\n        \"cryptoCurrencies\": \"[\\\"BTC\\\",\\\"ETH\\\",\\\"USDT\\\",\\\"XRP\\\",\\\"LTC\\\",\\\"DOGE\\\",\\\"ETC\\\",\\\"BNB\\\",\\\"USDC\\\",\\\"SOL\\\",\\\"ADA\\\",\\\"BCH\\\",\\\"DASH\\\",\\\"BTG\\\",\\\"ZEC\\\",\\\"DGB\\\",\\\"EOS\\\",\\\"XLM\\\",\\\"TRX\\\",\\\"QTUM\\\",\\\"POL\\\",\\\"SHIB\\\",\\\"LINK\\\",\\\"DAI\\\",\\\"TON\\\",\\\"AVAX\\\",\\\"FDUSD\\\",\\\"ARB\\\",\\\"OP\\\"]\",\r\n            \"param3\": \"value3\",\r\n            \"param4\": \"value4\"\r\n        }\r\n    }","options":{"raw":{"language":"json"}}},"url":"https://api.aviorapay.com/api/v1/createSession","description":"<p><strong>OVERIEW</strong></p>\n<p>The <code>createSession</code> API is designed to initiate a payment session for a customer after their profile has been created via the <strong>createCustomer</strong> API. The session is automatically generated at the backend on the merchant’s checkout URL. This session allows the customer to continue with their transaction without having to manually interact with the session URL, and ensures the session remains active until the payment is completed or the session expires.</p>\n<p>This API improves the user experience by reducing transaction failures and enhancing the overall payment process, thus reducing transaction churn rates.</p>\n<h3 id=\"mandatory-parameters\">Mandatory Parameters</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Type</th>\n<th>Description</th>\n<th>Example</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>customerId</td>\n<td>String</td>\n<td>The unique ID of the customer (generated from createCustomer).</td>\n<td>6731a609b6bb5a43ad66c4a6</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"show-crypto-conversion\">Show Crypto Conversion</h4>\n<p>Additionally, there are some default extra parameters that you can pass for allowing Crypto Conversion on Aviorapay's cashier itself.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n<th><strong>Example</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>extraParam.showCryptoConversion</td>\n<td>String</td>\n<td>This optional parameter allows customer to see crypto value equivelant to the Fiat amount the customer is planning to pay.</td>\n<td>Yes</td>\n</tr>\n<tr>\n<td>extraParam.cryptoCurrencies</td>\n<td>String</td>\n<td>Pass here the allowed crypto tokens on the cashier, where customer can see the the conversion value</td>\n<td>[\\\"BTC\\\",\\\"ETH\\\",\\\"USDT\\\",\\\"XRP\\\",\\\"LTC\\\",\\\"DOGE\\\",\\\"ETC\\\",\\\"BNB\\\",\\\"USDC\\\",\\\"SOL\\\",\\\"ADA\\\",\\\"BCH\\\",\\\"DASH\\\",\\\"BTG\\\",\\\"ZEC\\\",\\\"DGB\\\",\\\"EOS\\\",\\\"XLM\\\",\\\"TRX\\\",\\\"QTUM\\\",\\\"POL\\\",\\\"SHIB\\\",\\\"LINK\\\",\\\"DAI\\\",\\\"TON\\\",\\\"AVAX\\\",\\\"FDUSD\\\",\\\"ARB\\\",\\\"OP\\\"]</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"usage-flow\"><strong>Usage Flow</strong></h3>\n<ol>\n<li><p><strong>Customer completes the</strong> <strong><code>createCustomer</code></strong> <strong>API</strong>: Once the customer is created via the <code>createCustomer</code> API, the merchant proceeds to call the <code>createSession</code> API to generate a session.</p>\n</li>\n<li><p><strong>Merchant sends</strong> <strong><code>createSession</code></strong> <strong>request</strong>: The merchant sends a <code>POST</code> request to the <code>createSession</code> API with the customer’s <code>customerId</code> and the merchant’s <code>brandId</code>.</p>\n</li>\n<li><p><strong>Session created automatically on the checkout URL</strong>: Aviorapay creates the session and associates it with the merchant’s checkout page. This session remains active on the backend, allowing the customer to continue the payment process without interruption.</p>\n</li>\n<li><p><strong>Customer proceeds to checkout</strong>: The customer is redirected to the checkout page as part of the merchant's payment flow, where the session is automatically validated. The session remains active for a set period, allowing the customer to complete the payment without needing to manually interact with the session URL.</p>\n</li>\n<li><p><strong>Session Expiry</strong>: The session expires after the set expiration time (<code>expiryOn</code>), ensuring the payment process is completed within the defined window. Default is 15 mins from the creation time.</p>\n</li>\n</ol>\n<hr />\n<h3 id=\"benefits\"><strong>Benefits</strong></h3>\n<ul>\n<li><p><strong>Seamless Checkout</strong>: The session URL is automatically generated and active at the backend, ensuring a smoother and uninterrupted customer experience.</p>\n</li>\n<li><p><strong>Reduced Transaction Failures</strong>: By ensuring the session remains active during the payment process, the chances of transaction failures due to session timeouts are minimized.</p>\n</li>\n<li><p><strong>Improved User Experience</strong>: The customer does not need to click on a session URL or navigate away from the page, leading to faster and more secure payment processing.</p>\n</li>\n</ul>\n","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"c3e3767a-26ba-4a32-89a9-3e620a7d0847","id":"c3e3767a-26ba-4a32-89a9-3e620a7d0847","name":"Cashier APIs","type":"folder"}},"urlObject":{"protocol":"https","path":["api","v1","createSession"],"host":["api","aviorapay","com"],"query":[],"variable":[]}},"response":[{"id":"28e397a7-5e4e-4696-a5e7-823b50f9ee48","name":"Success","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"*/*","type":"text"},{"key":"BrandId","value":"brand_id_value","description":"it is mandatory to pass the BrandId in header for each createSession request. ","type":"text"},{"key":"Authorization","value":"Bearer Token","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"customerId\": \"68fed1855ebbe829416b08c6\",\r\n    \"merchantRef\": \"rahultestcustomer1@aviorapay.com\", // optional\r\n    \"currency\": \"EUR\",\r\n    \"products\": [\r\n        {\r\n            \"name\": \"Product1\",\r\n            \"price\": \"10\"\r\n        },\r\n        {\r\n            \"name\": \"Product2\",\r\n            \"price\": \"12\"\r\n        }\r\n    ],\r\n    \"totalAmount\": \"22\", // optional, but if present have precedence over sum of prices mentioned above.\r\n    \"paymentMethod\": \"VISA\", //optional\r\n    \"success_redirect\": \"https://merchant-success-page.com/\",\r\n    \"failure_redirect\": \"https://merchant-failure-page.com/\",\r\n    \"pending_redirect\": \"https://merchant-pending-page.com/\",\r\n    \"success_callback\": \"https://your.success.callback.com\",\r\n    \"failure_callback\": \"https://your.failure.callback.com\",\r\n    \"extraParam\": {\r\n        \"param1\": \"value1\",\r\n        \"param3\": \"value3\",\r\n        \"param4\": \"value4\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.aviorapay.com/api/v1/createSession"},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"{\r\n    \"sessionUrl\": \"https://app.aviorapay.com/payment-session/691b02b48c73dd76eedaa379/\",\r\n    \"brandId\": \"brand_id_value\",\r\n    \"customerId\": \"68fed1855ebbe829416b08c6\",\r\n    \"sessionId\": \"691b02b48c73dd76eedaa379\",\r\n    \"expiryOn\": 1763378744,\r\n    \"createdOn\": 1763377844\r\n}"},{"id":"f477096f-3254-42ec-a44a-fd8c8ff7f1cd","name":"Session with CryptoConversion","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"*/*","type":"text"},{"key":"BrandId","value":"brand_id_value","description":"it is mandatory to pass the BrandId in header for each createSession request. ","type":"text"},{"key":"Authorization","value":"Bearer Token","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"customerId\": \"68fed1855ebbe829416b08c6\",\r\n    \"merchantRef\": \"rahultestcustomer1@aviorapay.com\", // optional\r\n    \"currency\": \"EUR\",\r\n    \"products\": [\r\n        {\r\n            \"name\": \"Product1\",\r\n            \"price\": \"10\"\r\n        },\r\n        {\r\n            \"name\": \"Product2\",\r\n            \"price\": \"12\"\r\n        }\r\n    ],\r\n    \"totalAmount\": \"22\", // optional, but if present have precedence over sum of prices mentioned above.\r\n    \"paymentMethod\": \"VISA\", //optional\r\n    \"success_redirect\": \"https://merchant-success-page.com/\",\r\n    \"failure_redirect\": \"https://merchant-failure-page.com/\",\r\n    \"pending_redirect\": \"https://merchant-pending-page.com/\",\r\n    \"success_callback\": \"https://your.success.callback.com\",\r\n    \"failure_callback\": \"https://your.failure.callback.com\",\r\n    \"extraParam\": {\r\n        \"param1\": \"value1\",\r\n        \"showCryptoConversion\": \"yes\",\r\n        \"cryptoCurrencies\": \"[\\\"BTC\\\",\\\"ETH\\\",\\\"USDT\\\",\\\"XRP\\\",\\\"LTC\\\",\\\"DOGE\\\",\\\"ETC\\\",\\\"BNB\\\",\\\"USDC\\\",\\\"SOL\\\",\\\"ADA\\\",\\\"BCH\\\",\\\"DASH\\\",\\\"BTG\\\",\\\"ZEC\\\",\\\"DGB\\\",\\\"EOS\\\",\\\"XLM\\\",\\\"TRX\\\",\\\"QTUM\\\",\\\"POL\\\",\\\"SHIB\\\",\\\"LINK\\\",\\\"DAI\\\",\\\"TON\\\",\\\"AVAX\\\",\\\"FDUSD\\\",\\\"ARB\\\",\\\"OP\\\"]\",\r\n        \"param3\": \"value3\",\r\n        \"param4\": \"value4\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.aviorapay.com/api/v1/createSession"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"sessionUrl\": \"https://app.aviorapay.com/payment-session/691b02b48c73dd76eedaa379/\",\n    \"brandId\": \"brand_id_value\",\n    \"customerId\": \"68fed1855ebbe829416b08c6\",\n    \"sessionId\": \"691b02b48c73dd76eedaa379\",\n    \"expiryOn\": 1763378744,\n    \"createdOn\": 1763377844\n}"},{"id":"de2a03a5-b9a1-4b2b-b04f-7c874e40981c","name":"Invalid Session","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"*/*","type":"text"},{"key":"BrandId","value":"brand_id_value","description":"it is mandatory to pass the BrandId in header for each createSession request. ","type":"text"},{"key":"Authorization","value":"Bearer Token","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"customerId\": \"68fed1855ebbe829416b08c6\",\r\n    \"merchantRef\": \"rahultestcustomer1@aviorapay.com\", // optional\r\n    \"currency\": \"EUR\",\r\n    \"products\": [\r\n        {\r\n            \"name\": \"Product1\",\r\n            \"price\": \"10\"\r\n        },\r\n        {\r\n            \"name\": \"Product2\",\r\n            \"price\": \"12\"\r\n        }\r\n    ],\r\n    \"totalAmount\": \"22\", // optional, but if present have precedence over sum of prices mentioned above.\r\n    \"paymentMethod\": \"VISA\", //optional\r\n    \"success_redirect\": \"https://merchant-success-page.com/\",\r\n    \"failure_redirect\": \"https://merchant-failure-page.com/\",\r\n    \"pending_redirect\": \"https://merchant-pending-page.com/\",\r\n    \"success_callback\": \"https://your.success.callback.com\",\r\n    \"failure_callback\": \"https://your.failure.callback.com\",\r\n    \"extraParam\": {\r\n        \"param1\": \"value1\",\r\n        \"param3\": \"value3\",\r\n        \"param4\": \"value4\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.aviorapay.com/api/v1/createSession"},"status":"Bad Request","code":400,"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"{\r\n    \"message\": \"Customer does not exist with this Customer Id\",\r\n    \"code\": \"Customer Id is invalid\"\r\n}"}],"_postman_id":"bdb65dee-5ea2-4d42-badb-eca0b5bb62e5"},{"name":"Payout Session","id":"977c7cc4-73d4-4eaf-8219-8dff51101f79","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer Token","type":"text"},{"key":"BrandId","value":"brand_id_value","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"*/*","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"customerId\": \"67c9983fba18400ab6cceb8f\",\r\n    \"currency\": \"USD\",\r\n    \"products\": [\r\n        {\r\n            \"name\": \"Product1\",\r\n            \"price\": \"2\"\r\n        }\r\n    ],\r\n    \"totalAmount\": \"2\",\r\n    \"tax_amount\": \"\", // optional\r\n    \"tax_percent\": \"\", // optional\r\n    \"type\": \"payout\",\r\n    \"success_redirect\": \"https://your.success.redirect.com\",\r\n    \"pending_redirect\": \"https://your.pending.redirect.com\",\r\n    \"failure_redirect\": \"https://your.failure.redirect.com\",\r\n    \"success_callback\": \"https://your.success.callback.com\",\r\n    \"failure_callback\": \"https://your.failure.callback.com\",\r\n    \"extraParam\": {\r\n        \"showCryptoConversion\": \"yes\",\r\n        \"cryptoCurrencies\": \"[\\\"BTC\\\",\\\"ETH\\\",\\\"USDT\\\",\\\"XRP\\\",\\\"LTC\\\",\\\"DOGE\\\",\\\"ETC\\\",\\\"BNB\\\",\\\"USDC\\\",\\\"SOL\\\",\\\"ADA\\\",\\\"BCH\\\",\\\"DASH\\\",\\\"BTG\\\",\\\"ZEC\\\",\\\"DGB\\\",\\\"EOS\\\",\\\"XLM\\\",\\\"TRX\\\",\\\"QTUM\\\",\\\"POL\\\",\\\"SHIB\\\",\\\"LINK\\\",\\\"DAI\\\",\\\"TON\\\",\\\"AVAX\\\",\\\"FDUSD\\\",\\\"ARB\\\",\\\"OP\\\"]\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.aviorapay.com/api/v1/createSession","description":"<p>This API is used to initiate a payout session for a customer. By passing the <code>customerId</code> (generated via the <code>createCustomer</code> API) and specifying <code>\"type\": \"payout\"</code>, a payout session is started.<br />A <code>sessionURL</code> is returned in the response, which can be used to redirect the customer to the payout cashier. The customer can then select the payout method, pass required parameters, and the payout will be processed.</p>\n<h4 id=\"parameters\">Parameters:</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>customerId</strong></td>\n<td>string</td>\n<td>The unique ID of the customer for whom the payout session is created. This ID is generated by the <code>createCustomer</code> API.</td>\n</tr>\n<tr>\n<td><strong>currency</strong></td>\n<td>string</td>\n<td>The currency of the payout session (e.g., USD).</td>\n</tr>\n<tr>\n<td><strong>products</strong></td>\n<td>array</td>\n<td>A list of products associated with the payout (e.g., name and price).</td>\n</tr>\n<tr>\n<td><strong>totalAmount</strong></td>\n<td>string</td>\n<td>The total payout amount (optional. calculated dynamically if value is not passed).</td>\n</tr>\n<tr>\n<td><strong>tax_amount</strong></td>\n<td>string</td>\n<td>The tax amount to be applied (optional).</td>\n</tr>\n<tr>\n<td><strong>tax_percent</strong></td>\n<td>string</td>\n<td>The tax percentage to be applied (optional).</td>\n</tr>\n<tr>\n<td><strong>type</strong></td>\n<td>string</td>\n<td>Should be set to \"payout\" to initiate a payout session.</td>\n</tr>\n<tr>\n<td><strong>success_redirect</strong></td>\n<td>string</td>\n<td>The URL where the customer will be redirected after a successful payout.</td>\n</tr>\n<tr>\n<td><strong>pending_redirect</strong></td>\n<td>string</td>\n<td>The URL where the customer will be redirected after a pending payout.</td>\n</tr>\n<tr>\n<td><strong>failure_redirect</strong></td>\n<td>string</td>\n<td>The URL where the customer will be redirected after a failed payout attempt.</td>\n</tr>\n<tr>\n<td><strong>success_callback</strong></td>\n<td>string</td>\n<td>The callback URL for successful payout.</td>\n</tr>\n<tr>\n<td><strong>failure_callback</strong></td>\n<td>string</td>\n<td>The callback URL for failed payout.</td>\n</tr>\n<tr>\n<td><strong>extraParam</strong></td>\n<td>object</td>\n<td>Contains additional parameters for the payout session.</td>\n</tr>\n<tr>\n<td><strong>extraParam.showCryptoConversion</strong></td>\n<td>string</td>\n<td>Set to \"yes\" to display cryptocurrency conversion.</td>\n</tr>\n<tr>\n<td><strong>extraParam.cryptoCurrencies</strong></td>\n<td>string</td>\n<td>A list of accepted cryptocurrencies (e.g., BTC, ETH, USDT).</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"request-headers\">Request Headers:</h4>\n<ul>\n<li><p><strong>BrandId</strong>: Your unique brand ID (required).</p>\n</li>\n<li><p><strong>Content-Type</strong>: application/json (required).</p>\n</li>\n</ul>\n<h4 id=\"response\">Response:</h4>\n<p>The API will return a JSON object containing the <code>sessionURL</code> that can be used to redirect the customer to the payout cashier.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"sessionUrl\": \"https://app.aviorapay.com/payoutSession/68341ad35f895955355d5452/\",\n    \"brandId\": \"brand_id_value\",\n    \"customerId\": \"67c9983fba18400ab6cceb8f\",\n    \"sessionId\": \"68341ad35f895955355d5452\",\n    \"expiryOn\": 1748246103,\n    \"createdOn\": 1748245203\n}\n\n</code></pre>\n","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"c3e3767a-26ba-4a32-89a9-3e620a7d0847","id":"c3e3767a-26ba-4a32-89a9-3e620a7d0847","name":"Cashier APIs","type":"folder"}},"urlObject":{"protocol":"https","path":["api","v1","createSession"],"host":["api","aviorapay","com"],"query":[],"variable":[]}},"response":[{"id":"005f2c66-395a-4e08-986e-5cc2d6890626","name":"payoutSession","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer Token","type":"text"},{"key":"BrandId","value":"brand_id_value","type":"text"},{"key":"Accept","value":"*/*","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"customerId\": \"67c9983fba18400ab6cceb8f\",\r\n    \"currency\": \"USD\",\r\n    \"products\": [\r\n        {\r\n            \"name\": \"Product1\",\r\n            \"price\": \"2\"\r\n        }\r\n    ],\r\n    \"totalAmount\": \"2\",\r\n    \"tax_amount\": \"\", // optional\r\n    \"tax_percent\": \"\", // optional\r\n    \"type\": \"payout\",\r\n    \"success_redirect\": \"https://your.success.redirect.com\",\r\n    \"pending_redirect\": \"https://your.pending.redirect.com\",\r\n    \"failure_redirect\": \"https://your.failure.redirect.com\",\r\n    \"success_callback\": \"https://your.success.callback.com\",\r\n    \"failure_callback\": \"https://your.failure.callback.com\",\r\n    \"extraParam\": {\r\n        \"param1\": \"value1\",\r\n        \"param2\": \"value2\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.aviorapay.com/api/v1/createSession"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"sessionUrl\": \"https://staging.aviorapay.com/payoutSession/68341e385f895955355d5671/\",\n    \"brandId\": \"{yourBrandID}\",\n    \"customerId\": \"67c9983fba18400ab6cceb8f\",\n    \"sessionId\": \"68341e385f895955355d5671\",\n    \"expiryOn\": 1748246972,\n    \"createdOn\": 1748246072\n}"},{"id":"a6c2523e-4265-45cf-a8b2-ad6420f31b58","name":"payoutSession with Crypto Conversion","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer Token","type":"text"},{"key":"BrandId","value":"brand_id_value","type":"text"},{"key":"Accept","value":"*/*","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"customerId\": \"67c9983fba18400ab6cceb8f\",\r\n    \"currency\": \"USD\",\r\n    \"products\": [\r\n        {\r\n            \"name\": \"Product1\",\r\n            \"price\": \"2\"\r\n        }\r\n    ],\r\n    \"totalAmount\": \"2\",\r\n    \"tax_amount\": \"\",\r\n    \"tax_percent\": \"\",\r\n    \"type\": \"payout\",\r\n    \"success_redirect\": \"https://your.success.redirect.com\",\r\n    \"pending_redirect\": \"https://your.pending.redirect.com\",\r\n    \"failure_redirect\": \"https://your.failure.redirect.com\",\r\n    \"success_callback\": \"https://your.success.callback.com\",\r\n    \"failure_callback\": \"https://your.failure.callback.com\",\r\n    \"extraParam\": {\r\n        \"showCryptoConversion\": \"yes\",\r\n        \"cryptoCurrencies\": \"[\\\"BTC\\\",\\\"ETH\\\",\\\"USDT\\\",\\\"XRP\\\",\\\"LTC\\\",\\\"DOGE\\\",\\\"ETC\\\",\\\"BNB\\\",\\\"USDC\\\",\\\"SOL\\\",\\\"ADA\\\",\\\"BCH\\\",\\\"DASH\\\",\\\"BTG\\\",\\\"ZEC\\\",\\\"DGB\\\",\\\"EOS\\\",\\\"XLM\\\",\\\"TRX\\\",\\\"QTUM\\\",\\\"POL\\\",\\\"SHIB\\\",\\\"LINK\\\",\\\"DAI\\\",\\\"TON\\\",\\\"AVAX\\\",\\\"FDUSD\\\",\\\"ARB\\\",\\\"OP\\\"]\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.aviorapay.com/api/v1/createSession"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"sessionUrl\": \"https://staging.aviorapay.com/payoutSession/68341e385f895955355d5671/\",\n    \"brandId\": \"{yourBrandID}\",\n    \"customerId\": \"67c9983fba18400ab6cceb8f\",\n    \"sessionId\": \"68341e385f895955355d5671\",\n    \"expiryOn\": 1748246972,\n    \"createdOn\": 1748246072\n}"}],"_postman_id":"977c7cc4-73d4-4eaf-8219-8dff51101f79"},{"name":"Check Status - Payin","id":"fc4bc788-49fb-4f3e-ac1e-e8a5f594cc85","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer Token"}],"url":"https://api.aviorapay.com/api/v1/purchases/{Session ID}/","description":"<p>This endpoint retrieves the details of a session identified by the provided session ID.</p>\n<blockquote>\n<p>Note that this API only respond once the SessionURL, received in the response for session API, is clicked. </p>\n</blockquote>\n<blockquote>\n<p>Once the SessionURL is clicked and the user has selected a payment method and click on \"Pay\" button, a purchase is created on our backend. If you call this API before that, you will get an error.</p>\n</blockquote>\n","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"c3e3767a-26ba-4a32-89a9-3e620a7d0847","id":"c3e3767a-26ba-4a32-89a9-3e620a7d0847","name":"Cashier APIs","type":"folder"}},"urlObject":{"protocol":"https","path":["api","v1","purchases","{Session ID}",""],"host":["api","aviorapay","com"],"query":[],"variable":[]}},"response":[{"id":"2d6e1a16-04b1-44e9-a979-a0ddb17c8ac2","name":"202 Success","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer Token"}],"url":"https://api.aviorapay.com/api/v1/purchases/6950e4ba5205280b71ac2010/"},"status":"Accepted","code":202,"_postman_previewlanguage":"Text","header":[{"key":"Date","value":"Sun, 28 Dec 2025 08:03:36 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Nel","value":"{\"report_to\":\"cf-nel\",\"success_fraction\":0.0,\"max_age\":604800}"},{"key":"X-Frame-Options","value":"ALLOW-FROM *"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"x-session-id","value":"d5308b2a-537d-466a-8273-f754ba3491b8"},{"key":"Vary","value":"Origin"},{"key":"Vary","value":"Access-Control-Request-Method"},{"key":"Vary","value":"Access-Control-Request-Headers"},{"key":"Server","value":"cloudflare"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"0"},{"key":"Cache-Control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"Strict-Transport-Security","value":"max-age=31536000 ; includeSubDomains"},{"key":"X-Cache","value":"Error from cloudfront"},{"key":"Via","value":"1.1 f89daa99b6a349030b23247a4977cb5e.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"IAD61-P10"},{"key":"X-Amz-Cf-Id","value":"Ed-N_b__1xPz7yrAt9mMc6JrgiZqMiuPi3uJbZ4AeuUKm-Ziiohlcw=="},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"group\":\"cf-nel\",\"max_age\":604800,\"endpoints\":[{\"url\":\"https://a.nel.cloudflare.com/report/v4?s=V90OEeQkl%2Fh028giW2T2qMbuNADZ5EvKMZG33harMVuXpmo%2BnNQm5JeDtH2802Oa8hw5kJG737sqfdiLVuvIq%2F5E5tHoRdK8Zj6OU6yO255A\"}]}"},{"key":"CF-RAY","value":"9b4f8ac7caf2f4ca-IAD"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"purchaseId\": \"6950e4e3e4a1b008c2fae5c3\",\n    \"client\": {\n        \"customerId\": \"69034a5a61b460084d20c23b\",\n        \"email\": \"rahul+23@aviorapay.com\",\n        \"phone\": \"+919634088561\",\n        \"full_name\": \"Rahul Agarwal\",\n        \"street_address\": \"Vaishali Jaipur\",\n        \"country\": \"NA\",\n        \"city\": \"jaipur\",\n        \"zip_code\": \"202020\",\n        \"cc\": [],\n        \"bcc\": [],\n        \"stateCode\": \"RA\"\n    },\n    \"updated_on\": 1766909180,\n    \"type\": \"purchase\",\n    \"paymentMethod\": \"MASTER,VISA,JCB,AMEX,CRYPTO-BRIDGE,FawryPay,INTERAC-E-TRANSFER,INTERAC-REQUEST-MONEY,MOBILEMONEY,NEOSURF,PAYID,PIX,SPEI,THIRDPARTY-UPI,DISCOVER,BANKTRANSFER,VIRTUAL-IBAN,UPI-COLLECT,UPI-QR,VIRTUAL-ACCOUNT,DINERS,NETBANKING,THIRDPARTY-NETBANKING,MAYA,GCASH,INTERAC-EXPRESS,QRPH\",\n    \"amountUnit\": \"MAJOR\",\n    \"errorMsg\": \"This customer can not be processed !\",\n    \"errorCode\": \"NA\",\n    \"savedCardUsed\": \"NO\",\n    \"redirectType\": \"POST\",\n    \"force_recurring\": false,\n    \"created_on\": 1766909155,\n    \"merchantRef\": \"6950e4e3e4a1b008c2fae5c3\",\n    \"merchantName\": \"rahul_test\",\n    \"merchantType\": \"MERCHANT\",\n    \"purchase\": {\n        \"currency\": \"EUR\",\n        \"products\": [\n            {\n                \"name\": \"NA\",\n                \"quantity\": 1.0,\n                \"price\": 22.0,\n                \"discount\": 0,\n                \"tax_percent\": \"0.00\"\n            }\n        ],\n        \"total\": 22.0,\n        \"requestAmount\": 22.0,\n        \"language\": \"en\",\n        \"notes\": \"\",\n        \"debt\": 0,\n        \"total_formatted\": 1.0,\n        \"taxAmount\": 0.0,\n        \"taxPercent\": 0.0,\n        \"request_client_details\": [],\n        \"email_message\": \"\"\n    },\n    \"issuer_details\": {\n        \"website\": \"\",\n        \"legal_street_address\": \"\",\n        \"legal_country\": \"\",\n        \"legal_city\": \"\",\n        \"legal_zip_code\": \"\",\n        \"bank_accounts\": [\n            {}\n        ],\n        \"legal_name\": \"Testing\",\n        \"brand_name\": \"Testing\",\n        \"registration_number\": \"\",\n        \"tax_number\": \"\"\n    },\n    \"transaction_data\": {\n        \"payment_method\": \"\",\n        \"flow\": \"payform\",\n        \"extra\": {\n            \"expiry_month\": \"07\",\n            \"amount\": 22.0,\n            \"card_issuer\": \"CIAGROUP\",\n            \"masked_pan\": \"55555555****4444\",\n            \"card_brand\": \"MASTER\",\n            \"card_issuer_country\": \"BR\",\n            \"card_type\": \"DEBIT\",\n            \"cardholder_name\": \"rahul\",\n            \"expiry_year\": \"30\"\n        },\n        \"country\": \"\",\n        \"attempts\": [\n            {\n                \"client_ip\": \"183.83.53.214\",\n                \"type\": \"execute\",\n                \"payment_method\": \"MASTER\",\n                \"flow\": \"payform\",\n                \"successful\": false,\n                \"country\": \"BR\",\n                \"processing_time\": 1766909179,\n                \"extra\": {\n                    \"expiry_month\": \"07\",\n                    \"amount\": 22.0,\n                    \"card_issuer\": \"CIAGROUP\",\n                    \"masked_pan\": \"55555555****4444\",\n                    \"card_brand\": \"MASTER\",\n                    \"card_issuer_country\": \"BR\",\n                    \"card_type\": \"DEBIT\",\n                    \"cardholder_name\": \"rahul\",\n                    \"expiry_year\": \"30\"\n                },\n                \"error\": {\n                    \"message\": \"This customer can not be processed !\",\n                    \"code\": \"no_mid_found\"\n                }\n            }\n        ]\n    },\n    \"status\": \"ERROR\",\n    \"status_history\": [\n        {\n            \"status\": \"created\",\n            \"timestamp\": 1766909155\n        },\n        {\n            \"status\": \"pending_execute\",\n            \"timestamp\": 1766909179\n        },\n        {\n            \"status\": \"error\",\n            \"timestamp\": 1766909180\n        },\n        {\n            \"status\": \"viewed\",\n            \"timestamp\": 1766909186\n        }\n    ],\n    \"viewedOn\": 1766909186,\n    \"is_test\": false,\n    \"brand_id\": \"59c5ed48-caf9-464a-ba54-26e1e02bc1bc\",\n    \"send_receipt\": false,\n    \"is_recurring_token\": false,\n    \"skip_capture\": false,\n    \"reference_generated\": \"PS334\",\n    \"issued\": \"2025-12-28\",\n    \"due\": 1766909155,\n    \"refund_upto\": 0,\n    \"cc_descriptor\": \"\",\n    \"fraudScore\": \"0\",\n    \"trustScore\": \"0\",\n    \"extraFee\": \"0\",\n    \"paidOn\": 0,\n    \"receivedAmt\": 0.0,\n    \"taxAmount\": 0.0,\n    \"surcharge\": 0.0,\n    \"surchargeType\": \"\",\n    \"sessionId\": \"6950e4ba5205280b71ac2010\",\n    \"refund_availability\": \"NONE\",\n    \"refundable_amount\": 0.0,\n    \"success_redirect\": \"https://google.com/\",\n    \"failure_redirect\": \"https://google.com/\",\n    \"pending_redirect\": \"https://google.com/\",\n    \"cancel_redirect\": \"\",\n    \"success_callback\": \"https://your.success.callback.com\",\n    \"failure_callback\": \"https://your.failure.callback.com\",\n    \"platform\": \"API\",\n    \"checkout_url\": \"https://api.aviorapay.com/payments/adb6e07f74ec6197ef764909736d478e/\",\n    \"direct_post_url\": \"https://api.aviorapay.com/api/v1/p/6950e4e3e4a1b008c2fae5c3/\",\n    \"payoutProcess\": false\n}"},{"id":"73bb9001-36bc-44c2-a268-bce11fa3063b","name":"400 Bad Request","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer Token"}],"url":"https://api.aviorapay.com/api/v1/purchases/6950e4ba5205280b71ac2010/"},"status":"Bad Request","code":400,"_postman_previewlanguage":"Text","header":[{"key":"Date","value":"Sun, 28 Dec 2025 08:03:36 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Nel","value":"{\"report_to\":\"cf-nel\",\"success_fraction\":0.0,\"max_age\":604800}"},{"key":"X-Frame-Options","value":"ALLOW-FROM *"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"x-session-id","value":"d5308b2a-537d-466a-8273-f754ba3491b8"},{"key":"Vary","value":"Origin"},{"key":"Vary","value":"Access-Control-Request-Method"},{"key":"Vary","value":"Access-Control-Request-Headers"},{"key":"Server","value":"cloudflare"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"0"},{"key":"Cache-Control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"Strict-Transport-Security","value":"max-age=31536000 ; includeSubDomains"},{"key":"X-Cache","value":"Error from cloudfront"},{"key":"Via","value":"1.1 f89daa99b6a349030b23247a4977cb5e.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"IAD61-P10"},{"key":"X-Amz-Cf-Id","value":"Ed-N_b__1xPz7yrAt9mMc6JrgiZqMiuPi3uJbZ4AeuUKm-Ziiohlcw=="},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"group\":\"cf-nel\",\"max_age\":604800,\"endpoints\":[{\"url\":\"https://a.nel.cloudflare.com/report/v4?s=V90OEeQkl%2Fh028giW2T2qMbuNADZ5EvKMZG33harMVuXpmo%2BnNQm5JeDtH2802Oa8hw5kJG737sqfdiLVuvIq%2F5E5tHoRdK8Zj6OU6yO255A\"}]}"},{"key":"CF-RAY","value":"9b4f8ac7caf2f4ca-IAD"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"message\": \"PurchaseId Not found.\",\n    \"code\": \"transaction_error\"\n}"},{"id":"950b8718-695a-4e51-b005-22c86a5cac63","name":"401 Unauthorized","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer Token"}],"url":"https://api.aviorapay.com/api/v1/purchases/{Session ID}/"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"Text","header":[{"key":"Date","value":"Sun, 28 Dec 2025 08:03:36 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Nel","value":"{\"report_to\":\"cf-nel\",\"success_fraction\":0.0,\"max_age\":604800}"},{"key":"X-Frame-Options","value":"ALLOW-FROM *"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"x-session-id","value":"d5308b2a-537d-466a-8273-f754ba3491b8"},{"key":"Vary","value":"Origin"},{"key":"Vary","value":"Access-Control-Request-Method"},{"key":"Vary","value":"Access-Control-Request-Headers"},{"key":"Server","value":"cloudflare"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"0"},{"key":"Cache-Control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"Strict-Transport-Security","value":"max-age=31536000 ; includeSubDomains"},{"key":"X-Cache","value":"Error from cloudfront"},{"key":"Via","value":"1.1 f89daa99b6a349030b23247a4977cb5e.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"IAD61-P10"},{"key":"X-Amz-Cf-Id","value":"Ed-N_b__1xPz7yrAt9mMc6JrgiZqMiuPi3uJbZ4AeuUKm-Ziiohlcw=="},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"group\":\"cf-nel\",\"max_age\":604800,\"endpoints\":[{\"url\":\"https://a.nel.cloudflare.com/report/v4?s=V90OEeQkl%2Fh028giW2T2qMbuNADZ5EvKMZG33harMVuXpmo%2BnNQm5JeDtH2802Oa8hw5kJG737sqfdiLVuvIq%2F5E5tHoRdK8Zj6OU6yO255A\"}]}"},{"key":"CF-RAY","value":"9b4f8ac7caf2f4ca-IAD"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Incorrect secret_key\",\n    \"code\": \"authentication_failed\"\n}"}],"_postman_id":"fc4bc788-49fb-4f3e-ac1e-e8a5f594cc85"},{"name":"Check Status - Payout","id":"c4a206ad-0671-4baf-8bad-897b42396959","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer Token","type":"text"}],"url":"https://app.aviorapay.com/api/v1/getpayout/{Session ID}/","description":"<p>This API tells you about all the details of a Payout, including its history</p>\n<h3 id=\"mandatory\">Mandatory</h3>\n<p>you need to pass the payoutId or session id in the API URL</p>\n<h3 id=\"possible-value-of-status\">Possible Value of Status</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Status</strong></th>\n<th><strong>Notes</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>paid</td>\n<td>Transaction Successful</td>\n</tr>\n<tr>\n<td>payout_in_process</td>\n<td>payout is under Processing.</td>\n</tr>\n<tr>\n<td>error</td>\n<td>Transaction has Failed.</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"c3e3767a-26ba-4a32-89a9-3e620a7d0847","id":"c3e3767a-26ba-4a32-89a9-3e620a7d0847","name":"Cashier APIs","type":"folder"}},"urlObject":{"path":["getpayout","{Session ID}",""],"host":["https://app.aviorapay.com/api/v1"],"query":[],"variable":[]}},"response":[{"id":"3e9b7e12-a770-4019-9e53-b16381849d39","name":"Success","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer Token","type":"text"}],"url":"https://app.aviorapay.com/api/v1/getpayout/{Session ID}/"},"status":"Accepted","code":202,"_postman_previewlanguage":"Text","header":[{"key":"Date","value":"Mon, 27 Apr 2026 07:03:52 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Nel","value":"{\"report_to\":\"cf-nel\",\"success_fraction\":0.0,\"max_age\":604800}"},{"key":"X-Frame-Options","value":"ALLOW-FROM *"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"x-session-id","value":"9be65213-e200-4ef2-831c-683022389e8b"},{"key":"Vary","value":"Origin"},{"key":"Vary","value":"Access-Control-Request-Method"},{"key":"Vary","value":"Access-Control-Request-Headers"},{"key":"Server","value":"cloudflare"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"0"},{"key":"Cache-Control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"Strict-Transport-Security","value":"max-age=31536000 ; includeSubDomains"},{"key":"X-Cache","value":"Error from cloudfront"},{"key":"Via","value":"1.1 ea9784182c7536f5ce15ec71cf0089d6.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"IAD61-P10"},{"key":"X-Amz-Cf-Id","value":"SQqBgIYJCqc_HzF2NrYyoiCCGUdxGyPFZ3OzmUrrL-XBe56tKWTifA=="},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"group\":\"cf-nel\",\"max_age\":604800,\"endpoints\":[{\"url\":\"https://a.nel.cloudflare.com/report/v4?s=dRx0V9WF8UC%2FPmYeyh%2Fl2YI7rIhT15NcQDiRVHdKuzF4jjsVyYmbl2imFi%2FSpP4VpmIHsFmO0xzXUjyO1%2BwKeupdremHVjRNwtqENY%2FZxgVpN7KFFzAhSQDhOMdd62Anr2zN\"}]}"},{"key":"CF-RAY","value":"9f2bf84969fa9c85-IAD"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"payoutId\": \"65ffadb4c1c83822903a9205\",\n    \"client\": {\n        \"email\": \"customer141@email.uk\",\n        \"full_name\": \"Test Person-uk\",\n        \"street_address\": \"Random city address\",\n        \"country\": \"SG\",\n        \"city\": \"Singapore\",\n        \"zip_code\": \"123456\",\n        \"stateCode\": \"test\"\n    },\n    \"updated_on\": 1711254964,\n    \"payoutMethod\": \"Payout-BANKTRANSFER\",\n    \"beneficiaryDetail\":{\n    \"bankName\": \"DBS Bank\",      \n    \"bankAccountName\": \"test test\",\n    \"bankAccountCurrency\": \"SGD\",\n    \"bankAccountNumber\": \"12345640\",\n    \"bankCountryCode\" : \"SG\",\n    \"swiftCode\": \"DBSSSGSG\",\n    \"routing_param\" :\n    {\n        \"bankCode\": \"897678\",\n        \"bankBranchCode\" : \"888\"\n           \n    }\n     },\n    \"amountUnit\": \"MAJOR\",\n    \"amount\": 1000.0,\n    \"errorMsg\": \"Currency Account has insufficient balance.\",\n    \"purpose\": \"test payout\",\n    \"created_on\": 1711254972,\n    \"merchantRef\": \"65ffadb4c1c83822903a9205\",\n    \"status\": \"ERROR\",\n    \"status_history\": [\n        {\n            \"status\": \"created\",\n            \"timestamp\": 1711254964\n        },\n        {\n            \"status\": \"error\",\n            \"timestamp\": 1711254972\n        }\n    ],\n    \"currency\": \"USD\",\n    \"success_callback\": \"https://success.com\",\n    \"failure_callback\": \"https://failure.com\"\n}"}],"_postman_id":"c4a206ad-0671-4baf-8bad-897b42396959"}],"id":"c3e3767a-26ba-4a32-89a9-3e620a7d0847","description":"<p>Aviorapay Cashier is a unified payment management solution that connects with leading PSP and acquirers, offering merchants one convenient access point to simplify transaction processing and enhance efficiency.</p>\n<p>To start the cashier system, a <strong>payment session</strong> is initiated—a secure, temporary environment generated by our payment gateway. This session encapsulates all transaction details and state information before the cashier loads, overseeing the complete lifecycle of a payment attempt—from initial setup to final completion—ensuring every necessary detail is managed safely and consistently.</p>\n","auth":{"type":"noauth","isInherited":false},"event":[{"listen":"prerequest","script":{"type":"text/javascript","packages":{},"requests":{},"exec":[""],"id":"7b6af6f5-e36d-4585-ae0f-e267ece6a389"}},{"listen":"test","script":{"type":"text/javascript","packages":{},"requests":{},"exec":[""],"id":"73c5a523-b769-4d6e-ad74-4677990ef25c"}}],"_postman_id":"c3e3767a-26ba-4a32-89a9-3e620a7d0847"},{"name":"User Defined Fields (UDF)","item":[],"id":"677dd0a5-67f9-4122-8fd6-b8eea5ebc478","description":"<p>User Defined Fields (also referred to as Merchant Defined Parameters) allow you to attach custom identifiers to transactions. These identifiers can help you map transactions to your internal systems and configure advanced routing rules.</p>\n<p>Once created, you can pass the parameter in the purchases or session API using the <code>extraParam</code> object in the payload, to receive the same in the API response and the following webhooks.</p>\n<h3 id=\"adding-a-user-defined-field\">Adding a User Defined Field</h3>\n<ol>\n<li><p>Click <strong>Add Parameters</strong>.</p>\n</li>\n<li><p>Enter the <strong>Parameter Name</strong>.</p>\n</li>\n<li><p>Choose the <strong>Value Type</strong> (Numeric, String, or Boolean).</p>\n</li>\n<li><p>Click <strong>Add</strong> to save.</p>\n</li>\n</ol>\n<p>Here is how you can define UDFs in Aviorapay's app.</p>\n<img src=\"https://content.pstmn.io/86b01b5b-8671-4a7b-842d-c027481b3198/VW50aXRsZWQgZGVzaWduICg1MCkucG5n\" alt />\n\n<h3 id=\"using-udf-in-api-requests\">Using UDF in API Requests</h3>\n<p>Once created, you can pass the parameter in the <code>purchases</code> or <code>session</code> API using the <code>extraParam</code> object in the payload, to receive the same in the API response and the following webhooks.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">\"extraParam\": {\n    \"userDefinedParameter\": \"value\"\n}\n\n</code></pre>\n<h3 id=\"best-practices\">Best Practices</h3>\n<ul>\n<li><p>Use <strong>consistent naming conventions</strong> for parameters to avoid confusion across integrations.</p>\n</li>\n<li><p>Keep the number of UDFs minimal — only add fields that provide clear value (e.g., customer segment, order type, risk score).</p>\n</li>\n<li><p>Leverage UDFs in <strong>rule-based routing</strong> to optimize processing flows (e.g., route high-value transactions to a specific MID).</p>\n</li>\n<li><p>Document your UDFs internally so operations and support teams can easily reference them.</p>\n</li>\n</ul>\n<p>Note:<br />This feature is enabled only for the whitelabel merchant solution. If you are using a merchant solution, please contact your Account Manager for doing these changes.</p>\n","auth":{"type":"noauth","isInherited":false},"event":[{"listen":"prerequest","script":{"type":"text/javascript","packages":{},"requests":{},"exec":[""],"id":"52f43278-a00e-47a4-b136-79ee533c339d"}},{"listen":"test","script":{"type":"text/javascript","packages":{},"requests":{},"exec":[""],"id":"9d035ee8-41af-41e5-82ab-f3183206667e"}}],"_postman_id":"677dd0a5-67f9-4122-8fd6-b8eea5ebc478"},{"name":"Transaction Reporting","item":[{"name":"List Transactions","id":"3d1005b7-6ac3-43a2-9fa3-af0d60e119a2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"BrandId","value":"your-brand-id"},{"key":"Authorization","value":"Bearer Token"}],"url":"https://api.aviorapay.com/api/v1/external/transactions/list?page_no=1&page_size=10&transaction_id=69d4ba22465443878a0045ba&start_date=2025-10-29%2000%3A00%3A00%20+05%3A30&end_date=2026-04-23%2000%3A00%3A00%20+05%3A30&last_updated_start=2026-01-07%2016%3A12%3A00%20+05%3A30&last_updated_end=2026-12-07%2016%3A12%3A00%20+05%3A30&customer_id=NA&status=paid&currency=USD&is_sandbox=true","description":"<p>Fetches a paginated list of transactions. This endpoint is optimized for high-volume retrieval and returns a summary view of each transaction (ID and Status).</p>\n<h4 id=\"important-path-params-to-consider\"><strong>Important Path Params to consider:</strong></h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Fields</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>page_no</td>\n<td>The index number of the page to retrieve.  <br />Zero-based indexing: The first page is 0, the second is 1, etc.  <br />Example: To get the third page of results, send page_no=2</td>\n</tr>\n<tr>\n<td>page_size</td>\n<td>The number of records to return per page.  <br />Minimum: 1  <br />Maximum: 100 (or whatever your API limit is).  <br />Usage: A larger page_size reduces the number of API calls but increases payload size.</td>\n</tr>\n<tr>\n<td>transaction_id</td>\n<td>If you want to filter with a specific transaction id. Multiple ids are not supported.  <br />If a transaction id is passed, it has the highest priority. All the below mentioned filters are ommitted.</td>\n</tr>\n<tr>\n<td>start_date</td>\n<td>If you want to filter between 2 dates.  <br />Format: 2026-01-07 16:12:00 +05:30  <br />Base timezone is in UTC.</td>\n</tr>\n<tr>\n<td>end_date</td>\n<td>If you want to filter between 2 dates  <br />Format: 2026-01-07 16:12:00 +05:30  <br />Base timezone is in UTC.</td>\n</tr>\n<tr>\n<td>last_updated_start</td>\n<td>If you want to filter with the last updated date of a transaction.  <br />Format: 2026-01-07 16:12:00 +05:30  <br />Base timezone is in UTC.</td>\n</tr>\n<tr>\n<td>last_updated_end</td>\n<td>If you want to filter with the last updated date of a transaction.  <br />Format: 2026-01-07 16:12:00 +05:30  <br />Base timezone is in UTC.</td>\n</tr>\n<tr>\n<td>customer_id</td>\n<td>If you want to filter with a specific customer id. Multiple ids are not supported.</td>\n</tr>\n<tr>\n<td>status</td>\n<td>If you want to filter with the status.</td>\n</tr>\n<tr>\n<td>currency</td>\n<td>If you want to filter with the currency.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["api","v1","external","transactions","list"],"host":["api","aviorapay","com"],"query":[{"key":"page_no","value":"1"},{"key":"page_size","value":"10"},{"key":"transaction_id","value":"69d4ba22465443878a0045ba"},{"key":"start_date","value":"2025-10-29%2000%3A00%3A00%20+05%3A30"},{"key":"end_date","value":"2026-04-23%2000%3A00%3A00%20+05%3A30"},{"key":"last_updated_start","value":"2026-01-07%2016%3A12%3A00%20+05%3A30"},{"key":"last_updated_end","value":"2026-12-07%2016%3A12%3A00%20+05%3A30"},{"key":"customer_id","value":"NA"},{"key":"status","value":"paid"},{"key":"currency","value":"USD"},{"key":"is_sandbox","value":"true"}],"variable":[]}},"response":[{"id":"15111803-a369-4f08-a094-f5e1dbf35ed9","name":"Success","originalRequest":{"method":"GET","header":[{"key":"BrandId","value":"your-brand-id"},{"key":"Authorization","value":"Bearer Token"}],"url":{"raw":"https://api.aviorapay.com/api/v1/external/transactions/list?page_no=1&page_size=10&start_date=2025-10-29%2000%3A00%3A00%20+05%3A30&end_date=2026-04-23%2000%3A00%3A00%20+05%3A30&last_updated_start=2026-01-07%2016%3A12%3A00%20+05%3A30&last_updated_end=2026-12-07%2016%3A12%3A00%20+05%3A30&customer_id=NA&status=paid&currency=USD&is_sandbox=true","protocol":"https","host":["api","aviorapay","com"],"path":["api","v1","external","transactions","list"],"query":[{"key":"page_no","value":"1"},{"key":"page_size","value":"10"},{"key":"transaction_id","value":"69d4ba22465443878a0045ba","disabled":true},{"key":"start_date","value":"2025-10-29%2000%3A00%3A00%20+05%3A30"},{"key":"end_date","value":"2026-04-23%2000%3A00%3A00%20+05%3A30"},{"key":"last_updated_start","value":"2026-01-07%2016%3A12%3A00%20+05%3A30"},{"key":"last_updated_end","value":"2026-12-07%2016%3A12%3A00%20+05%3A30"},{"key":"customer_id","value":"NA"},{"key":"status","value":"paid"},{"key":"currency","value":"USD"},{"key":"is_sandbox","value":"true"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"Text","header":[{"key":"Date","value":"Sun, 19 Apr 2026 14:11:10 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Nel","value":"{\"report_to\":\"cf-nel\",\"success_fraction\":0.0,\"max_age\":604800}"},{"key":"X-Frame-Options","value":"ALLOW-FROM *"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"x-session-id","value":"c2111eb2-6314-4f0b-b546-4ae3ee123a44"},{"key":"Vary","value":"Origin"},{"key":"Vary","value":"Access-Control-Request-Method"},{"key":"Vary","value":"Access-Control-Request-Headers"},{"key":"Server","value":"cloudflare"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"0"},{"key":"Cache-Control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"Strict-Transport-Security","value":"max-age=31536000 ; includeSubDomains"},{"key":"X-Cache","value":"Error from cloudfront"},{"key":"Via","value":"1.1 6a91ddfdf36644f1344da228258d9082.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"IAD61-P10"},{"key":"X-Amz-Cf-Id","value":"lKDk7cJHKNy2cOdf_AWXk3GlUJdWC5slaGWaVfgUf1Fn0XXm7T7D7Q=="},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"group\":\"cf-nel\",\"max_age\":604800,\"endpoints\":[{\"url\":\"https://a.nel.cloudflare.com/report/v4?s=YLhXcnCfKpMy2KQEcmek7bxnkI2lT3%2F5IQ8opo9ZpZ4E852qZoWIFsjJ%2BcmGZfTO7S1rWYnB3uzuGwMYwevQ%2F47w%2Bm6u51jrIfjuG3TDh08KGeWKRbR92ItXRYPoh1CgVmja\"}]}"},{"key":"CF-RAY","value":"9eec7f31f973c9b7-IAD"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"content\": [\n            {\n                \"transaction_id\": \"69e2146828bea6ca2e31bc85\",\n                \"status\": \"paid\"\n            },\n            {\n                \"transaction_id\": \"69e20fd928bea6ca2e31b17c\",\n                \"status\": \"paid\"\n            }\n        ],\n        \"currentPage\": 1,\n        \"pageSize\": 2,\n        \"totalElements\": 95,\n        \"totalPages\": 48,\n        \"first\": true,\n        \"last\": false,\n        \"hasNext\": true,\n        \"hasPrevious\": false\n    }\n}"}],"_postman_id":"3d1005b7-6ac3-43a2-9fa3-af0d60e119a2"},{"name":"Get Detailed Transaction Details","id":"52b17205-cb65-4f2c-8e75-d4e932d0085d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"BrandId","value":"your-brand-id"},{"key":"Authorization","value":"Bearer Token"}],"url":"https://api.aviorapay.com/api/v1/external/transactions/data/69e20fd928bea6ca2e31b17c?page_no=1&page_size=10&include_subtransactions=true","description":"<p>Retrieves the complete details for a specific transaction. This includes customer info, payment method details, bank response codes, and hierarchy metadata (parent/child transactions).</p>\n<h3 id=\"additional-query-parameters-for-this-usecase\">Additional query <strong>parameters for this usecase:</strong></h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Notes</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>include_subtransactions</td>\n<td>Mandatory.  <br />Possible Values: true/false  <br />  <br />If true, includes child transactions (e.g., recurring payments).</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["api","v1","external","transactions","data","69e20fd928bea6ca2e31b17c"],"host":["api","aviorapay","com"],"query":[{"key":"page_no","value":"1"},{"key":"page_size","value":"10"},{"key":"include_subtransactions","value":"true"}],"variable":[]}},"response":[{"id":"458335f6-2a30-4094-8a85-e1746f2814eb","name":"Success","originalRequest":{"method":"GET","header":[{"key":"BrandId","value":"your-brand-id"},{"key":"Authorization","value":"Bearer Token"}],"url":{"raw":"https://api.aviorapay.com/api/v1/external/transactions/data/69e20fd928bea6ca2e31b17c?page_no=1&page_size=10&include_subtransactions=true","protocol":"https","host":["api","aviorapay","com"],"path":["api","v1","external","transactions","data","69e20fd928bea6ca2e31b17c"],"query":[{"key":"page_no","value":"1"},{"key":"page_size","value":"10"},{"key":"include_subtransactions","value":"true"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"Text","header":[{"key":"Date","value":"Sun, 19 Apr 2026 14:13:09 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Nel","value":"{\"report_to\":\"cf-nel\",\"success_fraction\":0.0,\"max_age\":604800}"},{"key":"X-Frame-Options","value":"ALLOW-FROM *"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"x-session-id","value":"3d9fb1d1-b30f-4c3e-a76f-6956e3731ad3"},{"key":"Vary","value":"Origin"},{"key":"Vary","value":"Access-Control-Request-Method"},{"key":"Vary","value":"Access-Control-Request-Headers"},{"key":"Server","value":"cloudflare"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"0"},{"key":"Cache-Control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"Strict-Transport-Security","value":"max-age=31536000 ; includeSubDomains"},{"key":"X-Cache","value":"Error from cloudfront"},{"key":"Via","value":"1.1 64d4305f6a0418824e90908ac490184e.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"IAD61-P10"},{"key":"X-Amz-Cf-Id","value":"COt7k0tEcVGSOSy8pTkHoOqGoG1lSgC9qz8baoKbgmPkAh5dq0GNjQ=="},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"group\":\"cf-nel\",\"max_age\":604800,\"endpoints\":[{\"url\":\"https://a.nel.cloudflare.com/report/v4?s=hn0q1Q9Cqa9onXwzy%2F1Qeq8u4RTGt3q%2BZNFW29weO%2BOmtABh6y8XLnAH9%2FytCQEEOmNzdnvM0oPcQruiJvYqQQShCKOndiMKUnEksUPM9I9UMph4qP7s1ognTK%2BBhheXvIwO\"}]}"},{"key":"CF-RAY","value":"9eec821e0f4b172c-IAD"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"data\": {\n        \"transaction_id\": \"69e20fd928bea6ca2e31b17c\",\n        \"merchant_reference\": \"69e20fd928bea6ca2e31b17c\",\n        \"customer_id\": \"NA\",\n        \"amount\": 1.0,\n        \"currency\": \"USD\",\n        \"status\": \"paid\",\n        \"session_id\": \"\",\n        \"email\": \"aryangupta+3265@aviorapay.dev\",\n        \"merchant_name\": \"prithvimerch\",\n        \"payment_method\": \"MASTER\",\n        \"payment_flow\": \"payform\",\n        \"issuing_bank\": \"PUBLIC BANK BERHAD\",\n        \"created_at\": \"2026-04-17T10:47:53Z\",\n        \"error_reason\": \"Transaction succeeded-APPROVED\",\n        \"last_updated_at\": \"2026-04-17T10:49:14Z\",\n        \"transaction_type\": \"parent\",\n        \"fees\": [\n            {\n                \"type\": \"mdr\",\n                \"amount\": 0.00,\n                \"currency\": \"USD\"\n            },\n            {\n                \"type\": \"decline_fee\",\n                \"amount\": 0,\n                \"currency\": \"USD\"\n            },\n            {\n                \"type\": \"transaction_fee\",\n                \"amount\": 0.1,\n                \"currency\": \"USD\"\n            },\n            {\n                \"type\": \"fraud_refund_fee\",\n                \"amount\": 0,\n                \"currency\": \"USD\"\n            },\n            {\n                \"type\": \"refund_fee\",\n                \"amount\": 0,\n                \"currency\": \"USD\"\n            },\n            {\n                \"type\": \"chargeback_fee\",\n                \"amount\": 0,\n                \"currency\": \"USD\"\n            },\n            {\n                \"type\": \"extra_fee\",\n                \"amount\": 0,\n                \"currency\": \"USD\"\n            }\n        ],\n        \"metadata\": {\n            \"has_subtransactions\": false,\n            \"total_subtransactions\": 0,\n            \"transaction_hierarchy_level\": \"parent\"\n        }\n    }\n}"}],"_postman_id":"52b17205-cb65-4f2c-8e75-d4e932d0085d"}],"id":"5e7b65e3-0e68-4f96-943a-1260c960404b","description":"<h2 id=\"overview\">Overview</h2>\n<p>The Transaction Reporting APIs allow merchants to retrieve detailed logs of their payment activity programmatically. This is useful for:</p>\n<ul>\n<li><p><strong>Reconciliation:</strong> Matching Aviorapay records with your internal order system.</p>\n</li>\n<li><p><strong>Audit Trails:</strong> Tracking the status history of specific transactions.</p>\n</li>\n<li><p><strong>Data Export:</strong> Pulling transaction data into your own analytics tools.</p>\n</li>\n</ul>\n<p>There are two primary endpoints:</p>\n<ol>\n<li><p><strong>List Transactions:</strong> Retrieves a paginated list of all transactions for a specific Brand ID.</p>\n</li>\n<li><p><strong>Get Transaction Details:</strong> Retrieves the full data payload for a single transaction ID, including metadata and sub-transaction details.</p>\n</li>\n</ol>\n","_postman_id":"5e7b65e3-0e68-4f96-943a-1260c960404b"},{"name":"Network Tokenisation","item":[{"name":"Merchant Configuration","item":[],"id":"7798e4c5-5bb1-4dde-8e1f-77a288044190","description":"<p>Before you can use network tokenisation in your payment flow, the feature must be enabled and configured on your merchant account. This section walks through the setup steps in the Aviorapay Dashboard.</p>\n<h2 id=\"enabling-network-tokenisation\">Enabling Network Tokenisation</h2>\n<p>Network tokenisation requires activation at the merchant level. Follow these steps in the Aviorapay Dashboard:</p>\n<ol>\n<li><p>Log in to your Aviorapay merchant account.</p>\n</li>\n<li><p>Navigate to Merchant Details → Allowed Services.</p>\n</li>\n<li><p>Enable “Allow Network Token” to activate tokenisation for your account.</p>\n</li>\n</ol>\n<p><strong>Admin Activation Required</strong><br />Network tokenisation must first be enabled at the platform level by your Aviorapay account administrator. If you do not see the “Allow Network Token” option in your dashboard, contact your Aviorapay account manager to request activation.</p>\n<img src=\"https://content.pstmn.io/962b0485-88e3-48c2-86e6-8acea7961109/VW50aXRsZWQgZGVzaWduICg1OCkucG5n\" alt />\n\n<h2 id=\"aviorapay-token-service-setup\">Aviorapay Token Service Setup</h2>\n<p>After enabling network tokenisation, configure the Aviorapay Token Service with your merchant details:</p>\n<ol>\n<li><p>In the Aviorapay Dashboard, navigate to Global Settings → Aviorapay Token Service.</p>\n</li>\n<li><p>Fill in all the required fields accurately.</p>\n</li>\n<li><p>Enter your Category Code — this represents your merchant business type code (MCC).</p>\n</li>\n<li><p>Click Save.</p>\n</li>\n<li><p>After saving, verify that the status shows as Pending (visible in the top-right corner of the page).</p>\n</li>\n<li><p>The status will automatically update to Active or Error once your token profile is created.</p>\n</li>\n</ol>\n<img src=\"https://content.pstmn.io/625291b4-f27c-4186-b8b9-b2a58cd417fc/VGFrZW4gU2VydmljZS5wbmc=\" alt />\n\n<p><strong>Status Update Timing:</strong> The status update from Pending to Active may take up to 1 hour. Do not attempt to use tokenisation APIs until the status shows Active. If the status changes to Error, contact your Aviorapay account manager for resolution.</p>\n<h3 id=\"status-values\"><strong>Status Values</strong></h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Status</th>\n<th>Meaning</th>\n<th>Action Required</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Pending</td>\n<td>Your token service profile has been submitted and is being provisioned.</td>\n<td>Wait for the status to update. This may take up to 1 hour.</td>\n</tr>\n<tr>\n<td>Active</td>\n<td>Token service is live and ready to use. You can now process tokenised transactions.</td>\n<td>None — you are ready to integrate.</td>\n</tr>\n<tr>\n<td>Error</td>\n<td>There was a problem creating your token profile.</td>\n<td>Contact your Aviorapay account manager to resolve the issue.</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"noauth","isInherited":false},"event":[{"listen":"prerequest","script":{"type":"text/javascript","packages":{},"requests":{},"exec":[""],"id":"d309d1f6-c2db-4e18-8a26-0cff1362af4a"}},{"listen":"test","script":{"type":"text/javascript","packages":{},"requests":{},"exec":[""],"id":"a9616bdf-af76-4b3d-a693-c77aaeec7717"}}],"_postman_id":"7798e4c5-5bb1-4dde-8e1f-77a288044190"},{"name":"APIs","item":[{"name":"List Saved Cards","id":"d89c809b-dc51-44ac-9033-280c5c0b0b70","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"https://api.aviorapay.com/listSavedCards","description":"<h2 id=\"list-saved-cards\">List Saved Cards</h2>\n<p>Retrieve all saved card tokens for a given customer. Returns the last 4 digits of each card and its associated <code>token_reference</code>.</p>\n<p>Use this API to display saved cards to the customer for selection before initiating a payment via the S2S API.</p>\n<h3 id=\"query-parameters\">Query Parameters</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Type</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>customerId</code></td>\n<td>string</td>\n<td>Yes</td>\n<td>Unique identifier for the customer. Must be URL-encoded if it contains special characters. Email addresses are case-sensitive.</td>\n</tr>\n<tr>\n<td><code>brandId</code></td>\n<td>string</td>\n<td>Yes</td>\n<td>Brand id of the merchant</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"response-fields\">Response Fields</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>card_last_four</code></td>\n<td>string</td>\n<td>Last 4 digits of the stored card. Display to the customer for card selection.</td>\n</tr>\n<tr>\n<td><code>token_reference</code></td>\n<td>string</td>\n<td>Unique reference for this saved card. Pass this in the S2S payment request or Delete Token request. Do not display to the customer.</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"notes\">Notes</h3>\n<ul>\n<li><p>The <code>token_reference</code> does not expire. It remains valid as long as the saved card has not been deleted.</p>\n</li>\n<li><p>Show saved cards to the customer using <code>card_last_four</code> alongside a card brand icon (Visa / Mastercard).</p>\n</li>\n<li><p>The <code>token_reference</code> should only be stored and used server-side.</p>\n</li>\n</ul>\n<h3 id=\"display-tip\">Display Tip</h3>\n<p>Show saved cards using cardlast4 alongside a card brand icon (Visa / Mastercard).<br />The token_reference should only be stored and used server-side.</p>\n","urlObject":{"protocol":"https","path":["listSavedCards"],"host":["api","aviorapay","com"],"query":[],"variable":[]}},"response":[{"id":"43fabf50-ea03-4beb-a638-77b4707471a8","name":"Success","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer Token","type":"text"}],"url":{"raw":"https://api.aviorapay.com/listSavedCards?customerId=test@aviorapay.dev&brandId=fceb4dea-163c-492c-a9e6-beedd8539da8","protocol":"https","host":["api","aviorapay","com"],"path":["listSavedCards"],"query":[{"key":"customerId","value":"test@aviorapay.dev"},{"key":"brandId","value":"fceb4dea-163c-492c-a9e6-beedd8539da8"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"card_last_four\": \"1003\",\n        \"token_reference\": \"token_2bcf691f0f0347d6bcb38118d1bb31d5\"\n    },\n    {\n        \"card_last_four\": \"6006\",\n        \"token_reference\": \"token_e17dd98c66c14b37afaa62bd4770f915\"\n    },\n    {\n        \"card_last_four\": \"6916\",\n        \"token_reference\": \"token_7178bb7208614544a285656da38ae5ac\"\n    }\n]"}],"_postman_id":"d89c809b-dc51-44ac-9033-280c5c0b0b70"},{"name":"Purchase","id":"d19c79c4-0808-4560-ab5d-3633b892d85d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{APIKey}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"client\": {\n        \"email\": \"customer@example.com\",\n        \"country\": \"IN\",\n        \"city\": \"Jaipur\",\n        \"stateCode\": \"RJ\",\n        \"street_address\": \"123 Main Street\",\n        \"zip_code\": \"302001\",\n        \"phone\": \"9999999999\"\n    },\n    \"purchase\": {\n        \"currency\": \"USD\",\n        \"products\": [\n            {\n                \"name\": \"Product Name\",\n                \"price\": \"10.00\"\n            }\n        ]\n    },\n    \"brand_id\": \"{{BrandId}}\",\n    \"success_redirect\": \"https://yoursite.com/success\",\n    \"failure_redirect\": \"https://yoursite.com/failure\",\n    \"pending_redirect\": \"https://yoursite.com/pending\",\n    \"success_callback\": \"https://yoursite.com/webhook/success\",\n    \"failure_callback\": \"https://yoursite.com/webhook/failure\"\n}","options":{"raw":{"language":"json"}}},"url":"https://app.aviorapay.com/api/v1/api/v1/purchases","description":"<h2 id=\"purchase\">Purchase</h2>\n<p>Initiate a payment transaction. This is the standard Aviorapay Purchase API.</p>\n<p>When a customer completes the purchase on the Aviorapay checkout page and opts to save their card, Aviorapay provisions a network token in the background and generates a <code>token_reference</code> linked to the customer.</p>\n<h3 id=\"mandatory-parameters\">Mandatory Parameters</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>client.email</code></td>\n<td>string</td>\n<td>Customer's email address.  <br />Please send it in smallcase</td>\n</tr>\n<tr>\n<td><code>client.city</code></td>\n<td>string</td>\n<td>Customer's city.</td>\n</tr>\n<tr>\n<td><code>client.country</code></td>\n<td>string</td>\n<td>ISO-3166 Alpha-2 country code, uppercase (e.g., IN, US, SG).</td>\n</tr>\n<tr>\n<td><code>client.stateCode</code></td>\n<td>string</td>\n<td>State code, uppercase (e.g., RJ, CA, AL).</td>\n</tr>\n<tr>\n<td><code>client.street_address</code></td>\n<td>string</td>\n<td>Customer's street address.</td>\n</tr>\n<tr>\n<td><code>client.zip_code</code></td>\n<td>string</td>\n<td>Postal / ZIP code. US format: NNNNN or NNNNN-NNNN.</td>\n</tr>\n<tr>\n<td><code>purchase.currency</code></td>\n<td>string</td>\n<td>ISO 4217 currency code (e.g., USD, EUR). Must be enabled on your account.</td>\n</tr>\n<tr>\n<td><code>purchase.products</code></td>\n<td>array</td>\n<td>Array of product objects with <code>name</code> and <code>price</code>.</td>\n</tr>\n<tr>\n<td><code>brand_id</code></td>\n<td>string</td>\n<td>Your Aviorapay Brand ID from Dashboard.</td>\n</tr>\n<tr>\n<td><code>success_redirect</code></td>\n<td>string</td>\n<td>URL to redirect customer after successful payment.</td>\n</tr>\n<tr>\n<td><code>failure_redirect</code></td>\n<td>string</td>\n<td>URL to redirect customer after failed payment.</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"optional-parameters\">Optional Parameters</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>pending_redirect</code></td>\n<td>string</td>\n<td>URL to redirect when payment is pending.</td>\n</tr>\n<tr>\n<td><code>success_callback</code></td>\n<td>string</td>\n<td>Server-to-server webhook URL for success.</td>\n</tr>\n<tr>\n<td><code>failure_callback</code></td>\n<td>string</td>\n<td>Server-to-server webhook URL for failure.</td>\n</tr>\n<tr>\n<td><code>merchantRef</code></td>\n<td>string</td>\n<td>Your internal reference for this transaction.</td>\n</tr>\n<tr>\n<td><code>paymentMethod</code></td>\n<td>string</td>\n<td>Pre-select payment method (e.g., VISA).</td>\n</tr>\n<tr>\n<td><code>client.phone</code></td>\n<td>string</td>\n<td>Customer's phone number.</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"key-response-fields\">Key Response Fields</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>id</code></td>\n<td>Unique purchase ID.</td>\n</tr>\n<tr>\n<td><code>checkout_url</code></td>\n<td>Redirect customer here to complete payment. Card saving happens during this step.</td>\n</tr>\n<tr>\n<td><code>direct_post_url</code></td>\n<td>URL for S2S payment submission.</td>\n</tr>\n<tr>\n<td><code>status</code></td>\n<td>Purchase status. Initially \"created\".</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"network-tokenisation--card-saving\"><strong>Network Tokenisation &amp; Card Saving</strong></h4>\n<p>When the customer completes payment via <code>checkout_url</code> and opts to save their card, Aviorapay provisions a network token. The <code>token_reference</code> is then available via the <strong>List Saved Cards</strong> API.</p>\n","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"a71c6d13-f943-41cd-a9f8-bf60f11c5ca3","id":"a71c6d13-f943-41cd-a9f8-bf60f11c5ca3","name":"APIs","type":"folder"}},"urlObject":{"path":["api","v1","purchases"],"host":["https://app.aviorapay.com/api/v1"],"query":[],"variable":[]}},"response":[{"id":"e8e433aa-e160-49ce-a40e-5a9258396b8b","name":"Success","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{APIKey}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"client\": {\n        \"email\": \"customer@example.com\",\n        \"country\": \"IN\",\n        \"city\": \"Jaipur\",\n        \"stateCode\": \"RJ\",\n        \"street_address\": \"123 Main Street\",\n        \"zip_code\": \"302001\",\n        \"phone\": \"9999999999\"\n    },\n    \"purchase\": {\n        \"currency\": \"USD\",\n        \"products\": [\n            {\n                \"name\": \"Product Name\",\n                \"price\": \"10.00\"\n            }\n        ]\n    },\n    \"brand_id\": \"bd69e8a5-adcf-40de-9e43-2b87cb129a5e\",\n    \"success_redirect\": \"https://yoursite.com/success\",\n    \"failure_redirect\": \"https://yoursite.com/failure\",\n    \"pending_redirect\": \"https://yoursite.com/pending\",\n    \"success_callback\": \"https://yoursite.com/webhook/success\",\n    \"failure_callback\": \"https://yoursite.com/webhook/failure\"\n}","options":{"raw":{"language":"json"}}},"url":"https://app.aviorapay.com/api/v1/api/v1/purchases"},"status":"Accepted","code":202,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"purchaseId\": \"69b32e42250ac73495aefd50\",\n    \"client\": {\n        \"customerId\": \"NA\",\n        \"email\": \"himanshu1@aviorapay.com\",\n        \"full_name\": \"OpHM\",\n        \"date_of_birth\": \"1800-01-01\",\n        \"street_address\": \"SB-124\",\n        \"country\": \"BR\",\n        \"city\": \"DLJPR\",\n        \"zip_code\": \"110001\",\n        \"cc\": [],\n        \"bcc\": [],\n        \"stateCode\": \"DL\"\n    },\n    \"updated_on\": 1773350466,\n    \"type\": \"purchase\",\n    \"paymentMethod\": \"MASTER\",\n    \"amountUnit\": \"MAJOR\",\n    \"errorMsg\": \"\",\n    \"errorCode\": \"NA\",\n    \"force_recurring\": false,\n    \"created_on\": 1773350466,\n    \"merchantRef\": \"69b32e42250ac73495aefd50\",\n    \"purchase\": {\n        \"currency\": \"USD\",\n        \"products\": [\n            {\n                \"name\": \"e-commerce\",\n                \"quantity\": 1.0,\n                \"price\": 10.0,\n                \"discount\": 0,\n                \"tax_percent\": \"0.00\"\n            }\n        ],\n        \"total\": 10.0,\n        \"requestAmount\": 10.0,\n        \"language\": \"en\",\n        \"notes\": \"\",\n        \"debt\": 0,\n        \"total_formatted\": 1.0,\n        \"taxAmount\": 0.0,\n        \"taxPercent\": 0.0,\n        \"request_client_details\": [],\n        \"email_message\": \"\"\n    },\n    \"issuer_details\": {\n        \"website\": \"\",\n        \"legal_street_address\": \"\",\n        \"legal_country\": \"\",\n        \"legal_city\": \"\",\n        \"legal_zip_code\": \"\",\n        \"bank_accounts\": [\n            {}\n        ],\n        \"legal_name\": \"brand\",\n        \"brand_name\": \"brand\",\n        \"registration_number\": \"\",\n        \"tax_number\": \"\"\n    },\n    \"transaction_data\": {\n        \"payment_method\": \"\",\n        \"flow\": \"payform\",\n        \"extra\": {},\n        \"country\": \"\",\n        \"attempts\": []\n    },\n    \"status\": \"CREATED\",\n    \"status_history\": [\n        {\n            \"status\": \"created\",\n            \"timestamp\": 1773350466\n        }\n    ],\n    \"is_test\": false,\n    \"brand_id\": \"5949f2ac-b5a3-4ee4-b585-ad4cf9a6db18\",\n    \"send_receipt\": false,\n    \"is_recurring_token\": false,\n    \"skip_capture\": false,\n    \"reference_generated\": \"PS1060\",\n    \"issued\": \"2026-03-12\",\n    \"due\": 1773350466,\n    \"refund_upto\": 0,\n    \"cc_descriptor\": \"\",\n    \"fraudScore\": \"NA\",\n    \"trustScore\": \"NA\",\n    \"extraFee\": \"0\",\n    \"paidOn\": 0,\n    \"receivedAmt\": 0.0,\n    \"taxAmount\": 0.0,\n    \"surcharge\": 0.0,\n    \"surchargeType\": \"\",\n    \"sessionId\": \"\",\n    \"refund_availability\": \"NONE\",\n    \"refundable_amount\": 0.0,\n    \"success_redirect\": \"https://google.com/\",\n    \"failure_redirect\": \"https://facebook.com/\",\n    \"pending_redirect\": \"https://aviorapay.com\",\n    \"cancel_redirect\": \"\",\n    \"success_callback\": \"https://your.success.callback.com\",\n    \"failure_callback\": \"https://your.failure.callback.com\",\n    \"platform\": \"API\",\n    \"created_from_ip\": \"110.235.229.171\",\n    \"checkout_url\": \"https://api.aviorapay.com/payments/1b73d31d178113798afa0157c8805ef0/\",\n    \"direct_post_url\": \"https://api.aviorapay.com/api/v1/p/69b32e42250ac73495aefd50/\",\n    \"payoutProcess\": false\n}"}],"_postman_id":"d19c79c4-0808-4560-ab5d-3633b892d85d"},{"name":"S2S Payment","id":"2c4ed2b7-a85f-46e2-9263-8af580010fc9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{APIKey}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"Token_reference\": \"token_7178aa7208614544a285656da38ae5ac\",\n    \"cvc\": \"791\",\n    \"remember_card\": \"off\",\n    \"remote_ip\": \"157.38.242.7\",\n    \"user_agent\": \"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36\",\n    \"accept_header\": \"text/html\",\n    \"language\": \"en-US\",\n    \"java_enabled\": false,\n    \"javascript_enabled\": true,\n    \"color_depth\": 24,\n    \"utc_offset\": 0,\n    \"screen_width\": 1920,\n    \"screen_height\": 1080\n}","options":{"raw":{"language":"json"}}},"url":"https://app.aviorapay.com/api/v1/api/v1/p/{{brandId}}/?s2s=true","description":"<h2 id=\"s2s-payment\">S2S Payment</h2>\n<p>Process a payment using a saved card's <code>token_reference</code>. Aviorapay resolves the token reference to the underlying network token and processes the payment securely. If the selected MID does not accept tokens, Aviorapay automatically falls back to the card number.</p>\n<h3 id=\"s2s-input-scenarios\">S2S Input Scenarios</h3>\n<p>The S2S API accepts different input types depending on the scenario:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Scenario</th>\n<th>What to Send</th>\n<th>What Aviorapay Does</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>New card</strong> (first-time customer)</td>\n<td>Full card details</td>\n<td>Aviorapay tokenises the card. If the MID supports tokens, the transaction uses the token; otherwise, the card number is used.</td>\n</tr>\n<tr>\n<td><strong>Returning customer</strong> (tokenised with Aviorapay)</td>\n<td><code>token_reference</code> from List Saved Cards</td>\n<td>Aviorapay uses the stored token and generates a new cryptogram. Falls back to card number if MID doesn't accept tokens.</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"request-body\">Request Body</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>token_reference</code></td>\n<td>string</td>\n<td>Conditional</td>\n<td>Token reference from List Saved Cards. Required when paying with a Aviorapay-tokenised card.</td>\n</tr>\n<tr>\n<td><code>cvc</code></td>\n<td>string</td>\n<td>Yes</td>\n<td>Card CVC/CVV. <strong>Required even when</strong> <strong><code>token_reference</code></strong> <strong>is provided</strong>, for 3DS authentication.</td>\n</tr>\n<tr>\n<td><code>remember_card</code></td>\n<td>string</td>\n<td>No</td>\n<td><code>\"on\"</code> to save card, <code>\"off\"</code> to skip. Use <code>\"off\"</code> with saved tokens.</td>\n</tr>\n<tr>\n<td><code>remote_ip</code></td>\n<td>string</td>\n<td>Yes</td>\n<td>Cardholder's IP address.</td>\n</tr>\n<tr>\n<td><code>user_agent</code></td>\n<td>string</td>\n<td>Yes</td>\n<td>Browser User-Agent string.</td>\n</tr>\n<tr>\n<td><code>accept_header</code></td>\n<td>string</td>\n<td>Yes</td>\n<td>Browser Accept header.</td>\n</tr>\n<tr>\n<td><code>language</code></td>\n<td>string</td>\n<td>Yes</td>\n<td>Browser language (e.g., <code>\"en-US\"</code>).</td>\n</tr>\n<tr>\n<td><code>java_enabled</code></td>\n<td>boolean</td>\n<td>Yes</td>\n<td>Java enabled in browser.</td>\n</tr>\n<tr>\n<td><code>javascript_enabled</code></td>\n<td>boolean</td>\n<td>Yes</td>\n<td>JavaScript enabled in browser.</td>\n</tr>\n<tr>\n<td><code>color_depth</code></td>\n<td>integer</td>\n<td>Yes</td>\n<td>Screen colour depth.</td>\n</tr>\n<tr>\n<td><code>utc_offset</code></td>\n<td>integer</td>\n<td>Yes</td>\n<td>UTC timezone offset (minutes).</td>\n</tr>\n<tr>\n<td><code>screen_width</code></td>\n<td>integer</td>\n<td>Yes</td>\n<td>Screen width (px).</td>\n</tr>\n<tr>\n<td><code>screen_height</code></td>\n<td>integer</td>\n<td>Yes</td>\n<td>Screen height (px).</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"token-reference-in-response\">Token Reference in Response</h3>\n<ul>\n<li><p><strong>Scenario 1</strong> (New card via S2S): <code>token_reference</code> returned in Check Status and Webhook.</p>\n</li>\n<li><p><strong>Scenario 2</strong> (Existing <code>token_reference</code>): <code>token_reference</code> returned in response and Webhook.</p>\n</li>\n</ul>\n<h3 id=\"important-notes\">Important Notes</h3>\n<ul>\n<li><p>CVC is <strong>required</strong> even when using a <code>token_reference</code>.</p>\n</li>\n<li><p>All browser fields are required for 3D Secure authentication.</p>\n</li>\n<li><p>Response follows the standard Aviorapay payment response format.</p>\n</li>\n</ul>\n","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"a71c6d13-f943-41cd-a9f8-bf60f11c5ca3","id":"a71c6d13-f943-41cd-a9f8-bf60f11c5ca3","name":"APIs","type":"folder"}},"urlObject":{"path":["api","v1","p","{{brandId}}",""],"host":["https://app.aviorapay.com/api/v1"],"query":[{"description":{"content":"<p>Must be \"true\" for server-to-server requests.</p>\n","type":"text/plain"},"key":"s2s","value":"true"}],"variable":[]}},"response":[{"id":"82da42d1-8fbc-4891-87a3-7bbd5cae17d6","name":"Success","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{APIKey}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"Token_reference\": \"token_7178aa7208614544a285656da38ae5ac\",\n    \"cvc\": \"791\",\n    \"remember_card\": \"off\",\n    \"remote_ip\": \"157.38.242.7\",\n    \"user_agent\": \"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36\",\n    \"accept_header\": \"text/html\",\n    \"language\": \"en-US\",\n    \"java_enabled\": false,\n    \"javascript_enabled\": true,\n    \"color_depth\": 24,\n    \"utc_offset\": 0,\n    \"screen_width\": 1920,\n    \"screen_height\": 1080\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://app.aviorapay.com/api/v1/api/v1/p/6980e509b5e99e61f3bd4ccf/?s2s=true","host":["https://app.aviorapay.com/api/v1"],"path":["api","v1","p","6980e509b5e99e61f3bd4ccf",""],"query":[{"key":"s2s","value":"true"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"pending\",\n    \"callback_url\": \"http://18.214.100.20/api/v1/payment/64b034ecc6dccf7d329d9eb3/\",\n    \"method\": \"GET\"\n}"}],"_postman_id":"2c4ed2b7-a85f-46e2-9263-8af580010fc9"},{"name":"Delete Token","id":"71cdf402-aef6-4d79-b911-91160eff15ed","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer {{APIKey}}","type":"text"}],"url":"https://app.aviorapay.com/api/v1/tokens/v1/deleteToken/{{token_reference}}","description":"<h2 id=\"delete-token\">Delete Token</h2>\n<p>Permanently delete a saved card and deactivate the associated network token. <strong>This action is irreversible.</strong></p>\n<h3 id=\"path-parameters\">Path Parameters</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Type</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>token_reference</code></td>\n<td>string</td>\n<td>Yes</td>\n<td>The <code>token_reference</code> of the saved card to delete. Obtained from the List Saved Cards API.</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"important-notes\">Important Notes</h3>\n<ul>\n<li><p>Deleting a token is <strong>permanent</strong>. The <code>token_reference</code> can no longer be used for payments.</p>\n</li>\n<li><p>The associated network token is deactivated with the card network.</p>\n</li>\n<li><p>If the customer wants to pay with this card again, they will need to re-enter their card details.</p>\n</li>\n</ul>\n<h3 id=\"when-to-delete\">When to Delete</h3>\n<ul>\n<li><p>Customer explicitly requests removal of their saved card.</p>\n</li>\n<li><p>GDPR or data retention compliance when a customer closes their account.</p>\n</li>\n<li><p>Consider implementing a \"Remove Card\" option in your account management UI.</p>\n</li>\n</ul>\n","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"a71c6d13-f943-41cd-a9f8-bf60f11c5ca3","id":"a71c6d13-f943-41cd-a9f8-bf60f11c5ca3","name":"APIs","type":"folder"}},"urlObject":{"path":["tokens","v1","deleteToken","{{token_reference}}"],"host":["https://app.aviorapay.com/api/v1"],"query":[],"variable":[]}},"response":[{"id":"663a6860-97ca-4cff-b0ed-1293b9244f45","name":"Success","originalRequest":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer {{APIKey}}","type":"text"}],"url":"https://app.aviorapay.com/api/v1/tokens/v1/deleteToken/token_4ccea9d67d274f3db6e0be6156e09d06"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Token deleted successfully\"\n}"},{"id":"f3e32079-55c7-42ad-b61d-23e2cc560cb0","name":"Failure","originalRequest":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer {{APIKey}}","type":"text"}],"url":"https://app.aviorapay.com/api/v1/tokens/v1/deleteToken/token_4ccea9d67d274f3db6e0be6156e09d06"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"token_reference does not exist in the system\",\n  \"code\": \"token_reference_invalid\"\n}"}],"_postman_id":"71cdf402-aef6-4d79-b911-91160eff15ed"},{"name":"PayOut","id":"22986ac8-b261-4ac9-8f53-c4a204453916","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer Token","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"client\": {\n        \"email\": \"rahul@gmail.com\",\n        \"country\": \"GB\",\n        \"city\": \"London\",\n        \"stateCode\": \"QLD\",\n        \"full_name\": \"Rahul Jain\",\n        \"street_address\": \"10 New Burlington Street Apt. 214\",\n        \"zip_code\": \"W1S 3BE\",\n        \"phone\": \"+44 9876543210\",\n        \"gender\": \"M\",\n        \"date_of_birth\": \"1970-07-10\"\n    },\n    \"purpose\": \"Testing cards payout\",\n    \"currency\": \"GBP\",\n    \"merchantRef\": \"YOUR ORDER ID\", // optional\n    \"payoutMethod\": \"PAYOUT-CARDS\",\n    \"amount\": 100.0,\n    \"success_redirect\": \"https://your.success.redirect.com\",\n    \"pending_redirect\": \"https://your.pending.redirect.com\",\n    \"failure_redirect\": \"https://your.failure.redirect.com\",\n    \"success_callback\": \"https://your.success.callback.com\",\n    \"failure_callback\": \"https://your.failure.callback.com\",\n    \"extraParam\": {\n        \"token_reference\": \"token_ref\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://app.aviorapay.com/api/v1/payout/","description":"<h2 id=\"overview\">Overview</h2>\n<p>The <strong>Original Credit Transaction (OCT)</strong>, commonly referred to as <strong>Push to Card</strong>, enables merchants to facilitate near-instantaneous fund transfers directly to a customer’s eligible Visa or Mastercard debit or credit card. Unlike traditional refund processes that can only return funds from a previous purchase, OCT allows for independent disbursements of funds to a cardholder's account.</p>\n<p>This feature is designed for high-velocity industries that require frictionless, real-time payouts, such as:</p>\n<ul>\n<li><p><strong>Gaming &amp; Betting:</strong> Real-time withdrawal of player winnings.</p>\n</li>\n<li><p><strong>Marketplaces:</strong> Payouts to sellers or service providers.</p>\n</li>\n<li><p><strong>Corporate Disbursements:</strong> Instant insurance claims, rebates, or compensation payments.</p>\n</li>\n<li><p><strong>Merchant Settlements:</strong> Faster access to processed funds for sub-merchants.</p>\n</li>\n</ul>\n<p>By utilizing the Aviorapay <code>/payout</code> API with the <code>PAYOUT-CARDS</code> method, you benefit from a unified orchestration layer that handles the complexities of card network routing, ensuring high success rates and global reach while maintaining the same security standards as your standard payment integrations.</p>\n<hr />\n<h2 id=\"integration-steps\">Integration Steps</h2>\n<ol>\n<li><p><strong>Enable OCT:</strong> Ensure \"Push to Card\" permissions are enabled for your merchant account in the Aviorapay Merchant Portal.</p>\n</li>\n<li><p><strong>Collect Card Details:</strong> Use a secure method to collect the recipient's card number and expiry date or can you Aviorapay's cashier to do that.</p>\n</li>\n<li><p><strong>Execute Payout:</strong> Call the <code>/payout</code> endpoint with the OCT-specific payout method.</p>\n</li>\n<li><p><strong>Handle Webhooks:</strong> Listen for the <code>paid</code> or <code>failure</code> events to update your internal records.</p>\n</li>\n</ol>\n<h3 id=\"mandatory-parameters-in-the-request-body\"><strong>Mandatory parameters in the request body:</strong></h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Notes</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>client.email</td>\n<td>Yes</td>\n<td>The customer's email.  <br />Please send it in small case.</td>\n</tr>\n<tr>\n<td>client.phone</td>\n<td>Yes</td>\n<td>The customer's phone number along with the country code.  <br />Example: +91 9634088651</td>\n</tr>\n<tr>\n<td>client.city</td>\n<td>Yes</td>\n<td>The customer's city.</td>\n</tr>\n<tr>\n<td>client.country</td>\n<td>Yes</td>\n<td>ISO-3166 Country Code. Must be upper case. Example “SG” (Alpha2)</td>\n</tr>\n<tr>\n<td>client.stateCode</td>\n<td>Optional</td>\n<td>Example “AL”, “XZ”. Must be in upper case.</td>\n</tr>\n<tr>\n<td>Client.street_address</td>\n<td>Optional</td>\n<td>The customer's address.</td>\n</tr>\n<tr>\n<td>client.zip_code</td>\n<td>Optional</td>\n<td>The customer's ZIP or postal code. If country=US, zip format must be NNNNN or NNNNN-NNNN.</td>\n</tr>\n<tr>\n<td>currency</td>\n<td>Yes</td>\n<td>ISO 4217 code for currency you want to send the transaction in.  <br />  <br />Please note, the currency has to be enabled by the account manager for your account.</td>\n</tr>\n<tr>\n<td>amount</td>\n<td>Yes</td>\n<td>amount in decimal format.  <br />example 1:  <br />EUR 5 , should be sent as 5.00  <br />  <br />example 2:  <br />USD 10 and 37 cents , should be sent as 10.37</td>\n</tr>\n<tr>\n<td>payoutMethod</td>\n<td>Optional</td>\n<td>example: PAYOUT-CARDS</td>\n</tr>\n<tr>\n<td>success_redirect</td>\n<td>Yes</td>\n<td>URL to send the user if the transactions is successful.</td>\n</tr>\n<tr>\n<td>pending_redirect</td>\n<td>Yes</td>\n<td>URL to send the user if the transactions is in pending.</td>\n</tr>\n<tr>\n<td>failure_redirect</td>\n<td>Yes</td>\n<td>URL to send the user if the transactions is unsuccessful.</td>\n</tr>\n<tr>\n<td>Purpose</td>\n<td>Optional</td>\n<td>The purpose of doing a payout.</td>\n</tr>\n<tr>\n<td>extraParam.token_reference</td>\n<td>Yes</td>\n<td>Aviorapay Token</td>\n</tr>\n</tbody>\n</table>\n</div><p>Note:</p>\n<p>If the merchant is not PCI DSS compliant then they will need to use our <strong>cashier</strong> and we will show the user all the saved cards for him/her. Based on the card chosen, Aviorapay will pick up the token_reference from our Back end.</p>\n<p>If the merchant is PCI DSS compliant then they can use the payout API and send the token reference as shown above.</p>\n","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"a71c6d13-f943-41cd-a9f8-bf60f11c5ca3","id":"a71c6d13-f943-41cd-a9f8-bf60f11c5ca3","name":"APIs","type":"folder"}},"urlObject":{"path":["payout",""],"host":["https://app.aviorapay.com/api/v1"],"query":[],"variable":[]}},"response":[{"id":"6c687a95-e191-4ff8-acbc-890918484264","name":"Success","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer Token","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"client\": {\n        \"email\": \"rahul@gmail.com\",\n        \"country\": \"GB\",\n        \"city\": \"London\",\n        \"stateCode\": \"QLD\",\n        \"full_name\": \"Rahul Jain\",\n        \"street_address\": \"10 New Burlington Street Apt. 214\",\n        \"zip_code\": \"W1S 3BE\",\n        \"phone\": \"+44 9876543210\",\n        \"gender\": \"M\",\n        \"date_of_birth\": \"1970-07-10\"\n    },\n    \"purpose\": \"Testing cards payout\",\n    \"currency\": \"GBP\",\n    \"merchantRef\": \"YOUR ORDER ID\", // optional\n    \"payoutMethod\": \"PAYOUT-CARDS\",\n    \"amount\": 100.0,\n    \"success_redirect\": \"https://your.success.redirect.com\",\n    \"pending_redirect\": \"https://your.pending.redirect.com\",\n    \"failure_redirect\": \"https://your.failure.redirect.com\",\n    \"success_callback\": \"https://your.success.callback.com\",\n    \"failure_callback\": \"https://your.failure.callback.com\",\n    \"extraParam\": {\n        \"token_reference\": \"token_ref\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://app.aviorapay.com/api/v1/payout/"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"Text","header":[{"key":"Date","value":"Fri, 13 Mar 2026 00:01:17 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Nel","value":"{\"report_to\":\"cf-nel\",\"success_fraction\":0.0,\"max_age\":604800}"},{"key":"X-Frame-Options","value":"ALLOW-FROM *"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"x-session-id","value":"3ef27476-f274-4f6a-bb18-4c37e01d6dc2"},{"key":"Vary","value":"Origin"},{"key":"Vary","value":"Access-Control-Request-Method"},{"key":"Vary","value":"Access-Control-Request-Headers"},{"key":"Server","value":"cloudflare"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"0"},{"key":"Cache-Control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"Strict-Transport-Security","value":"max-age=31536000 ; includeSubDomains"},{"key":"X-Cache","value":"Error from cloudfront"},{"key":"Via","value":"1.1 05a63efd5ebb043211ccf075f3a8aa68.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"IAD61-P10"},{"key":"X-Amz-Cf-Id","value":"Iw6KuTkxZqm0RH8GJOXAh7uLEPJ6wj8OJbaFWdN_qDx31b5TSinnIA=="},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"group\":\"cf-nel\",\"max_age\":604800,\"endpoints\":[{\"url\":\"https://a.nel.cloudflare.com/report/v4?s=g%2FW8jRMDFXKvTeXNugr1sgR4%2FoTXfyEHsscr3hqeIr2aPhFEVlSs%2FGiTjFw09%2BReVDjxT2esg2Wg0fdBf4oD3snlEv4p1JkITe2l7oLC%2Bkg%3D\"}]}"},{"key":"CF-RAY","value":"9db6c366997196a2-IAD"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"payoutId\": \"6977137755e0628e3600c562\",\n    \"client\": {\n        \"email\": \"rahul@gmail.com\",\n        \"country\": \"GB\",\n        \"city\": \"London\",\n        \"stateCode\": \"QLD\",\n        \"full_name\": \"Rahul Jain\",\n        \"street_address\": \"10 New Burlington Street Apt. 214\",\n        \"zip_code\": \"W1S 3BE\",\n        \"phone\": \"+44 9876543210\",\n        \"gender\": \"M\",\n        \"date_of_birth\": \"1970-07-10\"\n    },\n    \"updated_on\": 1769411447,\n    \"extraParam\": {\n        \"token_reference\": \"token_ref\"\n    },\n    \"payoutMethod\": \"PAYOUT-CARDS\",\n    \"amountUnit\": \"MAJOR\",\n    \"amount\": 100.0,\n    \"errorMsg\": \"\",\n    \"purpose\": \"Testing cards payout\",\n    \"created_on\": 1769411447,\n    \"merchantRef\": \"YOUR ORDER ID\",\n    \"status\": \"PAID\",\n    \"status_history\": [\n        {\n            \"status\": \"created\",\n            \"timestamp\": 1769411447\n        },\n        {\n            \"status\": \"payout_in_process\",\n            \"timestamp\": 1769411447\n        },\n        {\n            \"status\": \"paid\",\n            \"timestamp\": 1769411447\n        },\n\n    ],\n    \"currency\": \"GBP\",\n    \"extraFee\": \"0\",\n    \"paymentOn\": 0,\n    \"checkout_url\": \"https://test4.paymentsclub.net/payout/092e59f94279a3742fa3715fe9a2112a/\",\n    \"taxAmount\": 0.0,\n    \"taxPercent\": 0.0,\n    \"success_redirect\": \"https://your.success.redirect.com\",\n    \"pending_redirect\": \"https://your.pending.redirect.com\",\n    \"failure_redirect\": \"https://your.failure.redirect.com\",\n    \"success_callback\": \"https://your.success.callback.com\",\n    \"failure_callback\": \"https://your.failure.callback.com\"\n    \"redirectType\": \"POST\",\n    \"sessionId\": \"\",\n    \"surcharge\": 0.0,\n    \"surchargeType\": \"\",\n    \"trxMethod\": \"CARDS\",\n    \"success_callback\": \"\",\n    \"failure_callback\": \"\"\n}"}],"_postman_id":"22986ac8-b261-4ac9-8f53-c4a204453916"}],"id":"a71c6d13-f943-41cd-a9f8-bf60f11c5ca3","description":"<p>Network tokenisation in Aviorapay uses four APIs. Together they cover the complete flow: retrieving saved cards, initiating a purchase (with card saving), processing payments with saved tokens, and deleting tokens.</p>\n","auth":{"type":"noauth","isInherited":false},"event":[{"listen":"prerequest","script":{"type":"text/javascript","packages":{},"requests":{},"exec":[""],"id":"c09d32b5-7d03-4354-b53b-82c6d91ee649"}},{"listen":"test","script":{"type":"text/javascript","packages":{},"requests":{},"exec":[""],"id":"3b9fc878-d786-4394-9bc9-63dcaa1d84f7"}}],"_postman_id":"a71c6d13-f943-41cd-a9f8-bf60f11c5ca3"},{"name":"FAQs","item":[],"id":"41cd3afc-1ee5-465f-a949-1a8ec464bc34","description":"<p><strong>Q1: Do I need to change my existing integration to use network tokenisation?</strong><br />No. If you already use the Aviorapay Purchase API and the S2S API with token_reference, your integration is already compatible. You just need to enable and configure network tokenisation in your Dashboard (see Section 3).</p>\n<p><strong>Q2: What is a token_reference?</strong><br />A token_reference (e.g., token_7178aa7208614544a285656da38aefac) is Aviorapay’s internal identifier for a saved card. You use it to charge the saved card or delete it. It is not the card number or the network token — Aviorapay manages those internally.</p>\n<p><strong>Q3: Does the token_reference expire?</strong><br />No. The token_reference does not expire. It remains valid as long as the saved card has not been deleted.</p>\n<p><strong>Q4: What happens when a customer’s card expires or is replaced?</strong></p>\n<p>The card network automatically updates the data linked to the token. Your token_reference stays the same, and payments continue to work without action from you or the customer.</p>\n<p><strong>Q5: Is CVC required even when using a token_reference?</strong><br />Yes. CVC is required even when a token_reference is provided. This is needed for 3D Secure authentication on customer-initiated transactions.</p>\n<p><strong>Q6: What if a card doesn’t support network tokenisation?</strong><br />Aviorapay handles this automatically. If a card is not eligible, or if the selected MID does not accept tokens, Aviorapay falls back to the card number. The API response and flow remain the same.</p>\n<p><strong>Q7: How long does the token service setup take?</strong><br />After saving your configuration in Dashboard → Global Settings → Aviorapay Token Service, the status changes to Pending. It may take up to 1 hour to update to Active. Do not use tokenisation APIs until the status is Active.</p>\n<p><strong>Q8: Are email addresses case-sensitive for token lookup?</strong><br />Yes. Email addresses are case-sensitive. Ensure consistent formatting (always lowercase) when creating and retrieving tokens to avoid duplicate or missing entries.</p>\n<p><strong>Q9: How do I delete a saved card?</strong><br />Use the Delete Token API (DELETE /tokens/v1/deleteToken/{token_reference}). This permanently removes the card and deactivates the network token.</p>\n<p><strong>Q10: Is there an additional cost?</strong><br />Pricing details are communicated by your Aviorapay account manager. Some card networks offer reduced interchange fees for tokenised transactions, which may offset service costs.</p>\n","auth":{"type":"noauth","isInherited":false},"event":[{"listen":"prerequest","script":{"type":"text/javascript","packages":{},"requests":{},"exec":[""],"id":"7a8448a7-7b9b-42ef-954e-b972da7d33b8"}},{"listen":"test","script":{"type":"text/javascript","packages":{},"requests":{},"exec":[""],"id":"8ead9adb-d92d-4f39-9b93-2036bde783bb"}}],"_postman_id":"41cd3afc-1ee5-465f-a949-1a8ec464bc34"}],"id":"9937feea-c236-4665-bda6-a4b0f00fa964","description":"<h2 id=\"overview\">Overview</h2>\n<p>Aviorapay supports Network Tokenisation to help merchants process card payments with improved security, higher authorisation rates, and seamless card lifecycle management.</p>\n<p>Network tokenisation works entirely behind the scenes. When a cardholder saves their card during a purchase, Aviorapay securely provisions a network token and returns a <code>token_reference</code>. You use this reference for all future payments — you never handle actual card numbers or network tokens directly.</p>\n<h2 id=\"benefits\">Benefits</h2>\n<ul>\n<li><p><strong>Higher Approval Rates</strong> — Payments made with network tokens are recognised as more secure by issuers.</p>\n</li>\n<li><p><strong>Automatic Card Updates</strong> — Card replacements are handled silently by the card network.</p>\n</li>\n<li><p><strong>Stronger Security</strong> — Each token is merchant-specific and protected by a per-transaction cryptogram.</p>\n</li>\n<li><p><strong>Reduced PCI Burden</strong> — Store <code>token_reference</code> instead of card numbers.</p>\n</li>\n<li><p><strong>Zero Integration Overhead</strong> — Your existing API integration works as-is.</p>\n</li>\n</ul>\n<h2 id=\"api-flow\">API Flow</h2>\n<p>Network tokenisation is fully managed by Aviorapay. The integration follows the standard Aviorapay payment APIs:</p>\n<h3 id=\"the-merchant-flow\">The Merchant Flow</h3>\n<ol>\n<li><p>Call the List Saved Cards API to check if the customer has saved cards</p>\n</li>\n<li><p>If no saved cards exist, initiate a new payment via the Purchase + S2S API<br /> → If the merchant opts to save the customer card, Aviorapay provisions a network token<br /> → Customer completes payment<br /> → A token_reference is generated and linked to the customer and card</p>\n</li>\n<li><p>For returning customers with saved cards:<br /> → Display saved cards using cardlast4 from List Saved Cards<br /> → Customer selects a card and provides CVC<br /> → Submit token_reference + CVC via the purchase + S2S API</p>\n</li>\n<li><p>To remove a saved card, call the Delete Token API.</p>\n</li>\n</ol>\n<p>Network tokenisation happens behind the scenes with no additional API calls and no changes to your existing flow.</p>\n<ol>\n<li><p><strong>List Saved Cards</strong> — Check if the customer has saved cards</p>\n</li>\n<li><p><strong>Purchase</strong> — Initiate a new payment (customer can save card during checkout)</p>\n</li>\n<li><p><strong>S2S Payment</strong> — Charge a saved card using <code>token_reference</code></p>\n</li>\n<li><p><strong>Delete Token</strong> — Remove a saved card permanently</p>\n</li>\n</ol>\n<h3 id=\"key-takeaway\">Key Takeaway</h3>\n<p>You never see or handle the actual network token. Aviorapay abstracts it entirely behind the token_reference. Your integration stays simple while your customers get the security and reliability benefits of network tokenisation.</p>\n<h2 id=\"environments\">Environments</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Environment</th>\n<th>Base URL</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Sandbox</td>\n<td><code>https://app.aviorapay.com/api/v1</code>  <br />Note: set the Sandbox flag true (checked) in your merchant account. As shown in the image below</td>\n</tr>\n<tr>\n<td>Production</td>\n<td><code>https://app.aviorapay.com/api/v1</code></td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"noauth","isInherited":false},"event":[{"listen":"prerequest","script":{"type":"text/javascript","packages":{},"requests":{},"exec":[""],"id":"a76f412b-9653-4824-9f2b-3d5b3a3246ca"}},{"listen":"test","script":{"type":"text/javascript","packages":{},"requests":{},"exec":[""],"id":"30294e88-f213-414e-a0a6-600e2ee302f0"}}],"_postman_id":"9937feea-c236-4665-bda6-a4b0f00fa964"},{"name":"Pre Authorization","item":[{"name":"Prerequisites","item":[],"id":"93126908-e30c-4fc0-9283-ef684a413138","description":"<p>Before integrating the pre-authorisation flow, ensure you have the following:</p>\n<h3 id=\"21-account-setup\"><strong>2.1 Account Setup</strong></h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Requirement</strong></th>\n<th><strong>Details</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Aviorapay Merchant Account</td>\n<td>An active merchant account with API access enabled.</td>\n</tr>\n<tr>\n<td>API Key</td>\n<td>Your unique API key, available from Dashboard → API Keys.</td>\n</tr>\n<tr>\n<td>Brand ID</td>\n<td>Your brand identifier, found in Dashboard → Account Settings.</td>\n</tr>\n<tr>\n<td>Webhook URL (Recommended)</td>\n<td>A publicly accessible HTTPS endpoint to receive transaction status updates.</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"22-environments\"><strong>2.2 Environments</strong></h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Environment</th>\n<th>Base URL</th>\n<th>Notes</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Sandbox</td>\n<td><a href=\"https://app.aviorapay.com/api/v1\">https://app.aviorapay.com/api/v1</a></td>\n<td>Set the Sandbox flag to true in your merchant account.</td>\n</tr>\n<tr>\n<td>Production</td>\n<td><a href=\"https://app.aviorapay.com/api/v1\">https://app.aviorapay.com/api/v1</a></td>\n<td>Live transactions. Ensure KYB verification is complete.</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"23-authentication\"><strong>2.3 Authentication</strong></h3>\n<p>All API requests must include your API key in the request header.<br />Aviorapay uses bearer token authentication.</p>\n<p>Authorization: Bearer {your_api_key}</p>\n<p>Content-Type: application/json</p>\n<p>Important: Never expose your API key in client-side code or public repositories. All API calls must be made server-to-server.</p>\n","auth":{"type":"noauth","isInherited":false},"event":[{"listen":"prerequest","script":{"type":"text/javascript","packages":{},"requests":{},"exec":[""],"id":"8cb95d1d-43c3-4f50-8687-557f3300877e"}},{"listen":"test","script":{"type":"text/javascript","packages":{},"requests":{},"exec":[""],"id":"6c5cab32-080c-49c9-a3cf-f4d138cb5282"}}],"_postman_id":"93126908-e30c-4fc0-9283-ef684a413138"},{"name":"Payment Flow Overview","item":[],"id":"29612fe3-baef-4d8d-ab9f-6f5d1411b9b5","description":"<p>The pre-authorisation and capture flow involves three distinct stages. Below is a high-level summary of each path the transaction can follow after authorisation.</p>\n<h2 id=\"31-flow-summary\">3.1 Flow Summary</h2>\n<p>Step 1 - The merchant sends a pre-authorisation request to reserve funds on the customer’s card. If successful, the transaction enters an AUTHORISED state.</p>\n<p>Step 2a (Capture Path) - The merchant sends a capture request for the full or partial authorised amount. On success, the transaction moves to CAPTURED and funds are settled.</p>\n<p>Step 2b (Void Path) - If the merchant no longer needs to collect the payment, they send a void request. The hold is released and the transaction moves to VOIDED.</p>\n<h2 id=\"32-state-transition-diagram\"><strong>3.2 State Transition Diagram</strong></h2>\n<p>The following diagram describes all possible states:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>From State</strong></th>\n<th><strong>Action</strong></th>\n<th><strong>To State (Terminal)</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>CREATED</td>\n<td>Pre-Authorise</td>\n<td>PREAUTHORIZED</td>\n<td>Funds are held on the customer’s card.</td>\n</tr>\n<tr>\n<td>PREAUTHORIZED</td>\n<td>Capture (Full)</td>\n<td>PAID</td>\n<td>Full authorised amount is settled.</td>\n</tr>\n<tr>\n<td>PREAUTHORIZED</td>\n<td>Capture (Partial)</td>\n<td>PARTIALLY_CAPTURED</td>\n<td>Part of the authorised amount is settled; remainder released.</td>\n</tr>\n<tr>\n<td>PREAUTHORIZED</td>\n<td>Void</td>\n<td>CANCELLED</td>\n<td>Hold is released. No funds are collected.</td>\n</tr>\n<tr>\n<td>PREAUTHORIZED</td>\n<td>(Expiry)</td>\n<td>EXPIRED</td>\n<td>Authorisation window elapsed without capture. Funds auto-released. 30 days default.</td>\n</tr>\n<tr>\n<td>PAID</td>\n<td>Refund</td>\n<td>REFUNDED</td>\n<td>Post-capture return of funds (separate API).</td>\n</tr>\n<tr>\n<td>PARTIALLY_CAPTURED</td>\n<td>Refund</td>\n<td>PARTIALLY_REFUNDED</td>\n<td>Post partial capture return of funds (separate API).</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>ℹ️ Note</strong></p>\n<p>Once a transaction is PAID or VOIDED, it cannot be reversed through this flow. Use the Refund API for post-capture reversals.</p>\n<h2 id=\"33-authorisation-validity-periods\"><strong>3.3 Authorisation Validity Periods</strong></h2>\n<p>Card networks enforce maximum hold periods. If you do not capture within the validity window, the authorisation expires automatically and funds are released.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Card Scheme</strong></th>\n<th><strong>Standard Hold Period</strong></th>\n<th><strong>Extended Hold (if available)</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Visa</td>\n<td>7 days</td>\n<td>Up to 30 days (select MCCs)</td>\n</tr>\n<tr>\n<td>Mastercard</td>\n<td>7 days</td>\n<td>Up to 30 days (select MCCs)</td>\n</tr>\n<tr>\n<td>American Express</td>\n<td>7 days</td>\n<td>Up to 30 days</td>\n</tr>\n<tr>\n<td>Discover</td>\n<td>10 days</td>\n<td><strong>N/A</strong></td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>⚠️ Best Practice</strong></p>\n<p>Capture as soon as the order is ready to ship or the service is delivered. Delaying capture increases the risk of authorisation expiry and declines.</p>\n","auth":{"type":"noauth","isInherited":false},"event":[{"listen":"prerequest","script":{"type":"text/javascript","packages":{},"requests":{},"exec":[""],"id":"a560b939-c0fc-4b1a-a117-f2d8385625db"}},{"listen":"test","script":{"type":"text/javascript","packages":{},"requests":{},"exec":[""],"id":"79f9be21-651a-49fb-a386-c7671cbc8194"}}],"_postman_id":"29612fe3-baef-4d8d-ab9f-6f5d1411b9b5"},{"name":"APIs","item":[{"name":"Purchase","id":"9e19c301-d873-4f20-b1af-6c92d89c092e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer Token","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"client\": {\r\n        \"email\": \"example@aviorapay.com\",\r\n        \"country\": \"IN\",\r\n        \"city\": \"123\",\r\n        \"stateCode\": \"ca\",\r\n        \"street_address\": \"test test\",\r\n        \"zip_code\": \"234567\",\r\n        \"phone\": \"+91 9999999999\"\r\n    },\r\n    \"purchase\": {\r\n        \"products\": [\r\n            {\r\n                \"name\": \"dk\",\r\n                \"price\": \"10\"\r\n            }\r\n        ]\r\n    },\r\n    \"status\": \"created\",\r\n    \"brand_id\": \"bd69e8a5-adcf-40de-9e43-2b87cb129a5e\",\r\n    \"skip_capture\": true,\r\n    \"merchantRef\": \"d9db7ec0-f94c-4a9d-8883-54c19c222d81\",\r\n    \"success_redirect\": \"https://your.success.redirect.com\",\r\n    \"pending_redirect\": \"https://your.pending.redirect.com\",\r\n    \"failure_redirect\": \"https://your.failure.redirect.com\",\r\n    \"success_callback\": \"https://your.success.callback.com\",\r\n    \"failure_callback\": \"https://your.failure.callback.com\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://app.aviorapay.com/api/v1/purchases","description":"<p>Use this endpoint to authorise a payment without capturing it. This places a temporary hold on the customer’s funds for the specified amount.</p>\n<p>To Initiate a payment, the very first call to make is <code>/purchases</code> with the required data in the request body.</p>\n<p>To generate a Purchase, you are required to provide the <code>Brand ID</code> (in the request body) and <code>API key</code> (in the header) Both can be located in the Dashboard section of your merchant account login.</p>\n<p>The request body structure is shown on the request body of the example request shown here.</p>\n<p>The following (see table below) are the mandatory parameters that are required to create a purchase request.</p>\n<h3 id=\"mandatory-parameters-in-the-request-body\"><strong>Mandatory parameters in the request body:</strong></h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Notes</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>client.email</td>\n<td>The customer's email.</td>\n</tr>\n<tr>\n<td>client.city</td>\n<td>The customer's city.</td>\n</tr>\n<tr>\n<td>client.country</td>\n<td>ISO-3166 Country Code. Must be upper case. Example “SG” (Alpha2)</td>\n</tr>\n<tr>\n<td>client.stateCode</td>\n<td>Example “AL”, “XZ”. Must be in upper case.</td>\n</tr>\n<tr>\n<td>Client.street_address</td>\n<td>The customer's address.</td>\n</tr>\n<tr>\n<td>client.zip_code</td>\n<td>The customer's ZIP or postal code. If country=US, zip format must be NNNNN or NNNNN-NNNN.</td>\n</tr>\n<tr>\n<td>purchase.currency</td>\n<td>ISO 4217 code for currency you want to send the transaction in.  <br />  <br />Please note, the currency has to be enabled by the account manager for your account.</td>\n</tr>\n<tr>\n<td>purchase.products</td>\n<td>An object which contains the list of products which the customer is buying.</td>\n</tr>\n<tr>\n<td>purchase.products.name</td>\n<td>The name of the product.</td>\n</tr>\n<tr>\n<td>purchase.products.price</td>\n<td>Price in decimal format.  <br />example 1:  <br />EUR 5 , should be sent as 5.00  <br />  <br />example 2:  <br />USD 10 and 37 cents , should be sent as 10.37</td>\n</tr>\n<tr>\n<td>brand_id</td>\n<td>Obtain from Dashboard section of your merchant account login.</td>\n</tr>\n<tr>\n<td>success_redirect</td>\n<td>URL to send the user if the transactions is successful.</td>\n</tr>\n<tr>\n<td>pending_redirect</td>\n<td>URL to send the user if the transactions is in pending.</td>\n</tr>\n<tr>\n<td>failure_redirect</td>\n<td>URL to send the user if the transactions is unsuccessful.</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"additional-parameters-for-this-usecase\"><strong>Additional parameters for this usecase:</strong></h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Notes</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>skip_capture</td>\n<td>true</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"essential-optional-parameters\">Essential Optional Parameters</h2>\n<h3 id=\"merchantref\">merchantRef</h3>\n<p>The <code>merchantRef</code> parameter, although not mandatory, is strongly advised for merchants to specify. Its inclusion offers two significant advantages for the merchant:</p>\n<ol>\n<li><p><strong>Prevention of Duplicate Requests:</strong> When a <code>merchantRef</code> is utilized, it acts as a unique identifier. This means that if a second purchase request is made using the same <code>merchantRef</code> (reference number), the system will recognize it and prevent duplicate transactions from occurring. This prevents unintended or duplicate purchases.</p>\n</li>\n<li><p><strong>Facilitation of Transaction Retrieval:</strong> In situations where the response from the initial purchase request times out or the 'purchaseId' isn't received, having the <code>merchantRef</code> allows the merchant to retrieve detailed transaction information. This ensures they can track and access the specific purchase details related to that reference, even if the immediate response was not received.</p>\n</li>\n</ol>\n<p>However, if the merchant does not specify the 'merchantRef' parameter, the platform will automatically assign and use an internal 'purchaseId' as a reference for that transaction.</p>\n<p>Upon successul create on a Purchase you'd get a <code>\"purchaseId\"</code> . Use this ID for the next step in Server to server call by calling <code>p/{purchaseId}/?s2s=true .</code></p>\n<h3 id=\"paymentmethod\">paymentMethod</h3>\n<p>The <code>paymentMethod</code> parameter identifies which payment solution merchant wants to use to perform a transaction. If parameter is provided, than Aviorapay will perform direct payment with the selected payment method instead of loading Aviorapay URL.</p>\n<h3 id=\"errors\">Errors</h3>\n<p>If there are any errors then it'll be in the format of :</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"message\": \"descriptive error message\",\n    \"code\": \"error_code\"\n}\n\n</code></pre>\n<h3 id=\"possible-error-messages\">Possible Error Messages</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Error Messages</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Allowed Limit for this card for particular time period has been consumed</td>\n</tr>\n<tr>\n<td>some Mandatory Parameter are missing</td>\n</tr>\n<tr>\n<td>Invalid format of Date_of_Birth [allowed format: yyyy-mm-dd]</td>\n</tr>\n<tr>\n<td>Invalid Email Format</td>\n</tr>\n<tr>\n<td>Please submit Valid Alpha2 Country Code Ex:(AF,IN) in \\\"country\\\" parameter</td>\n</tr>\n<tr>\n<td>Please pass Valid State Code</td>\n</tr>\n<tr>\n<td>Please pass valid street address in \\\"street_address\\\" parameter</td>\n</tr>\n<tr>\n<td>Please pass valid city name in \\\"city\\\" parameter</td>\n</tr>\n<tr>\n<td>Please pass valid postal Code name in \\\"zip_code\\\" parameter</td>\n</tr>\n<tr>\n<td>You are not Allowed for Live Transaction</td>\n</tr>\n<tr>\n<td>Merchant Limit is not set</td>\n</tr>\n<tr>\n<td>Minimum amount is not set for this merchant</td>\n</tr>\n<tr>\n<td>Brand not found !</td>\n</tr>\n<tr>\n<td>Your charges setting is incomplete .Plese Contact to Administrator.</td>\n</tr>\n<tr>\n<td>Only {{currencyCode}} currency is allowed.</td>\n</tr>\n<tr>\n<td>Transaction amount must be equal or greater to minimum trans amount</td>\n</tr>\n<tr>\n<td>Invalid_Parameter  <br />You'd usually get it when one or more mandatory parameters are not present in the request.</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"9e4aaa75-0954-44a4-bb2e-44944b0761e7","id":"9e4aaa75-0954-44a4-bb2e-44944b0761e7","name":"APIs","type":"folder"}},"urlObject":{"path":["purchases"],"host":["https://app.aviorapay.com/api/v1"],"query":[],"variable":[]}},"response":[{"id":"26de77d6-138f-4f7e-8abb-5fa0ee71206c","name":"Purchase","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"client\": {\r\n        \"email\": \"example@aviorapay.com\",\r\n        \"country\": \"IN\",\r\n        \"city\": \"123\",\r\n        \"stateCode\": \"ca\",\r\n        \"street_address\": \"test test\",\r\n        \"zip_code\": \"234567\",\r\n        \"phone\": \"+91 9999999999\"\r\n    },\r\n    \"purchase\": {\r\n        \"products\": [\r\n            {\r\n                \"name\": \"dk\",\r\n                \"price\": \"10\"\r\n            }\r\n        ]\r\n    },\r\n    \"status\": \"created\",\r\n    \"brand_id\": \"bd69e8a5-adcf-40de-9e43-2b87cb129a5e\",\r\n    \"skip_capture\": true,\r\n    \"merchantRef\": \"d9db7ec0-f94c-4a9d-8883-54c19c222d81\",\r\n    \"success_redirect\": \"https://your.success.redirect.com\",\r\n    \"pending_redirect\": \"https://your.pending.redirect.com\",\r\n    \"failure_redirect\": \"https://your.failure.redirect.com\",\r\n    \"success_callback\": \"https://your.success.callback.com\",\r\n    \"failure_callback\": \"https://your.failure.callback.com\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://app.aviorapay.com/api/v1/purchases"},"status":"Accepted","code":202,"_postman_previewlanguage":"json","header":[{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Cache-Control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Date","value":"Thu, 13 Jul 2023 17:22:14 GMT"},{"key":"Keep-Alive","value":"timeout=60"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"purchaseId\": \"64b032c3c6dccf7d329d9e7e\",\n    \"client\": {\n        \"bank_account\": \"\",\n        \"bank_code\": \"\",\n        \"email\": \"dev@aviorapay.com\",\n        \"phone\": \"\",\n        \"full_name\": \"\",\n        \"date_of_birth\": \"\",\n        \"personal_code\": \"\",\n        \"street_address\": \"test test\",\n        \"country\": \"IN\",\n        \"city\": \"123\",\n        \"zip_code\": \"234567\",\n        \"shipping_street_address\": \"\",\n        \"shipping_country\": \"\",\n        \"shipping_city\": \"\",\n        \"shipping_zip_code\": \"\",\n        \"cc\": [],\n        \"bcc\": [],\n        \"legal_name\": \"\",\n        \"brand_name\": \"\",\n        \"registration_number\": \"\",\n        \"tax_number\": \"\",\n        \"stateCode\": \"ca\"\n    },\n    \"updated_on\": 1689268934,\n    \"type\": \"purchase\",\n    \"force_recurring\": false,\n    \"created_on\": 1689268934,\n    \"purchase\": {\n        \"currency\": \"USD\",\n        \"products\": [\n            {\n                \"name\": \"dk\",\n                \"quantity\": 1,\n                \"price\": 10,\n                \"discount\": 0,\n                \"tax_percent\": \"0.00\"\n            }\n        ],\n        \"total\": 10,\n        \"language\": \"en\",\n        \"notes\": \"\",\n        \"debt\": 0,\n        \"total_formatted\": 1,\n        \"request_client_details\": [],\n        \"timezone\": \"America/Edmonton\",\n        \"email_message\": \"\"\n    },\n    \"issuer_details\": {\n        \"website\": \"\",\n        \"legal_street_address\": \"\",\n        \"legal_country\": \"\",\n        \"legal_city\": \"\",\n        \"legal_zip_code\": \"\",\n        \"bank_accounts\": [\n            {\n                \"bank_account\": \"\",\n                \"bank_code\": \"\"\n            }\n        ],\n        \"legal_name\": \"shoes\",\n        \"brand_name\": \"shoes\",\n        \"registration_number\": \"\",\n        \"tax_number\": \"\"\n    },\n    \"transaction_data\": {\n        \"payment_method\": \"\",\n        \"flow\": \"payform\",\n        \"extra\": {},\n        \"country\": \"\",\n        \"attempts\": []\n    },\n    \"status\": \"CREATED\",\n    \"status_history\": [\n        {\n            \"status\": \"created\",\n            \"timestamp\": 1689268934\n        }\n    ],\n    \"is_test\": false,\n    \"brand_id\": \"bd69e8a5-adcf-40de-9e43-2b87cb129a5e\",\n    \"is_recurring_token\": false,\n    \"reference_generated\": \"PS161\",\n    \"merchantRef\":\"d9db7ec0-f94c-4a9d-8883-54c19c222d81\",\n    \"issued\": \"2023-07-13\",\n    \"due\": 1689268934,\n    \"refund_upto\": 0,\n    \"cc_descriptor\": \"\",\n    \"refund_availability\": \"NONE\",\n    \"refundable_amount\": 0,\n    \"success_redirect\": \"https://your.success.redirect.com\",\n    \"failure_redirect\": \"https://your.failure.redirect.com\",\n    \"cancel_redirect\": \"\",\n    \"success_callback\": \"\",\n    \"platform\": \"API\",\n    \"created_from_ip\": \"149.86.53.48\",\n    \"checkout_url\": \"http://18.214.100.20/payments/64b032c3c6dccf7d329d9e7e/\",\n    \"direct_post_url\": \"http://18.214.100.20/api/v1/p/64b032c3c6dccf7d329d9e7e/\"\n}"}],"_postman_id":"9e19c301-d873-4f20-b1af-6c92d89c092e"},{"name":"S2S","id":"653fdbd8-3ee6-4bb0-97be-44ad0eb96e53","protocolProfileBehavior":{"disableUrlEncoding":false,"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer Token","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"cardholder_name\": \"dk\",\r\n    \"card_number\": \"4111111111111111\",\r\n    \"expires\": \"10/23\",\r\n    \"cvc\": \"345\",\r\n    \"remember_card\": \"on\",\r\n    \"remote_ip\": \"157.38.242.7\",\r\n    \"user_agent\": \"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36\",\r\n    \"accept_header\": \"text/html\",\r\n    \"language\": \"en-US\",\r\n    \"java_enabled\": false,\r\n    \"javascript_enabled\": true,\r\n    \"color_depth\": 24,\r\n    \"utc_offset\": 0,\r\n    \"screen_width\": 1920,\r\n    \"screen_height\": 1080\r\n}","options":{"raw":{"language":"json"}}},"url":"https://app.aviorapay.com/api/v1/p/64bff4fff63e36669499e9c8/?s2s=true","description":"<p>This API would be the 2nd in sequence to call if the call to <code>/purchases/</code> was successful in step 1. and you want to do the transaction via Server-to-Server mode.</p>\n<p>The request body would contain the details of the card that's to be transacted upon.</p>\n<h3 id=\"mandatory-parameters-in-request-body\"><strong>Mandatory parameters in request body:</strong></h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th><strong>Notes</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>remote_ip</td>\n<td>IP address of the customer’s device used for transaction. Helps in fraud checks and risk scoring. Ex- 157.38.242.7</td>\n</tr>\n<tr>\n<td>user_agent</td>\n<td>Full browser and operating system details captured from HTTP header. EX- Chrome/5.0 (X11; Linux x86_64)</td>\n</tr>\n<tr>\n<td>accept_header</td>\n<td>Browser’s accepted content types (from HTTP header). Used for validating request origin and device info. EX- text/html</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Note:</strong><br />If you want to use token_reference for doing a card transaction, please have a look at Network Tokenisation Section.</p>\n<h3 id=\"essential-parameters-in-request-body\"><strong>Essential parameters in request body:</strong></h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th><strong>Notes</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>cardholder_name</td>\n<td>Name of the cardholder</td>\n</tr>\n<tr>\n<td>card_number</td>\n<td>The card numbers Must be 10-20 characters.</td>\n</tr>\n<tr>\n<td>expires</td>\n<td>must be greater than the current month/year.</td>\n</tr>\n<tr>\n<td>cvc</td>\n<td>3 or 4 digit</td>\n</tr>\n</tbody>\n</table>\n</div><p>**<br />Other optional parameters in request body:**</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th><strong>Notes</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>language</td>\n<td>Preferred language of the user’s browser . EX - en-US</td>\n</tr>\n<tr>\n<td>java_enabled</td>\n<td>Indicates if Java is enabled in the browser. Helps PSPs in device profiling. Ex- true/false</td>\n</tr>\n<tr>\n<td>javascript_enabled</td>\n<td>Indicates if JavaScript is enabled in the client browser. Used for 3DS or risk-based checks. Ex- true</td>\n</tr>\n<tr>\n<td>color_depth</td>\n<td>Bit depth of the display screen. Ex- 24</td>\n</tr>\n<tr>\n<td>utc_offset</td>\n<td>Difference in minutes between local time and UTC. Used for location and timezone checks. Ex- 330</td>\n</tr>\n<tr>\n<td>screen_width</td>\n<td>Width of the device screen in pixels. Used in device profiling. Ex- 1920</td>\n</tr>\n<tr>\n<td>screen_height</td>\n<td>Height of the device screen in pixels. Ex- 1080</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"successful-response\">Successful Response</h3>\n<p>If all the details are correct you'll get a 202 response with staus as Pending</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"status\": \"pending\",\n    \"callback_url\": \"https://aviorapay.com/payment/63bd0bf80fb42a076e8a4dd1/\",\n    \"method\": \"GET\"\n}\n\n</code></pre>\n<p>If the response code is 202, after receiving the response body, direct the customer to the callback_url provided in the response.</p>\n<h3 id=\"errors\">Errors</h3>\n<p>If there are any errors then it'll be in the format of :</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"message\": \"descriptive error message\",\n    \"code\": \"error_code\"\n}\n\n</code></pre>\n<p>Please see the Status Code section for further details.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Error Messages</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Client Ip could not be matched with Merchant Ip</td>\n</tr>\n<tr>\n<td>Invalid Card Information</td>\n</tr>\n<tr>\n<td>Card is Blocked</td>\n</tr>\n<tr>\n<td>Different Type of key used to create purchase and payment</td>\n</tr>\n<tr>\n<td>You charges setting is incomplete .Plese Contact to adminstrartor.</td>\n</tr>\n<tr>\n<td>Allowed Attempt for this Transaction has been consumed</td>\n</tr>\n<tr>\n<td>Invalid Card Expiry(Valid Format:MM/YY) must be greator than current month/year</td>\n</tr>\n<tr>\n<td>Customer profile is Blocked</td>\n</tr>\n<tr>\n<td>Customer/Card not allowed for transaction</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"9e4aaa75-0954-44a4-bb2e-44944b0761e7","id":"9e4aaa75-0954-44a4-bb2e-44944b0761e7","name":"APIs","type":"folder"}},"urlObject":{"path":["p","64bff4fff63e36669499e9c8",""],"host":["https://app.aviorapay.com/api/v1"],"query":[{"key":"s2s","value":"true"}],"variable":[]}},"response":[{"id":"d2df9f32-ce92-4f70-96c8-62ce25558e57","name":"Success","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer Token","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"cardholder_name\": \"dk\",\r\n    \"card_number\": \"411111111111111\",\r\n    \"expires\": \"10/23\",\r\n    \"cvc\": \"345\",\r\n    \"remember_card\": \"on\",\r\n    \"remote_ip\": \"157.38.242.7\",\r\n    \"user_agent\": \"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36\",\r\n    \"accept_header\": \"text/html\",\r\n    \"language\": \"en-US\",\r\n    \"java_enabled\": false,\r\n    \"javascript_enabled\": true,\r\n    \"color_depth\": 24,\r\n    \"utc_offset\": 0,\r\n    \"screen_width\": 1920,\r\n    \"screen_height\": 1080\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://app.aviorapay.com/api/v1/p/64bff4fff63e36669499e9c8/?s2s=true","host":["https://app.aviorapay.com/api/v1"],"path":["p","64bff4fff63e36669499e9c8",""],"query":[{"key":"s2s","value":"true"}]}},"status":"Accepted","code":202,"_postman_previewlanguage":"json","header":[{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Cache-Control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Date","value":"Thu, 13 Jul 2023 17:31:55 GMT"},{"key":"Keep-Alive","value":"timeout=60"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"pending\",\n    \"callback_url\": \"http://18.214.100.20/api/v1/payment/64b034ecc6dccf7d329d9eb3/\",\n    \"method\": \"GET\"\n}"},{"id":"108a4aee-37d9-4456-a97a-3a5d6f1eca59","name":"Failure","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer Token","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"cardholder_name\": \"dk\",\r\n    \"card_number\": \"4111111111111111\",\r\n    \"expires\": \"10/23\",\r\n    \"cvc\": \"345\",\r\n    \"remember_card\": \"on\",\r\n    \"remote_ip\": \"157.38.242.7\",\r\n    \"user_agent\": \"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36\",\r\n    \"accept_header\": \"text/html\",\r\n    \"language\": \"en-US\",\r\n    \"java_enabled\": false,\r\n    \"javascript_enabled\": true,\r\n    \"color_depth\": 24,\r\n    \"utc_offset\": 0,\r\n    \"screen_width\": 1920,\r\n    \"screen_height\": 1080\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://app.aviorapay.com/api/v1/p/64bff4fff63e36669499e9c8/?s2s=true","host":["https://app.aviorapay.com/api/v1"],"path":["p","64bff4fff63e36669499e9c8",""],"query":[{"key":"s2s","value":"true"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"Text","header":[{"key":"Date","value":"Tue, 06 Jan 2026 05:57:10 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Nel","value":"{\"report_to\":\"cf-nel\",\"success_fraction\":0.0,\"max_age\":604800}"},{"key":"X-Frame-Options","value":"ALLOW-FROM *"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"x-session-id","value":"cc434220-0bcd-42c7-9078-53503b81a221"},{"key":"Vary","value":"Origin"},{"key":"Vary","value":"Access-Control-Request-Method"},{"key":"Vary","value":"Access-Control-Request-Headers"},{"key":"Server","value":"cloudflare"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"0"},{"key":"Cache-Control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"Strict-Transport-Security","value":"max-age=31536000 ; includeSubDomains"},{"key":"X-Cache","value":"Error from cloudfront"},{"key":"Via","value":"1.1 9bce423254194c16408d5cf7234126e2.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"IAD61-P10"},{"key":"X-Amz-Cf-Id","value":"FgTt6KEGIk0CH79DQDOvB1tYb1pGfaz0ryIVmQ0CCpDShyhsJGuAkA=="},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"group\":\"cf-nel\",\"max_age\":604800,\"endpoints\":[{\"url\":\"https://a.nel.cloudflare.com/report/v4?s=9SnHJOEjnd1y7hArGsRLWmrk8H9ExaiR%2Fc%2BQMWhAvHlNPYCNEjS60wTjIyODXpca0ZD9%2BalkhLJ63boMGg%2B8iI6eFtXfW%2BxwGaBP1p1ZcwpA\"}]}"},{"key":"CF-RAY","value":"9b98f9f4684505e7-IAD"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Authorization header missing\",\n    \"code\": \"authentication_failed\"\n}"}],"_postman_id":"653fdbd8-3ee6-4bb0-97be-44ad0eb96e53"},{"name":"Capture","id":"656886bb-73ac-4159-8d09-d77d21914b15","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer Token"}],"body":{"mode":"raw","raw":"{\n    \"merchant_reference\": \"64534345\"\n}","options":{"raw":{"language":"json"}}},"url":"https://app.aviorapay.com/api/v1/purchases/69cd26b053d7b783ebf6b6e9/capture","description":"<p>After a successful pre-authorisation, use this endpoint to capture (settle) the held funds. You may capture the full authorised amount or a partial amount.</p>\n","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"9e4aaa75-0954-44a4-bb2e-44944b0761e7","id":"9e4aaa75-0954-44a4-bb2e-44944b0761e7","name":"APIs","type":"folder"}},"urlObject":{"path":["purchases","69cd26b053d7b783ebf6b6e9","capture"],"host":["https://app.aviorapay.com/api/v1"],"query":[],"variable":[]}},"response":[{"id":"194e4f63-f96c-4f41-ac0f-153c5eae79c2","name":"Capture","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer Token"}],"body":{"mode":"raw","raw":"{\n    \"merchant_reference\": \"64534345\"\n}","options":{"raw":{"language":"json"}}},"url":"https://app.aviorapay.com/api/v1/purchases/69cd26b053d7b783ebf6b6e9/capture"},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"Text","header":[{"key":"Date","value":"Wed, 01 Apr 2026 17:16:51 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Nel","value":"{\"report_to\":\"cf-nel\",\"success_fraction\":0.0,\"max_age\":604800}"},{"key":"X-Frame-Options","value":"ALLOW-FROM *"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"x-session-id","value":"72818dba-381a-449a-8351-390453ddbf72"},{"key":"Vary","value":"Origin"},{"key":"Vary","value":"Access-Control-Request-Method"},{"key":"Vary","value":"Access-Control-Request-Headers"},{"key":"Server","value":"cloudflare"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"0"},{"key":"Cache-Control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"Strict-Transport-Security","value":"max-age=31536000 ; includeSubDomains"},{"key":"X-Cache","value":"Error from cloudfront"},{"key":"Via","value":"1.1 3578d122de1401ebc52a7afd35dd5d0c.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"IAD61-P10"},{"key":"X-Amz-Cf-Id","value":"zEG99N28vChcugkKEe-mJxhNgum-PAK1lcn_2mKqagcBd5deWquIjw=="},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"group\":\"cf-nel\",\"max_age\":604800,\"endpoints\":[{\"url\":\"https://a.nel.cloudflare.com/report/v4?s=EnQbeJo0VkBTF%2BqefkY%2BZ1OejkL%2BkIkR76eA5%2FtL3qaxYlOL1ehFjmSIpGl5i91OldfFB41NXeRXp3E43WxFSEhlUj7OgOqbI6eYZs%2B%2BcUBdewUDmvk46tJrDA5WO53Bib8q\"}]}"},{"key":"CF-RAY","value":"9e593e77fb953ec9-IAD"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"purchaseId\": \"69cd361053d7b783ebf7324d\",\n    \"client\": {\n        \"customerId\": \"NA\",\n        \"email\": \"kailashvishnoi126741@aviorapay.co\",\n        \"full_name\": \"akshaya singhal\",\n        \"date_of_birth\": \"1800-01-01\",\n        \"street_address\": \"123\",\n        \"country\": \"ZM\",\n        \"city\": \"jaipur\",\n        \"zip_code\": \"234567\",\n        \"cc\": [],\n        \"bcc\": [],\n        \"stateCode\": \"CA\"\n    },\n    \"updated_on\": 1775056447,\n    \"type\": \"purchase\",\n    \"paymentMethod\": \"MASTER,VISA,VIRTUAL-IBAN,CRYPTO-WALLET,MAYA,GCASH,QRPH,BANKTRANSFER,NETBANKING,UPI-QR,PAYPLAY,UPI-INTENT,MOBILEMONEY,GOOGLEPAY,APPLEPAY\",\n    \"amountUnit\": \"MAJOR\",\n    \"errorMsg\": \"\",\n    \"errorCode\": \"NA\",\n    \"force_recurring\": false,\n    \"created_on\": 1775056400,\n    \"extraParam\": {\n        \"aft\": {\n            \"account_owner_address1\": \"test\",\n            \"account_owner_address2\": \"test\",\n            \"account_owner_street\": \"test\",\n            \"account_owner_postal_code\": \"123\",\n            \"account_owner_city\": \"test\",\n            \"account_owner_country\": \"UK\",\n            \"merchant_postal_code\": \"123\",\n            \"merchant_state\": \"FRA\",\n            \"acceptor_legal_name\": \"test\",\n            \"sender_address\": \"test\",\n            \"sender_city\": \"test\",\n            \"sender_state\": \"RJ\",\n            \"sender_country\": \"FRA\",\n            \"sender_name\": \"test\",\n            \"sender_account_number\": \"test\",\n            \"recipient_name\": \"test\",\n            \"bai\": \"AA\"\n        }\n    },\n    \"merchantRef\": \"69cd361053d7b783ebf7324d\",\n    \"purchase\": {\n        \"currency\": \"EUR\",\n        \"products\": [\n            {\n                \"name\": \"gaming cards\",\n                \"quantity\": 1.0,\n                \"price\": 10.0,\n                \"discount\": 0,\n                \"tax_percent\": \"0.00\"\n            }\n        ],\n        \"total\": 10.0,\n        \"requestAmount\": 10.0,\n        \"language\": \"en\",\n        \"notes\": \"\",\n        \"debt\": 0,\n        \"total_formatted\": 1.0,\n        \"taxAmount\": 0.0,\n        \"taxPercent\": 0.0,\n        \"request_client_details\": [],\n        \"email_message\": \"\"\n    },\n    \"payment\": {\n        \"is_outgoing\": false,\n        \"payment_type\": \"PURCHASE\",\n        \"amount\": 10.0,\n        \"currency\": \"EUR\",\n        \"net_amount\": 10.0,\n        \"fee_amount\": 0.0,\n        \"pending_amount\": 0.0,\n        \"pending_unfreeze_on\": null,\n        \"description\": \"\",\n        \"paid_on\": 1775056410,\n        \"remote_paid_on\": 1775056410\n    },\n    \"issuer_details\": {\n        \"website\": \"\",\n        \"legal_street_address\": \"\",\n        \"legal_country\": \"\",\n        \"legal_city\": \"\",\n        \"legal_zip_code\": \"\",\n        \"bank_accounts\": [\n            {}\n        ],\n        \"legal_name\": \"ECOMTEST1\",\n        \"brand_name\": \"ECOMTEST1\",\n        \"registration_number\": \"\",\n        \"tax_number\": \"\"\n    },\n    \"transaction_data\": {\n        \"payment_method\": \"\",\n        \"flow\": \"payform\",\n        \"extra\": {\n            \"expiry_month\": \"12\",\n            \"amount\": 10.0,\n            \"card_issuer\": \"ING BELGIUM, S.A.\",\n            \"masked_pan\": \"46401701****6658\",\n            \"card_brand\": \"VISA\",\n            \"card_issuer_country\": \"BE\",\n            \"card_type\": \"CREDIT\",\n            \"cardholder_name\": \"Sank\",\n            \"expiry_year\": \"28\"\n        },\n        \"country\": \"\",\n        \"attempts\": [\n            {\n                \"client_ip\": \"223.235.99.134\",\n                \"type\": \"execute\",\n                \"payment_method\": \"VISA\",\n                \"flow\": \"payform\",\n                \"successful\": true,\n                \"country\": \"BE\",\n                \"processing_time\": 1775056410,\n                \"extra\": {\n                    \"expiry_month\": \"12\",\n                    \"amount\": 10.0,\n                    \"card_issuer\": \"ING BELGIUM, S.A.\",\n                    \"masked_pan\": \"46401701****6658\",\n                    \"card_brand\": \"VISA\",\n                    \"card_issuer_country\": \"BE\",\n                    \"card_type\": \"CREDIT\",\n                    \"cardholder_name\": \"Sank\",\n                    \"expiry_year\": \"28\"\n                }\n            }\n        ]\n    },\n    \"status\": \"PAID\",\n    \"status_history\": [\n        {\n            \"status\": \"created\",\n            \"timestamp\": 1775056400\n        },\n        {\n            \"status\": \"pending_execute\",\n            \"timestamp\": 1775056410\n        },\n        {\n            \"status\": \"payment_in_process\",\n            \"timestamp\": 1775056410\n        },\n        {\n            \"status\": \"3DS success\",\n            \"timestamp\": 1775056424\n        },\n        {\n            \"status\": \"preauthorized\",\n            \"timestamp\": 1775056428\n        },\n        {\n            \"status\": \"capture_in_process\",\n            \"timestamp\": 1775056447\n        },\n        {\n            \"status\": \"paid\",\n            \"timestamp\": 1775056447\n        }\n    ],\n    \"is_test\": false,\n    \"brand_id\": \"bab077d5-df4d-4fda-8c6c-2f78d97c9a16\",\n    \"send_receipt\": false,\n    \"is_recurring_token\": false,\n    \"skip_capture\": true,\n    \"reference_generated\": \"PS1673\",\n    \"issued\": \"2026-04-01\",\n    \"due\": 1775056400,\n    \"refund_upto\": 1776089649,\n    \"cc_descriptor\": \"\",\n    \"fraudScore\": \"NA\",\n    \"trustScore\": \"NA\",\n    \"extraFee\": \"0\",\n    \"pix_payload\": {},\n    \"payInDetails\": {},\n    \"paidOn\": 1775056449,\n    \"receivedAmt\": 0.0,\n    \"captureTxns\": [\n        {\n            \"captureId\": \"41e31f9f-1e98-4f4d-b48c-7d1ed488fc3f\",\n            \"purchaseId\": \"69cd361053d7b783ebf7324d\",\n            \"amount\": 10.0,\n            \"fxAmount\": 10.0,\n            \"status\": \"PAID\",\n            \"pspReference\": null,\n            \"merchantReference\": \"64534345\",\n            \"createdAt\": 1775056447,\n            \"updatedAt\": 1775056447,\n            \"whiteId\": 0,\n            \"fxCurrency\": \"EUR\",\n            \"bankMid\": \"payneticsexternal3ds\",\n            \"isTest\": false,\n            \"currency\": \"EUR\",\n            \"amountInUsd\": 11.85,\n            \"merchantName\": \"KailashMerchant\",\n            \"bankName\": \"paynatics-aft_\",\n            \"bankId\": \"532\",\n            \"trxMethod\": \"CARDS\",\n            \"rollingReserve\": 0.0,\n            \"transFees\": 0.0,\n            \"mdr\": 0.0,\n            \"isSettlementPending\": 0,\n            \"parentId\": 0,\n            \"transSettlementId\": null,\n            \"errorSettlementId\": null,\n            \"merchantId\": \"589\"\n        }\n    ],\n    \"taxAmount\": 0.0,\n    \"surcharge\": 0.0,\n    \"surchargeType\": \"\",\n    \"sessionId\": \"\",\n    \"refund_availability\": \"NONE\",\n    \"refundable_amount\": 10.0,\n    \"success_redirect\": \"https://google.com/getResponse.jsp?issucces=true\",\n    \"failure_redirect\": \"https://google.com/getResponse.jsp?issucces=false\",\n    \"cancel_redirect\": \"\",\n    \"success_callback\": \"https://www.google.com/\",\n    \"failure_callback\": \"https://staging.aviorapay.com/merchant\",\n    \"platform\": \"API\",\n    \"created_from_ip\": \"223.235.99.134\",\n    \"checkout_url\": \"https://staging.aviorapay.com/payments/47395a8217d29014a4af6b1c494ac06b/\",\n    \"direct_post_url\": \"https://staging.aviorapay.com/api/v1/p/69cd361053d7b783ebf7324d/\",\n    \"payoutProcess\": false\n}"}],"_postman_id":"656886bb-73ac-4159-8d09-d77d21914b15"},{"name":"Cancel","id":"777f18dc-46c1-4359-beb5-fcb229f0ef62","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer 309855a6e22c2bc9873f11ee5997cb3ff246a8e8ec4f009f2924ad7178b2ad7b"}],"url":"https://app.aviorapay.com/api/v1/purchases/69ca76dbace4fa4413db928c/cancel","description":"<p>Use this endpoint to cancel an authorised payment before it has been captured. Voiding releases the held funds back to the customer immediately.</p>\n","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"9e4aaa75-0954-44a4-bb2e-44944b0761e7","id":"9e4aaa75-0954-44a4-bb2e-44944b0761e7","name":"APIs","type":"folder"}},"urlObject":{"path":["purchases","69ca76dbace4fa4413db928c","cancel"],"host":["https://app.aviorapay.com/api/v1"],"query":[],"variable":[]}},"response":[{"id":"1ca5fbf1-1242-4661-b633-d87ab21fa380","name":"Cancel","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer 309855a6e22c2bc9873f11ee5997cb3ff246a8e8ec4f009f2924ad7178b2ad7b"}],"url":"https://app.aviorapay.com/api/v1/purchases/69ca76dbace4fa4413db928c/cancel"},"status":"Method Not Allowed","code":405,"_postman_previewlanguage":"Text","header":[{"key":"Date","value":"Wed, 01 Apr 2026 17:18:25 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Nel","value":"{\"report_to\":\"cf-nel\",\"success_fraction\":0.0,\"max_age\":604800}"},{"key":"X-Frame-Options","value":"ALLOW-FROM *"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"x-session-id","value":"1c9b7d67-8dec-4e71-b35b-7952f23b67ed"},{"key":"Vary","value":"Origin"},{"key":"Vary","value":"Access-Control-Request-Method"},{"key":"Vary","value":"Access-Control-Request-Headers"},{"key":"Server","value":"cloudflare"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"0"},{"key":"Cache-Control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"Strict-Transport-Security","value":"max-age=31536000 ; includeSubDomains"},{"key":"X-Cache","value":"Error from cloudfront"},{"key":"Via","value":"1.1 8bd3b44b8e417f2b75cd6e631907112a.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"IAD61-P10"},{"key":"X-Amz-Cf-Id","value":"WSuVRaHm9E64itnjsFWAyBSPCR8YOFpZr7jY-NAhT-Ae-3_bc-hNTw=="},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"group\":\"cf-nel\",\"max_age\":604800,\"endpoints\":[{\"url\":\"https://a.nel.cloudflare.com/report/v4?s=%2FOrvZsMz3WoHOQDEvKgGSADamNtnaGrILftqtr5BiqYIlUvgXZT89lPPwyXtpIDJW8BNOXjG%2FgAQmYnOUsUpQZ%2BDIVJsSDsxo4FxOEgIKcxPYcG21xgzcTNpNqbnk%2Fnw%2FEki\"}]}"},{"key":"CF-RAY","value":"9e5940bd580a07ed-IAD"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"purchaseId\": \"69cd36c353d7b783ebf743e9\",\n    \"client\": {\n        \"customerId\": \"NA\",\n        \"email\": \"kailashvishnoi126741@aviorapay.co\",\n        \"full_name\": \"akshaya singhal\",\n        \"date_of_birth\": \"1800-01-01\",\n        \"street_address\": \"123\",\n        \"country\": \"ZM\",\n        \"city\": \"jaipur\",\n        \"zip_code\": \"234567\",\n        \"cc\": [],\n        \"bcc\": [],\n        \"stateCode\": \"CA\"\n    },\n    \"updated_on\": 1775056649,\n    \"type\": \"purchase\",\n    \"paymentMethod\": \"MASTER,VISA,VIRTUAL-IBAN,CRYPTO-WALLET,MAYA,GCASH,QRPH,BANKTRANSFER,NETBANKING,UPI-QR,PAYPLAY,UPI-INTENT,MOBILEMONEY,GOOGLEPAY,APPLEPAY\",\n    \"amountUnit\": \"MAJOR\",\n    \"errorMsg\": \"\",\n    \"errorCode\": \"NA\",\n    \"force_recurring\": false,\n    \"created_on\": 1775056579,\n    \"extraParam\": {\n        \"aft\": {\n            \"account_owner_address1\": \"test\",\n            \"account_owner_address2\": \"test\",\n            \"account_owner_street\": \"test\",\n            \"account_owner_postal_code\": \"123\",\n            \"account_owner_city\": \"test\",\n            \"account_owner_country\": \"UK\",\n            \"merchant_postal_code\": \"123\",\n            \"merchant_state\": \"FRA\",\n            \"acceptor_legal_name\": \"test\",\n            \"sender_address\": \"test\",\n            \"sender_city\": \"test\",\n            \"sender_state\": \"RJ\",\n            \"sender_country\": \"FRA\",\n            \"sender_name\": \"test\",\n            \"sender_account_number\": \"test\",\n            \"recipient_name\": \"test\",\n            \"bai\": \"AA\"\n        }\n    },\n    \"merchantRef\": \"69cd36c353d7b783ebf743e9\",\n    \"purchase\": {\n        \"currency\": \"EUR\",\n        \"products\": [\n            {\n                \"name\": \"gaming cards\",\n                \"quantity\": 1.0,\n                \"price\": 10.0,\n                \"discount\": 0,\n                \"tax_percent\": \"0.00\"\n            }\n        ],\n        \"total\": 10.0,\n        \"requestAmount\": 10.0,\n        \"language\": \"en\",\n        \"notes\": \"\",\n        \"debt\": 0,\n        \"total_formatted\": 1.0,\n        \"taxAmount\": 0.0,\n        \"taxPercent\": 0.0,\n        \"request_client_details\": [],\n        \"email_message\": \"\"\n    },\n    \"payment\": {\n        \"is_outgoing\": false,\n        \"payment_type\": \"PURCHASE\",\n        \"amount\": 10.0,\n        \"currency\": \"EUR\",\n        \"net_amount\": 10.0,\n        \"fee_amount\": 0.0,\n        \"pending_amount\": 0.0,\n        \"pending_unfreeze_on\": null,\n        \"description\": \"\",\n        \"paid_on\": 1775056600,\n        \"remote_paid_on\": 1775056600\n    },\n    \"issuer_details\": {\n        \"website\": \"\",\n        \"legal_street_address\": \"\",\n        \"legal_country\": \"\",\n        \"legal_city\": \"\",\n        \"legal_zip_code\": \"\",\n        \"bank_accounts\": [\n            {}\n        ],\n        \"legal_name\": \"ECOMTEST1\",\n        \"brand_name\": \"ECOMTEST1\",\n        \"registration_number\": \"\",\n        \"tax_number\": \"\"\n    },\n    \"transaction_data\": {\n        \"payment_method\": \"\",\n        \"flow\": \"payform\",\n        \"extra\": {\n            \"expiry_month\": \"12\",\n            \"amount\": 10.0,\n            \"card_issuer\": \"JPMORGAN CHASE BANK, N.A.\",\n            \"masked_pan\": \"42000000****0000\",\n            \"card_brand\": \"VISA\",\n            \"card_issuer_country\": \"US\",\n            \"card_type\": \"CREDIT\",\n            \"cardholder_name\": \"Sank\",\n            \"expiry_year\": \"28\"\n        },\n        \"country\": \"\",\n        \"attempts\": [\n            {\n                \"client_ip\": \"223.235.99.134\",\n                \"type\": \"execute\",\n                \"payment_method\": \"VISA\",\n                \"flow\": \"payform\",\n                \"successful\": true,\n                \"country\": \"US\",\n                \"processing_time\": 1775056600,\n                \"extra\": {\n                    \"expiry_month\": \"12\",\n                    \"amount\": 10.0,\n                    \"card_issuer\": \"JPMORGAN CHASE BANK, N.A.\",\n                    \"masked_pan\": \"42000000****0000\",\n                    \"card_brand\": \"VISA\",\n                    \"card_issuer_country\": \"US\",\n                    \"card_type\": \"CREDIT\",\n                    \"cardholder_name\": \"Sank\",\n                    \"expiry_year\": \"28\"\n                }\n            }\n        ]\n    },\n    \"status\": \"CANCELLED\",\n    \"status_history\": [\n        {\n            \"status\": \"created\",\n            \"timestamp\": 1775056579\n        },\n        {\n            \"status\": \"pending_execute\",\n            \"timestamp\": 1775056600\n        },\n        {\n            \"status\": \"payment_in_process\",\n            \"timestamp\": 1775056600\n        },\n        {\n            \"status\": \"3DS success\",\n            \"timestamp\": 1775056607\n        },\n        {\n            \"status\": \"preauthorized\",\n            \"timestamp\": 1775056611\n        },\n        {\n            \"status\": \"void_in_process\",\n            \"timestamp\": 1775056632\n        },\n        {\n            \"status\": \"preauthorized\",\n            \"timestamp\": 1775056632\n        },\n        {\n            \"status\": \"void_in_process\",\n            \"timestamp\": 1775056647\n        },\n        {\n            \"status\": \"cancelled\",\n            \"timestamp\": 1775056649\n        }\n    ],\n    \"is_test\": false,\n    \"brand_id\": \"bab077d5-df4d-4fda-8c6c-2f78d97c9a16\",\n    \"send_receipt\": false,\n    \"is_recurring_token\": false,\n    \"skip_capture\": true,\n    \"reference_generated\": \"PS1675\",\n    \"issued\": \"2026-04-01\",\n    \"due\": 1775056579,\n    \"refund_upto\": 1776089849,\n    \"cc_descriptor\": \"\",\n    \"fraudScore\": \"NA\",\n    \"trustScore\": \"NA\",\n    \"extraFee\": \"0\",\n    \"pix_payload\": {},\n    \"payInDetails\": {},\n    \"paidOn\": 0,\n    \"receivedAmt\": 0.0,\n    \"taxAmount\": 0.0,\n    \"surcharge\": 0.0,\n    \"surchargeType\": \"\",\n    \"sessionId\": \"\",\n    \"refund_availability\": \"NONE\",\n    \"refundable_amount\": 10.0,\n    \"success_redirect\": \"https://google.com/getResponse.jsp?issucces=true\",\n    \"failure_redirect\": \"https://google.com/getResponse.jsp?issucces=false\",\n    \"cancel_redirect\": \"\",\n    \"success_callback\": \"https://www.google.com/\",\n    \"failure_callback\": \"https://staging.aviorapay.com/merchant\",\n    \"platform\": \"API\",\n    \"created_from_ip\": \"223.235.99.134\",\n    \"checkout_url\": \"https://staging.aviorapay.com/payments/23182fc42998cb02b4a3e6aa5c3e26c8/\",\n    \"direct_post_url\": \"https://staging.aviorapay.com/api/v1/p/69cd36c353d7b783ebf743e9/\",\n    \"payoutProcess\": false\n}"}],"_postman_id":"777f18dc-46c1-4359-beb5-fcb229f0ef62"}],"id":"9e4aaa75-0954-44a4-bb2e-44944b0761e7","auth":{"type":"noauth","isInherited":false},"event":[{"listen":"prerequest","script":{"type":"text/javascript","packages":{},"requests":{},"exec":[""],"id":"f023ce6b-dd21-41d0-bb9f-dc7eb0747f46"}},{"listen":"test","script":{"type":"text/javascript","packages":{},"requests":{},"exec":[""],"id":"ff4ef428-1186-45b1-abd5-247a34baeb66"}}],"_postman_id":"9e4aaa75-0954-44a4-bb2e-44944b0761e7","description":""},{"name":"Transaction Status Lifecycle","item":[],"id":"462574e2-2e32-4b4f-9d72-669ef0086d10","description":"<p>Every payment processed through the pre-authorisation flow passes through a series of statuses. Understanding these statuses is critical for building robust integrations.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Status</th>\n<th>Description</th>\n<th>Available Actions</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>CREATED</td>\n<td>Transactions are initiated by merchants.</td>\n<td>Open checkout url</td>\n</tr>\n<tr>\n<td>PENDING_EXECUTE</td>\n<td>Transaction is in processing</td>\n<td>Wait</td>\n</tr>\n<tr>\n<td>PAYMENT_IN_PROCESS</td>\n<td>Transaction is being processed by the payment network.</td>\n<td>Wait</td>\n</tr>\n<tr>\n<td>PREAUTHORIZED</td>\n<td>Funds have been successfully held. Ready for capture or void.</td>\n<td>Capture, Void</td>\n</tr>\n<tr>\n<td>CAPTURE_IN_PROCESS</td>\n<td>Capture has been inititated and is in process.</td>\n<td>Wait</td>\n</tr>\n<tr>\n<td>PAID</td>\n<td>Full authorised amount has been settled to the merchant.</td>\n<td>Refund, Partial Refund</td>\n</tr>\n<tr>\n<td>PARTIALLY_CAPTURED</td>\n<td>A portion of the authorised amount was captured. Remainder released.</td>\n<td>Refund (on captured amount), Partial Refund</td>\n</tr>\n<tr>\n<td>VOID_IN_PROCESS</td>\n<td>Authorisation was cancelled before capture and it is in process</td>\n<td>None</td>\n</tr>\n<tr>\n<td>CANCELLED</td>\n<td>Authorisation was cancelled before capture. Funds released.</td>\n<td>None</td>\n</tr>\n<tr>\n<td>EXPIRED</td>\n<td>Authorisation expired without capture. Funds auto-released.</td>\n<td>None</td>\n</tr>\n<tr>\n<td>ERROR</td>\n<td>A processing error occurred during the preauthorisation step</td>\n<td>Retry Preauth</td>\n</tr>\n<tr>\n<td>REFUNDED</td>\n<td>Post-capture return of funds (separate API).</td>\n<td>None</td>\n</tr>\n<tr>\n<td>PARTIAL_REFUNDED</td>\n<td>Post-capture return of partial funds (separate API).</td>\n<td>Partial Refund</td>\n</tr>\n</tbody>\n</table>\n</div>","_postman_id":"462574e2-2e32-4b4f-9d72-669ef0086d10"},{"name":"Best Practices","item":[],"id":"d77c82fb-234c-4882-b2b6-bc5728e69408","description":"<h2 id=\"capture-timing\">Capture Timing</h2>\n<p>Capture payments as soon as the goods are shipped or the service is delivered. The longer you wait, the higher the risk of authorisation expiry, customer disputes, and declined captures.</p>\n<h2 id=\"idempotency\">Idempotency</h2>\n<p>Always include the X-Idempotency-Key header for all write operations (authorise, capture, void). This protects against duplicate transactions caused by network timeouts or retries.</p>\n<h2 id=\"webhook-driven-architecture\">Webhook-Driven Architecture</h2>\n<p>Do not rely solely on synchronous API responses for business logic. Implement webhook handlers to receive real-time status updates and use them as the source of truth for transaction state in your system.</p>\n<h2 id=\"error-handling\">Error Handling</h2>\n<p>Implement retry logic with exponential backoff for 5xx errors and 429 (rate limit) responses. For 4xx errors, parse the error response body and handle each error code appropriately in your application logic.</p>\n<h2 id=\"pci-compliance\">PCI Compliance</h2>\n<p>If you are handling raw card numbers, you must be PCI DSS Level 1 certified. Aviorapay strongly recommends using tokenised payment methods to minimise your PCI scope. Use the Aviorapay Cashier or client-side SDK to tokenise card details before they reach your server.</p>\n<h2 id=\"reconciliation\">Reconciliation</h2>\n<p>Use the reference field on authorise, capture, and void requests to associate Aviorapay transactions with your internal order system. The balances object in every response provides a real-time breakdown for reconciliation.</p>\n<h2 id=\"3d-secure\">3D Secure</h2>\n<p>Enable 3DS for all pre-authorisation requests where supported. This shifts fraud liability to the card issuer and reduces chargebacks. Aviorapay supports 3DS 2.x with frictionless and challenge flows.</p>\n","auth":{"type":"noauth","isInherited":false},"event":[{"listen":"prerequest","script":{"type":"text/javascript","packages":{},"requests":{},"exec":[""],"id":"c99b06a1-1fc9-45d7-8f65-ca87c5169b0b"}},{"listen":"test","script":{"type":"text/javascript","packages":{},"requests":{},"exec":[""],"id":"c9eb61ce-7df4-4961-890d-475f37bb4949"}}],"_postman_id":"d77c82fb-234c-4882-b2b6-bc5728e69408"},{"name":"Frequently Asked Questions","item":[],"id":"daa5e1bb-9f2a-4ec9-a23d-b4a092632fbb","description":"<p><strong>Q: Can I capture more than the authorised amount?</strong></p>\n<p><strong>A: No. The capture amount must be less than or equal to the authorised amount. If you need to charge more, you must create a new authorisation for the additional amount.</strong></p>\n<p><strong>Q: Can I perform multiple partial captures on a single authorisation?</strong></p>\n<p><strong>A: Yes. Aviorapay supports multiple captures per authorisation. But you will need to contact the support team for enabling the same.</strong> </p>\n<p><strong>Q: What happens if I do not capture before the authorisation expires?</strong></p>\n<p><strong>A: The authorisation automatically expires and the held funds are released back to the customer. You will receive a payment.expired webhook event. You must create a new authorisation to charge the customer.</strong></p>\n<p><strong>Q: Can I void a payment after it has been captured?</strong></p>\n<p><strong>A: No. Once a payment is captured, you must use the Refund API to return funds. The void endpoint only works for payments in AUTHORISED status.</strong></p>\n<p><strong>Q: How long does a void take to reflect on the customer’s statement?</strong></p>\n<p><strong>A: Typically, the hold is removed within 1–3 business days, depending on the issuing bank. Some banks may take up to 7 days to release the hold.</strong></p>\n<p><strong>Q: Does the customer see the pre-authorisation on their statement?</strong></p>\n<p><strong>A: Yes. The customer will see a pending charge for the authorised amount. This pending charge is released upon void or expiry, or replaced by the final charge upon capture.</strong></p>\n<p><strong>Q: Can I use pre-authorisation with non-card payment methods?</strong></p>\n<p><strong>A: Pre-authorisation is primarily supported for card payments. Support for alternative payment methods varies. Check the Aviorapay payment methods documentation for details.</strong></p>\n<p><strong>Q: Is 3D Secure required for pre-authorisations?</strong></p>\n<p><strong>A: 3DS is not required but is strongly recommended. It reduces fraud liability and chargeback risk. Aviorapay supports 3DS on all card pre-authorisation requests.</strong></p>\n","_postman_id":"daa5e1bb-9f2a-4ec9-a23d-b4a092632fbb"}],"id":"88962324-13c3-4ee5-93c0-ad1cbc63c2bf","description":"<h1 id=\"overview\"><strong>Overview</strong></h1>\n<p>Pre-authorisation (also known as \"auth only\") is a two-step payment process where a merchant first reserves (holds) funds on a customer’s payment method without immediately capturing the amount. This allows the merchant to verify fund availability before fulfilling an order, then capture (settle) the payment at a later time — or void (cancel) the hold if the order is not fulfilled.</p>\n<h2 id=\"when-to-use-pre-authorisation\"><strong>When to Use Pre-Authorisation</strong></h2>\n<p>Pre-authorisation is ideal for scenarios where the final transaction amount may change, or where goods/services are not delivered immediately. Common use cases include:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Use Case</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>E-Commerce</td>\n<td>Authorise at checkout; capture when the order ships. Void if the item is out of stock.</td>\n</tr>\n<tr>\n<td>Hospitality</td>\n<td>Pre-authorise the estimated room charge at check-in; adjust and capture at checkout.</td>\n</tr>\n<tr>\n<td>Car Rentals</td>\n<td>Hold the estimated rental cost; capture the final amount upon vehicle return.</td>\n</tr>\n<tr>\n<td>Subscriptions</td>\n<td>Verify the card with a pre-auth before activating a trial; capture when billing begins.</td>\n</tr>\n<tr>\n<td>Marketplaces</td>\n<td>Authorise the buyer’s funds; capture once the seller confirms dispatch.</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"key-concepts\"><strong>Key Concepts</strong></h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Term</strong></th>\n<th><strong>Definition</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Pre-Authorisation</td>\n<td>A transaction that reserves funds on the customer’s card without settling them. Also called \"auth only\" or \"manual capture\".</td>\n</tr>\n<tr>\n<td>Capture</td>\n<td>The action of claiming the previously authorised funds. Can be full or partial.</td>\n</tr>\n<tr>\n<td>Partial Capture</td>\n<td>Capturing less than the originally authorised amount. The remaining balance is automatically released.</td>\n</tr>\n<tr>\n<td>Void</td>\n<td>Cancelling a pre-authorised transaction before capture, releasing the held funds back to the customer.</td>\n</tr>\n<tr>\n<td>Authorisation Expiry</td>\n<td>The time window during which a pre-auth remains valid. Typically 7–30 days depending on card scheme and MCC.</td>\n</tr>\n</tbody>\n</table>\n</div>","_postman_id":"88962324-13c3-4ee5-93c0-ad1cbc63c2bf"},{"name":"Get Balance API (V2) - Orchestration","item":[{"name":"Checking Balance","id":"81da4baf-cffb-4559-b558-23fb0559b2e5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer Token","type":"text"}],"body":{"mode":"raw","raw":"{ \r\n   \"paymentMethod\" : \"PAYOUT-INTERAC-ETRANSFER\"\r\n\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"/getBalance","description":"<h2 id=\"api-for-checking-available-balance\"><strong>API for checking available balance</strong></h2>\n<ol>\n<li><p>URL :- /getBalance/</p>\n</li>\n<li><p>RequestType: POST</p>\n</li>\n<li><p>Request Body</p>\n</li>\n</ol>\n<p>Note: Currency is not a mandatory parameter. If no parameter is specified then all respective currency balances would be provided, if any specific currency parameter is provided then only that currency balance would be provided.</p>\n","urlObject":{"path":["getBalance"],"host":[""],"query":[],"variable":[]}},"response":[{"id":"e7f63979-e40e-49a1-ba67-2e6a76898c59","name":"Checking Balance payout-success","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{ \r\n   \"paymentMethod\" : \"PAYOUT-INTERAC-ETRANSFER\"\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"/getBalance"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"paymentMethod\": \"PAYOUT-INTERAC-ETRANSFER\",\n    \"status\": \"success\",\n    \"gateways\": [\n        {\n            \"gatewayName\": \"payhost\",\n            \"status\": \"success\",\n            \"error\": null,\n            \"balances\": [\n                {\n                    \"currency\": \"CAD\",\n                    \"balance\": 808.380000\n                },\n                {\n                    \"currency\": \"USD\",\n                    \"balance\": 803.380000\n                }\n            ]\n        },\n        {\n            \"gatewayName\": \"aviorapay\",\n            \"status\": \"success\",\n            \"error\": null,\n            \"balances\": [\n                {\n                    \"currency\": \"CAD\",\n                    \"balance\": 808.380000\n                },\n                {\n                    \"currency\": \"USD\",\n                    \"balance\": 808.380000\n                }\n            ]\n        }\n    ],\n    \"aggregatedBalances\": [\n        {\n            \"currency\": \"CAD\",\n            \"balance\": 1616.760000\n        },\n        {\n            \"currency\": \"USD\",\n            \"balance\": 1611.760000\n        }\n    ]\n}"},{"id":"24403941-1a72-42ca-82b9-96e8a3935877","name":"Checking Balance partial-success","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{ \r\n   \"paymentMethod\" : \"CARDS\"\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"/getBalance"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"paymentMethod\": \"CARDS\",\n    \"status\": \"partial\",\n    \"gateways\": [\n        {\n            \"gatewayName\": \"a55Mandate\",\n            \"status\": \"failed\",\n            \"error\": {\n                \"code\": \"error\",\n                \"message\": \"Bank does not provide balance\"\n            },\n            \"balances\": []\n        },\n        {\n            \"gatewayName\": \"bk_sbx_smilepayz_pix_payin\",\n            \"status\": \"success\",\n            \"error\": null,\n            \"balances\": [\n                {\n                    \"currency\": \"IDR\",\n                    \"balance\": 250000.000000\n                }\n            ]\n        },\n        {\n            \"gatewayName\": \"aviorapay\",\n            \"status\": \"success\",\n            \"error\": null,\n            \"balances\": [\n                {\n                    \"currency\": \"AED\",\n                    \"balance\": 0.000000\n                },\n                {\n                    \"currency\": \"AUD\",\n                    \"balance\": 3412.000000\n                },\n                {\n                    \"currency\": \"BRL\",\n                    \"balance\": 100.089996\n                },\n                {\n                    \"currency\": \"BTC\",\n                    \"balance\": 0.000000\n                },\n                {\n                    \"currency\": \"BXC\",\n                    \"balance\": 0.000000\n                },\n                {\n                    \"currency\": \"CAD\",\n                    \"balance\": 1000.000000\n                },\n                {\n                    \"currency\": \"CDF\",\n                    \"balance\": 0.000000\n                },\n                {\n                    \"currency\": \"COP\",\n                    \"balance\": 0.000000\n                },\n                {\n                    \"currency\": \"DKK\",\n                    \"balance\": 0.000000\n                },\n                {\n                    \"currency\": \"EGP\",\n                    \"balance\": 0.000000\n                },\n                {\n                    \"currency\": \"ETH\",\n                    \"balance\": 0.000000\n                },\n                {\n                    \"currency\": \"EUR\",\n                    \"balance\": 0.000000\n                },\n                {\n                    \"currency\": \"GBP\",\n                    \"balance\": -24.327801\n                },\n                {\n                    \"currency\": \"GHS\",\n                    \"balance\": 0.000000\n                },\n                {\n                    \"currency\": \"IDR\",\n                    \"balance\": 1000.000000\n                },\n                {\n                    \"currency\": \"INR\",\n                    \"balance\": 0.000000\n                },\n                {\n                    \"currency\": \"JPY\",\n                    \"balance\": 0.000000\n                },\n                {\n                    \"currency\": \"KES\",\n                    \"balance\": 0.000000\n                },\n                {\n                    \"currency\": \"MWK\",\n                    \"balance\": 0.000000\n                },\n                {\n                    \"currency\": \"MXN\",\n                    \"balance\": -4.770000\n                },\n                {\n                    \"currency\": \"NGN\",\n                    \"balance\": 0.000000\n                },\n                {\n                    \"currency\": \"NZD\",\n                    \"balance\": 0.000000\n                },\n                {\n                    \"currency\": \"RWF\",\n                    \"balance\": 0.000000\n                },\n                {\n                    \"currency\": \"THB\",\n                    \"balance\": 0.000000\n                },\n                {\n                    \"currency\": \"TZS\",\n                    \"balance\": 0.000000\n                },\n                {\n                    \"currency\": \"UGX\",\n                    \"balance\": 0.000000\n                },\n                {\n                    \"currency\": \"USD\",\n                    \"balance\": 167.457992\n                },\n                {\n                    \"currency\": \"USDC\",\n                    \"balance\": 0.000000\n                },\n                {\n                    \"currency\": \"USDT\",\n                    \"balance\": 0.000000\n                },\n                {\n                    \"currency\": \"UZS\",\n                    \"balance\": 0.000000\n                },\n                {\n                    \"currency\": \"XAF\",\n                    \"balance\": 0.000000\n                },\n                {\n                    \"currency\": \"XOF\",\n                    \"balance\": 0.000000\n                },\n                {\n                    \"currency\": \"ZAR\",\n                    \"balance\": 120.000000\n                },\n                {\n                    \"currency\": \"ZMW\",\n                    \"balance\": 0.000000\n                }\n            ]\n        },\n        {\n            \"gatewayName\": \"payhost\",\n            \"status\": \"failed\",\n            \"error\": {\n                \"code\": \"error\",\n                \"message\": \"Bank does not provide balance\"\n            },\n            \"balances\": []\n        }\n    ],\n    \"aggregatedBalances\": [\n        {\n            \"currency\": \"AED\",\n            \"balance\": 0.000000\n        },\n        {\n            \"currency\": \"AUD\",\n            \"balance\": 3412.000000\n        },\n        {\n            \"currency\": \"BRL\",\n            \"balance\": 100.089996\n        },\n        {\n            \"currency\": \"BTC\",\n            \"balance\": 0.000000\n        },\n        {\n            \"currency\": \"BXC\",\n            \"balance\": 0.000000\n        },\n        {\n            \"currency\": \"CAD\",\n            \"balance\": 1000.000000\n        },\n        {\n            \"currency\": \"CDF\",\n            \"balance\": 0.000000\n        },\n        {\n            \"currency\": \"COP\",\n            \"balance\": 0.000000\n        },\n        {\n            \"currency\": \"DKK\",\n            \"balance\": 0.000000\n        },\n        {\n            \"currency\": \"EGP\",\n            \"balance\": 0.000000\n        },\n        {\n            \"currency\": \"ETH\",\n            \"balance\": 0.000000\n        },\n        {\n            \"currency\": \"EUR\",\n            \"balance\": 0.000000\n        },\n        {\n            \"currency\": \"GBP\",\n            \"balance\": -24.327801\n        },\n        {\n            \"currency\": \"GHS\",\n            \"balance\": 0.000000\n        },\n        {\n            \"currency\": \"IDR\",\n            \"balance\": 251000.000000\n        },\n        {\n            \"currency\": \"INR\",\n            \"balance\": 0.000000\n        },\n        {\n            \"currency\": \"JPY\",\n            \"balance\": 0.000000\n        },\n        {\n            \"currency\": \"KES\",\n            \"balance\": 0.000000\n        },\n        {\n            \"currency\": \"MWK\",\n            \"balance\": 0.000000\n        },\n        {\n            \"currency\": \"MXN\",\n            \"balance\": -4.770000\n        },\n        {\n            \"currency\": \"NGN\",\n            \"balance\": 0.000000\n        },\n        {\n            \"currency\": \"NZD\",\n            \"balance\": 0.000000\n        },\n        {\n            \"currency\": \"RWF\",\n            \"balance\": 0.000000\n        },\n        {\n            \"currency\": \"THB\",\n            \"balance\": 0.000000\n        },\n        {\n            \"currency\": \"TZS\",\n            \"balance\": 0.000000\n        },\n        {\n            \"currency\": \"UGX\",\n            \"balance\": 0.000000\n        },\n        {\n            \"currency\": \"USD\",\n            \"balance\": 167.457992\n        },\n        {\n            \"currency\": \"USDC\",\n            \"balance\": 0.000000\n        },\n        {\n            \"currency\": \"USDT\",\n            \"balance\": 0.000000\n        },\n        {\n            \"currency\": \"UZS\",\n            \"balance\": 0.000000\n        },\n        {\n            \"currency\": \"XAF\",\n            \"balance\": 0.000000\n        },\n        {\n            \"currency\": \"XOF\",\n            \"balance\": 0.000000\n        },\n        {\n            \"currency\": \"ZAR\",\n            \"balance\": 120.000000\n        },\n        {\n            \"currency\": \"ZMW\",\n            \"balance\": 0.000000\n        }\n    ]\n}"},{"id":"b758ca7b-cafc-4e61-b502-19aa8b786d76","name":"Checking Balance payout-error","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{ \r\n   \"paymentMethod\" : \"PAYOUT-INTERAC\"\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"/getBalance"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"paymentMethod\": \"PAYOUT-INTERAC\",\n    \"status\": \"failed\",\n    \"gateways\": [\n        {\n            \"gatewayName\": \"payhost\",\n            \"status\": \"failed\",\n            \"error\": {\n                \"code\": \"error\",\n                \"message\": \"Bank does not provide balance\"\n            },\n            \"balances\": []\n        }\n    ],\n    \"aggregatedBalances\": []\n}"}],"_postman_id":"81da4baf-cffb-4559-b558-23fb0559b2e5"}],"id":"1afcb95b-6a37-4171-afd4-91ff7acbda34","description":"<p>The <strong>Get Balance API (V2)</strong> provides orchestrator-level visibility into available balances across multiple payment methods and banking partners. This version enhances the existing balance API by aggregating and returning balance details for all supported payment methods associated with all the PSPs for the merchant</p>\n<p>Overview</p>\n<ul>\n<li><p>Purpose: Retrieve available balance information across different banks/payment methods.</p>\n</li>\n<li><p>Scope: Orchestrator-level (not limited to a single merchant or payment method).</p>\n</li>\n<li><p>Enhancement over previous version:</p>\n<ul>\n<li><p>Returns balances for all payment methods linked to the orchestrator.</p>\n</li>\n<li><p>Provides both consolidated and MID-level (Merchant ID) breakdowns.</p>\n</li>\n</ul>\n</li>\n</ul>\n<p>Request Parameters</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th><strong>Type</strong></th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>paymentMethod</td>\n<td>string</td>\n<td>yes</td>\n<td>Specifies the payment method to query. Example: \"PAYOUT-INTERAC-ETRANSFER\"</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Behavior</strong></p>\n<ul>\n<li><p>When a valid paymentMethod is provided, the API retrieves:</p>\n<ul>\n<li><p>Balance details across all associated banks/payment methods.</p>\n</li>\n<li><p>MID-level breakdown for each bank.</p>\n</li>\n<li><p>Consolidated balance per payment method.</p>\n</li>\n</ul>\n</li>\n<li><p>The API is designed specifically for orchestrators and returns aggregated data across multiple merchants and banking integrations.</p>\n</li>\n</ul>\n<p><strong>Success Response</strong></p>\n<p>On successful retrieval, the API returns:</p>\n<ul>\n<li><p>Payment Method Details</p>\n</li>\n<li><p>List of Banks / Payment Providers</p>\n</li>\n<li><p>MID-Level Breakdown</p>\n</li>\n<li><p>Consolidated Balance</p>\n</li>\n</ul>\n<p><strong>Partial Success Response</strong></p>\n<p>A Partial Success response is returned when balance information is retrieved successfully for some payment methods or banks, while one or more fail to return balance data.</p>\n<p>This scenario typically occurs when:</p>\n<ul>\n<li><p>A merchant is associated with multiple payment methods or banking partners, and</p>\n</li>\n<li><p>At least one provider returns a valid balance, while others fail due to unavailability, timeout, or missing data.</p>\n</li>\n</ul>\n<p><strong>Return values-</strong></p>\n<ul>\n<li><p>Status as \"Partial\"</p>\n</li>\n<li><p>Payment Method Details</p>\n</li>\n<li><p>List of Banks / Payment Providers</p>\n</li>\n<li><p>MID-Level Breakdown</p>\n</li>\n<li><p>Consolidated Balance</p>\n</li>\n</ul>\n<p><strong>Error Handling</strong></p>\n<p>If balance details are not found or the request cannot be processed, the API returns:</p>\n<ul>\n<li><p>Appropriate status code</p>\n</li>\n<li><p>Error message</p>\n</li>\n</ul>\n","_postman_id":"1afcb95b-6a37-4171-afd4-91ff7acbda34"},{"name":"Global Collection","item":[{"name":"Get merchants","id":"1f25165c-2a1b-4639-973e-9a727d2d3ead","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[{"key":"requestId","value":"12344","type":"text"}],"url":"https://app.aviorapay.com/api/v1/external/gc/partner/merchants?page=1&size=30","urlObject":{"path":["external","gc","partner","merchants"],"host":["https://app.aviorapay.com/api/v1"],"query":[{"key":"page","value":"1"},{"key":"size","value":"30"},{"disabled":true,"key":null,"value":""}],"variable":[]}},"response":[{"id":"99b35e17-152e-4480-b961-7bafdb5e0d61","name":"Get merchants","originalRequest":{"method":"GET","header":[{"key":"requestId","value":"12344","type":"text"}],"url":{"raw":"https://app.aviorapay.com/api/v1/external/gc/partner/merchants?page=1&size=30","host":["https://app.aviorapay.com/api/v1"],"path":["external","gc","partner","merchants"],"query":[{"key":"page","value":"1"},{"key":"size","value":"30"},{"key":null,"value":"","type":"text","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[{"key":":status","value":200},{"key":"date","value":"Wed, 06 May 2026 13:30:48 GMT"},{"key":"content-type","value":"application/json"},{"key":"x-session-id","value":"3211e389-98b5-407f-8712-05134fb4c62f"},{"key":"vary","value":"Origin, Access-Control-Request-Method, Access-Control-Request-Headers"},{"key":"server","value":"Hidden"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-xss-protection","value":"0"},{"key":"cache-control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"0"},{"key":"strict-transport-security","value":"max-age=31536000 ; includeSubDomains"},{"key":"x-frame-options","value":"ALLOW-FROM *"},{"key":"referrer-policy","value":"no-referrer"},{"key":"set-cookie","value":"SESSION=MDkzYWJjNGMtNDA2YS00OTc2LWFlMzUtOTMzM2VlODI5ZmRj; Path=/; Secure; HttpOnly; SameSite=Strict"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"data\": {\n        \"merchant\": [\n            {\n                \"merchantId\": 4143,\n                \"email\": \"test3@aviorapay.co\",\n                \"name\": \"Test Prithvi Merchants\",\n                \"legalName\": \"Test Prithvi Merchants Pvt Ltd\",\n                \"regNo\": \"CIN123456789\",\n                \"websiteUrl\": \"https://testprithvi.com\",\n                \"category\": \"3451\",\n                \"iecNo\": \"fdsfkshf\",\n                \"tradingStartDate\": \"2022-01-01\",\n                \"dateOfIncorporation\": \"2021-06-15\",\n                \"tradingAddress\": \"123 Trading Street, Mumbai\",\n                \"tradingCountry\": \"IN\",\n                \"tradingState\": \"Maharashtra\",\n                \"tradingPostal\": \"400001\",\n                \"corporateAddress\": \"456 Corporate Avenue, Mumbai\",\n                \"corporateCountry\": \"IN\",\n                \"corporateState\": \"Maharashtra\",\n                \"corporatePostal\": \"400002\",\n                \"businessPhone\": \"+912212345678\",\n                \"contactPhone\": \"+912212345678\",\n                \"contactName\": \"Prithvi Kashyap\",\n                \"officerTitle\": \"Director\",\n                \"officerName\": \"Prithvi Kashyap\",\n                \"defaultCurrency\": \"EUR\",\n                \"defaultTimezone\": \"Asia/Kolkata\",\n                \"allowGlobalCollection\": false,\n                \"isLiveTransactionAllowed\": false,\n                \"allowedPaymentMethods\": [\n                    \"MASTER\",\n                    \"VISA\",\n                    \"JCB\"\n                ],\n                \"allowedCurrencies\": []\n            },\n            {\n                \"merchantId\": 4187,\n                \"email\": \"test10@aviorapay.co\",\n                \"name\": \"testprithvimerchant10\",\n                \"legalName\": \"Test Prithvi Merchants Pvt Ltd\",\n                \"regNo\": \"CIN123456789\",\n                \"websiteUrl\": \"https://testprithvi.com\",\n                \"category\": \"3451\",\n                \"iecNo\": \"fdsfkshf\",\n                \"tradingStartDate\": \"2022-01-01\",\n                \"dateOfIncorporation\": \"2021-06-15\",\n                \"tradingAddress\": \"123 Trading Street, Mumbai\",\n                \"tradingCountry\": \"IN\",\n                \"tradingState\": \"Maharashtra\",\n                \"tradingPostal\": \"400001\",\n                \"corporateAddress\": \"456 Corporate Avenue, Mumbai\",\n                \"corporateCountry\": \"IN\",\n                \"corporateState\": \"Maharashtra\",\n                \"corporatePostal\": \"400002\",\n                \"businessPhone\": \"+912212345678\",\n                \"contactPhone\": \"+919876543210\",\n                \"contactName\": \"Prithvi Kashyap\",\n                \"officerTitle\": \"Director\",\n                \"officerName\": \"Prithvi Kashyap\",\n                \"defaultCurrency\": \"EUR\",\n                \"defaultTimezone\": \"EUR\",\n                \"allowGlobalCollection\": false,\n                \"isLiveTransactionAllowed\": true,\n                \"allowedPaymentMethods\": [\n                    \"PayByBank\"\n                ],\n                \"allowedCurrencies\": [\n                    \"GBP\"\n                ]\n            },\n            {\n                \"merchantId\": 4256,\n                \"email\": \"test101@aviorapay.co\",\n                \"name\": \"testprithvimerchant101\",\n                \"legalName\": \"Test Prithvi Merchants Pvt Ltd\",\n                \"regNo\": \"CIN123456789\",\n                \"websiteUrl\": \"https://testprithvi.com\",\n                \"category\": \"3451\",\n                \"iecNo\": \"fdsfkshf\",\n                \"tradingStartDate\": \"2022-01-01\",\n                \"dateOfIncorporation\": \"2021-06-15\",\n                \"tradingAddress\": \"123 Trading Street, Mumbai\",\n                \"tradingCountry\": \"IN\",\n                \"tradingState\": \"Maharashtra\",\n                \"tradingPostal\": \"400001\",\n                \"corporateAddress\": \"456 Corporate Avenue, Mumbai\",\n                \"corporateCountry\": \"IN\",\n                \"corporateState\": \"Maharashtra\",\n                \"corporatePostal\": \"400002\",\n                \"businessPhone\": \"+912212345678\",\n                \"contactPhone\": \"+919876543210\",\n                \"contactName\": \"Prithvi Kashyap\",\n                \"officerTitle\": \"Director\",\n                \"officerName\": \"Prithvi Kashyap\",\n                \"defaultCurrency\": \"EUR\",\n                \"defaultTimezone\": \"EUR\",\n                \"allowGlobalCollection\": false,\n                \"isLiveTransactionAllowed\": true,\n                \"allowedPaymentMethods\": [\n                    \"PayByBank\"\n                ],\n                \"allowedCurrencies\": [\n                    \"GBP\",\n                    \"USD\"\n                ]\n            },\n            {\n                \"merchantId\": 4263,\n                \"email\": \"test1071@aviorapay.co\",\n                \"name\": \"testprithvimerchant1012\",\n                \"legalName\": \"Test Prithvi Merchants Pvt Ltd\",\n                \"regNo\": \"CIN123456789\",\n                \"websiteUrl\": \"https://testprithvi.com\",\n                \"category\": \"3451\",\n                \"iecNo\": \"fdsfkshf\",\n                \"tradingStartDate\": \"2022-01-01\",\n                \"dateOfIncorporation\": \"2021-06-15\",\n                \"tradingAddress\": \"123 Trading Street, Mumbai\",\n                \"tradingCountry\": \"IN\",\n                \"tradingState\": \"Maharashtra\",\n                \"tradingPostal\": \"400001\",\n                \"corporateAddress\": \"456 Corporate Avenue, Mumbai\",\n                \"corporateCountry\": \"IN\",\n                \"corporateState\": \"Maharashtra\",\n                \"corporatePostal\": \"400002\",\n                \"businessPhone\": \"+912212345678\",\n                \"contactPhone\": \"+919876543210\",\n                \"contactName\": \"Prithvi Kashyap\",\n                \"officerTitle\": \"Director\",\n                \"officerName\": \"Prithvi Kashyap\",\n                \"defaultCurrency\": \"EUR\",\n                \"defaultTimezone\": \"EUR\",\n                \"allowGlobalCollection\": false,\n                \"isLiveTransactionAllowed\": true,\n                \"allowedPaymentMethods\": [\n                    \"PayByBank\"\n                ],\n                \"allowedCurrencies\": [\n                    \"GBP\",\n                    \"USD\"\n                ]\n            },\n            {\n                \"merchantId\": 4274,\n                \"email\": \"test147dnh@aviorapay.co\",\n                \"name\": \"testprithvimerchant10d12\",\n                \"legalName\": \"Test Prithvi Merchants Pvt Ltd\",\n                \"regNo\": \"CIN123456789\",\n                \"websiteUrl\": \"https://testprithvi.com\",\n                \"category\": \"3453\",\n                \"iecNo\": \"fdsfkshf\",\n                \"tradingStartDate\": \"2022-01-01\",\n                \"dateOfIncorporation\": \"2021-06-15\",\n                \"tradingAddress\": \"123 Trading Street, Mumbai\",\n                \"tradingCountry\": \"IN\",\n                \"tradingState\": \"Maharashtra\",\n                \"tradingPostal\": \"400001\",\n                \"corporateAddress\": \"456 Corporate Avenue, Mumbai\",\n                \"corporateCountry\": \"IN\",\n                \"corporateState\": \"Maharashtra\",\n                \"corporatePostal\": \"400002\",\n                \"businessPhone\": \"+912212345678\",\n                \"contactPhone\": \"+919876543210\",\n                \"contactName\": \"Prithvi Kashyap\",\n                \"officerTitle\": \"Director\",\n                \"officerName\": \"Prithvi Kashyap\",\n                \"defaultCurrency\": \"EUR\",\n                \"defaultTimezone\": \"EUR\",\n                \"allowGlobalCollection\": true,\n                \"isLiveTransactionAllowed\": true,\n                \"allowedPaymentMethods\": [\n                    \"PayByBank\"\n                ],\n                \"allowedCurrencies\": [\n                    \"GBP\",\n                    \"USD\"\n                ]\n            },\n            {\n                \"merchantId\": 4270,\n                \"email\": \"test147dh@aviorapay.co\",\n                \"name\": \"testprithvimerchant10s12\",\n                \"legalName\": \"Test Prithvirajtest Merchants Pvt Ltd\",\n                \"regNo\": \"CIN12345678909\",\n                \"websiteUrl\": \"https://testprithvi1.com\",\n                \"category\": \"3451\",\n                \"iecNo\": \"fdsjfk1shf\",\n                \"tradingStartDate\": \"2022-01-01\",\n                \"dateOfIncorporation\": \"2021-06-15\",\n                \"tradingAddress\": \"123 Trading Street, Mumbai1\",\n                \"tradingCountry\": \"IN\",\n                \"tradingState\": \"Maharashtra1\",\n                \"tradingPostal\": \"400011\",\n                \"corporateAddress\": \"456 Corporate Avenue, Mumbai1\",\n                \"corporateCountry\": \"IN\",\n                \"corporateState\": \"Maharashtra\",\n                \"corporatePostal\": \"400012\",\n                \"businessPhone\": \"+912212345678\",\n                \"contactPhone\": \"+919876543210\",\n                \"contactName\": \"Prithvi Kashyap1\",\n                \"officerTitle\": \"Director1\",\n                \"officerName\": \"Prithvi Kashyap1\",\n                \"defaultCurrency\": \"EUR\",\n                \"defaultTimezone\": \"UTC\",\n                \"allowGlobalCollection\": true,\n                \"isLiveTransactionAllowed\": true,\n                \"allowedPaymentMethods\": [\n                    \"PayByBank\"\n                ],\n                \"allowedCurrencies\": [\n                    \"GBP\"\n                ]\n            },\n            {\n                \"merchantId\": 4189,\n                \"email\": \"test11@aviorapay.co\",\n                \"name\": \"testprithvimerchant11\",\n                \"legalName\": \"Test Prithvi Merchants Pvt Ltd\",\n                \"regNo\": \"CIN123456789\",\n                \"websiteUrl\": \"https://testprithvi.com\",\n                \"category\": \"3451\",\n                \"iecNo\": \"fdsfkshf\",\n                \"tradingStartDate\": \"2022-01-01\",\n                \"dateOfIncorporation\": \"2021-06-15\",\n                \"tradingAddress\": \"123 Trading Street, Mumbai\",\n                \"tradingCountry\": \"IN\",\n                \"tradingState\": \"Maharashtra\",\n                \"tradingPostal\": \"400001\",\n                \"corporateAddress\": \"456 Corporate Avenue, Mumbai\",\n                \"corporateCountry\": \"IN\",\n                \"corporateState\": \"Maharashtra\",\n                \"corporatePostal\": \"400002\",\n                \"businessPhone\": \"+912212345678\",\n                \"contactPhone\": \"+919876543210\",\n                \"contactName\": \"Prithvi Kashyap\",\n                \"officerTitle\": \"Director\",\n                \"officerName\": \"Prithvi Kashyap\",\n                \"defaultCurrency\": \"EUR\",\n                \"defaultTimezone\": \"EUR\",\n                \"allowGlobalCollection\": false,\n                \"isLiveTransactionAllowed\": true,\n                \"allowedPaymentMethods\": [\n                    \"PayByBank\"\n                ],\n                \"allowedCurrencies\": [\n                    \"GBP\"\n                ]\n            },\n            {\n                \"merchantId\": 4195,\n                \"email\": \"test12@aviorapay.co\",\n                \"name\": \"testprithvimerchant12\",\n                \"legalName\": \"Test Prithvi Merchants Pvt Ltd\",\n                \"regNo\": \"CIN123456789\",\n                \"websiteUrl\": \"https://testprithvi.com\",\n                \"category\": \"3451\",\n                \"iecNo\": \"fdsfkshf\",\n                \"tradingStartDate\": \"2022-01-01\",\n                \"dateOfIncorporation\": \"2021-06-15\",\n                \"tradingAddress\": \"123 Trading Street, Mumbai\",\n                \"tradingCountry\": \"IN\",\n                \"tradingState\": \"Maharashtra\",\n                \"tradingPostal\": \"400001\",\n                \"corporateAddress\": \"456 Corporate Avenue, Mumbai\",\n                \"corporateCountry\": \"IN\",\n                \"corporateState\": \"Maharashtra\",\n                \"corporatePostal\": \"400002\",\n                \"businessPhone\": \"+912212345678\",\n                \"contactPhone\": \"+919876543210\",\n                \"contactName\": \"Prithvi Kashyap\",\n                \"officerTitle\": \"Director\",\n                \"officerName\": \"Prithvi Kashyap\",\n                \"defaultCurrency\": \"EUR\",\n                \"defaultTimezone\": \"EUR\",\n                \"allowGlobalCollection\": false,\n                \"isLiveTransactionAllowed\": true,\n                \"allowedPaymentMethods\": [\n                    \"PayByBank\"\n                ],\n                \"allowedCurrencies\": [\n                    \"GBP\"\n                ]\n            },\n            {\n                \"merchantId\": 4377,\n                \"email\": \"test1323e5hf2k@aviorapay.co\",\n                \"name\": \"testprithvimerchant12349\",\n                \"legalName\": \"Test Prithvi Merchants Pvt Ltd\",\n                \"regNo\": \"CIN123456789\",\n                \"websiteUrl\": \"https://testprithvi.com\",\n                \"category\": \"3471\",\n                \"iecNo\": \"fdsfkshf\",\n                \"tradingStartDate\": \"2022-01-01\",\n                \"dateOfIncorporation\": \"2021-06-15\",\n                \"tradingAddress\": \"123 Trading Street, Mumbai\",\n                \"tradingCountry\": \"IN\",\n                \"tradingState\": \"Maharashtra\",\n                \"tradingPostal\": \"400001\",\n                \"corporateAddress\": \"456 Corporate Avenue, Mumbai\",\n                \"corporateCountry\": \"IN\",\n                \"corporateState\": \"Maharashtra\",\n                \"corporatePostal\": \"400002\",\n                \"businessPhone\": \"+912212345678\",\n                \"contactPhone\": \"+919876543210\",\n                \"contactName\": \"Prithvi Kashyap\",\n                \"officerTitle\": \"Director\",\n                \"officerName\": \"Prithvi Kashyap\",\n                \"defaultCurrency\": \"EUR\",\n                \"defaultTimezone\": \"EUR\",\n                \"allowGlobalCollection\": false,\n                \"isLiveTransactionAllowed\": true,\n                \"allowedPaymentMethods\": [\n                    \"PayByBank\"\n                ],\n                \"allowedCurrencies\": [\n                    \"USD\",\n                    \"INR\"\n                ]\n            },\n            {\n                \"merchantId\": 4196,\n                \"email\": \"test13@aviorapay.co\",\n                \"name\": \"testprithvimerchant13\",\n                \"legalName\": \"Test Prithvi Merchants Pvt Ltd\",\n                \"regNo\": \"CIN123456789\",\n                \"websiteUrl\": \"https://testprithvi.com\",\n                \"category\": \"3451\",\n                \"iecNo\": \"fdsfkshf\",\n                \"tradingStartDate\": \"2022-01-01\",\n                \"dateOfIncorporation\": \"2021-06-15\",\n                \"tradingAddress\": \"123 Trading Street, Mumbai\",\n                \"tradingCountry\": \"IN\",\n                \"tradingState\": \"Maharashtra\",\n                \"tradingPostal\": \"400001\",\n                \"corporateAddress\": \"456 Corporate Avenue, Mumbai\",\n                \"corporateCountry\": \"IN\",\n                \"corporateState\": \"Maharashtra\",\n                \"corporatePostal\": \"400002\",\n                \"businessPhone\": \"+912212345678\",\n                \"contactPhone\": \"+919876543210\",\n                \"contactName\": \"Prithvi Kashyap\",\n                \"officerTitle\": \"Director\",\n                \"officerName\": \"Prithvi Kashyap\",\n                \"defaultCurrency\": \"EUR\",\n                \"defaultTimezone\": \"EUR\",\n                \"allowGlobalCollection\": false,\n                \"isLiveTransactionAllowed\": true,\n                \"allowedPaymentMethods\": [\n                    \"PayByBank\"\n                ],\n                \"allowedCurrencies\": [\n                    \"GBP\",\n                    \"USD\"\n                ]\n            },\n            {\n                \"merchantId\": 4376,\n                \"email\": \"test1325hf2k@aviorapay.co\",\n                \"name\": \"testprithvimerchant13149\",\n                \"legalName\": \"Test Prithvi Merchants Pvt Ltd\",\n                \"regNo\": \"CIN123456789\",\n                \"websiteUrl\": \"https://testprithvi.com\",\n                \"category\": \"3471\",\n                \"iecNo\": \"fdsfkshf\",\n                \"tradingStartDate\": \"2022-01-01\",\n                \"dateOfIncorporation\": \"2021-06-15\",\n                \"tradingAddress\": \"123 Trading Street, Mumbai\",\n                \"tradingCountry\": \"IN\",\n                \"tradingState\": \"Maharashtra\",\n                \"tradingPostal\": \"400001\",\n                \"corporateAddress\": \"456 Corporate Avenue, Mumbai\",\n                \"corporateCountry\": \"IN\",\n                \"corporateState\": \"Maharashtra\",\n                \"corporatePostal\": \"400002\",\n                \"businessPhone\": \"+912212345678\",\n                \"contactPhone\": \"+919876543210\",\n                \"contactName\": \"Prithvi Kashyap\",\n                \"officerTitle\": \"Director\",\n                \"officerName\": \"Prithvi Kashyap\",\n                \"defaultCurrency\": \"EUR\",\n                \"defaultTimezone\": \"EUR\",\n                \"allowGlobalCollection\": false,\n                \"isLiveTransactionAllowed\": true,\n                \"allowedPaymentMethods\": [\n                    \"PayByBank\"\n                ],\n                \"allowedCurrencies\": [\n                    \"USD\",\n                    \"INR\"\n                ]\n            },\n            {\n                \"merchantId\": 4197,\n                \"email\": \"test14@aviorapay.co\",\n                \"name\": \"testprithvimerchant14\",\n                \"legalName\": \"Test Prithvi Merchants Pvt Ltd\",\n                \"regNo\": \"CIN123456789\",\n                \"websiteUrl\": \"https://testprithvi.com\",\n                \"category\": \"3451\",\n                \"iecNo\": \"fdsfkshf\",\n                \"tradingStartDate\": \"2022-01-01\",\n                \"dateOfIncorporation\": \"2021-06-15\",\n                \"tradingAddress\": \"123 Trading Street, Mumbai\",\n                \"tradingCountry\": \"IN\",\n                \"tradingState\": \"Maharashtra\",\n                \"tradingPostal\": \"400001\",\n                \"corporateAddress\": \"456 Corporate Avenue, Mumbai\",\n                \"corporateCountry\": \"IN\",\n                \"corporateState\": \"Maharashtra\",\n                \"corporatePostal\": \"400002\",\n                \"businessPhone\": \"+912212345678\",\n                \"contactPhone\": \"+919876543210\",\n                \"contactName\": \"Prithvi Kashyap\",\n                \"officerTitle\": \"Director\",\n                \"officerName\": \"Prithvi Kashyap\",\n                \"defaultCurrency\": \"EUR\",\n                \"defaultTimezone\": \"EUR\",\n                \"allowGlobalCollection\": false,\n                \"isLiveTransactionAllowed\": true,\n                \"allowedPaymentMethods\": [\n                    \"PayByBank\"\n                ],\n                \"allowedCurrencies\": [\n                    \"GBP\",\n                    \"USD\"\n                ]\n            },\n            {\n                \"merchantId\": 4368,\n                \"email\": \"test1325j2k@aviorapay.co\",\n                \"name\": \"testprithvimerchant14249\",\n                \"legalName\": \"Test Prithvi Merchants Pvt Ltd\",\n                \"regNo\": \"CIN123456789\",\n                \"websiteUrl\": \"https://testprithvi.com\",\n                \"category\": \"3471\",\n                \"iecNo\": \"fdsfkshf\",\n                \"tradingStartDate\": \"2022-01-01\",\n                \"dateOfIncorporation\": \"2021-06-15\",\n                \"tradingAddress\": \"123 Trading Street, Mumbai\",\n                \"tradingCountry\": \"IN\",\n                \"tradingState\": \"Maharashtra\",\n                \"tradingPostal\": \"400001\",\n                \"corporateAddress\": \"456 Corporate Avenue, Mumbai\",\n                \"corporateCountry\": \"IN\",\n                \"corporateState\": \"Maharashtra\",\n                \"corporatePostal\": \"400002\",\n                \"businessPhone\": \"+912212345678\",\n                \"contactPhone\": \"+919876543210\",\n                \"contactName\": \"Prithvi Kashyap\",\n                \"officerTitle\": \"Director\",\n                \"officerName\": \"Prithvi Kashyap\",\n                \"defaultCurrency\": \"EUR\",\n                \"defaultTimezone\": \"EUR\",\n                \"allowGlobalCollection\": false,\n                \"isLiveTransactionAllowed\": false,\n                \"allowedPaymentMethods\": [\n                    \"CREDITCARD\"\n                ],\n                \"allowedCurrencies\": []\n            },\n            {\n                \"merchantId\": 4212,\n                \"email\": \"test15@aviorapay.co\",\n                \"name\": \"testprithvimerchant15\",\n                \"legalName\": \"Test Prithvirajtest2 Merchants Pvt Ltd\",\n                \"regNo\": \"CIN123456789\",\n                \"websiteUrl\": \"https://testprithvi.com\",\n                \"category\": \"3451\",\n                \"iecNo\": \"fdsfkshf\",\n                \"tradingStartDate\": \"2022-01-01\",\n                \"dateOfIncorporation\": \"2021-06-15\",\n                \"tradingAddress\": \"123 Trading Street, Mumbai\",\n                \"tradingCountry\": \"IN\",\n                \"tradingState\": \"Maharashtra\",\n                \"tradingPostal\": \"400001\",\n                \"corporateAddress\": \"456 Corporate Avenue, Mumbai\",\n                \"corporateCountry\": \"IN\",\n                \"corporateState\": \"Maharashtra\",\n                \"corporatePostal\": \"400002\",\n                \"businessPhone\": \"+912212345678\",\n                \"contactPhone\": \"+919876543210\",\n                \"contactName\": \"Prithvi Kashyap\",\n                \"officerTitle\": \"Director\",\n                \"officerName\": \"Prithvi Kashyap\",\n                \"defaultCurrency\": \"EUR\",\n                \"defaultTimezone\": \"UTC\",\n                \"allowGlobalCollection\": true,\n                \"isLiveTransactionAllowed\": true,\n                \"allowedPaymentMethods\": [\n                    \"PayByBank\"\n                ],\n                \"allowedCurrencies\": [\n                    \"AED\",\n                    \"GBP\"\n                ]\n            },\n            {\n                \"merchantId\": 4213,\n                \"email\": \"test16@aviorapay.co\",\n                \"name\": \"testprithvimerchant16\",\n                \"legalName\": \"Test Prithvi Merchants Pvt Ltd\",\n                \"regNo\": \"CIN123456789\",\n                \"websiteUrl\": \"https://testprithvi.com\",\n                \"category\": \"3451\",\n                \"iecNo\": \"fdsfkshf\",\n                \"tradingStartDate\": \"2022-01-01\",\n                \"dateOfIncorporation\": \"2021-06-15\",\n                \"tradingAddress\": \"123 Trading Street, Mumbai\",\n                \"tradingCountry\": \"IN\",\n                \"tradingState\": \"Maharashtra\",\n                \"tradingPostal\": \"400001\",\n                \"corporateAddress\": \"456 Corporate Avenue, Mumbai\",\n                \"corporateCountry\": \"IN\",\n                \"corporateState\": \"Maharashtra\",\n                \"corporatePostal\": \"400002\",\n                \"businessPhone\": \"+912212345678\",\n                \"contactPhone\": \"+919876543210\",\n                \"contactName\": \"Prithvi Kashyap\",\n                \"officerTitle\": \"Director\",\n                \"officerName\": \"Prithvi Kashyap\",\n                \"defaultCurrency\": \"EUR\",\n                \"defaultTimezone\": \"EUR\",\n                \"allowGlobalCollection\": false,\n                \"isLiveTransactionAllowed\": true,\n                \"allowedPaymentMethods\": [\n                    \"PayByBank\"\n                ],\n                \"allowedCurrencies\": [\n                    \"GBP\",\n                    \"USD\"\n                ]\n            },\n            {\n                \"merchantId\": 4230,\n                \"email\": \"test17@aviorapay.co\",\n                \"name\": \"testprithvimerchant17\",\n                \"legalName\": \"Test Prithvirajtest2 Merchants Pvt Ltd\",\n                \"regNo\": \"CIN123456789\",\n                \"websiteUrl\": \"https://testprithvi.com\",\n                \"category\": \"3451\",\n                \"iecNo\": \"fdsfkshf\",\n                \"tradingStartDate\": \"2022-01-01\",\n                \"dateOfIncorporation\": \"2021-06-15\",\n                \"tradingAddress\": \"123 Trading Street, Mumbai\",\n                \"tradingCountry\": \"IN\",\n                \"tradingState\": \"Maharashtra\",\n                \"tradingPostal\": \"400001\",\n                \"corporateAddress\": \"456 Corporate Avenue, Mumbai\",\n                \"corporateCountry\": \"IN\",\n                \"corporateState\": \"Maharashtra\",\n                \"corporatePostal\": \"400002\",\n                \"businessPhone\": \"+912212345678\",\n                \"contactPhone\": \"+919876543210\",\n                \"contactName\": \"Prithvi Kashyap\",\n                \"officerTitle\": \"Director\",\n                \"officerName\": \"Prithvi Kashyap\",\n                \"defaultCurrency\": \"EUR\",\n                \"defaultTimezone\": \"UTC\",\n                \"allowGlobalCollection\": true,\n                \"isLiveTransactionAllowed\": true,\n                \"allowedPaymentMethods\": [\n                    \"PayByBank\"\n                ],\n                \"allowedCurrencies\": [\n                    \"AED\",\n                    \"GBP\"\n                ]\n            },\n            {\n                \"merchantId\": 4288,\n                \"email\": \"test17as@aviorapay.co\",\n                \"name\": \"testprithvimerchant171\",\n                \"legalName\": \"Test Prithvi Merchants Pvt Ltd\",\n                \"regNo\": \"CIN123456789\",\n                \"websiteUrl\": \"https://testprithvi.com\",\n                \"category\": \"3451\",\n                \"iecNo\": \"fdsfkshf\",\n                \"tradingStartDate\": \"2022-01-01\",\n                \"dateOfIncorporation\": \"2021-06-15\",\n                \"tradingAddress\": \"123 Trading Street, Mumbai\",\n                \"tradingCountry\": \"IN\",\n                \"tradingState\": \"Maharashtra\",\n                \"tradingPostal\": \"400001\",\n                \"corporateAddress\": \"456 Corporate Avenue, Mumbai\",\n                \"corporateCountry\": \"IN\",\n                \"corporateState\": \"Maharashtra\",\n                \"corporatePostal\": \"400002\",\n                \"businessPhone\": \"+912212345678\",\n                \"contactPhone\": \"+919876543210\",\n                \"contactName\": \"Prithvi Kashyap\",\n                \"officerTitle\": \"Director\",\n                \"officerName\": \"Prithvi Kashyap\",\n                \"defaultCurrency\": \"EUR\",\n                \"defaultTimezone\": \"EUR\",\n                \"allowGlobalCollection\": false,\n                \"isLiveTransactionAllowed\": true,\n                \"allowedPaymentMethods\": [\n                    \"PayByBank\"\n                ],\n                \"allowedCurrencies\": [\n                    \"GBP\",\n                    \"USD\"\n                ]\n            },\n            {\n                \"merchantId\": 4382,\n                \"email\": \"test13wd3ehf2k@aviorapay.co\",\n                \"name\": \"testprithvimerchant2141\",\n                \"legalName\": \"Test Prithvi Merchants Pvt Ltd\",\n                \"regNo\": \"CIN123456789\",\n                \"websiteUrl\": \"https://testprithvi.com\",\n                \"category\": \"3471\",\n                \"iecNo\": \"fdsfkshf\",\n                \"tradingStartDate\": \"2022-01-01\",\n                \"dateOfIncorporation\": \"2021-06-15\",\n                \"tradingAddress\": \"123 Trading Street, Mumbai\",\n                \"tradingCountry\": \"IN\",\n                \"tradingState\": \"Maharashtra\",\n                \"tradingPostal\": \"400001\",\n                \"corporateAddress\": \"456 Corporate Avenue, Mumbai\",\n                \"corporateCountry\": \"IN\",\n                \"corporateState\": \"Maharashtra\",\n                \"corporatePostal\": \"400002\",\n                \"businessPhone\": \"+912212345678\",\n                \"contactPhone\": \"+919876543210\",\n                \"contactName\": \"Prithvi Kashyap\",\n                \"officerTitle\": \"Director\",\n                \"officerName\": \"Prithvi Kashyap\",\n                \"defaultCurrency\": \"EUR\",\n                \"defaultTimezone\": \"EUR\",\n                \"allowGlobalCollection\": false,\n                \"isLiveTransactionAllowed\": true,\n                \"allowedPaymentMethods\": [\n                    \"PayByBank\"\n                ],\n                \"allowedCurrencies\": [\n                    \"USD\",\n                    \"INR\"\n                ]\n            },\n            {\n                \"merchantId\": 4293,\n                \"email\": \"test1711as@aviorapay.co\",\n                \"name\": \"testprithvimerchant217\",\n                \"legalName\": \"Test Prithvirajtest2 Merchants Pvt Ltd\",\n                \"regNo\": \"CIN123456789\",\n                \"websiteUrl\": \"https://testprithvi.com\",\n                \"category\": \"3451\",\n                \"iecNo\": \"fdsfkshf\",\n                \"tradingStartDate\": \"2022-01-01\",\n                \"dateOfIncorporation\": \"2021-06-15\",\n                \"tradingAddress\": \"123 Trading Street, Mumbai\",\n                \"tradingCountry\": \"IN\",\n                \"tradingState\": \"Maharashtra\",\n                \"tradingPostal\": \"400001\",\n                \"corporateAddress\": \"456 Corporate Avenue, Mumbai\",\n                \"corporateCountry\": \"IN\",\n                \"corporateState\": \"Maharashtra\",\n                \"corporatePostal\": \"400002\",\n                \"businessPhone\": \"+912212345678\",\n                \"contactPhone\": \"+919876543210\",\n                \"contactName\": \"Prithvi Kashyap\",\n                \"officerTitle\": \"Director\",\n                \"officerName\": \"Prithvi Kashyap\",\n                \"defaultCurrency\": \"EUR\",\n                \"defaultTimezone\": \"UTC\",\n                \"allowGlobalCollection\": false,\n                \"isLiveTransactionAllowed\": true,\n                \"allowedPaymentMethods\": [\n                    \"PayByBank\"\n                ],\n                \"allowedCurrencies\": [\n                    \"AED\",\n                    \"GBP\"\n                ]\n            },\n            {\n                \"merchantId\": 4296,\n                \"email\": \"test1711sk@aviorapay.co\",\n                \"name\": \"testprithvimerchant219\",\n                \"legalName\": \"Test Prithvi Merchants Pvt Ltd\",\n                \"regNo\": \"CIN123456789\",\n                \"websiteUrl\": \"https://testprithvi.com\",\n                \"category\": \"3451\",\n                \"iecNo\": \"fdsfkshf\",\n                \"tradingStartDate\": \"2022-01-01\",\n                \"dateOfIncorporation\": \"2021-06-15\",\n                \"tradingAddress\": \"123 Trading Street, Mumbai\",\n                \"tradingCountry\": \"IN\",\n                \"tradingState\": \"Maharashtra\",\n                \"tradingPostal\": \"400001\",\n                \"corporateAddress\": \"456 Corporate Avenue, Mumbai\",\n                \"corporateCountry\": \"IN\",\n                \"corporateState\": \"Maharashtra\",\n                \"corporatePostal\": \"400002\",\n                \"businessPhone\": \"+912212345678\",\n                \"contactPhone\": \"+919876543210\",\n                \"contactName\": \"Prithvi Kashyap\",\n                \"officerTitle\": \"Director\",\n                \"officerName\": \"Prithvi Kashyap\",\n                \"defaultCurrency\": \"EUR\",\n                \"defaultTimezone\": \"EUR\",\n                \"allowGlobalCollection\": false,\n                \"isLiveTransactionAllowed\": true,\n                \"allowedPaymentMethods\": [\n                    \"PayByBank\"\n                ],\n                \"allowedCurrencies\": [\n                    \"GBP\",\n                    \"USD\"\n                ]\n            },\n            {\n                \"merchantId\": 4311,\n                \"email\": \"test1711smjk@aviorapay.co\",\n                \"name\": \"testprithvimerchant2198\",\n                \"legalName\": \"Test Prithvi Merchants Pvt Ltd\",\n                \"regNo\": \"CIN123456789\",\n                \"websiteUrl\": \"https://testprithvi.com\",\n                \"category\": \"3471\",\n                \"iecNo\": \"fdsfkshf\",\n                \"tradingStartDate\": \"2022-01-01\",\n                \"dateOfIncorporation\": \"2021-06-15\",\n                \"tradingAddress\": \"123 Trading Street, Mumbai\",\n                \"tradingCountry\": \"IN\",\n                \"tradingState\": \"Maharashtra\",\n                \"tradingPostal\": \"400001\",\n                \"corporateAddress\": \"456 Corporate Avenue, Mumbai\",\n                \"corporateCountry\": \"IN\",\n                \"corporateState\": \"Maharashtra\",\n                \"corporatePostal\": \"400002\",\n                \"businessPhone\": \"+912212345678\",\n                \"contactPhone\": \"+919876543210\",\n                \"contactName\": \"Prithvi Kashyap\",\n                \"officerTitle\": \"Director\",\n                \"officerName\": \"Prithvi Kashyap\",\n                \"defaultCurrency\": \"EUR\",\n                \"defaultTimezone\": \"EUR\",\n                \"allowGlobalCollection\": false,\n                \"isLiveTransactionAllowed\": true,\n                \"allowedPaymentMethods\": [\n                    \"PayByBank\"\n                ],\n                \"allowedCurrencies\": [\n                    \"GBP\",\n                    \"USD\"\n                ]\n            },\n            {\n                \"merchantId\": 4313,\n                \"email\": \"test17114smjk@aviorapay.co\",\n                \"name\": \"testprithvimerchant2199\",\n                \"legalName\": \"Test Prithvi Merchants Pvt Ltd\",\n                \"regNo\": \"CIN123456789\",\n                \"websiteUrl\": \"https://testprithvi.com\",\n                \"category\": \"3471\",\n                \"iecNo\": \"fdsfkshf\",\n                \"tradingStartDate\": \"2022-01-01\",\n                \"dateOfIncorporation\": \"2021-06-15\",\n                \"tradingAddress\": \"123 Trading Street, Mumbai\",\n                \"tradingCountry\": \"IN\",\n                \"tradingState\": \"Maharashtra\",\n                \"tradingPostal\": \"400001\",\n                \"corporateAddress\": \"456 Corporate Avenue, Mumbai\",\n                \"corporateCountry\": \"IN\",\n                \"corporateState\": \"Maharashtra\",\n                \"corporatePostal\": \"400002\",\n                \"businessPhone\": \"+912212345678\",\n                \"contactPhone\": \"+919876543210\",\n                \"contactName\": \"Prithvi Kashyap\",\n                \"officerTitle\": \"Director\",\n                \"officerName\": \"Prithvi Kashyap\",\n                \"defaultCurrency\": \"EUR\",\n                \"defaultTimezone\": \"EUR\",\n                \"allowGlobalCollection\": false,\n                \"isLiveTransactionAllowed\": true,\n                \"allowedPaymentMethods\": [\n                    \"PayByBank\"\n                ],\n                \"allowedCurrencies\": [\n                    \"GBP\",\n                    \"USD\"\n                ]\n            },\n            {\n                \"merchantId\": 4319,\n                \"email\": \"test17114smj1k@aviorapay.co\",\n                \"name\": \"testprithvimerchant2200\",\n                \"legalName\": \"Test Prithvi Merchants Pvt Ltd\",\n                \"regNo\": \"CIN123456789\",\n                \"websiteUrl\": \"https://testprithvi.com\",\n                \"category\": \"3471\",\n                \"iecNo\": \"fdsfkshf\",\n                \"tradingStartDate\": \"2022-01-01\",\n                \"dateOfIncorporation\": \"2021-06-15\",\n                \"tradingAddress\": \"123 Trading Street, Mumbai\",\n                \"tradingCountry\": \"IN\",\n                \"tradingState\": \"Maharashtra\",\n                \"tradingPostal\": \"400001\",\n                \"corporateAddress\": \"456 Corporate Avenue, Mumbai\",\n                \"corporateCountry\": \"IN\",\n                \"corporateState\": \"Maharashtra\",\n                \"corporatePostal\": \"400002\",\n                \"businessPhone\": \"+912212345678\",\n                \"contactPhone\": \"+919876543210\",\n                \"contactName\": \"Prithvi Kashyap\",\n                \"officerTitle\": \"Director\",\n                \"officerName\": \"Prithvi Kashyap\",\n                \"defaultCurrency\": \"EUR\",\n                \"defaultTimezone\": \"EUR\",\n                \"allowGlobalCollection\": false,\n                \"isLiveTransactionAllowed\": true,\n                \"allowedPaymentMethods\": [\n                    \"PayByBank\"\n                ],\n                \"allowedCurrencies\": [\n                    \"GBP\",\n                    \"USD\"\n                ]\n            },\n            {\n                \"merchantId\": 4322,\n                \"email\": \"test1711o4smj1k@aviorapay.co\",\n                \"name\": \"testprithvimerchant2201\",\n                \"legalName\": \"Test Prithvi Merchants Pvt Ltd\",\n                \"regNo\": \"CIN123456789\",\n                \"websiteUrl\": \"https://testprithvi.com\",\n                \"category\": \"3471\",\n                \"iecNo\": \"fdsfkshf\",\n                \"tradingStartDate\": \"2022-01-01\",\n                \"dateOfIncorporation\": \"2021-06-15\",\n                \"tradingAddress\": \"123 Trading Street, Mumbai\",\n                \"tradingCountry\": \"IN\",\n                \"tradingState\": \"Maharashtra\",\n                \"tradingPostal\": \"400001\",\n                \"corporateAddress\": \"456 Corporate Avenue, Mumbai\",\n                \"corporateCountry\": \"IN\",\n                \"corporateState\": \"Maharashtra\",\n                \"corporatePostal\": \"400002\",\n                \"businessPhone\": \"+912212345678\",\n                \"contactPhone\": \"+919876543210\",\n                \"contactName\": \"Prithvi Kashyap\",\n                \"officerTitle\": \"Director\",\n                \"officerName\": \"Prithvi Kashyap\",\n                \"defaultCurrency\": \"EUR\",\n                \"defaultTimezone\": \"EUR\",\n                \"allowGlobalCollection\": false,\n                \"isLiveTransactionAllowed\": true,\n                \"allowedPaymentMethods\": [\n                    \"PayByBank\"\n                ],\n                \"allowedCurrencies\": [\n                    \"GBP\",\n                    \"USD\"\n                ]\n            },\n            {\n                \"merchantId\": 4324,\n                \"email\": \"test1711osmj1k@aviorapay.co\",\n                \"name\": \"testprithvimerchant2202\",\n                \"legalName\": \"Test Prithvi Merchants Pvt Ltd\",\n                \"regNo\": \"CIN123456789\",\n                \"websiteUrl\": \"https://testprithvi.com\",\n                \"category\": \"3471\",\n                \"iecNo\": \"fdsfkshf\",\n                \"tradingStartDate\": \"2022-01-01\",\n                \"dateOfIncorporation\": \"2021-06-15\",\n                \"tradingAddress\": \"123 Trading Street, Mumbai\",\n                \"tradingCountry\": \"IN\",\n                \"tradingState\": \"Maharashtra\",\n                \"tradingPostal\": \"400001\",\n                \"corporateAddress\": \"456 Corporate Avenue, Mumbai\",\n                \"corporateCountry\": \"IN\",\n                \"corporateState\": \"Maharashtra\",\n                \"corporatePostal\": \"400002\",\n                \"businessPhone\": \"+912212345678\",\n                \"contactPhone\": \"+919876543210\",\n                \"contactName\": \"Prithvi Kashyap\",\n                \"officerTitle\": \"Director\",\n                \"officerName\": \"Prithvi Kashyap\",\n                \"defaultCurrency\": \"EUR\",\n                \"defaultTimezone\": \"EUR\",\n                \"allowGlobalCollection\": false,\n                \"isLiveTransactionAllowed\": true,\n                \"allowedPaymentMethods\": [\n                    \"PayByBank\"\n                ],\n                \"allowedCurrencies\": [\n                    \"GBP\",\n                    \"USD\"\n                ]\n            },\n            {\n                \"merchantId\": 4325,\n                \"email\": \"test1711psmj1k@aviorapay.co\",\n                \"name\": \"testprithvimerchant2203\",\n                \"legalName\": \"Test Prithvi Merchants Pvt Ltd\",\n                \"regNo\": \"CIN123456789\",\n                \"websiteUrl\": \"https://testprithvi.com\",\n                \"category\": \"3471\",\n                \"iecNo\": \"fdsfkshf\",\n                \"tradingStartDate\": \"2022-01-01\",\n                \"dateOfIncorporation\": \"2021-06-15\",\n                \"tradingAddress\": \"123 Trading Street, Mumbai\",\n                \"tradingCountry\": \"IN\",\n                \"tradingState\": \"Maharashtra\",\n                \"tradingPostal\": \"400001\",\n                \"corporateAddress\": \"456 Corporate Avenue, Mumbai\",\n                \"corporateCountry\": \"IN\",\n                \"corporateState\": \"Maharashtra\",\n                \"corporatePostal\": \"400002\",\n                \"businessPhone\": \"+912212345678\",\n                \"contactPhone\": \"+919876543210\",\n                \"contactName\": \"Prithvi Kashyap\",\n                \"officerTitle\": \"Director\",\n                \"officerName\": \"Prithvi Kashyap\",\n                \"defaultCurrency\": \"EUR\",\n                \"defaultTimezone\": \"EUR\",\n                \"allowGlobalCollection\": false,\n                \"isLiveTransactionAllowed\": true,\n                \"allowedPaymentMethods\": [\n                    \"PayByBank\"\n                ],\n                \"allowedCurrencies\": [\n                    \"GBP\",\n                    \"USD\"\n                ]\n            },\n            {\n                \"merchantId\": 4328,\n                \"email\": \"test1711psmj2k@aviorapay.co\",\n                \"name\": \"testprithvimerchant2204\",\n                \"legalName\": \"Test Prithvi Merchants Pvt Ltd\",\n                \"regNo\": \"CIN123456789\",\n                \"websiteUrl\": \"https://testprithvi.com\",\n                \"category\": \"3471\",\n                \"iecNo\": \"fdsfkshf\",\n                \"tradingStartDate\": \"2022-01-01\",\n                \"dateOfIncorporation\": \"2021-06-15\",\n                \"tradingAddress\": \"123 Trading Street, Mumbai\",\n                \"tradingCountry\": \"IN\",\n                \"tradingState\": \"Maharashtra\",\n                \"tradingPostal\": \"400001\",\n                \"corporateAddress\": \"456 Corporate Avenue, Mumbai\",\n                \"corporateCountry\": \"IN\",\n                \"corporateState\": \"Maharashtra\",\n                \"corporatePostal\": \"400002\",\n                \"businessPhone\": \"+912212345678\",\n                \"contactPhone\": \"+919876543210\",\n                \"contactName\": \"Prithvi Kashyap\",\n                \"officerTitle\": \"Director\",\n                \"officerName\": \"Prithvi Kashyap\",\n                \"defaultCurrency\": \"EUR\",\n                \"defaultTimezone\": \"EUR\",\n                \"allowGlobalCollection\": false,\n                \"isLiveTransactionAllowed\": true,\n                \"allowedPaymentMethods\": [\n                    \"PayByBank\"\n                ],\n                \"allowedCurrencies\": [\n                    \"GBP\",\n                    \"USD\"\n                ]\n            },\n            {\n                \"merchantId\": 4335,\n                \"email\": \"test1711pgmj2k@aviorapay.co\",\n                \"name\": \"testprithvimerchant2205\",\n                \"legalName\": \"Test Prithvirajtest2 Merchants Pvt Ltd\",\n                \"regNo\": \"CIN123456789\",\n                \"websiteUrl\": \"https://testprithvi.com\",\n                \"category\": \"3471\",\n                \"iecNo\": \"fdsfkshf\",\n                \"tradingStartDate\": \"2022-01-01\",\n                \"dateOfIncorporation\": \"2021-06-15\",\n                \"tradingAddress\": \"123 Trading Street, Mumbai\",\n                \"tradingCountry\": \"IN\",\n                \"tradingState\": \"Maharashtra\",\n                \"tradingPostal\": \"400001\",\n                \"corporateAddress\": \"456 Corporate Avenue, Mumbai\",\n                \"corporateCountry\": \"IN\",\n                \"corporateState\": \"Maharashtra\",\n                \"corporatePostal\": \"400002\",\n                \"businessPhone\": \"+912212345678\",\n                \"contactPhone\": \"+919876543210\",\n                \"contactName\": \"Prithvi Kashyap\",\n                \"officerTitle\": \"Director\",\n                \"officerName\": \"Prithvi Kashyap\",\n                \"defaultCurrency\": \"EUR\",\n                \"defaultTimezone\": \"UTC\",\n                \"allowGlobalCollection\": true,\n                \"isLiveTransactionAllowed\": true,\n                \"allowedPaymentMethods\": [\n                    \"PayByBank\"\n                ],\n                \"allowedCurrencies\": [\n                    \"AED\",\n                    \"GBP\"\n                ]\n            },\n            {\n                \"merchantId\": 4354,\n                \"email\": \"test171pg5j2k@aviorapay.co\",\n                \"name\": \"testprithvimerchant2206\",\n                \"legalName\": \"Test Prithvi Merchants Pvt Ltd\",\n                \"regNo\": \"CIN123456789\",\n                \"websiteUrl\": \"https://testprithvi.com\",\n                \"category\": \"3471\",\n                \"iecNo\": \"fdsfkshf\",\n                \"tradingStartDate\": \"2022-01-01\",\n                \"dateOfIncorporation\": \"2021-06-15\",\n                \"tradingAddress\": \"123 Trading Street, Mumbai\",\n                \"tradingCountry\": \"IN\",\n                \"tradingState\": \"Maharashtra\",\n                \"tradingPostal\": \"400001\",\n                \"corporateAddress\": \"456 Corporate Avenue, Mumbai\",\n                \"corporateCountry\": \"IN\",\n                \"corporateState\": \"Maharashtra\",\n                \"corporatePostal\": \"400002\",\n                \"businessPhone\": \"+912212345678\",\n                \"contactPhone\": \"+919876543210\",\n                \"contactName\": \"Prithvi Kashyap\",\n                \"officerTitle\": \"Director\",\n                \"officerName\": \"Prithvi Kashyap\",\n                \"defaultCurrency\": \"EUR\",\n                \"defaultTimezone\": \"EUR\",\n                \"allowGlobalCollection\": false,\n                \"isLiveTransactionAllowed\": false,\n                \"allowedPaymentMethods\": [\n                    \"CREDITCARD\"\n                ],\n                \"allowedCurrencies\": []\n            },\n            {\n                \"merchantId\": 4355,\n                \"email\": \"test171p1g5j2k@aviorapay.co\",\n                \"name\": \"testprithvimerchant2207\",\n                \"legalName\": \"Test Prithvi Merchants Pvt Ltd\",\n                \"regNo\": \"CIN123456789\",\n                \"websiteUrl\": \"https://testprithvi.com\",\n                \"category\": \"3471\",\n                \"iecNo\": \"fdsfkshf\",\n                \"tradingStartDate\": \"2022-01-01\",\n                \"dateOfIncorporation\": \"2021-06-15\",\n                \"tradingAddress\": \"123 Trading Street, Mumbai\",\n                \"tradingCountry\": \"IN\",\n                \"tradingState\": \"Maharashtra\",\n                \"tradingPostal\": \"400001\",\n                \"corporateAddress\": \"456 Corporate Avenue, Mumbai\",\n                \"corporateCountry\": \"IN\",\n                \"corporateState\": \"Maharashtra\",\n                \"corporatePostal\": \"400002\",\n                \"businessPhone\": \"+912212345678\",\n                \"contactPhone\": \"+919876543210\",\n                \"contactName\": \"Prithvi Kashyap\",\n                \"officerTitle\": \"Director\",\n                \"officerName\": \"Prithvi Kashyap\",\n                \"defaultCurrency\": \"EUR\",\n                \"defaultTimezone\": \"EUR\",\n                \"allowGlobalCollection\": false,\n                \"isLiveTransactionAllowed\": false,\n                \"allowedPaymentMethods\": [\n                    \"CREDITCARD\"\n                ],\n                \"allowedCurrencies\": []\n            }\n        ],\n        \"pagination\": {\n            \"currentPage\": 1,\n            \"pageSize\": 30,\n            \"totalElements\": 44,\n            \"totalPages\": 2,\n            \"first\": true,\n            \"last\": false,\n            \"hasNext\": true,\n            \"hasPrevious\": false\n        }\n    },\n    \"message\": \"Merchants fetched successfully\",\n    \"reqId\": \"12344\"\n}"}],"_postman_id":"1f25165c-2a1b-4639-973e-9a727d2d3ead"},{"name":"Delete Merchant API","id":"f3853462-50f2-46c3-ace9-cadc279b268f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"DELETE","header":[{"key":"requestId","value":"123","type":"text"}],"url":"https://app.aviorapay.com/api/v1/external/gc/partner/merchant?merchantId=4229","urlObject":{"path":["external","gc","partner","merchant"],"host":["https://app.aviorapay.com/api/v1"],"query":[{"key":"merchantId","value":"4229"}],"variable":[]}},"response":[{"id":"3b518806-846f-4c21-b332-1581274a55d3","name":"Delete Merchant API","originalRequest":{"method":"DELETE","header":[{"key":"requestId","value":"123","type":"text"}],"url":{"raw":"https://app.aviorapay.com/api/v1/external/gc/partner/merchant?merchantId=4388","host":["https://app.aviorapay.com/api/v1"],"path":["external","gc","partner","merchant"],"query":[{"key":"merchantId","value":"4388"}]}},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[{"key":":status","value":200},{"key":"date","value":"Wed, 06 May 2026 13:34:54 GMT"},{"key":"content-type","value":"application/json"},{"key":"x-session-id","value":"a11db102-9844-43d3-b24c-ae6792bbe319"},{"key":"vary","value":"Origin, Access-Control-Request-Method, Access-Control-Request-Headers"},{"key":"server","value":"Hidden"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-xss-protection","value":"0"},{"key":"cache-control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"0"},{"key":"strict-transport-security","value":"max-age=31536000 ; includeSubDomains"},{"key":"x-frame-options","value":"ALLOW-FROM *"},{"key":"referrer-policy","value":"no-referrer"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"data\": {\n        \"merchantId\": 4388,\n        \"username\": \"testprithvimerchant18\",\n        \"email\": \"test18@aviorapay.co\"\n    },\n    \"message\": \"Merchant deleted successfully\",\n    \"reqId\": \"123\"\n}"}],"_postman_id":"f3853462-50f2-46c3-ace9-cadc279b268f"},{"name":"Create Merchant API","id":"f9db57b0-3e06-4970-af6b-c56a87a62cf4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[{"key":"requestId","value":"abcd","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"username\": \"testprithvimerchant17\",\n    \"mcc\": 3451,\n    \"iecNo\": \"fdsfkshf\",\n    \"allowGlobalCollection\": true,\n    \"legalName\": \"Test Prithvi Merchants Pvt Ltd\",\n    \"name\": \"Test Prithvi Merchants 2\",\n    \"regNo\": \"CIN123456789\",\n    \"emailId\": \"test17@aviorapay.co\",\n    \"websiteUrl\": \"https://testprithvi.com\",\n    \"tradingStartDate\": \"2022-01-01\",\n    \"dateOfIncorporation\": \"2021-06-15\",\n    \"tradingAddress\": \"123 Trading Street, Mumbai\",\n    \"tradingCountry\": \"IN\",\n    \"tradingState\": \"Maharashtra\",\n    \"tradingPostal\": \"400001\",\n    \"corporateAddress\": \"456 Corporate Avenue, Mumbai\",\n    \"corporateCountry\": \"IN\",\n    \"corporateState\": \"Maharashtra\",\n    \"corporatePostal\": \"400002\",\n    \"businessPhone\": \"+912212345678\",\n    \"contactPhone\": \"+919876543210\",\n    \"contactName\": \"Prithvi Kashyap\",\n    \"officerTitle\": \"Director\",\n    \"officerName\": \"Prithvi Kashyap\",\n    \"defaultCurrency\": \"EUR\",\n    \"defaultTimezone\": \"UTC\",\n    \"allowedPaymentMethods\": [\n        \"PayByBank\"\n    ],\n    \"allowedCurrencies\": [\"GBP\", \"USD\"],\n    \"isLiveTransactionAllowed\": true\n}","options":{"raw":{"language":"json"}}},"url":"https://app.aviorapay.com/api/v1/external/gc/partner/merchant","urlObject":{"path":["external","gc","partner","merchant"],"host":["https://app.aviorapay.com/api/v1"],"query":[],"variable":[]}},"response":[{"id":"9e047e0b-5a38-4c46-b4a8-19ff2ef72b6e","name":"Create Merchant API","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","disabled":true},{"key":"requestId","value":"abcd","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"username\": \"testprithvimerchant18\",\n    \"mcc\": 3451,\n    \"iecNo\": \"fdsfkshf\",\n    \"allowGlobalCollection\": true,\n    \"legalName\": \"Test Prithvi Merchants Pvt Ltd\",\n    \"name\": \"Test Prithvi Merchants 2\",\n    \"regNo\": \"CIN123456789\",\n    \"emailId\": \"test18@aviorapay.co\",\n    \"websiteUrl\": \"https://testprithvi.com\",\n    \"tradingStartDate\": \"2022-01-01\",\n    \"dateOfIncorporation\": \"2021-06-15\",\n    \"tradingAddress\": \"123 Trading Street, Mumbai\",\n    \"tradingCountry\": \"IN\",\n    \"tradingState\": \"Maharashtra\",\n    \"tradingPostal\": \"400001\",\n    \"corporateAddress\": \"456 Corporate Avenue, Mumbai\",\n    \"corporateCountry\": \"IN\",\n    \"corporateState\": \"Maharashtra\",\n    \"corporatePostal\": \"400002\",\n    \"businessPhone\": \"+912212345678\",\n    \"contactPhone\": \"+919876543210\",\n    \"contactName\": \"Prithvi Kashyap\",\n    \"officerTitle\": \"Director\",\n    \"officerName\": \"Prithvi Kashyap\",\n    \"defaultCurrency\": \"EUR\",\n    \"defaultTimezone\": \"UTC\",\n    \"allowedPaymentMethods\": [\n        \"PayByBank\"\n    ],\n    \"allowedCurrencies\": [\"GBP\", \"USD\"],\n    \"isLiveTransactionAllowed\": true\n}","options":{"raw":{"language":"json"}}},"url":"https://app.aviorapay.com/api/v1/external/gc/partner/merchant"},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[{"key":":status","value":200},{"key":"date","value":"Wed, 06 May 2026 13:35:01 GMT"},{"key":"content-type","value":"application/json"},{"key":"x-session-id","value":"eef75515-b968-4e21-9665-ced7a6fe00d7"},{"key":"vary","value":"Origin, Access-Control-Request-Method, Access-Control-Request-Headers"},{"key":"server","value":"Hidden"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-xss-protection","value":"0"},{"key":"cache-control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"0"},{"key":"strict-transport-security","value":"max-age=31536000 ; includeSubDomains"},{"key":"x-frame-options","value":"ALLOW-FROM *"},{"key":"referrer-policy","value":"no-referrer"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"data\": {\n        \"merchantId\": 4389,\n        \"username\": \"testprithvimerchant18\",\n        \"email\": \"test18@aviorapay.co\"\n    },\n    \"message\": \"Merchant created successfully\",\n    \"reqId\": \"abcd\"\n}"}],"_postman_id":"f9db57b0-3e06-4970-af6b-c56a87a62cf4"},{"name":"Update merchant","id":"c0adbf00-0596-46db-86fc-abd1177a8890","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"PUT","header":[{"key":"requestId","value":"123","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"legalName\": \"Test Prithvirajtest2 Merchants Pvt Ltd\",\n    \"regNo\": \"CIN123456789\",\n    \"websiteUrl\": \"https://testprithvi.com\",\n    \"iecNo\": \"fdsfkshf\",\n    \"tradingStartDate\": \"2022-01-01\",\n    \"dateOfIncorporation\": \"2021-06-15\",\n    \"tradingAddress\": \"123 Trading Street, Mumbai\",\n    \"tradingCountry\": \"IN\",\n    \"tradingState\": \"Maharashtra\",\n    \"tradingPostal\": \"400001\",\n    \"corporateAddress\": \"456 Corporate Avenue, Mumbai\",\n    \"corporateCountry\": \"IN\",\n    \"corporateState\": \"Maharashtra\",\n    \"corporatePostal\": \"400002\",\n    \"businessPhone\": \"+912212345678\",\n    \"contactPhone\": \"+919876543210\",\n    \"contactName\": \"Prithvi Kashyap\",\n    \"officerTitle\": \"Director\",\n    \"officerName\": \"Prithvi Kashyap\",\n    \"defaultCurrency\": \"EUR\",\n    \"defaultTimezone\": \"UTC\",\n    \"allowedPaymentMethods\": [\n        \"PayByBank\"\n    ],\n    \"allowedCurrencies\": [\"GBP\", \"AED\"],\n    \"isLiveTransactionAllowed\": true\n}","options":{"raw":{"language":"json"}}},"url":"https://app.aviorapay.com/api/v1/external/gc/partner/merchant/4230","urlObject":{"path":["external","gc","partner","merchant","4230"],"host":["https://app.aviorapay.com/api/v1"],"query":[],"variable":[]}},"response":[{"id":"3d90d5f1-05bb-4fc7-8cbc-ab66a088b20a","name":"Update merchant","originalRequest":{"method":"PUT","header":[{"key":"requestId","value":"123","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"legalName\": \"Test Prithvirajtest2 Merchants Pvt Ltd\",\n    \"regNo\": \"CIN123456789\",\n    \"websiteUrl\": \"https://testprithvi.com\",\n    \"iecNo\": \"fdsfkshf\",\n    \"tradingStartDate\": \"2022-01-01\",\n    \"dateOfIncorporation\": \"2021-06-15\",\n    \"tradingAddress\": \"123 Trading Street, Mumbai\",\n    \"tradingCountry\": \"IN\",\n    \"tradingState\": \"Maharashtra\",\n    \"tradingPostal\": \"400001\",\n    \"corporateAddress\": \"456 Corporate Avenue, Mumbai\",\n    \"corporateCountry\": \"IN\",\n    \"corporateState\": \"Maharashtra\",\n    \"corporatePostal\": \"400002\",\n    \"businessPhone\": \"+912212345678\",\n    \"contactPhone\": \"+919876543210\",\n    \"contactName\": \"Prithvi Kashyap\",\n    \"officerTitle\": \"Director\",\n    \"officerName\": \"Prithvi Kashyap\",\n    \"defaultCurrency\": \"EUR\",\n    \"defaultTimezone\": \"UTC\",\n    \"allowedPaymentMethods\": [\n        \"PayByBank\"\n    ],\n    \"allowedCurrencies\": [\"GBP\", \"AED\"],\n    \"isLiveTransactionAllowed\": true\n}","options":{"raw":{"language":"json"}}},"url":"https://app.aviorapay.com/api/v1/external/gc/partner/merchant/4389"},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[{"key":":status","value":200},{"key":"date","value":"Wed, 06 May 2026 13:35:11 GMT"},{"key":"content-type","value":"application/json"},{"key":"x-session-id","value":"0616f484-fb7c-475b-b8b3-53dff2a58fb3"},{"key":"vary","value":"Origin, Access-Control-Request-Method, Access-Control-Request-Headers"},{"key":"server","value":"Hidden"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-xss-protection","value":"0"},{"key":"cache-control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"0"},{"key":"strict-transport-security","value":"max-age=31536000 ; includeSubDomains"},{"key":"x-frame-options","value":"ALLOW-FROM *"},{"key":"referrer-policy","value":"no-referrer"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"data\": {\n        \"merchantId\": 4389\n    },\n    \"message\": \"Merchant details updated successfully\",\n    \"reqId\": \"123\"\n}"}],"_postman_id":"c0adbf00-0596-46db-86fc-abd1177a8890"},{"name":"Create Merchant API Token","id":"8b5da68f-a32a-4c45-a870-14fed82cb654","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[{"key":"requestId","value":"abcd","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"apiLabel\": \"testlabel18\",\n    \"isSandbox\": false\n}","options":{"raw":{"language":"json"}}},"url":"https://app.aviorapay.com/api/v1/external/gc/partner/merchant/4230/api-key","urlObject":{"path":["external","gc","partner","merchant","4230","api-key"],"host":["https://app.aviorapay.com/api/v1"],"query":[],"variable":[]}},"response":[{"id":"f872a4bb-bbf4-49c7-9c7b-9d1ad83a47ad","name":"Create Merchant API Token","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","disabled":true},{"key":"requestId","value":"abcd","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"apiLabel\": \"testlabel18\",\n    \"isSandbox\": false\n}","options":{"raw":{"language":"json"}}},"url":"https://app.aviorapay.com/api/v1/external/gc/partner/merchant/4389/api-key"},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[{"key":":status","value":200},{"key":"date","value":"Wed, 06 May 2026 13:35:28 GMT"},{"key":"content-type","value":"application/json"},{"key":"x-session-id","value":"494f6297-203a-49f0-9fa8-aed7331e7558"},{"key":"vary","value":"Origin, Access-Control-Request-Method, Access-Control-Request-Headers"},{"key":"server","value":"Hidden"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-xss-protection","value":"0"},{"key":"cache-control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"0"},{"key":"strict-transport-security","value":"max-age=31536000 ; includeSubDomains"},{"key":"x-frame-options","value":"ALLOW-FROM *"},{"key":"referrer-policy","value":"no-referrer"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"data\": {\n        \"merchantId\": 4389,\n        \"apiKey\": \"baf09d9df4bfae6af3db9901bb22ab235b8eb8104f6c45f97570104c31b1cd4c\",\n        \"isSandbox\": false\n    },\n    \"message\": \"Merchant token generated successfully\",\n    \"reqId\": \"abcd\"\n}"}],"_postman_id":"8b5da68f-a32a-4c45-a870-14fed82cb654"},{"name":"Get single merchant","id":"23a51105-f962-44a9-97a6-9adff7d4368d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[{"key":"requestId","value":"123456","type":"text"}],"url":"https://app.aviorapay.com/api/v1/external/gc/partner/merchant/4230","urlObject":{"path":["external","gc","partner","merchant","4230"],"host":["https://app.aviorapay.com/api/v1"],"query":[],"variable":[]}},"response":[{"id":"c6ac5185-9444-4783-9eaa-1e80c08d8bf8","name":"Get single merchant","originalRequest":{"method":"GET","header":[{"key":"requestId","value":"123456","type":"text"}],"url":"https://app.aviorapay.com/api/v1/external/gc/partner/merchant/4230"},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[{"key":":status","value":200},{"key":"date","value":"Wed, 06 May 2026 13:37:16 GMT"},{"key":"content-type","value":"application/json"},{"key":"x-session-id","value":"385e33c8-39d1-4031-9442-eb0f1adfb46d"},{"key":"vary","value":"Origin, Access-Control-Request-Method, Access-Control-Request-Headers"},{"key":"server","value":"Hidden"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-xss-protection","value":"0"},{"key":"cache-control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"0"},{"key":"strict-transport-security","value":"max-age=31536000 ; includeSubDomains"},{"key":"x-frame-options","value":"ALLOW-FROM *"},{"key":"referrer-policy","value":"no-referrer"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"data\": {\n        \"merchantId\": 4230,\n        \"email\": \"test17@aviorapay.co\",\n        \"name\": \"testprithvimerchant17\",\n        \"legalName\": \"Test Prithvirajtest2 Merchants Pvt Ltd\",\n        \"regNo\": \"CIN123456789\",\n        \"websiteUrl\": \"https://testprithvi.com\",\n        \"category\": \"3451\",\n        \"iecNo\": \"fdsfkshf\",\n        \"tradingStartDate\": \"2022-01-01\",\n        \"dateOfIncorporation\": \"2021-06-15\",\n        \"tradingAddress\": \"123 Trading Street, Mumbai\",\n        \"tradingCountry\": \"IN\",\n        \"tradingState\": \"Maharashtra\",\n        \"tradingPostal\": \"400001\",\n        \"corporateAddress\": \"456 Corporate Avenue, Mumbai\",\n        \"corporateCountry\": \"IN\",\n        \"corporateState\": \"Maharashtra\",\n        \"corporatePostal\": \"400002\",\n        \"businessPhone\": \"+912212345678\",\n        \"contactPhone\": \"+919876543210\",\n        \"contactName\": \"Prithvi Kashyap\",\n        \"officerTitle\": \"Director\",\n        \"officerName\": \"Prithvi Kashyap\",\n        \"defaultCurrency\": \"EUR\",\n        \"defaultTimezone\": \"UTC\",\n        \"allowGlobalCollection\": true,\n        \"isLiveTransactionAllowed\": true,\n        \"allowedPaymentMethods\": [\n            \"PayByBank\"\n        ],\n        \"allowedCurrencies\": [\n            \"AED\",\n            \"GBP\"\n        ]\n    },\n    \"message\": \"Merchant details fetched successfully\",\n    \"reqId\": \"123456\"\n}"},{"id":"d74279f9-93fc-4cc1-8c8b-b08b85f90444","name":"Get single merchant","originalRequest":{"method":"GET","header":[{"key":"requestId","value":"123456","type":"text"}],"url":"https://app.aviorapay.com/api/v1/external/gc/partner/merchant/4230"},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[{"key":":status","value":200},{"key":"date","value":"Wed, 06 May 2026 13:37:16 GMT"},{"key":"content-type","value":"application/json"},{"key":"x-session-id","value":"385e33c8-39d1-4031-9442-eb0f1adfb46d"},{"key":"vary","value":"Origin, Access-Control-Request-Method, Access-Control-Request-Headers"},{"key":"server","value":"Hidden"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-xss-protection","value":"0"},{"key":"cache-control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"0"},{"key":"strict-transport-security","value":"max-age=31536000 ; includeSubDomains"},{"key":"x-frame-options","value":"ALLOW-FROM *"},{"key":"referrer-policy","value":"no-referrer"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"data\": {\n        \"merchantId\": 4230,\n        \"email\": \"test17@aviorapay.co\",\n        \"name\": \"testprithvimerchant17\",\n        \"legalName\": \"Test Prithvirajtest2 Merchants Pvt Ltd\",\n        \"regNo\": \"CIN123456789\",\n        \"websiteUrl\": \"https://testprithvi.com\",\n        \"category\": \"3451\",\n        \"iecNo\": \"fdsfkshf\",\n        \"tradingStartDate\": \"2022-01-01\",\n        \"dateOfIncorporation\": \"2021-06-15\",\n        \"tradingAddress\": \"123 Trading Street, Mumbai\",\n        \"tradingCountry\": \"IN\",\n        \"tradingState\": \"Maharashtra\",\n        \"tradingPostal\": \"400001\",\n        \"corporateAddress\": \"456 Corporate Avenue, Mumbai\",\n        \"corporateCountry\": \"IN\",\n        \"corporateState\": \"Maharashtra\",\n        \"corporatePostal\": \"400002\",\n        \"businessPhone\": \"+912212345678\",\n        \"contactPhone\": \"+919876543210\",\n        \"contactName\": \"Prithvi Kashyap\",\n        \"officerTitle\": \"Director\",\n        \"officerName\": \"Prithvi Kashyap\",\n        \"defaultCurrency\": \"EUR\",\n        \"defaultTimezone\": \"UTC\",\n        \"allowGlobalCollection\": true,\n        \"isLiveTransactionAllowed\": true,\n        \"allowedPaymentMethods\": [\n            \"PayByBank\"\n        ],\n        \"allowedCurrencies\": [\n            \"AED\",\n            \"GBP\"\n        ]\n    },\n    \"message\": \"Merchant details fetched successfully\",\n    \"reqId\": \"123456\"\n}"}],"_postman_id":"23a51105-f962-44a9-97a6-9adff7d4368d"},{"name":"Get Missing invoice transactions","id":"8f00760e-1be0-4be3-bddd-338ac158cc28","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[{"key":"requestId","value":"123456","type":"text"}],"url":"https://app.aviorapay.com/api/v1/external/gc/partner/transactions/missing-invoice?page=1&size=4","urlObject":{"path":["external","gc","partner","transactions","missing-invoice"],"host":["https://app.aviorapay.com/api/v1"],"query":[{"disabled":true,"key":"merchantId","value":"4151"},{"key":"page","value":"1"},{"key":"size","value":"4"}],"variable":[]}},"response":[{"id":"f53c496b-a5a1-4f4f-bbe8-ce3dd804b410","name":"Get Missing invoice transactions","originalRequest":{"method":"GET","header":[{"key":"requestId","value":"123456","type":"text"}],"url":{"raw":"https://app.aviorapay.com/api/v1/external/gc/partner/transactions/missing-invoice?page=1&size=4","host":["https://app.aviorapay.com/api/v1"],"path":["external","gc","partner","transactions","missing-invoice"],"query":[{"key":"merchantId","value":"4151","disabled":true},{"key":"page","value":"1"},{"key":"size","value":"4"}]}},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[{"key":":status","value":200},{"key":"date","value":"Wed, 06 May 2026 13:37:38 GMT"},{"key":"content-type","value":"application/json"},{"key":"x-session-id","value":"c523e046-fdfc-402d-8148-95fd2a1aa935"},{"key":"vary","value":"Origin, Access-Control-Request-Method, Access-Control-Request-Headers"},{"key":"server","value":"Hidden"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-xss-protection","value":"0"},{"key":"cache-control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"0"},{"key":"strict-transport-security","value":"max-age=31536000 ; includeSubDomains"},{"key":"x-frame-options","value":"ALLOW-FROM *"},{"key":"referrer-policy","value":"no-referrer"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"data\": {\n        \"transactions\": [\n            {\n                \"transactionId\": \"69d79150aa6d618c9b4e5da1\",\n                \"amount\": 1,\n                \"currency\": \"GBP\",\n                \"createdDate\": 1775735120\n            },\n            {\n                \"transactionId\": \"69d627aafbb9070a716e284b\",\n                \"amount\": 1,\n                \"currency\": \"GBP\",\n                \"createdDate\": 1775642538\n            },\n            {\n                \"transactionId\": \"69d6277afbb9070a716e252b\",\n                \"amount\": 1,\n                \"currency\": \"GBP\",\n                \"createdDate\": 1775642490\n            },\n            {\n                \"transactionId\": \"69cced964235594c815952fc\",\n                \"amount\": 1,\n                \"currency\": \"GBP\",\n                \"createdDate\": 1775037848\n            }\n        ],\n        \"pagination\": {\n            \"currentPage\": 1,\n            \"pageSize\": 4,\n            \"totalElements\": 6,\n            \"totalPages\": 2,\n            \"first\": true,\n            \"last\": false,\n            \"hasNext\": true,\n            \"hasPrevious\": false\n        }\n    },\n    \"message\": \"Missing invoice transactions fetched successfully\",\n    \"reqId\": \"123456\"\n}"}],"_postman_id":"8f00760e-1be0-4be3-bddd-338ac158cc28"},{"name":"Get Settlement Data","id":"7dc10cd9-fad9-4f04-b75d-368a6c40af12","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[{"key":"requestId","value":"123456","type":"text"}],"url":"https://app.aviorapay.com/api/v1/external/gc/partner/settlements?fromDate=2025-01-01&toDate=2026-01-01&status=settled&pageNo=1&size=10","urlObject":{"path":["external","gc","partner","settlements"],"host":["https://app.aviorapay.com/api/v1"],"query":[{"key":"fromDate","value":"2025-01-01"},{"key":"toDate","value":"2026-01-01"},{"key":"status","value":"settled"},{"key":"pageNo","value":"1"},{"key":"size","value":"10"}],"variable":[]}},"response":[{"id":"fdaffd86-8e22-4e52-a6c8-e4b6fa7f68bf","name":"Get Settlement Data","originalRequest":{"method":"GET","header":[{"key":"requestId","value":"123456","type":"text"}],"url":{"raw":"https://app.aviorapay.com/api/v1/external/gc/partner/settlements?fromDate=2025-01-01&toDate=2026-01-01&status=settled&pageNo=1&size=10","host":["https://app.aviorapay.com/api/v1"],"path":["external","gc","partner","settlements"],"query":[{"key":"fromDate","value":"2025-01-01"},{"key":"toDate","value":"2026-01-01"},{"key":"status","value":"settled"},{"key":"pageNo","value":"1"},{"key":"size","value":"10"}]}},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[{"key":":status","value":200},{"key":"date","value":"Wed, 06 May 2026 13:37:44 GMT"},{"key":"content-type","value":"application/json"},{"key":"x-session-id","value":"8e5c11fd-a1e1-4798-a9a5-9869a1b8195b"},{"key":"vary","value":"Origin, Access-Control-Request-Method, Access-Control-Request-Headers"},{"key":"server","value":"Hidden"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-xss-protection","value":"0"},{"key":"cache-control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"0"},{"key":"strict-transport-security","value":"max-age=31536000 ; includeSubDomains"},{"key":"x-frame-options","value":"ALLOW-FROM *"},{"key":"referrer-policy","value":"no-referrer"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"data\": {\n        \"settlements\": [\n            {\n                \"settlementId\": \"1234\",\n                \"amount\": 100,\n                \"currency\": \"USD\",\n                \"status\": \"settled\",\n                \"settledOn\": -41795\n            },\n            {\n                \"settlementId\": \"5678\",\n                \"amount\": 100,\n                \"currency\": \"USD\",\n                \"status\": \"settled\",\n                \"settledOn\": -41795\n            }\n        ],\n        \"pagination\": {\n            \"currentPage\": 1,\n            \"pageSize\": 2,\n            \"totalElements\": 2,\n            \"totalPages\": 1,\n            \"first\": true,\n            \"last\": true,\n            \"hasNext\": false,\n            \"hasPrevious\": false\n        }\n    },\n    \"reqId\": \"123456\"\n}"}],"_postman_id":"7dc10cd9-fad9-4f04-b75d-368a6c40af12"},{"name":"Delete merchant token","id":"4f327d68-4a1c-4c18-9d52-2b79a15fecd1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"DELETE","header":[{"key":"requestId","value":"123","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://app.aviorapay.com/api/v1/external/gc/partner/merchant/4230/api-key?token=0382c1e93f579d2da9a93d1e1bdfe6781b81335f8501e7551e9f64404caf38e4","urlObject":{"path":["external","gc","partner","merchant","4230","api-key"],"host":["https://app.aviorapay.com/api/v1"],"query":[{"key":"token","value":"0382c1e93f579d2da9a93d1e1bdfe6781b81335f8501e7551e9f64404caf38e4"}],"variable":[]}},"response":[{"id":"ba6deb93-c301-40a5-a16f-8a5098cecd36","name":"Delete merchant token","originalRequest":{"method":"DELETE","header":[{"key":"requestId","value":"123","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":{"raw":"https://app.aviorapay.com/api/v1/external/gc/partner/merchant/4389/api-key?token=baf09d9df4bfae6af3db9901bb22ab235b8eb8104f6c45f97570104c31b1cd4c","host":["https://app.aviorapay.com/api/v1"],"path":["external","gc","partner","merchant","4389","api-key"],"query":[{"key":"token","value":"baf09d9df4bfae6af3db9901bb22ab235b8eb8104f6c45f97570104c31b1cd4c"}]}},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[{"key":":status","value":200},{"key":"date","value":"Wed, 06 May 2026 13:36:03 GMT"},{"key":"content-type","value":"application/json"},{"key":"x-session-id","value":"cd421d89-df9a-4817-9538-f8520a966043"},{"key":"vary","value":"Origin, Access-Control-Request-Method, Access-Control-Request-Headers"},{"key":"server","value":"Hidden"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-xss-protection","value":"0"},{"key":"cache-control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"0"},{"key":"strict-transport-security","value":"max-age=31536000 ; includeSubDomains"},{"key":"x-frame-options","value":"ALLOW-FROM *"},{"key":"referrer-policy","value":"no-referrer"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"data\": {\n        \"merchantId\": 4389,\n        \"username\": \"testprithvimerchant18\",\n        \"email\": null\n    },\n    \"message\": \"Merchant token deleted successfully\",\n    \"reqId\": \"123\"\n}"}],"_postman_id":"4f327d68-4a1c-4c18-9d52-2b79a15fecd1"},{"name":"Create brand ID","id":"fd5316e3-94eb-49f2-91b5-d62c5aefe685","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[{"key":"requestId","value":"123","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"Sample brand name1\"\n}","options":{"raw":{"language":"json"}}},"url":"https://app.aviorapay.com/api/v1/external/gc/partner/merchant/4230/brand","urlObject":{"path":["external","gc","partner","merchant","4230","brand"],"host":["https://app.aviorapay.com/api/v1"],"query":[],"variable":[]}},"response":[{"id":"7ac96d93-7c88-4c43-a2c7-570c18259d68","name":"Create brand ID","originalRequest":{"method":"POST","header":[{"key":"requestId","value":"123","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"Sample brand name2\"\n}","options":{"raw":{"language":"json"}}},"url":"https://app.aviorapay.com/api/v1/external/gc/partner/merchant/4230/brand"},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[{"key":":status","value":200},{"key":"date","value":"Wed, 06 May 2026 13:36:21 GMT"},{"key":"content-type","value":"application/json"},{"key":"x-session-id","value":"b9369e86-cbe6-4946-9c17-1570ce137562"},{"key":"vary","value":"Origin, Access-Control-Request-Method, Access-Control-Request-Headers"},{"key":"server","value":"Hidden"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-xss-protection","value":"0"},{"key":"cache-control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"0"},{"key":"strict-transport-security","value":"max-age=31536000 ; includeSubDomains"},{"key":"x-frame-options","value":"ALLOW-FROM *"},{"key":"referrer-policy","value":"no-referrer"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"data\": {\n        \"id\": 1000077,\n        \"name\": \"Sample brand name2\",\n        \"brandId\": \"1d01b37c-bd35-4727-85f9-f0b1448dad67\",\n        \"merchantId\": 4230\n    },\n    \"message\": \"Brand created successfully\",\n    \"reqId\": \"123\"\n}"}],"_postman_id":"fd5316e3-94eb-49f2-91b5-d62c5aefe685"},{"name":"Delete brand ID","id":"2f81e65a-0898-4c44-8b03-0cc49b401492","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"DELETE","header":[{"key":"requestId","value":"123","type":"text"}],"url":"https://app.aviorapay.com/api/v1/external/gc/partner/merchant/4230/brand?brandId=c2e82dfa-b074-49fe-8e1e-2f2d2c22fefc","urlObject":{"path":["external","gc","partner","merchant","4230","brand"],"host":["https://app.aviorapay.com/api/v1"],"query":[{"key":"brandId","value":"c2e82dfa-b074-49fe-8e1e-2f2d2c22fefc"}],"variable":[]}},"response":[{"id":"ec5be56a-dc43-406d-8db7-bbadf00f9084","name":"Delete brand ID","originalRequest":{"method":"DELETE","header":[{"key":"requestId","value":"123","type":"text"}],"url":{"raw":"https://app.aviorapay.com/api/v1/external/gc/partner/merchant/4230/brand?brandId=1d01b37c-bd35-4727-85f9-f0b1448dad67","host":["https://app.aviorapay.com/api/v1"],"path":["external","gc","partner","merchant","4230","brand"],"query":[{"key":"brandId","value":"1d01b37c-bd35-4727-85f9-f0b1448dad67"}]}},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[{"key":":status","value":200},{"key":"date","value":"Wed, 06 May 2026 13:36:32 GMT"},{"key":"content-type","value":"application/json"},{"key":"x-session-id","value":"3757deab-5fa7-4a78-a097-e887cd1b3b04"},{"key":"vary","value":"Origin, Access-Control-Request-Method, Access-Control-Request-Headers"},{"key":"server","value":"Hidden"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-xss-protection","value":"0"},{"key":"cache-control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"0"},{"key":"strict-transport-security","value":"max-age=31536000 ; includeSubDomains"},{"key":"x-frame-options","value":"ALLOW-FROM *"},{"key":"referrer-policy","value":"no-referrer"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"data\": {\n        \"id\": 1000077,\n        \"name\": \"Sample brand name2\",\n        \"brandId\": \"1d01b37c-bd35-4727-85f9-f0b1448dad67\",\n        \"merchantId\": 4230\n    },\n    \"message\": \"Brand deleted successfully\",\n    \"reqId\": \"123\"\n}"}],"_postman_id":"2f81e65a-0898-4c44-8b03-0cc49b401492"},{"name":"Request global account","id":"05f5a7d9-64b7-4066-a48c-5bcaaaa7260f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[{"key":"requestId","value":"12331","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"country\": \"AE\",\n    \"currency\": \"AED\"\n}","options":{"raw":{"language":"json"}}},"url":"https://app.aviorapay.com/api/v1/external/gc/partner/merchant/4230/global-account","urlObject":{"path":["external","gc","partner","merchant","4230","global-account"],"host":["https://app.aviorapay.com/api/v1"],"query":[],"variable":[]}},"response":[{"id":"54e660cb-dc19-4a72-b7c4-eb25bbe341db","name":"Request global account","originalRequest":{"method":"POST","header":[{"key":"requestId","value":"12331","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"country\": \"AE\",\n    \"currency\": \"GBP\"\n}","options":{"raw":{"language":"json"}}},"url":"https://app.aviorapay.com/api/v1/external/gc/partner/merchant/4212/global-account"},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[{"key":":status","value":200},{"key":"date","value":"Wed, 06 May 2026 13:37:03 GMT"},{"key":"content-type","value":"application/json"},{"key":"x-session-id","value":"4327d3bb-c09d-4a23-aca8-2bcefbf6e8e9"},{"key":"vary","value":"Origin, Access-Control-Request-Method, Access-Control-Request-Headers"},{"key":"server","value":"Hidden"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-xss-protection","value":"0"},{"key":"cache-control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"0"},{"key":"strict-transport-security","value":"max-age=31536000 ; includeSubDomains"},{"key":"x-frame-options","value":"ALLOW-FROM *"},{"key":"referrer-policy","value":"no-referrer"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"data\": {\n        \"country\": \"AE\",\n        \"currency\": \"GBP\",\n        \"status\": \"pending\",\n        \"accountNo\": \"GC-AE-GBP-20260506-980-CED9D5\",\n        \"createdOn\": 1778074623\n    },\n    \"message\": \"Global account request submitted\"\n}"}],"_postman_id":"05f5a7d9-64b7-4066-a48c-5bcaaaa7260f"},{"name":"Get global accounts","id":"9fcdb7a5-1d94-4fa0-a04a-c61dcad4d3a8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[{"key":"requestId","value":"12331","type":"text"}],"url":"https://app.aviorapay.com/api/v1/external/gc/partner/merchant/4212/global-account","urlObject":{"path":["external","gc","partner","merchant","4212","global-account"],"host":["https://app.aviorapay.com/api/v1"],"query":[],"variable":[]}},"response":[{"id":"11190aa5-4ec8-44b6-875e-bf331f775780","name":"Get global accounts","originalRequest":{"method":"GET","header":[{"key":"requestId","value":"12331","type":"text"}],"url":"https://app.aviorapay.com/api/v1/external/gc/partner/merchant/4212/global-account"},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[{"key":":status","value":200},{"key":"date","value":"Wed, 06 May 2026 13:37:08 GMT"},{"key":"content-type","value":"application/json"},{"key":"x-session-id","value":"a04fb141-c63f-4ec2-9bf1-51f7a12e456a"},{"key":"vary","value":"Origin, Access-Control-Request-Method, Access-Control-Request-Headers"},{"key":"server","value":"Hidden"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-xss-protection","value":"0"},{"key":"cache-control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"0"},{"key":"strict-transport-security","value":"max-age=31536000 ; includeSubDomains"},{"key":"x-frame-options","value":"ALLOW-FROM *"},{"key":"referrer-policy","value":"no-referrer"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"data\": [\n        {\n            \"country\": \"FR\",\n            \"currency\": \"GBP\",\n            \"status\": \"pending\",\n            \"accountNo\": \"GC-FR-GBP-20260409-980-FE2004\",\n            \"createdOn\": 1775732111\n        },\n        {\n            \"country\": \"AE\",\n            \"currency\": \"AED\",\n            \"status\": \"active\",\n            \"accountNo\": \"GC-AE-AED-20260504-980-54FA8D\",\n            \"createdOn\": 1777887002\n        },\n        {\n            \"country\": \"AE\",\n            \"currency\": \"GBP\",\n            \"status\": \"pending\",\n            \"accountNo\": \"GC-AE-GBP-20260506-980-CED9D5\",\n            \"createdOn\": 1778074623\n        }\n    ],\n    \"message\": \"Global collection fetched successfully\",\n    \"reqId\": \"12331\"\n}"}],"_postman_id":"9fcdb7a5-1d94-4fa0-a04a-c61dcad4d3a8"},{"name":"bulk update invoice no","id":"dccf1f62-5ee7-4cbd-9993-bffe33ad49c6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"PATCH","header":[{"key":"requestId","value":"abcd","type":"text"}],"body":{"mode":"raw","raw":"[\n    {\n        \"transactionId\": \"69cceeba4235594c8159559f\",\n        \"invoiceNo\": \"inv123\"\n    },\n    {\n        \"transactionId\": \"temp\",\n        \"invoiceNo\": \"inv123\"\n    }\n]","options":{"raw":{"language":"json"}}},"url":"https://app.aviorapay.com/api/v1/external/gc/partner/transactions/invoice","urlObject":{"path":["external","gc","partner","transactions","invoice"],"host":["https://app.aviorapay.com/api/v1"],"query":[],"variable":[]}},"response":[{"id":"2d898761-2d8d-48fc-a6a8-bfdb37324db1","name":"bulk update invoice no","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json","disabled":true},{"key":"requestId","value":"abcd","type":"text"}],"body":{"mode":"raw","raw":"[\n    {\n        \"transactionId\": \"69cceeba4235594c8159559f\",\n        \"invoiceNo\": \"inv123\"\n    },\n    {\n        \"transactionId\": \"temp\",\n        \"invoiceNo\": \"inv123\"\n    }\n]","options":{"raw":{"language":"json"}}},"url":"https://app.aviorapay.com/api/v1/external/gc/partner/transactions/invoice"},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[{"key":":status","value":200},{"key":"date","value":"Wed, 06 May 2026 13:37:12 GMT"},{"key":"content-type","value":"application/json"},{"key":"x-session-id","value":"e19be498-d831-4f02-861b-62da1907e1b4"},{"key":"vary","value":"Origin, Access-Control-Request-Method, Access-Control-Request-Headers"},{"key":"server","value":"Hidden"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-xss-protection","value":"0"},{"key":"cache-control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"0"},{"key":"strict-transport-security","value":"max-age=31536000 ; includeSubDomains"},{"key":"x-frame-options","value":"ALLOW-FROM *"},{"key":"referrer-policy","value":"no-referrer"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"data\": {\n        \"updatedCount\": 1,\n        \"skippedTransactionIds\": [\n            \"temp\"\n        ]\n    },\n    \"message\": \"Bulk invoice update completed\",\n    \"reqId\": \"abcd\"\n}"}],"_postman_id":"dccf1f62-5ee7-4cbd-9993-bffe33ad49c6"}],"id":"1255f547-fc62-486e-aee2-db0b636f2b61","_postman_id":"1255f547-fc62-486e-aee2-db0b636f2b61","description":""},{"name":"Payout Manual Review","item":[{"name":"List Payouts","id":"04879e00-2f67-47f9-baa5-0e7567842d4d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer 8da995239b46dcf253ba063d100150b81ffd80c04db21d6ac8cd103ddb606420"}],"url":"https://app.aviorapay.com/api/v1/external/transactions/payout/list?page_no=1&page_size=10&status=error&timezone=Asia%2FKolkata&start_date=2025-01-01%2000%3A00%3A00&end_date=2026-04-27%2000%3A00%3A00&payment_method=PAYOUT-SPEI%2C%20PAYOUT-INTERAC-ETRANSFER&email=testmail+2%40gmail.com%2C%testmail+2669%40gmail.com&customer_segment=NA","urlObject":{"path":["external","transactions","payout","list"],"host":["https://app.aviorapay.com/api/v1"],"query":[{"key":"page_no","value":"1"},{"key":"page_size","value":"10"},{"key":"status","value":"error"},{"key":"timezone","value":"Asia%2FKolkata"},{"key":"start_date","value":"2025-01-01%2000%3A00%3A00"},{"key":"end_date","value":"2026-04-27%2000%3A00%3A00"},{"key":"payment_method","value":"PAYOUT-SPEI%2C%20PAYOUT-INTERAC-ETRANSFER"},{"key":"email","value":"testmail+2%40gmail.com%2C%testmail+2669%40gmail.com"},{"key":"customer_segment","value":"NA"}],"variable":[]}},"response":[],"_postman_id":"04879e00-2f67-47f9-baa5-0e7567842d4d"},{"name":"Approve Payout","id":"6c00c2b9-6c2f-4003-a9e8-3e9e19d53800","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{api_key}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{}","options":{"raw":{"language":"json"}}},"url":"https://app.aviorapay.com/api/v1/payouts/{{payout_id}}/action?action=approve","urlObject":{"path":["payouts","{{payout_id}}","action"],"host":["https://app.aviorapay.com/api/v1"],"query":[{"key":"action","value":"approve"}],"variable":[]}},"response":[],"_postman_id":"6c00c2b9-6c2f-4003-a9e8-3e9e19d53800"},{"name":"Approve Payout With Remarks","id":"74827970-c556-4011-9cef-619a36284742","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{api_key}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"remarks\": \"Verified against invoice #4821\"\n  }","options":{"raw":{"language":"json"}}},"url":"https://app.aviorapay.com/api/v1/payouts/{{payout_id}}/action?action=approve","urlObject":{"path":["payouts","{{payout_id}}","action"],"host":["https://app.aviorapay.com/api/v1"],"query":[{"key":"action","value":"approve"}],"variable":[]}},"response":[],"_postman_id":"74827970-c556-4011-9cef-619a36284742"},{"name":"Reject Payout","id":"61cf36a5-4558-445f-9710-65a1f7f9d3f4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{api_key}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{}","options":{"raw":{"language":"json"}}},"url":"https://app.aviorapay.com/api/v1/payouts/{{payout_id}}/action?action=reject","urlObject":{"path":["payouts","{{payout_id}}","action"],"host":["https://app.aviorapay.com/api/v1"],"query":[{"key":"action","value":"reject"}],"variable":[]}},"response":[],"_postman_id":"61cf36a5-4558-445f-9710-65a1f7f9d3f4"},{"name":"Reject Payout With Remarks","id":"1f4ab460-f03c-4c0a-8219-810ca4aa1871","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{api_key}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"remarks\": \"Failed KYC verification\"\n  }","options":{"raw":{"language":"json"}}},"url":"https://app.aviorapay.com/api/v1/payouts/{{payout_id}}/action?action=reject","urlObject":{"path":["payouts","{{payout_id}}","action"],"host":["https://app.aviorapay.com/api/v1"],"query":[{"key":"action","value":"reject"}],"variable":[]}},"response":[],"_postman_id":"1f4ab460-f03c-4c0a-8219-810ca4aa1871"}],"id":"b87d46ff-9200-431c-a8db-388b0f70a99c","description":"<p>When a payout threshold limit is configured and a transaction falls within the defined threshold criteria, the system can take one of the following actions:</p>\n<ol>\n<li><p><strong>Automatic Rejection</strong> – The transaction is rejected immediately.</p>\n</li>\n<li><p><strong>Manual Review</strong> – The transaction is routed for manual evaluation.</p>\n</li>\n</ol>\n<p>During the manual review process, the reviewer can perform one of the following actions:</p>\n<ul>\n<li><p><strong>Approve</strong> – The payout request is approved and processed.</p>\n</li>\n<li><p><strong>Reject</strong> – The payout request is rejected.</p>\n</li>\n</ul>\n<p>The final status of the customer’s payout request is determined based on the outcome of the review process.</p>\n<h1 id=\"api-documentation\">API Documentation</h1>\n<h1 id=\"list-payout-api\">List Payout API</h1>\n<p>API which give details of the payout transactions.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>start_date</td>\n<td>YYYY-MM-DD</td>\n<td>Inclusive, interpreted in timezone</td>\n</tr>\n<tr>\n<td>end_date</td>\n<td>YYYY-MM-DD</td>\n<td>Inclusive, interpreted in timezone</td>\n</tr>\n<tr>\n<td>timezone</td>\n<td>IANA tz name</td>\n<td>e.g. Asia/Kolkata. Defaults to GMT if omitted</td>\n</tr>\n<tr>\n<td>payment_method</td>\n<td>string, repeatable or comma-separated</td>\n<td>e.g. visa,interac</td>\n</tr>\n<tr>\n<td>status</td>\n<td>string, repeatable or comma-separated</td>\n<td>e.g. paid,manual review,failed</td>\n</tr>\n<tr>\n<td>customer_segment</td>\n<td>string, repeatable or comma-separated</td>\n<td>segment names</td>\n</tr>\n<tr>\n<td>email</td>\n<td>string, repeatable or comma-separated</td>\n<td>exact match</td>\n</tr>\n<tr>\n<td>limit</td>\n<td>integer</td>\n<td>default 20, max 100</td>\n</tr>\n<tr>\n<td>starting_after</td>\n<td></td>\n<td>cursor for next page</td>\n</tr>\n<tr>\n<td>ending_before</td>\n<td></td>\n<td>cursor for previous page</td>\n</tr>\n</tbody>\n</table>\n</div><h1 id=\"payout-action-api\">Payout Action API</h1>\n<p>Approve or reject a payout that is currently in <code>pending_review</code> status.</p>\n<p><strong>Endpoint</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-bash\">POST /api/v1/payouts/{payout_id}/action?action={approve|reject}\n\n</code></pre>\n<h1 id=\"authentication\">Authentication</h1>\n<p>This API uses <strong>Bearer Token Authentication</strong>.</p>\n<h4 id=\"headers\">Headers</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Header</th>\n<th>Required</th>\n<th>Value</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Authorization</td>\n<td>Yes</td>\n<td><code>Bearer YOUR_API_KEY</code></td>\n</tr>\n<tr>\n<td>Content-Type</td>\n<td>Yes</td>\n<td><code>application/json</code></td>\n</tr>\n</tbody>\n</table>\n</div><h1 id=\"request-parameters\">Request Parameters</h1>\n<h4 id=\"path-parameters\">Path Parameters</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Type</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>payout_id</td>\n<td>string</td>\n<td>Yes</td>\n<td>Unique payout identifier</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"query-parameters\"><strong>Query Parameters</strong></h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Type</th>\n<th>Required</th>\n<th>Allowed Values</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>action</td>\n<td>string</td>\n<td>Yes</td>\n<td><code>approve</code>, <code>reject</code></td>\n<td>Action to perform on payout</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"request-body\">Request Body</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"remarks\": \"Optional remarks\",\n  \"reviewed_by\": \"optional_reviewer\"\n}\n\n</code></pre>\n<h2 id=\"request-examples\">Request Examples</h2>\n<h3 id=\"1-approve-minimal\">1. Approve (Minimal)</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-bash\">curl -X POST 'https://app.aviorapay.com/api/v1/payouts/69d4a15b7c7e1d98769872eb/action?action=approve' \\\n  -H 'Authorization: Bearer your_api_key_here' \\\n  -H 'Content-Type: application/json' \\\n  -d '{}'\n\n</code></pre>\n<h3 id=\"2-approve-with-remarks\">2. Approve (With Remarks)</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-bash\">curl -X POST 'https://app.aviorapay.com/api/v1/payouts/69d4a15b7c7e1d98769872eb/action?action=approve' \\\n  -H 'Authorization: Bearer your_api_key_here' \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"remarks\": \"Verified against invoice #4821\"\n  }'\n\n</code></pre>\n<h3 id=\"3-approve-with-override-reviewer\">3. Approve (With Override Reviewer)</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-bash\">curl -X POST 'https://app.aviorapay.com/api/v1/payouts/69d4a15b7c7e1d98769872eb/action?action=approve' \\\n  -H 'Authorization: Bearer your_api_key_here' \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"remarks\": \"Approved after compliance review\",\n    \"reviewed_by\": \"compliance_team_lead\"\n  }'\n\n</code></pre>\n<h3 id=\"4-reject-minimal---defaults-to-rejected\">4. Reject (Minimal - defaults to \"Rejected\")</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-bash\">curl -X POST 'https://app.aviorapay.com/api/v1/payouts/69ce44f1b2dd73d0d148c7d5/action?action=reject' \\\n  -H 'Authorization: Bearer your_api_key_here' \\\n  -H 'Content-Type: application/json' \\\n  -d '{}'\n\n</code></pre>\n<h3 id=\"5-reject-with-custom-remarks\">5. Reject (With Custom Remarks)</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-bash\">curl -X POST 'https://app.aviorapay.com/api/v1/payouts/69ce44f1b2dd73d0d148c7d5/action?action=reject' \\\n  -H 'Authorization: Bearer your_api_key_here' \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"remarks\": \"Suspicious transaction pattern detected\"\n  }'\n\n</code></pre>\n<h3 id=\"6-reject-with-override-reviewer\">6. Reject (With Override Reviewer)</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-bash\">curl -X POST 'https://app.aviorapay.com/api/v1/payouts/69ce44f1b2dd73d0d148c7d5/action?action=reject' \\\n  -H 'Authorization: Bearer your_api_key_here' \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"remarks\": \"Failed KYC verification\",\n    \"reviewed_by\": \"risk_team_admin\"\n  }'\n\n</code></pre>\n<h2 id=\"response-structure\">Response Structure</h2>\n<h3 id=\"success-response\">Success Response</h3>\n<p><strong>HTTP Status:</strong> <code>200 OK</code></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"status\": \"success\",\n  \"data\": {\n    \"payout_id\": \"69d4a15b7c7e1d98769872eb\",\n    \"previous_status\": \"pending_review\",\n    \"current_status\": \"paid\",\n    \"action_performed\": \"approve\",\n    \"reviewed_by\": \"merchant_user_123\",\n    \"reviewed_at\": \"2026-04-16T10:30:45Z\",\n    \"remarks\": \"Verified against invoice #4821\"\n  }\n}\n\n</code></pre>\n<h4 id=\"response-fields\">Response fields</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>status</td>\n<td>string</td>\n<td><code>success</code> for successful requests</td>\n</tr>\n<tr>\n<td>data.payout_id</td>\n<td>string</td>\n<td>Payout identifier</td>\n</tr>\n<tr>\n<td>data.previous_status</td>\n<td>string</td>\n<td>Previous payout status</td>\n</tr>\n<tr>\n<td>data.current_status</td>\n<td>string</td>\n<td>Updated payout status</td>\n</tr>\n<tr>\n<td>data.action_performed</td>\n<td>string</td>\n<td>Executed action</td>\n</tr>\n<tr>\n<td>data.reviewed_by</td>\n<td>string</td>\n<td>Reviewer username</td>\n</tr>\n<tr>\n<td>data.reviewed_at</td>\n<td>string</td>\n<td>UTC ISO-8601 timestamp</td>\n</tr>\n<tr>\n<td>data.remarks</td>\n<td>string</td>\n<td>Included if remarks were provided</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"status-transitions\">Status Transitions</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Current Status</th>\n<th>Action</th>\n<th>New Status</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>pending_review</td>\n<td>approve</td>\n<td>paid</td>\n</tr>\n<tr>\n<td>pending_review</td>\n<td>reject</td>\n<td>error</td>\n</tr>\n</tbody>\n</table>\n</div><h1 id=\"error-responses\">Error Responses</h1>\n<p>Note: All responses return HTTP <code>200 OK</code>.<br />Error details are returned in the response body.</p>\n<h4 id=\"invalid-json\">Invalid JSON</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"message\": \"invalid post data\"\n}\n\n</code></pre>\n<h4 id=\"unauthorized-request\">Unauthorized Request</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"message\": \"Unauthorized\"\n}\n\n</code></pre>\n<h3 id=\"possible-reasons\">Possible Reasons</h3>\n<ul>\n<li><p>Missing Authorization header</p>\n</li>\n<li><p>Invalid Bearer token</p>\n</li>\n<li><p>Wrong merchant API key</p>\n</li>\n<li><p>Invalid API credentials</p>\n</li>\n</ul>\n<h4 id=\"payout-not-found\">Payout Not Found</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"message\": \"Payout Id Not Found :- 69d4a15b7c7e1d98769872eb\"\n}\n\n</code></pre>\n<h3 id=\"possible-reasons-1\">Possible Reasons</h3>\n<ul>\n<li><p>Invalid payout ID</p>\n</li>\n<li><p>Payout belongs to another merchant</p>\n</li>\n</ul>\n<h4 id=\"payout-already-processed\">Payout Already Processed</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"status\": \"error\",\n  \"data\": {\n    \"payout_id\": \"69d4a15b7c7e1d98769872eb\",\n    \"current_status\": \"paid\",\n    \"message\": \"Payout already processed\"\n  }\n}\n\n</code></pre>\n<h3 id=\"triggered-when\">Triggered When</h3>\n<p>Payout status is already one of:</p>\n<ul>\n<li><p><code>paid</code></p>\n</li>\n<li><p><code>error</code></p>\n</li>\n<li><p><code>payout_in_process</code></p>\n</li>\n<li><p><code>dispatched</code></p>\n</li>\n<li><p><code>created</code></p>\n</li>\n</ul>\n<h4 id=\"business-validation-failure\">Business Validation Failure</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"status\": \"error\",\n  \"data\": {\n    \"payout_id\": \"69d4a15b7c7e1d98769872eb\",\n    \"message\": \"Insufficient Balance [250.00]\"\n  }\n}\n\n</code></pre>\n<h3 id=\"common-error-messages\">Common Error Messages</h3>\n<ul>\n<li><p><code>Insufficient Balance [amount]</code></p>\n</li>\n<li><p><code>Payout Method not allowed</code></p>\n</li>\n<li><p><code>charge/limit/mdr setting not found</code></p>\n</li>\n<li><p><code>You are not Allowed for Live Transaction</code></p>\n</li>\n</ul>\n<hr />\n<h1 id=\"authentication--authorization-rules\">Authentication &amp; Authorization Rules</h1>\n<h2 id=\"validation-flow\">Validation Flow</h2>\n<ol>\n<li><p>Validate Bearer token</p>\n</li>\n<li><p>Load merchant profile</p>\n</li>\n<li><p>Verify payout ownership</p>\n</li>\n<li><p>Validate payout status</p>\n</li>\n<li><p>Process action</p>\n</li>\n</ol>\n<h4 id=\"access-rules\">Access Rules</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Rule</th>\n<th>Required</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Valid API key</td>\n<td>Yes</td>\n</tr>\n<tr>\n<td>Merchant access to payout</td>\n<td>Yes</td>\n</tr>\n<tr>\n<td>Live transaction permission</td>\n<td>Yes</td>\n</tr>\n<tr>\n<td>Payout in <code>pending_review</code> status</td>\n<td>Yes</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"payout-status-values\">Payout Status Values</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Status</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>pending_review</td>\n<td>Awaiting manual review</td>\n</tr>\n<tr>\n<td>paid</td>\n<td>Successfully processed</td>\n</tr>\n<tr>\n<td>error</td>\n<td>Rejected or failed</td>\n</tr>\n<tr>\n<td>payout_in_process</td>\n<td>Being processed</td>\n</tr>\n<tr>\n<td>dispatched</td>\n<td>Sent to provider</td>\n</tr>\n<tr>\n<td>created</td>\n<td>Created but not reviewed</td>\n</tr>\n</tbody>\n</table>\n</div><h1 id=\"idempotency\">Idempotency</h1>\n<p>Duplicate approve/reject requests are safely blocked.</p>\n<h2 id=\"example\">Example</h2>\n<h4 id=\"first-request\">First Request</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-bash\">POST /api/v1/payouts/abc123/action?action=approve\n\n</code></pre>\n<h4 id=\"result\">Result</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"status\": \"success\"\n}\n\n</code></pre>\n<h4 id=\"second-request\">Second Request</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-bash\">POST /api/v1/payouts/abc123/action?action=approve\n\n</code></pre>\n<h4 id=\"result-1\">Result</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"status\": \"error\",\n  \"data\": {\n    \"message\": \"Payout already processed\"\n  }\n}\n\n</code></pre>\n","_postman_id":"b87d46ff-9200-431c-a8db-388b0f70a99c"},{"name":"Partial Refunds","item":[{"name":"Concepts","item":[],"id":"19bddf53-d755-490d-8397-c1927b36042c","description":"<p>A partial refund allows merchants to refund a portion of a successfully paid purchase.<br />Multiple partial refunds can be performed until the total refunded amount equals the original purchase amount.</p>\n<h2 id=\"prerequisites\"><strong>Prerequisites</strong></h2>\n<ul>\n<li><p>The purchase must be in paid status.</p>\n</li>\n<li><p>The refund amount must be greater than 0.</p>\n</li>\n<li><p>The refund amount must not exceed the remaining refundable amount.</p>\n</li>\n<li><p>Refunds are processed in the same currency as the original purchase.</p>\n</li>\n</ul>\n","auth":{"type":"noauth","isInherited":false},"event":[{"listen":"prerequest","script":{"type":"text/javascript","packages":{},"requests":{},"exec":[""],"id":"34bfbdff-9aa2-4105-aef1-68fc694c562a"}},{"listen":"test","script":{"type":"text/javascript","packages":{},"requests":{},"exec":[""],"id":"f6574598-9f19-4b1d-9083-115a66a2883b"}}],"_postman_id":"19bddf53-d755-490d-8397-c1927b36042c"},{"name":"API","item":[{"name":"Partial Refund API","id":"a9c2f49c-74e5-46bf-921d-60ea403c83e2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer Token"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"*/*"}],"body":{"mode":"raw","raw":"{\n    \"amount\": \"5.12\",\n    \"reason\": \"Partial Refunds Testing\"\n}","options":{"raw":{"language":"json"}}},"url":"https://app.aviorapay.com/api/v1/purchases/purchaseid/refund","description":"<h2 id=\"refund-scenarios\">Refund Scenarios</h2>\n<h3 id=\"partial-refund\">Partial Refund</h3>\n<p>Purchase Amount: 10</p>\n<p>Refund Amount: 8</p>\n<p>Result:</p>\n<ul>\n<li><p>Refunded Amount: 8</p>\n</li>\n<li><p>Remaining Refundable Amount: 2</p>\n</li>\n<li><p>Transaction Status: PARTIALLY_REFUNDED</p>\n</li>\n</ul>\n<p>Full Refund Using Partial Refund API</p>\n<p>Purchase Amount: 10</p>\n<p>Refund Amount: 10</p>\n<p>Result:</p>\n<ul>\n<li><p>Refunded Amount: 10</p>\n</li>\n<li><p>Remaining Refundable Amount: 0</p>\n</li>\n<li><p>Transaction Status: PARTIAL REFUNDED</p>\n</li>\n</ul>\n<h3 id=\"multiple-partial-refunds\">Multiple Partial Refunds</h3>\n<p>Purchase Amount: 10</p>\n<ul>\n<li><p>Refund #1: 3</p>\n</li>\n<li><p>Refund #2: 2</p>\n</li>\n<li><p>Refund #3: 5</p>\n</li>\n</ul>\n<p>Result:</p>\n<ul>\n<li><p>Total Refunded Amount: 10</p>\n</li>\n<li><p>Remaining Refundable Amount: 0</p>\n</li>\n</ul>\n<p>Final Transaction Status: PARTIAL REFUNDED</p>\n","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"367012ec-f721-4bce-90f8-066b88b4b46f","id":"367012ec-f721-4bce-90f8-066b88b4b46f","name":"API","type":"folder"}},"urlObject":{"path":["purchases","purchaseid","refund"],"host":["https://app.aviorapay.com/api/v1"],"query":[],"variable":[]}},"response":[{"id":"b9076c95-cdd9-44b4-bc06-414510f22fec","name":"Success","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer Token"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"*/*"}],"body":{"mode":"raw","raw":"{\n    \"amount\": \"5.12\",\n    \"reason\": \"Partial Refunds Testing\"\n}","options":{"raw":{"language":"json"}}},"url":"https://app.aviorapay.com/api/v1/purchases/purchaseid/refund"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"Text","header":[{"key":"Date","value":"Fri, 05 Jun 2026 08:59:38 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Nel","value":"{\"report_to\":\"cf-nel\",\"success_fraction\":0.0,\"max_age\":604800}"},{"key":"X-Frame-Options","value":"ALLOW-FROM *"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"x-session-id","value":"7aec019b-8a08-4e3d-a158-b092f8c8f998"},{"key":"Vary","value":"Origin"},{"key":"Vary","value":"Access-Control-Request-Method"},{"key":"Vary","value":"Access-Control-Request-Headers"},{"key":"Server","value":"cloudflare"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"0"},{"key":"Cache-Control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"Strict-Transport-Security","value":"max-age=31536000 ; includeSubDomains"},{"key":"X-Cache","value":"Error from cloudfront"},{"key":"Via","value":"1.1 2af44885a7fc4faf5a3444e606d6c02c.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"IAD61-P10"},{"key":"X-Amz-Cf-Id","value":"rWo0eMrwpvBts9xS0P4ftqKaridLKfm2xH9Y5H2CF3k6R1LxgTFMZQ=="},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"group\":\"cf-nel\",\"max_age\":604800,\"endpoints\":[{\"url\":\"https://a.nel.cloudflare.com/report/v4?s=IFwED2Y1XrzWhlXDeYjRi0o%2BPWMlBxaVhLXiHVdLbjLb1oaWhC9H%2BdjTxbu3jV8o0RDcmxT%2BvN3omG1bscFcmMeqERUAG%2BooUZMEJ%2BrFdLVe7yaObwbg963WTVC8cyx7dfvT\"}]}"},{"key":"CF-RAY","value":"a06dfb7c4ed3c995-IAD"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"refundId\": \"refundid\",\n    \"purchaseId\": \"purchaseid\",\n    \"amount\": 5.12,\n    \"createdOn\": 1780637310,\n    \"refundOn\": 0,\n    \"status\": \"REFUND_IN_PROCESS\",\n    \"reason\": \"Partial Refunds Testing\",\n    \"currency\": \"USD\"\n}"},{"id":"25a8cbe9-0ef4-4c08-ac3e-4f28ff45e575","name":"Refund Amt Exceeds Purchase Amt","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer Token"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"*/*"}],"body":{"mode":"raw","raw":"{\n    \"amount\": \"11\", // Purchase Amount: 10\n    \"reason\": \"Partial Refunds Testing\"\n}","options":{"raw":{"language":"json"}}},"url":"https://app.aviorapay.com/api/v1/purchases/purchaseid/refund"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"Text","header":[{"key":"Date","value":"Fri, 05 Jun 2026 09:03:16 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Nel","value":"{\"report_to\":\"cf-nel\",\"success_fraction\":0.0,\"max_age\":604800}"},{"key":"X-Frame-Options","value":"ALLOW-FROM *"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"x-session-id","value":"9f888ccb-1238-4e02-b6dc-764560604b14"},{"key":"Vary","value":"Origin"},{"key":"Vary","value":"Access-Control-Request-Method"},{"key":"Vary","value":"Access-Control-Request-Headers"},{"key":"Server","value":"cloudflare"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"0"},{"key":"Cache-Control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"Strict-Transport-Security","value":"max-age=31536000 ; includeSubDomains"},{"key":"X-Cache","value":"Error from cloudfront"},{"key":"Via","value":"1.1 acbc1e922360be31edf0371abdc7a3a4.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"EWR53-P1"},{"key":"X-Amz-Cf-Id","value":"u0f10ZilZAVELaSZM0QkCGivhENfvhb491tRfbtZBfNmilJhavDeeA=="},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"group\":\"cf-nel\",\"max_age\":604800,\"endpoints\":[{\"url\":\"https://a.nel.cloudflare.com/report/v4?s=G0WYUY8ZL0X6%2BdnZTxN8KgKkvqqBezW18wEdyF5wktbOdTwbgtdIp9wsRiNbSp250CnbNX1q74X0cENF8dT3V5P8gbQ2kw%2BW1%2FWf9LNh1aVj8tHeCAfooAi0il9zhZGaj7z4\"}]}"},{"key":"CF-RAY","value":"a06e00cefac89c79-IAD"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Refund amount exceeds refundable amount\",\n  \"code\": \"validation_error\"\n}"},{"id":"d2683ab5-f6ab-4f08-8dbe-6ff85fd4366f","name":"Refund Amt Is 0 or -ve","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer Token"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"*/*"}],"body":{"mode":"raw","raw":"{\n    \"amount\": \"-5.12\",\n    \"reason\": \"Partial Refunds Testing\"\n}","options":{"raw":{"language":"json"}}},"url":"https://app.aviorapay.com/api/v1/purchases/purchaseid/refund"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"Text","header":[{"key":"Date","value":"Fri, 05 Jun 2026 09:04:29 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Nel","value":"{\"report_to\":\"cf-nel\",\"success_fraction\":0.0,\"max_age\":604800}"},{"key":"X-Frame-Options","value":"ALLOW-FROM *"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"x-session-id","value":"2e380b48-7668-448d-af95-980482c35c8f"},{"key":"Vary","value":"Origin"},{"key":"Vary","value":"Access-Control-Request-Method"},{"key":"Vary","value":"Access-Control-Request-Headers"},{"key":"Server","value":"cloudflare"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"0"},{"key":"Cache-Control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"Strict-Transport-Security","value":"max-age=31536000 ; includeSubDomains"},{"key":"X-Cache","value":"Error from cloudfront"},{"key":"Via","value":"1.1 3578d122de1401ebc52a7afd35dd5d0c.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"IAD61-P10"},{"key":"X-Amz-Cf-Id","value":"B705OGUJpsFVyyUtTS_xidVoz9_kniiAFlHKn0_sL6R6oOQ9BMHZFA=="},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"group\":\"cf-nel\",\"max_age\":604800,\"endpoints\":[{\"url\":\"https://a.nel.cloudflare.com/report/v4?s=Wd5pKM%2B%2BBY35cSdYdYOJesaPTVX3KJ1M%2Bd68og7dF7hMaOL00aU4Xm3A7Ab%2BKitUSfwtu5owy8TVmxjQ%2BRNaOp1w2WiatUO7z%2Bayx4TPFfNzLk2eAlmERpeO%2F5Dy18l6%2F4H1\"}]}"},{"key":"CF-RAY","value":"a06e02977d392431-IAD"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Refund amount must be greater than 0\",\n  \"code\": \"validation_error\"\n}"},{"id":"bbc16641-6e09-45f3-ab13-08216d9955a6","name":"Empty Refund Amt","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer Token"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"*/*"}],"body":{"mode":"raw","raw":"{\n    \"reason\": \"Partial Refunds Testing\"\n}","options":{"raw":{"language":"json"}}},"url":"https://app.aviorapay.com/api/v1/purchases/purchaseid/refund"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"Text","header":[{"key":"Date","value":"Fri, 05 Jun 2026 09:05:38 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Nel","value":"{\"report_to\":\"cf-nel\",\"success_fraction\":0.0,\"max_age\":604800}"},{"key":"X-Frame-Options","value":"ALLOW-FROM *"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"x-session-id","value":"5573f74e-1147-4a84-ad79-08260f6c229d"},{"key":"Vary","value":"Origin"},{"key":"Vary","value":"Access-Control-Request-Method"},{"key":"Vary","value":"Access-Control-Request-Headers"},{"key":"Server","value":"cloudflare"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"0"},{"key":"Cache-Control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"Strict-Transport-Security","value":"max-age=31536000 ; includeSubDomains"},{"key":"X-Cache","value":"Error from cloudfront"},{"key":"Via","value":"1.1 70e9f6c79b570a07593d98d3c3eb2fc6.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"IAD61-P10"},{"key":"X-Amz-Cf-Id","value":"XhGSCeKH6brQ_0b2TQ7RfvwMzYyCp3-qSQ4N2rErhuolIMcxqQB3tw=="},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"group\":\"cf-nel\",\"max_age\":604800,\"endpoints\":[{\"url\":\"https://a.nel.cloudflare.com/report/v4?s=X2YEtc%2F6jCxDP78BlzJBFZfi11NZuirslkboc3hUZCfp1XYpHRAdPv8X3hzhFfHJHJPCjCOZrphGL%2FkrohE%2FC6yvIPVC8Tn7G1%2B0Km7nQ16umqQe%2BdDFT%2BkMIkIKPRqdaErn\"}]}"},{"key":"CF-RAY","value":"a06e0449a9f91de9-IAD"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Amount is required\",\n  \"code\": \"validation_error\"\n}"},{"id":"476d4904-ab09-4279-9d68-5e343a249e09","name":"Invalid Purchase ID","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer Token"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"*/*"}],"body":{"mode":"raw","raw":"{\n    \"amount\": \"5.12\",\n    \"reason\": \"Partial Refunds Testing\"\n}","options":{"raw":{"language":"json"}}},"url":"https://app.aviorapay.com/api/v1/purchases/purchaseid/refund"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"Text","header":[{"key":"Date","value":"Fri, 05 Jun 2026 09:06:14 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Nel","value":"{\"report_to\":\"cf-nel\",\"success_fraction\":0.0,\"max_age\":604800}"},{"key":"X-Frame-Options","value":"ALLOW-FROM *"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"x-session-id","value":"193bc177-e65b-4f27-8e3d-a1c3242b44c0"},{"key":"Vary","value":"Origin"},{"key":"Vary","value":"Access-Control-Request-Method"},{"key":"Vary","value":"Access-Control-Request-Headers"},{"key":"Server","value":"cloudflare"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"0"},{"key":"Cache-Control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"Strict-Transport-Security","value":"max-age=31536000 ; includeSubDomains"},{"key":"X-Cache","value":"Error from cloudfront"},{"key":"Via","value":"1.1 347540535e60ba585992da68b62d1ae8.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"SIN2-P6"},{"key":"X-Amz-Cf-Id","value":"nQfeXU4EOHhf5w662MDpgndsZOJ2Lv5MJudzq5Ks9OK3S8zPhDXpRw=="},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"group\":\"cf-nel\",\"max_age\":604800,\"endpoints\":[{\"url\":\"https://a.nel.cloudflare.com/report/v4?s=kzHplT3Ggl%2Fu0lxeqmQOcBQxukHE9gO%2F7R0wyfqoD4IiGWSbD1mmaIha7sf9GSp8o%2FJHy9NV8RMdynlScuqpoZI%2FuKo1OF%2F5j96iBu7iEdqO%2Fx9nKqKfAPDFaka%2FR7kfDqRQ\"}]}"},{"key":"CF-RAY","value":"a06e05207bbe52d6-IAD"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Transaction not found\",\n  \"code\": \"transaction_error\"\n}"},{"id":"fed2cdae-a9b4-4d98-a682-56b4c6507f76","name":"Refund on Failed or Pending Transactions","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer Token"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"*/*"}],"body":{"mode":"raw","raw":"{\n    \"amount\": \"5.12\",\n    \"reason\": \"Partial Refunds Testing\"\n}","options":{"raw":{"language":"json"}}},"url":"https://app.aviorapay.com/api/v1/purchases/purchaseid/refund"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"Text","header":[{"key":"Date","value":"Fri, 05 Jun 2026 09:06:38 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Nel","value":"{\"report_to\":\"cf-nel\",\"success_fraction\":0.0,\"max_age\":604800}"},{"key":"X-Frame-Options","value":"ALLOW-FROM *"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"x-session-id","value":"6a7e4072-0cb1-41a9-9669-afc26d71050d"},{"key":"Vary","value":"Origin"},{"key":"Vary","value":"Access-Control-Request-Method"},{"key":"Vary","value":"Access-Control-Request-Headers"},{"key":"Server","value":"cloudflare"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"0"},{"key":"Cache-Control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"Strict-Transport-Security","value":"max-age=31536000 ; includeSubDomains"},{"key":"X-Cache","value":"Error from cloudfront"},{"key":"Via","value":"1.1 a863373015dd073e91a52d99d8ad6bfc.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"IAD61-P10"},{"key":"X-Amz-Cf-Id","value":"KIIfqqaMKmLQqAQbuawRHDuPpcu4EnErL0aeEgFHGYY-FdmMISHmgg=="},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"group\":\"cf-nel\",\"max_age\":604800,\"endpoints\":[{\"url\":\"https://a.nel.cloudflare.com/report/v4?s=8hGQxlHaR2s3QJOa7YijWckCFTcGSeOoU555kG9iM743FjcOdN2Q8IUlKe1015LzlbfPT0b6ZJT0eiE2mmp09iUU%2F%2BCQPt8qnEeD6PJkMkWpn45xqNeHO20Wl8PjbJuI0XZV\"}]}"},{"key":"CF-RAY","value":"a06e05ba9e43c975-IAD"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Only Purchases with `status == (paid)` can be refunded.\",\n  \"code\": \"transaction_error\"\n}"},{"id":"b973942f-ee6e-4108-ac67-2dd7dafc06cb","name":"Refund on an Already Refunded Purchase","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer Token"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"*/*"}],"body":{"mode":"raw","raw":"{\n    \"amount\": \"5.12\",\n    \"reason\": \"Partial Refunds Testing\"\n}","options":{"raw":{"language":"json"}}},"url":"https://app.aviorapay.com/api/v1/purchases/purchaseid/refund"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"Text","header":[{"key":"Date","value":"Fri, 05 Jun 2026 09:07:09 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Nel","value":"{\"report_to\":\"cf-nel\",\"success_fraction\":0.0,\"max_age\":604800}"},{"key":"X-Frame-Options","value":"ALLOW-FROM *"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"x-session-id","value":"560fb162-4210-4496-8249-26bf3393409e"},{"key":"Vary","value":"Origin"},{"key":"Vary","value":"Access-Control-Request-Method"},{"key":"Vary","value":"Access-Control-Request-Headers"},{"key":"Server","value":"cloudflare"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"0"},{"key":"Cache-Control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"Strict-Transport-Security","value":"max-age=31536000 ; includeSubDomains"},{"key":"X-Cache","value":"Error from cloudfront"},{"key":"Via","value":"1.1 1a12f863197f986ec10d35ed76e104f0.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"IAD61-P10"},{"key":"X-Amz-Cf-Id","value":"tYQhkaUXrvj3OWc-rQiJp_FnzIBB3mubhjv7yn0w0TaAb6YzKH1Tww=="},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"group\":\"cf-nel\",\"max_age\":604800,\"endpoints\":[{\"url\":\"https://a.nel.cloudflare.com/report/v4?s=SWrtdoBSkmhyNXsahHAdETrqPoOxh89DlcFUaF8D4DOftFPt0BtSVkjBR%2B7G8VbZfModmKZEwe1drtHOkeYMq9oz2PqsnSgYghGs%2Bi%2BqNA%2B4GZ6Z8mYI5BNCiuOJ5k%2FxY9HN\"}]}"},{"key":"CF-RAY","value":"a06e0680dc6724ad-IAD"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Purchase has already been fully refunded\",\n  \"code\": \"transaction_error\"\n}"},{"id":"dfaaea3e-0ca4-4ea5-be72-ed4de8d19abd","name":"Refund Exceeds Remaining Balance After a Partial Refund","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer Token"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"*/*"}],"body":{"mode":"raw","raw":"{\n    \"amount\": \"5.12\", // Remaining Refundable Amount is 2.0\n    \"reason\": \"Partial Refunds Testing\"\n}","options":{"raw":{"language":"json"}}},"url":"https://app.aviorapay.com/api/v1/purchases/purchaseid/refund"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"Text","header":[{"key":"Date","value":"Fri, 05 Jun 2026 09:09:03 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Nel","value":"{\"report_to\":\"cf-nel\",\"success_fraction\":0.0,\"max_age\":604800}"},{"key":"X-Frame-Options","value":"ALLOW-FROM *"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"x-session-id","value":"aced1038-4a60-45fb-a14b-f4cdc9ca63b4"},{"key":"Vary","value":"Origin"},{"key":"Vary","value":"Access-Control-Request-Method"},{"key":"Vary","value":"Access-Control-Request-Headers"},{"key":"Server","value":"cloudflare"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"0"},{"key":"Cache-Control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"Strict-Transport-Security","value":"max-age=31536000 ; includeSubDomains"},{"key":"X-Cache","value":"Error from cloudfront"},{"key":"Via","value":"1.1 1a12f863197f986ec10d35ed76e104f0.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"IAD61-P10"},{"key":"X-Amz-Cf-Id","value":"ALmfTGjt9X7OliM6NeGzmkWzns9dzm9J5TnVUAV3egqzFolwOcidoA=="},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"group\":\"cf-nel\",\"max_age\":604800,\"endpoints\":[{\"url\":\"https://a.nel.cloudflare.com/report/v4?s=UtL7zsQvnJ1BIIU8L%2FUyyQd4LiG%2BxMTEzuq%2B0zEM8dhVVZByPP5HkJW7urlk62Rzg%2BFG2Af9VAyMi4REGU5EPnIty%2BthzF4%2FojIE8%2FiFA0flLX5zu%2B4Kb3vJ4AoTU5mEyWf2\"}]}"},{"key":"CF-RAY","value":"a06e094ab9763210-IAD"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Refund amount exceeds refundable amount: 2.0\",\n  \"code\": \"validation_error\"\n}"}],"_postman_id":"a9c2f49c-74e5-46bf-921d-60ea403c83e2"},{"name":"Partial Refund Status API","id":"19981634-df17-4e57-a731-7d11940c2c49","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer 8959a18e22a25ef94c30fb1b90c50bc332c28d8b0add750fa1afe71f48438b2d"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"refundId\": \"refundid\"\n}","options":{"raw":{"language":"json"}}},"url":"https://app.aviorapay.com/api/v1/refundStatus/purchaseid/","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"367012ec-f721-4bce-90f8-066b88b4b46f","id":"367012ec-f721-4bce-90f8-066b88b4b46f","name":"API","type":"folder"}},"urlObject":{"path":["refundStatus","purchaseid",""],"host":["https://app.aviorapay.com/api/v1"],"query":[],"variable":[]}},"response":[{"id":"676edd6c-78a5-4f40-9d30-6aa20b717e0e","name":"Success","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer 8959a18e22a25ef94c30fb1b90c50bc332c28d8b0add750fa1afe71f48438b2d"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"refundId\": \"refundid\"\n}","options":{"raw":{"language":"json"}}},"url":"https://app.aviorapay.com/api/v1/refundStatus/purchaseid/"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"Text","header":[{"key":"Date","value":"Wed, 10 Jun 2026 15:09:28 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Nel","value":"{\"report_to\":\"cf-nel\",\"success_fraction\":0.0,\"max_age\":604800}"},{"key":"X-Frame-Options","value":"ALLOW-FROM *"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"x-session-id","value":"5be6468d-a804-478e-8e27-8fd83f43359b"},{"key":"Vary","value":"Origin"},{"key":"Vary","value":"Access-Control-Request-Method"},{"key":"Vary","value":"Access-Control-Request-Headers"},{"key":"Server","value":"cloudflare"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"0"},{"key":"Cache-Control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"Strict-Transport-Security","value":"max-age=31536000 ; includeSubDomains"},{"key":"X-Cache","value":"Error from cloudfront"},{"key":"Via","value":"1.1 9d35ce6897d7f02042955443076a54de.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"EWR53-P1"},{"key":"X-Amz-Cf-Id","value":"Z2XLcFaGFRDj2ZuwTFJHQEaWWHB-I3MUtw5N2nMV7CNy55ImAEtfow=="},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"group\":\"cf-nel\",\"max_age\":604800,\"endpoints\":[{\"url\":\"https://a.nel.cloudflare.com/report/v4?s=WE1Q25t02u566zmtnXqm%2F%2FBAsilvCpOzlMzs3i%2F3Py3%2BJO%2FnNNBSHDCXlW4OtMYjNBc6jOpCsAMj0plUVemEWy8KMy8TLLPi0Vrte%2BET6ZNPsDzZXkEqXiFkpjTFGyTde9HC\"}]}"},{"key":"CF-RAY","value":"a0994c1f8a41311a-IAD"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"refundId\": \"refundid\",\n    \"purchaseId\": \"purchaseid\",\n    \"amount\": 3.0,\n    \"createdOn\": 1780982811,\n    \"refundOn\": 1780982814,\n    \"status\": \"REFUNDED\",\n    \"reason\": \"test\",\n    \"currency\": \"USD\"\n}\n"}],"_postman_id":"19981634-df17-4e57-a731-7d11940c2c49"}],"id":"367012ec-f721-4bce-90f8-066b88b4b46f","auth":{"type":"noauth","isInherited":false},"event":[{"listen":"prerequest","script":{"type":"text/javascript","packages":{},"requests":{},"exec":[""],"id":"f9e9867c-9fc2-4547-b0c4-762a71746bf1"}},{"listen":"test","script":{"type":"text/javascript","packages":{},"requests":{},"exec":[""],"id":"037b5a0e-c73e-46bd-94e1-cbda2fcd8e7a"}}],"_postman_id":"367012ec-f721-4bce-90f8-066b88b4b46f","description":""}],"id":"1957ddb1-f1e4-4a59-b483-89a1eebc1f6b","auth":{"type":"noauth","isInherited":false},"event":[{"listen":"prerequest","script":{"type":"text/javascript","packages":{},"requests":{},"exec":[""],"id":"04325aa6-477a-4bb8-80eb-c4799ab35a52"}},{"listen":"test","script":{"type":"text/javascript","packages":{},"requests":{},"exec":[""],"id":"20e72cb3-82b6-4663-82b2-df811f8b6219"}}],"_postman_id":"1957ddb1-f1e4-4a59-b483-89a1eebc1f6b","description":""}],"event":[{"listen":"prerequest","script":{"type":"text/javascript","requests":{},"exec":[""],"id":"fbb88c34-ab87-49b4-9baa-55f0157bd8ec"}},{"listen":"test","script":{"type":"text/javascript","requests":{},"exec":[""],"id":"34daecc4-4c12-4f67-83b9-4ca8d66416cf"}}],"variable":[{"key":"BaseURL","value":"https://app.aviorapay.com/api/v1"},{"key":"StagingAPIKey","value":""},{"key":"BaseV2URL","value":""}]}