{"info":{"_postman_id":"bb870320-dda8-4633-af0f-60da7a9f44f9","name":"API Docs V2","description":"<html><head></head><body><p>API Docs collection for Cal Platform services.</p>\n<p>This collection documents various backend services and flows exposed by the Cal Platform. Each request includes:</p>\n<ul>\n<li><p>HTTP method and URL</p>\n</li>\n<li><p>Description and usage notes</p>\n</li>\n<li><p>Parameters (path, query, headers)</p>\n</li>\n<li><p>Example responses</p>\n</li>\n</ul>\n<p>Use the folders to navigate by domain (e.g., Partners, Consumers, Issuing) and open individual requests to see detailed per-endpoint documentation in the <strong>Docs</strong> tab.</p>\n<p>Authentication, environments, and common variables are defined at the collection or environment level; refer to those sections for setup details.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"51227300","collectionId":"bb870320-dda8-4633-af0f-60da7a9f44f9","publishedId":"2sBXqRjcWc","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2026-05-19T10:22:06.000Z"},"item":[{"name":"Authorization","item":[{"name":"SignIn - B2B","event":[{"listen":"test","script":{"exec":["const jsonResponse = pm.response.json();","pm.globals.set(\"CognitoToken\", jsonResponse.data.idToken);"],"type":"text/javascript","packages":{},"requests":{},"id":"b3d89933-9d99-4442-a30d-4bddc1064529"}}],"id":"e25882b7-e84e-4cd4-85d1-be49937c8073","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"username\" : \"john_doe\",\n    \"password\" : \"********\"\n}"},"url":"https://api.stage.cal-platform.com/api/signin","description":"<p>Authenticates a B2B user against AWS Cognito and returns JWT tokens for use in subsequent API calls. Submit credentials in the request body; the response shape depends on the user's MFA status:</p>\n<ul>\n<li><strong>Standard sign-in</strong> — returns <code>idToken</code>, <code>accessToken</code>, and <code>refreshToken</code></li>\n<li><strong>MFA setup required</strong> — returns a <code>qrCodeUrl</code> for the user to scan and complete TOTP setup</li>\n<li><strong>MFA sign-in</strong> — returns <code>idToken</code>, <code>accessToken</code>, <code>refreshToken</code>, <code>tokenType</code>, and <code>ExpiresIn</code></li>\n</ul>\n<h3 id=\"parameters\"><strong>Parameters</strong></h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter Name</th>\n<th>Required/Optional</th>\n<th>Type</th>\n<th>Description</th>\n<th>Example Value</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>username</td>\n<td>Required</td>\n<td>String</td>\n<td>User's Cognito username — UUID for B2B pools, email address for email-based pools</td>\n<td><code>00000000-0000-0000-0000-000000000000</code></td>\n</tr>\n<tr>\n<td>password</td>\n<td>Required</td>\n<td>String</td>\n<td>The user's password</td>\n<td><code>Password1234</code></td>\n</tr>\n<tr>\n<td>usertotpcode</td>\n<td>Optional</td>\n<td>String</td>\n<td>TOTP code from authenticator app — required when MFA is enforced for the pool</td>\n<td><code>123456</code></td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"response-fields\">Response Fields</h3>\n<p><em>No result data returned.</em></p>\n","urlObject":{"protocol":"https","path":["api","signin"],"host":["api","stage","cal-platform","com"],"query":[],"variable":[]}},"response":[{"id":"1d7f698a-616e-4827-9955-cf56f4250a56","name":"SignIn","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"username\" : \"john_doe\",\n    \"password\" : \"********\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/api/signin"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 1,\n    \"message\": \"user signed in successfully \",\n    \"data\": {\n        \"idToken\": \"idToken\",\n        \"accessToken\": \"accessToken\",\n        \"refreshToken\": \"refreshToken\"\n    }\n}"},{"id":"ef573ed9-3f40-4195-8932-105b3e6339aa","name":"SignIn - MFA Setup Required","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"username\" : \"john_doe\",\n    \"password\" : \"********\"\n}"},"url":"https://api.stage.cal-platform.com/api/signin","description":"Authenticates a B2B user against AWS Cognito and returns JWT tokens for use in subsequent API calls. Submit credentials in the request body; the response shape depends on the user's MFA status:\n\n- **Standard sign-in** — returns `idToken`, `accessToken`, and `refreshToken`\n- **MFA setup required** — returns a `qrCodeUrl` for the user to scan and complete TOTP setup\n- **MFA sign-in** — returns `idToken`, `accessToken`, `refreshToken`, `tokenType`, and `ExpiresIn`\n\n### **Parameters**\n\n| Parameter Name | Required/Optional | Type | Description | Example Value |\n| --- | --- | --- | --- | --- |\n| username | Required | String | User's Cognito username — UUID for B2B pools, email address for email-based pools | `00000000-0000-0000-0000-000000000000` |\n| password | Required | String | The user's password | `Password1234` |\n| usertotpcode | Optional | String | TOTP code from authenticator app — required when MFA is enforced for the pool | `123456` |\n\n---\n\n### Response Fields\n\n_No result data returned._"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"value":"application/json","key":"Content-Type"}],"cookie":[],"responseTime":null,"body":"{\\n    \"status\": 1,\\n    \"message\": \"user signed in successfully\",\\n    \"data\": {\\n        \"qrCodeUrl\": \"otpauth://totp/cal-platform:username?secret=XXXXXXXXXXXXXXXX&issuer=cal-platform\"\\n    }\\n}"},{"id":"04f38c7d-afd8-48ef-9149-5cacdacdeef3","name":"SignIn - MFA","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"username\" : \"john_doe\",\n    \"password\" : \"********\"\n}"},"url":"https://api.stage.cal-platform.com/api/signin","description":"Authenticates a B2B user against AWS Cognito and returns JWT tokens for use in subsequent API calls. Submit credentials in the request body; the response shape depends on the user's MFA status:\n\n- **Standard sign-in** — returns `idToken`, `accessToken`, and `refreshToken`\n- **MFA setup required** — returns a `qrCodeUrl` for the user to scan and complete TOTP setup\n- **MFA sign-in** — returns `idToken`, `accessToken`, `refreshToken`, `tokenType`, and `ExpiresIn`\n\n### **Parameters**\n\n| Parameter Name | Required/Optional | Type | Description | Example Value |\n| --- | --- | --- | --- | --- |\n| username | Required | String | User's Cognito username — UUID for B2B pools, email address for email-based pools | `00000000-0000-0000-0000-000000000000` |\n| password | Required | String | The user's password | `Password1234` |\n| usertotpcode | Optional | String | TOTP code from authenticator app — required when MFA is enforced for the pool | `123456` |\n\n---\n\n### Response Fields\n\n_No result data returned._"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\\n    \"status\": 1,\\n    \"message\": \"user signed in successfully\",\\n    \"data\": {\\n        \"idToken\": \"idToken\",\\n        \"accessToken\": \"accessToken\",\\n        \"refreshToken\": \"refreshToken\",\\n        \"tokenType\": \"Bearer\",\\n        \"ExpiresIn\": 3600\\n    }\\n}"},{"id":"8fe19d61-a6fd-422e-8f18-7d0bb09cf49f","name":"SignIn - MFA","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"username\": \"john_doe\",\n    \"password\": \"********\",\n    \"usertotpcode\": \"123456\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/api/signin"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{                                                                                                                                                                                                                                  \n    \"status\": 1,\n    \"message\": \"user signed in successfully\",                                                                                                                                                                                      \n    \"data\": {                                \n        \"idToken\": \"idToken\",\n        \"accessToken\": \"accessToken\",\n        \"refreshToken\": \"refreshToken\",\n        \"tokenType\": \"Bearer\",                                                                                                                                                                                                     \n        \"ExpiresIn\": 3600     \n    }                                                                                                                                                                                                                              \n}"}],"_postman_id":"e25882b7-e84e-4cd4-85d1-be49937c8073"}],"id":"a761bec2-b1d7-4553-8708-9b729bb3fdfa","_postman_id":"a761bec2-b1d7-4553-8708-9b729bb3fdfa","description":""},{"name":"Card Issuance","item":[{"name":"InitWizardProcedure","event":[{"listen":"test","script":{"id":"48c2fd21-9686-4808-a4f8-53bb8e650410","exec":["const jsonResponse = pm.response.json();","const url = jsonResponse.result.url;","const wizardProcedureRefId = url.split('=')[1];","pm.globals.set(\"WizardProcedureRefId\", wizardProcedureRefId);"],"type":"text/javascript","packages":{},"requests":{}}}],"id":"fce8a14a-3362-4863-9920-d018b4bb82c9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"}],"body":{"mode":"raw","raw":"{\n\n    \"product\": {\n        \"refId\": \"string\"\n    },\n    \"webhookEvents\": [\n        {\n            \"eventName\": \"cardSuccessfulIssuance\",\n            \"serviceName\": \"string\"\n        }\n    ],\n    \"employee\": {\n        \"refId\": \"string\",\n        \"employeePaymentAccountManagerId\": \"string\"\n    },\n    \"wizardData\": {\n        \"verifyIdentity\": {\n            \"data\": {\n                \"identifier\": {\n                    \"isReadOnly\": false,\n                    \"isHiddenOnScreen\": false,\n                    \"isRequired\": true,\n                    \"isDisplayOptionalLabel\": false,\n                    \"isInputVerification\": false,\n                    \"value\": {}\n                },\n                \"identifierType\": {\n                    \"isReadOnly\": false,\n                    \"isHiddenOnScreen\": false,\n                    \"isRequired\": true,\n                    \"isDisplayOptionalLabel\": false,\n                    \"isInputVerification\": false,\n                    \"value\": \"id\"\n                },\n                \"firstName\": {\n                    \"isReadOnly\": false,\n                    \"isHiddenOnScreen\": false,\n                    \"isRequired\": true,\n                    \"isDisplayOptionalLabel\": false,\n                    \"isInputVerification\": false,\n                    \"value\": \"Latin or hebrew name\"\n                },\n                \"lastName\": {\n                    \"isReadOnly\": false,\n                    \"isHiddenOnScreen\": false,\n                    \"isRequired\": true,\n                    \"isDisplayOptionalLabel\": false,\n                    \"isInputVerification\": false,\n                    \"value\": \"Latin or hebrew name\"\n                },\n                \"dateOfBirth\": {\n                    \"isReadOnly\": false,\n                    \"isHiddenOnScreen\": false,\n                    \"isRequired\": true,\n                    \"isDisplayOptionalLabel\": false,\n                    \"isInputVerification\": false,\n                    \"value\": \"2026-05-04T10:39:28.086Z\"\n                },\n                \"gender\": {\n                    \"isReadOnly\": false,\n                    \"isHiddenOnScreen\": false,\n                    \"isRequired\": true,\n                    \"isDisplayOptionalLabel\": false,\n                    \"isInputVerification\": false,\n                    \"value\": \"male\"\n                }\n            }\n        },\n        \"verifyIdentityBeneficiary\": {\n            \"data\": {\n                \"identifier\": {\n                    \"isReadOnly\": false,\n                    \"isHiddenOnScreen\": false,\n                    \"isRequired\": true,\n                    \"isDisplayOptionalLabel\": false,\n                    \"isInputVerification\": false,\n                    \"value\": {}\n                },\n                \"identifierType\": {\n                    \"isReadOnly\": false,\n                    \"isHiddenOnScreen\": false,\n                    \"isRequired\": true,\n                    \"isDisplayOptionalLabel\": false,\n                    \"isInputVerification\": false,\n                    \"value\": \"id\"\n                },\n                \"firstName\": {\n                    \"isReadOnly\": false,\n                    \"isHiddenOnScreen\": false,\n                    \"isRequired\": true,\n                    \"isDisplayOptionalLabel\": false,\n                    \"isInputVerification\": false,\n                    \"value\": \"Latin or hebrew name\"\n                },\n                \"lastName\": {\n                    \"isReadOnly\": false,\n                    \"isHiddenOnScreen\": false,\n                    \"isRequired\": true,\n                    \"isDisplayOptionalLabel\": false,\n                    \"isInputVerification\": false,\n                    \"value\": \"Latin or hebrew name\"\n                },\n                \"dateOfBirth\": {\n                    \"isReadOnly\": false,\n                    \"isHiddenOnScreen\": false,\n                    \"isRequired\": true,\n                    \"isDisplayOptionalLabel\": false,\n                    \"isInputVerification\": false,\n                    \"value\": \"2026-05-04T10:39:28.086Z\"\n                },\n                \"gender\": {\n                    \"isReadOnly\": false,\n                    \"isHiddenOnScreen\": false,\n                    \"isRequired\": true,\n                    \"isDisplayOptionalLabel\": false,\n                    \"isInputVerification\": false,\n                    \"value\": \"male\"\n                }\n            }\n        },\n        \"strictVerifyIdentity\": {\n            \"data\": {\n                \"identifier\": {\n                    \"isReadOnly\": false,\n                    \"isHiddenOnScreen\": false,\n                    \"isRequired\": true,\n                    \"isDisplayOptionalLabel\": false,\n                    \"isInputVerification\": false,\n                    \"value\": {}\n                },\n                \"identifierType\": {\n                    \"isReadOnly\": false,\n                    \"isHiddenOnScreen\": false,\n                    \"isRequired\": true,\n                    \"isDisplayOptionalLabel\": false,\n                    \"isInputVerification\": false,\n                    \"value\": \"id\"\n                },\n                \"firstName\": {\n                    \"isReadOnly\": false,\n                    \"isHiddenOnScreen\": false,\n                    \"isRequired\": true,\n                    \"isDisplayOptionalLabel\": false,\n                    \"isInputVerification\": false,\n                    \"value\": \"Latin or hebrew name\"\n                },\n                \"lastName\": {\n                    \"isReadOnly\": false,\n                    \"isHiddenOnScreen\": false,\n                    \"isRequired\": true,\n                    \"isDisplayOptionalLabel\": false,\n                    \"isInputVerification\": false,\n                    \"value\": \"Latin or hebrew name\"\n                },\n                \"dateOfBirth\": {\n                    \"isReadOnly\": false,\n                    \"isHiddenOnScreen\": false,\n                    \"isRequired\": true,\n                    \"isDisplayOptionalLabel\": false,\n                    \"isInputVerification\": false,\n                    \"value\": \"2026-05-04T10:39:28.086Z\"\n                },\n                \"gender\": {\n                    \"isReadOnly\": false,\n                    \"isHiddenOnScreen\": false,\n                    \"isRequired\": true,\n                    \"isDisplayOptionalLabel\": false,\n                    \"isInputVerification\": false,\n                    \"value\": \"male\"\n                },\n                \"idIssueDate\": {\n                    \"isReadOnly\": false,\n                    \"isHiddenOnScreen\": false,\n                    \"isRequired\": true,\n                    \"isDisplayOptionalLabel\": false,\n                    \"isInputVerification\": false,\n                    \"value\": \"2026-05-04T10:39:28.086Z\"\n                }\n            }\n        },\n        \"strictVerifyIdentityBeneficiary\": {\n            \"data\": {\n                \"identifier\": {\n                    \"isReadOnly\": false,\n                    \"isHiddenOnScreen\": false,\n                    \"isRequired\": true,\n                    \"isDisplayOptionalLabel\": false,\n                    \"isInputVerification\": false,\n                    \"value\": {}\n                },\n                \"identifierType\": {\n                    \"isReadOnly\": false,\n                    \"isHiddenOnScreen\": false,\n                    \"isRequired\": true,\n                    \"isDisplayOptionalLabel\": false,\n                    \"isInputVerification\": false,\n                    \"value\": \"id\"\n                },\n                \"firstName\": {\n                    \"isReadOnly\": false,\n                    \"isHiddenOnScreen\": false,\n                    \"isRequired\": true,\n                    \"isDisplayOptionalLabel\": false,\n                    \"isInputVerification\": false,\n                    \"value\": \"Latin or hebrew name\"\n                },\n                \"lastName\": {\n                    \"isReadOnly\": false,\n                    \"isHiddenOnScreen\": false,\n                    \"isRequired\": true,\n                    \"isDisplayOptionalLabel\": false,\n                    \"isInputVerification\": false,\n                    \"value\": \"Latin or hebrew name\"\n                },\n                \"dateOfBirth\": {\n                    \"isReadOnly\": false,\n                    \"isHiddenOnScreen\": false,\n                    \"isRequired\": true,\n                    \"isDisplayOptionalLabel\": false,\n                    \"isInputVerification\": false,\n                    \"value\": \"2026-05-04T10:39:28.086Z\"\n                },\n                \"gender\": {\n                    \"isReadOnly\": false,\n                    \"isHiddenOnScreen\": false,\n                    \"isRequired\": true,\n                    \"isDisplayOptionalLabel\": false,\n                    \"isInputVerification\": false,\n                    \"value\": \"male\"\n                },\n                \"idIssueDate\": {\n                    \"isReadOnly\": false,\n                    \"isHiddenOnScreen\": false,\n                    \"isRequired\": true,\n                    \"isDisplayOptionalLabel\": false,\n                    \"isInputVerification\": false,\n                    \"value\": \"2026-05-04T10:39:28.086Z\"\n                }\n            }\n        },\n        \"contactDetails\": {\n            \"data\": {\n                \"email\": {\n                    \"isReadOnly\": false,\n                    \"isHiddenOnScreen\": false,\n                    \"isRequired\": true,\n                    \"isDisplayOptionalLabel\": false,\n                    \"isInputVerification\": false,\n                    \"value\": \"email@domain.com\"\n                },\n                \"phoneNumber\": {\n                    \"isReadOnly\": false,\n                    \"isHiddenOnScreen\": false,\n                    \"isRequired\": true,\n                    \"isDisplayOptionalLabel\": false,\n                    \"isInputVerification\": false,\n                    \"value\": \"0505000000\"\n                }\n            }\n        },\n        \"contactDetailsBeneficiary\": {\n            \"data\": {\n                \"email\": {\n                    \"isReadOnly\": false,\n                    \"isHiddenOnScreen\": false,\n                    \"isRequired\": true,\n                    \"isDisplayOptionalLabel\": false,\n                    \"isInputVerification\": false,\n                    \"value\": \"email@domain.com\"\n                },\n                \"phoneNumber\": {\n                    \"isReadOnly\": false,\n                    \"isHiddenOnScreen\": false,\n                    \"isRequired\": true,\n                    \"isDisplayOptionalLabel\": false,\n                    \"isInputVerification\": false,\n                    \"value\": \"0505000000\"\n                }\n            }\n        },\n        \"nameOnCard\": {\n            \"data\": {\n                \"firstNameOnCard\": {\n                    \"isReadOnly\": false,\n                    \"isHiddenOnScreen\": false,\n                    \"isRequired\": true,\n                    \"isDisplayOptionalLabel\": false,\n                    \"isInputVerification\": false,\n                    \"value\": \"Latin or hebrew name\"\n                },\n                \"lastNameOnCard\": {\n                    \"isReadOnly\": false,\n                    \"isHiddenOnScreen\": false,\n                    \"isRequired\": true,\n                    \"isDisplayOptionalLabel\": false,\n                    \"isInputVerification\": false,\n                    \"value\": \"Latin or hebrew name\"\n                }\n            }\n        },\n        \"nameOnCardBeneficiary\": {\n            \"data\": {\n                \"firstNameOnCard\": {\n                    \"isReadOnly\": false,\n                    \"isHiddenOnScreen\": false,\n                    \"isRequired\": true,\n                    \"isDisplayOptionalLabel\": false,\n                    \"isInputVerification\": false,\n                    \"value\": \"Latin or hebrew name\"\n                },\n                \"lastNameOnCard\": {\n                    \"isReadOnly\": false,\n                    \"isHiddenOnScreen\": false,\n                    \"isRequired\": true,\n                    \"isDisplayOptionalLabel\": false,\n                    \"isInputVerification\": false,\n                    \"value\": \"Latin or hebrew name\"\n                }\n            }\n        },\n        \"address\": {\n            \"data\": {\n                \"street\": {\n                    \"isReadOnly\": false,\n                    \"isHiddenOnScreen\": false,\n                    \"isRequired\": true,\n                    \"isDisplayOptionalLabel\": false,\n                    \"isInputVerification\": false,\n                    \"value\": \"string\"\n                },\n                \"buildingNumber\": {\n                    \"isReadOnly\": false,\n                    \"isHiddenOnScreen\": false,\n                    \"isRequired\": true,\n                    \"isDisplayOptionalLabel\": false,\n                    \"isInputVerification\": false,\n                    \"value\": 0\n                },\n                \"entrance\": {\n                    \"isReadOnly\": false,\n                    \"isHiddenOnScreen\": false,\n                    \"isRequired\": true,\n                    \"isDisplayOptionalLabel\": false,\n                    \"isInputVerification\": false,\n                    \"value\": \"string\"\n                },\n                \"apartment\": {\n                    \"isReadOnly\": false,\n                    \"isHiddenOnScreen\": false,\n                    \"isRequired\": true,\n                    \"isDisplayOptionalLabel\": false,\n                    \"isInputVerification\": false,\n                    \"value\": 0\n                },\n                \"poBox\": {\n                    \"isReadOnly\": false,\n                    \"isHiddenOnScreen\": false,\n                    \"isRequired\": true,\n                    \"isDisplayOptionalLabel\": false,\n                    \"isInputVerification\": false,\n                    \"value\": \"string\"\n                },\n                \"city\": {\n                    \"isReadOnly\": false,\n                    \"isHiddenOnScreen\": false,\n                    \"isRequired\": true,\n                    \"isDisplayOptionalLabel\": false,\n                    \"isInputVerification\": false,\n                    \"value\": \"string\"\n                },\n                \"state\": {\n                    \"isReadOnly\": false,\n                    \"isHiddenOnScreen\": false,\n                    \"isRequired\": true,\n                    \"isDisplayOptionalLabel\": false,\n                    \"isInputVerification\": false,\n                    \"value\": \"string\"\n                },\n                \"zipCode\": {\n                    \"isReadOnly\": false,\n                    \"isHiddenOnScreen\": false,\n                    \"isRequired\": true,\n                    \"isDisplayOptionalLabel\": false,\n                    \"isInputVerification\": false,\n                    \"value\": \"1234567\"\n                },\n                \"country\": {\n                    \"isReadOnly\": false,\n                    \"isHiddenOnScreen\": false,\n                    \"isRequired\": true,\n                    \"isDisplayOptionalLabel\": false,\n                    \"isInputVerification\": false,\n                    \"value\": \"string\"\n                }\n            }\n        },\n        \"cardDesign\": {\n            \"data\": {\n                \"catalogNumber\": {\n                    \"isReadOnly\": false,\n                    \"isHiddenOnScreen\": false,\n                    \"isRequired\": true,\n                    \"isDisplayOptionalLabel\": false,\n                    \"isInputVerification\": false,\n                    \"value\": \"string\"\n                }\n            }\n        },\n        \"cardPhysicalitySelection\": {\n            \"data\": {\n                \"cardPhysicality\": {\n                    \"isReadOnly\": false,\n                    \"isHiddenOnScreen\": false,\n                    \"isRequired\": true,\n                    \"isDisplayOptionalLabel\": false,\n                    \"isInputVerification\": false,\n                    \"value\": \"physicalAndVirtual\"\n                }\n            }\n        }\n    },\n    \"issuingData\": {\n        \"contractorCode\": \"string\",\n        \"businessPartnerCode\": \"string\",\n        \"creditCardBrand\": \"visa\"\n    },\n    \"termsData\": {\n        \"summarize\": [\n            {\n                \"key\": \"string\",\n                \"value\": \"string\"\n            }\n        ],\n        \"approvals\": [\n            \"string\"\n        ]\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/issuing-backend/api/InitWizardProcedure","description":"<p>Initiates a card issuance wizard procedure. Returns a URL to the cardholder-facing wizard for completing the issuance flow.</p>\n<p>See <strong>InitWizardProcedure HybridFlow</strong> for the hybrid debit-method variant (requires <code>termsData.approvals</code>).</p>\n<h3 id=\"request-fields\">Request Fields</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Type</th>\n<th>Required</th>\n<th>Default</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>product.refId</code></td>\n<td>string (UUID)</td>\n<td>Yes</td>\n<td>t4</td>\n<td>Product to issue a card for</td>\n</tr>\n<tr>\n<td><code>status</code></td>\n<td>IssuingStatus</td>\n<td>No</td>\n<td>-</td>\n<td>Override the initial wizard status</td>\n</tr>\n<tr>\n<td><code>employee.refId</code></td>\n<td>string (UUID)</td>\n<td>No</td>\n<td>-</td>\n<td>Link to an existing employee</td>\n</tr>\n<tr>\n<td><code>employee.employeePaymentAccountManagerId</code></td>\n<td>string</td>\n<td>No</td>\n<td>-</td>\n<td>Employee ID in the payment account manager system</td>\n</tr>\n<tr>\n<td><code>webhookEvents[].eventName</code></td>\n<td>WebhookEventName</td>\n<td>No</td>\n<td>-</td>\n<td><code>cardSuccessfulIssuance</code> <code>cardApproval</code> <code>swapCard</code> <code>updateCardStatus</code></td>\n</tr>\n<tr>\n<td><code>webhookEvents[].serviceName</code></td>\n<td>WebHookServiceName</td>\n<td>No</td>\n<td>-</td>\n<td><code>partner_nameNotifyIssuedCard</code> <code>partner_nameNotifyCardApproval</code> <code>partner_nameNotifySwapCard</code> <code>partner_nameNotifyUpdateCardStatus</code></td>\n</tr>\n<tr>\n<td><code>wizardData.verifyIdentity</code></td>\n<td>CommandDto</td>\n<td>No</td>\n<td>-</td>\n<td>Cardholder identity (identifier, identifierType, firstName, lastName, dateOfBirth, gender)</td>\n</tr>\n<tr>\n<td><code>wizardData.verifyIdentityBeneficiary</code></td>\n<td>CommandDto</td>\n<td>No</td>\n<td>-</td>\n<td>Beneficiary identity</td>\n</tr>\n<tr>\n<td><code>wizardData.strictVerifyIdentity</code></td>\n<td>CommandDto</td>\n<td>No</td>\n<td>-</td>\n<td>Strict identity verification (adds <code>idIssueDate</code>)</td>\n</tr>\n<tr>\n<td><code>wizardData.strictVerifyIdentityBeneficiary</code></td>\n<td>CommandDto</td>\n<td>No</td>\n<td>-</td>\n<td>Strict identity verification for beneficiary</td>\n</tr>\n<tr>\n<td><code>wizardData.contactDetails</code></td>\n<td>CommandDto</td>\n<td>No</td>\n<td>-</td>\n<td>Cardholder contact (email, phoneNumber)</td>\n</tr>\n<tr>\n<td><code>wizardData.contactDetailsBeneficiary</code></td>\n<td>CommandDto</td>\n<td>No</td>\n<td>-</td>\n<td>Beneficiary contact</td>\n</tr>\n<tr>\n<td><code>wizardData.nameOnCard</code></td>\n<td>CommandDto</td>\n<td>No</td>\n<td>-</td>\n<td>Name on card (firstNameOnCard, lastNameOnCard)</td>\n</tr>\n<tr>\n<td><code>wizardData.nameOnCardBeneficiary</code></td>\n<td>CommandDto</td>\n<td>No</td>\n<td>-</td>\n<td>Beneficiary name on card</td>\n</tr>\n<tr>\n<td><code>wizardData.address</code></td>\n<td>CommandDto</td>\n<td>No</td>\n<td>-</td>\n<td>Delivery address (city, street, buildingNumber, zipCode, entrance, apartment, poBox, state, country)</td>\n</tr>\n<tr>\n<td><code>wizardData.cardDesign</code></td>\n<td>CommandDto</td>\n<td>No</td>\n<td>-</td>\n<td>Card design selection</td>\n</tr>\n<tr>\n<td><code>wizardData.cardPhysicalitySelection</code></td>\n<td>CommandDto</td>\n<td>No</td>\n<td>-</td>\n<td>Physical vs virtual selection</td>\n</tr>\n<tr>\n<td><code>issuingData.contractorCode</code></td>\n<td>string</td>\n<td>No</td>\n<td>-</td>\n<td>Contractor code override</td>\n</tr>\n<tr>\n<td><code>issuingData.businessPartnerCode</code></td>\n<td>string</td>\n<td>No</td>\n<td>-</td>\n<td>Business partner code override</td>\n</tr>\n<tr>\n<td><code>issuingData.creditCardBrand</code></td>\n<td>CreditCardBrand</td>\n<td>No</td>\n<td>-</td>\n<td><code>visa</code> <code>masterCard</code> <code>diners</code> <code>americanExpress</code></td>\n</tr>\n<tr>\n<td><code>termsData.summarize</code></td>\n<td>SummarizeItem[]</td>\n<td>No</td>\n<td>-</td>\n<td>Key-value pairs shown in the terms summary screen</td>\n</tr>\n<tr>\n<td><code>termsData.approvals</code></td>\n<td>string[]</td>\n<td>No</td>\n<td>-</td>\n<td>Approval identifiers for the terms screen</td>\n</tr>\n<tr>\n<td>wizardData.carPhysicalitySelection.data.cardPhysicality.value</td>\n<td>Optional</td>\n<td>enum</td>\n<td>all other properties is the same , so if you dont want to show this screen , please set the isHiddenOnScreen true</td>\n<td>physicalAndVirtual or virtualOnly</td>\n</tr>\n</tbody>\n</table>\n</div><p>Each <code>wizardData</code> command field supports these property flags:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Property Flag</th>\n<th>Type</th>\n<th>Default</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>value</code></td>\n<td>any</td>\n<td>-</td>\n<td>Pre-filled value (<code>null</code> = user must enter)</td>\n</tr>\n<tr>\n<td><code>isReadOnly</code></td>\n<td>boolean</td>\n<td>false</td>\n<td>Field shown but not editable by cardholder</td>\n</tr>\n<tr>\n<td><code>isHiddenOnScreen</code></td>\n<td>boolean</td>\n<td>false</td>\n<td>Field not shown in the wizard UI</td>\n</tr>\n<tr>\n<td><code>isRequired</code></td>\n<td>boolean</td>\n<td>true</td>\n<td>Field must be filled before proceeding</td>\n</tr>\n<tr>\n<td><code>isDisplayOptionalLabel</code></td>\n<td>boolean</td>\n<td>false</td>\n<td>Show \"(optional)\" label next to field</td>\n</tr>\n<tr>\n<td><code>isInputVerification</code></td>\n<td>boolean</td>\n<td>false</td>\n<td>Require cardholder to re-enter value for verification</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"response-fields\">Response Fields</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>url</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>isNewLink</code></td>\n<td>boolean</td>\n</tr>\n<tr>\n<td><code>linkCreatedAt</code></td>\n<td>string</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["issuing-backend","api","InitWizardProcedure"],"host":["api","stage","cal-platform","com"],"query":[],"variable":[]}},"response":[{"id":"baa56dd5-82c9-48ac-9c60-0399f7241f6e","name":"InitWizardProcedure","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"}],"body":{"mode":"raw","raw":"{\n    \"status\": \"pending\",\n    \"product\": {\n        \"refId\": \"string\"\n    },\n    \"webhookEvents\": [\n        {\n            \"eventName\": \"cardSuccessfulIssuance\",\n            \"serviceName\": \"string\"\n        }\n    ],\n    \"employee\": {\n        \"refId\": \"string\",\n        \"employeePaymentAccountManagerId\": \"string\"\n    },\n    \"wizardData\": {\n        \"verifyIdentity\": {\n            \"data\": {\n                \"identifier\": {\n                    \"isReadOnly\": false,\n                    \"isHiddenOnScreen\": false,\n                    \"isRequired\": true,\n                    \"isDisplayOptionalLabel\": false,\n                    \"isInputVerification\": false,\n                    \"value\": {}\n                },\n                \"identifierType\": {\n                    \"isReadOnly\": false,\n                    \"isHiddenOnScreen\": false,\n                    \"isRequired\": true,\n                    \"isDisplayOptionalLabel\": false,\n                    \"isInputVerification\": false,\n                    \"value\": \"id\"\n                },\n                \"firstName\": {\n                    \"isReadOnly\": false,\n                    \"isHiddenOnScreen\": false,\n                    \"isRequired\": true,\n                    \"isDisplayOptionalLabel\": false,\n                    \"isInputVerification\": false,\n                    \"value\": \"Latin or hebrew name\"\n                },\n                \"lastName\": {\n                    \"isReadOnly\": false,\n                    \"isHiddenOnScreen\": false,\n                    \"isRequired\": true,\n                    \"isDisplayOptionalLabel\": false,\n                    \"isInputVerification\": false,\n                    \"value\": \"Latin or hebrew name\"\n                },\n                \"dateOfBirth\": {\n                    \"isReadOnly\": false,\n                    \"isHiddenOnScreen\": false,\n                    \"isRequired\": true,\n                    \"isDisplayOptionalLabel\": false,\n                    \"isInputVerification\": false,\n                    \"value\": \"2026-05-04T10:39:28.086Z\"\n                },\n                \"gender\": {\n                    \"isReadOnly\": false,\n                    \"isHiddenOnScreen\": false,\n                    \"isRequired\": true,\n                    \"isDisplayOptionalLabel\": false,\n                    \"isInputVerification\": false,\n                    \"value\": \"male\"\n                }\n            }\n        },\n        \"verifyIdentityBeneficiary\": {\n            \"data\": {\n                \"identifier\": {\n                    \"isReadOnly\": false,\n                    \"isHiddenOnScreen\": false,\n                    \"isRequired\": true,\n                    \"isDisplayOptionalLabel\": false,\n                    \"isInputVerification\": false,\n                    \"value\": {}\n                },\n                \"identifierType\": {\n                    \"isReadOnly\": false,\n                    \"isHiddenOnScreen\": false,\n                    \"isRequired\": true,\n                    \"isDisplayOptionalLabel\": false,\n                    \"isInputVerification\": false,\n                    \"value\": \"id\"\n                },\n                \"firstName\": {\n                    \"isReadOnly\": false,\n                    \"isHiddenOnScreen\": false,\n                    \"isRequired\": true,\n                    \"isDisplayOptionalLabel\": false,\n                    \"isInputVerification\": false,\n                    \"value\": \"Latin or hebrew name\"\n                },\n                \"lastName\": {\n                    \"isReadOnly\": false,\n                    \"isHiddenOnScreen\": false,\n                    \"isRequired\": true,\n                    \"isDisplayOptionalLabel\": false,\n                    \"isInputVerification\": false,\n                    \"value\": \"Latin or hebrew name\"\n                },\n                \"dateOfBirth\": {\n                    \"isReadOnly\": false,\n                    \"isHiddenOnScreen\": false,\n                    \"isRequired\": true,\n                    \"isDisplayOptionalLabel\": false,\n                    \"isInputVerification\": false,\n                    \"value\": \"2026-05-04T10:39:28.086Z\"\n                },\n                \"gender\": {\n                    \"isReadOnly\": false,\n                    \"isHiddenOnScreen\": false,\n                    \"isRequired\": true,\n                    \"isDisplayOptionalLabel\": false,\n                    \"isInputVerification\": false,\n                    \"value\": \"male\"\n                }\n            }\n        },\n        \"strictVerifyIdentity\": {\n            \"data\": {\n                \"identifier\": {\n                    \"isReadOnly\": false,\n                    \"isHiddenOnScreen\": false,\n                    \"isRequired\": true,\n                    \"isDisplayOptionalLabel\": false,\n                    \"isInputVerification\": false,\n                    \"value\": {}\n                },\n                \"identifierType\": {\n                    \"isReadOnly\": false,\n                    \"isHiddenOnScreen\": false,\n                    \"isRequired\": true,\n                    \"isDisplayOptionalLabel\": false,\n                    \"isInputVerification\": false,\n                    \"value\": \"id\"\n                },\n                \"firstName\": {\n                    \"isReadOnly\": false,\n                    \"isHiddenOnScreen\": false,\n                    \"isRequired\": true,\n                    \"isDisplayOptionalLabel\": false,\n                    \"isInputVerification\": false,\n                    \"value\": \"Latin or hebrew name\"\n                },\n                \"lastName\": {\n                    \"isReadOnly\": false,\n                    \"isHiddenOnScreen\": false,\n                    \"isRequired\": true,\n                    \"isDisplayOptionalLabel\": false,\n                    \"isInputVerification\": false,\n                    \"value\": \"Latin or hebrew name\"\n                },\n                \"dateOfBirth\": {\n                    \"isReadOnly\": false,\n                    \"isHiddenOnScreen\": false,\n                    \"isRequired\": true,\n                    \"isDisplayOptionalLabel\": false,\n                    \"isInputVerification\": false,\n                    \"value\": \"2026-05-04T10:39:28.086Z\"\n                },\n                \"gender\": {\n                    \"isReadOnly\": false,\n                    \"isHiddenOnScreen\": false,\n                    \"isRequired\": true,\n                    \"isDisplayOptionalLabel\": false,\n                    \"isInputVerification\": false,\n                    \"value\": \"male\"\n                },\n                \"idIssueDate\": {\n                    \"isReadOnly\": false,\n                    \"isHiddenOnScreen\": false,\n                    \"isRequired\": true,\n                    \"isDisplayOptionalLabel\": false,\n                    \"isInputVerification\": false,\n                    \"value\": \"2026-05-04T10:39:28.086Z\"\n                }\n            }\n        },\n        \"strictVerifyIdentityBeneficiary\": {\n            \"data\": {\n                \"identifier\": {\n                    \"isReadOnly\": false,\n                    \"isHiddenOnScreen\": false,\n                    \"isRequired\": true,\n                    \"isDisplayOptionalLabel\": false,\n                    \"isInputVerification\": false,\n                    \"value\": {}\n                },\n                \"identifierType\": {\n                    \"isReadOnly\": false,\n                    \"isHiddenOnScreen\": false,\n                    \"isRequired\": true,\n                    \"isDisplayOptionalLabel\": false,\n                    \"isInputVerification\": false,\n                    \"value\": \"id\"\n                },\n                \"firstName\": {\n                    \"isReadOnly\": false,\n                    \"isHiddenOnScreen\": false,\n                    \"isRequired\": true,\n                    \"isDisplayOptionalLabel\": false,\n                    \"isInputVerification\": false,\n                    \"value\": \"Latin or hebrew name\"\n                },\n                \"lastName\": {\n                    \"isReadOnly\": false,\n                    \"isHiddenOnScreen\": false,\n                    \"isRequired\": true,\n                    \"isDisplayOptionalLabel\": false,\n                    \"isInputVerification\": false,\n                    \"value\": \"Latin or hebrew name\"\n                },\n                \"dateOfBirth\": {\n                    \"isReadOnly\": false,\n                    \"isHiddenOnScreen\": false,\n                    \"isRequired\": true,\n                    \"isDisplayOptionalLabel\": false,\n                    \"isInputVerification\": false,\n                    \"value\": \"2026-05-04T10:39:28.086Z\"\n                },\n                \"gender\": {\n                    \"isReadOnly\": false,\n                    \"isHiddenOnScreen\": false,\n                    \"isRequired\": true,\n                    \"isDisplayOptionalLabel\": false,\n                    \"isInputVerification\": false,\n                    \"value\": \"male\"\n                },\n                \"idIssueDate\": {\n                    \"isReadOnly\": false,\n                    \"isHiddenOnScreen\": false,\n                    \"isRequired\": true,\n                    \"isDisplayOptionalLabel\": false,\n                    \"isInputVerification\": false,\n                    \"value\": \"2026-05-04T10:39:28.086Z\"\n                }\n            }\n        },\n        \"contactDetails\": {\n            \"data\": {\n                \"email\": {\n                    \"isReadOnly\": false,\n                    \"isHiddenOnScreen\": false,\n                    \"isRequired\": true,\n                    \"isDisplayOptionalLabel\": false,\n                    \"isInputVerification\": false,\n                    \"value\": \"email@domain.com\"\n                },\n                \"phoneNumber\": {\n                    \"isReadOnly\": false,\n                    \"isHiddenOnScreen\": false,\n                    \"isRequired\": true,\n                    \"isDisplayOptionalLabel\": false,\n                    \"isInputVerification\": false,\n                    \"value\": \"0505000000\"\n                }\n            }\n        },\n        \"contactDetailsBeneficiary\": {\n            \"data\": {\n                \"email\": {\n                    \"isReadOnly\": false,\n                    \"isHiddenOnScreen\": false,\n                    \"isRequired\": true,\n                    \"isDisplayOptionalLabel\": false,\n                    \"isInputVerification\": false,\n                    \"value\": \"email@domain.com\"\n                },\n                \"phoneNumber\": {\n                    \"isReadOnly\": false,\n                    \"isHiddenOnScreen\": false,\n                    \"isRequired\": true,\n                    \"isDisplayOptionalLabel\": false,\n                    \"isInputVerification\": false,\n                    \"value\": \"0505000000\"\n                }\n            }\n        },\n        \"nameOnCard\": {\n            \"data\": {\n                \"firstNameOnCard\": {\n                    \"isReadOnly\": false,\n                    \"isHiddenOnScreen\": false,\n                    \"isRequired\": true,\n                    \"isDisplayOptionalLabel\": false,\n                    \"isInputVerification\": false,\n                    \"value\": \"Latin or hebrew name\"\n                },\n                \"lastNameOnCard\": {\n                    \"isReadOnly\": false,\n                    \"isHiddenOnScreen\": false,\n                    \"isRequired\": true,\n                    \"isDisplayOptionalLabel\": false,\n                    \"isInputVerification\": false,\n                    \"value\": \"Latin or hebrew name\"\n                }\n            }\n        },\n        \"nameOnCardBeneficiary\": {\n            \"data\": {\n                \"firstNameOnCard\": {\n                    \"isReadOnly\": false,\n                    \"isHiddenOnScreen\": false,\n                    \"isRequired\": true,\n                    \"isDisplayOptionalLabel\": false,\n                    \"isInputVerification\": false,\n                    \"value\": \"Latin or hebrew name\"\n                },\n                \"lastNameOnCard\": {\n                    \"isReadOnly\": false,\n                    \"isHiddenOnScreen\": false,\n                    \"isRequired\": true,\n                    \"isDisplayOptionalLabel\": false,\n                    \"isInputVerification\": false,\n                    \"value\": \"Latin or hebrew name\"\n                }\n            }\n        },\n        \"address\": {\n            \"data\": {\n                \"street\": {\n                    \"isReadOnly\": false,\n                    \"isHiddenOnScreen\": false,\n                    \"isRequired\": true,\n                    \"isDisplayOptionalLabel\": false,\n                    \"isInputVerification\": false,\n                    \"value\": \"string\"\n                },\n                \"buildingNumber\": {\n                    \"isReadOnly\": false,\n                    \"isHiddenOnScreen\": false,\n                    \"isRequired\": true,\n                    \"isDisplayOptionalLabel\": false,\n                    \"isInputVerification\": false,\n                    \"value\": 0\n                },\n                \"entrance\": {\n                    \"isReadOnly\": false,\n                    \"isHiddenOnScreen\": false,\n                    \"isRequired\": true,\n                    \"isDisplayOptionalLabel\": false,\n                    \"isInputVerification\": false,\n                    \"value\": \"string\"\n                },\n                \"apartment\": {\n                    \"isReadOnly\": false,\n                    \"isHiddenOnScreen\": false,\n                    \"isRequired\": true,\n                    \"isDisplayOptionalLabel\": false,\n                    \"isInputVerification\": false,\n                    \"value\": 0\n                },\n                \"poBox\": {\n                    \"isReadOnly\": false,\n                    \"isHiddenOnScreen\": false,\n                    \"isRequired\": true,\n                    \"isDisplayOptionalLabel\": false,\n                    \"isInputVerification\": false,\n                    \"value\": \"string\"\n                },\n                \"city\": {\n                    \"isReadOnly\": false,\n                    \"isHiddenOnScreen\": false,\n                    \"isRequired\": true,\n                    \"isDisplayOptionalLabel\": false,\n                    \"isInputVerification\": false,\n                    \"value\": \"string\"\n                },\n                \"state\": {\n                    \"isReadOnly\": false,\n                    \"isHiddenOnScreen\": false,\n                    \"isRequired\": true,\n                    \"isDisplayOptionalLabel\": false,\n                    \"isInputVerification\": false,\n                    \"value\": \"string\"\n                },\n                \"zipCode\": {\n                    \"isReadOnly\": false,\n                    \"isHiddenOnScreen\": false,\n                    \"isRequired\": true,\n                    \"isDisplayOptionalLabel\": false,\n                    \"isInputVerification\": false,\n                    \"value\": \"1234567\"\n                },\n                \"country\": {\n                    \"isReadOnly\": false,\n                    \"isHiddenOnScreen\": false,\n                    \"isRequired\": true,\n                    \"isDisplayOptionalLabel\": false,\n                    \"isInputVerification\": false,\n                    \"value\": \"string\"\n                }\n            }\n        },\n        \"cardDesign\": {\n            \"data\": {\n                \"catalogNumber\": {\n                    \"isReadOnly\": false,\n                    \"isHiddenOnScreen\": false,\n                    \"isRequired\": true,\n                    \"isDisplayOptionalLabel\": false,\n                    \"isInputVerification\": false,\n                    \"value\": \"string\"\n                }\n            }\n        },\n        \"cardPhysicalitySelection\": {\n            \"data\": {\n                \"cardPhysicality\": {\n                    \"isReadOnly\": false,\n                    \"isHiddenOnScreen\": false,\n                    \"isRequired\": true,\n                    \"isDisplayOptionalLabel\": false,\n                    \"isInputVerification\": false,\n                    \"value\": \"physicalAndVirtual\"\n                }\n            }\n        }\n    },\n    \"issuingData\": {\n        \"contractorCode\": \"string\",\n        \"businessPartnerCode\": \"string\",\n        \"creditCardBrand\": \"visa\"\n    },\n    \"termsData\": {\n        \"summarize\": [\n            {\n                \"key\": \"string\",\n                \"value\": \"string\"\n            }\n        ],\n        \"approvals\": [\n            \"string\"\n        ]\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/issuing-backend/api/InitWizardProcedure"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n  \"statusDescription\": \"string\",\n  \"statusCode\": 0,\n  \"sessionId\": \"string\",\n  \"httpStatus\": 0,\n  \"result\": {\n    \"url\": \"string\",\n    \"isNewLink\": true,\n    \"linkCreatedAt\": \"string\"\n  }\n}"}],"_postman_id":"fce8a14a-3362-4863-9920-d018b4bb82c9"},{"name":"InitWizardProcedure HybridFlow","event":[{"listen":"test","script":{"exec":["const jsonResponse = pm.response.json();","const url = jsonResponse.result.url;","const wizardProcedureRefId = url.split('=')[1];","pm.globals.set(\"WizardProcedureRefId\", wizardProcedureRefId);"],"type":"text/javascript","packages":{},"requests":{},"id":"bd9e9ad8-84b1-4651-8133-a3a7c84a70b9"}}],"id":"1241a4d2-05b8-4b26-8c07-7152db1298ef","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"}],"body":{"mode":"raw","raw":"{\n    \"product\": {\n        \"refId\": \"string\"\n    },\n    \"termsData\": {\n        \"approvals\": [\n            \"defaultApproval\",\n            \"cardStatementsApproval\",\n            \"issuerAdvertisingApproval\"\n        ]\n    },\n    \"webhookEvents\": [\n        {\n            \"serviceName\": \"NotifyIssuedCard\",\n            \"eventName\": \"cardSuccessfulIssuance\"\n        }\n    ],\n    \"wizardData\": {\n        \"verifyIdentity\": {\n            \"data\": {\n                \"identifier\": {\n                    \"value\": \"string\",\n                    \"isHiddenOnScreen\": true,\n                    \"isReadOnly\": true,\n                    \"isRequired\": true\n                },\n                \"identifierType\": {\n                    \"value\": \"id\",\n                    \"isHiddenOnScreen\": true,\n                    \"isReadOnly\": true,\n                    \"isRequired\": null\n                }\n            }\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/issuing-backend/api/InitWizardProcedure","description":"<p>Same endpoint as <strong>InitWizardProcedure</strong> — used for products with <code>debitMethod: hybrid</code>. The flow type is determined by the product's debit method, not by the endpoint itself.</p>\n<h3 id=\"hybrid-vs-regular-payload-differences\">Hybrid vs. Regular Payload Differences</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Regular Flow</th>\n<th>Hybrid Flow</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>termsData.approvals</code></td>\n<td>Not used</td>\n<td><strong>Required</strong> — approval identifiers for the terms screen ,  <br />\"defaultApproval\",  <br />\"cardStatementsApproval\",  <br />\"issuerAdvertisingApproval\"</td>\n</tr>\n<tr>\n<td><code>wizardData</code></td>\n<td>Full cardholder data (identity, contact, address, etc.)</td>\n<td>Minimal — typically identity only</td>\n</tr>\n<tr>\n<td><code>issuingData</code></td>\n<td>Optional</td>\n<td>May include <code>contractorCode</code>, <code>businessPartnerCode</code>, <code>creditCardBrand</code></td>\n</tr>\n</tbody>\n</table>\n</div><p>See <strong>InitWizardProcedure</strong> for the full parameter reference.</p>\n<hr />\n<h3 id=\"response-fields\">Response Fields</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>url</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>isNewLink</code></td>\n<td>boolean</td>\n</tr>\n<tr>\n<td><code>linkCreatedAt</code></td>\n<td>string</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["issuing-backend","api","InitWizardProcedure"],"host":["api","stage","cal-platform","com"],"query":[],"variable":[]}},"response":[{"id":"0c4bf10b-70ae-40a4-bc45-2b6c3b8af66c","name":"InitWizardProcedure HybridFlow","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"}],"body":{"mode":"raw","raw":"{\n    \"product\": {\n        \"refId\": \"string\"\n    },\n    \"termsData\": {\n        \"approvals\": [\n            \"defaultApproval\",\n            \"cardStatementsApproval\",\n            \"issuerAdvertisingApproval\"\n        ]\n    },\n    \"webhookEvents\": [\n        {\n            \"serviceName\": \"NotifyIssuedCard\",\n            \"eventName\": \"cardSuccessfulIssuance\"\n        }\n    ],\n    \"wizardData\": {\n        \"verifyIdentity\": {\n            \"data\": {\n                \"identifier\": {\n                    \"value\": \"string\",\n                    \"isHiddenOnScreen\": true,\n                    \"isReadOnly\": true,\n                    \"isRequired\": true\n                },\n                \"identifierType\": {\n                    \"value\": \"id\",\n                    \"isHiddenOnScreen\": true,\n                    \"isReadOnly\": true,\n                    \"isRequired\": null\n                }\n            }\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/issuing-backend/api/InitWizardProcedure"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n  \"statusDescription\": \"string\",\n  \"statusCode\": 0,\n  \"sessionId\": \"string\",\n  \"httpStatus\": 0,\n  \"result\": {\n    \"url\": \"string\",\n    \"isNewLink\": true,\n    \"linkCreatedAt\": \"string\"\n  }\n}"}],"_postman_id":"1241a4d2-05b8-4b26-8c07-7152db1298ef"},{"name":"GetWizardProcedureStatus","event":[{"listen":"test","script":{"exec":["const jsonResponse = pm.response.json();","const url = jsonResponse.result.url;","const wizardProcedureRefId = url.split('=')[1];","pm.globals.set(\"WizardProcedureRefId\", wizardProcedureRefId);"],"type":"text/javascript","packages":{},"requests":{},"id":"e4b37d33-83c5-427a-a6fa-714be458874d"}}],"id":"ba7f1e44-fd87-477e-9bb8-478c528dafda","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"}],"body":{"mode":"raw","raw":"{\n    \"wizardProcedureRefId\": \"string\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/issuing-backend/api/getWizardProcedureStatus","description":"<p>Returns the current status of a wizard procedure by its ref ID.</p>\n<h3 id=\"request-fields\">Request Fields</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Type</th>\n<th>Required</th>\n<th>Default</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>wizardProcedureRefId</code></td>\n<td>string (UUID)</td>\n<td>Yes</td>\n<td>-</td>\n<td>The wizard procedure ref ID to query</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"response-fields\">Response Fields</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>status</code></td>\n<td><code>pending</code><br /><code>ongoing</code><br /><code>completed</code><br /><code>completedByPartner</code><br /><code>issuanceFailure</code><br /><code>abandoned</code></td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["issuing-backend","api","getWizardProcedureStatus"],"host":["api","stage","cal-platform","com"],"query":[],"variable":[]}},"response":[{"id":"8c0b16a6-7e07-4008-ba6e-403f829c2b5a","name":"GetWizardProcedureStatus","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"}],"body":{"mode":"raw","raw":"{\n    \"wizardProcedureRefId\": \"string\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/issuing-backend/api/getWizardProcedureStatus"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"statusDescription\": \"string\",\n    \"statusCode\": 0,\n    \"sessionId\": \"string\",\n    \"httpStatus\": 0,\n    \"result\": {\n        \"status\": \"string\"\n    }\n}"}],"_postman_id":"ba7f1e44-fd87-477e-9bb8-478c528dafda"},{"name":"UpdateWizardProcedureMetadata","id":"0332e038-6fd8-4ea6-9145-33fc1defaf8e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"}],"body":{"mode":"raw","raw":"{\n    \"wizardProcedureRefId\": \"string\",\n    \"metadata\": {\n        \"welcomeScreen\": {\n            \"header\": \"string\",\n            \"subHeader\": \"string\",\n            \"buttonText\": \"string\",\n            \"bullets\": [\n                {\n                    \"icon\": \"string\",\n                    \"textKey\": \"string\"\n                }\n            ]\n        },\n        \"finalScreen\": {\n            \"header\": \"string\",\n            \"subHeader\": \"string\",\n            \"buttonText\": \"string\",\n            \"bullets\": [\n                {\n                    \"icon\": \"string\",\n                    \"textKey\": \"string\"\n                }\n            ]\n        },\n        \"logoUrl\": \"string\",\n        \"primaryColor\": \"string\",\n        \"accentColor\": \"string\",\n        \"errorColor\": \"string\",\n        \"locale\": \"string\",\n        \"successUrl\": \"string\",\n        \"failUrl\": \"string\",\n        \"abandonUrl\": \"string\",\n        \"deviceSettingsUrl\": \"string\",\n        \"dynamicData\": {},\n        \"partnerName\": \"string\",\n        \"buttonBorderRadius\": \"string\",\n        \"header\": {\n            \"start\": {\n                \"closeButton\": false,\n                \"languageSelector\": false,\n                \"text\": \"string\",\n                \"logo\": \"string\"\n            },\n            \"middle\": {\n                \"closeButton\": false,\n                \"languageSelector\": false,\n                \"text\": \"string\",\n                \"logo\": \"string\"\n            },\n            \"end\": {\n                \"closeButton\": false,\n                \"languageSelector\": false,\n                \"text\": \"string\",\n                \"logo\": \"string\"\n            }\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/issuing-backend/api/UpdateWizardProcedureMetadata","description":"<p>Updates the UI metadata of an existing wizard procedure. Use this to customize the look, feel, language, and redirect URLs of the cardholder-facing wizard after it has been initialized.</p>\n<h3 id=\"request-fields\">Request Fields</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Type</th>\n<th>Required</th>\n<th>Default</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>wizardProcedureRefId</code></td>\n<td>string (UUID)</td>\n<td>Yes</td>\n<td>-</td>\n<td>The wizard procedure to update</td>\n</tr>\n<tr>\n<td><code>metadata.logoUrl</code></td>\n<td>string</td>\n<td>No</td>\n<td>-</td>\n<td>URL of the logo displayed in the wizard</td>\n</tr>\n<tr>\n<td><code>metadata.primaryColor</code></td>\n<td>string</td>\n<td>No</td>\n<td>-</td>\n<td>Primary brand color (hex)</td>\n</tr>\n<tr>\n<td><code>metadata.accentColor</code></td>\n<td>string</td>\n<td>No</td>\n<td>-</td>\n<td>Accent color (hex)</td>\n</tr>\n<tr>\n<td><code>metadata.errorColor</code></td>\n<td>string</td>\n<td>No</td>\n<td>-</td>\n<td>Error state color (hex)</td>\n</tr>\n<tr>\n<td><code>metadata.locale</code></td>\n<td>string</td>\n<td>No</td>\n<td>-</td>\n<td>Wizard language/locale. Set <code>en</code> for an <strong>English</strong> issuance link, <code>he</code> for Hebrew. Locale text is loaded from per-product locale files (<code>default_&lt;locale&gt;.json</code> and <code>&lt;productRefId&gt;_&lt;locale&gt;.json</code>)</td>\n</tr>\n<tr>\n<td><code>metadata.successUrl</code></td>\n<td>string</td>\n<td>No</td>\n<td>-</td>\n<td>Redirect URL on successful issuance</td>\n</tr>\n<tr>\n<td><code>metadata.failUrl</code></td>\n<td>string</td>\n<td>No</td>\n<td>-</td>\n<td>Redirect URL on failure</td>\n</tr>\n<tr>\n<td><code>metadata.abandonUrl</code></td>\n<td>string</td>\n<td>No</td>\n<td>-</td>\n<td>Redirect URL when the cardholder abandons the flow</td>\n</tr>\n<tr>\n<td><code>metadata.deviceSettingsUrl</code></td>\n<td>string</td>\n<td>No</td>\n<td>-</td>\n<td>URL for the device settings screen</td>\n</tr>\n<tr>\n<td><code>metadata.partnerName</code></td>\n<td>string</td>\n<td>No</td>\n<td>-</td>\n<td>Partner name displayed in the wizard</td>\n</tr>\n<tr>\n<td><code>metadata.buttonBorderRadius</code></td>\n<td>string</td>\n<td>No</td>\n<td>-</td>\n<td>CSS border-radius for buttons</td>\n</tr>\n<tr>\n<td><code>metadata.dynamicData</code></td>\n<td>object</td>\n<td>No</td>\n<td>-</td>\n<td>Arbitrary key-value data passed to the wizard</td>\n</tr>\n<tr>\n<td><code>metadata.welcomeScreen</code></td>\n<td>object</td>\n<td>No</td>\n<td>-</td>\n<td>Welcome screen configuration</td>\n</tr>\n<tr>\n<td><code>metadata.welcomeScreen.header</code></td>\n<td>string</td>\n<td>No</td>\n<td>-</td>\n<td>Welcome screen title</td>\n</tr>\n<tr>\n<td><code>metadata.welcomeScreen.subHeader</code></td>\n<td>string</td>\n<td>No</td>\n<td>-</td>\n<td>Welcome screen subtitle</td>\n</tr>\n<tr>\n<td><code>metadata.welcomeScreen.buttonText</code></td>\n<td>string</td>\n<td>No</td>\n<td>-</td>\n<td>Welcome screen button label</td>\n</tr>\n<tr>\n<td><code>metadata.welcomeScreen.bullets</code></td>\n<td>array</td>\n<td>No</td>\n<td>-</td>\n<td>List of bullet items</td>\n</tr>\n<tr>\n<td><code>metadata.welcomeScreen.bullets[].icon</code></td>\n<td>string</td>\n<td>No</td>\n<td>-</td>\n<td>Bullet icon identifier</td>\n</tr>\n<tr>\n<td><code>metadata.welcomeScreen.bullets[].textKey</code></td>\n<td>string</td>\n<td>No</td>\n<td>-</td>\n<td>Bullet text (localization key)</td>\n</tr>\n<tr>\n<td><code>metadata.finalScreen</code></td>\n<td>object</td>\n<td>No</td>\n<td>-</td>\n<td>Final/success screen configuration</td>\n</tr>\n<tr>\n<td><code>metadata.finalScreen.header</code></td>\n<td>string</td>\n<td>No</td>\n<td>-</td>\n<td>Final screen title</td>\n</tr>\n<tr>\n<td><code>metadata.finalScreen.subHeader</code></td>\n<td>string</td>\n<td>No</td>\n<td>-</td>\n<td>Final screen subtitle</td>\n</tr>\n<tr>\n<td><code>metadata.finalScreen.buttonText</code></td>\n<td>string</td>\n<td>No</td>\n<td>-</td>\n<td>Final screen button label</td>\n</tr>\n<tr>\n<td><code>metadata.finalScreen.bullets</code></td>\n<td>array</td>\n<td>No</td>\n<td>-</td>\n<td>List of bullet items</td>\n</tr>\n<tr>\n<td><code>metadata.finalScreen.bullets[].icon</code></td>\n<td>string</td>\n<td>No</td>\n<td>-</td>\n<td>Bullet icon identifier</td>\n</tr>\n<tr>\n<td><code>metadata.finalScreen.bullets[].textKey</code></td>\n<td>string</td>\n<td>No</td>\n<td>-</td>\n<td>Bullet text (localization key)</td>\n</tr>\n<tr>\n<td><code>metadata.header</code></td>\n<td>object</td>\n<td>No</td>\n<td>-</td>\n<td>Wizard header configuration (three slots: <code>start</code>, <code>middle</code>, <code>end</code>)</td>\n</tr>\n<tr>\n<td><code>metadata.header.start</code></td>\n<td>object</td>\n<td>No</td>\n<td>-</td>\n<td>Header leading slot</td>\n</tr>\n<tr>\n<td><code>metadata.header.middle</code></td>\n<td>object</td>\n<td>No</td>\n<td>-</td>\n<td>Header middle slot</td>\n</tr>\n<tr>\n<td><code>metadata.header.end</code></td>\n<td>object</td>\n<td>No</td>\n<td>-</td>\n<td>Header trailing slot</td>\n</tr>\n<tr>\n<td><code>metadata.header.{start,middle,end}.closeButton</code></td>\n<td>boolean</td>\n<td>No</td>\n<td>false</td>\n<td>Show a close button in this slot</td>\n</tr>\n<tr>\n<td><code>metadata.header.{start,middle,end}.languageSelector</code></td>\n<td>boolean</td>\n<td>No</td>\n<td>false</td>\n<td>Show an in-wizard language selector in this slot</td>\n</tr>\n<tr>\n<td><code>metadata.header.{start,middle,end}.text</code></td>\n<td>string</td>\n<td>No</td>\n<td>-</td>\n<td>Text displayed in this slot</td>\n</tr>\n<tr>\n<td><code>metadata.header.{start,middle,end}.logo</code></td>\n<td>string</td>\n<td>No</td>\n<td>-</td>\n<td>Logo displayed in this slot</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"response-fields\">Response Fields</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>updated</code></td>\n<td>boolean</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["issuing-backend","api","UpdateWizardProcedureMetadata"],"host":["api","stage","cal-platform","com"],"query":[],"variable":[]}},"response":[{"id":"ed79d5e3-504c-4bd8-8866-f654c80a2fda","name":"UpdateWizardProcedureMetadata","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"}],"body":{"mode":"raw","raw":"{\n    \"wizardProcedureRefId\": \"string\",\n    \"metadata\": {\n        \"welcomeScreen\": {\n            \"header\": \"string\",\n            \"subHeader\": \"string\",\n            \"buttonText\": \"string\",\n            \"bullets\": [\n                {\n                    \"icon\": \"string\",\n                    \"textKey\": \"string\"\n                }\n            ]\n        },\n        \"finalScreen\": {\n            \"header\": \"string\",\n            \"subHeader\": \"string\",\n            \"buttonText\": \"string\",\n            \"bullets\": [\n                {\n                    \"icon\": \"string\",\n                    \"textKey\": \"string\"\n                }\n            ]\n        },\n        \"logoUrl\": \"string\",\n        \"primaryColor\": \"string\",\n        \"accentColor\": \"string\",\n        \"errorColor\": \"string\",\n        \"locale\": \"string\",\n        \"successUrl\": \"string\",\n        \"failUrl\": \"string\",\n        \"abandonUrl\": \"string\",\n        \"deviceSettingsUrl\": \"string\",\n        \"dynamicData\": {},\n        \"partnerName\": \"string\",\n        \"buttonBorderRadius\": \"string\",\n        \"header\": {\n            \"start\": {\n                \"closeButton\": false,\n                \"languageSelector\": false,\n                \"text\": \"string\",\n                \"logo\": \"string\"\n            },\n            \"middle\": {\n                \"closeButton\": false,\n                \"languageSelector\": false,\n                \"text\": \"string\",\n                \"logo\": \"string\"\n            },\n            \"end\": {\n                \"closeButton\": false,\n                \"languageSelector\": false,\n                \"text\": \"string\",\n                \"logo\": \"string\"\n            }\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/issuing-backend/api/UpdateWizardProcedureMetadata"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"statusDescription\": \"string\",\n    \"statusCode\": 0,\n    \"sessionId\": \"string\",\n    \"httpStatus\": 0,\n    \"result\": {\n        \"updated\": true\n    }\n}"}],"_postman_id":"0332e038-6fd8-4ea6-9145-33fc1defaf8e"},{"name":"GetIssuanceData","id":"9daea8a3-92f9-4ebf-aa62-ba9272b33a4c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"}],"url":"https://api.stage.cal-platform.com/issuing-backend/api/GetIssuanceData?wizardProcedureRefId=00000000-0000-0000-0000-000000000000","description":"<p>Retrieves issuance data for a completed wizard procedure. Returns the last four digits of the issued card.</p>\n<h3 id=\"request-fields\">Request Fields</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Type</th>\n<th>Required</th>\n<th>Default</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>wizardProcedureRefId</code></td>\n<td>string (UUID)</td>\n<td>Yes</td>\n<td>-</td>\n<td>The wizard procedure ref ID</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"response-fields\">Response Fields</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>wizardProcedureRefId</code></td>\n<td>string</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["issuing-backend","api","GetIssuanceData"],"host":["api","stage","cal-platform","com"],"query":[{"description":{"content":"<p>The wizard procedure ref ID</p>\n","type":"text/plain"},"key":"wizardProcedureRefId","value":"00000000-0000-0000-0000-000000000000"}],"variable":[]}},"response":[{"id":"f8235658-85af-4f19-a074-f5f838d75675","name":"GetIssuanceData","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"}],"url":{"raw":"https://api.stage.cal-platform.com/issuing-backend/api/GetIssuanceData?wizardProcedureRefId=3fa85f64-5717-4562-b3fc-2c963f66afa6","protocol":"https","host":["api","stage","cal-platform","com"],"path":["issuing-backend","api","GetIssuanceData"],"query":[{"key":"wizardProcedureRefId","value":"3fa85f64-5717-4562-b3fc-2c963f66afa6","description":"The wizard procedure ref ID"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n  \"statusDescription\": \"string\",\n  \"statusCode\": 0,\n  \"sessionId\": \"string\",\n  \"httpStatus\": 0,\n  \"result\": {\n    \"wizardProcedureRefId\": \"string\"\n  }\n}"}],"_postman_id":"9daea8a3-92f9-4ebf-aa62-ba9272b33a4c"},{"name":"EnrichIssuanceDataFromIssuer","id":"d292d120-c1d3-48a3-8e4d-c6c8aaf26752","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"}],"body":{"mode":"raw","raw":"{\n    \"wizardProcedureRefId\": \"00000000-0000-0000-0000-000000000000\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/issuing-backend/api/EnrichIssuanceDataFromIssuer","description":"<p>Enriches the issuance data of a wizard procedure by fetching additional cardholder data from the issuer (before-login enrichment). Called to supplement pre-filled wizard data before card issuance is finalized.</p>\n<h3 id=\"request-fields\">Request Fields</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Type</th>\n<th>Required</th>\n<th>Default</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>wizardProcedureRefId</code></td>\n<td>string (UUID)</td>\n<td>Yes</td>\n<td>-</td>\n<td>The wizard procedure to enrich. It is the only field the endpoint reads, and it is required.</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"response-fields\">Response Fields</h3>\n<p>Returns the standard response envelope with no content — <code>result</code> is <code>null</code>.</p>\n","urlObject":{"protocol":"https","path":["issuing-backend","api","EnrichIssuanceDataFromIssuer"],"host":["api","stage","cal-platform","com"],"query":[],"variable":[]}},"response":[{"id":"290bdef0-020b-49f1-bdc6-afd055384be7","name":"EnrichIssuanceDataFromIssuer","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"}],"body":{"mode":"raw","raw":"{\n    \"wizardProcedureRefId\": \"string\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/issuing-backend/api/EnrichIssuanceDataFromIssuer"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n  \"statusDescription\": \"string\",\n  \"statusCode\": 0,\n  \"sessionId\": \"string\",\n  \"httpStatus\": 0,\n  \"result\": {\n    \"wizardProcedureRefId\": \"string\"\n  }\n}"}],"_postman_id":"d292d120-c1d3-48a3-8e4d-c6c8aaf26752"},{"name":"InitUserWizardProcedure","id":"c9883378-d329-ffad-7029-3d635cfb4405","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"},{"key":"X-Organization-Id","value":"{{OrganizationId}}"}],"body":{"mode":"raw","raw":"{\n  \"productRefId\": \"string\",\n  \"userIdentifier\": \"string\",\n  \"user\": {\n    \"refId\": \"string\",\n    \"employeePaymentAccountManagerId\": \"string\"\n  }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/issuing-backend/api/InitUserWizardProcedure","description":"<p>Starts a card issuance wizard <strong>for the logged-in user</strong> (B2C flow). Unlike <strong>InitWizardProcedure</strong>, the caller does not build the wizard payload: the service loads the product's stored payload template, fills the cardholder identity from the request or the session, applies the issuance quota check, and returns the wizard URL.</p>\n<p>Requires the <code>InitWizardProcedure</code> scope. The <code>productRefId</code> must be one of the products in the user's session (see partners-backend <strong>GetProducts</strong>).</p>\n<hr />\n<h3 id=\"request-parameters\">Request Parameters</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field Name</th>\n<th>Required/Optional</th>\n<th>Type</th>\n<th>Description</th>\n<th>Example</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>productRefId</code></td>\n<td>Required</td>\n<td>string (UUID)</td>\n<td>Product to issue a card for. Must be in the session's eligible product list</td>\n<td>\"00000000-0000-0000-0000-000000000000\"</td>\n</tr>\n<tr>\n<td><code>userIdentifier</code></td>\n<td>Optional</td>\n<td>string</td>\n<td>National ID of the cardholder. Falls back to the session user's ID, then passport, then the identifier on an existing payment device</td>\n<td>\"012345678\"</td>\n</tr>\n<tr>\n<td><code>user</code></td>\n<td>Optional</td>\n<td>object</td>\n<td>Employee link, same shape as <strong>InitWizardProcedure</strong> <code>employee</code></td>\n<td>—</td>\n</tr>\n<tr>\n<td><code>user.refId</code></td>\n<td>Optional</td>\n<td>string (UUID)</td>\n<td>Existing employee refId</td>\n<td>—</td>\n</tr>\n<tr>\n<td><code>user.employeePaymentAccountManagerId</code></td>\n<td>Optional</td>\n<td>string</td>\n<td>Employee ID in the payment account manager system</td>\n<td>—</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"response-fields\">Response Fields</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>url</code></td>\n<td>string</td>\n<td>Cardholder-facing wizard URL</td>\n</tr>\n<tr>\n<td><code>isNewLink</code></td>\n<td>boolean</td>\n<td>False when an open wizard for this user and product was reused</td>\n</tr>\n<tr>\n<td><code>linkCreatedAt</code></td>\n<td>string</td>\n<td>Creation time of the returned link</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"rejections\">Rejections</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>statusCode</th>\n<th>Meaning</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>15</code> ProductNotFound</td>\n<td>Product is not in the session's eligible list</td>\n</tr>\n<tr>\n<td><code>16</code> UnresolvedUserIdentifier</td>\n<td>No identifier in the request, the session or existing payment devices</td>\n</tr>\n<tr>\n<td><code>17</code> MaxIssuancesReachedForProduct</td>\n<td>The user already holds <code>maxActiveCardsPerUser</code> active cards for this product</td>\n</tr>\n<tr>\n<td><code>18</code> IdentifierMismatchWithExistingPaymentDevice</td>\n<td>The identity provided does not match the customer of the user's existing payment device</td>\n</tr>\n<tr>\n<td><code>19</code> UserNotFoundOrInactive</td>\n<td>The user is unknown to the payment account domain or not <code>active</code></td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["issuing-backend","api","InitUserWizardProcedure"],"host":["api","stage","cal-platform","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"c9883378-d329-ffad-7029-3d635cfb4405"}],"id":"9f913545-5f21-4118-9c94-0872092534dd","description":"<p>Endpoints to initiate and manage the card issuance wizard procedure.</p>\n","_postman_id":"9f913545-5f21-4118-9c94-0872092534dd"},{"name":"Card Managment","item":[{"name":"CancelCard","id":"2160e2f1-7928-45d4-b4b9-e07afb61cada","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"}],"body":{"mode":"raw","raw":"{\n    \"cardIssuerInternalId\": \"123456789\",\n    \"cardStatusCode\": \"contractDestroyed\",\n    \"causeCode\": \"canceledZeroCard\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/consumers-backend/api/ConsumerCards/CancelCard","description":"<p>Cancels a consumer card by setting its security status and dispatching a card-cancellation message downstream.</p>\n<h2 id=\"request-parameters\">Request Parameters</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Type</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>cardIssuerInternalId</td>\n<td>string</td>\n<td>Required</td>\n<td>Internal card issuer ID of the card to cancel</td>\n</tr>\n<tr>\n<td>cardStatusCode</td>\n<td>SecurityStatusCode</td>\n<td>Required</td>\n<td>Card security status to apply</td>\n</tr>\n<tr>\n<td></td>\n<td></td>\n<td></td>\n<td>contractDestroyed</td>\n</tr>\n<tr>\n<td></td>\n<td>SecurityStatusCauseCode</td>\n<td>Required</td>\n<td>Cancellation cause code</td>\n</tr>\n<tr>\n<td></td>\n<td></td>\n<td></td>\n<td><code>canceledZeroCard</code></td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"response-fields\">Response Fields</h3>\n<p>Returns the standard response envelope with no content — <code>result</code> is <code>null</code>.</p>\n","urlObject":{"protocol":"https","path":["consumers-backend","api","ConsumerCards","CancelCard"],"host":["api","stage","cal-platform","com"],"query":[],"variable":[]}},"response":[{"id":"55a4b653-a2a3-4b49-957a-1d3dd101e357","name":"CancelCard","originalRequest":{"method":"POST","header":[{"key":"accept","value":"application/json"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{CognitoToken}}"}],"body":{"mode":"raw","raw":"{\r\n    \"cardIssuerInternalId\": \"string\",\r\n    \"cardStatusCode\": \"string\",\r\n    \"causeCode\": \"string\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/consumers-backend/api/ConsumerCards/CancelCard"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"statusDescription\": \"Success\",\n    \"statusCode\": 1,\n    \"sessionId\": \"string\",\n    \"httpStatus\": 200,\n    \"result\": null\n}"}],"_postman_id":"2160e2f1-7928-45d4-b4b9-e07afb61cada"},{"name":"GetConsumerCardsByIdAndProduct","event":[{"listen":"test","script":{"exec":[""],"type":"text/javascript","packages":{},"requests":{},"id":"82a2185d-f401-4efe-9601-d8b1c4733a87"}}],"id":"01905a6b-26b5-4675-8043-d55eb7bd1d22","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"}],"url":"https://api.stage.cal-platform.com/consumers-backend/api/ConsumerCards/GetConsumerByIdAndProduct?clientId=203567870&identifierType=id","description":"<p>Retrieves consumer cards for a specific consumer, optionally filtered by product or card status.</p>\n<p><strong>All parameters are passed as URL query parameters</strong> — this is a <code>GET</code> request, nothing is sent in the body. You must provide <strong>either</strong> <code>cardIssuerInternalId</code> <strong>or</strong> the pair <code>clientId</code> + <code>identifierType</code>. Results are always scoped to the products the calling partner is authorized for.</p>\n<h2 id=\"request-parameters\">Request Parameters</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Type</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>clientId</td>\n<td>string</td>\n<td>Required if <code>cardIssuerInternalId</code> is null</td>\n<td>Consumer identifier value</td>\n</tr>\n<tr>\n<td>identifierType</td>\n<td>IdentifierType</td>\n<td>Required if <code>cardIssuerInternalId</code> is null</td>\n<td>Type of the identifier</td>\n</tr>\n<tr>\n<td></td>\n<td></td>\n<td></td>\n<td><code>id</code></td>\n</tr>\n<tr>\n<td></td>\n<td></td>\n<td></td>\n<td><code>index</code></td>\n</tr>\n<tr>\n<td></td>\n<td></td>\n<td></td>\n<td><code>passport</code></td>\n</tr>\n<tr>\n<td></td>\n<td></td>\n<td></td>\n<td><code>driversLicense</code></td>\n</tr>\n<tr>\n<td></td>\n<td></td>\n<td></td>\n<td><code>socialSecurityNumber</code></td>\n</tr>\n<tr>\n<td>cardIssuerInternalId</td>\n<td>string</td>\n<td>Required if <code>clientId</code> is null</td>\n<td>Internal card issuer ID — alternative to <code>clientId</code> + <code>identifierType</code>. When provided, the result is filtered to this specific card.</td>\n</tr>\n<tr>\n<td>cardStatuses</td>\n<td>CardStatus[]</td>\n<td>Optional</td>\n<td>Filter results by card status</td>\n</tr>\n<tr>\n<td></td>\n<td></td>\n<td></td>\n<td><code>active</code></td>\n</tr>\n<tr>\n<td></td>\n<td></td>\n<td></td>\n<td><code>unactivated</code></td>\n</tr>\n<tr>\n<td></td>\n<td></td>\n<td></td>\n<td><code>suspended</code></td>\n</tr>\n<tr>\n<td></td>\n<td></td>\n<td></td>\n<td><code>canceled</code></td>\n</tr>\n<tr>\n<td>productRefIds</td>\n<td>string[]</td>\n<td>Optional</td>\n<td>Filter results by product reference IDs</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"response-fields\">Response Fields</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Required</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>consumerRefId</code></td>\n<td>string</td>\n<td>Required <em>(null if consumer not found)</em></td>\n</tr>\n<tr>\n<td><code>consumerCards</code></td>\n<td>array</td>\n<td>Required <em>(may be empty)</em></td>\n</tr>\n<tr>\n<td><code>consumerCards[].cardRefId</code></td>\n<td>string</td>\n<td>Required</td>\n</tr>\n<tr>\n<td><code>consumerCards[].lastFourDigits</code></td>\n<td>string</td>\n<td>Required</td>\n</tr>\n<tr>\n<td><code>consumerCards[].cardStatus</code></td>\n<td><code>active</code><br /><code>unactivated</code><br /><code>suspended</code><br /><code>canceled</code></td>\n<td>Required</td>\n</tr>\n<tr>\n<td><code>consumerCards[].beneficiary</code></td>\n<td>object <em>(nullable)</em></td>\n<td>Optional</td>\n</tr>\n<tr>\n<td><code>consumerCards[].beneficiary.identifier</code></td>\n<td>string</td>\n<td>Required <em>(when beneficiary present)</em></td>\n</tr>\n<tr>\n<td><code>consumerCards[].beneficiary.identifierType</code></td>\n<td><code>id</code><br /><code>index</code><br /><code>passport</code><br /><code>driversLicense</code><br /><code>socialSecurityNumber</code></td>\n<td>Required <em>(when beneficiary present)</em></td>\n</tr>\n<tr>\n<td><code>consumerCards[].beneficiary.firstName</code></td>\n<td>string</td>\n<td>Required <em>(when beneficiary present)</em></td>\n</tr>\n<tr>\n<td><code>consumerCards[].beneficiary.lastName</code></td>\n<td>string</td>\n<td>Required <em>(when beneficiary present)</em></td>\n</tr>\n<tr>\n<td><code>consumerCards[].beneficiary.phoneNumber</code></td>\n<td>string</td>\n<td>Optional</td>\n</tr>\n<tr>\n<td><code>consumerCards[].beneficiary.email</code></td>\n<td>string</td>\n<td>Optional</td>\n</tr>\n<tr>\n<td><code>consumerCards[].wizardProcedureRefId</code></td>\n<td>string</td>\n<td>Optional</td>\n</tr>\n<tr>\n<td><code>consumerCards[].cardIssuerInternalId</code></td>\n<td>string</td>\n<td>Optional</td>\n</tr>\n<tr>\n<td><code>consumerCards[].isLockedByPaymentAccountManager</code></td>\n<td>boolean</td>\n<td>Optional</td>\n</tr>\n<tr>\n<td><code>consumerCards[].brand</code></td>\n<td><code>visa</code><br /><code>masterCard</code><br /><code>diners</code><br /><code>americanExpress</code></td>\n<td>Optional</td>\n</tr>\n<tr>\n<td><code>consumerCards[].consumerPaymentAccountManagerId</code></td>\n<td>string</td>\n<td>Optional</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["consumers-backend","api","ConsumerCards","GetConsumerByIdAndProduct"],"host":["api","stage","cal-platform","com"],"query":[{"key":"clientId","value":"203567870"},{"key":"identifierType","value":"id"},{"disabled":true,"key":"cardIssuerInternalId","value":"73475277"},{"disabled":true,"key":"cardStatuses","value":"active"},{"disabled":true,"key":"productRefIds","value":"077-1-1"}],"variable":[]}},"response":[{"id":"5065142e-37c3-4cfc-88f2-79f046db808c","name":"GetConsumerCardsByIdAndProduct","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"}],"url":{"raw":"https://api.stage.cal-platform.com/consumers-backend/api/ConsumerCards/GetConsumerByIdAndProduct","protocol":"https","host":["api","stage","cal-platform","com"],"path":["consumers-backend","api","ConsumerCards","GetConsumerByIdAndProduct"],"query":[{"key":"cardIssuerInternalId","value":"73475277","disabled":true},{"key":"cardStatuses","value":"active","disabled":true},{"key":"productRefIds","value":"077-1-1","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n  \"statusDescription\": \"Success\",\n  \"statusCode\": 1,\n  \"sessionId\": \"00000000-0000-0000-0000-000000000000\",\n  \"httpStatus\": 200,\n  \"result\": {\n    \"consumerRefId\": \"00000000-0000-0000-0000-000000000000\",\n    \"consumerCards\": [\n      {\n        \"cardRefId\": \"00000000-0000-0000-0000-000000000000\",\n        \"lastFourDigits\": \"0000\",\n        \"cardStatus\": \"active\",\n        \"beneficiary\": {\n          \"identifier\": \"000000000\",\n          \"identifierType\": \"id\",\n          \"firstName\": \"John\",\n          \"lastName\": \"Doe\",\n          \"phoneNumber\": \"0500000000\",\n          \"email\": \"user@example.com\"\n        },\n        \"wizardProcedureRefId\": \"00000000-0000-0000-0000-000000000000\",\n        \"cardIssuerInternalId\": \"00000000\",\n        \"isLockedByPaymentAccountManager\": false,\n        \"brand\": \"visa\",\n        \"consumerPaymentAccountManagerId\": \"00000000-0000-0000-0000-000000000000\"\n      }\n    ]\n  }\n}"}],"_postman_id":"01905a6b-26b5-4675-8043-d55eb7bd1d22"},{"name":"DetachedCard","id":"40eb872d-57f4-4f1f-a1f1-137692774b8f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"accept","value":"application/json"},{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"}],"body":{"mode":"raw","raw":"{\r\n  \"cardIssuerInternalId\": \"string\",\r\n  \"businessPartnerCode\": \"string\"\r\n}"},"url":"https://api.stage.cal-platform.com/consumers-backend/api/ConsumerCards/DetachedCardPairing","description":"<p>Detaches a credit card from its current payment account pairing.</p>\n<h2 id=\"request-parameters\">Request Parameters</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Type</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>cardIssuerInternalId</td>\n<td>string</td>\n<td>Required</td>\n<td>Internal card issuer ID</td>\n</tr>\n<tr>\n<td>businessPartnerCode</td>\n<td>string</td>\n<td>Required</td>\n<td>Business partner code</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"response-fields\">Response Fields</h3>\n<p><em>No result data returned.</em></p>\n","urlObject":{"protocol":"https","path":["consumers-backend","api","ConsumerCards","DetachedCardPairing"],"host":["api","stage","cal-platform","com"],"query":[],"variable":[]}},"response":[{"id":"ee905ae3-f09d-4080-937b-df1dbb172ee5","name":"DetachedCard","originalRequest":{"method":"POST","header":[{"key":"accept","value":"application/json"},{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"}],"body":{"mode":"raw","raw":"{\r\n  \"cardIssuerInternalId\": \"string\",\r\n  \"businessPartnerCode\": \"string\"\r\n}"},"url":"https://api.stage.cal-platform.com/consumers-backend/api/ConsumerCards/DetachedCardPairing"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n  \"statusDescription\": \"string\",\n  \"statusCode\": 0,\n  \"sessionId\": \"string\",\n  \"httpStatus\": 0,\n  \"result\": {}\n}"}],"_postman_id":"40eb872d-57f4-4f1f-a1f1-137692774b8f"},{"name":"CardInWallet","id":"733589b3-42d8-4f80-88a9-18b745690c73","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"accept","value":"application/json"},{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"}],"body":{"mode":"raw","raw":"{\n    \"cardIssuerInternalId\": \"00000000\",\n    \"walletProvider\": \"string\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/consumers-backend/api/ConsumerCards/CardInWallet","description":"<p>Checks whether a card has been provisioned into a digital wallet (Google Pay or Apple Pay).</p>\n<h2 id=\"request-parameters\">Request Parameters</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Type</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>cardIssuerInternalId</td>\n<td>string</td>\n<td>Required</td>\n<td>Internal card issuer ID</td>\n</tr>\n<tr>\n<td>walletProvider</td>\n<td>Enum (String)</td>\n<td>Required</td>\n<td>Digital wallet to check against</td>\n</tr>\n<tr>\n<td></td>\n<td></td>\n<td></td>\n<td><code>Google</code></td>\n</tr>\n<tr>\n<td></td>\n<td></td>\n<td></td>\n<td><code>Apple</code></td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"response-fields\">Response Fields</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>isInWallet</code></td>\n<td>boolean</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["consumers-backend","api","ConsumerCards","CardInWallet"],"host":["api","stage","cal-platform","com"],"query":[],"variable":[]}},"response":[{"id":"0cca1aa8-1bd9-4533-a063-44316101be16","name":"CardInWallet","originalRequest":{"method":"POST","header":[{"key":"accept","value":"application/json"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{CognitoToken}}"}],"body":{"mode":"raw","raw":"{\r\n    \"cardIssuerInternalId\": \"string\",\r\n    \"walletProvider\": \"string\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/consumers-backend/api/ConsumerCards/CardInWallet"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n  \"statusDescription\": \"string\",\n  \"statusCode\": 0,\n  \"sessionId\": \"string\",\n  \"httpStatus\": 0,\n  \"result\": {\n    \"isInWallet\": true\n  }\n}"}],"_postman_id":"733589b3-42d8-4f80-88a9-18b745690c73"},{"name":"UpdateCard","id":"427b431f-89c8-4932-8dbb-a9a541b90d7c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"accept","value":"application/json"},{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"}],"body":{"mode":"raw","raw":"{\r\n    \"cardRefId\": \"string\",\r\n    \"cardIssuerInternalId\": \"string\",\r\n    \"isLockedByPaymentAccountManager\": true\r\n}"},"url":"https://api.stage.cal-platform.com/consumers-backend/api/ConsumerCards/UpdateCard","description":"<p>Updates the isLockedByPaymentAccountManager status of a consumer card.</p>\n<h2 id=\"request-parameters\">Request Parameters</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Type</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>cardRefId</td>\n<td>string</td>\n<td>Required if <code>cardIssuerInternalId</code> is null</td>\n<td>Card reference ID</td>\n</tr>\n<tr>\n<td>cardIssuerInternalId</td>\n<td>string</td>\n<td>Required if <code>cardRefId</code> is null</td>\n<td>Internal card issuer ID</td>\n</tr>\n<tr>\n<td>isLockedByPaymentAccountManager</td>\n<td>boolean</td>\n<td>Optional</td>\n<td>Whether the card is locked by the payment account manager</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"response-fields\">Response Fields</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>isLockedByPaymentAccountManager</code></td>\n<td>boolean</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["consumers-backend","api","ConsumerCards","UpdateCard"],"host":["api","stage","cal-platform","com"],"query":[],"variable":[]}},"response":[{"id":"c7fed9e2-509a-4aa9-9cf5-4021bba9a006","name":"UpdateCard","originalRequest":{"method":"POST","header":[{"key":"accept","value":"application/json"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{CognitoToken}}"}],"body":{"mode":"raw","raw":"{\r\n    \"cardRefId\": \"string\",\r\n    \"cardIssuerInternalId\": \"string\",\r\n    \"isLockedByPaymentAccountManager\": true\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/consumers-backend/api/ConsumerCards/UpdateCard"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n  \"statusDescription\": \"string\",\n  \"statusCode\": 0,\n  \"sessionId\": \"string\",\n  \"httpStatus\": 0,\n  \"result\": {\n    \"isLockedByPaymentAccountManager\": true\n  }\n}"}],"_postman_id":"427b431f-89c8-4932-8dbb-a9a541b90d7c"},{"name":"GetConsumerByIdentifierAndIdentifierType","id":"1b34be90-98ae-4ea7-a1b8-de970efaafba","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","description":"<p>Request body format</p>\n"},{"key":"Accept","value":"application/json","description":"<p>Expected response format</p>\n"},{"key":"Authorization","value":"{{CognitoToken}}","description":"<p>JWT access token</p>\n"}],"url":"https://api.stage.cal-platform.com/consumers-backend/api/ConsumerCards/GetConsumerByIdentifierAndIdentifierType?identifier=123456789&identifierType=id","description":"<p>Retrieves consumer card information by identifier and identifier type. Used to look up a consumer's cards when the card reference ID is not known — typically called during authorization flows.</p>\n<h2 id=\"request-parameters\">Request Parameters</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Type</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>identifier</td>\n<td>string</td>\n<td>Required</td>\n<td>The identifier value to search by</td>\n</tr>\n<tr>\n<td>identifierType</td>\n<td>IdentifierType</td>\n<td>Required</td>\n<td>Type of the identifier</td>\n</tr>\n<tr>\n<td></td>\n<td></td>\n<td></td>\n<td><code>id</code></td>\n</tr>\n<tr>\n<td></td>\n<td></td>\n<td></td>\n<td><code>index</code></td>\n</tr>\n<tr>\n<td></td>\n<td></td>\n<td></td>\n<td><code>passport</code></td>\n</tr>\n<tr>\n<td></td>\n<td></td>\n<td></td>\n<td><code>driversLicense</code></td>\n</tr>\n<tr>\n<td></td>\n<td></td>\n<td></td>\n<td><code>socialSecurityNumber</code></td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"response-fields\">Response Fields</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>consumerCards</code></td>\n<td>array</td>\n</tr>\n<tr>\n<td><code>consumerCards[].cardRefId</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>consumerCards[].lastFourDigits</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>consumerCards[].cardStatus</code></td>\n<td><code>active</code><br /><code>unactivated</code><br /><code>suspended</code><br /><code>canceled</code></td>\n</tr>\n<tr>\n<td><code>consumerCards[].beneficiary</code></td>\n<td>object</td>\n</tr>\n<tr>\n<td><code>consumerCards[].beneficiary.identifier</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>consumerCards[].beneficiary.identifierType</code></td>\n<td><code>id</code><br /><code>index</code><br /><code>passport</code><br /><code>driversLicense</code><br /><code>socialSecurityNumber</code></td>\n</tr>\n<tr>\n<td><code>consumerCards[].beneficiary.firstName</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>consumerCards[].beneficiary.lastName</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>consumerCards[].beneficiary.phoneNumber</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>consumerCards[].beneficiary.email</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>consumerCards[].wizardProcedureRefId</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>consumerCards[].cardIssuerInternalId</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>consumerCards[].isLockedByPaymentAccountManager</code></td>\n<td>boolean</td>\n</tr>\n<tr>\n<td><code>consumerCards[].brand</code></td>\n<td><code>visa</code><br /><code>masterCard</code><br /><code>diners</code><br /><code>americanExpress</code></td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["consumers-backend","api","ConsumerCards","GetConsumerByIdentifierAndIdentifierType"],"host":["api","stage","cal-platform","com"],"query":[{"key":"identifier","value":"123456789"},{"key":"identifierType","value":"id"}],"variable":[]}},"response":[{"id":"5726c21c-cefa-4391-bf35-0cc7069ed196","name":"GetConsumerByIdentifierAndIdentifierType","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"}],"url":{"raw":"https://api.stage.cal-platform.com/consumers-backend/api/ConsumerCards/GetConsumerByIdentifierAndIdentifierType?identifier=123456789&identifierType=id","protocol":"https","host":["api","stage","cal-platform","com"],"path":["consumers-backend","api","ConsumerCards","GetConsumerByIdentifierAndIdentifierType"],"query":[{"key":"identifier","value":"123456789"},{"key":"identifierType","value":"id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n  \"statusDescription\": \"string\",\n  \"statusCode\": 0,\n  \"sessionId\": \"string\",\n  \"httpStatus\": 0,\n  \"result\": {\n    \"consumerCards\": [\n      {\n        \"cardRefId\": \"string\",\n        \"lastFourDigits\": \"string\",\n        \"cardStatus\": \"string\",\n        \"beneficiary\": {\n          \"identifier\": \"string\",\n          \"identifierType\": \"string\",\n          \"firstName\": \"string\",\n          \"lastName\": \"string\",\n          \"phoneNumber\": \"string\",\n          \"email\": \"string\"\n        },\n        \"wizardProcedureRefId\": \"string\",\n        \"cardIssuerInternalId\": \"string\",\n        \"isLockedByPaymentAccountManager\": true,\n        \"brand\": \"string\"\n      }\n    ]\n  }\n}"}],"_postman_id":"1b34be90-98ae-4ea7-a1b8-de970efaafba"},{"name":"UpdateConsumerPaymentAccountManager","id":"61609af0-f035-4e34-be25-5d08556aa19a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","description":"<p>Request body format</p>\n"},{"key":"Accept","value":"application/json","description":"<p>Expected response format</p>\n"},{"key":"Authorization","value":"{{CognitoToken}}","description":"<p>JWT access token</p>\n"}],"body":{"mode":"raw","raw":"{\n    \"cardIssuerInternalId\": \"string\",\n    \"paymentAccountManager\": \"platform\",\n    \"businessPartnerCode\": \"string\",\n    \"paymentAccountManagerCode\": \"string\",\n    \"brand\": \"visa\",\n    \"physicality\": \"physicalAndVirtual\",\n    \"issuer\": \"cal\",\n    \"debitMethod\": \"paymentAccount\",\n    \"consumerPaymentAccountManagerId\": \"string\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/consumers-backend/api/ConsumerCards/UpdateConsumerPaymentAccountManager","description":"<p>Updates or assigns a payment account manager to a consumer card. Used to associate a card with a specific payment platform after issuance.</p>\n<h2 id=\"request-parameters\">Request Parameters</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Type</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>cardIssuerInternalId</td>\n<td>string</td>\n<td>Required</td>\n<td>Internal card issuer ID</td>\n</tr>\n<tr>\n<td>paymentAccountManager</td>\n<td>PaymentAccountManager</td>\n<td>Required</td>\n<td>Payment account manager to assign</td>\n</tr>\n<tr>\n<td></td>\n<td></td>\n<td></td>\n<td><code>platform</code></td>\n</tr>\n<tr>\n<td></td>\n<td></td>\n<td></td>\n<td><code>partner_name</code></td>\n</tr>\n<tr>\n<td>businessPartnerCode</td>\n<td>string</td>\n<td>Optional</td>\n<td>Business partner code</td>\n</tr>\n<tr>\n<td>paymentAccountManagerCode</td>\n<td>string</td>\n<td>Optional</td>\n<td>Payment account manager code</td>\n</tr>\n<tr>\n<td>brand</td>\n<td>CreditCardBrand</td>\n<td>Optional</td>\n<td>Card brand</td>\n</tr>\n<tr>\n<td></td>\n<td></td>\n<td></td>\n<td><code>visa</code></td>\n</tr>\n<tr>\n<td></td>\n<td></td>\n<td></td>\n<td><code>masterCard</code></td>\n</tr>\n<tr>\n<td></td>\n<td></td>\n<td></td>\n<td><code>diners</code></td>\n</tr>\n<tr>\n<td></td>\n<td></td>\n<td></td>\n<td><code>americanExpress</code></td>\n</tr>\n<tr>\n<td>physicality</td>\n<td>CardPhysicality</td>\n<td>Optional</td>\n<td>Card physicality type</td>\n</tr>\n<tr>\n<td></td>\n<td></td>\n<td></td>\n<td><code>physicalAndVirtual</code></td>\n</tr>\n<tr>\n<td></td>\n<td></td>\n<td></td>\n<td><code>virtualOnly</code></td>\n</tr>\n<tr>\n<td>issuer</td>\n<td>CardIssuer</td>\n<td>Optional</td>\n<td>Card issuer</td>\n</tr>\n<tr>\n<td></td>\n<td></td>\n<td></td>\n<td><code>issuer_name</code></td>\n</tr>\n<tr>\n<td>debitMethod</td>\n<td>DebitMethod</td>\n<td>Optional</td>\n<td>Debit method</td>\n</tr>\n<tr>\n<td></td>\n<td></td>\n<td></td>\n<td><code>paymentAccount</code></td>\n</tr>\n<tr>\n<td></td>\n<td></td>\n<td></td>\n<td><code>hybrid</code></td>\n</tr>\n<tr>\n<td></td>\n<td></td>\n<td></td>\n<td><code>bankAccount</code></td>\n</tr>\n<tr>\n<td>consumerPaymentAccountManagerId</td>\n<td>string</td>\n<td>Optional</td>\n<td>Consumer payment account manager ID</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"response-fields\">Response Fields</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>cardRefId</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>consumerRefId</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>consumerPaymentAccountManagerId</code></td>\n<td>string</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["consumers-backend","api","ConsumerCards","UpdateConsumerPaymentAccountManager"],"host":["api","stage","cal-platform","com"],"query":[],"variable":[]}},"response":[{"id":"51da5277-112d-44c3-8c30-32c07c6bce46","name":"UpdateConsumerPaymentAccountManager","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"}],"body":{"mode":"raw","raw":"{\n    \"cardIssuerInternalId\": \"string\",\n    \"paymentAccountManager\": \"platform\",\n    \"businessPartnerCode\": \"string\",\n    \"paymentAccountManagerCode\": \"string\",\n    \"brand\": \"visa\",\n    \"physicality\": \"physicalAndVirtual\",\n    \"issuer\": \"cal\",\n    \"debitMethod\": \"paymentAccount\",\n    \"consumerPaymentAccountManagerId\": \"string\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/consumers-backend/api/ConsumerCards/UpdateConsumerPaymentAccountManager"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n  \"statusDescription\": \"string\",\n  \"statusCode\": 0,\n  \"sessionId\": \"string\",\n  \"httpStatus\": 0,\n  \"result\": {\n    \"cardRefId\": \"string\",\n    \"consumerRefId\": \"string\",\n    \"consumerPaymentAccountManagerId\": \"string\"\n  }\n}"}],"_postman_id":"61609af0-f035-4e34-be25-5d08556aa19a"},{"name":"GetAllocationsAndBalance","id":"18058552-8c36-4616-8d65-721bb4e99fb7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","description":"<p>Request body format</p>\n"},{"key":"Accept","value":"application/json","description":"<p>Expected response format</p>\n"},{"key":"Authorization","value":"{{CognitoToken}}","description":"<p>JWT access token</p>\n"}],"url":"https://api.stage.cal-platform.com/consumers-backend/api/CardAllocations/GetAllocationsAndBalance","description":"<p>Retrieves all budget allocations and current balance for a card.</p>\n<h2 id=\"request-parameters\">Request Parameters</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Type</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>cardRefId</td>\n<td>string</td>\n<td>Required if <code>cardIssuerInternalId</code> is null</td>\n<td>Card reference ID</td>\n</tr>\n<tr>\n<td>cardIssuerInternalId</td>\n<td>string</td>\n<td>Required if <code>cardRefId</code> is null</td>\n<td>Internal card issuer ID</td>\n</tr>\n<tr>\n<td>budgetCategoryType</td>\n<td>string</td>\n<td>Optional</td>\n<td>Filter by budget category type</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"response-fields\">Response Fields</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>budgetAllocations</code></td>\n<td>array</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["consumers-backend","api","CardAllocations","GetAllocationsAndBalance"],"host":["api","stage","cal-platform","com"],"query":[{"disabled":true,"key":"cardIssuerInternalId","value":""},{"disabled":true,"key":"budgetCategoryType","value":""}],"variable":[]}},"response":[{"id":"cba73f4b-54f9-4dab-a0ee-352728a7b1c9","name":"GetAllocationsAndBalance","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"}],"url":{"raw":"https://api.stage.cal-platform.com/consumers-backend/api/CardAllocations/GetAllocationsAndBalance","protocol":"https","host":["api","stage","cal-platform","com"],"path":["consumers-backend","api","CardAllocations","GetAllocationsAndBalance"],"query":[{"key":"cardIssuerInternalId","value":"","disabled":true},{"key":"budgetCategoryType","value":"","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n  \"statusDescription\": \"string\",\n  \"statusCode\": 0,\n  \"sessionId\": \"string\",\n  \"httpStatus\": 0,\n  \"result\": {\n    \"budgetAllocations\": [\n      \"string\"\n    ]\n  }\n}"}],"_postman_id":"18058552-8c36-4616-8d65-721bb4e99fb7"},{"name":"GetMonthlyAllocationsTotal","id":"fb33a585-7e48-4ab9-922a-adeb444cb2ea","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","description":"<p>Request body format</p>\n"},{"key":"Accept","value":"application/json","description":"<p>Expected response format</p>\n"},{"key":"Authorization","value":"{{CognitoToken}}","description":"<p>JWT access token</p>\n"}],"url":"https://api.stage.cal-platform.com/consumers-backend/api/CardAllocations/GetMonthlyAllocationsTotal?budgetCategoryType=grocery&cardRefId=card-ref-id-123","description":"<p>Returns the total amount allocated to a card within the current month for a specific budget category.</p>\n<h2 id=\"request-parameters\">Request Parameters</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Type</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>budgetCategoryType</td>\n<td>string</td>\n<td>Required</td>\n<td>Budget category type</td>\n</tr>\n<tr>\n<td>cardRefId</td>\n<td>string</td>\n<td>Required</td>\n<td>Card reference ID</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"response-fields\">Response Fields</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>totalMonthlyAllocations</code></td>\n<td>number</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["consumers-backend","api","CardAllocations","GetMonthlyAllocationsTotal"],"host":["api","stage","cal-platform","com"],"query":[{"key":"budgetCategoryType","value":"grocery"},{"key":"cardRefId","value":"card-ref-id-123"}],"variable":[]}},"response":[{"id":"0da1fc04-43e7-42cf-8e18-a9338a2c28cd","name":"GetMonthlyAllocationsTotal","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"}],"url":{"raw":"https://api.stage.cal-platform.com/consumers-backend/api/CardAllocations/GetMonthlyAllocationsTotal?budgetCategoryType=grocery&cardRefId=card-ref-id-123","protocol":"https","host":["api","stage","cal-platform","com"],"path":["consumers-backend","api","CardAllocations","GetMonthlyAllocationsTotal"],"query":[{"key":"budgetCategoryType","value":"grocery"},{"key":"cardRefId","value":"card-ref-id-123"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n  \"statusDescription\": \"string\",\n  \"statusCode\": 0,\n  \"sessionId\": \"string\",\n  \"httpStatus\": 0,\n  \"result\": {\n    \"totalMonthlyAllocations\": 0\n  }\n}"}],"_postman_id":"fb33a585-7e48-4ab9-922a-adeb444cb2ea"},{"name":"CreatePendingAllocationToCard","id":"ae6e4df2-1e34-43a0-a0dc-705df0ed339d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","description":"<p>Request body format</p>\n"},{"key":"Accept","value":"application/json","description":"<p>Expected response format</p>\n"},{"key":"Authorization","value":"{{CognitoToken}}","description":"<p>JWT access token</p>\n"}],"body":{"mode":"raw","raw":"{\n    \"cardRefId\": \"string\",\n    \"cardIssuerInternalId\": \"string\",\n    \"budgetCategoryType\": \"string\",\n    \"allocation\": {\n        \"actionDate\": \"2026-05-04T11:29:31.984Z\",\n        \"fromCardLastFourDigits\": \"string\",\n        \"amount\": 0,\n        \"currency\": \"string\",\n        \"description\": \"string\",\n        \"initiator\": \"string\",\n        \"currencySymbol\": \"string\",\n        \"issuerTransactionInternalId\": \"string\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/consumers-backend/api/CardAllocations/CreatePendingAllocationToCard","description":"<p>Creates a pending budget allocation for a specific card.</p>\n<h2 id=\"request-parameters\">Request Parameters</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Type</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>cardRefId</td>\n<td>string</td>\n<td>Required if <code>cardIssuerInternalId</code> is null</td>\n<td>Card reference ID</td>\n</tr>\n<tr>\n<td>cardIssuerInternalId</td>\n<td>string</td>\n<td>Required if <code>cardRefId</code> is null</td>\n<td>Internal card issuer ID</td>\n</tr>\n<tr>\n<td>budgetCategoryType</td>\n<td>string</td>\n<td>Required</td>\n<td>Budget category type</td>\n</tr>\n<tr>\n<td>allocation</td>\n<td>object</td>\n<td>Required</td>\n<td>Allocation details</td>\n</tr>\n<tr>\n<td>allocation.actionDate</td>\n<td>Date</td>\n<td>Required</td>\n<td>Date of the allocation action</td>\n</tr>\n<tr>\n<td>allocation.fromCardLastFourDigits</td>\n<td>string</td>\n<td>Required</td>\n<td>Last four digits of the source card</td>\n</tr>\n<tr>\n<td>allocation.amount</td>\n<td>number</td>\n<td>Required</td>\n<td>Allocation amount</td>\n</tr>\n<tr>\n<td>allocation.currency</td>\n<td>string</td>\n<td>Required</td>\n<td>Currency code</td>\n</tr>\n<tr>\n<td>allocation.initiator</td>\n<td>string</td>\n<td>Required</td>\n<td>Initiator of the allocation</td>\n</tr>\n<tr>\n<td>allocation.description</td>\n<td>string</td>\n<td>Optional</td>\n<td>Allocation description</td>\n</tr>\n<tr>\n<td>allocation.currencySymbol</td>\n<td>string</td>\n<td>Optional</td>\n<td>Currency symbol</td>\n</tr>\n<tr>\n<td>allocation.issuerTransactionInternalId</td>\n<td>string</td>\n<td>Optional</td>\n<td>Issuer transaction internal ID</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"response-fields\">Response Fields</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>allocationRefId</code></td>\n<td>string</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["consumers-backend","api","CardAllocations","CreatePendingAllocationToCard"],"host":["api","stage","cal-platform","com"],"query":[],"variable":[]}},"response":[{"id":"03993b07-2aac-4786-81f0-4a76c8fa3f7e","name":"CreatePendingAllocationToCard","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"}],"body":{"mode":"raw","raw":"{\n    \"cardRefId\": \"string\",\n    \"cardIssuerInternalId\": \"string\",\n    \"budgetCategoryType\": \"string\",\n    \"allocation\": {\n        \"actionDate\": \"2026-05-04T11:29:31.984Z\",\n        \"fromCardLastFourDigits\": \"string\",\n        \"amount\": 0,\n        \"currency\": \"string\",\n        \"description\": \"string\",\n        \"initiator\": \"string\",\n        \"currencySymbol\": \"string\",\n        \"issuerTransactionInternalId\": \"string\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/consumers-backend/api/CardAllocations/CreatePendingAllocationToCard"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n  \"statusDescription\": \"string\",\n  \"statusCode\": 0,\n  \"sessionId\": \"string\",\n  \"httpStatus\": 0,\n  \"result\": {\n    \"allocationRefId\": \"string\"\n  }\n}"}],"_postman_id":"ae6e4df2-1e34-43a0-a0dc-705df0ed339d"},{"name":"UpdateAllocationStatusAndBalance","id":"27cbc1cb-1d57-4896-a7cf-af94508566ea","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","description":"<p>Request body format</p>\n"},{"key":"Accept","value":"application/json","description":"<p>Expected response format</p>\n"},{"key":"Authorization","value":"{{CognitoToken}}","description":"<p>JWT access token</p>\n"}],"body":{"mode":"raw","raw":"{\n    \"identifier\": \"string\",\n    \"identifierType\": \"id\",\n    \"cardRefId\": \"string\",\n    \"cardIssuerInternalId\": \"string\",\n    \"allocationRefId\": \"string\",\n    \"budgetCategoryType\": \"string\",\n    \"allocationStatus\": \"string\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/consumers-backend/api/CardAllocations/UpdateAllocationStatusAndBalance","description":"<p>Updates the status of an existing allocation and recalculates the card balance.</p>\n<h2 id=\"request-parameters\">Request Parameters</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Type</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>identifier</td>\n<td>string</td>\n<td>Required</td>\n<td>Consumer identifier value</td>\n</tr>\n<tr>\n<td>identifierType</td>\n<td>IdentifierType</td>\n<td>Required</td>\n<td>Type of the identifier</td>\n</tr>\n<tr>\n<td></td>\n<td></td>\n<td></td>\n<td><code>id</code></td>\n</tr>\n<tr>\n<td></td>\n<td></td>\n<td></td>\n<td><code>index</code></td>\n</tr>\n<tr>\n<td></td>\n<td></td>\n<td></td>\n<td><code>passport</code></td>\n</tr>\n<tr>\n<td></td>\n<td></td>\n<td></td>\n<td><code>driversLicense</code></td>\n</tr>\n<tr>\n<td></td>\n<td></td>\n<td></td>\n<td><code>socialSecurityNumber</code></td>\n</tr>\n<tr>\n<td>cardRefId</td>\n<td>string</td>\n<td>Required if <code>cardIssuerInternalId</code> is null</td>\n<td>Card reference ID</td>\n</tr>\n<tr>\n<td>cardIssuerInternalId</td>\n<td>string</td>\n<td>Required if <code>cardRefId</code> is null</td>\n<td>Internal card issuer ID</td>\n</tr>\n<tr>\n<td>allocationRefId</td>\n<td>string</td>\n<td>Required</td>\n<td>Reference ID of the allocation to update</td>\n</tr>\n<tr>\n<td>budgetCategoryType</td>\n<td>string</td>\n<td>Required</td>\n<td>Budget category type</td>\n</tr>\n<tr>\n<td>allocationStatus</td>\n<td>AllocationStatus</td>\n<td>Required</td>\n<td>New allocation status</td>\n</tr>\n<tr>\n<td></td>\n<td></td>\n<td></td>\n<td><code>pending</code></td>\n</tr>\n<tr>\n<td></td>\n<td></td>\n<td></td>\n<td><code>canceled</code></td>\n</tr>\n<tr>\n<td></td>\n<td></td>\n<td></td>\n<td><code>allocated</code></td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"response-fields\">Response Fields</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>newBalance</code></td>\n<td>number</td>\n</tr>\n<tr>\n<td><code>allocationStatus</code></td>\n<td><code>pending</code><br /><code>canceled</code><br /><code>allocated</code></td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["consumers-backend","api","CardAllocations","UpdateAllocationStatusAndBalance"],"host":["api","stage","cal-platform","com"],"query":[],"variable":[]}},"response":[{"id":"c2598de3-736a-4300-a8f0-6f98304e9ff6","name":"UpdateAllocationStatusAndBalance","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"}],"body":{"mode":"raw","raw":"{\n    \"identifier\": \"string\",\n    \"identifierType\": \"id\",\n    \"cardRefId\": \"string\",\n    \"cardIssuerInternalId\": \"string\",\n    \"allocationRefId\": \"string\",\n    \"budgetCategoryType\": \"string\",\n    \"allocationStatus\": \"string\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/consumers-backend/api/CardAllocations/UpdateAllocationStatusAndBalance"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n  \"statusDescription\": \"string\",\n  \"statusCode\": 0,\n  \"sessionId\": \"string\",\n  \"httpStatus\": 0,\n  \"result\": {\n    \"newBalance\": 0,\n    \"allocationStatus\": \"string\"\n  }\n}"}],"_postman_id":"27cbc1cb-1d57-4896-a7cf-af94508566ea"}],"id":"1e9507dd-7041-4add-8e02-999650491416","_postman_id":"1e9507dd-7041-4add-8e02-999650491416","description":""},{"name":"Beneficiary","item":[{"name":"GetBeneficiary","id":"4f91f830-a525-4ec9-8b16-9218613d31f4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","description":"<p>Request body format</p>\n"},{"key":"Accept","value":"application/json","description":"<p>Expected response format</p>\n"},{"key":"Authorization","value":"{{CognitoToken}}","description":"<p>JWT access token</p>\n"}],"url":"https://api.stage.cal-platform.com/consumers-card-management/api/Beneficiary/Get?cardIssuerInternalId=88588228&nameFieldsEncoding=hex","description":"<p>Retrieves the beneficiary linked to a card, identified by the card issuer's internal ID. Name fields can be returned in a specific encoding when the underlying data is stored in a non-UTF-8 format.</p>\n<hr />\n<h2 id=\"query-parameters\">Query Parameters</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Type</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>cardIssuerInternalId</code></td>\n<td><code>string</code></td>\n<td><strong>Required</strong></td>\n<td>The card issuer's internal identifier. Leading zeros are stripped.</td>\n</tr>\n<tr>\n<td><code>nameFieldsEncoding</code></td>\n<td><code>string</code></td>\n<td>Optional</td>\n<td>Encoding used to decode beneficiary name fields. Enum: <code>hex</code>, <code>utf8</code>, <code>base64</code>, <code>ascii</code>, <code>latin1</code>. Defaults to UTF-8 if omitted.</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"response-fields\">Response Fields</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>beneficiary</code></td>\n<td>object</td>\n</tr>\n<tr>\n<td><code>beneficiary.identifier</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>beneficiary.identifierType</code></td>\n<td><code>id</code><br /><code>index</code><br /><code>passport</code><br /><code>driversLicense</code><br /><code>socialSecurityNumber</code></td>\n</tr>\n<tr>\n<td><code>beneficiary.firstName</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>beneficiary.lastName</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>beneficiary.dateOfBirth</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>beneficiary.gender</code></td>\n<td><code>male</code><br /><code>female</code><br /><code>other</code></td>\n</tr>\n<tr>\n<td><code>beneficiary.phoneNumber</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>beneficiary.email</code></td>\n<td>string</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["consumers-card-management","api","Beneficiary","Get"],"host":["api","stage","cal-platform","com"],"query":[{"key":"cardIssuerInternalId","value":"88588228"},{"key":"nameFieldsEncoding","value":"hex"}],"variable":[]}},"response":[{"id":"dd692e1c-9862-434b-9f23-7f35d32ceada","name":"GetBeneficiary","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","description":"Request body format"},{"key":"Accept","value":"application/json","description":"Expected response format"},{"key":"Authorization","value":"{{CognitoToken}}","description":"JWT access token"}],"url":{"raw":"https://api.stage.cal-platform.com/consumers-card-management/api/Beneficiary/Get?cardIssuerInternalId=88588228&nameFieldsEncoding=hex","protocol":"https","host":["api","stage","cal-platform","com"],"path":["consumers-card-management","api","Beneficiary","Get"],"query":[{"key":"cardIssuerInternalId","value":"88588228"},{"key":"nameFieldsEncoding","value":"hex"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n  \"statusDescription\": \"string\",\n  \"statusCode\": 0,\n  \"sessionId\": \"string\",\n  \"httpStatus\": 0,\n  \"result\": {\n    \"beneficiary\": {\n      \"identifier\": \"300000000\",\n      \"identifierType\": \"id\",\n      \"firstName\": \"string\",\n      \"lastName\": \"string\",\n      \"dateOfBirth\": \"2026-05-04T11:51:57.108Z\",\n      \"gender\": \"male\",\n      \"phoneNumber\": \"0505000000\",\n      \"email\": \"email@domain.com\"\n    }\n  }\n}"}],"_postman_id":"4f91f830-a525-4ec9-8b16-9218613d31f4"},{"name":"CreateBeneficiary","id":"00c23047-1f9d-404b-981e-63fc346c0ff2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json","description":"<p>Request body format</p>\n"},{"key":"Accept","value":"application/json","description":"<p>Expected response format</p>\n"},{"key":"Authorization","value":"{{CognitoToken}}","description":"<p>JWT access token</p>\n"}],"body":{"mode":"raw","raw":"{\n    \"cardIssuerInternalId\": \"88588228\",\n    \"beneficiary\": {\n        \"identifier\": \"300000000\",\n        \"identifierType\": \"id\",\n        \"firstName\": \"John\",\n        \"lastName\": \"Doe\",\n        \"dateOfBirth\": \"1988-06-22T00:00:00.000Z\",\n        \"gender\": \"male\",\n        \"phoneNumber\": \"0505000000\",\n        \"email\": \"john.doe@example.com\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/consumers-card-management/api/Beneficiary/Create","description":"<p>Adds a beneficiary to an existing card. If the card already has a beneficiary, the operation will not overwrite it — a card can hold only one beneficiary at a time.</p>\n<hr />\n<h2 id=\"request-body-parameters\">Request Body Parameters</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Type</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>cardIssuerInternalId</code></td>\n<td><code>string</code></td>\n<td><strong>Required</strong></td>\n<td>The card issuer's internal identifier. Leading zeros are stripped.</td>\n</tr>\n<tr>\n<td><code>nameFieldsEncoding</code></td>\n<td><code>string</code></td>\n<td>Optional</td>\n<td>Encoding for name fields. Enum: <code>hex</code>, <code>utf8</code>, <code>base64</code>, <code>ascii</code>, <code>latin1</code>.</td>\n</tr>\n<tr>\n<td><code>beneficiary</code></td>\n<td><code>object</code></td>\n<td><strong>Required</strong></td>\n<td>The beneficiary to attach to the card.</td>\n</tr>\n<tr>\n<td><code>beneficiary.identifier</code></td>\n<td><code>string</code></td>\n<td><strong>Required</strong></td>\n<td>The beneficiary's identifier value.</td>\n</tr>\n<tr>\n<td><code>beneficiary.identifierType</code></td>\n<td><code>string</code></td>\n<td><strong>Required</strong></td>\n<td>Type of identifier. Enum: <code>id</code>, <code>index</code>, <code>passport</code>, <code>driversLicense</code>, <code>socialSecurityNumber</code>.</td>\n</tr>\n<tr>\n<td><code>beneficiary.firstName</code></td>\n<td><code>string</code></td>\n<td><strong>Required</strong></td>\n<td>Beneficiary's first name.</td>\n</tr>\n<tr>\n<td><code>beneficiary.lastName</code></td>\n<td><code>string</code></td>\n<td><strong>Required</strong></td>\n<td>Beneficiary's last name.</td>\n</tr>\n<tr>\n<td><code>beneficiary.dateOfBirth</code></td>\n<td><code>string (ISO 8601)</code></td>\n<td><strong>Required</strong></td>\n<td>Beneficiary's date of birth.</td>\n</tr>\n<tr>\n<td><code>beneficiary.gender</code></td>\n<td><code>string</code></td>\n<td><strong>Required</strong></td>\n<td>Beneficiary's gender. Enum: <code>male</code>, <code>female</code>.</td>\n</tr>\n<tr>\n<td><code>beneficiary.phoneNumber</code></td>\n<td><code>string</code></td>\n<td>Optional</td>\n<td>Beneficiary's phone number. Must be a valid phone number format.</td>\n</tr>\n<tr>\n<td><code>beneficiary.email</code></td>\n<td><code>string</code></td>\n<td>Optional</td>\n<td>Beneficiary's email address. Must be a valid email format.</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"response-fields\">Response Fields</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>cardIssuerInternalId</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>beneficiary</code></td>\n<td>object</td>\n</tr>\n<tr>\n<td><code>beneficiary.identifier</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>beneficiary.identifierType</code></td>\n<td><code>id</code><br /><code>index</code><br /><code>passport</code><br /><code>driversLicense</code><br /><code>socialSecurityNumber</code></td>\n</tr>\n<tr>\n<td><code>beneficiary.firstName</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>beneficiary.lastName</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>beneficiary.dateOfBirth</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>beneficiary.gender</code></td>\n<td><code>male</code><br /><code>female</code><br /><code>other</code></td>\n</tr>\n<tr>\n<td><code>beneficiary.phoneNumber</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>beneficiary.email</code></td>\n<td>string</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["consumers-card-management","api","Beneficiary","Create"],"host":["api","stage","cal-platform","com"],"query":[],"variable":[]}},"response":[{"id":"1d5a465b-8d73-4da4-a062-d9004cdeee47","name":"CreateBeneficiary","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json","description":"Request body format"},{"key":"Accept","value":"application/json","description":"Expected response format"},{"key":"Authorization","value":"{{CognitoToken}}","description":"JWT access token"}],"body":{"mode":"raw","raw":"{\n    \"cardIssuerInternalId\": \"string\",\n    \"nameFieldsEncoding\": \"string\",\n    \"beneficiary\": {\n        \"identifier\": \"300000000\",\n        \"identifierType\": \"id\",\n        \"firstName\": \"string\",\n        \"lastName\": \"string\",\n        \"dateOfBirth\": \"2026-05-04T11:53:17.955Z\",\n        \"gender\": \"male\",\n        \"phoneNumber\": \"0505000000\",\n        \"email\": \"email@domain.com\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/consumers-card-management/api/Beneficiary/Create"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n  \"statusDescription\": \"string\",\n  \"statusCode\": 0,\n  \"sessionId\": \"string\",\n  \"httpStatus\": 0,\n  \"result\": {\n    \"cardIssuerInternalId\": \"string\",\n    \"beneficiary\": {\n      \"identifier\": \"300000000\",\n      \"identifierType\": \"id\",\n      \"firstName\": \"string\",\n      \"lastName\": \"string\",\n      \"dateOfBirth\": \"2026-05-04T11:53:17.965Z\",\n      \"gender\": \"male\",\n      \"phoneNumber\": \"0505000000\",\n      \"email\": \"email@domain.com\"\n    }\n  }\n}"}],"_postman_id":"00c23047-1f9d-404b-981e-63fc346c0ff2"},{"name":"UpdateBeneficiary","id":"4ce13b1f-5dd2-4607-af91-1d982aef354e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","description":"<p>Request body format</p>\n"},{"key":"Accept","value":"application/json","description":"<p>Expected response format</p>\n"},{"key":"Authorization","value":"{{CognitoToken}}","description":"<p>JWT access token</p>\n"}],"body":{"mode":"raw","raw":"{\n    \"cardIssuerInternalId\": \"88588228\",\n    \"beneficiary\": {\n        \"identifier\": \"300000000\",\n        \"identifierType\": \"id\",\n        \"firstName\": \"John\",\n        \"lastName\": \"Doe\",\n        \"phoneNumber\": \"0505000000\",\n        \"email\": \"john.doe@example.com\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/consumers-card-management/api/Beneficiary/Update","description":"<p>Updates the details of an existing beneficiary on a card. The card must already have a beneficiary set. Only <code>identifier</code> and <code>identifierType</code> are required — all other beneficiary fields are optional and only updated when provided.</p>\n<hr />\n<h2 id=\"request-body-parameters\">Request Body Parameters</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Type</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>cardIssuerInternalId</code></td>\n<td><code>string</code></td>\n<td><strong>Required</strong></td>\n<td>The card issuer's internal identifier. Leading zeros are stripped.</td>\n</tr>\n<tr>\n<td><code>nameFieldsEncoding</code></td>\n<td><code>string</code></td>\n<td>Optional</td>\n<td>Encoding for name fields. Enum: <code>hex</code>, <code>utf8</code>, <code>base64</code>, <code>ascii</code>, <code>latin1</code>.</td>\n</tr>\n<tr>\n<td><code>beneficiary</code></td>\n<td><code>object</code></td>\n<td><strong>Required</strong></td>\n<td>The beneficiary fields to update.</td>\n</tr>\n<tr>\n<td><code>beneficiary.identifier</code></td>\n<td><code>string</code></td>\n<td><strong>Required</strong></td>\n<td>The beneficiary's identifier value (used to locate the record).</td>\n</tr>\n<tr>\n<td><code>beneficiary.identifierType</code></td>\n<td><code>string</code></td>\n<td><strong>Required</strong></td>\n<td>Type of identifier. Enum: <code>id</code>, <code>index</code>, <code>passport</code>, <code>driversLicense</code>, <code>socialSecurityNumber</code>.</td>\n</tr>\n<tr>\n<td><code>beneficiary.firstName</code></td>\n<td><code>string</code></td>\n<td>Optional</td>\n<td>Updated first name.</td>\n</tr>\n<tr>\n<td><code>beneficiary.lastName</code></td>\n<td><code>string</code></td>\n<td>Optional</td>\n<td>Updated last name.</td>\n</tr>\n<tr>\n<td><code>beneficiary.dateOfBirth</code></td>\n<td><code>string (ISO 8601)</code></td>\n<td>Optional</td>\n<td>Updated date of birth.</td>\n</tr>\n<tr>\n<td><code>beneficiary.gender</code></td>\n<td><code>string</code></td>\n<td>Optional</td>\n<td>Updated gender. Enum: <code>male</code>, <code>female</code>.</td>\n</tr>\n<tr>\n<td><code>beneficiary.phoneNumber</code></td>\n<td><code>string</code></td>\n<td>Optional</td>\n<td>Updated phone number. Must be a valid phone number format if provided.</td>\n</tr>\n<tr>\n<td><code>beneficiary.email</code></td>\n<td><code>string</code></td>\n<td>Optional</td>\n<td>Updated email address. Must be a valid email format if provided.</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"response-fields\">Response Fields</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>cardIssuerInternalId</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>beneficiary</code></td>\n<td>object</td>\n</tr>\n<tr>\n<td><code>beneficiary.identifier</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>beneficiary.identifierType</code></td>\n<td><code>id</code><br /><code>index</code><br /><code>passport</code><br /><code>driversLicense</code><br /><code>socialSecurityNumber</code></td>\n</tr>\n<tr>\n<td><code>beneficiary.firstName</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>beneficiary.lastName</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>beneficiary.dateOfBirth</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>beneficiary.gender</code></td>\n<td><code>male</code><br /><code>female</code><br /><code>other</code></td>\n</tr>\n<tr>\n<td><code>beneficiary.phoneNumber</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>beneficiary.email</code></td>\n<td>string</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["consumers-card-management","api","Beneficiary","Update"],"host":["api","stage","cal-platform","com"],"query":[],"variable":[]}},"response":[{"id":"3cdea60f-d55e-4689-8c5c-4779051ffe87","name":"UpdateBeneficiary","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","description":"Request body format"},{"key":"Accept","value":"application/json","description":"Expected response format"},{"key":"Authorization","value":"{{CognitoToken}}","description":"JWT access token"}],"body":{"mode":"raw","raw":"{\n    \"cardIssuerInternalId\": \"string\",\n    \"nameFieldsEncoding\": \"string\",\n    \"beneficiary\": {\n        \"identifier\": \"300000000\",\n        \"identifierType\": \"id\",\n        \"firstName\": \"string\",\n        \"lastName\": \"string\",\n        \"dateOfBirth\": \"2026-05-04T11:53:50.790Z\",\n        \"gender\": \"male\",\n        \"phoneNumber\": \"0505000000\",\n        \"email\": \"email@domain.com\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/consumers-card-management/api/Beneficiary/Update"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n  \"statusDescription\": \"string\",\n  \"statusCode\": 0,\n  \"sessionId\": \"string\",\n  \"httpStatus\": 0,\n  \"result\": {\n    \"cardIssuerInternalId\": \"string\",\n    \"beneficiary\": {\n      \"identifier\": \"300000000\",\n      \"identifierType\": \"id\",\n      \"firstName\": \"string\",\n      \"lastName\": \"string\",\n      \"dateOfBirth\": \"2026-05-04T11:53:50.799Z\",\n      \"gender\": \"male\",\n      \"phoneNumber\": \"0505000000\",\n      \"email\": \"email@domain.com\"\n    }\n  }\n}"}],"_postman_id":"4ce13b1f-5dd2-4607-af91-1d982aef354e"},{"name":"RemoveBeneficiary","id":"23a5590d-19a5-44fb-ace5-5dfa64ae067e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","description":"<p>Request body format</p>\n"},{"key":"Accept","value":"application/json","description":"<p>Expected response format</p>\n"},{"key":"Authorization","value":"{{CognitoToken}}","description":"<p>JWT access token</p>\n"}],"body":{"mode":"raw","raw":"{\n    \"cardIssuerInternalId\": \"88588228\",\n    \"identifier\": \"300000000\",\n    \"identifierType\": \"id\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/consumers-card-management/api/Beneficiary/Remove","description":"<p>Removes the beneficiary from a card. The card must already have a beneficiary set. Optionally, <code>identifier</code> and <code>identifierType</code> can be provided to target a specific beneficiary — both must be supplied together if used.</p>\n<hr />\n<h2 id=\"request-body-parameters\">Request Body Parameters</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Type</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>cardIssuerInternalId</code></td>\n<td><code>string</code></td>\n<td><strong>Required</strong></td>\n<td>The card issuer's internal identifier. Leading zeros are stripped.</td>\n</tr>\n<tr>\n<td><code>nameFieldsEncoding</code></td>\n<td><code>string</code></td>\n<td>Optional</td>\n<td>Encoding for name fields. Enum: <code>hex</code>, <code>utf8</code>, <code>base64</code>, <code>ascii</code>, <code>latin1</code>.</td>\n</tr>\n<tr>\n<td><code>identifier</code></td>\n<td><code>string</code></td>\n<td>Conditional</td>\n<td>The beneficiary's identifier value. Required if <code>identifierType</code> is provided.</td>\n</tr>\n<tr>\n<td><code>identifierType</code></td>\n<td><code>string</code></td>\n<td>Conditional</td>\n<td>Type of identifier. Required if <code>identifier</code> is provided. Enum: <code>id</code>, <code>index</code>, <code>passport</code>, <code>driversLicense</code>, <code>socialSecurityNumber</code>.</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"response-fields\">Response Fields</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>cardIssuerInternalId</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>beneficiary</code></td>\n<td>object</td>\n</tr>\n<tr>\n<td><code>beneficiary.identifier</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>beneficiary.identifierType</code></td>\n<td><code>id</code><br /><code>index</code><br /><code>passport</code><br /><code>driversLicense</code><br /><code>socialSecurityNumber</code></td>\n</tr>\n<tr>\n<td><code>beneficiary.firstName</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>beneficiary.lastName</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>beneficiary.dateOfBirth</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>beneficiary.gender</code></td>\n<td><code>male</code><br /><code>female</code><br /><code>other</code></td>\n</tr>\n<tr>\n<td><code>beneficiary.phoneNumber</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>beneficiary.email</code></td>\n<td>string</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["consumers-card-management","api","Beneficiary","Remove"],"host":["api","stage","cal-platform","com"],"query":[],"variable":[]}},"response":[{"id":"abc17e85-58dd-4715-8bbc-8e8d798bdfec","name":"RemoveBeneficiary","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","description":"Request body format"},{"key":"Accept","value":"application/json","description":"Expected response format"},{"key":"Authorization","value":"{{CognitoToken}}","description":"JWT access token"}],"body":{"mode":"raw","raw":"{\n    \"cardIssuerInternalId\": \"string\",\n    \"nameFieldsEncoding\": \"string\",\n    \"identifier\": \"string\",\n    \"identifierType\": \"string\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/consumers-card-management/api/Beneficiary/Remove"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n  \"statusDescription\": \"string\",\n  \"statusCode\": 0,\n  \"sessionId\": \"string\",\n  \"httpStatus\": 0,\n  \"result\": {\n    \"cardIssuerInternalId\": \"string\",\n    \"beneficiary\": {\n      \"identifier\": \"300000000\",\n      \"identifierType\": \"id\",\n      \"firstName\": \"string\",\n      \"lastName\": \"string\",\n      \"dateOfBirth\": \"2026-05-04T11:54:17.149Z\",\n      \"gender\": \"male\",\n      \"phoneNumber\": \"0505000000\",\n      \"email\": \"email@domain.com\"\n    }\n  }\n}"}],"_postman_id":"23a5590d-19a5-44fb-ace5-5dfa64ae067e"}],"id":"8159b4da-b518-4905-ad1e-82c35d372839","description":"<p>Endpoints related to managing beneficiaries linked to a card.</p>\n","_postman_id":"8159b4da-b518-4905-ad1e-82c35d372839"},{"name":"Budget Management","item":[{"name":"GetAllocationBalance","id":"af6f83e8-2a65-4b1d-925c-b1747cf0b800","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","description":"<p>Request body format</p>\n"},{"key":"Accept","value":"application/json","description":"<p>Expected response format</p>\n"},{"key":"Authorization","value":"{{CognitoToken}}","description":"<p>JWT access token</p>\n"}],"url":"https://api.stage.cal-platform.com/consumers-card-management/api/BudgetAllocations/GetAllocationBalance?cardIssuerInternalId=73377346&budgetCategoryType=*","description":"<p>Retrieves the current allocation balance for a card. An optional budget category type can be specified to filter to a specific allocation bucket.</p>\n<hr />\n<h2 id=\"query-parameters\">Query Parameters</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Type</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>cardIssuerInternalId</code></td>\n<td><code>string</code></td>\n<td><strong>Required</strong></td>\n<td>The card issuer's internal identifier. Leading zeros are stripped.</td>\n</tr>\n<tr>\n<td><code>budgetCategoryType</code></td>\n<td><code>string</code></td>\n<td>Optional</td>\n<td>Budget category type to filter the balance query. Value is defined by product configuration (e.g. <code>*</code> for all categories).</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"response-fields\">Response Fields</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>balance</code></td>\n<td>number</td>\n</tr>\n<tr>\n<td><code>currency</code></td>\n<td>object</td>\n</tr>\n<tr>\n<td><code>updatedAt</code></td>\n<td>string</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["consumers-card-management","api","BudgetAllocations","GetAllocationBalance"],"host":["api","stage","cal-platform","com"],"query":[{"key":"cardIssuerInternalId","value":"73377346"},{"key":"budgetCategoryType","value":"*"}],"variable":[]}},"response":[{"id":"89950479-8d9b-43a2-9cac-89568d112396","name":"GetAllocationBalance","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","description":"Request body format"},{"key":"Accept","value":"application/json","description":"Expected response format"},{"key":"Authorization","value":"{{CognitoToken}}","description":"JWT access token"}],"url":{"raw":"https://api.stage.cal-platform.com/consumers-card-management/api/BudgetAllocations/GetAllocationBalance?cardIssuerInternalId=73377346&budgetCategoryType=*","protocol":"https","host":["api","stage","cal-platform","com"],"path":["consumers-card-management","api","BudgetAllocations","GetAllocationBalance"],"query":[{"key":"cardIssuerInternalId","value":"73377346"},{"key":"budgetCategoryType","value":"*"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n  \"statusDescription\": \"string\",\n  \"statusCode\": 0,\n  \"sessionId\": \"string\",\n  \"httpStatus\": 0,\n  \"result\": {\n    \"balance\": 0,\n    \"currency\": {},\n    \"updatedAt\": \"2026-05-04T11:54:55.202Z\"\n  }\n}"}],"_postman_id":"af6f83e8-2a65-4b1d-925c-b1747cf0b800"},{"name":"ClearAllocationBalance","id":"a339a1b4-b8c6-418a-921e-688ad17eacb1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","description":"<p>Request body format</p>\n"},{"key":"Accept","value":"application/json","description":"<p>Expected response format</p>\n"},{"key":"Authorization","value":"{{CognitoToken}}","description":"<p>JWT access token</p>\n"}],"body":{"mode":"raw","raw":"{\r\n    \"cardIssuerInternalId\": \"string\",\r\n    \"budgetCategoryType\": \"string\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/consumers-card-management/api/BudgetAllocations/ClearAllocationBalance","description":"<p>Clears (zeroes out) the allocation balance for a card. Returns the amount that was subtracted and its currency.</p>\n<hr />\n<h2 id=\"request-body-parameters\">Request Body Parameters</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Type</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>cardIssuerInternalId</code></td>\n<td><code>string</code></td>\n<td><strong>Required</strong></td>\n<td>The card issuer's internal identifier. Leading zeros are stripped.</td>\n</tr>\n<tr>\n<td><code>budgetCategoryType</code></td>\n<td><code>string</code></td>\n<td>Optional</td>\n<td>Budget category type to clear. Value is defined by product configuration (e.g. <code>*</code> for all categories).</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"response-fields\">Response Fields</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>subtractedAmount</code></td>\n<td>number</td>\n</tr>\n<tr>\n<td><code>subtractedCurrency</code></td>\n<td>object</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["consumers-card-management","api","BudgetAllocations","ClearAllocationBalance"],"host":["api","stage","cal-platform","com"],"query":[],"variable":[]}},"response":[{"id":"77ccce14-9d27-4691-a6e3-ce1c1e53d54d","name":"ClearAllocationBalance","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","description":"Request body format"},{"key":"Accept","value":"application/json","description":"Expected response format"},{"key":"Authorization","value":"{{CognitoToken}}","description":"JWT access token"}],"body":{"mode":"raw","raw":"{\r\n    \"cardIssuerInternalId\": \"string\",\r\n    \"budgetCategoryType\": \"string\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/consumers-card-management/api/BudgetAllocations/ClearAllocationBalance"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n  \"statusDescription\": \"string\",\n  \"statusCode\": 0,\n  \"sessionId\": \"string\",\n  \"httpStatus\": 0,\n  \"result\": {\n    \"subtractedAmount\": 0,\n    \"subtractedCurrency\": {}\n  }\n}"}],"_postman_id":"a339a1b4-b8c6-418a-921e-688ad17eacb1"},{"name":"AddToAllocation","id":"bc02e6ce-9a80-4744-a648-47666d9b03bf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","description":"<p>Request body format</p>\n"},{"key":"Accept","value":"application/json","description":"<p>Expected response format</p>\n"},{"key":"Authorization","value":"{{CognitoToken}}","description":"<p>JWT access token</p>\n"}],"body":{"mode":"raw","raw":"{\n  \"cardIssuerInternalId\": \"string\",\n  \"budgetCategoryType\": \"string\",\n  \"amount\": 0\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/consumers-card-management/api/BudgetAllocations/AddToAllocation","description":"<p>Adds a specified amount to a card's allocation balance. The <code>amount</code> must be non-zero.</p>\n<hr />\n<h2 id=\"request-body-parameters\">Request Body Parameters</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Type</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>cardIssuerInternalId</code></td>\n<td><code>string</code></td>\n<td><strong>Required</strong></td>\n<td>The card issuer's internal identifier. Leading zeros are stripped.</td>\n</tr>\n<tr>\n<td><code>budgetCategoryType</code></td>\n<td><code>string</code></td>\n<td>Optional</td>\n<td>Budget category type to add the allocation to. Value is defined by product configuration (e.g. <code>*</code> for all categories).</td>\n</tr>\n<tr>\n<td><code>amount</code></td>\n<td><code>number</code></td>\n<td><strong>Required</strong></td>\n<td>Amount to add to the allocation. Must not be zero.</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"response-fields\">Response Fields</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>newBalance</code></td>\n<td>number</td>\n</tr>\n<tr>\n<td><code>currency</code></td>\n<td>object</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["consumers-card-management","api","BudgetAllocations","AddToAllocation"],"host":["api","stage","cal-platform","com"],"query":[],"variable":[]}},"response":[{"id":"c7aaa865-a2ab-41a7-a953-e4bea971b897","name":"AddToAllocation","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","description":"Request body format"},{"key":"Accept","value":"application/json","description":"Expected response format"},{"key":"Authorization","value":"{{CognitoToken}}","description":"JWT access token"}],"body":{"mode":"raw","raw":"{\n  \"cardIssuerInternalId\": \"string\",\n  \"budgetCategoryType\": \"string\",\n  \"amount\": 0\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/consumers-card-management/api/BudgetAllocations/AddToAllocation"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n  \"statusDescription\": \"string\",\n  \"statusCode\": 0,\n  \"sessionId\": \"string\",\n  \"httpStatus\": 0,\n  \"result\": {\n    \"newBalance\": 0,\n    \"currency\": {}\n  }\n}"}],"_postman_id":"bc02e6ce-9a80-4744-a648-47666d9b03bf"},{"name":"GetAllocationsBalances","id":"78561f12-14d3-4cae-8f1b-49fc465499aa","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","description":"<p>Request body format</p>\n"},{"key":"Accept","value":"application/json","description":"<p>Expected response format</p>\n"},{"key":"Authorization","value":"{{CognitoToken}}","description":"<p>JWT access token</p>\n"}],"body":{"mode":"raw","raw":"{\n    \"cardIssuerInternalId\": \"string\",\n    \"budgetCategoryType\": \"string\",\n    \"aggregateTargetCurrency\": 0,\n    \"filterCurrency\": 0\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/consumers-card-management/api/BudgetAllocations/GetAllocationsBalances","description":"<p>Retrieves all allocation balances for a given card. Unlike <code>GetAllocationBalance</code> which returns a single balance, this endpoint returns an array of balances and supports aggregating the total into a target currency.</p>\n<hr />\n<h2 id=\"request-body-parameters\">Request Body Parameters</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Type</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>cardIssuerInternalId</code></td>\n<td><code>string</code></td>\n<td><strong>Required</strong></td>\n<td>The card issuer's internal identifier. Leading zeros are stripped.</td>\n</tr>\n<tr>\n<td><code>budgetCategoryType</code></td>\n<td><code>string</code></td>\n<td>Optional</td>\n<td>Filter results to a specific budget category type. Value is defined by product configuration (e.g. <code>*</code> for all categories).</td>\n</tr>\n<tr>\n<td><code>aggregateTargetCurrency</code></td>\n<td><code>number</code></td>\n<td>Optional</td>\n<td>ISO 4217 numeric currency code. When provided, <code>aggregateBalance</code> is converted into this currency.</td>\n</tr>\n<tr>\n<td><code>filterCurrency</code></td>\n<td><code>number</code></td>\n<td>Optional</td>\n<td>ISO 4217 numeric currency code. When provided, only balances in this currency are returned.</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"response-fields\">Response Fields</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>aggregateBalance</code></td>\n<td>number</td>\n</tr>\n<tr>\n<td><code>balances</code></td>\n<td>array</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["consumers-card-management","api","BudgetAllocations","GetAllocationsBalances"],"host":["api","stage","cal-platform","com"],"query":[],"variable":[]}},"response":[{"id":"0c4f4e46-1283-4631-b081-69cbc58912ab","name":"GetAllocationsBalances","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","description":"Request body format"},{"key":"Accept","value":"application/json","description":"Expected response format"},{"key":"Authorization","value":"{{CognitoToken}}","description":"JWT access token"}],"body":{"mode":"raw","raw":"{\n    \"cardIssuerInternalId\": \"string\",\n    \"budgetCategoryType\": \"string\",\n    \"aggregateTargetCurrency\": 0,\n    \"filterCurrency\": 0\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/consumers-card-management/api/BudgetAllocations/GetAllocationsBalances"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n  \"statusDescription\": \"string\",\n  \"statusCode\": 0,\n  \"sessionId\": \"string\",\n  \"httpStatus\": 0,\n  \"result\": {\n    \"aggregateBalance\": 0,\n    \"balances\": [\n      \"string\"\n    ]\n  }\n}"}],"_postman_id":"78561f12-14d3-4cae-8f1b-49fc465499aa"}],"id":"01e12012-d4b6-4a76-8906-e81f2c3604f7","description":"<p>Endpoints related to managing budget allocations for the cards.</p>\n","_postman_id":"01e12012-d4b6-4a76-8906-e81f2c3604f7"},{"name":"Webhook","item":[{"name":"HMAC Signature","id":"43c70a82-8475-434e-9290-c926fdb95ed9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"x-hmac-signature","value":"0fd7d9984c28d3e61683171f5a1766df34350124fcc4a1047f9b60bd52cb402b","description":"<p>A Base16-encoded HMAC-SHA256 hash of the raw response body, generated using a shared secret key for verifying data integrity. The key is securely provided by the server and must remain confidential.</p>\n","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"HMAC Signature","description":"<p>THIS IS NOT REQUEST IS JUST A DOC TO USE</p>\n<p>The x-<code>hmac-signature</code> header is designed as a lightweight alternative to OAuth 2.0 authentication for verifying the integrity of responses when registering and handling webhooks. Instead of requiring token-based authentication, this approach leverages a shared secret key to generate a Base16-encoded HMAC-SHA256 hash of the raw response body. The header ensures that the webhook payload has not been altered during transmission, providing a simple yet secure mechanism for validating data integrity without the overhead of full OAuth 2.0 authentication flows.</p>\n","urlObject":{"host":["HMAC Signature"],"query":[],"variable":[]}},"response":[],"_postman_id":"43c70a82-8475-434e-9290-c926fdb95ed9"},{"name":"NotifyCardIssuance","id":"c05bf864-10cb-4f5d-9ae4-67fa2531c6da","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"issuanceData\": {\n    \"wizardProcedureRefId\": \"00000000-0000-0000-0000-000000000000\",\n    \"approvals\": [\"defaultApproval\"]\n  },\n  \"card\": {\n    \"cardIssuerInternalId\": \"00000000\",\n    \"lastFourDigits\": \"0000\",\n    \"productRefId\": \"00000000-0000-0000-0000-000000000000\",\n    \"expirationDate\": \"31/07/2029 00:00:00.00\",\n    \"nameOnCard\": {\n      \"firstNameOnCard\": \"John\",\n      \"lastNameOnCard\": \"Doe\"\n    },\n    \"beneficiary\": {\n      \"identifier\": \"000000000\",\n      \"identifierType\": \"id\",\n      \"nameOnCard\": {\n        \"firstNameOnCard\": \"Jane\",\n        \"lastNameOnCard\": \"Doe\"\n      }\n    }\n  },\n  \"consumer\": {\n    \"identifier\": \"000000000\",\n    \"identifierType\": \"id\",\n    \"firstName\": \"John\",\n    \"lastName\": \"Doe\"\n  }\n}","options":{"raw":{"language":"json"}}},"url":"","description":"<p>This webhook is triggered when a card is successfully issued. It is the endpoint model a partner must publish and register in order to receive this event.</p>\n<h3 id=\"request-payload\">Request Payload</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field Name</th>\n<th>Type</th>\n<th>Description</th>\n<th>Example Value</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>issuanceData.wizardProcedureRefId</code></td>\n<td>String (UUID)</td>\n<td>Wizard procedure reference id</td>\n<td><code>00000000-0000-0000-0000-000000000000</code></td>\n</tr>\n<tr>\n<td><code>issuanceData.approvals</code></td>\n<td>String[]</td>\n<td>Approval identifiers accepted during the wizard terms step</td>\n<td><code>[\"defaultApproval\"]</code></td>\n</tr>\n<tr>\n<td><code>card.cardIssuerInternalId</code></td>\n<td>String</td>\n<td>Internal card identifier at the issuer</td>\n<td><code>00000000</code></td>\n</tr>\n<tr>\n<td><code>card.lastFourDigits</code></td>\n<td>String</td>\n<td>Last four digits of the card</td>\n<td><code>0000</code></td>\n</tr>\n<tr>\n<td><code>card.productRefId</code></td>\n<td>String (UUID)</td>\n<td>Product the card was issued for</td>\n<td><code>00000000-0000-0000-0000-000000000000</code></td>\n</tr>\n<tr>\n<td><code>card.expirationDate</code></td>\n<td>String</td>\n<td>Card expiration date-time. Format: <code>DD/MM/YYYY HH:mm:ss.SS</code></td>\n<td><code>31/07/2029 00:00:00.00</code></td>\n</tr>\n<tr>\n<td><code>card.nameOnCard.firstNameOnCard</code></td>\n<td>String</td>\n<td>First name embossed on the card</td>\n<td><code>John</code></td>\n</tr>\n<tr>\n<td><code>card.nameOnCard.lastNameOnCard</code></td>\n<td>String</td>\n<td>Last name embossed on the card</td>\n<td><code>Doe</code></td>\n</tr>\n<tr>\n<td><code>card.beneficiary</code></td>\n<td>Object (optional)</td>\n<td>Present only when the card has a separate beneficiary</td>\n<td>See below</td>\n</tr>\n<tr>\n<td><code>card.beneficiary.identifier</code></td>\n<td>String</td>\n<td>Beneficiary identifier</td>\n<td><code>000000000</code></td>\n</tr>\n<tr>\n<td><code>card.beneficiary.identifierType</code></td>\n<td>String</td>\n<td>Beneficiary identifier type</td>\n<td><code>id</code></td>\n</tr>\n<tr>\n<td><code>card.beneficiary.nameOnCard.firstNameOnCard</code></td>\n<td>String</td>\n<td>Beneficiary first name on card</td>\n<td><code>Jane</code></td>\n</tr>\n<tr>\n<td><code>card.beneficiary.nameOnCard.lastNameOnCard</code></td>\n<td>String</td>\n<td>Beneficiary last name on card</td>\n<td><code>Doe</code></td>\n</tr>\n<tr>\n<td><code>consumer.identifier</code></td>\n<td>String</td>\n<td>Consumer identifier (e.g. Israeli ID, left-padded to 9 digits)</td>\n<td><code>000000000</code></td>\n</tr>\n<tr>\n<td><code>consumer.identifierType</code></td>\n<td>Enum (String)</td>\n<td>Consumer identifier type</td>\n<td><code>id</code>, <code>index</code>, <code>passport</code>, <code>driversLicense</code>, <code>socialSecurityNumber</code></td>\n</tr>\n<tr>\n<td><code>consumer.firstName</code></td>\n<td>String</td>\n<td>Consumer first name (returned in Hebrew when available, otherwise English)</td>\n<td><code>John</code></td>\n</tr>\n<tr>\n<td><code>consumer.lastName</code></td>\n<td>String</td>\n<td>Consumer last name (returned in Hebrew when available, otherwise English)</td>\n<td><code>Doe</code></td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"query":[],"variable":[]}},"response":[],"_postman_id":"c05bf864-10cb-4f5d-9ae4-67fa2531c6da"},{"name":"NotifyCardApproval","id":"09750617-23ef-452c-b526-bbc9a7859abb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"card\": {\n        \"lastFourDigits\": \"0000\",\n        \"cardIssuerInternalId\": \"00000000\"\n    },\n    \"approval\": {\n        \"id\": \"000000000\",\n        \"amount\": 100.5,\n        \"currencyCode\": \"376\",\n        \"status\": \"approved\",\n        \"timestamp\": \"2026-07-16T08:52:25.000Z\"\n    },\n    \"allocations\": [\n        {\n            \"id\": \"00000000-0000-0000-0000-000000000000\",\n            \"budgetCategoryType\": \"TRAVEL\",\n            \"balance\": 2500\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"","description":"<p>This webhook is triggered when a card approval or decline event occurs, providing detailed information about the approval status, transaction details, and associated allocations. It enables seamless communication between systems to update or finalize approval-related processes in real-time.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field Name</th>\n<th>Type</th>\n<th>Description</th>\n<th>Example Value</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>card.cardIssuerInternalId</code></td>\n<td>String</td>\n<td>Internal identifier for the card at the issuer</td>\n<td><code>00000000</code></td>\n</tr>\n<tr>\n<td><code>card.lastFourDigits</code></td>\n<td>String</td>\n<td>Last four digits of the card</td>\n<td><code>0000</code></td>\n</tr>\n<tr>\n<td><code>approval.id</code></td>\n<td>String</td>\n<td>Unique identifier for the approval</td>\n<td><code>000000000</code></td>\n</tr>\n<tr>\n<td><code>approval.amount</code></td>\n<td>Number</td>\n<td>Amount of the transaction</td>\n<td>100.5</td>\n</tr>\n<tr>\n<td><code>approval.currencyCode</code></td>\n<td>String</td>\n<td>ISO currency code for the transaction</td>\n<td><code>376</code></td>\n</tr>\n<tr>\n<td><code>approval.status</code></td>\n<td>Enum (String)</td>\n<td>Approval status</td>\n<td><code>approved</code>, <code>declined</code></td>\n</tr>\n<tr>\n<td><code>approval.timestamp</code></td>\n<td>Date</td>\n<td>Timestamp for the approval in ISO 8601 UTC</td>\n<td><code>2026-07-16T08:52:25.000Z</code></td>\n</tr>\n<tr>\n<td><code>allocations</code></td>\n<td>Array of Objects</td>\n<td>Allocations associated with the approval</td>\n<td>See table below</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"allocations\">Allocations</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field Name</th>\n<th>Type</th>\n<th>Description</th>\n<th>Example Value</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>id</code></td>\n<td>String</td>\n<td>Unique identifier for the allocation</td>\n<td><code>00000000-0000-0000-0000-000000000000</code></td>\n</tr>\n<tr>\n<td><code>budgetCategoryType</code></td>\n<td>String</td>\n<td><strong>Optional.</strong> Budget category type — present only for Custodia-managed allocations; omitted for platform payment-account pockets</td>\n<td><code>TRAVEL</code></td>\n</tr>\n<tr>\n<td><code>balance</code></td>\n<td>Number</td>\n<td>Balance of the allocation</td>\n<td><code>2500</code></td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"query":[],"variable":[]}},"response":[],"_postman_id":"09750617-23ef-452c-b526-bbc9a7859abb"},{"name":"NotifyAuthorizationRequest","id":"b9db13ad-7b42-4c15-a67e-ef88b1ba719f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"requestType\": \"0001\",\n  \"id\": \"REQ12345\",\n  \"timestamp\": \"20241218120000\",\n  \"iccCardId\": \"ICC98765\",\n  \"cardNetwork\": \"1\",\n  \"currency\": \"376\",\n  \"originalCurrency\": \"376\",\n  \"originalAmount\": 150000,\n  \"amount\": 150000,\n  \"transactionType\": \"5\",\n  \"locationCode\": \"1\",\n  \"purchaseMethod\": \"01\",\n  \"contactless\": true,\n  \"tokenRequestorId\": \"TR12345678\",\n  \"fullAmountOnly\": true,\n  \"recurringPaymentsInd\": true,\n  \"merchant\": {\n    \"pos\": \"1234567890\",\n    \"merchantId\": \"MERCHANT1234567890\",\n    \"name\": \"Grocery Store\",\n    \"mcc\": \"5411\",\n    \"contactlessountry\": \"IL\"\n  }\n}\n","options":{"raw":{"language":"json"}}},"url":"","description":"<p>This webhook is triggered when a card <strong>authorization request being made at the POS</strong> for a transaction. It provides details about the transaction, merchant, and additional metadata.</p>\n<hr />\n<h3 id=\"request-payload--0001-authorization\">Request Payload — <code>0001</code> (Authorization)</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Field Name</strong></th>\n<th><strong>Description (English)</strong></th>\n<th><strong>Values / Format</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>requestType</code></td>\n<td>Type of interface request.</td>\n<td>- <code>0001</code>: Approval request  <br />- <code>0002</code>: Cancellation request  <br />- <code>0011</code>: Advice - Approval  <br />- <code>0012</code>: Advice - Refusal  <br />- <code>0013</code>: Advice - Timeout (TO)  <br /><strong>Format</strong>: <code>String (4)</code></td>\n</tr>\n<tr>\n<td>id</td>\n<td></td>\n<td>Unique identifier, serves as a key for related updates.  <br /><strong>Format</strong>: <code>String (9)</code></td>\n</tr>\n<tr>\n<td><code>timestamp</code></td>\n<td>Current date and time of the request.</td>\n<td>Format: <code>yyyyMMddHHmmss</code>  <br /><strong>Format</strong>: <code>String (14)</code></td>\n</tr>\n<tr>\n<td><code>iccCardId</code></td>\n<td>Unique key for the credit card.</td>\n<td><strong>Format</strong>: <code>String (10)</code></td>\n</tr>\n<tr>\n<td><code>cardNetwork</code></td>\n<td>Credit card network identifier.</td>\n<td>- <code>1</code>: Visa  <br />- <code>3</code>: Diners  <br />- <code>6</code>: MasterCard  <br /><strong>Format</strong>: <code>String (1)</code></td>\n</tr>\n<tr>\n<td><code>currency</code></td>\n<td>ISO currency code for the transaction.</td>\n<td>Example: <code>376</code> = ILS, <code>840</code> = USD, <code>978</code> = EUR  <br /><strong>Format</strong>: <code>Num/String (3)</code></td>\n</tr>\n<tr>\n<td><code>originalCurrency</code></td>\n<td>Currency of the original transaction.</td>\n<td>Example: <code>376</code> = ILS, <code>840</code> = USD, <code>978</code> = EUR  <br /><strong>Format</strong>: <code>Num (3)</code></td>\n</tr>\n<tr>\n<td><code>originalAmount</code></td>\n<td>Original transaction amount in smallest currency units.</td>\n<td>Format: 8.2 digits without a decimal point.  <br /><strong>Format</strong>: <code>Num (10)</code></td>\n</tr>\n<tr>\n<td><code>amount</code></td>\n<td>Transaction amount in the original currency.</td>\n<td>Format: 8.2 digits without a decimal point.  <br /><strong>Format</strong>: <code>Num (10)</code></td>\n</tr>\n<tr>\n<td><code>transactionType</code></td>\n<td>Type of transaction.</td>\n<td>- <code>5</code>: Regular purchase  <br />- <code>7</code>: Cash withdrawal  <br /><strong>Format</strong>: <code>Num/String (2)</code></td>\n</tr>\n<tr>\n<td><code>locationCode</code></td>\n<td>Location of the transaction.</td>\n<td>- <code>1</code>: Domestic  <br />- <code>2</code>: International  <br /><strong>Format</strong>: <code>Num/String (1)</code></td>\n</tr>\n<tr>\n<td><code>purchaseMethod</code></td>\n<td>Method of purchase.</td>\n<td>- <code>01</code>: Online  <br />- <code>02</code>: Phone  <br />- <code>03</code>: In-person  <br />- <code>04</code>: Physical wallet  <br />- <code>05</code>: Internet wallet  <br /><strong>Format</strong>: <code>String (2)</code></td>\n</tr>\n<tr>\n<td><code>contactless</code></td>\n<td>Indicates if the transaction is contactless.</td>\n<td>- true: Yes  <br />- false: No  <br /><strong>Format</strong>: Boolean</td>\n</tr>\n<tr>\n<td><code>tokenRequestorId</code></td>\n<td>Values provided by the scheme.</td>\n<td><strong>Format</strong>: <code>String (11)</code></td>\n</tr>\n<tr>\n<td><code>fullAmountOnly</code></td>\n<td>Indicates if only the full amount of the transaction should be approved.</td>\n<td>- true: Full amount only  <br />- false: Partial amount possible  <br /><strong>Format</strong>: <code>Boolean</code></td>\n</tr>\n<tr>\n<td><code>recurringPaymentsInd</code></td>\n<td>Indicates if the transaction is recurring.</td>\n<td>- <code>true</code>: Yes  <br />- <code>false</code>: No  <br /><strong>Format</strong>: Boolean</td>\n</tr>\n<tr>\n<td>j5Ind</td>\n<td>indicate j5 transaction</td>\n<td>true false</td>\n</tr>\n<tr>\n<td><code>merchant</code></td>\n<td>Refers to the merchant details table.</td>\n<td><strong>See Merchant Table</strong></td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"merchant-table\">Merchant Table</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Field Name</strong></th>\n<th><strong>Description (English)</strong></th>\n<th><strong>Values / Format</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>pos</code></td>\n<td>POS identifier of the merchant.</td>\n<td><strong>Format</strong>: <code>String (10)</code></td>\n</tr>\n<tr>\n<td><code>merchantId</code></td>\n<td>Unique merchant ID.</td>\n<td><strong>Format</strong>: <code>String (20)</code></td>\n</tr>\n<tr>\n<td><code>name</code></td>\n<td>Name of the merchant.</td>\n<td><strong>Format</strong>: <code>String (50)</code></td>\n</tr>\n<tr>\n<td><code>mcc</code></td>\n<td>International merchant category code (MCC).</td>\n<td><strong>Format</strong>: <code>String (4)</code></td>\n</tr>\n<tr>\n<td><code>country</code></td>\n<td>Merchant's country code.</td>\n<td>Example: <code>IL</code>, <code>US</code>, <code>GB</code>  <br /><strong>Format</strong>: <code>String (2)</code></td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"request-payload--0002-reversal--cancellation\">Request Payload — <code>0002</code> (Reversal / Cancellation)</h3>\n<p>The <code>0002</code> request has a <strong>different structure</strong> from <code>0001</code>: it carries <strong>no</strong> <strong><code>merchant</code></strong> <strong>object</strong> and <strong>no</strong> <strong><code>cardNetwork</code></strong> field, its <code>timestamp</code> is <strong>ISO 8601</strong> (<code>yyyy-MM-ddTHH:mm:ss±hh:mm</code>) rather than <code>yyyyMMddHHmmss</code>, and its numeric fields are sent as <strong>numbers</strong>.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Field Name</strong></th>\n<th><strong>Description (English)</strong></th>\n<th><strong>Values / Format</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>requestType</code></td>\n<td>Type of interface request.</td>\n<td><code>0002</code>: Reversal / Cancellation  <br /><strong>Format</strong>: <code>String (4)</code></td>\n</tr>\n<tr>\n<td><code>id</code></td>\n<td>Unique identifier, key for related updates.</td>\n<td><strong>Format</strong>: <code>String (9)</code></td>\n</tr>\n<tr>\n<td><code>timestamp</code></td>\n<td>Date and time of the request.</td>\n<td>Format: ISO 8601 <code>yyyy-MM-ddTHH:mm:ss±hh:mm</code>  <br />Example: <code>2026-07-05T09:17:24+03:00</code></td>\n</tr>\n<tr>\n<td><code>iccCardId</code></td>\n<td>Unique key for the credit card.</td>\n<td><strong>Format</strong>: <code>String (10)</code></td>\n</tr>\n<tr>\n<td><code>currency</code></td>\n<td>ISO currency code for the transaction.</td>\n<td>Example: <code>376</code> = ILS, <code>840</code> = USD, <code>978</code> = EUR  <br /><strong>Format</strong>: <code>Num</code></td>\n</tr>\n<tr>\n<td><code>originalCurrency</code></td>\n<td>Currency of the original transaction.</td>\n<td><strong>Format</strong>: <code>Num</code></td>\n</tr>\n<tr>\n<td><code>originalAmount</code></td>\n<td>Original transaction amount in smallest currency units (8.2 digits, no decimal point).</td>\n<td><strong>Format</strong>: <code>Num</code></td>\n</tr>\n<tr>\n<td><code>amount</code></td>\n<td>Transaction amount in the original currency (8.2 digits, no decimal point).</td>\n<td><strong>Format</strong>: <code>Num</code></td>\n</tr>\n<tr>\n<td><code>transactionType</code></td>\n<td>Type of transaction.</td>\n<td>- <code>5</code>: Regular purchase  <br />- <code>6</code>: Refund  <br />- <code>7</code>: Cash withdrawal  <br /><strong>Format</strong>: <code>Num</code></td>\n</tr>\n<tr>\n<td><code>locationCode</code></td>\n<td>Location of the transaction.</td>\n<td>- <code>1</code>: Domestic  <br />- <code>2</code>: International  <br /><strong>Format</strong>: <code>Num</code></td>\n</tr>\n<tr>\n<td><code>purchaseMethod</code></td>\n<td>Method of purchase.</td>\n<td>- <code>1</code>: Online  <br />- <code>2</code>: Phone  <br />- <code>3</code>: Physical card  <br />- <code>4</code>: Physical wallet  <br />- <code>5</code>: Internet wallet  <br />- <code>6</code>: Issuer internal  <br /><strong>Format</strong>: <code>Num</code></td>\n</tr>\n<tr>\n<td><code>contactless</code></td>\n<td>Indicates if the transaction is contactless.</td>\n<td>- true: Yes  <br />- false: No  <br /><strong>Format</strong>: Boolean</td>\n</tr>\n<tr>\n<td><code>tokenRequestorId</code></td>\n<td>Value provided by the scheme.</td>\n<td>Nullable  <br /><strong>Format</strong>: <code>String (11)</code></td>\n</tr>\n<tr>\n<td><code>fullAmountOnly</code></td>\n<td>Indicates if only the full amount should be approved.</td>\n<td>- true: Full amount only  <br />- false: Partial amount possible  <br /><strong>Format</strong>: Boolean</td>\n</tr>\n<tr>\n<td><code>recurringPaymentsInd</code></td>\n<td>Indicates if the transaction is recurring.</td>\n<td>- <code>true</code>: Yes  <br />- <code>false</code>: No  <br />- <code>null</code>: Unknown  <br /><strong>Format</strong>: Boolean (nullable)</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"response-fields\">Response Fields</h3>\n<p><em>Applies to both</em> <code>_0001_</code> <em>and</em> <code>_0002_</code> <em>request types — the response schema is identical.</em></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Type</th>\n<th>Nullable</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>authorizedAmount</code></td>\n<td>number</td>\n<td>No</td>\n<td>The amount authorized for the transaction</td>\n</tr>\n<tr>\n<td><code>spendAccountCode</code></td>\n<td>number</td>\n<td>No</td>\n<td>The spend account code</td>\n</tr>\n<tr>\n<td><code>memo</code></td>\n<td>string</td>\n<td>No</td>\n<td>Human-readable message describing the authorization result</td>\n</tr>\n<tr>\n<td><code>currency</code></td>\n<td>number</td>\n<td>No</td>\n<td>The transaction currency (ISO 4217 numeric code, e.g. 840 = USD)</td>\n</tr>\n<tr>\n<td><code>id</code></td>\n<td>string</td>\n<td>No</td>\n<td>Unique response identifier</td>\n</tr>\n<tr>\n<td><code>declineCode</code></td>\n<td>string</td>\n<td>Yes</td>\n<td>Decline reason code; <code>null</code> if the transaction was approved</td>\n</tr>\n<tr>\n<td><code>originalCurrency</code></td>\n<td>number</td>\n<td>No</td>\n<td>The currency of the original transaction (ISO 4217 numeric code)</td>\n</tr>\n<tr>\n<td><code>authorizedInOriginalCurrency</code></td>\n<td>number</td>\n<td>No</td>\n<td>The authorized amount expressed in the original transaction currency</td>\n</tr>\n<tr>\n<td><code>responseCode</code></td>\n<td>string</td>\n<td>No</td>\n<td>ISO 8583 authorization response code:  <br /><code>00</code> = approved  <br /><code>05</code> = declined  <br /><code>55</code> = full declined (including private credit line)</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"query":[],"variable":[]}},"response":[{"id":"8145b0e3-818a-4ac3-9d96-e11552e3ffe9","name":"NotifyAuthorizationRequest","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"requestType\": \"0001\",\n  \"id\": \"REQ12345\",\n  \"timestamp\": \"20241218120000\",\n  \"iccCardId\": \"ICC98765\",\n  \"cardNetwork\": \"1\",\n  \"currency\": \"376\",\n  \"originalCurrency\": \"376\",\n  \"originalAmount\": 150000,\n  \"amount\": 150000,\n  \"transactionType\": \"5\",\n  \"locationCode\": \"1\",\n  \"purchaseMethod\": \"01\",\n  \"contactless\": true,\n  \"tokenRequestorId\": \"TR12345678\",\n  \"fullAmountOnly\": true,\n  \"recurringPaymentsInd\": true,\n  \"merchant\": {\n    \"pos\": \"1234567890\",\n    \"merchantId\": \"MERCHANT1234567890\",\n    \"name\": \"Grocery Store\",\n    \"mcc\": \"5411\",\n    \"contactlessountry\": \"IL\"\n  }\n}\n","options":{"raw":{"language":"json"}}},"url":""},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"authorizedAmount\": 1500,\n    \"spendAccountCode\": 100001,\n    \"memo\": \"Transaction authorized successfully.\",\n    \"currency\": 840,\n    \"id\": \"RESP12345\",\n    \"declineCode\": null,\n    \"originalCurrency\": 840,\n    \"authorizedInOriginalCurrency\": 1500,\n    \"responseCode\": \"00\"\n}"},{"id":"0d75810b-aa55-4137-a859-b3120950c4c2","name":"NotifyAuthorizationRequest - (0002)","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"amount\": 0,\n    \"contactless\": false,\n    \"currency\": 0,\n    \"fullAmountOnly\": false,\n    \"iccCardId\": \"123456789\",\n    \"id\": \"123456789\",\n    \"locationCode\": 1,\n    \"originalAmount\": 0,\n    \"originalCurrency\": 0,\n    \"purchaseMethod\": 3,\n    \"recurringPaymentsInd\": null,\n    \"requestType\": \"0002\",\n    \"timestamp\": \"2026-07-05T09:17:24+03:00\",\n    \"tokenRequestorId\": null,\n    \"transactionType\": 5\n}","options":{"raw":{"language":"json"}}},"url":""},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"123456789\",\n    \"responseCode\": \"00\",\n    \"declineCode\": null,\n    \"memo\": \"Reversal acknowledged.\",\n    \"currency\": 0,\n    \"authorizedAmount\": 0,\n    \"originalCurrency\": 0,\n    \"authorizedInOriginalCurrency\": 0,\n    \"spendAccountCode\": 100001\n}"}],"_postman_id":"b9db13ad-7b42-4c15-a67e-ef88b1ba719f"},{"name":"NotifyCardSwap","id":"8f2b42d9-a807-42bf-b999-4e775fe7b99f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"newCard\": {\n    \"cardIssuerInternalId\": \"00000001\",\n    \"lastFourDigits\": \"0001\",\n    \"expiration\": \"2031-07-31T00:00:00.000Z\",\n    \"status\": \"active\"\n  },\n  \"oldCard\": {\n    \"cardIssuerInternalId\": \"00000000\",\n    \"lastFourDigits\": \"0000\",\n    \"status\": \"canceled\"\n  },\n  \"consumer\": {\n    \"firstName\": \"John\",\n    \"lastName\": \"Doe\"\n  }\n}","options":{"raw":{"language":"json"}}},"url":"","description":"<p>This webhook notifies the partner about a card replacement (swap) event, providing details of both the old (replaced) card and the new card, plus the cardholder's name. The old card is terminated and a new card is issued in its place.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field Name</th>\n<th>Type</th>\n<th>Description</th>\n<th>Example Value</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>oldCard.cardIssuerInternalId</code></td>\n<td>String</td>\n<td>Internal issuer id of the old (replaced) card</td>\n<td><code>00000000</code></td>\n</tr>\n<tr>\n<td><code>oldCard.lastFourDigits</code></td>\n<td>String</td>\n<td>Last four digits of the old card</td>\n<td><code>0000</code></td>\n</tr>\n<tr>\n<td><code>oldCard.status</code></td>\n<td>Enum (String)</td>\n<td>Status of the old card</td>\n<td><code>active</code>, <code>unactivated</code>, <code>suspended</code>, <code>canceled</code></td>\n</tr>\n<tr>\n<td><code>newCard.cardIssuerInternalId</code></td>\n<td>String</td>\n<td>Internal issuer id of the new card</td>\n<td><code>00000001</code></td>\n</tr>\n<tr>\n<td><code>newCard.lastFourDigits</code></td>\n<td>String</td>\n<td>Last four digits of the new card</td>\n<td><code>0001</code></td>\n</tr>\n<tr>\n<td><code>newCard.status</code></td>\n<td>Enum (String)</td>\n<td>Status of the new card</td>\n<td><code>active</code>, <code>unactivated</code>, <code>suspended</code>, <code>canceled</code></td>\n</tr>\n<tr>\n<td><code>newCard.expiration</code></td>\n<td>Date</td>\n<td>New card expiration date-time, ISO 8601 UTC</td>\n<td><code>2031-07-31T00:00:00.000Z</code></td>\n</tr>\n<tr>\n<td><code>consumer.firstName</code></td>\n<td>String</td>\n<td>Cardholder first name (returned in Hebrew when available, otherwise English)</td>\n<td><code>John</code></td>\n</tr>\n<tr>\n<td><code>consumer.lastName</code></td>\n<td>String</td>\n<td>Cardholder last name (returned in Hebrew when available, otherwise English)</td>\n<td><code>Doe</code></td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"query":[],"variable":[]}},"response":[],"_postman_id":"8f2b42d9-a807-42bf-b999-4e775fe7b99f"},{"name":"NotifyUpdateCardStatus","id":"5b7175d0-d22b-458c-bfc5-27bcc410dc48","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"card\": {\n    \"cardIssuerInternalId\": \"00000000\",\n    \"lastFourDigits\": \"0000\",\n    \"status\": \"active\"\n  },\n  \"consumer\": {\n    \"firstName\": \"John\",\n    \"lastName\": \"Doe\"\n  }\n}","options":{"raw":{"language":"json"}}},"url":"","description":"<p>This webhook notifies the partner about a status change for a specific card. It includes the card's internal issuer identifier, its last four digits, the updated status, and the cardholder's name — allowing the partner to update their records and act on the card's new status.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field Name</th>\n<th>Type</th>\n<th>Description</th>\n<th>Example Value</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>card.cardIssuerInternalId</code></td>\n<td>String</td>\n<td>Internal issuer id of the card</td>\n<td><code>00000000</code></td>\n</tr>\n<tr>\n<td><code>card.lastFourDigits</code></td>\n<td>String</td>\n<td>Last four digits of the card</td>\n<td><code>0000</code></td>\n</tr>\n<tr>\n<td><code>card.status</code></td>\n<td>Enum (String)</td>\n<td>The updated status of the card</td>\n<td><code>active</code>, <code>unactivated</code>, <code>suspended</code>, <code>canceled</code></td>\n</tr>\n<tr>\n<td><code>consumer.firstName</code></td>\n<td>String</td>\n<td>Cardholder first name (returned in Hebrew when available, otherwise English)</td>\n<td><code>John</code></td>\n</tr>\n<tr>\n<td><code>consumer.lastName</code></td>\n<td>String</td>\n<td>Cardholder last name (returned in Hebrew when available, otherwise English)</td>\n<td><code>Doe</code></td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>active</strong> — the card is active and usable.<br /><strong>unactivated</strong> — applies to physical cards pending embossing before being shipped to the customer.<br /><strong>suspended</strong> — the card is temporarily suspended (e.g. lost, damaged, or stolen); an intermediate status before permanent cancellation.<br /><strong>canceled</strong> — the card is canceled and can no longer be used.</p>\n","urlObject":{"query":[],"variable":[]}},"response":[],"_postman_id":"5b7175d0-d22b-458c-bfc5-27bcc410dc48"}],"id":"7fed0deb-a052-493a-b027-e4afbbc6550a","_postman_id":"7fed0deb-a052-493a-b027-e4afbbc6550a","description":""},{"name":"Transactions","item":[{"name":"Clearance File","id":"cfaa40f7-8a94-4ef8-a6db-6cb0ad54e620","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"","description":"<h1 id=\"transaction-batch-file-specification\">Transaction Batch File Specification</h1>\n<h2 id=\"general\">General</h2>\n<p>This document provides a detailed specification for the External Account Manager batch file.</p>\n<p>The file contains transactions that have been approved by the external account manager (TPA – third party approval) and subsequently processed by Cal (ICC).</p>\n<p>The file includes <strong>three record types</strong>:</p>\n<ul>\n<li><p>Header</p>\n</li>\n<li><p>Content</p>\n</li>\n<li><p>Summary</p>\n</li>\n</ul>\n<hr />\n<h2 id=\"header-record\">Header Record</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>#</strong></th>\n<th><strong>Field Name</strong></th>\n<th><strong>Description</strong></th>\n<th><strong>Format</strong></th>\n<th><strong>Length</strong></th>\n<th><strong>From</strong></th>\n<th><strong>To</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>1</strong></td>\n<td><strong>recordType</strong></td>\n<td><strong>00 - indicates a header record.</strong></td>\n<td><strong>NUM</strong></td>\n<td><strong>2</strong></td>\n<td><strong>1</strong></td>\n<td><strong>2</strong></td>\n</tr>\n<tr>\n<td><strong>2</strong></td>\n<td><strong>date</strong></td>\n<td><strong>Batch date. Format: YYYYMMDD.</strong></td>\n<td><strong>NUM</strong></td>\n<td><strong>8</strong></td>\n<td><strong>3</strong></td>\n<td><strong>10</strong></td>\n</tr>\n<tr>\n<td><strong>3</strong></td>\n<td><strong>serialNumber</strong></td>\n<td><strong>Always 01.</strong></td>\n<td><strong>CHAR</strong></td>\n<td><strong>2</strong></td>\n<td><strong>11</strong></td>\n<td><strong>12</strong></td>\n</tr>\n<tr>\n<td><strong>4</strong></td>\n<td><strong>internalFileSerialNumber</strong></td>\n<td><strong>Running number for the internal file, starting from 1.</strong></td>\n<td><strong>CHAR</strong></td>\n<td><strong>9</strong></td>\n<td><strong>13</strong></td>\n<td><strong>21</strong></td>\n</tr>\n<tr>\n<td><strong>5</strong></td>\n<td><strong>filler</strong></td>\n<td><strong>Fills the record up to 400 characters.</strong></td>\n<td><strong>CHAR</strong></td>\n<td><strong>379</strong></td>\n<td><strong>22</strong></td>\n<td><strong>400</strong></td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h2 id=\"content-record\">Content Record</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>#</strong></th>\n<th><strong>Field Name</strong></th>\n<th><strong>Description</strong></th>\n<th><strong>Format</strong></th>\n<th><strong>Length</strong></th>\n<th><strong>From</strong></th>\n<th><strong>To</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>1</strong></td>\n<td><strong>recordType</strong></td>\n<td><strong>01 - indicates a content record.</strong></td>\n<td><strong>NUM</strong></td>\n<td><strong>2</strong></td>\n<td><strong>1</strong></td>\n<td><strong>2</strong></td>\n</tr>\n<tr>\n<td><strong>2</strong></td>\n<td><strong>businessPartnerCode</strong></td>\n<td><strong>Business partner code.</strong></td>\n<td><strong>NUM</strong></td>\n<td><strong>4</strong></td>\n<td><strong>3</strong></td>\n<td><strong>6</strong></td>\n</tr>\n<tr>\n<td><strong>3</strong></td>\n<td><strong>accountManagerCode</strong></td>\n<td><strong>Account manager code.</strong></td>\n<td><strong>NUM</strong></td>\n<td><strong>4</strong></td>\n<td><strong>7</strong></td>\n<td><strong>10</strong></td>\n</tr>\n<tr>\n<td><strong>4</strong></td>\n<td><strong>issuerPaymentDeviceId</strong></td>\n<td><strong>ICC internal card ID.</strong></td>\n<td><strong>NUM</strong></td>\n<td><strong>9</strong></td>\n<td><strong>11</strong></td>\n<td><strong>19</strong></td>\n</tr>\n<tr>\n<td><strong>5</strong></td>\n<td><strong>brand</strong></td>\n<td><strong>Card network code: 1 = Visa, 3 = Diners, 6 = Mastercard.</strong></td>\n<td><strong>NUM</strong></td>\n<td><strong>2</strong></td>\n<td><strong>20</strong></td>\n<td><strong>21</strong></td>\n</tr>\n<tr>\n<td><strong>6</strong></td>\n<td><strong>issuerAuthorizationId</strong></td>\n<td><strong>Authorization transaction ID. Populated only when an authorization exists and was successfully located.</strong></td>\n<td><strong>NUM</strong></td>\n<td><strong>12</strong></td>\n<td><strong>22</strong></td>\n<td><strong>33</strong></td>\n</tr>\n<tr>\n<td><strong>7</strong></td>\n<td><strong>issuerTransactionId</strong></td>\n<td><strong>Transaction ID in the ICC system.</strong></td>\n<td><strong>NUM</strong></td>\n<td><strong>12</strong></td>\n<td><strong>34</strong></td>\n<td><strong>45</strong></td>\n</tr>\n<tr>\n<td><strong>8</strong></td>\n<td><strong>transactionExternalId</strong></td>\n<td><strong>External transaction ID generated by SHVA, an international organization, or the acquirer.</strong></td>\n<td><strong>CHAR</strong></td>\n<td><strong>23</strong></td>\n<td><strong>46</strong></td>\n<td><strong>68</strong></td>\n</tr>\n<tr>\n<td><strong>9</strong></td>\n<td><strong>transactionDate</strong></td>\n<td><strong>Transaction date. Format: YYYYMMDD.</strong></td>\n<td><strong>CHAR</strong></td>\n<td><strong>8</strong></td>\n<td><strong>69</strong></td>\n<td><strong>76</strong></td>\n</tr>\n<tr>\n<td><strong>10</strong></td>\n<td><strong>transactionTime</strong></td>\n<td><strong>Transaction time. Format: hhmmss.</strong></td>\n<td><strong>CHAR</strong></td>\n<td><strong>6</strong></td>\n<td><strong>77</strong></td>\n<td><strong>82</strong></td>\n</tr>\n<tr>\n<td><strong>11</strong></td>\n<td><strong>transactionType</strong></td>\n<td><strong>05 = regular transaction; 06 or 25 = refund/cancellation; 71 = card fee reversal; 72 = card fee; 76 = manual transaction; 07 = cash withdrawal.</strong></td>\n<td><strong>NUM</strong></td>\n<td><strong>2</strong></td>\n<td><strong>83</strong></td>\n<td><strong>84</strong></td>\n</tr>\n<tr>\n<td><strong>12</strong></td>\n<td><strong>locationCode</strong></td>\n<td><strong>1 = Israel; 2 = Abroad.</strong></td>\n<td><strong>NUM</strong></td>\n<td><strong>1</strong></td>\n<td><strong>85</strong></td>\n<td><strong>85</strong></td>\n</tr>\n<tr>\n<td><strong>13</strong></td>\n<td><strong>countryCode</strong></td>\n<td><strong>Country code.</strong></td>\n<td><strong>CHAR</strong></td>\n<td><strong>2</strong></td>\n<td><strong>86</strong></td>\n<td><strong>87</strong></td>\n</tr>\n<tr>\n<td><strong>14</strong></td>\n<td><strong>purchaseMethod</strong></td>\n<td><strong>01 = Web (CNP); 02 = Phone (CNP); 03 = CP; 04 = Token; 05 = Web Token; 06 = Card on file (cardOnFile); 07 = Issuer internal (issuerInternal).</strong></td>\n<td><strong>CHAR</strong></td>\n<td><strong>2</strong></td>\n<td><strong>88</strong></td>\n<td><strong>89</strong></td>\n</tr>\n<tr>\n<td><strong>15</strong></td>\n<td><strong>isContactless</strong></td>\n<td><strong>1 = Contactless transaction; 0 = Not a contactless transaction.</strong></td>\n<td><strong>CHAR</strong></td>\n<td><strong>1</strong></td>\n<td><strong>90</strong></td>\n<td><strong>90</strong></td>\n</tr>\n<tr>\n<td><strong>16</strong></td>\n<td><strong>pos</strong></td>\n<td><strong>Point-of-sale or terminal number.</strong></td>\n<td><strong>CHAR</strong></td>\n<td><strong>8</strong></td>\n<td><strong>91</strong></td>\n<td><strong>98</strong></td>\n</tr>\n<tr>\n<td><strong>17</strong></td>\n<td><strong>transactionAmount</strong></td>\n<td><strong>Transaction amount. Decimal amount with a total length of 11 characters.</strong></td>\n<td><strong>NUM</strong></td>\n<td><strong>11</strong></td>\n<td><strong>99</strong></td>\n<td><strong>109</strong></td>\n</tr>\n<tr>\n<td><strong>18</strong></td>\n<td><strong>transactionCurrency</strong></td>\n<td><strong>Transaction currency, using the ISO numeric currency code (for example, USD = 840 and ILS = 376).</strong></td>\n<td><strong>NUM</strong></td>\n<td><strong>3</strong></td>\n<td><strong>110</strong></td>\n<td><strong>112</strong></td>\n</tr>\n<tr>\n<td><strong>19</strong></td>\n<td><strong>discountAmount</strong></td>\n<td><strong>Discount amount. Decimal amount with a total length of 11 characters.</strong></td>\n<td><strong>NUM</strong></td>\n<td><strong>11</strong></td>\n<td><strong>113</strong></td>\n<td><strong>123</strong></td>\n</tr>\n<tr>\n<td><strong>20</strong></td>\n<td><strong>paymentDeviceDebitDate</strong></td>\n<td><strong>Card debit/credit date. Format: YYYYMMDD.</strong></td>\n<td><strong>CHAR</strong></td>\n<td><strong>8</strong></td>\n<td><strong>124</strong></td>\n<td><strong>131</strong></td>\n</tr>\n<tr>\n<td><strong>21</strong></td>\n<td><strong>personalCreditLineDebitAmount</strong></td>\n<td><strong>Card debit/credit amount. Decimal amount with a total length of 11 characters.</strong></td>\n<td><strong>NUM</strong></td>\n<td><strong>11</strong></td>\n<td><strong>132</strong></td>\n<td><strong>142</strong></td>\n</tr>\n<tr>\n<td><strong>22</strong></td>\n<td><strong>personalCreditLineDebitCurrency</strong></td>\n<td><strong>Card debit/credit currency, using the ISO numeric currency code.</strong></td>\n<td><strong>NUM</strong></td>\n<td><strong>3</strong></td>\n<td><strong>143</strong></td>\n<td><strong>145</strong></td>\n</tr>\n<tr>\n<td><strong>23</strong></td>\n<td><strong>paymentAccountDebitAmount</strong></td>\n<td><strong>Final debit/credit amount from the payment account.</strong></td>\n<td><strong>NUM</strong></td>\n<td><strong>11</strong></td>\n<td><strong>146</strong></td>\n<td><strong>156</strong></td>\n</tr>\n<tr>\n<td><strong>24</strong></td>\n<td><strong>paymentAccountAuthorizedAmount</strong></td>\n<td><strong>Original amount approved by the TPA.</strong></td>\n<td><strong>NUM</strong></td>\n<td><strong>11</strong></td>\n<td><strong>157</strong></td>\n<td><strong>167</strong></td>\n</tr>\n<tr>\n<td><strong>25</strong></td>\n<td><strong>paymentAccountAuthorizedCurrency</strong></td>\n<td><strong>Currency originally approved by the TPA.</strong></td>\n<td><strong>NUM</strong></td>\n<td><strong>3</strong></td>\n<td><strong>168</strong></td>\n<td><strong>170</strong></td>\n</tr>\n<tr>\n<td><strong>26</strong></td>\n<td><strong>merchantId</strong></td>\n<td><strong>Merchant number.</strong></td>\n<td><strong>CHAR</strong></td>\n<td><strong>8</strong></td>\n<td><strong>171</strong></td>\n<td><strong>178</strong></td>\n</tr>\n<tr>\n<td><strong>27</strong></td>\n<td><strong>mcc</strong></td>\n<td><strong>Merchant category code.</strong></td>\n<td><strong>NUM</strong></td>\n<td><strong>6</strong></td>\n<td><strong>179</strong></td>\n<td><strong>184</strong></td>\n</tr>\n<tr>\n<td><strong>28</strong></td>\n<td><strong>merchantName</strong></td>\n<td><strong>Merchant name.</strong></td>\n<td><strong>CHAR</strong></td>\n<td><strong>40</strong></td>\n<td><strong>185</strong></td>\n<td><strong>224</strong></td>\n</tr>\n<tr>\n<td><strong>29</strong></td>\n<td><strong>merchantAddress</strong></td>\n<td><strong>Merchant address.</strong></td>\n<td><strong>CHAR</strong></td>\n<td><strong>30</strong></td>\n<td><strong>225</strong></td>\n<td><strong>254</strong></td>\n</tr>\n<tr>\n<td><strong>30</strong></td>\n<td><strong>merchantCity</strong></td>\n<td><strong>Merchant city.</strong></td>\n<td><strong>CHAR</strong></td>\n<td><strong>25</strong></td>\n<td><strong>255</strong></td>\n<td><strong>279</strong></td>\n</tr>\n<tr>\n<td><strong>31</strong></td>\n<td><strong>merchantZipCode</strong></td>\n<td><strong>Merchant postal code.</strong></td>\n<td><strong>CHAR</strong></td>\n<td><strong>10</strong></td>\n<td><strong>280</strong></td>\n<td><strong>289</strong></td>\n</tr>\n<tr>\n<td><strong>32</strong></td>\n<td><strong>merchantPhoneNumber</strong></td>\n<td><strong>Merchant phone number.</strong></td>\n<td><strong>CHAR</strong></td>\n<td><strong>10</strong></td>\n<td><strong>290</strong></td>\n<td><strong>299</strong></td>\n</tr>\n<tr>\n<td><strong>33</strong></td>\n<td><strong>spendAccountCode</strong></td>\n<td><strong>External account type code.</strong></td>\n<td><strong>NUM</strong></td>\n<td><strong>4</strong></td>\n<td><strong>300</strong></td>\n<td><strong>303</strong></td>\n</tr>\n<tr>\n<td><strong>34</strong></td>\n<td><strong>spendAccountCurrency</strong></td>\n<td><strong>Payment-account debit/credit currency, using the ISO numeric currency code.</strong></td>\n<td><strong>NUM</strong></td>\n<td><strong>3</strong></td>\n<td><strong>304</strong></td>\n<td><strong>306</strong></td>\n</tr>\n<tr>\n<td><strong>35</strong></td>\n<td><strong>betterCircleAmount</strong></td>\n<td><strong>Rounding donation amount.</strong></td>\n<td><strong>NUM</strong></td>\n<td><strong>8</strong></td>\n<td><strong>307</strong></td>\n<td><strong>314</strong></td>\n</tr>\n<tr>\n<td><strong>36</strong></td>\n<td><strong>spendAccountDebitDate</strong></td>\n<td><strong>External account manager debit/credit date. Format: YYYYMMDD.</strong></td>\n<td><strong>NUM</strong></td>\n<td><strong>8</strong></td>\n<td><strong>315</strong></td>\n<td><strong>322</strong></td>\n</tr>\n<tr>\n<td><strong>37</strong></td>\n<td><strong>creditCardCompanyCode</strong></td>\n<td><strong>Acquirer code.</strong></td>\n<td><strong>NUM</strong></td>\n<td><strong>3</strong></td>\n<td><strong>323</strong></td>\n<td><strong>325</strong></td>\n</tr>\n<tr>\n<td><strong>38</strong></td>\n<td><strong>debitAmountInOriginalCurrency</strong></td>\n<td><strong>Debit amount in the original transaction currency.</strong></td>\n<td><strong>NUM</strong></td>\n<td><strong>11</strong></td>\n<td><strong>326</strong></td>\n<td><strong>336</strong></td>\n</tr>\n<tr>\n<td><strong>39</strong></td>\n<td><strong>fxWalletTransactionIndicator</strong></td>\n<td><strong>1 = FX wallet transaction; 0 = Not an FX wallet transaction.</strong></td>\n<td><strong>NUM</strong></td>\n<td><strong>1</strong></td>\n<td><strong>337</strong></td>\n<td><strong>337</strong></td>\n</tr>\n<tr>\n<td><strong>40</strong></td>\n<td><strong>conversionIndicator</strong></td>\n<td><strong>0 = No conversion; 1 = International organization conversion only; 2 = Cal conversion during processing; 3 = Two conversions - international organization and Cal.</strong></td>\n<td><strong>NUM</strong></td>\n<td><strong>1</strong></td>\n<td><strong>338</strong></td>\n<td><strong>338</strong></td>\n</tr>\n<tr>\n<td><strong>41</strong></td>\n<td><strong>internationalClearingFxRateToUsd</strong></td>\n<td><strong>International clearing conversion rate to USD. Decimal format: 3 digits before the decimal point and 6 digits after it. Populated only when the transaction currency is outside the 14 supported currencies.</strong></td>\n<td><strong>NUM</strong></td>\n<td><strong>10</strong></td>\n<td><strong>339</strong></td>\n<td><strong>348</strong></td>\n</tr>\n<tr>\n<td><strong>42</strong></td>\n<td><strong>clearingFxRate</strong></td>\n<td><strong>Processing conversion rate. Decimal format: 5 digits before the decimal point and 4 digits after it. For direct conversion: transaction currency to debit currency. For two-step conversion: USD to debit currency.</strong></td>\n<td><strong>NUM</strong></td>\n<td><strong>10</strong></td>\n<td><strong>349</strong></td>\n<td><strong>358</strong></td>\n</tr>\n<tr>\n<td><strong>43</strong></td>\n<td><strong>filler</strong></td>\n<td><strong>Fills the record up to 400 characters.</strong></td>\n<td><strong>CHAR</strong></td>\n<td><strong>42</strong></td>\n<td><strong>359</strong></td>\n<td><strong>400</strong></td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h2 id=\"summary-record\">Summary Record</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>#</strong></th>\n<th><strong>Field Name</strong></th>\n<th><strong>Description</strong></th>\n<th><strong>Format</strong></th>\n<th><strong>Length</strong></th>\n<th><strong>From</strong></th>\n<th><strong>To</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>1</strong></td>\n<td><strong>recordType</strong></td>\n<td><strong>99 - indicates a summary record.</strong></td>\n<td><strong>NUM</strong></td>\n<td><strong>2</strong></td>\n<td><strong>1</strong></td>\n<td><strong>2</strong></td>\n</tr>\n<tr>\n<td><strong>2</strong></td>\n<td><strong>recordNum</strong></td>\n<td><strong>Total number of content records in the file.</strong></td>\n<td><strong>NUM</strong></td>\n<td><strong>8</strong></td>\n<td><strong>3</strong></td>\n<td><strong>10</strong></td>\n</tr>\n<tr>\n<td><strong>3</strong></td>\n<td><strong>serialNumber</strong></td>\n<td><strong>Always 01.</strong></td>\n<td><strong>NUM</strong></td>\n<td><strong>2</strong></td>\n<td><strong>11</strong></td>\n<td><strong>12</strong></td>\n</tr>\n<tr>\n<td><strong>4</strong></td>\n<td><strong>internalFileSerialNumber</strong></td>\n<td><strong>Running number for the internal file, starting from 1.</strong></td>\n<td><strong>CHAR</strong></td>\n<td><strong>9</strong></td>\n<td><strong>13</strong></td>\n<td><strong>21</strong></td>\n</tr>\n<tr>\n<td><strong>5</strong></td>\n<td><strong>filler</strong></td>\n<td><strong>Fills the record up to 400 characters.</strong></td>\n<td><strong>CHAR</strong></td>\n<td><strong>379</strong></td>\n<td><strong>22</strong></td>\n<td><strong>400</strong></td>\n</tr>\n</tbody>\n</table>\n</div><div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>recordType</code></td>\n<td>00 (indicates summary record)</td>\n</tr>\n<tr>\n<td><code>recordNum</code></td>\n<td>Total number of records in the file</td>\n</tr>\n<tr>\n<td><code>filler</code></td>\n<td>Fill record up to 400 characters</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n","urlObject":{"query":[],"variable":[]}},"response":[],"_postman_id":"cfaa40f7-8a94-4ef8-a6db-6cb0ad54e620"},{"name":"GetExpenses","id":"4b67358f-2ab4-435c-9bbc-5526afd7096a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"}],"body":{"mode":"raw","raw":"{\r\n    \"identifier\": \"string\",\r\n    \"cardRefId\": \"string\",\r\n    \"budgetCategoryType\": \"string\",\r\n    \"identifierType\": \"id\",\r\n    \"cardIssuerInternalId\": \"string\",\r\n    \"to\": \"2026-05-05T06:00:13.150Z\",\r\n    \"from\": \"2026-05-05T06:00:13.150Z\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/consumers-backend/api/Transactions/GetExpenses","description":"<p>Returns the expenses for a given card, filtered by budget category type.</p>\n<h2 id=\"request-parameters\">Request Parameters</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Type</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>cardRefId</td>\n<td>string</td>\n<td>Required if <code>cardIssuerInternalId</code> is null</td>\n<td>Card reference ID</td>\n</tr>\n<tr>\n<td>cardIssuerInternalId</td>\n<td>string</td>\n<td>Required if <code>cardRefId</code> is null</td>\n<td>Internal ID of the card issuer</td>\n</tr>\n<tr>\n<td>identifier</td>\n<td>string</td>\n<td>Optional</td>\n<td>Consumer identifier value</td>\n</tr>\n<tr>\n<td>identifierType</td>\n<td>IdentifierType</td>\n<td>Optional</td>\n<td>Type of the identifier</td>\n</tr>\n<tr>\n<td></td>\n<td></td>\n<td></td>\n<td><code>id</code></td>\n</tr>\n<tr>\n<td></td>\n<td></td>\n<td></td>\n<td><code>index</code></td>\n</tr>\n<tr>\n<td></td>\n<td></td>\n<td></td>\n<td><code>passport</code></td>\n</tr>\n<tr>\n<td></td>\n<td></td>\n<td></td>\n<td><code>driversLicense</code></td>\n</tr>\n<tr>\n<td></td>\n<td></td>\n<td></td>\n<td><code>socialSecurityNumber</code></td>\n</tr>\n<tr>\n<td>budgetCategoryType</td>\n<td>string</td>\n<td>Optional</td>\n<td>Budget category type filter</td>\n</tr>\n<tr>\n<td>from</td>\n<td>Date</td>\n<td>Optional</td>\n<td>Start date in UTC ISO 8601 format</td>\n</tr>\n<tr>\n<td>to</td>\n<td>Date</td>\n<td>Optional</td>\n<td>End date in UTC ISO 8601 format</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"response-fields\">Response Fields</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>expenses</code></td>\n<td>array</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["consumers-backend","api","Transactions","GetExpenses"],"host":["api","stage","cal-platform","com"],"query":[],"variable":[]}},"response":[{"id":"e4c32abb-e13f-4367-8734-1fd06ce8fea4","name":"GetExpenses","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"}],"body":{"mode":"raw","raw":"{\r\n    \"identifier\": \"string\",\r\n    \"cardRefId\": \"string\",\r\n    \"budgetCategoryType\": \"string\",\r\n    \"identifierType\": \"id\",\r\n    \"cardIssuerInternalId\": \"string\",\r\n    \"to\": \"2026-05-05T06:00:13.150Z\",\r\n    \"from\": \"2026-05-05T06:00:13.150Z\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/consumers-backend/api/Transactions/GetExpenses"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n  \"statusDescription\": \"string\",\n  \"statusCode\": 0,\n  \"sessionId\": \"string\",\n  \"httpStatus\": 0,\n  \"result\": {\n    \"expenses\": [\n      \"string\"\n    ]\n  }\n}"}],"_postman_id":"4b67358f-2ab4-435c-9bbc-5526afd7096a"},{"name":"AddTransaction","id":"052c2b65-ba62-4ca5-88e4-90d549454c93","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","description":"<p>Request body format</p>\n"},{"key":"Accept","value":"application/json","description":"<p>Expected response format</p>\n"},{"key":"Authorization","value":"{{CognitoToken}}","description":"<p>JWT access token</p>\n"}],"body":{"mode":"raw","raw":"{\n    \"companyCode\": \"string\",\n    \"amount\": 0,\n    \"tranAmountBilling\": 0,\n    \"transactionStatus\": \"string\",\n    \"channelType\": \"string\",\n    \"mcc\": \"string\",\n    \"tpaBusinessPartnerCode\": \"string\",\n    \"merchantName\": \"string\",\n    \"trnId\": \"string\",\n    \"tpaApprovalAmount\": \"string\",\n    \"finalAnswerCode\": \"string\",\n    \"customerId\": \"string\",\n    \"j5Ind\": \"string\",\n    \"currencyCode\": \"string\",\n    \"cardAcceptIdent\": \"string\",\n    \"cardNumber\": \"string\",\n    \"cardInternalId\": \"string\",\n    \"timestamp\": \"string\",\n    \"terminal\": \"string\",\n    \"acquirerCode\": \"string\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/consumers-backend/api/Transactions/AddTransaction","description":"<p>Records a new card transaction in the system. Called by the card issuer to notify the platform of a new authorization or settlement event. All fields are optional and map to issuer-specific transaction data.</p>\n<h2 id=\"request-parameters\">Request Parameters</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Type</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>companyCode</td>\n<td>string?</td>\n<td>No</td>\n<td>Company code</td>\n</tr>\n<tr>\n<td>amount</td>\n<td>number?</td>\n<td>No</td>\n<td>Transaction amount</td>\n</tr>\n<tr>\n<td>tranAmountBilling</td>\n<td>number?</td>\n<td>No</td>\n<td>Billing amount</td>\n</tr>\n<tr>\n<td>transactionStatus</td>\n<td>string?</td>\n<td>No</td>\n<td>Transaction status</td>\n</tr>\n<tr>\n<td>channelType</td>\n<td>string?</td>\n<td>No</td>\n<td>Channel type (e.g., POS, online)</td>\n</tr>\n<tr>\n<td>mcc</td>\n<td>string?</td>\n<td>No</td>\n<td>Merchant category code</td>\n</tr>\n<tr>\n<td>tpaBusinessPartnerCode</td>\n<td>string?</td>\n<td>No</td>\n<td>TPA business partner code</td>\n</tr>\n<tr>\n<td>merchantName</td>\n<td>string?</td>\n<td>No</td>\n<td>Merchant name</td>\n</tr>\n<tr>\n<td>trnId</td>\n<td>string?</td>\n<td>No</td>\n<td>Transaction ID from the issuer</td>\n</tr>\n<tr>\n<td>tpaApprovalAmount</td>\n<td>string?</td>\n<td>No</td>\n<td>TPA approval amount</td>\n</tr>\n<tr>\n<td>finalAnswerCode</td>\n<td>string?</td>\n<td>No</td>\n<td>Final answer code from the issuer</td>\n</tr>\n<tr>\n<td>customerId</td>\n<td>string?</td>\n<td>No</td>\n<td>Customer ID</td>\n</tr>\n<tr>\n<td>j5Ind</td>\n<td>string?</td>\n<td>No</td>\n<td>J5 indicator</td>\n</tr>\n<tr>\n<td>currencyCode</td>\n<td>string?</td>\n<td>No</td>\n<td>Currency code</td>\n</tr>\n<tr>\n<td>cardAcceptIdent</td>\n<td>string?</td>\n<td>No</td>\n<td>Card acceptor identifier</td>\n</tr>\n<tr>\n<td>cardNumber</td>\n<td>string?</td>\n<td>No</td>\n<td>Card number (masked)</td>\n</tr>\n<tr>\n<td>cardInternalId</td>\n<td>string?</td>\n<td>No</td>\n<td>Internal card ID</td>\n</tr>\n<tr>\n<td>timestamp</td>\n<td>string?</td>\n<td>No</td>\n<td>Transaction timestamp</td>\n</tr>\n<tr>\n<td>terminal</td>\n<td>string?</td>\n<td>No</td>\n<td>Terminal identifier</td>\n</tr>\n<tr>\n<td>acquirerCode</td>\n<td>string?</td>\n<td>No</td>\n<td>Acquirer code</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"response-fields\">Response Fields</h3>\n<p><em>No result data returned.</em></p>\n","urlObject":{"protocol":"https","path":["consumers-backend","api","Transactions","AddTransaction"],"host":["api","stage","cal-platform","com"],"query":[],"variable":[]}},"response":[{"id":"782610af-0ada-46c3-99b0-961e9902aad6","name":"AddTransaction","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","description":"Request body format"},{"key":"Accept","value":"application/json","description":"Expected response format"},{"key":"Authorization","value":"{{CognitoToken}}","description":"JWT access token"}],"body":{"mode":"raw","raw":"{\n    \"companyCode\": \"string\",\n    \"amount\": 0,\n    \"tranAmountBilling\": 0,\n    \"transactionStatus\": \"string\",\n    \"channelType\": \"string\",\n    \"mcc\": \"string\",\n    \"tpaBusinessPartnerCode\": \"string\",\n    \"merchantName\": \"string\",\n    \"trnId\": \"string\",\n    \"tpaApprovalAmount\": \"string\",\n    \"finalAnswerCode\": \"string\",\n    \"customerId\": \"string\",\n    \"j5Ind\": \"string\",\n    \"currencyCode\": \"string\",\n    \"cardAcceptIdent\": \"string\",\n    \"cardNumber\": \"string\",\n    \"cardInternalId\": \"string\",\n    \"timestamp\": \"string\",\n    \"terminal\": \"string\",\n    \"acquirerCode\": \"string\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/consumers-backend/api/Transactions/AddTransaction"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n  \"statusDescription\": \"string\",\n  \"statusCode\": 0,\n  \"sessionId\": \"string\",\n  \"httpStatus\": 0,\n  \"result\": {}\n}"}],"_postman_id":"052c2b65-ba62-4ca5-88e4-90d549454c93"}],"id":"f658b126-93ce-4543-8e58-02c9f968f5f3","_postman_id":"f658b126-93ce-4543-8e58-02c9f968f5f3","description":""},{"name":"Payments","item":[{"name":"1. InitZCreditPaymentPage","event":[{"listen":"test","script":{"exec":["const jsonData = JSON.parse(pm.request.body);","const arrayOfObject = jsonData.data;","const userId = arrayOfObject.find(obj => {","    return obj.key === \"userId\"","});","const receiverPhoneNumber = arrayOfObject.find(obj => {","    return obj.key === \"receiverPhoneNumber\"","});","let totalAmount = 0;","jsonData.cartItems.forEach(cartItem => {","    totalAmount = totalAmount + parseInt(cartItem.amount);","})","pm.globals.set(\"MelisronUserId\", userId.value);","pm.globals.set(\"MelisronReceiverPhoneNumber\", receiverPhoneNumber.value);","pm.globals.set(\"MelisronTotalAmount\", totalAmount);","var template = `","<style type=\"text/css\">","    .tftable {font-size:14px;color:#333333;width:100%;border-width: 1px;border-color: #87ceeb;border-collapse: collapse;}","    .tftable th {font-size:18px;background-color:#87ceeb;border-width: 1px;padding: 8px;border-style: solid;border-color: #87ceeb;text-align:left;}","    .tftable tr {background-color:#ffffff;}","    .tftable td {font-size:14px;border-width: 1px;padding: 8px;border-style: solid;border-color: #87ceeb;}","    .tftable tr:hover {background-color:#e0ffff;}","</style>","","<table class=\"tftable\" border=\"1\">","    <tr>","        <th>Field Name</th>","        <th>Type</th>","        <th>Description</th>","        <th>Example</th>","    </tr>","    <tr>","        <td>New Balance</td>","        <td>Number</td>","        <td>Current balance after payment</td>","        <td>{{response.result.newBalance}}</td>","    </tr>","    <tr>","        <td>Currency</td>","        <td>String</td>","        <td>Currency type</td>","        <td>{{response.result.currency}}</td>","    </tr>","    <tr>","        <td>Status Description</td>","        <td>String</td>","        <td>Description of status</td>","        <td>{{response.statusDescription}}</td>","    </tr>","    <tr>","        <td>Status Code</td>","        <td>Number</td>","        <td>Status code</td>","        <td>{{response.statusCode}}</td>","    </tr>","    <tr>","        <td>Session ID</td>","        <td>String</td>","        <td>Unique session identifier</td>","        <td>{{response.sessionId}}</td>","    </tr>","    <tr>","        <td>HTTP Status</td>","        <td>Number</td>","        <td>HTTP status code</td>","        <td>{{response.httpStatus}}</td>","    </tr>","</table>","`;","","function constructVisualizerPayload() {","    return {response: pm.response.json()};","}","","pm.visualizer.set(template, constructVisualizerPayload());"],"type":"text/javascript","packages":{},"requests":{},"id":"1a023370-1979-4519-96db-8f60b9903c9a"}},{"listen":"prerequest","script":{"exec":[""],"type":"text/javascript","packages":{},"requests":{},"id":"690173ea-b48e-4559-bbee-4d6d81ef8d30"}}],"id":"db71b345-5485-483e-b37a-9c43af8defc4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"}],"body":{"mode":"raw","raw":"{\n    \"productRefId\": \"string\",\n    \"local\": \"string\",\n    \"data\": [\n        {}\n    ],\n    \"successUrl\": \"string\",\n    \"cancelUrl\": \"string\",\n    \"paymentType\": \"regular\",\n    \"themeColor\": \"string\",\n    \"bitButtonEnabled\": true,\n    \"applePayButtonEnabled\": true,\n    \"googlePayButtonEnabled\": true,\n    \"installments\": {\n        \"type\": \"none\",\n        \"minQuantity\": 0,\n        \"maxQuantity\": 0\n    },\n    \"customer\": {\n        \"email\": \"string\",\n        \"name\": \"string\",\n        \"phoneNumber\": \"string\",\n        \"attributes\": {\n            \"name\": \"string\",\n            \"phoneNumber\": \"string\",\n            \"email\": \"string\"\n        }\n    },\n    \"cartItems\": [\n        {\n            \"amount\": 0,\n            \"name\": \"string\",\n            \"image\": \"string\",\n            \"description\": \"string\"\n        }\n    ],\n    \"focusType\": \"none\",\n    \"cardsIcons\": {\n        \"showVisaIcon\": true,\n        \"showMastercardIcon\": true,\n        \"showDinersIcon\": true,\n        \"showAmericanExpressIcon\": true,\n        \"showIsracardIcon\": true\n    },\n    \"backgroundColor\": \"string\",\n    \"showTotalSumInPayButton\": true\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/payments-backend/api/PaymentPages/InitZCreditPaymentPage","description":"<p>Initializes a Z-Credit payment page session and returns a URL to redirect the customer to complete payment.</p>\n<h2 id=\"request-parameters\">Request Parameters</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Type</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>productRefId</td>\n<td>string</td>\n<td>Required</td>\n<td>Product reference ID</td>\n</tr>\n<tr>\n<td>successUrl</td>\n<td>string</td>\n<td>Required</td>\n<td>Redirect URL after successful payment</td>\n</tr>\n<tr>\n<td>cancelUrl</td>\n<td>string</td>\n<td>Required</td>\n<td>Redirect URL if payment is canceled</td>\n</tr>\n<tr>\n<td>local</td>\n<td>string</td>\n<td>Optional</td>\n<td>Locale setting</td>\n</tr>\n<tr>\n<td>data</td>\n<td>KeyValuePair[]</td>\n<td>Optional</td>\n<td>Additional key-value metadata</td>\n</tr>\n<tr>\n<td>data[].key</td>\n<td>string</td>\n<td>Required</td>\n<td>Key</td>\n</tr>\n<tr>\n<td>data[].value</td>\n<td>string</td>\n<td>Optional</td>\n<td>Value</td>\n</tr>\n<tr>\n<td>paymentType</td>\n<td>PaymentPagePaymentType</td>\n<td>Optional</td>\n<td>Payment type</td>\n</tr>\n<tr>\n<td></td>\n<td></td>\n<td></td>\n<td><code>regular</code></td>\n</tr>\n<tr>\n<td>themeColor</td>\n<td>string</td>\n<td>Optional</td>\n<td>Theme color (hex)</td>\n</tr>\n<tr>\n<td>backgroundColor</td>\n<td>string</td>\n<td>Optional</td>\n<td>Background color (hex)</td>\n</tr>\n<tr>\n<td>bitButtonEnabled</td>\n<td>boolean</td>\n<td>Optional</td>\n<td>Show Bit payment button</td>\n</tr>\n<tr>\n<td>applePayButtonEnabled</td>\n<td>boolean</td>\n<td>Optional</td>\n<td>Show Apple Pay button</td>\n</tr>\n<tr>\n<td>googlePayButtonEnabled</td>\n<td>boolean</td>\n<td>Optional</td>\n<td>Show Google Pay button</td>\n</tr>\n<tr>\n<td>showTotalSumInPayButton</td>\n<td>boolean</td>\n<td>Optional</td>\n<td>Show total sum in the pay button</td>\n</tr>\n<tr>\n<td>focusType</td>\n<td>PaymentPageFocusType</td>\n<td>Optional</td>\n<td>Focus type</td>\n</tr>\n<tr>\n<td></td>\n<td></td>\n<td></td>\n<td><code>none</code></td>\n</tr>\n<tr>\n<td>installments</td>\n<td>object</td>\n<td>Optional</td>\n<td>Installment configuration</td>\n</tr>\n<tr>\n<td>installments.type</td>\n<td>PaymentPageInstallmentsType</td>\n<td>Optional</td>\n<td>Installment type</td>\n</tr>\n<tr>\n<td></td>\n<td></td>\n<td></td>\n<td><code>none</code></td>\n</tr>\n<tr>\n<td></td>\n<td></td>\n<td></td>\n<td><code>regular</code></td>\n</tr>\n<tr>\n<td></td>\n<td></td>\n<td></td>\n<td><code>credit</code></td>\n</tr>\n<tr>\n<td></td>\n<td></td>\n<td></td>\n<td><code>usersChoice</code></td>\n</tr>\n<tr>\n<td>installments.minQuantity</td>\n<td>number</td>\n<td>Optional</td>\n<td>Minimum number of installments</td>\n</tr>\n<tr>\n<td>installments.maxQuantity</td>\n<td>number</td>\n<td>Optional</td>\n<td>Maximum number of installments</td>\n</tr>\n<tr>\n<td>customer</td>\n<td>object</td>\n<td>Optional</td>\n<td>Customer details</td>\n</tr>\n<tr>\n<td>customer.email</td>\n<td>string</td>\n<td>Optional</td>\n<td>Customer email</td>\n</tr>\n<tr>\n<td>customer.name</td>\n<td>string</td>\n<td>Optional</td>\n<td>Customer name</td>\n</tr>\n<tr>\n<td>customer.phoneNumber</td>\n<td>string</td>\n<td>Optional</td>\n<td>Customer phone number</td>\n</tr>\n<tr>\n<td>customer.attributes</td>\n<td>object</td>\n<td>Optional</td>\n<td>Field requirement configuration for the payment form</td>\n</tr>\n<tr>\n<td>customer.attributes.name</td>\n<td>PaymentPagePropertyRequirementType</td>\n<td>Optional</td>\n<td>Name field requirement</td>\n</tr>\n<tr>\n<td></td>\n<td></td>\n<td></td>\n<td><code>required</code></td>\n</tr>\n<tr>\n<td></td>\n<td></td>\n<td></td>\n<td><code>optional</code></td>\n</tr>\n<tr>\n<td></td>\n<td></td>\n<td></td>\n<td><code>none</code></td>\n</tr>\n<tr>\n<td>customer.attributes.phoneNumber</td>\n<td>PaymentPagePropertyRequirementType</td>\n<td>Optional</td>\n<td>Phone number field requirement</td>\n</tr>\n<tr>\n<td></td>\n<td></td>\n<td></td>\n<td><code>required</code></td>\n</tr>\n<tr>\n<td></td>\n<td></td>\n<td></td>\n<td><code>optional</code></td>\n</tr>\n<tr>\n<td></td>\n<td></td>\n<td></td>\n<td><code>none</code></td>\n</tr>\n<tr>\n<td>customer.attributes.email</td>\n<td>PaymentPagePropertyRequirementType</td>\n<td>Optional</td>\n<td>Email field requirement</td>\n</tr>\n<tr>\n<td></td>\n<td></td>\n<td></td>\n<td><code>required</code></td>\n</tr>\n<tr>\n<td></td>\n<td></td>\n<td></td>\n<td><code>optional</code></td>\n</tr>\n<tr>\n<td></td>\n<td></td>\n<td></td>\n<td><code>none</code></td>\n</tr>\n<tr>\n<td>cartItems</td>\n<td>object[]</td>\n<td>Optional</td>\n<td>Items in the cart</td>\n</tr>\n<tr>\n<td>cartItems[].amount</td>\n<td>number</td>\n<td>Optional</td>\n<td>Item amount</td>\n</tr>\n<tr>\n<td>cartItems[].name</td>\n<td>string</td>\n<td>Optional</td>\n<td>Item name</td>\n</tr>\n<tr>\n<td>cartItems[].image</td>\n<td>string</td>\n<td>Optional</td>\n<td>Item image URL</td>\n</tr>\n<tr>\n<td>cartItems[].description</td>\n<td>string</td>\n<td>Optional</td>\n<td>Item description</td>\n</tr>\n<tr>\n<td>cardsIcons</td>\n<td>object</td>\n<td>Optional</td>\n<td>Card brand icons to display on the payment page</td>\n</tr>\n<tr>\n<td>cardsIcons.showVisaIcon</td>\n<td>boolean</td>\n<td>Optional</td>\n<td>Show Visa icon</td>\n</tr>\n<tr>\n<td>cardsIcons.showMastercardIcon</td>\n<td>boolean</td>\n<td>Optional</td>\n<td>Show Mastercard icon</td>\n</tr>\n<tr>\n<td>cardsIcons.showDinersIcon</td>\n<td>boolean</td>\n<td>Optional</td>\n<td>Show Diners icon</td>\n</tr>\n<tr>\n<td>cardsIcons.showAmericanExpressIcon</td>\n<td>boolean</td>\n<td>Optional</td>\n<td>Show American Express icon</td>\n</tr>\n<tr>\n<td>cardsIcons.showIsracardIcon</td>\n<td>boolean</td>\n<td>Optional</td>\n<td>Show Isracard icon</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"response-fields\">Response Fields</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>sessionUrl</code></td>\n<td>string</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["payments-backend","api","PaymentPages","InitZCreditPaymentPage"],"host":["api","stage","cal-platform","com"],"query":[],"variable":[]}},"response":[{"id":"49ee99e7-faee-4192-ae5c-d0a43d262298","name":"1. InitZCreditPaymentPage","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"}],"body":{"mode":"raw","raw":"{\n    \"productRefId\": \"string\",\n    \"local\": \"string\",\n    \"data\": [\n        {}\n    ],\n    \"successUrl\": \"string\",\n    \"cancelUrl\": \"string\",\n    \"paymentType\": \"regular\",\n    \"themeColor\": \"string\",\n    \"bitButtonEnabled\": true,\n    \"applePayButtonEnabled\": true,\n    \"googlePayButtonEnabled\": true,\n    \"installments\": {\n        \"type\": \"none\",\n        \"minQuantity\": 0,\n        \"maxQuantity\": 0\n    },\n    \"customer\": {\n        \"email\": \"string\",\n        \"name\": \"string\",\n        \"phoneNumber\": \"string\",\n        \"attributes\": {\n            \"name\": \"string\",\n            \"phoneNumber\": \"string\",\n            \"email\": \"string\"\n        }\n    },\n    \"cartItems\": [\n        {\n            \"amount\": 0,\n            \"name\": \"string\",\n            \"image\": \"string\",\n            \"description\": \"string\"\n        }\n    ],\n    \"focusType\": \"none\",\n    \"cardsIcons\": {\n        \"showVisaIcon\": true,\n        \"showMastercardIcon\": true,\n        \"showDinersIcon\": true,\n        \"showAmericanExpressIcon\": true,\n        \"showIsracardIcon\": true\n    },\n    \"backgroundColor\": \"string\",\n    \"showTotalSumInPayButton\": true\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/payments-backend/api/PaymentPages/InitZCreditPaymentPage"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n  \"statusDescription\": \"string\",\n  \"statusCode\": 0,\n  \"sessionId\": \"string\",\n  \"httpStatus\": 0,\n  \"result\": {\n    \"sessionUrl\": \"string\"\n  }\n}"}],"_postman_id":"db71b345-5485-483e-b37a-9c43af8defc4"},{"name":"ExecuteBulkPayments","id":"9388fed0-198e-481b-a891-6a745a8e8291","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","description":"<p>Request body format</p>\n"},{"key":"Accept","value":"application/json","description":"<p>Expected response format</p>\n"},{"key":"Authorization","value":"{{CognitoToken}}","description":"<p>JWT access token</p>\n"}],"body":{"mode":"raw","raw":"{\n    \"remoteFolderPath\": \"string\",\n    \"remoteFileName\": \"string\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/consumers-backend/api/Payments/ExecuteBulkPayments","description":"<p>Processes a bulk payment file from remote storage. Reads the file and executes J5 and money charge transactions for each entry in sequence.</p>\n<h2 id=\"request-parameters\">Request Parameters</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Type</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>remoteFolderPath</td>\n<td>string</td>\n<td>Required</td>\n<td>Remote storage folder path</td>\n</tr>\n<tr>\n<td>remoteFileName</td>\n<td>string</td>\n<td>Required</td>\n<td>Name of the file to process</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"response-fields\">Response Fields</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>success</code></td>\n<td>array</td>\n</tr>\n<tr>\n<td><code>success[].cardIssuerInternalId</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>success[].j5TransactionReferenceNumber</code></td>\n<td>number</td>\n</tr>\n<tr>\n<td><code>success[].j5TransactionApprovalNumber</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>success[].moneyChargeTransactionReferenceNumber</code></td>\n<td>number</td>\n</tr>\n<tr>\n<td><code>success[].moneyChargeTransactionApprovalNumber</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>failed</code></td>\n<td>array</td>\n</tr>\n<tr>\n<td><code>failed[].cardIssuerInternalId</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>failed[].reason</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>failed[].additionalInfo</code></td>\n<td>string</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["consumers-backend","api","Payments","ExecuteBulkPayments"],"host":["api","stage","cal-platform","com"],"query":[],"variable":[]}},"response":[{"id":"4c1c4618-6f69-41eb-8fc6-fa52b3156e6b","name":"ExecuteBulkPayments","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","description":"Request body format"},{"key":"Accept","value":"application/json","description":"Expected response format"},{"key":"Authorization","value":"{{CognitoToken}}","description":"JWT access token"}],"body":{"mode":"raw","raw":"{\n    \"remoteFolderPath\": \"string\",\n    \"remoteFileName\": \"string\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/consumers-backend/api/Payments/ExecuteBulkPayments"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n  \"statusDescription\": \"string\",\n  \"statusCode\": 0,\n  \"sessionId\": \"string\",\n  \"httpStatus\": 0,\n  \"result\": {\n    \"success\": [\n      {\n        \"cardIssuerInternalId\": \"string\",\n        \"j5TransactionReferenceNumber\": 0,\n        \"j5TransactionApprovalNumber\": \"string\",\n        \"moneyChargeTransactionReferenceNumber\": 0,\n        \"moneyChargeTransactionApprovalNumber\": \"string\"\n      }\n    ],\n    \"failed\": [\n      {\n        \"cardIssuerInternalId\": \"string\",\n        \"reason\": \"string\",\n        \"additionalInfo\": \"string\"\n      }\n    ]\n  }\n}"}],"_postman_id":"9388fed0-198e-481b-a891-6a745a8e8291"},{"name":"Refund","id":"73b39dbd-30f2-4a77-9379-02f89bf70096","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"}],"body":{"mode":"raw","raw":"{\n    \"terminalKey\": \"string\",\n    \"transactionReferenceNumber\": 0\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/payments-backend/api/Transactions/Refund","description":"<p>Refunds a previously processed transaction.</p>\n<h2 id=\"request-parameters\">Request Parameters</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Type</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>terminalKey</td>\n<td>string</td>\n<td>Required</td>\n<td>Terminal key identifying the payment terminal</td>\n</tr>\n<tr>\n<td>transactionReferenceNumber</td>\n<td>number</td>\n<td>Required</td>\n<td>Reference number of the transaction to refund</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"response-fields\">Response Fields</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>isSuccess</code></td>\n<td>boolean</td>\n</tr>\n<tr>\n<td><code>refundedTransactionReferenceNumber</code></td>\n<td>number</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["payments-backend","api","Transactions","Refund"],"host":["api","stage","cal-platform","com"],"query":[],"variable":[]}},"response":[{"id":"0b66a1ac-d684-4916-8db9-2e5e0945c092","name":"Refund","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"}],"body":{"mode":"raw","raw":"{\n    \"terminalKey\": \"string\",\n    \"transactionReferenceNumber\": 0\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/payments-backend/api/Transactions/Refund"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n  \"statusDescription\": \"string\",\n  \"statusCode\": 0,\n  \"sessionId\": \"string\",\n  \"httpStatus\": 0,\n  \"result\": {\n    \"isSuccess\": true,\n    \"refundedTransactionReferenceNumber\": 0\n  }\n}"}],"_postman_id":"73b39dbd-30f2-4a77-9379-02f89bf70096"},{"name":"SwapCard","id":"cf3d8fe2-9f64-40fb-a894-29519d301283","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"}],"body":{"mode":"raw","raw":"{\n    \"id\": \"string\",\n    \"customerId\": \"string\",\n    \"cardId\": \"string\",\n    \"substituteCardId\": \"string\",\n    \"substituteCardPan\": \"string\",\n    \"blocked\": true,\n    \"cardStatus\": \"string\",\n    \"statusTimestamp\": \"string\",\n    \"cardType\": \"string\",\n    \"isVirtual\": true,\n    \"linkedToWallet\": true,\n    \"cardProduct\": \"string\",\n    \"cardHolderName\": \"string\",\n    \"cardHolderNameHebrew\": \"string\",\n    \"last4\": \"string\",\n    \"substituteCardLast4\": \"string\",\n    \"expiration\": \"string\",\n    \"partialAuth\": true,\n    \"businessPartnerCode\": \"string\",\n    \"employeeId\": \"string\",\n    \"actionCode\": 0,\n    \"isGov\": true\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/consumers-issuer-services/api/ConsumerCards/SwapCard","description":"<p>Swaps a consumer credit card with a substitute card, updating the card assignment and associated metadata.</p>\n<h2 id=\"request-parameters\">Request Parameters</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Type</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>string</td>\n<td>Required</td>\n<td>Internal operation identifier</td>\n</tr>\n<tr>\n<td>customerId</td>\n<td>string</td>\n<td>Required</td>\n<td>Consumer's internal customer ID</td>\n</tr>\n<tr>\n<td>cardId</td>\n<td>string</td>\n<td>Required</td>\n<td>Internal ID of the card being replaced</td>\n</tr>\n<tr>\n<td>substituteCardId</td>\n<td>string</td>\n<td>Required</td>\n<td>Internal ID of the substitute card</td>\n</tr>\n<tr>\n<td>substituteCardPan</td>\n<td>string</td>\n<td>Required</td>\n<td>Full PAN of the substitute card</td>\n</tr>\n<tr>\n<td>blocked</td>\n<td>boolean</td>\n<td>Optional</td>\n<td>Whether the card is in a blocked state</td>\n</tr>\n<tr>\n<td>cardStatus</td>\n<td>string</td>\n<td>Required</td>\n<td>Current status code of the card</td>\n</tr>\n<tr>\n<td>statusTimestamp</td>\n<td>string</td>\n<td>Required</td>\n<td>Timestamp of the card status change</td>\n</tr>\n<tr>\n<td>cardType</td>\n<td>string</td>\n<td>Required</td>\n<td>Card type code</td>\n</tr>\n<tr>\n<td>isVirtual</td>\n<td>boolean</td>\n<td>Required</td>\n<td>Whether the card is a virtual card</td>\n</tr>\n<tr>\n<td>linkedToWallet</td>\n<td>boolean</td>\n<td>Required</td>\n<td>Whether the card is linked to a digital wallet</td>\n</tr>\n<tr>\n<td>cardProduct</td>\n<td>string</td>\n<td>Required</td>\n<td>Card product code</td>\n</tr>\n<tr>\n<td>cardHolderName</td>\n<td>string</td>\n<td>Required</td>\n<td>Cardholder's full name in Latin characters</td>\n</tr>\n<tr>\n<td>cardHolderNameHebrew</td>\n<td>string</td>\n<td>Required</td>\n<td>Cardholder's full name in Hebrew characters</td>\n</tr>\n<tr>\n<td>last4</td>\n<td>string</td>\n<td>Required</td>\n<td>Last 4 digits of the original card</td>\n</tr>\n<tr>\n<td>substituteCardLast4</td>\n<td>string</td>\n<td>Required</td>\n<td>Last 4 digits of the substitute card</td>\n</tr>\n<tr>\n<td>expiration</td>\n<td>string</td>\n<td>Required</td>\n<td>Card expiration date in YYYY-MM format</td>\n</tr>\n<tr>\n<td>partialAuth</td>\n<td>boolean</td>\n<td>Required</td>\n<td>Whether partial authorization is enabled</td>\n</tr>\n<tr>\n<td>businessPartnerCode</td>\n<td>string</td>\n<td>Required</td>\n<td>Business partner code</td>\n</tr>\n<tr>\n<td>employeeId</td>\n<td>string</td>\n<td>Required</td>\n<td>Employee identifier</td>\n</tr>\n<tr>\n<td>actionCode</td>\n<td>number</td>\n<td>Required</td>\n<td>Numeric action code for the swap operation</td>\n</tr>\n<tr>\n<td>isGov</td>\n<td>boolean</td>\n<td>Optional</td>\n<td>Whether the card belongs to a government entity</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"response-fields\">Response Fields</h3>\n<p><em>No result data returned.</em></p>\n","urlObject":{"protocol":"https","path":["consumers-issuer-services","api","ConsumerCards","SwapCard"],"host":["api","stage","cal-platform","com"],"query":[],"variable":[]}},"response":[{"id":"551e9aee-70f4-4d72-b2ba-57c954040503","name":"SwapCard","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"}],"body":{"mode":"raw","raw":"{\n    \"id\": \"string\",\n    \"customerId\": \"string\",\n    \"cardId\": \"string\",\n    \"substituteCardId\": \"string\",\n    \"substituteCardPan\": \"string\",\n    \"blocked\": true,\n    \"cardStatus\": \"string\",\n    \"statusTimestamp\": \"string\",\n    \"cardType\": \"string\",\n    \"isVirtual\": true,\n    \"linkedToWallet\": true,\n    \"cardProduct\": \"string\",\n    \"cardHolderName\": \"string\",\n    \"cardHolderNameHebrew\": \"string\",\n    \"last4\": \"string\",\n    \"substituteCardLast4\": \"string\",\n    \"expiration\": \"string\",\n    \"partialAuth\": true,\n    \"businessPartnerCode\": \"string\",\n    \"employeeId\": \"string\",\n    \"actionCode\": 0,\n    \"isGov\": true\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/consumers-issuer-services/api/ConsumerCards/SwapCard"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n  \"statusDescription\": \"string\",\n  \"statusCode\": 0,\n  \"sessionId\": \"string\",\n  \"httpStatus\": 0,\n  \"result\": {}\n}"}],"_postman_id":"cf3d8fe2-9f64-40fb-a894-29519d301283"},{"name":"UpdateCardStatus","id":"4591cbbb-7c69-4b47-bffa-93632140238c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"}],"body":{"mode":"raw","raw":"{\n    \"cardId\": \"string\",\n    \"blocked\": true,\n    \"cardStatus\": \"string\",\n    \"actionCode\": 0\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/consumers-issuer-services/api/ConsumerCards/UpdateCardStatus","description":"<p>Updates the blocked flag and status of a consumer card.</p>\n<h2 id=\"request-parameters\">Request Parameters</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Type</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>cardId</td>\n<td>string</td>\n<td>Required</td>\n<td>Internal ID of the card to update</td>\n</tr>\n<tr>\n<td>blocked</td>\n<td>boolean</td>\n<td>Required</td>\n<td>Whether the card should be blocked</td>\n</tr>\n<tr>\n<td>cardStatus</td>\n<td>string</td>\n<td>Required</td>\n<td>New status to apply to the card</td>\n</tr>\n<tr>\n<td>actionCode</td>\n<td>number</td>\n<td>Required</td>\n<td>Numeric action code for the status update</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"response-fields\">Response Fields</h3>\n<p><em>No result data returned.</em></p>\n","urlObject":{"protocol":"https","path":["consumers-issuer-services","api","ConsumerCards","UpdateCardStatus"],"host":["api","stage","cal-platform","com"],"query":[],"variable":[]}},"response":[{"id":"7afba830-344e-4941-964c-04eb1e7f80b7","name":"UpdateCardStatus","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"}],"body":{"mode":"raw","raw":"{\n    \"cardId\": \"string\",\n    \"blocked\": true,\n    \"cardStatus\": \"string\",\n    \"actionCode\": 0\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/consumers-issuer-services/api/ConsumerCards/UpdateCardStatus"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n  \"statusDescription\": \"string\",\n  \"statusCode\": 0,\n  \"sessionId\": \"string\",\n  \"httpStatus\": 0,\n  \"result\": {}\n}"}],"_postman_id":"4591cbbb-7c69-4b47-bffa-93632140238c"},{"name":"AddApproval","id":"769c5980-7e3c-4e0d-ac26-56dcee70a4c2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"}],"body":{"mode":"raw","raw":"{\n    \"companyCode\": \"string\",\n    \"amount\": 0,\n    \"tranAmountBilling\": 0,\n    \"transactionStatus\": \"string\",\n    \"channelType\": \"string\",\n    \"mcc\": \"string\",\n    \"tpaBusinessPartnerCode\": \"string\",\n    \"merchantName\": \"string\",\n    \"trnId\": \"string\",\n    \"tpaApprovalAmount\": \"string\",\n    \"finalAnswerCode\": \"string\",\n    \"customerId\": \"string\",\n    \"j5Ind\": \"string\",\n    \"currencyCode\": \"string\",\n    \"cardAcceptIdent\": \"string\",\n    \"cardNumber\": \"string\",\n    \"cardInternalId\": \"string\",\n    \"timestamp\": \"string\",\n    \"terminal\": \"string\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/consumers-issuer-services/api/Approvals/AddApproval","description":"<p>Records a payment approval event for a consumer card transaction.</p>\n<h2 id=\"request-parameters\">Request Parameters</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Type</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>companyCode</td>\n<td>string</td>\n<td>Optional</td>\n<td>Company code associated with the transaction</td>\n</tr>\n<tr>\n<td>amount</td>\n<td>number</td>\n<td>Optional</td>\n<td>Transaction amount</td>\n</tr>\n<tr>\n<td>tranAmountBilling</td>\n<td>number</td>\n<td>Optional</td>\n<td>Transaction amount in billing currency</td>\n</tr>\n<tr>\n<td>transactionStatus</td>\n<td>string</td>\n<td>Optional</td>\n<td>Status of the transaction</td>\n</tr>\n<tr>\n<td>channelType</td>\n<td>string</td>\n<td>Optional</td>\n<td>Channel through which the transaction was initiated</td>\n</tr>\n<tr>\n<td>mcc</td>\n<td>string</td>\n<td>Optional</td>\n<td>Merchant category code</td>\n</tr>\n<tr>\n<td>tpaBusinessPartnerCode</td>\n<td>string</td>\n<td>Optional</td>\n<td>TPA business partner code</td>\n</tr>\n<tr>\n<td>merchantName</td>\n<td>string</td>\n<td>Optional</td>\n<td>Name of the merchant</td>\n</tr>\n<tr>\n<td>trnId</td>\n<td>string</td>\n<td>Optional</td>\n<td>Transaction identifier</td>\n</tr>\n<tr>\n<td>tpaApprovalAmount</td>\n<td>string</td>\n<td>Optional</td>\n<td>Approval amount as reported by the TPA</td>\n</tr>\n<tr>\n<td>finalAnswerCode</td>\n<td>string</td>\n<td>Optional</td>\n<td>Final answer code from the issuer</td>\n</tr>\n<tr>\n<td>customerId</td>\n<td>string</td>\n<td>Optional</td>\n<td>Consumer's internal customer ID</td>\n</tr>\n<tr>\n<td>j5Ind</td>\n<td>string</td>\n<td>Optional</td>\n<td>J5 indicator</td>\n</tr>\n<tr>\n<td>currencyCode</td>\n<td>string</td>\n<td>Optional</td>\n<td>Currency code of the transaction</td>\n</tr>\n<tr>\n<td>cardAcceptIdent</td>\n<td>string</td>\n<td>Optional</td>\n<td>Card acceptor identifier</td>\n</tr>\n<tr>\n<td>cardNumber</td>\n<td>string</td>\n<td>Optional</td>\n<td>Card number involved in the transaction</td>\n</tr>\n<tr>\n<td>cardInternalId</td>\n<td>string</td>\n<td>Optional</td>\n<td>Card's internal identifier</td>\n</tr>\n<tr>\n<td>timestamp</td>\n<td>string</td>\n<td>Optional</td>\n<td>Timestamp of the approval event</td>\n</tr>\n<tr>\n<td>terminal</td>\n<td>string</td>\n<td>Optional</td>\n<td>Terminal identifier</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"response-fields\">Response Fields</h3>\n<p><em>No result data returned.</em></p>\n","urlObject":{"protocol":"https","path":["consumers-issuer-services","api","Approvals","AddApproval"],"host":["api","stage","cal-platform","com"],"query":[],"variable":[]}},"response":[{"id":"cfeb6be3-a410-4320-9f61-c12cc2f33e3a","name":"AddApproval","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"}],"body":{"mode":"raw","raw":"{\n    \"companyCode\": \"string\",\n    \"amount\": 0,\n    \"tranAmountBilling\": 0,\n    \"transactionStatus\": \"string\",\n    \"channelType\": \"string\",\n    \"mcc\": \"string\",\n    \"tpaBusinessPartnerCode\": \"string\",\n    \"merchantName\": \"string\",\n    \"trnId\": \"string\",\n    \"tpaApprovalAmount\": \"string\",\n    \"finalAnswerCode\": \"string\",\n    \"customerId\": \"string\",\n    \"j5Ind\": \"string\",\n    \"currencyCode\": \"string\",\n    \"cardAcceptIdent\": \"string\",\n    \"cardNumber\": \"string\",\n    \"cardInternalId\": \"string\",\n    \"timestamp\": \"string\",\n    \"terminal\": \"string\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/consumers-issuer-services/api/Approvals/AddApproval"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n  \"statusDescription\": \"string\",\n  \"statusCode\": 0,\n  \"sessionId\": \"string\",\n  \"httpStatus\": 0,\n  \"result\": {}\n}"}],"_postman_id":"769c5980-7e3c-4e0d-ac26-56dcee70a4c2"},{"name":"SendSms","id":"393214db-3eaa-4d35-9d00-a55bc7bda77b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"}],"body":{"mode":"raw","raw":"{\n    \"customerIdentifier\": \"string\",\n    \"identifierType\": \"id\",\n    \"content\": \"string\",\n    \"sender\": \"string\",\n    \"phoneNumber\": \"string\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/consumers-issuer-services/api/Communication/SendSms","description":"<p>Sends an SMS message to a consumer identified by the given identifier type.</p>\n<h2 id=\"request-parameters\">Request Parameters</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Type</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>customerIdentifier</td>\n<td>string</td>\n<td>Required</td>\n<td>The value of the consumer identifier</td>\n</tr>\n<tr>\n<td>identifierType</td>\n<td>string</td>\n<td>Required</td>\n<td>Type of identifier used to look up the consumer</td>\n</tr>\n<tr>\n<td></td>\n<td></td>\n<td></td>\n<td><code>id</code> — National ID</td>\n</tr>\n<tr>\n<td></td>\n<td></td>\n<td></td>\n<td><code>index</code> — Index number</td>\n</tr>\n<tr>\n<td></td>\n<td></td>\n<td></td>\n<td><code>passport</code> — Passport number</td>\n</tr>\n<tr>\n<td></td>\n<td></td>\n<td></td>\n<td><code>driversLicense</code> — Driver's license</td>\n</tr>\n<tr>\n<td></td>\n<td></td>\n<td></td>\n<td><code>socialSecurityNumber</code> — Social security number</td>\n</tr>\n<tr>\n<td>content</td>\n<td>string</td>\n<td>Required</td>\n<td>SMS message content to send</td>\n</tr>\n<tr>\n<td>sender</td>\n<td>string</td>\n<td>Optional</td>\n<td>Sender name or number override</td>\n</tr>\n<tr>\n<td>phoneNumber</td>\n<td>string</td>\n<td>Optional</td>\n<td>Phone number override for the SMS destination</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"response-fields\">Response Fields</h3>\n<p><em>No result data returned.</em></p>\n","urlObject":{"protocol":"https","path":["consumers-issuer-services","api","Communication","SendSms"],"host":["api","stage","cal-platform","com"],"query":[],"variable":[]}},"response":[{"id":"37441896-a907-432f-b8d1-a6ad4095af79","name":"SendSms","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"}],"body":{"mode":"raw","raw":"{\n    \"customerIdentifier\": \"string\",\n    \"identifierType\": \"id\",\n    \"content\": \"string\",\n    \"sender\": \"string\",\n    \"phoneNumber\": \"string\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/consumers-issuer-services/api/Communication/SendSms"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n  \"statusDescription\": \"string\",\n  \"statusCode\": 0,\n  \"sessionId\": \"string\",\n  \"httpStatus\": 0,\n  \"result\": {}\n}"}],"_postman_id":"393214db-3eaa-4d35-9d00-a55bc7bda77b"}],"id":"f6c2e776-9acb-468e-8c87-6b02c36fa899","_postman_id":"f6c2e776-9acb-468e-8c87-6b02c36fa899","description":""},{"name":"Fc Wallet","item":[{"name":"GetAllocationsBalances","id":"36604931-dc72-48c4-acf8-7af4c3b40b7c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"}],"body":{"mode":"raw","raw":"{\n    \"cardIssuerInternalId\": \"string\",\n    \"budgetCategoryType\": \"string\",\n    \"aggregateTargetCurrency\": 0,\n    \"filterCurrency\": 0\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/consumers-card-management/api/BudgetAllocations/GetAllocationsBalances","description":"<p>Retrieves all allocation balances for a given card, with optional filtering by currency and aggregation into a target currency.</p>\n<h2 id=\"request-body-parameters\">Request Body Parameters</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Type</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>cardIssuerInternalId</code></td>\n<td><code>string</code></td>\n<td><strong>Required</strong></td>\n<td>The card issuer's internal identifier. Leading zeros are stripped.</td>\n</tr>\n<tr>\n<td><code>budgetCategoryType</code></td>\n<td><code>string</code></td>\n<td>Optional</td>\n<td>Filter results to a specific budget category type. Use <code>*</code> for all categories.</td>\n</tr>\n<tr>\n<td><code>aggregateTargetCurrency</code></td>\n<td><code>number</code></td>\n<td>Optional</td>\n<td>ISO 4217 numeric currency code. When provided, <code>aggregateBalance</code> is converted into this currency.</td>\n</tr>\n<tr>\n<td><code>filterCurrency</code></td>\n<td><code>number</code></td>\n<td>Optional</td>\n<td>ISO 4217 numeric currency code. When provided, only balances in this currency are returned.</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"response-fields\">Response Fields</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>aggregateBalance</code></td>\n<td>number</td>\n</tr>\n<tr>\n<td><code>balances</code></td>\n<td>array</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["consumers-card-management","api","BudgetAllocations","GetAllocationsBalances"],"host":["api","stage","cal-platform","com"],"query":[],"variable":[]}},"response":[{"id":"e3a71cf0-dbc6-4e3d-aa71-fff08583c679","name":"GetAllocationsBalances","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"}],"body":{"mode":"raw","raw":"{\n    \"cardIssuerInternalId\": \"string\",\n    \"budgetCategoryType\": \"string\",\n    \"aggregateTargetCurrency\": 0,\n    \"filterCurrency\": 0\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/consumers-card-management/api/BudgetAllocations/GetAllocationsBalances"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n  \"statusDescription\": \"string\",\n  \"statusCode\": 0,\n  \"sessionId\": \"string\",\n  \"httpStatus\": 0,\n  \"result\": {\n    \"aggregateBalance\": 0,\n    \"balances\": [\n      \"string\"\n    ]\n  }\n}"}],"_postman_id":"36604931-dc72-48c4-acf8-7af4c3b40b7c"},{"name":"CreateCard","id":"54b1375e-9707-463f-accf-fc48ad6b0107","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"}],"body":{"mode":"raw","raw":"{\n    \"customerExternalId\": \"string\",\n    \"email\": \"string\",\n    \"cellularAreaCode\": \"string\",\n    \"cellularNumber\": \"string\",\n    \"cardFullNumber\": \"string\",\n    \"customerId\": \"string\",\n    \"cardId\": \"string\",\n    \"cardHolderName\": \"string\",\n    \"cardHolderNameHebrew\": \"string\",\n    \"last4\": \"string\",\n    \"expiration\": \"string\",\n    \"cardNetwork\": \"1\",\n    \"cardProduct\": \"string\",\n    \"businessPartnerCode\": \"string\",\n    \"paymentAccountManagerCode\": \"string\",\n    \"partialAuth\": true,\n    \"custodiaUserId\": \"string\",\n    \"isGov\": true,\n    \"paymentAccountManagerEnvironment\": \"string\",\n    \"isPlatformIssuance\": true,\n    \"isVirtual\": true,\n    \"paymentAccountManager\": \"string\",\n    \"cardStatus\": \"string\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/consumers-issuer-services/api/ConsumerCards/CreateCard","description":"<p>Creates a new consumer card with the specified cardholder information, product type, and payment account manager details.</p>\n<h2 id=\"request-parameters\">Request Parameters</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Type</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>customerExternalId</td>\n<td>string</td>\n<td>Required</td>\n<td>Consumer's external identifier</td>\n</tr>\n<tr>\n<td>email</td>\n<td>string</td>\n<td>Required</td>\n<td>Consumer's email address</td>\n</tr>\n<tr>\n<td>cellularAreaCode</td>\n<td>string</td>\n<td>Required</td>\n<td>Phone number area code</td>\n</tr>\n<tr>\n<td>cellularNumber</td>\n<td>string</td>\n<td>Required</td>\n<td>Phone number</td>\n</tr>\n<tr>\n<td>cardFullNumber</td>\n<td>string</td>\n<td>Required</td>\n<td>Full card PAN</td>\n</tr>\n<tr>\n<td>customerId</td>\n<td>string</td>\n<td>Required</td>\n<td>Consumer's internal customer ID</td>\n</tr>\n<tr>\n<td>cardId</td>\n<td>string</td>\n<td>Required</td>\n<td>Card's internal ID</td>\n</tr>\n<tr>\n<td>cardHolderName</td>\n<td>string</td>\n<td>Required</td>\n<td>Cardholder's full name in Latin characters</td>\n</tr>\n<tr>\n<td>cardHolderNameHebrew</td>\n<td>string</td>\n<td>Required</td>\n<td>Cardholder's full name in Hebrew characters</td>\n</tr>\n<tr>\n<td>last4</td>\n<td>string</td>\n<td>Required</td>\n<td>Last 4 digits of the card</td>\n</tr>\n<tr>\n<td>expiration</td>\n<td>string</td>\n<td>Required</td>\n<td>Card expiration date in YYYY-MM format</td>\n</tr>\n<tr>\n<td>cardNetwork</td>\n<td>string</td>\n<td>Required</td>\n<td>Card brand/network</td>\n</tr>\n<tr>\n<td></td>\n<td></td>\n<td></td>\n<td><code>1</code> — Visa</td>\n</tr>\n<tr>\n<td></td>\n<td></td>\n<td></td>\n<td><code>3</code> — Diners</td>\n</tr>\n<tr>\n<td></td>\n<td></td>\n<td></td>\n<td><code>6</code> — MasterCard</td>\n</tr>\n<tr>\n<td>cardProduct</td>\n<td>string</td>\n<td>Required</td>\n<td>Card product code</td>\n</tr>\n<tr>\n<td>businessPartnerCode</td>\n<td>string</td>\n<td>Required</td>\n<td>Business partner code</td>\n</tr>\n<tr>\n<td>paymentAccountManagerCode</td>\n<td>string</td>\n<td>Required</td>\n<td>Payment account manager code</td>\n</tr>\n<tr>\n<td>partialAuth</td>\n<td>boolean</td>\n<td>Optional</td>\n<td>Whether partial authorization is enabled</td>\n</tr>\n<tr>\n<td>custodiaUserId</td>\n<td>string</td>\n<td>Optional</td>\n<td>Consumer's Custodia user ID</td>\n</tr>\n<tr>\n<td>isGov</td>\n<td>boolean</td>\n<td>Optional</td>\n<td>Whether the card is for a government entity</td>\n</tr>\n<tr>\n<td>paymentAccountManagerEnvironment</td>\n<td>string</td>\n<td>Optional</td>\n<td>Payment account manager environment</td>\n</tr>\n<tr>\n<td></td>\n<td></td>\n<td></td>\n<td><code>gov</code> — Government environment</td>\n</tr>\n<tr>\n<td></td>\n<td></td>\n<td></td>\n<td><code>platformGov</code> — Platform government environment</td>\n</tr>\n<tr>\n<td>isPlatformIssuance</td>\n<td>boolean</td>\n<td>Optional</td>\n<td>Whether card issuance was done via the platform</td>\n</tr>\n<tr>\n<td>isVirtual</td>\n<td>boolean</td>\n<td>Optional</td>\n<td>Whether the card is a virtual card</td>\n</tr>\n<tr>\n<td>paymentAccountManager</td>\n<td>string</td>\n<td>Optional</td>\n<td>Payment account manager</td>\n</tr>\n<tr>\n<td></td>\n<td></td>\n<td></td>\n<td><code>platform</code> — Platform</td>\n</tr>\n<tr>\n<td></td>\n<td></td>\n<td></td>\n<td><code>custodia</code> — Custodia</td>\n</tr>\n<tr>\n<td></td>\n<td></td>\n<td></td>\n<td><code>paybox</code> — Paybox</td>\n</tr>\n<tr>\n<td></td>\n<td></td>\n<td></td>\n<td><code>coinBridge</code> — CoinBridge</td>\n</tr>\n<tr>\n<td></td>\n<td></td>\n<td></td>\n<td><code>wolt</code> — Wolt</td>\n</tr>\n<tr>\n<td></td>\n<td></td>\n<td></td>\n<td><code>remitly</code> — Remitly</td>\n</tr>\n<tr>\n<td>cardStatus</td>\n<td>string</td>\n<td>Optional</td>\n<td>Initial card status</td>\n</tr>\n<tr>\n<td></td>\n<td></td>\n<td></td>\n<td><code>1</code> — UnActivated</td>\n</tr>\n<tr>\n<td></td>\n<td></td>\n<td></td>\n<td><code>2</code> — Activated</td>\n</tr>\n<tr>\n<td></td>\n<td></td>\n<td></td>\n<td><code>3</code> — Suspended</td>\n</tr>\n<tr>\n<td></td>\n<td></td>\n<td></td>\n<td><code>4</code> — Terminated</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"response-fields\">Response Fields</h3>\n<p><em>No result data returned.</em></p>\n","urlObject":{"protocol":"https","path":["consumers-issuer-services","api","ConsumerCards","CreateCard"],"host":["api","stage","cal-platform","com"],"query":[],"variable":[]}},"response":[{"id":"03e1507c-7ab8-4e74-84c1-de529c0597a1","name":"CreateCard","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"}],"body":{"mode":"raw","raw":"{\n    \"customerExternalId\": \"string\",\n    \"email\": \"string\",\n    \"cellularAreaCode\": \"string\",\n    \"cellularNumber\": \"string\",\n    \"cardFullNumber\": \"string\",\n    \"customerId\": \"string\",\n    \"cardId\": \"string\",\n    \"cardHolderName\": \"string\",\n    \"cardHolderNameHebrew\": \"string\",\n    \"last4\": \"string\",\n    \"expiration\": \"string\",\n    \"cardNetwork\": \"1\",\n    \"cardProduct\": \"string\",\n    \"businessPartnerCode\": \"string\",\n    \"paymentAccountManagerCode\": \"string\",\n    \"partialAuth\": true,\n    \"custodiaUserId\": \"string\",\n    \"isGov\": true,\n    \"paymentAccountManagerEnvironment\": \"string\",\n    \"isPlatformIssuance\": true,\n    \"isVirtual\": true,\n    \"paymentAccountManager\": \"string\",\n    \"cardStatus\": \"string\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/consumers-issuer-services/api/ConsumerCards/CreateCard"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n  \"statusDescription\": \"string\",\n  \"statusCode\": 0,\n  \"sessionId\": \"string\",\n  \"httpStatus\": 0,\n  \"result\": {}\n}"}],"_postman_id":"54b1375e-9707-463f-accf-fc48ad6b0107"},{"name":"CalculateRate","event":[{"listen":"test","script":{"exec":["const jsonResponse = pm.response.json();"],"type":"text/javascript","packages":{},"requests":{},"id":"3bf03001-003e-43dc-8ee3-a8725721d7ae"}}],"id":"24b0763b-bdba-4471-85f9-cd769836361c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"}],"body":{"mode":"raw","raw":"{\n    \"buyCurrency\": 0,\n    \"sellCurrency\": 0,\n    \"amount\": 0,\n    \"fixed\": \"buy\",\n    \"cardIssuerInternalId\": \"string\",\n    \"businessPartnerCode\": \"string\",\n    \"customerRate\": \"Silver\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/consumers-foreign-currency/api/ForeignCurrency/CalculateRate","description":"<p>Calculates the exchange rate between two currencies for a given amount, based on the fixed side and optional customer pricing tier.</p>\n<h2 id=\"request-body-parameters\">Request Body Parameters</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Type</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>buyCurrency</code></td>\n<td><code>number</code></td>\n<td><strong>Required</strong></td>\n<td>ISO 4217 numeric code of the currency to buy.</td>\n</tr>\n<tr>\n<td><code>sellCurrency</code></td>\n<td><code>number</code></td>\n<td><strong>Required</strong></td>\n<td>ISO 4217 numeric code of the currency to sell.</td>\n</tr>\n<tr>\n<td><code>amount</code></td>\n<td><code>number</code></td>\n<td><strong>Required</strong></td>\n<td>Transaction amount in the fixed currency.</td>\n</tr>\n<tr>\n<td><code>fixed</code></td>\n<td><code>string</code></td>\n<td><strong>Required</strong></td>\n<td>Indicates which side of the exchange is fixed. Allowed values: <code>buy</code>, <code>sell</code>.</td>\n</tr>\n<tr>\n<td><code>cardIssuerInternalId</code></td>\n<td><code>string</code></td>\n<td>Optional</td>\n<td>The card issuer's internal identifier.</td>\n</tr>\n<tr>\n<td><code>businessPartnerCode</code></td>\n<td><code>string</code></td>\n<td>Optional</td>\n<td>Business partner code.</td>\n</tr>\n<tr>\n<td><code>customerRate</code></td>\n<td><code>string</code></td>\n<td>Optional</td>\n<td>Customer pricing tier. Allowed values: <code>Silver</code>, <code>Bronze</code>, <code>Gold</code>.</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"response-fields\">Response Fields</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>exchangeRate</code></td>\n<td>number</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["consumers-foreign-currency","api","ForeignCurrency","CalculateRate"],"host":["api","stage","cal-platform","com"],"query":[],"variable":[]}},"response":[{"id":"5189b546-1496-4135-a3c0-ba3a2dde44c1","name":"CalculateRate","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"}],"body":{"mode":"raw","raw":"{\n    \"buyCurrency\": 0,\n    \"sellCurrency\": 0,\n    \"amount\": 0,\n    \"fixed\": \"buy\",\n    \"cardIssuerInternalId\": \"string\",\n    \"businessPartnerCode\": \"string\",\n    \"customerRate\": \"Silver\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/consumers-foreign-currency/api/ForeignCurrency/CalculateRate"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n  \"statusDescription\": \"string\",\n  \"statusCode\": 0,\n  \"sessionId\": \"string\",\n  \"httpStatus\": 0,\n  \"result\": {\n    \"exchangeRate\": 0\n  }\n}"}],"_postman_id":"24b0763b-bdba-4471-85f9-cd769836361c"},{"name":"Charge","id":"aa5f3ad8-f83c-4904-89ff-78573dba92b4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"}],"body":{"mode":"raw","raw":"{\n    \"cardIssuerInternalId\": \"string\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/consumers-foreign-currency/api/ForeignCurrency/Charge","description":"<p>Triggers the charge step of a foreign currency transaction for the specified card issuer.</p>\n<h2 id=\"request-body-parameters\">Request Body Parameters</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Type</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>cardIssuerInternalId</code></td>\n<td><code>string</code></td>\n<td><strong>Required</strong></td>\n<td>The card issuer's internal identifier.</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"response-fields\">Response Fields</h3>\n<p><em>No result data returned.</em></p>\n","urlObject":{"protocol":"https","path":["consumers-foreign-currency","api","ForeignCurrency","Charge"],"host":["api","stage","cal-platform","com"],"query":[],"variable":[]}},"response":[{"id":"deb3f956-9642-41d7-8cfb-e5eb25ff65da","name":"Charge","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"}],"body":{"mode":"raw","raw":"{\n    \"cardIssuerInternalId\": \"string\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/consumers-foreign-currency/api/ForeignCurrency/Charge"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n  \"statusDescription\": \"string\",\n  \"statusCode\": 0,\n  \"sessionId\": \"string\",\n  \"httpStatus\": 0,\n  \"result\": {}\n}"}],"_postman_id":"aa5f3ad8-f83c-4904-89ff-78573dba92b4"},{"name":"Sale","id":"a0582064-ec4e-4f08-9897-ee2b87aeca26","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"}],"body":{"mode":"raw","raw":"{\n    \"cardIssuerInternalId\": \"string\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/consumers-foreign-currency/api/ForeignCurrency/Sale","description":"<p>Triggers the sale step of a previously charged foreign currency transaction for the specified card issuer.</p>\n<h2 id=\"request-body-parameters\">Request Body Parameters</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Type</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>cardIssuerInternalId</code></td>\n<td><code>string</code></td>\n<td><strong>Required</strong></td>\n<td>The card issuer's internal identifier.</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"response-fields\">Response Fields</h3>\n<p><em>No result data returned.</em></p>\n","urlObject":{"protocol":"https","path":["consumers-foreign-currency","api","ForeignCurrency","Sale"],"host":["api","stage","cal-platform","com"],"query":[],"variable":[]}},"response":[{"id":"5a14495c-e946-443c-a638-3a8659deb012","name":"Sale","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"}],"body":{"mode":"raw","raw":"{\n    \"cardIssuerInternalId\": \"string\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/consumers-foreign-currency/api/ForeignCurrency/Sale"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n  \"statusDescription\": \"string\",\n  \"statusCode\": 0,\n  \"sessionId\": \"string\",\n  \"httpStatus\": 0,\n  \"result\": {}\n}"}],"_postman_id":"a0582064-ec4e-4f08-9897-ee2b87aeca26"},{"name":"VerifyPaymentAccountManager","id":"13e16676-d996-4af9-b33a-78406b8626cd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"}],"body":{"mode":"raw","raw":"{\n    \"paymentAccountManager\": \"platform\",\n    \"cardIssuerInternalId\": \"string\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/consumers-foreign-currency/api/ForeignCurrency/VerifyPaymentAccountManager","description":"<p>Verifies whether a given payment account manager is configured and active for the specified card issuer.</p>\n<h2 id=\"request-body-parameters\">Request Body Parameters</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Type</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>paymentAccountManager</code></td>\n<td><code>string</code></td>\n<td><strong>Required</strong></td>\n<td>The payment account manager to verify. Allowed values: <code>platform</code>, <code>custodia</code>, <code>paybox</code>, <code>coinBridge</code>, <code>wolt</code>, <code>remitly</code>.</td>\n</tr>\n<tr>\n<td><code>cardIssuerInternalId</code></td>\n<td><code>string</code></td>\n<td><strong>Required</strong></td>\n<td>The card issuer's internal identifier.</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"response-fields\">Response Fields</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>isVerified</code></td>\n<td>boolean</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["consumers-foreign-currency","api","ForeignCurrency","VerifyPaymentAccountManager"],"host":["api","stage","cal-platform","com"],"query":[],"variable":[]}},"response":[{"id":"329c3dd2-d4c9-4f26-93b5-01a653a6f503","name":"VerifyPaymentAccountManager","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"}],"body":{"mode":"raw","raw":"{\n    \"paymentAccountManager\": \"platform\",\n    \"cardIssuerInternalId\": \"string\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/consumers-foreign-currency/api/ForeignCurrency/VerifyPaymentAccountManager"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n  \"statusDescription\": \"string\",\n  \"statusCode\": 0,\n  \"sessionId\": \"string\",\n  \"httpStatus\": 0,\n  \"result\": {\n    \"isVerified\": true\n  }\n}"}],"_postman_id":"13e16676-d996-4af9-b33a-78406b8626cd"}],"id":"d87202a3-8e2c-495d-93ba-3de6884c7223","_postman_id":"d87202a3-8e2c-495d-93ba-3de6884c7223","description":""},{"name":"Payment Account","item":[{"name":"Pockets Api","item":[{"name":"Pockets","item":[{"name":"GetPockets","id":"d25ba065-b797-408e-918f-ba519cb15c81","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"},{"key":"X-Organization-Id","value":"{{OrganizationId}}"}],"body":{"mode":"raw","raw":"{\n  \"pagination\": {\n    \"id\": \"string\",\n    \"createdAt\": \"2026-04-30T06:52:06.769Z\",\n    \"limit\": 0\n  },\n  \"filter\": {\n    \"initiativeIds\": [\n      null\n    ],\n    \"periodTypes\": [\n      \"monthly\"\n    ],\n    \"freeText\": \"string\",\n    \"statuses\": [\n      \"pending\"\n    ],\n    \"paymentDeviceIds\": [\n      null\n    ],\n    \"userIds\": [\n      null\n    ],\n    \"customerIds\": [\n      null\n    ],\n    \"pocketIds\": [\n      null\n    ],\n    \"budgetIds\": [\n      null\n    ]\n  }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/payment-account-pockets/api/Pockets/GetPockets","description":"<p>Returns pockets based on filter criteria such as initiative, period type, status, payment device, or user.</p>\n<hr />\n<h3 id=\"request-parameters\">Request Parameters</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field Name</th>\n<th>Required/Optional</th>\n<th>Type</th>\n<th>Description</th>\n<th>Example</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>filter</code></td>\n<td>Required</td>\n<td>object</td>\n<td>Container object for filtering pockets</td>\n<td>—</td>\n</tr>\n<tr>\n<td><code>filter.initiativeIds</code></td>\n<td>Optional</td>\n<td>string[]</td>\n<td>Filter pockets by one or more initiative IDs</td>\n<td>\"abc-001\"</td>\n</tr>\n<tr>\n<td><code>filter.periodTypes</code></td>\n<td>Optional</td>\n<td>string[]</td>\n<td>Filter by recurrence period. Options: monthly, weekly, daily, once</td>\n<td>\"monthly\"</td>\n</tr>\n<tr>\n<td><code>filter.freeText</code></td>\n<td>Optional</td>\n<td>string</td>\n<td>Free-text search across pocket fields</td>\n<td>\"travel\"</td>\n</tr>\n<tr>\n<td><code>filter.statuses</code></td>\n<td>Optional</td>\n<td>string[]</td>\n<td>Filter by pocket status. Options: pending, active, inactive, locked, pendingApproval, deleted, awaitingActivation</td>\n<td>\"active\"</td>\n</tr>\n<tr>\n<td><code>filter.paymentDeviceIds</code></td>\n<td>Optional</td>\n<td>string[]</td>\n<td>Filter pockets by payment device IDs</td>\n<td>\"dev-001\"</td>\n</tr>\n<tr>\n<td><code>filter.userIds</code></td>\n<td>Optional</td>\n<td>string[]</td>\n<td>Filter pockets by user IDs. Subject to caller scope — see User Scoping below</td>\n<td>\"usr-001\"</td>\n</tr>\n<tr>\n<td><code>filter.customerIds</code></td>\n<td>Optional</td>\n<td>string[]</td>\n<td>Filter pockets by customer IDs</td>\n<td>\"cst-001\"</td>\n</tr>\n<tr>\n<td><code>filter.pocketIds</code></td>\n<td>Optional</td>\n<td>string[]</td>\n<td>Filter by specific pocket IDs</td>\n<td>\"pkt-001\"</td>\n</tr>\n<tr>\n<td><code>filter.budgetIds</code></td>\n<td>Optional</td>\n<td>string[]</td>\n<td>Filter pockets assigned to specific budget IDs</td>\n<td>\"bgt-001\"</td>\n</tr>\n<tr>\n<td><code>pagination</code></td>\n<td>Optional</td>\n<td>object</td>\n<td>Cursor-based pagination. Omit to get first page</td>\n<td>—</td>\n</tr>\n<tr>\n<td><code>pagination.id</code></td>\n<td>Optional</td>\n<td>string</td>\n<td>ID of the last item from the previous page (cursor)</td>\n<td>\"pkt-001\"</td>\n</tr>\n<tr>\n<td><code>pagination.createdAt</code></td>\n<td>Required (if pagination provided)</td>\n<td>string (ISO 8601)</td>\n<td>createdAt of the last item from the previous page</td>\n<td>\"2026-01-01T00:00:00.000Z\"</td>\n</tr>\n<tr>\n<td><code>pagination.limit</code></td>\n<td>Required (if pagination provided)</td>\n<td>number</td>\n<td>Number of results per page. Min: 1, Max: 3000</td>\n<td>20</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"user-scoping\">User Scoping</h3>\n<p><code>filter.userIds</code> is enforced against the caller's own user scope:</p>\n<ul>\n<li>Unscoped caller (admin / B2B token): the requested <code>userIds</code> are applied as sent; omit them and no user filter is applied.</li>\n<li>User-scoped caller (B2C token): results are limited to the <strong>intersection</strong> of the requested <code>userIds</code> and the token's own users; omit them and the token's own users are used.</li>\n<li>If the intersection is empty, the request is rejected with <code>InsufficientPermissions</code> (status <code>20</code>).</li>\n</ul>\n<hr />\n<h3 id=\"response-fields\">Response Fields</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>pagination</code></td>\n<td>object</td>\n</tr>\n<tr>\n<td><code>pagination.id</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>pagination.createdAt</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>items</code></td>\n<td>array</td>\n</tr>\n<tr>\n<td><code>items[].id</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>items[].name</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>items[].initiativeId</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>items[].initiativeName</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>items[].balance</code></td>\n<td>number</td>\n</tr>\n<tr>\n<td><code>items[].initialBalance</code></td>\n<td>number</td>\n</tr>\n<tr>\n<td><code>items[].aggregatedBalance</code></td>\n<td>number</td>\n</tr>\n<tr>\n<td><code>items[].usedAmount</code></td>\n<td>number</td>\n</tr>\n<tr>\n<td><code>items[].activationDate</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>items[].expirationDate</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>items[].deletedAt</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>items[].periodType</code></td>\n<td><code>monthly</code><br /><code>weekly</code><br /><code>daily</code><br /><code>once</code></td>\n</tr>\n<tr>\n<td><code>items[].customerName</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>items[].identifier</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>items[].status</code></td>\n<td><code>pending</code><br /><code>active</code><br /><code>inactive</code><br /><code>locked</code><br /><code>pendingApproval</code><br /><code>deleted</code><br /><code>awaitingActivation</code></td>\n</tr>\n<tr>\n<td><code>items[].currency</code></td>\n<td>number</td>\n</tr>\n<tr>\n<td><code>items[].usageControl</code></td>\n<td><code>lockedByAdmin</code><br /><code>lockedByCustomer</code><br /><code>pendingApproval</code></td>\n</tr>\n<tr>\n<td><code>items[].tags</code></td>\n<td>array</td>\n</tr>\n<tr>\n<td><code>items[].isBlockRefundWithoutAuthorization</code></td>\n<td>boolean</td>\n</tr>\n<tr>\n<td><code>items[].isBlockPartialAuthorizationApproval</code></td>\n<td>boolean</td>\n</tr>\n<tr>\n<td><code>items[].isBlockDebitWithoutAuthorization</code></td>\n<td>boolean</td>\n</tr>\n<tr>\n<td><code>items[].isReceiptRequired</code></td>\n<td>boolean</td>\n</tr>\n<tr>\n<td><code>items[].budgetId</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>items[].externalId</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>items[].comment</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>items[].pendingPockets</code></td>\n<td>array</td>\n</tr>\n<tr>\n<td><code>items[].relatedParties</code></td>\n<td>array</td>\n</tr>\n<tr>\n<td><code>items[].paymentDevice</code></td>\n<td>object</td>\n</tr>\n<tr>\n<td><code>items[].paymentDevice.id</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>items[].paymentDevice.type</code></td>\n<td><code>card</code></td>\n</tr>\n<tr>\n<td><code>items[].paymentDevice.customerId</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>items[].paymentDevice.internalStatus</code></td>\n<td><code>active</code><br /><code>unactivated</code><br /><code>suspended</code><br /><code>canceled</code></td>\n</tr>\n<tr>\n<td><code>items[].paymentDevice.usageControl</code></td>\n<td><code>lockedByAdmin</code><br /><code>lockedByCustomer</code><br /><code>paymentAccountOnly</code><br /><code>detachedFromPaymentAccount</code></td>\n</tr>\n<tr>\n<td><code>items[].paymentDevice.organizationId</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>items[].paymentDevice.userId</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>items[].paymentDevice.profileId</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>items[].paymentDevice.lifetimeSpendAmount</code></td>\n<td>number</td>\n</tr>\n<tr>\n<td><code>items[].paymentDevice.lifetimeSpendCurrency</code></td>\n<td>number</td>\n</tr>\n<tr>\n<td><code>items[].paymentDevice.lastFourDigits</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>items[].paymentDevice.expiration</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>items[].paymentDevice.accountType</code></td>\n<td><code>paymentAccount</code><br /><code>hybrid</code><br /><code>bankAccount</code></td>\n</tr>\n<tr>\n<td><code>items[].paymentDevice.cardIssuerInternalId</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>items[].paymentDevice.businessPartnerCode</code></td>\n<td>string</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["payment-account-pockets","api","Pockets","GetPockets"],"host":["api","stage","cal-platform","com"],"query":[],"variable":[]}},"response":[{"id":"0ad1e143-be8d-4e9d-9115-26690fa03266","name":"Get pockets by filters","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"pagination\": {\n    \"id\": \"string\",\n    \"createdAt\": \"2026-04-30T06:52:06.769Z\",\n    \"limit\": 0\n  },\n  \"filter\": {\n    \"initiativeIds\": [\n      null\n    ],\n    \"periodTypes\": [\n      \"monthly\"\n    ],\n    \"freeText\": \"string\",\n    \"statuses\": [\n      \"pending\"\n    ],\n    \"paymentDeviceIds\": [\n      null\n    ],\n    \"userIds\": [\n      null\n    ],\n    \"customerIds\": [\n      null\n    ],\n    \"pocketIds\": [\n      null\n    ],\n    \"budgetIds\": [\n      null\n    ]\n  }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/payment-account-pockets/api/Pockets/GetPockets"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Accept","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"statusDescription\": \"string\",\n  \"statusCode\": 0,\n  \"sessionId\": \"string\",\n  \"httpStatus\": 0,\n  \"result\": {\n    \"pagination\": {\n      \"id\": \"string\",\n      \"createdAt\": \"2026-04-30T06:52:06.784Z\"\n    },\n    \"items\": [\n      {\n        \"id\": \"string\",\n        \"name\": \"string\",\n        \"initiativeId\": \"string\",\n        \"initiativeName\": \"string\",\n        \"balance\": 0,\n        \"initialBalance\": 0,\n        \"aggregatedBalance\": 0,\n        \"usedAmount\": 0,\n        \"activationDate\": \"2026-04-30T06:52:06.784Z\",\n        \"expirationDate\": \"2026-04-30T06:52:06.784Z\",\n        \"deletedAt\": \"2026-04-30T06:52:06.784Z\",\n        \"periodType\": \"string\",\n        \"customerName\": \"string\",\n        \"identifier\": \"string\",\n        \"status\": \"string\",\n        \"currency\": 0,\n        \"usageControl\": \"string\",\n        \"tags\": [\n          \"string\"\n        ],\n        \"isBlockRefundWithoutAuthorization\": true,\n        \"isBlockPartialAuthorizationApproval\": true,\n        \"isBlockDebitWithoutAuthorization\": true,\n        \"isReceiptRequired\": true,\n        \"budgetId\": \"string\",\n        \"externalId\": \"string\",\n        \"pendingPockets\": [\n          \"string\"\n        ],\n        \"relatedParties\": [\n          \"string\"\n        ],\n        \"paymentDevice\": {\n          \"id\": \"string\",\n          \"type\": \"card\",\n          \"customerId\": \"string\",\n          \"internalStatus\": \"active\",\n          \"usageControl\": \"lockedByAdmin\",\n          \"organizationId\": \"string\",\n          \"userId\": \"string\",\n          \"profileId\": \"string\",\n          \"lifetimeSpendAmount\": 0,\n          \"lifetimeSpendCurrency\": 0,\n          \"lastFourDigits\": \"string\",\n          \"expiration\": \"string\",\n          \"accountType\": \"string\",\n          \"cardIssuerInternalId\": \"string\",\n          \"businessPartnerCode\": \"string\"\n        }\n      }\n    ]\n  }\n}"}],"_postman_id":"d25ba065-b797-408e-918f-ba519cb15c81"},{"name":"GetPocketsByCustomers","id":"830d27e8-81fd-4a21-ace4-a34b8b03b7f0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"},{"key":"X-Organization-Id","value":"{{OrganizationId}}"}],"body":{"mode":"raw","raw":"{\n  \"pagination\": {\n    \"id\": \"string\",\n    \"createdAt\": \"2026-04-30T07:23:05.715Z\",\n    \"limit\": 0\n  },\n  \"customerIds\": [\n    \"string\"\n  ],\n  \"userIds\": [\n    \"string\"\n  ]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/payment-account-pockets/api/Pockets/GetPocketsByCustomers","description":"<p>Returns pockets for the given list of customer IDs.</p>\n<hr />\n<h3 id=\"request-parameters\">Request Parameters</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field Name</th>\n<th>Required/Optional</th>\n<th>Type</th>\n<th>Description</th>\n<th>Example</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>customerIds</code></td>\n<td>Required</td>\n<td>string[]</td>\n<td>List of customer IDs to fetch pockets for</td>\n<td>\"cst-001\"</td>\n</tr>\n<tr>\n<td><code>userIds</code></td>\n<td>Optional</td>\n<td>string[]</td>\n<td>Restrict results to these user IDs. Subject to caller scope — see User Scoping below</td>\n<td>\"usr-001\"</td>\n</tr>\n<tr>\n<td><code>pagination</code></td>\n<td>Optional</td>\n<td>object</td>\n<td>Cursor-based pagination. Omit to get first page</td>\n<td>—</td>\n</tr>\n<tr>\n<td><code>pagination.id</code></td>\n<td>Optional</td>\n<td>string</td>\n<td>ID of last item from previous page (cursor)</td>\n<td>\"pkt-001\"</td>\n</tr>\n<tr>\n<td><code>pagination.createdAt</code></td>\n<td>Required (if pagination provided)</td>\n<td>string (ISO 8601)</td>\n<td>createdAt of last item from previous page</td>\n<td>\"2026-01-01T00:00:00.000Z\"</td>\n</tr>\n<tr>\n<td><code>pagination.limit</code></td>\n<td>Required (if pagination provided)</td>\n<td>number</td>\n<td>Number of results per page. Min: 1, Max: 3000</td>\n<td>20</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"user-scoping\">User Scoping</h3>\n<ul>\n<li>Unscoped caller (admin / B2B token): the requested <code>userIds</code> are applied as sent; omit them and no user filter is applied.</li>\n<li>User-scoped caller (B2C token): results are limited to the <strong>intersection</strong> of the requested <code>userIds</code> and the token's own users; omit them and the token's own users are used.</li>\n<li>If the intersection is empty, the request is rejected with <code>InsufficientPermissions</code> (status <code>20</code>).</li>\n</ul>\n<hr />\n<h3 id=\"response-fields\">Response Fields</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>pagination</code></td>\n<td>object</td>\n</tr>\n<tr>\n<td><code>pagination.id</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>pagination.createdAt</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>pockets</code></td>\n<td>array</td>\n</tr>\n<tr>\n<td><code>pockets[].id</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>pockets[].organizationId</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>pockets[].name</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>pockets[].balance</code></td>\n<td>number</td>\n</tr>\n<tr>\n<td><code>pockets[].aggregatedBalance</code></td>\n<td>number</td>\n</tr>\n<tr>\n<td><code>pockets[].budgetId</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>pockets[].initiativeId</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>pockets[].activationDate</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>pockets[].expirationDate</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>pockets[].currency</code></td>\n<td>number</td>\n</tr>\n<tr>\n<td><code>pockets[].authorizationPriority</code></td>\n<td>number</td>\n</tr>\n<tr>\n<td><code>pockets[].tags</code></td>\n<td>array</td>\n</tr>\n<tr>\n<td><code>pockets[].usageControl</code></td>\n<td><code>lockedByAdmin</code><br /><code>lockedByCustomer</code><br /><code>pendingApproval</code></td>\n</tr>\n<tr>\n<td><code>pockets[].isBlockRefundWithoutAuthorization</code></td>\n<td>boolean</td>\n</tr>\n<tr>\n<td><code>pockets[].isReceiptRequired</code></td>\n<td>boolean</td>\n</tr>\n<tr>\n<td><code>pockets[].isBlockPartialAuthorizationApproval</code></td>\n<td>boolean</td>\n</tr>\n<tr>\n<td><code>pockets[].externalId</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>pockets[].comment</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>pockets[].isBlockDebitWithoutAuthorization</code></td>\n<td>boolean</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["payment-account-pockets","api","Pockets","GetPocketsByCustomers"],"host":["api","stage","cal-platform","com"],"query":[],"variable":[]}},"response":[{"id":"421b8c3c-c8fd-498c-93e4-8be2b10cb0a3","name":"GetPocketsByCustomers","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"pagination\": {\n    \"id\": \"string\",\n    \"createdAt\": \"2026-04-30T07:23:05.715Z\",\n    \"limit\": 0\n  },\n  \"customerIds\": [\n    \"string\"\n  ]\n}","options":{"raw":{"language":"json"}}},"url":"{{PaymentAccountPocketsHost}}/api/Pockets/GetPocketsByCustomers"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n  \"statusDescription\": \"string\",\n  \"statusCode\": 0,\n  \"sessionId\": \"string\",\n  \"httpStatus\": 0,\n  \"result\": {\n    \"pagination\": {\n      \"id\": \"string\",\n      \"createdAt\": \"2026-04-30T07:23:05.724Z\"\n    },\n    \"pockets\": [\n      {\n        \"id\": \"string\",\n        \"organizationId\": \"string\",\n        \"name\": \"string\",\n        \"balance\": 0,\n        \"aggregatedBalance\": 0,\n        \"budgetId\": \"string\",\n        \"initiativeId\": \"string\",\n        \"activationDate\": \"2026-04-30T07:23:05.724Z\",\n        \"expirationDate\": \"2026-04-30T07:23:05.724Z\",\n        \"currency\": 0,\n        \"authorizationPriority\": 0,\n        \"tags\": [\n          null\n        ],\n        \"usageControl\": \"lockedByAdmin\",\n        \"isBlockRefundWithoutAuthorization\": true,\n        \"isReceiptRequired\": true,\n        \"isBlockPartialAuthorizationApproval\": true,\n        \"externalId\": \"string\",\n        \"isBlockDebitWithoutAuthorization\": true\n      }\n    ]\n  }\n}"}],"_postman_id":"830d27e8-81fd-4a21-ace4-a34b8b03b7f0"},{"name":"GetPocketsByDevices","id":"ae5ee846-96db-4c1a-8c67-158af84d1d7c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"},{"key":"X-Organization-Id","value":"{{OrganizationId}}"}],"body":{"mode":"raw","raw":"{\n  \"pagination\": {\n    \"id\": \"string\",\n    \"createdAt\": \"2026-04-30T07:29:09.753Z\",\n    \"limit\": 0\n  },\n  \"paymentDeviceIds\": [\n    \"string\"\n  ],\n  \"userIds\": [\n    \"string\"\n  ]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/payment-account-pockets/api/Pockets/GetPocketsByDevices","description":"<p>Returns pockets associated with the given list of payment device IDs.</p>\n<hr />\n<h3 id=\"request-parameters\">Request Parameters</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field Name</th>\n<th>Required/Optional</th>\n<th>Type</th>\n<th>Description</th>\n<th>Example</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>paymentDeviceIds</code></td>\n<td>Required</td>\n<td>string[]</td>\n<td>List of payment device IDs to fetch pockets for</td>\n<td>\"dev-001\"</td>\n</tr>\n<tr>\n<td><code>userIds</code></td>\n<td>Optional</td>\n<td>string[]</td>\n<td>Restrict results to these user IDs. Subject to caller scope — see User Scoping below</td>\n<td>\"usr-001\"</td>\n</tr>\n<tr>\n<td><code>pagination</code></td>\n<td>Optional</td>\n<td>object</td>\n<td>Cursor-based pagination. Omit to get first page</td>\n<td>—</td>\n</tr>\n<tr>\n<td><code>pagination.id</code></td>\n<td>Optional</td>\n<td>string</td>\n<td>ID of last item from previous page (cursor)</td>\n<td>\"pkt-001\"</td>\n</tr>\n<tr>\n<td><code>pagination.createdAt</code></td>\n<td>Required (if pagination provided)</td>\n<td>string (ISO 8601)</td>\n<td>createdAt of last item from previous page</td>\n<td>\"2026-01-01T00:00:00.000Z\"</td>\n</tr>\n<tr>\n<td><code>pagination.limit</code></td>\n<td>Required (if pagination provided)</td>\n<td>number</td>\n<td>Number of results per page. Min: 1, Max: 3000</td>\n<td>20</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"user-scoping\">User Scoping</h3>\n<ul>\n<li>Unscoped caller (admin / B2B token): the requested <code>userIds</code> are applied as sent; omit them and no user filter is applied.</li>\n<li>User-scoped caller (B2C token): results are limited to the <strong>intersection</strong> of the requested <code>userIds</code> and the token's own users; omit them and the token's own users are used.</li>\n<li>If the intersection is empty, the request is rejected with <code>InsufficientPermissions</code> (status <code>20</code>).</li>\n</ul>\n<hr />\n<h3 id=\"response-fields\">Response Fields</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>pagination</code></td>\n<td>object</td>\n</tr>\n<tr>\n<td><code>pagination.id</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>pagination.createdAt</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>pockets</code></td>\n<td>array</td>\n</tr>\n<tr>\n<td><code>pockets[].id</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>pockets[].organizationId</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>pockets[].name</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>pockets[].balance</code></td>\n<td>number</td>\n</tr>\n<tr>\n<td><code>pockets[].aggregatedBalance</code></td>\n<td>number</td>\n</tr>\n<tr>\n<td><code>pockets[].budgetId</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>pockets[].initiativeId</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>pockets[].activationDate</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>pockets[].expirationDate</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>pockets[].currency</code></td>\n<td>number</td>\n</tr>\n<tr>\n<td><code>pockets[].authorizationPriority</code></td>\n<td>number</td>\n</tr>\n<tr>\n<td><code>pockets[].tags</code></td>\n<td>array</td>\n</tr>\n<tr>\n<td><code>pockets[].usageControl</code></td>\n<td><code>lockedByAdmin</code><br /><code>lockedByCustomer</code><br /><code>pendingApproval</code></td>\n</tr>\n<tr>\n<td><code>pockets[].isBlockRefundWithoutAuthorization</code></td>\n<td>boolean</td>\n</tr>\n<tr>\n<td><code>pockets[].isReceiptRequired</code></td>\n<td>boolean</td>\n</tr>\n<tr>\n<td><code>pockets[].isBlockPartialAuthorizationApproval</code></td>\n<td>boolean</td>\n</tr>\n<tr>\n<td><code>pockets[].externalId</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>pockets[].comment</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>pockets[].isBlockDebitWithoutAuthorization</code></td>\n<td>boolean</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["payment-account-pockets","api","Pockets","GetPocketsByDevices"],"host":["api","stage","cal-platform","com"],"query":[],"variable":[]}},"response":[{"id":"ff3f82ef-ede6-4bdb-81d6-1ad1757a1693","name":"GetPocketsByDevices","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"pagination\": {\n    \"id\": \"string\",\n    \"createdAt\": \"2026-04-30T07:29:09.753Z\",\n    \"limit\": 0\n  },\n  \"paymentDeviceIds\": [\n    \"string\"\n  ]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/payment-account-pockets/api/Pockets/GetPocketsByDevices"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n  \"statusDescription\": \"string\",\n  \"statusCode\": 0,\n  \"sessionId\": \"string\",\n  \"httpStatus\": 0,\n  \"result\": {\n    \"pagination\": {\n      \"id\": \"string\",\n      \"createdAt\": \"2026-04-30T07:51:18.804Z\"\n    },\n    \"pockets\": [\n      {\n        \"id\": \"string\",\n        \"organizationId\": \"string\",\n        \"name\": \"string\",\n        \"balance\": 0,\n        \"aggregatedBalance\": 0,\n        \"budgetId\": \"string\",\n        \"initiativeId\": \"string\",\n        \"activationDate\": \"2026-04-30T07:51:18.804Z\",\n        \"expirationDate\": \"2026-04-30T07:51:18.804Z\",\n        \"currency\": 0,\n        \"authorizationPriority\": 0,\n        \"tags\": [\n          null\n        ],\n        \"usageControl\": \"lockedByAdmin\",\n        \"isBlockRefundWithoutAuthorization\": true,\n        \"isReceiptRequired\": true,\n        \"isBlockPartialAuthorizationApproval\": true,\n        \"externalId\": \"string\",\n        \"isBlockDebitWithoutAuthorization\": true\n      }\n    ]\n  }\n}"}],"_postman_id":"ae5ee846-96db-4c1a-8c67-158af84d1d7c"},{"name":"CreatePockets","id":"d9c79b0e-2796-4a6d-9808-8954a03256ec","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"},{"key":"X-Organization-Id","value":"{{OrganizationId}}"}],"body":{"mode":"raw","raw":"{\n  \"relatedParties\": [\n    {\n      \"userId\": \"string\",\n      \"customerId\": \"string\",\n      \"boundToPaymentDeviceId\": \"string\"\n    }\n  ],\n  \"pocket\": {\n    \"initiativeId\": \"string\",\n    \"budgetId\": \"string\",\n    \"name\": \"string\",\n    \"balance\": 0,\n    \"initialBalance\": 0,\n    \"aggregatedBalance\": 0,\n    \"activationDate\": \"2026-04-30T07:52:18.513Z\",\n    \"expirationDate\": \"2026-04-30T07:52:18.513Z\",\n    \"currency\": 0,\n    \"authorizationPriority\": 0,\n    \"tags\": [\n      null\n    ],\n    \"externalId\": \"string\",\n    \"comment\": \"string\",\n    \"usageControl\": \"lockedByAdmin\",\n    \"isBlockRefundWithoutAuthorization\": true,\n    \"isReceiptRequired\": true,\n    \"isBlockPartialAuthorizationApproval\": true,\n    \"isBlockDebitWithoutAuthorization\": true\n  }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://api.stage.cal-platform.com/payment-account-pockets/api/Pockets/CreatePockets","description":"<p>Creates a single pocket definition for one or more related parties (users and/or customers), and links it to an initiative, budget and organization.</p>\n<p>When <code>pocket.initiativeId</code> is sent, missing pocket fields are inherited from the initiative and <code>tags</code> are merged with the initiative tags. <code>name</code>, <code>balance</code>, <code>currency</code>, <code>authorizationPriority</code> and <code>tags</code> must therefore either be sent explicitly or be resolvable from the initiative — otherwise the request is rejected.</p>\n<p>Related parties whose user is not active are skipped rather than failing the whole call: they are returned in <code>failures</code>, and the request fails only when every related party is skipped. The acting user must be active.</p>\n<p>If an approval workflow matches the action, the created pocket is returned with <code>usageControl</code> = <code>pendingApproval</code> and stays locked until it is approved.</p>\n<hr />\n<h3 id=\"request-parameters\">Request Parameters</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field Name</th>\n<th>Required/Optional</th>\n<th>Type</th>\n<th>Description</th>\n<th>Example</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>relatedParties</code></td>\n<td>Required</td>\n<td>object[]</td>\n<td>Related parties the pocket is created for. At least one entry required</td>\n<td>—</td>\n</tr>\n<tr>\n<td><code>relatedParties[].userId</code></td>\n<td>At least one of userId/customerId</td>\n<td>string</td>\n<td>User ID to associate with the pocket. Cannot be sent together with <code>customerId</code> on the same entry</td>\n<td>\"usr-001\"</td>\n</tr>\n<tr>\n<td><code>relatedParties[].customerId</code></td>\n<td>At least one of userId/customerId</td>\n<td>string</td>\n<td>Customer ID to associate with the pocket. Cannot be sent together with <code>userId</code> on the same entry</td>\n<td>\"cst-001\"</td>\n</tr>\n<tr>\n<td><code>pocket</code></td>\n<td>Required</td>\n<td>object</td>\n<td>Pocket definition, applied to every related party</td>\n<td>—</td>\n</tr>\n<tr>\n<td><code>pocket.activationDate</code></td>\n<td>Required</td>\n<td>string (ISO 8601)</td>\n<td>Date the pocket becomes active</td>\n<td>\"2026-01-01T00:00:00.000Z\"</td>\n</tr>\n<tr>\n<td><code>pocket.name</code></td>\n<td>Required (or inherited from initiativeId)</td>\n<td>string</td>\n<td>Pocket name. Allowed: letters, numbers, spaces, <code>-_.,#@+&amp;</code></td>\n<td>\"Marketing Budget\"</td>\n</tr>\n<tr>\n<td><code>pocket.balance</code></td>\n<td>Required (or inherited from initiativeId)</td>\n<td>number</td>\n<td>Balance granted to each related party</td>\n<td>50000</td>\n</tr>\n<tr>\n<td><code>pocket.currency</code></td>\n<td>Required (or inherited from initiativeId)</td>\n<td>number</td>\n<td>ISO 4217 numeric currency code</td>\n<td>376</td>\n</tr>\n<tr>\n<td><code>pocket.authorizationPriority</code></td>\n<td>Required (or inherited from initiativeId)</td>\n<td>number</td>\n<td>Authorization priority — must be a positive number, lower value = higher priority</td>\n<td>10</td>\n</tr>\n<tr>\n<td><code>pocket.tags</code></td>\n<td>Required (or inherited from initiativeId)</td>\n<td>string[]</td>\n<td>When no <code>initiativeId</code> is sent: must include exactly one of business, personal, businessBenefit</td>\n<td>\"personal\"</td>\n</tr>\n<tr>\n<td><code>relatedParties[].boundToPaymentDeviceId</code></td>\n<td>Optional</td>\n<td>string</td>\n<td>Payment device ID to bind this pocket to</td>\n<td>\"dev-001\"</td>\n</tr>\n<tr>\n<td><code>pocket.initiativeId</code></td>\n<td>Optional</td>\n<td>string</td>\n<td>Linked initiative ID. Must exist. Its values are merged into the pocket for any field not sent explicitly</td>\n<td>\"ini-001\"</td>\n</tr>\n<tr>\n<td><code>pocket.budgetId</code></td>\n<td>Optional</td>\n<td>string</td>\n<td>Linked budget ID. Must exist. <code>balance</code> × number of related parties is charged against the budget's aggregated balances</td>\n<td>\"bgt-001\"</td>\n</tr>\n<tr>\n<td><code>pocket.initialBalance</code></td>\n<td>Optional</td>\n<td>number</td>\n<td>Initial balance snapshot. Min: 0</td>\n<td>50000</td>\n</tr>\n<tr>\n<td><code>pocket.aggregatedBalance</code></td>\n<td>Optional</td>\n<td>number</td>\n<td>Aggregated balance across related pockets</td>\n<td>100000</td>\n</tr>\n<tr>\n<td><code>pocket.periodicBalance</code></td>\n<td>Optional</td>\n<td>number</td>\n<td>Balance granted per period by the pocket balance schedule</td>\n<td>5000</td>\n</tr>\n<tr>\n<td><code>pocket.expirationDate</code></td>\n<td>Optional</td>\n<td>string (ISO 8601)</td>\n<td>Date the pocket expires. Must be later than <code>activationDate</code></td>\n<td>\"2026-12-31T23:59:59.000Z\"</td>\n</tr>\n<tr>\n<td><code>pocket.externalId</code></td>\n<td>Optional</td>\n<td>string</td>\n<td>External system reference ID</td>\n<td>\"ext-001\"</td>\n</tr>\n<tr>\n<td><code>pocket.comment</code></td>\n<td>Optional</td>\n<td>string</td>\n<td>Free-text note stored on the pocket. Max 50 characters. Allowed: letters, numbers, spaces, <code>-_.,#@+&amp;</code>. HTML markup is rejected. Trimmed before saving</td>\n<td>\"Q3 marketing\"</td>\n</tr>\n<tr>\n<td><code>pocket.usageControl</code></td>\n<td>Optional</td>\n<td>string</td>\n<td>Lock state. Options: lockedByAdmin, lockedByCustomer, pendingApproval. <code>userLocked</code> is rejected — it is managed by the user status flow only</td>\n<td>\"lockedByAdmin\"</td>\n</tr>\n<tr>\n<td><code>pocket.isBlockRefundWithoutAuthorization</code></td>\n<td>Optional</td>\n<td>boolean</td>\n<td>Block refunds without prior authorization</td>\n<td>true</td>\n</tr>\n<tr>\n<td><code>pocket.isReceiptRequired</code></td>\n<td>Optional</td>\n<td>boolean</td>\n<td>Require receipt for transactions</td>\n<td>true</td>\n</tr>\n<tr>\n<td><code>pocket.isBlockPartialAuthorizationApproval</code></td>\n<td>Optional</td>\n<td>boolean</td>\n<td>Block partial authorization approvals</td>\n<td>true</td>\n</tr>\n<tr>\n<td><code>pocket.isBlockDebitWithoutAuthorization</code></td>\n<td>Optional</td>\n<td>boolean</td>\n<td>Block debit transactions without authorization</td>\n<td>true</td>\n</tr>\n<tr>\n<td><code>skipFetchAfterUpsert</code></td>\n<td>Optional</td>\n<td>boolean</td>\n<td>If true, the created pockets are not re-read after the write and <code>pockets</code> is returned without the persisted entities</td>\n<td>false</td>\n</tr>\n<tr>\n<td><code>additionalInfo</code></td>\n<td>Optional</td>\n<td>string</td>\n<td>Free-text note recorded on the pocket history entry for this creation. Max 500 characters. HTML markup is rejected. Trimmed before saving</td>\n<td>\"Created for Q3 onboarding batch\"</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"response-fields\">Response Fields</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>pockets</code></td>\n<td>array</td>\n</tr>\n<tr>\n<td><code>pockets[].id</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>pockets[].organizationId</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>pockets[].name</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>pockets[].balance</code></td>\n<td>number</td>\n</tr>\n<tr>\n<td><code>pockets[].initialBalance</code></td>\n<td>number</td>\n</tr>\n<tr>\n<td><code>pockets[].aggregatedBalance</code></td>\n<td>number</td>\n</tr>\n<tr>\n<td><code>pockets[].periodicBalance</code></td>\n<td>number</td>\n</tr>\n<tr>\n<td><code>pockets[].budgetId</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>pockets[].initiativeId</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>pockets[].activationDate</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>pockets[].expirationDate</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>pockets[].currency</code></td>\n<td>number</td>\n</tr>\n<tr>\n<td><code>pockets[].authorizationPriority</code></td>\n<td>number</td>\n</tr>\n<tr>\n<td><code>pockets[].tags</code></td>\n<td>array</td>\n</tr>\n<tr>\n<td><code>pockets[].usageControl</code></td>\n<td><code>lockedByAdmin</code><br /><code>lockedByCustomer</code><br /><code>pendingApproval</code><br /><code>userLocked</code></td>\n</tr>\n<tr>\n<td><code>pockets[].isBlockRefundWithoutAuthorization</code></td>\n<td>boolean</td>\n</tr>\n<tr>\n<td><code>pockets[].isReceiptRequired</code></td>\n<td>boolean</td>\n</tr>\n<tr>\n<td><code>pockets[].isBlockPartialAuthorizationApproval</code></td>\n<td>boolean</td>\n</tr>\n<tr>\n<td><code>pockets[].externalId</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>pockets[].comment</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>pockets[].isBlockDebitWithoutAuthorization</code></td>\n<td>boolean</td>\n</tr>\n<tr>\n<td><code>failures</code></td>\n<td>array — related parties that were skipped</td>\n</tr>\n<tr>\n<td><code>failures[].id</code></td>\n<td>string — the <code>userId</code> or <code>customerId</code> that was skipped</td>\n</tr>\n<tr>\n<td><code>failures[].statusCode</code></td>\n<td>number — ApiStatuses code explaining why it was skipped</td>\n</tr>\n<tr>\n<td><code>failures[].message</code></td>\n<td>string</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["payment-account-pockets","api","Pockets","CreatePockets"],"host":["api","stage","cal-platform","com"],"query":[],"variable":[]}},"response":[{"id":"8842637e-0d01-4f71-a9f3-262ce8b9716d","name":"Create pockets","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"","type":"text"},{"key":"x-organization-id","value":"","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"relatedParties\": [\n    {\n      \"userId\": \"string\",\n      \"customerId\": \"string\",\n      \"boundToPaymentDeviceId\": \"string\"\n    }\n  ],\n  \"pocket\": {\n    \"initiativeId\": \"string\",\n    \"budgetId\": \"string\",\n    \"name\": \"string\",\n    \"balance\": 0,\n    \"initialBalance\": 0,\n    \"aggregatedBalance\": 0,\n    \"activationDate\": \"2026-04-30T07:52:18.513Z\",\n    \"expirationDate\": \"2026-04-30T07:52:18.513Z\",\n    \"currency\": 0,\n    \"authorizationPriority\": 0,\n    \"tags\": [\n      null\n    ],\n    \"externalId\": \"string\",\n    \"usageControl\": \"lockedByAdmin\",\n    \"isBlockRefundWithoutAuthorization\": true,\n    \"isReceiptRequired\": true,\n    \"isBlockPartialAuthorizationApproval\": true,\n    \"isBlockDebitWithoutAuthorization\": true\n  }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://api.stage.cal-platform.com/payment-account-pockets/api/Pockets/CreatePockets"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n  \"statusDescription\": \"string\",\n  \"statusCode\": 0,\n  \"sessionId\": \"string\",\n  \"httpStatus\": 0,\n  \"result\": {\n    \"pockets\": [\n      {\n        \"id\": \"string\",\n        \"organizationId\": \"string\",\n        \"name\": \"string\",\n        \"balance\": 0,\n        \"aggregatedBalance\": 0,\n        \"budgetId\": \"string\",\n        \"initiativeId\": \"string\",\n        \"activationDate\": \"2026-04-30T07:52:18.523Z\",\n        \"expirationDate\": \"2026-04-30T07:52:18.523Z\",\n        \"currency\": 0,\n        \"authorizationPriority\": 0,\n        \"tags\": [\n          null\n        ],\n        \"usageControl\": \"lockedByAdmin\",\n        \"isBlockRefundWithoutAuthorization\": true,\n        \"isReceiptRequired\": true,\n        \"isBlockPartialAuthorizationApproval\": true,\n        \"externalId\": \"string\",\n        \"isBlockDebitWithoutAuthorization\": true\n      }\n    ]\n  }\n}"}],"_postman_id":"d9c79b0e-2796-4a6d-9808-8954a03256ec"},{"name":"UpdatePockets","id":"858fe8cf-649b-4cd1-88d9-751252dfced2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"},{"key":"X-Organization-Id","value":"{{OrganizationId}}"},{"key":"x-organization-id","value":""}],"body":{"mode":"raw","raw":"{\n  \"pockets\": [\n    {\n      \"id\": \"string\",\n      \"name\": \"string\",\n      \"activationDate\": \"2026-04-30T08:05:45.782Z\",\n      \"expirationDate\": \"2026-04-30T08:05:45.782Z\",\n      \"authorizationPriority\": 0,\n      \"tags\": [\n        null\n      ],\n      \"usageControl\": \"lockedByAdmin\",\n      \"isBlockRefundWithoutAuthorization\": true,\n      \"isReceiptRequired\": true,\n      \"isBlockPartialAuthorizationApproval\": true,\n      \"externalId\": \"string\",\n      \"comment\": \"string\",\n      \"isBlockDebitWithoutAuthorization\": true\n    }\n  ],\n  \"budgetInstructions\": [\n    {\n      \"id\": \"string\",\n      \"amountToAdd\": 0,\n      \"amountToSubtract\": 0,\n      \"field\": \"usedAmount\"\n    }\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://api.stage.cal-platform.com/payment-account-pockets/api/Pockets/UpdatePockets","description":"<p>Updates one or more pockets. At least one optional field per pocket must be provided.</p>\n<hr />\n<h3 id=\"request-parameters\">Request Parameters</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field Name</th>\n<th>Required/Optional</th>\n<th>Type</th>\n<th>Description</th>\n<th>Example</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>pockets</code></td>\n<td>Required</td>\n<td>object[]</td>\n<td>List of pockets to update. Must not be empty</td>\n<td>—</td>\n</tr>\n<tr>\n<td><code>pockets[].id</code></td>\n<td>Required</td>\n<td>string</td>\n<td>ID of the pocket to update</td>\n<td>\"pkt-001\"</td>\n</tr>\n<tr>\n<td><code>pockets[].name</code></td>\n<td>Optional</td>\n<td>string</td>\n<td>Pocket name. Allowed: letters, numbers, spaces, <code>-_.,#@+&amp;</code></td>\n<td>\"Marketing Budget\"</td>\n</tr>\n<tr>\n<td><code>pockets[].activationDate</code></td>\n<td>Optional</td>\n<td>string (ISO 8601)</td>\n<td>Pocket activation date. Can be changed only while the stored activation date is still in the future; once it has passed the pocket is active and the request is rejected with <code>PocketActivationDateAlreadyPassed</code> (status <code>24</code>)</td>\n<td>\"2026-01-01T00:00:00.000Z\"</td>\n</tr>\n<tr>\n<td><code>pockets[].expirationDate</code></td>\n<td>Optional</td>\n<td>string (ISO 8601)</td>\n<td>Pocket expiration date</td>\n<td>\"2026-12-31T23:59:59.000Z\"</td>\n</tr>\n<tr>\n<td><code>pockets[].authorizationPriority</code></td>\n<td>Optional</td>\n<td>number</td>\n<td>Authorization priority — lower value = higher priority. Min: 0</td>\n<td>10</td>\n</tr>\n<tr>\n<td><code>pockets[].tags</code></td>\n<td>Optional</td>\n<td>string[]</td>\n<td>Overwrites existing tags — send the full array. Must keep exactly one of the exclusive tags <code>business</code>, <code>personal</code>, <code>businessBenefit</code>, and it must stay within the pocket's current family: <code>business</code> ↔ <code>businessBenefit</code> may be swapped, <code>personal</code> may not be exchanged with either</td>\n<td>[\"businessBenefit\"]</td>\n</tr>\n<tr>\n<td><code>pockets[].usageControl</code></td>\n<td>Optional</td>\n<td>string</td>\n<td>Lock state. Options: lockedByAdmin, lockedByCustomer, pendingApproval. <code>userLocked</code> is rejected with <code>UsageControlManagedByUserStatus</code> (status <code>23</code>) — it is set and cleared only by the user status flow. While a create-pocket approval is pending, usage control cannot be changed (status <code>19</code>)</td>\n<td>\"lockedByAdmin\"</td>\n</tr>\n<tr>\n<td><code>pockets[].isBlockRefundWithoutAuthorization</code></td>\n<td>Optional</td>\n<td>boolean</td>\n<td>Block refunds without prior authorization</td>\n<td>true</td>\n</tr>\n<tr>\n<td><code>pockets[].isReceiptRequired</code></td>\n<td>Optional</td>\n<td>boolean</td>\n<td>Require receipt for transactions</td>\n<td>true</td>\n</tr>\n<tr>\n<td><code>pockets[].isBlockPartialAuthorizationApproval</code></td>\n<td>Optional</td>\n<td>boolean</td>\n<td>Block partial authorization approvals</td>\n<td>true</td>\n</tr>\n<tr>\n<td><code>pockets[].externalId</code></td>\n<td>Optional</td>\n<td>string</td>\n<td>External system reference ID</td>\n<td>\"ext-001\"</td>\n</tr>\n<tr>\n<td><code>pockets[].comment</code></td>\n<td>Optional</td>\n<td>string | null</td>\n<td>Free-text note on the pocket. Max 50 characters. Allowed: letters, numbers, spaces, <code>-_.,#@+&amp;</code>. HTML markup is rejected. Trimmed before saving. Send <code>null</code> to clear an existing comment</td>\n<td>\"Q3 marketing\"</td>\n</tr>\n<tr>\n<td><code>pockets[].isBlockDebitWithoutAuthorization</code></td>\n<td>Optional</td>\n<td>boolean</td>\n<td>Block debit transactions without authorization</td>\n<td>true</td>\n</tr>\n<tr>\n<td><code>budgetInstructions</code></td>\n<td>Optional</td>\n<td>object[]</td>\n<td>Budget amount adjustments to apply alongside the update</td>\n<td>—</td>\n</tr>\n<tr>\n<td><code>budgetInstructions[].id</code></td>\n<td>Required (if budgetInstructions set)</td>\n<td>string</td>\n<td>Budget ID to adjust</td>\n<td>\"bgt-001\"</td>\n</tr>\n<tr>\n<td><code>budgetInstructions[].field</code></td>\n<td>Required (if budgetInstructions set)</td>\n<td>string</td>\n<td>Field to adjust. Options: usedAmount, aggregatedBalances</td>\n<td>\"usedAmount\"</td>\n</tr>\n<tr>\n<td><code>budgetInstructions[].amountToAdd</code></td>\n<td>Optional</td>\n<td>number</td>\n<td>Amount to add. Must be positive</td>\n<td>500</td>\n</tr>\n<tr>\n<td><code>budgetInstructions[].amountToSubtract</code></td>\n<td>Optional</td>\n<td>number</td>\n<td>Amount to subtract. Must be positive</td>\n<td>200</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"response-fields\">Response Fields</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>pockets</code></td>\n<td>array</td>\n</tr>\n<tr>\n<td><code>pockets[].id</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>pockets[].organizationId</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>pockets[].name</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>pockets[].balance</code></td>\n<td>number</td>\n</tr>\n<tr>\n<td><code>pockets[].aggregatedBalance</code></td>\n<td>number</td>\n</tr>\n<tr>\n<td><code>pockets[].periodicBalance</code></td>\n<td>number</td>\n</tr>\n<tr>\n<td><code>pockets[].budgetId</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>pockets[].initiativeId</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>pockets[].activationDate</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>pockets[].expirationDate</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>pockets[].currency</code></td>\n<td>number</td>\n</tr>\n<tr>\n<td><code>pockets[].authorizationPriority</code></td>\n<td>number</td>\n</tr>\n<tr>\n<td><code>pockets[].tags</code></td>\n<td>array</td>\n</tr>\n<tr>\n<td><code>pockets[].usageControl</code></td>\n<td><code>lockedByAdmin</code><br /><code>lockedByCustomer</code><br /><code>pendingApproval</code><br /><code>userLocked</code></td>\n</tr>\n<tr>\n<td><code>pockets[].isBlockRefundWithoutAuthorization</code></td>\n<td>boolean</td>\n</tr>\n<tr>\n<td><code>pockets[].isReceiptRequired</code></td>\n<td>boolean</td>\n</tr>\n<tr>\n<td><code>pockets[].isBlockPartialAuthorizationApproval</code></td>\n<td>boolean</td>\n</tr>\n<tr>\n<td><code>pockets[].externalId</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>pockets[].comment</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>pockets[].isBlockDebitWithoutAuthorization</code></td>\n<td>boolean</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["payment-account-pockets","api","Pockets","UpdatePockets"],"host":["api","stage","cal-platform","com"],"query":[],"variable":[]}},"response":[{"id":"017bb442-3262-430d-ba63-9ca34c181073","name":"Update a pocket","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"},{"key":"X-Organization-Id","value":"{{OrganizationId}}"}],"body":{"mode":"raw","raw":"{\n  \"pockets\": [\n    {\n      \"id\": \"string\",\n      \"name\": \"string\",\n      \"activationDate\": \"2026-04-30T08:05:45.782Z\",\n      \"expirationDate\": \"2026-04-30T08:05:45.782Z\",\n      \"authorizationPriority\": 0,\n      \"tags\": [\n        null\n      ],\n      \"usageControl\": \"lockedByAdmin\",\n      \"isBlockRefundWithoutAuthorization\": true,\n      \"isReceiptRequired\": true,\n      \"isBlockPartialAuthorizationApproval\": true,\n      \"externalId\": \"string\",\n      \"isBlockDebitWithoutAuthorization\": true\n    }\n  ],\n  \"budgetInstructions\": [\n    {\n      \"id\": \"string\",\n      \"amountToAdd\": 0,\n      \"amountToSubtract\": 0,\n      \"field\": \"usedAmount\"\n    }\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://api.stage.cal-platform.com/payment-account-pockets/api/Pockets/UpdatePockets"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n  \"statusDescription\": \"string\",\n  \"statusCode\": 0,\n  \"sessionId\": \"string\",\n  \"httpStatus\": 0,\n  \"result\": {\n    \"pockets\": [\n      {\n        \"id\": \"string\",\n        \"organizationId\": \"string\",\n        \"name\": \"string\",\n        \"balance\": 0,\n        \"aggregatedBalance\": 0,\n        \"budgetId\": \"string\",\n        \"initiativeId\": \"string\",\n        \"activationDate\": \"2026-04-30T08:05:45.791Z\",\n        \"expirationDate\": \"2026-04-30T08:05:45.791Z\",\n        \"currency\": 0,\n        \"authorizationPriority\": 0,\n        \"tags\": [\n          null\n        ],\n        \"usageControl\": \"lockedByAdmin\",\n        \"isBlockRefundWithoutAuthorization\": true,\n        \"isReceiptRequired\": true,\n        \"isBlockPartialAuthorizationApproval\": true,\n        \"externalId\": \"string\",\n        \"isBlockDebitWithoutAuthorization\": true\n      }\n    ]\n  }\n}"}],"_postman_id":"858fe8cf-649b-4cd1-88d9-751252dfced2"},{"name":"UpdatePocketsBalance","id":"073a6f53-4dde-4d13-9d24-1a8ec506158d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"","type":"text"},{"key":"x-organization-id","value":"","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"instructions\": [\n    {\n      \"id\": \"string\",\n      \"amountToAdd\": 500\n    },\n    {\n      \"id\": \"string\",\n      \"amountToSubtract\": 200\n    }\n  ],\n  \"getUpdatedEntities\": true,\n  \"comment\": \"Q3 top-up\",\n  \"additionalInfo\": \"Approved by finance\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/payment-account-pockets/api/Pockets/UpdatePocketsBalance","description":"<p>Adds to or subtracts from pocket balances. Every change is recorded in the pocket's balance history (see <code>GetBalanceHistories</code>) together with the optional <code>comment</code> and <code>additionalInfo</code>.</p>\n<p>If an approval workflow template for <code>updateBalance</code> matches the action, the balance change is suspended as a pending approval workflow instance and applied only when approved. Pockets whose related users are not active are skipped and reported in <code>failures</code>; the acting user must be active.</p>\n<hr />\n<h3 id=\"request-parameters\">Request Parameters</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field Name</th>\n<th>Required/Optional</th>\n<th>Type</th>\n<th>Description</th>\n<th>Example</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>instructions</code></td>\n<td>Optional</td>\n<td>object[]</td>\n<td>Pocket balance adjustments. The same pocket <code>id</code> may appear only once</td>\n<td>—</td>\n</tr>\n<tr>\n<td><code>instructions[].id</code></td>\n<td>Required (if instructions set)</td>\n<td>string</td>\n<td>Pocket ID to adjust</td>\n<td>\"pkt-001\"</td>\n</tr>\n<tr>\n<td><code>instructions[].amountToAdd</code></td>\n<td>Exactly one of amountToAdd / amountToSubtract</td>\n<td>number</td>\n<td>Amount to add to the pocket balance. Must be positive</td>\n<td>500</td>\n</tr>\n<tr>\n<td><code>instructions[].amountToSubtract</code></td>\n<td>Exactly one of amountToAdd / amountToSubtract</td>\n<td>number</td>\n<td>Amount to subtract from the pocket balance. Must be positive</td>\n<td>200</td>\n</tr>\n<tr>\n<td><code>getUpdatedEntities</code></td>\n<td>Optional</td>\n<td>boolean</td>\n<td>If true, returns the updated pocket entities in the response</td>\n<td>true</td>\n</tr>\n<tr>\n<td><code>comment</code></td>\n<td>Optional</td>\n<td>string</td>\n<td>Note stored on each balance history entry created by this call. Max 500 characters; HTML markup is rejected; trimmed</td>\n<td>\"Q3 top-up\"</td>\n</tr>\n<tr>\n<td><code>additionalInfo</code></td>\n<td>Optional</td>\n<td>string</td>\n<td>Free-text context stored on each balance history entry. Max 500 characters; HTML markup is rejected; trimmed</td>\n<td>\"Approved by finance\"</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"validation-rules\">Validation rules</h3>\n<ul>\n<li>An instruction with both <code>amountToAdd</code> and <code>amountToSubtract</code>, or with neither, is rejected.</li>\n<li>Duplicate pocket IDs across <code>instructions</code> are rejected.</li>\n<li>A subtraction that would take a budget-attached pocket below zero is rejected (<code>BudgetExceedsMaximumAmount</code>, status <code>2</code>).</li>\n</ul>\n<hr />\n<h3 id=\"response-fields\">Response Fields</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>pockets</code></td>\n<td>array — the updated pockets (populated when <code>getUpdatedEntities</code> is true)</td>\n</tr>\n<tr>\n<td><code>pockets[].id</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>pockets[].organizationId</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>pockets[].name</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>pockets[].balance</code></td>\n<td>number</td>\n</tr>\n<tr>\n<td><code>pockets[].aggregatedBalance</code></td>\n<td>number</td>\n</tr>\n<tr>\n<td><code>pockets[].periodicBalance</code></td>\n<td>number</td>\n</tr>\n<tr>\n<td><code>pockets[].budgetId</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>pockets[].initiativeId</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>pockets[].activationDate</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>pockets[].expirationDate</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>pockets[].currency</code></td>\n<td>number</td>\n</tr>\n<tr>\n<td><code>pockets[].authorizationPriority</code></td>\n<td>number</td>\n</tr>\n<tr>\n<td><code>pockets[].tags</code></td>\n<td>array</td>\n</tr>\n<tr>\n<td><code>pockets[].usageControl</code></td>\n<td><code>lockedByAdmin</code><br /><code>lockedByCustomer</code><br /><code>pendingApproval</code><br /><code>userLocked</code></td>\n</tr>\n<tr>\n<td><code>pockets[].isBlockRefundWithoutAuthorization</code></td>\n<td>boolean</td>\n</tr>\n<tr>\n<td><code>pockets[].isReceiptRequired</code></td>\n<td>boolean</td>\n</tr>\n<tr>\n<td><code>pockets[].isBlockPartialAuthorizationApproval</code></td>\n<td>boolean</td>\n</tr>\n<tr>\n<td><code>pockets[].externalId</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>pockets[].comment</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>pockets[].isBlockDebitWithoutAuthorization</code></td>\n<td>boolean</td>\n</tr>\n<tr>\n<td><code>failures</code></td>\n<td>array — instructions that were skipped</td>\n</tr>\n<tr>\n<td><code>failures[].id</code></td>\n<td>string — the pocket ID that was skipped</td>\n</tr>\n<tr>\n<td><code>failures[].statusCode</code></td>\n<td>number — why it was skipped, e.g. <code>21</code> UserNotActive</td>\n</tr>\n<tr>\n<td><code>failures[].message</code></td>\n<td>string</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["payment-account-pockets","api","Pockets","UpdatePocketsBalance"],"host":["api","stage","cal-platform","com"],"query":[],"variable":[]}},"response":[{"id":"ae605bba-b6db-4d91-acfa-b2482e389cb1","name":"UpdatePocketsBalance","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"","type":"text"},{"key":"x-organization-id","value":"","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"instructions\": [\n    {\n      \"id\": \"string\",\n      \"amountToAdd\": 0,\n      \"amountToSubtract\": 0\n    }\n  ],\n  \"budgetsInstructions\": [\n    {\n      \"id\": \"string\",\n      \"amountToAdd\": 0,\n      \"amountToSubtract\": 0\n    }\n  ],\n  \"getUpdatedEntities\": true,\n  \"updateAggregatedBalance\": true\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/payment-account-pockets/api/Pockets/UpdatePocketsBalance"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n  \"statusDescription\": \"string\",\n  \"statusCode\": 0,\n  \"sessionId\": \"string\",\n  \"httpStatus\": 0,\n  \"result\": {\n    \"pockets\": [\n      {\n        \"id\": \"string\",\n        \"organizationId\": \"string\",\n        \"name\": \"string\",\n        \"balance\": 0,\n        \"aggregatedBalance\": 0,\n        \"budgetId\": \"string\",\n        \"initiativeId\": \"string\",\n        \"activationDate\": \"2026-04-30T08:07:22.891Z\",\n        \"expirationDate\": \"2026-04-30T08:07:22.891Z\",\n        \"currency\": 0,\n        \"authorizationPriority\": 0,\n        \"tags\": [\n          null\n        ],\n        \"usageControl\": \"lockedByAdmin\",\n        \"isBlockRefundWithoutAuthorization\": true,\n        \"isReceiptRequired\": true,\n        \"isBlockPartialAuthorizationApproval\": true,\n        \"externalId\": \"string\",\n        \"isBlockDebitWithoutAuthorization\": true\n      }\n    ]\n  }\n}"}],"_postman_id":"073a6f53-4dde-4d13-9d24-1a8ec506158d"},{"name":"DeletePockets","id":"ccc256c7-a5f8-468b-a99b-9f091387c1af","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"","type":"text"},{"key":"x-organization-id","value":"","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"ids\": [\n    \"string\"\n  ],\n  \"budgetInstructions\": [\n    {\n      \"id\": \"string\",\n      \"amountToAdd\": 0,\n      \"amountToSubtract\": 0,\n      \"field\": \"usedAmount\"\n    }\n  ]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/payment-account-pockets/api/Pockets/DeletePockets","description":"<p>Deletes one or more pockets by ID.</p>\n<hr />\n<h3 id=\"request-parameters\">Request Parameters</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field Name</th>\n<th>Required/Optional</th>\n<th>Type</th>\n<th>Description</th>\n<th>Example</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>ids</code></td>\n<td>Required</td>\n<td>string[]</td>\n<td>List of pocket IDs to delete</td>\n<td>\"pkt-001\"</td>\n</tr>\n<tr>\n<td><code>budgetInstructions</code></td>\n<td>Optional</td>\n<td>object[]</td>\n<td>Budget amount adjustments to apply when deleting</td>\n<td>—</td>\n</tr>\n<tr>\n<td><code>budgetInstructions[].id</code></td>\n<td>Required (if budgetInstructions set)</td>\n<td>string</td>\n<td>Budget ID to adjust</td>\n<td>\"bgt-001\"</td>\n</tr>\n<tr>\n<td><code>budgetInstructions[].field</code></td>\n<td>Required (if budgetInstructions set)</td>\n<td>string</td>\n<td>Field to adjust. Options: usedAmount, aggregatedBalances</td>\n<td>\"usedAmount\"</td>\n</tr>\n<tr>\n<td><code>budgetInstructions[].amountToAdd</code></td>\n<td>Optional</td>\n<td>number</td>\n<td>Amount to add. Must be positive</td>\n<td>500</td>\n</tr>\n<tr>\n<td><code>budgetInstructions[].amountToSubtract</code></td>\n<td>Optional</td>\n<td>number</td>\n<td>Amount to subtract. Must be positive</td>\n<td>200</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"response-fields\">Response Fields</h3>\n<p><em>No result data returned.</em></p>\n","urlObject":{"protocol":"https","path":["payment-account-pockets","api","Pockets","DeletePockets"],"host":["api","stage","cal-platform","com"],"query":[],"variable":[]}},"response":[{"id":"135c7a98-5f11-4911-9bf7-4716a21ee537","name":"DeletePockets","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"","type":"text"},{"key":"x-organization-id","value":"","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"ids\": [\n    \"string\"\n  ],\n  \"budgetInstructions\": [\n    {\n      \"id\": \"string\",\n      \"amountToAdd\": 0,\n      \"amountToSubtract\": 0,\n      \"field\": \"usedAmount\"\n    }\n  ]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/payment-account-pockets/api/Pockets/DeletePockets"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"statusDescription\": \"string\",\n    \"statusCode\": 0,\n    \"sessionId\": \"string\",\n    \"httpStatus\": 0,\n    \"result\": {}\n}"}],"_postman_id":"ccc256c7-a5f8-468b-a99b-9f091387c1af"},{"name":"AttachPocketsToBudget","id":"bc83007d-a3f2-4b78-a1eb-a5530c429234","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"},{"key":"X-Organization-Id","value":"{{OrganizationId}}"}],"body":{"mode":"raw","raw":"{\n  \"pocketIds\": [\n    null\n  ],\n  \"budgetId\": \"string\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/payment-account-pockets/api/Pockets/AttachPocketsToBudget","description":"<p>Attaches one or more pockets to a budget.</p>\n<hr />\n<h3 id=\"request-parameters\">Request Parameters</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field Name</th>\n<th>Required/Optional</th>\n<th>Type</th>\n<th>Description</th>\n<th>Example</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>pocketIds</code></td>\n<td>Required</td>\n<td>string[]</td>\n<td>List of pocket IDs to attach to the budget</td>\n<td>\"pkt-001\"</td>\n</tr>\n<tr>\n<td><code>budgetId</code></td>\n<td>Required</td>\n<td>string</td>\n<td>Budget ID to attach the pockets to</td>\n<td>\"bgt-001\"</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"response-fields\">Response Fields</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>pockets</code></td>\n<td>array</td>\n</tr>\n<tr>\n<td><code>pockets[].id</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>pockets[].organizationId</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>pockets[].name</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>pockets[].balance</code></td>\n<td>number</td>\n</tr>\n<tr>\n<td><code>pockets[].aggregatedBalance</code></td>\n<td>number</td>\n</tr>\n<tr>\n<td><code>pockets[].budgetId</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>pockets[].initiativeId</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>pockets[].activationDate</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>pockets[].expirationDate</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>pockets[].currency</code></td>\n<td>number</td>\n</tr>\n<tr>\n<td><code>pockets[].authorizationPriority</code></td>\n<td>number</td>\n</tr>\n<tr>\n<td><code>pockets[].tags</code></td>\n<td>array</td>\n</tr>\n<tr>\n<td><code>pockets[].usageControl</code></td>\n<td><code>lockedByAdmin</code><br /><code>lockedByCustomer</code><br /><code>pendingApproval</code></td>\n</tr>\n<tr>\n<td><code>pockets[].isBlockRefundWithoutAuthorization</code></td>\n<td>boolean</td>\n</tr>\n<tr>\n<td><code>pockets[].isReceiptRequired</code></td>\n<td>boolean</td>\n</tr>\n<tr>\n<td><code>pockets[].isBlockPartialAuthorizationApproval</code></td>\n<td>boolean</td>\n</tr>\n<tr>\n<td><code>pockets[].externalId</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>pockets[].isBlockDebitWithoutAuthorization</code></td>\n<td>boolean</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["payment-account-pockets","api","Pockets","AttachPocketsToBudget"],"host":["api","stage","cal-platform","com"],"query":[],"variable":[]}},"response":[{"id":"40566be3-20c5-41f4-af55-5d3dd4e59cc6","name":"AttachPocketsToBudget","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"},{"key":"X-Organization-Id","value":"{{OrganizationId}}"}],"body":{"mode":"raw","raw":"{\n  \"pocketIds\": [\n    null\n  ],\n  \"budgetId\": \"string\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/payment-account-pockets/api/Pockets/AttachPocketsToBudget"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"statusDescription\": \"string\",\n    \"statusCode\": 0,\n    \"sessionId\": \"string\",\n    \"httpStatus\": 0,\n    \"result\": {\n        \"pockets\": [\n            {\n                \"id\": \"string\",\n                \"organizationId\": \"string\",\n                \"name\": \"string\",\n                \"balance\": 0,\n                \"aggregatedBalance\": 0,\n                \"budgetId\": \"string\",\n                \"initiativeId\": \"string\",\n                \"activationDate\": \"2026-04-30T08:29:16.665Z\",\n                \"expirationDate\": \"2026-04-30T08:29:16.665Z\",\n                \"currency\": 0,\n                \"authorizationPriority\": 0,\n                \"tags\": [\n                    null\n                ],\n                \"usageControl\": \"lockedByAdmin\",\n                \"isBlockRefundWithoutAuthorization\": true,\n                \"isReceiptRequired\": true,\n                \"isBlockPartialAuthorizationApproval\": true,\n                \"externalId\": \"string\",\n                \"isBlockDebitWithoutAuthorization\": true\n            }\n        ]\n    }\n}"}],"_postman_id":"bc83007d-a3f2-4b78-a1eb-a5530c429234"},{"name":"ExportToFile","id":"cd690eba-3129-4ba3-8151-4e2f47192a6c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"},{"key":"X-Organization-Id","value":"{{OrganizationId}}"}],"body":{"mode":"raw","raw":"{\n  \"file\": {\n    \"name\": \"string\",\n    \"extension\": \"string\",\n    \"fields\": [\n      {\n        \"sourceField\": \"string\",\n        \"outputHeader\": \"string\"\n      }\n    ]\n  },\n  \"filter\": {\n    \"initiativeIds\": [\n      null\n    ],\n    \"periodTypes\": [\n      \"monthly\"\n    ],\n    \"freeText\": \"string\",\n    \"statuses\": [\n      \"pending\"\n    ],\n    \"paymentDeviceIds\": [\n      null\n    ],\n    \"userIds\": [\n      null\n    ],\n    \"customerIds\": [\n      null\n    ],\n    \"pocketIds\": [\n      null\n    ],\n    \"budgetIds\": [\n      null\n    ]\n  }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/payment-account-pockets/api/Pockets/ExportToFile","description":"<p>Exports pocket data to a file. Returns a binary file stream with Content-Disposition and Content-Length headers.</p>\n<hr />\n<h3 id=\"request-parameters\">Request Parameters</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field Name</th>\n<th>Required/Optional</th>\n<th>Type</th>\n<th>Description</th>\n<th>Example</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>file</code></td>\n<td>Required</td>\n<td>object</td>\n<td>File export configuration</td>\n<td>—</td>\n</tr>\n<tr>\n<td><code>file.name</code></td>\n<td>Required</td>\n<td>string</td>\n<td>Output file name (without extension)</td>\n<td>\"pockets-export\"</td>\n</tr>\n<tr>\n<td><code>file.extension</code></td>\n<td>Required</td>\n<td>string</td>\n<td>File extension</td>\n<td>\"csv\"</td>\n</tr>\n<tr>\n<td><code>file.fields</code></td>\n<td>Required</td>\n<td>object[]</td>\n<td>List of fields to include in the export</td>\n<td>—</td>\n</tr>\n<tr>\n<td><code>file.fields[].sourceField</code></td>\n<td>Required</td>\n<td>string</td>\n<td>Field name from the pocket entity to export. Accepts any GetPockets response field, including <code>comment</code></td>\n<td>\"name\"</td>\n</tr>\n<tr>\n<td><code>file.fields[].outputHeader</code></td>\n<td>Required</td>\n<td>string</td>\n<td>Column header label in the exported file</td>\n<td>\"Pocket Name\"</td>\n</tr>\n<tr>\n<td><code>filter</code></td>\n<td>Required</td>\n<td>object</td>\n<td>Filter criteria for which pockets to export</td>\n<td>—</td>\n</tr>\n<tr>\n<td><code>filter.initiativeIds</code></td>\n<td>Optional</td>\n<td>string[]</td>\n<td>Filter by initiative IDs</td>\n<td>\"ini-001\"</td>\n</tr>\n<tr>\n<td><code>filter.periodTypes</code></td>\n<td>Optional</td>\n<td>string[]</td>\n<td>Filter by period type. Options: monthly, weekly, daily, once</td>\n<td>\"monthly\"</td>\n</tr>\n<tr>\n<td><code>filter.freeText</code></td>\n<td>Optional</td>\n<td>string</td>\n<td>Free-text search across pocket fields</td>\n<td>\"travel\"</td>\n</tr>\n<tr>\n<td><code>filter.statuses</code></td>\n<td>Optional</td>\n<td>string[]</td>\n<td>Filter by status. Options: pending, active, inactive, locked, pendingApproval, deleted, awaitingActivation</td>\n<td>\"active\"</td>\n</tr>\n<tr>\n<td><code>filter.paymentDeviceIds</code></td>\n<td>Optional</td>\n<td>string[]</td>\n<td>Filter by payment device IDs</td>\n<td>\"dev-001\"</td>\n</tr>\n<tr>\n<td><code>filter.userIds</code></td>\n<td>Optional</td>\n<td>string[]</td>\n<td>Filter by user IDs. Subject to caller scope — see User Scoping below</td>\n<td>\"usr-001\"</td>\n</tr>\n<tr>\n<td><code>filter.customerIds</code></td>\n<td>Optional</td>\n<td>string[]</td>\n<td>Filter by customer IDs</td>\n<td>\"cst-001\"</td>\n</tr>\n<tr>\n<td><code>filter.pocketIds</code></td>\n<td>Optional</td>\n<td>string[]</td>\n<td>Filter by pocket IDs</td>\n<td>\"pkt-001\"</td>\n</tr>\n<tr>\n<td><code>filter.budgetIds</code></td>\n<td>Optional</td>\n<td>string[]</td>\n<td>Filter by budget IDs</td>\n<td>\"bgt-001\"</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"user-scoping\">User Scoping</h3>\n<p>The export runs through the same lookup as <code>GetPockets</code>, so <code>filter.userIds</code> is enforced against the caller's own user scope:</p>\n<ul>\n<li>Unscoped caller (admin / B2B token): the requested <code>userIds</code> are applied as sent; omit them and no user filter is applied.</li>\n<li>User-scoped caller (B2C token): the export is limited to the <strong>intersection</strong> of the requested <code>userIds</code> and the token's own users; omit them and the token's own users are used.</li>\n<li>If the intersection is empty, the request is rejected with <code>InsufficientPermissions</code> (status <code>20</code>).</li>\n</ul>\n<hr />\n<h3 id=\"response-fields\">Response Fields</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>fileStream</code></td>\n<td>object</td>\n</tr>\n<tr>\n<td><code>contentLength</code></td>\n<td>number</td>\n</tr>\n<tr>\n<td><code>fileName</code></td>\n<td>string</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["payment-account-pockets","api","Pockets","ExportToFile"],"host":["api","stage","cal-platform","com"],"query":[],"variable":[]}},"response":[{"id":"43cec321-b77b-41e5-ae1d-1696c011b270","name":"ExportToFile","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"},{"key":"X-Organization-Id","value":"{{OrganizationId}}"}],"body":{"mode":"raw","raw":"{\n  \"file\": {\n    \"name\": \"string\",\n    \"extension\": \"string\",\n    \"fields\": [\n      {\n        \"sourceField\": \"string\",\n        \"outputHeader\": \"string\"\n      }\n    ]\n  },\n  \"filter\": {\n    \"initiativeIds\": [\n      null\n    ],\n    \"periodTypes\": [\n      \"monthly\"\n    ],\n    \"freeText\": \"string\",\n    \"statuses\": [\n      \"pending\"\n    ],\n    \"paymentDeviceIds\": [\n      null\n    ],\n    \"userIds\": [\n      null\n    ],\n    \"customerIds\": [\n      null\n    ],\n    \"pocketIds\": [\n      null\n    ],\n    \"budgetIds\": [\n      null\n    ]\n  }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/payment-account-pockets/api/Pockets/ExportToFile"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"statusDescription\": \"string\",\n    \"statusCode\": 0,\n    \"sessionId\": \"string\",\n    \"httpStatus\": 0,\n    \"result\": {\n        \"fileStream\": {},\n        \"contentLength\": 0,\n        \"fileName\": \"string\"\n    }\n}"}],"_postman_id":"cd690eba-3129-4ba3-8151-4e2f47192a6c"},{"name":"GetBalanceHistories","id":"cf7b5764-3192-b827-f652-53297e35ee21","request":{"method":"POST","header":[{"value":"application/json","key":"Content-Type"},{"value":"application/json","key":"Accept"},{"value":"{{CognitoToken}}","key":"Authorization"},{"value":"{{OrganizationId}}","key":"X-Organization-Id"}],"body":{"mode":"raw","raw":"{\n  \"pagination\": {\n    \"createdAt\": \"2026-09-01T00:00:00.000Z\",\n    \"limit\": 50\n  },\n  \"includeTotalCount\": true,\n  \"pocketIds\": [\"string\"],\n  \"fromTimestamp\": \"2026-01-01T00:00:00.000Z\",\n  \"toTimestamp\": \"2026-09-01T00:00:00.000Z\",\n  \"fromPeriod\": \"2026-01-01\",\n  \"toPeriod\": \"2026-09-01\",\n  \"userIds\": [\"string\"]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/payment-account-pockets/api/Pockets/GetBalanceHistories","description":"<p>Returns the balance history of one or more pockets: every balance change (manual update, schedule application, settlement, expiry) with who initiated it, the amount, the balance before the change and, for periodic pockets, the period it belongs to.</p>\n<hr />\n<h3 id=\"request-parameters\">Request Parameters</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field Name</th>\n<th>Required/Optional</th>\n<th>Type</th>\n<th>Description</th>\n<th>Example</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>pocketIds</code></td>\n<td>Required</td>\n<td>string[]</td>\n<td>Pockets to read history for. Non-empty</td>\n<td>[\"pkt-001\"]</td>\n</tr>\n<tr>\n<td><code>pagination</code></td>\n<td>Optional</td>\n<td>object</td>\n<td>Cursor-based pagination (<code>id</code>, <code>createdAt</code>, <code>limit</code>). Omit for the first page</td>\n<td>—</td>\n</tr>\n<tr>\n<td><code>includeTotalCount</code></td>\n<td>Optional</td>\n<td>boolean</td>\n<td>If true, <code>totalCount</code> is returned</td>\n<td>true</td>\n</tr>\n<tr>\n<td><code>fromTimestamp</code></td>\n<td>Optional</td>\n<td>string (ISO 8601)</td>\n<td>Only entries whose <code>timestamp</code> is on or after this instant</td>\n<td>\"2026-01-01T00:00:00.000Z\"</td>\n</tr>\n<tr>\n<td><code>toTimestamp</code></td>\n<td>Optional</td>\n<td>string (ISO 8601)</td>\n<td>Only entries whose <code>timestamp</code> is on or before this instant</td>\n<td>\"2026-09-01T00:00:00.000Z\"</td>\n</tr>\n<tr>\n<td><code>fromPeriod</code></td>\n<td>Optional</td>\n<td>string (date)</td>\n<td>Only entries whose <code>periodStart</code> is on or after this date (periodic pockets)</td>\n<td>\"2026-01-01\"</td>\n</tr>\n<tr>\n<td><code>toPeriod</code></td>\n<td>Optional</td>\n<td>string (date)</td>\n<td>Only entries whose <code>periodEnd</code> is on or before this date</td>\n<td>\"2026-09-01\"</td>\n</tr>\n<tr>\n<td><code>userIds</code></td>\n<td>Optional</td>\n<td>string[]</td>\n<td>Restrict to pockets related to these users. Subject to caller scope, same rules as <strong>GetPocketsByDevices</strong></td>\n<td>[\"usr-001\"]</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"response-fields\">Response Fields</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>pocketBalanceHistories</code></td>\n<td>array</td>\n<td>History entries, newest first within the page</td>\n</tr>\n<tr>\n<td><code>pocketBalanceHistories[].id</code></td>\n<td>string</td>\n<td>Entry ID</td>\n</tr>\n<tr>\n<td><code>pocketBalanceHistories[].pocketId</code></td>\n<td>string</td>\n<td>Pocket</td>\n</tr>\n<tr>\n<td><code>pocketBalanceHistories[].timestamp</code></td>\n<td>string (ISO 8601)</td>\n<td>When the balance changed</td>\n</tr>\n<tr>\n<td><code>pocketBalanceHistories[].amount</code></td>\n<td>number</td>\n<td>Signed change applied to the balance</td>\n</tr>\n<tr>\n<td><code>pocketBalanceHistories[].previousBalance</code></td>\n<td>number</td>\n<td>Balance before the change</td>\n</tr>\n<tr>\n<td><code>pocketBalanceHistories[].initiatorType</code></td>\n<td>AuditInitiatorType</td>\n<td><code>customer</code>, <code>service</code>, <code>admin</code></td>\n</tr>\n<tr>\n<td><code>pocketBalanceHistories[].initiatorIdentifier</code></td>\n<td>string</td>\n<td>Who or what made the change (user ID or service name)</td>\n</tr>\n<tr>\n<td><code>pocketBalanceHistories[].isInitial</code></td>\n<td>boolean</td>\n<td>True for the entry written at pocket creation</td>\n</tr>\n<tr>\n<td><code>pocketBalanceHistories[].comment</code></td>\n<td>string</td>\n<td>Comment passed on <strong>UpdatePocketsBalance</strong>, if any</td>\n</tr>\n<tr>\n<td><code>pocketBalanceHistories[].additionalInfo</code></td>\n<td>string</td>\n<td>Free text passed on create / balance update, if any</td>\n</tr>\n<tr>\n<td><code>pocketBalanceHistories[].periodicAmount</code></td>\n<td>number</td>\n<td>Periodic allowance applied in this entry (schedules)</td>\n</tr>\n<tr>\n<td><code>pocketBalanceHistories[].rolloverAmount</code></td>\n<td>number</td>\n<td>Amount rolled over from the previous period (schedules)</td>\n</tr>\n<tr>\n<td><code>pocketBalanceHistories[].periodStart</code> / <code>periodEnd</code></td>\n<td>string (date)</td>\n<td>Period the entry belongs to (periodic pockets)</td>\n</tr>\n<tr>\n<td><code>pocketBalanceHistories[].organizationId</code></td>\n<td>string</td>\n<td>Owning organization</td>\n</tr>\n<tr>\n<td><code>pagination</code></td>\n<td>object</td>\n<td>Cursor for the next page</td>\n</tr>\n<tr>\n<td><code>totalCount</code></td>\n<td>number</td>\n<td>Present only when <code>includeTotalCount</code> is true</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["payment-account-pockets","api","Pockets","GetBalanceHistories"],"host":["api","stage","cal-platform","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"cf7b5764-3192-b827-f652-53297e35ee21"}],"id":"0199ae17-34cc-4d25-81a9-41049348fd04","description":"<p><strong>Purpose:</strong> Manage virtual accounts (“pockets”) to control balances, spending, and enforce rules defined by policies and initiatives.</p>\n<p><strong>ISO 4217 Currency Codes</strong></p>\n<p>The ISO 4217 standard defines three-letter alphabetic and three-digit numeric codes for each currency. These codes are widely used to represent currencies in financial transactions and APIs.</p>\n<p><strong>Reference:</strong></p>\n<p>• <a href=\"https://en.wikipedia.org/wiki/ISO_4217?utm_source=chatgpt.com\">ISO 4217 Currency Codes on Wikipedia</a></p>\n","_postman_id":"0199ae17-34cc-4d25-81a9-41049348fd04"},{"name":"PaymentDevices","item":[{"name":"UpdatePaymentDevices","id":"6030a295-134b-42f3-ac47-b3d421b89967","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"},{"key":"X-Organization-Id","value":"{{OrganizationId}}"}],"body":{"mode":"raw","raw":"{\n  \"paymentDevices\": [\n    {\n      \"id\": \"string\",\n      \"usageControl\": \"lockedByAdmin\",\n      \"profileId\": \"string\"\n    }\n  ]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/payment-account-pockets/api/PaymentDevices/UpdatePaymentDevices","description":"<p>Update payment device metadata and usage control.</p>\n<hr />\n<h3 id=\"request-parameters\">Request Parameters</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field Name</th>\n<th>Required/Optional</th>\n<th>Type</th>\n<th>Description</th>\n<th>Example</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>paymentDevices</code></td>\n<td>Required</td>\n<td>Array</td>\n<td>List of payment devices to update. Must contain at least one item.</td>\n<td>—</td>\n</tr>\n<tr>\n<td><code>paymentDevices[].id</code></td>\n<td>Required</td>\n<td>String</td>\n<td>Unique identifier of the payment device to update.</td>\n<td><code>\"dev-001\"</code></td>\n</tr>\n<tr>\n<td><code>paymentDevices[].usageControl</code></td>\n<td>Conditional</td>\n<td>Enum</td>\n<td>Controls how the device can be used. At least one of <code>usageControl</code> or <code>profileId</code> must be provided. Options: <code>lockedByAdmin</code>, <code>lockedByCustomer</code>, <code>paymentAccountOnly</code>, <code>detachedFromPaymentAccount</code>.</td>\n<td><code>\"lockedByAdmin\"</code></td>\n</tr>\n<tr>\n<td><code>paymentDevices[].profileId</code></td>\n<td>Conditional</td>\n<td>String</td>\n<td>ID of the profile to link to this device. At least one of <code>usageControl</code> or <code>profileId</code> must be provided.</td>\n<td><code>\"prf-001\"</code></td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"response-fields\">Response Fields</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>paymentDevices</code></td>\n<td>array</td>\n</tr>\n<tr>\n<td><code>paymentDevices[].id</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>paymentDevices[].type</code></td>\n<td><code>card</code></td>\n</tr>\n<tr>\n<td><code>paymentDevices[].customerId</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>paymentDevices[].internalStatus</code></td>\n<td><code>active</code><br /><code>unactivated</code><br /><code>suspended</code><br /><code>canceled</code></td>\n</tr>\n<tr>\n<td><code>paymentDevices[].usageControl</code></td>\n<td><code>lockedByAdmin</code><br /><code>lockedByCustomer</code><br /><code>paymentAccountOnly</code><br /><code>detachedFromPaymentAccount</code></td>\n</tr>\n<tr>\n<td><code>paymentDevices[].organizationId</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>paymentDevices[].userId</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>paymentDevices[].profileId</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>paymentDevices[].lifetimeSpendAmount</code></td>\n<td>number</td>\n</tr>\n<tr>\n<td><code>paymentDevices[].lifetimeSpendCurrency</code></td>\n<td>number</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["payment-account-pockets","api","PaymentDevices","UpdatePaymentDevices"],"host":["api","stage","cal-platform","com"],"query":[],"variable":[]}},"response":[{"id":"1333afa7-2f8b-4cbf-8622-fdcd0c493c6b","name":"UpdatePaymentDevices","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"},{"key":"X-Organization-Id","value":"{{OrganizationId}}"}],"body":{"mode":"raw","raw":"{\n  \"paymentDevices\": [\n    {\n      \"id\": \"string\",\n      \"usageControl\": \"lockedByAdmin\",\n      \"profileId\": \"string\"\n    }\n  ]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/payment-account-pockets/api/PaymentDevices/UpdatePaymentDevices"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n  \"statusDescription\": \"string\",\n  \"statusCode\": 1,\n  \"sessionId\": \"string\",\n  \"httpStatus\": 200,\n  \"result\": {\n    \"paymentDevices\": [\n      {\n        \"id\": \"string\",\n        \"type\": \"card\",\n        \"customerId\": \"string\",\n        \"internalStatus\": \"active\",\n        \"usageControl\": \"lockedByAdmin\",\n        \"organizationId\": \"string\",\n        \"userId\": \"string\",\n        \"profileId\": \"string\",\n        \"lifetimeSpendAmount\": 0,\n        \"lifetimeSpendCurrency\": 0\n      }\n    ]\n  }\n}"}],"_postman_id":"6030a295-134b-42f3-ac47-b3d421b89967"},{"name":"GetPaymentDevicesByUsers","id":"dc58771f-ad6b-480c-8d03-7828db90a2be","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"},{"key":"X-Organization-Id","value":"{{OrganizationId}}"}],"body":{"mode":"raw","raw":"{\n  \"userIds\": [\n    \"string\"\n  ]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/payment-account-pockets/api/PaymentDevices/GetPaymentDevicesByUsers","description":"<p>Retrieve payment devices associated with specific users.</p>\n<hr />\n<h3 id=\"request-parameters\">Request Parameters</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field Name</th>\n<th>Required/Optional</th>\n<th>Type</th>\n<th>Description</th>\n<th>Example</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>userIds</code></td>\n<td>Required</td>\n<td>String[]</td>\n<td>List of user IDs whose payment devices should be retrieved. At least one ID required. Subject to caller scope — see User Scoping below</td>\n<td><code>[\"usr-001\"]</code></td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"user-scoping\">User Scoping</h3>\n<ul>\n<li>Unscoped caller (admin / B2B token): the requested <code>userIds</code> are applied as sent.</li>\n<li>User-scoped caller (B2C token): results are limited to the <strong>intersection</strong> of the requested <code>userIds</code> and the token's own users.</li>\n<li>If the intersection is empty, the request is rejected with <code>InsufficientPermissions</code> (status <code>20</code>).</li>\n</ul>\n<hr />\n<h3 id=\"response-fields\">Response Fields</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>paymentDevices</code></td>\n<td>array</td>\n</tr>\n<tr>\n<td><code>paymentDevices[].id</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>paymentDevices[].createdAt</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>paymentDevices[].updatedAt</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>paymentDevices[].deletedAt</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>paymentDevices[].type</code></td>\n<td><code>card</code></td>\n</tr>\n<tr>\n<td><code>paymentDevices[].customerId</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>paymentDevices[].internalStatus</code></td>\n<td><code>active</code> <br /> <code>unactivated</code> <br /> <code>suspended</code> <br /> <code>canceled</code></td>\n</tr>\n<tr>\n<td><code>paymentDevices[].usageControl</code></td>\n<td><code>lockedByAdmin</code> <br /> <code>lockedByCustomer</code> <br /> <code>paymentAccountOnly</code> <br /> <code>detachedFromPaymentAccount</code></td>\n</tr>\n<tr>\n<td><code>paymentDevices[].organizationId</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>paymentDevices[].userId</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>paymentDevices[].profileId</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>paymentDevices[].lifetimeSpendAmount</code></td>\n<td>number</td>\n</tr>\n<tr>\n<td><code>paymentDevices[].lifetimeSpendCurrency</code></td>\n<td>number</td>\n</tr>\n<tr>\n<td><code>paymentDevices[].lastFourDigits</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>paymentDevices[].expiration</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>paymentDevices[].accountType</code></td>\n<td><code>paymentAccount</code> <br /> <code>hybrid</code> <br /> <code>bankAccount</code></td>\n</tr>\n<tr>\n<td><code>paymentDevices[].cardIssuerInternalId</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>paymentDevices[].businessPartnerCode</code></td>\n<td>string</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["payment-account-pockets","api","PaymentDevices","GetPaymentDevicesByUsers"],"host":["api","stage","cal-platform","com"],"query":[],"variable":[]}},"response":[{"id":"b0efb964-2257-4c12-86f6-32a847e43f05","name":"GetPaymentDevicesByUsers","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"},{"key":"X-Organization-Id","value":"{{OrganizationId}}"}],"body":{"mode":"raw","raw":"{\n  \"userIds\": [\n    \"string\"\n  ]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/payment-account-pockets/api/PaymentDevices/GetPaymentDevicesByUsers"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"statusDescription\": \"string\",\n    \"statusCode\": 1,\n    \"sessionId\": \"string\",\n    \"httpStatus\": 200,\n    \"result\": {\n      \"paymentDevices\": [\n        {\n          \"id\": \"string\",\n          \"createdAt\": \"string\",\n          \"updatedAt\": \"string\",\n          \"deletedAt\": \"string\",\n          \"type\": \"card\",\n          \"customerId\": \"string\",\n          \"internalStatus\": \"active\",\n          \"usageControl\": \"lockedByAdmin\",\n          \"organizationId\": \"string\",\n          \"userId\": \"string\",\n          \"profileId\": \"string\",\n          \"lifetimeSpendAmount\": 0,\n          \"lifetimeSpendCurrency\": 0,\n          \"lastFourDigits\": \"string\",\n          \"expiration\": \"string\",\n          \"accountType\": \"paymentAccount\",\n          \"cardIssuerInternalId\": \"string\",\n          \"businessPartnerCode\": \"string\"\n        }\n      ]\n    }\n}"}],"_postman_id":"dc58771f-ad6b-480c-8d03-7828db90a2be"}],"id":"6741d301-aee0-4936-9576-f3a2bfc9c746","_postman_id":"6741d301-aee0-4936-9576-f3a2bfc9c746","description":""},{"name":"PendingPockets","item":[{"name":"GetPendingPocketsByUsers","id":"d20e56f7-83da-4751-9fcf-a614081da9af","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"},{"key":"X-Organization-Id","value":"{{OrganizationId}}"},{"key":"x-organization-id","value":""}],"body":{"mode":"raw","raw":"{\n  \"pagination\": {\n    \"id\": \"string\",\n    \"createdAt\": \"2026-04-30T11:00:54.374Z\",\n    \"limit\": 0\n  },\n  \"userIds\": [\n    \"string\"\n  ]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/payment-account-pockets/api/PendingPockets/GetPendingPocketsByUsers","description":"<p>Retrieve pending pockets associated with specific users.</p>\n<hr />\n<h3 id=\"request-parameters\">Request Parameters</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field Name</th>\n<th>Required/Optional</th>\n<th>Type</th>\n<th>Description</th>\n<th>Example</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>userIds</code></td>\n<td>Required</td>\n<td>String[]</td>\n<td>List of user IDs whose pending pockets should be retrieved. Subject to caller scope — see User Scoping below</td>\n<td><code>[\"usr-001\"]</code></td>\n</tr>\n<tr>\n<td><code>pagination</code></td>\n<td>Optional</td>\n<td>Object</td>\n<td>Pagination cursor. Omit for first page.</td>\n<td>—</td>\n</tr>\n<tr>\n<td><code>pagination.id</code></td>\n<td>Optional</td>\n<td>String</td>\n<td>ID of the last item from the previous page.</td>\n<td><code>\"pkt-001\"</code></td>\n</tr>\n<tr>\n<td><code>pagination.createdAt</code></td>\n<td>Required</td>\n<td>Date</td>\n<td><code>createdAt</code> of the last item from the previous page.</td>\n<td><code>\"2024-01-01T00:00:00.000Z\"</code></td>\n</tr>\n<tr>\n<td><code>pagination.limit</code></td>\n<td>Required</td>\n<td>Number</td>\n<td>Number of items per page. Min: 1, Max: 3000.</td>\n<td><code>50</code></td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"user-scoping\">User Scoping</h3>\n<ul>\n<li>Unscoped caller (admin / B2B token): the requested <code>userIds</code> are applied as sent.</li>\n<li>User-scoped caller (B2C token): results are limited to the <strong>intersection</strong> of the requested <code>userIds</code> and the token's own users.</li>\n<li>If the intersection is empty, the request is rejected with <code>InsufficientPermissions</code> (status <code>20</code>).</li>\n</ul>\n<hr />\n<h3 id=\"response-fields\">Response Fields</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>pagination</code></td>\n<td>object</td>\n</tr>\n<tr>\n<td><code>pagination.id</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>pagination.createdAt</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>pendingPockets</code></td>\n<td>array</td>\n</tr>\n<tr>\n<td><code>pendingPockets[].id</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>pendingPockets[].pocketId</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>pendingPockets[].userId</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>pendingPockets[].organizationId</code></td>\n<td>string</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["payment-account-pockets","api","PendingPockets","GetPendingPocketsByUsers"],"host":["api","stage","cal-platform","com"],"query":[],"variable":[]}},"response":[{"id":"b377060e-1b59-4db0-829f-20d0ef3499fd","name":"GetPendingPocketsByUsers","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"","type":"text"},{"key":"x-organization-id","value":"","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"pagination\": {\n    \"id\": \"string\",\n    \"createdAt\": \"2026-04-30T11:00:54.374Z\",\n    \"limit\": 0\n  },\n  \"userIds\": [\n    \"string\"\n  ]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/payment-account-pockets/api/PendingPockets/GetPendingPocketsByUsers"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n  \"statusDescription\": \"string\",\n  \"statusCode\": 0,\n  \"sessionId\": \"string\",\n  \"httpStatus\": 0,\n  \"result\": {\n    \"pagination\": {\n      \"id\": \"string\",\n      \"createdAt\": \"2026-04-30T11:13:17.229Z\"\n    },\n    \"pendingPockets\": [\n      {\n        \"id\": \"string\",\n        \"pocketId\": \"string\",\n        \"userId\": \"string\",\n        \"organizationId\": \"string\"\n      }\n    ]\n  }\n}"}],"_postman_id":"d20e56f7-83da-4751-9fcf-a614081da9af"}],"id":"8095fe50-b2fb-4e6a-8fb2-f6e36af50a4e","_postman_id":"8095fe50-b2fb-4e6a-8fb2-f6e36af50a4e","description":""},{"name":"PocketBalanceSchedules","item":[{"name":"GetPocketBalanceSchedules","id":"9cae7908-71a6-4d86-9acf-dbab272998b9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"},{"key":"X-Organization-Id","value":"{{OrganizationId}}"}],"body":{"mode":"raw","raw":"{\n  \"ids\": [\n    \"string\"\n  ],\n  \"pocketIds\": [\n    \"string\"\n  ],\n  \"userIds\": [\n    \"string\"\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://api.stage.cal-platform.com/payment-account-pockets/api/PocketBalanceSchedules/GetPocketBalanceSchedules","description":"<p>Retrieve pocket balance schedules by schedule IDs or pocket IDs.</p>\n<hr />\n<h3 id=\"request-parameters\">Request Parameters</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field Name</th>\n<th>Required/Optional</th>\n<th>Type</th>\n<th>Description</th>\n<th>Example</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>ids</code></td>\n<td>Conditional</td>\n<td>String[]</td>\n<td>List of balance schedule IDs to retrieve. At least one of <code>ids</code> or <code>pocketIds</code> must be provided.</td>\n<td><code>[\"sched-001\"]</code></td>\n</tr>\n<tr>\n<td><code>pocketIds</code></td>\n<td>Conditional</td>\n<td>String[]</td>\n<td>List of pocket IDs to retrieve schedules for. At least one of <code>ids</code> or <code>pocketIds</code> must be provided.</td>\n<td><code>[\"pkt-001\"]</code></td>\n</tr>\n<tr>\n<td><code>userIds</code></td>\n<td>Optional</td>\n<td>String[]</td>\n<td>Restrict results to schedules of pockets belonging to these users. Subject to caller scope — see User Scoping below</td>\n<td><code>[\"usr-001\"]</code></td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"user-scoping\">User Scoping</h3>\n<ul>\n<li>Unscoped caller (admin / B2B token): the requested <code>userIds</code> are applied as sent; omit them and no user filter is applied.</li>\n<li>User-scoped caller (B2C token): results are limited to the <strong>intersection</strong> of the requested <code>userIds</code> and the token's own users; omit them and the token's own users are used.</li>\n<li>If the intersection is empty, the request is rejected with <code>InsufficientPermissions</code> (status <code>20</code>).</li>\n</ul>\n<hr />\n<h3 id=\"response-fields\">Response Fields</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>pocketBalanceSchedules</code></td>\n<td>array</td>\n</tr>\n<tr>\n<td><code>pocketBalanceSchedules[].id</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>pocketBalanceSchedules[].pocketId</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>pocketBalanceSchedules[].amount</code></td>\n<td>number</td>\n</tr>\n<tr>\n<td><code>pocketBalanceSchedules[].currency</code></td>\n<td>number</td>\n</tr>\n<tr>\n<td><code>pocketBalanceSchedules[].timezone</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>pocketBalanceSchedules[].periodType</code></td>\n<td><code>monthly</code><br /><code>weekly</code><br /><code>daily</code><br /><code>once</code></td>\n</tr>\n<tr>\n<td><code>pocketBalanceSchedules[].periodValue</code></td>\n<td>number</td>\n</tr>\n<tr>\n<td><code>pocketBalanceSchedules[].isAccumulative</code></td>\n<td>boolean</td>\n</tr>\n<tr>\n<td><code>pocketBalanceSchedules[].negativeBalanceBehavior</code></td>\n<td><code>set</code><br /><code>offset</code></td>\n</tr>\n<tr>\n<td><code>pocketBalanceSchedules[].postApplicationBehavior</code></td>\n<td><code>set</code><br /><code>notSet</code></td>\n</tr>\n<tr>\n<td><code>pocketBalanceSchedules[].lastAppliedAt</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>pocketBalanceSchedules[].expirationDate</code></td>\n<td>string</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["payment-account-pockets","api","PocketBalanceSchedules","GetPocketBalanceSchedules"],"host":["api","stage","cal-platform","com"],"query":[],"variable":[]}},"response":[{"id":"10dffdc3-1ed0-4f72-91e7-5a649efb58f2","name":"GetPocketBalanceSchedules","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"ids\": [\n    \"string\"\n  ],\n  \"pocketIds\": [\n    \"string\"\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://api.stage.cal-platform.com/payment-account-pockets/api/PocketBalanceSchedules/GetPocketBalanceSchedules"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"statusDescription\": \"string\",\n    \"statusCode\": 0,\n    \"sessionId\": \"string\",\n    \"httpStatus\": 0,\n    \"result\": {\n        \"pocketBalanceSchedules\": [\n            {\n                \"id\": \"string\",\n                \"pocketId\": \"string\",\n                \"amount\": 0,\n                \"currency\": 0,\n                \"timezone\": \"string\",\n                \"periodType\": \"monthly\",\n                \"periodValue\": 0,\n                \"isAccumulative\": true,\n                \"negativeBalanceBehavior\": \"set\",\n                \"postApplicationBehavior\": \"set\",\n                \"lastAppliedAt\": \"2026-04-30T11:23:23.855Z\",\n                \"expirationDate\": \"2026-04-30T11:23:23.855Z\"\n            }\n        ]\n    }\n}"}],"_postman_id":"9cae7908-71a6-4d86-9acf-dbab272998b9"},{"name":"CreatePocketBalanceSchedules","id":"0b87d936-4a07-4993-a599-e466ea03723b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"},{"key":"X-Organization-Id","value":"{{OrganizationId}}"}],"body":{"mode":"raw","raw":"{\n  \"pocketIds\": [\n    \"string\"\n  ],\n  \"pocketBalanceSchedule\": {\n    \"amount\": 0,\n    \"currency\": 0,\n    \"timezone\": \"string\",\n    \"periodType\": \"monthly\",\n    \"periodValue\": 0,\n    \"isAccumulative\": true,\n    \"negativeBalanceBehavior\": \"set\",\n    \"postApplicationBehavior\": \"set\",\n    \"expirationDate\": \"2026-04-30T11:30:18.246Z\"\n  }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://api.stage.cal-platform.com/payment-account-pockets/api/PocketBalanceSchedules/CreatePocketBalanceSchedules","description":"<p>Create balance schedules for pockets. A schedule grants <code>amount</code> to the pocket every period; each application is recorded in the pocket's balance history (<code>GetBalanceHistories</code>) with <code>periodicAmount</code>, <code>rolloverAmount</code>, <code>periodStart</code> and <code>periodEnd</code>.</p>\n<p>The acting user must be active, and pockets whose related users are not active are skipped and reported in <code>failures</code>.</p>\n<hr />\n<h3 id=\"request-parameters\">Request Parameters</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field Name</th>\n<th>Required/Optional</th>\n<th>Type</th>\n<th>Description</th>\n<th>Example</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>pocketIds</code></td>\n<td>Required</td>\n<td>String[]</td>\n<td>List of pocket IDs to create the schedule for. A pocket may hold only one schedule (<code>PocketBalanceScheduleAlreadyExists</code>, status <code>15</code>)</td>\n<td><code>[\"pkt-001\"]</code></td>\n</tr>\n<tr>\n<td><code>pocketBalanceSchedule.amount</code></td>\n<td>Required</td>\n<td>Number</td>\n<td>Balance amount per schedule period. Must be positive.</td>\n<td><code>100</code></td>\n</tr>\n<tr>\n<td><code>pocketBalanceSchedule.currency</code></td>\n<td>Required</td>\n<td>Number</td>\n<td>Currency in ISO 4217 numeric format.</td>\n<td><code>376</code></td>\n</tr>\n<tr>\n<td><code>pocketBalanceSchedule.timezone</code></td>\n<td>Required</td>\n<td>String</td>\n<td>Timezone for the schedule.</td>\n<td><code>\"Asia/Jerusalem\"</code></td>\n</tr>\n<tr>\n<td><code>pocketBalanceSchedule.periodType</code></td>\n<td>Required</td>\n<td>Enum</td>\n<td>Schedule frequency. Options: <code>daily</code>, <code>weekly</code>, <code>monthly</code>. <code>once</code> is <strong>not</strong> accepted.</td>\n<td><code>\"monthly\"</code></td>\n</tr>\n<tr>\n<td><code>pocketBalanceSchedule.periodValue</code></td>\n<td>Conditional</td>\n<td>Number</td>\n<td>Renewal day. For <code>monthly</code>: day of month 1–28 (later days are rejected so every month renews). For <code>weekly</code>: day of week 0–6. Not used for <code>daily</code>.</td>\n<td><code>1</code></td>\n</tr>\n<tr>\n<td><code>pocketBalanceSchedule.isAccumulative</code></td>\n<td>Required</td>\n<td>Boolean</td>\n<td>If <code>true</code>, unused balance rolls over to the next period.</td>\n<td><code>true</code></td>\n</tr>\n<tr>\n<td><code>pocketBalanceSchedule.negativeBalanceBehavior</code></td>\n<td>Required</td>\n<td>Enum</td>\n<td>Behavior when balance is negative. Options: <code>set</code>, <code>offset</code>.</td>\n<td><code>\"set\"</code></td>\n</tr>\n<tr>\n<td><code>pocketBalanceSchedule.postApplicationBehavior</code></td>\n<td>Required</td>\n<td>Enum</td>\n<td>Behavior after applying the balance. Options: <code>set</code>, <code>notSet</code>.</td>\n<td><code>\"set\"</code></td>\n</tr>\n<tr>\n<td><code>pocketBalanceSchedule.expirationDate</code></td>\n<td>Optional</td>\n<td>Date</td>\n<td>Expiration date for the schedule.</td>\n<td><code>\"2025-12-31T00:00:00.000Z\"</code></td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"response-fields\">Response Fields</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>pocketBalanceSchedules</code></td>\n<td>array</td>\n</tr>\n<tr>\n<td><code>pocketBalanceSchedules[].id</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>pocketBalanceSchedules[].pocketId</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>pocketBalanceSchedules[].amount</code></td>\n<td>number</td>\n</tr>\n<tr>\n<td><code>pocketBalanceSchedules[].currency</code></td>\n<td>number</td>\n</tr>\n<tr>\n<td><code>pocketBalanceSchedules[].timezone</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>pocketBalanceSchedules[].periodType</code></td>\n<td><code>monthly</code><br /><code>weekly</code><br /><code>daily</code></td>\n</tr>\n<tr>\n<td><code>pocketBalanceSchedules[].periodValue</code></td>\n<td>number</td>\n</tr>\n<tr>\n<td><code>pocketBalanceSchedules[].isAccumulative</code></td>\n<td>boolean</td>\n</tr>\n<tr>\n<td><code>pocketBalanceSchedules[].negativeBalanceBehavior</code></td>\n<td><code>set</code><br /><code>offset</code></td>\n</tr>\n<tr>\n<td><code>pocketBalanceSchedules[].postApplicationBehavior</code></td>\n<td><code>set</code><br /><code>notSet</code></td>\n</tr>\n<tr>\n<td><code>pocketBalanceSchedules[].lastAppliedAt</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>pocketBalanceSchedules[].expirationDate</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>failures</code></td>\n<td>array — pockets that were skipped (<code>id</code>, <code>statusCode</code>, <code>message</code>)</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["payment-account-pockets","api","PocketBalanceSchedules","CreatePocketBalanceSchedules"],"host":["api","stage","cal-platform","com"],"query":[],"variable":[]}},"response":[{"id":"41e0eda5-aeff-42de-9e84-1614e5563743","name":"CreatePocketBalanceSchedules","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"pocketIds\": [\n    \"string\"\n  ],\n  \"pocketBalanceSchedule\": {\n    \"amount\": 0,\n    \"currency\": 0,\n    \"timezone\": \"string\",\n    \"periodType\": \"monthly\",\n    \"periodValue\": 0,\n    \"isAccumulative\": true,\n    \"negativeBalanceBehavior\": \"set\",\n    \"postApplicationBehavior\": \"set\",\n    \"expirationDate\": \"2026-04-30T11:30:18.246Z\"\n  }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://api.stage.cal-platform.com/payment-account-pockets/api/PocketBalanceSchedules/CreatePocketBalanceSchedules"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"statusDescription\": \"string\",\n    \"statusCode\": 0,\n    \"sessionId\": \"string\",\n    \"httpStatus\": 0,\n    \"result\": {\n        \"pocketBalanceSchedules\": [\n            {\n                \"id\": \"string\",\n                \"pocketId\": \"string\",\n                \"amount\": 0,\n                \"currency\": 0,\n                \"timezone\": \"string\",\n                \"periodType\": \"monthly\",\n                \"periodValue\": 0,\n                \"isAccumulative\": true,\n                \"negativeBalanceBehavior\": \"set\",\n                \"postApplicationBehavior\": \"set\",\n                \"lastAppliedAt\": \"2026-04-30T11:30:18.253Z\",\n                \"expirationDate\": \"2026-04-30T11:30:18.253Z\"\n            }\n        ]\n    }\n}"}],"_postman_id":"0b87d936-4a07-4993-a599-e466ea03723b"},{"name":"UpdatePocketBalanceSchedules","id":"8cdc14d2-b908-402e-a8f9-858a49d089ef","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"},{"key":"X-Organization-Id","value":"{{OrganizationId}}"}],"body":{"mode":"raw","raw":"{\n  \"ids\": [\n    \"string\"\n  ],\n  \"pocketBalanceSchedule\": {\n    \"amount\": 0,\n    \"currency\": 0,\n    \"timezone\": \"string\",\n    \"isAccumulative\": true,\n    \"negativeBalanceBehavior\": \"set\",\n    \"postApplicationBehavior\": \"set\",\n    \"expirationDate\": \"2026-04-30T11:24:24.460Z\"\n  }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://api.stage.cal-platform.com/payment-account-pockets/api/PocketBalanceSchedules/UpdatePocketBalanceSchedules","description":"<p>Update existing pocket balance schedules. The renewal terms of a schedule are frozen once created: <code>periodType</code> and <code>periodValue</code> cannot be changed — delete and recreate the schedule instead.</p>\n<hr />\n<h3 id=\"request-parameters\">Request Parameters</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field Name</th>\n<th>Required/Optional</th>\n<th>Type</th>\n<th>Description</th>\n<th>Example</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>ids</code></td>\n<td>Required</td>\n<td>String[]</td>\n<td>List of balance schedule IDs to update.</td>\n<td><code>[\"sched-001\"]</code></td>\n</tr>\n<tr>\n<td><code>pocketBalanceSchedule.amount</code></td>\n<td>Optional</td>\n<td>Number</td>\n<td>Balance amount per schedule period. Must be positive.</td>\n<td><code>100</code></td>\n</tr>\n<tr>\n<td><code>pocketBalanceSchedule.currency</code></td>\n<td>Optional</td>\n<td>Number</td>\n<td>Currency in ISO 4217 numeric format.</td>\n<td><code>376</code></td>\n</tr>\n<tr>\n<td><code>pocketBalanceSchedule.timezone</code></td>\n<td>Optional</td>\n<td>String</td>\n<td>Timezone for the schedule.</td>\n<td><code>\"Asia/Jerusalem\"</code></td>\n</tr>\n<tr>\n<td><code>pocketBalanceSchedule.periodType</code></td>\n<td>Not allowed</td>\n<td>—</td>\n<td>Sending it is rejected: \"periodType cannot be changed\"</td>\n<td>—</td>\n</tr>\n<tr>\n<td><code>pocketBalanceSchedule.periodValue</code></td>\n<td>Not allowed</td>\n<td>—</td>\n<td>Sending it is rejected: \"periodValue cannot be changed\"</td>\n<td>—</td>\n</tr>\n<tr>\n<td><code>pocketBalanceSchedule.isAccumulative</code></td>\n<td>Optional</td>\n<td>Boolean</td>\n<td>If <code>true</code>, unused balance rolls over to the next period.</td>\n<td><code>true</code></td>\n</tr>\n<tr>\n<td><code>pocketBalanceSchedule.negativeBalanceBehavior</code></td>\n<td>Optional</td>\n<td>Enum</td>\n<td>Behavior when balance is negative. Options: <code>set</code>, <code>offset</code>.</td>\n<td><code>\"set\"</code></td>\n</tr>\n<tr>\n<td><code>pocketBalanceSchedule.postApplicationBehavior</code></td>\n<td>Optional</td>\n<td>Enum</td>\n<td>Behavior after applying the balance. Options: <code>set</code>, <code>notSet</code>.</td>\n<td><code>\"set\"</code></td>\n</tr>\n<tr>\n<td><code>pocketBalanceSchedule.expirationDate</code></td>\n<td>Optional</td>\n<td>Date</td>\n<td>Expiration date for the schedule.</td>\n<td><code>\"2025-12-31T00:00:00.000Z\"</code></td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"response-fields\">Response Fields</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>pocketBalanceSchedules</code></td>\n<td>array</td>\n</tr>\n<tr>\n<td><code>pocketBalanceSchedules[].id</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>pocketBalanceSchedules[].pocketId</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>pocketBalanceSchedules[].amount</code></td>\n<td>number</td>\n</tr>\n<tr>\n<td><code>pocketBalanceSchedules[].currency</code></td>\n<td>number</td>\n</tr>\n<tr>\n<td><code>pocketBalanceSchedules[].timezone</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>pocketBalanceSchedules[].periodType</code></td>\n<td><code>monthly</code><br /><code>weekly</code><br /><code>daily</code></td>\n</tr>\n<tr>\n<td><code>pocketBalanceSchedules[].periodValue</code></td>\n<td>number</td>\n</tr>\n<tr>\n<td><code>pocketBalanceSchedules[].isAccumulative</code></td>\n<td>boolean</td>\n</tr>\n<tr>\n<td><code>pocketBalanceSchedules[].negativeBalanceBehavior</code></td>\n<td><code>set</code><br /><code>offset</code></td>\n</tr>\n<tr>\n<td><code>pocketBalanceSchedules[].postApplicationBehavior</code></td>\n<td><code>set</code><br /><code>notSet</code></td>\n</tr>\n<tr>\n<td><code>pocketBalanceSchedules[].lastAppliedAt</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>pocketBalanceSchedules[].expirationDate</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>failures</code></td>\n<td>array — schedules that were skipped (<code>id</code>, <code>statusCode</code>, <code>message</code>)</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["payment-account-pockets","api","PocketBalanceSchedules","UpdatePocketBalanceSchedules"],"host":["api","stage","cal-platform","com"],"query":[],"variable":[]}},"response":[{"id":"a6f5f5e3-c7f4-4d00-9ae4-2d60f5db8ed3","name":"UpdatePocketBalanceSchedules","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"ids\": [\n    \"string\"\n  ],\n  \"pocketBalanceSchedule\": {\n    \"amount\": 0,\n    \"currency\": 0,\n    \"timezone\": \"string\",\n    \"periodType\": \"monthly\",\n    \"periodValue\": 0,\n    \"isAccumulative\": true,\n    \"negativeBalanceBehavior\": \"set\",\n    \"postApplicationBehavior\": \"set\",\n    \"expirationDate\": \"2026-04-30T11:24:24.460Z\"\n  }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://api.stage.cal-platform.com/payment-account-pockets/api/PocketBalanceSchedules/UpdatePocketBalanceSchedules"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n  \"statusDescription\": \"string\",\n  \"statusCode\": 0,\n  \"sessionId\": \"string\",\n  \"httpStatus\": 0,\n  \"result\": {\n    \"pocketBalanceSchedules\": [\n      {\n        \"id\": \"string\",\n        \"pocketId\": \"string\",\n        \"amount\": 0,\n        \"currency\": 0,\n        \"timezone\": \"string\",\n        \"periodType\": \"monthly\",\n        \"periodValue\": 0,\n        \"isAccumulative\": true,\n        \"negativeBalanceBehavior\": \"set\",\n        \"postApplicationBehavior\": \"set\",\n        \"lastAppliedAt\": \"2026-04-30T11:24:24.468Z\",\n        \"expirationDate\": \"2026-04-30T11:24:24.468Z\"\n      }\n    ]\n  }\n}"}],"_postman_id":"8cdc14d2-b908-402e-a8f9-858a49d089ef"}],"id":"a4399aaa-d808-4b5a-9580-2a73fb5f7d06","description":"<p><strong>Purpose:</strong> Retrieve the pocket balance schedule</p>\n","_postman_id":"a4399aaa-d808-4b5a-9580-2a73fb5f7d06"}],"id":"716d13dc-0304-49ee-bc16-b93a2170b2ba","_postman_id":"716d13dc-0304-49ee-bc16-b93a2170b2ba","description":""},{"name":"Policies Api","item":[{"name":"mccGroups","item":[{"name":"GetMccGroups","id":"629791b1-724e-4fac-b5ce-4dd3eb79cc72","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"}],"body":{"mode":"raw","raw":"{\r\n  \"pagination\": {\r\n    \"id\": \"string\",\r\n    \"createdAt\": \"2026-05-03T08:06:54.121Z\",\r\n    \"limit\": 0\r\n  },\r\n  \"filter\": {\r\n    \"groupId\": \"string\",\r\n    \"freeText\": \"string\"\r\n  }\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/payment-account-policies/api/Mccs/GetMccGroups","description":"<p>Retrieve a paginated list of MCC (Merchant Category Code) groups. MCC groups are named collections of MCC codes used to define merchant-category-based authorization policies.</p>\n<hr />\n<h3 id=\"request-parameters\">Request Parameters</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field Name</th>\n<th>Required/Optional</th>\n<th>Type</th>\n<th>Description</th>\n<th>Example</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>pagination</code></td>\n<td>Optional</td>\n<td>Object</td>\n<td>Cursor-based pagination object. Omit to retrieve the first page.</td>\n<td>—</td>\n</tr>\n<tr>\n<td><code>pagination.id</code></td>\n<td>Optional</td>\n<td>String</td>\n<td>ID of the last item from the previous page (cursor).</td>\n<td><code>\"grp-001\"</code></td>\n</tr>\n<tr>\n<td><code>pagination.createdAt</code></td>\n<td>Required</td>\n<td>Date (ISO 8601)</td>\n<td><code>createdAt</code> timestamp of the last item from the previous page.</td>\n<td><code>\"2026-01-01T00:00:00.000Z\"</code></td>\n</tr>\n<tr>\n<td><code>pagination.limit</code></td>\n<td>Required</td>\n<td>Number</td>\n<td>Number of records per page. Min: 1, Max: 3000.</td>\n<td><code>50</code></td>\n</tr>\n<tr>\n<td><code>filter</code></td>\n<td>Required</td>\n<td>Object</td>\n<td>Filtering criteria. Pass <code>{}</code> to retrieve all groups.</td>\n<td>—</td>\n</tr>\n<tr>\n<td><code>filter.groupId</code></td>\n<td>Optional</td>\n<td>String</td>\n<td>Filter by a specific MCC group ID.</td>\n<td><code>\"grp-001\"</code></td>\n</tr>\n<tr>\n<td><code>filter.freeText</code></td>\n<td>Optional</td>\n<td>String</td>\n<td>Free text search across group names and values.</td>\n<td><code>\"restaurant\"</code></td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"response-fields\">Response Fields</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>pagination</code></td>\n<td>object</td>\n</tr>\n<tr>\n<td><code>pagination.id</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>pagination.createdAt</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>groupValues</code></td>\n<td>array</td>\n</tr>\n<tr>\n<td><code>groupValues[].id</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>groupValues[].organizationId</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>groupValues[].groupId</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>groupValues[].name</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>groupValues[].values</code></td>\n<td>array</td>\n</tr>\n<tr>\n<td><code>groupValues[].relatedOrganizations</code></td>\n<td>array</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["payment-account-policies","api","Mccs","GetMccGroups"],"host":["api","stage","cal-platform","com"],"query":[],"variable":[]}},"response":[{"id":"eebb0c21-1e3b-4656-82ce-8a2fca88d185","name":"GetMccGroups","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"}],"body":{"mode":"raw","raw":"{\r\n  \"pagination\": {\r\n    \"id\": \"string\",\r\n    \"createdAt\": \"2026-04-30T12:35:40.461Z\",\r\n    \"limit\": 0\r\n  },\r\n  \"filter\": {\r\n    \"groupId\": \"string\",\r\n    \"freeText\": \"string\"\r\n  }\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/payment-account-policies/api/Mccs/GetMccGroups"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n  \"statusDescription\": \"Success\",\n  \"statusCode\": 200,\n  \"sessionId\": \"string\",\n  \"httpStatus\": 0,\n  \"result\": {\n    \"pagination\": {\n      \"id\": \"string\",\n      \"createdAt\": \"2026-04-30T12:35:40.479Z\"\n    },\n    \"groupValues\": [\n      {\n        \"id\": \"string\",\n        \"organizationId\": \"string\",\n        \"groupId\": \"string\",\n        \"name\": \"string\",\n        \"values\": [\n          null\n        ],\n        \"relatedOrganizations\": [\n          \"string\"\n        ]\n      }\n    ]\n  }\n}"}],"_postman_id":"629791b1-724e-4fac-b5ce-4dd3eb79cc72"},{"name":"CreateMccGroups","id":"abd04f2c-cb8d-4e61-bbfa-074bac0084f7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"},{"key":"X-Organization-Id","value":"{{OrganizationId}}"},{"key":"x-organization-id","value":""}],"body":{"mode":"raw","raw":"{\r\n  \"name\": \"string\",\r\n  \"values\": [\r\n    \"string\"\r\n  ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/payment-account-policies/api/Mccs/CreateMccGroups","description":"<p>Create a new MCC (Merchant Category Code) group under the organization. An MCC group is a named collection of 4-digit MCC codes that can be referenced in authorization policies to allow or block entire merchant categories at once.</p>\n<hr />\n<h3 id=\"request-parameters\">Request Parameters</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field Name</th>\n<th>Required/Optional</th>\n<th>Type</th>\n<th>Description</th>\n<th>Example</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>name</code></td>\n<td>Required</td>\n<td>string</td>\n<td>Display name for the MCC group</td>\n<td><code>\"Supermarkets\"</code></td>\n</tr>\n<tr>\n<td><code>values</code></td>\n<td>Required</td>\n<td>string[]</td>\n<td>Array of MCC codes to include in the group</td>\n<td><code>[\"5411\", \"5412\"]</code></td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"response-fields\">Response Fields</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>groupId</code></td>\n<td>string</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["payment-account-policies","api","Mccs","CreateMccGroups"],"host":["api","stage","cal-platform","com"],"query":[],"variable":[]}},"response":[{"id":"8c199b09-7a7c-4002-8ea9-88a447580cd0","name":"CreateMccGroups","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"},{"key":"X-Organization-Id","value":"{{OrganizationId}}"}],"body":{"mode":"raw","raw":"{\r\n  \"name\": \"string\",\r\n  \"values\": [\r\n    \"string\"\r\n  ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/payment-account-policies/api/Mccs/CreateMccGroups"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n  \"statusDescription\": \"Success\",\n  \"statusCode\": 200,\n  \"sessionId\": \"string\",\n  \"httpStatus\": 0,\n  \"result\": {\n    \"groupId\": \"string\"\n  }\n}"}],"_postman_id":"abd04f2c-cb8d-4e61-bbfa-074bac0084f7"},{"name":"AttachToMccGroup","id":"c7540c50-7ea0-49d3-a126-fb6c90fcb8b9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"},{"key":"X-Organization-Id","value":"{{OrganizationId}}"},{"key":"x-organization-id","value":""}],"body":{"mode":"raw","raw":"{\n  \"groupId\": \"string\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/payment-account-policies/api/Mccs/AttachToMccGroup","description":"<p>Attach the current organization to an existing MCC group that was created by another organization (e.g., the platform or a partner). This allows sharing MCC group definitions across organizations without duplicating them.</p>\n<hr />\n<h3 id=\"request-parameters\">Request Parameters</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field Name</th>\n<th>Required/Optional</th>\n<th>Type</th>\n<th>Description</th>\n<th>Example</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>groupId</code></td>\n<td>Required</td>\n<td>string</td>\n<td>ID of the MCC group to attach to</td>\n<td><code>\"abc123\"</code></td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"response-fields\">Response Fields</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>success</code></td>\n<td>boolean</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["payment-account-policies","api","Mccs","AttachToMccGroup"],"host":["api","stage","cal-platform","com"],"query":[],"variable":[]}},"response":[{"id":"77c52b1e-0b2e-48eb-8a7e-9c174ddfa0fe","name":"AttachToMccGroup","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"},{"key":"X-Organization-Id","value":"{{OrganizationId}}"}],"body":{"mode":"raw","raw":"{\n  \"groupId\": \"string\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/payment-account-policies/api/Mccs/AttachToMccGroup"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n  \"statusDescription\": \"Success\",\n  \"statusCode\": 200,\n  \"sessionId\": \"string\",\n  \"httpStatus\": 0,\n  \"result\": {\n    \"success\": true\n  }\n}"}],"_postman_id":"c7540c50-7ea0-49d3-a126-fb6c90fcb8b9"},{"name":"UpdateMccGroups","id":"f8e7b9f3-4b4b-484d-8369-83adb3795637","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"},{"key":"X-Organization-Id","value":"{{OrganizationId}}"},{"key":"x-organization-id","value":""}],"body":{"mode":"raw","raw":"{\r\n  \"groupId\": \"string\",\r\n  \"values\": [\r\n    \"string\"\r\n  ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/payment-account-policies/api/Mccs/UpdateMccGroups","description":"<p>Update the MCC codes in an existing MCC group. You can add new codes or remove existing ones.</p>\n<hr />\n<h3 id=\"request-parameters\">Request Parameters</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field Name</th>\n<th>Required/Optional</th>\n<th>Type</th>\n<th>Description</th>\n<th>Example</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>groupId</code></td>\n<td>Required</td>\n<td>string</td>\n<td>ID of the MCC group to update</td>\n<td><code>\"abc123\"</code></td>\n</tr>\n<tr>\n<td><code>values</code></td>\n<td>Required</td>\n<td>string[]</td>\n<td>Updated array of MCC codes</td>\n<td><code>[\"5411\", \"5412\", \"5999\"]</code></td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"response-fields\">Response Fields</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>groupId</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>values</code></td>\n<td>array</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["payment-account-policies","api","Mccs","UpdateMccGroups"],"host":["api","stage","cal-platform","com"],"query":[],"variable":[]}},"response":[{"id":"f499ce3e-b60a-4e09-a30d-e1d34f503284","name":"UpdateMccGroups","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"},{"key":"X-Organization-Id","value":"{{OrganizationId}}"}],"body":{"mode":"raw","raw":"{\r\n  \"groupId\": \"string\",\r\n  \"values\": [\r\n    \"string\"\r\n  ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/payment-account-policies/api/Mccs/UpdateMccGroups"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n  \"statusDescription\": \"Success\",\n  \"statusCode\": 200,\n  \"sessionId\": \"string\",\n  \"httpStatus\": 0,\n  \"result\": {\n    \"groupId\": \"string\",\n    \"values\": [\n      \"string\"\n    ]\n  }\n}"}],"_postman_id":"f8e7b9f3-4b4b-484d-8369-83adb3795637"},{"name":"DeleteMccGroups","id":"27174f83-0937-4d6a-a01e-ce5c7581a3ba","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"},{"key":"X-Organization-Id","value":"{{OrganizationId}}"}],"body":{"mode":"raw","raw":"{\r\n  \"groupId\": \"string\",\r\n  \"values\": [\r\n    \"string\"\r\n  ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/payment-account-policies/api/Mccs/DeleteMccGroups","description":"<p>Remove specific MCC codes from an existing MCC group. Only the provided values are removed; the group itself remains intact.</p>\n<hr />\n<h3 id=\"request-parameters\">Request Parameters</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field Name</th>\n<th>Required/Optional</th>\n<th>Type</th>\n<th>Description</th>\n<th>Example</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>groupId</code></td>\n<td>Required</td>\n<td>String</td>\n<td>ID of the MCC group to remove values from.</td>\n<td><code>\"grp-001\"</code></td>\n</tr>\n<tr>\n<td><code>values</code></td>\n<td>Required</td>\n<td>String[]</td>\n<td>Array of MCC codes to remove from the group.</td>\n<td><code>[\"5411\", \"5812\"]</code></td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"response-fields\">Response Fields</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>statusDescription</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>statusCode</code></td>\n<td>number</td>\n</tr>\n<tr>\n<td><code>sessionId</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>httpStatus</code></td>\n<td>number</td>\n</tr>\n<tr>\n<td><code>result</code></td>\n<td>object</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["payment-account-policies","api","Mccs","DeleteMccGroups"],"host":["api","stage","cal-platform","com"],"query":[],"variable":[]}},"response":[{"id":"42416ce4-df42-466a-8ff1-49ce5e6fc360","name":"DeleteMccGroups","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"},{"key":"X-Organization-Id","value":"{{OrganizationId}}"}],"body":{"mode":"raw","raw":"{\r\n  \"groupId\": \"string\",\r\n  \"values\": [\r\n    \"string\"\r\n  ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/payment-account-policies/api/Mccs/DeleteMccGroups"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n  \"statusDescription\": \"Success\",\n  \"statusCode\": 200,\n  \"sessionId\": \"string\",\n  \"httpStatus\": 0,\n  \"result\": {\n    \"statusDescription\": \"string\",\n    \"statusCode\": 0,\n    \"sessionId\": \"string\",\n    \"httpStatus\": 0,\n    \"result\": {}\n  }\n}"}],"_postman_id":"27174f83-0937-4d6a-a01e-ce5c7581a3ba"},{"name":"ExportToFile","id":"4a31d5de-3ac2-47a6-ab89-d905ab1e3bff","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"}],"body":{"mode":"raw","raw":"{\n    \"file\": {\n        \"name\": \"string\",\n        \"extension\": \"string\",\n        \"fields\": [\n            {\n                \"sourceField\": \"string\",\n                \"outputHeader\": \"string\"\n            }\n        ]\n    },\n    \"filter\": {\n        \"groupId\": \"string\",\n        \"freeText\": \"string\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/payment-account-policies/api/Mccs/ExportToFile","description":"<p>Export MCC group data to a file. Returns a download URL for the exported file containing all MCC groups and their codes for the organization.</p>\n<hr />\n<h3 id=\"request-parameters\">Request Parameters</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field Name</th>\n<th>Required/Optional</th>\n<th>Type</th>\n<th>Description</th>\n<th>Example</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>format</td>\n<td>Required</td>\n<td>enum</td>\n<td>Export file format. Values: <code>csv</code>, <code>xlsx</code></td>\n<td><code>\"csv\"</code></td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"response-fields\">Response Fields</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>fileStream</code></td>\n<td>object</td>\n</tr>\n<tr>\n<td><code>contentLength</code></td>\n<td>number</td>\n</tr>\n<tr>\n<td><code>fileName</code></td>\n<td>string</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["payment-account-policies","api","Mccs","ExportToFile"],"host":["api","stage","cal-platform","com"],"query":[],"variable":[]}},"response":[{"id":"6c51ed73-e8d7-4003-aa7b-0368c45a4f4b","name":"ExportToFile","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"}],"body":{"mode":"raw","raw":"{\n    \"file\": {\n        \"name\": \"string\",\n        \"extension\": \"string\",\n        \"fields\": [\n            {\n                \"sourceField\": \"string\",\n                \"outputHeader\": \"string\"\n            }\n        ]\n    },\n    \"filter\": {\n        \"groupId\": \"string\",\n        \"freeText\": \"string\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/payment-account-policies/api/Mccs/ExportToFile"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"statusDescription\": \"string\",\n    \"statusCode\": 0,\n    \"sessionId\": \"string\",\n    \"httpStatus\": 0,\n    \"result\": {\n        \"fileStream\": {},\n        \"contentLength\": 0,\n        \"fileName\": \"string\"\n    }\n}"}],"_postman_id":"4a31d5de-3ac2-47a6-ab89-d905ab1e3bff"}],"id":"44369411-2061-47fc-a468-870044323485","_postman_id":"44369411-2061-47fc-a468-870044323485","description":""},{"name":"merchantGroups","item":[{"name":"GetMerchantGroups","id":"1d6d6526-e6f3-4d3b-a140-815ca6d48f51","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"}],"body":{"mode":"raw","raw":"{\r\n    \"pagination\": {\r\n        \"id\": \"string\",\r\n        \"createdAt\": \"2026-05-03T10:46:55.488Z\",\r\n        \"limit\": 0\r\n    },\r\n    \"filter\": {\r\n        \"groupId\": \"string\",\r\n        \"freeText\": \"string\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/payment-account-policies/api/Merchants/GetMerchantGroups","description":"<p>Retrieves merchant groups for the organization. A merchant group is a named collection of specific merchant identifiers that can be referenced in authorization policies to allow or block specific merchants.</p>\n<hr />\n<h3 id=\"request-parameters\">Request Parameters</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field Name</th>\n<th>Required/Optional</th>\n<th>Type</th>\n<th>Description</th>\n<th>Example</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>pagination</code></td>\n<td>Optional</td>\n<td>object</td>\n<td>Cursor pagination</td>\n<td><code>{\"createdAt\": \"2024-01-01T00:00:00Z\", \"limit\": 20}</code></td>\n</tr>\n<tr>\n<td><code>filter</code></td>\n<td>Optional</td>\n<td>object</td>\n<td>Filter criteria</td>\n<td>—</td>\n</tr>\n<tr>\n<td><code>filter.groupId</code></td>\n<td>Optional</td>\n<td>string</td>\n<td>Filter by specific group ID</td>\n<td><code>\"abc123\"</code></td>\n</tr>\n<tr>\n<td><code>filter.freeText</code></td>\n<td>Optional</td>\n<td>string</td>\n<td>Free-text search across group names and values</td>\n<td><code>\"restaurants\"</code></td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"response-fields\">Response Fields</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>pagination</code></td>\n<td>object</td>\n</tr>\n<tr>\n<td><code>pagination.id</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>pagination.createdAt</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>groupValues</code></td>\n<td>array</td>\n</tr>\n<tr>\n<td><code>groupValues[].id</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>groupValues[].organizationId</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>groupValues[].groupId</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>groupValues[].name</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>groupValues[].values</code></td>\n<td>array</td>\n</tr>\n<tr>\n<td><code>groupValues[].relatedOrganizations</code></td>\n<td>array</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["payment-account-policies","api","Merchants","GetMerchantGroups"],"host":["api","stage","cal-platform","com"],"query":[],"variable":[]}},"response":[{"id":"b48f00c8-ff6f-4c05-a574-adf8b81bf609","name":"GetMerchantGroups","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"pagination\": {\r\n        \"id\": \"string\",\r\n        \"createdAt\": \"2026-05-03T10:46:55.488Z\",\r\n        \"limit\": 0\r\n    },\r\n    \"filter\": {\r\n        \"groupId\": \"string\",\r\n        \"freeText\": \"string\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/payment-account-policies/api/Merchants/GetMerchantGroups"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"statusDescription\": \"string\",\n    \"statusCode\": 0,\n    \"sessionId\": \"string\",\n    \"httpStatus\": 0,\n    \"result\": {\n        \"pagination\": {\n            \"id\": \"string\",\n            \"createdAt\": \"2026-05-03T10:46:55.496Z\"\n        },\n        \"groupValues\": [\n            {\n                \"id\": \"string\",\n                \"organizationId\": \"string\",\n                \"groupId\": \"string\",\n                \"name\": \"string\",\n                \"values\": [\n                    null\n                ],\n                \"relatedOrganizations\": [\n                    \"string\"\n                ]\n            }\n        ]\n    }\n}"}],"_postman_id":"1d6d6526-e6f3-4d3b-a140-815ca6d48f51"},{"name":"CreateMerchantGroups","id":"586c7adc-db1a-452d-a462-95fa6f97c0ac","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"},{"key":"X-Organization-Id","value":"{{OrganizationId}}"},{"key":"x-organization-id","value":""}],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"string\",\r\n    \"values\": [\r\n        \"string\"\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/payment-account-policies/api/Merchants/CreateMerchantGroups","description":"<p>Create a new merchant group under the organization. A merchant group is a named collection of specific merchant identifiers (e.g., MIDs or merchant names) that can be referenced in authorization policies.</p>\n<hr />\n<h3 id=\"request-parameters\">Request Parameters</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field Name</th>\n<th>Required/Optional</th>\n<th>Type</th>\n<th>Description</th>\n<th>Example</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>name</code></td>\n<td>Required</td>\n<td>string</td>\n<td>Display name for the merchant group</td>\n<td><code>\"Preferred Restaurants\"</code></td>\n</tr>\n<tr>\n<td><code>values</code></td>\n<td>Required</td>\n<td>string[]</td>\n<td>Array of merchant identifiers to include</td>\n<td><code>[\"MERCHANT_001\", \"MERCHANT_002\"]</code></td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"response-fields\">Response Fields</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>groupId</code></td>\n<td>string</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["payment-account-policies","api","Merchants","CreateMerchantGroups"],"host":["api","stage","cal-platform","com"],"query":[],"variable":[]}},"response":[{"id":"5932a436-00f9-4e78-8544-5e13794d8f88","name":"CreateMerchantGroups","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"","type":"text"},{"key":"x-organization-id","value":"","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"string\",\r\n    \"values\": [\r\n        \"string\"\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/payment-account-policies/api/Merchants/CreateMerchantGroups"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n  \"statusDescription\": \"string\",\n  \"statusCode\": 0,\n  \"sessionId\": \"string\",\n  \"httpStatus\": 0,\n  \"result\": {\n    \"groupId\": \"string\"\n  }\n}"}],"_postman_id":"586c7adc-db1a-452d-a462-95fa6f97c0ac"},{"name":"UpdateMerchantGroups","id":"1fb72144-66c5-497c-b83b-4b46c12dd007","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"},{"key":"X-Organization-Id","value":"{{OrganizationId}}"}],"body":{"mode":"raw","raw":"{\r\n    \"groupId\": \"string\",\r\n    \"values\": [\r\n        \"string\"\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/payment-account-policies/api/Merchants/UpdateMerchantGroups","description":"<p>Update an existing merchant group. You can modify the list of merchant identifiers.</p>\n<hr />\n<h3 id=\"request-parameters\">Request Parameters</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field Name</th>\n<th>Required/Optional</th>\n<th>Type</th>\n<th>Description</th>\n<th>Example</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>groupId</code></td>\n<td>Required</td>\n<td>string</td>\n<td>ID of the merchant group to update</td>\n<td><code>\"abc123\"</code></td>\n</tr>\n<tr>\n<td><code>values</code></td>\n<td>Required</td>\n<td>string[]</td>\n<td>Updated array of merchant identifiers</td>\n<td><code>[\"MERCHANT_001\", \"MERCHANT_003\"]</code></td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"response-fields\">Response Fields</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>groupId</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>values</code></td>\n<td>array</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["payment-account-policies","api","Merchants","UpdateMerchantGroups"],"host":["api","stage","cal-platform","com"],"query":[],"variable":[]}},"response":[{"id":"502683fa-c1d7-494a-be78-6a0e5f2e6a6f","name":"UpdateMerchantGroups","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"},{"key":"X-Organization-Id","value":"{{OrganizationId}}"}],"body":{"mode":"raw","raw":"{\r\n    \"groupId\": \"string\",\r\n    \"values\": [\r\n        \"string\"\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/payment-account-policies/api/Merchants/UpdateMerchantGroups"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n  \"statusDescription\": \"string\",\n  \"statusCode\": 0,\n  \"sessionId\": \"string\",\n  \"httpStatus\": 0,\n  \"result\": {\n    \"groupId\": \"string\",\n    \"values\": [\n      \"string\"\n    ]\n  }\n}"}],"_postman_id":"1fb72144-66c5-497c-b83b-4b46c12dd007"},{"name":"DeleteMerchantGroups","id":"be6414d1-a29e-4607-a74f-781cfdd607e1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"},{"key":"X-Organization-Id","value":"{{OrganizationId}}"}],"body":{"mode":"raw","raw":"{\r\n  \"groupId\": \"string\",\r\n  \"values\": [\r\n    \"string\"\r\n  ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/payment-account-policies/api/Merchants/DeleteMerchantGroups","description":"<p>Remove specific merchant IDs from an existing Merchant group. Only the provided values are removed; the group itself remains intact.</p>\n<hr />\n<h3 id=\"request-parameters\">Request Parameters</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field Name</th>\n<th>Required/Optional</th>\n<th>Type</th>\n<th>Description</th>\n<th>Example</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>groupId</code></td>\n<td>Required</td>\n<td>String</td>\n<td>ID of the Merchant group to remove values from.</td>\n<td><code>\"grp-001\"</code></td>\n</tr>\n<tr>\n<td><code>values</code></td>\n<td>Required</td>\n<td>String[]</td>\n<td>Array of merchant IDs to remove from the group. Duplicates are removed automatically.</td>\n<td><code>[\"merchant-001\", \"merchant-002\"]</code></td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"response-fields\">Response Fields</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>statusDescription</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>statusCode</code></td>\n<td>number</td>\n</tr>\n<tr>\n<td><code>sessionId</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>httpStatus</code></td>\n<td>number</td>\n</tr>\n<tr>\n<td><code>result</code></td>\n<td>object</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["payment-account-policies","api","Merchants","DeleteMerchantGroups"],"host":["api","stage","cal-platform","com"],"query":[],"variable":[]}},"response":[{"id":"76e8de22-1c2f-4c58-a876-4fc35dd361e1","name":"DeleteMerchantGroups","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"","type":"text"},{"key":"x-organization-id","value":"","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"groupId\": \"string\",\r\n  \"values\": [\r\n    \"string\"\r\n  ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/payment-account-policies/api/Merchants/DeleteMerchantGroups"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n  \"statusDescription\": \"string\",\n  \"statusCode\": 0,\n  \"sessionId\": \"string\",\n  \"httpStatus\": 0,\n  \"result\": {\n    \"statusDescription\": \"string\",\n    \"statusCode\": 0,\n    \"sessionId\": \"string\",\n    \"httpStatus\": 0,\n    \"result\": {}\n  }\n}"}],"_postman_id":"be6414d1-a29e-4607-a74f-781cfdd607e1"},{"name":"AttachToMerchantGroup","id":"75d2dfc3-763c-4c94-bd3e-d0c5ad8c60f9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"},{"key":"X-Organization-Id","value":"{{OrganizationId}}"}],"body":{"mode":"raw","raw":"{\n  \"groupId\": \"string\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/payment-account-policies/api/Merchants/AttachToMerchantGroup","description":"<p>Attach the current organization to an existing merchant group created by another organization. This allows sharing merchant group definitions across organizations.</p>\n<hr />\n<h3 id=\"request-parameters\">Request Parameters</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field Name</th>\n<th>Required/Optional</th>\n<th>Type</th>\n<th>Description</th>\n<th>Example</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>groupId</code></td>\n<td>Required</td>\n<td>string</td>\n<td>ID of the merchant group to attach to</td>\n<td><code>\"abc123\"</code></td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"response-fields\">Response Fields</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>success</code></td>\n<td>boolean</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["payment-account-policies","api","Merchants","AttachToMerchantGroup"],"host":["api","stage","cal-platform","com"],"query":[],"variable":[]}},"response":[{"id":"34e2732e-a9cd-44c8-8fcf-36a80795fe39","name":"AttachToMerchantGroup","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"","type":"text"},{"key":"x-organization-id","value":"","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"groupId\": \"string\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/payment-account-policies/api/Merchants/AttachToMerchantGroup"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n  \"statusDescription\": \"string\",\n  \"statusCode\": 0,\n  \"sessionId\": \"string\",\n  \"httpStatus\": 0,\n  \"result\": {\n    \"success\": true\n  }\n}"}],"_postman_id":"75d2dfc3-763c-4c94-bd3e-d0c5ad8c60f9"},{"name":"ExportToFile","id":"0b87eac1-dcf7-4eac-b7c1-af00fc4105bb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"}],"body":{"mode":"raw","raw":"{\n    \"file\": {\n        \"name\": \"string\",\n        \"extension\": \"string\",\n        \"fields\": [\n            {\n                \"sourceField\": \"string\",\n                \"outputHeader\": \"string\"\n            }\n        ]\n    },\n    \"filter\": {\n        \"groupId\": \"string\",\n        \"freeText\": \"string\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/payment-account-policies/api/Merchants/ExportToFile","description":"<p>Export merchant group data to a file. Returns a download URL for the exported file containing all merchant groups and their members for the organization.</p>\n<hr />\n<h3 id=\"request-parameters\">Request Parameters</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field Name</th>\n<th>Required/Optional</th>\n<th>Type</th>\n<th>Description</th>\n<th>Example</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>format</td>\n<td>Required</td>\n<td>enum</td>\n<td>Export file format. Values: <code>csv</code>, <code>xlsx</code></td>\n<td><code>\"csv\"</code></td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"response-fields\">Response Fields</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>fileStream</code></td>\n<td>object</td>\n</tr>\n<tr>\n<td><code>contentLength</code></td>\n<td>number</td>\n</tr>\n<tr>\n<td><code>fileName</code></td>\n<td>string</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["payment-account-policies","api","Merchants","ExportToFile"],"host":["api","stage","cal-platform","com"],"query":[],"variable":[]}},"response":[{"id":"13ff5a70-344b-4b18-9026-b91dde59f6b3","name":"ExportToFile","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"}],"body":{"mode":"raw","raw":"{\n    \"file\": {\n        \"name\": \"string\",\n        \"extension\": \"string\",\n        \"fields\": [\n            {\n                \"sourceField\": \"string\",\n                \"outputHeader\": \"string\"\n            }\n        ]\n    },\n    \"filter\": {\n        \"groupId\": \"string\",\n        \"freeText\": \"string\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/payment-account-policies/api/Merchants/ExportToFile"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n  \"statusDescription\": \"string\",\n  \"statusCode\": 0,\n  \"sessionId\": \"string\",\n  \"httpStatus\": 0,\n  \"result\": {\n    \"fileStream\": {},\n    \"contentLength\": 0,\n    \"fileName\": \"string\"\n  }\n}"}],"_postman_id":"0b87eac1-dcf7-4eac-b7c1-af00fc4105bb"}],"id":"255c941c-be6a-4cfd-87ac-0955968744ab","_postman_id":"255c941c-be6a-4cfd-87ac-0955968744ab","description":""},{"name":"posGroups","item":[{"name":"GetPosGroups","id":"32811cf0-1865-4a5a-982f-c799927e85a2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"},{"key":"x-organization-id","value":""}],"body":{"mode":"raw","raw":"{\r\n  \"pagination\": {\r\n    \"id\": \"string\",\r\n    \"createdAt\": \"2026-05-03T11:16:17.736Z\",\r\n    \"limit\": 0\r\n  },\r\n  \"filter\": {\r\n    \"groupId\": \"string\",\r\n    \"freeText\": \"string\"\r\n  }\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/payment-account-policies/api/Pos/GetPosGroups","description":"<p>Retrieves POS (Point of Sale) groups for the organization. A POS group is a named collection of specific POS terminal identifiers that can be referenced in authorization policies.</p>\n<hr />\n<h3 id=\"request-parameters\">Request Parameters</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field Name</th>\n<th>Required/Optional</th>\n<th>Type</th>\n<th>Description</th>\n<th>Example</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>pagination</code></td>\n<td>Optional</td>\n<td>object</td>\n<td>Cursor pagination</td>\n<td><code>{\"createdAt\": \"2024-01-01T00:00:00Z\", \"limit\": 20}</code></td>\n</tr>\n<tr>\n<td><code>filter</code></td>\n<td>Optional</td>\n<td>object</td>\n<td>Filter criteria</td>\n<td>—</td>\n</tr>\n<tr>\n<td><code>filter.groupId</code></td>\n<td>Optional</td>\n<td>string</td>\n<td>Filter by specific group ID</td>\n<td><code>\"abc123\"</code></td>\n</tr>\n<tr>\n<td><code>filter.freeText</code></td>\n<td>Optional</td>\n<td>string</td>\n<td>Free-text search across group names and values</td>\n<td><code>\"cafeteria\"</code></td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"response-fields\">Response Fields</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>pagination</code></td>\n<td>object</td>\n</tr>\n<tr>\n<td><code>pagination.id</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>pagination.createdAt</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>groupValues</code></td>\n<td>array</td>\n</tr>\n<tr>\n<td><code>groupValues[].id</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>groupValues[].organizationId</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>groupValues[].groupId</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>groupValues[].name</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>groupValues[].values</code></td>\n<td>array</td>\n</tr>\n<tr>\n<td><code>groupValues[].relatedOrganizations</code></td>\n<td>array</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["payment-account-policies","api","Pos","GetPosGroups"],"host":["api","stage","cal-platform","com"],"query":[],"variable":[]}},"response":[{"id":"a744e9ae-2f0a-465f-9991-a950f01f60b5","name":"GetPosGroups","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"","type":"text"},{"key":"x-organization-id","value":"","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"pagination\": {\r\n        \"id\": \"string\",\r\n        \"createdAt\": \"2026-05-03T11:16:17.736Z\",\r\n        \"limit\": 0\r\n    },\r\n    \"filter\": {\r\n        \"groupId\": \"string\",\r\n        \"freeText\": \"string\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/payment-account-policies/api/Pos/GetPosGroups"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n  \"statusDescription\": \"Success\",\n  \"statusCode\": 200,\n  \"sessionId\": \"string\",\n  \"httpStatus\": 0,\n  \"result\": {\n    \"pagination\": {\n      \"id\": \"string\",\n      \"createdAt\": \"2026-05-03T11:16:17.750Z\"\n    },\n    \"groupValues\": [\n      {\n        \"id\": \"string\",\n        \"organizationId\": \"string\",\n        \"groupId\": \"string\",\n        \"name\": \"string\",\n        \"values\": [\n          null\n        ],\n        \"relatedOrganizations\": [\n          \"string\"\n        ]\n      }\n    ]\n  }\n}"}],"_postman_id":"32811cf0-1865-4a5a-982f-c799927e85a2"},{"name":"CreatePosGroups","id":"5196e673-ea2b-4540-84ad-8d62ae045102","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"},{"key":"X-Organization-Id","value":"{{OrganizationId}}"}],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"string\",\r\n    \"values\": [\r\n        \"string\"\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/payment-account-policies/api/Pos/CreatePosGroups","description":"<p>Create a new POS group under the organization. A POS group is a named collection of POS terminal identifiers that can be referenced in authorization policies to allow or restrict spending at specific terminals.</p>\n<hr />\n<h3 id=\"request-parameters\">Request Parameters</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field Name</th>\n<th>Required/Optional</th>\n<th>Type</th>\n<th>Description</th>\n<th>Example</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>name</code></td>\n<td>Required</td>\n<td>string</td>\n<td>Display name for the POS group</td>\n<td><code>\"Office Cafeterias\"</code></td>\n</tr>\n<tr>\n<td><code>values</code></td>\n<td>Required</td>\n<td>string[]</td>\n<td>Array of POS terminal identifiers to include</td>\n<td><code>[\"TERM_001\", \"TERM_002\"]</code></td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"response-fields\">Response Fields</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>groupId</code></td>\n<td>string</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["payment-account-policies","api","Pos","CreatePosGroups"],"host":["api","stage","cal-platform","com"],"query":[],"variable":[]}},"response":[{"id":"d5bc8458-d1c6-4e03-b841-a825e32dd7d9","name":"CreatePosGroups","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"","type":"text"},{"key":"x-organization-id","value":"","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"string\",\r\n    \"values\": [\r\n        \"string\"\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/payment-account-policies/api/Pos/CreatePosGroups"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n  \"statusDescription\": \"Success\",\n  \"statusCode\": 200,\n  \"sessionId\": \"string\",\n  \"httpStatus\": 0,\n  \"result\": {\n    \"groupId\": \"string\"\n  }\n}"}],"_postman_id":"5196e673-ea2b-4540-84ad-8d62ae045102"},{"name":"UpdatePosGroups","id":"87fd135d-5780-4344-ab15-f0d28fedd9dd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"},{"key":"X-Organization-Id","value":"{{OrganizationId}}"}],"body":{"mode":"raw","raw":"{\r\n  \"groupId\": \"string\",\r\n  \"values\": [\r\n    \"string\"\r\n  ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/payment-account-policies/api/Pos/UpdatePosGroups","description":"<p>Update an existing POS group. You can modify the list of POS terminal identifiers.</p>\n<hr />\n<h3 id=\"request-parameters\">Request Parameters</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field Name</th>\n<th>Required/Optional</th>\n<th>Type</th>\n<th>Description</th>\n<th>Example</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>groupId</code></td>\n<td>Required</td>\n<td>string</td>\n<td>ID of the POS group to update</td>\n<td><code>\"abc123\"</code></td>\n</tr>\n<tr>\n<td><code>values</code></td>\n<td>Required</td>\n<td>string[]</td>\n<td>Updated array of terminal identifiers</td>\n<td><code>[\"TERM_001\", \"TERM_003\"]</code></td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"response-fields\">Response Fields</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>groupId</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>values</code></td>\n<td>array</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["payment-account-policies","api","Pos","UpdatePosGroups"],"host":["api","stage","cal-platform","com"],"query":[],"variable":[]}},"response":[{"id":"bfb7a73b-270c-4e45-99fc-ee4caf3ba91f","name":"UpdatePosGroups","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"","type":"text"},{"key":"x-organization-id","value":"","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"groupId\": \"string\",\r\n  \"values\": [\r\n    \"string\"\r\n  ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/payment-account-policies/api/Pos/UpdatePosGroups"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"statusDescription\": \"Success\",\n    \"statusCode\": 200,\n    \"sessionId\": \"string\",\n    \"httpStatus\": 0,\n    \"result\": {\n        \"groupId\": \"string\",\n        \"values\": [\n            \"string\"\n        ]\n    }\n}"}],"_postman_id":"87fd135d-5780-4344-ab15-f0d28fedd9dd"},{"name":"DeletePosGroups","id":"2201de22-e595-4e40-8041-76153cc52628","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"},{"key":"X-Organization-Id","value":"{{OrganizationId}}"}],"body":{"mode":"raw","raw":"{\r\n    \"groupId\": \"string\",\r\n    \"values\": [\r\n        \"string\"\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/payment-account-policies/api/Pos/DeletePosGroups","description":"<p>Remove specific POS terminal IDs from an existing POS group. Only the provided values are removed; the group itself remains intact.</p>\n<hr />\n<h3 id=\"request-parameters\">Request Parameters</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field Name</th>\n<th>Required/Optional</th>\n<th>Type</th>\n<th>Description</th>\n<th>Example</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>groupId</code></td>\n<td>Required</td>\n<td>String</td>\n<td>ID of the POS group to remove values from.</td>\n<td><code>\"grp-001\"</code></td>\n</tr>\n<tr>\n<td><code>values</code></td>\n<td>Required</td>\n<td>String[]</td>\n<td>Array of POS terminal IDs to remove from the group. Duplicates removed automatically.</td>\n<td><code>[\"pos-001\", \"pos-002\"]</code></td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"response-fields\">Response Fields</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>statusDescription</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>statusCode</code></td>\n<td>number</td>\n</tr>\n<tr>\n<td><code>sessionId</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>httpStatus</code></td>\n<td>number</td>\n</tr>\n<tr>\n<td><code>result</code></td>\n<td>object</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["payment-account-policies","api","Pos","DeletePosGroups"],"host":["api","stage","cal-platform","com"],"query":[],"variable":[]}},"response":[{"id":"c4965eea-c226-4d68-b70b-4ce5a166978d","name":"DeletePosGroups","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"","type":"text"},{"key":"x-organization-id","value":"","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"groupId\": \"string\",\r\n    \"values\": [\r\n        \"string\"\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/payment-account-policies/api/Pos/DeletePosGroups"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n  \"statusDescription\": \"Success\",\n  \"statusCode\": 200,\n  \"sessionId\": \"string\",\n  \"httpStatus\": 0,\n  \"result\": {\n    \"statusDescription\": \"string\",\n    \"statusCode\": 0,\n    \"sessionId\": \"string\",\n    \"httpStatus\": 0,\n    \"result\": {}\n  }\n}"}],"_postman_id":"2201de22-e595-4e40-8041-76153cc52628"},{"name":"AttachToPosGroup","id":"e1309e40-b31a-4554-9d67-7006fe207f44","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"},{"key":"X-Organization-Id","value":"{{OrganizationId}}"}],"body":{"mode":"raw","raw":"{\n    \"groupId\": \"string\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/payment-account-policies/api/Pos/AttachToPosGroup","description":"<p>Attach the current organization to an existing POS group created by another organization. This allows sharing POS group definitions across organizations.</p>\n<hr />\n<h3 id=\"request-parameters\">Request Parameters</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field Name</th>\n<th>Required/Optional</th>\n<th>Type</th>\n<th>Description</th>\n<th>Example</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>groupId</code></td>\n<td>Required</td>\n<td>string</td>\n<td>ID of the POS group to attach to</td>\n<td><code>\"abc123\"</code></td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"response-fields\">Response Fields</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>success</code></td>\n<td>boolean</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["payment-account-policies","api","Pos","AttachToPosGroup"],"host":["api","stage","cal-platform","com"],"query":[],"variable":[]}},"response":[{"id":"f4d3fe1f-9a58-40aa-b441-a8baeb4966bf","name":"AttachToPosGroup","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"","type":"text"},{"key":"x-organization-id","value":"","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"groupId\": \"string\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/payment-account-policies/api/Pos/ExportToFile"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"statusDescription\": \"Success\",\n    \"statusCode\": 200,\n    \"sessionId\": \"string\",\n    \"httpStatus\": 0,\n    \"result\": {\n        \"success\": true\n    }\n}"}],"_postman_id":"e1309e40-b31a-4554-9d67-7006fe207f44"},{"name":"ExportToFile","id":"851575c5-fceb-475c-81ac-43e178da95a0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"}],"body":{"mode":"raw","raw":"{\n    \"file\": {\n        \"name\": \"string\",\n        \"extension\": \"string\",\n        \"fields\": [\n            {\n                \"sourceField\": \"string\",\n                \"outputHeader\": \"string\"\n            }\n        ]\n    },\n    \"filter\": {\n        \"groupId\": \"string\",\n        \"freeText\": \"string\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/payment-account-policies/api/Pos/ExportToFile","description":"<p>Export POS group data to a file. Returns a download URL for the exported file containing all POS groups and their terminal identifiers for the organization.</p>\n<hr />\n<h3 id=\"request-parameters\">Request Parameters</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field Name</th>\n<th>Required/Optional</th>\n<th>Type</th>\n<th>Description</th>\n<th>Example</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>format</td>\n<td>Required</td>\n<td>enum</td>\n<td>Export file format. Values: <code>csv</code>, <code>xlsx</code></td>\n<td><code>\"csv\"</code></td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"response-fields\">Response Fields</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>fileStream</code></td>\n<td>object</td>\n</tr>\n<tr>\n<td><code>contentLength</code></td>\n<td>number</td>\n</tr>\n<tr>\n<td><code>fileName</code></td>\n<td>string</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["payment-account-policies","api","Pos","ExportToFile"],"host":["api","stage","cal-platform","com"],"query":[],"variable":[]}},"response":[{"id":"07acc696-228e-4104-b7a7-99b3120d0039","name":"ExportToFile","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"}],"body":{"mode":"raw","raw":"{\n    \"file\": {\n        \"name\": \"string\",\n        \"extension\": \"string\",\n        \"fields\": [\n            {\n                \"sourceField\": \"string\",\n                \"outputHeader\": \"string\"\n            }\n        ]\n    },\n    \"filter\": {\n        \"groupId\": \"string\",\n        \"freeText\": \"string\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/payment-account-policies/api/Pos/ExportToFile"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"statusDescription\": \"Success\",\n    \"statusCode\": 200,\n    \"sessionId\": \"string\",\n    \"httpStatus\": 0,\n    \"result\": {\n        \"fileStream\": {},\n        \"contentLength\": 0,\n        \"fileName\": \"string\"\n    }\n}"}],"_postman_id":"851575c5-fceb-475c-81ac-43e178da95a0"}],"id":"72695974-b297-48fd-b51f-5072037102d1","_postman_id":"72695974-b297-48fd-b51f-5072037102d1","description":""},{"name":"Policies","item":[{"name":"GetPolicies","id":"e2f52dbd-50a8-44f8-90cd-d59fdedf3a6a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"},{"key":"X-Organization-Id","value":"{{OrganizationId}}"}],"body":{"mode":"raw","raw":"{\n    \"ids\": [\n        \"string\"\n    ],\n    \"relatedEntityIds\": [\n        \"string\"\n    ],\n    \"userIds\": [\n        \"string\"\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/payment-account-policies/api/Policies/GetPolicies","description":"<p>Retrieves authorization policies for the organization. Policies define spending rules — which merchant categories, specific merchants, or POS terminals are allowed or blocked, and what spending limits apply.</p>\n<hr />\n<h3 id=\"request-parameters\">Request Parameters</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field Name</th>\n<th>Required/Optional</th>\n<th>Type</th>\n<th>Description</th>\n<th>Example</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>ids</code></td>\n<td>Optional</td>\n<td>string[]</td>\n<td>Filter by policy IDs</td>\n<td><code>[\"id-1\", \"id-2\"]</code></td>\n</tr>\n<tr>\n<td><code>relatedEntityIds</code></td>\n<td>Optional</td>\n<td>string[]</td>\n<td>Filter by related entity IDs</td>\n<td><code>[\"entity-id-1\"]</code></td>\n</tr>\n<tr>\n<td><code>userIds</code></td>\n<td>Optional</td>\n<td>string[]</td>\n<td>Restrict results to these user IDs. Subject to caller scope — see User Scoping below</td>\n<td><code>[\"usr-001\"]</code></td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"user-scoping\">User Scoping</h3>\n<ul>\n<li>Unscoped caller (admin / B2B token): the requested <code>userIds</code> are applied as sent; omit them and no user filter is applied.</li>\n<li>User-scoped caller (B2C token): results are limited to the <strong>intersection</strong> of the requested <code>userIds</code> and the token's own users; omit them and the token's own users are used.</li>\n<li>If the intersection is empty, the request is rejected with <code>InsufficientPermissions</code> (status <code>5</code>).</li>\n</ul>\n<hr />\n<h3 id=\"response-fields\">Response Fields</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>policies</code></td>\n<td>array</td>\n</tr>\n<tr>\n<td><code>policies[].id</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>policies[].organizationId</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>policies[].relatedEntityId</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>policies[].relatedEntityType</code></td>\n<td><code>issuer</code><br /><code>partner</code><br /><code>organization</code><br /><code>initiative</code><br /><code>paymentDevice</code><br /><code>customer</code><br /><code>pocket</code><br /><code>paymentDeviceProfile</code><br /><code>creditLine</code><br /><code>pocketBalanceSchedule</code><br /><code>ledger</code><br /><code>budget</code><br /><code>card</code><br /><code>mccGroup</code><br /><code>merchantGroup</code><br /><code>posGroup</code><br /><code>receipt</code><br /><code>spendAccount</code><br /><code>policy</code><br /><code>pendingPocket</code><br /><code>pocketRelatedParty</code></td>\n</tr>\n<tr>\n<td><code>policies[].data</code></td>\n<td>object</td>\n</tr>\n<tr>\n<td><code>policies[].data.merchant</code></td>\n<td>object</td>\n</tr>\n<tr>\n<td><code>policies[].data.merchant.enabled</code></td>\n<td>boolean</td>\n</tr>\n<tr>\n<td><code>policies[].data.merchant.posGroups</code></td>\n<td>object</td>\n</tr>\n<tr>\n<td><code>policies[].data.merchant.posGroups.whitelist</code></td>\n<td>array</td>\n</tr>\n<tr>\n<td><code>policies[].data.merchant.posGroups.blacklist</code></td>\n<td>array</td>\n</tr>\n<tr>\n<td><code>policies[].data.merchant.merchantGroups</code></td>\n<td>object</td>\n</tr>\n<tr>\n<td><code>policies[].data.merchant.merchantGroups.whitelist</code></td>\n<td>array</td>\n</tr>\n<tr>\n<td><code>policies[].data.merchant.merchantGroups.blacklist</code></td>\n<td>array</td>\n</tr>\n<tr>\n<td><code>policies[].data.merchant.mccGroups</code></td>\n<td>object</td>\n</tr>\n<tr>\n<td><code>policies[].data.merchant.mccGroups.whitelist</code></td>\n<td>array</td>\n</tr>\n<tr>\n<td><code>policies[].data.merchant.mccGroups.blacklist</code></td>\n<td>array</td>\n</tr>\n<tr>\n<td><code>policies[].data.merchant.country</code></td>\n<td>object</td>\n</tr>\n<tr>\n<td><code>policies[].data.merchant.country.whitelist</code></td>\n<td>array</td>\n</tr>\n<tr>\n<td><code>policies[].data.merchant.country.blacklist</code></td>\n<td>array</td>\n</tr>\n<tr>\n<td><code>policies[].data.currency</code></td>\n<td>object</td>\n</tr>\n<tr>\n<td><code>policies[].data.currency.enabled</code></td>\n<td>boolean</td>\n</tr>\n<tr>\n<td><code>policies[].data.currency.whitelist</code></td>\n<td>array</td>\n</tr>\n<tr>\n<td><code>policies[].data.currency.blacklist</code></td>\n<td>array</td>\n</tr>\n<tr>\n<td><code>policies[].data.amount</code></td>\n<td>object</td>\n</tr>\n<tr>\n<td><code>policies[].data.amount.enabled</code></td>\n<td>boolean</td>\n</tr>\n<tr>\n<td><code>policies[].data.amount.items</code></td>\n<td>array</td>\n</tr>\n<tr>\n<td><code>policies[].data.amount.items[].minimum</code></td>\n<td>number</td>\n</tr>\n<tr>\n<td><code>policies[].data.amount.items[].maximum</code></td>\n<td>number</td>\n</tr>\n<tr>\n<td><code>policies[].data.amount.items[].currency</code></td>\n<td>number</td>\n</tr>\n<tr>\n<td><code>policies[].data.amount.items[].transactionTypes</code></td>\n<td>array</td>\n</tr>\n<tr>\n<td><code>policies[].data.amount.items[].merchant</code></td>\n<td>object</td>\n</tr>\n<tr>\n<td><code>policies[].data.amount.items[].merchant.posGroups</code></td>\n<td>object</td>\n</tr>\n<tr>\n<td><code>policies[].data.amount.items[].merchant.posGroups.whitelist</code></td>\n<td>array</td>\n</tr>\n<tr>\n<td><code>policies[].data.amount.items[].merchant.posGroups.blacklist</code></td>\n<td>array</td>\n</tr>\n<tr>\n<td><code>policies[].data.amount.items[].merchant.merchantGroups</code></td>\n<td>object</td>\n</tr>\n<tr>\n<td><code>policies[].data.amount.items[].merchant.merchantGroups.whitelist</code></td>\n<td>array</td>\n</tr>\n<tr>\n<td><code>policies[].data.amount.items[].merchant.merchantGroups.blacklist</code></td>\n<td>array</td>\n</tr>\n<tr>\n<td><code>policies[].data.amount.items[].merchant.mccGroups</code></td>\n<td>object</td>\n</tr>\n<tr>\n<td><code>policies[].data.amount.items[].merchant.mccGroups.whitelist</code></td>\n<td>array</td>\n</tr>\n<tr>\n<td><code>policies[].data.amount.items[].merchant.mccGroups.blacklist</code></td>\n<td>array</td>\n</tr>\n<tr>\n<td><code>policies[].data.amount.items[].merchant.country</code></td>\n<td>object</td>\n</tr>\n<tr>\n<td><code>policies[].data.amount.items[].merchant.country.whitelist</code></td>\n<td>array</td>\n</tr>\n<tr>\n<td><code>policies[].data.amount.items[].merchant.country.blacklist</code></td>\n<td>array</td>\n</tr>\n<tr>\n<td><code>policies[].data.amount.items[].locationCodes</code></td>\n<td>array</td>\n</tr>\n<tr>\n<td><code>policies[].data.transactionType</code></td>\n<td>object</td>\n</tr>\n<tr>\n<td><code>policies[].data.transactionType.enabled</code></td>\n<td>boolean</td>\n</tr>\n<tr>\n<td><code>policies[].data.transactionType.whitelist</code></td>\n<td>array</td>\n</tr>\n<tr>\n<td><code>policies[].data.transactionType.blacklist</code></td>\n<td>array</td>\n</tr>\n<tr>\n<td><code>policies[].data.recurringPayments</code></td>\n<td>object</td>\n</tr>\n<tr>\n<td><code>policies[].data.recurringPayments.enabled</code></td>\n<td>boolean</td>\n</tr>\n<tr>\n<td><code>policies[].data.recurringPayments.isAllowedRecurringPayments</code></td>\n<td>boolean</td>\n</tr>\n<tr>\n<td><code>policies[].data.recurringPayments.isAllowedNonRecurringPayments</code></td>\n<td>boolean</td>\n</tr>\n<tr>\n<td><code>policies[].data.j5</code></td>\n<td>object</td>\n</tr>\n<tr>\n<td><code>policies[].data.j5.enabled</code></td>\n<td>boolean</td>\n</tr>\n<tr>\n<td><code>policies[].data.j5.isAllowedJ5</code></td>\n<td>boolean</td>\n</tr>\n<tr>\n<td><code>policies[].data.j5.amount</code></td>\n<td>object</td>\n</tr>\n<tr>\n<td><code>policies[].data.j5.amount.enabled</code></td>\n<td>boolean</td>\n</tr>\n<tr>\n<td><code>policies[].data.j5.amount.items</code></td>\n<td>array</td>\n</tr>\n<tr>\n<td><code>policies[].data.j5.amount.items[].minimum</code></td>\n<td>number</td>\n</tr>\n<tr>\n<td><code>policies[].data.j5.amount.items[].maximum</code></td>\n<td>number</td>\n</tr>\n<tr>\n<td><code>policies[].data.j5.amount.items[].currency</code></td>\n<td>number</td>\n</tr>\n<tr>\n<td><code>policies[].data.j5.amount.items[].transactionTypes</code></td>\n<td>array</td>\n</tr>\n<tr>\n<td><code>policies[].data.j5.amount.items[].merchant</code></td>\n<td>object</td>\n</tr>\n<tr>\n<td><code>policies[].data.j5.amount.items[].merchant.posGroups</code></td>\n<td>object</td>\n</tr>\n<tr>\n<td><code>policies[].data.j5.amount.items[].merchant.posGroups.whitelist</code></td>\n<td>array</td>\n</tr>\n<tr>\n<td><code>policies[].data.j5.amount.items[].merchant.posGroups.blacklist</code></td>\n<td>array</td>\n</tr>\n<tr>\n<td><code>policies[].data.j5.amount.items[].merchant.merchantGroups</code></td>\n<td>object</td>\n</tr>\n<tr>\n<td><code>policies[].data.j5.amount.items[].merchant.merchantGroups.whitelist</code></td>\n<td>array</td>\n</tr>\n<tr>\n<td><code>policies[].data.j5.amount.items[].merchant.merchantGroups.blacklist</code></td>\n<td>array</td>\n</tr>\n<tr>\n<td><code>policies[].data.j5.amount.items[].merchant.mccGroups</code></td>\n<td>object</td>\n</tr>\n<tr>\n<td><code>policies[].data.j5.amount.items[].merchant.mccGroups.whitelist</code></td>\n<td>array</td>\n</tr>\n<tr>\n<td><code>policies[].data.j5.amount.items[].merchant.mccGroups.blacklist</code></td>\n<td>array</td>\n</tr>\n<tr>\n<td><code>policies[].data.j5.amount.items[].merchant.country</code></td>\n<td>object</td>\n</tr>\n<tr>\n<td><code>policies[].data.j5.amount.items[].merchant.country.whitelist</code></td>\n<td>array</td>\n</tr>\n<tr>\n<td><code>policies[].data.j5.amount.items[].merchant.country.blacklist</code></td>\n<td>array</td>\n</tr>\n<tr>\n<td><code>policies[].data.j5.amount.items[].locationCodes</code></td>\n<td>array</td>\n</tr>\n<tr>\n<td><code>policies[].data.j5.merchant</code></td>\n<td>object</td>\n</tr>\n<tr>\n<td><code>policies[].data.j5.merchant.posGroups</code></td>\n<td>object</td>\n</tr>\n<tr>\n<td><code>policies[].data.j5.merchant.posGroups.whitelist</code></td>\n<td>array</td>\n</tr>\n<tr>\n<td><code>policies[].data.j5.merchant.posGroups.blacklist</code></td>\n<td>array</td>\n</tr>\n<tr>\n<td><code>policies[].data.j5.merchant.merchantGroups</code></td>\n<td>object</td>\n</tr>\n<tr>\n<td><code>policies[].data.j5.merchant.merchantGroups.whitelist</code></td>\n<td>array</td>\n</tr>\n<tr>\n<td><code>policies[].data.j5.merchant.merchantGroups.blacklist</code></td>\n<td>array</td>\n</tr>\n<tr>\n<td><code>policies[].data.j5.merchant.mccGroups</code></td>\n<td>object</td>\n</tr>\n<tr>\n<td><code>policies[].data.j5.merchant.mccGroups.whitelist</code></td>\n<td>array</td>\n</tr>\n<tr>\n<td><code>policies[].data.j5.merchant.mccGroups.blacklist</code></td>\n<td>array</td>\n</tr>\n<tr>\n<td><code>policies[].data.j5.merchant.country</code></td>\n<td>object</td>\n</tr>\n<tr>\n<td><code>policies[].data.j5.merchant.country.whitelist</code></td>\n<td>array</td>\n</tr>\n<tr>\n<td><code>policies[].data.j5.merchant.country.blacklist</code></td>\n<td>array</td>\n</tr>\n<tr>\n<td><code>policies[].data.purchaseMethod</code></td>\n<td>object</td>\n</tr>\n<tr>\n<td><code>policies[].data.purchaseMethod.enabled</code></td>\n<td>boolean</td>\n</tr>\n<tr>\n<td><code>policies[].data.purchaseMethod.whitelist</code></td>\n<td>array</td>\n</tr>\n<tr>\n<td><code>policies[].data.purchaseMethod.blacklist</code></td>\n<td>array</td>\n</tr>\n<tr>\n<td><code>policies[].data.locationCode</code></td>\n<td>object</td>\n</tr>\n<tr>\n<td><code>policies[].data.locationCode.enabled</code></td>\n<td>boolean</td>\n</tr>\n<tr>\n<td><code>policies[].data.locationCode.whitelist</code></td>\n<td>array</td>\n</tr>\n<tr>\n<td><code>policies[].data.locationCode.blacklist</code></td>\n<td>array</td>\n</tr>\n<tr>\n<td><code>policies[].data.timeFrame</code></td>\n<td>object</td>\n</tr>\n<tr>\n<td><code>policies[].data.timeFrame.enabled</code></td>\n<td>boolean</td>\n</tr>\n<tr>\n<td><code>policies[].data.timeFrame.daysOfWeek</code></td>\n<td>object</td>\n</tr>\n<tr>\n<td><code>policies[].data.timeFrame.daysOfWeek.whitelist</code></td>\n<td>array</td>\n</tr>\n<tr>\n<td><code>policies[].data.timeFrame.daysOfWeek.blacklist</code></td>\n<td>array</td>\n</tr>\n<tr>\n<td><code>policies[].data.timeFrame.time</code></td>\n<td>array</td>\n</tr>\n<tr>\n<td><code>policies[].data.timeFrame.time[].from</code></td>\n<td>object</td>\n</tr>\n<tr>\n<td><code>policies[].data.timeFrame.time[].from.hours</code></td>\n<td>number</td>\n</tr>\n<tr>\n<td><code>policies[].data.timeFrame.time[].from.minutes</code></td>\n<td>number</td>\n</tr>\n<tr>\n<td><code>policies[].data.timeFrame.time[].to</code></td>\n<td>object</td>\n</tr>\n<tr>\n<td><code>policies[].data.timeFrame.time[].to.hours</code></td>\n<td>number</td>\n</tr>\n<tr>\n<td><code>policies[].data.timeFrame.time[].to.minutes</code></td>\n<td>number</td>\n</tr>\n<tr>\n<td><code>policies[].data.aggregated</code></td>\n<td>object</td>\n</tr>\n<tr>\n<td><code>policies[].data.aggregated.enabled</code></td>\n<td>boolean</td>\n</tr>\n<tr>\n<td><code>policies[].data.aggregated.items</code></td>\n<td>array</td>\n</tr>\n<tr>\n<td><code>policies[].data.aggregated.items[].filter</code></td>\n<td>object</td>\n</tr>\n<tr>\n<td><code>policies[].data.aggregated.items[].filter.timeFrame</code></td>\n<td>object</td>\n</tr>\n<tr>\n<td><code>policies[].data.aggregated.items[].filter.timeFrame.hourly</code></td>\n<td>object</td>\n</tr>\n<tr>\n<td><code>policies[].data.aggregated.items[].filter.timeFrame.hourly.from</code></td>\n<td>object</td>\n</tr>\n<tr>\n<td><code>policies[].data.aggregated.items[].filter.timeFrame.hourly.from.hours</code></td>\n<td>number</td>\n</tr>\n<tr>\n<td><code>policies[].data.aggregated.items[].filter.timeFrame.hourly.from.minutes</code></td>\n<td>number</td>\n</tr>\n<tr>\n<td><code>policies[].data.aggregated.items[].filter.timeFrame.hourly.to</code></td>\n<td>object</td>\n</tr>\n<tr>\n<td><code>policies[].data.aggregated.items[].filter.timeFrame.hourly.to.hours</code></td>\n<td>number</td>\n</tr>\n<tr>\n<td><code>policies[].data.aggregated.items[].filter.timeFrame.hourly.to.minutes</code></td>\n<td>number</td>\n</tr>\n<tr>\n<td><code>policies[].data.aggregated.items[].filter.timeFrame.monthly</code></td>\n<td>object</td>\n</tr>\n<tr>\n<td><code>policies[].data.aggregated.items[].filter.timeFrame.monthly.fromDayOfMonth</code></td>\n<td>number</td>\n</tr>\n<tr>\n<td><code>policies[].data.aggregated.items[].filter.timeFrame.monthly.toDayOfMonth</code></td>\n<td>number</td>\n</tr>\n<tr>\n<td><code>policies[].data.aggregated.items[].filter.timeFrame.weekly</code></td>\n<td>object</td>\n</tr>\n<tr>\n<td><code>policies[].data.aggregated.items[].filter.timeFrame.weekly.fromDayOfWeek</code></td>\n<td>number</td>\n</tr>\n<tr>\n<td><code>policies[].data.aggregated.items[].filter.timeFrame.weekly.toDayOfWeek</code></td>\n<td>number</td>\n</tr>\n<tr>\n<td><code>policies[].data.aggregated.items[].filter.timeFrame.priorDuration</code></td>\n<td>object</td>\n</tr>\n<tr>\n<td><code>policies[].data.aggregated.items[].filter.timeFrame.priorDuration.hours</code></td>\n<td>number</td>\n</tr>\n<tr>\n<td><code>policies[].data.aggregated.items[].filter.timeFrame.priorDuration.minutes</code></td>\n<td>number</td>\n</tr>\n<tr>\n<td><code>policies[].data.aggregated.items[].filter.currencies</code></td>\n<td>array</td>\n</tr>\n<tr>\n<td><code>policies[].data.aggregated.items[].filter.transactionTypes</code></td>\n<td>array</td>\n</tr>\n<tr>\n<td><code>policies[].data.aggregated.items[].filter.locationCodes</code></td>\n<td>array</td>\n</tr>\n<tr>\n<td><code>policies[].data.aggregated.items[].filter.purchaseMethods</code></td>\n<td>array</td>\n</tr>\n<tr>\n<td><code>policies[].data.aggregated.items[].filter.recurringPayments</code></td>\n<td>boolean</td>\n</tr>\n<tr>\n<td><code>policies[].data.aggregated.items[].filter.isJ5</code></td>\n<td>boolean</td>\n</tr>\n<tr>\n<td><code>policies[].data.aggregated.items[].filter.merchant</code></td>\n<td>object</td>\n</tr>\n<tr>\n<td><code>policies[].data.aggregated.items[].filter.merchant.posGroups</code></td>\n<td>object</td>\n</tr>\n<tr>\n<td><code>policies[].data.aggregated.items[].filter.merchant.posGroups.whitelist</code></td>\n<td>array</td>\n</tr>\n<tr>\n<td><code>policies[].data.aggregated.items[].filter.merchant.posGroups.blacklist</code></td>\n<td>array</td>\n</tr>\n<tr>\n<td><code>policies[].data.aggregated.items[].filter.merchant.merchantGroups</code></td>\n<td>object</td>\n</tr>\n<tr>\n<td><code>policies[].data.aggregated.items[].filter.merchant.merchantGroups.whitelist</code></td>\n<td>array</td>\n</tr>\n<tr>\n<td><code>policies[].data.aggregated.items[].filter.merchant.merchantGroups.blacklist</code></td>\n<td>array</td>\n</tr>\n<tr>\n<td><code>policies[].data.aggregated.items[].filter.merchant.mccGroups</code></td>\n<td>object</td>\n</tr>\n<tr>\n<td><code>policies[].data.aggregated.items[].filter.merchant.mccGroups.whitelist</code></td>\n<td>array</td>\n</tr>\n<tr>\n<td><code>policies[].data.aggregated.items[].filter.merchant.mccGroups.blacklist</code></td>\n<td>array</td>\n</tr>\n<tr>\n<td><code>policies[].data.aggregated.items[].filter.merchant.country</code></td>\n<td>object</td>\n</tr>\n<tr>\n<td><code>policies[].data.aggregated.items[].filter.merchant.country.whitelist</code></td>\n<td>array</td>\n</tr>\n<tr>\n<td><code>policies[].data.aggregated.items[].filter.merchant.country.blacklist</code></td>\n<td>array</td>\n</tr>\n<tr>\n<td><code>policies[].data.aggregated.items[].filter.spendAccountCodes</code></td>\n<td>array</td>\n</tr>\n<tr>\n<td><code>policies[].data.aggregated.items[].isLifetime</code></td>\n<td>boolean</td>\n</tr>\n<tr>\n<td><code>policies[].data.aggregated.items[].aggregation</code></td>\n<td>object</td>\n</tr>\n<tr>\n<td><code>policies[].data.aggregated.items[].aggregation.entity</code></td>\n<td><code>paymentDevice</code><br /><code>pocket</code></td>\n</tr>\n<tr>\n<td><code>policies[].data.aggregated.items[].aggregation.type</code></td>\n<td><code>count</code><br /><code>authorizedAmount</code></td>\n</tr>\n<tr>\n<td><code>policies[].data.aggregated.items[].valueRange</code></td>\n<td>object</td>\n</tr>\n<tr>\n<td><code>policies[].data.aggregated.items[].valueRange.minimum</code></td>\n<td>number</td>\n</tr>\n<tr>\n<td><code>policies[].data.aggregated.items[].valueRange.maximum</code></td>\n<td>number</td>\n</tr>\n<tr>\n<td><code>policies[].data.aggregated.items[].valueRange.currency</code></td>\n<td>number</td>\n</tr>\n<tr>\n<td><code>policies[].data.aggregated.items[].valueRange.transactionTypes</code></td>\n<td>array</td>\n</tr>\n<tr>\n<td><code>policies[].data.aggregated.items[].valueRange.merchant</code></td>\n<td>object</td>\n</tr>\n<tr>\n<td><code>policies[].data.aggregated.items[].valueRange.merchant.posGroups</code></td>\n<td>object</td>\n</tr>\n<tr>\n<td><code>policies[].data.aggregated.items[].valueRange.merchant.posGroups.whitelist</code></td>\n<td>array</td>\n</tr>\n<tr>\n<td><code>policies[].data.aggregated.items[].valueRange.merchant.posGroups.blacklist</code></td>\n<td>array</td>\n</tr>\n<tr>\n<td><code>policies[].data.aggregated.items[].valueRange.merchant.merchantGroups</code></td>\n<td>object</td>\n</tr>\n<tr>\n<td><code>policies[].data.aggregated.items[].valueRange.merchant.merchantGroups.whitelist</code></td>\n<td>array</td>\n</tr>\n<tr>\n<td><code>policies[].data.aggregated.items[].valueRange.merchant.merchantGroups.blacklist</code></td>\n<td>array</td>\n</tr>\n<tr>\n<td><code>policies[].data.aggregated.items[].valueRange.merchant.mccGroups</code></td>\n<td>object</td>\n</tr>\n<tr>\n<td><code>policies[].data.aggregated.items[].valueRange.merchant.mccGroups.whitelist</code></td>\n<td>array</td>\n</tr>\n<tr>\n<td><code>policies[].data.aggregated.items[].valueRange.merchant.mccGroups.blacklist</code></td>\n<td>array</td>\n</tr>\n<tr>\n<td><code>policies[].data.aggregated.items[].valueRange.merchant.country</code></td>\n<td>object</td>\n</tr>\n<tr>\n<td><code>policies[].data.aggregated.items[].valueRange.merchant.country.whitelist</code></td>\n<td>array</td>\n</tr>\n<tr>\n<td><code>policies[].data.aggregated.items[].valueRange.merchant.country.blacklist</code></td>\n<td>array</td>\n</tr>\n<tr>\n<td><code>policies[].data.aggregated.items[].valueRange.locationCodes</code></td>\n<td>array</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["payment-account-policies","api","Policies","GetPolicies"],"host":["api","stage","cal-platform","com"],"query":[],"variable":[]}},"response":[{"id":"d3ee7ea1-f58c-4782-9630-6f5a369e4a5f","name":"GetPolicies","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"","type":"text"},{"key":"x-organization-id","value":"","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"ids\": [\n        \"string\"\n    ],\n    \"relatedEntityIds\": [\n        \"string\"\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/payment-account-policies/api/Policies/GetPolicies"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n  \"statusDescription\": \"Success\",\n  \"statusCode\": 200,\n  \"sessionId\": \"string\",\n  \"httpStatus\": 0,\n  \"result\": {\n    \"policies\": [\n      {\n        \"id\": \"string\",\n        \"organizationId\": \"string\",\n        \"relatedEntityId\": \"string\",\n        \"relatedEntityType\": \"issuer\",\n        \"data\": {\n          \"merchant\": {\n            \"enabled\": true,\n            \"posGroups\": {\n              \"whitelist\": [\n                null\n              ],\n              \"blacklist\": [\n                null\n              ]\n            },\n            \"merchantGroups\": {\n              \"whitelist\": [\n                null\n              ],\n              \"blacklist\": [\n                null\n              ]\n            },\n            \"mccGroups\": {\n              \"whitelist\": [\n                null\n              ],\n              \"blacklist\": [\n                null\n              ]\n            },\n            \"country\": {\n              \"whitelist\": [\n                null\n              ],\n              \"blacklist\": [\n                null\n              ]\n            }\n          },\n          \"currency\": {\n            \"enabled\": true,\n            \"whitelist\": [\n              null\n            ],\n            \"blacklist\": [\n              null\n            ]\n          },\n          \"amount\": {\n            \"enabled\": true,\n            \"items\": [\n              {\n                \"minimum\": 0,\n                \"maximum\": 0,\n                \"currency\": 0,\n                \"transactionTypes\": [\n                  \"regular\"\n                ],\n                \"merchant\": {\n                  \"posGroups\": {\n                    \"whitelist\": [\n                      null\n                    ],\n                    \"blacklist\": [\n                      null\n                    ]\n                  },\n                  \"merchantGroups\": {\n                    \"whitelist\": [\n                      null\n                    ],\n                    \"blacklist\": [\n                      null\n                    ]\n                  },\n                  \"mccGroups\": {\n                    \"whitelist\": [\n                      null\n                    ],\n                    \"blacklist\": [\n                      null\n                    ]\n                  },\n                  \"country\": {\n                    \"whitelist\": [\n                      null\n                    ],\n                    \"blacklist\": [\n                      null\n                    ]\n                  }\n                },\n                \"locationCodes\": [\n                  \"domestic\"\n                ]\n              }\n            ]\n          },\n          \"transactionType\": {\n            \"enabled\": true,\n            \"whitelist\": [\n              null\n            ],\n            \"blacklist\": [\n              null\n            ]\n          },\n          \"recurringPayments\": {\n            \"enabled\": true,\n            \"isAllowedRecurringPayments\": true,\n            \"isAllowedNonRecurringPayments\": true\n          },\n          \"j5\": {\n            \"enabled\": true,\n            \"isAllowedJ5\": true,\n            \"amount\": {\n              \"enabled\": true,\n              \"items\": [\n                {\n                  \"minimum\": 0,\n                  \"maximum\": 0,\n                  \"currency\": 0,\n                  \"transactionTypes\": [\n                    \"regular\"\n                  ],\n                  \"merchant\": {\n                    \"posGroups\": {\n                      \"whitelist\": [\n                        null\n                      ],\n                      \"blacklist\": [\n                        null\n                      ]\n                    },\n                    \"merchantGroups\": {\n                      \"whitelist\": [\n                        null\n                      ],\n                      \"blacklist\": [\n                        null\n                      ]\n                    },\n                    \"mccGroups\": {\n                      \"whitelist\": [\n                        null\n                      ],\n                      \"blacklist\": [\n                        null\n                      ]\n                    },\n                    \"country\": {\n                      \"whitelist\": [\n                        null\n                      ],\n                      \"blacklist\": [\n                        null\n                      ]\n                    }\n                  },\n                  \"locationCodes\": [\n                    \"domestic\"\n                  ]\n                }\n              ]\n            },\n            \"merchant\": {\n              \"posGroups\": {\n                \"whitelist\": [\n                  null\n                ],\n                \"blacklist\": [\n                  null\n                ]\n              },\n              \"merchantGroups\": {\n                \"whitelist\": [\n                  null\n                ],\n                \"blacklist\": [\n                  null\n                ]\n              },\n              \"mccGroups\": {\n                \"whitelist\": [\n                  null\n                ],\n                \"blacklist\": [\n                  null\n                ]\n              },\n              \"country\": {\n                \"whitelist\": [\n                  null\n                ],\n                \"blacklist\": [\n                  null\n                ]\n              }\n            }\n          },\n          \"purchaseMethod\": {\n            \"enabled\": true,\n            \"whitelist\": [\n              null\n            ],\n            \"blacklist\": [\n              null\n            ]\n          },\n          \"locationCode\": {\n            \"enabled\": true,\n            \"whitelist\": [\n              null\n            ],\n            \"blacklist\": [\n              null\n            ]\n          },\n          \"timeFrame\": {\n            \"enabled\": true,\n            \"daysOfWeek\": {\n              \"whitelist\": [\n                null\n              ],\n              \"blacklist\": [\n                null\n              ]\n            },\n            \"time\": [\n              {\n                \"from\": {\n                  \"hours\": 0,\n                  \"minutes\": 0\n                },\n                \"to\": {\n                  \"hours\": 0,\n                  \"minutes\": 0\n                }\n              }\n            ]\n          },\n          \"aggregated\": {\n            \"enabled\": true,\n            \"items\": [\n              {\n                \"filter\": {\n                  \"timeFrame\": {\n                    \"hourly\": {\n                      \"from\": {\n                        \"hours\": 0,\n                        \"minutes\": 0\n                      },\n                      \"to\": {\n                        \"hours\": 0,\n                        \"minutes\": 0\n                      }\n                    },\n                    \"monthly\": {\n                      \"fromDayOfMonth\": 0,\n                      \"toDayOfMonth\": 0\n                    },\n                    \"weekly\": {\n                      \"fromDayOfWeek\": 0,\n                      \"toDayOfWeek\": 0\n                    },\n                    \"priorDuration\": {\n                      \"hours\": 0,\n                      \"minutes\": 0\n                    }\n                  },\n                  \"currencies\": [\n                    null\n                  ],\n                  \"transactionTypes\": [\n                    \"regular\"\n                  ],\n                  \"locationCodes\": [\n                    \"domestic\"\n                  ],\n                  \"purchaseMethods\": [\n                    \"internet\"\n                  ],\n                  \"recurringPayments\": true,\n                  \"isJ5\": true,\n                  \"merchant\": {\n                    \"posGroups\": {\n                      \"whitelist\": [\n                        null\n                      ],\n                      \"blacklist\": [\n                        null\n                      ]\n                    },\n                    \"merchantGroups\": {\n                      \"whitelist\": [\n                        null\n                      ],\n                      \"blacklist\": [\n                        null\n                      ]\n                    },\n                    \"mccGroups\": {\n                      \"whitelist\": [\n                        null\n                      ],\n                      \"blacklist\": [\n                        null\n                      ]\n                    },\n                    \"country\": {\n                      \"whitelist\": [\n                        null\n                      ],\n                      \"blacklist\": [\n                        null\n                      ]\n                    }\n                  },\n                  \"spendAccountCodes\": [\n                    null\n                  ]\n                },\n                \"isLifetime\": true,\n                \"aggregation\": {\n                  \"entity\": \"paymentDevice\",\n                  \"type\": \"count\"\n                },\n                \"valueRange\": {\n                  \"minimum\": 0,\n                  \"maximum\": 0,\n                  \"currency\": 0,\n                  \"transactionTypes\": [\n                    \"regular\"\n                  ],\n                  \"merchant\": {\n                    \"posGroups\": {\n                      \"whitelist\": [\n                        null\n                      ],\n                      \"blacklist\": [\n                        null\n                      ]\n                    },\n                    \"merchantGroups\": {\n                      \"whitelist\": [\n                        null\n                      ],\n                      \"blacklist\": [\n                        null\n                      ]\n                    },\n                    \"mccGroups\": {\n                      \"whitelist\": [\n                        null\n                      ],\n                      \"blacklist\": [\n                        null\n                      ]\n                    },\n                    \"country\": {\n                      \"whitelist\": [\n                        null\n                      ],\n                      \"blacklist\": [\n                        null\n                      ]\n                    }\n                  },\n                  \"locationCodes\": [\n                    \"domestic\"\n                  ]\n                }\n              }\n            ]\n          }\n        }\n      }\n    ]\n  }\n}"}],"_postman_id":"e2f52dbd-50a8-44f8-90cd-d59fdedf3a6a"},{"name":"UpsertPolicies","id":"f8c1a47d-0410-4aab-92b5-4f23d613be9f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"},{"key":"X-Organization-Id","value":"{{OrganizationId}}"}],"body":{"mode":"raw","raw":"{\n    \"policies\": [\n        {\n            \"relatedEntityId\": \"string\",\n            \"relatedEntityType\": \"string\",\n            \"data\": {\n                \"merchant\": {\n                    \"enabled\": true,\n                    \"posGroups\": {\n                        \"whitelist\": [\n                            null\n                        ],\n                        \"blacklist\": [\n                            null\n                        ]\n                    },\n                    \"merchantGroups\": {\n                        \"whitelist\": [\n                            null\n                        ],\n                        \"blacklist\": [\n                            null\n                        ]\n                    },\n                    \"mccGroups\": {\n                        \"whitelist\": [\n                            null\n                        ],\n                        \"blacklist\": [\n                            null\n                        ]\n                    },\n                    \"country\": {\n                        \"whitelist\": [\n                            null\n                        ],\n                        \"blacklist\": [\n                            null\n                        ]\n                    }\n                },\n                \"currency\": {\n                    \"enabled\": true,\n                    \"whitelist\": [\n                        null\n                    ],\n                    \"blacklist\": [\n                        null\n                    ]\n                },\n                \"amount\": {\n                    \"enabled\": true,\n                    \"items\": [\n                        {\n                            \"minimum\": 0,\n                            \"maximum\": 0,\n                            \"currency\": 0,\n                            \"transactionTypes\": [\n                                \"regular\"\n                            ],\n                            \"merchant\": {\n                                \"posGroups\": {\n                                    \"whitelist\": [\n                                        null\n                                    ],\n                                    \"blacklist\": [\n                                        null\n                                    ]\n                                },\n                                \"merchantGroups\": {\n                                    \"whitelist\": [\n                                        null\n                                    ],\n                                    \"blacklist\": [\n                                        null\n                                    ]\n                                },\n                                \"mccGroups\": {\n                                    \"whitelist\": [\n                                        null\n                                    ],\n                                    \"blacklist\": [\n                                        null\n                                    ]\n                                },\n                                \"country\": {\n                                    \"whitelist\": [\n                                        null\n                                    ],\n                                    \"blacklist\": [\n                                        null\n                                    ]\n                                }\n                            },\n                            \"locationCodes\": [\n                                \"domestic\"\n                            ]\n                        }\n                    ]\n                },\n                \"transactionType\": {\n                    \"enabled\": true,\n                    \"whitelist\": [\n                        null\n                    ],\n                    \"blacklist\": [\n                        null\n                    ]\n                },\n                \"recurringPayments\": {\n                    \"enabled\": true,\n                    \"isAllowedRecurringPayments\": true,\n                    \"isAllowedNonRecurringPayments\": true\n                },\n                \"j5\": {\n                    \"enabled\": true,\n                    \"isAllowedJ5\": true,\n                    \"amount\": {\n                        \"enabled\": true,\n                        \"items\": [\n                            {\n                                \"minimum\": 0,\n                                \"maximum\": 0,\n                                \"currency\": 0,\n                                \"transactionTypes\": [\n                                    \"regular\"\n                                ],\n                                \"merchant\": {\n                                    \"posGroups\": {\n                                        \"whitelist\": [\n                                            null\n                                        ],\n                                        \"blacklist\": [\n                                            null\n                                        ]\n                                    },\n                                    \"merchantGroups\": {\n                                        \"whitelist\": [\n                                            null\n                                        ],\n                                        \"blacklist\": [\n                                            null\n                                        ]\n                                    },\n                                    \"mccGroups\": {\n                                        \"whitelist\": [\n                                            null\n                                        ],\n                                        \"blacklist\": [\n                                            null\n                                        ]\n                                    },\n                                    \"country\": {\n                                        \"whitelist\": [\n                                            null\n                                        ],\n                                        \"blacklist\": [\n                                            null\n                                        ]\n                                    }\n                                },\n                                \"locationCodes\": [\n                                    \"domestic\"\n                                ]\n                            }\n                        ]\n                    },\n                    \"merchant\": {\n                        \"posGroups\": {\n                            \"whitelist\": [\n                                null\n                            ],\n                            \"blacklist\": [\n                                null\n                            ]\n                        },\n                        \"merchantGroups\": {\n                            \"whitelist\": [\n                                null\n                            ],\n                            \"blacklist\": [\n                                null\n                            ]\n                        },\n                        \"mccGroups\": {\n                            \"whitelist\": [\n                                null\n                            ],\n                            \"blacklist\": [\n                                null\n                            ]\n                        },\n                        \"country\": {\n                            \"whitelist\": [\n                                null\n                            ],\n                            \"blacklist\": [\n                                null\n                            ]\n                        }\n                    }\n                },\n                \"purchaseMethod\": {\n                    \"enabled\": true,\n                    \"whitelist\": [\n                        null\n                    ],\n                    \"blacklist\": [\n                        null\n                    ]\n                },\n                \"locationCode\": {\n                    \"enabled\": true,\n                    \"whitelist\": [\n                        null\n                    ],\n                    \"blacklist\": [\n                        null\n                    ]\n                },\n                \"timeFrame\": {\n                    \"enabled\": true,\n                    \"daysOfWeek\": {\n                        \"whitelist\": [\n                            null\n                        ],\n                        \"blacklist\": [\n                            null\n                        ]\n                    },\n                    \"time\": [\n                        {\n                            \"from\": {\n                                \"hours\": 0,\n                                \"minutes\": 0\n                            },\n                            \"to\": {\n                                \"hours\": 0,\n                                \"minutes\": 0\n                            }\n                        }\n                    ]\n                },\n                \"aggregated\": {\n                    \"enabled\": true,\n                    \"items\": [\n                        {\n                            \"filter\": {\n                                \"timeFrame\": {\n                                    \"hourly\": {\n                                        \"from\": {\n                                            \"hours\": 0,\n                                            \"minutes\": 0\n                                        },\n                                        \"to\": {\n                                            \"hours\": 0,\n                                            \"minutes\": 0\n                                        }\n                                    },\n                                    \"monthly\": {\n                                        \"fromDayOfMonth\": 0,\n                                        \"toDayOfMonth\": 0\n                                    },\n                                    \"weekly\": {\n                                        \"fromDayOfWeek\": 0,\n                                        \"toDayOfWeek\": 0\n                                    },\n                                    \"priorDuration\": {\n                                        \"hours\": 0,\n                                        \"minutes\": 0\n                                    }\n                                },\n                                \"currencies\": [\n                                    null\n                                ],\n                                \"transactionTypes\": [\n                                    \"regular\"\n                                ],\n                                \"locationCodes\": [\n                                    \"domestic\"\n                                ],\n                                \"purchaseMethods\": [\n                                    \"internet\"\n                                ],\n                                \"recurringPayments\": true,\n                                \"isJ5\": true,\n                                \"merchant\": {\n                                    \"posGroups\": {\n                                        \"whitelist\": [\n                                            null\n                                        ],\n                                        \"blacklist\": [\n                                            null\n                                        ]\n                                    },\n                                    \"merchantGroups\": {\n                                        \"whitelist\": [\n                                            null\n                                        ],\n                                        \"blacklist\": [\n                                            null\n                                        ]\n                                    },\n                                    \"mccGroups\": {\n                                        \"whitelist\": [\n                                            null\n                                        ],\n                                        \"blacklist\": [\n                                            null\n                                        ]\n                                    },\n                                    \"country\": {\n                                        \"whitelist\": [\n                                            null\n                                        ],\n                                        \"blacklist\": [\n                                            null\n                                        ]\n                                    }\n                                },\n                                \"spendAccountCodes\": [\n                                    null\n                                ]\n                            },\n                            \"isLifetime\": true,\n                            \"aggregation\": {\n                                \"entity\": \"paymentDevice\",\n                                \"type\": \"count\"\n                            },\n                            \"valueRange\": {\n                                \"minimum\": 0,\n                                \"maximum\": 0,\n                                \"currency\": 0,\n                                \"transactionTypes\": [\n                                    \"regular\"\n                                ],\n                                \"merchant\": {\n                                    \"posGroups\": {\n                                        \"whitelist\": [\n                                            null\n                                        ],\n                                        \"blacklist\": [\n                                            null\n                                        ]\n                                    },\n                                    \"merchantGroups\": {\n                                        \"whitelist\": [\n                                            null\n                                        ],\n                                        \"blacklist\": [\n                                            null\n                                        ]\n                                    },\n                                    \"mccGroups\": {\n                                        \"whitelist\": [\n                                            null\n                                        ],\n                                        \"blacklist\": [\n                                            null\n                                        ]\n                                    },\n                                    \"country\": {\n                                        \"whitelist\": [\n                                            null\n                                        ],\n                                        \"blacklist\": [\n                                            null\n                                        ]\n                                    }\n                                },\n                                \"locationCodes\": [\n                                    \"domestic\"\n                                ]\n                            }\n                        }\n                    ]\n                }\n            }\n        }\n    ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://api.stage.cal-platform.com/payment-account-policies/api/Policies/UpsertPolicies","description":"<p>Creates or updates one or more authorization policies. Each policy defines a set of spending rules including allowed/blocked MCC groups, merchant groups, POS groups, and spending limits. Provide a <code>refId</code> to update an existing policy; omit it to create a new one.</p>\n<hr />\n<h3 id=\"request-parameters\">Request Parameters</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field Name</th>\n<th>Required/Optional</th>\n<th>Type</th>\n<th>Description</th>\n<th>Example</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>policies</td>\n<td>Required</td>\n<td>PolicyDto[]</td>\n<td>Array of policies to create or update</td>\n<td><code>[{...}]</code></td>\n</tr>\n<tr>\n<td>policies[].refId</td>\n<td>Optional</td>\n<td>string (UUID)</td>\n<td>Existing policy UUID for update; omit to create</td>\n<td><code>\"00000000-0000-0000-0000-000000000000\"</code></td>\n</tr>\n<tr>\n<td>policies[].name</td>\n<td>Required</td>\n<td>string</td>\n<td>Policy display name</td>\n<td><code>\"Supermarket Only\"</code></td>\n</tr>\n<tr>\n<td>policies[].rules</td>\n<td>Required</td>\n<td>object</td>\n<td>The spending rules for this policy</td>\n<td><code>{...}</code></td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["payment-account-policies","api","Policies","UpsertPolicies"],"host":["api","stage","cal-platform","com"],"query":[],"variable":[]}},"response":[{"id":"3d8584a9-0d05-4210-ae92-9ebeef1200ca","name":"UpsertPolicies","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"","type":"text"},{"key":"x-organization-id","value":"","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"policies\": [\n        {\n            \"relatedEntityId\": \"string\",\n            \"relatedEntityType\": \"string\",\n            \"data\": {\n                \"merchant\": {\n                    \"enabled\": true,\n                    \"posGroups\": {\n                        \"whitelist\": [\n                            null\n                        ],\n                        \"blacklist\": [\n                            null\n                        ]\n                    },\n                    \"merchantGroups\": {\n                        \"whitelist\": [\n                            null\n                        ],\n                        \"blacklist\": [\n                            null\n                        ]\n                    },\n                    \"mccGroups\": {\n                        \"whitelist\": [\n                            null\n                        ],\n                        \"blacklist\": [\n                            null\n                        ]\n                    },\n                    \"country\": {\n                        \"whitelist\": [\n                            null\n                        ],\n                        \"blacklist\": [\n                            null\n                        ]\n                    }\n                },\n                \"currency\": {\n                    \"enabled\": true,\n                    \"whitelist\": [\n                        null\n                    ],\n                    \"blacklist\": [\n                        null\n                    ]\n                },\n                \"amount\": {\n                    \"enabled\": true,\n                    \"items\": [\n                        {\n                            \"minimum\": 0,\n                            \"maximum\": 0,\n                            \"currency\": 0,\n                            \"transactionTypes\": [\n                                \"regular\"\n                            ],\n                            \"merchant\": {\n                                \"posGroups\": {\n                                    \"whitelist\": [\n                                        null\n                                    ],\n                                    \"blacklist\": [\n                                        null\n                                    ]\n                                },\n                                \"merchantGroups\": {\n                                    \"whitelist\": [\n                                        null\n                                    ],\n                                    \"blacklist\": [\n                                        null\n                                    ]\n                                },\n                                \"mccGroups\": {\n                                    \"whitelist\": [\n                                        null\n                                    ],\n                                    \"blacklist\": [\n                                        null\n                                    ]\n                                },\n                                \"country\": {\n                                    \"whitelist\": [\n                                        null\n                                    ],\n                                    \"blacklist\": [\n                                        null\n                                    ]\n                                }\n                            },\n                            \"locationCodes\": [\n                                \"domestic\"\n                            ]\n                        }\n                    ]\n                },\n                \"transactionType\": {\n                    \"enabled\": true,\n                    \"whitelist\": [\n                        null\n                    ],\n                    \"blacklist\": [\n                        null\n                    ]\n                },\n                \"recurringPayments\": {\n                    \"enabled\": true,\n                    \"isAllowedRecurringPayments\": true,\n                    \"isAllowedNonRecurringPayments\": true\n                },\n                \"j5\": {\n                    \"enabled\": true,\n                    \"isAllowedJ5\": true,\n                    \"amount\": {\n                        \"enabled\": true,\n                        \"items\": [\n                            {\n                                \"minimum\": 0,\n                                \"maximum\": 0,\n                                \"currency\": 0,\n                                \"transactionTypes\": [\n                                    \"regular\"\n                                ],\n                                \"merchant\": {\n                                    \"posGroups\": {\n                                        \"whitelist\": [\n                                            null\n                                        ],\n                                        \"blacklist\": [\n                                            null\n                                        ]\n                                    },\n                                    \"merchantGroups\": {\n                                        \"whitelist\": [\n                                            null\n                                        ],\n                                        \"blacklist\": [\n                                            null\n                                        ]\n                                    },\n                                    \"mccGroups\": {\n                                        \"whitelist\": [\n                                            null\n                                        ],\n                                        \"blacklist\": [\n                                            null\n                                        ]\n                                    },\n                                    \"country\": {\n                                        \"whitelist\": [\n                                            null\n                                        ],\n                                        \"blacklist\": [\n                                            null\n                                        ]\n                                    }\n                                },\n                                \"locationCodes\": [\n                                    \"domestic\"\n                                ]\n                            }\n                        ]\n                    },\n                    \"merchant\": {\n                        \"posGroups\": {\n                            \"whitelist\": [\n                                null\n                            ],\n                            \"blacklist\": [\n                                null\n                            ]\n                        },\n                        \"merchantGroups\": {\n                            \"whitelist\": [\n                                null\n                            ],\n                            \"blacklist\": [\n                                null\n                            ]\n                        },\n                        \"mccGroups\": {\n                            \"whitelist\": [\n                                null\n                            ],\n                            \"blacklist\": [\n                                null\n                            ]\n                        },\n                        \"country\": {\n                            \"whitelist\": [\n                                null\n                            ],\n                            \"blacklist\": [\n                                null\n                            ]\n                        }\n                    }\n                },\n                \"purchaseMethod\": {\n                    \"enabled\": true,\n                    \"whitelist\": [\n                        null\n                    ],\n                    \"blacklist\": [\n                        null\n                    ]\n                },\n                \"locationCode\": {\n                    \"enabled\": true,\n                    \"whitelist\": [\n                        null\n                    ],\n                    \"blacklist\": [\n                        null\n                    ]\n                },\n                \"timeFrame\": {\n                    \"enabled\": true,\n                    \"daysOfWeek\": {\n                        \"whitelist\": [\n                            null\n                        ],\n                        \"blacklist\": [\n                            null\n                        ]\n                    },\n                    \"time\": [\n                        {\n                            \"from\": {\n                                \"hours\": 0,\n                                \"minutes\": 0\n                            },\n                            \"to\": {\n                                \"hours\": 0,\n                                \"minutes\": 0\n                            }\n                        }\n                    ]\n                },\n                \"aggregated\": {\n                    \"enabled\": true,\n                    \"items\": [\n                        {\n                            \"filter\": {\n                                \"timeFrame\": {\n                                    \"hourly\": {\n                                        \"from\": {\n                                            \"hours\": 0,\n                                            \"minutes\": 0\n                                        },\n                                        \"to\": {\n                                            \"hours\": 0,\n                                            \"minutes\": 0\n                                        }\n                                    },\n                                    \"monthly\": {\n                                        \"fromDayOfMonth\": 0,\n                                        \"toDayOfMonth\": 0\n                                    },\n                                    \"weekly\": {\n                                        \"fromDayOfWeek\": 0,\n                                        \"toDayOfWeek\": 0\n                                    },\n                                    \"priorDuration\": {\n                                        \"hours\": 0,\n                                        \"minutes\": 0\n                                    }\n                                },\n                                \"currencies\": [\n                                    null\n                                ],\n                                \"transactionTypes\": [\n                                    \"regular\"\n                                ],\n                                \"locationCodes\": [\n                                    \"domestic\"\n                                ],\n                                \"purchaseMethods\": [\n                                    \"internet\"\n                                ],\n                                \"recurringPayments\": true,\n                                \"isJ5\": true,\n                                \"merchant\": {\n                                    \"posGroups\": {\n                                        \"whitelist\": [\n                                            null\n                                        ],\n                                        \"blacklist\": [\n                                            null\n                                        ]\n                                    },\n                                    \"merchantGroups\": {\n                                        \"whitelist\": [\n                                            null\n                                        ],\n                                        \"blacklist\": [\n                                            null\n                                        ]\n                                    },\n                                    \"mccGroups\": {\n                                        \"whitelist\": [\n                                            null\n                                        ],\n                                        \"blacklist\": [\n                                            null\n                                        ]\n                                    },\n                                    \"country\": {\n                                        \"whitelist\": [\n                                            null\n                                        ],\n                                        \"blacklist\": [\n                                            null\n                                        ]\n                                    }\n                                },\n                                \"spendAccountCodes\": [\n                                    null\n                                ]\n                            },\n                            \"isLifetime\": true,\n                            \"aggregation\": {\n                                \"entity\": \"paymentDevice\",\n                                \"type\": \"count\"\n                            },\n                            \"valueRange\": {\n                                \"minimum\": 0,\n                                \"maximum\": 0,\n                                \"currency\": 0,\n                                \"transactionTypes\": [\n                                    \"regular\"\n                                ],\n                                \"merchant\": {\n                                    \"posGroups\": {\n                                        \"whitelist\": [\n                                            null\n                                        ],\n                                        \"blacklist\": [\n                                            null\n                                        ]\n                                    },\n                                    \"merchantGroups\": {\n                                        \"whitelist\": [\n                                            null\n                                        ],\n                                        \"blacklist\": [\n                                            null\n                                        ]\n                                    },\n                                    \"mccGroups\": {\n                                        \"whitelist\": [\n                                            null\n                                        ],\n                                        \"blacklist\": [\n                                            null\n                                        ]\n                                    },\n                                    \"country\": {\n                                        \"whitelist\": [\n                                            null\n                                        ],\n                                        \"blacklist\": [\n                                            null\n                                        ]\n                                    }\n                                },\n                                \"locationCodes\": [\n                                    \"domestic\"\n                                ]\n                            }\n                        }\n                    ]\n                }\n            }\n        }\n    ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://api.stage.cal-platform.com/payment-account-policies/api/Policies/UpsertPolicies"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n  \"statusDescription\": \"Success\",\n  \"statusCode\": 200,\n  \"sessionId\": \"string\",\n  \"httpStatus\": 0,\n  \"result\": {\n    \"policies\": [\n      {\n        \"id\": \"string\",\n        \"organizationId\": \"string\",\n        \"relatedEntityId\": \"string\",\n        \"relatedEntityType\": \"issuer\",\n        \"data\": {\n          \"merchant\": {\n            \"enabled\": true,\n            \"posGroups\": {\n              \"whitelist\": [\n                null\n              ],\n              \"blacklist\": [\n                null\n              ]\n            },\n            \"merchantGroups\": {\n              \"whitelist\": [\n                null\n              ],\n              \"blacklist\": [\n                null\n              ]\n            },\n            \"mccGroups\": {\n              \"whitelist\": [\n                null\n              ],\n              \"blacklist\": [\n                null\n              ]\n            },\n            \"country\": {\n              \"whitelist\": [\n                null\n              ],\n              \"blacklist\": [\n                null\n              ]\n            }\n          },\n          \"currency\": {\n            \"enabled\": true,\n            \"whitelist\": [\n              null\n            ],\n            \"blacklist\": [\n              null\n            ]\n          },\n          \"amount\": {\n            \"enabled\": true,\n            \"items\": [\n              {\n                \"minimum\": 0,\n                \"maximum\": 0,\n                \"currency\": 0,\n                \"transactionTypes\": [\n                  \"regular\"\n                ],\n                \"merchant\": {\n                  \"posGroups\": {\n                    \"whitelist\": [\n                      null\n                    ],\n                    \"blacklist\": [\n                      null\n                    ]\n                  },\n                  \"merchantGroups\": {\n                    \"whitelist\": [\n                      null\n                    ],\n                    \"blacklist\": [\n                      null\n                    ]\n                  },\n                  \"mccGroups\": {\n                    \"whitelist\": [\n                      null\n                    ],\n                    \"blacklist\": [\n                      null\n                    ]\n                  },\n                  \"country\": {\n                    \"whitelist\": [\n                      null\n                    ],\n                    \"blacklist\": [\n                      null\n                    ]\n                  }\n                },\n                \"locationCodes\": [\n                  \"domestic\"\n                ]\n              }\n            ]\n          },\n          \"transactionType\": {\n            \"enabled\": true,\n            \"whitelist\": [\n              null\n            ],\n            \"blacklist\": [\n              null\n            ]\n          },\n          \"recurringPayments\": {\n            \"enabled\": true,\n            \"isAllowedRecurringPayments\": true,\n            \"isAllowedNonRecurringPayments\": true\n          },\n          \"j5\": {\n            \"enabled\": true,\n            \"isAllowedJ5\": true,\n            \"amount\": {\n              \"enabled\": true,\n              \"items\": [\n                {\n                  \"minimum\": 0,\n                  \"maximum\": 0,\n                  \"currency\": 0,\n                  \"transactionTypes\": [\n                    \"regular\"\n                  ],\n                  \"merchant\": {\n                    \"posGroups\": {\n                      \"whitelist\": [\n                        null\n                      ],\n                      \"blacklist\": [\n                        null\n                      ]\n                    },\n                    \"merchantGroups\": {\n                      \"whitelist\": [\n                        null\n                      ],\n                      \"blacklist\": [\n                        null\n                      ]\n                    },\n                    \"mccGroups\": {\n                      \"whitelist\": [\n                        null\n                      ],\n                      \"blacklist\": [\n                        null\n                      ]\n                    },\n                    \"country\": {\n                      \"whitelist\": [\n                        null\n                      ],\n                      \"blacklist\": [\n                        null\n                      ]\n                    }\n                  },\n                  \"locationCodes\": [\n                    \"domestic\"\n                  ]\n                }\n              ]\n            },\n            \"merchant\": {\n              \"posGroups\": {\n                \"whitelist\": [\n                  null\n                ],\n                \"blacklist\": [\n                  null\n                ]\n              },\n              \"merchantGroups\": {\n                \"whitelist\": [\n                  null\n                ],\n                \"blacklist\": [\n                  null\n                ]\n              },\n              \"mccGroups\": {\n                \"whitelist\": [\n                  null\n                ],\n                \"blacklist\": [\n                  null\n                ]\n              },\n              \"country\": {\n                \"whitelist\": [\n                  null\n                ],\n                \"blacklist\": [\n                  null\n                ]\n              }\n            }\n          },\n          \"purchaseMethod\": {\n            \"enabled\": true,\n            \"whitelist\": [\n              null\n            ],\n            \"blacklist\": [\n              null\n            ]\n          },\n          \"locationCode\": {\n            \"enabled\": true,\n            \"whitelist\": [\n              null\n            ],\n            \"blacklist\": [\n              null\n            ]\n          },\n          \"timeFrame\": {\n            \"enabled\": true,\n            \"daysOfWeek\": {\n              \"whitelist\": [\n                null\n              ],\n              \"blacklist\": [\n                null\n              ]\n            },\n            \"time\": [\n              {\n                \"from\": {\n                  \"hours\": 0,\n                  \"minutes\": 0\n                },\n                \"to\": {\n                  \"hours\": 0,\n                  \"minutes\": 0\n                }\n              }\n            ]\n          },\n          \"aggregated\": {\n            \"enabled\": true,\n            \"items\": [\n              {\n                \"filter\": {\n                  \"timeFrame\": {\n                    \"hourly\": {\n                      \"from\": {\n                        \"hours\": 0,\n                        \"minutes\": 0\n                      },\n                      \"to\": {\n                        \"hours\": 0,\n                        \"minutes\": 0\n                      }\n                    },\n                    \"monthly\": {\n                      \"fromDayOfMonth\": 0,\n                      \"toDayOfMonth\": 0\n                    },\n                    \"weekly\": {\n                      \"fromDayOfWeek\": 0,\n                      \"toDayOfWeek\": 0\n                    },\n                    \"priorDuration\": {\n                      \"hours\": 0,\n                      \"minutes\": 0\n                    }\n                  },\n                  \"currencies\": [\n                    null\n                  ],\n                  \"transactionTypes\": [\n                    \"regular\"\n                  ],\n                  \"locationCodes\": [\n                    \"domestic\"\n                  ],\n                  \"purchaseMethods\": [\n                    \"internet\"\n                  ],\n                  \"recurringPayments\": true,\n                  \"isJ5\": true,\n                  \"merchant\": {\n                    \"posGroups\": {\n                      \"whitelist\": [\n                        null\n                      ],\n                      \"blacklist\": [\n                        null\n                      ]\n                    },\n                    \"merchantGroups\": {\n                      \"whitelist\": [\n                        null\n                      ],\n                      \"blacklist\": [\n                        null\n                      ]\n                    },\n                    \"mccGroups\": {\n                      \"whitelist\": [\n                        null\n                      ],\n                      \"blacklist\": [\n                        null\n                      ]\n                    },\n                    \"country\": {\n                      \"whitelist\": [\n                        null\n                      ],\n                      \"blacklist\": [\n                        null\n                      ]\n                    }\n                  },\n                  \"spendAccountCodes\": [\n                    null\n                  ]\n                },\n                \"isLifetime\": true,\n                \"aggregation\": {\n                  \"entity\": \"paymentDevice\",\n                  \"type\": \"count\"\n                },\n                \"valueRange\": {\n                  \"minimum\": 0,\n                  \"maximum\": 0,\n                  \"currency\": 0,\n                  \"transactionTypes\": [\n                    \"regular\"\n                  ],\n                  \"merchant\": {\n                    \"posGroups\": {\n                      \"whitelist\": [\n                        null\n                      ],\n                      \"blacklist\": [\n                        null\n                      ]\n                    },\n                    \"merchantGroups\": {\n                      \"whitelist\": [\n                        null\n                      ],\n                      \"blacklist\": [\n                        null\n                      ]\n                    },\n                    \"mccGroups\": {\n                      \"whitelist\": [\n                        null\n                      ],\n                      \"blacklist\": [\n                        null\n                      ]\n                    },\n                    \"country\": {\n                      \"whitelist\": [\n                        null\n                      ],\n                      \"blacklist\": [\n                        null\n                      ]\n                    }\n                  },\n                  \"locationCodes\": [\n                    \"domestic\"\n                  ]\n                }\n              }\n            ]\n          }\n        }\n      }\n    ]\n  }\n}"}],"_postman_id":"f8c1a47d-0410-4aab-92b5-4f23d613be9f"},{"name":"DeletePolicies","id":"28250f54-1002-468d-9e8d-5574cd255d66","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"},{"key":"X-Organization-Id","value":"{{OrganizationId}}"}],"body":{"mode":"raw","raw":"{\n    \"ids\": [\n        \"string\"\n    ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://api.stage.cal-platform.com/payment-account-policies/api/Policies/DeletePolicies","description":"<p>Deletes one or more policies by their IDs.</p>\n<hr />\n<h3 id=\"request-parameters\">Request Parameters</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field Name</th>\n<th>Required/Optional</th>\n<th>Type</th>\n<th>Description</th>\n<th>Example</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>ids</code></td>\n<td>Required</td>\n<td>String[]</td>\n<td>Array of policy IDs to delete</td>\n<td><code>[\"pol-001\", \"pol-002\"]</code></td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"response-fields\">Response Fields</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>ids</code></td>\n<td>array</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["payment-account-policies","api","Policies","DeletePolicies"],"host":["api","stage","cal-platform","com"],"query":[],"variable":[]}},"response":[{"id":"14f8c3df-a144-44c5-986b-ba3f441ebff0","name":"DeletePolicies","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"","type":"text"},{"key":"x-organization-id","value":"","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"ids\": [\n        \"string\"\n    ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://api.stage.cal-platform.com/payment-account-policies/api/Policies/DeletePolicies"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"statusDescription\": \"Success\",\n    \"statusCode\": 200,\n    \"sessionId\": \"string\",\n    \"httpStatus\": 0,\n    \"result\": {\n        \"ids\": [\n            \"string\"\n        ]\n    }\n}"}],"_postman_id":"28250f54-1002-468d-9e8d-5574cd255d66"},{"name":"GetPartnerPolicy","id":"a9864d4d-6ed4-4fe1-b4c2-c1f3fb9cc88e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"}],"url":"https://api.stage.cal-platform.com/payment-account-policies/api/Policies/GetPartnerPolicy","description":"<p>Retrieves the policy assigned at the partner level. The partner policy applies as a base set of spending rules that all organizations under the partner inherit unless overridden by organization-level policies.</p>\n<hr />\n<h3 id=\"request-parameters\">Request Parameters</h3>\n<p>No request parameters — the partner is identified from the authorization token context.</p>\n<hr />\n<h3 id=\"response-fields\">Response Fields</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>policy</code></td>\n<td>object</td>\n</tr>\n<tr>\n<td><code>policy.id</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>policy.organizationId</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>policy.relatedEntityId</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>policy.relatedEntityType</code></td>\n<td><code>issuer</code><br /><code>partner</code><br /><code>organization</code><br /><code>initiative</code><br /><code>paymentDevice</code><br /><code>customer</code><br /><code>pocket</code><br /><code>paymentDeviceProfile</code><br /><code>creditLine</code><br /><code>pocketBalanceSchedule</code><br /><code>ledger</code><br /><code>budget</code><br /><code>card</code><br /><code>mccGroup</code><br /><code>merchantGroup</code><br /><code>posGroup</code><br /><code>receipt</code><br /><code>spendAccount</code><br /><code>policy</code><br /><code>pendingPocket</code><br /><code>pocketRelatedParty</code></td>\n</tr>\n<tr>\n<td><code>policy.data</code></td>\n<td>object</td>\n</tr>\n<tr>\n<td><code>policy.data.merchant</code></td>\n<td>object</td>\n</tr>\n<tr>\n<td><code>policy.data.merchant.enabled</code></td>\n<td>boolean</td>\n</tr>\n<tr>\n<td><code>policy.data.merchant.posGroups</code></td>\n<td>object</td>\n</tr>\n<tr>\n<td><code>policy.data.merchant.posGroups.whitelist</code></td>\n<td>array</td>\n</tr>\n<tr>\n<td><code>policy.data.merchant.posGroups.blacklist</code></td>\n<td>array</td>\n</tr>\n<tr>\n<td><code>policy.data.merchant.merchantGroups</code></td>\n<td>object</td>\n</tr>\n<tr>\n<td><code>policy.data.merchant.merchantGroups.whitelist</code></td>\n<td>array</td>\n</tr>\n<tr>\n<td><code>policy.data.merchant.merchantGroups.blacklist</code></td>\n<td>array</td>\n</tr>\n<tr>\n<td><code>policy.data.merchant.mccGroups</code></td>\n<td>object</td>\n</tr>\n<tr>\n<td><code>policy.data.merchant.mccGroups.whitelist</code></td>\n<td>array</td>\n</tr>\n<tr>\n<td><code>policy.data.merchant.mccGroups.blacklist</code></td>\n<td>array</td>\n</tr>\n<tr>\n<td><code>policy.data.merchant.country</code></td>\n<td>object</td>\n</tr>\n<tr>\n<td><code>policy.data.merchant.country.whitelist</code></td>\n<td>array</td>\n</tr>\n<tr>\n<td><code>policy.data.merchant.country.blacklist</code></td>\n<td>array</td>\n</tr>\n<tr>\n<td><code>policy.data.currency</code></td>\n<td>object</td>\n</tr>\n<tr>\n<td><code>policy.data.currency.enabled</code></td>\n<td>boolean</td>\n</tr>\n<tr>\n<td><code>policy.data.currency.whitelist</code></td>\n<td>array</td>\n</tr>\n<tr>\n<td><code>policy.data.currency.blacklist</code></td>\n<td>array</td>\n</tr>\n<tr>\n<td><code>policy.data.amount</code></td>\n<td>object</td>\n</tr>\n<tr>\n<td><code>policy.data.amount.enabled</code></td>\n<td>boolean</td>\n</tr>\n<tr>\n<td><code>policy.data.amount.items</code></td>\n<td>array</td>\n</tr>\n<tr>\n<td><code>policy.data.amount.items[].minimum</code></td>\n<td>number</td>\n</tr>\n<tr>\n<td><code>policy.data.amount.items[].maximum</code></td>\n<td>number</td>\n</tr>\n<tr>\n<td><code>policy.data.amount.items[].currency</code></td>\n<td>number</td>\n</tr>\n<tr>\n<td><code>policy.data.amount.items[].transactionTypes</code></td>\n<td>array</td>\n</tr>\n<tr>\n<td><code>policy.data.amount.items[].merchant</code></td>\n<td>object</td>\n</tr>\n<tr>\n<td><code>policy.data.amount.items[].merchant.posGroups</code></td>\n<td>object</td>\n</tr>\n<tr>\n<td><code>policy.data.amount.items[].merchant.posGroups.whitelist</code></td>\n<td>array</td>\n</tr>\n<tr>\n<td><code>policy.data.amount.items[].merchant.posGroups.blacklist</code></td>\n<td>array</td>\n</tr>\n<tr>\n<td><code>policy.data.amount.items[].merchant.merchantGroups</code></td>\n<td>object</td>\n</tr>\n<tr>\n<td><code>policy.data.amount.items[].merchant.merchantGroups.whitelist</code></td>\n<td>array</td>\n</tr>\n<tr>\n<td><code>policy.data.amount.items[].merchant.merchantGroups.blacklist</code></td>\n<td>array</td>\n</tr>\n<tr>\n<td><code>policy.data.amount.items[].merchant.mccGroups</code></td>\n<td>object</td>\n</tr>\n<tr>\n<td><code>policy.data.amount.items[].merchant.mccGroups.whitelist</code></td>\n<td>array</td>\n</tr>\n<tr>\n<td><code>policy.data.amount.items[].merchant.mccGroups.blacklist</code></td>\n<td>array</td>\n</tr>\n<tr>\n<td><code>policy.data.amount.items[].merchant.country</code></td>\n<td>object</td>\n</tr>\n<tr>\n<td><code>policy.data.amount.items[].merchant.country.whitelist</code></td>\n<td>array</td>\n</tr>\n<tr>\n<td><code>policy.data.amount.items[].merchant.country.blacklist</code></td>\n<td>array</td>\n</tr>\n<tr>\n<td><code>policy.data.amount.items[].locationCodes</code></td>\n<td>array</td>\n</tr>\n<tr>\n<td><code>policy.data.transactionType</code></td>\n<td>object</td>\n</tr>\n<tr>\n<td><code>policy.data.transactionType.enabled</code></td>\n<td>boolean</td>\n</tr>\n<tr>\n<td><code>policy.data.transactionType.whitelist</code></td>\n<td>array</td>\n</tr>\n<tr>\n<td><code>policy.data.transactionType.blacklist</code></td>\n<td>array</td>\n</tr>\n<tr>\n<td><code>policy.data.recurringPayments</code></td>\n<td>object</td>\n</tr>\n<tr>\n<td><code>policy.data.recurringPayments.enabled</code></td>\n<td>boolean</td>\n</tr>\n<tr>\n<td><code>policy.data.recurringPayments.isAllowedRecurringPayments</code></td>\n<td>boolean</td>\n</tr>\n<tr>\n<td><code>policy.data.recurringPayments.isAllowedNonRecurringPayments</code></td>\n<td>boolean</td>\n</tr>\n<tr>\n<td><code>policy.data.j5</code></td>\n<td>object</td>\n</tr>\n<tr>\n<td><code>policy.data.j5.enabled</code></td>\n<td>boolean</td>\n</tr>\n<tr>\n<td><code>policy.data.j5.isAllowedJ5</code></td>\n<td>boolean</td>\n</tr>\n<tr>\n<td><code>policy.data.j5.amount</code></td>\n<td>object</td>\n</tr>\n<tr>\n<td><code>policy.data.j5.amount.enabled</code></td>\n<td>boolean</td>\n</tr>\n<tr>\n<td><code>policy.data.j5.amount.items</code></td>\n<td>array</td>\n</tr>\n<tr>\n<td><code>policy.data.j5.amount.items[].minimum</code></td>\n<td>number</td>\n</tr>\n<tr>\n<td><code>policy.data.j5.amount.items[].maximum</code></td>\n<td>number</td>\n</tr>\n<tr>\n<td><code>policy.data.j5.amount.items[].currency</code></td>\n<td>number</td>\n</tr>\n<tr>\n<td><code>policy.data.j5.amount.items[].transactionTypes</code></td>\n<td>array</td>\n</tr>\n<tr>\n<td><code>policy.data.j5.amount.items[].merchant</code></td>\n<td>object</td>\n</tr>\n<tr>\n<td><code>policy.data.j5.amount.items[].merchant.posGroups</code></td>\n<td>object</td>\n</tr>\n<tr>\n<td><code>policy.data.j5.amount.items[].merchant.posGroups.whitelist</code></td>\n<td>array</td>\n</tr>\n<tr>\n<td><code>policy.data.j5.amount.items[].merchant.posGroups.blacklist</code></td>\n<td>array</td>\n</tr>\n<tr>\n<td><code>policy.data.j5.amount.items[].merchant.merchantGroups</code></td>\n<td>object</td>\n</tr>\n<tr>\n<td><code>policy.data.j5.amount.items[].merchant.merchantGroups.whitelist</code></td>\n<td>array</td>\n</tr>\n<tr>\n<td><code>policy.data.j5.amount.items[].merchant.merchantGroups.blacklist</code></td>\n<td>array</td>\n</tr>\n<tr>\n<td><code>policy.data.j5.amount.items[].merchant.mccGroups</code></td>\n<td>object</td>\n</tr>\n<tr>\n<td><code>policy.data.j5.amount.items[].merchant.mccGroups.whitelist</code></td>\n<td>array</td>\n</tr>\n<tr>\n<td><code>policy.data.j5.amount.items[].merchant.mccGroups.blacklist</code></td>\n<td>array</td>\n</tr>\n<tr>\n<td><code>policy.data.j5.amount.items[].merchant.country</code></td>\n<td>object</td>\n</tr>\n<tr>\n<td><code>policy.data.j5.amount.items[].merchant.country.whitelist</code></td>\n<td>array</td>\n</tr>\n<tr>\n<td><code>policy.data.j5.amount.items[].merchant.country.blacklist</code></td>\n<td>array</td>\n</tr>\n<tr>\n<td><code>policy.data.j5.amount.items[].locationCodes</code></td>\n<td>array</td>\n</tr>\n<tr>\n<td><code>policy.data.j5.merchant</code></td>\n<td>object</td>\n</tr>\n<tr>\n<td><code>policy.data.j5.merchant.posGroups</code></td>\n<td>object</td>\n</tr>\n<tr>\n<td><code>policy.data.j5.merchant.posGroups.whitelist</code></td>\n<td>array</td>\n</tr>\n<tr>\n<td><code>policy.data.j5.merchant.posGroups.blacklist</code></td>\n<td>array</td>\n</tr>\n<tr>\n<td><code>policy.data.j5.merchant.merchantGroups</code></td>\n<td>object</td>\n</tr>\n<tr>\n<td><code>policy.data.j5.merchant.merchantGroups.whitelist</code></td>\n<td>array</td>\n</tr>\n<tr>\n<td><code>policy.data.j5.merchant.merchantGroups.blacklist</code></td>\n<td>array</td>\n</tr>\n<tr>\n<td><code>policy.data.j5.merchant.mccGroups</code></td>\n<td>object</td>\n</tr>\n<tr>\n<td><code>policy.data.j5.merchant.mccGroups.whitelist</code></td>\n<td>array</td>\n</tr>\n<tr>\n<td><code>policy.data.j5.merchant.mccGroups.blacklist</code></td>\n<td>array</td>\n</tr>\n<tr>\n<td><code>policy.data.j5.merchant.country</code></td>\n<td>object</td>\n</tr>\n<tr>\n<td><code>policy.data.j5.merchant.country.whitelist</code></td>\n<td>array</td>\n</tr>\n<tr>\n<td><code>policy.data.j5.merchant.country.blacklist</code></td>\n<td>array</td>\n</tr>\n<tr>\n<td><code>policy.data.purchaseMethod</code></td>\n<td>object</td>\n</tr>\n<tr>\n<td><code>policy.data.purchaseMethod.enabled</code></td>\n<td>boolean</td>\n</tr>\n<tr>\n<td><code>policy.data.purchaseMethod.whitelist</code></td>\n<td>array</td>\n</tr>\n<tr>\n<td><code>policy.data.purchaseMethod.blacklist</code></td>\n<td>array</td>\n</tr>\n<tr>\n<td><code>policy.data.locationCode</code></td>\n<td>object</td>\n</tr>\n<tr>\n<td><code>policy.data.locationCode.enabled</code></td>\n<td>boolean</td>\n</tr>\n<tr>\n<td><code>policy.data.locationCode.whitelist</code></td>\n<td>array</td>\n</tr>\n<tr>\n<td><code>policy.data.locationCode.blacklist</code></td>\n<td>array</td>\n</tr>\n<tr>\n<td><code>policy.data.timeFrame</code></td>\n<td>object</td>\n</tr>\n<tr>\n<td><code>policy.data.timeFrame.enabled</code></td>\n<td>boolean</td>\n</tr>\n<tr>\n<td><code>policy.data.timeFrame.daysOfWeek</code></td>\n<td>object</td>\n</tr>\n<tr>\n<td><code>policy.data.timeFrame.daysOfWeek.whitelist</code></td>\n<td>array</td>\n</tr>\n<tr>\n<td><code>policy.data.timeFrame.daysOfWeek.blacklist</code></td>\n<td>array</td>\n</tr>\n<tr>\n<td><code>policy.data.timeFrame.time</code></td>\n<td>array</td>\n</tr>\n<tr>\n<td><code>policy.data.timeFrame.time[].from</code></td>\n<td>object</td>\n</tr>\n<tr>\n<td><code>policy.data.timeFrame.time[].from.hours</code></td>\n<td>number</td>\n</tr>\n<tr>\n<td><code>policy.data.timeFrame.time[].from.minutes</code></td>\n<td>number</td>\n</tr>\n<tr>\n<td><code>policy.data.timeFrame.time[].to</code></td>\n<td>object</td>\n</tr>\n<tr>\n<td><code>policy.data.timeFrame.time[].to.hours</code></td>\n<td>number</td>\n</tr>\n<tr>\n<td><code>policy.data.timeFrame.time[].to.minutes</code></td>\n<td>number</td>\n</tr>\n<tr>\n<td><code>policy.data.aggregated</code></td>\n<td>object</td>\n</tr>\n<tr>\n<td><code>policy.data.aggregated.enabled</code></td>\n<td>boolean</td>\n</tr>\n<tr>\n<td><code>policy.data.aggregated.items</code></td>\n<td>array</td>\n</tr>\n<tr>\n<td><code>policy.data.aggregated.items[].filter</code></td>\n<td>object</td>\n</tr>\n<tr>\n<td><code>policy.data.aggregated.items[].filter.timeFrame</code></td>\n<td>object</td>\n</tr>\n<tr>\n<td><code>policy.data.aggregated.items[].filter.timeFrame.hourly</code></td>\n<td>object</td>\n</tr>\n<tr>\n<td><code>policy.data.aggregated.items[].filter.timeFrame.hourly.from</code></td>\n<td>object</td>\n</tr>\n<tr>\n<td><code>policy.data.aggregated.items[].filter.timeFrame.hourly.from.hours</code></td>\n<td>number</td>\n</tr>\n<tr>\n<td><code>policy.data.aggregated.items[].filter.timeFrame.hourly.from.minutes</code></td>\n<td>number</td>\n</tr>\n<tr>\n<td><code>policy.data.aggregated.items[].filter.timeFrame.hourly.to</code></td>\n<td>object</td>\n</tr>\n<tr>\n<td><code>policy.data.aggregated.items[].filter.timeFrame.hourly.to.hours</code></td>\n<td>number</td>\n</tr>\n<tr>\n<td><code>policy.data.aggregated.items[].filter.timeFrame.hourly.to.minutes</code></td>\n<td>number</td>\n</tr>\n<tr>\n<td><code>policy.data.aggregated.items[].filter.timeFrame.monthly</code></td>\n<td>object</td>\n</tr>\n<tr>\n<td><code>policy.data.aggregated.items[].filter.timeFrame.monthly.fromDayOfMonth</code></td>\n<td>number</td>\n</tr>\n<tr>\n<td><code>policy.data.aggregated.items[].filter.timeFrame.monthly.toDayOfMonth</code></td>\n<td>number</td>\n</tr>\n<tr>\n<td><code>policy.data.aggregated.items[].filter.timeFrame.weekly</code></td>\n<td>object</td>\n</tr>\n<tr>\n<td><code>policy.data.aggregated.items[].filter.timeFrame.weekly.fromDayOfWeek</code></td>\n<td>number</td>\n</tr>\n<tr>\n<td><code>policy.data.aggregated.items[].filter.timeFrame.weekly.toDayOfWeek</code></td>\n<td>number</td>\n</tr>\n<tr>\n<td><code>policy.data.aggregated.items[].filter.timeFrame.priorDuration</code></td>\n<td>object</td>\n</tr>\n<tr>\n<td><code>policy.data.aggregated.items[].filter.timeFrame.priorDuration.hours</code></td>\n<td>number</td>\n</tr>\n<tr>\n<td><code>policy.data.aggregated.items[].filter.timeFrame.priorDuration.minutes</code></td>\n<td>number</td>\n</tr>\n<tr>\n<td><code>policy.data.aggregated.items[].filter.currencies</code></td>\n<td>array</td>\n</tr>\n<tr>\n<td><code>policy.data.aggregated.items[].filter.transactionTypes</code></td>\n<td>array</td>\n</tr>\n<tr>\n<td><code>policy.data.aggregated.items[].filter.locationCodes</code></td>\n<td>array</td>\n</tr>\n<tr>\n<td><code>policy.data.aggregated.items[].filter.purchaseMethods</code></td>\n<td>array</td>\n</tr>\n<tr>\n<td><code>policy.data.aggregated.items[].filter.recurringPayments</code></td>\n<td>boolean</td>\n</tr>\n<tr>\n<td><code>policy.data.aggregated.items[].filter.isJ5</code></td>\n<td>boolean</td>\n</tr>\n<tr>\n<td><code>policy.data.aggregated.items[].filter.merchant</code></td>\n<td>object</td>\n</tr>\n<tr>\n<td><code>policy.data.aggregated.items[].filter.merchant.posGroups</code></td>\n<td>object</td>\n</tr>\n<tr>\n<td><code>policy.data.aggregated.items[].filter.merchant.posGroups.whitelist</code></td>\n<td>array</td>\n</tr>\n<tr>\n<td><code>policy.data.aggregated.items[].filter.merchant.posGroups.blacklist</code></td>\n<td>array</td>\n</tr>\n<tr>\n<td><code>policy.data.aggregated.items[].filter.merchant.merchantGroups</code></td>\n<td>object</td>\n</tr>\n<tr>\n<td><code>policy.data.aggregated.items[].filter.merchant.merchantGroups.whitelist</code></td>\n<td>array</td>\n</tr>\n<tr>\n<td><code>policy.data.aggregated.items[].filter.merchant.merchantGroups.blacklist</code></td>\n<td>array</td>\n</tr>\n<tr>\n<td><code>policy.data.aggregated.items[].filter.merchant.mccGroups</code></td>\n<td>object</td>\n</tr>\n<tr>\n<td><code>policy.data.aggregated.items[].filter.merchant.mccGroups.whitelist</code></td>\n<td>array</td>\n</tr>\n<tr>\n<td><code>policy.data.aggregated.items[].filter.merchant.mccGroups.blacklist</code></td>\n<td>array</td>\n</tr>\n<tr>\n<td><code>policy.data.aggregated.items[].filter.merchant.country</code></td>\n<td>object</td>\n</tr>\n<tr>\n<td><code>policy.data.aggregated.items[].filter.merchant.country.whitelist</code></td>\n<td>array</td>\n</tr>\n<tr>\n<td><code>policy.data.aggregated.items[].filter.merchant.country.blacklist</code></td>\n<td>array</td>\n</tr>\n<tr>\n<td><code>policy.data.aggregated.items[].filter.spendAccountCodes</code></td>\n<td>array</td>\n</tr>\n<tr>\n<td><code>policy.data.aggregated.items[].isLifetime</code></td>\n<td>boolean</td>\n</tr>\n<tr>\n<td><code>policy.data.aggregated.items[].aggregation</code></td>\n<td>object</td>\n</tr>\n<tr>\n<td><code>policy.data.aggregated.items[].aggregation.entity</code></td>\n<td><code>paymentDevice</code><br /><code>pocket</code></td>\n</tr>\n<tr>\n<td><code>policy.data.aggregated.items[].aggregation.type</code></td>\n<td><code>count</code><br /><code>authorizedAmount</code></td>\n</tr>\n<tr>\n<td><code>policy.data.aggregated.items[].valueRange</code></td>\n<td>object</td>\n</tr>\n<tr>\n<td><code>policy.data.aggregated.items[].valueRange.minimum</code></td>\n<td>number</td>\n</tr>\n<tr>\n<td><code>policy.data.aggregated.items[].valueRange.maximum</code></td>\n<td>number</td>\n</tr>\n<tr>\n<td><code>policy.data.aggregated.items[].valueRange.currency</code></td>\n<td>number</td>\n</tr>\n<tr>\n<td><code>policy.data.aggregated.items[].valueRange.transactionTypes</code></td>\n<td>array</td>\n</tr>\n<tr>\n<td><code>policy.data.aggregated.items[].valueRange.merchant</code></td>\n<td>object</td>\n</tr>\n<tr>\n<td><code>policy.data.aggregated.items[].valueRange.merchant.posGroups</code></td>\n<td>object</td>\n</tr>\n<tr>\n<td><code>policy.data.aggregated.items[].valueRange.merchant.posGroups.whitelist</code></td>\n<td>array</td>\n</tr>\n<tr>\n<td><code>policy.data.aggregated.items[].valueRange.merchant.posGroups.blacklist</code></td>\n<td>array</td>\n</tr>\n<tr>\n<td><code>policy.data.aggregated.items[].valueRange.merchant.merchantGroups</code></td>\n<td>object</td>\n</tr>\n<tr>\n<td><code>policy.data.aggregated.items[].valueRange.merchant.merchantGroups.whitelist</code></td>\n<td>array</td>\n</tr>\n<tr>\n<td><code>policy.data.aggregated.items[].valueRange.merchant.merchantGroups.blacklist</code></td>\n<td>array</td>\n</tr>\n<tr>\n<td><code>policy.data.aggregated.items[].valueRange.merchant.mccGroups</code></td>\n<td>object</td>\n</tr>\n<tr>\n<td><code>policy.data.aggregated.items[].valueRange.merchant.mccGroups.whitelist</code></td>\n<td>array</td>\n</tr>\n<tr>\n<td><code>policy.data.aggregated.items[].valueRange.merchant.mccGroups.blacklist</code></td>\n<td>array</td>\n</tr>\n<tr>\n<td><code>policy.data.aggregated.items[].valueRange.merchant.country</code></td>\n<td>object</td>\n</tr>\n<tr>\n<td><code>policy.data.aggregated.items[].valueRange.merchant.country.whitelist</code></td>\n<td>array</td>\n</tr>\n<tr>\n<td><code>policy.data.aggregated.items[].valueRange.merchant.country.blacklist</code></td>\n<td>array</td>\n</tr>\n<tr>\n<td><code>policy.data.aggregated.items[].valueRange.locationCodes</code></td>\n<td>array</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["payment-account-policies","api","Policies","GetPartnerPolicy"],"host":["api","stage","cal-platform","com"],"query":[],"variable":[]}},"response":[{"id":"a11fc83f-d8a1-4aec-9e75-78d5c3ebf219","name":"GetPartnerPolicy","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"","type":"text"}],"url":"https://api.stage.cal-platform.com/payment-account-policies/api/Policies/GetPartnerPolicy"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n  \"statusDescription\": \"Success\",\n  \"statusCode\": 200,\n  \"sessionId\": \"string\",\n  \"httpStatus\": 0,\n  \"result\": {\n    \"policy\": {\n      \"id\": \"string\",\n      \"organizationId\": \"string\",\n      \"relatedEntityId\": \"string\",\n      \"relatedEntityType\": \"issuer\",\n      \"data\": {\n        \"merchant\": {\n          \"enabled\": true,\n          \"posGroups\": {\n            \"whitelist\": [\n              null\n            ],\n            \"blacklist\": [\n              null\n            ]\n          },\n          \"merchantGroups\": {\n            \"whitelist\": [\n              null\n            ],\n            \"blacklist\": [\n              null\n            ]\n          },\n          \"mccGroups\": {\n            \"whitelist\": [\n              null\n            ],\n            \"blacklist\": [\n              null\n            ]\n          },\n          \"country\": {\n            \"whitelist\": [\n              null\n            ],\n            \"blacklist\": [\n              null\n            ]\n          }\n        },\n        \"currency\": {\n          \"enabled\": true,\n          \"whitelist\": [\n            null\n          ],\n          \"blacklist\": [\n            null\n          ]\n        },\n        \"amount\": {\n          \"enabled\": true,\n          \"items\": [\n            {\n              \"minimum\": 0,\n              \"maximum\": 0,\n              \"currency\": 0,\n              \"transactionTypes\": [\n                \"regular\"\n              ],\n              \"merchant\": {\n                \"posGroups\": {\n                  \"whitelist\": [\n                    null\n                  ],\n                  \"blacklist\": [\n                    null\n                  ]\n                },\n                \"merchantGroups\": {\n                  \"whitelist\": [\n                    null\n                  ],\n                  \"blacklist\": [\n                    null\n                  ]\n                },\n                \"mccGroups\": {\n                  \"whitelist\": [\n                    null\n                  ],\n                  \"blacklist\": [\n                    null\n                  ]\n                },\n                \"country\": {\n                  \"whitelist\": [\n                    null\n                  ],\n                  \"blacklist\": [\n                    null\n                  ]\n                }\n              },\n              \"locationCodes\": [\n                \"domestic\"\n              ]\n            }\n          ]\n        },\n        \"transactionType\": {\n          \"enabled\": true,\n          \"whitelist\": [\n            null\n          ],\n          \"blacklist\": [\n            null\n          ]\n        },\n        \"recurringPayments\": {\n          \"enabled\": true,\n          \"isAllowedRecurringPayments\": true,\n          \"isAllowedNonRecurringPayments\": true\n        },\n        \"j5\": {\n          \"enabled\": true,\n          \"isAllowedJ5\": true,\n          \"amount\": {\n            \"enabled\": true,\n            \"items\": [\n              {\n                \"minimum\": 0,\n                \"maximum\": 0,\n                \"currency\": 0,\n                \"transactionTypes\": [\n                  \"regular\"\n                ],\n                \"merchant\": {\n                  \"posGroups\": {\n                    \"whitelist\": [\n                      null\n                    ],\n                    \"blacklist\": [\n                      null\n                    ]\n                  },\n                  \"merchantGroups\": {\n                    \"whitelist\": [\n                      null\n                    ],\n                    \"blacklist\": [\n                      null\n                    ]\n                  },\n                  \"mccGroups\": {\n                    \"whitelist\": [\n                      null\n                    ],\n                    \"blacklist\": [\n                      null\n                    ]\n                  },\n                  \"country\": {\n                    \"whitelist\": [\n                      null\n                    ],\n                    \"blacklist\": [\n                      null\n                    ]\n                  }\n                },\n                \"locationCodes\": [\n                  \"domestic\"\n                ]\n              }\n            ]\n          },\n          \"merchant\": {\n            \"posGroups\": {\n              \"whitelist\": [\n                null\n              ],\n              \"blacklist\": [\n                null\n              ]\n            },\n            \"merchantGroups\": {\n              \"whitelist\": [\n                null\n              ],\n              \"blacklist\": [\n                null\n              ]\n            },\n            \"mccGroups\": {\n              \"whitelist\": [\n                null\n              ],\n              \"blacklist\": [\n                null\n              ]\n            },\n            \"country\": {\n              \"whitelist\": [\n                null\n              ],\n              \"blacklist\": [\n                null\n              ]\n            }\n          }\n        },\n        \"purchaseMethod\": {\n          \"enabled\": true,\n          \"whitelist\": [\n            null\n          ],\n          \"blacklist\": [\n            null\n          ]\n        },\n        \"locationCode\": {\n          \"enabled\": true,\n          \"whitelist\": [\n            null\n          ],\n          \"blacklist\": [\n            null\n          ]\n        },\n        \"timeFrame\": {\n          \"enabled\": true,\n          \"daysOfWeek\": {\n            \"whitelist\": [\n              null\n            ],\n            \"blacklist\": [\n              null\n            ]\n          },\n          \"time\": [\n            {\n              \"from\": {\n                \"hours\": 0,\n                \"minutes\": 0\n              },\n              \"to\": {\n                \"hours\": 0,\n                \"minutes\": 0\n              }\n            }\n          ]\n        },\n        \"aggregated\": {\n          \"enabled\": true,\n          \"items\": [\n            {\n              \"filter\": {\n                \"timeFrame\": {\n                  \"hourly\": {\n                    \"from\": {\n                      \"hours\": 0,\n                      \"minutes\": 0\n                    },\n                    \"to\": {\n                      \"hours\": 0,\n                      \"minutes\": 0\n                    }\n                  },\n                  \"monthly\": {\n                    \"fromDayOfMonth\": 0,\n                    \"toDayOfMonth\": 0\n                  },\n                  \"weekly\": {\n                    \"fromDayOfWeek\": 0,\n                    \"toDayOfWeek\": 0\n                  },\n                  \"priorDuration\": {\n                    \"hours\": 0,\n                    \"minutes\": 0\n                  }\n                },\n                \"currencies\": [\n                  null\n                ],\n                \"transactionTypes\": [\n                  \"regular\"\n                ],\n                \"locationCodes\": [\n                  \"domestic\"\n                ],\n                \"purchaseMethods\": [\n                  \"internet\"\n                ],\n                \"recurringPayments\": true,\n                \"isJ5\": true,\n                \"merchant\": {\n                  \"posGroups\": {\n                    \"whitelist\": [\n                      null\n                    ],\n                    \"blacklist\": [\n                      null\n                    ]\n                  },\n                  \"merchantGroups\": {\n                    \"whitelist\": [\n                      null\n                    ],\n                    \"blacklist\": [\n                      null\n                    ]\n                  },\n                  \"mccGroups\": {\n                    \"whitelist\": [\n                      null\n                    ],\n                    \"blacklist\": [\n                      null\n                    ]\n                  },\n                  \"country\": {\n                    \"whitelist\": [\n                      null\n                    ],\n                    \"blacklist\": [\n                      null\n                    ]\n                  }\n                },\n                \"spendAccountCodes\": [\n                  null\n                ]\n              },\n              \"isLifetime\": true,\n              \"aggregation\": {\n                \"entity\": \"paymentDevice\",\n                \"type\": \"count\"\n              },\n              \"valueRange\": {\n                \"minimum\": 0,\n                \"maximum\": 0,\n                \"currency\": 0,\n                \"transactionTypes\": [\n                  \"regular\"\n                ],\n                \"merchant\": {\n                  \"posGroups\": {\n                    \"whitelist\": [\n                      null\n                    ],\n                    \"blacklist\": [\n                      null\n                    ]\n                  },\n                  \"merchantGroups\": {\n                    \"whitelist\": [\n                      null\n                    ],\n                    \"blacklist\": [\n                      null\n                    ]\n                  },\n                  \"mccGroups\": {\n                    \"whitelist\": [\n                      null\n                    ],\n                    \"blacklist\": [\n                      null\n                    ]\n                  },\n                  \"country\": {\n                    \"whitelist\": [\n                      null\n                    ],\n                    \"blacklist\": [\n                      null\n                    ]\n                  }\n                },\n                \"locationCodes\": [\n                  \"domestic\"\n                ]\n              }\n            }\n          ]\n        }\n      }\n    }\n  }\n}"}],"_postman_id":"a9864d4d-6ed4-4fe1-b4c2-c1f3fb9cc88e"}],"id":"d2fbaff8-51a8-42a0-a07a-9340103d5d4c","_postman_id":"d2fbaff8-51a8-42a0-a07a-9340103d5d4c","description":""}],"id":"d6de0f58-dc62-4141-aa01-362483b42055","_postman_id":"d6de0f58-dc62-4141-aa01-362483b42055","description":""},{"name":"Transactions Api","item":[{"name":"GetTransactions","id":"81e45ced-7a5d-4a40-891a-cb0514c87fa3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"},{"key":"X-Organization-Id","value":"{{OrganizationId}}"}],"body":{"mode":"raw","raw":"{\n    \"pagination\": {\n        \"id\": \"string\",\n        \"createdAt\": \"2026-05-03T13:01:57.098Z\",\n        \"limit\": 0\n    },\n    \"includeTotalCount\": true,\n    \"filter\": {\n        \"from\": \"2026-05-03T13:01:57.099Z\",\n        \"to\": \"2026-05-03T13:01:57.099Z\",\n        \"initiativeIds\": [\n            null\n        ],\n        \"clearanceStatuses\": [\n            \"pending\"\n        ],\n        \"accountTypes\": [\n            \"paymentAccount\"\n        ],\n        \"internalStatuses\": [\n            \"active\"\n        ],\n        \"freeText\": \"string\",\n        \"filterBySpendAccountDebitDate\": true,\n        \"pocketIds\": [\n            null\n        ],\n        \"paymentDeviceIds\": [\n            null\n        ],\n        \"userIds\": [\n            null\n        ],\n        \"merchantName\": \"string\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/payment-account-transactions/api/Transactions/GetTransactions","description":"<p>Returns a paginated list of transactions for a given date range and filter criteria. Supports filtering by clearance status, account type, card status, pocket IDs, payment device IDs, user IDs, merchant name, and free text.</p>\n<h2 id=\"request-parameters\">Request Parameters</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Type</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>pagination.id</code></td>\n<td>string</td>\n<td>Optional</td>\n<td>Cursor ID from the previous response</td>\n</tr>\n<tr>\n<td><code>pagination.createdAt</code></td>\n<td>Date</td>\n<td>Optional</td>\n<td>Timestamp from the previous response</td>\n</tr>\n<tr>\n<td><code>pagination.limit</code></td>\n<td>number</td>\n<td>Optional</td>\n<td>Number of items per page</td>\n</tr>\n<tr>\n<td><code>includeTotalCount</code></td>\n<td>boolean</td>\n<td>Optional</td>\n<td>If true, the response includes <code>totalCount</code> — the unbounded number of matching transactions, ignoring pagination</td>\n</tr>\n<tr>\n<td><code>filter.from</code></td>\n<td>Date</td>\n<td>Required</td>\n<td>Start of the date range</td>\n</tr>\n<tr>\n<td><code>filter.to</code></td>\n<td>Date</td>\n<td>Required</td>\n<td>End of the date range</td>\n</tr>\n<tr>\n<td><code>filter.initiativeIds</code></td>\n<td>string[]</td>\n<td>Optional</td>\n<td>Filter by initiative IDs</td>\n</tr>\n<tr>\n<td><code>filter.clearanceStatuses</code></td>\n<td>ClearanceStatus[]</td>\n<td>Optional</td>\n<td>Filter by clearance statuses</td>\n</tr>\n<tr>\n<td><code>filter.accountTypes</code></td>\n<td>DebitMethod[]</td>\n<td>Optional</td>\n<td>Filter by account types</td>\n</tr>\n<tr>\n<td><code>filter.internalStatuses</code></td>\n<td>CardStatus[]</td>\n<td>Optional</td>\n<td>Filter by card statuses</td>\n</tr>\n<tr>\n<td><code>filter.freeText</code></td>\n<td>string</td>\n<td>Optional</td>\n<td>Free text search</td>\n</tr>\n<tr>\n<td><code>filter.filterBySpendAccountDebitDate</code></td>\n<td>boolean</td>\n<td>Optional</td>\n<td>Filter by spend account debit date instead of transaction date</td>\n</tr>\n<tr>\n<td><code>filter.pocketIds</code></td>\n<td>string[]</td>\n<td>Optional</td>\n<td>Filter by pocket IDs</td>\n</tr>\n<tr>\n<td><code>filter.paymentDeviceIds</code></td>\n<td>string[]</td>\n<td>Optional</td>\n<td>Filter by payment device IDs</td>\n</tr>\n<tr>\n<td><code>filter.userIds</code></td>\n<td>string[]</td>\n<td>Optional</td>\n<td>Filter by user IDs. Subject to caller scope — see User Scoping below</td>\n</tr>\n<tr>\n<td><code>filter.merchantName</code></td>\n<td>string</td>\n<td>Optional</td>\n<td>Filter by merchant name</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Note:</strong> <code>includeTotalCount</code> is a top-level field, a sibling of <code>pagination</code> — not part of <code>filter</code>.</p>\n<hr />\n<h3 id=\"user-scoping\">User Scoping</h3>\n<ul>\n<li>Unscoped caller (admin / B2B token): the requested <code>userIds</code> are applied as sent; omit them and no user filter is applied.</li>\n<li>User-scoped caller (B2C token): results are limited to the <strong>intersection</strong> of the requested <code>userIds</code> and the token's own users; omit them and the token's own users are used.</li>\n<li>If the intersection is empty, the request is rejected with <code>InsufficientPermissions</code> (status <code>12</code>).</li>\n</ul>\n<hr />\n<h3 id=\"response-fields\">Response Fields</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>items</code></td>\n<td>array</td>\n</tr>\n<tr>\n<td><code>items[].id</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>items[].timestamp</code></td>\n<td>Date</td>\n</tr>\n<tr>\n<td><code>items[].initiativeName</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>items[].pocketId</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>items[].pocketName</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>items[].merchantName</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>items[].clearanceStatus</code></td>\n<td><code>pending</code><br /><code>declined</code><br /><code>posted</code><br /><code>credit</code><br /><code>canceled</code><br /><code>expired</code></td>\n</tr>\n<tr>\n<td><code>items[].transactionAmount</code></td>\n<td>number</td>\n</tr>\n<tr>\n<td><code>items[].transactionCurrency</code></td>\n<td>number (ISO 4217)</td>\n</tr>\n<tr>\n<td><code>items[].customerName</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>items[].paymentDevice</code></td>\n<td>object</td>\n</tr>\n<tr>\n<td><code>items[].paymentDevice.lastFourDigits</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>items[].paymentDevice.expiration</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>items[].paymentDevice.accountType</code></td>\n<td><code>paymentAccount</code><br /><code>hybrid</code><br /><code>bankAccount</code></td>\n</tr>\n<tr>\n<td><code>items[].paymentDevice.internalStatus</code></td>\n<td><code>active</code><br /><code>unactivated</code><br /><code>suspended</code><br /><code>canceled</code></td>\n</tr>\n<tr>\n<td><code>items[].pocketTags</code></td>\n<td>string[]</td>\n</tr>\n<tr>\n<td><code>items[].mcc</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>items[].mccName</code></td>\n<td>string — the MCC description for <code>items[].mcc</code>; omitted when <code>mcc</code> is empty or unrecognized</td>\n</tr>\n<tr>\n<td><code>items[].user</code></td>\n<td>object — the user holding the transaction's payment device; omitted when the payment device has no user, or the user cannot be resolved</td>\n</tr>\n<tr>\n<td><code>items[].user.identifier</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>items[].user.externalId</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>items[].user.passport</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>items[].user.email</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>items[].user.phoneNumber</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>items[].user.driversLicense</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>items[].merchantId</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>items[].pos</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>items[].issuerAuthorizationId</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>items[].issuerTransactionId</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>items[].spendAccountCode</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>items[].merchantCountry</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>items[].isRecurringPayments</code></td>\n<td>boolean</td>\n</tr>\n<tr>\n<td><code>items[].isJ5</code></td>\n<td>boolean</td>\n</tr>\n<tr>\n<td><code>items[].purchaseMethod</code></td>\n<td><code>internet</code><br /><code>phone</code><br /><code>physicalCard</code><br /><code>physicalWallet</code><br /><code>internetWallet</code><br /><code>issuerInternal</code></td>\n</tr>\n<tr>\n<td><code>items[].authorizedAmount</code></td>\n<td>number</td>\n</tr>\n<tr>\n<td><code>items[].pocketDebitAmount</code></td>\n<td>number</td>\n</tr>\n<tr>\n<td><code>items[].pocketBalance</code></td>\n<td>number</td>\n</tr>\n<tr>\n<td><code>items[].pocketAggregatedBalance</code></td>\n<td>number</td>\n</tr>\n<tr>\n<td><code>items[].pocketUsedAmount</code></td>\n<td>number</td>\n</tr>\n<tr>\n<td><code>items[].pocketCurrency</code></td>\n<td>number (ISO 4217)</td>\n</tr>\n<tr>\n<td><code>items[].authorizationDeclineReason</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>items[].spendAccountDebitAmount</code></td>\n<td>number</td>\n</tr>\n<tr>\n<td><code>items[].spendAccountCurrency</code></td>\n<td>number (ISO 4217)</td>\n</tr>\n<tr>\n<td><code>items[].personalCreditLineDebitAmount</code></td>\n<td>number</td>\n</tr>\n<tr>\n<td><code>items[].personalCreditLineDebitCurrency</code></td>\n<td>number (ISO 4217)</td>\n</tr>\n<tr>\n<td><code>items[].hasReceipt</code></td>\n<td>boolean</td>\n</tr>\n<tr>\n<td><code>items[].comment</code></td>\n<td>string — free-text note set via <code>UpdateTransactionComment</code></td>\n</tr>\n<tr>\n<td><code>items[].glCode</code></td>\n<td>string — GL accounting code resolved for the transaction (merchant value → initiative → organization relation, or set via <code>UpdateTransactionGL</code>); omitted when none applies</td>\n</tr>\n<tr>\n<td><code>items[].glName</code></td>\n<td>string — display name of <code>glCode</code></td>\n</tr>\n<tr>\n<td><code>pagination</code></td>\n<td>object</td>\n</tr>\n<tr>\n<td><code>pagination.id</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>pagination.createdAt</code></td>\n<td>Date</td>\n</tr>\n<tr>\n<td><code>totalCount</code></td>\n<td>number — returned only when <code>includeTotalCount</code> is true</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["payment-account-transactions","api","Transactions","GetTransactions"],"host":["api","stage","cal-platform","com"],"query":[],"variable":[]}},"response":[{"id":"449b0c95-c1ea-42c7-9a6e-55e726a15258","name":"GetTransactions","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"},{"key":"X-Organization-Id","value":"{{OrganizationId}}"}],"body":{"mode":"raw","raw":"{\n    \"pagination\": {\n        \"id\": \"string\",\n        \"createdAt\": \"2026-05-03T13:01:57.098Z\",\n        \"limit\": 0\n    },\n    \"filter\": {\n        \"from\": \"2026-05-03T13:01:57.099Z\",\n        \"to\": \"2026-05-03T13:01:57.099Z\",\n        \"initiativeIds\": [\n            null\n        ],\n        \"clearanceStatuses\": [\n            \"pending\"\n        ],\n        \"accountTypes\": [\n            \"paymentAccount\"\n        ],\n        \"internalStatuses\": [\n            \"active\"\n        ],\n        \"freeText\": \"string\",\n        \"filterBySpendAccountDebitDate\": true,\n        \"pocketIds\": [\n            null\n        ],\n        \"paymentDeviceIds\": [\n            null\n        ],\n        \"merchantName\": \"string\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/payment-account-transactions/api/Transactions/GetTransactions"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n  \"statusDescription\": \"string\",\n  \"statusCode\": 0,\n  \"sessionId\": \"string\",\n  \"httpStatus\": 0,\n  \"result\": {\n    \"items\": [\n      {\n        \"id\": \"string\",\n        \"timestamp\": \"2026-05-07T00:00:00.000Z\",\n        \"initiativeName\": \"string\",\n        \"pocketId\": \"string\",\n        \"pocketName\": \"string\",\n        \"merchantName\": \"string\",\n        \"clearanceStatus\": \"string\",\n        \"transactionAmount\": 0,\n        \"transactionCurrency\": 0,\n        \"customerName\": \"string\",\n        \"paymentDevice\": {\n          \"lastFourDigits\": \"string\",\n          \"expiration\": \"string\",\n          \"accountType\": \"string\",\n          \"internalStatus\": \"string\"\n        },\n        \"pocketTags\": [\n          \"string\"\n        ],\n        \"mcc\": \"string\",\n        \"merchantId\": \"string\",\n        \"pos\": \"string\",\n        \"issuerAuthorizationId\": \"string\",\n        \"issuerTransactionId\": \"string\",\n        \"spendAccountCode\": \"string\",\n        \"merchantCountry\": \"string\",\n        \"isRecurringPayments\": true,\n        \"isJ5\": true,\n        \"purchaseMethod\": \"string\",\n        \"authorizedAmount\": 0,\n        \"pocketDebitAmount\": 0,\n        \"pocketBalance\": 0,\n        \"pocketAggregatedBalance\": 0,\n        \"pocketUsedAmount\": 0,\n        \"pocketCurrency\": 0,\n        \"authorizationDeclineReason\": \"string\",\n        \"spendAccountDebitAmount\": 0,\n        \"spendAccountCurrency\": 0,\n        \"hasReceipt\": true\n      }\n    ],\n    \"pagination\": {\n      \"id\": \"string\",\n      \"createdAt\": \"2026-05-07T00:00:00.000Z\"\n    }\n  }\n}"}],"_postman_id":"81e45ced-7a5d-4a40-891a-cb0514c87fa3"},{"name":"GetLedger","id":"f5d86b73-bc5a-466e-a9c7-e2b1208e42c4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"},{"key":"X-Organization-Id","value":"{{OrganizationId}}"}],"body":{"mode":"raw","raw":"{\n    \"pagination\": {\n        \"id\": \"string\",\n        \"createdAt\": \"2026-05-03T13:02:55.710Z\",\n        \"limit\": 0\n    },\n    \"includeTotalCount\": true,\n    \"transactionIds\": [\n        \"string\"\n    ],\n    \"pocketIds\": [\n        \"string\"\n    ],\n    \"issuerPaymentDeviceIds\": [\n        \"string\"\n    ],\n    \"paymentDeviceIds\": [\n        \"string\"\n    ],\n    \"customerIds\": [\n        \"string\"\n    ],\n    \"userIds\": [\n        \"string\"\n    ],\n    \"fromDate\": \"2026-05-03T13:02:55.710Z\",\n    \"toDate\": \"2026-05-03T13:02:55.710Z\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/payment-account-transactions/api/Ledger/GetLedger","description":"<p>Retrieves the ledger (accounting entries) for a pocket or the organization. The ledger contains all credit and debit entries including transactions, balance loads, and adjustments. Supports cursor-based pagination. At least one of <code>transactionIds</code>, <code>pocketIds</code>, <code>issuerPaymentDeviceIds</code>, <code>paymentDeviceIds</code>, <code>customerIds</code>, or the <code>fromDate</code>+<code>toDate</code> pair is required.</p>\n<hr />\n<h3 id=\"request-parameters\">Request Parameters</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field Name</th>\n<th>Required/Optional</th>\n<th>Type</th>\n<th>Description</th>\n<th>Example</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>pagination</code></td>\n<td>Optional</td>\n<td>object</td>\n<td>Cursor pagination</td>\n<td><code>{\"createdAt\": \"2024-01-01T00:00:00Z\", \"limit\": 20}</code></td>\n</tr>\n<tr>\n<td><code>includeTotalCount</code></td>\n<td>Optional</td>\n<td>boolean</td>\n<td>If true, the response includes <code>totalCount</code> — the unbounded number of matching entries, ignoring pagination</td>\n<td><code>true</code></td>\n</tr>\n<tr>\n<td><code>transactionIds</code></td>\n<td>Optional</td>\n<td>string[]</td>\n<td>Filter by transaction IDs</td>\n<td><code>[\"txn-id-1\"]</code></td>\n</tr>\n<tr>\n<td><code>pocketIds</code></td>\n<td>Optional</td>\n<td>string[]</td>\n<td>Filter by pocket IDs</td>\n<td><code>[\"pocket-id-1\"]</code></td>\n</tr>\n<tr>\n<td><code>issuerPaymentDeviceIds</code></td>\n<td>Optional</td>\n<td>string[]</td>\n<td>Filter by issuer payment device IDs</td>\n<td><code>[\"device-id-1\"]</code></td>\n</tr>\n<tr>\n<td><code>paymentDeviceIds</code></td>\n<td>Optional</td>\n<td>string[]</td>\n<td>Filter by payment device IDs</td>\n<td><code>[\"device-id-1\"]</code></td>\n</tr>\n<tr>\n<td><code>customerIds</code></td>\n<td>Optional</td>\n<td>string[]</td>\n<td>Filter by customer IDs</td>\n<td><code>[\"cust-id-1\"]</code></td>\n</tr>\n<tr>\n<td><code>userIds</code></td>\n<td>Optional</td>\n<td>string[]</td>\n<td>Filter by user IDs. Subject to caller scope — see User Scoping below</td>\n<td><code>[\"usr-001\"]</code></td>\n</tr>\n<tr>\n<td><code>fromDate</code></td>\n<td>Optional</td>\n<td>string (ISO 8601)</td>\n<td>Start of date range</td>\n<td><code>\"2024-01-01T00:00:00Z\"</code></td>\n</tr>\n<tr>\n<td><code>toDate</code></td>\n<td>Optional</td>\n<td>string (ISO 8601)</td>\n<td>End of date range</td>\n<td><code>\"2024-12-31T23:59:59Z\"</code></td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"user-scoping\">User Scoping</h3>\n<ul>\n<li>Unscoped caller (admin / B2B token): the requested <code>userIds</code> are applied as sent; omit them and no user filter is applied.</li>\n<li>User-scoped caller (B2C token): results are limited to the <strong>intersection</strong> of the requested <code>userIds</code> and the token's own users; omit them and the token's own users are used.</li>\n<li>If the intersection is empty, the request is rejected with <code>InsufficientPermissions</code> (status <code>12</code>).</li>\n</ul>\n<hr />\n<h3 id=\"response-fields\">Response Fields</h3>\n<p><code>GetLedger</code> returns the raw ledger entries as stored, without the presentation-layer enrichment applied by <code>GetTransactions</code>. Fields such as <code>mccName</code>, <code>user</code>, <code>pocketName</code>, <code>customerName</code> and <code>hasReceipt</code> are <strong>not</strong> part of this response — use <code>GetTransactions</code> when you need them.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>pagination</code></td>\n<td>object</td>\n</tr>\n<tr>\n<td><code>pagination.id</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>pagination.createdAt</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>totalCount</code></td>\n<td>number — returned only when <code>includeTotalCount</code> is true</td>\n</tr>\n<tr>\n<td><code>transactions</code></td>\n<td>array</td>\n</tr>\n<tr>\n<td><code>transactions[].issuer</code></td>\n<td><code>cal</code><br /><code>isracard</code><br /><code>max</code></td>\n</tr>\n<tr>\n<td><code>transactions[].issuerAuthorizationId</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>transactions[].issuerPaymentDeviceId</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>transactions[].customerId</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>transactions[].paymentDeviceId</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>transactions[].organizationId</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>transactions[].authorizationRequestType</code></td>\n<td><code>authorization</code><br /><code>cancel</code><br /><code>refusalAdvice</code><br /><code>timeoutAdvice</code><br /><code>approvalAdvice</code></td>\n</tr>\n<tr>\n<td><code>transactions[].transactionType</code></td>\n<td><code>regular</code><br /><code>refund</code><br /><code>cashWithdrawal</code></td>\n</tr>\n<tr>\n<td><code>transactions[].locationCode</code></td>\n<td><code>domestic</code><br /><code>international</code></td>\n</tr>\n<tr>\n<td><code>transactions[].purchaseMethod</code></td>\n<td><code>internet</code><br /><code>phone</code><br /><code>physicalCard</code><br /><code>physicalWallet</code><br /><code>internetWallet</code><br /><code>issuerInternal</code></td>\n</tr>\n<tr>\n<td><code>transactions[].transactionMethod</code></td>\n<td><code>internet</code><br /><code>phone</code><br /><code>wallet</code><br /><code>physicalCard</code><br /><code>recurringPayments</code><br /><code>issuerInternal</code></td>\n</tr>\n<tr>\n<td><code>transactions[].authorizationRequestAmount</code></td>\n<td>number</td>\n</tr>\n<tr>\n<td><code>transactions[].authorizationRequestCurrency</code></td>\n<td>number</td>\n</tr>\n<tr>\n<td><code>transactions[].transactionAmount</code></td>\n<td>number</td>\n</tr>\n<tr>\n<td><code>transactions[].transactionCurrency</code></td>\n<td>number</td>\n</tr>\n<tr>\n<td><code>transactions[].isFullAmountOnlyIndicator</code></td>\n<td>boolean</td>\n</tr>\n<tr>\n<td><code>transactions[].isRecurringPayments</code></td>\n<td>boolean</td>\n</tr>\n<tr>\n<td><code>transactions[].isContactless</code></td>\n<td>boolean</td>\n</tr>\n<tr>\n<td><code>transactions[].isJ5</code></td>\n<td>boolean</td>\n</tr>\n<tr>\n<td><code>transactions[].pos</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>transactions[].mcc</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>transactions[].merchantId</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>transactions[].merchantName</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>transactions[].merchantCountry</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>transactions[].timestamp</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>transactions[].tokenRequestorId</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>transactions[].authorizationResponseCode</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>transactions[].authorizedAmount</code></td>\n<td>number</td>\n</tr>\n<tr>\n<td><code>transactions[].authorizedAmountSentToIssuer</code></td>\n<td>number</td>\n</tr>\n<tr>\n<td><code>transactions[].authorizedCurrencySentToIssuer</code></td>\n<td>number</td>\n</tr>\n<tr>\n<td><code>transactions[].spendAccountCode</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>transactions[].pocketId</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>transactions[].pocketCurrency</code></td>\n<td>number</td>\n</tr>\n<tr>\n<td><code>transactions[].transactionAmountInPocketCurrency</code></td>\n<td>number</td>\n</tr>\n<tr>\n<td><code>transactions[].pocketDebitAmount</code></td>\n<td>number</td>\n</tr>\n<tr>\n<td><code>transactions[].currencyConversionRate</code></td>\n<td>number</td>\n</tr>\n<tr>\n<td><code>transactions[].currencyConversionBuffer</code></td>\n<td>number</td>\n</tr>\n<tr>\n<td><code>transactions[].currencyConversionCommission</code></td>\n<td>number</td>\n</tr>\n<tr>\n<td><code>transactions[].cashWithdrawalCommission</code></td>\n<td>number</td>\n</tr>\n<tr>\n<td><code>transactions[].authorizationDeclineReason</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>transactions[].clearanceStatus</code></td>\n<td><code>pending</code><br /><code>declined</code><br /><code>posted</code><br /><code>credit</code><br /><code>canceled</code><br /><code>expired</code></td>\n</tr>\n<tr>\n<td><code>transactions[].issuerTransactionId</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>transactions[].transactionExternalId</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>transactions[].merchantAddress</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>transactions[].merchantCity</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>transactions[].merchantZipCode</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>transactions[].merchantPhoneNumber</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>transactions[].discountAmount</code></td>\n<td>number</td>\n</tr>\n<tr>\n<td><code>transactions[].paymentDeviceDebitDate</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>transactions[].personalCreditLineDebitAmount</code></td>\n<td>number</td>\n</tr>\n<tr>\n<td><code>transactions[].personalCreditLineDebitCurrency</code></td>\n<td>number</td>\n</tr>\n<tr>\n<td><code>transactions[].spendAccountDebitAmount</code></td>\n<td>number</td>\n</tr>\n<tr>\n<td><code>transactions[].spendAccountCurrency</code></td>\n<td>number</td>\n</tr>\n<tr>\n<td><code>transactions[].spendAccountDebitDate</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>transactions[].transactionDebitAmount</code></td>\n<td>number</td>\n</tr>\n<tr>\n<td><code>transactions[].raw</code></td>\n<td>object</td>\n</tr>\n<tr>\n<td><code>transactions[].settledAt</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>transactions[].comment</code></td>\n<td>string</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["payment-account-transactions","api","Ledger","GetLedger"],"host":["api","stage","cal-platform","com"],"query":[],"variable":[]}},"response":[{"id":"d82de180-35e8-4bc3-932b-1d06797efa4d","name":"GetLedger","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"},{"key":"X-Organization-Id","value":"{{OrganizationId}}"}],"body":{"mode":"raw","raw":"{\n    \"pagination\": {\n        \"id\": \"string\",\n        \"createdAt\": \"2026-05-03T13:02:55.710Z\",\n        \"limit\": 0\n    },\n    \"pocketIds\": [\n        \"string\"\n    ],\n    \"issuerPaymentDeviceIds\": [\n        \"string\"\n    ],\n    \"paymentDeviceIds\": [\n        \"string\"\n    ],\n    \"customerIds\": [\n        \"string\"\n    ],\n    \"fromDate\": \"2026-05-03T13:02:55.710Z\",\n    \"toDate\": \"2026-05-03T13:02:55.710Z\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/payment-account-transactions/api/Ledger/GetLedger"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n  \"statusDescription\": \"string\",\n  \"statusCode\": 0,\n  \"sessionId\": \"string\",\n  \"httpStatus\": 0,\n  \"result\": {\n    \"pagination\": {\n      \"id\": \"string\",\n      \"createdAt\": \"2026-05-03T13:02:55.720Z\"\n    },\n    \"transactions\": [\n      {\n        \"issuer\": \"cal\",\n        \"issuerAuthorizationId\": \"string\",\n        \"issuerPaymentDeviceId\": \"string\",\n        \"customerId\": \"string\",\n        \"paymentDeviceId\": \"string\",\n        \"organizationId\": \"string\",\n        \"authorizationRequestType\": \"authorization\",\n        \"transactionType\": \"regular\",\n        \"locationCode\": \"domestic\",\n        \"purchaseMethod\": \"internet\",\n        \"transactionMethod\": \"internet\",\n        \"authorizationRequestAmount\": 0,\n        \"authorizationRequestCurrency\": 0,\n        \"transactionAmount\": 0,\n        \"transactionCurrency\": 0,\n        \"isFullAmountOnlyIndicator\": true,\n        \"isRecurringPayments\": true,\n        \"isContactless\": true,\n        \"isJ5\": true,\n        \"pos\": \"string\",\n        \"mcc\": \"string\",\n        \"merchantId\": \"string\",\n        \"merchantName\": \"string\",\n        \"merchantCountry\": \"string\",\n        \"timestamp\": \"2026-05-03T13:02:55.720Z\",\n        \"tokenRequestorId\": \"string\",\n        \"authorizationResponseCode\": \"string\",\n        \"authorizedAmount\": 0,\n        \"authorizedAmountSentToIssuer\": 0,\n        \"authorizedCurrencySentToIssuer\": 0,\n        \"spendAccountCode\": \"string\",\n        \"pocketId\": \"string\",\n        \"pocketCurrency\": 0,\n        \"transactionAmountInPocketCurrency\": 0,\n        \"pocketDebitAmount\": 0,\n        \"currencyConversionRate\": 0,\n        \"currencyConversionBuffer\": 0,\n        \"currencyConversionCommission\": 0,\n        \"cashWithdrawalCommission\": 0,\n        \"authorizationDeclineReason\": \"string\",\n        \"clearanceStatus\": \"string\",\n        \"issuerTransactionId\": \"string\",\n        \"transactionExternalId\": \"string\",\n        \"merchantAddress\": \"string\",\n        \"merchantCity\": \"string\",\n        \"merchantZipCode\": \"string\",\n        \"merchantPhoneNumber\": \"string\",\n        \"discountAmount\": 0,\n        \"paymentDeviceDebitDate\": \"2026-05-03T13:02:55.720Z\",\n        \"personalCreditLineDebitAmount\": 0,\n        \"personalCreditLineDebitCurrency\": 0,\n        \"spendAccountDebitAmount\": 0,\n        \"spendAccountCurrency\": 0,\n        \"spendAccountDebitDate\": \"2026-05-03T13:02:55.720Z\",\n        \"transactionDebitAmount\": 0,\n        \"raw\": {},\n        \"settledAt\": \"2026-05-03T13:02:55.720Z\",\n        \"comment\": \"string\"\n      }\n    ]\n  }\n}"}],"_postman_id":"f5d86b73-bc5a-466e-a9c7-e2b1208e42c4"},{"name":"ExportToFile","id":"e7222cb1-da94-419b-b383-f3f8bb7a8c12","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"},{"key":"X-Organization-Id","value":"{{OrganizationId}}"}],"body":{"mode":"raw","raw":"{\n    \"file\": {\n        \"name\": \"string\",\n        \"extension\": \"string\",\n        \"fields\": [\n            {\n                \"sourceField\": \"string\",\n                \"outputHeader\": \"string\"\n            }\n        ]\n    },\n    \"filter\": {\n        \"from\": \"2026-05-03T13:03:44.535Z\",\n        \"to\": \"2026-05-03T13:03:44.535Z\",\n        \"initiativeIds\": [\n            null\n        ],\n        \"clearanceStatuses\": [\n            \"pending\"\n        ],\n        \"accountTypes\": [\n            \"paymentAccount\"\n        ],\n        \"internalStatuses\": [\n            \"active\"\n        ],\n        \"freeText\": \"string\",\n        \"filterBySpendAccountDebitDate\": true,\n        \"pocketIds\": [\n            null\n        ],\n        \"paymentDeviceIds\": [\n            null\n        ],\n        \"userIds\": [\n            null\n        ],\n        \"merchantName\": \"string\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/payment-account-transactions/api/Transactions/ExportToFile","description":"<p>Exports transaction data to a downloadable file. Returns a pre-signed URL to download the exported file in the requested format. Supports the same filtering options as <code>GetTransactions</code>.</p>\n<hr />\n<h3 id=\"request-parameters\">Request Parameters</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field Name</th>\n<th>Required/Optional</th>\n<th>Type</th>\n<th>Description</th>\n<th>Example</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>file</td>\n<td>Required</td>\n<td>object</td>\n<td>Output file definition</td>\n<td>—</td>\n</tr>\n<tr>\n<td>file.name</td>\n<td>Required</td>\n<td>string</td>\n<td>File name without extension</td>\n<td><code>\"transactions-2026-08\"</code></td>\n</tr>\n<tr>\n<td>file.extension</td>\n<td>Required</td>\n<td>enum</td>\n<td>Export file format. Values: <code>csv</code>, <code>xlsx</code></td>\n<td><code>\"csv\"</code></td>\n</tr>\n<tr>\n<td>file.fields</td>\n<td>Required</td>\n<td>object[]</td>\n<td>Columns to export, in order. <code>sourceField</code> is a <code>GetTransactions</code> item field (dot notation for nested fields, e.g. <code>paymentDevice.lastFourDigits</code>, <code>user.identifier</code>); <code>outputHeader</code> is the column title</td>\n<td><code>[{\"sourceField\": \"mccName\", \"outputHeader\": \"MCC\"}]</code></td>\n</tr>\n<tr>\n<td>filter</td>\n<td>Required</td>\n<td>object</td>\n<td>Same filter options as GetTransactions (<code>from</code> and <code>to</code> required)</td>\n<td><code>{}</code></td>\n</tr>\n<tr>\n<td>filter.userIds</td>\n<td>Optional</td>\n<td>string[]</td>\n<td>Filter by user IDs. Subject to caller scope — see User Scoping below</td>\n<td><code>[\"usr-001\"]</code></td>\n</tr>\n<tr>\n<td>config</td>\n<td>Optional</td>\n<td>object</td>\n<td>Export options</td>\n<td>—</td>\n</tr>\n<tr>\n<td>config.timezone</td>\n<td>Optional</td>\n<td>string</td>\n<td>IANA timezone (e.g. <code>Asia/Jerusalem</code>). When set, time-based columns are converted from UTC to this timezone in the exported file</td>\n<td><code>\"Asia/Jerusalem\"</code></td>\n</tr>\n</tbody>\n</table>\n</div><p>Exportable fields include everything in <code>GetTransactions</code> <code>items[]</code>, including <code>mccName</code>, the <code>user.*</code> identifiers (<code>identifier</code>, <code>externalId</code>, <code>passport</code>, <code>email</code>, <code>phoneNumber</code>, <code>driversLicense</code>), <code>personalCreditLineDebitAmount</code> / <code>personalCreditLineDebitCurrency</code>, <code>hasReceipt</code>, <code>comment</code>, <code>glCode</code> and <code>glName</code>.</p>\n<hr />\n<h3 id=\"user-scoping\">User Scoping</h3>\n<p><code>filter.userIds</code> is enforced exactly as in <code>GetTransactions</code>:</p>\n<ul>\n<li>Unscoped caller (admin / B2B token): the requested <code>userIds</code> are applied as sent; omit them and no user filter is applied.</li>\n<li>User-scoped caller (B2C token): the export is limited to the <strong>intersection</strong> of the requested <code>userIds</code> and the token's own users; omit them and the token's own users are used.</li>\n<li>If the intersection is empty, the request is rejected with <code>InsufficientPermissions</code> (status <code>12</code>).</li>\n</ul>\n<hr />\n<h3 id=\"response-fields\">Response Fields</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>fileStream</code></td>\n<td>object</td>\n</tr>\n<tr>\n<td><code>contentLength</code></td>\n<td>number</td>\n</tr>\n<tr>\n<td><code>fileName</code></td>\n<td>string</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["payment-account-transactions","api","Transactions","ExportToFile"],"host":["api","stage","cal-platform","com"],"query":[],"variable":[]}},"response":[{"id":"a7306487-5ee1-4b72-8bce-9830587178c9","name":"ExportToFile","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"},{"key":"X-Organization-Id","value":"{{OrganizationId}}"}],"body":{"mode":"raw","raw":"{\n    \"file\": {\n        \"name\": \"string\",\n        \"extension\": \"string\",\n        \"fields\": [\n            {\n                \"sourceField\": \"string\",\n                \"outputHeader\": \"string\"\n            }\n        ]\n    },\n    \"filter\": {\n        \"from\": \"2026-05-03T13:03:44.535Z\",\n        \"to\": \"2026-05-03T13:03:44.535Z\",\n        \"initiativeIds\": [\n            null\n        ],\n        \"clearanceStatuses\": [\n            \"pending\"\n        ],\n        \"accountTypes\": [\n            \"paymentAccount\"\n        ],\n        \"internalStatuses\": [\n            \"active\"\n        ],\n        \"freeText\": \"string\",\n        \"filterBySpendAccountDebitDate\": true,\n        \"pocketIds\": [\n            null\n        ],\n        \"paymentDeviceIds\": [\n            null\n        ],\n        \"merchantName\": \"string\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.develop.cal-platform.com/payment-account-transactions/api/Transactions/ExportToFile"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n  \"statusDescription\": \"string\",\n  \"statusCode\": 0,\n  \"sessionId\": \"string\",\n  \"httpStatus\": 0,\n  \"result\": {\n    \"fileStream\": {},\n    \"contentLength\": 0,\n    \"fileName\": \"string\"\n  }\n}"}],"_postman_id":"e7222cb1-da94-419b-b383-f3f8bb7a8c12"},{"name":"SimulateTransaction","id":"0a8bfbd5-0b86-42cd-80a6-1127ade38089","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"}],"body":{"mode":"raw","raw":"{\n    \"issuerPaymentDeviceId\": \"string\",\n    \"timestamp\": \"2026-05-03T13:04:45.707Z\",\n    \"amount\": 0,\n    \"currency\": 0,\n    \"isJ5\": true,\n    \"locationCode\": \"domestic\",\n    \"purchaseMethod\": \"internet\",\n    \"isFullAmountOnlyIndicator\": true,\n    \"isRecurringPayments\": true,\n    \"pos\": \"string\",\n    \"merchantId\": \"string\",\n    \"mcc\": \"string\",\n    \"merchantName\": \"string\",\n    \"merchantCountry\": \"string\",\n    \"transactionType\": \"regular\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/payment-account-transactions/api/Simulate/SimulateTransaction","description":"<p>Simulates a card transaction for testing purposes. Creates a synthetic transaction record that goes through the full authorization and settlement flow without an actual payment network interaction. Use this in non-production environments to test pocket balance changes, policy enforcement, and transaction workflows.</p>\n<hr />\n<h3 id=\"request-parameters\">Request Parameters</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field Name</th>\n<th>Required/Optional</th>\n<th>Type</th>\n<th>Description</th>\n<th>Example</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>issuerPaymentDeviceId</code></td>\n<td>Required</td>\n<td>string</td>\n<td>Issuer payment device ID to simulate the transaction on</td>\n<td><code>\"dev-123\"</code></td>\n</tr>\n<tr>\n<td><code>timestamp</code></td>\n<td>Required</td>\n<td>string (ISO 8601)</td>\n<td>Transaction timestamp</td>\n<td><code>\"2024-01-01T12:00:00Z\"</code></td>\n</tr>\n<tr>\n<td><code>amount</code></td>\n<td>Required</td>\n<td>number</td>\n<td>Transaction amount</td>\n<td><code>1000</code></td>\n</tr>\n<tr>\n<td><code>currency</code></td>\n<td>Required</td>\n<td>number</td>\n<td>ISO 4217 numeric currency code</td>\n<td><code>376</code></td>\n</tr>\n<tr>\n<td><code>isJ5</code></td>\n<td>Required</td>\n<td>boolean</td>\n<td>Whether this is a J5 (pre-authorization) transaction</td>\n<td><code>false</code></td>\n</tr>\n<tr>\n<td><code>isFullAmountOnlyIndicator</code></td>\n<td>Required</td>\n<td>boolean</td>\n<td>Whether the full amount is required</td>\n<td><code>false</code></td>\n</tr>\n<tr>\n<td><code>locationCode</code></td>\n<td>Optional</td>\n<td>string</td>\n<td>Transaction location code.<br /><code>domestic</code><br /><code>international</code></td>\n<td><code>\"domestic\"</code></td>\n</tr>\n<tr>\n<td><code>purchaseMethod</code></td>\n<td>Optional</td>\n<td>string</td>\n<td>Purchase method used.<br /><code>internet</code><br /><code>phone</code><br /><code>physicalCard</code><br /><code>physicalWallet</code><br /><code>internetWallet</code><br /><code>issuerInternal</code></td>\n<td><code>\"internet\"</code></td>\n</tr>\n<tr>\n<td><code>transactionType</code></td>\n<td>Optional</td>\n<td>string</td>\n<td>Type of transaction.<br /><code>regular</code><br /><code>refund</code><br /><code>cashWithdrawal</code></td>\n<td><code>\"regular\"</code></td>\n</tr>\n<tr>\n<td><code>isRecurringPayments</code></td>\n<td>Optional</td>\n<td>boolean</td>\n<td>Whether this is a recurring payment</td>\n<td><code>false</code></td>\n</tr>\n<tr>\n<td><code>pos</code></td>\n<td>Optional</td>\n<td>string</td>\n<td>POS terminal identifier</td>\n<td><code>\"POS-001\"</code></td>\n</tr>\n<tr>\n<td><code>merchantId</code></td>\n<td>Optional</td>\n<td>string</td>\n<td>Merchant ID</td>\n<td><code>\"MERCH-001\"</code></td>\n</tr>\n<tr>\n<td><code>mcc</code></td>\n<td>Optional</td>\n<td>string</td>\n<td>Merchant Category Code</td>\n<td><code>\"5411\"</code></td>\n</tr>\n<tr>\n<td><code>merchantName</code></td>\n<td>Optional</td>\n<td>string</td>\n<td>Merchant name</td>\n<td><code>\"Test Merchant\"</code></td>\n</tr>\n<tr>\n<td><code>merchantCountry</code></td>\n<td>Optional</td>\n<td>string</td>\n<td>Merchant country (2-letter ISO code)</td>\n<td><code>\"IL\"</code></td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"response-fields\">Response Fields</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>issuerResponse</code></td>\n<td>object</td>\n</tr>\n<tr>\n<td><code>validPockets</code></td>\n<td>array</td>\n</tr>\n<tr>\n<td><code>validPockets[].isSelected</code></td>\n<td>boolean</td>\n</tr>\n<tr>\n<td><code>validPockets[].id</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>validPockets[].balance</code></td>\n<td>number</td>\n</tr>\n<tr>\n<td><code>validPockets[].currency</code></td>\n<td>number</td>\n</tr>\n<tr>\n<td><code>validPockets[].spendAccountCode</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>validPockets[].authorizedAmount</code></td>\n<td>number</td>\n</tr>\n<tr>\n<td><code>validPockets[].debitAmount</code></td>\n<td>number</td>\n</tr>\n<tr>\n<td><code>validPockets[].declineReason</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>invalidPockets</code></td>\n<td>array</td>\n</tr>\n<tr>\n<td><code>invalidPockets[].isSelected</code></td>\n<td>boolean</td>\n</tr>\n<tr>\n<td><code>invalidPockets[].id</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>invalidPockets[].balance</code></td>\n<td>number</td>\n</tr>\n<tr>\n<td><code>invalidPockets[].currency</code></td>\n<td>number</td>\n</tr>\n<tr>\n<td><code>invalidPockets[].spendAccountCode</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>invalidPockets[].authorizedAmount</code></td>\n<td>number</td>\n</tr>\n<tr>\n<td><code>invalidPockets[].debitAmount</code></td>\n<td>number</td>\n</tr>\n<tr>\n<td><code>invalidPockets[].declineReason</code></td>\n<td>string</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["payment-account-transactions","api","Simulate","SimulateTransaction"],"host":["api","stage","cal-platform","com"],"query":[],"variable":[]}},"response":[{"id":"fa35345f-05d9-4e74-a1de-fbcec535bbbd","name":"SimulateTransaction","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"}],"body":{"mode":"raw","raw":"{\n    \"issuerPaymentDeviceId\": \"string\",\n    \"timestamp\": \"2026-05-03T13:04:45.707Z\",\n    \"amount\": 0,\n    \"currency\": 0,\n    \"isJ5\": true,\n    \"locationCode\": \"domestic\",\n    \"purchaseMethod\": \"internet\",\n    \"isFullAmountOnlyIndicator\": true,\n    \"isRecurringPayments\": true,\n    \"pos\": \"string\",\n    \"merchantId\": \"string\",\n    \"mcc\": \"string\",\n    \"merchantName\": \"string\",\n    \"merchantCountry\": \"string\",\n    \"transactionType\": \"regular\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/payment-account-transactions/api/Simulate/SimulateTransaction"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n  \"statusDescription\": \"string\",\n  \"statusCode\": 0,\n  \"sessionId\": \"string\",\n  \"httpStatus\": 0,\n  \"result\": {\n    \"issuerResponse\": {},\n    \"validPockets\": [\n      {\n        \"isSelected\": true,\n        \"id\": \"string\",\n        \"balance\": 0,\n        \"currency\": 0,\n        \"spendAccountCode\": \"string\",\n        \"authorizedAmount\": 0,\n        \"debitAmount\": 0,\n        \"declineReason\": \"string\"\n      }\n    ],\n    \"invalidPockets\": [\n      {\n        \"isSelected\": true,\n        \"id\": \"string\",\n        \"balance\": 0,\n        \"currency\": 0,\n        \"spendAccountCode\": \"string\",\n        \"authorizedAmount\": 0,\n        \"debitAmount\": 0,\n        \"declineReason\": \"string\"\n      }\n    ]\n  }\n}"}],"_postman_id":"0a8bfbd5-0b86-42cd-80a6-1127ade38089"},{"name":"SimulateForReclassify","id":"86fce56f-ca4d-42db-aa93-aee6d3bd87bb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"},{"key":"X-Organization-Id","value":"{{OrganizationId}}"}],"body":{"mode":"raw","raw":"{\n    \"transactionId\": \"string\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/payment-account-transactions/api/Reclassify/SimulateForReclassify","description":"<p>Simulates a transaction for reclassification, using an existing transaction as the basis.</p>\n<hr />\n<h3 id=\"request-parameters\">Request Parameters</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field Name</th>\n<th>Required/Optional</th>\n<th>Type</th>\n<th>Description</th>\n<th>Example</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>transactionId</td>\n<td>Required</td>\n<td>string (UUID)</td>\n<td>The ID of the transaction to simulate for reclassification</td>\n<td><code>\"00000000-0000-0000-0000-000000000000\"</code></td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["payment-account-transactions","api","Reclassify","SimulateForReclassify"],"host":["api","stage","cal-platform","com"],"query":[],"variable":[]}},"response":[{"id":"7003f12b-d907-4e4a-ac80-1ae5f6c0e974","name":"SimulateForReclassify","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"},{"key":"X-Organization-Id","value":"{{OrganizationId}}"}],"body":{"mode":"raw","raw":"{\n    \"transactionId\": \"string\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/payment-account-transactions/api/Reclassify/SimulateForReclassify"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n  \"statusDescription\": \"string\",\n  \"statusCode\": 0,\n  \"sessionId\": \"string\",\n  \"httpStatus\": 0,\n  \"result\": {\n    \"validPockets\": [\n      {\n        \"id\": \"string\",\n        \"currency\": 0,\n        \"balance\": 0,\n        \"debitAmount\": 0\n      }\n    ],\n    \"invalidPockets\": [\n      {\n        \"id\": \"string\",\n        \"currency\": 0,\n        \"balance\": 0,\n        \"debitAmount\": 0\n      }\n    ]\n  }\n}"}],"_postman_id":"86fce56f-ca4d-42db-aa93-aee6d3bd87bb"},{"name":"ReclassifyTransaction","id":"9142f948-388f-4e20-badf-ab04e76bd246","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"},{"key":"X-Organization-Id","value":"{{OrganizationId}}"}],"body":{"mode":"raw","raw":"{\n    \"transactionId\": \"string\",\n    \"pocketId\": \"string\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/payment-account-transactions/api/Reclassify/ReclassifyTransaction","description":"<p>Reclassifies an existing transaction to a different pocket.</p>\n<hr />\n<h3 id=\"request-parameters\">Request Parameters</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field Name</th>\n<th>Required/Optional</th>\n<th>Type</th>\n<th>Description</th>\n<th>Example</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>transactionId</td>\n<td>Required</td>\n<td>string</td>\n<td>ID of the transaction to reclassify</td>\n<td><code>\"txn-001\"</code></td>\n</tr>\n<tr>\n<td>pocketId</td>\n<td>Required</td>\n<td>string</td>\n<td>ID of the target pocket to reclassify the transaction to</td>\n<td><code>\"pkt-001\"</code></td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"response-fields\">Response Fields</h3>\n<p><em>No result data returned.</em></p>\n","urlObject":{"protocol":"https","path":["payment-account-transactions","api","Reclassify","ReclassifyTransaction"],"host":["api","stage","cal-platform","com"],"query":[],"variable":[]}},"response":[{"id":"83da1efd-da25-4d7d-b1c6-258d65eba459","name":"ReclassifyTransaction","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"},{"key":"X-Organization-Id","value":"{{OrganizationId}}"}],"body":{"mode":"raw","raw":"{\n    \"transactionId\": \"string\",\n    \"pocketId\": \"string\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/payment-account-transactions/api/Reclassify/ReclassifyTransaction"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n  \"statusDescription\": \"string\",\n  \"statusCode\": 0,\n  \"sessionId\": \"string\",\n  \"httpStatus\": 0,\n  \"result\": {}\n}"}],"_postman_id":"9142f948-388f-4e20-badf-ab04e76bd246"},{"name":"SettleBlockedTransaction","id":"babcaa56-d310-4d8f-9958-c5446d59f6a3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"},{"key":"X-Organization-Id","value":"{{OrganizationId}}"}],"body":{"mode":"raw","raw":"{\n    \"transactionId\": \"string\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/payment-account-transactions/api/Transactions/SettleBlockedTransaction","description":"<p>Settles a blocked transaction by triggering debit processing for the specified transaction.</p>\n<hr />\n<h3 id=\"request-parameters\">Request Parameters</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field Name</th>\n<th>Required/Optional</th>\n<th>Type</th>\n<th>Description</th>\n<th>Example</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>transactionId</td>\n<td>Required</td>\n<td>string</td>\n<td>ID of the blocked transaction to settle</td>\n<td><code>\"txn-001\"</code></td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"response-fields\">Response Fields</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>pocketDebitAmount</code></td>\n<td>number</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["payment-account-transactions","api","Transactions","SettleBlockedTransaction"],"host":["api","stage","cal-platform","com"],"query":[],"variable":[]}},"response":[{"id":"67a7ab1d-d9ad-46f9-972e-a3824129c0c3","name":"SettleBlockedTransaction","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"},{"key":"X-Organization-Id","value":"{{OrganizationId}}"}],"body":{"mode":"raw","raw":"{\n    \"transactionId\": \"string\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/payment-account-transactions/api/Transactions/SettleBlockedTransaction"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"statusDescription\": \"string\",\n    \"statusCode\": 0,\n    \"sessionId\": \"string\",\n    \"httpStatus\": 0,\n    \"result\": {\n        \"pocketDebitAmount\": 0\n    }\n}"}],"_postman_id":"babcaa56-d310-4d8f-9958-c5446d59f6a3"},{"name":"GetIncompleteTransactionData","id":"311b797e-fecc-4e22-b75a-d9ec6a15a688","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"}],"body":{"mode":"raw","raw":"{\n    \"issuer\": \"cal\",\n    \"issuerAuthorizationId\": \"string\",\n    \"issuerTransactionId\": \"string\",\n    \"transactionExternalId\": \"string\",\n    \"issuerPaymentDeviceId\": \"string\",\n    \"timestamp\": \"2026-05-03T13:08:23.895Z\",\n    \"transactionType\": \"regular\",\n    \"locationCode\": \"domestic\",\n    \"merchantCountry\": \"IL\",\n    \"transactionMethod\": \"internet\",\n    \"isContactless\": true,\n    \"pos\": \"string\",\n    \"transactionAmount\": 0,\n    \"transactionCurrency\": 0,\n    \"merchantId\": \"string\",\n    \"mcc\": \"string\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/payment-account-transactions/api/Transactions/GetIncompleteTransactionData","description":"<p>Retrieves incomplete transaction data for a given authorization event, used to reconstruct transaction details before clearing.</p>\n<hr />\n<h3 id=\"request-parameters\">Request Parameters</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field Name</th>\n<th>Required/Optional</th>\n<th>Type</th>\n<th>Description</th>\n<th>Example</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>issuer</td>\n<td>Required</td>\n<td>string</td>\n<td>Card issuer.<br /><code>cal</code><br /><code>isracard</code><br /><code>max</code></td>\n<td><code>\"cal\"</code></td>\n</tr>\n<tr>\n<td>issuerAuthorizationId</td>\n<td>Optional</td>\n<td>string</td>\n<td>Authorization ID from the issuer</td>\n<td><code>\"AUTH123456\"</code></td>\n</tr>\n<tr>\n<td>issuerTransactionId</td>\n<td>Optional</td>\n<td>string</td>\n<td>Transaction ID from the issuer</td>\n<td><code>\"TXN123456\"</code></td>\n</tr>\n<tr>\n<td>transactionExternalId</td>\n<td>Optional</td>\n<td>string</td>\n<td>External transaction identifier</td>\n<td><code>\"EXT123456\"</code></td>\n</tr>\n<tr>\n<td>issuerPaymentDeviceId</td>\n<td>Required</td>\n<td>string</td>\n<td>The issuer's payment device ID</td>\n<td><code>\"DEVICE123\"</code></td>\n</tr>\n<tr>\n<td>timestamp</td>\n<td>Required</td>\n<td>string (ISO date)</td>\n<td>The timestamp of the transaction</td>\n<td><code>\"2024-01-01T12:00:00Z\"</code></td>\n</tr>\n<tr>\n<td>transactionType</td>\n<td>Required</td>\n<td>string</td>\n<td>Type of transaction.<br /><code>regular</code><br /><code>refund</code><br /><code>cashWithdrawal</code></td>\n<td><code>\"regular\"</code></td>\n</tr>\n<tr>\n<td>locationCode</td>\n<td>Required</td>\n<td>string</td>\n<td>Location of the transaction.<br /><code>domestic</code><br /><code>international</code></td>\n<td><code>\"domestic\"</code></td>\n</tr>\n<tr>\n<td>merchantCountry</td>\n<td>Required</td>\n<td>string</td>\n<td>ISO 3166-1 alpha-2 country code of the merchant</td>\n<td><code>\"IL\"</code></td>\n</tr>\n<tr>\n<td>transactionMethod</td>\n<td>Required</td>\n<td>string</td>\n<td>Method used for the transaction.<br /><code>internet</code><br /><code>phone</code><br /><code>wallet</code><br /><code>physicalCard</code><br /><code>recurringPayments</code><br /><code>issuerInternal</code></td>\n<td><code>\"physicalCard\"</code></td>\n</tr>\n<tr>\n<td>isContactless</td>\n<td>Optional</td>\n<td>boolean</td>\n<td>Whether the transaction was contactless</td>\n<td><code>true</code></td>\n</tr>\n<tr>\n<td>pos</td>\n<td>Optional</td>\n<td>string</td>\n<td>POS terminal identifier</td>\n<td><code>\"POS001\"</code></td>\n</tr>\n<tr>\n<td>transactionAmount</td>\n<td>Required</td>\n<td>number</td>\n<td>The transaction amount</td>\n<td><code>100.00</code></td>\n</tr>\n<tr>\n<td>transactionCurrency</td>\n<td>Required</td>\n<td>number</td>\n<td>ISO 4217 numeric currency code</td>\n<td><code>376</code></td>\n</tr>\n<tr>\n<td>merchantId</td>\n<td>Required</td>\n<td>string</td>\n<td>The merchant's identifier</td>\n<td><code>\"MER123456\"</code></td>\n</tr>\n<tr>\n<td>mcc</td>\n<td>Required</td>\n<td>string</td>\n<td>Merchant Category Code</td>\n<td><code>\"5411\"</code></td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["payment-account-transactions","api","Transactions","GetIncompleteTransactionData"],"host":["api","stage","cal-platform","com"],"query":[],"variable":[]}},"response":[{"id":"beb0577e-4689-4e6e-8cd2-ee0229a8f563","name":"GetIncompleteTransactionData","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"}],"body":{"mode":"raw","raw":"{\n    \"issuer\": \"cal\",\n    \"issuerAuthorizationId\": \"string\",\n    \"issuerTransactionId\": \"string\",\n    \"transactionExternalId\": \"string\",\n    \"issuerPaymentDeviceId\": \"string\",\n    \"timestamp\": \"2026-05-03T13:08:23.895Z\",\n    \"transactionType\": \"regular\",\n    \"locationCode\": \"domestic\",\n    \"merchantCountry\": \"IL\",\n    \"transactionMethod\": \"internet\",\n    \"isContactless\": true,\n    \"pos\": \"string\",\n    \"transactionAmount\": 0,\n    \"transactionCurrency\": 0,\n    \"merchantId\": \"string\",\n    \"mcc\": \"string\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/payment-account-transactions/api/Transactions/GetIncompleteTransactionData"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n  \"statusDescription\": \"string\",\n  \"statusCode\": 0,\n  \"sessionId\": \"string\",\n  \"httpStatus\": 0,\n  \"result\": {\n    \"authorizedAmount\": 0,\n    \"currency\": 0,\n    \"authorizedInOriginalCurrency\": 0,\n    \"originalCurrency\": 0,\n    \"spendAccountCode\": \"string\"\n  }\n}"}],"_postman_id":"311b797e-fecc-4e22-b75a-d9ec6a15a688"},{"name":"UploadReceipt","id":"05076b8a-407c-afab-6fb3-12b66a1e227f","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"},{"key":"X-Organization-Id","value":"{{OrganizationId}}"}],"body":{"mode":"raw","raw":"{\n  \"fileId\": \"string\",\n  \"transactionId\": \"string\",\n  \"fileName\": \"grocery-receipt\",\n  \"fileExtension\": \"jpg\",\n  \"comment\": \"Office supplies receipt\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/payment-account-transactions/api/Receipt/UploadReceipt","description":"<p>Uploads a receipt file and attaches it to a transaction. The <code>fileId</code> is obtained from a prior <code>UploadImageFile</code> call. Only image receipts are accepted; the file is then processed by OCR (see <code>GetReceiptsOcrData</code>).</p>\n<h2 id=\"request-parameters\">Request Parameters</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field Name</th>\n<th>Required/Optional</th>\n<th>Type</th>\n<th>Description</th>\n<th>Example</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>fileId</code></td>\n<td>Required</td>\n<td>string</td>\n<td>ID of the uploaded file, returned by <code>UploadImageFile</code></td>\n<td><code>f3b9c2e1-7a4d-4e2b-9c1a-2d6f8b0e5a31</code></td>\n</tr>\n<tr>\n<td><code>transactionId</code></td>\n<td>Required</td>\n<td>string</td>\n<td>ID of the transaction the receipt is attached to</td>\n<td><code>8a1f2c3d-4b5e-6f70-8190-a1b2c3d4e5f6</code></td>\n</tr>\n<tr>\n<td><code>fileName</code></td>\n<td>Required</td>\n<td>string</td>\n<td>Display name of the receipt file (without extension). 1–64 characters; may not contain <code>\"</code>, <code>\\</code>, <code>/</code> or line breaks; HTML markup is rejected</td>\n<td><code>grocery-receipt</code></td>\n</tr>\n<tr>\n<td><code>fileExtension</code></td>\n<td>Required</td>\n<td>enum</td>\n<td>File extension of the uploaded receipt. Case-insensitive. Allowed: <code>jpg</code>, <code>jpeg</code>, <code>png</code>, <code>tiff</code>, <code>webp</code></td>\n<td><code>jpg</code></td>\n</tr>\n<tr>\n<td><code>comment</code></td>\n<td>Optional</td>\n<td>string</td>\n<td>Free-text note stored with the receipt</td>\n<td><code>Office supplies receipt</code></td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"response-fields\">Response Fields</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>statusDescription</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>statusCode</code></td>\n<td>number</td>\n</tr>\n<tr>\n<td><code>sessionId</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>httpStatus</code></td>\n<td>number</td>\n</tr>\n<tr>\n<td><code>result</code></td>\n<td>null</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"notes\">Notes</h3>\n<ul>\n<li>A transaction that already has a receipt is rejected with <code>TransactionReceiptAlreadyExists</code> (status <code>9</code>); a <code>fileId</code> that was never uploaded returns <code>ReceiptFileNotFoundInStorage</code> (status <code>10</code>).</li>\n</ul>\n","urlObject":{"protocol":"https","path":["payment-account-transactions","api","Receipt","UploadReceipt"],"host":["api","stage","cal-platform","com"],"query":[],"variable":[]}},"response":[{"id":"e069aca1-6687-4d38-ada9-6946d2c23711","name":"UploadReceipt","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"},{"key":"X-Organization-Id","value":"{{OrganizationId}}"}],"body":{"mode":"raw","raw":"{\n    \"fileId\": \"string\",\n    \"transactionId\": \"string\",\n    \"fileName\": \"string\",\n    \"fileExtension\": \"string\",\n    \"comment\": \"string\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/payment-account-transactions/api/Receipt/UploadReceipt"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n  \"statusDescription\": \"string\",\n  \"statusCode\": 0,\n  \"sessionId\": \"string\",\n  \"httpStatus\": 0,\n  \"result\": {}\n}"}],"_postman_id":"05076b8a-407c-afab-6fb3-12b66a1e227f"},{"name":"GetReceipt","id":"ee8be1ce-266b-e89d-b1ad-0eb171399fe4","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"},{"key":"X-Organization-Id","value":"{{OrganizationId}}"}],"body":{"mode":"raw","raw":"{\n    \"transactionId\": \"string\",\n    \"fileId\": \"string\",\n    \"userIds\": [\n        \"string\"\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/payment-account-transactions/api/Receipt/GetReceipt","description":"<p>Downloads the receipt file attached to a transaction. Provide either <code>transactionId</code> or <code>fileId</code> (at least one is required). The receipt is returned as a binary file download, not a JSON body.</p>\n<h2 id=\"request-parameters\">Request Parameters</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field Name</th>\n<th>Required/Optional</th>\n<th>Type</th>\n<th>Description</th>\n<th>Example</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>transactionId</code></td>\n<td>Optional*</td>\n<td>string</td>\n<td>ID of the transaction whose receipt to fetch</td>\n<td><code>8a1f2c3d-4b5e-6f70-8190-a1b2c3d4e5f6</code></td>\n</tr>\n<tr>\n<td><code>fileId</code></td>\n<td>Optional*</td>\n<td>string</td>\n<td>ID of the specific receipt file to fetch</td>\n<td><code>f3b9c2e1-7a4d-4e2b-9c1a-2d6f8b0e5a31</code></td>\n</tr>\n<tr>\n<td><code>userIds</code></td>\n<td>Optional</td>\n<td>string[]</td>\n<td>Restrict the lookup to these user IDs. Subject to caller scope — see User Scoping below</td>\n<td><code>[\"usr-001\"]</code></td>\n</tr>\n</tbody>\n</table>\n</div><blockquote>\n<p>* At least one of <code>transactionId</code> or <code>fileId</code> must be provided.</p>\n</blockquote>\n<hr />\n<h3 id=\"user-scoping\">User Scoping</h3>\n<ul>\n<li>Unscoped caller (admin / B2B token): the requested <code>userIds</code> are applied as sent; omit them and no user filter is applied.</li>\n<li>User-scoped caller (B2C token): the lookup is limited to the <strong>intersection</strong> of the requested <code>userIds</code> and the token's own users; omit them and the token's own users are used.</li>\n<li>If the intersection is empty, the request is rejected with <code>InsufficientPermissions</code> (status <code>12</code>).</li>\n</ul>\n<hr />\n<h3 id=\"response\">Response</h3>\n<p>Returns the receipt file as a <strong>binary attachment</strong> (<code>StreamableFile</code>). There is no JSON body.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Header</th>\n<th>Type</th>\n<th>Description</th>\n<th>Example</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>Content-Disposition</code></td>\n<td>string</td>\n<td>Marks the response as a file download and carries the file name</td>\n<td><code>attachment; filename=\"grocery-receipt.pdf\"</code></td>\n</tr>\n<tr>\n<td><code>Content-Type</code></td>\n<td>string</td>\n<td>MIME type of the streamed file (defaults to octet-stream)</td>\n<td><code>application/octet-stream</code></td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Body:</strong> the raw receipt file bytes (the PDF/JPG/PNG originally uploaded).</p>\n","urlObject":{"protocol":"https","path":["payment-account-transactions","api","Receipt","GetReceipt"],"host":["api","stage","cal-platform","com"],"query":[],"variable":[]}},"response":[{"id":"77f064f1-729a-b5ed-6cf1-8223c8c90169","name":"GetReceipt","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"},{"key":"X-Organization-Id","value":"{{OrganizationId}}"}],"body":{"mode":"raw","raw":"{\n    \"transactionId\": \"string\",\n    \"fileId\": \"string\",\n    \"userIds\": [\n        \"string\"\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/payment-account-transactions/api/Receipt/GetReceipt","description":"Downloads the receipt file attached to a transaction. Provide either `transactionId` or `fileId` (at least one is required). The receipt is returned as a binary file download, not a JSON body.\n\n## Request Parameters\n\n| Field Name | Required/Optional | Type | Description | Example |\n|---|---|---|---|---|\n| `transactionId` | Optional\\* | string | ID of the transaction whose receipt to fetch | `8a1f2c3d-4b5e-6f70-8190-a1b2c3d4e5f6` |\n| `fileId` | Optional\\* | string | ID of the specific receipt file to fetch | `f3b9c2e1-7a4d-4e2b-9c1a-2d6f8b0e5a31` |\n| `userIds` | Optional | string[] | Restrict the lookup to these user IDs. Subject to caller scope — see User Scoping below | `[\"usr-001\"]` |\n\n> \\* At least one of `transactionId` or `fileId` must be provided.\n\n---\n\n### User Scoping\n\n- Unscoped caller (admin / B2B token): the requested `userIds` are applied as sent; omit them and no user filter is applied.\n- User-scoped caller (B2C token): the lookup is limited to the **intersection** of the requested `userIds` and the token's own users; omit them and the token's own users are used.\n- If the intersection is empty, the request is rejected with `InsufficientPermissions` (status `12`).\n\n---\n\n### Response\n\nReturns the receipt file as a **binary attachment** (`StreamableFile`). There is no JSON body.\n\n| Header | Type | Description | Example |\n|---|---|---|---|\n| `Content-Disposition` | string | Marks the response as a file download and carries the file name | `attachment; filename=\"grocery-receipt.pdf\"` |\n| `Content-Type` | string | MIME type of the streamed file (defaults to octet-stream) | `application/octet-stream` |\n\n**Body:** the raw receipt file bytes (the PDF/JPG/PNG originally uploaded)."},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"Content-Disposition","value":"attachment; filename=\"grocery-receipt.pdf\""},{"key":"Content-Type","value":"application/octet-stream"}],"cookie":[],"responseTime":null,"body":"[binary file content — the receipt file is returned as a download attachment, not text]"}],"_postman_id":"ee8be1ce-266b-e89d-b1ad-0eb171399fe4"},{"name":"DeleteReceipt","id":"50e5ae5d-f26d-78d0-6542-01345aecaceb","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"},{"key":"X-Organization-Id","value":"{{OrganizationId}}"}],"body":{"mode":"raw","raw":"{\n    \"transactionId\": \"string\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/payment-account-transactions/api/Receipt/DeleteReceipt","description":"<p>Deletes the receipt attached to a transaction — removes the file from storage and the receipt record. Returns an error if no receipt exists for the transaction.</p>\n<h2 id=\"request-parameters\">Request Parameters</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field Name</th>\n<th>Required/Optional</th>\n<th>Type</th>\n<th>Description</th>\n<th>Example</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>transactionId</code></td>\n<td>Required</td>\n<td>string</td>\n<td>ID of the transaction whose receipt should be deleted</td>\n<td><code>8a1f2c3d-4b5e-6f70-8190-a1b2c3d4e5f6</code></td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"response-fields\">Response Fields</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>statusDescription</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>statusCode</code></td>\n<td>number</td>\n</tr>\n<tr>\n<td><code>sessionId</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>httpStatus</code></td>\n<td>number</td>\n</tr>\n<tr>\n<td><code>result</code></td>\n<td>null</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["payment-account-transactions","api","Receipt","DeleteReceipt"],"host":["api","stage","cal-platform","com"],"query":[],"variable":[]}},"response":[{"id":"1171d4ed-c136-48c8-a2d7-7918e74873d9","name":"DeleteReceipt","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"},{"key":"X-Organization-Id","value":"{{OrganizationId}}"}],"body":{"mode":"raw","raw":"{\n    \"transactionId\": \"string\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/payment-account-transactions/api/Receipt/DeleteReceipt"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n  \"statusDescription\": \"string\",\n  \"statusCode\": 0,\n  \"sessionId\": \"string\",\n  \"httpStatus\": 0,\n  \"result\": {}\n}"}],"_postman_id":"50e5ae5d-f26d-78d0-6542-01345aecaceb"},{"name":"UploadImageFile","id":"19e54455-8703-77d8-0f40-337b39beea4b","request":{"method":"POST","header":[{"key":"Authorization","value":"{{CognitoToken}}"}],"body":{"mode":"formdata","formdata":[{"key":"file","type":"file","uuid":"b1808f72-6ac1-4bfa-925a-07307d5e7047","value":null}]},"url":"https://api.stage.cal-platform.com/integration-files/api/Files/UploadImageFile","description":"<p>Uploads an image file (multipart/form-data) and returns a <code>fileId</code> used to attach the file to a transaction via <code>UploadReceipt</code>. Only image types are accepted, up to 60 MB.</p>\n<h2 id=\"request-parameters\">Request Parameters</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field Name</th>\n<th>Required/Optional</th>\n<th>Type</th>\n<th>Description</th>\n<th>Example</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>file</code></td>\n<td>Required</td>\n<td>file (binary)</td>\n<td>The image file to upload, sent as <code>multipart/form-data</code> under the <code>file</code> field</td>\n<td><code>receipt.jpg</code></td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Constraints</strong></p>\n<ul>\n<li><strong>Max size:</strong> 60 MB</li>\n<li><strong>Allowed types:</strong> <code>tiff</code>, <code>jpg</code>, <code>jpeg</code>, <code>png</code>, <code>heic</code>, <code>dng</code>, <code>webp</code> (<code>heic</code> is stored as <code>jpeg</code>, <code>dng</code> as <code>tiff</code>). Other types are rejected with <code>NotValidFileType</code> (statusCode <code>7</code>).</li>\n</ul>\n<hr />\n<h3 id=\"response-fields\">Response Fields</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>statusDescription</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>statusCode</code></td>\n<td>number</td>\n</tr>\n<tr>\n<td><code>sessionId</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>httpStatus</code></td>\n<td>number</td>\n</tr>\n<tr>\n<td><code>result</code></td>\n<td>object</td>\n</tr>\n<tr>\n<td><code>result.fileId</code></td>\n<td>string</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["integration-files","api","Files","UploadImageFile"],"host":["api","stage","cal-platform","com"],"query":[],"variable":[]}},"response":[{"id":"8711fb71-5ba3-28ca-335f-9bf7b75ca15d","name":"UploadImageFile","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"{{CognitoToken}}"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"file","type":"file","uuid":"3300d433-895d-4a98-93eb-cf6590f1bd11","value":null}]},"url":"https://api.stage.cal-platform.com/integration-files/api/Files/UploadImageFile"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n  \"statusDescription\": \"Success\",\n  \"statusCode\": 1,\n  \"sessionId\": \"string\",\n  \"httpStatus\": 200,\n  \"result\": {\n    \"fileId\": \"string\"\n  }\n}"}],"_postman_id":"19e54455-8703-77d8-0f40-337b39beea4b"},{"name":"UpdateReceipt","id":"b72b8798-6f90-4d72-bece-3761c922927c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"x-organization-id","value":"","type":"text"},{"key":"Authorization","value":"","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"items\": [\n        {\n            \"id\": \"string\",\n            \"receiptNumber\": \"string\",\n            \"companyRegistrationNumber\": \"string\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/payment-account-transactions/api/Receipt/UpdateReceipt","description":"<p>Updates one or more receipts with their corresponding receipt numbers and company registration numbers.</p>\n<h2 id=\"endpoint\">Endpoint</h2>\n<p><code>POST /payment-account-transactions/api/Receipt/UpdateReceipt</code></p>\n<h2 id=\"authentication\">Authentication</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Header</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>Authorization</code></td>\n<td>token for authenticating the request.</td>\n</tr>\n<tr>\n<td><code>x-organization-id</code></td>\n<td>The organization identifier scoping the request.</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"request-body\">Request Body</h2>\n<p>Content-Type: <code>application/json</code></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"items\": [\n    {\n      \"id\": \"string\",\n      \"receiptNumber\": \"string\",\n      \"companyRegistrationNumber\": \"string\"\n    }\n  ]\n}\n\n</code></pre>\n<h3 id=\"body-parameters\">Body Parameters</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>items</code></td>\n<td>array</td>\n<td>✅ Required</td>\n<td>List of receipt objects to update.</td>\n</tr>\n<tr>\n<td><code>items[].id</code></td>\n<td>string</td>\n<td>✅ Required</td>\n<td>The unique identifier of the receipt to update.</td>\n</tr>\n<tr>\n<td><code>items[].receiptNumber</code></td>\n<td>string</td>\n<td>Optional</td>\n<td>The receipt number to assign to the receipt.</td>\n</tr>\n<tr>\n<td><code>items[].companyRegistrationNumber</code></td>\n<td>string</td>\n<td>Optional</td>\n<td>The company registration number associated with the receipt.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["payment-account-transactions","api","Receipt","UpdateReceipt"],"host":["api","stage","cal-platform","com"],"query":[],"variable":[]}},"response":[{"id":"97bd1341-6435-4b77-b084-0722be4312fc","name":"UpdateReceipt","originalRequest":{"method":"POST","header":[{"key":"x-organization-id","value":"","type":"text"},{"key":"Authorization","value":"","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"items\": [\n        {\n            \"id\": \"string\",\n            \"receiptNumber\": \"string\",\n            \"companyRegistrationNumber\": \"string\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/payment-account-transactions/api/Receipt/UpdateReceipt"},"_postman_previewlanguage":"","header":[],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n  \"statusDescription\": \"string\",\n  \"statusCode\": 0,\n  \"sessionId\": \"string\",\n  \"httpStatus\": 0,\n  \"result\": {\n    \"receipts\": [\n      {\n        \"id\": \"string\",\n        \"organizationId\": \"string\",\n        \"transactionId\": \"string\",\n        \"fileId\": \"string\",\n        \"fileName\": \"string\",\n        \"fileExtension\": \"string\",\n        \"comment\": \"string\",\n        \"receiptNumber\": \"string\",\n        \"companyRegistrationNumber\": \"string\",\n        \"ocrStatus\": \"pending\",//success, failed\n        \"isOcrValid\": true,\n        \"ocrMerchantName\": \"string\",\n        \"ocrMerchantAddress\": \"string\",\n        \"ocrMerchantPhoneNumber\": \"string\",\n        \"ocrMerchantId\": \"string\",\n        \"ocrPos\": \"string\",\n        \"ocrCompanyRegistrationNumber\": \"string\",\n        \"ocrTransactionTimestamp\": \"2026-10-03T22:59:10.281Z\",\n        \"ocrTransactionAmount\": 0,\n        \"ocrTransactionCurrency\": 0,\n        \"ocrGratuity\": 0,\n        \"ocrTotalAmount\": 0,\n        \"ocrVat\": 0,\n        \"ocrCardBrand\": \"string\",\n        \"ocrMaskedCardFullNumber\": \"string\",\n        \"ocrCardExpiration\": \"string\",\n        \"ocrCardHolderName\": \"string\",\n        \"ocrAuthorizationId\": \"string\",\n        \"ocrRetrievalReferenceNumber\": \"string\",\n        \"ocrSystemTraceAuditNumber\": \"string\",\n        \"ocrReceiptNumber\": \"string\",\n        \"ocrBatchNumber\": \"string\",\n        \"isTransactionAmountValid\": true,\n        \"isMerchantNameValid\": true,\n        \"isTransactionTimestampValid\": true,\n        \"isAuthorizationIdValid\": true,\n        \"isTransactionCurrencyValid\": true,\n        \"isMerchantIdValid\": true\n      }\n    ]\n  }\n}"}],"_postman_id":"b72b8798-6f90-4d72-bece-3761c922927c"},{"name":"GetReceiptsOcrData","id":"e2fd0afd-e498-49d1-b54b-8fd42155cb13","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"x-organization-id","value":"","type":"text"},{"key":"Authorization","value":"","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"transactionId\": \"string\",\n    \"userIds\": [\n        \"string\"\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/payment-account-transactions/api/Receipt/GetReceiptsOcrData","description":"<p>Retrieves OCR (Optical Character Recognition) data for one or more receipts associated with a specific transaction.</p>\n<h2 id=\"request-headers\">Request Headers</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Header</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>x-organization-id</code></td>\n<td>The organization identifier scoping the request.</td>\n</tr>\n<tr>\n<td><code>Authorization</code></td>\n<td>Bearer token used to authenticate the request.</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"request-body\">Request Body</h2>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"transactionId\": \"string\",\n    \"userIds\": [\n        \"string\"\n    ]\n}\n</code></pre>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>transactionId</code></td>\n<td>string</td>\n<td>✅ Required</td>\n<td>The unique identifier of the transaction whose receipt OCR data is being requested.</td>\n</tr>\n<tr>\n<td><code>userIds</code></td>\n<td>string[]</td>\n<td>Optional</td>\n<td>A list of user IDs associated with the receipts to retrieve. Subject to caller scope — see User Scoping below.</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"user-scoping\">User Scoping</h3>\n<ul>\n<li>Unscoped caller (admin / B2B token): the requested <code>userIds</code> are applied as sent; omit them and no user filter is applied.</li>\n<li>User-scoped caller (B2C token): results are limited to the <strong>intersection</strong> of the requested <code>userIds</code> and the token's own users; omit them and the token's own users are used.</li>\n<li>If the intersection is empty, the request is rejected with <code>InsufficientPermissions</code> (status <code>12</code>).</li>\n</ul>\n","urlObject":{"protocol":"https","path":["payment-account-transactions","api","Receipt","GetReceiptsOcrData"],"host":["api","stage","cal-platform","com"],"query":[],"variable":[]}},"response":[{"id":"2dae7e18-fb06-4204-8370-918b2b69a34e","name":"GetReceiptsOcrData","originalRequest":{"method":"POST","header":[{"key":"x-organization-id","value":"","type":"text"},{"key":"Authorization","value":"","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"transactionId\": \"string\",\n    \"userIds\": \"string\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/payment-account-transactions/api/Receipt/GetReceiptsOcrData"},"_postman_previewlanguage":"","header":[],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"result\": {\n        \"receipts\": [\n            {\n                \"id\": \"string\",\n                \"organizationId\": \"string\",\n                \"transactionId\": \"string\",\n                \"fileId\": \"string\",\n                \"fileName\": \"string\",\n                \"fileExtension\": \"string\",\n                \"comment\": \"string\",\n                \"receiptNumber\": \"string\",\n                \"companyRegistrationNumber\": \"string\",\n                \"ocrStatus\": \"success\", //pending, failed\n                \"isOcrValid\": true,\n                \"ocrMerchantName\": \"string\",\n                \"ocrMerchantAddress\": \"string\",\n                \"ocrMerchantPhoneNumber\": \"string\",\n                \"ocrMerchantId\": \"string\",\n                \"ocrPos\": \"string\",\n                \"ocrCompanyRegistrationNumber\": null,\n                \"ocrTransactionTimestamp\": \"2026-10-03T22:59:10.281Z\",\n                \"ocrTransactionAmount\": 0,\n                \"ocrTransactionCurrency\": 0,\n                \"ocrGratuity\": 0,\n                \"ocrTotalAmount\": 0,\n                \"ocrVat\": 0,\n                \"ocrCardBrand\": \"string\",\n                \"ocrMaskedCardFullNumber\": \"string\",\n                \"ocrCardExpiration\": \"string\",\n                \"ocrCardHolderName\": \"string\",\n                \"ocrAuthorizationId\": \"string\",\n                \"ocrRetrievalReferenceNumber\": \"string\",\n                \"ocrSystemTraceAuditNumber\": \"string\",\n                \"ocrReceiptNumber\": \"string\",\n                \"ocrBatchNumber\": \"string\",\n                \"isTransactionAmountValid\": true,\n                \"isTransactionCurrencyValid\": true,\n                \"isTransactionTimestampValid\": true,\n                \"isMerchantNameValid\": true,\n                \"isMerchantIdValid\": true,\n                \"isAuthorizationIdValid\": true\n            }\n        ]\n    },\n    \"statusDescription\": \"Success\",\n    \"statusCode\": 1,\n    \"sessionId\": \"string\",\n    \"httpStatus\": 200\n}"}],"_postman_id":"e2fd0afd-e498-49d1-b54b-8fd42155cb13"},{"name":"UpdateTransactionComment","id":"b8bb461c-66a2-d9a0-7f08-0f76a679eca0","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"},{"key":"X-Organization-Id","value":"{{OrganizationId}}"}],"body":{"mode":"raw","raw":"{\n    \"items\": [\n        {\n            \"id\": \"string\",\n            \"comment\": \"Q3 marketing\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/payment-account-transactions/api/Transactions/UpdateTransactionComment","description":"<p>Sets or clears the free-text <code>comment</code> on one or more transactions (ledger rows). Send <code>null</code> to clear an existing comment.</p>\n<hr />\n<h3 id=\"request-parameters\">Request Parameters</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field Name</th>\n<th>Required/Optional</th>\n<th>Type</th>\n<th>Description</th>\n<th>Example</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>items</code></td>\n<td>Required</td>\n<td>object[]</td>\n<td>Transactions to update. Must not be empty</td>\n<td>—</td>\n</tr>\n<tr>\n<td><code>items[].id</code></td>\n<td>Required</td>\n<td>string</td>\n<td>Transaction (ledger) ID to update</td>\n<td><code>\"8a1f2c3d-4b5e-6f70-8190-a1b2c3d4e5f6\"</code></td>\n</tr>\n<tr>\n<td><code>items[].comment</code></td>\n<td>Required</td>\n<td>string | null</td>\n<td>The comment to store. Max 50 characters. Allowed: letters, numbers, spaces, <code>-_.,#@+&amp;</code>. Trimmed before saving. <code>null</code> clears the comment</td>\n<td><code>\"Q3 marketing\"</code></td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"user-scoping\">User Scoping</h3>\n<p>The update runs through the user-scoped core client:</p>\n<ul>\n<li>Unscoped caller (admin / B2B token): any transaction in the organization may be updated.</li>\n<li>User-scoped caller (B2C token): only transactions belonging to the token's own users are updated.</li>\n<li>If nothing matched and no row was updated, the request fails with <code>TransactionNotFound</code> (status <code>2</code>).</li>\n</ul>\n<hr />\n<h3 id=\"response-fields\">Response Fields</h3>\n<p><code>transactions</code> — the updated ledger rows, in the same shape as <code>GetLedger</code>'s <code>transactions[]</code>. Commonly used fields:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>transactions</code></td>\n<td>array</td>\n</tr>\n<tr>\n<td><code>transactions[].pocketId</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>transactions[].customerId</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>transactions[].paymentDeviceId</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>transactions[].organizationId</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>transactions[].merchantName</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>transactions[].transactionAmount</code></td>\n<td>number</td>\n</tr>\n<tr>\n<td><code>transactions[].transactionCurrency</code></td>\n<td>number</td>\n</tr>\n<tr>\n<td><code>transactions[].clearanceStatus</code></td>\n<td><code>pending</code><br /><code>declined</code><br /><code>posted</code><br /><code>credit</code><br /><code>canceled</code><br /><code>expired</code></td>\n</tr>\n<tr>\n<td><code>transactions[].timestamp</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>transactions[].comment</code></td>\n<td>string</td>\n</tr>\n</tbody>\n</table>\n</div><blockquote>\n<p>See <code>GetLedger</code> for the full ledger field list. The updated <code>comment</code> is also returned by <code>GetTransactions</code> as <code>items[].comment</code>.</p>\n</blockquote>\n","urlObject":{"protocol":"https","path":["payment-account-transactions","api","Transactions","UpdateTransactionComment"],"host":["api","stage","cal-platform","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"b8bb461c-66a2-d9a0-7f08-0f76a679eca0"},{"name":"GetGLCodes","id":"7cea7225-b8ca-0cf1-212a-c02ee74941d5","request":{"method":"POST","header":[{"value":"application/json","key":"Content-Type"},{"value":"application/json","key":"Accept"},{"value":"{{CognitoToken}}","key":"Authorization"},{"value":"{{OrganizationId}}","key":"X-Organization-Id"}],"body":{"mode":"raw","raw":"{\n  \"pagination\": {\n    \"id\": \"string\",\n    \"createdAt\": \"2026-09-01T00:00:00.000Z\",\n    \"limit\": 50\n  },\n  \"includeTotalCount\": true,\n  \"filter\": {\n    \"glCodeIds\": [\"string\"],\n    \"codes\": [\"4000\"],\n    \"names\": [\"Travel\"],\n    \"statuses\": [\"active\"],\n    \"freeText\": \"trav\"\n  }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/payment-account-transactions/api/GLCodes/GetGLCodes","description":"<p>Returns the organization's GL (general ledger) codes, paginated. Each GL code carries a code, a display name and a status. Merchant values (POS ids, merchant ids, MCCs) attached to a code are read separately with <strong>GetGLMerchantRelations</strong>; entity attachments (initiatives, organization) with <strong>GetGLEntityRelations</strong>.</p>\n<hr />\n<h3 id=\"request-parameters\">Request Parameters</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field Name</th>\n<th>Required/Optional</th>\n<th>Type</th>\n<th>Description</th>\n<th>Example</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>pagination</code></td>\n<td>Optional</td>\n<td>object</td>\n<td>Cursor-based pagination. Omit to get the first page</td>\n<td>—</td>\n</tr>\n<tr>\n<td><code>pagination.id</code></td>\n<td>Optional</td>\n<td>string</td>\n<td>ID of the last item from the previous page</td>\n<td>\"gl-001\"</td>\n</tr>\n<tr>\n<td><code>pagination.createdAt</code></td>\n<td>Required (if pagination provided)</td>\n<td>string (ISO 8601)</td>\n<td>createdAt of the last item from the previous page</td>\n<td>\"2026-09-01T00:00:00.000Z\"</td>\n</tr>\n<tr>\n<td><code>pagination.limit</code></td>\n<td>Required (if pagination provided)</td>\n<td>number</td>\n<td>Page size. Max 3000</td>\n<td>50</td>\n</tr>\n<tr>\n<td><code>includeTotalCount</code></td>\n<td>Optional</td>\n<td>boolean</td>\n<td>If true, <code>totalCount</code> is returned (unbounded number of matches)</td>\n<td>true</td>\n</tr>\n<tr>\n<td><code>filter</code></td>\n<td>Optional</td>\n<td>object</td>\n<td>Narrows the result. All fields are AND-ed</td>\n<td>—</td>\n</tr>\n<tr>\n<td><code>filter.glCodeIds</code></td>\n<td>Optional</td>\n<td>string[]</td>\n<td>Filter by GL code IDs</td>\n<td>[\"gl-001\"]</td>\n</tr>\n<tr>\n<td><code>filter.codes</code></td>\n<td>Optional</td>\n<td>string[]</td>\n<td>Exact match on <code>code</code>. Max 50 chars each; letters, digits, space and <code>- _ . , # @ + &amp;</code> only</td>\n<td>[\"4000\"]</td>\n</tr>\n<tr>\n<td><code>filter.names</code></td>\n<td>Optional</td>\n<td>string[]</td>\n<td>Exact match on <code>name</code>. Same character rules as <code>codes</code></td>\n<td>[\"Travel\"]</td>\n</tr>\n<tr>\n<td><code>filter.statuses</code></td>\n<td>Optional</td>\n<td>GLCodeStatus[]</td>\n<td><code>active</code>, <code>deleted</code>. Default: active only</td>\n<td>[\"active\"]</td>\n</tr>\n<tr>\n<td><code>filter.freeText</code></td>\n<td>Optional</td>\n<td>string</td>\n<td>Case-insensitive contains-match across <code>code</code> and <code>name</code>. Max 50 chars</td>\n<td>\"trav\"</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"response-fields\">Response Fields</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>glCodes</code></td>\n<td>array</td>\n<td>The GL codes in this page</td>\n</tr>\n<tr>\n<td><code>glCodes[].id</code></td>\n<td>string</td>\n<td>GL code ID</td>\n</tr>\n<tr>\n<td><code>glCodes[].code</code></td>\n<td>string</td>\n<td>Accounting code</td>\n</tr>\n<tr>\n<td><code>glCodes[].name</code></td>\n<td>string</td>\n<td>Display name</td>\n</tr>\n<tr>\n<td><code>glCodes[].status</code></td>\n<td>GLCodeStatus</td>\n<td><code>active</code> or <code>deleted</code></td>\n</tr>\n<tr>\n<td><code>pagination</code></td>\n<td>object</td>\n<td>Cursor for the next page (<code>id</code>, <code>createdAt</code>). Absent on the last page</td>\n</tr>\n<tr>\n<td><code>totalCount</code></td>\n<td>number</td>\n<td>Present only when <code>includeTotalCount</code> is true</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"notes\">Notes</h3>\n<ul>\n<li>Results are scoped to the <code>X-Organization-Id</code> organization.</li>\n<li>Text filters are trimmed and validated against the GL character set; a value with other characters is rejected with a 400.</li>\n</ul>\n","urlObject":{"protocol":"https","path":["payment-account-transactions","api","GLCodes","GetGLCodes"],"host":["api","stage","cal-platform","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"7cea7225-b8ca-0cf1-212a-c02ee74941d5"},{"name":"CreateGLCodes","id":"ec5fc39e-be9e-9480-a913-dfb2aa4030a6","request":{"method":"POST","header":[{"value":"application/json","key":"Content-Type"},{"value":"application/json","key":"Accept"},{"value":"{{CognitoToken}}","key":"Authorization"},{"value":"{{OrganizationId}}","key":"X-Organization-Id"}],"body":{"mode":"raw","raw":"{\n  \"items\": [\n    {\n      \"code\": \"4000\",\n      \"name\": \"Travel\",\n      \"valuesToAdd\": {\n        \"pos\": [\"12345678\"],\n        \"merchantIds\": [\"987654321\"],\n        \"mccs\": [\"4511\", \"7011\"]\n      }\n    }\n  ]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/payment-account-transactions/api/GLCodes/CreateGLCodes","description":"<p>Creates one or more GL codes for the organization and attaches merchant values to each. A merchant value (POS id, merchant id or MCC) is what maps a transaction to a GL code: when a ledger transaction settles, its <code>glCode</code> / <code>glName</code> are resolved from the first attached value found, in the order <strong>POS → merchantId → MCC</strong>.</p>\n<hr />\n<h3 id=\"request-parameters\">Request Parameters</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field Name</th>\n<th>Required/Optional</th>\n<th>Type</th>\n<th>Description</th>\n<th>Example</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>items</code></td>\n<td>Required</td>\n<td>array</td>\n<td>GL codes to create. Non-empty</td>\n<td>—</td>\n</tr>\n<tr>\n<td><code>items[].code</code></td>\n<td>Required</td>\n<td>string</td>\n<td>Accounting code. Trimmed, max 50 chars; letters, digits, space and <code>- _ . , # @ + &amp;</code> only. Must be unique per organization among active codes</td>\n<td>\"4000\"</td>\n</tr>\n<tr>\n<td><code>items[].name</code></td>\n<td>Required</td>\n<td>string</td>\n<td>Display name. Same rules as <code>code</code></td>\n<td>\"Travel\"</td>\n</tr>\n<tr>\n<td><code>items[].valuesToAdd</code></td>\n<td>Required</td>\n<td>object</td>\n<td>Merchant values to attach. At least one of the three lists must be present</td>\n<td>—</td>\n</tr>\n<tr>\n<td><code>items[].valuesToAdd.pos</code></td>\n<td>Optional</td>\n<td>string[]</td>\n<td>POS identifiers. Max 50 chars each, max 10000 values</td>\n<td>[\"12345678\"]</td>\n</tr>\n<tr>\n<td><code>items[].valuesToAdd.merchantIds</code></td>\n<td>Optional</td>\n<td>string[]</td>\n<td>Merchant identifiers. Same limits</td>\n<td>[\"987654321\"]</td>\n</tr>\n<tr>\n<td><code>items[].valuesToAdd.mccs</code></td>\n<td>Optional</td>\n<td>string[]</td>\n<td>Merchant category codes. Must be known MCCs. Same limits</td>\n<td>[\"4511\"]</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"response-fields\">Response Fields</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>glCodeIds</code></td>\n<td>string[]</td>\n<td>IDs of the created GL codes, in request order</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"validation-rules\">Validation rules</h3>\n<ul>\n<li>The same <code>code</code> may not appear twice in one request, and may not already exist as an active GL code in the organization.</li>\n<li>A merchant value may be attached to <strong>one</strong> GL code only. A value already attached to another active GL code is rejected.</li>\n<li>Unknown MCC values are rejected.</li>\n<li>Codes attached at the organization level are managed with <strong>UpsertGLEntityRelations</strong>, not here.</li>\n</ul>\n","urlObject":{"protocol":"https","path":["payment-account-transactions","api","GLCodes","CreateGLCodes"],"host":["api","stage","cal-platform","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"ec5fc39e-be9e-9480-a913-dfb2aa4030a6"},{"name":"UpdateGLCodes","id":"f63d0a29-3940-bb68-dd32-0f0a4943333b","request":{"method":"POST","header":[{"value":"application/json","key":"Content-Type"},{"value":"application/json","key":"Accept"},{"value":"{{CognitoToken}}","key":"Authorization"},{"value":"{{OrganizationId}}","key":"X-Organization-Id"}],"body":{"mode":"raw","raw":"{\n  \"items\": [\n    {\n      \"id\": \"string\",\n      \"code\": \"4001\",\n      \"name\": \"Travel & Lodging\",\n      \"valuesToAdd\": {\n        \"mccs\": [\"7011\"]\n      },\n      \"valuesToRemove\": {\n        \"pos\": [\"12345678\"]\n      }\n    }\n  ]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/payment-account-transactions/api/GLCodes/UpdateGLCodes","description":"<p>Updates one or more GL codes: rename, change the code, and add or remove merchant values as a delta. Only the fields sent are changed.</p>\n<hr />\n<h3 id=\"request-parameters\">Request Parameters</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field Name</th>\n<th>Required/Optional</th>\n<th>Type</th>\n<th>Description</th>\n<th>Example</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>items</code></td>\n<td>Required</td>\n<td>array</td>\n<td>GL codes to update. Non-empty; the same <code>id</code> may not appear twice</td>\n<td>—</td>\n</tr>\n<tr>\n<td><code>items[].id</code></td>\n<td>Required</td>\n<td>string</td>\n<td>GL code ID</td>\n<td>\"gl-001\"</td>\n</tr>\n<tr>\n<td><code>items[].code</code></td>\n<td>Optional</td>\n<td>string</td>\n<td>New accounting code. Trimmed, max 50 chars, GL character set. Must stay unique among the organization's active codes</td>\n<td>\"4001\"</td>\n</tr>\n<tr>\n<td><code>items[].name</code></td>\n<td>Optional</td>\n<td>string</td>\n<td>New display name. Same rules</td>\n<td>\"Travel &amp; Lodging\"</td>\n</tr>\n<tr>\n<td><code>items[].valuesToAdd</code></td>\n<td>Optional</td>\n<td>object</td>\n<td>Merchant values to attach (<code>pos</code>, <code>merchantIds</code>, <code>mccs</code> lists; at least one when the object is sent)</td>\n<td>—</td>\n</tr>\n<tr>\n<td><code>items[].valuesToRemove</code></td>\n<td>Optional</td>\n<td>object</td>\n<td>Merchant values to detach. Same shape</td>\n<td>—</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"response-fields\">Response Fields</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>glCodes</code></td>\n<td>array</td>\n<td>The updated GL codes</td>\n</tr>\n<tr>\n<td><code>glCodes[].id</code></td>\n<td>string</td>\n<td>GL code ID</td>\n</tr>\n<tr>\n<td><code>glCodes[].code</code></td>\n<td>string</td>\n<td>Accounting code after the update</td>\n</tr>\n<tr>\n<td><code>glCodes[].name</code></td>\n<td>string</td>\n<td>Display name after the update</td>\n</tr>\n<tr>\n<td><code>glCodes[].status</code></td>\n<td>GLCodeStatus</td>\n<td><code>active</code></td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"validation-rules\">Validation rules</h3>\n<ul>\n<li>An item with no <code>code</code>, <code>name</code>, <code>valuesToAdd</code> or <code>valuesToRemove</code> is rejected (nothing to update).</li>\n<li>The same value may not appear in both <code>valuesToAdd</code> and <code>valuesToRemove</code> of one item.</li>\n<li>A value being added may not already be attached to another active GL code; a value being re-added to the code that already holds it is rejected as already assigned.</li>\n<li>A GL code must keep at least one merchant value: a removal that would leave it empty is rejected.</li>\n<li>Unknown MCC values are rejected. Referencing a GL code that does not exist (or is deleted) is rejected.</li>\n</ul>\n","urlObject":{"protocol":"https","path":["payment-account-transactions","api","GLCodes","UpdateGLCodes"],"host":["api","stage","cal-platform","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"f63d0a29-3940-bb68-dd32-0f0a4943333b"},{"name":"GetGLEntityRelations","id":"bf2f20d1-8d52-fc18-cb82-26e8fc8bc1c5","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"},{"key":"X-Organization-Id","value":"{{OrganizationId}}"}],"body":{"mode":"raw","raw":"{\n  \"pagination\": {\n    \"createdAt\": \"2026-09-01T00:00:00.000Z\",\n    \"limit\": 50\n  },\n  \"includeTotalCount\": true,\n  \"filter\": {\n    \"glCodeIds\": [\"string\"],\n    \"relatedEntityTypes\": [\"initiative\"],\n    \"relatedEntityIds\": [\"string\"]\n  }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/payment-account-transactions/api/GLCodes/GetGLEntityRelations","description":"<p>Returns the entity attachments of GL codes: which GL code is the default for an initiative, or for the whole organization. An entity relation is used when a transaction has no merchant-value match (POS / merchantId / MCC) — the transaction's initiative relation applies first, then the organization-level relation.</p>\n<hr />\n<h3 id=\"request-parameters\">Request Parameters</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field Name</th>\n<th>Required/Optional</th>\n<th>Type</th>\n<th>Description</th>\n<th>Example</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>pagination</code></td>\n<td>Optional</td>\n<td>object</td>\n<td>Cursor-based pagination (<code>id</code>, <code>createdAt</code>, <code>limit</code>). Omit for the first page</td>\n<td>—</td>\n</tr>\n<tr>\n<td><code>includeTotalCount</code></td>\n<td>Optional</td>\n<td>boolean</td>\n<td>If true, <code>totalCount</code> is returned</td>\n<td>true</td>\n</tr>\n<tr>\n<td><code>filter.glCodeIds</code></td>\n<td>Optional</td>\n<td>string[]</td>\n<td>Only relations of these GL codes</td>\n<td>[\"gl-001\"]</td>\n</tr>\n<tr>\n<td><code>filter.relatedEntityTypes</code></td>\n<td>Optional</td>\n<td>PaymentAccountEntity[]</td>\n<td><code>initiative</code>, <code>organization</code></td>\n<td>[\"initiative\"]</td>\n</tr>\n<tr>\n<td><code>filter.relatedEntityIds</code></td>\n<td>Optional</td>\n<td>string[]</td>\n<td>Only relations of these entities (initiative IDs or the organization ID)</td>\n<td>[\"init-001\"]</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"response-fields\">Response Fields</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>glEntityRelations</code></td>\n<td>array</td>\n<td>Relations in this page</td>\n</tr>\n<tr>\n<td><code>glEntityRelations[].id</code></td>\n<td>string</td>\n<td>Relation ID</td>\n</tr>\n<tr>\n<td><code>glEntityRelations[].glCodeId</code></td>\n<td>string</td>\n<td>GL code</td>\n</tr>\n<tr>\n<td><code>glEntityRelations[].relatedEntityType</code></td>\n<td>PaymentAccountEntity</td>\n<td><code>initiative</code> or <code>organization</code></td>\n</tr>\n<tr>\n<td><code>glEntityRelations[].relatedEntityId</code></td>\n<td>string</td>\n<td>Initiative ID or organization ID</td>\n</tr>\n<tr>\n<td><code>glEntityRelations[].organizationId</code></td>\n<td>string</td>\n<td>Owning organization</td>\n</tr>\n<tr>\n<td><code>glEntityRelations[].createdAt</code> / <code>updatedAt</code></td>\n<td>string (ISO 8601)</td>\n<td>Timestamps</td>\n</tr>\n<tr>\n<td><code>pagination</code></td>\n<td>object</td>\n<td>Cursor for the next page</td>\n</tr>\n<tr>\n<td><code>totalCount</code></td>\n<td>number</td>\n<td>Present only when <code>includeTotalCount</code> is true</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["payment-account-transactions","api","GLCodes","GetGLEntityRelations"],"host":["api","stage","cal-platform","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"bf2f20d1-8d52-fc18-cb82-26e8fc8bc1c5"},{"name":"UpsertGLEntityRelations","id":"fd515487-e5f8-9c27-6edd-af6e9facfd16","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"},{"key":"X-Organization-Id","value":"{{OrganizationId}}"}],"body":{"mode":"raw","raw":"{\n  \"items\": [\n    {\n      \"relatedEntityType\": \"initiative\",\n      \"relatedEntityId\": \"string\",\n      \"glCodeId\": \"string\"\n    },\n    {\n      \"relatedEntityType\": \"organization\",\n      \"relatedEntityId\": \"{{OrganizationId}}\",\n      \"glCodeId\": \"string\"\n    }\n  ]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/payment-account-transactions/api/GLCodes/UpsertGLEntityRelations","description":"<p>Sets the default GL code of an initiative, or of the organization. One entity holds at most one relation: sending a relation for an entity that already has one <strong>replaces</strong> it. The same GL code may be attached to several entities in one request.</p>\n<hr />\n<h3 id=\"request-parameters\">Request Parameters</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field Name</th>\n<th>Required/Optional</th>\n<th>Type</th>\n<th>Description</th>\n<th>Example</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>items</code></td>\n<td>Required</td>\n<td>array</td>\n<td>Relations to create or replace. Non-empty; the same <code>relatedEntityId</code> may not appear twice</td>\n<td>—</td>\n</tr>\n<tr>\n<td><code>items[].relatedEntityType</code></td>\n<td>Required</td>\n<td>PaymentAccountEntity</td>\n<td><code>initiative</code> or <code>organization</code></td>\n<td>\"initiative\"</td>\n</tr>\n<tr>\n<td><code>items[].relatedEntityId</code></td>\n<td>Required</td>\n<td>string</td>\n<td>Initiative ID, or the organization ID when <code>relatedEntityType</code> is <code>organization</code></td>\n<td>\"init-001\"</td>\n</tr>\n<tr>\n<td><code>items[].glCodeId</code></td>\n<td>Required</td>\n<td>string</td>\n<td>GL code to attach. Must be an active GL code of the organization</td>\n<td>\"gl-001\"</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"response-fields\">Response Fields</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>glEntityRelations</code></td>\n<td>array</td>\n<td>The relations as stored (<code>id</code>, <code>glCodeId</code>, <code>relatedEntityType</code>, <code>relatedEntityId</code>, <code>organizationId</code>, <code>createdAt</code>, <code>updatedAt</code>)</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"validation-rules\">Validation rules</h3>\n<ul>\n<li><code>relatedEntityId</code> may equal the <code>X-Organization-Id</code> only when <code>relatedEntityType</code> is <code>organization</code>; an <code>organization</code> relation must name the caller's own organization.</li>\n<li>Initiatives must exist in the organization.</li>\n<li>The GL code must exist and be active.</li>\n</ul>\n","urlObject":{"protocol":"https","path":["payment-account-transactions","api","GLCodes","UpsertGLEntityRelations"],"host":["api","stage","cal-platform","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"fd515487-e5f8-9c27-6edd-af6e9facfd16"},{"name":"DeleteGLEntityRelations","id":"99bff24d-f9e8-aea4-4348-a2997526615f","request":{"method":"POST","header":[{"value":"application/json","key":"Content-Type"},{"value":"application/json","key":"Accept"},{"value":"{{CognitoToken}}","key":"Authorization"},{"value":"{{OrganizationId}}","key":"X-Organization-Id"}],"body":{"mode":"raw","raw":"{\n  \"relatedEntityIds\": [\"string\"]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/payment-account-transactions/api/GLCodes/DeleteGLEntityRelations","description":"<p>Removes the default GL code from the given entities (initiatives, or the organization itself). Transactions on those entities fall back to merchant-value matching only.</p>\n<hr />\n<h3 id=\"request-parameters\">Request Parameters</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field Name</th>\n<th>Required/Optional</th>\n<th>Type</th>\n<th>Description</th>\n<th>Example</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>relatedEntityIds</code></td>\n<td>Required</td>\n<td>string[]</td>\n<td>Initiative IDs and/or the organization ID whose GL relation should be removed. Non-empty</td>\n<td>[\"init-001\"]</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"response\">Response</h3>\n<p>Empty <code>result</code> on success (<code>statusCode: 1</code>). Entities without a relation are ignored.</p>\n","urlObject":{"protocol":"https","path":["payment-account-transactions","api","GLCodes","DeleteGLEntityRelations"],"host":["api","stage","cal-platform","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"99bff24d-f9e8-aea4-4348-a2997526615f"},{"name":"GetGLMerchantRelations","id":"e430452c-1b3a-d89b-f54c-22e0ec35bb8c","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"},{"key":"X-Organization-Id","value":"{{OrganizationId}}"}],"body":{"mode":"raw","raw":"{\n  \"pagination\": {\n    \"createdAt\": \"2026-09-01T00:00:00.000Z\",\n    \"limit\": 100\n  },\n  \"includeTotalCount\": true,\n  \"filter\": {\n    \"glCodeIds\": [\"string\"],\n    \"types\": [\"mcc\"],\n    \"values\": [\"4511\"]\n  }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/payment-account-transactions/api/GLCodes/GetGLMerchantRelations","description":"<p>Returns the merchant values attached to GL codes: one row per (GL code, type, value). Use it to see which POS ids, merchant ids and MCCs map to a GL code, or to find which GL code a given value belongs to. Values are written through <strong>CreateGLCodes</strong> / <strong>UpdateGLCodes</strong> (<code>valuesToAdd</code> / <code>valuesToRemove</code>).</p>\n<hr />\n<h3 id=\"request-parameters\">Request Parameters</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field Name</th>\n<th>Required/Optional</th>\n<th>Type</th>\n<th>Description</th>\n<th>Example</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>pagination</code></td>\n<td>Optional</td>\n<td>object</td>\n<td>Cursor-based pagination (<code>id</code>, <code>createdAt</code>, <code>limit</code>). Omit for the first page</td>\n<td>—</td>\n</tr>\n<tr>\n<td><code>includeTotalCount</code></td>\n<td>Optional</td>\n<td>boolean</td>\n<td>If true, <code>totalCount</code> is returned</td>\n<td>true</td>\n</tr>\n<tr>\n<td><code>filter.glCodeIds</code></td>\n<td>Optional</td>\n<td>string[]</td>\n<td>Only values of these GL codes</td>\n<td>[\"gl-001\"]</td>\n</tr>\n<tr>\n<td><code>filter.types</code></td>\n<td>Optional</td>\n<td>GLMerchantRelationType[]</td>\n<td><code>pos</code>, <code>merchantId</code>, <code>mcc</code></td>\n<td>[\"mcc\"]</td>\n</tr>\n<tr>\n<td><code>filter.values</code></td>\n<td>Optional</td>\n<td>string[]</td>\n<td>Exact values to look up. Max 50 chars each</td>\n<td>[\"4511\"]</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"response-fields\">Response Fields</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>glMerchantRelations</code></td>\n<td>array</td>\n<td>Relations in this page</td>\n</tr>\n<tr>\n<td><code>glMerchantRelations[].id</code></td>\n<td>string</td>\n<td>Relation ID</td>\n</tr>\n<tr>\n<td><code>glMerchantRelations[].glCodeId</code></td>\n<td>string</td>\n<td>GL code</td>\n</tr>\n<tr>\n<td><code>glMerchantRelations[].type</code></td>\n<td>GLMerchantRelationType</td>\n<td><code>pos</code>, <code>merchantId</code> or <code>mcc</code></td>\n</tr>\n<tr>\n<td><code>glMerchantRelations[].value</code></td>\n<td>string</td>\n<td>The POS id, merchant id or MCC</td>\n</tr>\n<tr>\n<td><code>glMerchantRelations[].organizationId</code></td>\n<td>string</td>\n<td>Owning organization</td>\n</tr>\n<tr>\n<td><code>glMerchantRelations[].createdAt</code> / <code>updatedAt</code></td>\n<td>string (ISO 8601)</td>\n<td>Timestamps</td>\n</tr>\n<tr>\n<td><code>pagination</code></td>\n<td>object</td>\n<td>Cursor for the next page</td>\n</tr>\n<tr>\n<td><code>totalCount</code></td>\n<td>number</td>\n<td>Present only when <code>includeTotalCount</code> is true</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["payment-account-transactions","api","GLCodes","GetGLMerchantRelations"],"host":["api","stage","cal-platform","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"e430452c-1b3a-d89b-f54c-22e0ec35bb8c"},{"name":"UpdateTransactionGL","id":"f2c3fd87-1fdc-1bb9-cb28-1993b49171a8","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"},{"key":"X-Organization-Id","value":"{{OrganizationId}}"}],"body":{"mode":"raw","raw":"{\n  \"items\": [\n    {\n      \"id\": \"string\",\n      \"glCodeId\": \"string\"\n    }\n  ]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/payment-account-transactions/api/Transactions/UpdateTransactionGL","description":"<p>Assigns a GL code to specific ledger transactions, overriding the value resolved automatically from merchant values or entity relations. The transaction's <code>glCode</code> and <code>glName</code> are set from the GL code.</p>\n<p>This is the <strong>user-scoped</strong> variant: the caller may only update transactions of pockets they are related to (B2C token scope). Administrators use <strong>UpdateTransactionGLByAdmin</strong>.</p>\n<hr />\n<h3 id=\"request-parameters\">Request Parameters</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field Name</th>\n<th>Required/Optional</th>\n<th>Type</th>\n<th>Description</th>\n<th>Example</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>items</code></td>\n<td>Required</td>\n<td>array</td>\n<td>Assignments. Non-empty</td>\n<td>—</td>\n</tr>\n<tr>\n<td><code>items[].id</code></td>\n<td>Required</td>\n<td>string</td>\n<td>Ledger transaction ID</td>\n<td>\"tx-001\"</td>\n</tr>\n<tr>\n<td><code>items[].glCodeId</code></td>\n<td>Required</td>\n<td>string</td>\n<td>Active GL code of the organization</td>\n<td>\"gl-001\"</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"response-fields\">Response Fields</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>transactions</code></td>\n<td>array</td>\n<td>The updated ledger rows (same shape as <strong>GetLedger</strong> <code>transactions[]</code>), including the new <code>glCode</code> and <code>glName</code></td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"notes\">Notes</h3>\n<ul>\n<li>A transaction outside the caller's user scope is rejected with <code>InsufficientPermissions</code> (status <code>12</code>).</li>\n<li>A GL code that does not exist or is deleted is rejected (<code>GLCodeNotFound</code>, status <code>18</code>).</li>\n</ul>\n","urlObject":{"protocol":"https","path":["payment-account-transactions","api","Transactions","UpdateTransactionGL"],"host":["api","stage","cal-platform","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"f2c3fd87-1fdc-1bb9-cb28-1993b49171a8"},{"name":"UpdateTransactionGLByAdmin","id":"8385d6c8-cef7-50bb-619f-94bbce905f42","request":{"method":"POST","header":[{"value":"application/json","key":"Content-Type"},{"value":"application/json","key":"Accept"},{"value":"{{CognitoToken}}","key":"Authorization"},{"value":"{{OrganizationId}}","key":"X-Organization-Id"}],"body":{"mode":"raw","raw":"{\n  \"items\": [\n    {\n      \"id\": \"string\",\n      \"glCodeId\": \"string\"\n    }\n  ]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/payment-account-transactions/api/Transactions/UpdateTransactionGLByAdmin","description":"<p>Administrator variant of <strong>UpdateTransactionGL</strong>: assigns a GL code to any ledger transaction of the organization, without user-scope restriction. Requires the <code>UpdateTransactionGLByAdmin</code> scope.</p>\n<hr />\n<h3 id=\"request-parameters\">Request Parameters</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field Name</th>\n<th>Required/Optional</th>\n<th>Type</th>\n<th>Description</th>\n<th>Example</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>items</code></td>\n<td>Required</td>\n<td>array</td>\n<td>Assignments. Non-empty</td>\n<td>—</td>\n</tr>\n<tr>\n<td><code>items[].id</code></td>\n<td>Required</td>\n<td>string</td>\n<td>Ledger transaction ID</td>\n<td>\"tx-001\"</td>\n</tr>\n<tr>\n<td><code>items[].glCodeId</code></td>\n<td>Required</td>\n<td>string</td>\n<td>Active GL code of the organization</td>\n<td>\"gl-001\"</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"response-fields\">Response Fields</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>transactions</code></td>\n<td>array</td>\n<td>The updated ledger rows (same shape as <strong>GetLedger</strong> <code>transactions[]</code>), including the new <code>glCode</code> and <code>glName</code></td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["payment-account-transactions","api","Transactions","UpdateTransactionGLByAdmin"],"host":["api","stage","cal-platform","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"8385d6c8-cef7-50bb-619f-94bbce905f42"}],"id":"4c31e0ae-6ec6-419e-9fc4-566958d97cbd","_postman_id":"4c31e0ae-6ec6-419e-9fc4-566958d97cbd","description":""},{"name":"Onboarding","item":[{"name":"Initiatives","item":[{"name":"GetInitiatives","id":"6299885b-888b-4590-a429-f91c88bc5531","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"},{"key":"X-Organization-Id","value":"{{OrganizationId}}"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/payment-account-onboarding/api/Initiatives/GetInitiatives","description":"<p>Retrieves initiatives for the organization. An initiative is a named spending program that groups multiple pockets under a common purpose (e.g., \"Meal Allowance Q1 2024\"). Supports pagination and filtering by initiative ref IDs.</p>\n<hr />\n<h3 id=\"request-parameters\">Request Parameters</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field Name</th>\n<th>Required/Optional</th>\n<th>Type</th>\n<th>Description</th>\n<th>Example</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>pagination</td>\n<td>Optional</td>\n<td>object</td>\n<td>Cursor pagination</td>\n<td><code>{\"createdAt\": \"2024-01-01T00:00:00Z\", \"limit\": 20}</code></td>\n</tr>\n<tr>\n<td>refIds</td>\n<td>Optional</td>\n<td>string[] (UUID)</td>\n<td>Filter by initiative UUIDs</td>\n<td><code>[\"00000000-0000-0000-0000-000000000000\"]</code></td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["payment-account-onboarding","api","Initiatives","GetInitiatives"],"host":["api","stage","cal-platform","com"],"query":[],"variable":[]}},"response":[{"id":"06b9e244-f4e6-4b63-a8d2-ac38c8dd63dd","name":"GetInitiatives","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"},{"key":"X-Organization-Id","value":"{{OrganizationId}}"}],"url":"https://api.stage.cal-platform.com/payment-account-onboarding/api/Initiatives/GetInitiatives"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n  \"statusDescription\": \"string\",\n  \"statusCode\": 0,\n  \"sessionId\": \"string\",\n  \"httpStatus\": 0,\n  \"result\": {\n    \"initiatives\": [\n      {\n        \"id\": \"string\",\n        \"organizationId\": \"string\",\n        \"partnerId\": \"string\",\n        \"name\": \"string\",\n        \"authorizationPriority\": 0,\n        \"tags\": [\n          null\n        ],\n        \"balance\": 0,\n        \"currency\": 0,\n        \"isBlockRefundWithoutAuthorization\": true,\n        \"budgetId\": \"string\",\n        \"isReceiptRequired\": true,\n        \"isBlockPartialAuthorizationApproval\": true,\n        \"externalId\": \"string\",\n        \"isBlockDebitWithoutAuthorization\": true\n      }\n    ]\n  }\n}"}],"_postman_id":"6299885b-888b-4590-a429-f91c88bc5531"},{"name":"CreateInitiatives","id":"d39bdbd6-147e-4d5c-ab71-cbf97a511d09","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"},{"key":"X-Organization-Id","value":"{{OrganizationId}}"}],"body":{"mode":"raw","raw":"{\n    \"initiatives\": [\n        {\n            \"name\": \"testinit\",\n            \"balance\": 0,\n            \"currency\": 0,\n            \"authorizationPriority\": 0,\n            \"tags\": [\n                \"business\"\n            ],\n            \"isBlockRefundWithoutAuthorization\": true,\n            \"isInvoiceRequired\": true,\n            \"isBlockPartialAuthorizationApproval\": false\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/payment-account-onboarding/api/Initiatives/CreateInitiatives","description":"<p>Creates one or more new initiatives. Each initiative defines a spending program with a name, description, and associated pockets or policies.</p>\n<hr />\n<h3 id=\"request-parameters\">Request Parameters</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field Name</th>\n<th>Required/Optional</th>\n<th>Type</th>\n<th>Description</th>\n<th>Example</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>initiatives</td>\n<td>Required</td>\n<td>InitiativeDto[]</td>\n<td>Array of initiatives to create</td>\n<td><code>[{...}]</code></td>\n</tr>\n<tr>\n<td>initiatives[].name</td>\n<td>Required</td>\n<td>string</td>\n<td>Initiative display name</td>\n<td><code>\"Meal Allowance Q1\"</code></td>\n</tr>\n<tr>\n<td>initiatives[].description</td>\n<td>Optional</td>\n<td>string</td>\n<td>Description of the initiative</td>\n<td><code>\"Quarterly meal budget\"</code></td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"response-fields\">Response Fields</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>initiatives</code></td>\n<td>array</td>\n</tr>\n<tr>\n<td><code>initiatives[].id</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>initiatives[].organizationId</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>initiatives[].partnerId</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>initiatives[].name</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>initiatives[].authorizationPriority</code></td>\n<td>number</td>\n</tr>\n<tr>\n<td><code>initiatives[].tags</code></td>\n<td>array</td>\n</tr>\n<tr>\n<td><code>initiatives[].balance</code></td>\n<td>number</td>\n</tr>\n<tr>\n<td><code>initiatives[].currency</code></td>\n<td>number</td>\n</tr>\n<tr>\n<td><code>initiatives[].isBlockRefundWithoutAuthorization</code></td>\n<td>boolean</td>\n</tr>\n<tr>\n<td><code>initiatives[].budgetId</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>initiatives[].isReceiptRequired</code></td>\n<td>boolean</td>\n</tr>\n<tr>\n<td><code>initiatives[].isBlockPartialAuthorizationApproval</code></td>\n<td>boolean</td>\n</tr>\n<tr>\n<td><code>initiatives[].externalId</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>initiatives[].isBlockDebitWithoutAuthorization</code></td>\n<td>boolean</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["payment-account-onboarding","api","Initiatives","CreateInitiatives"],"host":["api","stage","cal-platform","com"],"query":[],"variable":[]}},"response":[{"id":"60269158-1c7d-40f0-b50c-b633112aba51","name":"CreateInitiatives","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"},{"key":"X-Organization-Id","value":"{{OrganizationId}}"}],"body":{"mode":"raw","raw":"{\n    \"initiatives\": [\n        {\n            \"name\": \"testinit\",\n            \"balance\": 0,\n            \"currency\": 0,\n            \"authorizationPriority\": 0,\n            \"tags\": [\n                \"business\"\n            ],\n            \"isBlockRefundWithoutAuthorization\": true,\n            \"isInvoiceRequired\": true,\n            \"isBlockPartialAuthorizationApproval\": false\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/payment-account-onboarding/api/Initiatives/CreateInitiatives"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n  \"statusDescription\": \"string\",\n  \"statusCode\": 0,\n  \"sessionId\": \"string\",\n  \"httpStatus\": 0,\n  \"result\": {\n    \"initiatives\": [\n      {\n        \"id\": \"string\",\n        \"organizationId\": \"string\",\n        \"partnerId\": \"string\",\n        \"name\": \"string\",\n        \"authorizationPriority\": 0,\n        \"tags\": [\n          null\n        ],\n        \"balance\": 0,\n        \"currency\": 0,\n        \"isBlockRefundWithoutAuthorization\": true,\n        \"budgetId\": \"string\",\n        \"isReceiptRequired\": true,\n        \"isBlockPartialAuthorizationApproval\": true,\n        \"externalId\": \"string\",\n        \"isBlockDebitWithoutAuthorization\": true\n      }\n    ]\n  }\n}"}],"_postman_id":"d39bdbd6-147e-4d5c-ab71-cbf97a511d09"},{"name":"UpdateInitiatives","id":"e3dd1573-7542-457d-9c26-c40224581783","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"},{"key":"X-Organization-Id","value":"{{OrganizationId}}"}],"body":{"mode":"raw","raw":"{\n  \"initiatives\": [\n    {\n      \"id\": \"string\",\n      \"name\": \"string\",\n      \"externalId\": \"string\",\n      \"authorizationPriority\": 1,\n      \"tags\": [\"businessBenefit\"],\n      \"isBlockRefundWithoutAuthorization\": true,\n      \"isReceiptRequired\": false,\n      \"isBlockPartialAuthorizationApproval\": false,\n      \"isBlockDebitWithoutAuthorization\": false\n    }\n  ]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/payment-account-onboarding/api/Initiatives/UpdateInitiatives","description":"<p>Updates one or more existing initiatives. Only the fields sent are changed. Pockets created from the initiative inherit its values at creation time and are not updated retroactively.</p>\n<hr />\n<h3 id=\"request-parameters\">Request Parameters</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field Name</th>\n<th>Required/Optional</th>\n<th>Type</th>\n<th>Description</th>\n<th>Example</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>initiatives</td>\n<td>Required</td>\n<td>object[]</td>\n<td>Array of initiatives to update</td>\n<td><code>[{...}]</code></td>\n</tr>\n<tr>\n<td>initiatives[].id</td>\n<td>Required</td>\n<td>string</td>\n<td>ID of the initiative to update</td>\n<td><code>\"00000000-0000-0000-0000-000000000000\"</code></td>\n</tr>\n<tr>\n<td>initiatives[].name</td>\n<td>Optional</td>\n<td>string</td>\n<td>New display name</td>\n<td><code>\"Updated Meal Allowance\"</code></td>\n</tr>\n<tr>\n<td>initiatives[].externalId</td>\n<td>Optional</td>\n<td>string</td>\n<td>External system reference</td>\n<td><code>\"ext-001\"</code></td>\n</tr>\n<tr>\n<td>initiatives[].authorizationPriority</td>\n<td>Optional</td>\n<td>number</td>\n<td>Positive; lower value = higher priority</td>\n<td><code>1</code></td>\n</tr>\n<tr>\n<td>initiatives[].tags</td>\n<td>Optional</td>\n<td>string[]</td>\n<td>Replaces the tags. The exclusive tag may move between <code>business</code> and <code>businessBenefit</code> (both directions); an initiative tagged <code>personal</code> cannot be changed to a business family tag, and vice versa</td>\n<td><code>[\"businessBenefit\"]</code></td>\n</tr>\n<tr>\n<td>initiatives[].isBlockRefundWithoutAuthorization</td>\n<td>Optional</td>\n<td>boolean</td>\n<td>Block refunds without prior authorization</td>\n<td><code>true</code></td>\n</tr>\n<tr>\n<td>initiatives[].isReceiptRequired</td>\n<td>Optional</td>\n<td>boolean</td>\n<td>Require a receipt for transactions</td>\n<td><code>false</code></td>\n</tr>\n<tr>\n<td>initiatives[].isBlockPartialAuthorizationApproval</td>\n<td>Optional</td>\n<td>boolean</td>\n<td>Block partial authorization approvals</td>\n<td><code>false</code></td>\n</tr>\n<tr>\n<td>initiatives[].isBlockDebitWithoutAuthorization</td>\n<td>Optional</td>\n<td>boolean</td>\n<td>Block debit transactions without authorization</td>\n<td><code>false</code></td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"response-fields\">Response Fields</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>initiatives</code></td>\n<td>array — the updated initiatives</td>\n</tr>\n<tr>\n<td><code>initiatives[].id</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>initiatives[].organizationId</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>initiatives[].partnerId</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>initiatives[].name</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>initiatives[].authorizationPriority</code></td>\n<td>number</td>\n</tr>\n<tr>\n<td><code>initiatives[].tags</code></td>\n<td>string[]</td>\n</tr>\n<tr>\n<td><code>initiatives[].balance</code></td>\n<td>number</td>\n</tr>\n<tr>\n<td><code>initiatives[].currency</code></td>\n<td>number</td>\n</tr>\n<tr>\n<td><code>initiatives[].budgetId</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>initiatives[].externalId</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>initiatives[].isBlockRefundWithoutAuthorization</code></td>\n<td>boolean</td>\n</tr>\n<tr>\n<td><code>initiatives[].isReceiptRequired</code></td>\n<td>boolean</td>\n</tr>\n<tr>\n<td><code>initiatives[].isBlockPartialAuthorizationApproval</code></td>\n<td>boolean</td>\n</tr>\n<tr>\n<td><code>initiatives[].isBlockDebitWithoutAuthorization</code></td>\n<td>boolean</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"notes\">Notes</h3>\n<ul>\n<li>A tag change that is not allowed, or any action outside the caller's permissions, returns <code>ForbiddenAction</code> (status <code>4</code>). An unknown initiative returns <code>NotFound</code> (status <code>3</code>).</li>\n</ul>\n","urlObject":{"protocol":"https","path":["payment-account-onboarding","api","Initiatives","UpdateInitiatives"],"host":["api","stage","cal-platform","com"],"query":[],"variable":[]}},"response":[{"id":"b2ce4aa2-0b72-4547-99c9-dc313a654e5b","name":"UpdateInitiatives","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"},{"key":"X-Organization-Id","value":"{{OrganizationId}}"}],"body":{"mode":"raw","raw":"{\\n    \"initiatives\": [\\n        {\\n            \"id\": \"string\",\\n            \"name\": \"string\",\\n            \"externalId\": \"string\",\\n            \"isBlockRefundWithoutAuthorization\": true,\\n            \"isReceiptRequired\": false,\\n            \"authorizationPriority\": 1,\\n            \"tags\": [\"business\"],\\n            \"isBlockPartialAuthorizationApproval\": false,\\n            \"isBlockDebitWithoutAuthorization\": false\\n        }\\n    ]\\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/payment-account-onboarding/api/Initiatives/UpdateInitiatives"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n  \"statusDescription\": \"string\",\n  \"statusCode\": 0,\n  \"sessionId\": \"string\",\n  \"httpStatus\": 0,\n  \"result\": {\n    \"initiatives\": [\n      {\n        \"id\": \"string\",\n        \"organizationId\": \"string\",\n        \"partnerId\": \"string\",\n        \"name\": \"string\",\n        \"authorizationPriority\": 0,\n        \"tags\": [\n          null\n        ],\n        \"balance\": 0,\n        \"currency\": 0,\n        \"isBlockRefundWithoutAuthorization\": true,\n        \"budgetId\": \"string\",\n        \"isReceiptRequired\": true,\n        \"isBlockPartialAuthorizationApproval\": true,\n        \"externalId\": \"string\",\n        \"isBlockDebitWithoutAuthorization\": true\n      }\n    ]\n  }\n}"}],"_postman_id":"e3dd1573-7542-457d-9c26-c40224581783"}],"id":"f9dc5625-2a30-4c8d-be0a-59b26a4d0973","_postman_id":"f9dc5625-2a30-4c8d-be0a-59b26a4d0973","description":""},{"name":"SpendeAccounts","item":[{"name":"GetSpendAccounts","id":"31085e70-2dca-429e-9a77-2d30cb96c98b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"},{"key":"X-Organization-Id","value":"{{OrganizationId}}"}],"body":{"mode":"raw","raw":"{\r\n  \"ids\": [\r\n    null\r\n  ],\r\n  \"relatedEntityIds\": [\r\n    null\r\n  ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/payment-account-onboarding/api/SpendAccounts/GetSpendAccounts","description":"<p>Retrieves spend accounts. Spend accounts hold the actual funds used for card transactions.</p>\n<hr />\n<h3 id=\"request-parameters\">Request Parameters</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field Name</th>\n<th>Required/Optional</th>\n<th>Type</th>\n<th>Description</th>\n<th>Example</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>ids</td>\n<td>Optional</td>\n<td>string[] (UUID)</td>\n<td>Filter by spend account IDs</td>\n<td><code>[\"00000000-0000-0000-0000-000000000000\"]</code></td>\n</tr>\n<tr>\n<td>relatedEntityIds</td>\n<td>Optional</td>\n<td>string[] (UUID)</td>\n<td>Filter by related entity IDs (e.g. pocket or budget IDs linked to this account)</td>\n<td><code>[\"00000000-0000-0000-0000-000000000000\"]</code></td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["payment-account-onboarding","api","SpendAccounts","GetSpendAccounts"],"host":["api","stage","cal-platform","com"],"query":[],"variable":[]}},"response":[{"id":"229b65ab-e674-4659-8be6-f301d4c573de","name":"GetSpendAccounts","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"},{"key":"X-Organization-Id","value":"{{OrganizationId}}"}],"body":{"mode":"raw","raw":"{\r\n  \"ids\": [\r\n    null\r\n  ],\r\n  \"relatedEntityIds\": [\r\n    null\r\n  ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/payment-account-onboarding/api/SpendAccounts/GetSpendAccounts"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n  \"statusDescription\": \"string\",\n  \"statusCode\": 0,\n  \"sessionId\": \"string\",\n  \"httpStatus\": 0,\n  \"result\": {\n    \"spendAccounts\": [\n      {\n        \"id\": \"string\",\n        \"organizationId\": \"string\",\n        \"relatedEntityId\": \"string\",\n        \"relatedEntityType\": \"issuer\",\n        \"code\": \"string\",\n        \"name\": \"string\",\n        \"currencies\": [\n          null\n        ],\n        \"currencyConversionCommissionPercentage\": 0,\n        \"cashWithdrawalCommissionPercentage\": 0\n      }\n    ]\n  }\n}"}],"_postman_id":"31085e70-2dca-429e-9a77-2d30cb96c98b"},{"name":"UpdateSpendAccounts","id":"8b41624a-267e-4177-9a65-40f9715033d2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"},{"key":"X-Organization-Id","value":"{{OrganizationId}}"}],"body":{"mode":"raw","raw":"{\r\n    \"spendAccounts\": [\r\n        {\r\n            \"id\": \"string\",\r\n            \"relatedEntityId\": \"string\",\r\n            \"relatedEntityType\": \"issuer\",\r\n            \"code\": \"string\",\r\n            \"name\": \"string\",\r\n            \"currencies\": [\r\n                null\r\n            ],\r\n            \"currencyConversionCommissionPercentage\": 0,\r\n            \"cashWithdrawalCommissionPercentage\": 0\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/payment-account-onboarding/api/SpendAccounts/UpdateSpendAccounts","description":"<p>Updates one or more existing spend accounts. You can modify the account name and configuration settings.</p>\n<hr />\n<h3 id=\"request-parameters\">Request Parameters</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field Name</th>\n<th>Required/Optional</th>\n<th>Type</th>\n<th>Description</th>\n<th>Example</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>spendAccounts</td>\n<td>Required</td>\n<td>SpendAccountDto[]</td>\n<td>Array of spend accounts to update</td>\n<td><code>[{...}]</code></td>\n</tr>\n<tr>\n<td>spendAccounts[].refId</td>\n<td>Required</td>\n<td>string (UUID)</td>\n<td>UUID of the spend account to update</td>\n<td><code>\"00000000-0000-0000-0000-000000000000\"</code></td>\n</tr>\n<tr>\n<td>spendAccounts[].name</td>\n<td>Optional</td>\n<td>string</td>\n<td>New display name</td>\n<td><code>\"Updated Budget Account\"</code></td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["payment-account-onboarding","api","SpendAccounts","UpdateSpendAccounts"],"host":["api","stage","cal-platform","com"],"query":[],"variable":[]}},"response":[{"id":"0335160e-e947-442f-898d-26b6588e5abe","name":"UpdateSpendAccounts","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"},{"key":"X-Organization-Id","value":"{{OrganizationId}}"}],"body":{"mode":"raw","raw":"{\r\n    \"spendAccounts\": [\r\n        {\r\n            \"id\": \"string\",\r\n            \"relatedEntityId\": \"string\",\r\n            \"relatedEntityType\": \"issuer\",\r\n            \"code\": \"string\",\r\n            \"name\": \"string\",\r\n            \"currencies\": [\r\n                null\r\n            ],\r\n            \"currencyConversionCommissionPercentage\": 0,\r\n            \"cashWithdrawalCommissionPercentage\": 0\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/payment-account-onboarding/api/SpendAccounts/UpdateSpendAccounts"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n  \"statusDescription\": \"string\",\n  \"statusCode\": 0,\n  \"sessionId\": \"string\",\n  \"httpStatus\": 0,\n  \"result\": {\n    \"spendAccounts\": [\n      {\n        \"id\": \"string\",\n        \"organizationId\": \"string\",\n        \"relatedEntityId\": \"string\",\n        \"relatedEntityType\": \"issuer\",\n        \"code\": \"string\",\n        \"name\": \"string\",\n        \"currencies\": [\n          null\n        ],\n        \"currencyConversionCommissionPercentage\": 0,\n        \"cashWithdrawalCommissionPercentage\": 0\n      }\n    ]\n  }\n}"}],"_postman_id":"8b41624a-267e-4177-9a65-40f9715033d2"},{"name":"CreateSpendAccounts","id":"0811e17f-d741-48d3-8e46-f9531f7178fa","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"},{"key":"X-Organization-Id","value":"{{OrganizationId}}"}],"body":{"mode":"raw","raw":"{\r\n    \"spendAccounts\": [\r\n        {\r\n            \"relatedEntityId\": \"string\",\r\n            \"relatedEntityType\": \"string\",\r\n            \"name\": \"string\",\r\n            \"code\": \"string\",\r\n            \"currencies\": [\r\n                0\r\n            ],\r\n            \"currencyConversionCommissionPercentage\": 0,\r\n            \"cashWithdrawalCommissionPercentage\": 0\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/payment-account-onboarding/api/SpendAccounts/CreateSpendAccounts","description":"<p>Creates one or more new spend accounts for the organization. Each spend account requires a name and currency configuration.</p>\n<hr />\n<h3 id=\"request-parameters\">Request Parameters</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field Name</th>\n<th>Required/Optional</th>\n<th>Type</th>\n<th>Description</th>\n<th>Example</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>spendAccounts</td>\n<td>Required</td>\n<td>SpendAccountDto[]</td>\n<td>Array of spend accounts to create</td>\n<td><code>[{...}]</code></td>\n</tr>\n<tr>\n<td>spendAccounts[].name</td>\n<td>Required</td>\n<td>string</td>\n<td>Account display name</td>\n<td><code>\"Main Budget Account\"</code></td>\n</tr>\n<tr>\n<td>spendAccounts[].currency</td>\n<td>Required</td>\n<td>number</td>\n<td>ISO 4217 numeric currency code</td>\n<td><code>376</code></td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"response-fields\">Response Fields</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>spendAccounts</code></td>\n<td>array</td>\n</tr>\n<tr>\n<td><code>spendAccounts[].id</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>spendAccounts[].organizationId</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>spendAccounts[].relatedEntityId</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>spendAccounts[].relatedEntityType</code></td>\n<td><code>issuer</code><br /><code>partner</code><br /><code>organization</code><br /><code>initiative</code><br /><code>paymentDevice</code><br /><code>customer</code><br /><code>pocket</code><br /><code>paymentDeviceProfile</code><br /><code>creditLine</code><br /><code>pocketBalanceSchedule</code><br /><code>ledger</code><br /><code>budget</code><br /><code>card</code><br /><code>mccGroup</code><br /><code>merchantGroup</code><br /><code>posGroup</code><br /><code>receipt</code><br /><code>spendAccount</code><br /><code>policy</code><br /><code>pendingPocket</code><br /><code>pocketRelatedParty</code></td>\n</tr>\n<tr>\n<td><code>spendAccounts[].code</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>spendAccounts[].name</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>spendAccounts[].currencies</code></td>\n<td>array</td>\n</tr>\n<tr>\n<td><code>spendAccounts[].currencyConversionCommissionPercentage</code></td>\n<td>number</td>\n</tr>\n<tr>\n<td><code>spendAccounts[].cashWithdrawalCommissionPercentage</code></td>\n<td>number</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["payment-account-onboarding","api","SpendAccounts","CreateSpendAccounts"],"host":["api","stage","cal-platform","com"],"query":[],"variable":[]}},"response":[{"id":"53d24806-779b-4d38-9ea5-b2054391806c","name":"CreateSpendAccounts","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"},{"key":"X-Organization-Id","value":"{{OrganizationId}}"}],"body":{"mode":"raw","raw":"{\r\n    \"spendAccounts\": [\r\n        {\r\n            \"relatedEntityId\": \"string\",\r\n            \"relatedEntityType\": \"string\",\r\n            \"name\": \"string\",\r\n            \"code\": \"string\",\r\n            \"currencies\": [\r\n                0\r\n            ],\r\n            \"currencyConversionCommissionPercentage\": 0,\r\n            \"cashWithdrawalCommissionPercentage\": 0\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/payment-account-onboarding/api/SpendAccounts/CreateSpendAccounts"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n  \"statusDescription\": \"string\",\n  \"statusCode\": 0,\n  \"sessionId\": \"string\",\n  \"httpStatus\": 0,\n  \"result\": {\n    \"spendAccounts\": [\n      {\n        \"id\": \"string\",\n        \"organizationId\": \"string\",\n        \"relatedEntityId\": \"string\",\n        \"relatedEntityType\": \"issuer\",\n        \"code\": \"string\",\n        \"name\": \"string\",\n        \"currencies\": [\n          null\n        ],\n        \"currencyConversionCommissionPercentage\": 0,\n        \"cashWithdrawalCommissionPercentage\": 0\n      }\n    ]\n  }\n}"}],"_postman_id":"0811e17f-d741-48d3-8e46-f9531f7178fa"},{"name":"DeleteSpendAccounts","id":"cba5a1f2-0f02-4f6b-88cb-c36324f04873","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"},{"key":"X-Organization-Id","value":"{{OrganizationId}}"}],"body":{"mode":"raw","raw":"{\n    \"ids\": [\n        null\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/payment-account-onboarding/api/SpendAccounts/DeleteSpendAccounts","description":"<p>Deletes one or more spend accounts for the authenticated organization.</p>\n<hr />\n<h3 id=\"request-parameters\">Request Parameters</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field Name</th>\n<th>Required/Optional</th>\n<th>Type</th>\n<th>Description</th>\n<th>Example</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>ids</code></td>\n<td>Required</td>\n<td>Array[String]</td>\n<td>List of spend account IDs to delete. Must not be empty.</td>\n<td><code>[\"abc123\", \"def456\"]</code></td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"response-fields\">Response Fields</h3>\n<p><em>No result data returned.</em></p>\n","urlObject":{"protocol":"https","path":["payment-account-onboarding","api","SpendAccounts","DeleteSpendAccounts"],"host":["api","stage","cal-platform","com"],"query":[],"variable":[]}},"response":[{"id":"5b8ae921-ce90-4991-8462-3fb040c91406","name":"DeleteSpendAccounts","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"},{"key":"X-Organization-Id","value":"{{OrganizationId}}"}],"body":{"mode":"raw","raw":"{\n    \"ids\": [\n        null\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/payment-account-onboarding/api/SpendAccounts/DeleteSpendAccounts"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n  \"statusDescription\": \"string\",\n  \"statusCode\": 0,\n  \"sessionId\": \"string\",\n  \"httpStatus\": 0,\n  \"result\": {}\n}"}],"_postman_id":"cba5a1f2-0f02-4f6b-88cb-c36324f04873"}],"id":"c6526623-10fb-47fc-b90a-b1f55098b9a6","_postman_id":"c6526623-10fb-47fc-b90a-b1f55098b9a6","description":""},{"name":"CreditLines","item":[{"name":"GetCreditLine","id":"8f857548-0994-4bfc-8c93-e496e7ef29f3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"},{"key":"X-Organization-Id","value":"{{OrganizationId}}"}],"url":"https://api.stage.cal-platform.com/payment-account-onboarding/api/CreditLines/GetCreditLine","description":"<p>Retrieves a specific credit line by its reference ID. A credit line defines the credit facility configuration for an organization, including the credit limit and repayment terms.</p>\n<hr />\n<h3 id=\"request-parameters\">Request Parameters</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field Name</th>\n<th>Required/Optional</th>\n<th>Type</th>\n<th>Description</th>\n<th>Example</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>refId</td>\n<td>Required</td>\n<td>string (UUID)</td>\n<td>UUID of the credit line to retrieve</td>\n<td><code>\"00000000-0000-0000-0000-000000000000\"</code></td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["payment-account-onboarding","api","CreditLines","GetCreditLine"],"host":["api","stage","cal-platform","com"],"query":[],"variable":[]}},"response":[{"id":"408d424e-c5ea-48a2-a0f5-c9b0d6515a0b","name":"GetCreditLine","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"},{"key":"X-Organization-Id","value":"{{OrganizationId}}"}],"url":"https://api.stage.cal-platform.com/payment-account-onboarding/api/CreditLines/GetCreditLine"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n  \"statusDescription\": \"string\",\n  \"statusCode\": 0,\n  \"sessionId\": \"string\",\n  \"httpStatus\": 0,\n  \"result\": {\n    \"creditLine\": {\n      \"id\": \"string\",\n      \"organizationId\": \"string\",\n      \"relatedEntityId\": \"string\",\n      \"relatedEntityType\": \"string\",\n      \"maximumCredit\": 0,\n      \"usedCredit\": 0,\n      \"currency\": 0,\n      \"periodType\": \"monthly\",\n      \"timezone\": \"string\",\n      \"from\": 0,\n      \"to\": 0\n    }\n  }\n}"}],"_postman_id":"8f857548-0994-4bfc-8c93-e496e7ef29f3"},{"name":"GetCreditLines","id":"6fac4985-6b85-4cea-b69b-8dbfda064ecb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"},{"key":"X-Organization-Id","value":"{{OrganizationId}}"}],"body":{"mode":"raw","raw":"{\r\n    \"ids\": [\r\n        \"string\"\r\n    ],\r\n    \"relatedEntityIds\": [\r\n        \"string\"\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/payment-account-onboarding/api/CreditLines/GetCreditLines","description":"<p>Retrieves credit lines. A credit line defines the credit limit and terms extended to an organization or cardholder.</p>\n<hr />\n<h3 id=\"request-parameters\">Request Parameters</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field Name</th>\n<th>Required/Optional</th>\n<th>Type</th>\n<th>Description</th>\n<th>Example</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>ids</td>\n<td>Optional</td>\n<td>string[] (UUID)</td>\n<td>Filter by credit line IDs</td>\n<td><code>[\"00000000-0000-0000-0000-000000000000\"]</code></td>\n</tr>\n<tr>\n<td>relatedEntityIds</td>\n<td>Optional</td>\n<td>string[] (UUID)</td>\n<td>Filter by related entity IDs linked to the credit lines</td>\n<td><code>[\"00000000-0000-0000-0000-000000000000\"]</code></td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["payment-account-onboarding","api","CreditLines","GetCreditLines"],"host":["api","stage","cal-platform","com"],"query":[],"variable":[]}},"response":[{"id":"77716910-98c6-4526-a234-eec4441b4275","name":"GetCreditLines","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"},{"key":"X-Organization-Id","value":"{{OrganizationId}}"}],"body":{"mode":"raw","raw":"{\r\n    \"ids\": [\r\n        \"string\"\r\n    ],\r\n    \"relatedEntityIds\": [\r\n        \"string\"\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/payment-account-onboarding/api/CreditLines/GetCreditLines"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n  \"statusDescription\": \"string\",\n  \"statusCode\": 0,\n  \"sessionId\": \"string\",\n  \"httpStatus\": 0,\n  \"result\": {\n    \"creditLines\": [\n      {\n        \"id\": \"string\",\n        \"organizationId\": \"string\",\n        \"relatedEntityId\": \"string\",\n        \"relatedEntityType\": \"string\",\n        \"maximumCredit\": 0,\n        \"usedCredit\": 0,\n        \"currency\": 0,\n        \"periodType\": \"monthly\",\n        \"timezone\": \"string\",\n        \"from\": 0,\n        \"to\": 0\n      }\n    ]\n  }\n}"}],"_postman_id":"6fac4985-6b85-4cea-b69b-8dbfda064ecb"},{"name":"CreateCreditLines","id":"275169e3-8c68-4a56-a969-fa7de0dbd913","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"},{"key":"X-Organization-Id","value":"{{OrganizationId}}"}],"body":{"mode":"raw","raw":"{\r\n    \"creditLines\": [\r\n        {\r\n            \"relatedEntityId\": \"string\",\r\n            \"relatedEntityType\": \"issuer\",\r\n            \"maximumCredit\": 0,\r\n            \"currency\": 0,\r\n            \"periodType\": \"monthly\",\r\n            \"timezone\": \"string\",\r\n            \"from\": 0,\r\n            \"to\": 0\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/payment-account-onboarding/api/CreditLines/CreateCreditLines","description":"<p>Creates a new credit line for the organization. Defines the credit facility parameters including the credit limit, currency, repayment schedule, and associated spend account.</p>\n<hr />\n<h3 id=\"request-parameters\">Request Parameters</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field Name</th>\n<th>Required/Optional</th>\n<th>Type</th>\n<th>Description</th>\n<th>Example</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>creditLines</td>\n<td>Required</td>\n<td>CreditLineDto[]</td>\n<td>Array of credit lines to create</td>\n<td><code>[{...}]</code></td>\n</tr>\n<tr>\n<td>creditLines[].limit</td>\n<td>Required</td>\n<td>number</td>\n<td>Credit limit in smallest currency unit</td>\n<td><code>100000</code></td>\n</tr>\n<tr>\n<td>creditLines[].currency</td>\n<td>Required</td>\n<td>number</td>\n<td>ISO 4217 numeric currency code</td>\n<td><code>376</code></td>\n</tr>\n<tr>\n<td>creditLines[].spendAccountRefId</td>\n<td>Required</td>\n<td>string (UUID)</td>\n<td>Linked spend account</td>\n<td><code>\"00000000-0000-0000-0000-000000000000\"</code></td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["payment-account-onboarding","api","CreditLines","CreateCreditLines"],"host":["api","stage","cal-platform","com"],"query":[],"variable":[]}},"response":[{"id":"6a11698c-6f12-42ba-b4c4-dc15d9ae5bda","name":"CreateCreditLines","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"},{"key":"X-Organization-Id","value":"{{OrganizationId}}"}],"body":{"mode":"raw","raw":"{\r\n    \"creditLines\": [\r\n        {\r\n            \"relatedEntityId\": \"string\",\r\n            \"relatedEntityType\": \"issuer\",\r\n            \"maximumCredit\": 0,\r\n            \"currency\": 0,\r\n            \"periodType\": \"monthly\",\r\n            \"timezone\": \"string\",\r\n            \"from\": 0,\r\n            \"to\": 0\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/payment-account-onboarding/api/CreditLines/CreateCreditLines"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n  \"statusDescription\": \"string\",\n  \"statusCode\": 0,\n  \"sessionId\": \"string\",\n  \"httpStatus\": 0,\n  \"result\": {\n    \"creditLines\": [\n      {\n        \"id\": \"string\",\n        \"organizationId\": \"string\",\n        \"relatedEntityId\": \"string\",\n        \"relatedEntityType\": \"string\",\n        \"maximumCredit\": 0,\n        \"usedCredit\": 0,\n        \"currency\": 0,\n        \"periodType\": \"monthly\",\n        \"timezone\": \"string\",\n        \"from\": 0,\n        \"to\": 0\n      }\n    ]\n  }\n}"}],"_postman_id":"275169e3-8c68-4a56-a969-fa7de0dbd913"},{"name":"UpdateCreditLines","id":"f420824b-2774-4714-a067-ac925780922f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"},{"key":"X-Organization-Id","value":"{{OrganizationId}}"}],"body":{"mode":"raw","raw":"{\r\n    \"creditLines\": [\r\n        {\r\n            \"id\": \"string\",\r\n            \"maximumCredit\": 0,\r\n            \"periodType\": \"monthly\",\r\n            \"timezone\": \"string\",\r\n            \"from\": 0,\r\n            \"to\": 0\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/payment-account-onboarding/api/CreditLines/UpdateCreditLines","description":"<p>Updates an existing credit line. You can modify the credit limit and repayment configuration.</p>\n<hr />\n<h3 id=\"request-parameters\">Request Parameters</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field Name</th>\n<th>Required/Optional</th>\n<th>Type</th>\n<th>Description</th>\n<th>Example</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>creditLines</td>\n<td>Required</td>\n<td>CreditLineDto[]</td>\n<td>Array of credit lines to update</td>\n<td><code>[{...}]</code></td>\n</tr>\n<tr>\n<td>creditLines[].refId</td>\n<td>Required</td>\n<td>string (UUID)</td>\n<td>UUID of the credit line to update</td>\n<td><code>\"00000000-0000-0000-0000-000000000000\"</code></td>\n</tr>\n<tr>\n<td>creditLines[].limit</td>\n<td>Optional</td>\n<td>number</td>\n<td>New credit limit</td>\n<td><code>200000</code></td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["payment-account-onboarding","api","CreditLines","UpdateCreditLines"],"host":["api","stage","cal-platform","com"],"query":[],"variable":[]}},"response":[{"id":"a26fb44b-d403-4285-8467-b8bd1cb6db54","name":"UpdateCreditLines","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"},{"key":"X-Organization-Id","value":"{{OrganizationId}}"}],"body":{"mode":"raw","raw":"{\r\n    \"creditLines\": [\r\n        {\r\n            \"id\": \"string\",\r\n            \"maximumCredit\": 0,\r\n            \"periodType\": \"monthly\",\r\n            \"timezone\": \"string\",\r\n            \"from\": 0,\r\n            \"to\": 0\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/payment-account-onboarding/api/CreditLines/UpdateCreditLines"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n  \"statusDescription\": \"string\",\n  \"statusCode\": 0,\n  \"sessionId\": \"string\",\n  \"httpStatus\": 0,\n  \"result\": {\n    \"creditLines\": [\n      {\n        \"id\": \"string\",\n        \"organizationId\": \"string\",\n        \"relatedEntityId\": \"string\",\n        \"relatedEntityType\": \"string\",\n        \"maximumCredit\": 0,\n        \"usedCredit\": 0,\n        \"currency\": 0,\n        \"periodType\": \"monthly\",\n        \"timezone\": \"string\",\n        \"from\": 0,\n        \"to\": 0\n      }\n    ]\n  }\n}"}],"_postman_id":"f420824b-2774-4714-a067-ac925780922f"}],"id":"93eadeed-99cd-45f4-81a0-ba99d0a0a134","_postman_id":"93eadeed-99cd-45f4-81a0-ba99d0a0a134","description":""},{"name":"Budgets","item":[{"name":"GetBudgets","id":"f090b1eb-c7fd-46a6-9956-10aa0e92d509","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"},{"key":"X-Organization-Id","value":"{{OrganizationId}}"}],"body":{"mode":"raw","raw":"{\r\n    \"pagination\": {\r\n        \"id\": \"string\",\r\n        \"createdAt\": \"2026-05-04T05:40:37.529Z\",\r\n        \"limit\": 0\r\n    },\r\n    \"filter\": {\r\n        \"ids\": [\r\n            \"string\"\r\n        ],\r\n        \"freeText\": \"string\",\r\n        \"statuses\": \"active\",\r\n        \"from\": \"2026-05-04T05:40:37.529Z\",\r\n        \"to\": \"2026-05-04T05:40:37.529Z\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/payment-account-onboarding/api/Budgets/GetBudgets","description":"<p>Retrieves budgets for the organization. A budget is a named allocation of funds within a spend account, used to track spending against a defined limit over a period.</p>\n<hr />\n<h3 id=\"request-parameters\">Request Parameters</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field Name</th>\n<th>Required/Optional</th>\n<th>Type</th>\n<th>Description</th>\n<th>Example</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>pagination</td>\n<td>Optional</td>\n<td>object</td>\n<td>Cursor pagination</td>\n<td><code>{\"createdAt\": \"2024-01-01T00:00:00Z\", \"limit\": 20}</code></td>\n</tr>\n<tr>\n<td>filter</td>\n<td>Optional</td>\n<td>object</td>\n<td>Filter criteria</td>\n<td></td>\n</tr>\n<tr>\n<td>filter.ids</td>\n<td>Optional</td>\n<td>string[] (UUID)</td>\n<td>Filter by budget IDs</td>\n<td><code>[\"00000000-0000-0000-0000-000000000000\"]</code></td>\n</tr>\n<tr>\n<td>filter.freeText</td>\n<td>Optional</td>\n<td>string</td>\n<td>Free-text search across budget fields</td>\n<td><code>\"marketing\"</code></td>\n</tr>\n<tr>\n<td>filter.statuses</td>\n<td>Optional</td>\n<td>string[]</td>\n<td>Filter by status.<br /><code>active</code><br /><code>inactive</code><br /><code>deleted</code></td>\n<td><code>[\"active\"]</code></td>\n</tr>\n<tr>\n<td>filter.from</td>\n<td>Optional</td>\n<td>string (ISO date)</td>\n<td>Filter by budget start date (inclusive)</td>\n<td><code>\"2024-01-01T00:00:00Z\"</code></td>\n</tr>\n<tr>\n<td>filter.to</td>\n<td>Optional</td>\n<td>string (ISO date)</td>\n<td>Filter by budget end date (inclusive)</td>\n<td><code>\"2024-12-31T00:00:00Z\"</code></td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["payment-account-onboarding","api","Budgets","GetBudgets"],"host":["api","stage","cal-platform","com"],"query":[],"variable":[]}},"response":[{"id":"558e7e6a-2584-486b-914e-0e0c6c0a6386","name":"GetBudgets","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"},{"key":"X-Organization-Id","value":"{{OrganizationId}}"}],"body":{"mode":"raw","raw":"{\r\n    \"pagination\": {\r\n        \"id\": \"string\",\r\n        \"createdAt\": \"2026-05-04T05:40:37.529Z\",\r\n        \"limit\": 0\r\n    },\r\n    \"filter\": {\r\n        \"ids\": [\r\n            \"string\"\r\n        ],\r\n        \"freeText\": \"string\",\r\n        \"statuses\": \"active\",\r\n        \"from\": \"2026-05-04T05:40:37.529Z\",\r\n        \"to\": \"2026-05-04T05:40:37.529Z\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/payment-account-onboarding/api/Budgets/GetBudgets"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n  \"statusDescription\": \"string\",\n  \"statusCode\": 0,\n  \"sessionId\": \"string\",\n  \"httpStatus\": 0,\n  \"result\": {\n    \"pagination\": {\n      \"id\": \"string\",\n      \"createdAt\": \"2026-05-04T05:40:37.536Z\"\n    },\n    \"budgets\": [\n      {\n        \"id\": \"string\",\n        \"name\": \"string\",\n        \"tags\": [\n          null\n        ],\n        \"maximumAmount\": 0,\n        \"aggregatedBalances\": 0,\n        \"usedAmount\": 0,\n        \"currency\": 0,\n        \"from\": \"2026-05-04T05:40:37.537Z\",\n        \"to\": \"2026-05-04T05:40:37.537Z\",\n        \"isEnforce\": true,\n        \"externalId\": \"string\",\n        \"organizationId\": \"string\",\n        \"status\": \"active\",\n        \"remainingBalance\": 0\n      }\n    ]\n  }\n}"}],"_postman_id":"f090b1eb-c7fd-46a6-9956-10aa0e92d509"},{"name":"CreateBudgets","id":"7775b119-7bf3-4be7-a62d-89d523565bc3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"},{"key":"X-Organization-Id","value":"{{OrganizationId}}"}],"body":{"mode":"raw","raw":"{\r\n    \"budgets\": [\r\n        {\r\n            \"name\": \"string\",\r\n            \"tags\": [\r\n                null\r\n            ],\r\n            \"maximumAmount\": 0,\r\n            \"currency\": 0,\r\n            \"from\": \"2026-05-04T05:41:39.409Z\",\r\n            \"to\": \"2026-05-04T05:41:39.409Z\",\r\n            \"isEnforce\": true,\r\n            \"externalId\": \"string\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/payment-account-onboarding/api/Budgets/CreateBudgets","description":"<p>Creates one or more new budgets for the organization. Each budget requires a name, amount, currency, and period configuration.</p>\n<hr />\n<h3 id=\"request-parameters\">Request Parameters</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field Name</th>\n<th>Required/Optional</th>\n<th>Type</th>\n<th>Description</th>\n<th>Example</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>budgets</td>\n<td>Required</td>\n<td>BudgetDto[]</td>\n<td>Array of budgets to create</td>\n<td><code>[{...}]</code></td>\n</tr>\n<tr>\n<td>budgets[].name</td>\n<td>Required</td>\n<td>string</td>\n<td>Budget display name</td>\n<td><code>\"Q1 2024 Meals\"</code></td>\n</tr>\n<tr>\n<td>budgets[].amount</td>\n<td>Required</td>\n<td>number</td>\n<td>Budget amount in smallest currency unit</td>\n<td><code>50000</code></td>\n</tr>\n<tr>\n<td>budgets[].currency</td>\n<td>Required</td>\n<td>number</td>\n<td>ISO 4217 numeric currency code</td>\n<td><code>376</code></td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"response-fields\">Response Fields</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>budgets</code></td>\n<td>array</td>\n</tr>\n<tr>\n<td><code>budgets[].id</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>budgets[].name</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>budgets[].tags</code></td>\n<td>array</td>\n</tr>\n<tr>\n<td><code>budgets[].maximumAmount</code></td>\n<td>number</td>\n</tr>\n<tr>\n<td><code>budgets[].aggregatedBalances</code></td>\n<td>number</td>\n</tr>\n<tr>\n<td><code>budgets[].usedAmount</code></td>\n<td>number</td>\n</tr>\n<tr>\n<td><code>budgets[].currency</code></td>\n<td>number</td>\n</tr>\n<tr>\n<td><code>budgets[].from</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>budgets[].to</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>budgets[].isEnforce</code></td>\n<td>boolean</td>\n</tr>\n<tr>\n<td><code>budgets[].externalId</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>budgets[].organizationId</code></td>\n<td>string</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["payment-account-onboarding","api","Budgets","CreateBudgets"],"host":["api","stage","cal-platform","com"],"query":[],"variable":[]}},"response":[{"id":"f5fbb06b-e909-4a9d-a783-e5c7cefc9312","name":"CreateBudgets","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"},{"key":"X-Organization-Id","value":"{{OrganizationId}}"}],"body":{"mode":"raw","raw":"{\r\n    \"budgets\": [\r\n        {\r\n            \"name\": \"string\",\r\n            \"tags\": [\r\n                null\r\n            ],\r\n            \"maximumAmount\": 0,\r\n            \"currency\": 0,\r\n            \"from\": \"2026-05-04T05:41:39.409Z\",\r\n            \"to\": \"2026-05-04T05:41:39.409Z\",\r\n            \"isEnforce\": true,\r\n            \"externalId\": \"string\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/payment-account-onboarding/api/Budgets/CreateBudgets"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n  \"statusDescription\": \"string\",\n  \"statusCode\": 0,\n  \"sessionId\": \"string\",\n  \"httpStatus\": 0,\n  \"result\": {\n    \"budgets\": [\n      {\n        \"id\": \"string\",\n        \"name\": \"string\",\n        \"tags\": [\n          null\n        ],\n        \"maximumAmount\": 0,\n        \"aggregatedBalances\": 0,\n        \"usedAmount\": 0,\n        \"currency\": 0,\n        \"from\": \"2026-05-04T05:41:39.416Z\",\n        \"to\": \"2026-05-04T05:41:39.416Z\",\n        \"isEnforce\": true,\n        \"externalId\": \"string\",\n        \"organizationId\": \"string\"\n      }\n    ]\n  }\n}"}],"_postman_id":"7775b119-7bf3-4be7-a62d-89d523565bc3"},{"name":"UpdateBudgets","id":"b904633a-f99e-4f1c-8e6f-609276439ef7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"},{"key":"X-Organization-Id","value":"{{OrganizationId}}"}],"body":{"mode":"raw","raw":"{\r\n    \"budgets\": [\r\n        {\r\n            \"id\": \"string\",\r\n            \"name\": \"string\",\r\n            \"tags\": [\r\n                null\r\n            ],\r\n            \"maximumAmount\": 0,\r\n            \"from\": \"2026-05-04T05:42:31.065Z\",\r\n            \"to\": \"2026-05-04T05:42:31.065Z\",\r\n            \"externalId\": \"string\",\r\n            \"isEnforce\": true\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/payment-account-onboarding/api/Budgets/UpdateBudgets","description":"<p>Updates one or more existing budgets. You can change the budget name, amount, and period configuration.</p>\n<hr />\n<h3 id=\"request-parameters\">Request Parameters</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field Name</th>\n<th>Required/Optional</th>\n<th>Type</th>\n<th>Description</th>\n<th>Example</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>budgets</td>\n<td>Required</td>\n<td>BudgetDto[]</td>\n<td>Array of budgets to update</td>\n<td><code>[{...}]</code></td>\n</tr>\n<tr>\n<td>budgets[].refId</td>\n<td>Required</td>\n<td>string (UUID)</td>\n<td>UUID of the budget to update</td>\n<td><code>\"00000000-0000-0000-0000-000000000000\"</code></td>\n</tr>\n<tr>\n<td>budgets[].name</td>\n<td>Optional</td>\n<td>string</td>\n<td>New display name</td>\n<td><code>\"Q1 2024 Updated Meals\"</code></td>\n</tr>\n<tr>\n<td>budgets[].amount</td>\n<td>Optional</td>\n<td>number</td>\n<td>New budget amount</td>\n<td><code>75000</code></td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["payment-account-onboarding","api","Budgets","UpdateBudgets"],"host":["api","stage","cal-platform","com"],"query":[],"variable":[]}},"response":[{"id":"f26781ca-7dad-472c-8417-93e317a4f120","name":"UpdateBudgets","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"},{"key":"X-Organization-Id","value":"{{OrganizationId}}"}],"body":{"mode":"raw","raw":"{\r\n    \"budgets\": [\r\n        {\r\n            \"id\": \"string\",\r\n            \"name\": \"string\",\r\n            \"tags\": [\r\n                null\r\n            ],\r\n            \"maximumAmount\": 0,\r\n            \"from\": \"2026-05-04T05:42:31.065Z\",\r\n            \"to\": \"2026-05-04T05:42:31.065Z\",\r\n            \"externalId\": \"string\",\r\n            \"isEnforce\": true\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/payment-account-onboarding/api/Budgets/UpdateBudgets"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"statusDescription\": \"string\",\n    \"statusCode\": 0,\n    \"sessionId\": \"string\",\n    \"httpStatus\": 0,\n    \"result\": {\n        \"budgets\": [\n            {\n                \"id\": \"string\",\n                \"name\": \"string\",\n                \"tags\": [\n                    null\n                ],\n                \"maximumAmount\": 0,\n                \"aggregatedBalances\": 0,\n                \"usedAmount\": 0,\n                \"currency\": 0,\n                \"from\": \"2026-05-04T05:42:31.073Z\",\n                \"to\": \"2026-05-04T05:42:31.073Z\",\n                \"isEnforce\": true,\n                \"externalId\": \"string\",\n                \"organizationId\": \"string\"\n            }\n        ]\n    }\n}"}],"_postman_id":"b904633a-f99e-4f1c-8e6f-609276439ef7"},{"name":"DeleteBudgets","id":"6780704f-dfe7-4801-8883-033e4966e934","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"},{"key":"X-Organization-Id","value":"{{OrganizationId}}"}],"body":{"mode":"raw","raw":"{\n    \"ids\": [\n        null\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/payment-account-onboarding/api/Budgets/DeleteBudgets","description":"<p>Deletes one or more budgets for the authenticated organization.</p>\n<hr />\n<h3 id=\"request-parameters\">Request Parameters</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field Name</th>\n<th>Required/Optional</th>\n<th>Type</th>\n<th>Description</th>\n<th>Example</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>ids</code></td>\n<td>Required</td>\n<td>Array[String]</td>\n<td>List of budget IDs to delete. Must not be empty.</td>\n<td><code>[\"abc123\", \"def456\"]</code></td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"response-fields\">Response Fields</h3>\n<p><em>No result data returned.</em></p>\n","urlObject":{"protocol":"https","path":["payment-account-onboarding","api","Budgets","DeleteBudgets"],"host":["api","stage","cal-platform","com"],"query":[],"variable":[]}},"response":[{"id":"90140a08-e68f-4f23-9a51-9f402aeb7d83","name":"DeleteBudgets","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"},{"key":"X-Organization-Id","value":"{{OrganizationId}}"}],"body":{"mode":"raw","raw":"{\n    \"ids\": [\n        null\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/payment-account-onboarding/api/Budgets/DeleteBudgets"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n  \"statusDescription\": \"string\",\n  \"statusCode\": 0,\n  \"sessionId\": \"string\",\n  \"httpStatus\": 0,\n  \"result\": {}\n}"}],"_postman_id":"6780704f-dfe7-4801-8883-033e4966e934"}],"id":"c6d69b2c-d355-42df-a34d-a4a0a98fbcf2","_postman_id":"c6d69b2c-d355-42df-a34d-a4a0a98fbcf2","description":""},{"name":"Organizations","item":[{"name":"GetOrganizations","id":"bb633b61-89d5-4f43-a28b-3b0d48fde2e3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"},{"key":"X-Organization-Id","value":"{{OrganizationId}}"}],"body":{"mode":"raw","raw":"{\n    \"issuerOrganizationIds\": [\n        \"string\"\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/payment-account-onboarding/api/Organizations/GetOrganizations","description":"<p>Retrieves organizations. An organization represents a company or entity that manages cardholders and spend accounts.</p>\n<hr />\n<h3 id=\"request-parameters\">Request Parameters</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field Name</th>\n<th>Required/Optional</th>\n<th>Type</th>\n<th>Description</th>\n<th>Example</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>issuerOrganizationIds</td>\n<td>Required</td>\n<td>string[] (UUID)</td>\n<td>Filter by issuer organization IDs</td>\n<td><code>[\"00000000-0000-0000-0000-000000000000\"]</code></td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["payment-account-onboarding","api","Organizations","GetOrganizations"],"host":["api","stage","cal-platform","com"],"query":[],"variable":[]}},"response":[{"id":"3a7e804c-1bae-47bf-b371-42833ce203a7","name":"GetOrganizations","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"},{"key":"X-Organization-Id","value":"{{OrganizationId}}"}],"body":{"mode":"raw","raw":"{\n    \"issuerOrganizationIds\": [\n        \"string\"\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/payment-account-onboarding/api/Organizations/GetOrganizations"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"statusDescription\": \"string\",\n    \"statusCode\": 0,\n    \"sessionId\": \"string\",\n    \"httpStatus\": 0,\n    \"result\": {\n        \"organizations\": [\n            {\n                \"id\": \"string\",\n                \"partnerId\": \"string\",\n                \"issuerOrganizationId\": \"string\",\n                \"name\": \"string\",\n                \"isSkipPaymentDeviceAttachment\": true\n            }\n        ]\n    }\n}"}],"_postman_id":"bb633b61-89d5-4f43-a28b-3b0d48fde2e3"}],"id":"01d89268-8c3a-4c5f-b604-41f2edc36da7","_postman_id":"01d89268-8c3a-4c5f-b604-41f2edc36da7","description":""},{"name":"GetUsers","id":"4538db2b-ba2b-9849-eed1-e43c55c5ae12","request":{"method":"POST","header":[{"value":"application/json","key":"Content-Type"},{"value":"application/json","key":"Accept"},{"value":"{{CognitoToken}}","key":"Authorization"},{"value":"{{OrganizationId}}","key":"X-Organization-Id"}],"body":{"mode":"raw","raw":"{\n  \"pagination\": {\n    \"createdAt\": \"2026-09-01T00:00:00.000Z\",\n    \"limit\": 50\n  },\n  \"includeTotalCount\": true,\n  \"filter\": {\n    \"ids\": [\"string\"]\n  },\n  \"includePaymentDevices\": true\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/payment-account-onboarding/api/Users/GetUsers","description":"<p>Returns the organization's payment-account users (the mirror of partners users kept in the payment account domain), optionally with their payment devices. Use it to resolve user IDs referenced by pockets, related parties and approval workflows.</p>\n<hr />\n<h3 id=\"request-parameters\">Request Parameters</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field Name</th>\n<th>Required/Optional</th>\n<th>Type</th>\n<th>Description</th>\n<th>Example</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>filter</code></td>\n<td>Required</td>\n<td>object</td>\n<td>Filter object (may be empty)</td>\n<td><code>{}</code></td>\n</tr>\n<tr>\n<td><code>filter.ids</code></td>\n<td>Optional</td>\n<td>string[]</td>\n<td>Only these user IDs</td>\n<td>[\"usr-001\"]</td>\n</tr>\n<tr>\n<td><code>pagination</code></td>\n<td>Optional</td>\n<td>object</td>\n<td>Cursor-based pagination (<code>id</code>, <code>createdAt</code>, <code>limit</code>). Omit for the first page</td>\n<td>—</td>\n</tr>\n<tr>\n<td><code>includeTotalCount</code></td>\n<td>Optional</td>\n<td>boolean</td>\n<td>If true, <code>totalCount</code> is returned</td>\n<td>true</td>\n</tr>\n<tr>\n<td><code>includePaymentDevices</code></td>\n<td>Optional</td>\n<td>boolean</td>\n<td>If true, each user carries its <code>paymentDevices</code></td>\n<td>true</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"response-fields\">Response Fields</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>users</code></td>\n<td>array</td>\n<td>Users in this page</td>\n</tr>\n<tr>\n<td><code>users[].id</code></td>\n<td>string</td>\n<td>User ID (same as the partners user refId)</td>\n</tr>\n<tr>\n<td><code>users[].roleType</code></td>\n<td>RoleType</td>\n<td>Role in the organization</td>\n</tr>\n<tr>\n<td><code>users[].status</code></td>\n<td>UserStatus</td>\n<td><code>active</code>, <code>suspended</code>, <code>locked</code>, <code>systemLocked</code>, <code>terminated</code></td>\n</tr>\n<tr>\n<td><code>users[].identifier</code></td>\n<td>string</td>\n<td>National ID</td>\n</tr>\n<tr>\n<td><code>users[].firstName</code> / <code>lastName</code></td>\n<td>string</td>\n<td>Name</td>\n</tr>\n<tr>\n<td><code>users[].email</code> / <code>phoneNumber</code></td>\n<td>string</td>\n<td>Contact details</td>\n</tr>\n<tr>\n<td><code>users[].dateOfBirth</code></td>\n<td>string (ISO 8601)</td>\n<td>Date of birth</td>\n</tr>\n<tr>\n<td><code>users[].driversLicense</code> / <code>passport</code> / <code>externalId</code></td>\n<td>string</td>\n<td>Alternative identifiers</td>\n</tr>\n<tr>\n<td><code>users[].organizationId</code></td>\n<td>string</td>\n<td>Owning organization</td>\n</tr>\n<tr>\n<td><code>users[].paymentDevices</code></td>\n<td>array</td>\n<td>Only when <code>includePaymentDevices</code> is true</td>\n</tr>\n<tr>\n<td><code>users[].paymentDevices[].id</code></td>\n<td>string</td>\n<td>Payment device ID</td>\n</tr>\n<tr>\n<td><code>users[].paymentDevices[].type</code></td>\n<td>PaymentDeviceType</td>\n<td>Device type</td>\n</tr>\n<tr>\n<td><code>users[].paymentDevices[].customerId</code></td>\n<td>string</td>\n<td>Customer the device belongs to</td>\n</tr>\n<tr>\n<td><code>users[].paymentDevices[].internalStatus</code></td>\n<td>CardStatus</td>\n<td>Card status</td>\n</tr>\n<tr>\n<td><code>users[].paymentDevices[].usageControl</code></td>\n<td>PaymentDeviceUsageControl</td>\n<td>Lock state, if any</td>\n</tr>\n<tr>\n<td><code>users[].paymentDevices[].cardIssuerInternalId</code></td>\n<td>string</td>\n<td>Issuer-side card identifier</td>\n</tr>\n<tr>\n<td><code>users[].paymentDevices[].lifetimeSpendAmount</code> / <code>lifetimeSpendCurrency</code></td>\n<td>number</td>\n<td>Lifetime spend</td>\n</tr>\n<tr>\n<td><code>pagination</code></td>\n<td>object</td>\n<td>Cursor for the next page</td>\n</tr>\n<tr>\n<td><code>totalCount</code></td>\n<td>number</td>\n<td>Present only when <code>includeTotalCount</code> is true</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"notes\">Notes</h3>\n<ul>\n<li>Results are scoped to the <code>X-Organization-Id</code> organization and to the caller's user scope for B2C tokens.</li>\n<li>Forbidden actions return <code>ForbiddenAction</code> (status <code>4</code>).</li>\n</ul>\n","urlObject":{"protocol":"https","path":["payment-account-onboarding","api","Users","GetUsers"],"host":["api","stage","cal-platform","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"4538db2b-ba2b-9849-eed1-e43c55c5ae12"}],"id":"62270691-4f11-4a05-8fda-91390477f51c","_postman_id":"62270691-4f11-4a05-8fda-91390477f51c","description":""},{"name":"ApprovalWorkflows","item":[{"name":"GetTemplates","id":"3d89f5ec-8d3d-2ed3-3e7d-db5db926f438","request":{"method":"POST","header":[{"value":"application/json","key":"Content-Type"},{"value":"application/json","key":"Accept"},{"value":"{{CognitoToken}}","key":"Authorization"},{"value":"{{OrganizationId}}","key":"X-Organization-Id"}],"body":{"mode":"raw","raw":"{\n  \"pagination\": {\n    \"createdAt\": \"2026-09-01T00:00:00.000Z\",\n    \"limit\": 50\n  },\n  \"includeTotalCount\": true,\n  \"actionType\": \"createPocket\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/payment-account-approval-workflows/api/ApprovalWorkflows/GetTemplates","description":"<p>Returns the organization's approval workflow templates. A template decides <strong>when</strong> an action needs approval (its <code>conditions</code>) and <strong>who</strong> approves it, phase by phase (its <code>approvers</code>). Templates are evaluated automatically by the pockets service when a pocket is created or its balance is updated.</p>\n<p>Requires the <code>ManageApprovalWorkflowTemplates</code> or <code>DecideApprovalWorkflowPhase</code> scope.</p>\n<hr />\n<h3 id=\"request-parameters\">Request Parameters</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field Name</th>\n<th>Required/Optional</th>\n<th>Type</th>\n<th>Description</th>\n<th>Example</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>pagination</code></td>\n<td>Optional</td>\n<td>object</td>\n<td>Cursor-based pagination (<code>id</code>, <code>createdAt</code>, <code>limit</code>). Omit for the first page</td>\n<td>—</td>\n</tr>\n<tr>\n<td><code>includeTotalCount</code></td>\n<td>Optional</td>\n<td>boolean</td>\n<td>If true, <code>totalCount</code> is returned</td>\n<td>true</td>\n</tr>\n<tr>\n<td><code>actionType</code></td>\n<td>Optional</td>\n<td>ApprovalWorkflowActionType</td>\n<td>Only templates for this action: <code>createPocket</code>, <code>updateBalance</code></td>\n<td>\"createPocket\"</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"response-fields\">Response Fields</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>templates</code></td>\n<td>array</td>\n<td>Templates in this page</td>\n</tr>\n<tr>\n<td><code>templates[].id</code></td>\n<td>string</td>\n<td>Template ID</td>\n</tr>\n<tr>\n<td><code>templates[].name</code></td>\n<td>string</td>\n<td>Display name</td>\n</tr>\n<tr>\n<td><code>templates[].tags</code></td>\n<td>string[]</td>\n<td>Free tags</td>\n</tr>\n<tr>\n<td><code>templates[].actionType</code></td>\n<td>ApprovalWorkflowActionType</td>\n<td><code>createPocket</code> or <code>updateBalance</code></td>\n</tr>\n<tr>\n<td><code>templates[].isSelfApprovalAllowed</code></td>\n<td>boolean</td>\n<td>Whether the requester may approve their own request</td>\n</tr>\n<tr>\n<td><code>templates[].conditions</code></td>\n<td>array</td>\n<td>All must hold for the template to apply</td>\n</tr>\n<tr>\n<td><code>templates[].conditions[].field</code></td>\n<td>ApprovalWorkflowConditionField</td>\n<td><code>amountAndCurrency</code>, <code>initiativeId</code>, <code>creatorRole</code>, <code>creatorUnitId</code>, <code>creatorSegmentId</code>, <code>creatorUserId</code></td>\n</tr>\n<tr>\n<td><code>templates[].conditions[].operator</code></td>\n<td>ApprovalWorkflowConditionOperator</td>\n<td><code>greaterThan</code>, <code>lessThan</code> (amount), <code>in</code>, <code>notIn</code> (membership fields)</td>\n</tr>\n<tr>\n<td><code>templates[].conditions[].value</code></td>\n<td>any</td>\n<td>Operand: <code>{ amount, currency }</code> for <code>amountAndCurrency</code>, an array of IDs / roles for membership fields</td>\n</tr>\n<tr>\n<td><code>templates[].approvers</code></td>\n<td>array</td>\n<td>Ordered approval phases; each phase is satisfied by any matching approver</td>\n</tr>\n<tr>\n<td><code>templates[].approvers[].roles</code></td>\n<td>RoleType[]</td>\n<td>Approve if the user holds one of these roles</td>\n</tr>\n<tr>\n<td><code>templates[].approvers[].userIds</code></td>\n<td>string[]</td>\n<td>Approve if the user is one of these</td>\n</tr>\n<tr>\n<td><code>templates[].approvers[].unitIds</code> / <code>segmentIds</code></td>\n<td>string[]</td>\n<td>Approve if the user belongs to one of these units / segments</td>\n</tr>\n<tr>\n<td><code>templates[].approvers[].isUnitOwner</code> / <code>isSegmentOwner</code></td>\n<td>boolean</td>\n<td>Approve if the user owns the requester's unit / segment (resolved when the instance is created)</td>\n</tr>\n<tr>\n<td><code>templates[].organizationId</code></td>\n<td>string</td>\n<td>Owning organization</td>\n</tr>\n<tr>\n<td><code>templates[].createdAt</code> / <code>deletedAt</code></td>\n<td>string (ISO 8601)</td>\n<td>Timestamps</td>\n</tr>\n<tr>\n<td><code>pagination</code></td>\n<td>object</td>\n<td>Cursor for the next page</td>\n</tr>\n<tr>\n<td><code>totalCount</code></td>\n<td>number</td>\n<td>Present only when <code>includeTotalCount</code> is true</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["payment-account-approval-workflows","api","ApprovalWorkflows","GetTemplates"],"host":["api","stage","cal-platform","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"3d89f5ec-8d3d-2ed3-3e7d-db5db926f438"},{"name":"CreateTemplates","id":"f2f7c3a2-478c-5c88-3503-acf9c394d85c","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"},{"key":"X-Organization-Id","value":"{{OrganizationId}}"}],"body":{"mode":"raw","raw":"{\n  \"templates\": [\n    {\n      \"name\": \"Pockets above 5,000 ILS\",\n      \"tags\": [\"finance\"],\n      \"actionType\": \"createPocket\",\n      \"isSelfApprovalAllowed\": false,\n      \"conditions\": [\n        {\n          \"field\": \"amountAndCurrency\",\n          \"operator\": \"greaterThan\",\n          \"value\": { \"amount\": 5000, \"currency\": 376 }\n        },\n        {\n          \"field\": \"creatorRole\",\n          \"operator\": \"in\",\n          \"value\": [\"HrManager\"]\n        }\n      ],\n      \"approvers\": [\n        { \"isUnitOwner\": true },\n        { \"roles\": [\"PartnerAdmin\"] }\n      ]\n    }\n  ]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/payment-account-approval-workflows/api/ApprovalWorkflows/CreateTemplates","description":"<p>Creates approval workflow templates. When a pocket is created or its balance updated, the pockets service evaluates the organization's templates for that <code>actionType</code>; if every condition of a template holds, the action is suspended as a <strong>pending approval workflow instance</strong> and released only after each approval phase is approved (see <strong>Approve</strong> / <strong>Decline</strong>).</p>\n<p>Requires the <code>ManageApprovalWorkflowTemplates</code> scope.</p>\n<hr />\n<h3 id=\"request-parameters\">Request Parameters</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field Name</th>\n<th>Required/Optional</th>\n<th>Type</th>\n<th>Description</th>\n<th>Example</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>templates</code></td>\n<td>Required</td>\n<td>array</td>\n<td>Templates to create. Non-empty</td>\n<td>—</td>\n</tr>\n<tr>\n<td><code>templates[].name</code></td>\n<td>Required</td>\n<td>string</td>\n<td>Display name</td>\n<td>\"Pockets above 5,000 ILS\"</td>\n</tr>\n<tr>\n<td><code>templates[].tags</code></td>\n<td>Required</td>\n<td>string[]</td>\n<td>Free tags (may be empty)</td>\n<td>[\"finance\"]</td>\n</tr>\n<tr>\n<td><code>templates[].actionType</code></td>\n<td>Required</td>\n<td>ApprovalWorkflowActionType</td>\n<td><code>createPocket</code> or <code>updateBalance</code></td>\n<td>\"createPocket\"</td>\n</tr>\n<tr>\n<td><code>templates[].isSelfApprovalAllowed</code></td>\n<td>Required</td>\n<td>boolean</td>\n<td>If false, a requester who also matches an approver phase is rejected with <code>SelfApprovalNotAllowed</code> (status <code>5</code>)</td>\n<td>false</td>\n</tr>\n<tr>\n<td><code>templates[].conditions</code></td>\n<td>Required</td>\n<td>array</td>\n<td>Non-empty. All conditions must hold</td>\n<td>—</td>\n</tr>\n<tr>\n<td><code>templates[].conditions[].field</code></td>\n<td>Required</td>\n<td>ApprovalWorkflowConditionField</td>\n<td><code>amountAndCurrency</code>, <code>initiativeId</code>, <code>creatorRole</code>, <code>creatorUnitId</code>, <code>creatorSegmentId</code>, <code>creatorUserId</code></td>\n<td>\"amountAndCurrency\"</td>\n</tr>\n<tr>\n<td><code>templates[].conditions[].operator</code></td>\n<td>Required</td>\n<td>ApprovalWorkflowConditionOperator</td>\n<td><code>greaterThan</code> / <code>lessThan</code> for <code>amountAndCurrency</code>; <code>in</code> / <code>notIn</code> for the membership fields</td>\n<td>\"greaterThan\"</td>\n</tr>\n<tr>\n<td><code>templates[].conditions[].value</code></td>\n<td>Required</td>\n<td>any</td>\n<td><code>{ \"amount\": number, \"currency\": ISO-4217 numeric }</code> for amounts; an array of IDs or <code>RoleType</code> values for membership fields</td>\n<td><code>{ \"amount\": 5000, \"currency\": 376 }</code></td>\n</tr>\n<tr>\n<td><code>templates[].approvers</code></td>\n<td>Required</td>\n<td>array</td>\n<td>Non-empty, ordered. Each entry is one approval phase; phase N+1 opens when phase N is approved</td>\n<td>—</td>\n</tr>\n<tr>\n<td><code>templates[].approvers[].roles</code></td>\n<td>Optional</td>\n<td>RoleType[]</td>\n<td>Any user with one of these roles may decide the phase</td>\n<td>[\"PartnerAdmin\"]</td>\n</tr>\n<tr>\n<td><code>templates[].approvers[].userIds</code></td>\n<td>Optional</td>\n<td>string[]</td>\n<td>Specific users</td>\n<td>[\"usr-001\"]</td>\n</tr>\n<tr>\n<td><code>templates[].approvers[].unitIds</code> / <code>segmentIds</code></td>\n<td>Optional</td>\n<td>string[]</td>\n<td>Any member of these units / segments</td>\n<td>[\"unit-001\"]</td>\n</tr>\n<tr>\n<td><code>templates[].approvers[].isUnitOwner</code> / <code>isSegmentOwner</code></td>\n<td>Optional</td>\n<td>boolean</td>\n<td>The owner of the <strong>requester's</strong> unit / segment, resolved when the instance is created</td>\n<td>true</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"response-fields\">Response Fields</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>templates</code></td>\n<td>array</td>\n<td>The created templates, same shape as <strong>GetTemplates</strong> <code>templates[]</code></td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"notes\">Notes</h3>\n<ul>\n<li>A phase with several matching criteria is satisfied by a user matching <strong>any</strong> of them.</li>\n<li>Templates are cached by the service; a new template applies to actions started after creation.</li>\n</ul>\n","urlObject":{"protocol":"https","path":["payment-account-approval-workflows","api","ApprovalWorkflows","CreateTemplates"],"host":["api","stage","cal-platform","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"f2f7c3a2-478c-5c88-3503-acf9c394d85c"},{"name":"UpdateTemplates","id":"ad827f63-f274-9314-3cff-6103a6d0009c","request":{"method":"POST","header":[{"value":"application/json","key":"Content-Type"},{"value":"application/json","key":"Accept"},{"value":"{{CognitoToken}}","key":"Authorization"},{"value":"{{OrganizationId}}","key":"X-Organization-Id"}],"body":{"mode":"raw","raw":"{\n  \"templates\": [\n    {\n      \"id\": \"string\",\n      \"name\": \"Pockets above 10,000 ILS\",\n      \"tags\": [\"finance\"],\n      \"isSelfApprovalAllowed\": false,\n      \"conditions\": [\n        {\n          \"field\": \"amountAndCurrency\",\n          \"operator\": \"greaterThan\",\n          \"value\": { \"amount\": 10000, \"currency\": 376 }\n        }\n      ],\n      \"approvers\": [\n        { \"roles\": [\"PartnerAdmin\"] }\n      ]\n    }\n  ]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/payment-account-approval-workflows/api/ApprovalWorkflows/UpdateTemplates","description":"<p>Updates approval workflow templates. Only the fields sent are changed; <code>conditions</code> and <code>approvers</code>, when sent, <strong>replace</strong> the existing lists in full. <code>actionType</code> cannot be changed.</p>\n<p>Requires the <code>ManageApprovalWorkflowTemplates</code> scope.</p>\n<hr />\n<h3 id=\"request-parameters\">Request Parameters</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field Name</th>\n<th>Required/Optional</th>\n<th>Type</th>\n<th>Description</th>\n<th>Example</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>templates</code></td>\n<td>Required</td>\n<td>array</td>\n<td>Templates to update. Non-empty</td>\n<td>—</td>\n</tr>\n<tr>\n<td><code>templates[].id</code></td>\n<td>Required</td>\n<td>string</td>\n<td>Template ID</td>\n<td>\"tpl-001\"</td>\n</tr>\n<tr>\n<td><code>templates[].name</code></td>\n<td>Optional</td>\n<td>string</td>\n<td>New display name</td>\n<td>\"Pockets above 10,000 ILS\"</td>\n</tr>\n<tr>\n<td><code>templates[].tags</code></td>\n<td>Optional</td>\n<td>string[]</td>\n<td>Replaces the tags</td>\n<td>[\"finance\"]</td>\n</tr>\n<tr>\n<td><code>templates[].isSelfApprovalAllowed</code></td>\n<td>Optional</td>\n<td>boolean</td>\n<td>See <strong>CreateTemplates</strong></td>\n<td>false</td>\n</tr>\n<tr>\n<td><code>templates[].conditions</code></td>\n<td>Optional</td>\n<td>array</td>\n<td>Replaces all conditions. Non-empty when sent; same shape as <strong>CreateTemplates</strong></td>\n<td>—</td>\n</tr>\n<tr>\n<td><code>templates[].approvers</code></td>\n<td>Optional</td>\n<td>array</td>\n<td>Replaces all approval phases. Non-empty when sent; same shape as <strong>CreateTemplates</strong></td>\n<td>—</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"response-fields\">Response Fields</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>templates</code></td>\n<td>array</td>\n<td>The updated templates, same shape as <strong>GetTemplates</strong> <code>templates[]</code></td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"notes\">Notes</h3>\n<ul>\n<li>Instances already pending keep the approvers they were created with; the change applies to new instances.</li>\n<li>A template ID that does not exist returns <code>RequiredEntityNotFound</code> (status <code>3</code>).</li>\n</ul>\n","urlObject":{"protocol":"https","path":["payment-account-approval-workflows","api","ApprovalWorkflows","UpdateTemplates"],"host":["api","stage","cal-platform","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"ad827f63-f274-9314-3cff-6103a6d0009c"},{"name":"DeleteTemplates","id":"d1e3a731-b198-d28a-192d-0527e00610ef","request":{"method":"POST","header":[{"value":"application/json","key":"Content-Type"},{"value":"application/json","key":"Accept"},{"value":"{{CognitoToken}}","key":"Authorization"},{"value":"{{OrganizationId}}","key":"X-Organization-Id"}],"body":{"mode":"raw","raw":"{\n  \"ids\": [\"string\"]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/payment-account-approval-workflows/api/ApprovalWorkflows/DeleteTemplates","description":"<p>Soft-deletes approval workflow templates. Deleted templates are no longer evaluated for new actions; instances already pending are not affected.</p>\n<p>Requires the <code>ManageApprovalWorkflowTemplates</code> scope.</p>\n<hr />\n<h3 id=\"request-parameters\">Request Parameters</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field Name</th>\n<th>Required/Optional</th>\n<th>Type</th>\n<th>Description</th>\n<th>Example</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>ids</code></td>\n<td>Required</td>\n<td>string[]</td>\n<td>Template IDs to delete. Non-empty</td>\n<td>[\"tpl-001\"]</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"response\">Response</h3>\n<p>Empty <code>result</code> on success (<code>statusCode: 1</code>). An unknown ID returns <code>RequiredEntityNotFound</code> (status <code>3</code>).</p>\n","urlObject":{"protocol":"https","path":["payment-account-approval-workflows","api","ApprovalWorkflows","DeleteTemplates"],"host":["api","stage","cal-platform","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"d1e3a731-b198-d28a-192d-0527e00610ef"},{"name":"GetApprovableWorkflows","id":"5e96433e-0015-bd08-89af-4fd220a0a048","request":{"method":"POST","header":[{"value":"application/json","key":"Content-Type"},{"value":"application/json","key":"Accept"},{"value":"{{CognitoToken}}","key":"Authorization"},{"value":"{{OrganizationId}}","key":"X-Organization-Id"}],"body":{"mode":"raw","raw":"{}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/payment-account-approval-workflows/api/ApprovalWorkflows/GetApprovableWorkflows","description":"<p>Returns the pending approval workflow instances whose <strong>current phase</strong> the calling user is allowed to decide (by role, unit, segment, explicit user ID, or unit / segment ownership). This is the approver's inbox.</p>\n<p>Requires the <code>DecideApprovalWorkflowPhase</code> scope. The caller must be an active user; a suspended, locked or terminated user gets <code>ActingUserNotActive</code> (status <code>9</code>).</p>\n<hr />\n<h3 id=\"request-parameters\">Request Parameters</h3>\n<p>No body fields. Send an empty JSON object.</p>\n<hr />\n<h3 id=\"response-fields\">Response Fields</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>instances</code></td>\n<td>array</td>\n<td>Pending instances the caller may decide</td>\n</tr>\n<tr>\n<td><code>instances[].id</code></td>\n<td>string</td>\n<td>Instance ID, passed to <strong>Approve</strong> / <strong>Decline</strong></td>\n</tr>\n<tr>\n<td><code>instances[].workflowTemplateId</code></td>\n<td>string</td>\n<td>Template that created the instance</td>\n</tr>\n<tr>\n<td><code>instances[].status</code></td>\n<td>ApprovalWorkflowStatus</td>\n<td>Always <code>pending</code> here</td>\n</tr>\n<tr>\n<td><code>instances[].relatedEntityType</code></td>\n<td>PaymentAccountEntity</td>\n<td><code>pocket</code> for a suspended pocket creation or balance update</td>\n</tr>\n<tr>\n<td><code>instances[].relatedEntityId</code></td>\n<td>string</td>\n<td>The pending pocket / pocket ID</td>\n</tr>\n<tr>\n<td><code>instances[].createdBy</code></td>\n<td>string</td>\n<td>Requesting user ID</td>\n</tr>\n<tr>\n<td><code>instances[].input</code></td>\n<td>object</td>\n<td>The suspended action's payload (the CreatePockets or UpdatePocketsBalance request), applied on final approval</td>\n</tr>\n<tr>\n<td><code>instances[].currentApprover</code></td>\n<td>object</td>\n<td>The phase awaiting decision (<code>roles</code>, <code>userIds</code>, <code>unitIds</code>, <code>segmentIds</code>, <code>isUnitOwner</code>, <code>isSegmentOwner</code>)</td>\n</tr>\n<tr>\n<td><code>instances[].approvalPhases</code></td>\n<td>array</td>\n<td>All phases with their <code>status</code> (<code>pending</code>, <code>approved</code>, <code>declined</code>), <code>decidedBy</code> and <code>updatedAt</code></td>\n</tr>\n<tr>\n<td><code>instances[].approvedAt</code> / <code>declinedAt</code></td>\n<td>string (ISO 8601)</td>\n<td>Set when the instance reaches a final state</td>\n</tr>\n<tr>\n<td><code>instances[].organizationId</code></td>\n<td>string</td>\n<td>Owning organization</td>\n</tr>\n<tr>\n<td><code>instances[].createdAt</code> / <code>deletedAt</code></td>\n<td>string (ISO 8601)</td>\n<td>Timestamps</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["payment-account-approval-workflows","api","ApprovalWorkflows","GetApprovableWorkflows"],"host":["api","stage","cal-platform","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"5e96433e-0015-bd08-89af-4fd220a0a048"},{"name":"GetCreatedWorkflows","id":"f61b2699-c793-0412-8638-bdc563f6a927","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"},{"key":"X-Organization-Id","value":"{{OrganizationId}}"}],"body":{"mode":"raw","raw":"{}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/payment-account-approval-workflows/api/ApprovalWorkflows/GetCreatedWorkflows","description":"<p>Returns the approval workflow instances <strong>created by the calling user</strong> — the requester's view of their own pending, approved, declined and canceled requests.</p>\n<hr />\n<h3 id=\"request-parameters\">Request Parameters</h3>\n<p>No body fields. Send an empty JSON object.</p>\n<hr />\n<h3 id=\"response-fields\">Response Fields</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>instances</code></td>\n<td>array</td>\n<td>Instances created by the caller, same shape as <strong>GetApprovableWorkflows</strong> <code>instances[]</code></td>\n</tr>\n<tr>\n<td><code>instances[].status</code></td>\n<td>ApprovalWorkflowStatus</td>\n<td><code>pending</code>, <code>approved</code>, <code>declined</code>, <code>canceled</code></td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"notes\">Notes</h3>\n<ul>\n<li>A pending instance may be withdrawn with <strong>Cancel</strong>.</li>\n</ul>\n","urlObject":{"protocol":"https","path":["payment-account-approval-workflows","api","ApprovalWorkflows","GetCreatedWorkflows"],"host":["api","stage","cal-platform","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"f61b2699-c793-0412-8638-bdc563f6a927"},{"name":"Approve","id":"2b0e45a7-47cc-c3a4-eb24-f0506aed487a","request":{"method":"POST","header":[{"value":"application/json","key":"Content-Type"},{"value":"application/json","key":"Accept"},{"value":"{{CognitoToken}}","key":"Authorization"},{"value":"{{OrganizationId}}","key":"X-Organization-Id"}],"body":{"mode":"raw","raw":"{\n  \"id\": \"string\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/payment-account-approval-workflows/api/ApprovalWorkflows/Approve","description":"<p>Approves the current phase of a pending approval workflow instance. When the last phase is approved the instance becomes <code>approved</code> and the suspended action is executed asynchronously (the pocket is created, or its balance updated).</p>\n<p>Requires the <code>DecideApprovalWorkflowPhase</code> scope.</p>\n<hr />\n<h3 id=\"request-parameters\">Request Parameters</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field Name</th>\n<th>Required/Optional</th>\n<th>Type</th>\n<th>Description</th>\n<th>Example</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>id</code></td>\n<td>Required</td>\n<td>string</td>\n<td>Instance ID (from <strong>GetApprovableWorkflows</strong>)</td>\n<td>\"awi-001\"</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"response-fields\">Response Fields</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>instance</code></td>\n<td>object</td>\n<td>The instance after the decision, same shape as <strong>GetApprovableWorkflows</strong> <code>instances[]</code>. <code>status</code> is <code>approved</code> after the final phase, otherwise still <code>pending</code> with the next phase in <code>currentApprover</code></td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"rejections\">Rejections</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>statusCode</th>\n<th>Meaning</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>3</code> RequiredEntityNotFound</td>\n<td>Unknown instance</td>\n</tr>\n<tr>\n<td><code>4</code> WorkflowNotPending</td>\n<td>Instance already approved, declined or canceled</td>\n</tr>\n<tr>\n<td><code>5</code> SelfApprovalNotAllowed</td>\n<td>Caller created the request and the template forbids self-approval</td>\n</tr>\n<tr>\n<td><code>6</code> ApproverNotAuthorized</td>\n<td>Caller does not match the current phase</td>\n</tr>\n<tr>\n<td><code>9</code> ActingUserNotActive</td>\n<td>Caller is suspended, locked or terminated</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["payment-account-approval-workflows","api","ApprovalWorkflows","Approve"],"host":["api","stage","cal-platform","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"2b0e45a7-47cc-c3a4-eb24-f0506aed487a"},{"name":"Decline","id":"2186fee1-c28e-89f8-3f0c-cd6f5b39e4a5","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"},{"key":"X-Organization-Id","value":"{{OrganizationId}}"}],"body":{"mode":"raw","raw":"{\n  \"id\": \"string\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/payment-account-approval-workflows/api/ApprovalWorkflows/Decline","description":"<p>Declines a pending approval workflow instance. The instance becomes <code>declined</code>, the suspended action is discarded, and any budget balance reserved for it is released.</p>\n<p>Requires the <code>DecideApprovalWorkflowPhase</code> scope.</p>\n<hr />\n<h3 id=\"request-parameters\">Request Parameters</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field Name</th>\n<th>Required/Optional</th>\n<th>Type</th>\n<th>Description</th>\n<th>Example</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>id</code></td>\n<td>Required</td>\n<td>string</td>\n<td>Instance ID (from <strong>GetApprovableWorkflows</strong>)</td>\n<td>\"awi-001\"</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"response-fields\">Response Fields</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>instance</code></td>\n<td>object</td>\n<td>The instance after the decision (<code>status: \"declined\"</code>, <code>declinedAt</code> set), same shape as <strong>GetApprovableWorkflows</strong> <code>instances[]</code></td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"rejections\">Rejections</h3>\n<p>Same as <strong>Approve</strong>: <code>3</code> unknown instance, <code>4</code> not pending, <code>5</code> self-approval not allowed, <code>6</code> caller not an approver of the current phase, <code>9</code> caller not active.</p>\n","urlObject":{"protocol":"https","path":["payment-account-approval-workflows","api","ApprovalWorkflows","Decline"],"host":["api","stage","cal-platform","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"2186fee1-c28e-89f8-3f0c-cd6f5b39e4a5"},{"name":"Cancel","id":"4de2c647-ac3f-f4be-5ca9-98a55e8473c4","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"},{"key":"X-Organization-Id","value":"{{OrganizationId}}"}],"body":{"mode":"raw","raw":"{\n  \"id\": \"string\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/payment-account-approval-workflows/api/ApprovalWorkflows/Cancel","description":"<p>Withdraws a pending approval workflow instance. Only the user who created the request may cancel it. The instance becomes <code>canceled</code> and the suspended action is discarded.</p>\n<hr />\n<h3 id=\"request-parameters\">Request Parameters</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field Name</th>\n<th>Required/Optional</th>\n<th>Type</th>\n<th>Description</th>\n<th>Example</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>id</code></td>\n<td>Required</td>\n<td>string</td>\n<td>Instance ID (from <strong>GetCreatedWorkflows</strong>)</td>\n<td>\"awi-001\"</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"response-fields\">Response Fields</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>instance</code></td>\n<td>object</td>\n<td>The instance after cancellation (<code>status: \"canceled\"</code>), same shape as <strong>GetApprovableWorkflows</strong> <code>instances[]</code></td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"rejections\">Rejections</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>statusCode</th>\n<th>Meaning</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>3</code> RequiredEntityNotFound</td>\n<td>Unknown instance</td>\n</tr>\n<tr>\n<td><code>4</code> WorkflowNotPending</td>\n<td>Instance already decided</td>\n</tr>\n<tr>\n<td><code>7</code> CancelNotAllowed</td>\n<td>Caller is not the creator of the instance</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["payment-account-approval-workflows","api","ApprovalWorkflows","Cancel"],"host":["api","stage","cal-platform","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"4de2c647-ac3f-f4be-5ca9-98a55e8473c4"}],"id":"5e5af2b8-cfcd-46e3-8a33-45dd15962511","_postman_id":"5e5af2b8-cfcd-46e3-8a33-45dd15962511","description":""}],"id":"af883652-0656-4f75-bf8d-52bc3d8f3794","description":"<p><strong>Getting Started – Setting Up Postman Environment for CAL Stage</strong></p>\n<p>To ensure seamless integration with CAL Platform APIs, you’ll need to configure your <strong>Postman Environment Variables</strong>.<br />Follow the steps below to set up your environment for the Stage environment.</p>\n<hr />\n<h3 id=\"🧩-1-create-a-new-environment\">🧩 1. Create a New Environment</h3>\n<ol>\n<li><p>Open <strong>Postman</strong>.</p>\n</li>\n<li><p>In the top-right corner, click the <strong>Environment Selector (gear icon)</strong>.</p>\n</li>\n<li><p>Select <strong>“Manage Environments”</strong>.</p>\n</li>\n<li><p>Click <strong>“Add”</strong> to create a new environment.</p>\n</li>\n<li><p>Name the environment: <strong>CAL Stage</strong>.</p>\n</li>\n<li><p>Click <strong>“Add”</strong> or <strong>“Save”</strong> to confirm.</p>\n</li>\n</ol>\n<hr />\n<h3 id=\"⚙️-2-add-environment-variables\">⚙️ 2. Add Environment Variables</h3>\n<p>With the <strong>CAL Stage</strong> environment selected, add the following variables:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Variable Name</strong></th>\n<th><strong>Initial Value</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>PaymentAccountOnboardingHost</code></td>\n<td><code>https://api.stage.cal-platform.com/payment-account-onboarding</code></td>\n<td>Base URL for <strong>Onboarding APIs</strong></td>\n</tr>\n<tr>\n<td><code>PaymentAccountPoliciesHost</code></td>\n<td><code>https://api.stage.cal-platform.com/payment-account-policies</code></td>\n<td>Base URL for <strong>Policy APIs</strong></td>\n</tr>\n<tr>\n<td><code>PaymentAccountPocketsHost</code></td>\n<td><code>https://api.stage.cal-platform.com/payment-account-pockets</code></td>\n<td>Base URL for <strong>Pocket APIs</strong></td>\n</tr>\n<tr>\n<td><code>CognitoToken</code></td>\n<td><em>(Leave empty — auto-populated after SignIn)</em></td>\n<td>JWT Token for authentication</td>\n</tr>\n<tr>\n<td><code>TokenExpiry</code></td>\n<td><em>(Leave empty — auto-populated after SignIn)</em></td>\n<td>Token expired after 24 hours</td>\n</tr>\n</tbody>\n</table>\n</div><p>📝 <strong>Tip:</strong> After adding all variables, click <strong>“Save”</strong> in the top-right corner of the environment editor.</p>\n<hr />\n<h3 id=\"🌐-3-select-the-environment-in-postman\">🌐 3. Select the Environment in Postman</h3>\n<ol>\n<li><p>In the top-right corner of Postman, click on the <strong>Environment Selector</strong> dropdown.</p>\n</li>\n<li><p>Choose <strong>“CAL Stage”</strong>.</p>\n</li>\n<li><p>Ensure this environment is active before sending any requests.</p>\n</li>\n</ol>\n<hr />\n<h3 id=\"🔄-4-next-steps\">🔄 4. Next Steps</h3>\n<ul>\n<li><p>Run the <strong>SignIn API</strong> to generate a valid token.</p>\n</li>\n<li><p>Postman scripts can automatically update the <code>CognitoToken</code> and <code>TokenExpiry</code> variables.</p>\n</li>\n<li><p>Once set, all requests using <code>{{CognitoToken}}</code> will automatically include authentication headers.</p>\n</li>\n</ul>\n<h3 id=\"error-codes\">Error Codes</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>HTTP Status</strong></th>\n<th><strong>Description</strong></th>\n<th><strong>Example Response</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>400</strong></td>\n<td>Bad Request – usually a validation error or missing required field.</td>\n<td><code>json {\"statusCode\":400,\"statusDescription\":\"Invalid request\"}</code></td>\n</tr>\n<tr>\n<td><strong>401</strong></td>\n<td>Unauthorized – missing or invalid JWT token.</td>\n<td><code>json {\"statusCode\":401,\"statusDescription\":\"Invalid credentials\"}</code></td>\n</tr>\n<tr>\n<td><strong>403</strong></td>\n<td>Forbidden – authenticated user lacks permission.</td>\n<td><code>json {\"statusCode\":403,\"statusDescription\":\"Forbidden\"}</code></td>\n</tr>\n<tr>\n<td><strong>404</strong></td>\n<td>Not Found – endpoint or resource not found.</td>\n<td><code>json {\"statusCode\":404,\"statusDescription\":\"Endpoint not found\"}</code></td>\n</tr>\n<tr>\n<td><strong>500</strong></td>\n<td>Internal Server Error – unexpected server issue.</td>\n<td><code>json {\"statusCode\":500,\"statusDescription\":\"Server error\"}</code></td>\n</tr>\n</tbody>\n</table>\n</div><blockquote>\n<p>💡 <strong>Tip:</strong> All endpoints return these standard error codes when applicable. </p>\n</blockquote>\n<p><strong>API Use Guide</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>API Name</strong></th>\n<th><strong>Purpose / When to Use</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>GetPocketsByFilters</strong></td>\n<td>Use to <strong>retrieve pockets</strong> filtered by attributes like organization, budget, initiative, or tags.</td>\n</tr>\n<tr>\n<td><strong>GetPocketsByCustomers</strong></td>\n<td>Use to <strong>fetch pockets linked to specific customers</strong> by their customer IDs.</td>\n</tr>\n<tr>\n<td><strong>GetPocketsByDevices</strong></td>\n<td>Use to <strong>retrieve pockets linked to payment devices</strong>, typically used to view card–pocket associations.</td>\n</tr>\n<tr>\n<td><strong>CreatePockets</strong></td>\n<td>Use to <strong>create new pockets</strong> and assign them to an initiative, budget, or organization.</td>\n</tr>\n<tr>\n<td><strong>UpdatePocket</strong></td>\n<td>Use to <strong>update details of existing pockets</strong> — such as activation/expiration dates, tags, or authorization priorities.</td>\n</tr>\n<tr>\n<td><strong>DeletePockets</strong></td>\n<td>Use to <strong>remove one or more pockets</strong> from the system when they are no longer valid or active.</td>\n</tr>\n<tr>\n<td><strong>GetPocketBalanceSchedules</strong></td>\n<td>Use to <strong>view current or future pocket balance refill schedules</strong> for recurring top-ups.</td>\n</tr>\n<tr>\n<td><strong>CreatePocketBalanceSchedules</strong></td>\n<td>Use to <strong>define a new balance refill schedule</strong> (daily, weekly, or monthly) for one or more pockets.</td>\n</tr>\n<tr>\n<td><strong>UpdatePocketBalanceSchedules</strong></td>\n<td>Use to <strong>modify an existing balance schedule</strong>, e.g., changing amount, currency, or schedule type.</td>\n</tr>\n<tr>\n<td><strong>UpdatePocketsBalance</strong></td>\n<td>Use to <strong>manually adjust or synchronize balances</strong> in specific pockets.</td>\n</tr>\n<tr>\n<td><strong>GetMccGroups</strong></td>\n<td>Use to <strong>list all MCC groups</strong>, typically used when setting merchant-based policies.</td>\n</tr>\n<tr>\n<td><strong>CreateMccGroups</strong></td>\n<td>Use to <strong>create new MCC grouping</strong> for specific merchant categories (e.g., restaurants, travel).</td>\n</tr>\n<tr>\n<td><strong>UpdateMccGroups</strong></td>\n<td>Use to <strong>modify existing MCC group details</strong>, such as name or included MCC codes.</td>\n</tr>\n<tr>\n<td><strong>DeleteMccGroups</strong></td>\n<td>Use to <strong>delete existing MCC groups</strong> no longer in use.</td>\n</tr>\n<tr>\n<td><strong>GetPolicies</strong></td>\n<td>Use to <strong>retrieve all policy configurations</strong>, optionally filtered by related entity (organization, initiative, etc.).</td>\n</tr>\n<tr>\n<td><strong>UpsertPolicies</strong></td>\n<td>Use to <strong>create or update policy definitions</strong> that control authorization logic (amounts, MCC, time frames, etc.).</td>\n</tr>\n<tr>\n<td><strong>DeletePolicies</strong></td>\n<td>Use to <strong>remove one or more policies</strong> for specific entities.</td>\n</tr>\n<tr>\n<td><strong>GetTransactions</strong></td>\n<td>Use to <strong>fetch transaction history or logs</strong>, filtered by customer, card, or pocket.</td>\n</tr>\n<tr>\n<td><strong>GetInitiatives (by organizationId)</strong></td>\n<td>Use to <strong>list initiatives belonging to an organization</strong>.</td>\n</tr>\n<tr>\n<td><strong>CreateInitiatives</strong></td>\n<td>Use to <strong>create new initiatives</strong> within an organization, typically linked to budgets or pockets.</td>\n</tr>\n<tr>\n<td><strong>GetSpendAccounts</strong></td>\n<td>Use to <strong>retrieve spend accounts</strong> tied to initiatives, pockets, or organizations.</td>\n</tr>\n<tr>\n<td><strong>CreateSpendAccounts</strong></td>\n<td>Use to <strong>create a new spend account</strong> with commission and currency settings.</td>\n</tr>\n<tr>\n<td><strong>UpdateSpendAccounts</strong></td>\n<td>Use to <strong>edit spend account details</strong>, such as currency conversion or withdrawal commissions.</td>\n</tr>\n<tr>\n<td><strong>GetCreditLines</strong></td>\n<td>Use to <strong>view existing credit line configurations</strong> for organizations.</td>\n</tr>\n<tr>\n<td><strong>CreateCreditLines</strong></td>\n<td>Use to <strong>set up a new credit line</strong> (define credit limit, currency, and billing period).</td>\n</tr>\n<tr>\n<td><strong>UpdateCreditLines</strong></td>\n<td>Use to <strong>update existing credit line details</strong>, such as limits, time zone, or period type.</td>\n</tr>\n<tr>\n<td><strong>GetBudgets</strong></td>\n<td>Use to <strong>retrieve budgets</strong> assigned to organizations or initiatives.</td>\n</tr>\n<tr>\n<td><strong>CreateBudgets</strong></td>\n<td>Use to <strong>create a new budget</strong>, defining available funds and allocations.</td>\n</tr>\n<tr>\n<td><strong>UpdateBudgets</strong></td>\n<td>Use to <strong>modify existing budgets</strong>, e.g., change limits, names, or linked initiatives.</td>\n</tr>\n<tr>\n<td><strong>UpdatePaymentDevices</strong></td>\n<td>Use to <strong>update device control or link a payment device to a specific profile or status.</strong></td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<p>💡 <strong>Tip:</strong><br />Use <strong>“Get” APIs</strong> to fetch data, <strong>“Create”</strong> to define new records, <strong>“Update”</strong> to modify existing ones, and <strong>“Delete”</strong> to remove entries.</p>\n","_postman_id":"af883652-0656-4f75-bf8d-52bc3d8f3794"},{"name":"Partners Backend","item":[{"name":"Cards","item":[{"name":"CancelCards","id":"bace14f9-bb84-4a40-be88-fd4783635dfb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"},{"key":"X-WebSite-Id","value":"X-WebSite-Id"},{"key":"x-organization-id","value":"{{organizationId}}"}],"body":{"mode":"raw","raw":"{\n    \"cardRefIds\": [\n        \"string\"\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/partners-backend/api/Cards/CancelCards","description":"<p>Cancels one or more cards belonging to employees under the partner's organizations. A cancelled card cannot be reactivated. Used for bulk card cancellation operations by partner administrators.</p>\n<hr />\n<h3 id=\"request-parameters\">Request Parameters</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field Name</th>\n<th>Required/Optional</th>\n<th>Type</th>\n<th>Description</th>\n<th>Example</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>cardRefIds</td>\n<td>Required</td>\n<td>string[] (UUID)</td>\n<td>Array of card UUIDs to cancel</td>\n<td><code>[\"00000000-0000-0000-0000-000000000000\"]</code></td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"response-fields\">Response Fields</h3>\n<p><em>No result data returned.</em></p>\n","urlObject":{"protocol":"https","path":["partners-backend","api","Cards","CancelCards"],"host":["api","stage","cal-platform","com"],"query":[],"variable":[]}},"response":[{"id":"903c1fdb-155b-441c-9d91-14196a7ed04a","name":"CancelCards","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"}],"body":{"mode":"raw","raw":"{\n    \"cardRefIds\": [\n        \"string\"\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/partners-backend/api/Cards/CancelCards"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"result\": null,\n    \"statusDescription\": \"Success\",\n    \"statusCode\": 1,\n    \"sessionId\": \"sessionId\",\n    \"httpStatus\": 200\n}"}],"_postman_id":"bace14f9-bb84-4a40-be88-fd4783635dfb"},{"name":"DetachCards","id":"070150bd-df81-4319-992e-9f7ae9912708","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"},{"key":"Proxy-Authorization","value":"{{CognitoToken}}"},{"key":"x-organization-id","value":"{{organizationId}}"}],"body":{"mode":"raw","raw":"{\n    \"cardRefIds\": [\n        \"string\"\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/partners-backend/api/Cards/DetachCards","description":"<p>Detaches one or more cards from their current pairing (e.g., unlinks a card from a mobile wallet or NFC device). The card remains active and usable after detachment — only the device pairing is removed.</p>\n<hr />\n<h3 id=\"request-parameters\">Request Parameters</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field Name</th>\n<th>Required/Optional</th>\n<th>Type</th>\n<th>Description</th>\n<th>Example</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>cardRefIds</td>\n<td>Required</td>\n<td>string[] (UUID)</td>\n<td>Array of card UUIDs to detach</td>\n<td><code>[\"00000000-0000-0000-0000-000000000000\"]</code></td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"response-fields\">Response Fields</h3>\n<p><em>No result data returned.</em></p>\n","urlObject":{"protocol":"https","path":["partners-backend","api","Cards","DetachCards"],"host":["api","stage","cal-platform","com"],"query":[],"variable":[]}},"response":[{"id":"ccd56f6a-bf55-4c49-acc3-adafc3ac6aed","name":"DetachCards","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"}],"body":{"mode":"raw","raw":"{\n    \"cardRefIds\": [\n        \"string\"\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/partners-backend/api/Cards/DetachCards"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"result\": null,\n    \"statusDescription\": \"Success\",\n    \"statusCode\": 1,\n    \"sessionId\": \"sessionId\",\n    \"httpStatus\": 200\n}"}],"_postman_id":"070150bd-df81-4319-992e-9f7ae9912708"}],"id":"3b24a683-9df4-4d8a-8d13-e8d1597d0dc2","_postman_id":"3b24a683-9df4-4d8a-8d13-e8d1597d0dc2","description":""},{"name":"Employers","item":[{"name":"GetEmployer","event":[{"listen":"test","script":{"exec":["const jsonResponse = pm.response.json();",""],"type":"text/javascript","packages":{},"requests":{},"id":"7e0bcf97-77ec-4986-a0b7-6b28a33fd37e"}}],"id":"0fb8b703-afe5-4949-994a-ed87c7d9e7d4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/partners-backend/api/Employers/GetEmployer?refId=00000000-0000-0000-0000-000000000000","description":"<p>Retrieves a single employer by its reference ID. Returns full employer details including name, organization association, and configuration settings.</p>\n<hr />\n<h3 id=\"request-parameters\">Request Parameters</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field Name</th>\n<th>Required/Optional</th>\n<th>Type</th>\n<th>Description</th>\n<th>Example</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>refId</td>\n<td>Required</td>\n<td>string (UUID)</td>\n<td>UUID of the employer to retrieve</td>\n<td><code>\"00000000-0000-0000-0000-000000000000\"</code></td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["partners-backend","api","Employers","GetEmployer"],"host":["api","stage","cal-platform","com"],"query":[{"key":"refId","value":"00000000-0000-0000-0000-000000000000"}],"variable":[]}},"response":[{"id":"e228e1c1-6ec5-4177-a8d4-40466c5e751c","name":"GetEmployer","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"}],"url":{"raw":"https://api.stage.cal-platform.com/partners-backend/api/Employers/GetEmployer?refId=3fa85f64-5717-4562-b3fc-2c963f66afa6","protocol":"https","host":["api","stage","cal-platform","com"],"path":["partners-backend","api","Employers","GetEmployer"],"query":[{"key":"refId","value":"3fa85f64-5717-4562-b3fc-2c963f66afa6"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n  \"statusDescription\": \"string\",\n  \"statusCode\": 0,\n  \"sessionId\": \"string\",\n  \"httpStatus\": 0,\n  \"result\": {\n    \"refId\": \"string\",\n    \"partnerRefId\": \"string\",\n    \"productRefIds\": [\n      \"string\"\n    ],\n    \"name\": \"string\",\n    \"address\": \"string\",\n    \"contactNumber\": \"string\",\n    \"industry\": \"string\",\n    \"costCenter\": {\n      \"name\": \"string\",\n      \"code\": \"string\"\n    },\n    \"paymentAccountManagerCode\": \"string\",\n    \"isSkipPaymentDeviceAttachment\": true,\n    \"identificationTypes\": [\n      \"id\"\n    ],\n    \"identityProviders\": [\n      \"azure\"\n    ],\n    \"communicationMethods\": [\n      \"email\"\n    ],\n    \"companyRegistrationNumber\": \"string\"\n  }\n}"}],"_postman_id":"0fb8b703-afe5-4949-994a-ed87c7d9e7d4"},{"name":"GetEmployersByPartnerRefId","id":"9bc91eff-630d-4763-a70a-242afb9a0b1b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"}],"url":"https://api.stage.cal-platform.com/partners-backend/api/Employers/GetEmployersByPartnerRefId?partnerRefId=00000000-0000-0000-0000-000000000000","description":"<p>Retrieves all employers belonging to a specific partner. Used by system-level or partner admin users to list all employers under a given partner.</p>\n<hr />\n<h3 id=\"request-parameters\">Request Parameters</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field Name</th>\n<th>Required/Optional</th>\n<th>Type</th>\n<th>Description</th>\n<th>Example</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>partnerRefId</td>\n<td>Required</td>\n<td>string (UUID)</td>\n<td>UUID of the partner</td>\n<td><code>\"00000000-0000-0000-0000-000000000000\"</code></td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["partners-backend","api","Employers","GetEmployersByPartnerRefId"],"host":["api","stage","cal-platform","com"],"query":[{"key":"partnerRefId","value":"00000000-0000-0000-0000-000000000000"}],"variable":[]}},"response":[{"id":"e1ad5722-47f8-4546-9550-c5c6511efc47","name":"GetEmployersByPartnerRefId","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"}],"url":{"raw":"https://api.stage.cal-platform.com/partners-backend/api/Employers/GetEmployersByPartnerRefId?partnerRefId=3fa85f64-5717-4562-b3fc-2c963f66afa6","protocol":"https","host":["api","stage","cal-platform","com"],"path":["partners-backend","api","Employers","GetEmployersByPartnerRefId"],"query":[{"key":"partnerRefId","value":"3fa85f64-5717-4562-b3fc-2c963f66afa6"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n  \"statusDescription\": \"string\",\n  \"statusCode\": 0,\n  \"sessionId\": \"string\",\n  \"httpStatus\": 0,\n  \"result\": {\n    \"employers\": [\n      {\n        \"refId\": \"string\",\n        \"partnerRefId\": \"string\",\n        \"products\": [\n          {\n            \"refId\": \"string\",\n            \"name\": \"string\",\n            \"description\": \"string\",\n            \"brand\": \"visa\",\n            \"debitMethod\": \"paymentAccount\",\n            \"optionalDebitDays\": [\n              0\n            ],\n            \"frameType\": \"zeroFrame\",\n            \"cardPhysicality\": \"physicalAndVirtual\",\n            \"deliveryMethod\": \"postOffice\",\n            \"launchDate\": \"2026-05-04T06:43:46.444Z\",\n            \"isDesignable\": true,\n            \"isBeneficiary\": true,\n            \"beneficiaryType\": \"string\",\n            \"resetCommandsOnReEntry\": true,\n            \"paymentAccountManager\": \"platform\",\n            \"isEmployeeRequiredForInit\": true,\n            \"isIdentityDocumentRequired\": true,\n            \"isOtpCommandRequired\": true,\n            \"postIssuanceMobileMessageDelayInSeconds\": 0,\n            \"isJoiningCibusAllowed\": true,\n            \"isSignatureFormRequired\": true,\n            \"kycSets\": [\n              {}\n            ],\n            \"cardProductCode\": \"string\",\n            \"clubs\": [\n              {}\n            ],\n            \"isCustomerRecognitionRequired\": true,\n            \"isFaceVerificationRequired\": true,\n            \"isSelectCardPhysicality\": true,\n            \"isPhoneNumberReadOnly\": true,\n            \"isSkipPhoneNumberIssuerValidation\": true,\n            \"isForeignTaxResidency\": true\n          }\n        ],\n        \"name\": \"string\",\n        \"address\": \"string\",\n        \"contactNumber\": \"0505000000\",\n        \"industry\": \"string\",\n        \"costCenter\": {\n          \"name\": \"string\",\n          \"code\": \"string\"\n        },\n        \"paymentAccountManagerCode\": \"string\",\n        \"isSkipPaymentDeviceAttachment\": true,\n        \"identificationTypes\": [\n          \"id\"\n        ],\n        \"identityProviders\": [\n          \"azure\"\n        ],\n        \"communicationMethods\": [\n          \"email\"\n        ],\n        \"companyRegistrationNumber\": \"string\"\n      }\n    ]\n  }\n}"}],"_postman_id":"9bc91eff-630d-4763-a70a-242afb9a0b1b"},{"name":"CreateOrUpdateEmployers","id":"593d9e88-db32-4ecd-8af0-22143a9e1807","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"}],"body":{"mode":"raw","raw":"{\n    \"employers\": [\n        {\n            \"refId\": \"string\",\n            \"partnerRefId\": \"string\",\n            \"products\": [\n                {\n                    \"refId\": \"string\",\n                    \"name\": \"string\",\n                    \"description\": \"string\",\n                    \"brand\": \"visa\",\n                    \"debitMethod\": \"paymentAccount\",\n                    \"optionalDebitDays\": [\n                        0\n                    ],\n                    \"frameType\": \"zeroFrame\",\n                    \"cardPhysicality\": \"physicalAndVirtual\",\n                    \"deliveryMethod\": \"postOffice\",\n                    \"launchDate\": \"2026-05-04T10:32:43.057Z\",\n                    \"isDesignable\": true,\n                    \"isBeneficiary\": true,\n                    \"beneficiaryType\": \"string\",\n                    \"resetCommandsOnReEntry\": true,\n                    \"paymentAccountManager\": \"platform\",\n                    \"isEmployeeRequiredForInit\": true,\n                    \"isIdentityDocumentRequired\": true,\n                    \"isOtpCommandRequired\": true,\n                    \"postIssuanceMobileMessageDelayInSeconds\": 0,\n                    \"isJoiningCibusAllowed\": true,\n                    \"isSignatureFormRequired\": true,\n                    \"kycSets\": [\n                        {}\n                    ],\n                    \"cardProductCode\": \"string\",\n                    \"clubs\": [\n                        {}\n                    ],\n                    \"isCustomerRecognitionRequired\": true,\n                    \"isFaceVerificationRequired\": true,\n                    \"isSelectCardPhysicality\": true,\n                    \"isPhoneNumberReadOnly\": true,\n                    \"isSkipPhoneNumberIssuerValidation\": true,\n                    \"isForeignTaxResidency\": true\n                }\n            ],\n            \"name\": \"string\",\n            \"address\": \"string\",\n            \"contactNumber\": \"0505000000\",\n            \"industry\": \"string\",\n            \"costCenter\": {\n                \"name\": \"string\",\n                \"code\": \"string\"\n            },\n            \"paymentAccountManagerCode\": \"string\",\n            \"isSkipPaymentDeviceAttachment\": true,\n            \"identificationTypes\": [\n                \"id\"\n            ],\n            \"identityProviders\": [\n                \"azure\"\n            ],\n            \"communicationMethods\": [\n                \"email\"\n            ],\n            \"companyRegistrationNumber\": \"string\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/partners-backend/api/Employers/CreateOrUpdateEmployers","description":"<p>Creates or updates one or more employers. Provide a <code>refId</code> to update an existing employer; omit it to create a new one. Employers are organizations that issue cards to their employees via the platform.</p>\n<hr />\n<h3 id=\"request-parameters\">Request Parameters</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field Name</th>\n<th>Required/Optional</th>\n<th>Type</th>\n<th>Description</th>\n<th>Example</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>employers</td>\n<td>Required</td>\n<td>EmployerDto[]</td>\n<td>Array of employers to create or update</td>\n<td><code>[{...}]</code></td>\n</tr>\n<tr>\n<td>employers[].refId</td>\n<td>Optional</td>\n<td>string (UUID)</td>\n<td>Existing employer UUID for updates; omit to create</td>\n<td><code>\"00000000-0000-0000-0000-000000000000\"</code></td>\n</tr>\n<tr>\n<td>employers[].partnerRefId</td>\n<td>Required</td>\n<td>string (UUID)</td>\n<td>Partner this employer belongs to</td>\n<td><code>\"00000000-0000-0000-0000-000000000000\"</code></td>\n</tr>\n<tr>\n<td>employers[].name</td>\n<td>Optional</td>\n<td>string (1–30)</td>\n<td>Employer display name</td>\n<td><code>\"Acme Corp\"</code></td>\n</tr>\n<tr>\n<td>employers[].paymentAccountManagerCode</td>\n<td>Required</td>\n<td>string (1–4)</td>\n<td>Payment account manager code. Must be unique across employers (<code>PaymentAccountManagerCodeAlreadyExists</code>, status <code>4</code>)</td>\n<td><code>\"AC01\"</code></td>\n</tr>\n<tr>\n<td>employers[].address</td>\n<td>Optional</td>\n<td>string (1–30) | null</td>\n<td>Address</td>\n<td><code>\"1 Main St\"</code></td>\n</tr>\n<tr>\n<td>employers[].contactNumber</td>\n<td>Optional</td>\n<td>string</td>\n<td>Contact phone number</td>\n<td><code>\"+97231234567\"</code></td>\n</tr>\n<tr>\n<td>employers[].industry</td>\n<td>Optional</td>\n<td>string (1–30) | null</td>\n<td>Industry</td>\n<td><code>\"Retail\"</code></td>\n</tr>\n<tr>\n<td>employers[].costCenter</td>\n<td>Optional</td>\n<td>object</td>\n<td>Cost center definition</td>\n<td><code>{}</code></td>\n</tr>\n<tr>\n<td>employers[].isSkipPaymentDeviceAttachment</td>\n<td>Optional</td>\n<td>boolean</td>\n<td>Skip attaching payment devices at issuance</td>\n<td><code>false</code></td>\n</tr>\n<tr>\n<td>employers[].identificationTypes</td>\n<td>Optional</td>\n<td>enum[]</td>\n<td>Identification types users of this employer may log in with. Values: <code>id</code>, <code>passport</code>, <code>driversLicense</code>, <code>externalNumber</code>, <code>phoneNumber</code>, <code>email</code></td>\n<td><code>[\"id\", \"email\"]</code></td>\n</tr>\n<tr>\n<td>employers[].loginMethods</td>\n<td>Optional</td>\n<td>enum[]</td>\n<td>Allowed login methods. Values: <code>oidc</code>, <code>otpByPhoneNumber</code>, <code>otpByEmail</code></td>\n<td><code>[\"otpByPhoneNumber\"]</code></td>\n</tr>\n<tr>\n<td>employers[].identityProviders</td>\n<td>Optional</td>\n<td>enum[]</td>\n<td>OIDC identity providers enabled for the employer (e.g. <code>google</code>, <code>azure</code>, <code>govIL</code>). Required when <code>loginMethods</code> includes <code>oidc</code></td>\n<td><code>[\"google\"]</code></td>\n</tr>\n<tr>\n<td>employers[].managedByIdp</td>\n<td>Optional</td>\n<td>boolean</td>\n<td>Default <code>false</code>. When <code>true</code>, user roles are resolved from the identity provider's directory groups at login and cannot be set through <code>CreateOrUpdateUsers</code>; the employer must then list a managing provider (<code>azure</code> or <code>google</code>) in <code>identityProviders</code> (<code>InvalidIdpManagedConfiguration</code>, status <code>10</code>)</td>\n<td><code>false</code></td>\n</tr>\n<tr>\n<td>employers[].communicationMethods</td>\n<td>Optional</td>\n<td>enum[]</td>\n<td>Allowed communication message channels</td>\n<td><code>[\"sms\"]</code></td>\n</tr>\n<tr>\n<td>employers[].products</td>\n<td>Optional</td>\n<td>ProductDto[]</td>\n<td>Products offered by the employer (see <code>CreateProduct</code> for the product shape)</td>\n<td><code>[{...}]</code></td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"response-fields\">Response Fields</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>employers</code></td>\n<td>array — the persisted employers, same shape as the request</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["partners-backend","api","Employers","CreateOrUpdateEmployers"],"host":["api","stage","cal-platform","com"],"query":[],"variable":[]}},"response":[{"id":"07795d4a-6422-408f-ac11-9e9a43e9b23b","name":"CreateOrUpdateEmployers","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"}],"body":{"mode":"raw","raw":"{\n    \"employers\": [\n        {\n            \"refId\": \"string\",\n            \"partnerRefId\": \"string\",\n            \"products\": [\n                {\n                    \"refId\": \"string\",\n                    \"name\": \"string\",\n                    \"description\": \"string\",\n                    \"brand\": \"visa\",\n                    \"debitMethod\": \"paymentAccount\",\n                    \"optionalDebitDays\": [\n                        0\n                    ],\n                    \"frameType\": \"zeroFrame\",\n                    \"cardPhysicality\": \"physicalAndVirtual\",\n                    \"deliveryMethod\": \"postOffice\",\n                    \"launchDate\": \"2026-05-04T10:32:43.057Z\",\n                    \"isDesignable\": true,\n                    \"isBeneficiary\": true,\n                    \"beneficiaryType\": \"string\",\n                    \"resetCommandsOnReEntry\": true,\n                    \"paymentAccountManager\": \"platform\",\n                    \"isEmployeeRequiredForInit\": true,\n                    \"isIdentityDocumentRequired\": true,\n                    \"isOtpCommandRequired\": true,\n                    \"postIssuanceMobileMessageDelayInSeconds\": 0,\n                    \"isJoiningCibusAllowed\": true,\n                    \"isSignatureFormRequired\": true,\n                    \"kycSets\": [\n                        {}\n                    ],\n                    \"cardProductCode\": \"string\",\n                    \"clubs\": [\n                        {}\n                    ],\n                    \"isCustomerRecognitionRequired\": true,\n                    \"isFaceVerificationRequired\": true,\n                    \"isSelectCardPhysicality\": true,\n                    \"isPhoneNumberReadOnly\": true,\n                    \"isSkipPhoneNumberIssuerValidation\": true,\n                    \"isForeignTaxResidency\": true\n                }\n            ],\n            \"name\": \"string\",\n            \"address\": \"string\",\n            \"contactNumber\": \"0505000000\",\n            \"industry\": \"string\",\n            \"costCenter\": {\n                \"name\": \"string\",\n                \"code\": \"string\"\n            },\n            \"paymentAccountManagerCode\": \"string\",\n            \"isSkipPaymentDeviceAttachment\": true,\n            \"identificationTypes\": [\n                \"id\"\n            ],\n            \"identityProviders\": [\n                \"azure\"\n            ],\n            \"communicationMethods\": [\n                \"email\"\n            ],\n            \"companyRegistrationNumber\": \"string\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/partners-backend/api/Employers/CreateOrUpdateEmployers"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n  \"statusDescription\": \"string\",\n  \"statusCode\": 0,\n  \"sessionId\": \"string\",\n  \"httpStatus\": 0,\n  \"result\": {\n    \"employers\": [\n      {\n        \"refId\": \"string\",\n        \"partnerRefId\": \"string\",\n        \"products\": [\n          {\n            \"refId\": \"string\",\n            \"name\": \"string\",\n            \"description\": \"string\",\n            \"brand\": \"visa\",\n            \"debitMethod\": \"paymentAccount\",\n            \"optionalDebitDays\": [\n              0\n            ],\n            \"frameType\": \"zeroFrame\",\n            \"cardPhysicality\": \"physicalAndVirtual\",\n            \"deliveryMethod\": \"postOffice\",\n            \"launchDate\": \"2026-05-04T10:32:43.072Z\",\n            \"isDesignable\": true,\n            \"isBeneficiary\": true,\n            \"beneficiaryType\": \"string\",\n            \"resetCommandsOnReEntry\": true,\n            \"paymentAccountManager\": \"platform\",\n            \"isEmployeeRequiredForInit\": true,\n            \"isIdentityDocumentRequired\": true,\n            \"isOtpCommandRequired\": true,\n            \"postIssuanceMobileMessageDelayInSeconds\": 0,\n            \"isJoiningCibusAllowed\": true,\n            \"isSignatureFormRequired\": true,\n            \"kycSets\": [\n              {}\n            ],\n            \"cardProductCode\": \"string\",\n            \"clubs\": [\n              {}\n            ],\n            \"isCustomerRecognitionRequired\": true,\n            \"isFaceVerificationRequired\": true,\n            \"isSelectCardPhysicality\": true,\n            \"isPhoneNumberReadOnly\": true,\n            \"isSkipPhoneNumberIssuerValidation\": true,\n            \"isForeignTaxResidency\": true\n          }\n        ],\n        \"name\": \"string\",\n        \"address\": \"string\",\n        \"contactNumber\": \"0505000000\",\n        \"industry\": \"string\",\n        \"costCenter\": {\n          \"name\": \"string\",\n          \"code\": \"string\"\n        },\n        \"paymentAccountManagerCode\": \"string\",\n        \"isSkipPaymentDeviceAttachment\": true,\n        \"identificationTypes\": [\n          \"id\"\n        ],\n        \"identityProviders\": [\n          \"azure\"\n        ],\n        \"communicationMethods\": [\n          \"email\"\n        ],\n        \"companyRegistrationNumber\": \"string\"\n      }\n    ]\n  }\n}"}],"_postman_id":"593d9e88-db32-4ecd-8af0-22143a9e1807"},{"name":"GetAllEmployers","id":"9a24740b-edc1-4572-b3ac-fbf14fff832a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"}],"url":"https://api.stage.cal-platform.com/partners-backend/api/Employers/GetAllEmployers","description":"<p>Retrieves all employers in the system. This is a system-level operation available only to users with the <code>GetAllEmployers</code> scope. Used for platform-wide administration and reporting.</p>\n<hr />\n<h3 id=\"request-parameters\">Request Parameters</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field Name</th>\n<th>Required/Optional</th>\n<th>Type</th>\n<th>Description</th>\n<th>Example</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>pagination</td>\n<td>Optional</td>\n<td>object</td>\n<td>Cursor pagination</td>\n<td><code>{\"createdAt\": \"2024-01-01T00:00:00Z\", \"limit\": 20}</code></td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"response-fields\">Response Fields</h3>\n<p><em>No result data returned.</em></p>\n","urlObject":{"protocol":"https","path":["partners-backend","api","Employers","GetAllEmployers"],"host":["api","stage","cal-platform","com"],"query":[],"variable":[]}},"response":[{"id":"9fdfa2b9-1582-4464-afa3-2c44e4ac0c0f","name":"GetAllEmployers","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"}],"url":"https://api.stage.cal-platform.com/partners-backend/api/Employers/GetAllEmployers"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n  \"statusDescription\": \"string\",\n  \"statusCode\": 0,\n  \"sessionId\": \"string\",\n  \"httpStatus\": 0,\n  \"result\": {}\n}"}],"_postman_id":"9a24740b-edc1-4572-b3ac-fbf14fff832a"}],"id":"617c8eeb-4211-43cf-ad56-456fccd0935c","_postman_id":"617c8eeb-4211-43cf-ad56-456fccd0935c","description":""},{"name":"OrganizationSegments","item":[{"name":"GetOrganizationSegments","id":"041d7770-cfec-457d-9887-1e23ab9e778f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"},{"key":"X-Organization-Id","value":"{{OrganizationId}}"}],"body":{"mode":"raw","raw":"{\n    \"pagination\": {\n        \"id\": \"string\",\n        \"createdAt\": \"2026-05-04T06:01:26.103Z\",\n        \"limit\": 0\n    },\n    \"refIds\": [\n        \"string\"\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/partners-backend/api/OrganizationSegments/GetOrganizationSegments","description":"<p>Retrieves organization segments for the current organization. Organization segments are sub-groupings within an organization used to classify users and apply differentiated policies or configurations. Supports pagination and filtering by segment ref IDs.</p>\n<hr />\n<h3 id=\"request-parameters\">Request Parameters</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field Name</th>\n<th>Required/Optional</th>\n<th>Type</th>\n<th>Description</th>\n<th>Example</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>pagination</td>\n<td>Optional</td>\n<td>object</td>\n<td>Cursor pagination</td>\n<td><code>{\"createdAt\": \"2024-01-01T00:00:00Z\", \"limit\": 20}</code></td>\n</tr>\n<tr>\n<td>refIds</td>\n<td>Optional</td>\n<td>string[] (UUID)</td>\n<td>Filter by segment UUIDs</td>\n<td><code>[\"00000000-0000-0000-0000-000000000000\"]</code></td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["partners-backend","api","OrganizationSegments","GetOrganizationSegments"],"host":["api","stage","cal-platform","com"],"query":[],"variable":[]}},"response":[{"id":"15d7c2c4-7c5c-4a7d-8b0f-3e8681fe7b50","name":"GetOrganizationSegments","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"},{"key":"X-Organization-Id","value":"{{OrganizationId}}"}],"body":{"mode":"raw","raw":"{\n    \"pagination\": {\n        \"id\": \"string\",\n        \"createdAt\": \"2026-05-04T06:01:26.103Z\",\n        \"limit\": 0\n    },\n    \"refIds\": [\n        \"string\"\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/partners-backend/api/OrganizationSegments/GetOrganizationSegments"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n  \"statusDescription\": \"string\",\n  \"statusCode\": 0,\n  \"sessionId\": \"string\",\n  \"httpStatus\": 0,\n  \"result\": {\n    \"pagination\": {\n      \"id\": \"string\",\n      \"createdAt\": \"2026-05-04T06:44:18.282Z\"\n    },\n    \"organizationSegments\": [\n      {\n        \"refId\": \"string\",\n        \"employerRefId\": \"string\",\n        \"name\": \"string\",\n        \"productsRefIds\": [\n          \"string\"\n        ],\n        \"owners\": {\n          \"userRefIds\": [\n            \"string\"\n          ]\n        }\n      }\n    ]\n  }\n}"}],"_postman_id":"041d7770-cfec-457d-9887-1e23ab9e778f"},{"name":"CreateOrUpdateOrganizationSegments","id":"d446b2b2-e2aa-413d-a0d1-8729e9774943","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"},{"key":"X-Organization-Id","value":"{{OrganizationId}}"}],"body":{"mode":"raw","raw":"{\n    \"organizationSegments\": [\n        {\n            \"refId\": \"string\",\n            \"employerRefId\": \"string\",\n            \"name\": \"string\",\n            \"productsRefIds\": [\n                \"string\"\n            ],\n            \"owners\": {\n                \"userRefIds\": [\n                    \"string\"\n                ]\n            }\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/partners-backend/api/OrganizationSegments/CreateOrUpdateOrganizationSegments","description":"<p>Creates or updates organization segments. Provide a <code>refId</code> to update an existing segment; omit it to create a new one. Segments are used to classify users within an organization for policy and configuration targeting.</p>\n<hr />\n<h3 id=\"request-parameters\">Request Parameters</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field Name</th>\n<th>Required/Optional</th>\n<th>Type</th>\n<th>Description</th>\n<th>Example</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>organizationSegments</td>\n<td>Required</td>\n<td>SegmentDto[]</td>\n<td>Array of segments to create or update</td>\n<td><code>[{...}]</code></td>\n</tr>\n<tr>\n<td>organizationSegments[].refId</td>\n<td>Optional</td>\n<td>string (UUID)</td>\n<td>Existing segment UUID for updates; omit to create</td>\n<td><code>\"00000000-0000-0000-0000-000000000000\"</code></td>\n</tr>\n<tr>\n<td>organizationSegments[].name</td>\n<td>Required</td>\n<td>string</td>\n<td>Segment display name</td>\n<td><code>\"Remote Employees\"</code></td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["partners-backend","api","OrganizationSegments","CreateOrUpdateOrganizationSegments"],"host":["api","stage","cal-platform","com"],"query":[],"variable":[]}},"response":[{"id":"35ea1ac1-16a3-49be-b052-ee328b12a25c","name":"CreateOrUpdateOrganizationSegments","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"},{"key":"X-Organization-Id","value":"{{OrganizationId}}"}],"body":{"mode":"raw","raw":"{\n    \"organizationSegments\": [\n        {\n            \"refId\": \"string\",\n            \"employerRefId\": \"string\",\n            \"name\": \"string\",\n            \"productsRefIds\": [\n                \"string\"\n            ],\n            \"owners\": {\n                \"userRefIds\": [\n                    \"string\"\n                ]\n            }\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/partners-backend/api/OrganizationSegments/CreateOrUpdateOrganizationSegments"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n  \"statusDescription\": \"string\",\n  \"statusCode\": 0,\n  \"sessionId\": \"string\",\n  \"httpStatus\": 0,\n  \"result\": {\n    \"organizationSegments\": [\n      {\n        \"refId\": \"string\",\n        \"employerRefId\": \"string\",\n        \"name\": \"string\",\n        \"productsRefIds\": [\n          \"string\"\n        ],\n        \"owners\": {\n          \"userRefIds\": [\n            \"string\"\n          ]\n        }\n      }\n    ]\n  }\n}"}],"_postman_id":"d446b2b2-e2aa-413d-a0d1-8729e9774943"},{"name":"DeleteOrganizationSegments","id":"0d3c20a8-744f-4cb1-82b3-1ae5c00d0b68","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"},{"key":"X-Organization-Id","value":"{{OrganizationId}}"}],"body":{"mode":"raw","raw":"{\n    \"refIds\": [\n        \"string\"\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/partners-backend/api/OrganizationSegments/DeleteOrganizationSegments","description":"<p>Deletes one or more organization segments. Segments that are currently assigned to active users cannot be deleted.</p>\n<hr />\n<h3 id=\"request-parameters\">Request Parameters</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field Name</th>\n<th>Required/Optional</th>\n<th>Type</th>\n<th>Description</th>\n<th>Example</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>refIds</td>\n<td>Required</td>\n<td>string[] (UUID)</td>\n<td>Array of segment UUIDs to delete</td>\n<td><code>[\"00000000-0000-0000-0000-000000000000\"]</code></td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["partners-backend","api","OrganizationSegments","DeleteOrganizationSegments"],"host":["api","stage","cal-platform","com"],"query":[],"variable":[]}},"response":[{"id":"b2a87c1c-1189-48d0-a64a-cc8783359d6a","name":"DeleteOrganizationSegments","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"},{"key":"X-Organization-Id","value":"{{OrganizationId}}"}],"body":{"mode":"raw","raw":"{\n    \"refIds\": [\n        \"string\"\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/partners-backend/api/OrganizationSegments/DeleteOrganizationSegments"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n  \"statusDescription\": \"string\",\n  \"statusCode\": 0,\n  \"sessionId\": \"string\",\n  \"httpStatus\": 0,\n  \"result\": {\n    \"deletedEntries\": [\n      \"string\"\n    ]\n  }\n}"}],"_postman_id":"0d3c20a8-744f-4cb1-82b3-1ae5c00d0b68"}],"id":"c491c115-df4a-4abe-b85a-13ebfacf96c7","_postman_id":"c491c115-df4a-4abe-b85a-13ebfacf96c7","description":""},{"name":"OrganizationUnits","item":[{"name":"CreateOrUpdateOrganizationUnits","id":"083ab973-8cb8-4251-adda-c3ba19d4dbcb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"},{"key":"X-Organization-Id","value":"{{OrganizationId}}"}],"body":{"mode":"raw","raw":"{\n    \"organizationUnits\": [\n        {\n            \"refId\": \"string\",\n            \"employerRefId\": \"string\",\n            \"name\": \"string\",\n            \"productsRefIds\": [\n                \"string\"\n            ],\n            \"owners\": {\n                \"userRefIds\": [\n                    \"string\"\n                ]\n            },\n            \"parentRefId\": \"string\",\n            \"label\": \"string\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/partners-backend/api/OrganizationUnits/CreateOrUpdateOrganizationUnits","description":"<p>Creates or updates organization units. All units in the request must belong to the same employer.</p>\n<hr />\n<h3 id=\"request-parameters\">Request Parameters</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field Name</th>\n<th>Required/Optional</th>\n<th>Type</th>\n<th>Description</th>\n<th>Example</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>organizationUnits</td>\n<td>Required</td>\n<td>OrganizationUnitDto[]</td>\n<td>Array of units to create or update</td>\n<td><code>[{...}]</code></td>\n</tr>\n<tr>\n<td>organizationUnits[].refId</td>\n<td>Optional</td>\n<td>string (UUID)</td>\n<td>Existing unit UUID for updates; omit to create</td>\n<td><code>\"00000000-0000-0000-0000-000000000000\"</code></td>\n</tr>\n<tr>\n<td>organizationUnits[].employerRefId</td>\n<td>Required</td>\n<td>string (UUID)</td>\n<td>Employer this unit belongs to</td>\n<td><code>\"00000000-0000-0000-0000-000000000000\"</code></td>\n</tr>\n<tr>\n<td>organizationUnits[].name</td>\n<td>Required</td>\n<td>string (max 30)</td>\n<td>Unit display name</td>\n<td><code>\"Engineering\"</code></td>\n</tr>\n<tr>\n<td>organizationUnits[].label</td>\n<td>Required</td>\n<td>string (max 30)</td>\n<td>Short label for the unit</td>\n<td><code>\"ENG\"</code></td>\n</tr>\n<tr>\n<td>organizationUnits[].parentRefId</td>\n<td>Optional</td>\n<td>string (UUID)</td>\n<td>Parent unit UUID for hierarchical nesting</td>\n<td><code>\"00000000-0000-0000-0000-000000000000\"</code></td>\n</tr>\n<tr>\n<td>organizationUnits[].productsRefIds</td>\n<td>Optional</td>\n<td>string[] (UUID)</td>\n<td>Product UUIDs linked to this unit</td>\n<td><code>[\"00000000-0000-0000-0000-000000000000\"]</code></td>\n</tr>\n<tr>\n<td>organizationUnits[].owners</td>\n<td>Required</td>\n<td>object</td>\n<td>Unit ownership details</td>\n<td><code>{\"userRefIds\": [...]}</code></td>\n</tr>\n<tr>\n<td>organizationUnits[].owners.userRefIds</td>\n<td>Required</td>\n<td>string[] (UUID)</td>\n<td>UUIDs of users who own this unit</td>\n<td><code>[\"00000000-0000-0000-0000-000000000000\"]</code></td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["partners-backend","api","OrganizationUnits","CreateOrUpdateOrganizationUnits"],"host":["api","stage","cal-platform","com"],"query":[],"variable":[]}},"response":[{"id":"8298b65b-288d-48fa-953a-bc7556ca71c2","name":"CreateOrUpdateOrganizationUnits","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"},{"key":"X-Organization-Id","value":"{{OrganizationId}}"}],"body":{"mode":"raw","raw":"{\n    \"organizationUnits\": [\n        {\n            \"refId\": \"string\",\n            \"employerRefId\": \"string\",\n            \"name\": \"string\",\n            \"productsRefIds\": [\n                \"string\"\n            ],\n            \"owners\": {\n                \"userRefIds\": [\n                    \"string\"\n                ]\n            },\n            \"parentRefId\": \"string\",\n            \"label\": \"string\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/partners-backend/api/OrganizationUnits/CreateOrUpdateOrganizationUnits"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n  \"statusDescription\": \"string\",\n  \"statusCode\": 0,\n  \"sessionId\": \"string\",\n  \"httpStatus\": 0,\n  \"result\": {\n    \"organizationUnits\": [\n      {\n        \"refId\": \"string\",\n        \"employerRefId\": \"string\",\n        \"name\": \"string\",\n        \"productsRefIds\": [\n          \"string\"\n        ],\n        \"owners\": {\n          \"userRefIds\": [\n            \"string\"\n          ]\n        },\n        \"parentRefId\": \"string\",\n        \"label\": \"string\"\n      }\n    ]\n  }\n}"}],"_postman_id":"083ab973-8cb8-4251-adda-c3ba19d4dbcb"},{"name":"GetOrganizationUnits","id":"780733a7-1e3b-4170-8dfc-77d2c95f46b7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"},{"key":"X-Organization-Id","value":"{{OrganizationId}}"}],"body":{"mode":"raw","raw":"{\n    \"pagination\": {\n        \"id\": \"string\",\n        \"createdAt\": \"2026-05-04T06:02:43.690Z\",\n        \"limit\": 0\n    },\n    \"parentRefId\": \"string\",\n    \"refIds\": [\n        \"string\"\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/partners-backend/api/OrganizationUnits/GetOrganizationUnits","description":"<p>Retrieves organization units. You must provide either pagination details or a list of unit IDs. You can also filter by parent unit when paginating.</p>\n<hr />\n<h3 id=\"request-parameters\">Request Parameters</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field Name</th>\n<th>Required/Optional</th>\n<th>Type</th>\n<th>Description</th>\n<th>Example</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>pagination</td>\n<td>Optional*</td>\n<td>object</td>\n<td>Pagination cursor. Required if <code>refIds</code> is not provided</td>\n<td><code>{\"createdAt\": \"2024-01-01T00:00:00Z\", \"limit\": 20}</code></td>\n</tr>\n<tr>\n<td>pagination.id</td>\n<td>Optional</td>\n<td>string</td>\n<td>Cursor ID from the last record of the previous page</td>\n<td><code>\"00000000-0000-0000-0000-000000000000\"</code></td>\n</tr>\n<tr>\n<td>pagination.createdAt</td>\n<td>Required (if pagination)</td>\n<td>Date</td>\n<td>Created-at timestamp cursor for pagination</td>\n<td><code>\"2024-01-01T00:00:00Z\"</code></td>\n</tr>\n<tr>\n<td>pagination.limit</td>\n<td>Required (if pagination)</td>\n<td>number</td>\n<td>Number of records to return</td>\n<td><code>20</code></td>\n</tr>\n<tr>\n<td>parentRefId</td>\n<td>Optional</td>\n<td>string (UUID)</td>\n<td>Filter by parent unit UUID (used together with pagination)</td>\n<td><code>\"00000000-0000-0000-0000-000000000000\"</code></td>\n</tr>\n<tr>\n<td>refIds</td>\n<td>Optional*</td>\n<td>string[] (UUID)</td>\n<td>Array of unit UUIDs to retrieve. Required if <code>pagination</code> is not provided</td>\n<td><code>[\"00000000-0000-0000-0000-000000000000\"]</code></td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["partners-backend","api","OrganizationUnits","GetOrganizationUnits"],"host":["api","stage","cal-platform","com"],"query":[],"variable":[]}},"response":[{"id":"33173a82-c1e6-498b-822c-2d98932b61dd","name":"GetOrganizationUnits","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"},{"key":"X-Organization-Id","value":"{{OrganizationId}}"}],"body":{"mode":"raw","raw":"{\n    \"pagination\": {\n        \"id\": \"string\",\n        \"createdAt\": \"2026-05-04T06:02:43.690Z\",\n        \"limit\": 0\n    },\n    \"parentRefId\": \"string\",\n    \"refIds\": [\n        \"string\"\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/partners-backend/api/OrganizationUnits/GetOrganizationUnits"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"statusDescription\": \"string\",\n    \"statusCode\": 0,\n    \"sessionId\": \"string\",\n    \"httpStatus\": 0,\n    \"result\": {\n        \"pagination\": {\n            \"id\": \"string\",\n            \"createdAt\": \"2026-05-04T06:46:50.967Z\"\n        },\n        \"organizationUnits\": [\n            {\n                \"refId\": \"string\",\n                \"employerRefId\": \"string\",\n                \"name\": \"string\",\n                \"productsRefIds\": [\n                    \"string\"\n                ],\n                \"owners\": {\n                    \"userRefIds\": [\n                        \"string\"\n                    ]\n                },\n                \"parentRefId\": \"string\",\n                \"label\": \"string\"\n            }\n        ]\n    }\n}"}],"_postman_id":"780733a7-1e3b-4170-8dfc-77d2c95f46b7"},{"name":"DeleteOrganizationUnits","id":"27da1369-c885-498b-8d49-1314def9709e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"},{"key":"X-Organization-Id","value":"{{OrganizationId}}"}],"body":{"mode":"raw","raw":"{\n    \"refIds\": [\n        \"string\"\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/partners-backend/api/OrganizationUnits/DeleteOrganizationUnits","description":"<p>Deletes one or more organization units.</p>\n<hr />\n<h3 id=\"request-parameters\">Request Parameters</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field Name</th>\n<th>Required/Optional</th>\n<th>Type</th>\n<th>Description</th>\n<th>Example</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>refIds</td>\n<td>Required</td>\n<td>string[] (UUID)</td>\n<td>Array of organization unit UUIDs to delete</td>\n<td><code>[\"00000000-0000-0000-0000-000000000000\"]</code></td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["partners-backend","api","OrganizationUnits","DeleteOrganizationUnits"],"host":["api","stage","cal-platform","com"],"query":[],"variable":[]}},"response":[{"id":"782d22e5-44a7-4162-b344-bf24eb3600fa","name":"DeleteOrganizationUnits","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"},{"key":"X-Organization-Id","value":"{{OrganizationId}}"}],"body":{"mode":"raw","raw":"{\n    \"refIds\": [\n        \"string\"\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/partners-backend/api/OrganizationUnits/DeleteOrganizationUnits"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n  \"statusDescription\": \"string\",\n  \"statusCode\": 0,\n  \"sessionId\": \"string\",\n  \"httpStatus\": 0,\n  \"result\": {\n    \"deletedEntries\": [\n      \"string\"\n    ]\n  }\n}"}],"_postman_id":"27da1369-c885-498b-8d49-1314def9709e"}],"id":"e489ed04-c5ac-4ab6-926f-5af9d2c3750d","_postman_id":"e489ed04-c5ac-4ab6-926f-5af9d2c3750d","description":""},{"name":"Users","item":[{"name":"GetUsers","id":"a950719f-ef2b-49f1-bc03-0423a09d8c86","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"},{"key":"X-Organization-Id","value":"{{OrganizationId}}"}],"body":{"mode":"raw","raw":"{\n    \"pagination\": {\n        \"id\": \"string\",\n        \"createdAt\": \"2026-05-04T06:03:10.587Z\",\n        \"limit\": 0\n    },\n    \"refIds\": [\n        \"string\"\n    ],\n    \"identificationType\": \"id\",\n    \"identifier\": \"string\",\n    \"identifierMatches\": [\n        { \"type\": \"email\", \"value\": \"user@example.com\" }\n    ],\n    \"filter\": {\n        \"freeText\": \"string\",\n        \"statuses\": [\"active\", \"suspended\"],\n        \"identificationTypes\": [\n            \"id\"\n        ],\n        \"roleRefIds\": [\n            \"string\"\n        ],\n        \"organizationUnitRefIds\": [\n            \"string\"\n        ],\n        \"organizationSegmentRefIds\": [\n            \"string\"\n        ]\n    },\n    \"relations\": {}\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/partners-backend/api/Users/GetUsers","description":"<p>Retrieves users matching the given criteria. You must provide at least one of: pagination details, an identifier type and value together, a list of user IDs, or a list of identifier matches.</p>\n<p>By default only non-terminated users are returned; pass <code>filter.statuses</code> to include <code>terminated</code> users or to narrow to specific statuses.</p>\n<hr />\n<h3 id=\"request-parameters\">Request Parameters</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field Name</th>\n<th>Required/Optional</th>\n<th>Type</th>\n<th>Description</th>\n<th>Example</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>pagination</td>\n<td>Optional*</td>\n<td>object</td>\n<td>Pagination cursor. Required if <code>identificationType</code>+<code>identifier</code>, <code>refIds</code> and <code>identifierMatches</code> are all absent</td>\n<td><code>{\"createdAt\": \"2024-01-01T00:00:00Z\", \"limit\": 20}</code></td>\n</tr>\n<tr>\n<td>pagination.id</td>\n<td>Optional</td>\n<td>string</td>\n<td>Cursor ID from the last record of the previous page</td>\n<td><code>\"00000000-0000-0000-0000-000000000000\"</code></td>\n</tr>\n<tr>\n<td>pagination.createdAt</td>\n<td>Required (if pagination)</td>\n<td>Date</td>\n<td>Created-at timestamp cursor for pagination</td>\n<td><code>\"2024-01-01T00:00:00Z\"</code></td>\n</tr>\n<tr>\n<td>pagination.limit</td>\n<td>Required (if pagination)</td>\n<td>number</td>\n<td>Number of records to return</td>\n<td><code>20</code></td>\n</tr>\n<tr>\n<td>includeTotalCount</td>\n<td>Optional</td>\n<td>boolean</td>\n<td>If true, <code>totalCount</code> is returned</td>\n<td><code>true</code></td>\n</tr>\n<tr>\n<td>identificationType</td>\n<td>Optional*</td>\n<td>enum</td>\n<td>Identifier type for lookup. Required together with <code>identifier</code>. Values: <code>id</code>, <code>passport</code>, <code>driversLicense</code>, <code>externalNumber</code>, <code>phoneNumber</code>, <code>email</code></td>\n<td><code>\"phoneNumber\"</code></td>\n</tr>\n<tr>\n<td>identifier</td>\n<td>Optional*</td>\n<td>string</td>\n<td>Identifier value matching <code>identificationType</code>. Required together with <code>identificationType</code></td>\n<td><code>\"+972501234567\"</code></td>\n</tr>\n<tr>\n<td>refIds</td>\n<td>Optional*</td>\n<td>string[] (UUID)</td>\n<td>Array of user UUIDs</td>\n<td><code>[\"00000000-0000-0000-0000-000000000000\"]</code></td>\n</tr>\n<tr>\n<td>identifierMatches</td>\n<td>Optional*</td>\n<td>object[]</td>\n<td>Returns all users matching <strong>any</strong> of the given identifiers. Combined with the other criteria via AND</td>\n<td><code>[{\"type\": \"email\", \"value\": \"user@example.com\"}]</code></td>\n</tr>\n<tr>\n<td>identifierMatches[].type</td>\n<td>Required</td>\n<td>enum</td>\n<td>Same values as <code>identificationType</code></td>\n<td><code>\"email\"</code></td>\n</tr>\n<tr>\n<td>identifierMatches[].value</td>\n<td>Required</td>\n<td>string</td>\n<td>Identifier value</td>\n<td><code>\"user@example.com\"</code></td>\n</tr>\n<tr>\n<td>filter</td>\n<td>Optional</td>\n<td>object</td>\n<td>Additional filters to narrow results</td>\n<td><code>{}</code></td>\n</tr>\n<tr>\n<td>filter.freeText</td>\n<td>Optional</td>\n<td>string</td>\n<td>Free-text search across user fields</td>\n<td><code>\"John\"</code></td>\n</tr>\n<tr>\n<td>filter.statuses</td>\n<td>Optional</td>\n<td>UserStatus[]</td>\n<td>Filter by status. Values: <code>active</code>, <code>suspended</code>, <code>locked</code>, <code>systemLocked</code>, <code>terminated</code>. Default when omitted: every status except <code>terminated</code></td>\n<td><code>[\"active\", \"suspended\"]</code></td>\n</tr>\n<tr>\n<td>filter.identificationTypes</td>\n<td>Optional</td>\n<td>enum[]</td>\n<td>Filter by identification types</td>\n<td><code>[\"id\", \"phoneNumber\"]</code></td>\n</tr>\n<tr>\n<td>filter.roleRefIds</td>\n<td>Optional</td>\n<td>string[] (UUID)</td>\n<td>Filter by role UUIDs</td>\n<td><code>[\"00000000-0000-0000-0000-000000000000\"]</code></td>\n</tr>\n<tr>\n<td>filter.organizationUnitRefIds</td>\n<td>Optional</td>\n<td>string[] (UUID)</td>\n<td>Filter by organization unit UUIDs</td>\n<td><code>[\"00000000-0000-0000-0000-000000000000\"]</code></td>\n</tr>\n<tr>\n<td>filter.organizationSegmentRefIds</td>\n<td>Optional</td>\n<td>string[] (UUID)</td>\n<td>Filter by organization segment UUIDs</td>\n<td><code>[\"00000000-0000-0000-0000-000000000000\"]</code></td>\n</tr>\n<tr>\n<td>relations</td>\n<td>Optional</td>\n<td>object</td>\n<td>Related entity fields to include in the response</td>\n<td><code>{}</code></td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"response-fields\">Response Fields</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>users</code></td>\n<td>array — see <code>CreateOrUpdateUsers</code> for the user shape; each user also carries <code>status</code> (UserStatus) and <code>hasFullOrganizationAccess</code> (boolean)</td>\n</tr>\n<tr>\n<td><code>pagination</code></td>\n<td>object (<code>id</code>, <code>createdAt</code>)</td>\n</tr>\n<tr>\n<td><code>totalCount</code></td>\n<td>number — only when <code>includeTotalCount</code> is true</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["partners-backend","api","Users","GetUsers"],"host":["api","stage","cal-platform","com"],"query":[],"variable":[]}},"response":[{"id":"451c778d-cda5-4307-881e-4d5d8213fd26","name":"GetUsers","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"},{"key":"X-Organization-Id","value":"{{OrganizationId}}"}],"body":{"mode":"raw","raw":"{\n    \"pagination\": {\n        \"id\": \"string\",\n        \"createdAt\": \"2026-05-04T06:03:10.587Z\",\n        \"limit\": 0\n    },\n    \"refIds\": [\n        \"string\"\n    ],\n    \"identificationType\": \"id\",\n    \"identifier\": \"string\",\n    \"filter\": {\n        \"freeText\": \"string\",\n        \"status\": \"active\",\n        \"identificationTypes\": [\n            \"id\"\n        ],\n        \"roleRefIds\": [\n            \"string\"\n        ],\n        \"organizationUnitRefIds\": [\n            \"string\"\n        ],\n        \"organizationSegmentRefIds\": [\n            \"string\"\n        ]\n    },\n    \"relations\": {}\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/partners-backend/api/Users/GetUsers"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"statusDescription\": \"string\",\n    \"statusCode\": 0,\n    \"sessionId\": \"string\",\n    \"httpStatus\": 0,\n    \"result\": {\n        \"pagination\": {\n            \"id\": \"string\",\n            \"createdAt\": \"2026-05-04T06:48:09.940Z\"\n        },\n        \"users\": [\n            {\n                \"refId\": \"string\",\n                \"employerRefId\": \"string\",\n                \"employerRefIds\": [\n                    \"string\"\n                ],\n                \"id\": \"string\",\n                \"phoneNumber\": \"0505000000\",\n                \"email\": \"email@domain.com\",\n                \"driversLicense\": \"string\",\n                \"passport\": \"string\",\n                \"externalNumber\": \"string\",\n                \"firstName\": \"string\",\n                \"lastName\": \"string\",\n                \"dateOfBirth\": \"2026-05-04T06:48:09.941Z\",\n                \"organizationUnitRefId\": \"string\",\n                \"organizationSegmentRefIds\": [\n                    \"string\"\n                ],\n                \"roleRefId\": \"string\"\n            }\n        ]\n    }\n}"}],"_postman_id":"a950719f-ef2b-49f1-bc03-0423a09d8c86"},{"name":"CreateOrUpdateUsers","id":"2009815e-5ff3-422c-b25b-90201cc5991c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"},{"key":"X-Organization-Id","value":"{{OrganizationId}}"}],"body":{"mode":"raw","raw":"{\n    \"users\": [\n        {\n            \"refId\": \"string\",\n            \"employerRefId\": \"string\",\n            \"employerRefIds\": [\n                \"string\"\n            ],\n            \"id\": \"string\",\n            \"phoneNumber\": \"0505000000\",\n            \"email\": \"email@domain.com\",\n            \"driversLicense\": \"string\",\n            \"passport\": \"string\",\n            \"externalNumber\": \"string\",\n            \"firstName\": \"string\",\n            \"lastName\": \"string\",\n            \"dateOfBirth\": \"2026-05-04T06:03:52.053Z\",\n            \"organizationUnitRefId\": \"string\",\n            \"organizationSegmentRefIds\": [\n                \"string\"\n            ],\n            \"roleRefId\": \"string\",\n            \"hasFullOrganizationAccess\": true\n        }\n    ],\n    \"hasFullOrganizationAccess\": true\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/partners-backend/api/Users/CreateOrUpdateUsers","description":"<p>Creates or updates users. All users in the request must belong to the same employer. Each user must have at least a phone number or an email address.</p>\n<p><code>status</code> is <strong>not</strong> writable here: new users are created as <code>active</code>, and status changes go through <code>UpdateUsersStatus</code>, <code>DeleteUsers</code> (terminate) and <code>ActivateUsers</code>. Assigning a terminated user to an organization unit or segment is rejected. The caller must be an active, non-terminated user.</p>\n<hr />\n<h3 id=\"request-parameters\">Request Parameters</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field Name</th>\n<th>Required/Optional</th>\n<th>Type</th>\n<th>Description</th>\n<th>Example</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>users</td>\n<td>Required</td>\n<td>UserDto[]</td>\n<td>Array of users to create or update</td>\n<td><code>[{...}]</code></td>\n</tr>\n<tr>\n<td>users[].refId</td>\n<td>Optional</td>\n<td>string (UUID)</td>\n<td>Existing user UUID for updates; omit to create</td>\n<td><code>\"00000000-0000-0000-0000-000000000000\"</code></td>\n</tr>\n<tr>\n<td>users[].employerRefId</td>\n<td>Required</td>\n<td>string (UUID)</td>\n<td>Employer this user belongs to</td>\n<td><code>\"00000000-0000-0000-0000-000000000000\"</code></td>\n</tr>\n<tr>\n<td>users[].employerRefIds</td>\n<td>Optional</td>\n<td>string[] (UUID)</td>\n<td>Explicit list of employers (organizations) the user may act in. On update the list replaces the stored one; omit it to leave the assignment unchanged. See Organization access below</td>\n<td><code>[\"00000000-0000-0000-0000-000000000000\"]</code></td>\n</tr>\n<tr>\n<td>users[].hasFullOrganizationAccess</td>\n<td>Optional</td>\n<td>boolean</td>\n<td>Per-user override of the request-level flag. See Organization access below</td>\n<td><code>true</code></td>\n</tr>\n<tr>\n<td>users[].phoneNumber</td>\n<td>Optional*</td>\n<td>string</td>\n<td>User phone number. Required if <code>email</code> is not provided</td>\n<td><code>\"+972501234567\"</code></td>\n</tr>\n<tr>\n<td>users[].email</td>\n<td>Optional*</td>\n<td>string</td>\n<td>User email address. Required if <code>phoneNumber</code> is not provided</td>\n<td><code>\"user@example.com\"</code></td>\n</tr>\n<tr>\n<td>users[].id</td>\n<td>Optional</td>\n<td>string</td>\n<td>Israeli national ID (teudat zehut)</td>\n<td><code>\"123456789\"</code></td>\n</tr>\n<tr>\n<td>users[].driversLicense</td>\n<td>Optional</td>\n<td>string (max 20)</td>\n<td>Driver's license number</td>\n<td><code>\"12345678\"</code></td>\n</tr>\n<tr>\n<td>users[].passport</td>\n<td>Optional</td>\n<td>string (max 20)</td>\n<td>Passport number</td>\n<td><code>\"AB1234567\"</code></td>\n</tr>\n<tr>\n<td>users[].externalNumber</td>\n<td>Optional</td>\n<td>string (max 20)</td>\n<td>External identifier</td>\n<td><code>\"EXT001\"</code></td>\n</tr>\n<tr>\n<td>users[].firstName</td>\n<td>Optional</td>\n<td>string (max 30)</td>\n<td>User's first name. Letters, spaces, hyphen and apostrophe only</td>\n<td><code>\"John\"</code></td>\n</tr>\n<tr>\n<td>users[].lastName</td>\n<td>Optional</td>\n<td>string (max 30)</td>\n<td>User's last name</td>\n<td><code>\"Doe\"</code></td>\n</tr>\n<tr>\n<td>users[].dateOfBirth</td>\n<td>Optional</td>\n<td>Date | null</td>\n<td>User's date of birth. Send <code>null</code> to clear</td>\n<td><code>\"1990-01-01\"</code></td>\n</tr>\n<tr>\n<td>users[].organizationUnitRefId</td>\n<td>Optional</td>\n<td>string (UUID) | null</td>\n<td>Organization unit assignment. Send <code>null</code> to clear</td>\n<td><code>\"00000000-0000-0000-0000-000000000000\"</code></td>\n</tr>\n<tr>\n<td>users[].organizationSegmentRefIds</td>\n<td>Optional</td>\n<td>string[] (UUID) | null</td>\n<td>Organization segment assignments. Send <code>null</code> to clear</td>\n<td><code>[\"00000000-0000-0000-0000-000000000000\"]</code></td>\n</tr>\n<tr>\n<td>users[].roleRefId</td>\n<td>Required</td>\n<td>string (UUID)</td>\n<td>Role assigned to this user. Roles managed by an identity provider (IdP-managed employers) cannot be set here (<code>UserRoleManagedByIdp</code>, status <code>11</code>)</td>\n<td><code>\"00000000-0000-0000-0000-000000000000\"</code></td>\n</tr>\n<tr>\n<td>users[].partnerRefId</td>\n<td>Optional</td>\n<td>string (UUID)</td>\n<td>Partner reference ID</td>\n<td><code>\"00000000-0000-0000-0000-000000000000\"</code></td>\n</tr>\n<tr>\n<td>hasFullOrganizationAccess</td>\n<td>Optional</td>\n<td>boolean</td>\n<td>Batch default for <code>users[].hasFullOrganizationAccess</code> when a user does not set it. On create an absent value is treated as <code>false</code></td>\n<td><code>true</code></td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"organization-access\">Organization access</h3>\n<ul>\n<li><code>hasFullOrganizationAccess: true</code> grants the user every employer of the partner; <code>false</code> limits the user to <code>employerRefIds</code> (plus <code>employerRefId</code>).</li>\n<li>On update, an omitted <code>employerRefIds</code> leaves the stored list unchanged; a <code>hasFullOrganizationAccess</code> flag without a list keeps the legacy behaviour where the flag decides the list.</li>\n<li>Explicit <code>employerRefIds</code> may only be set for roles that support multi-employer access. They are rejected for <code>User</code>, <code>PartnerAdmin</code> and <code>System</code> target roles, and the caller needs full-organization access, a role at or above the target role, and the same partner.</li>\n<li>The result of these rules is also mirrored to the user's Cognito <code>organizationIds</code> claim.</li>\n</ul>\n<hr />\n<h3 id=\"response-fields\">Response Fields</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>users</code></td>\n<td>array — the persisted users, same shape as the request plus <code>status</code></td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["partners-backend","api","Users","CreateOrUpdateUsers"],"host":["api","stage","cal-platform","com"],"query":[],"variable":[]}},"response":[{"id":"5bf4501c-e1c6-4b3f-9684-1ba99a998314","name":"CreateOrUpdateUsers","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"},{"key":"X-Organization-Id","value":"{{OrganizationId}}"}],"body":{"mode":"raw","raw":"{\n    \"users\": [\n        {\n            \"refId\": \"string\",\n            \"employerRefId\": \"string\",\n            \"employerRefIds\": [\n                \"string\"\n            ],\n            \"id\": \"string\",\n            \"phoneNumber\": \"0505000000\",\n            \"email\": \"email@domain.com\",\n            \"driversLicense\": \"string\",\n            \"passport\": \"string\",\n            \"externalNumber\": \"string\",\n            \"firstName\": \"string\",\n            \"lastName\": \"string\",\n            \"dateOfBirth\": \"2026-05-04T06:03:52.053Z\",\n            \"organizationUnitRefId\": \"string\",\n            \"organizationSegmentRefIds\": [\n                \"string\"\n            ],\n            \"roleRefId\": \"string\"\n        }\n    ],\n    \"hasFullOrganizationAccess\": true\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/partners-backend/api/Users/CreateOrUpdateUsers"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n  \"statusDescription\": \"string\",\n  \"statusCode\": 0,\n  \"sessionId\": \"string\",\n  \"httpStatus\": 0,\n  \"result\": {\n    \"users\": [\n      {\n        \"refId\": \"string\",\n        \"employerRefId\": \"string\",\n        \"employerRefIds\": [\n          \"string\"\n        ],\n        \"id\": \"string\",\n        \"phoneNumber\": \"0505000000\",\n        \"email\": \"email@domain.com\",\n        \"driversLicense\": \"string\",\n        \"passport\": \"string\",\n        \"externalNumber\": \"string\",\n        \"firstName\": \"string\",\n        \"lastName\": \"string\",\n        \"dateOfBirth\": \"2026-05-04T06:48:32.888Z\",\n        \"organizationUnitRefId\": \"string\",\n        \"organizationSegmentRefIds\": [\n          \"string\"\n        ],\n        \"roleRefId\": \"string\"\n      }\n    ]\n  }\n}"}],"_postman_id":"2009815e-5ff3-422c-b25b-90201cc5991c"},{"name":"DeleteUsers","id":"bc4bf2be-6e1c-4d00-b115-2f6ef837c33c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"},{"key":"X-Organization-Id","value":"{{OrganizationId}}"}],"body":{"mode":"raw","raw":"{\n    \"refIds\": [\n        \"string\"\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/partners-backend/api/Users/DeleteUsers","description":"<p>Deletes one or more users.</p>\n<hr />\n<h3 id=\"request-parameters\">Request Parameters</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field Name</th>\n<th>Required/Optional</th>\n<th>Type</th>\n<th>Description</th>\n<th>Example</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>refIds</td>\n<td>Required</td>\n<td>string[] (UUID)</td>\n<td>Array of user UUIDs to delete</td>\n<td><code>[\"00000000-0000-0000-0000-000000000000\"]</code></td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["partners-backend","api","Users","DeleteUsers"],"host":["api","stage","cal-platform","com"],"query":[],"variable":[]}},"response":[{"id":"056dada8-e559-4d22-a987-002b50f8f37b","name":"DeleteUsers","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"},{"key":"X-Organization-Id","value":"{{OrganizationId}}"}],"body":{"mode":"raw","raw":"{\n    \"refIds\": [\n        \"string\"\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/partners-backend/api/Users/DeleteUsers"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n  \"statusDescription\": \"string\",\n  \"statusCode\": 0,\n  \"sessionId\": \"string\",\n  \"httpStatus\": 0,\n  \"result\": {\n    \"deletedEntries\": [\n      \"string\"\n    ]\n  }\n}"}],"_postman_id":"bc4bf2be-6e1c-4d00-b115-2f6ef837c33c"},{"name":"CreateOrUpdatePartnerUser","id":"3269c7bf-b0fe-4fe5-b4f2-70b7c798c257","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"}],"body":{"mode":"raw","raw":"{\n    \"user\": {\n        \"refId\": \"string\",\n        \"employerRefId\": \"string\",\n        \"employerRefIds\": [\n            \"string\"\n        ],\n        \"id\": \"string\",\n        \"phoneNumber\": \"0505000000\",\n        \"email\": \"email@domain.com\",\n        \"driversLicense\": \"string\",\n        \"passport\": \"string\",\n        \"externalNumber\": \"string\",\n        \"firstName\": \"string\",\n        \"lastName\": \"string\",\n        \"dateOfBirth\": \"2026-05-04T10:36:41.415Z\",\n        \"organizationUnitRefId\": \"string\",\n        \"organizationSegmentRefIds\": [\n            \"string\"\n        ],\n        \"roleRefId\": \"string\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/partners-backend/api/Users/CreateOrUpdatePartnerUser","description":"<p>Creates or updates a partner admin user. At least one of <code>phoneNumber</code> or <code>email</code> is required.</p>\n<p>Route: <code>/api/Users/CreateOrUpdatePartnerUser</code> (the former <code>CreateOrUpdatePartnerAdminUser</code> path is not served). Requires the <code>CreateOrUpdatePartnerUser</code> scope. <code>status</code> is not writable; new users are created as <code>active</code>.</p>\n<h3 id=\"request-fields\">Request Fields</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Type</th>\n<th>Required</th>\n<th>Default</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>user.refId</code></td>\n<td>string (UUID)</td>\n<td>No</td>\n<td>-</td>\n<td>Omit to create, provide to update</td>\n</tr>\n<tr>\n<td><code>user.employerRefId</code></td>\n<td>string (UUID)</td>\n<td>Yes</td>\n<td>-</td>\n<td>The employer this user belongs to</td>\n</tr>\n<tr>\n<td><code>user.employerRefIds</code></td>\n<td>string[] (UUID)</td>\n<td>No</td>\n<td>-</td>\n<td>Additional employer ref IDs</td>\n</tr>\n<tr>\n<td><code>user.id</code></td>\n<td>string</td>\n<td>No</td>\n<td>-</td>\n<td>Israeli national ID number</td>\n</tr>\n<tr>\n<td><code>user.phoneNumber</code></td>\n<td>string</td>\n<td>No*</td>\n<td>-</td>\n<td>Phone number (required if no email)</td>\n</tr>\n<tr>\n<td><code>user.email</code></td>\n<td>string</td>\n<td>No*</td>\n<td>-</td>\n<td>Email address (required if no phoneNumber)</td>\n</tr>\n<tr>\n<td><code>user.driversLicense</code></td>\n<td>string</td>\n<td>No</td>\n<td>-</td>\n<td>Driver's license number (1–20 chars)</td>\n</tr>\n<tr>\n<td><code>user.passport</code></td>\n<td>string</td>\n<td>No</td>\n<td>-</td>\n<td>Passport number (1–20 chars)</td>\n</tr>\n<tr>\n<td><code>user.externalNumber</code></td>\n<td>string</td>\n<td>No</td>\n<td>-</td>\n<td>External identifier (1–20 chars)</td>\n</tr>\n<tr>\n<td><code>user.firstName</code></td>\n<td>string</td>\n<td>No</td>\n<td>-</td>\n<td>First name (1–30 chars)</td>\n</tr>\n<tr>\n<td><code>user.lastName</code></td>\n<td>string</td>\n<td>No</td>\n<td>-</td>\n<td>Last name (1–30 chars)</td>\n</tr>\n<tr>\n<td><code>user.dateOfBirth</code></td>\n<td>Date | null</td>\n<td>No</td>\n<td>-</td>\n<td>Date of birth</td>\n</tr>\n<tr>\n<td><code>user.organizationUnitRefId</code></td>\n<td>string | null</td>\n<td>No</td>\n<td>-</td>\n<td>Organization unit assignment</td>\n</tr>\n<tr>\n<td><code>user.organizationSegmentRefIds</code></td>\n<td>string[] | null</td>\n<td>No</td>\n<td>-</td>\n<td>Organization segment assignments</td>\n</tr>\n<tr>\n<td><code>user.roleRefId</code></td>\n<td>string (UUID)</td>\n<td>Yes</td>\n<td>-</td>\n<td>Role to assign</td>\n</tr>\n<tr>\n<td><code>user.partnerRefId</code></td>\n<td>string (UUID)</td>\n<td>No</td>\n<td>-</td>\n<td>Partner ref ID for this admin user</td>\n</tr>\n<tr>\n<td><code>user.hasFullOrganizationAccess</code></td>\n<td>boolean</td>\n<td>No</td>\n<td>true</td>\n<td>Grants access to every employer of the partner</td>\n</tr>\n</tbody>\n</table>\n</div><p>*At least one of <code>phoneNumber</code> or <code>email</code> must be provided.</p>\n<hr />\n<h3 id=\"response-fields\">Response Fields</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>user</code></td>\n<td>object</td>\n</tr>\n<tr>\n<td><code>user.refId</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>user.employerRefId</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>user.employerRefIds</code></td>\n<td>array</td>\n</tr>\n<tr>\n<td><code>user.id</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>user.phoneNumber</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>user.email</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>user.driversLicense</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>user.passport</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>user.externalNumber</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>user.firstName</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>user.lastName</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>user.dateOfBirth</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>user.organizationUnitRefId</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>user.organizationSegmentRefIds</code></td>\n<td>array</td>\n</tr>\n<tr>\n<td><code>user.roleRefId</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>user.status</code></td>\n<td>string</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["partners-backend","api","Users","CreateOrUpdatePartnerUser"],"host":["api","stage","cal-platform","com"],"query":[],"variable":[]}},"response":[{"id":"e6fa8132-1978-47e7-94b6-e39ad12d2bcf","name":"CreateOrUpdatePartnerAdminUser","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"}],"body":{"mode":"raw","raw":"{\n    \"user\": {\n        \"refId\": \"string\",\n        \"employerRefId\": \"string\",\n        \"employerRefIds\": [\n            \"string\"\n        ],\n        \"id\": \"string\",\n        \"phoneNumber\": \"0505000000\",\n        \"email\": \"email@domain.com\",\n        \"driversLicense\": \"string\",\n        \"passport\": \"string\",\n        \"externalNumber\": \"string\",\n        \"firstName\": \"string\",\n        \"lastName\": \"string\",\n        \"dateOfBirth\": \"2026-05-04T10:36:41.415Z\",\n        \"organizationUnitRefId\": \"string\",\n        \"organizationSegmentRefIds\": [\n            \"string\"\n        ],\n        \"roleRefId\": \"string\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/partners-backend/api/Users/CreateOrUpdatePartnerAdminUser"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n  \"statusDescription\": \"string\",\n  \"statusCode\": 0,\n  \"sessionId\": \"string\",\n  \"httpStatus\": 0,\n  \"result\": {\n    \"user\": {\n      \"refId\": \"string\",\n      \"employerRefId\": \"string\",\n      \"employerRefIds\": [\n        \"string\"\n      ],\n      \"id\": \"string\",\n      \"phoneNumber\": \"0505000000\",\n      \"email\": \"email@domain.com\",\n      \"driversLicense\": \"string\",\n      \"passport\": \"string\",\n      \"externalNumber\": \"string\",\n      \"firstName\": \"string\",\n      \"lastName\": \"string\",\n      \"dateOfBirth\": \"2026-05-04T10:36:41.430Z\",\n      \"organizationUnitRefId\": \"string\",\n      \"organizationSegmentRefIds\": [\n        \"string\"\n      ],\n      \"roleRefId\": \"string\"\n    }\n  }\n}"}],"_postman_id":"3269c7bf-b0fe-4fe5-b4f2-70b7c798c257"},{"name":"UpdateUsersStatus","id":"dd648114-0cc8-ab17-ca82-95ade9bf2e36","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"},{"key":"X-Organization-Id","value":"{{OrganizationId}}"}],"body":{"mode":"raw","raw":"{\n  \"refIds\": [\"00000000-0000-0000-0000-000000000000\"],\n  \"status\": \"suspended\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/partners-backend/api/Users/UpdateUsersStatus","description":"<p>Changes the status of one or more users. This is the only way to change <code>status</code>: it is not writable through <strong>CreateOrUpdateUsers</strong>. A status change is propagated to the payment account domain, where it locks or unlocks the user's pockets and cancels their pending approval workflows.</p>\n<p>Requires the <code>UpdateUsersStatus</code> scope and write access to every user in the request.</p>\n<hr />\n<h3 id=\"request-parameters\">Request Parameters</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field Name</th>\n<th>Required/Optional</th>\n<th>Type</th>\n<th>Description</th>\n<th>Example</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>refIds</code></td>\n<td>Required</td>\n<td>string[] (UUID)</td>\n<td>Users to update. Non-empty; all must exist</td>\n<td>[\"00000000-0000-0000-0000-000000000000\"]</td>\n</tr>\n<tr>\n<td><code>status</code></td>\n<td>Required</td>\n<td>UserStatus</td>\n<td>Target status. Allowed here: <code>active</code>, <code>suspended</code>, <code>locked</code></td>\n<td>\"suspended\"</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"status-rules\">Status rules</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Current status</th>\n<th>Allowed targets</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>active</code></td>\n<td><code>suspended</code>, <code>locked</code></td>\n</tr>\n<tr>\n<td><code>suspended</code></td>\n<td><code>active</code>, <code>locked</code></td>\n</tr>\n<tr>\n<td><code>locked</code></td>\n<td><code>active</code>, <code>suspended</code></td>\n</tr>\n<tr>\n<td><code>systemLocked</code></td>\n<td>none — set by the system only</td>\n</tr>\n<tr>\n<td><code>terminated</code></td>\n<td>none — use <strong>ActivateUsers</strong> to reinstate</td>\n</tr>\n</tbody>\n</table>\n</div><p>A disallowed transition returns <code>InvalidUserStatusTransition</code> (status <code>12</code>). Terminating a user is done with <strong>DeleteUsers</strong>.</p>\n<hr />\n<h3 id=\"response-fields\">Response Fields</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>users</code></td>\n<td>array</td>\n<td>The updated users, same shape as <strong>GetUsers</strong> <code>users[]</code>, with the new <code>status</code></td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"notes\">Notes</h3>\n<ul>\n<li>Effective immediately for API calls; a user's existing login session keeps its token until it expires, but write operations re-check status live.</li>\n<li>A suspended or locked user cannot log in.</li>\n</ul>\n","urlObject":{"protocol":"https","path":["partners-backend","api","Users","UpdateUsersStatus"],"host":["api","stage","cal-platform","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"dd648114-0cc8-ab17-ca82-95ade9bf2e36"},{"name":"ActivateUsers","id":"ff0f177b-a3bb-d05a-bd45-31d2194c8d98","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"},{"key":"X-Organization-Id","value":"{{OrganizationId}}"}],"body":{"mode":"raw","raw":"{\n  \"refIds\": [\"00000000-0000-0000-0000-000000000000\"]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/partners-backend/api/Users/ActivateUsers","description":"<p>Reinstates <strong>terminated</strong> users: sets their status back to <code>active</code> in a single write. This is the reverse of <strong>DeleteUsers</strong>. Users in any other status are rejected — use <strong>UpdateUsersStatus</strong> for those.</p>\n<p>Requires the <code>ActivateUsers</code> scope and write access to every user in the request.</p>\n<hr />\n<h3 id=\"request-parameters\">Request Parameters</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field Name</th>\n<th>Required/Optional</th>\n<th>Type</th>\n<th>Description</th>\n<th>Example</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>refIds</code></td>\n<td>Required</td>\n<td>string[] (UUID)</td>\n<td>Terminated users to reactivate. Non-empty; all must exist and all must currently be <code>terminated</code></td>\n<td>[\"00000000-0000-0000-0000-000000000000\"]</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"response-fields\">Response Fields</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>users</code></td>\n<td>array</td>\n<td>The reactivated users, same shape as <strong>GetUsers</strong> <code>users[]</code>, with <code>status: \"active\"</code></td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"notes\">Notes</h3>\n<ul>\n<li>A user not in <code>terminated</code> status returns <code>InvalidUserStatusTransition</code> (status <code>12</code>); an unknown refId returns <code>InvalidRefId</code> (status <code>3</code>).</li>\n<li>Reactivation restores the user's pockets that were locked by the user-status flow; cards cancelled at termination are not restored.</li>\n</ul>\n","urlObject":{"protocol":"https","path":["partners-backend","api","Users","ActivateUsers"],"host":["api","stage","cal-platform","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"ff0f177b-a3bb-d05a-bd45-31d2194c8d98"}],"id":"a5009a1a-9dce-4bfc-8029-c7524b705700","_postman_id":"a5009a1a-9dce-4bfc-8029-c7524b705700","description":""},{"name":"Roles","item":[{"name":"GetRoles","id":"f6e84fa4-d296-48e6-9894-54679686c02d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"},{"key":"X-Organization-Id","value":"{{OrganizationId}}"}],"url":"https://api.stage.cal-platform.com/partners-backend/api/Roles/GetRoles?refIds=00000000-0000-0000-0000-000000000000","description":"<p>Retrieves roles by their IDs.</p>\n<hr />\n<h3 id=\"request-parameters\">Request Parameters</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field Name</th>\n<th>Required/Optional</th>\n<th>Type</th>\n<th>Description</th>\n<th>Example</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>refIds</td>\n<td>Required</td>\n<td>array (query)</td>\n<td>One or more role UUIDs to retrieve</td>\n<td><code>00000000-0000-0000-0000-000000000000</code></td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["partners-backend","api","Roles","GetRoles"],"host":["api","stage","cal-platform","com"],"query":[{"key":"refIds","value":"00000000-0000-0000-0000-000000000000"}],"variable":[]}},"response":[{"id":"a8add1a3-6ca1-467b-a6a3-f7851e3042e6","name":"GetRoles","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"},{"key":"X-Organization-Id","value":"{{OrganizationId}}"}],"url":{"raw":"https://api.stage.cal-platform.com/partners-backend/api/Roles/GetRoles?refIds=3fa85f64-5717-4562-b3fc-2c963f66afa6","protocol":"https","host":["api","stage","cal-platform","com"],"path":["partners-backend","api","Roles","GetRoles"],"query":[{"key":"refIds","value":"3fa85f64-5717-4562-b3fc-2c963f66afa6"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n  \"statusDescription\": \"string\",\n  \"statusCode\": 0,\n  \"sessionId\": \"string\",\n  \"httpStatus\": 0,\n  \"result\": {\n    \"roles\": [\n      {\n        \"refId\": \"string\",\n        \"type\": \"string\",\n        \"actions\": [\n          {\n            \"scope\": \"string\"\n          }\n        ]\n      }\n    ]\n  }\n}"}],"_postman_id":"f6e84fa4-d296-48e6-9894-54679686c02d"},{"name":"GetAllRoles","id":"f478f627-3328-4b9e-a438-3933c58a6477","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"}],"url":"https://api.stage.cal-platform.com/partners-backend/api/Roles/GetAllRoles","description":"<p>Retrieves all available roles in the system.</p>\n<hr />\n<h3 id=\"request-parameters\">Request Parameters</h3>\n<p>This endpoint takes no request parameters.</p>\n<hr />\n<h3 id=\"response-fields\">Response Fields</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>roles</code></td>\n<td>array</td>\n</tr>\n<tr>\n<td><code>roles[].refId</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>roles[].type</code></td>\n<td><code>System</code><br /><code>SystemReadOnly</code><br /><code>PartnerAdmin</code><br /><code>OrganizationAdmin</code><br /><code>HrManager</code><br /><code>FinanceManager</code><br /><code>Auditor</code><br /><code>User</code></td>\n</tr>\n<tr>\n<td><code>roles[].actions</code></td>\n<td>array</td>\n</tr>\n<tr>\n<td><code>roles[].actions[].scope</code></td>\n<td><code>openid</code><br /><code>GetCardDetails</code><br /><code>GetPinCode</code><br /><code>GetExpenses</code><br /><code>GetCardBalance</code><br /><code>WebPushProvisioning</code><br /><code>InitAccount</code><br /><code>ChargeCardOnFile</code><br /><code>GetPlatformFile</code><br /><code>CreateOrUpdateUsers</code><br /><code>CreateUserWithPartner</code><br /><code>GetUsers</code><br /><code>DeleteUsers</code><br /><code>CreateOrUpdateOrganizationUnits</code><br /><code>GetOrganizationUnits</code><br /><code>DeleteOrganizationUnits</code><br /><code>CreateOrUpdateOrganizationSegments</code><br /><code>GetOrganizationSegments</code><br /><code>DeleteOrganizationSegments</code><br /><code>CreateOrUpdateRoles</code><br /><code>GetRoles</code><br /><code>GetAllRoles</code><br /><code>GetPartners</code><br /><code>CreateOrUpdateEmployers</code><br /><code>GetEmployer</code><br /><code>GetEmployersByPartnerRefId</code><br /><code>GetCreditLines</code><br /><code>GetCreditLine</code><br /><code>CreateCreditLines</code><br /><code>UpdateCreditLines</code><br /><code>GetInitiatives</code><br /><code>CreateInitiatives</code><br /><code>GetOrganizations</code><br /><code>GetSpendAccounts</code><br /><code>CreateSpendAccounts</code><br /><code>UpdateSpendAccounts</code><br /><code>GetBudgets</code><br /><code>CreateBudgets</code><br /><code>UpdateBudgets</code><br /><code>GetPaymentDevices</code><br /><code>UpdatePaymentDevices</code><br /><code>GetPendingPockets</code><br /><code>GetPocketBalanceSchedules</code><br /><code>UpdatePocketBalanceSchedules</code><br /><code>CreatePocketBalanceSchedules</code><br /><code>GetPockets</code><br /><code>CreatePockets</code><br /><code>UpdatePockets</code><br /><code>DeletePockets</code><br /><code>UpdateBalance</code><br /><code>GetTransactions</code><br /><code>SimulateTransaction</code><br /><code>ReclassifyTransaction</code><br /><code>GetMccGroups</code><br /><code>CreateMccGroups</code><br /><code>UpdateMccGroups</code><br /><code>DeleteMccGroups</code><br /><code>GetMerchantsGroups</code><br /><code>CreateMerchantsGroups</code><br /><code>UpdateMerchantsGroups</code><br /><code>DeleteMerchantsGroups</code><br /><code>GetPosGroups</code><br /><code>CreatePosGroups</code><br /><code>UpdatePosGroups</code><br /><code>DeletePosGroups</code><br /><code>GetPolicies</code><br /><code>GetPartnerPolicy</code><br /><code>UpsertPolicies</code><br /><code>DeletePolicies</code><br /><code>GetAuditRecords</code><br /><code>CancelCard</code><br /><code>DetachedCardPairing</code><br /><code>GetAllEmployers</code><br /><code>InitWizardProcedure</code><br /><code>JoinCibus</code><br /><code>SettleBlockedTransaction</code></td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["partners-backend","api","Roles","GetAllRoles"],"host":["api","stage","cal-platform","com"],"query":[],"variable":[]}},"response":[{"id":"e840df63-1332-4a84-84e1-de775fe1f73c","name":"GetAllRoles","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"}],"url":"https://api.stage.cal-platform.com/partners-backend/api/Roles/GetAllRoles"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n  \"statusDescription\": \"string\",\n  \"statusCode\": 0,\n  \"sessionId\": \"string\",\n  \"httpStatus\": 0,\n  \"result\": {\n    \"roles\": [\n      {\n        \"refId\": \"string\",\n        \"type\": \"string\",\n        \"actions\": [\n          {\n            \"scope\": \"string\"\n          }\n        ]\n      }\n    ]\n  }\n}"}],"_postman_id":"f478f627-3328-4b9e-a438-3933c58a6477"}],"id":"8a605cc2-a891-4b4b-81f0-cbe7684f324a","_postman_id":"8a605cc2-a891-4b4b-81f0-cbe7684f324a","description":""},{"name":"CreatePartner","id":"2c21dfdb-108f-4d16-98fe-07bb8f27eb08","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"},{"key":"X-WebSite-Id","value":"X-WebSite-Id"},{"key":"x-organization-id","value":"{{organizationId}}"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"string\",\n    \"address\": \"string\",\n    \"contactNumber\": \"string\",\n    \"email\": \"string\",\n    \"industry\": \"string\",\n    \"businessPartnerCode\": \"string\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/partners-backend/api/Partners/CreatePartner","description":"<p>Creates a new partner in the platform.</p>\n<h3 id=\"request-fields\">Request Fields</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Type</th>\n<th>Required</th>\n<th>Default</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>name</code></td>\n<td>string</td>\n<td>Yes</td>\n<td>-</td>\n<td>Partner display name</td>\n</tr>\n<tr>\n<td><code>address</code></td>\n<td>string</td>\n<td>Yes</td>\n<td>-</td>\n<td>Partner's physical address</td>\n</tr>\n<tr>\n<td><code>contactNumber</code></td>\n<td>string</td>\n<td>Yes</td>\n<td>-</td>\n<td>Partner contact phone number</td>\n</tr>\n<tr>\n<td><code>email</code></td>\n<td>string</td>\n<td>Yes</td>\n<td>-</td>\n<td>Partner contact email address</td>\n</tr>\n<tr>\n<td><code>industry</code></td>\n<td>string</td>\n<td>Yes</td>\n<td>-</td>\n<td>Industry sector of the partner</td>\n</tr>\n<tr>\n<td><code>businessPartnerCode</code></td>\n<td>string</td>\n<td>Yes</td>\n<td>-</td>\n<td>Unique business partner code</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"response-fields\">Response Fields</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>partnerRefId</code></td>\n<td>string</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["partners-backend","api","Partners","CreatePartner"],"host":["api","stage","cal-platform","com"],"query":[],"variable":[]}},"response":[{"id":"f706adf0-328d-433a-9368-61fd3f1a1c50","name":"CreatePartner","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"string\",\n    \"address\": \"string\",\n    \"contactNumber\": \"string\",\n    \"email\": \"string\",\n    \"industry\": \"string\",\n    \"businessPartnerCode\": \"string\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/partners-backend/api/Partners/CreatePartner"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n  \"statusDescription\": \"string\",\n  \"statusCode\": 0,\n  \"sessionId\": \"string\",\n  \"httpStatus\": 0,\n  \"result\": {\n    \"partnerRefId\": \"string\"\n  }\n}"}],"_postman_id":"2c21dfdb-108f-4d16-98fe-07bb8f27eb08"},{"name":"GetPartners","id":"b3055fa3-fa87-4b06-97e1-1dcafc619f84","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"}],"url":"https://api.stage.cal-platform.com/partners-backend/api/Partners/GetPartners?refIds[]=00000000-0000-0000-0000-000000000000","description":"<p>Retrieves a list of partners. Optionally filtered by partner ref IDs.</p>\n<h3 id=\"request-fields\">Request Fields</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Type</th>\n<th>Required</th>\n<th>Default</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>refIds</code></td>\n<td>string[] (UUID)</td>\n<td>No</td>\n<td>-</td>\n<td>Filter by specific partner ref IDs</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"response-fields\">Response Fields</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>partners</code></td>\n<td>array</td>\n</tr>\n<tr>\n<td><code>partners[].name</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>partners[].address</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>partners[].contactNumber</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>partners[].email</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>partners[].industry</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>partners[].businessPartnerCode</code></td>\n<td>string</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["partners-backend","api","Partners","GetPartners"],"host":["api","stage","cal-platform","com"],"query":[{"description":{"content":"<p>Filter by partner ref IDs (repeat for multiple)</p>\n","type":"text/plain"},"key":"refIds[]","value":"00000000-0000-0000-0000-000000000000"}],"variable":[]}},"response":[{"id":"803c4b20-dbeb-48df-8376-4d5698331b13","name":"GetPartners","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"}],"url":{"raw":"https://api.stage.cal-platform.com/partners-backend/api/Partners/GetPartners","protocol":"https","host":["api","stage","cal-platform","com"],"path":["partners-backend","api","Partners","GetPartners"],"query":[{"key":"refIds[]","value":"3fa85f64-5717-4562-b3fc-2c963f66afa6","description":"Filter by partner ref IDs (repeat for multiple)","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n  \"statusDescription\": \"string\",\n  \"statusCode\": 0,\n  \"sessionId\": \"string\",\n  \"httpStatus\": 0,\n  \"result\": {\n    \"partners\": [\n      {\n        \"name\": \"string\",\n        \"address\": \"string\",\n        \"contactNumber\": \"string\",\n        \"email\": \"string\",\n        \"industry\": \"string\",\n        \"businessPartnerCode\": \"string\"\n      }\n    ]\n  }\n}"}],"_postman_id":"b3055fa3-fa87-4b06-97e1-1dcafc619f84"},{"name":"CreateProduct","id":"da4c74f2-2244-41e5-b98b-9093ce0d62cd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"},{"key":"X-WebSite-Id","value":"X-WebSite-Id"},{"key":"x-organization-id","value":"{{organizationId}}"}],"body":{"mode":"raw","raw":"{\n    \"employerRefId\": \"string\",\n    \"name\": \"string\",\n    \"description\": \"string\",\n    \"brand\": \"visa\",\n    \"debitMethod\": \"paymentAccount\",\n    \"optionalDebitDays\": [\n        0\n    ],\n    \"frameType\": \"zeroFrame\",\n    \"cardPhysicality\": \"physicalAndVirtual\",\n    \"deliveryMethod\": \"postOffice\",\n    \"launchDate\": \"2026-05-04T10:34:48.118Z\",\n    \"isDesignable\": true,\n    \"isBeneficiary\": true,\n    \"beneficiaryType\": \"kid\",\n    \"executeRegistryForBeneficiary\": true,\n    \"resetCommandsOnReEntry\": true,\n    \"upsales\": [\n        \"string\"\n    ],\n    \"paymentAccountManager\": \"platform\",\n    \"isEmployeeRequiredForInit\": true,\n    \"isIdentityDocumentRequired\": true,\n    \"isOtpCommandRequired\": true,\n    \"postIssuanceMobileMessageDelayInSeconds\": 0,\n    \"isJoiningCibusAllowed\": true,\n    \"custodiaCreateAndAssignCardProduct\": {\n        \"businessPartnerCode\": \"string\",\n        \"companyId\": \"string\",\n        \"environment\": \"gov\",\n        \"cardProductName\": \"string\",\n        \"cardProductDescription\": \"string\",\n        \"cardProductTypePrefix\": \"string\",\n        \"getCardDetailsMethod\": \"platform\",\n        \"cardProductCode\": \"string\",\n        \"usePassport\": true\n    },\n    \"custodiaQueryAndAssignCardProduct\": {\n        \"businessPartnerCode\": \"string\",\n        \"companyId\": \"string\",\n        \"environment\": \"gov\",\n        \"cardProductTypePrefix\": \"string\"\n    },\n    \"commandsPreSaveActions\": [\n        {\n            \"commandName\": \"string\",\n            \"actions\": [\n                {\n                    \"actionName\": \"executeRegistry\",\n                    \"actionInputSources\": [\n                        {\n                            \"source\": \"currentClientRequest\",\n                            \"commandName\": \"string\",\n                            \"staticData\": {}\n                        }\n                    ]\n                }\n            ]\n        }\n    ],\n    \"commandsPostSaveActions\": [\n        {\n            \"commandName\": \"string\",\n            \"actions\": [\n                {\n                    \"actionName\": \"executeRegistry\",\n                    \"actionInputSources\": [\n                        {\n                            \"source\": \"currentClientRequest\",\n                            \"commandName\": \"string\",\n                            \"staticData\": {}\n                        }\n                    ]\n                }\n            ]\n        }\n    ],\n    \"isSelectCardPhysicality\": true\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/partners-backend/api/Products/CreateProduct","description":"<p>Creates a new card product for an employer.</p>\n<h3 id=\"request-fields\">Request Fields</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Type</th>\n<th>Required</th>\n<th>Default</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>employerRefId</code></td>\n<td>string (UUID)</td>\n<td>Yes</td>\n<td>-</td>\n<td>The employer this product belongs to</td>\n</tr>\n<tr>\n<td><code>name</code></td>\n<td>string</td>\n<td>Yes</td>\n<td>-</td>\n<td>Product display name</td>\n</tr>\n<tr>\n<td><code>description</code></td>\n<td>string</td>\n<td>Yes</td>\n<td>-</td>\n<td>Product description</td>\n</tr>\n<tr>\n<td><code>brand</code></td>\n<td>CreditCardBrand</td>\n<td>Yes</td>\n<td>-</td>\n<td><code>visa</code> <code>masterCard</code> <code>diners</code> <code>americanExpress</code></td>\n</tr>\n<tr>\n<td><code>debitMethod</code></td>\n<td>DebitMethod</td>\n<td>Yes</td>\n<td>-</td>\n<td><code>paymentAccount</code> <code>hybrid</code> <code>bankAccount</code></td>\n</tr>\n<tr>\n<td><code>optionalDebitDays</code></td>\n<td>number[]</td>\n<td>Yes</td>\n<td>-</td>\n<td>Allowed debit days of month</td>\n</tr>\n<tr>\n<td><code>frameType</code></td>\n<td>FrameType</td>\n<td>Yes</td>\n<td>-</td>\n<td><code>zeroFrame</code> <code>regularFrame</code></td>\n</tr>\n<tr>\n<td><code>cardPhysicality</code></td>\n<td>CardPhysicality</td>\n<td>Yes</td>\n<td>-</td>\n<td><code>physicalAndVirtual</code> <code>virtualOnly</code></td>\n</tr>\n<tr>\n<td><code>deliveryMethod</code></td>\n<td>DeliveryMethod</td>\n<td>Yes</td>\n<td>-</td>\n<td><code>postOffice</code> <code>courier</code></td>\n</tr>\n<tr>\n<td><code>launchDate</code></td>\n<td>Date</td>\n<td>Yes</td>\n<td>-</td>\n<td>Product launch date (ISO 8601)</td>\n</tr>\n<tr>\n<td><code>isDesignable</code></td>\n<td>boolean</td>\n<td>No</td>\n<td>-</td>\n<td>Allow card design customization</td>\n</tr>\n<tr>\n<td><code>isBeneficiary</code></td>\n<td>boolean</td>\n<td>No</td>\n<td>-</td>\n<td>Product supports beneficiaries</td>\n</tr>\n<tr>\n<td><code>beneficiaryType</code></td>\n<td>BeneficiaryType</td>\n<td>No</td>\n<td>-</td>\n<td><code>kid</code></td>\n</tr>\n<tr>\n<td><code>executeRegistryForBeneficiary</code></td>\n<td>boolean</td>\n<td>No</td>\n<td>-</td>\n<td>Run registry process for beneficiaries</td>\n</tr>\n<tr>\n<td><code>resetCommandsOnReEntry</code></td>\n<td>boolean</td>\n<td>No</td>\n<td>-</td>\n<td>Reset commands on re-entry</td>\n</tr>\n<tr>\n<td><code>upsales</code></td>\n<td>string[]</td>\n<td>No</td>\n<td>-</td>\n<td>Upsale identifiers</td>\n</tr>\n<tr>\n<td><code>paymentAccountManager</code></td>\n<td>PaymentAccountManager</td>\n<td>No</td>\n<td>-</td>\n<td><code>platform</code> <code>partner_name</code></td>\n</tr>\n<tr>\n<td><code>isEmployeeRequiredForInit</code></td>\n<td>boolean</td>\n<td>No</td>\n<td>-</td>\n<td>Require employee data for initialization</td>\n</tr>\n<tr>\n<td><code>isIdentityDocumentRequired</code></td>\n<td>boolean</td>\n<td>No</td>\n<td>-</td>\n<td>Require identity document upload</td>\n</tr>\n<tr>\n<td><code>isOtpCommandRequired</code></td>\n<td>boolean</td>\n<td>No</td>\n<td>-</td>\n<td>Require OTP verification</td>\n</tr>\n<tr>\n<td><code>postIssuanceMobileMessageDelayInSeconds</code></td>\n<td>number</td>\n<td>No</td>\n<td>-</td>\n<td>Delay before post-issuance SMS (seconds)</td>\n</tr>\n<tr>\n<td><code>isJoiningCibusAllowed</code></td>\n<td>boolean</td>\n<td>No</td>\n<td>-</td>\n<td>Allow joining partner meal program</td>\n</tr>\n<tr>\n<td><code>isSelectCardPhysicality</code></td>\n<td>boolean</td>\n<td>No</td>\n<td>-</td>\n<td>Allow physicality selection during issuance</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"response-fields\">Response Fields</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>productRefId</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>custodiaTemplateCardProductId</code></td>\n<td>string</td>\n</tr>\n<tr>\n<td><code>custodiaAssignCardProductId</code></td>\n<td>string</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["partners-backend","api","Products","CreateProduct"],"host":["api","stage","cal-platform","com"],"query":[],"variable":[]}},"response":[{"id":"296394b3-8ffa-4cfa-8982-914f12487c34","name":"CreateProduct","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"}],"body":{"mode":"raw","raw":"{\n    \"employerRefId\": \"string\",\n    \"name\": \"string\",\n    \"description\": \"string\",\n    \"brand\": \"visa\",\n    \"debitMethod\": \"paymentAccount\",\n    \"optionalDebitDays\": [\n        0\n    ],\n    \"frameType\": \"zeroFrame\",\n    \"cardPhysicality\": \"physicalAndVirtual\",\n    \"deliveryMethod\": \"postOffice\",\n    \"launchDate\": \"2026-05-04T10:34:48.118Z\",\n    \"isDesignable\": true,\n    \"isBeneficiary\": true,\n    \"beneficiaryType\": \"kid\",\n    \"executeRegistryForBeneficiary\": true,\n    \"resetCommandsOnReEntry\": true,\n    \"upsales\": [\n        \"string\"\n    ],\n    \"paymentAccountManager\": \"platform\",\n    \"isEmployeeRequiredForInit\": true,\n    \"isIdentityDocumentRequired\": true,\n    \"isOtpCommandRequired\": true,\n    \"postIssuanceMobileMessageDelayInSeconds\": 0,\n    \"isJoiningCibusAllowed\": true,\n    \"custodiaCreateAndAssignCardProduct\": {\n        \"businessPartnerCode\": \"string\",\n        \"companyId\": \"string\",\n        \"environment\": \"gov\",\n        \"cardProductName\": \"string\",\n        \"cardProductDescription\": \"string\",\n        \"cardProductTypePrefix\": \"string\",\n        \"getCardDetailsMethod\": \"platform\",\n        \"cardProductCode\": \"string\",\n        \"usePassport\": true\n    },\n    \"custodiaQueryAndAssignCardProduct\": {\n        \"businessPartnerCode\": \"string\",\n        \"companyId\": \"string\",\n        \"environment\": \"gov\",\n        \"cardProductTypePrefix\": \"string\"\n    },\n    \"commandsPreSaveActions\": [\n        {\n            \"commandName\": \"string\",\n            \"actions\": [\n                {\n                    \"actionName\": \"executeRegistry\",\n                    \"actionInputSources\": [\n                        {\n                            \"source\": \"currentClientRequest\",\n                            \"commandName\": \"string\",\n                            \"staticData\": {}\n                        }\n                    ]\n                }\n            ]\n        }\n    ],\n    \"commandsPostSaveActions\": [\n        {\n            \"commandName\": \"string\",\n            \"actions\": [\n                {\n                    \"actionName\": \"executeRegistry\",\n                    \"actionInputSources\": [\n                        {\n                            \"source\": \"currentClientRequest\",\n                            \"commandName\": \"string\",\n                            \"staticData\": {}\n                        }\n                    ]\n                }\n            ]\n        }\n    ],\n    \"isSelectCardPhysicality\": true\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/partners-backend/api/Products/CreateProduct"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n  \"statusDescription\": \"string\",\n  \"statusCode\": 0,\n  \"sessionId\": \"string\",\n  \"httpStatus\": 0,\n  \"result\": {\n    \"productRefId\": \"string\",\n    \"custodiaTemplateCardProductId\": \"string\",\n    \"custodiaAssignCardProductId\": \"string\"\n  }\n}"}],"_postman_id":"da4c74f2-2244-41e5-b98b-9093ce0d62cd"},{"name":"GetProducts","id":"9be7acf9-7a46-dd6e-a43e-fca130145448","request":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{CognitoToken}}"},{"key":"X-Organization-Id","value":"{{OrganizationId}}"}],"url":"https://api.stage.cal-platform.com/partners-backend/api/Products/GetProducts","description":"<p>Returns the products the <strong>calling user</strong> is currently eligible to issue a card for, after applying the issuance rules: per-product quota (<code>maxActiveCardsPerUser</code>, counted against the user's active cards) and, for products issued through Dolce, the Dolce eligibility check. Use it to build the product picker before calling the issuing service's <strong>InitUserWizardProcedure</strong>.</p>\n<p>Requires the <code>GetProducts</code> scope. B2C (logged-in user) endpoint; no request body.</p>\n<hr />\n<h3 id=\"request-parameters\">Request Parameters</h3>\n<p>None. The user and organization are taken from the token and the <code>X-Organization-Id</code> header.</p>\n<hr />\n<h3 id=\"response-fields\">Response Fields</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>productRefIds</code></td>\n<td>string[] (UUID)</td>\n<td>Products the user may issue now. Products whose quota is exhausted, or that Dolce rejects, are omitted</td>\n</tr>\n<tr>\n<td><code>isNewCustomer</code></td>\n<td>boolean</td>\n<td>True when the user has no active card in the organization yet</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"notes\">Notes</h3>\n<ul>\n<li>Eligibility is evaluated at call time; it can change after a card is issued or cancelled.</li>\n<li>The result is bounded by the employer's product list and the user's session product scope.</li>\n</ul>\n","urlObject":{"protocol":"https","path":["partners-backend","api","Products","GetProducts"],"host":["api","stage","cal-platform","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"9be7acf9-7a46-dd6e-a43e-fca130145448"}],"id":"97563441-2586-4d80-922f-b142c9bbe7bb","_postman_id":"97563441-2586-4d80-922f-b142c9bbe7bb","description":""},{"name":"Consumers Backend","item":[{"name":"Token","item":[{"name":"TokenizeCard","id":"e4b8a82f-afb1-4d37-8f52-10d68d8f304e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Authorization","value":"{{CognitoToken}}","type":"text"},{"key":"Content-Type","value":" application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"cardIssuerInternalId\": \"\",\n  \"paymentProvider\": \"\",\n  \"terminalKey\": \"\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/api/CardTokenization/TokenizedCard","description":"<p>Tokenize a stored card via the specified payment provider and return an opaque card token. The full card data is decrypted on the platform side and passed to the provider; the partner never receives or holds the PAN.</p>\n<h3 id=\"paymentprovider\">paymentProvider</h3>\n<p>Must be one of:</p>\n<ul>\n<li><code>Hyp</code></li>\n<li><code>Tranzila</code></li>\n</ul>\n<h3 id=\"request-fields\">Request Fields</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Type</th>\n<th>Required</th>\n<th>Default</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>cardIssuerInternalId</code></td>\n<td>string</td>\n<td>Yes</td>\n<td>-</td>\n<td>Internal card identifier used to look up the stored card</td>\n</tr>\n<tr>\n<td><code>paymentProvider</code></td>\n<td>enum</td>\n<td>Yes</td>\n<td>-</td>\n<td>Payment provider to tokenize with. See <strong>paymentProvider</strong> above for allowed values</td>\n</tr>\n<tr>\n<td><code>terminalKey</code></td>\n<td>string</td>\n<td>Yes</td>\n<td>-</td>\n<td>Terminal key identifying the merchant terminal to use for tokenization</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"response-fields\">Response Fields</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>result.cardToken</code></td>\n<td>string</td>\n<td>Opaque token representing the tokenized card</td>\n</tr>\n<tr>\n<td><code>result.lastFourDigits</code></td>\n<td>string</td>\n<td>Last four digits of the card</td>\n</tr>\n<tr>\n<td><code>result.expiration</code></td>\n<td>string</td>\n<td>Card expiration in <code>YYYY-MM</code> format</td>\n</tr>\n<tr>\n<td><code>statusDescription</code></td>\n<td>string</td>\n<td>Human-readable status</td>\n</tr>\n<tr>\n<td><code>statusCode</code></td>\n<td>number</td>\n<td>Internal status code. See <strong>statusCode values</strong> below</td>\n</tr>\n<tr>\n<td><code>sessionId</code></td>\n<td>string</td>\n<td>Request correlation identifier</td>\n</tr>\n<tr>\n<td><code>httpStatus</code></td>\n<td>number</td>\n<td>HTTP status code (<code>200</code> on success)</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"statuscode-values\">statusCode values</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Value</th>\n<th>Meaning</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>1</code></td>\n<td><strong>Success</strong></td>\n</tr>\n<tr>\n<td><code>-1</code></td>\n<td>GeneralError (unhandled failure)</td>\n</tr>\n<tr>\n<td><code>2</code></td>\n<td>BadRequest (request validation failed — missing field, <code>paymentProvider</code> not in whitelist)</td>\n</tr>\n<tr>\n<td><code>5</code></td>\n<td>ConsumerNotFound (no consumer for the given <code>cardIssuerInternalId</code>)</td>\n</tr>\n<tr>\n<td><code>7</code></td>\n<td>UnauthorizedRequest (card's <code>productRefId</code> is not in the caller's token)</td>\n</tr>\n<tr>\n<td><code>10</code></td>\n<td>ConsumerCardNotFound (consumer exists but the specific card does not)</td>\n</tr>\n<tr>\n<td><code>20</code></td>\n<td>UnsupportedPaymentProvider (<code>paymentProvider</code> accepted at the DTO but not yet wired)</td>\n</tr>\n<tr>\n<td><code>21</code></td>\n<td>TokenizationFailed (the payment provider returned an error response)</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["api","CardTokenization","TokenizedCard"],"host":["api","stage","cal-platform","com"],"query":[],"variable":[]}},"response":[{"id":"af0ce0f5-2b2b-471e-8e8b-d2497b2f7f83","name":"TokenizeCard","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"{{CognitoToken}}","type":"text"},{"key":"Content-Type","value":" application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"cardIssuerInternalId\": \"\",\n  \"paymentProvider\": \"\",\n  \"terminalKey\": \"\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/api/CardTokenization/TokenizedCard"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n  \"result\": {\n    \"cardToken\": \"0000000000000000\",\n    \"lastFourDigits\": \"0070\",\n    \"expiration\": \"2031-05\"\n  },\n  \"statusDescription\": \"Success\",\n  \"statusCode\": 1,\n  \"sessionId\": \"019f7fd0-c635-755c-a51d-7c27865e504a\",\n  \"httpStatus\": 200\n}"},{"id":"2e03b4fe-5cd7-4ea4-ab6a-d5d13315f0e6","name":"TokenizeCard","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"{{CognitoToken}}","type":"text"},{"key":"Content-Type","value":" application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"cardIssuerInternalId\": \"\",\n  \"paymentProvider\": \"\",\n  \"terminalKey\": \"\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/api/CardTokenization/TokenizedCard"},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n  \"result\": null,\n  \"statusDescription\": \"The consumer is not found\",\n  \"statusCode\": 5,\n  \"sessionId\": \"019f7fd0-...\",\n  \"httpStatus\": 500\n}"},{"id":"5089eed2-52ff-402e-b983-dd82c9f79854","name":"TokenizeCard","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"{{CognitoToken}}","type":"text"},{"key":"Content-Type","value":" application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"cardIssuerInternalId\": \"\",\n  \"paymentProvider\": \"\",\n  \"terminalKey\": \"\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.stage.cal-platform.com/api/CardTokenization/TokenizedCard"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null}],"_postman_id":"e4b8a82f-afb1-4d37-8f52-10d68d8f304e"}],"id":"05e78468-1f09-4116-a0ca-343c258b5a33","_postman_id":"05e78468-1f09-4116-a0ca-343c258b5a33","description":""}],"id":"856c064f-7ca8-4ebf-80d0-c2f445a359a9","_postman_id":"856c064f-7ca8-4ebf-80d0-c2f445a359a9","description":""}]}