{"info":{"_postman_id":"bc4d9034-c117-4938-b353-e20f5a190539","name":"Better API 2025-09-01","description":"<html><head></head><body><h2 id=\"overview\">Overview</h2>\n<p>This guide provides detailed information about integrating with the Payment Authorization API. The API enables processing of payment transactions including authorization, capture, void, charge and refund operations.</p>\n<h2 id=\"online-cit-flow-chart\">Online (CIT) flow chart</h2>\n<img src=\"https://lh7-rt.googleusercontent.com/docsz/AD_4nXfB0MQQ4WwIIL7kFDzSzpSBSdyZgUzWEeNjt-g8piCWPvegFG4_0z0FoQXrQxXLC5dqtQDyx1H_2agENeJC9DBifV5ZuoqhSa01gYm03w32CbDTlqqPaGT10lOuI-JK_pDNIIJi4g?key=qelmDFYy1iA40AB_-hYa6chE\">\n\n<h2 id=\"subscriptionrecurring-mit-flow-chart\">Subscription/recurring (MIT) flow chart</h2>\n<img src=\"https://lh7-rt.googleusercontent.com/docsz/AD_4nXf9tPOtBv5iQlgkQHdfkSeO3oT60FramzF9EE78DZ-tliCcAKWsujj0KuIf7VJRqwq8VQCOAg4qAUg0VLGdS08hh6Cz5-lMWjFceg4VGfVEjDKkZjP_Cp75rnpZH6SQnQPi-uULng?key=qelmDFYy1iA40AB_-hYa6chE\">\n\n<h2 id=\"authentication\">Authentication</h2>\n<p>All API requests require two headers:</p>\n<ul>\n<li><p><code>x-api-key</code>: Your API key for authentication</p>\n</li>\n<li><p><code>x-partner-id</code>: Your partner identifier</p>\n</li>\n</ul>\n<h2 id=\"environment-urls\">Environment URLs</h2>\n<ul>\n<li><p>Sandbox: <code>https://sandbox-api.bettercharge.ai</code></p>\n</li>\n<li><p>Production: <code>https://api.bettercharge.ai</code></p>\n</li>\n</ul>\n<h3 id=\"error-handling\">Error Handling</h3>\n<ul>\n<li><p>Always check HTTP status code</p>\n</li>\n<li><p>Parse error response for details</p>\n</li>\n<li><p>Implement appropriate retry logic</p>\n</li>\n<li><p>Log all error responses</p>\n</li>\n</ul>\n<h2 id=\"best-practices\">Best Practices</h2>\n<ol>\n<li><p>Always use TLS 1.2 or higher</p>\n</li>\n<li><p>Implement proper error handling</p>\n</li>\n<li><p>Store payment IDs for reference</p>\n</li>\n<li><p>Implement idempotency</p>\n</li>\n<li><p>Monitor API response times</p>\n</li>\n<li><p>Set appropriate timeouts</p>\n</li>\n</ol>\n<h2 id=\"rate-limits\">Rate Limits</h2>\n<ul>\n<li><p>100 requests per minute per API key</p>\n</li>\n<li><p>429 status code indicates rate limit exceeded</p>\n</li>\n<li><p>Implement exponential backoff</p>\n</li>\n</ul>\n<h2 id=\"payment-states\">Payment States</h2>\n<p>The state field in the payment object represents the current status of a payment’s lifecycle. This state reflects the high-level status that clients should rely on.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>State</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>RECEIVED</code></td>\n<td>The payment request was received and is pending approval process.</td>\n</tr>\n<tr>\n<td><code>APPROVED</code></td>\n<td>The payment passed initial checks and is approved for further retry processing.</td>\n</tr>\n<tr>\n<td><code>DECLINED</code></td>\n<td>The payment was declined during the approval process.</td>\n</tr>\n<tr>\n<td><code>AUTHORIZED</code></td>\n<td>The payment was successfully authorized with the payment provider.</td>\n</tr>\n<tr>\n<td><code>CAPTURED</code></td>\n<td>The funds have been successfully captured.</td>\n</tr>\n<tr>\n<td><code>REFUNDED</code></td>\n<td>The payment has been refunded, either partially or in full.</td>\n</tr>\n<tr>\n<td><code>VOIDED</code></td>\n<td>The payment was voided before capture.</td>\n</tr>\n<tr>\n<td><code>FAILED</code></td>\n<td>The payment failed during processing due to an error or limit.</td>\n</tr>\n<tr>\n<td><code>PROCESSING</code></td>\n<td>The payment is currently being processed.</td>\n</tr>\n<tr>\n<td><code>STOPPED</code></td>\n<td>The payment retry process was stopped manually or automatically.</td>\n</tr>\n<tr>\n<td><code>UNKNOWN</code></td>\n<td>A fallback state used when the current status is not recognized. This typically should not appear and may indicate an intermediate or transitional system state.</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"testing\">Testing</h2>\n<ol>\n<li><p>For testing purposes we support test card numbers/tokens, test email addresses (used for different response types)</p>\n</li>\n<li><p>Test all response scenarios. This can be achieved by the different test email addresses provided by Better</p>\n</li>\n<li><p>Verify error handling</p>\n</li>\n<li><p>Test timeout scenarios</p>\n</li>\n</ol>\n<h3 id=\"available-test-cards-for-testing\">Available test cards for testing</h3>\n<p>The following card numbers can be used for testing in our Sandbox environment.</p>\n<p>Using a test card in production will result with an error response, and the transaction will not be processed.</p>\n<p>Using a card not from this list, in our Sandbox environment will result with an error response.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>#</th>\n<th>Card PAN</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>1</td>\n<td>4242424242424242</td>\n</tr>\n<tr>\n<td>2</td>\n<td>4000056655665556</td>\n</tr>\n<tr>\n<td>3</td>\n<td>5555555555554444</td>\n</tr>\n<tr>\n<td>4</td>\n<td>2223003122003222</td>\n</tr>\n<tr>\n<td>5</td>\n<td>5200828282828210</td>\n</tr>\n<tr>\n<td>6</td>\n<td>5105105105105100</td>\n</tr>\n<tr>\n<td>7</td>\n<td>378282246310005</td>\n</tr>\n<tr>\n<td>8</td>\n<td>371449635398431</td>\n</tr>\n<tr>\n<td>9</td>\n<td>6011111111111117</td>\n</tr>\n<tr>\n<td>10</td>\n<td>6011000990139424</td>\n</tr>\n<tr>\n<td>11</td>\n<td>6011981111111113</td>\n</tr>\n<tr>\n<td>12</td>\n<td>3056930009020004</td>\n</tr>\n<tr>\n<td>13</td>\n<td>36227206271667</td>\n</tr>\n<tr>\n<td>14</td>\n<td>6555900000604105</td>\n</tr>\n<tr>\n<td>15</td>\n<td>3566002020360505</td>\n</tr>\n<tr>\n<td>16</td>\n<td>6200000000000005</td>\n</tr>\n<tr>\n<td>17</td>\n<td>6200000000000047</td>\n</tr>\n<tr>\n<td>18</td>\n<td>6205500000000000004</td>\n</tr>\n<tr>\n<td>19</td>\n<td>4000000000000002</td>\n</tr>\n<tr>\n<td>20</td>\n<td>4000000000009995</td>\n</tr>\n<tr>\n<td>21</td>\n<td>4000000000009987</td>\n</tr>\n<tr>\n<td>22</td>\n<td>4000000000009979</td>\n</tr>\n<tr>\n<td>23</td>\n<td>4000000000000069</td>\n</tr>\n<tr>\n<td>24</td>\n<td>4000000000000127</td>\n</tr>\n<tr>\n<td>25</td>\n<td>4000000000000119</td>\n</tr>\n<tr>\n<td>26</td>\n<td>4242424242424241</td>\n</tr>\n<tr>\n<td>27</td>\n<td>4000000000006975</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"emails-for-testing\">Emails for testing</h3>\n<p>The following email addresses can be used for testing in our Sandbox environment. Using these email addresses, you can illustrate different response codes.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Email</th>\n<th>Response</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><a href=\"https://mailto:test.approve@bettercharge.ai\">test.approve@bettercharge.ai</a></td>\n<td>{\"decision\": \"APPROVE\", \"confidence\": 75.7}</td>\n</tr>\n<tr>\n<td><a href=\"https://mailto:test.decline.insufficient_data@bettercharge.ai\">test.decline.insufficient_data@bettercharge.ai</a></td>\n<td>{\"reason\": \"Insufficient data provided for model to make a decision\", \"decision\": \"DECLINE\", \"confidence\": 5}</td>\n</tr>\n<tr>\n<td><a href=\"https://mailto:test.decline.business_rules@bettercharge.ai\">test.decline.business_rules@bettercharge.ai</a></td>\n<td>{\"reason\": \"Declined on business rules\", \"decision\": \"DECLINE\", \"confidence\": 0}</td>\n</tr>\n<tr>\n<td><a href=\"https://mailto:test.decline.model@bettercharge.ai\">test.decline.model@bettercharge.ai</a></td>\n<td>{\"reason\": \"Declined by model decision\", \"decision\": \"DECLINE\", \"confidence\": 23}</td>\n</tr>\n<tr>\n<td><a href=\"https://mailto:test.approve.retry.successful@bettercharge.ai\">test.approve.retry.successful@bettercharge.ai</a></td>\n<td>{\"decision\": \"APPROVE\", \"confidence\": 75.7}</td>\n</tr>\n<tr>\n<td><a href=\"https://mailto:test.approve.liability@bettercharge.ai\">test.approve.liability@bettercharge.ai</a></td>\n<td>{\"decision\": \"APPROVE\", \"confidence\": 80}</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"tokens-for-testing\">Tokens for testing</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Token</th>\n<th>Result</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>2e6a7aaa539b7da318d6877ae81839c48907cea8a1196819f383e52e</td>\n<td>Automatically approves</td>\n</tr>\n</tbody>\n</table>\n</div><h1 id=\"bettercharge-api-error-responses\">BetterCharge API Error Responses</h1>\n<p>This document provides a comprehensive list of all error responses that can be returned by the BetterCharge API. All error responses follow a consistent structure with a <code>code</code>, <code>error</code>, and <code>message</code> field.</p>\n<h2 id=\"error-response-structure\">Error Response Structure</h2>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"code\": \"ERROR_CODE\",\n  \"error\": \"Error Type\",\n  \"message\": \"Detailed error message\"\n}\n\n</code></pre>\n<h2 id=\"error-responses-by-http-status-code\">Error Responses by HTTP Status Code</h2>\n<h3 id=\"400-bad-request\">400 Bad Request</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Error Code</th>\n<th>Error Type</th>\n<th>Message</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>BAD_REQUEST</code></td>\n<td>Bad Request</td>\n<td>Missing or invalid fields: [field1, field2, ...]</td>\n<td>Request validation failed due to missing or invalid required fields</td>\n</tr>\n<tr>\n<td><code>CARD_EXPIRED</code></td>\n<td>Card already expired</td>\n<td>Payment {bcId} declined: card expired</td>\n<td>Payment declined because the card has expired</td>\n</tr>\n<tr>\n<td><code>CARD_TOO_CLOSE_TO_EXPIRATION</code></td>\n<td>Card too close to expiration</td>\n<td>Payment {bcId} declined: card too close to expiration</td>\n<td>Payment declined because the card is too close to its expiration date</td>\n</tr>\n<tr>\n<td><code>ERROR</code></td>\n<td>Error</td>\n<td>Validation errors: [details]</td>\n<td>Request validation failed (PSP Mock)</td>\n</tr>\n<tr>\n<td><code>INVALID_ACCOUNT</code></td>\n<td>Invalid account</td>\n<td>Invalid accountId provided</td>\n<td>Invalid account ID provided in request</td>\n</tr>\n<tr>\n<td><code>ERROR</code></td>\n<td>Error</td>\n<td>Invalid refund request data</td>\n<td>Invalid refund request data structure</td>\n</tr>\n<tr>\n<td><code>ERROR</code></td>\n<td>Error</td>\n<td>Invalid void request data</td>\n<td>Invalid void request data structure</td>\n</tr>\n<tr>\n<td><code>ERROR</code></td>\n<td>Error</td>\n<td>Refund request declined due to policy restrictions</td>\n<td>Refund declined due to policy restrictions</td>\n</tr>\n<tr>\n<td><code>ERROR</code></td>\n<td>Error</td>\n<td>Void request declined due to policy restrictions</td>\n<td>Void declined due to policy restrictions</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"401-unauthorized\">401 Unauthorized</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Error Code</th>\n<th>Error Type</th>\n<th>Message</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>UNAUTHORIZED</code></td>\n<td>unauthorized</td>\n<td>Unauthorized</td>\n<td>Invalid or missing authentication credentials</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"403-forbidden\">403 Forbidden</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Error Code</th>\n<th>Error Type</th>\n<th>Message</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>FORBIDDEN</code></td>\n<td>Forbidden</td>\n<td>Forbidden</td>\n<td>Merchant does not own the payment being accessed</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"404-not-found\">404 Not Found</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Error Code</th>\n<th>Error Type</th>\n<th>Message</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>NOT_FOUND</code></td>\n<td>Not Found</td>\n<td>Merchant {merchantId} does not exist</td>\n<td>Merchant not found in the system</td>\n</tr>\n<tr>\n<td><code>NOT_FOUND</code></td>\n<td>Not Found</td>\n<td>Payment {bcId} does not exist</td>\n<td>Payment not found in the system</td>\n</tr>\n<tr>\n<td><code>PARTNER_NOT_FOUND</code></td>\n<td>Partner not found</td>\n<td>Partner not found</td>\n<td>Partner not found in the system</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"422-unprocessable-entity\">422 Unprocessable Entity</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Error Code</th>\n<th>Error Type</th>\n<th>Message</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>PAYMENT_NOT_FOUND</code></td>\n<td>Missing entity</td>\n<td>Payment not found</td>\n<td>Payment not found in the system</td>\n</tr>\n<tr>\n<td><code>PAYMENT_ALREADY_APPROVED</code></td>\n<td>Already sent</td>\n<td>Payment already sent for authorization</td>\n<td>Payment has already been authorized</td>\n</tr>\n<tr>\n<td><code>PAYMENT_ALREADY_REFUNDED</code></td>\n<td>Already refunded</td>\n<td>Payment {bcId} already refunded</td>\n<td>Payment has already been refunded</td>\n</tr>\n<tr>\n<td><code>REFUND_EXCEEDED_REFUNDABLE_AMOUNT</code></td>\n<td>Exceeded refundable amount</td>\n<td>Refund request for payment {bcId} has exceeded its refundable amount</td>\n<td>Refund amount exceeds the available refundable amount</td>\n</tr>\n<tr>\n<td><code>PAYMENT_ALREADY_CAPTURED</code></td>\n<td>Already captured</td>\n<td>Payment {bcId} already captured</td>\n<td>Payment has already been captured</td>\n</tr>\n<tr>\n<td><code>PAYMENT_ALREADY_VOIDED</code></td>\n<td>Already voided</td>\n<td>Payment {bcId} already voided</td>\n<td>Payment has already been voided</td>\n</tr>\n<tr>\n<td><code>PAYMENT_ALREADY_AUTO_VOIDED</code></td>\n<td>Already auto voided</td>\n<td>Payment {bcId} already auto voided</td>\n<td>Payment has already been automatically voided</td>\n</tr>\n<tr>\n<td><code>PAYMENT_NOT_AUTHORIZED</code></td>\n<td>Not authorized</td>\n<td>Payment {bcId} not authorized</td>\n<td>Payment has not been authorized yet</td>\n</tr>\n<tr>\n<td><code>PAYMENT_AMOUNT_MISMATCH</code></td>\n<td>Amount mismatch</td>\n<td>Payment {bcId} has an amount mismatch</td>\n<td>Payment amount does not match expected value</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"423-locked\">423 Locked</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Error Code</th>\n<th>Error Type</th>\n<th>Message</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>PAYMENT_LOCKED</code></td>\n<td>Currently unavailable</td>\n<td>Currently unavailable for payment {identifier}, try again in a few seconds</td>\n<td>Payment is temporarily locked and cannot be processed</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"500-internal-server-error\">500 Internal Server Error</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Error Code</th>\n<th>Error Type</th>\n<th>Message</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>INTERNAL_SERVER_ERROR</code></td>\n<td>Internal server error</td>\n<td>Unknown internal server error, contact support</td>\n<td>Generic internal server error</td>\n</tr>\n<tr>\n<td><code>INTERNAL_SERVER_ERROR</code></td>\n<td>Internal Server Error</td>\n<td>Internal Server Error</td>\n<td>Generic internal server error (various services)</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"502-bad-gateway\">502 Bad Gateway</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Error Code</th>\n<th>Error Type</th>\n<th>Message</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>EXTERNAL_SERVICE_ERROR</code></td>\n<td>Unable to process request</td>\n<td>External service unavailable</td>\n<td>External service (PSP) is unavailable</td>\n</tr>\n<tr>\n<td><code>EXTERNAL_SERVICE_ERROR</code></td>\n<td>Unable to process request</td>\n<td>External service responded with error: {error}</td>\n<td>External service returned an error</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"payment-decline-reasons\">Payment Decline Reasons</h2>\n<p>The service may return specific system wide decline reasons:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Decline Reason</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>EXCHANGE_RATE_FOR_CURRENCY_NOT_FOUND</code></td>\n<td>Exchange rate for the specified currency was not found</td>\n</tr>\n<tr>\n<td><code>SYSTEM_IS_INACTIVE</code></td>\n<td>The payment system is currently inactive</td>\n</tr>\n<tr>\n<td><code>MERCHANT_IS_DISABLED</code></td>\n<td>The merchant account is disabled</td>\n</tr>\n<tr>\n<td><code>MERCHANT_NOT_FOUND</code></td>\n<td>The merchant was not found in the system</td>\n</tr>\n<tr>\n<td><code>FILTER_LIMIT_REACHED</code></td>\n<td>We are temporarily not approving new payments</td>\n</tr>\n<tr>\n<td><code>COMMON_ERROR</code></td>\n<td>General payment processing error</td>\n</tr>\n<tr>\n<td><code>MERCHANT_INITIATED</code></td>\n<td>Payment was declined because it is an MIT payment</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"rate-limiting\">Rate Limiting</h2>\n<p>API endpoints are subject to rate limiting. When rate limits are exceeded, the API will return a 429 status code with appropriate headers:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-http\">HTTP/1.1 429 Too Many Requests\nX-RateLimit-Limit: 100\nX-RateLimit-Remaining: 0\nX-RateLimit-Reset: 1640275200\n\n</code></pre>\n<h2 id=\"best-practices-for-error-handling\">Best Practices for Error Handling</h2>\n<ol>\n<li><p><strong>Always check the HTTP status code</strong> first to determine the general category of error</p>\n</li>\n<li><p><strong>Parse the error response body</strong> to get specific error details</p>\n</li>\n<li><p><strong>Handle 4xx errors</strong> by correcting the request and retrying</p>\n</li>\n<li><p><strong>Handle 5xx errors</strong> by implementing exponential backoff and retry logic</p>\n</li>\n<li><p><strong>Log error details</strong> for debugging and monitoring purposes</p>\n</li>\n<li><p><strong>Implement proper error handling</strong> for network timeouts and connection issues</p>\n</li>\n<li><p><strong>Use the error codes</strong> to provide meaningful feedback to end users</p>\n</li>\n</ol>\n<h2 id=\"important-note\">Important note</h2>\n<p>In a case where Better calls the API for retries it is up to the partner to block another fallback to Better, which can happen in the following scenario:</p>\n<p>Merchant calls Partner → Partner calls PSP → PSP returns NSF → Partner calls Better → Better approves → Better retries using Partner API → Partner calls PSP → PSP returns NSF → Partner calls Better again ❌ → Better starts a new process</p>\n<p>It is up to the partner to block the fallback to Better</p>\n<h2 id=\"support\">Support</h2>\n<p>Contact <a href=\"https://mailto:support@bettercharge.ai\">support@bettercharge.ai</a> for assistanceAPI documentation for BetterCharge payment and merchant management services.API documentation for Better payment and connector services.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[{"content":"BetterCharge API Error Responses","slug":"bettercharge-api-error-responses"}],"owner":"42148697","collectionId":"bc4d9034-c117-4938-b353-e20f5a190539","publishedId":"2sB3HjLLsT","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"58b3b3"},"publishDate":"2025-11-10T16:12:19.000Z"},"item":[{"name":"Payment","item":[{"name":"Authorize payment","id":"c4ca93bf-991d-42de-b4f6-9384f8a096b3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"x-api-key","value":"<string>","description":"<p>(Required) </p>\n"},{"key":"x-partner-id","value":"<string>","description":"<p>(Required) </p>\n"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"merchantId\": \"<uuid>\",\n  \"partnerTransactionId\": \"!.r>:p~\",\n  \"amount\": {\n    \"value\": \"<number>\",\n    \"currency\": \"<string>\"\n  },\n  \"card\": {\n    \"number\": -6279795,\n    \"cvv\": true\n  },\n  \"cascadingAttempts\": [\n    {\n      \"attemptId\": \"nJMvVnJMvV\",\n      \"time\": \"<dateTime>\",\n      \"status\": \"TUd᠎\",\n      \"providerName\": \"<string>\",\n      \"providerResponseCode\": \"<string>\",\n      \"providerTransactionId\": \"u3\",\n      \"providerResponseMessage\": \"<string>\",\n      \"issuerResponseCode\": \"<string>\",\n      \"issuerResponseMessage\": \"<string>\",\n      \"issuerName\": \"<string>\",\n      \"merchantAdviceCode\": \"KOP3\"\n    }\n  ],\n  \"payment\": {\n    \"partnerPaymentId\": \"V.^\",\n    \"time\": \"<dateTime>\",\n    \"initiator\": \"MIT\",\n    \"description1\": \"<string>\",\n    \"description2\": \"<string>\",\n    \"isSubscription\": \"<boolean>\"\n  },\n  \"order\": {\n    \"merchantOrderId\": \"D\",\n    \"orderTime\": \"<dateTime>\",\n    \"orderStatus\": \"<string>\",\n    \"sessionDuration\": \"<number>\",\n    \"numOfItems\": \"<number>\",\n    \"shoppingCart\": {\n      \"ea7\": false,\n      \"eua6\": \"velit Lorem officia et\",\n      \"dolore__d\": \"ullamco Lorem\"\n    },\n    \"shippingAddress\": {\n      \"firstName\": \"<string>\",\n      \"lastName\": \"<string>\",\n      \"country\": \"RI\",\n      \"state\": \"<string>\",\n      \"city\": \"<string>\",\n      \"address1\": \"<string>\",\n      \"address2\": \"<string>\",\n      \"postalCode\": \"<string>\",\n      \"phone\": \"+2032569292326\"\n    }\n  },\n  \"customerId\": \"i;qS:0s\",\n  \"merchant\": {\n    \"terminalId\": \"Fv\",\n    \"submerchantId\": \"syCR!pq{h\",\n    \"dynamicDescriptor\": \"<string>\"\n  },\n  \"cardHolder\": {\n    \"holderName\": \"<string>\",\n    \"billingAddress\": {\n      \"firstName\": \"<string>\",\n      \"lastName\": \"<string>\",\n      \"country\": \"RI\",\n      \"state\": \"<string>\",\n      \"city\": \"<string>\",\n      \"address1\": \"<string>\",\n      \"address2\": \"<string>\",\n      \"postalCode\": \"<string>\",\n      \"phone\": \"+1980938287754\"\n    }\n  },\n  \"threeDS\": {\n    \"threeDSEnabled\": \"<boolean>\",\n    \"threeDSToken\": \"K9mc-jeQfK9mc-jeQf\",\n    \"version\": \"<string>\",\n    \"threeDSAuthenticationStatus\": \"K\",\n    \"eciValue\": \"43\",\n    \"cavv\": \"iOn2SpceuPiOn2SpceuPiOn2SpceuPiOn2SpceuP\",\n    \"xid\": \"iA-li2yubqiA-li2yubq\",\n    \"ds_xid\": \"ztztztztztztztztztztztztztztztzt\",\n    \"encoding\": \"<string>\"\n  },\n  \"device\": {\n    \"id\": \"N#h2@D\",\n    \"type\": \"<string>\",\n    \"os\": \"<string>\",\n    \"osVersion\": \"<string>\",\n    \"browserAgent\": \"<string>\",\n    \"browserLanguage\": \"Dw_bsHifp9s-8fkK1v\",\n    \"ip\": \"<ipv4>\",\n    \"geoLocation\": {\n      \"latitude\": \"<number>\",\n      \"longitude\": \"<number>\"\n    },\n    \"fingerprint\": \"<string>\"\n  },\n  \"extraDetails\": {\n    \"cillum12\": \"sunt Excepteur ex\"\n  },\n  \"allowedProviders\": [\n      {\n        \"provider\": \"<string>\",\n        \"accountIdentifier\": \"<string>\"\n      }\n  ],\n  \"saveCard\": \"<boolean>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://sandbox-api.bettercharge.ai/v1/payment/authorize","description":"<h2 id=\"authorize-payment\">Authorize Payment</h2>\n<p>Authorize a payment and return a decision based on the passed parameters.</p>\n<p>The following table defines the supported parameters.</p>\n<blockquote>\n<p><strong>Note:</strong> Parameters marked as <strong>Recommended</strong> are not mandatory, but they are highly valuable. Supplying them improves the likelihood of payment approval and routing quality. </p>\n</blockquote>\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>Notes</th>\n<th>Regex</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>amount.value</td>\n<td>number</td>\n<td>mandatory</td>\n<td>Positive decimal, minor units</td>\n<td><code>^\\d+(\\.\\d{1,2})?$</code></td>\n</tr>\n<tr>\n<td>amount.currency</td>\n<td>string</td>\n<td>mandatory</td>\n<td>ISO 4217 currency</td>\n<td><code>^[A-Z]{3}$</code></td>\n</tr>\n<tr>\n<td>card.number</td>\n<td>string</td>\n<td>conditional</td>\n<td>Not required if card token is provided. PAN, 13–19 digits</td>\n<td><code>^\\d{13,19}$</code></td>\n</tr>\n<tr>\n<td>card.cvv</td>\n<td>string</td>\n<td>conditional</td>\n<td>Not required if card token is provided. 3–4 digits</td>\n<td><code>^\\d{3,4}$</code></td>\n</tr>\n<tr>\n<td>card.expMonth</td>\n<td>string</td>\n<td>mandatory</td>\n<td>MM</td>\n<td>`^(0[1-9]</td>\n</tr>\n<tr>\n<td>card.expYear</td>\n<td>string</td>\n<td>mandatory</td>\n<td>YYYY</td>\n<td><code>^(20[2-4][0-9])$</code></td>\n</tr>\n<tr>\n<td>card.bin</td>\n<td>string</td>\n<td>conditional</td>\n<td>Not required if card number is provided. 6–8 digits</td>\n<td><code>^\\d{6,8}$</code></td>\n</tr>\n<tr>\n<td>card.last4Digits</td>\n<td>string</td>\n<td>conditional</td>\n<td>Not required if card number is provided. 4 digits</td>\n<td><code>^\\d{4}$</code></td>\n</tr>\n<tr>\n<td>card.token</td>\n<td>string</td>\n<td>conditional</td>\n<td>Not required if card number or network token is provided. Tokenized PAN</td>\n<td><code>^[\\w-]{10,64}$</code></td>\n</tr>\n<tr>\n<td>card.partnerHashedPAN</td>\n<td>string</td>\n<td>optional</td>\n<td>Partner-provided hashed PAN</td>\n<td><code>^[\\w-]{10,64}$</code></td>\n</tr>\n<tr>\n<td>card.networkToken</td>\n<td>string</td>\n<td>conditional</td>\n<td>Preferred over <code>card.token</code>. Not required if card number or token is provided</td>\n<td><code>^[\\w-]{10,64}$</code></td>\n</tr>\n<tr>\n<td>card.holderId</td>\n<td>string</td>\n<td>recommended</td>\n<td>Alphanumeric ID</td>\n<td><code>^[\\w-]{1,64}$</code></td>\n</tr>\n<tr>\n<td>card.holderEmail</td>\n<td>email</td>\n<td>recommended</td>\n<td>Valid email</td>\n<td><code>^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\\.[a-zA-Z]{2,}$</code></td>\n</tr>\n<tr>\n<td>cascadingAttempts[].time</td>\n<td>dateTime</td>\n<td>mandatory</td>\n<td>ISO 8601 UTC timestamp (<code>YYYY-MM-DDTHH:MM:SSZ</code>)</td>\n<td>`^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(Z</td>\n</tr>\n<tr>\n<td>cascadingAttempts[].providerName</td>\n<td>string</td>\n<td>mandatory</td>\n<td>Provider name (e.g. Stripe, Adyen)</td>\n<td><code>^.{1,64}$</code></td>\n</tr>\n<tr>\n<td>cascadingAttempts[].providerTransactionId</td>\n<td>string</td>\n<td>recommended</td>\n<td>Provider transaction ID</td>\n<td></td>\n</tr>\n<tr>\n<td>cascadingAttempts[].providerResponseCode</td>\n<td>string</td>\n<td>mandatory</td>\n<td>Acquirer response code</td>\n<td><code>^.{1,64}$</code></td>\n</tr>\n<tr>\n<td>cascadingAttempts[].providerResponseMessage</td>\n<td>string</td>\n<td>recommended</td>\n<td>Acquirer response message</td>\n<td><code>^.{1,500}$</code></td>\n</tr>\n<tr>\n<td>cascadingAttempts[].status</td>\n<td>string</td>\n<td>mandatory</td>\n<td>APPROVED / DECLINED</td>\n<td><code>^[A-Z_]{3,32}$</code></td>\n</tr>\n<tr>\n<td>cascadingAttempts[].attemptId</td>\n<td>string</td>\n<td>mandatory</td>\n<td>Unique attempt ID</td>\n<td><code>^[\\w-]{8,64}$</code></td>\n</tr>\n<tr>\n<td>cascadingAttempts[].issuerResponseCode</td>\n<td>string</td>\n<td>recommended</td>\n<td>Issuer response code</td>\n<td><code>^.{1,16}$</code></td>\n</tr>\n<tr>\n<td>cascadingAttempts[].merchantAdviceCode</td>\n<td>string</td>\n<td>recommended</td>\n<td>Merchant Advice Code (Mastercard retry code)</td>\n<td><code>^[A-Z0-9]{2,4}$</code></td>\n</tr>\n<tr>\n<td>cascadingAttempts[].issuerResponseMessage</td>\n<td>string</td>\n<td>recommended</td>\n<td>Issuer response message</td>\n<td><code>^.{1,128}$</code></td>\n</tr>\n<tr>\n<td>cascadingAttempts[].issuerName</td>\n<td>string</td>\n<td>recommended</td>\n<td>Issuer name</td>\n<td><code>^.{1,64}$</code></td>\n</tr>\n<tr>\n<td>merchantId</td>\n<td>uuid</td>\n<td>mandatory</td>\n<td>Merchant UUID</td>\n<td><code>^[\\w-]{36}$</code></td>\n</tr>\n<tr>\n<td>customerId</td>\n<td>string</td>\n<td>recommended</td>\n<td>Customer reference</td>\n<td><code>^[\\w-]{1,64}$</code></td>\n</tr>\n<tr>\n<td>partnerTransactionId</td>\n<td>string</td>\n<td>mandatory</td>\n<td>Idempotency key (must be unique per transaction)</td>\n<td><code>^[\\w-]{1,64}$</code></td>\n</tr>\n<tr>\n<td>merchant.terminalId</td>\n<td>string</td>\n<td>optional</td>\n<td>Terminal ID</td>\n<td><code>^[\\w-]{1,32}$</code></td>\n</tr>\n<tr>\n<td>merchant.submerchantId</td>\n<td>string</td>\n<td>optional</td>\n<td>Sub-merchant ID</td>\n<td><code>^[\\w-]{1,64}$</code></td>\n</tr>\n<tr>\n<td>merchant.dynamicDescriptor</td>\n<td>string</td>\n<td>optional</td>\n<td>Max 26 chars</td>\n<td><code>^.{1,26}$</code></td>\n</tr>\n<tr>\n<td>cardHolder.holderName</td>\n<td>string</td>\n<td>recommended</td>\n<td>Name on card</td>\n<td><code>^.{1,64}$</code></td>\n</tr>\n<tr>\n<td>cardHolder.billingAddress.firstName</td>\n<td>string</td>\n<td>recommended</td>\n<td>First name</td>\n<td><code>^.{1,32}$</code></td>\n</tr>\n<tr>\n<td>cardHolder.billingAddress.lastName</td>\n<td>string</td>\n<td>recommended</td>\n<td>Last name</td>\n<td><code>^.{1,32}$</code></td>\n</tr>\n<tr>\n<td>cardHolder.billingAddress.country</td>\n<td>string</td>\n<td>recommended</td>\n<td>ISO 3166-1 alpha-2</td>\n<td><code>^[A-Z]{2}$</code></td>\n</tr>\n<tr>\n<td>cardHolder.billingAddress.state</td>\n<td>string</td>\n<td>recommended</td>\n<td>State / region</td>\n<td><code>^.{1,32}$</code></td>\n</tr>\n<tr>\n<td>cardHolder.billingAddress.city</td>\n<td>string</td>\n<td>recommended</td>\n<td>City</td>\n<td><code>^.{1,64}$</code></td>\n</tr>\n<tr>\n<td>cardHolder.billingAddress.address1</td>\n<td>string</td>\n<td>recommended</td>\n<td>Address line 1</td>\n<td><code>^.{1,128}$</code></td>\n</tr>\n<tr>\n<td>cardHolder.billingAddress.address2</td>\n<td>string</td>\n<td>recommended</td>\n<td>Address line 2</td>\n<td><code>^.{0,128}$</code></td>\n</tr>\n<tr>\n<td>cardHolder.billingAddress.postalCode</td>\n<td>string</td>\n<td>recommended</td>\n<td>Postal code</td>\n<td><code>^[\\w-]{1,16}$</code></td>\n</tr>\n<tr>\n<td>cardHolder.billingAddress.phone.countryCode</td>\n<td>string</td>\n<td>recommended</td>\n<td>Country dialing code</td>\n<td><code>^\\+?\\d{1,4}$</code></td>\n</tr>\n<tr>\n<td>cardHolder.billingAddress.phone.number</td>\n<td>string</td>\n<td>recommended</td>\n<td>Phone number</td>\n<td><code>^\\+?\\d{1,10}$</code></td>\n</tr>\n<tr>\n<td>card.binData.brand</td>\n<td>string</td>\n<td>optional</td>\n<td>Card brand</td>\n<td><code>^.{1,20}$</code></td>\n</tr>\n<tr>\n<td>card.binData.institutionName</td>\n<td>string</td>\n<td>optional</td>\n<td>Institution name</td>\n<td><code>^.{1,64}$</code></td>\n</tr>\n<tr>\n<td>card.binData.type</td>\n<td>string</td>\n<td>optional</td>\n<td>Debit / Credit</td>\n<td><code>^.{1,16}$</code></td>\n</tr>\n<tr>\n<td>card.binData.level</td>\n<td>string</td>\n<td>optional</td>\n<td>Card level</td>\n<td><code>^.{1,16}$</code></td>\n</tr>\n<tr>\n<td>card.binData.country</td>\n<td>string</td>\n<td>optional</td>\n<td>ISO 3166-1 alpha-2</td>\n<td><code>^[A-Z]{2}$</code></td>\n</tr>\n<tr>\n<td>card.binData.additionalInfo</td>\n<td>string</td>\n<td>optional</td>\n<td>Additional info</td>\n<td><code>^.{0,128}$</code></td>\n</tr>\n<tr>\n<td>card.binData.phone</td>\n<td>string</td>\n<td>optional</td>\n<td>BIN phone</td>\n<td><code>^.{0,32}$</code></td>\n</tr>\n<tr>\n<td>card.binData.address</td>\n<td>string</td>\n<td>optional</td>\n<td>BIN address</td>\n<td><code>^.{0,128}$</code></td>\n</tr>\n<tr>\n<td>card.binData.city</td>\n<td>string</td>\n<td>optional</td>\n<td>BIN city</td>\n<td><code>^.{0,64}$</code></td>\n</tr>\n<tr>\n<td>card.binData.zip</td>\n<td>string</td>\n<td>optional</td>\n<td>BIN zip</td>\n<td><code>^.{0,16}$</code></td>\n</tr>\n<tr>\n<td>card.binData.website</td>\n<td>string</td>\n<td>optional</td>\n<td>BIN website</td>\n<td><code>^.{0,64}$</code></td>\n</tr>\n<tr>\n<td>payment.partnerPaymentId</td>\n<td>string</td>\n<td>mandatory</td>\n<td>Partner payment ID</td>\n<td><code>^[\\w-]{1,64}$</code></td>\n</tr>\n<tr>\n<td>payment.time</td>\n<td>dateTime</td>\n<td>mandatory</td>\n<td>ISO 8601 timestamp</td>\n<td><code>^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}</code></td>\n</tr>\n<tr>\n<td>payment.initiator</td>\n<td>string</td>\n<td>mandatory</td>\n<td><code>CIT</code> = Customer initiated, <code>MIT</code> = Merchant initiated</td>\n<td>`^(CIT</td>\n</tr>\n<tr>\n<td>payment.description1</td>\n<td>string</td>\n<td>optional</td>\n<td>Descriptor 1 (max 500 chars)</td>\n<td><code>^.{0,500}$</code></td>\n</tr>\n<tr>\n<td>payment.description2</td>\n<td>string</td>\n<td>optional</td>\n<td>Descriptor 2 (max 500 chars)</td>\n<td><code>^.{0,500}$</code></td>\n</tr>\n<tr>\n<td>payment.isSubscription</td>\n<td>boolean</td>\n<td>recommended</td>\n<td>Marks first payment in subscription plan</td>\n<td>`^(true</td>\n</tr>\n<tr>\n<td>threeDS.threeDSEnabled</td>\n<td>boolean</td>\n<td>recommended</td>\n<td>3DS enabled</td>\n<td>`^(true</td>\n</tr>\n<tr>\n<td>threeDS.threeDSToken</td>\n<td>string</td>\n<td>recommended</td>\n<td>Token</td>\n<td><code>^[\\w-]{10,128}$</code></td>\n</tr>\n<tr>\n<td>threeDS.version</td>\n<td>string</td>\n<td>recommended</td>\n<td><code>1.0.2</code> or <code>2.x</code></td>\n<td>`^(2.\\d.\\d</td>\n</tr>\n<tr>\n<td>threeDS.threeDSAuthenticationStatus</td>\n<td>string</td>\n<td>recommended</td>\n<td>Y / N / U / R / A</td>\n<td><code>^[A-Z]$</code></td>\n</tr>\n<tr>\n<td>threeDS.eciValue</td>\n<td>string</td>\n<td>recommended</td>\n<td>Two-digit ECI</td>\n<td><code>^\\d{2}$</code></td>\n</tr>\n<tr>\n<td>threeDS.cavv</td>\n<td>string</td>\n<td>recommended</td>\n<td>CAVV (28–32 chars)</td>\n<td><code>^[A-Za-z0-9]{28,32}$</code></td>\n</tr>\n<tr>\n<td>threeDS.xid</td>\n<td>string</td>\n<td>recommended</td>\n<td>XID (20–40 chars)</td>\n<td><code>^[A-Za-z0-9]{20,40}$</code></td>\n</tr>\n<tr>\n<td>threeDS.ds_xid</td>\n<td>string</td>\n<td>recommended</td>\n<td>DS XID (20–40 chars)</td>\n<td><code>^[A-Za-z0-9]{20,40}$</code></td>\n</tr>\n<tr>\n<td>threeDS.encoding</td>\n<td>string</td>\n<td>recommended</td>\n<td><code>base64</code> / <code>utf-8</code></td>\n<td>`^(base64</td>\n</tr>\n<tr>\n<td>order.merchantOrderId</td>\n<td>string</td>\n<td>mandatory</td>\n<td>Merchant unique order ID</td>\n<td><code>^[\\w-]{1,64}$</code></td>\n</tr>\n<tr>\n<td>order.orderTime</td>\n<td>dateTime</td>\n<td>mandatory</td>\n<td>ISO 8601 UTC timestamp</td>\n<td>`^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(Z</td>\n</tr>\n<tr>\n<td>order.orderStatus</td>\n<td>string</td>\n<td>optional</td>\n<td>Order status</td>\n<td><code>^[\\w-]{1,64}$</code></td>\n</tr>\n<tr>\n<td>order.sessionDuration</td>\n<td>number</td>\n<td>optional</td>\n<td>Seconds</td>\n<td><code>^\\d+$</code></td>\n</tr>\n<tr>\n<td>order.numOfItems</td>\n<td>number</td>\n<td>optional</td>\n<td>Quantity</td>\n<td><code>^\\d{1,5}$</code></td>\n</tr>\n<tr>\n<td>order.shippingAddress.firstName</td>\n<td>string</td>\n<td>optional</td>\n<td>First name</td>\n<td><code>^.{1,32}$</code></td>\n</tr>\n<tr>\n<td>order.shippingAddress.lastName</td>\n<td>string</td>\n<td>optional</td>\n<td>Last name</td>\n<td><code>^.{1,32}$</code></td>\n</tr>\n<tr>\n<td>order.shippingAddress.country</td>\n<td>string</td>\n<td>optional</td>\n<td>ISO 3166-1 alpha-2</td>\n<td><code>^[A-Z]{2}$</code></td>\n</tr>\n<tr>\n<td>order.shippingAddress.state</td>\n<td>string</td>\n<td>optional</td>\n<td>State</td>\n<td><code>^.{1,32}$</code></td>\n</tr>\n<tr>\n<td>order.shippingAddress.city</td>\n<td>string</td>\n<td>optional</td>\n<td>City</td>\n<td><code>^.{1,64}$</code></td>\n</tr>\n<tr>\n<td>order.shippingAddress.address1</td>\n<td>string</td>\n<td>optional</td>\n<td>Address line 1</td>\n<td><code>^.{1,128}$</code></td>\n</tr>\n<tr>\n<td>order.shippingAddress.address2</td>\n<td>string</td>\n<td>optional</td>\n<td>Address line 2</td>\n<td><code>^.{0,128}$</code></td>\n</tr>\n<tr>\n<td>order.shippingAddress.postalCode</td>\n<td>string</td>\n<td>optional</td>\n<td>Postal code</td>\n<td><code>^[\\w-]{1,16}$</code></td>\n</tr>\n<tr>\n<td>order.shippingAddress.phone</td>\n<td>string</td>\n<td>optional</td>\n<td>Phone</td>\n<td><code>^\\+?\\d{1,4}$</code></td>\n</tr>\n<tr>\n<td>device.id</td>\n<td>string</td>\n<td>optional</td>\n<td>Device ID</td>\n<td><code>^[\\w-]{1,64}$</code></td>\n</tr>\n<tr>\n<td>device.type</td>\n<td>string</td>\n<td>optional</td>\n<td>Device type</td>\n<td><code>^.{1,32}$</code></td>\n</tr>\n<tr>\n<td>device.os</td>\n<td>string</td>\n<td>optional</td>\n<td>OS name</td>\n<td><code>^.{1,32}$</code></td>\n</tr>\n<tr>\n<td>device.osVersion</td>\n<td>string</td>\n<td>optional</td>\n<td>OS version</td>\n<td><code>^.{1,32}$</code></td>\n</tr>\n<tr>\n<td>device.browserAgent</td>\n<td>string</td>\n<td>optional</td>\n<td>User agent</td>\n<td><code>^.{1,8192}$</code></td>\n</tr>\n<tr>\n<td>device.browserLanguage</td>\n<td>string</td>\n<td>optional</td>\n<td>Example: <code>en-US</code></td>\n<td><code>^[a-z]{2}-[A-Z]{2}$</code></td>\n</tr>\n<tr>\n<td>device.ip</td>\n<td>string</td>\n<td>optional</td>\n<td>IPv4 / IPv6</td>\n<td>`^(([0-9]{1,3}.){3}[0-9]{1,3}</td>\n</tr>\n<tr>\n<td>device.geoLocation.latitude</td>\n<td>number</td>\n<td>optional</td>\n<td>Range: -90 to 90</td>\n<td><code>^-?\\d{1,2}\\.\\d+$</code></td>\n</tr>\n<tr>\n<td>device.geoLocation.longitude</td>\n<td>number</td>\n<td>optional</td>\n<td>Range: -180 to 180</td>\n<td><code>^-?\\d{1,3}\\.\\d+$</code></td>\n</tr>\n<tr>\n<td>device.fingerprint</td>\n<td>string</td>\n<td>optional</td>\n<td>Device fingerprint</td>\n<td><code>^[\\w-]{1,128}$</code></td>\n</tr>\n<tr>\n<td>extraDetails</td>\n<td>object</td>\n<td>optional</td>\n<td>Arbitrary JSON (up to 1KB)</td>\n<td></td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["v1","payment","authorize"],"host":["https://sandbox-api.bettercharge.ai"],"query":[],"variable":[]}},"response":[{"id":"b0d5ae2b-71aa-4d8e-8c5a-6b368f81a6cc","name":"Successful response","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"<string>","description":"(Required) "},{"key":"x-partner-id","value":"<string>","description":"(Required) "},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"merchantId\": \"<uuid>\",\n  \"partnerTransactionId\": \"!.r>:p~\",\n  \"amount\": {\n    \"value\": \"<number>\",\n    \"currency\": \"<string>\"\n  },\n  \"card\": {\n    \"number\": -6279795,\n    \"cvv\": true\n  },\n  \"cascadingAttempts\": [\n    {\n      \"attemptId\": \"nJMvVnJMvV\",\n      \"time\": \"<dateTime>\",\n      \"status\": \"T Ud᠎\",\n      \"providerName\": \"<string>\",\n      \"providerResponseCode\": \"<string>\",\n      \"providerTransactionId\": \"u3\",\n      \"providerResponseMessage\": \"<string>\",\n      \"issuerResponseCode\": \"<string>\",\n      \"issuerResponseMessage\": \"<string>\",\n      \"issuerName\": \"<string>\",\n      \"merchantAdviceCode\": \"KOP3\"\n    }\n  ],\n  \"payment\": {\n    \"partnerPaymentId\": \"V.^\",\n    \"time\": \"<dateTime>\",\n    \"initiator\": \"MIT\",\n    \"description1\": \"<string>\",\n    \"description2\": \"<string>\",\n    \"isSubscription\": \"<boolean>\"\n  },\n  \"order\": {\n    \"merchantOrderId\": \"D\",\n    \"orderTime\": \"<dateTime>\",\n    \"orderStatus\": \"<string>\",\n    \"sessionDuration\": \"<number>\",\n    \"numOfItems\": \"<number>\",\n    \"shoppingCart\": {\n      \"ea7\": false,\n      \"eua6\": \"velit Lorem officia et\",\n      \"dolore__d\": \"ullamco Lorem\"\n    },\n    \"shippingAddress\": {\n      \"firstName\": \"<string>\",\n      \"lastName\": \"<string>\",\n      \"country\": \"RI\",\n      \"state\": \"<string>\",\n      \"city\": \"<string>\",\n      \"address1\": \"<string>\",\n      \"address2\": \"<string>\",\n      \"postalCode\": \"<string>\",\n      \"phone\": \"+2032569292326\"\n    }\n  },\n  \"customerId\": \"i;qS:0s\",\n  \"merchant\": {\n    \"terminalId\": \"Fv\",\n    \"submerchantId\": \"syCR!pq{h\",\n    \"dynamicDescriptor\": \"<string>\"\n  },\n  \"cardHolder\": {\n    \"holderName\": \"<string>\",\n    \"billingAddress\": {\n      \"firstName\": \"<string>\",\n      \"lastName\": \"<string>\",\n      \"country\": \"RI\",\n      \"state\": \"<string>\",\n      \"city\": \"<string>\",\n      \"address1\": \"<string>\",\n      \"address2\": \"<string>\",\n      \"postalCode\": \"<string>\",\n      \"phone\": \"+1980938287754\"\n    }\n  },\n  \"threeDS\": {\n    \"threeDSEnabled\": \"<boolean>\",\n    \"threeDSToken\": \"K9mc-jeQfK9mc-jeQf\",\n    \"version\": \"<string>\",\n    \"threeDSAuthenticationStatus\": \"K\",\n    \"eciValue\": \"43\",\n    \"cavv\": \"iOn2SpceuPiOn2SpceuPiOn2SpceuPiOn2SpceuP\",\n    \"xid\": \"iA-li2yubqiA-li2yubq\",\n    \"ds_xid\": \"ztztztztztztztztztztztztztztztzt\",\n    \"encoding\": \"<string>\"\n  },\n  \"device\": {\n    \"id\": \"N#h2@D\",\n    \"type\": \"<string>\",\n    \"os\": \"<string>\",\n    \"osVersion\": \"<string>\",\n    \"browserAgent\": \"<string>\",\n    \"browserLanguage\": \"Dw_bsHifp9s-8fkK1v\",\n    \"ip\": \"<ipv4>\",\n    \"geoLocation\": {\n      \"latitude\": \"<number>\",\n      \"longitude\": \"<number>\"\n    },\n    \"fingerprint\": \"<string>\"\n  },\n  \"extraDetails\": {\n    \"cillum12\": \"sunt Excepteur ex\"\n  }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://sandbox-api.bettercharge.ai/v1/payment/authorize"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"decision\": \"APPROVE\",\n  \"score\": \"<number>\",\n  \"bcId\": \"<string>\",\n  \"partnerTransactionId\": \"<string>\",\n  \"partnerPaymentId\": \"<string>\",\n  \"merchantOrderId\": \"<string>\",\n  \"reason\": \"<string>\",\n  \"merchantId\": \"<string>\",\n  \"amount\": {\n    \"value\": \"<number>\",\n    \"currency\": \"<string>\"\n  },\n  \"extraDetails\": {\n    \"deserunt_965\": -88397810\n  }\n}"},{"id":"f497346e-7f67-4ec8-8410-2f8751ad0dc6","name":"Error response","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"<string>","description":"(Required) "},{"key":"x-partner-id","value":"<string>","description":"(Required) "},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"merchantId\": \"<uuid>\",\n  \"partnerTransactionId\": \"!.r>:p~\",\n  \"amount\": {\n    \"value\": \"<number>\",\n    \"currency\": \"<string>\"\n  },\n  \"card\": {\n    \"number\": -6279795,\n    \"cvv\": true\n  },\n  \"cascadingAttempts\": [\n    {\n      \"attemptId\": \"nJMvVnJMvV\",\n      \"time\": \"<dateTime>\",\n      \"status\": \"T Ud᠎\",\n      \"providerName\": \"<string>\",\n      \"providerResponseCode\": \"<string>\",\n      \"providerTransactionId\": \"u3\",\n      \"providerResponseMessage\": \"<string>\",\n      \"issuerResponseCode\": \"<string>\",\n      \"issuerResponseMessage\": \"<string>\",\n      \"issuerName\": \"<string>\",\n      \"merchantAdviceCode\": \"KOP3\"\n    }\n  ],\n  \"payment\": {\n    \"partnerPaymentId\": \"V.^\",\n    \"time\": \"<dateTime>\",\n    \"initiator\": \"MIT\",\n    \"description1\": \"<string>\",\n    \"description2\": \"<string>\",\n    \"isSubscription\": \"<boolean>\"\n  },\n  \"order\": {\n    \"merchantOrderId\": \"D\",\n    \"orderTime\": \"<dateTime>\",\n    \"orderStatus\": \"<string>\",\n    \"sessionDuration\": \"<number>\",\n    \"numOfItems\": \"<number>\",\n    \"shoppingCart\": {\n      \"ea7\": false,\n      \"eua6\": \"velit Lorem officia et\",\n      \"dolore__d\": \"ullamco Lorem\"\n    },\n    \"shippingAddress\": {\n      \"firstName\": \"<string>\",\n      \"lastName\": \"<string>\",\n      \"country\": \"RI\",\n      \"state\": \"<string>\",\n      \"city\": \"<string>\",\n      \"address1\": \"<string>\",\n      \"address2\": \"<string>\",\n      \"postalCode\": \"<string>\",\n      \"phone\": \"+2032569292326\"\n    }\n  },\n  \"customerId\": \"i;qS:0s\",\n  \"merchant\": {\n    \"terminalId\": \"Fv\",\n    \"submerchantId\": \"syCR!pq{h\",\n    \"dynamicDescriptor\": \"<string>\"\n  },\n  \"cardHolder\": {\n    \"holderName\": \"<string>\",\n    \"billingAddress\": {\n      \"firstName\": \"<string>\",\n      \"lastName\": \"<string>\",\n      \"country\": \"RI\",\n      \"state\": \"<string>\",\n      \"city\": \"<string>\",\n      \"address1\": \"<string>\",\n      \"address2\": \"<string>\",\n      \"postalCode\": \"<string>\",\n      \"phone\": \"+1980938287754\"\n    }\n  },\n  \"threeDS\": {\n    \"threeDSEnabled\": \"<boolean>\",\n    \"threeDSToken\": \"K9mc-jeQfK9mc-jeQf\",\n    \"version\": \"<string>\",\n    \"threeDSAuthenticationStatus\": \"K\",\n    \"eciValue\": \"43\",\n    \"cavv\": \"iOn2SpceuPiOn2SpceuPiOn2SpceuPiOn2SpceuP\",\n    \"xid\": \"iA-li2yubqiA-li2yubq\",\n    \"ds_xid\": \"ztztztztztztztztztztztztztztztzt\",\n    \"encoding\": \"<string>\"\n  },\n  \"device\": {\n    \"id\": \"N#h2@D\",\n    \"type\": \"<string>\",\n    \"os\": \"<string>\",\n    \"osVersion\": \"<string>\",\n    \"browserAgent\": \"<string>\",\n    \"browserLanguage\": \"Dw_bsHifp9s-8fkK1v\",\n    \"ip\": \"<ipv4>\",\n    \"geoLocation\": {\n      \"latitude\": \"<number>\",\n      \"longitude\": \"<number>\"\n    },\n    \"fingerprint\": \"<string>\"\n  },\n  \"extraDetails\": {\n    \"cillum12\": \"sunt Excepteur ex\"\n  }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://sandbox-api.bettercharge.ai/v1/payment/authorize"},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"response\": {\n    \"status\": \"<string>\",\n    \"code\": \"<number>\",\n    \"message\": \"<string>\",\n    \"codeDescription\": \"<string>\",\n    \"displayMessage\": \"<string>\"\n  },\n  \"result\": [\n    {\n      \"type\": \"<string>\",          // error type\n      \"field\": \"<string>\",         // the field that failed validation\n      \"message\": \"<string>\"        // human readable description of the validation failure\n    }\n  ]\n}"},{"id":"5fb75006-08b1-48dc-a64e-30fcdd2e05e0","name":"Decline reponse","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"<string>","description":"(Required) "},{"key":"x-partner-id","value":"<string>","description":"(Required) "},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"merchantId\": \"<uuid>\",\n  \"partnerTransactionId\": \"!.r>:p~\",\n  \"amount\": {\n    \"value\": \"<number>\",\n    \"currency\": \"<string>\"\n  },\n  \"card\": {\n    \"number\": -6279795,\n    \"cvv\": true\n  },\n  \"cascadingAttempts\": [\n    {\n      \"attemptId\": \"nJMvVnJMvV\",\n      \"time\": \"<dateTime>\",\n      \"status\": \"T Ud᠎\",\n      \"providerName\": \"<string>\",\n      \"providerResponseCode\": \"<string>\",\n      \"providerTransactionId\": \"u3\",\n      \"providerResponseMessage\": \"<string>\",\n      \"issuerResponseCode\": \"<string>\",\n      \"issuerResponseMessage\": \"<string>\",\n      \"issuerName\": \"<string>\",\n      \"merchantAdviceCode\": \"KOP3\"\n    }\n  ],\n  \"payment\": {\n    \"partnerPaymentId\": \"V.^\",\n    \"time\": \"<dateTime>\",\n    \"initiator\": \"MIT\",\n    \"description1\": \"<string>\",\n    \"description2\": \"<string>\",\n    \"isSubscription\": \"<boolean>\"\n  },\n  \"order\": {\n    \"merchantOrderId\": \"D\",\n    \"orderTime\": \"<dateTime>\",\n    \"orderStatus\": \"<string>\",\n    \"sessionDuration\": \"<number>\",\n    \"numOfItems\": \"<number>\",\n    \"shoppingCart\": {\n      \"ea7\": false,\n      \"eua6\": \"velit Lorem officia et\",\n      \"dolore__d\": \"ullamco Lorem\"\n    },\n    \"shippingAddress\": {\n      \"firstName\": \"<string>\",\n      \"lastName\": \"<string>\",\n      \"country\": \"RI\",\n      \"state\": \"<string>\",\n      \"city\": \"<string>\",\n      \"address1\": \"<string>\",\n      \"address2\": \"<string>\",\n      \"postalCode\": \"<string>\",\n      \"phone\": \"+2032569292326\"\n    }\n  },\n  \"customerId\": \"i;qS:0s\",\n  \"merchant\": {\n    \"terminalId\": \"Fv\",\n    \"submerchantId\": \"syCR!pq{h\",\n    \"dynamicDescriptor\": \"<string>\"\n  },\n  \"cardHolder\": {\n    \"holderName\": \"<string>\",\n    \"billingAddress\": {\n      \"firstName\": \"<string>\",\n      \"lastName\": \"<string>\",\n      \"country\": \"RI\",\n      \"state\": \"<string>\",\n      \"city\": \"<string>\",\n      \"address1\": \"<string>\",\n      \"address2\": \"<string>\",\n      \"postalCode\": \"<string>\",\n      \"phone\": \"+1980938287754\"\n    }\n  },\n  \"threeDS\": {\n    \"threeDSEnabled\": \"<boolean>\",\n    \"threeDSToken\": \"K9mc-jeQfK9mc-jeQf\",\n    \"version\": \"<string>\",\n    \"threeDSAuthenticationStatus\": \"K\",\n    \"eciValue\": \"43\",\n    \"cavv\": \"iOn2SpceuPiOn2SpceuPiOn2SpceuPiOn2SpceuP\",\n    \"xid\": \"iA-li2yubqiA-li2yubq\",\n    \"ds_xid\": \"ztztztztztztztztztztztztztztztzt\",\n    \"encoding\": \"<string>\"\n  },\n  \"device\": {\n    \"id\": \"N#h2@D\",\n    \"type\": \"<string>\",\n    \"os\": \"<string>\",\n    \"osVersion\": \"<string>\",\n    \"browserAgent\": \"<string>\",\n    \"browserLanguage\": \"Dw_bsHifp9s-8fkK1v\",\n    \"ip\": \"<ipv4>\",\n    \"geoLocation\": {\n      \"latitude\": \"<number>\",\n      \"longitude\": \"<number>\"\n    },\n    \"fingerprint\": \"<string>\"\n  },\n  \"extraDetails\": {\n    \"cillum12\": \"sunt Excepteur ex\"\n  }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://sandbox-api.bettercharge.ai/v1/payment/authorize"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n  \"decision\": \"<string>\",\n  \"score\": \"<number>\",\n  \"bcId\": \"<string>\",\n  \"partnerTransactionId\": \"<string>\",\n  \"partnerPaymentId\": \"<string>\",\n  \"merchantOrderId\": \"<string>\",\n  \"reason\": \"<string>\",\n  \"reasonCode\": \"<string>\",\n  \"code\": \"<string>\",\n  \"codeDescription\": \"<string>\",\n  \"displayMessage\": \"<string>\"\n}\n"}],"_postman_id":"c4ca93bf-991d-42de-b4f6-9384f8a096b3"},{"name":"Charge payment","id":"2adf177c-593a-471e-aa3e-ad7c60d94047","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"x-api-key","value":"<string>","description":"<p>(Required) </p>\n"},{"key":"x-partner-id","value":"<string>","description":"<p>(Required) </p>\n"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"merchantId\": \"<uuid>\",\n    \"partnerTransactionId\": \"!.r>:p~\",\n    \"amount\": {\n        \"value\": \"<number>\",\n        \"currency\": \"<string>\"\n    },\n    \"card\": {\n        \"number\": -6279795,\n        \"cvv\": true\n    },\n    \"cascadingAttempts\": [\n        {\n            \"attemptId\": \"nJMvVnJMvV\",\n            \"time\": \"<dateTime>\",\n            \"status\": \"TUd᠎\",\n            \"providerName\": \"<string>\",\n            \"providerResponseCode\": \"<string>\",\n            \"providerTransactionId\": \"u3\",\n            \"providerResponseMessage\": \"<string>\",\n            \"issuerResponseCode\": \"<string>\",\n            \"issuerResponseMessage\": \"<string>\",\n            \"issuerName\": \"<string>\",\n            \"merchantAdviceCode\": \"KOP3\"\n        }\n    ],\n    \"payment\": {\n        \"partnerPaymentId\": \"V.^\",\n        \"time\": \"<dateTime>\",\n        \"initiator\": \"MIT\",\n        \"description1\": \"<string>\",\n        \"description2\": \"<string>\",\n        \"isSubscription\": \"<boolean>\"\n    },\n    \"order\": {\n        \"merchantOrderId\": \"D\",\n        \"orderTime\": \"<dateTime>\",\n        \"orderStatus\": \"<string>\",\n        \"sessionDuration\": \"<number>\",\n        \"numOfItems\": \"<number>\",\n        \"shoppingCart\": {\n            \"ea7\": false,\n            \"eua6\": \"velit Lorem officia et\",\n            \"dolore__d\": \"ullamco Lorem\"\n        },\n        \"shippingAddress\": {\n            \"firstName\": \"<string>\",\n            \"lastName\": \"<string>\",\n            \"country\": \"RI\",\n            \"state\": \"<string>\",\n            \"city\": \"<string>\",\n            \"address1\": \"<string>\",\n            \"address2\": \"<string>\",\n            \"postalCode\": \"<string>\",\n            \"phone\": \"+2032569292326\"\n        }\n    },\n    \"customerId\": \"i;qS:0s\",\n    \"merchant\": {\n        \"terminalId\": \"Fv\",\n        \"submerchantId\": \"syCR!pq{h\",\n        \"dynamicDescriptor\": \"<string>\"\n    },\n    \"cardHolder\": {\n        \"holderName\": \"<string>\",\n        \"billingAddress\": {\n            \"firstName\": \"<string>\",\n            \"lastName\": \"<string>\",\n            \"country\": \"RI\",\n            \"state\": \"<string>\",\n            \"city\": \"<string>\",\n            \"address1\": \"<string>\",\n            \"address2\": \"<string>\",\n            \"postalCode\": \"<string>\",\n            \"phone\": \"+1980938287754\"\n        }\n    },\n    \"threeDS\": {\n        \"threeDSEnabled\": \"<boolean>\",\n        \"threeDSToken\": \"K9mc-jeQfK9mc-jeQf\",\n        \"version\": \"<string>\",\n        \"threeDSAuthenticationStatus\": \"K\",\n        \"eciValue\": \"43\",\n        \"cavv\": \"iOn2SpceuPiOn2SpceuPiOn2SpceuPiOn2SpceuP\",\n        \"xid\": \"iA-li2yubqiA-li2yubq\",\n        \"ds_xid\": \"ztztztztztztztztztztztztztztztzt\",\n        \"encoding\": \"<string>\"\n    },\n    \"device\": {\n        \"id\": \"N#h2@D\",\n        \"type\": \"<string>\",\n        \"os\": \"<string>\",\n        \"osVersion\": \"<string>\",\n        \"browserAgent\": \"<string>\",\n        \"browserLanguage\": \"Dw_bsHifp9s-8fkK1v\",\n        \"ip\": \"<ipv4>\",\n        \"geoLocation\": {\n            \"latitude\": \"<number>\",\n            \"longitude\": \"<number>\"\n        },\n        \"fingerprint\": \"<string>\"\n    },\n    \"extraDetails\": {\n        \"cillum12\": \"sunt Excepteur ex\"\n    },\n    \"allowedProviders\": [\n        {\n            \"provider\": \"<string>\",\n            \"accountIdentifier\": \"<string>\"\n        }\n    ],\n    \"saveCard\": \"<boolean>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://sandbox-api.bettercharge.ai/v1/payment/charge","description":"<p>Charge payment and return decision based on passed params</p>\n","urlObject":{"path":["v1","payment","charge"],"host":["https://sandbox-api.bettercharge.ai"],"query":[],"variable":[]}},"response":[{"id":"3762806d-8479-4d3c-8a09-42591f849dee","name":"Successful response","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"<string>","description":"(Required) "},{"key":"x-partner-id","value":"<string>","description":"(Required) "},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"merchantId\": \"<uuid>\",\n  \"partnerTransactionId\": \"!.r>:p~\",\n  \"amount\": {\n    \"value\": \"<number>\",\n    \"currency\": \"<string>\"\n  },\n  \"card\": {\n    \"number\": -6279795,\n    \"cvv\": true\n  },\n  \"cascadingAttempts\": [\n    {\n      \"attemptId\": \"nJMvVnJMvV\",\n      \"time\": \"<dateTime>\",\n      \"status\": \"T Ud᠎\",\n      \"providerName\": \"<string>\",\n      \"providerResponseCode\": \"<string>\",\n      \"providerTransactionId\": \"u3\",\n      \"providerResponseMessage\": \"<string>\",\n      \"issuerResponseCode\": \"<string>\",\n      \"issuerResponseMessage\": \"<string>\",\n      \"issuerName\": \"<string>\",\n      \"merchantAdviceCode\": \"KOP3\"\n    }\n  ],\n  \"payment\": {\n    \"partnerPaymentId\": \"V.^\",\n    \"time\": \"<dateTime>\",\n    \"initiator\": \"MIT\",\n    \"description1\": \"<string>\",\n    \"description2\": \"<string>\",\n    \"isSubscription\": \"<boolean>\"\n  },\n  \"order\": {\n    \"merchantOrderId\": \"D\",\n    \"orderTime\": \"<dateTime>\",\n    \"orderStatus\": \"<string>\",\n    \"sessionDuration\": \"<number>\",\n    \"numOfItems\": \"<number>\",\n    \"shoppingCart\": {\n      \"ea7\": false,\n      \"eua6\": \"velit Lorem officia et\",\n      \"dolore__d\": \"ullamco Lorem\"\n    },\n    \"shippingAddress\": {\n      \"firstName\": \"<string>\",\n      \"lastName\": \"<string>\",\n      \"country\": \"RI\",\n      \"state\": \"<string>\",\n      \"city\": \"<string>\",\n      \"address1\": \"<string>\",\n      \"address2\": \"<string>\",\n      \"postalCode\": \"<string>\",\n      \"phone\": \"+2032569292326\"\n    }\n  },\n  \"customerId\": \"i;qS:0s\",\n  \"merchant\": {\n    \"terminalId\": \"Fv\",\n    \"submerchantId\": \"syCR!pq{h\",\n    \"dynamicDescriptor\": \"<string>\"\n  },\n  \"cardHolder\": {\n    \"holderName\": \"<string>\",\n    \"billingAddress\": {\n      \"firstName\": \"<string>\",\n      \"lastName\": \"<string>\",\n      \"country\": \"RI\",\n      \"state\": \"<string>\",\n      \"city\": \"<string>\",\n      \"address1\": \"<string>\",\n      \"address2\": \"<string>\",\n      \"postalCode\": \"<string>\",\n      \"phone\": \"+1980938287754\"\n    }\n  },\n  \"threeDS\": {\n    \"threeDSEnabled\": \"<boolean>\",\n    \"threeDSToken\": \"K9mc-jeQfK9mc-jeQf\",\n    \"version\": \"<string>\",\n    \"threeDSAuthenticationStatus\": \"K\",\n    \"eciValue\": \"43\",\n    \"cavv\": \"iOn2SpceuPiOn2SpceuPiOn2SpceuPiOn2SpceuP\",\n    \"xid\": \"iA-li2yubqiA-li2yubq\",\n    \"ds_xid\": \"ztztztztztztztztztztztztztztztzt\",\n    \"encoding\": \"<string>\"\n  },\n  \"device\": {\n    \"id\": \"N#h2@D\",\n    \"type\": \"<string>\",\n    \"os\": \"<string>\",\n    \"osVersion\": \"<string>\",\n    \"browserAgent\": \"<string>\",\n    \"browserLanguage\": \"Dw_bsHifp9s-8fkK1v\",\n    \"ip\": \"<ipv4>\",\n    \"geoLocation\": {\n      \"latitude\": \"<number>\",\n      \"longitude\": \"<number>\"\n    },\n    \"fingerprint\": \"<string>\"\n  },\n  \"extraDetails\": {\n    \"cillum12\": \"sunt Excepteur ex\"\n  }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://sandbox-api.bettercharge.ai/v1/payment/charge"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"decision\": \"APPROVE\",\n  \"score\": \"<number>\",\n  \"bcId\": \"<string>\",\n  \"reason\": \"<string>\",\n  \"partnerTransactionId\": \"<string>\",\n  \"partnerPaymentId\": \"<string>\",\n  \"merchantId\": \"<string>\",\n  \"merchantOrderId\": \"<string>\",\n  \"extraDetails\": {\n    \"ea_1\": -97482294.6435439\n  }\n}"},{"id":"8b889cf4-e0b8-417e-a680-28461229d7f7","name":"Error response","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"<string>","description":"(Required) "},{"key":"x-partner-id","value":"<string>","description":"(Required) "},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"merchantId\": \"<uuid>\",\n  \"partnerTransactionId\": \"!.r>:p~\",\n  \"amount\": {\n    \"value\": \"<number>\",\n    \"currency\": \"<string>\"\n  },\n  \"card\": {\n    \"number\": -6279795,\n    \"cvv\": true\n  },\n  \"cascadingAttempts\": [\n    {\n      \"attemptId\": \"nJMvVnJMvV\",\n      \"time\": \"<dateTime>\",\n      \"status\": \"T Ud᠎\",\n      \"providerName\": \"<string>\",\n      \"providerResponseCode\": \"<string>\",\n      \"providerTransactionId\": \"u3\",\n      \"providerResponseMessage\": \"<string>\",\n      \"issuerResponseCode\": \"<string>\",\n      \"issuerResponseMessage\": \"<string>\",\n      \"issuerName\": \"<string>\",\n      \"merchantAdviceCode\": \"KOP3\"\n    }\n  ],\n  \"payment\": {\n    \"partnerPaymentId\": \"V.^\",\n    \"time\": \"<dateTime>\",\n    \"initiator\": \"MIT\",\n    \"description1\": \"<string>\",\n    \"description2\": \"<string>\",\n    \"isSubscription\": \"<boolean>\"\n  },\n  \"order\": {\n    \"merchantOrderId\": \"D\",\n    \"orderTime\": \"<dateTime>\",\n    \"orderStatus\": \"<string>\",\n    \"sessionDuration\": \"<number>\",\n    \"numOfItems\": \"<number>\",\n    \"shoppingCart\": {\n      \"ea7\": false,\n      \"eua6\": \"velit Lorem officia et\",\n      \"dolore__d\": \"ullamco Lorem\"\n    },\n    \"shippingAddress\": {\n      \"firstName\": \"<string>\",\n      \"lastName\": \"<string>\",\n      \"country\": \"RI\",\n      \"state\": \"<string>\",\n      \"city\": \"<string>\",\n      \"address1\": \"<string>\",\n      \"address2\": \"<string>\",\n      \"postalCode\": \"<string>\",\n      \"phone\": \"+2032569292326\"\n    }\n  },\n  \"customerId\": \"i;qS:0s\",\n  \"merchant\": {\n    \"terminalId\": \"Fv\",\n    \"submerchantId\": \"syCR!pq{h\",\n    \"dynamicDescriptor\": \"<string>\"\n  },\n  \"cardHolder\": {\n    \"holderName\": \"<string>\",\n    \"billingAddress\": {\n      \"firstName\": \"<string>\",\n      \"lastName\": \"<string>\",\n      \"country\": \"RI\",\n      \"state\": \"<string>\",\n      \"city\": \"<string>\",\n      \"address1\": \"<string>\",\n      \"address2\": \"<string>\",\n      \"postalCode\": \"<string>\",\n      \"phone\": \"+1980938287754\"\n    }\n  },\n  \"threeDS\": {\n    \"threeDSEnabled\": \"<boolean>\",\n    \"threeDSToken\": \"K9mc-jeQfK9mc-jeQf\",\n    \"version\": \"<string>\",\n    \"threeDSAuthenticationStatus\": \"K\",\n    \"eciValue\": \"43\",\n    \"cavv\": \"iOn2SpceuPiOn2SpceuPiOn2SpceuPiOn2SpceuP\",\n    \"xid\": \"iA-li2yubqiA-li2yubq\",\n    \"ds_xid\": \"ztztztztztztztztztztztztztztztzt\",\n    \"encoding\": \"<string>\"\n  },\n  \"device\": {\n    \"id\": \"N#h2@D\",\n    \"type\": \"<string>\",\n    \"os\": \"<string>\",\n    \"osVersion\": \"<string>\",\n    \"browserAgent\": \"<string>\",\n    \"browserLanguage\": \"Dw_bsHifp9s-8fkK1v\",\n    \"ip\": \"<ipv4>\",\n    \"geoLocation\": {\n      \"latitude\": \"<number>\",\n      \"longitude\": \"<number>\"\n    },\n    \"fingerprint\": \"<string>\"\n  },\n  \"extraDetails\": {\n    \"cillum12\": \"sunt Excepteur ex\"\n  }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://sandbox-api.bettercharge.ai/v1/payment/charge"},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"response\": {\n    \"status\": \"<string>\",\n    \"code\": \"<number>\",\n    \"message\": \"<string>\",\n    \"codeDescription\": \"<string>\",\n    \"displayMessage\": \"<string>\"\n  },\n  \"result\": [\n    {\n      \"type\": \"<string>\",          // error type\n      \"field\": \"<string>\",         // the field that failed validation\n      \"message\": \"<string>\"        // human readable description of the validation failure\n    }\n  ]\n}"},{"id":"c24a2e7b-7f69-4d67-81fc-1093b954abb9","name":"Charge payment","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"<string>","description":"(Required) "},{"key":"x-partner-id","value":"<string>","description":"(Required) "},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"merchantId\": \"<uuid>\",\n  \"partnerTransactionId\": \"!.r>:p~\",\n  \"amount\": {\n    \"value\": \"<number>\",\n    \"currency\": \"<string>\"\n  },\n  \"card\": {\n    \"number\": -6279795,\n    \"cvv\": true\n  },\n  \"cascadingAttempts\": [\n    {\n      \"attemptId\": \"nJMvVnJMvV\",\n      \"time\": \"<dateTime>\",\n      \"status\": \"T Ud᠎\",\n      \"providerName\": \"<string>\",\n      \"providerResponseCode\": \"<string>\",\n      \"providerTransactionId\": \"u3\",\n      \"providerResponseMessage\": \"<string>\",\n      \"issuerResponseCode\": \"<string>\",\n      \"issuerResponseMessage\": \"<string>\",\n      \"issuerName\": \"<string>\",\n      \"merchantAdviceCode\": \"KOP3\"\n    }\n  ],\n  \"payment\": {\n    \"partnerPaymentId\": \"V.^\",\n    \"time\": \"<dateTime>\",\n    \"initiator\": \"MIT\",\n    \"description1\": \"<string>\",\n    \"description2\": \"<string>\",\n    \"isSubscription\": \"<boolean>\"\n  },\n  \"order\": {\n    \"merchantOrderId\": \"D\",\n    \"orderTime\": \"<dateTime>\",\n    \"orderStatus\": \"<string>\",\n    \"sessionDuration\": \"<number>\",\n    \"numOfItems\": \"<number>\",\n    \"shoppingCart\": {\n      \"ea7\": false,\n      \"eua6\": \"velit Lorem officia et\",\n      \"dolore__d\": \"ullamco Lorem\"\n    },\n    \"shippingAddress\": {\n      \"firstName\": \"<string>\",\n      \"lastName\": \"<string>\",\n      \"country\": \"RI\",\n      \"state\": \"<string>\",\n      \"city\": \"<string>\",\n      \"address1\": \"<string>\",\n      \"address2\": \"<string>\",\n      \"postalCode\": \"<string>\",\n      \"phone\": \"+2032569292326\"\n    }\n  },\n  \"customerId\": \"i;qS:0s\",\n  \"merchant\": {\n    \"terminalId\": \"Fv\",\n    \"submerchantId\": \"syCR!pq{h\",\n    \"dynamicDescriptor\": \"<string>\"\n  },\n  \"cardHolder\": {\n    \"holderName\": \"<string>\",\n    \"billingAddress\": {\n      \"firstName\": \"<string>\",\n      \"lastName\": \"<string>\",\n      \"country\": \"RI\",\n      \"state\": \"<string>\",\n      \"city\": \"<string>\",\n      \"address1\": \"<string>\",\n      \"address2\": \"<string>\",\n      \"postalCode\": \"<string>\",\n      \"phone\": \"+1980938287754\"\n    }\n  },\n  \"threeDS\": {\n    \"threeDSEnabled\": \"<boolean>\",\n    \"threeDSToken\": \"K9mc-jeQfK9mc-jeQf\",\n    \"version\": \"<string>\",\n    \"threeDSAuthenticationStatus\": \"K\",\n    \"eciValue\": \"43\",\n    \"cavv\": \"iOn2SpceuPiOn2SpceuPiOn2SpceuPiOn2SpceuP\",\n    \"xid\": \"iA-li2yubqiA-li2yubq\",\n    \"ds_xid\": \"ztztztztztztztztztztztztztztztzt\",\n    \"encoding\": \"<string>\"\n  },\n  \"device\": {\n    \"id\": \"N#h2@D\",\n    \"type\": \"<string>\",\n    \"os\": \"<string>\",\n    \"osVersion\": \"<string>\",\n    \"browserAgent\": \"<string>\",\n    \"browserLanguage\": \"Dw_bsHifp9s-8fkK1v\",\n    \"ip\": \"<ipv4>\",\n    \"geoLocation\": {\n      \"latitude\": \"<number>\",\n      \"longitude\": \"<number>\"\n    },\n    \"fingerprint\": \"<string>\"\n  },\n  \"extraDetails\": {\n    \"cillum12\": \"sunt Excepteur ex\"\n  }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://sandbox-api.bettercharge.ai/v1/payment/charge"},"_postman_previewlanguage":"","header":[],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n  \"decision\": \"<string>\",\n  \"score\": \"<number>\",\n  \"bcId\": \"<string>\",\n  \"partnerTransactionId\": \"<string>\",\n  \"partnerPaymentId\": \"<string>\",\n  \"merchantOrderId\": \"<string>\",\n  \"reason\": \"<string>\",\n  \"reasonCode\": \"<string>\",\n  \"code\": \"<string>\",\n  \"codeDescription\": \"<string>\",\n  \"displayMessage\": \"<string>\"\n}\n"}],"_postman_id":"2adf177c-593a-471e-aa3e-ad7c60d94047"},{"name":"Void payment","id":"fe2b0071-c4ef-41c7-a5b9-3aa9ca62187d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"description":"<p>(Required) </p>\n","key":"x-api-key","value":"<string>"},{"description":"<p>(Required) </p>\n","key":"x-partner-id","value":"<string>"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"bcId\": \"<uuid>\",\n  \"merchantId\": \"<uuid>\",\n  \"partnerTransactionId\": \"3y\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://sandbox-api.bettercharge.ai/v1/payment/void","description":"<p>Void payment</p>\n","urlObject":{"path":["v1","payment","void"],"host":["https://sandbox-api.bettercharge.ai"],"query":[],"variable":[]}},"response":[{"id":"5a365fe3-00d9-465c-80a2-b6d94f4fab87","name":"Successful response","originalRequest":{"method":"POST","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"description":"(Required) ","key":"x-partner-id","value":"<string>"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"bcId\": \"<uuid>\",\n  \"merchantId\": \"<uuid>\",\n  \"partnerTransactionId\": \"3y\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://sandbox-api.bettercharge.ai/v1/payment/void"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"state\": \"CAPTURED\",\n  \"bcId\": \"<string>\",\n  \"partnerTransactionId\": \"<string>\",\n  \"partnerPaymentId\": \"<string>\",\n  \"merchantOrderId\": \"<string>\",\n  \"merchantId\": \"<string>\"\n}"},{"id":"d96f98df-b804-4146-9226-418f6fb4c101","name":"Error response","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"<string>","description":"(Required) "},{"key":"x-partner-id","value":"<string>","description":"(Required) "},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"bcId\": \"<uuid>\",\n  \"merchantId\": \"<uuid>\",\n  \"partnerTransactionId\": \"3y\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://sandbox-api.bettercharge.ai/v1/payment/void"},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"statusCode\": \"<number>\",\n  \"code\": \"<string>\",          // internal / framework error code\n  \"error\": \"<string>\",         // short error name\n  \"message\": \"<string>\",        // human-readable description of the failure\n  \"codeDescription\": \"<string>\", // Merchant facing error\n  \"displayMessage\": \"<string>\" // human-readable description of the failure\n}"}],"_postman_id":"fe2b0071-c4ef-41c7-a5b9-3aa9ca62187d"},{"name":"Capture payment","id":"8c154660-4ffc-4410-8f0c-b3833f23365e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"description":"<p>(Required) </p>\n","key":"x-api-key","value":"<string>"},{"description":"<p>(Required) </p>\n","key":"x-partner-id","value":"<string>"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"bcId\": \"<uuid>\",\n  \"merchantId\": \"<uuid>\",\n  \"amount\": {\n    \"value\": \"<number>\",\n    \"currency\": \"<string>\"\n  },\n  \"partnerTransactionId\": \"5oKB3oc5l_s\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://sandbox-api.bettercharge.ai/v1/payment/capture","description":"<p>Capture payment</p>\n","urlObject":{"path":["v1","payment","capture"],"host":["https://sandbox-api.bettercharge.ai"],"query":[],"variable":[]}},"response":[{"id":"e38905da-f23c-42fc-a63b-72f3c9946401","name":"Successful response","originalRequest":{"method":"POST","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"description":"(Required) ","key":"x-partner-id","value":"<string>"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"bcId\": \"<uuid>\",\n  \"merchantId\": \"<uuid>\",\n  \"amount\": {\n    \"value\": \"<number>\",\n    \"currency\": \"<string>\"\n  },\n  \"partnerTransactionId\": \"5oKB3oc5l_s\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://sandbox-api.bettercharge.ai/v1/payment/capture"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"state\": \"FAILED\",\n  \"bcId\": \"<string>\",\n  \"amountCaptured\": \"<number>\",\n  \"partnerTransactionId\": \"<string>\",\n  \"partnerPaymentId\": \"<string>\",\n  \"merchantOrderId\": \"<string>\",\n  \"merchantId\": \"<string>\"\n}"},{"id":"77f69909-916f-4983-a4e7-e464c1aad3e5","name":"Error response","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"<string>","description":"(Required) "},{"key":"x-partner-id","value":"<string>","description":"(Required) "},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"bcId\": \"<uuid>\",\n  \"merchantId\": \"<uuid>\",\n  \"amount\": {\n    \"value\": \"<number>\",\n    \"currency\": \"<string>\"\n  },\n  \"partnerTransactionId\": \"5oKB3oc5l_s\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://sandbox-api.bettercharge.ai/v1/payment/capture"},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"statusCode\": \"<number>\",\n  \"code\": \"<string>\",          // internal / framework error code\n  \"error\": \"<string>\",         // short error name\n  \"message\": \"<string>\",        // human-readable description of the failure\n  \"codeDescription\": \"<string>\", // Merchant facing error\n  \"displayMessage\": \"<string>\" // human-readable description of the failure\n}"}],"_postman_id":"8c154660-4ffc-4410-8f0c-b3833f23365e"},{"name":"Refund payment","id":"d19bb718-69f1-407c-bb81-2b6803318cce","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"description":"<p>(Required) </p>\n","key":"x-api-key","value":"<string>"},{"description":"<p>(Required) </p>\n","key":"x-partner-id","value":"<string>"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"bcId\": \"<uuid>\",\n  \"partnerTransactionId\": \"Cl38so1ls\",\n  \"merchantId\": \"<uuid>\",\n  \"amount\": {\n    \"value\": \"<number>\",\n    \"currency\": \"<string>\"\n  }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://sandbox-api.bettercharge.ai/v1/payment/refund","description":"<p>Refund payment</p>\n","urlObject":{"path":["v1","payment","refund"],"host":["https://sandbox-api.bettercharge.ai"],"query":[],"variable":[]}},"response":[{"id":"40b8b903-19c3-47c2-a9f1-daa2fcc715a2","name":"Successful response","originalRequest":{"method":"POST","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"description":"(Required) ","key":"x-partner-id","value":"<string>"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"bcId\": \"<uuid>\",\n  \"partnerTransactionId\": \"Cl38so1ls\",\n  \"merchantId\": \"<uuid>\",\n  \"amount\": {\n    \"value\": \"<number>\",\n    \"currency\": \"<string>\"\n  }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://sandbox-api.bettercharge.ai/v1/payment/refund"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"state\": \"UNKNOWN\",\n  \"bcId\": \"<string>\",\n  \"partnerTransactionId\": \"<string>\",\n  \"partnerPaymentId\": \"<string>\",\n  \"merchantOrderId\": \"<string>\",\n  \"refundAmount\": \"<number>\",\n  \"totalRefundedAmount\": \"<number>\",\n  \"merchantId\": \"<string>\"\n}"},{"id":"cb82a7f0-c3ef-4ff2-8561-1eb138bf6461","name":"Error response","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"<string>","description":"(Required) "},{"key":"x-partner-id","value":"<string>","description":"(Required) "},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"bcId\": \"<uuid>\",\n  \"partnerTransactionId\": \"Cl38so1ls\",\n  \"merchantId\": \"<uuid>\",\n  \"amount\": {\n    \"value\": \"<number>\",\n    \"currency\": \"<string>\"\n  }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://sandbox-api.bettercharge.ai/v1/payment/refund"},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"statusCode\": \"<number>\",\n  \"code\": \"<string>\",          // internal / framework error code\n  \"error\": \"<string>\",         // short error name\n  \"message\": \"<string>\",        // human-readable description of the failure\n  \"codeDescription\": \"<string>\", // Merchant facing error\n  \"displayMessage\": \"<string>\" // human-readable description of the failure\n}"}],"_postman_id":"d19bb718-69f1-407c-bb81-2b6803318cce"},{"name":"Payment","id":"6b83ea68-c9ce-4724-a3ab-a060eca2c55e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"description":"<p>(Required) </p>\n","key":"x-api-key","value":"<string>"},{"description":"<p>(Required) </p>\n","key":"x-partner-id","value":"<string>"},{"key":"Accept","value":"application/json"}],"url":"https://sandbox-api.bettercharge.ai/v1/payment?bcId=<string>&merchantOrderId=<string>&partnerPaymentId=<string>&merchantId=<string>","description":"<p>Get payment data</p>\n","urlObject":{"path":["v1","payment"],"host":["https://sandbox-api.bettercharge.ai"],"query":[{"key":"bcId","value":"<string>"},{"key":"merchantOrderId","value":"<string>"},{"key":"partnerPaymentId","value":"<string>"},{"key":"merchantId","value":"<string>"}],"variable":[]}},"response":[{"id":"e0fc90f4-8dd3-4ea1-9acb-f4c18ae32cac","name":"Successful response","originalRequest":{"method":"GET","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"description":"(Required) ","key":"x-partner-id","value":"<string>"},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://sandbox-api.bettercharge.ai/v1/payment?bcId=<string>&merchantOrderId=<string>&partnerPaymentId=<string>&merchantId=<string>","host":["https://sandbox-api.bettercharge.ai"],"path":["v1","payment"],"query":[{"key":"bcId","value":"<string>"},{"key":"merchantOrderId","value":"<string>"},{"key":"partnerPaymentId","value":"<string>"},{"key":"merchantId","value":"<string>"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"merchantId\": \"<uuid>\",\n  \"paymentUSDEqv\": \"<number>\",\n  \"paymentInitiator\": \"<string>\",\n  \"partnerTransactionId\": \"diNsWrN\",\n  \"bcId\": \"<uuid>\",\n  \"merchantName\": \"<string>\",\n  \"merchantCountry\": \"<string>\",\n  \"merchantAddress\": \"<string>\",\n  \"merchantMCC\": \"9657\",\n  \"acquirerId\": \"<string>\",\n  \"cardHolderId\": \"<string>\",\n  \"cardHolderName\": \"<string>\",\n  \"cardHolderCountry\": \"<string>\",\n  \"cardHolderAddress\": \"<string>\",\n  \"cardHolderPhone\": \"<string>\",\n  \"cardHolderEmail\": \"<email>\",\n  \"cardHolderEmailDomain\": \"<string>\",\n  \"cardId\": \"<string>\",\n  \"cardType\": \"<string>\",\n  \"cardToken\": \"<string>\",\n  \"cardSubtype\": \"<string>\",\n  \"cardBrand\": \"<string>\",\n  \"cardBIN\": \"070781\",\n  \"partnerHashedPAN\": \"<string>\",\n  \"cardLast4Digits\": \"2990\",\n  \"cardExpDate\": \"05/95\",\n  \"nameOnCard\": \"<string>\",\n  \"cardBillingAddress\": \"<string>\",\n  \"cardCountry\": \"<string>\",\n  \"issuerId\": \"<string>\",\n  \"issuerName\": \"<string>\",\n  \"saleSessionShippingAddress\": \"<string>\",\n  \"saleSessionPCP\": \"<string>\",\n  \"saleSessionIP\": \"<ipv4>\",\n  \"sessionBrowser\": \"<string>\",\n  \"browserLanguage\": \"<string>\",\n  \"saleSessionDuration\": \"<string>\",\n  \"saleSessionPCOrMobile\": \"<string>\",\n  \"saleSessionDevice\": \"<string>\",\n  \"saleSessionRefToOtherSessions\": \"<string>\",\n  \"merchantOrderId\": \"<string>\",\n  \"orderStatus\": \"<string>\",\n  \"partnerPaymentId\": \"<string>\",\n  \"paymentIdAcqOrNetwork\": \"<string>\",\n  \"paymentCurrentStatus\": \"<string>\",\n  \"paymentType\": \"<string>\",\n  \"providerResponseCode\": \"<string>\",\n  \"paymentAmount\": \"<number>\",\n  \"paymentCurrency\": \"<string>\",\n  \"paymentTime\": \"<string>\",\n  \"payment3DSEnabled\": \"<boolean>\",\n  \"isSubscriptionPayment\": \"<boolean>\",\n  \"paymentDescription1\": \"<string>\",\n  \"paymentDescription2\": \"<string>\",\n  \"paymentScoringExternal\": \"<string>\",\n  \"state\": \"<string>\",\n  \"isLocked\": \"<boolean>\"\n}"},{"id":"3d3b8893-7aa4-4ae6-b0b6-836e4af7c99a","name":"Error response","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"<string>","description":"(Required) "},{"key":"x-partner-id","value":"<string>","description":"(Required) "},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://sandbox-api.bettercharge.ai/v1/payment?bcId=<string>&merchantOrderId=<string>&partnerPaymentId=<string>&merchantId=<string>","host":["https://sandbox-api.bettercharge.ai"],"path":["v1","payment"],"query":[{"key":"bcId","value":"<string>"},{"key":"merchantOrderId","value":"<string>"},{"key":"partnerPaymentId","value":"<string>"},{"key":"merchantId","value":"<string>"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"<string>\"\n}"}],"_postman_id":"6b83ea68-c9ce-4724-a3ab-a060eca2c55e"},{"name":"Charge subscription payment","id":"7cf5e860-a5b2-415e-91e4-791a98879b79","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"description":"<p>(Required) </p>\n","key":"x-api-key","value":"<string>"},{"description":"<p>(Required) </p>\n","key":"x-partner-id","value":"<string>"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"merchantId\": \"<uuid>\",\n  \"partnerTransactionId\": \"9t^YX8GYWiZ\",\n  \"amount\": {\n    \"value\": \"<number>\",\n    \"currency\": \"<string>\"\n  },\n  \"card\": {\n    \"number\": 9477329.622890234,\n    \"cvv\": \"et\"\n  },\n  \"cascadingAttempts\": [\n    {\n      \"attemptId\": \"mSy0IkmSy0Ik\",\n      \"time\": \"<dateTime>\",\n      \"status\": \"u xDR\",\n      \"providerName\": \"<string>\",\n      \"providerResponseCode\": \"<string>\",\n      \"providerTransactionId\": \"vI1ysEM9\",\n      \"providerResponseMessage\": \"<string>\",\n      \"issuerResponseCode\": \"<string>\",\n      \"issuerResponseMessage\": \"<string>\",\n      \"issuerName\": \"<string>\",\n      \"merchantAdviceCode\": \"2E3T\"\n    }\n  ],\n  \"payment\": {\n    \"partnerPaymentId\": \"Z1(hYZ\",\n    \"time\": \"<dateTime>\",\n    \"initiator\": \"CIT\",\n    \"description1\": \"<string>\",\n    \"description2\": \"<string>\"\n  },\n  \"order\": {\n    \"merchantOrderId\": \"IW;k:c\",\n    \"orderTime\": \"<dateTime>\",\n    \"orderStatus\": \"<string>\",\n    \"sessionDuration\": \"<number>\",\n    \"numOfItems\": \"<number>\",\n    \"shoppingCart\": {\n      \"ea_28\": 62827615\n    },\n    \"shippingAddress\": {\n      \"firstName\": \"<string>\",\n      \"lastName\": \"<string>\",\n      \"country\": \"IM\",\n      \"state\": \"<string>\",\n      \"city\": \"<string>\",\n      \"address1\": \"<string>\",\n      \"address2\": \"<string>\",\n      \"postalCode\": \"<string>\",\n      \"phone\": \"+66136439\"\n    }\n  },\n  \"customerId\": \"6KD\\\\\",\n  \"merchant\": {\n    \"terminalId\": \"~\",\n    \"submerchantId\": \"ZhQb\",\n    \"dynamicDescriptor\": \"<string>\"\n  },\n  \"cardHolder\": {\n    \"holderName\": \"<string>\",\n    \"billingAddress\": {\n      \"firstName\": \"<string>\",\n      \"lastName\": \"<string>\",\n      \"country\": \"GF\",\n      \"state\": \"<string>\",\n      \"city\": \"<string>\",\n      \"address1\": \"<string>\",\n      \"address2\": \"<string>\",\n      \"postalCode\": \"<string>\",\n      \"phone\": \"+436854688746\"\n    }\n  },\n  \"threeDS\": {\n    \"threeDSEnabled\": \"<boolean>\",\n    \"threeDSToken\": \"N_N_N_N_N_N_N_N_\",\n    \"version\": \"<string>\",\n    \"threeDSAuthenticationStatus\": \"h\",\n    \"eciValue\": \"63\",\n    \"cavv\": \"vqpg+fV4vqpg+fV4vqpg+fV4vqpg+fV4\",\n    \"xid\": \"myZmyZmyZmyZmyZmyZmyZmyZ\",\n    \"ds_xid\": \"gQgQgQgQgQgQgQgQgQgQgQgQgQgQgQgQ\",\n    \"encoding\": \"<string>\"\n  },\n  \"device\": {\n    \"id\": \"18Wn\",\n    \"type\": \"<string>\",\n    \"os\": \"<string>\",\n    \"osVersion\": \"<string>\",\n    \"browserAgent\": \"<string>\",\n    \"browserLanguage\": \"gG-Dc_CVFk\",\n    \"ip\": \"<ipv4>\",\n    \"geoLocation\": {\n      \"latitude\": \"<number>\",\n      \"longitude\": \"<number>\"\n    },\n    \"fingerprint\": \"<string>\"\n  },\n  \"extraDetails\": {\n    \"veniam_1c6\": \"ipsum\",\n    \"eu_2\": 42699502.31659013,\n    \"incididunt3\": -17476010,\n    \"non_05\": -38887276.166247495\n  }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://sandbox-api.bettercharge.ai/v1/payment/subscription/charge","description":"<p>Charge a subscription payment and return decision based on passed params.</p>\n","urlObject":{"path":["v1","payment","subscription","charge"],"host":["https://sandbox-api.bettercharge.ai"],"query":[],"variable":[]}},"response":[{"id":"8897910f-379e-4c15-b933-e1279bd84a47","name":"Successful response","originalRequest":{"method":"POST","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"description":"(Required) ","key":"x-partner-id","value":"<string>"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"merchantId\": \"<uuid>\",\n  \"partnerTransactionId\": \"9t^YX8GYWiZ\",\n  \"amount\": {\n    \"value\": \"<number>\",\n    \"currency\": \"<string>\"\n  },\n  \"card\": {\n    \"number\": 9477329.622890234,\n    \"cvv\": \"et\"\n  },\n  \"cascadingAttempts\": [\n    {\n      \"attemptId\": \"mSy0IkmSy0Ik\",\n      \"time\": \"<dateTime>\",\n      \"status\": \"u xDR\",\n      \"providerName\": \"<string>\",\n      \"providerResponseCode\": \"<string>\",\n      \"providerTransactionId\": \"vI1ysEM9\",\n      \"providerResponseMessage\": \"<string>\",\n      \"issuerResponseCode\": \"<string>\",\n      \"issuerResponseMessage\": \"<string>\",\n      \"issuerName\": \"<string>\",\n      \"merchantAdviceCode\": \"2E3T\"\n    }\n  ],\n  \"payment\": {\n    \"partnerPaymentId\": \"Z1(hYZ\",\n    \"time\": \"<dateTime>\",\n    \"initiator\": \"CIT\",\n    \"description1\": \"<string>\",\n    \"description2\": \"<string>\"\n  },\n  \"order\": {\n    \"merchantOrderId\": \"IW;k:c\",\n    \"orderTime\": \"<dateTime>\",\n    \"orderStatus\": \"<string>\",\n    \"sessionDuration\": \"<number>\",\n    \"numOfItems\": \"<number>\",\n    \"shoppingCart\": {\n      \"ea_28\": 62827615\n    },\n    \"shippingAddress\": {\n      \"firstName\": \"<string>\",\n      \"lastName\": \"<string>\",\n      \"country\": \"IM\",\n      \"state\": \"<string>\",\n      \"city\": \"<string>\",\n      \"address1\": \"<string>\",\n      \"address2\": \"<string>\",\n      \"postalCode\": \"<string>\",\n      \"phone\": \"+66136439\"\n    }\n  },\n  \"customerId\": \"6KD\\\\\",\n  \"merchant\": {\n    \"terminalId\": \"~\",\n    \"submerchantId\": \"ZhQb\",\n    \"dynamicDescriptor\": \"<string>\"\n  },\n  \"cardHolder\": {\n    \"holderName\": \"<string>\",\n    \"billingAddress\": {\n      \"firstName\": \"<string>\",\n      \"lastName\": \"<string>\",\n      \"country\": \"GF\",\n      \"state\": \"<string>\",\n      \"city\": \"<string>\",\n      \"address1\": \"<string>\",\n      \"address2\": \"<string>\",\n      \"postalCode\": \"<string>\",\n      \"phone\": \"+436854688746\"\n    }\n  },\n  \"threeDS\": {\n    \"threeDSEnabled\": \"<boolean>\",\n    \"threeDSToken\": \"N_N_N_N_N_N_N_N_\",\n    \"version\": \"<string>\",\n    \"threeDSAuthenticationStatus\": \"h\",\n    \"eciValue\": \"63\",\n    \"cavv\": \"vqpg+fV4vqpg+fV4vqpg+fV4vqpg+fV4\",\n    \"xid\": \"myZmyZmyZmyZmyZmyZmyZmyZ\",\n    \"ds_xid\": \"gQgQgQgQgQgQgQgQgQgQgQgQgQgQgQgQ\",\n    \"encoding\": \"<string>\"\n  },\n  \"device\": {\n    \"id\": \"18Wn\",\n    \"type\": \"<string>\",\n    \"os\": \"<string>\",\n    \"osVersion\": \"<string>\",\n    \"browserAgent\": \"<string>\",\n    \"browserLanguage\": \"gG-Dc_CVFk\",\n    \"ip\": \"<ipv4>\",\n    \"geoLocation\": {\n      \"latitude\": \"<number>\",\n      \"longitude\": \"<number>\"\n    },\n    \"fingerprint\": \"<string>\"\n  },\n  \"extraDetails\": {\n    \"veniam_1c6\": \"ipsum\",\n    \"eu_2\": 42699502.31659013,\n    \"incididunt3\": -17476010,\n    \"non_05\": -38887276.166247495\n  }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://sandbox-api.bettercharge.ai/v1/payment/subscription/charge"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"decision\": \"APPROVE\",\n  \"confidence\": \"<number>\",\n  \"bcId\": \"<string>\",\n  \"partnerTransactionId\": \"<string>\",\n  \"partnerPaymentId\": \"<string>\",\n  \"merchantOrderId\": \"<string>\",\n  \"merchantId\": \"<string>\"\n}"},{"id":"f08e7de0-0a88-4424-8d2d-13a883640d88","name":"Error response","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"<string>","description":"(Required) "},{"key":"x-partner-id","value":"<string>","description":"(Required) "},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"merchantId\": \"<uuid>\",\n  \"partnerTransactionId\": \"9t^YX8GYWiZ\",\n  \"amount\": {\n    \"value\": \"<number>\",\n    \"currency\": \"<string>\"\n  },\n  \"card\": {\n    \"number\": 9477329.622890234,\n    \"cvv\": \"et\"\n  },\n  \"cascadingAttempts\": [\n    {\n      \"attemptId\": \"mSy0IkmSy0Ik\",\n      \"time\": \"<dateTime>\",\n      \"status\": \"u xDR\",\n      \"providerName\": \"<string>\",\n      \"providerResponseCode\": \"<string>\",\n      \"providerTransactionId\": \"vI1ysEM9\",\n      \"providerResponseMessage\": \"<string>\",\n      \"issuerResponseCode\": \"<string>\",\n      \"issuerResponseMessage\": \"<string>\",\n      \"issuerName\": \"<string>\",\n      \"merchantAdviceCode\": \"2E3T\"\n    }\n  ],\n  \"payment\": {\n    \"partnerPaymentId\": \"Z1(hYZ\",\n    \"time\": \"<dateTime>\",\n    \"initiator\": \"CIT\",\n    \"description1\": \"<string>\",\n    \"description2\": \"<string>\"\n  },\n  \"order\": {\n    \"merchantOrderId\": \"IW;k:c\",\n    \"orderTime\": \"<dateTime>\",\n    \"orderStatus\": \"<string>\",\n    \"sessionDuration\": \"<number>\",\n    \"numOfItems\": \"<number>\",\n    \"shoppingCart\": {\n      \"ea_28\": 62827615\n    },\n    \"shippingAddress\": {\n      \"firstName\": \"<string>\",\n      \"lastName\": \"<string>\",\n      \"country\": \"IM\",\n      \"state\": \"<string>\",\n      \"city\": \"<string>\",\n      \"address1\": \"<string>\",\n      \"address2\": \"<string>\",\n      \"postalCode\": \"<string>\",\n      \"phone\": \"+66136439\"\n    }\n  },\n  \"customerId\": \"6KD\\\\\",\n  \"merchant\": {\n    \"terminalId\": \"~\",\n    \"submerchantId\": \"ZhQb\",\n    \"dynamicDescriptor\": \"<string>\"\n  },\n  \"cardHolder\": {\n    \"holderName\": \"<string>\",\n    \"billingAddress\": {\n      \"firstName\": \"<string>\",\n      \"lastName\": \"<string>\",\n      \"country\": \"GF\",\n      \"state\": \"<string>\",\n      \"city\": \"<string>\",\n      \"address1\": \"<string>\",\n      \"address2\": \"<string>\",\n      \"postalCode\": \"<string>\",\n      \"phone\": \"+436854688746\"\n    }\n  },\n  \"threeDS\": {\n    \"threeDSEnabled\": \"<boolean>\",\n    \"threeDSToken\": \"N_N_N_N_N_N_N_N_\",\n    \"version\": \"<string>\",\n    \"threeDSAuthenticationStatus\": \"h\",\n    \"eciValue\": \"63\",\n    \"cavv\": \"vqpg+fV4vqpg+fV4vqpg+fV4vqpg+fV4\",\n    \"xid\": \"myZmyZmyZmyZmyZmyZmyZmyZ\",\n    \"ds_xid\": \"gQgQgQgQgQgQgQgQgQgQgQgQgQgQgQgQ\",\n    \"encoding\": \"<string>\"\n  },\n  \"device\": {\n    \"id\": \"18Wn\",\n    \"type\": \"<string>\",\n    \"os\": \"<string>\",\n    \"osVersion\": \"<string>\",\n    \"browserAgent\": \"<string>\",\n    \"browserLanguage\": \"gG-Dc_CVFk\",\n    \"ip\": \"<ipv4>\",\n    \"geoLocation\": {\n      \"latitude\": \"<number>\",\n      \"longitude\": \"<number>\"\n    },\n    \"fingerprint\": \"<string>\"\n  },\n  \"extraDetails\": {\n    \"veniam_1c6\": \"ipsum\",\n    \"eu_2\": 42699502.31659013,\n    \"incididunt3\": -17476010,\n    \"non_05\": -38887276.166247495\n  }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://sandbox-api.bettercharge.ai/v1/payment/subscription/charge"},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"response\": {\n    \"status\": \"<string>\",\n    \"code\": \"<number>\",\n    \"message\": \"<string>\",\n    \"codeDescription\": \"<string>\", // Merchant facing error\n    \"displayMessage\": \"<string>\" // human-readable description of the failure\n  },\n  \"result\": [\n    {\n      \"type\": \"<string>\",          // error type\n      \"field\": \"<string>\",         // the field that failed validation\n      \"message\": \"<string>\"        // human readable description of the validation failure\n    }\n  ]\n}"}],"_postman_id":"7cf5e860-a5b2-415e-91e4-791a98879b79"},{"name":"Stop subscription payment","id":"430775c8-2db4-424e-aa2d-a0aeff4bb471","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"description":"<p>(Required) </p>\n","key":"x-api-key","value":"<string>"},{"description":"<p>(Required) </p>\n","key":"x-partner-id","value":"<string>"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"bcId\": \"<uuid>\",\n  \"merchantId\": \"<uuid>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://sandbox-api.bettercharge.ai/v1/payment/subscription/stop","description":"<p>Stop retry charge attempts on an approved subscription payment</p>\n","urlObject":{"path":["v1","payment","subscription","stop"],"host":["https://sandbox-api.bettercharge.ai"],"query":[],"variable":[]}},"response":[{"id":"a6f16ce3-676b-4194-8965-b8427da7f165","name":"Successful response","originalRequest":{"method":"POST","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"description":"(Required) ","key":"x-partner-id","value":"<string>"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"bcId\": \"<uuid>\",\n  \"merchantId\": \"<uuid>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://sandbox-api.bettercharge.ai/v1/payment/subscription/stop"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"state\": \"IN_PROGRESS\",\n  \"bcId\": \"<string>\"\n}"},{"id":"7bd3ee03-cd38-408d-978f-ac7ee7131b2c","name":"Error response","originalRequest":{"method":"POST","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"description":"(Required) ","key":"x-partner-id","value":"<string>"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"bcId\": \"<uuid>\",\n  \"merchantId\": \"<uuid>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://sandbox-api.bettercharge.ai/v1/payment/subscription/stop"},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"<string>"}],"_postman_id":"430775c8-2db4-424e-aa2d-a0aeff4bb471"}],"id":"b7f4354d-4701-42ce-967b-9f5b7c3b9f96","_postman_id":"b7f4354d-4701-42ce-967b-9f5b7c3b9f96","description":""},{"name":"Merchant","item":[{"name":"Merchant","id":"597c5307-fdf3-434a-bc99-201069a77aef","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"description":"<p>(Required) </p>\n","key":"x-api-key","value":"<string>"},{"description":"<p>(Required) </p>\n","key":"x-partner-id","value":"<string>"},{"key":"Accept","value":"application/json"}],"url":"https://sandbox-api.bettercharge.ai/v1/merchant/:id","description":"<p>Retrieve merchant details by ID</p>\n","urlObject":{"path":["v1","merchant",":id"],"host":["https://sandbox-api.bettercharge.ai"],"query":[],"variable":[{"id":"55855d43-fd41-42af-a809-0c6779c26167","description":{"content":"<p>(Required) </p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"id"}]}},"response":[{"id":"49d58b86-b4e2-4f5f-be1f-63609bfd3329","name":"Successful response","originalRequest":{"method":"GET","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"description":"(Required) ","key":"x-partner-id","value":"<string>"},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://sandbox-api.bettercharge.ai/v1/merchant/:id","host":["https://sandbox-api.bettercharge.ai"],"path":["v1","merchant",":id"],"variable":[{"key":"id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"bcId\": \"<string>\",\n  \"status\": \"<string>\",\n  \"merchantName\": \"<string>\",\n  \"merchantCountry\": \"<string>\",\n  \"merchantAddress\": \"<string>\",\n  \"merchantMCC\": \"<string>\",\n  \"acquirerName\": \"<string>\",\n  \"acquirerId\": \"<string>\"\n}"},{"id":"958516aa-0261-4490-aa9c-25b76722465e","name":"Error response","originalRequest":{"method":"GET","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"description":"(Required) ","key":"x-partner-id","value":"<string>"},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://sandbox-api.bettercharge.ai/v1/merchant/:id","host":["https://sandbox-api.bettercharge.ai"],"path":["v1","merchant",":id"],"variable":[{"key":"id"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"<string>"}],"_postman_id":"597c5307-fdf3-434a-bc99-201069a77aef"},{"name":"Update merchant","id":"91917ac2-b257-4bc3-9e6b-15223c782033","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"description":"<p>(Required) </p>\n","key":"x-api-key","value":"<string>"},{"description":"<p>(Required) </p>\n","key":"x-partner-id","value":"<string>"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"merchantName\": \"<string>\",\n  \"merchantCountry\": \"<string>\",\n  \"merchantAddress\": \"<string>\",\n  \"merchantMCC\": \"8915\",\n  \"acquirerName\": \"<string>\",\n  \"acquirerId\": \"<string>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://sandbox-api.bettercharge.ai/v1/merchant/:id","description":"<p>Update a merchant with provided data</p>\n","urlObject":{"path":["v1","merchant",":id"],"host":["https://sandbox-api.bettercharge.ai"],"query":[],"variable":[{"id":"819a2d43-7533-4fb2-9f45-c3c09cdade4a","description":{"content":"<p>(Required) </p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"id"}]}},"response":[{"id":"0a85926d-b44c-47a8-b6ba-11be2701e926","name":"Merchant updated successfully","originalRequest":{"method":"PUT","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"description":"(Required) ","key":"x-partner-id","value":"<string>"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"merchantName\": \"<string>\",\n  \"merchantCountry\": \"<string>\",\n  \"merchantAddress\": \"<string>\",\n  \"merchantMCC\": \"8915\",\n  \"acquirerName\": \"<string>\",\n  \"acquirerId\": \"<string>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://sandbox-api.bettercharge.ai/v1/merchant/:id","host":["https://sandbox-api.bettercharge.ai"],"path":["v1","merchant",":id"],"variable":[{"key":"id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"bcId\": \"<string>\",\n  \"status\": \"<string>\",\n  \"merchantName\": \"<string>\",\n  \"merchantCountry\": \"<string>\",\n  \"merchantAddress\": \"<string>\",\n  \"merchantMCC\": \"<string>\",\n  \"acquirerName\": \"<string>\",\n  \"acquirerId\": \"<string>\"\n}"},{"id":"75cb26b0-6488-4b6b-a26f-c12df9d3a601","name":"Error response","originalRequest":{"method":"PUT","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"description":"(Required) ","key":"x-partner-id","value":"<string>"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"merchantName\": \"<string>\",\n  \"merchantCountry\": \"<string>\",\n  \"merchantAddress\": \"<string>\",\n  \"merchantMCC\": \"8915\",\n  \"acquirerName\": \"<string>\",\n  \"acquirerId\": \"<string>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"https://sandbox-api.bettercharge.ai/v1/merchant/:id","host":["https://sandbox-api.bettercharge.ai"],"path":["v1","merchant",":id"],"variable":[{"key":"id"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"<string>"}],"_postman_id":"91917ac2-b257-4bc3-9e6b-15223c782033"},{"name":"Create new merchant","id":"ef2a411e-32af-4898-9767-afd3d9b175e6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"description":"<p>(Required) </p>\n","key":"x-api-key","value":"<string>"},{"description":"<p>(Required) </p>\n","key":"x-partner-id","value":"<string>"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"merchantName\": \"<string>\",\n  \"merchantCountry\": \"<string>\",\n  \"merchantAddress\": \"<string>\",\n  \"merchantMCC\": \"8915\",\n  \"acquirerName\": \"<string>\",\n  \"acquirerId\": \"<string>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://sandbox-api.bettercharge.ai/v1/merchant","description":"<p>Create a new merchant with provided data</p>\n","urlObject":{"path":["v1","merchant"],"host":["https://sandbox-api.bettercharge.ai"],"query":[],"variable":[]}},"response":[{"id":"17b4f42a-0e1e-48ef-b6ca-3d433f166f51","name":"Merchant created successfully","originalRequest":{"method":"POST","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"description":"(Required) ","key":"x-partner-id","value":"<string>"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"merchantName\": \"<string>\",\n  \"merchantCountry\": \"<string>\",\n  \"merchantAddress\": \"<string>\",\n  \"merchantMCC\": \"8915\",\n  \"acquirerName\": \"<string>\",\n  \"acquirerId\": \"<string>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://sandbox-api.bettercharge.ai/v1/merchant"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"bcId\": \"<string>\",\n  \"status\": \"<string>\",\n  \"merchantName\": \"<string>\",\n  \"merchantCountry\": \"<string>\",\n  \"merchantAddress\": \"<string>\",\n  \"merchantMCC\": \"<string>\",\n  \"acquirerName\": \"<string>\",\n  \"acquirerId\": \"<string>\"\n}"},{"id":"66ef8bdc-539f-4c3c-8d0d-0edfdd2b33fb","name":"Error response","originalRequest":{"method":"POST","header":[{"description":"(Required) ","key":"x-api-key","value":"<string>"},{"description":"(Required) ","key":"x-partner-id","value":"<string>"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"merchantName\": \"<string>\",\n  \"merchantCountry\": \"<string>\",\n  \"merchantAddress\": \"<string>\",\n  \"merchantMCC\": \"8915\",\n  \"acquirerName\": \"<string>\",\n  \"acquirerId\": \"<string>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://sandbox-api.bettercharge.ai/v1/merchant"},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"<string>"}],"_postman_id":"ef2a411e-32af-4898-9767-afd3d9b175e6"}],"id":"776d5f96-57bb-4713-ab02-1996213019da","_postman_id":"776d5f96-57bb-4713-ab02-1996213019da","description":""}],"variable":[{"key":"baseUrl","value":"https://sandbox-api.bettercharge.ai"}]}