{"items":[{"type":"link","label":"Lumo B2B Platform API","link":"/apis","routeSlug":"/apis","content":{"contentType":"overview","meta":{"name":"Lumo B2B Platform API"},"children":[{"nodeType":"container","panels":[{"title":"Download OpenAPI description","titleTranslationKey":"download.description.title","children":[{"kind":"download","label":"index.json","url":"/_bundle/apis/index.json?download"},{"kind":"download","label":"index.yaml","url":"/_bundle/apis/index.yaml?download"}]},{"title":"Overview","titleTranslationKey":"info.title","children":[]},{"title":"Languages","titleTranslationKey":"languages.title","children":[{"kind":"languages","options":[{"key":"curl","title":"curl","lang":"curl"},{"key":"javascript","title":"JavaScript","lang":"JavaScript"},{"key":"node","title":"Node.js","lang":"Node.js"},{"key":"python","title":"Python","lang":"Python"},{"key":"java","title":"Java","lang":"Java"},{"key":"csharp","title":"C#","lang":"C#"},{"key":"php","title":"PHP","lang":"PHP"},{"key":"go","title":"Go","lang":"Go"},{"key":"ruby","title":"Ruby","lang":"Ruby"},{"key":"r","title":"R","lang":"R"},{"key":"payload","title":"Payload","lang":"Payload"}]}]},{"title":"Servers","titleTranslationKey":"servers.title","children":[{"kind":"servers","servers":[{"url":"/_mock/apis","description":"Mock server","isMockServer":true},{"url":"https://b2b.lumowallet.io","description":"Production"},{"url":"https://b2b-staging.lumowallet.io","description":"Staging"}],"mode":"default"}]}],"children":[{"nodeType":"overview-section-wrapper","children":[{"nodeType":"header","level":1,"label":"Lumo B2B Platform API (1.0.0)","showPageActions":true},{"nodeType":"overview-section-wrapper","children":[{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"API reference for "},"children":[]},{"$$mdtype":"Node","type":"strong","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"company-facing"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" endpoints of Lumo B2B platform."},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Scope of this reference:"},"children":[]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Company auth/profile"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Orders (prepare/accept/list/get)"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Company disputes"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Company wallet + deposits"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"User wallets (per externalId) + user deposits"},"children":[]}]}]}]}]}],"sectionId":"/apis"}],"sectionId":"/apis"}]}]}},{"type":"group","label":"Company Auth","link":"/apis/company-auth","routeSlug":"/apis/company-auth","items":[{"label":"Company login","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/company-auth/logincompany","routeSlug":"/apis/company-auth/logincompany","metadata":{"seo":{"title":"Company login","description":"Authenticates company by email/password and rotates API key. Previous key becomes invalid after successful login."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"loginCompany","name":"Company login","isWebhook":false,"pointer":"/paths/~1auth~1company~1login/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Company login","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Authenticates company by email/password and rotates API key.\nPrevious key becomes invalid after successful login.\n"},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/LoginRequest"}},"schemaId":"components/schemas/LoginRequest","pointer":"/paths/~1auth~1company~1login/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/auth/company/login","servers":[{"url":"/_mock/apis","description":"Mock server","isMockServer":true},{"url":"https://b2b.lumowallet.io","description":"Production"},{"url":"https://b2b-staging.lumowallet.io","description":"Staging"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[],"requestBody":{"application/json":{"schemaId":"components/schemas/LoginRequest"}},"responseCodes":["201","400","401"],"pointer":"/auth/company/login","href":"company-auth/logincompany","openApiOperationId":"loginCompany","summary":"Company login"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis","description":"Mock server","isMockServer":true},{"url":"https://b2b.lumowallet.io","description":"Production"},{"url":"https://b2b-staging.lumowallet.io","description":"Staging"}],"schemaId":"components/schemas/LoginRequest","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/LoginRequest"}},"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"201","description":"Logged in, fresh API key issued","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/CompanyAuthResponse"}},"schemaId":"components/schemas/CompanyAuthResponse"},{"code":"400","description":"Invalid request (validation or malformed input)","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1auth~1company~1login/post/responses/400/content/application~1json/examples/validation","paths/~1auth~1company~1login/post/responses/400/content/application~1json/examples/badRequest"]}},"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1auth~1company~1login/post/responses/400/content/application~1json/examples/validation","paths/~1auth~1company~1login/post/responses/400/content/application~1json/examples/badRequest"]},{"code":"401","description":"Login could not be completed.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1auth~1company~1login/post/responses/401/content/application~1json/examples/invalidCredentials","paths/~1auth~1company~1login/post/responses/401/content/application~1json/examples/noCompanyMembership","paths/~1auth~1company~1login/post/responses/401/content/application~1json/examples/companyInactive"]}},"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1auth~1company~1login/post/responses/401/content/application~1json/examples/invalidCredentials","paths/~1auth~1company~1login/post/responses/401/content/application~1json/examples/noCompanyMembership","paths/~1auth~1company~1login/post/responses/401/content/application~1json/examples/companyInactive"]}],"pointer":"/paths/~1auth~1company~1login/post/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"201","schemaId":"components/schemas/CompanyAuthResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/CompanyAuthResponse"}}},{"code":"400","schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1auth~1company~1login/post/responses/400/content/application~1json/examples/validation","paths/~1auth~1company~1login/post/responses/400/content/application~1json/examples/badRequest"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1auth~1company~1login/post/responses/400/content/application~1json/examples/validation","paths/~1auth~1company~1login/post/responses/400/content/application~1json/examples/badRequest"]}}},{"code":"401","schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1auth~1company~1login/post/responses/401/content/application~1json/examples/invalidCredentials","paths/~1auth~1company~1login/post/responses/401/content/application~1json/examples/noCompanyMembership","paths/~1auth~1company~1login/post/responses/401/content/application~1json/examples/companyInactive"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1auth~1company~1login/post/responses/401/content/application~1json/examples/invalidCredentials","paths/~1auth~1company~1login/post/responses/401/content/application~1json/examples/noCompanyMembership","paths/~1auth~1company~1login/post/responses/401/content/application~1json/examples/companyInactive"]}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/company-auth/logincompany"}],"panels":[]}]},"httpPath":"/auth/company/login"},{"label":"Get company profile","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/company-auth/getcompanyprofile","routeSlug":"/apis/company-auth/getcompanyprofile","metadata":{"seo":{"title":"Get company profile","description":"Get company profile"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"getCompanyProfile","name":"Get company profile","isWebhook":false,"pointer":"/paths/~1auth~1company~1profile/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get company profile","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"security","requirements":[{"schemes":[{"name":"apiKeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"X-API-Key","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Company API key."},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Service also accepts "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"Authorization: Bearer <api-key>"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" and "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"api_key"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" query param,"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"but "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"X-API-Key"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" is recommended."},"children":[]}]}]}]}]}]}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/auth/company/profile","servers":[{"url":"/_mock/apis","description":"Mock server","isMockServer":true},{"url":"https://b2b.lumowallet.io","description":"Production"},{"url":"https://b2b-staging.lumowallet.io","description":"Staging"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"apiKeyAuth","type":"apiKey","name":"X-API-Key","in":"header"}],"scopes":[]}],"responseCodes":["200","401"],"pointer":"/auth/company/profile","href":"company-auth/getcompanyprofile","openApiOperationId":"getCompanyProfile","summary":"Get company profile"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis","description":"Mock server","isMockServer":true},{"url":"https://b2b.lumowallet.io","description":"Production"},{"url":"https://b2b-staging.lumowallet.io","description":"Staging"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Company profile","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/CompanyProfile"}},"schemaId":"components/schemas/CompanyProfile"},{"code":"401","description":"Missing or invalid credentials (API key / session token).","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1auth~1company~1profile/get/responses/401/content/application~1json/examples/authRequired","paths/~1auth~1company~1profile/get/responses/401/content/application~1json/examples/invalidApiKey","paths/~1auth~1company~1profile/get/responses/401/content/application~1json/examples/sessionInvalid"]}},"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1auth~1company~1profile/get/responses/401/content/application~1json/examples/authRequired","paths/~1auth~1company~1profile/get/responses/401/content/application~1json/examples/invalidApiKey","paths/~1auth~1company~1profile/get/responses/401/content/application~1json/examples/sessionInvalid"]}],"pointer":"/paths/~1auth~1company~1profile/get/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"components/schemas/CompanyProfile","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/CompanyProfile"}}},{"code":"401","schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1auth~1company~1profile/get/responses/401/content/application~1json/examples/authRequired","paths/~1auth~1company~1profile/get/responses/401/content/application~1json/examples/invalidApiKey","paths/~1auth~1company~1profile/get/responses/401/content/application~1json/examples/sessionInvalid"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1auth~1company~1profile/get/responses/401/content/application~1json/examples/authRequired","paths/~1auth~1company~1profile/get/responses/401/content/application~1json/examples/invalidApiKey","paths/~1auth~1company~1profile/get/responses/401/content/application~1json/examples/sessionInvalid"]}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/company-auth/getcompanyprofile"}],"panels":[]}]},"httpPath":"/auth/company/profile"},{"label":"Update company profile","deprecated":false,"httpVerb":"patch","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/company-auth/updatecompanyprofile","routeSlug":"/apis/company-auth/updatecompanyprofile","metadata":{"seo":{"title":"Update company profile","description":"Update company profile"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"updateCompanyProfile","name":"Update company profile","isWebhook":false,"pointer":"/paths/~1auth~1company~1profile/patch","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Update company profile","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"security","requirements":[{"schemes":[{"name":"apiKeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"X-API-Key","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Company API key."},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Service also accepts "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"Authorization: Bearer <api-key>"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" and "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"api_key"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" query param,"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"but "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"X-API-Key"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" is recommended."},"children":[]}]}]}]}]}]},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/UpdateCompanyProfileRequest"}},"schemaId":"components/schemas/UpdateCompanyProfileRequest","pointer":"/paths/~1auth~1company~1profile/patch/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"PATCH","path":"/auth/company/profile","servers":[{"url":"/_mock/apis","description":"Mock server","isMockServer":true},{"url":"https://b2b.lumowallet.io","description":"Production"},{"url":"https://b2b-staging.lumowallet.io","description":"Staging"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"apiKeyAuth","type":"apiKey","name":"X-API-Key","in":"header"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"components/schemas/UpdateCompanyProfileRequest"}},"responseCodes":["200","401"],"pointer":"/auth/company/profile","href":"company-auth/updatecompanyprofile","openApiOperationId":"updateCompanyProfile","summary":"Update company profile"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis","description":"Mock server","isMockServer":true},{"url":"https://b2b.lumowallet.io","description":"Production"},{"url":"https://b2b-staging.lumowallet.io","description":"Staging"}],"schemaId":"components/schemas/UpdateCompanyProfileRequest","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/UpdateCompanyProfileRequest"}},"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Updated company profile","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/CompanyProfile"}},"schemaId":"components/schemas/CompanyProfile"},{"code":"401","description":"Missing or invalid credentials (API key / session token).","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1auth~1company~1profile/patch/responses/401/content/application~1json/examples/authRequired","paths/~1auth~1company~1profile/patch/responses/401/content/application~1json/examples/invalidApiKey","paths/~1auth~1company~1profile/patch/responses/401/content/application~1json/examples/sessionInvalid"]}},"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1auth~1company~1profile/patch/responses/401/content/application~1json/examples/authRequired","paths/~1auth~1company~1profile/patch/responses/401/content/application~1json/examples/invalidApiKey","paths/~1auth~1company~1profile/patch/responses/401/content/application~1json/examples/sessionInvalid"]}],"pointer":"/paths/~1auth~1company~1profile/patch/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"components/schemas/CompanyProfile","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/CompanyProfile"}}},{"code":"401","schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1auth~1company~1profile/patch/responses/401/content/application~1json/examples/authRequired","paths/~1auth~1company~1profile/patch/responses/401/content/application~1json/examples/invalidApiKey","paths/~1auth~1company~1profile/patch/responses/401/content/application~1json/examples/sessionInvalid"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1auth~1company~1profile/patch/responses/401/content/application~1json/examples/authRequired","paths/~1auth~1company~1profile/patch/responses/401/content/application~1json/examples/invalidApiKey","paths/~1auth~1company~1profile/patch/responses/401/content/application~1json/examples/sessionInvalid"]}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/company-auth/updatecompanyprofile"}],"panels":[]}]},"httpPath":"/auth/company/profile"},{"label":"Regenerate company API key","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/company-auth/regeneratecompanyapikey","routeSlug":"/apis/company-auth/regeneratecompanyapikey","metadata":{"seo":{"title":"Regenerate company API key","description":"Rotates and returns a new API key for current company."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"regenerateCompanyApiKey","name":"Regenerate company API key","isWebhook":false,"pointer":"/paths/~1auth~1company~1regenerate-key/post","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Regenerate company API key","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Rotates and returns a new API key for current company."},{"nodeType":"security","requirements":[{"schemes":[{"name":"apiKeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"X-API-Key","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Company API key."},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Service also accepts "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"Authorization: Bearer <api-key>"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" and "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"api_key"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" query param,"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"but "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"X-API-Key"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" is recommended."},"children":[]}]}]}]}]}]}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/auth/company/regenerate-key","servers":[{"url":"/_mock/apis","description":"Mock server","isMockServer":true},{"url":"https://b2b.lumowallet.io","description":"Production"},{"url":"https://b2b-staging.lumowallet.io","description":"Staging"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"apiKeyAuth","type":"apiKey","name":"X-API-Key","in":"header"}],"scopes":[]}],"responseCodes":["201","401"],"pointer":"/auth/company/regenerate-key","href":"company-auth/regeneratecompanyapikey","openApiOperationId":"regenerateCompanyApiKey","summary":"Regenerate company API key"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis","description":"Mock server","isMockServer":true},{"url":"https://b2b.lumowallet.io","description":"Production"},{"url":"https://b2b-staging.lumowallet.io","description":"Staging"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"201","description":"New API key issued","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/CompanyAuthResponse"}},"schemaId":"components/schemas/CompanyAuthResponse"},{"code":"401","description":"Missing or invalid credentials (API key / session token).","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1auth~1company~1regenerate-key/post/responses/401/content/application~1json/examples/authRequired","paths/~1auth~1company~1regenerate-key/post/responses/401/content/application~1json/examples/invalidApiKey","paths/~1auth~1company~1regenerate-key/post/responses/401/content/application~1json/examples/sessionInvalid"]}},"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1auth~1company~1regenerate-key/post/responses/401/content/application~1json/examples/authRequired","paths/~1auth~1company~1regenerate-key/post/responses/401/content/application~1json/examples/invalidApiKey","paths/~1auth~1company~1regenerate-key/post/responses/401/content/application~1json/examples/sessionInvalid"]}],"pointer":"/paths/~1auth~1company~1regenerate-key/post/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"201","schemaId":"components/schemas/CompanyAuthResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/CompanyAuthResponse"}}},{"code":"401","schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1auth~1company~1regenerate-key/post/responses/401/content/application~1json/examples/authRequired","paths/~1auth~1company~1regenerate-key/post/responses/401/content/application~1json/examples/invalidApiKey","paths/~1auth~1company~1regenerate-key/post/responses/401/content/application~1json/examples/sessionInvalid"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1auth~1company~1regenerate-key/post/responses/401/content/application~1json/examples/authRequired","paths/~1auth~1company~1regenerate-key/post/responses/401/content/application~1json/examples/invalidApiKey","paths/~1auth~1company~1regenerate-key/post/responses/401/content/application~1json/examples/sessionInvalid"]}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/company-auth/regeneratecompanyapikey"}],"panels":[]}]},"httpPath":"/auth/company/regenerate-key"}],"content":{"contentType":"group","meta":{"name":"Company Auth"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Company Auth","showPageActions":true},{"nodeType":"markdoc","content":"Company registration, login, and profile management."}],"panels":[{"children":[{"kind":"group-items","title":"Operations","titleTranslationKey":"operations","items":[{"title":"/auth/company/login","summary":"Company login","prefix":{"name":"post","color":"post"},"badges":[],"link":"/company-auth/logincompany","deprecated":false},{"title":"/auth/company/profile","summary":"Get company profile","prefix":{"name":"get","color":"get"},"badges":[],"link":"/company-auth/getcompanyprofile","deprecated":false},{"title":"/auth/company/profile","summary":"Update company profile","prefix":{"name":"patch","color":"patch"},"badges":[],"link":"/company-auth/updatecompanyprofile","deprecated":false},{"title":"/auth/company/regenerate-key","summary":"Regenerate company API key","prefix":{"name":"post","color":"post"},"badges":[],"link":"/company-auth/regeneratecompanyapikey","deprecated":false}]}]}]}]}},{"type":"group","label":"Rates","link":"/apis/rates","routeSlug":"/apis/rates","items":[{"label":"Current USDT/RUB rate (with company commission)","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/rates/getcurrentrate","routeSlug":"/apis/rates/getcurrentrate","metadata":{"seo":{"title":"Current USDT/RUB rate (with company commission)","description":"Returns the live rate used to price QR orders. The base rate issourced from Rapira and refreshed every ~15 sec; effectiveRateapplies the company's qrRateOffsetBps (basis points). Bothrate and effectiveRate already include the commission — theyare the value the next /orders/prepare will use."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"getCurrentRate","name":"Current USDT/RUB rate (with company commission)","isWebhook":false,"pointer":"/paths/~1rates~1current/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Current USDT/RUB rate (with company commission)","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Returns the live rate used to price QR orders. The base rate is"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"sourced from Rapira and refreshed every ~15 sec; "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"effectiveRate"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"applies the company's "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"qrRateOffsetBps"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" (basis points). Both"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"rate"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" and "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"effectiveRate"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" already include the commission — they"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"are the value the next "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"/orders/prepare"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" will use."},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Also returns the configured "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"minAmountRub"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" / "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"maxAmountRub"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"bounds enforced when preparing an order."},"children":[]}]}]}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"apiKeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"X-API-Key","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Company API key."},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Service also accepts "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"Authorization: Bearer <api-key>"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" and "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"api_key"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" query param,"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"but "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"X-API-Key"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" is recommended."},"children":[]}]}]}]}]}]}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/rates/current","servers":[{"url":"/_mock/apis","description":"Mock server","isMockServer":true},{"url":"https://b2b.lumowallet.io","description":"Production"},{"url":"https://b2b-staging.lumowallet.io","description":"Staging"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"apiKeyAuth","type":"apiKey","name":"X-API-Key","in":"header"}],"scopes":[]}],"responseCodes":["200","401","403"],"pointer":"/rates/current","href":"rates/getcurrentrate","openApiOperationId":"getCurrentRate","summary":"Current USDT/RUB rate (with company commission)"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis","description":"Mock server","isMockServer":true},{"url":"https://b2b.lumowallet.io","description":"Production"},{"url":"https://b2b-staging.lumowallet.io","description":"Staging"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Current rate","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/RateResponse"}},"schemaId":"components/schemas/RateResponse"},{"code":"401","description":"Missing or invalid credentials (API key / session token).","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1rates~1current/get/responses/401/content/application~1json/examples/authRequired","paths/~1rates~1current/get/responses/401/content/application~1json/examples/invalidApiKey","paths/~1rates~1current/get/responses/401/content/application~1json/examples/sessionInvalid"]}},"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1rates~1current/get/responses/401/content/application~1json/examples/authRequired","paths/~1rates~1current/get/responses/401/content/application~1json/examples/invalidApiKey","paths/~1rates~1current/get/responses/401/content/application~1json/examples/sessionInvalid"]},{"code":"403","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"The authenticated principal lacks the permission required by this"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"endpoint (e.g. "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"orders:create"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"orders:read"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"cards:write"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"). The"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"body carries the missing permission in "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"required"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" / "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"details"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"."},"children":[]}]}]}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1rates~1current/get/responses/403/content/application~1json/examples/permissionDenied"]}},"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1rates~1current/get/responses/403/content/application~1json/examples/permissionDenied"]}],"pointer":"/paths/~1rates~1current/get/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"components/schemas/RateResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/RateResponse"}}},{"code":"401","schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1rates~1current/get/responses/401/content/application~1json/examples/authRequired","paths/~1rates~1current/get/responses/401/content/application~1json/examples/invalidApiKey","paths/~1rates~1current/get/responses/401/content/application~1json/examples/sessionInvalid"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1rates~1current/get/responses/401/content/application~1json/examples/authRequired","paths/~1rates~1current/get/responses/401/content/application~1json/examples/invalidApiKey","paths/~1rates~1current/get/responses/401/content/application~1json/examples/sessionInvalid"]}}},{"code":"403","schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1rates~1current/get/responses/403/content/application~1json/examples/permissionDenied"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1rates~1current/get/responses/403/content/application~1json/examples/permissionDenied"]}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/rates/getcurrentrate"}],"panels":[]}]},"httpPath":"/rates/current"}],"content":{"contentType":"group","meta":{"name":"Rates"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Rates","showPageActions":true},{"nodeType":"markdoc","content":"Live USDT/RUB rate (Rapira-derived, with per-company QR commission)."}],"panels":[{"children":[{"kind":"group-items","title":"Operations","titleTranslationKey":"operations","items":[{"title":"/rates/current","summary":"Current USDT/RUB rate (with company commission)","prefix":{"name":"get","color":"get"},"badges":[],"link":"/rates/getcurrentrate","deprecated":false}]}]}]}]}},{"type":"group","label":"Orders","link":"/apis/orders","routeSlug":"/apis/orders","items":[{"label":"Prepare order (create quote)","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/orders/prepareorder","routeSlug":"/apis/orders/prepareorder","metadata":{"seo":{"title":"Prepare order (create quote)","description":"Creates a quote from the value in the qrCode field. The same fieldaccepts three kinds of input (the type is auto-detected and returned aspaymentType):"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"prepareOrder","name":"Prepare order (create quote)","isWebhook":false,"pointer":"/paths/~1orders~1prepare/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Prepare order (create quote)","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Creates a quote from the value in the "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"qrCode"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" field. The same field"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"accepts three kinds of input (the type is auto-detected and returned as"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"paymentType"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"):"},"children":[]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"strong","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"NSPK/SBP QR"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" — a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"qr.nspk.ru"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" URL, a bank deep link, or a"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"multiqr.ru"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" / "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"platiqr.ru"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" link → "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"paymentType: nspk"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"."},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"strong","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"ST00012 string"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" ("},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"ST00012|..."},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":") — utility / budget payments (ЖКХ)."},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Amount is taken from the "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"Sum"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" field → "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"paymentType: st00012"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"."},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"strong","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"gibdd:uin:{20–25 digits}"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" — a traffic-police (ГИБДД) fine by UIN."},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Amount and requisites are resolved automatically → "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"paymentType: gibdd_uin"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"."},"children":[]}]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Quote TTL is short-lived (30 seconds in current implementation)."},"children":[]}]}]}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"apiKeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"X-API-Key","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Company API key."},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Service also accepts "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"Authorization: Bearer <api-key>"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" and "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"api_key"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" query param,"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"but "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"X-API-Key"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" is recommended."},"children":[]}]}]}]}]}]},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/PrepareOrderRequest"}},"schemaId":"components/schemas/PrepareOrderRequest","pointer":"/paths/~1orders~1prepare/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/orders/prepare","servers":[{"url":"/_mock/apis","description":"Mock server","isMockServer":true},{"url":"https://b2b.lumowallet.io","description":"Production"},{"url":"https://b2b-staging.lumowallet.io","description":"Staging"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"apiKeyAuth","type":"apiKey","name":"X-API-Key","in":"header"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"components/schemas/PrepareOrderRequest"}},"responseCodes":["201","400","401","403","503"],"pointer":"/orders/prepare","href":"orders/prepareorder","openApiOperationId":"prepareOrder","summary":"Prepare order (create quote)"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis","description":"Mock server","isMockServer":true},{"url":"https://b2b.lumowallet.io","description":"Production"},{"url":"https://b2b-staging.lumowallet.io","description":"Staging"}],"schemaId":"components/schemas/PrepareOrderRequest","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/PrepareOrderRequest"}},"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"201","description":"Quote prepared","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/PrepareOrderResponse"}},"schemaId":"components/schemas/PrepareOrderResponse"},{"code":"400","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"The quote could not be created. Covers request validation, QR"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"resolution failures, and amount-bounds checks."},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Note on "},"children":[]},{"$$mdtype":"Node","type":"strong","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"expired / cancelled QR codes"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":": NSPK does not expose a"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"dedicated \"expired\" state to us — an expired or already-paid SBP QR"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"comes back as a rejection code and is surfaced as"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"QR код недействителен (код: …)"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"."},"children":[]}]}]}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1orders~1prepare/post/responses/400/content/application~1json/examples/validation","paths/~1orders~1prepare/post/responses/400/content/application~1json/examples/qrAmountMissing","paths/~1orders~1prepare/post/responses/400/content/application~1json/examples/qrInvalid","paths/~1orders~1prepare/post/responses/400/content/application~1json/examples/qrResolveFailed","paths/~1orders~1prepare/post/responses/400/content/application~1json/examples/amountTooLow","paths/~1orders~1prepare/post/responses/400/content/application~1json/examples/amountTooHigh","paths/~1orders~1prepare/post/responses/400/content/application~1json/examples/st00012NoSum","paths/~1orders~1prepare/post/responses/400/content/application~1json/examples/st00012BadSum","paths/~1orders~1prepare/post/responses/400/content/application~1json/examples/gibddBadUin","paths/~1orders~1prepare/post/responses/400/content/application~1json/examples/gibddAlreadyPaid","paths/~1orders~1prepare/post/responses/400/content/application~1json/examples/gibddNotFound"]}},"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1orders~1prepare/post/responses/400/content/application~1json/examples/validation","paths/~1orders~1prepare/post/responses/400/content/application~1json/examples/qrAmountMissing","paths/~1orders~1prepare/post/responses/400/content/application~1json/examples/qrInvalid","paths/~1orders~1prepare/post/responses/400/content/application~1json/examples/qrResolveFailed","paths/~1orders~1prepare/post/responses/400/content/application~1json/examples/amountTooLow","paths/~1orders~1prepare/post/responses/400/content/application~1json/examples/amountTooHigh","paths/~1orders~1prepare/post/responses/400/content/application~1json/examples/st00012NoSum","paths/~1orders~1prepare/post/responses/400/content/application~1json/examples/st00012BadSum","paths/~1orders~1prepare/post/responses/400/content/application~1json/examples/gibddBadUin","paths/~1orders~1prepare/post/responses/400/content/application~1json/examples/gibddAlreadyPaid","paths/~1orders~1prepare/post/responses/400/content/application~1json/examples/gibddNotFound"]},{"code":"401","description":"Missing or invalid credentials (API key / session token).","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1orders~1prepare/post/responses/401/content/application~1json/examples/authRequired","paths/~1orders~1prepare/post/responses/401/content/application~1json/examples/invalidApiKey","paths/~1orders~1prepare/post/responses/401/content/application~1json/examples/sessionInvalid"]}},"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1orders~1prepare/post/responses/401/content/application~1json/examples/authRequired","paths/~1orders~1prepare/post/responses/401/content/application~1json/examples/invalidApiKey","paths/~1orders~1prepare/post/responses/401/content/application~1json/examples/sessionInvalid"]},{"code":"403","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"The authenticated principal lacks the permission required by this"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"endpoint (e.g. "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"orders:create"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"orders:read"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"cards:write"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"). The"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"body carries the missing permission in "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"required"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" / "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"details"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"."},"children":[]}]}]}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1orders~1prepare/post/responses/403/content/application~1json/examples/permissionDenied"]}},"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1orders~1prepare/post/responses/403/content/application~1json/examples/permissionDenied"]},{"code":"503","description":"An upstream dependency needed to build the quote is temporarily\nunavailable. Safe to retry shortly.\n","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1orders~1prepare/post/responses/503/content/application~1json/examples/driverHelperTransient"]}},"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1orders~1prepare/post/responses/503/content/application~1json/examples/driverHelperTransient"]}],"pointer":"/paths/~1orders~1prepare/post/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"201","schemaId":"components/schemas/PrepareOrderResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/PrepareOrderResponse"}}},{"code":"400","schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1orders~1prepare/post/responses/400/content/application~1json/examples/validation","paths/~1orders~1prepare/post/responses/400/content/application~1json/examples/qrAmountMissing","paths/~1orders~1prepare/post/responses/400/content/application~1json/examples/qrInvalid","paths/~1orders~1prepare/post/responses/400/content/application~1json/examples/qrResolveFailed","paths/~1orders~1prepare/post/responses/400/content/application~1json/examples/amountTooLow","paths/~1orders~1prepare/post/responses/400/content/application~1json/examples/amountTooHigh","paths/~1orders~1prepare/post/responses/400/content/application~1json/examples/st00012NoSum","paths/~1orders~1prepare/post/responses/400/content/application~1json/examples/st00012BadSum","paths/~1orders~1prepare/post/responses/400/content/application~1json/examples/gibddBadUin","paths/~1orders~1prepare/post/responses/400/content/application~1json/examples/gibddAlreadyPaid","paths/~1orders~1prepare/post/responses/400/content/application~1json/examples/gibddNotFound"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1orders~1prepare/post/responses/400/content/application~1json/examples/validation","paths/~1orders~1prepare/post/responses/400/content/application~1json/examples/qrAmountMissing","paths/~1orders~1prepare/post/responses/400/content/application~1json/examples/qrInvalid","paths/~1orders~1prepare/post/responses/400/content/application~1json/examples/qrResolveFailed","paths/~1orders~1prepare/post/responses/400/content/application~1json/examples/amountTooLow","paths/~1orders~1prepare/post/responses/400/content/application~1json/examples/amountTooHigh","paths/~1orders~1prepare/post/responses/400/content/application~1json/examples/st00012NoSum","paths/~1orders~1prepare/post/responses/400/content/application~1json/examples/st00012BadSum","paths/~1orders~1prepare/post/responses/400/content/application~1json/examples/gibddBadUin","paths/~1orders~1prepare/post/responses/400/content/application~1json/examples/gibddAlreadyPaid","paths/~1orders~1prepare/post/responses/400/content/application~1json/examples/gibddNotFound"]}}},{"code":"401","schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1orders~1prepare/post/responses/401/content/application~1json/examples/authRequired","paths/~1orders~1prepare/post/responses/401/content/application~1json/examples/invalidApiKey","paths/~1orders~1prepare/post/responses/401/content/application~1json/examples/sessionInvalid"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1orders~1prepare/post/responses/401/content/application~1json/examples/authRequired","paths/~1orders~1prepare/post/responses/401/content/application~1json/examples/invalidApiKey","paths/~1orders~1prepare/post/responses/401/content/application~1json/examples/sessionInvalid"]}}},{"code":"403","schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1orders~1prepare/post/responses/403/content/application~1json/examples/permissionDenied"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1orders~1prepare/post/responses/403/content/application~1json/examples/permissionDenied"]}}},{"code":"503","schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1orders~1prepare/post/responses/503/content/application~1json/examples/driverHelperTransient"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1orders~1prepare/post/responses/503/content/application~1json/examples/driverHelperTransient"]}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/orders/prepareorder"}],"panels":[]}]},"httpPath":"/orders/prepare"},{"label":"Accept quote and create order","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/orders/acceptorder","routeSlug":"/apis/orders/acceptorder","metadata":{"seo":{"title":"Accept quote and create order","description":"Converts quote into order and reserves funds (frozenBalance)."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"acceptOrder","name":"Accept quote and create order","isWebhook":false,"pointer":"/paths/~1orders~1accept~1{id}/post","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Accept quote and create order","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Converts quote into order and reserves funds ("},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"frozenBalance"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":")."},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Idempotency:"},"children":[]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Optional header "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"Idempotency-Key"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"."},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Repeated request with same key for same company returns stored response."},"children":[]}]}]}]}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"apiKeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"X-API-Key","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Company API key."},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Service also accepts "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"Authorization: Bearer <api-key>"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" and "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"api_key"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" query param,"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"but "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"X-API-Key"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" is recommended."},"children":[]}]}]}]}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"id","in":"path","schemaId":"schema_33","description":"Quote ID","required":true}],"pointer":"/paths/~1orders~1accept~1{id}/post/parameters"},{"nodeType":"item-content","variant":"headers","label":"Headers","labelTranslationKey":"header","parameters":[{"name":"Idempotency-Key","in":"header","schemaId":"schema_34"}],"pointer":"/paths/~1orders~1accept~1{id}/post/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/orders/accept/{id}","servers":[{"url":"/_mock/apis","description":"Mock server","isMockServer":true},{"url":"https://b2b.lumowallet.io","description":"Production"},{"url":"https://b2b-staging.lumowallet.io","description":"Staging"}],"parameters":{"path":[{"name":"id","in":"path","required":true,"schemaId":"schema_33"}],"query":[],"querystring":[],"header":[{"name":"Idempotency-Key","in":"header","required":false,"schemaId":"schema_34"}],"cookie":[]},"security":[{"schemes":[{"id":"apiKeyAuth","type":"apiKey","name":"X-API-Key","in":"header"}],"scopes":[]}],"responseCodes":["201","400","401","403","404","502"],"pointer":"/orders/accept/{id}","href":"orders/acceptorder","openApiOperationId":"acceptOrder","summary":"Accept quote and create order"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis","description":"Mock server","isMockServer":true},{"url":"https://b2b.lumowallet.io","description":"Production"},{"url":"https://b2b-staging.lumowallet.io","description":"Staging"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"201","description":"Order accepted","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Order"}},"schemaId":"components/schemas/Order"},{"code":"400","description":"The quote cannot be accepted into an order.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1orders~1accept~1{id}/post/responses/400/content/application~1json/examples/invalidUuid","paths/~1orders~1accept~1{id}/post/responses/400/content/application~1json/examples/quoteExpired","paths/~1orders~1accept~1{id}/post/responses/400/content/application~1json/examples/insufficientBalance"]}},"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1orders~1accept~1{id}/post/responses/400/content/application~1json/examples/invalidUuid","paths/~1orders~1accept~1{id}/post/responses/400/content/application~1json/examples/quoteExpired","paths/~1orders~1accept~1{id}/post/responses/400/content/application~1json/examples/insufficientBalance"]},{"code":"401","description":"Missing or invalid credentials (API key / session token).","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1orders~1accept~1{id}/post/responses/401/content/application~1json/examples/authRequired","paths/~1orders~1accept~1{id}/post/responses/401/content/application~1json/examples/invalidApiKey","paths/~1orders~1accept~1{id}/post/responses/401/content/application~1json/examples/sessionInvalid"]}},"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1orders~1accept~1{id}/post/responses/401/content/application~1json/examples/authRequired","paths/~1orders~1accept~1{id}/post/responses/401/content/application~1json/examples/invalidApiKey","paths/~1orders~1accept~1{id}/post/responses/401/content/application~1json/examples/sessionInvalid"]},{"code":"403","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"The authenticated principal lacks the permission required by this"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"endpoint (e.g. "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"orders:create"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"orders:read"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"cards:write"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"). The"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"body carries the missing permission in "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"required"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" / "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"details"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"."},"children":[]}]}]}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1orders~1accept~1{id}/post/responses/403/content/application~1json/examples/permissionDenied"]}},"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1orders~1accept~1{id}/post/responses/403/content/application~1json/examples/permissionDenied"]},{"code":"404","description":"Resource not found","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1orders~1accept~1{id}/post/responses/404/content/application~1json/examples/notFound"]}},"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1orders~1accept~1{id}/post/responses/404/content/application~1json/examples/notFound"]},{"code":"502","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"The order could not be created in wallet-backend. No funds are"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"reserved when this happens — the request is safe to retry."},"children":[]}]}]}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1orders~1accept~1{id}/post/responses/502/content/application~1json/examples/walletBackend"]}},"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1orders~1accept~1{id}/post/responses/502/content/application~1json/examples/walletBackend"]}],"pointer":"/paths/~1orders~1accept~1{id}/post/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"201","schemaId":"components/schemas/Order","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Order"}}},{"code":"400","schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1orders~1accept~1{id}/post/responses/400/content/application~1json/examples/invalidUuid","paths/~1orders~1accept~1{id}/post/responses/400/content/application~1json/examples/quoteExpired","paths/~1orders~1accept~1{id}/post/responses/400/content/application~1json/examples/insufficientBalance"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1orders~1accept~1{id}/post/responses/400/content/application~1json/examples/invalidUuid","paths/~1orders~1accept~1{id}/post/responses/400/content/application~1json/examples/quoteExpired","paths/~1orders~1accept~1{id}/post/responses/400/content/application~1json/examples/insufficientBalance"]}}},{"code":"401","schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1orders~1accept~1{id}/post/responses/401/content/application~1json/examples/authRequired","paths/~1orders~1accept~1{id}/post/responses/401/content/application~1json/examples/invalidApiKey","paths/~1orders~1accept~1{id}/post/responses/401/content/application~1json/examples/sessionInvalid"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1orders~1accept~1{id}/post/responses/401/content/application~1json/examples/authRequired","paths/~1orders~1accept~1{id}/post/responses/401/content/application~1json/examples/invalidApiKey","paths/~1orders~1accept~1{id}/post/responses/401/content/application~1json/examples/sessionInvalid"]}}},{"code":"403","schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1orders~1accept~1{id}/post/responses/403/content/application~1json/examples/permissionDenied"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1orders~1accept~1{id}/post/responses/403/content/application~1json/examples/permissionDenied"]}}},{"code":"404","schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1orders~1accept~1{id}/post/responses/404/content/application~1json/examples/notFound"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1orders~1accept~1{id}/post/responses/404/content/application~1json/examples/notFound"]}}},{"code":"502","schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1orders~1accept~1{id}/post/responses/502/content/application~1json/examples/walletBackend"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1orders~1accept~1{id}/post/responses/502/content/application~1json/examples/walletBackend"]}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/orders/acceptorder"}],"panels":[]}]},"httpPath":"/orders/accept/{id}"},{"label":"List company orders","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/orders/listorders","routeSlug":"/apis/orders/listorders","metadata":{"seo":{"title":"List company orders","description":"List company orders"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"listOrders","name":"List company orders","isWebhook":false,"pointer":"/paths/~1orders/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"List company orders","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"security","requirements":[{"schemes":[{"name":"apiKeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"X-API-Key","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Company API key."},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Service also accepts "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"Authorization: Bearer <api-key>"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" and "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"api_key"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" query param,"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"but "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"X-API-Key"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" is recommended."},"children":[]}]}]}]}]}]},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"status","in":"query","schemaId":"schema_35"},{"name":"search","in":"query","schemaId":"schema_36","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Find an order by identifier. Matches your "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"externalOrderId"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" —"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"a substring is enough, so "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"387057"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" finds"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"transaction_387057"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" — or our order "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"id"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":", either in full or by"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"its first characters. A full UUID is matched exactly."},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Queries shorter than 2 characters are ignored."},"children":[]}]}]}],"example":"transaction_387057"},{"name":"limit","in":"query","schemaId":"schema_37"},{"name":"offset","in":"query","schemaId":"schema_38"}],"pointer":"/paths/~1orders/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/orders","servers":[{"url":"/_mock/apis","description":"Mock server","isMockServer":true},{"url":"https://b2b.lumowallet.io","description":"Production"},{"url":"https://b2b-staging.lumowallet.io","description":"Staging"}],"parameters":{"path":[],"query":[{"name":"status","in":"query","required":false,"schemaId":"components/schemas/OrderStatus"},{"name":"search","in":"query","required":false,"example":"transaction_387057","schemaId":"schema_36"},{"name":"limit","in":"query","required":false,"schemaId":"schema_37"},{"name":"offset","in":"query","required":false,"schemaId":"schema_38"}],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"apiKeyAuth","type":"apiKey","name":"X-API-Key","in":"header"}],"scopes":[]}],"responseCodes":["200","401","403"],"pointer":"/orders","href":"orders/listorders","openApiOperationId":"listOrders","summary":"List company orders"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis","description":"Mock server","isMockServer":true},{"url":"https://b2b.lumowallet.io","description":"Production"},{"url":"https://b2b-staging.lumowallet.io","description":"Staging"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Orders list","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/OrdersListResponse"}},"schemaId":"components/schemas/OrdersListResponse"},{"code":"401","description":"Missing or invalid credentials (API key / session token).","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1orders/get/responses/401/content/application~1json/examples/authRequired","paths/~1orders/get/responses/401/content/application~1json/examples/invalidApiKey","paths/~1orders/get/responses/401/content/application~1json/examples/sessionInvalid"]}},"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1orders/get/responses/401/content/application~1json/examples/authRequired","paths/~1orders/get/responses/401/content/application~1json/examples/invalidApiKey","paths/~1orders/get/responses/401/content/application~1json/examples/sessionInvalid"]},{"code":"403","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"The authenticated principal lacks the permission required by this"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"endpoint (e.g. "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"orders:create"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"orders:read"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"cards:write"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"). The"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"body carries the missing permission in "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"required"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" / "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"details"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"."},"children":[]}]}]}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1orders/get/responses/403/content/application~1json/examples/permissionDenied"]}},"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1orders/get/responses/403/content/application~1json/examples/permissionDenied"]}],"pointer":"/paths/~1orders/get/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"components/schemas/OrdersListResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/OrdersListResponse"}}},{"code":"401","schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1orders/get/responses/401/content/application~1json/examples/authRequired","paths/~1orders/get/responses/401/content/application~1json/examples/invalidApiKey","paths/~1orders/get/responses/401/content/application~1json/examples/sessionInvalid"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1orders/get/responses/401/content/application~1json/examples/authRequired","paths/~1orders/get/responses/401/content/application~1json/examples/invalidApiKey","paths/~1orders/get/responses/401/content/application~1json/examples/sessionInvalid"]}}},{"code":"403","schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1orders/get/responses/403/content/application~1json/examples/permissionDenied"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1orders/get/responses/403/content/application~1json/examples/permissionDenied"]}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/orders/listorders"}],"panels":[]}]},"httpPath":"/orders"},{"label":"Get order by id","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/orders/getorder","routeSlug":"/apis/orders/getorder","metadata":{"seo":{"title":"Get order by id","description":"Get order by id"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"getOrder","name":"Get order by id","isWebhook":false,"pointer":"/paths/~1orders~1{id}/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get order by id","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"security","requirements":[{"schemes":[{"name":"apiKeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"X-API-Key","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Company API key."},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Service also accepts "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"Authorization: Bearer <api-key>"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" and "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"api_key"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" query param,"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"but "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"X-API-Key"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" is recommended."},"children":[]}]}]}]}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"id","in":"path","schemaId":"schema_33","required":true}],"pointer":"/paths/~1orders~1{id}/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/orders/{id}","servers":[{"url":"/_mock/apis","description":"Mock server","isMockServer":true},{"url":"https://b2b.lumowallet.io","description":"Production"},{"url":"https://b2b-staging.lumowallet.io","description":"Staging"}],"parameters":{"path":[{"name":"id","in":"path","required":true,"schemaId":"schema_33"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"apiKeyAuth","type":"apiKey","name":"X-API-Key","in":"header"}],"scopes":[]}],"responseCodes":["200","401","403","404"],"pointer":"/orders/{id}","href":"orders/getorder","openApiOperationId":"getOrder","summary":"Get order by id"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis","description":"Mock server","isMockServer":true},{"url":"https://b2b.lumowallet.io","description":"Production"},{"url":"https://b2b-staging.lumowallet.io","description":"Staging"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Order details","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Order"}},"schemaId":"components/schemas/Order"},{"code":"401","description":"Missing or invalid credentials (API key / session token).","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1orders~1{id}/get/responses/401/content/application~1json/examples/authRequired","paths/~1orders~1{id}/get/responses/401/content/application~1json/examples/invalidApiKey","paths/~1orders~1{id}/get/responses/401/content/application~1json/examples/sessionInvalid"]}},"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1orders~1{id}/get/responses/401/content/application~1json/examples/authRequired","paths/~1orders~1{id}/get/responses/401/content/application~1json/examples/invalidApiKey","paths/~1orders~1{id}/get/responses/401/content/application~1json/examples/sessionInvalid"]},{"code":"403","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"The authenticated principal lacks the permission required by this"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"endpoint (e.g. "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"orders:create"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"orders:read"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"cards:write"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"). The"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"body carries the missing permission in "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"required"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" / "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"details"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"."},"children":[]}]}]}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1orders~1{id}/get/responses/403/content/application~1json/examples/permissionDenied"]}},"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1orders~1{id}/get/responses/403/content/application~1json/examples/permissionDenied"]},{"code":"404","description":"Resource not found","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1orders~1{id}/get/responses/404/content/application~1json/examples/notFound"]}},"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1orders~1{id}/get/responses/404/content/application~1json/examples/notFound"]}],"pointer":"/paths/~1orders~1{id}/get/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"components/schemas/Order","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Order"}}},{"code":"401","schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1orders~1{id}/get/responses/401/content/application~1json/examples/authRequired","paths/~1orders~1{id}/get/responses/401/content/application~1json/examples/invalidApiKey","paths/~1orders~1{id}/get/responses/401/content/application~1json/examples/sessionInvalid"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1orders~1{id}/get/responses/401/content/application~1json/examples/authRequired","paths/~1orders~1{id}/get/responses/401/content/application~1json/examples/invalidApiKey","paths/~1orders~1{id}/get/responses/401/content/application~1json/examples/sessionInvalid"]}}},{"code":"403","schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1orders~1{id}/get/responses/403/content/application~1json/examples/permissionDenied"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1orders~1{id}/get/responses/403/content/application~1json/examples/permissionDenied"]}}},{"code":"404","schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1orders~1{id}/get/responses/404/content/application~1json/examples/notFound"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1orders~1{id}/get/responses/404/content/application~1json/examples/notFound"]}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/orders/getorder"}],"panels":[]}]},"httpPath":"/orders/{id}"}],"content":{"contentType":"group","meta":{"name":"Orders"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Orders","showPageActions":true},{"nodeType":"markdoc","content":"Quote preparation and order lifecycle operations."}],"panels":[{"children":[{"kind":"group-items","title":"Operations","titleTranslationKey":"operations","items":[{"title":"/orders/prepare","summary":"Prepare order (create quote)","prefix":{"name":"post","color":"post"},"badges":[],"link":"/orders/prepareorder","deprecated":false},{"title":"/orders/accept/{id}","summary":"Accept quote and create order","prefix":{"name":"post","color":"post"},"badges":[],"link":"/orders/acceptorder","deprecated":false},{"title":"/orders","summary":"List company orders","prefix":{"name":"get","color":"get"},"badges":[],"link":"/orders/listorders","deprecated":false},{"title":"/orders/{id}","summary":"Get order by id","prefix":{"name":"get","color":"get"},"badges":[],"link":"/orders/getorder","deprecated":false}]}]}]}]}},{"type":"group","label":"Disputes","link":"/apis/disputes","routeSlug":"/apis/disputes","items":[{"label":"Open dispute for order","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/disputes/createdispute","routeSlug":"/apis/disputes/createdispute","metadata":{"seo":{"title":"Open dispute for order","description":"Allowed only for completed order states (success or failed)."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"createDispute","name":"Open dispute for order","isWebhook":false,"pointer":"/paths/~1orders~1{id}~1disputes/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Open dispute for order","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Allowed only for completed order states ("},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"success"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" or "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"failed"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":")."},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Behavior:"},"children":[]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"On create, order is moved to "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"disputed"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"."},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"If an open dispute already exists for the order ("},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"submitted"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" / "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"in_review"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"), API returns that dispute."},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Dispute is also sent to wallet-backend for synchronized processing."},"children":[]}]}]}]}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"apiKeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"X-API-Key","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Company API key."},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Service also accepts "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"Authorization: Bearer <api-key>"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" and "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"api_key"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" query param,"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"but "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"X-API-Key"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" is recommended."},"children":[]}]}]}]}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"id","in":"path","schemaId":"schema_33","description":"Order ID","required":true}],"pointer":"/paths/~1orders~1{id}~1disputes/post/parameters"},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/CreateDisputeRequest"}},"schemaId":"components/schemas/CreateDisputeRequest","pointer":"/paths/~1orders~1{id}~1disputes/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/orders/{id}/disputes","servers":[{"url":"/_mock/apis","description":"Mock server","isMockServer":true},{"url":"https://b2b.lumowallet.io","description":"Production"},{"url":"https://b2b-staging.lumowallet.io","description":"Staging"}],"parameters":{"path":[{"name":"id","in":"path","required":true,"schemaId":"schema_33"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"apiKeyAuth","type":"apiKey","name":"X-API-Key","in":"header"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"components/schemas/CreateDisputeRequest"}},"responseCodes":["201","400","401","403","404"],"pointer":"/orders/{id}/disputes","href":"disputes/createdispute","openApiOperationId":"createDispute","summary":"Open dispute for order"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis","description":"Mock server","isMockServer":true},{"url":"https://b2b.lumowallet.io","description":"Production"},{"url":"https://b2b-staging.lumowallet.io","description":"Staging"}],"schemaId":"components/schemas/CreateDisputeRequest","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/CreateDisputeRequest"}},"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"201","description":"Dispute created","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Dispute"}},"schemaId":"components/schemas/Dispute"},{"code":"400","description":"The dispute cannot be opened or resolved in the order's current state.\n","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1orders~1{id}~1disputes/post/responses/400/content/application~1json/examples/notFinalState","paths/~1orders~1{id}~1disputes/post/responses/400/content/application~1json/examples/missingWalletOrderId"]}},"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1orders~1{id}~1disputes/post/responses/400/content/application~1json/examples/notFinalState","paths/~1orders~1{id}~1disputes/post/responses/400/content/application~1json/examples/missingWalletOrderId"]},{"code":"401","description":"Missing or invalid credentials (API key / session token).","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1orders~1{id}~1disputes/post/responses/401/content/application~1json/examples/authRequired","paths/~1orders~1{id}~1disputes/post/responses/401/content/application~1json/examples/invalidApiKey","paths/~1orders~1{id}~1disputes/post/responses/401/content/application~1json/examples/sessionInvalid"]}},"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1orders~1{id}~1disputes/post/responses/401/content/application~1json/examples/authRequired","paths/~1orders~1{id}~1disputes/post/responses/401/content/application~1json/examples/invalidApiKey","paths/~1orders~1{id}~1disputes/post/responses/401/content/application~1json/examples/sessionInvalid"]},{"code":"403","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"The authenticated principal lacks the permission required by this"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"endpoint (e.g. "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"orders:create"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"orders:read"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"cards:write"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"). The"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"body carries the missing permission in "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"required"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" / "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"details"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"."},"children":[]}]}]}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1orders~1{id}~1disputes/post/responses/403/content/application~1json/examples/permissionDenied"]}},"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1orders~1{id}~1disputes/post/responses/403/content/application~1json/examples/permissionDenied"]},{"code":"404","description":"Order or dispute not found for this company.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1orders~1{id}~1disputes/post/responses/404/content/application~1json/examples/orderNotFound","paths/~1orders~1{id}~1disputes/post/responses/404/content/application~1json/examples/disputeNotFound"]}},"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1orders~1{id}~1disputes/post/responses/404/content/application~1json/examples/orderNotFound","paths/~1orders~1{id}~1disputes/post/responses/404/content/application~1json/examples/disputeNotFound"]}],"pointer":"/paths/~1orders~1{id}~1disputes/post/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"201","schemaId":"components/schemas/Dispute","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Dispute"}}},{"code":"400","schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1orders~1{id}~1disputes/post/responses/400/content/application~1json/examples/notFinalState","paths/~1orders~1{id}~1disputes/post/responses/400/content/application~1json/examples/missingWalletOrderId"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1orders~1{id}~1disputes/post/responses/400/content/application~1json/examples/notFinalState","paths/~1orders~1{id}~1disputes/post/responses/400/content/application~1json/examples/missingWalletOrderId"]}}},{"code":"401","schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1orders~1{id}~1disputes/post/responses/401/content/application~1json/examples/authRequired","paths/~1orders~1{id}~1disputes/post/responses/401/content/application~1json/examples/invalidApiKey","paths/~1orders~1{id}~1disputes/post/responses/401/content/application~1json/examples/sessionInvalid"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1orders~1{id}~1disputes/post/responses/401/content/application~1json/examples/authRequired","paths/~1orders~1{id}~1disputes/post/responses/401/content/application~1json/examples/invalidApiKey","paths/~1orders~1{id}~1disputes/post/responses/401/content/application~1json/examples/sessionInvalid"]}}},{"code":"403","schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1orders~1{id}~1disputes/post/responses/403/content/application~1json/examples/permissionDenied"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1orders~1{id}~1disputes/post/responses/403/content/application~1json/examples/permissionDenied"]}}},{"code":"404","schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1orders~1{id}~1disputes/post/responses/404/content/application~1json/examples/orderNotFound","paths/~1orders~1{id}~1disputes/post/responses/404/content/application~1json/examples/disputeNotFound"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1orders~1{id}~1disputes/post/responses/404/content/application~1json/examples/orderNotFound","paths/~1orders~1{id}~1disputes/post/responses/404/content/application~1json/examples/disputeNotFound"]}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/disputes/createdispute"}],"panels":[]}]},"httpPath":"/orders/{id}/disputes"},{"label":"List company disputes","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/disputes/listdisputes","routeSlug":"/apis/disputes/listdisputes","metadata":{"seo":{"title":"List company disputes","description":"Returns company dispute history (newest first)."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"listDisputes","name":"List company disputes","isWebhook":false,"pointer":"/paths/~1disputes/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"List company disputes","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Returns company dispute history (newest first)."},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Resolution fields:"},"children":[]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"resolvedAt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" is set when dispute is resolved."},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"resolution"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" is set on resolve ("},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"confirm"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"refund"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"partial_refund"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":")."},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"refundAmount"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" is set for "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"refund"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" (the full order amount) and for"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"partial_refund"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" (the part returned); it is "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"null"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" for "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"confirm"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"."},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"It states how much of the order was reversed — "},"children":[]},{"$$mdtype":"Node","type":"strong","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"not"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" how much"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"reached your balance. When the funds had not been debited yet, the"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"resolution merely releases the hold. Check "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"GET /wallets/balance-history"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"with "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"referenceId = orderId"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" for the real movement."},"children":[]}]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"The outcome lives in "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"resolution"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":", not in "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"status"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":": a dispute you won and"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"one you lost both end up as "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"status: resolved"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":". "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"refund"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" /"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"partial_refund"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" mean the payment was reversed (the order becomes"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"failed"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"); "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"confirm"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" means the dispute was turned down and the payment"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"stands (the order goes back to "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"success"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":")."},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Each item embeds the "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"order"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" it belongs to, so no second call is needed."},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Disputes can be resolved by admin flow or automatically from wallet callback final status."},"children":[]}]}]}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"apiKeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"X-API-Key","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Company API key."},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Service also accepts "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"Authorization: Bearer <api-key>"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" and "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"api_key"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" query param,"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"but "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"X-API-Key"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" is recommended."},"children":[]}]}]}]}]}]},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"search","in":"query","schemaId":"schema_36","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Find a dispute by the order it belongs to — same matching as"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"GET /orders"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":": your "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"externalOrderId"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" (substring is enough) or our"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"order "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"id"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"."},"children":[]}]}]}]},{"name":"status","in":"query","schemaId":"schema_39"},{"name":"resolution","in":"query","schemaId":"schema_40","description":"Filter by outcome."},{"name":"limit","in":"query","schemaId":"schema_41","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Omit to get the full history in one array (the historical"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"behaviour). When set, the total count comes back in the"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"X-Total-Count"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" header."},"children":[]}]}]}]},{"name":"offset","in":"query","schemaId":"schema_38"}],"pointer":"/paths/~1disputes/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/disputes","servers":[{"url":"/_mock/apis","description":"Mock server","isMockServer":true},{"url":"https://b2b.lumowallet.io","description":"Production"},{"url":"https://b2b-staging.lumowallet.io","description":"Staging"}],"parameters":{"path":[],"query":[{"name":"search","in":"query","required":false,"schemaId":"schema_36"},{"name":"status","in":"query","required":false,"schemaId":"components/schemas/DisputeStatus"},{"name":"resolution","in":"query","required":false,"schemaId":"components/schemas/DisputeResolution"},{"name":"limit","in":"query","required":false,"schemaId":"schema_41"},{"name":"offset","in":"query","required":false,"schemaId":"schema_38"}],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"apiKeyAuth","type":"apiKey","name":"X-API-Key","in":"header"}],"scopes":[]}],"responseCodes":["200","401","403"],"pointer":"/disputes","href":"disputes/listdisputes","openApiOperationId":"listDisputes","summary":"List company disputes"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis","description":"Mock server","isMockServer":true},{"url":"https://b2b.lumowallet.io","description":"Production"},{"url":"https://b2b-staging.lumowallet.io","description":"Staging"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Disputes list","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_42"}},"schemaId":"schema_42","headers":{"X-Total-Count":{"description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Total matching disputes; present when "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"limit"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" is used."},"children":[]}]}]}],"schema":{"type":"integer"}}},"headerSchemaId":"schema_43"},{"code":"401","description":"Missing or invalid credentials (API key / session token).","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1disputes/get/responses/401/content/application~1json/examples/authRequired","paths/~1disputes/get/responses/401/content/application~1json/examples/invalidApiKey","paths/~1disputes/get/responses/401/content/application~1json/examples/sessionInvalid"]}},"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1disputes/get/responses/401/content/application~1json/examples/authRequired","paths/~1disputes/get/responses/401/content/application~1json/examples/invalidApiKey","paths/~1disputes/get/responses/401/content/application~1json/examples/sessionInvalid"]},{"code":"403","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"The authenticated principal lacks the permission required by this"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"endpoint (e.g. "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"orders:create"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"orders:read"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"cards:write"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"). The"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"body carries the missing permission in "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"required"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" / "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"details"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"."},"children":[]}]}]}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1disputes/get/responses/403/content/application~1json/examples/permissionDenied"]}},"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1disputes/get/responses/403/content/application~1json/examples/permissionDenied"]}],"pointer":"/paths/~1disputes/get/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"schema_42","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_42"}}},{"code":"401","schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1disputes/get/responses/401/content/application~1json/examples/authRequired","paths/~1disputes/get/responses/401/content/application~1json/examples/invalidApiKey","paths/~1disputes/get/responses/401/content/application~1json/examples/sessionInvalid"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1disputes/get/responses/401/content/application~1json/examples/authRequired","paths/~1disputes/get/responses/401/content/application~1json/examples/invalidApiKey","paths/~1disputes/get/responses/401/content/application~1json/examples/sessionInvalid"]}}},{"code":"403","schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1disputes/get/responses/403/content/application~1json/examples/permissionDenied"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1disputes/get/responses/403/content/application~1json/examples/permissionDenied"]}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/disputes/listdisputes"}],"panels":[]}]},"httpPath":"/disputes"}],"content":{"contentType":"group","meta":{"name":"Disputes"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Disputes","showPageActions":true},{"nodeType":"markdoc","content":"Company dispute creation and listing."}],"panels":[{"children":[{"kind":"group-items","title":"Operations","titleTranslationKey":"operations","items":[{"title":"/orders/{id}/disputes","summary":"Open dispute for order","prefix":{"name":"post","color":"post"},"badges":[],"link":"/disputes/createdispute","deprecated":false},{"title":"/disputes","summary":"List company disputes","prefix":{"name":"get","color":"get"},"badges":[],"link":"/disputes/listdisputes","deprecated":false}]}]}]}]}},{"type":"group","label":"Company Wallet","link":"/apis/company-wallet","routeSlug":"/apis/company-wallet","items":[{"label":"Get company deposit wallet","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/company-wallet/getcompanywallet","routeSlug":"/apis/company-wallet/getcompanywallet","metadata":{"seo":{"title":"Get company deposit wallet","description":"Returns company TRON wallet address for incoming USDT (TRC-20). Wallet is auto-created on first request if absent."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"getCompanyWallet","name":"Get company deposit wallet","isWebhook":false,"pointer":"/paths/~1wallets/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get company deposit wallet","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Returns company TRON wallet address for incoming USDT (TRC-20).\nWallet is auto-created on first request if absent.\n"},{"nodeType":"security","requirements":[{"schemes":[{"name":"apiKeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"X-API-Key","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Company API key."},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Service also accepts "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"Authorization: Bearer <api-key>"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" and "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"api_key"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" query param,"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"but "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"X-API-Key"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" is recommended."},"children":[]}]}]}]}]}]}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/wallets","servers":[{"url":"/_mock/apis","description":"Mock server","isMockServer":true},{"url":"https://b2b.lumowallet.io","description":"Production"},{"url":"https://b2b-staging.lumowallet.io","description":"Staging"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"apiKeyAuth","type":"apiKey","name":"X-API-Key","in":"header"}],"scopes":[]}],"responseCodes":["200","401","403"],"pointer":"/wallets","href":"company-wallet/getcompanywallet","openApiOperationId":"getCompanyWallet","summary":"Get company deposit wallet"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis","description":"Mock server","isMockServer":true},{"url":"https://b2b.lumowallet.io","description":"Production"},{"url":"https://b2b-staging.lumowallet.io","description":"Staging"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Company wallet","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/CompanyWallet"}},"schemaId":"components/schemas/CompanyWallet"},{"code":"401","description":"Missing or invalid credentials (API key / session token).","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1wallets/get/responses/401/content/application~1json/examples/authRequired","paths/~1wallets/get/responses/401/content/application~1json/examples/invalidApiKey","paths/~1wallets/get/responses/401/content/application~1json/examples/sessionInvalid"]}},"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1wallets/get/responses/401/content/application~1json/examples/authRequired","paths/~1wallets/get/responses/401/content/application~1json/examples/invalidApiKey","paths/~1wallets/get/responses/401/content/application~1json/examples/sessionInvalid"]},{"code":"403","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"The authenticated principal lacks the permission required by this"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"endpoint (e.g. "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"orders:create"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"orders:read"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"cards:write"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"). The"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"body carries the missing permission in "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"required"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" / "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"details"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"."},"children":[]}]}]}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1wallets/get/responses/403/content/application~1json/examples/permissionDenied"]}},"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1wallets/get/responses/403/content/application~1json/examples/permissionDenied"]}],"pointer":"/paths/~1wallets/get/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"components/schemas/CompanyWallet","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/CompanyWallet"}}},{"code":"401","schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1wallets/get/responses/401/content/application~1json/examples/authRequired","paths/~1wallets/get/responses/401/content/application~1json/examples/invalidApiKey","paths/~1wallets/get/responses/401/content/application~1json/examples/sessionInvalid"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1wallets/get/responses/401/content/application~1json/examples/authRequired","paths/~1wallets/get/responses/401/content/application~1json/examples/invalidApiKey","paths/~1wallets/get/responses/401/content/application~1json/examples/sessionInvalid"]}}},{"code":"403","schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1wallets/get/responses/403/content/application~1json/examples/permissionDenied"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1wallets/get/responses/403/content/application~1json/examples/permissionDenied"]}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/company-wallet/getcompanywallet"}],"panels":[]}]},"httpPath":"/wallets"},{"label":"Get wallet balance view","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/company-wallet/getcompanywalletbalance","routeSlug":"/apis/company-wallet/getcompanywalletbalance","metadata":{"seo":{"title":"Get wallet balance view","description":"Returns company balance view.usdtBalance reflects company balance used by platform accounting."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"getCompanyWalletBalance","name":"Get wallet balance view","isWebhook":false,"pointer":"/paths/~1wallets~1balance/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get wallet balance view","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Returns company balance view."},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"usdtBalance"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" reflects company balance used by platform accounting."},"children":[]}]}]}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"apiKeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"X-API-Key","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Company API key."},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Service also accepts "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"Authorization: Bearer <api-key>"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" and "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"api_key"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" query param,"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"but "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"X-API-Key"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" is recommended."},"children":[]}]}]}]}]}]}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/wallets/balance","servers":[{"url":"/_mock/apis","description":"Mock server","isMockServer":true},{"url":"https://b2b.lumowallet.io","description":"Production"},{"url":"https://b2b-staging.lumowallet.io","description":"Staging"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"apiKeyAuth","type":"apiKey","name":"X-API-Key","in":"header"}],"scopes":[]}],"responseCodes":["200","401","403"],"pointer":"/wallets/balance","href":"company-wallet/getcompanywalletbalance","openApiOperationId":"getCompanyWalletBalance","summary":"Get wallet balance view"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis","description":"Mock server","isMockServer":true},{"url":"https://b2b.lumowallet.io","description":"Production"},{"url":"https://b2b-staging.lumowallet.io","description":"Staging"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Balance","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/CompanyWalletBalance"}},"schemaId":"components/schemas/CompanyWalletBalance"},{"code":"401","description":"Missing or invalid credentials (API key / session token).","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1wallets~1balance/get/responses/401/content/application~1json/examples/authRequired","paths/~1wallets~1balance/get/responses/401/content/application~1json/examples/invalidApiKey","paths/~1wallets~1balance/get/responses/401/content/application~1json/examples/sessionInvalid"]}},"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1wallets~1balance/get/responses/401/content/application~1json/examples/authRequired","paths/~1wallets~1balance/get/responses/401/content/application~1json/examples/invalidApiKey","paths/~1wallets~1balance/get/responses/401/content/application~1json/examples/sessionInvalid"]},{"code":"403","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"The authenticated principal lacks the permission required by this"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"endpoint (e.g. "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"orders:create"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"orders:read"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"cards:write"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"). The"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"body carries the missing permission in "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"required"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" / "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"details"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"."},"children":[]}]}]}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1wallets~1balance/get/responses/403/content/application~1json/examples/permissionDenied"]}},"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1wallets~1balance/get/responses/403/content/application~1json/examples/permissionDenied"]}],"pointer":"/paths/~1wallets~1balance/get/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"components/schemas/CompanyWalletBalance","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/CompanyWalletBalance"}}},{"code":"401","schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1wallets~1balance/get/responses/401/content/application~1json/examples/authRequired","paths/~1wallets~1balance/get/responses/401/content/application~1json/examples/invalidApiKey","paths/~1wallets~1balance/get/responses/401/content/application~1json/examples/sessionInvalid"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1wallets~1balance/get/responses/401/content/application~1json/examples/authRequired","paths/~1wallets~1balance/get/responses/401/content/application~1json/examples/invalidApiKey","paths/~1wallets~1balance/get/responses/401/content/application~1json/examples/sessionInvalid"]}}},{"code":"403","schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1wallets~1balance/get/responses/403/content/application~1json/examples/permissionDenied"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1wallets~1balance/get/responses/403/content/application~1json/examples/permissionDenied"]}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/company-wallet/getcompanywalletbalance"}],"panels":[]}]},"httpPath":"/wallets/balance"},{"label":"Balance movement log","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/company-wallet/getbalancehistory","routeSlug":"/apis/company-wallet/getbalancehistory","metadata":{"seo":{"title":"Balance movement log","description":"Every change to the company balance — deposits, order settlements,holds, refunds, card operations. This is the reconciliation source oftruth: it shows when money actually moved."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"getBalanceHistory","name":"Balance movement log","isWebhook":false,"pointer":"/paths/~1wallets~1balance-history/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Balance movement log","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Every change to the company balance — deposits, order settlements,"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"holds, refunds, card operations. This is the reconciliation source of"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"truth: it shows when money actually moved."},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"deltaBalance"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" is the change to the available balance (zero means no"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"money moved, e.g. a hold was merely released); "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"deltaFrozen"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" is the"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"change to the held amount. "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"referenceId"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" points at whatever the entry"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"is about — "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"orderId"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"depositId"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"rechargeId"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" or "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"cardId"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"."},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Newest first, cursor pagination via "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"before"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":". New "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"operationType"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"values get added over time — render an unknown one as-is rather than"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"treating it as an error."},"children":[]}]}]}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"apiKeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"X-API-Key","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Company API key."},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Service also accepts "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"Authorization: Bearer <api-key>"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" and "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"api_key"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" query param,"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"but "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"X-API-Key"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" is recommended."},"children":[]}]}]}]}]}]},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"operationType","in":"query","schemaId":"schema_36","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Exact match, e.g. "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"order_success_settlement"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"."},"children":[]}]}]}]},{"name":"from","in":"query","schemaId":"schema_44","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"ISO-8601. Only entries with "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"createdAt >= from"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"."},"children":[]}]}]}]},{"name":"to","in":"query","schemaId":"schema_44","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"ISO-8601. Only entries with "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"createdAt <= to"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"."},"children":[]}]}]}]},{"name":"limit","in":"query","schemaId":"schema_41"},{"name":"before","in":"query","schemaId":"schema_44","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Cursor — entries with "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"createdAt < before"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"."},"children":[]}]}]}]}],"pointer":"/paths/~1wallets~1balance-history/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/wallets/balance-history","servers":[{"url":"/_mock/apis","description":"Mock server","isMockServer":true},{"url":"https://b2b.lumowallet.io","description":"Production"},{"url":"https://b2b-staging.lumowallet.io","description":"Staging"}],"parameters":{"path":[],"query":[{"name":"operationType","in":"query","schemaId":"schema_36"},{"name":"from","in":"query","schemaId":"schema_44"},{"name":"to","in":"query","schemaId":"schema_44"},{"name":"limit","in":"query","schemaId":"schema_41"},{"name":"before","in":"query","schemaId":"schema_44"}],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"apiKeyAuth","type":"apiKey","name":"X-API-Key","in":"header"}],"scopes":[]}],"responseCodes":["200","400","401"],"pointer":"/wallets/balance-history","href":"company-wallet/getbalancehistory","openApiOperationId":"getBalanceHistory","summary":"Balance movement log"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis","description":"Mock server","isMockServer":true},{"url":"https://b2b.lumowallet.io","description":"Production"},{"url":"https://b2b-staging.lumowallet.io","description":"Staging"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Balance history page","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_45"}},"schemaId":"schema_45"},{"code":"400","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Invalid "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"from"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" / "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"to"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" / "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"before"},"children":[]}]}]}]},{"code":"401","description":"Missing or invalid credentials (API key / session token).","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1wallets~1balance-history/get/responses/401/content/application~1json/examples/authRequired","paths/~1wallets~1balance-history/get/responses/401/content/application~1json/examples/invalidApiKey","paths/~1wallets~1balance-history/get/responses/401/content/application~1json/examples/sessionInvalid"]}},"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1wallets~1balance-history/get/responses/401/content/application~1json/examples/authRequired","paths/~1wallets~1balance-history/get/responses/401/content/application~1json/examples/invalidApiKey","paths/~1wallets~1balance-history/get/responses/401/content/application~1json/examples/sessionInvalid"]}],"pointer":"/paths/~1wallets~1balance-history/get/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"schema_45","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_45"}}},{"code":"400"},{"code":"401","schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1wallets~1balance-history/get/responses/401/content/application~1json/examples/authRequired","paths/~1wallets~1balance-history/get/responses/401/content/application~1json/examples/invalidApiKey","paths/~1wallets~1balance-history/get/responses/401/content/application~1json/examples/sessionInvalid"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1wallets~1balance-history/get/responses/401/content/application~1json/examples/authRequired","paths/~1wallets~1balance-history/get/responses/401/content/application~1json/examples/invalidApiKey","paths/~1wallets~1balance-history/get/responses/401/content/application~1json/examples/sessionInvalid"]}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/company-wallet/getbalancehistory"}],"panels":[]}]},"httpPath":"/wallets/balance-history"},{"label":"Export balance history as CSV","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/company-wallet/exportbalancehistory","routeSlug":"/apis/company-wallet/exportbalancehistory","metadata":{"seo":{"title":"Export balance history as CSV","description":"The same rows as /wallets/balance-history with the same filters, butthe whole period rather than one page. UTF-8 with BOM so Excel readsCyrillic correctly; the filename comes back in Content-Disposition."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"exportBalanceHistory","name":"Export balance history as CSV","isWebhook":false,"pointer":"/paths/~1wallets~1balance-history.csv/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Export balance history as CSV","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"The same rows as "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"/wallets/balance-history"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" with the same filters, but"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"the whole period rather than one page. UTF-8 with BOM so Excel reads"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Cyrillic correctly; the filename comes back in "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"Content-Disposition"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"."},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Columns: "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"createdAt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"operationType"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"deltaBalance"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"balanceAfter"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":","},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"deltaFrozen"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"frozenAfter"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"referenceId"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"metadata"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"."},"children":[]}]}]}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"apiKeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"X-API-Key","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Company API key."},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Service also accepts "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"Authorization: Bearer <api-key>"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" and "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"api_key"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" query param,"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"but "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"X-API-Key"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" is recommended."},"children":[]}]}]}]}]}]},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"operationType","in":"query","schemaId":"schema_36"},{"name":"from","in":"query","schemaId":"schema_44"},{"name":"to","in":"query","schemaId":"schema_44"}],"pointer":"/paths/~1wallets~1balance-history.csv/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/wallets/balance-history.csv","servers":[{"url":"/_mock/apis","description":"Mock server","isMockServer":true},{"url":"https://b2b.lumowallet.io","description":"Production"},{"url":"https://b2b-staging.lumowallet.io","description":"Staging"}],"parameters":{"path":[],"query":[{"name":"operationType","in":"query","schemaId":"schema_36"},{"name":"from","in":"query","schemaId":"schema_44"},{"name":"to","in":"query","schemaId":"schema_44"}],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"apiKeyAuth","type":"apiKey","name":"X-API-Key","in":"header"}],"scopes":[]}],"responseCodes":["200","400","401"],"pointer":"/wallets/balance-history.csv","href":"company-wallet/exportbalancehistory","openApiOperationId":"exportBalanceHistory","summary":"Export balance history as CSV"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis","description":"Mock server","isMockServer":true},{"url":"https://b2b.lumowallet.io","description":"Production"},{"url":"https://b2b-staging.lumowallet.io","description":"Staging"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"CSV file","mediaType":"text/csv","mediaTypes":["text/csv"],"mediaTypeContent":{"text/csv":{"schemaId":"schema_36"}},"schemaId":"schema_36","headers":{"Content-Disposition":{"schema":{"type":"string"},"example":"attachment; filename=\"balance-history-2026-08-01_2026-08-14.csv\""}},"headerSchemaId":"schema_46"},{"code":"400","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Invalid "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"from"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" / "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"to"},"children":[]}]}]}]},{"code":"401","description":"Missing or invalid credentials (API key / session token).","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1wallets~1balance-history.csv/get/responses/401/content/application~1json/examples/authRequired","paths/~1wallets~1balance-history.csv/get/responses/401/content/application~1json/examples/invalidApiKey","paths/~1wallets~1balance-history.csv/get/responses/401/content/application~1json/examples/sessionInvalid"]}},"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1wallets~1balance-history.csv/get/responses/401/content/application~1json/examples/authRequired","paths/~1wallets~1balance-history.csv/get/responses/401/content/application~1json/examples/invalidApiKey","paths/~1wallets~1balance-history.csv/get/responses/401/content/application~1json/examples/sessionInvalid"]}],"pointer":"/paths/~1wallets~1balance-history.csv/get/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"schema_36","mediaTypes":["text/csv"],"mediaTypeContent":{"text/csv":{"schemaId":"schema_36"}}},{"code":"400"},{"code":"401","schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1wallets~1balance-history.csv/get/responses/401/content/application~1json/examples/authRequired","paths/~1wallets~1balance-history.csv/get/responses/401/content/application~1json/examples/invalidApiKey","paths/~1wallets~1balance-history.csv/get/responses/401/content/application~1json/examples/sessionInvalid"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1wallets~1balance-history.csv/get/responses/401/content/application~1json/examples/authRequired","paths/~1wallets~1balance-history.csv/get/responses/401/content/application~1json/examples/invalidApiKey","paths/~1wallets~1balance-history.csv/get/responses/401/content/application~1json/examples/sessionInvalid"]}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/company-wallet/exportbalancehistory"}],"panels":[]}]},"httpPath":"/wallets/balance-history.csv"},{"label":"List company deposits","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/company-wallet/listcompanydeposits","routeSlug":"/apis/company-wallet/listcompanydeposits","metadata":{"seo":{"title":"List company deposits","description":"Deposit status lifecycle:"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"listCompanyDeposits","name":"List company deposits","isWebhook":false,"pointer":"/paths/~1wallets~1deposits/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"List company deposits","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Deposit status lifecycle:"},"children":[]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"new"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"fee_charged"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"aml_pending"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" / "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"aml_passed"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" / "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"aml_failed"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"forwarding"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"completed"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" / "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"failed"},"children":[]}]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Company deposit sweep target is "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"B2B_TREASURY_ADDRESS"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"."},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Processing fee is retained from incoming deposit amount (not debited from company balance)."},"children":[]}]}]}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"apiKeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"X-API-Key","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Company API key."},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Service also accepts "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"Authorization: Bearer <api-key>"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" and "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"api_key"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" query param,"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"but "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"X-API-Key"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" is recommended."},"children":[]}]}]}]}]}]},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"status","in":"query","schemaId":"schema_47"},{"name":"limit","in":"query","schemaId":"schema_41"},{"name":"offset","in":"query","schemaId":"schema_38"}],"pointer":"/paths/~1wallets~1deposits/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/wallets/deposits","servers":[{"url":"/_mock/apis","description":"Mock server","isMockServer":true},{"url":"https://b2b.lumowallet.io","description":"Production"},{"url":"https://b2b-staging.lumowallet.io","description":"Staging"}],"parameters":{"path":[],"query":[{"name":"status","in":"query","required":false,"schemaId":"components/schemas/CompanyDepositStatus"},{"name":"limit","in":"query","required":false,"schemaId":"schema_41"},{"name":"offset","in":"query","required":false,"schemaId":"schema_38"}],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"apiKeyAuth","type":"apiKey","name":"X-API-Key","in":"header"}],"scopes":[]}],"responseCodes":["200","401","403"],"pointer":"/wallets/deposits","href":"company-wallet/listcompanydeposits","openApiOperationId":"listCompanyDeposits","summary":"List company deposits"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis","description":"Mock server","isMockServer":true},{"url":"https://b2b.lumowallet.io","description":"Production"},{"url":"https://b2b-staging.lumowallet.io","description":"Staging"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Deposits list","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/CompanyDepositsListResponse"}},"schemaId":"components/schemas/CompanyDepositsListResponse"},{"code":"401","description":"Missing or invalid credentials (API key / session token).","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1wallets~1deposits/get/responses/401/content/application~1json/examples/authRequired","paths/~1wallets~1deposits/get/responses/401/content/application~1json/examples/invalidApiKey","paths/~1wallets~1deposits/get/responses/401/content/application~1json/examples/sessionInvalid"]}},"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1wallets~1deposits/get/responses/401/content/application~1json/examples/authRequired","paths/~1wallets~1deposits/get/responses/401/content/application~1json/examples/invalidApiKey","paths/~1wallets~1deposits/get/responses/401/content/application~1json/examples/sessionInvalid"]},{"code":"403","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"The authenticated principal lacks the permission required by this"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"endpoint (e.g. "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"orders:create"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"orders:read"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"cards:write"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"). The"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"body carries the missing permission in "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"required"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" / "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"details"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"."},"children":[]}]}]}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1wallets~1deposits/get/responses/403/content/application~1json/examples/permissionDenied"]}},"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1wallets~1deposits/get/responses/403/content/application~1json/examples/permissionDenied"]}],"pointer":"/paths/~1wallets~1deposits/get/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"components/schemas/CompanyDepositsListResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/CompanyDepositsListResponse"}}},{"code":"401","schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1wallets~1deposits/get/responses/401/content/application~1json/examples/authRequired","paths/~1wallets~1deposits/get/responses/401/content/application~1json/examples/invalidApiKey","paths/~1wallets~1deposits/get/responses/401/content/application~1json/examples/sessionInvalid"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1wallets~1deposits/get/responses/401/content/application~1json/examples/authRequired","paths/~1wallets~1deposits/get/responses/401/content/application~1json/examples/invalidApiKey","paths/~1wallets~1deposits/get/responses/401/content/application~1json/examples/sessionInvalid"]}}},{"code":"403","schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1wallets~1deposits/get/responses/403/content/application~1json/examples/permissionDenied"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1wallets~1deposits/get/responses/403/content/application~1json/examples/permissionDenied"]}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/company-wallet/listcompanydeposits"}],"panels":[]}]},"httpPath":"/wallets/deposits"}],"content":{"contentType":"group","meta":{"name":"Company Wallet"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Company Wallet","showPageActions":true},{"nodeType":"markdoc","content":"Company deposit wallet, balances, and deposit history."}],"panels":[{"children":[{"kind":"group-items","title":"Operations","titleTranslationKey":"operations","items":[{"title":"/wallets","summary":"Get company deposit wallet","prefix":{"name":"get","color":"get"},"badges":[],"link":"/company-wallet/getcompanywallet","deprecated":false},{"title":"/wallets/balance","summary":"Get wallet balance view","prefix":{"name":"get","color":"get"},"badges":[],"link":"/company-wallet/getcompanywalletbalance","deprecated":false},{"title":"/wallets/balance-history","summary":"Balance movement log","prefix":{"name":"get","color":"get"},"badges":[],"link":"/company-wallet/getbalancehistory","deprecated":false},{"title":"/wallets/balance-history.csv","summary":"Export balance history as CSV","prefix":{"name":"get","color":"get"},"badges":[],"link":"/company-wallet/exportbalancehistory","deprecated":false},{"title":"/wallets/deposits","summary":"List company deposits","prefix":{"name":"get","color":"get"},"badges":[],"link":"/company-wallet/listcompanydeposits","deprecated":false}]}]}]}]}},{"type":"group","label":"User Wallets","link":"/apis/user-wallets","routeSlug":"/apis/user-wallets","items":[{"label":"Create user wallet","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/user-wallets/createuserwallet","routeSlug":"/apis/user-wallets/createuserwallet","metadata":{"seo":{"title":"Create user wallet","description":"Creates or returns wallet for given externalId within company scope."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"createUserWallet","name":"Create user wallet","isWebhook":false,"pointer":"/paths/~1user-wallets/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Create user wallet","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Creates or returns wallet for given "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"externalId"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" within company scope."},"children":[]}]}]}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"apiKeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"X-API-Key","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Company API key."},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Service also accepts "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"Authorization: Bearer <api-key>"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" and "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"api_key"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" query param,"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"but "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"X-API-Key"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" is recommended."},"children":[]}]}]}]}]}]},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/CreateUserWalletRequest"}},"schemaId":"components/schemas/CreateUserWalletRequest","pointer":"/paths/~1user-wallets/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/user-wallets","servers":[{"url":"/_mock/apis","description":"Mock server","isMockServer":true},{"url":"https://b2b.lumowallet.io","description":"Production"},{"url":"https://b2b-staging.lumowallet.io","description":"Staging"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"apiKeyAuth","type":"apiKey","name":"X-API-Key","in":"header"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"components/schemas/CreateUserWalletRequest"}},"responseCodes":["201","401","403"],"pointer":"/user-wallets","href":"user-wallets/createuserwallet","openApiOperationId":"createUserWallet","summary":"Create user wallet"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis","description":"Mock server","isMockServer":true},{"url":"https://b2b.lumowallet.io","description":"Production"},{"url":"https://b2b-staging.lumowallet.io","description":"Staging"}],"schemaId":"components/schemas/CreateUserWalletRequest","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/CreateUserWalletRequest"}},"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"201","description":"User wallet created or returned","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/UserWallet"}},"schemaId":"components/schemas/UserWallet"},{"code":"401","description":"Missing or invalid credentials (API key / session token).","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1user-wallets/post/responses/401/content/application~1json/examples/authRequired","paths/~1user-wallets/post/responses/401/content/application~1json/examples/invalidApiKey","paths/~1user-wallets/post/responses/401/content/application~1json/examples/sessionInvalid"]}},"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1user-wallets/post/responses/401/content/application~1json/examples/authRequired","paths/~1user-wallets/post/responses/401/content/application~1json/examples/invalidApiKey","paths/~1user-wallets/post/responses/401/content/application~1json/examples/sessionInvalid"]},{"code":"403","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"The authenticated principal lacks the permission required by this"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"endpoint (e.g. "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"orders:create"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"orders:read"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"cards:write"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"). The"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"body carries the missing permission in "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"required"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" / "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"details"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"."},"children":[]}]}]}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1user-wallets/post/responses/403/content/application~1json/examples/permissionDenied"]}},"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1user-wallets/post/responses/403/content/application~1json/examples/permissionDenied"]}],"pointer":"/paths/~1user-wallets/post/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"201","schemaId":"components/schemas/UserWallet","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/UserWallet"}}},{"code":"401","schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1user-wallets/post/responses/401/content/application~1json/examples/authRequired","paths/~1user-wallets/post/responses/401/content/application~1json/examples/invalidApiKey","paths/~1user-wallets/post/responses/401/content/application~1json/examples/sessionInvalid"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1user-wallets/post/responses/401/content/application~1json/examples/authRequired","paths/~1user-wallets/post/responses/401/content/application~1json/examples/invalidApiKey","paths/~1user-wallets/post/responses/401/content/application~1json/examples/sessionInvalid"]}}},{"code":"403","schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1user-wallets/post/responses/403/content/application~1json/examples/permissionDenied"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1user-wallets/post/responses/403/content/application~1json/examples/permissionDenied"]}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/user-wallets/createuserwallet"}],"panels":[]}]},"httpPath":"/user-wallets"},{"label":"List user wallets","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/user-wallets/listuserwallets","routeSlug":"/apis/user-wallets/listuserwallets","metadata":{"seo":{"title":"List user wallets","description":"List user wallets"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"listUserWallets","name":"List user wallets","isWebhook":false,"pointer":"/paths/~1user-wallets/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"List user wallets","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"security","requirements":[{"schemes":[{"name":"apiKeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"X-API-Key","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Company API key."},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Service also accepts "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"Authorization: Bearer <api-key>"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" and "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"api_key"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" query param,"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"but "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"X-API-Key"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" is recommended."},"children":[]}]}]}]}]}]},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"externalId","in":"query","schemaId":"schema_36"},{"name":"limit","in":"query","schemaId":"schema_48"},{"name":"offset","in":"query","schemaId":"schema_49"}],"pointer":"/paths/~1user-wallets/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/user-wallets","servers":[{"url":"/_mock/apis","description":"Mock server","isMockServer":true},{"url":"https://b2b.lumowallet.io","description":"Production"},{"url":"https://b2b-staging.lumowallet.io","description":"Staging"}],"parameters":{"path":[],"query":[{"name":"externalId","in":"query","required":false,"schemaId":"schema_36"},{"name":"limit","in":"query","required":false,"schemaId":"schema_48"},{"name":"offset","in":"query","required":false,"schemaId":"schema_49"}],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"apiKeyAuth","type":"apiKey","name":"X-API-Key","in":"header"}],"scopes":[]}],"responseCodes":["200","401","403"],"pointer":"/user-wallets","href":"user-wallets/listuserwallets","openApiOperationId":"listUserWallets","summary":"List user wallets"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis","description":"Mock server","isMockServer":true},{"url":"https://b2b.lumowallet.io","description":"Production"},{"url":"https://b2b-staging.lumowallet.io","description":"Staging"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Wallets list","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/UserWalletsListResponse"}},"schemaId":"components/schemas/UserWalletsListResponse"},{"code":"401","description":"Missing or invalid credentials (API key / session token).","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1user-wallets/get/responses/401/content/application~1json/examples/authRequired","paths/~1user-wallets/get/responses/401/content/application~1json/examples/invalidApiKey","paths/~1user-wallets/get/responses/401/content/application~1json/examples/sessionInvalid"]}},"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1user-wallets/get/responses/401/content/application~1json/examples/authRequired","paths/~1user-wallets/get/responses/401/content/application~1json/examples/invalidApiKey","paths/~1user-wallets/get/responses/401/content/application~1json/examples/sessionInvalid"]},{"code":"403","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"The authenticated principal lacks the permission required by this"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"endpoint (e.g. "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"orders:create"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"orders:read"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"cards:write"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"). The"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"body carries the missing permission in "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"required"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" / "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"details"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"."},"children":[]}]}]}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1user-wallets/get/responses/403/content/application~1json/examples/permissionDenied"]}},"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1user-wallets/get/responses/403/content/application~1json/examples/permissionDenied"]}],"pointer":"/paths/~1user-wallets/get/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"components/schemas/UserWalletsListResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/UserWalletsListResponse"}}},{"code":"401","schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1user-wallets/get/responses/401/content/application~1json/examples/authRequired","paths/~1user-wallets/get/responses/401/content/application~1json/examples/invalidApiKey","paths/~1user-wallets/get/responses/401/content/application~1json/examples/sessionInvalid"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1user-wallets/get/responses/401/content/application~1json/examples/authRequired","paths/~1user-wallets/get/responses/401/content/application~1json/examples/invalidApiKey","paths/~1user-wallets/get/responses/401/content/application~1json/examples/sessionInvalid"]}}},{"code":"403","schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1user-wallets/get/responses/403/content/application~1json/examples/permissionDenied"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1user-wallets/get/responses/403/content/application~1json/examples/permissionDenied"]}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/user-wallets/listuserwallets"}],"panels":[]}]},"httpPath":"/user-wallets"},{"label":"List blocked user wallets","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/user-wallets/listblockeduserwallets","routeSlug":"/apis/user-wallets/listblockeduserwallets","metadata":{"seo":{"title":"List blocked user wallets","description":"List blocked user wallets"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"listBlockedUserWallets","name":"List blocked user wallets","isWebhook":false,"pointer":"/paths/~1user-wallets~1blocked/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"List blocked user wallets","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"security","requirements":[{"schemes":[{"name":"apiKeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"X-API-Key","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Company API key."},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Service also accepts "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"Authorization: Bearer <api-key>"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" and "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"api_key"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" query param,"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"but "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"X-API-Key"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" is recommended."},"children":[]}]}]}]}]}]},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"externalId","in":"query","schemaId":"schema_36"},{"name":"limit","in":"query","schemaId":"schema_48"},{"name":"offset","in":"query","schemaId":"schema_49"}],"pointer":"/paths/~1user-wallets~1blocked/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/user-wallets/blocked","servers":[{"url":"/_mock/apis","description":"Mock server","isMockServer":true},{"url":"https://b2b.lumowallet.io","description":"Production"},{"url":"https://b2b-staging.lumowallet.io","description":"Staging"}],"parameters":{"path":[],"query":[{"name":"externalId","in":"query","required":false,"schemaId":"schema_36"},{"name":"limit","in":"query","required":false,"schemaId":"schema_48"},{"name":"offset","in":"query","required":false,"schemaId":"schema_49"}],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"apiKeyAuth","type":"apiKey","name":"X-API-Key","in":"header"}],"scopes":[]}],"responseCodes":["200","401","403"],"pointer":"/user-wallets/blocked","href":"user-wallets/listblockeduserwallets","openApiOperationId":"listBlockedUserWallets","summary":"List blocked user wallets"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis","description":"Mock server","isMockServer":true},{"url":"https://b2b.lumowallet.io","description":"Production"},{"url":"https://b2b-staging.lumowallet.io","description":"Staging"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Blocked wallets list","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/UserWalletsListResponse"}},"schemaId":"components/schemas/UserWalletsListResponse"},{"code":"401","description":"Missing or invalid credentials (API key / session token).","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1user-wallets~1blocked/get/responses/401/content/application~1json/examples/authRequired","paths/~1user-wallets~1blocked/get/responses/401/content/application~1json/examples/invalidApiKey","paths/~1user-wallets~1blocked/get/responses/401/content/application~1json/examples/sessionInvalid"]}},"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1user-wallets~1blocked/get/responses/401/content/application~1json/examples/authRequired","paths/~1user-wallets~1blocked/get/responses/401/content/application~1json/examples/invalidApiKey","paths/~1user-wallets~1blocked/get/responses/401/content/application~1json/examples/sessionInvalid"]},{"code":"403","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"The authenticated principal lacks the permission required by this"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"endpoint (e.g. "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"orders:create"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"orders:read"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"cards:write"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"). The"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"body carries the missing permission in "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"required"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" / "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"details"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"."},"children":[]}]}]}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1user-wallets~1blocked/get/responses/403/content/application~1json/examples/permissionDenied"]}},"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1user-wallets~1blocked/get/responses/403/content/application~1json/examples/permissionDenied"]}],"pointer":"/paths/~1user-wallets~1blocked/get/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"components/schemas/UserWalletsListResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/UserWalletsListResponse"}}},{"code":"401","schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1user-wallets~1blocked/get/responses/401/content/application~1json/examples/authRequired","paths/~1user-wallets~1blocked/get/responses/401/content/application~1json/examples/invalidApiKey","paths/~1user-wallets~1blocked/get/responses/401/content/application~1json/examples/sessionInvalid"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1user-wallets~1blocked/get/responses/401/content/application~1json/examples/authRequired","paths/~1user-wallets~1blocked/get/responses/401/content/application~1json/examples/invalidApiKey","paths/~1user-wallets~1blocked/get/responses/401/content/application~1json/examples/sessionInvalid"]}}},{"code":"403","schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1user-wallets~1blocked/get/responses/403/content/application~1json/examples/permissionDenied"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1user-wallets~1blocked/get/responses/403/content/application~1json/examples/permissionDenied"]}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/user-wallets/listblockeduserwallets"}],"panels":[]}]},"httpPath":"/user-wallets/blocked"},{"label":"Block user wallet","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/user-wallets/blockuserwallet","routeSlug":"/apis/user-wallets/blockuserwallet","metadata":{"seo":{"title":"Block user wallet","description":"Block user wallet"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"blockUserWallet","name":"Block user wallet","isWebhook":false,"pointer":"/paths/~1user-wallets~1{walletId}~1block/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Block user wallet","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"security","requirements":[{"schemes":[{"name":"apiKeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"X-API-Key","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Company API key."},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Service also accepts "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"Authorization: Bearer <api-key>"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" and "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"api_key"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" query param,"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"but "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"X-API-Key"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" is recommended."},"children":[]}]}]}]}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"walletId","in":"path","schemaId":"schema_33","required":true}],"pointer":"/paths/~1user-wallets~1{walletId}~1block/post/parameters"},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/CreateDisputeRequest"}},"schemaId":"components/schemas/CreateDisputeRequest","pointer":"/paths/~1user-wallets~1{walletId}~1block/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/user-wallets/{walletId}/block","servers":[{"url":"/_mock/apis","description":"Mock server","isMockServer":true},{"url":"https://b2b.lumowallet.io","description":"Production"},{"url":"https://b2b-staging.lumowallet.io","description":"Staging"}],"parameters":{"path":[{"name":"walletId","in":"path","required":true,"schemaId":"schema_33"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"apiKeyAuth","type":"apiKey","name":"X-API-Key","in":"header"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"components/schemas/CreateDisputeRequest"}},"responseCodes":["200","401","403","404"],"pointer":"/user-wallets/{walletId}/block","href":"user-wallets/blockuserwallet","openApiOperationId":"blockUserWallet","summary":"Block user wallet"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis","description":"Mock server","isMockServer":true},{"url":"https://b2b.lumowallet.io","description":"Production"},{"url":"https://b2b-staging.lumowallet.io","description":"Staging"}],"schemaId":"components/schemas/CreateDisputeRequest","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/CreateDisputeRequest"}},"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Wallet blocked","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/UserWallet"}},"schemaId":"components/schemas/UserWallet"},{"code":"401","description":"Missing or invalid credentials (API key / session token).","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1user-wallets~1{walletId}~1block/post/responses/401/content/application~1json/examples/authRequired","paths/~1user-wallets~1{walletId}~1block/post/responses/401/content/application~1json/examples/invalidApiKey","paths/~1user-wallets~1{walletId}~1block/post/responses/401/content/application~1json/examples/sessionInvalid"]}},"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1user-wallets~1{walletId}~1block/post/responses/401/content/application~1json/examples/authRequired","paths/~1user-wallets~1{walletId}~1block/post/responses/401/content/application~1json/examples/invalidApiKey","paths/~1user-wallets~1{walletId}~1block/post/responses/401/content/application~1json/examples/sessionInvalid"]},{"code":"403","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"The authenticated principal lacks the permission required by this"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"endpoint (e.g. "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"orders:create"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"orders:read"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"cards:write"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"). The"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"body carries the missing permission in "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"required"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" / "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"details"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"."},"children":[]}]}]}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1user-wallets~1{walletId}~1block/post/responses/403/content/application~1json/examples/permissionDenied"]}},"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1user-wallets~1{walletId}~1block/post/responses/403/content/application~1json/examples/permissionDenied"]},{"code":"404","description":"Resource not found","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1user-wallets~1{walletId}~1block/post/responses/404/content/application~1json/examples/notFound"]}},"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1user-wallets~1{walletId}~1block/post/responses/404/content/application~1json/examples/notFound"]}],"pointer":"/paths/~1user-wallets~1{walletId}~1block/post/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"components/schemas/UserWallet","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/UserWallet"}}},{"code":"401","schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1user-wallets~1{walletId}~1block/post/responses/401/content/application~1json/examples/authRequired","paths/~1user-wallets~1{walletId}~1block/post/responses/401/content/application~1json/examples/invalidApiKey","paths/~1user-wallets~1{walletId}~1block/post/responses/401/content/application~1json/examples/sessionInvalid"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1user-wallets~1{walletId}~1block/post/responses/401/content/application~1json/examples/authRequired","paths/~1user-wallets~1{walletId}~1block/post/responses/401/content/application~1json/examples/invalidApiKey","paths/~1user-wallets~1{walletId}~1block/post/responses/401/content/application~1json/examples/sessionInvalid"]}}},{"code":"403","schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1user-wallets~1{walletId}~1block/post/responses/403/content/application~1json/examples/permissionDenied"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1user-wallets~1{walletId}~1block/post/responses/403/content/application~1json/examples/permissionDenied"]}}},{"code":"404","schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1user-wallets~1{walletId}~1block/post/responses/404/content/application~1json/examples/notFound"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1user-wallets~1{walletId}~1block/post/responses/404/content/application~1json/examples/notFound"]}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/user-wallets/blockuserwallet"}],"panels":[]}]},"httpPath":"/user-wallets/{walletId}/block"},{"label":"Replace user wallet","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/user-wallets/replaceuserwallet","routeSlug":"/apis/user-wallets/replaceuserwallet","metadata":{"seo":{"title":"Replace user wallet","description":"Blocks old wallet and creates a new one for the same external user."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"replaceUserWallet","name":"Replace user wallet","isWebhook":false,"pointer":"/paths/~1user-wallets~1{walletId}~1replace/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Replace user wallet","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Blocks old wallet and creates a new one for the same external user."},{"nodeType":"security","requirements":[{"schemes":[{"name":"apiKeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"X-API-Key","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Company API key."},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Service also accepts "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"Authorization: Bearer <api-key>"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" and "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"api_key"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" query param,"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"but "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"X-API-Key"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" is recommended."},"children":[]}]}]}]}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"walletId","in":"path","schemaId":"schema_33","required":true}],"pointer":"/paths/~1user-wallets~1{walletId}~1replace/post/parameters"},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":false,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/ReplaceWalletRequest"}},"schemaId":"components/schemas/ReplaceWalletRequest","pointer":"/paths/~1user-wallets~1{walletId}~1replace/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/user-wallets/{walletId}/replace","servers":[{"url":"/_mock/apis","description":"Mock server","isMockServer":true},{"url":"https://b2b.lumowallet.io","description":"Production"},{"url":"https://b2b-staging.lumowallet.io","description":"Staging"}],"parameters":{"path":[{"name":"walletId","in":"path","required":true,"schemaId":"schema_33"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"apiKeyAuth","type":"apiKey","name":"X-API-Key","in":"header"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"components/schemas/ReplaceWalletRequest"}},"responseCodes":["200","401","403","404"],"pointer":"/user-wallets/{walletId}/replace","href":"user-wallets/replaceuserwallet","openApiOperationId":"replaceUserWallet","summary":"Replace user wallet"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis","description":"Mock server","isMockServer":true},{"url":"https://b2b.lumowallet.io","description":"Production"},{"url":"https://b2b-staging.lumowallet.io","description":"Staging"}],"schemaId":"components/schemas/ReplaceWalletRequest","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/ReplaceWalletRequest"}},"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"New wallet created","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/UserWallet"}},"schemaId":"components/schemas/UserWallet"},{"code":"401","description":"Missing or invalid credentials (API key / session token).","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1user-wallets~1{walletId}~1replace/post/responses/401/content/application~1json/examples/authRequired","paths/~1user-wallets~1{walletId}~1replace/post/responses/401/content/application~1json/examples/invalidApiKey","paths/~1user-wallets~1{walletId}~1replace/post/responses/401/content/application~1json/examples/sessionInvalid"]}},"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1user-wallets~1{walletId}~1replace/post/responses/401/content/application~1json/examples/authRequired","paths/~1user-wallets~1{walletId}~1replace/post/responses/401/content/application~1json/examples/invalidApiKey","paths/~1user-wallets~1{walletId}~1replace/post/responses/401/content/application~1json/examples/sessionInvalid"]},{"code":"403","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"The authenticated principal lacks the permission required by this"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"endpoint (e.g. "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"orders:create"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"orders:read"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"cards:write"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"). The"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"body carries the missing permission in "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"required"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" / "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"details"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"."},"children":[]}]}]}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1user-wallets~1{walletId}~1replace/post/responses/403/content/application~1json/examples/permissionDenied"]}},"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1user-wallets~1{walletId}~1replace/post/responses/403/content/application~1json/examples/permissionDenied"]},{"code":"404","description":"Resource not found","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1user-wallets~1{walletId}~1replace/post/responses/404/content/application~1json/examples/notFound"]}},"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1user-wallets~1{walletId}~1replace/post/responses/404/content/application~1json/examples/notFound"]}],"pointer":"/paths/~1user-wallets~1{walletId}~1replace/post/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"components/schemas/UserWallet","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/UserWallet"}}},{"code":"401","schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1user-wallets~1{walletId}~1replace/post/responses/401/content/application~1json/examples/authRequired","paths/~1user-wallets~1{walletId}~1replace/post/responses/401/content/application~1json/examples/invalidApiKey","paths/~1user-wallets~1{walletId}~1replace/post/responses/401/content/application~1json/examples/sessionInvalid"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1user-wallets~1{walletId}~1replace/post/responses/401/content/application~1json/examples/authRequired","paths/~1user-wallets~1{walletId}~1replace/post/responses/401/content/application~1json/examples/invalidApiKey","paths/~1user-wallets~1{walletId}~1replace/post/responses/401/content/application~1json/examples/sessionInvalid"]}}},{"code":"403","schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1user-wallets~1{walletId}~1replace/post/responses/403/content/application~1json/examples/permissionDenied"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1user-wallets~1{walletId}~1replace/post/responses/403/content/application~1json/examples/permissionDenied"]}}},{"code":"404","schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1user-wallets~1{walletId}~1replace/post/responses/404/content/application~1json/examples/notFound"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1user-wallets~1{walletId}~1replace/post/responses/404/content/application~1json/examples/notFound"]}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/user-wallets/replaceuserwallet"}],"panels":[]}]},"httpPath":"/user-wallets/{walletId}/replace"},{"label":"List user-wallet deposits","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/user-wallets/listuserwalletdeposits","routeSlug":"/apis/user-wallets/listuserwalletdeposits","metadata":{"seo":{"title":"List user-wallet deposits","description":"List user-wallet deposits"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"listUserWalletDeposits","name":"List user-wallet deposits","isWebhook":false,"pointer":"/paths/~1user-wallets~1deposits/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"List user-wallet deposits","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"security","requirements":[{"schemes":[{"name":"apiKeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"X-API-Key","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Company API key."},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Service also accepts "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"Authorization: Bearer <api-key>"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" and "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"api_key"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" query param,"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"but "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"X-API-Key"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" is recommended."},"children":[]}]}]}]}]}]},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"externalId","in":"query","schemaId":"schema_36"},{"name":"status","in":"query","schemaId":"schema_50"},{"name":"limit","in":"query","schemaId":"schema_48"},{"name":"offset","in":"query","schemaId":"schema_49"}],"pointer":"/paths/~1user-wallets~1deposits/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/user-wallets/deposits","servers":[{"url":"/_mock/apis","description":"Mock server","isMockServer":true},{"url":"https://b2b.lumowallet.io","description":"Production"},{"url":"https://b2b-staging.lumowallet.io","description":"Staging"}],"parameters":{"path":[],"query":[{"name":"externalId","in":"query","required":false,"schemaId":"schema_36"},{"name":"status","in":"query","required":false,"schemaId":"components/schemas/UserDepositStatus"},{"name":"limit","in":"query","required":false,"schemaId":"schema_48"},{"name":"offset","in":"query","required":false,"schemaId":"schema_49"}],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"apiKeyAuth","type":"apiKey","name":"X-API-Key","in":"header"}],"scopes":[]}],"responseCodes":["200","401","403"],"pointer":"/user-wallets/deposits","href":"user-wallets/listuserwalletdeposits","openApiOperationId":"listUserWalletDeposits","summary":"List user-wallet deposits"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis","description":"Mock server","isMockServer":true},{"url":"https://b2b.lumowallet.io","description":"Production"},{"url":"https://b2b-staging.lumowallet.io","description":"Staging"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"User deposits list","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/UserDepositsListResponse"}},"schemaId":"components/schemas/UserDepositsListResponse"},{"code":"401","description":"Missing or invalid credentials (API key / session token).","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1user-wallets~1deposits/get/responses/401/content/application~1json/examples/authRequired","paths/~1user-wallets~1deposits/get/responses/401/content/application~1json/examples/invalidApiKey","paths/~1user-wallets~1deposits/get/responses/401/content/application~1json/examples/sessionInvalid"]}},"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1user-wallets~1deposits/get/responses/401/content/application~1json/examples/authRequired","paths/~1user-wallets~1deposits/get/responses/401/content/application~1json/examples/invalidApiKey","paths/~1user-wallets~1deposits/get/responses/401/content/application~1json/examples/sessionInvalid"]},{"code":"403","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"The authenticated principal lacks the permission required by this"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"endpoint (e.g. "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"orders:create"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"orders:read"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"cards:write"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"). The"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"body carries the missing permission in "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"required"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" / "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"details"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"."},"children":[]}]}]}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1user-wallets~1deposits/get/responses/403/content/application~1json/examples/permissionDenied"]}},"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1user-wallets~1deposits/get/responses/403/content/application~1json/examples/permissionDenied"]}],"pointer":"/paths/~1user-wallets~1deposits/get/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"components/schemas/UserDepositsListResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/UserDepositsListResponse"}}},{"code":"401","schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1user-wallets~1deposits/get/responses/401/content/application~1json/examples/authRequired","paths/~1user-wallets~1deposits/get/responses/401/content/application~1json/examples/invalidApiKey","paths/~1user-wallets~1deposits/get/responses/401/content/application~1json/examples/sessionInvalid"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1user-wallets~1deposits/get/responses/401/content/application~1json/examples/authRequired","paths/~1user-wallets~1deposits/get/responses/401/content/application~1json/examples/invalidApiKey","paths/~1user-wallets~1deposits/get/responses/401/content/application~1json/examples/sessionInvalid"]}}},{"code":"403","schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1user-wallets~1deposits/get/responses/403/content/application~1json/examples/permissionDenied"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1user-wallets~1deposits/get/responses/403/content/application~1json/examples/permissionDenied"]}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/user-wallets/listuserwalletdeposits"}],"panels":[]}]},"httpPath":"/user-wallets/deposits"}],"content":{"contentType":"group","meta":{"name":"User Wallets"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"User Wallets","showPageActions":true},{"nodeType":"markdoc","content":"Per-user wallet management and user deposit history."}],"panels":[{"children":[{"kind":"group-items","title":"Operations","titleTranslationKey":"operations","items":[{"title":"/user-wallets","summary":"Create user wallet","prefix":{"name":"post","color":"post"},"badges":[],"link":"/user-wallets/createuserwallet","deprecated":false},{"title":"/user-wallets","summary":"List user wallets","prefix":{"name":"get","color":"get"},"badges":[],"link":"/user-wallets/listuserwallets","deprecated":false},{"title":"/user-wallets/blocked","summary":"List blocked user wallets","prefix":{"name":"get","color":"get"},"badges":[],"link":"/user-wallets/listblockeduserwallets","deprecated":false},{"title":"/user-wallets/{walletId}/block","summary":"Block user wallet","prefix":{"name":"post","color":"post"},"badges":[],"link":"/user-wallets/blockuserwallet","deprecated":false},{"title":"/user-wallets/{walletId}/replace","summary":"Replace user wallet","prefix":{"name":"post","color":"post"},"badges":[],"link":"/user-wallets/replaceuserwallet","deprecated":false},{"title":"/user-wallets/deposits","summary":"List user-wallet deposits","prefix":{"name":"get","color":"get"},"badges":[],"link":"/user-wallets/listuserwalletdeposits","deprecated":false}]}]}]}]}},{"type":"group","label":"Cards","link":"/apis/cards","routeSlug":"/apis/cards","items":[{"label":"List company cards","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/cards/listcards","routeSlug":"/apis/cards/listcards","metadata":{"seo":{"title":"List company cards","description":"List company cards"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"listCards","name":"List company cards","isWebhook":false,"pointer":"/paths/~1cards/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"List company cards","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"security","requirements":[{"schemes":[{"name":"apiKeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"X-API-Key","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Company API key."},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Service also accepts "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"Authorization: Bearer <api-key>"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" and "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"api_key"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" query param,"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"but "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"X-API-Key"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" is recommended."},"children":[]}]}]}]}]}]},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"externalId","in":"query","schemaId":"schema_36","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Фильтр по идентификатору карты в вашей системе. Вернёт ровно ту"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"карту, что была выпущена с этим "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"externalId"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":", либо пустой список."},"children":[]}]}]}]}],"pointer":"/paths/~1cards/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/cards","servers":[{"url":"/_mock/apis","description":"Mock server","isMockServer":true},{"url":"https://b2b.lumowallet.io","description":"Production"},{"url":"https://b2b-staging.lumowallet.io","description":"Staging"}],"parameters":{"path":[],"query":[{"name":"externalId","in":"query","required":false,"schemaId":"schema_36"}],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"apiKeyAuth","type":"apiKey","name":"X-API-Key","in":"header"}],"scopes":[]}],"responseCodes":["200","401","403"],"pointer":"/cards","href":"cards/listcards","openApiOperationId":"listCards","summary":"List company cards"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis","description":"Mock server","isMockServer":true},{"url":"https://b2b.lumowallet.io","description":"Production"},{"url":"https://b2b-staging.lumowallet.io","description":"Staging"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"All cards belonging to the company","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_51"}},"schemaId":"schema_51"},{"code":"401","description":"Missing or invalid credentials (API key / session token).","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1cards/get/responses/401/content/application~1json/examples/authRequired","paths/~1cards/get/responses/401/content/application~1json/examples/invalidApiKey","paths/~1cards/get/responses/401/content/application~1json/examples/sessionInvalid"]}},"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1cards/get/responses/401/content/application~1json/examples/authRequired","paths/~1cards/get/responses/401/content/application~1json/examples/invalidApiKey","paths/~1cards/get/responses/401/content/application~1json/examples/sessionInvalid"]},{"code":"403","description":"Card access is not available. Either the company does not have cards\nenabled, or the API key lacks the required card permission.\n","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1cards/get/responses/403/content/application~1json/examples/cardsNotEnabled","paths/~1cards/get/responses/403/content/application~1json/examples/permissionDenied"]}},"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1cards/get/responses/403/content/application~1json/examples/cardsNotEnabled","paths/~1cards/get/responses/403/content/application~1json/examples/permissionDenied"]}],"pointer":"/paths/~1cards/get/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"schema_51","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_51"}}},{"code":"401","schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1cards/get/responses/401/content/application~1json/examples/authRequired","paths/~1cards/get/responses/401/content/application~1json/examples/invalidApiKey","paths/~1cards/get/responses/401/content/application~1json/examples/sessionInvalid"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1cards/get/responses/401/content/application~1json/examples/authRequired","paths/~1cards/get/responses/401/content/application~1json/examples/invalidApiKey","paths/~1cards/get/responses/401/content/application~1json/examples/sessionInvalid"]}}},{"code":"403","schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1cards/get/responses/403/content/application~1json/examples/cardsNotEnabled","paths/~1cards/get/responses/403/content/application~1json/examples/permissionDenied"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1cards/get/responses/403/content/application~1json/examples/cardsNotEnabled","paths/~1cards/get/responses/403/content/application~1json/examples/permissionDenied"]}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/cards/listcards"}],"panels":[]}]},"httpPath":"/cards"},{"label":"Request a new card","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/cards/requestcard","routeSlug":"/apis/cards/requestcard","metadata":{"seo":{"title":"Request a new card","description":"Reserves cardOpeningFeeUsdt + cardMinInitialDepositUsdt on thecompany balance (frozenBalance += reserve). If the bridge hasa card in stock — returns status: assigned and immediatelydebits openingFee from balance. Otherwise returnsstatus: pending and the request gets fulfilled asynchronouslyvia card.assigned webhook."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"requestCard","name":"Request a new card","isWebhook":false,"pointer":"/paths/~1cards~1request/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Request a new card","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Reserves "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"cardOpeningFeeUsdt + cardMinInitialDepositUsdt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" on the"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"company balance ("},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"frozenBalance += reserve"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"). If the bridge has"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"a card in stock — returns "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"status: assigned"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" and immediately"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"debits "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"openingFee"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" from balance. Otherwise returns"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"status: pending"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" and the request gets fulfilled asynchronously"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"via "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"card.assigned"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" webhook."},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Необязательный "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"externalId"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" в теле привязывает карту к идентификатору"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"в вашей системе: он возвращается в "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"GET /cards"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"GET /cards/{id}"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" и в"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"webhook "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"card.assigned"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":", по нему же можно искать карту"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"("},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"GET /cards?externalId=…"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"). Значение уникально в рамках компании —"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"повторная заявка с занятым "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"externalId"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" вернёт "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"409 CARD_EXTERNAL_ID_TAKEN"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" (у разных компаний значения не пересекаются)."},"children":[]}]}]}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"apiKeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"X-API-Key","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Company API key."},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Service also accepts "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"Authorization: Bearer <api-key>"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" and "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"api_key"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" query param,"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"but "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"X-API-Key"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" is recommended."},"children":[]}]}]}]}]}]},{"nodeType":"item-content","variant":"headers","label":"Headers","labelTranslationKey":"header","parameters":[{"name":"Idempotency-Key","in":"header","schemaId":"schema_36","description":"UUID or any unique value per request attempt.","required":true}],"pointer":"/paths/~1cards~1request/post/parameters"},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":false,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/CardRequestBody"}},"schemaId":"components/schemas/CardRequestBody","pointer":"/paths/~1cards~1request/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/cards/request","servers":[{"url":"/_mock/apis","description":"Mock server","isMockServer":true},{"url":"https://b2b.lumowallet.io","description":"Production"},{"url":"https://b2b-staging.lumowallet.io","description":"Staging"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[{"name":"Idempotency-Key","in":"header","required":true,"schemaId":"schema_36"}],"cookie":[]},"security":[{"schemes":[{"id":"apiKeyAuth","type":"apiKey","name":"X-API-Key","in":"header"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"components/schemas/CardRequestBody"}},"responseCodes":["200","400","401","403","409","502"],"pointer":"/cards/request","href":"cards/requestcard","openApiOperationId":"requestCard","summary":"Request a new card"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis","description":"Mock server","isMockServer":true},{"url":"https://b2b.lumowallet.io","description":"Production"},{"url":"https://b2b-staging.lumowallet.io","description":"Staging"}],"schemaId":"components/schemas/CardRequestBody","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/CardRequestBody"}},"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Card assigned or request queued","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_52"}},"schemaId":"schema_52"},{"code":"400","description":"The card request is invalid.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1cards~1request/post/responses/400/content/application~1json/examples/idempotencyKeyRequired","paths/~1cards~1request/post/responses/400/content/application~1json/examples/insufficientFunds"]}},"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1cards~1request/post/responses/400/content/application~1json/examples/idempotencyKeyRequired","paths/~1cards~1request/post/responses/400/content/application~1json/examples/insufficientFunds"]},{"code":"401","description":"Missing or invalid credentials (API key / session token).","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1cards~1request/post/responses/401/content/application~1json/examples/authRequired","paths/~1cards~1request/post/responses/401/content/application~1json/examples/invalidApiKey","paths/~1cards~1request/post/responses/401/content/application~1json/examples/sessionInvalid"]}},"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1cards~1request/post/responses/401/content/application~1json/examples/authRequired","paths/~1cards~1request/post/responses/401/content/application~1json/examples/invalidApiKey","paths/~1cards~1request/post/responses/401/content/application~1json/examples/sessionInvalid"]},{"code":"403","description":"Card access is not available. Either the company does not have cards\nenabled, or the API key lacks the required card permission.\n","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1cards~1request/post/responses/403/content/application~1json/examples/cardsNotEnabled","paths/~1cards~1request/post/responses/403/content/application~1json/examples/permissionDenied"]}},"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1cards~1request/post/responses/403/content/application~1json/examples/cardsNotEnabled","paths/~1cards~1request/post/responses/403/content/application~1json/examples/permissionDenied"]},{"code":"409","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"externalId"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" уже занят другой картой или незакрытой заявкой этой"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"компании. В "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"details"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" приходит занявший объект — по нему можно найти"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"уже выпущенную карту вместо повторного выпуска."},"children":[]}]}]}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1cards~1request/post/responses/409/content/application~1json/examples/takenByCard","paths/~1cards~1request/post/responses/409/content/application~1json/examples/takenByRequest"]}},"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1cards~1request/post/responses/409/content/application~1json/examples/takenByCard","paths/~1cards~1request/post/responses/409/content/application~1json/examples/takenByRequest"]},{"code":"502","description":"The upstream card issuer (upay-bridge) was unreachable or returned an\nerror. Safe to retry; use the same Idempotency-Key for mutations.\n","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1cards~1request/post/responses/502/content/application~1json/examples/bridgeError"]}},"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1cards~1request/post/responses/502/content/application~1json/examples/bridgeError"]}],"pointer":"/paths/~1cards~1request/post/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"schema_52","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_52"}}},{"code":"400","schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1cards~1request/post/responses/400/content/application~1json/examples/idempotencyKeyRequired","paths/~1cards~1request/post/responses/400/content/application~1json/examples/insufficientFunds"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1cards~1request/post/responses/400/content/application~1json/examples/idempotencyKeyRequired","paths/~1cards~1request/post/responses/400/content/application~1json/examples/insufficientFunds"]}}},{"code":"401","schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1cards~1request/post/responses/401/content/application~1json/examples/authRequired","paths/~1cards~1request/post/responses/401/content/application~1json/examples/invalidApiKey","paths/~1cards~1request/post/responses/401/content/application~1json/examples/sessionInvalid"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1cards~1request/post/responses/401/content/application~1json/examples/authRequired","paths/~1cards~1request/post/responses/401/content/application~1json/examples/invalidApiKey","paths/~1cards~1request/post/responses/401/content/application~1json/examples/sessionInvalid"]}}},{"code":"403","schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1cards~1request/post/responses/403/content/application~1json/examples/cardsNotEnabled","paths/~1cards~1request/post/responses/403/content/application~1json/examples/permissionDenied"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1cards~1request/post/responses/403/content/application~1json/examples/cardsNotEnabled","paths/~1cards~1request/post/responses/403/content/application~1json/examples/permissionDenied"]}}},{"code":"409","schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1cards~1request/post/responses/409/content/application~1json/examples/takenByCard","paths/~1cards~1request/post/responses/409/content/application~1json/examples/takenByRequest"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1cards~1request/post/responses/409/content/application~1json/examples/takenByCard","paths/~1cards~1request/post/responses/409/content/application~1json/examples/takenByRequest"]}}},{"code":"502","schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1cards~1request/post/responses/502/content/application~1json/examples/bridgeError"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1cards~1request/post/responses/502/content/application~1json/examples/bridgeError"]}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/cards/requestcard"}],"panels":[]}]},"httpPath":"/cards/request"},{"label":"Cancel a pending card request","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/cards/cancelcardrequest","routeSlug":"/apis/cards/cancelcardrequest","metadata":{"seo":{"title":"Cancel a pending card request","description":"Отменяет заявку, по которой карта ещё не выпущена, и возвращает резерв(cardOpeningFeeUsdt + cardMinInitialDepositUsdt) в доступный баланс.externalId заявки снова освобождается."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"cancelCardRequest","name":"Cancel a pending card request","isWebhook":false,"pointer":"/paths/~1cards~1requests~1{id}~1cancel/post","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Cancel a pending card request","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Отменяет заявку, по которой карта ещё не выпущена, и возвращает резерв"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"("},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"cardOpeningFeeUsdt + cardMinInitialDepositUsdt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":") в доступный баланс."},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"externalId"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" заявки снова освобождается."},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Только для заявок в статусе "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"pending"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":": выпущенную карту не отменяют, её"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"закрывают через "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"POST /cards/{id}/retire"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":". Повторный вызов возвращает ту"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"же заявку и ничего не меняет — запрос безопасно повторять."},"children":[]}]}]}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"apiKeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"X-API-Key","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Company API key."},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Service also accepts "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"Authorization: Bearer <api-key>"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" and "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"api_key"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" query param,"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"but "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"X-API-Key"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" is recommended."},"children":[]}]}]}]}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"id","in":"path","schemaId":"schema_33","required":true}],"pointer":"/paths/~1cards~1requests~1{id}~1cancel/post/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/cards/requests/{id}/cancel","servers":[{"url":"/_mock/apis","description":"Mock server","isMockServer":true},{"url":"https://b2b.lumowallet.io","description":"Production"},{"url":"https://b2b-staging.lumowallet.io","description":"Staging"}],"parameters":{"path":[{"name":"id","in":"path","required":true,"schemaId":"schema_33"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"apiKeyAuth","type":"apiKey","name":"X-API-Key","in":"header"}],"scopes":[]}],"responseCodes":["201","400","401","403","404"],"pointer":"/cards/requests/{id}/cancel","href":"cards/cancelcardrequest","openApiOperationId":"cancelCardRequest","summary":"Cancel a pending card request"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis","description":"Mock server","isMockServer":true},{"url":"https://b2b.lumowallet.io","description":"Production"},{"url":"https://b2b-staging.lumowallet.io","description":"Staging"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"201","description":"Request cancelled","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/CardRequestRow"}},"schemaId":"components/schemas/CardRequestRow"},{"code":"400","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Заявку нельзя отменить — карта уже выпущена"},"children":[]}]}]}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1cards~1requests~1{id}~1cancel/post/responses/400/content/application~1json/example"]}},"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1cards~1requests~1{id}~1cancel/post/responses/400/content/application~1json/example"]},{"code":"401","description":"Missing or invalid credentials (API key / session token).","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1cards~1requests~1{id}~1cancel/post/responses/401/content/application~1json/examples/authRequired","paths/~1cards~1requests~1{id}~1cancel/post/responses/401/content/application~1json/examples/invalidApiKey","paths/~1cards~1requests~1{id}~1cancel/post/responses/401/content/application~1json/examples/sessionInvalid"]}},"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1cards~1requests~1{id}~1cancel/post/responses/401/content/application~1json/examples/authRequired","paths/~1cards~1requests~1{id}~1cancel/post/responses/401/content/application~1json/examples/invalidApiKey","paths/~1cards~1requests~1{id}~1cancel/post/responses/401/content/application~1json/examples/sessionInvalid"]},{"code":"403","description":"Card access is not available. Either the company does not have cards\nenabled, or the API key lacks the required card permission.\n","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1cards~1requests~1{id}~1cancel/post/responses/403/content/application~1json/examples/cardsNotEnabled","paths/~1cards~1requests~1{id}~1cancel/post/responses/403/content/application~1json/examples/permissionDenied"]}},"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1cards~1requests~1{id}~1cancel/post/responses/403/content/application~1json/examples/cardsNotEnabled","paths/~1cards~1requests~1{id}~1cancel/post/responses/403/content/application~1json/examples/permissionDenied"]},{"code":"404","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Заявки с таким id у компании нет"},"children":[]}]}]}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1cards~1requests~1{id}~1cancel/post/responses/404/content/application~1json/example"]}},"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1cards~1requests~1{id}~1cancel/post/responses/404/content/application~1json/example"]}],"pointer":"/paths/~1cards~1requests~1{id}~1cancel/post/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"201","schemaId":"components/schemas/CardRequestRow","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/CardRequestRow"}}},{"code":"400","schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1cards~1requests~1{id}~1cancel/post/responses/400/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1cards~1requests~1{id}~1cancel/post/responses/400/content/application~1json/example"]}}},{"code":"401","schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1cards~1requests~1{id}~1cancel/post/responses/401/content/application~1json/examples/authRequired","paths/~1cards~1requests~1{id}~1cancel/post/responses/401/content/application~1json/examples/invalidApiKey","paths/~1cards~1requests~1{id}~1cancel/post/responses/401/content/application~1json/examples/sessionInvalid"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1cards~1requests~1{id}~1cancel/post/responses/401/content/application~1json/examples/authRequired","paths/~1cards~1requests~1{id}~1cancel/post/responses/401/content/application~1json/examples/invalidApiKey","paths/~1cards~1requests~1{id}~1cancel/post/responses/401/content/application~1json/examples/sessionInvalid"]}}},{"code":"403","schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1cards~1requests~1{id}~1cancel/post/responses/403/content/application~1json/examples/cardsNotEnabled","paths/~1cards~1requests~1{id}~1cancel/post/responses/403/content/application~1json/examples/permissionDenied"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1cards~1requests~1{id}~1cancel/post/responses/403/content/application~1json/examples/cardsNotEnabled","paths/~1cards~1requests~1{id}~1cancel/post/responses/403/content/application~1json/examples/permissionDenied"]}}},{"code":"404","schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1cards~1requests~1{id}~1cancel/post/responses/404/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1cards~1requests~1{id}~1cancel/post/responses/404/content/application~1json/example"]}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/cards/cancelcardrequest"}],"panels":[]}]},"httpPath":"/cards/requests/{id}/cancel"},{"label":"Get card by id","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/cards/getcard","routeSlug":"/apis/cards/getcard","metadata":{"seo":{"title":"Get card by id","description":"Get card by id"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"getCard","name":"Get card by id","isWebhook":false,"pointer":"/paths/~1cards~1{id}/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get card by id","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"security","requirements":[{"schemes":[{"name":"apiKeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"X-API-Key","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Company API key."},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Service also accepts "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"Authorization: Bearer <api-key>"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" and "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"api_key"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" query param,"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"but "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"X-API-Key"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" is recommended."},"children":[]}]}]}]}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"id","in":"path","schemaId":"schema_33","required":true}],"pointer":"/paths/~1cards~1{id}/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/cards/{id}","servers":[{"url":"/_mock/apis","description":"Mock server","isMockServer":true},{"url":"https://b2b.lumowallet.io","description":"Production"},{"url":"https://b2b-staging.lumowallet.io","description":"Staging"}],"parameters":{"path":[{"name":"id","in":"path","required":true,"schemaId":"schema_33"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"apiKeyAuth","type":"apiKey","name":"X-API-Key","in":"header"}],"scopes":[]}],"responseCodes":["200","401","404"],"pointer":"/cards/{id}","href":"cards/getcard","openApiOperationId":"getCard","summary":"Get card by id"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis","description":"Mock server","isMockServer":true},{"url":"https://b2b.lumowallet.io","description":"Production"},{"url":"https://b2b-staging.lumowallet.io","description":"Staging"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Card details","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Card"}},"schemaId":"components/schemas/Card"},{"code":"401","description":"Missing or invalid credentials (API key / session token).","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1cards~1{id}/get/responses/401/content/application~1json/examples/authRequired","paths/~1cards~1{id}/get/responses/401/content/application~1json/examples/invalidApiKey","paths/~1cards~1{id}/get/responses/401/content/application~1json/examples/sessionInvalid"]}},"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1cards~1{id}/get/responses/401/content/application~1json/examples/authRequired","paths/~1cards~1{id}/get/responses/401/content/application~1json/examples/invalidApiKey","paths/~1cards~1{id}/get/responses/401/content/application~1json/examples/sessionInvalid"]},{"code":"404","description":"Card or card request not found for this company.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1cards~1{id}/get/responses/404/content/application~1json/examples/cardNotFound","paths/~1cards~1{id}/get/responses/404/content/application~1json/examples/cardRequestNotFound"]}},"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1cards~1{id}/get/responses/404/content/application~1json/examples/cardNotFound","paths/~1cards~1{id}/get/responses/404/content/application~1json/examples/cardRequestNotFound"]}],"pointer":"/paths/~1cards~1{id}/get/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"components/schemas/Card","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Card"}}},{"code":"401","schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1cards~1{id}/get/responses/401/content/application~1json/examples/authRequired","paths/~1cards~1{id}/get/responses/401/content/application~1json/examples/invalidApiKey","paths/~1cards~1{id}/get/responses/401/content/application~1json/examples/sessionInvalid"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1cards~1{id}/get/responses/401/content/application~1json/examples/authRequired","paths/~1cards~1{id}/get/responses/401/content/application~1json/examples/invalidApiKey","paths/~1cards~1{id}/get/responses/401/content/application~1json/examples/sessionInvalid"]}}},{"code":"404","schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1cards~1{id}/get/responses/404/content/application~1json/examples/cardNotFound","paths/~1cards~1{id}/get/responses/404/content/application~1json/examples/cardRequestNotFound"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1cards~1{id}/get/responses/404/content/application~1json/examples/cardNotFound","paths/~1cards~1{id}/get/responses/404/content/application~1json/examples/cardRequestNotFound"]}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/cards/getcard"}],"panels":[]}]},"httpPath":"/cards/{id}"},{"label":"Close a card","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/cards/retirecard","routeSlug":"/apis/cards/retirecard","metadata":{"seo":{"title":"Close a card","description":"Запрашивает закрытие карты. Карта переходит в статус closing, показакрытие обрабатывается, затем в closed. При завершении остатоксредств на карте за вычетом комиссии за закрытие (cardClosureFeeUsdt)возвращается на баланс компании, и отправляется webhook card.closed."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"retireCard","name":"Close a card","isWebhook":false,"pointer":"/paths/~1cards~1{id}~1retire/post","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Close a card","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Запрашивает закрытие карты. Карта переходит в статус "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"closing"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":", пока"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"закрытие обрабатывается, затем в "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"closed"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":". При завершении остаток"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"средств на карте за вычетом комиссии за закрытие ("},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"cardClosureFeeUsdt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":")"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"возвращается на баланс компании, и отправляется webhook "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"card.closed"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"."},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Пополнения запрещены с момента "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"closing"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" ("},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"CARD_RETIRED"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"). Повторный"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"вызов для уже закрывающейся/закрытой карты идемпотентен."},"children":[]}]}]}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"apiKeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"X-API-Key","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Company API key."},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Service also accepts "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"Authorization: Bearer <api-key>"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" and "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"api_key"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" query param,"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"but "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"X-API-Key"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" is recommended."},"children":[]}]}]}]}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"id","in":"path","schemaId":"schema_33","required":true}],"pointer":"/paths/~1cards~1{id}~1retire/post/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/cards/{id}/retire","servers":[{"url":"/_mock/apis","description":"Mock server","isMockServer":true},{"url":"https://b2b.lumowallet.io","description":"Production"},{"url":"https://b2b-staging.lumowallet.io","description":"Staging"}],"parameters":{"path":[{"name":"id","in":"path","required":true,"schemaId":"schema_33"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"apiKeyAuth","type":"apiKey","name":"X-API-Key","in":"header"}],"scopes":[]}],"responseCodes":["200","401","403","404"],"pointer":"/cards/{id}/retire","href":"cards/retirecard","openApiOperationId":"retireCard","summary":"Close a card"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis","description":"Mock server","isMockServer":true},{"url":"https://b2b.lumowallet.io","description":"Production"},{"url":"https://b2b-staging.lumowallet.io","description":"Staging"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Закрытие инициировано (карта в "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"closing"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" или уже "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"closed"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":")"},"children":[]}]}]}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Card"}},"schemaId":"components/schemas/Card"},{"code":"401","description":"Missing or invalid credentials (API key / session token).","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1cards~1{id}~1retire/post/responses/401/content/application~1json/examples/authRequired","paths/~1cards~1{id}~1retire/post/responses/401/content/application~1json/examples/invalidApiKey","paths/~1cards~1{id}~1retire/post/responses/401/content/application~1json/examples/sessionInvalid"]}},"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1cards~1{id}~1retire/post/responses/401/content/application~1json/examples/authRequired","paths/~1cards~1{id}~1retire/post/responses/401/content/application~1json/examples/invalidApiKey","paths/~1cards~1{id}~1retire/post/responses/401/content/application~1json/examples/sessionInvalid"]},{"code":"403","description":"Card access is not available. Either the company does not have cards\nenabled, or the API key lacks the required card permission.\n","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1cards~1{id}~1retire/post/responses/403/content/application~1json/examples/cardsNotEnabled","paths/~1cards~1{id}~1retire/post/responses/403/content/application~1json/examples/permissionDenied"]}},"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1cards~1{id}~1retire/post/responses/403/content/application~1json/examples/cardsNotEnabled","paths/~1cards~1{id}~1retire/post/responses/403/content/application~1json/examples/permissionDenied"]},{"code":"404","description":"Card or card request not found for this company.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1cards~1{id}~1retire/post/responses/404/content/application~1json/examples/cardNotFound","paths/~1cards~1{id}~1retire/post/responses/404/content/application~1json/examples/cardRequestNotFound"]}},"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1cards~1{id}~1retire/post/responses/404/content/application~1json/examples/cardNotFound","paths/~1cards~1{id}~1retire/post/responses/404/content/application~1json/examples/cardRequestNotFound"]}],"pointer":"/paths/~1cards~1{id}~1retire/post/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"components/schemas/Card","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Card"}}},{"code":"401","schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1cards~1{id}~1retire/post/responses/401/content/application~1json/examples/authRequired","paths/~1cards~1{id}~1retire/post/responses/401/content/application~1json/examples/invalidApiKey","paths/~1cards~1{id}~1retire/post/responses/401/content/application~1json/examples/sessionInvalid"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1cards~1{id}~1retire/post/responses/401/content/application~1json/examples/authRequired","paths/~1cards~1{id}~1retire/post/responses/401/content/application~1json/examples/invalidApiKey","paths/~1cards~1{id}~1retire/post/responses/401/content/application~1json/examples/sessionInvalid"]}}},{"code":"403","schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1cards~1{id}~1retire/post/responses/403/content/application~1json/examples/cardsNotEnabled","paths/~1cards~1{id}~1retire/post/responses/403/content/application~1json/examples/permissionDenied"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1cards~1{id}~1retire/post/responses/403/content/application~1json/examples/cardsNotEnabled","paths/~1cards~1{id}~1retire/post/responses/403/content/application~1json/examples/permissionDenied"]}}},{"code":"404","schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1cards~1{id}~1retire/post/responses/404/content/application~1json/examples/cardNotFound","paths/~1cards~1{id}~1retire/post/responses/404/content/application~1json/examples/cardRequestNotFound"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1cards~1{id}~1retire/post/responses/404/content/application~1json/examples/cardNotFound","paths/~1cards~1{id}~1retire/post/responses/404/content/application~1json/examples/cardRequestNotFound"]}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/cards/retirecard"}],"panels":[]}]},"httpPath":"/cards/{id}/retire"},{"label":"Latest 3DS OTP","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/cards/getlatestotp","routeSlug":"/apis/cards/getlatestotp","metadata":{"seo":{"title":"Latest 3DS OTP","description":"Returns the freshest 3DS verification code captured from theacquirer mailbox. Polls run every 15s. Returns null if nolive code. TTL 2 min."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"getLatestOtp","name":"Latest 3DS OTP","isWebhook":false,"pointer":"/paths/~1cards~1{id}~1otp~1latest/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Latest 3DS OTP","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Returns the freshest 3DS verification code captured from the"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"acquirer mailbox. Polls run every 15s. Returns "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"null"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" if no"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"live code. TTL 2 min."},"children":[]}]}]}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"apiKeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"X-API-Key","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Company API key."},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Service also accepts "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"Authorization: Bearer <api-key>"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" and "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"api_key"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" query param,"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"but "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"X-API-Key"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" is recommended."},"children":[]}]}]}]}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"id","in":"path","schemaId":"schema_33","required":true}],"pointer":"/paths/~1cards~1{id}~1otp~1latest/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/cards/{id}/otp/latest","servers":[{"url":"/_mock/apis","description":"Mock server","isMockServer":true},{"url":"https://b2b.lumowallet.io","description":"Production"},{"url":"https://b2b-staging.lumowallet.io","description":"Staging"}],"parameters":{"path":[{"name":"id","in":"path","required":true,"schemaId":"schema_33"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"apiKeyAuth","type":"apiKey","name":"X-API-Key","in":"header"}],"scopes":[]}],"responseCodes":["200","401","404"],"pointer":"/cards/{id}/otp/latest","href":"cards/getlatestotp","openApiOperationId":"getLatestOtp","summary":"Latest 3DS OTP"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis","description":"Mock server","isMockServer":true},{"url":"https://b2b.lumowallet.io","description":"Production"},{"url":"https://b2b-staging.lumowallet.io","description":"Staging"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Latest OTP or null","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_53"}},"schemaId":"schema_53"},{"code":"401","description":"Missing or invalid credentials (API key / session token).","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1cards~1{id}~1otp~1latest/get/responses/401/content/application~1json/examples/authRequired","paths/~1cards~1{id}~1otp~1latest/get/responses/401/content/application~1json/examples/invalidApiKey","paths/~1cards~1{id}~1otp~1latest/get/responses/401/content/application~1json/examples/sessionInvalid"]}},"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1cards~1{id}~1otp~1latest/get/responses/401/content/application~1json/examples/authRequired","paths/~1cards~1{id}~1otp~1latest/get/responses/401/content/application~1json/examples/invalidApiKey","paths/~1cards~1{id}~1otp~1latest/get/responses/401/content/application~1json/examples/sessionInvalid"]},{"code":"404","description":"Card or card request not found for this company.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1cards~1{id}~1otp~1latest/get/responses/404/content/application~1json/examples/cardNotFound","paths/~1cards~1{id}~1otp~1latest/get/responses/404/content/application~1json/examples/cardRequestNotFound"]}},"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1cards~1{id}~1otp~1latest/get/responses/404/content/application~1json/examples/cardNotFound","paths/~1cards~1{id}~1otp~1latest/get/responses/404/content/application~1json/examples/cardRequestNotFound"]}],"pointer":"/paths/~1cards~1{id}~1otp~1latest/get/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"schema_53","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_53"}}},{"code":"401","schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1cards~1{id}~1otp~1latest/get/responses/401/content/application~1json/examples/authRequired","paths/~1cards~1{id}~1otp~1latest/get/responses/401/content/application~1json/examples/invalidApiKey","paths/~1cards~1{id}~1otp~1latest/get/responses/401/content/application~1json/examples/sessionInvalid"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1cards~1{id}~1otp~1latest/get/responses/401/content/application~1json/examples/authRequired","paths/~1cards~1{id}~1otp~1latest/get/responses/401/content/application~1json/examples/invalidApiKey","paths/~1cards~1{id}~1otp~1latest/get/responses/401/content/application~1json/examples/sessionInvalid"]}}},{"code":"404","schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1cards~1{id}~1otp~1latest/get/responses/404/content/application~1json/examples/cardNotFound","paths/~1cards~1{id}~1otp~1latest/get/responses/404/content/application~1json/examples/cardRequestNotFound"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1cards~1{id}~1otp~1latest/get/responses/404/content/application~1json/examples/cardNotFound","paths/~1cards~1{id}~1otp~1latest/get/responses/404/content/application~1json/examples/cardRequestNotFound"]}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/cards/getlatestotp"}],"panels":[]}]},"httpPath":"/cards/{id}/otp/latest"},{"label":"Live card balance","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/cards/getcardbalance","routeSlug":"/apis/cards/getcardbalance","metadata":{"seo":{"title":"Live card balance","description":"Proxies the current card balance from the issuer (bridge-sidecache, ~60 sec). Only allowed for status: assigned cards.In cardsTestMode returns a synthetic value (123.45 USD)."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"getCardBalance","name":"Live card balance","isWebhook":false,"pointer":"/paths/~1cards~1{id}~1balance/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Live card balance","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Proxies the current card balance from the issuer (bridge-side"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"cache, ~60 sec). Only allowed for "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"status: assigned"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" cards."},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"In "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"cardsTestMode"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" returns a synthetic value ("},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"123.45 USD"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":")."},"children":[]}]}]}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"apiKeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"X-API-Key","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Company API key."},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Service also accepts "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"Authorization: Bearer <api-key>"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" and "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"api_key"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" query param,"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"but "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"X-API-Key"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" is recommended."},"children":[]}]}]}]}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"id","in":"path","schemaId":"schema_33","required":true}],"pointer":"/paths/~1cards~1{id}~1balance/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/cards/{id}/balance","servers":[{"url":"/_mock/apis","description":"Mock server","isMockServer":true},{"url":"https://b2b.lumowallet.io","description":"Production"},{"url":"https://b2b-staging.lumowallet.io","description":"Staging"}],"parameters":{"path":[{"name":"id","in":"path","required":true,"schemaId":"schema_33"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"apiKeyAuth","type":"apiKey","name":"X-API-Key","in":"header"}],"scopes":[]}],"responseCodes":["200","400","401","404","422","502"],"pointer":"/cards/{id}/balance","href":"cards/getcardbalance","openApiOperationId":"getCardBalance","summary":"Live card balance"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis","description":"Mock server","isMockServer":true},{"url":"https://b2b.lumowallet.io","description":"Production"},{"url":"https://b2b-staging.lumowallet.io","description":"Staging"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Live card balance","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/CardBalance"}},"schemaId":"components/schemas/CardBalance"},{"code":"400","description":"Invalid request (validation or malformed input)","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1cards~1{id}~1balance/get/responses/400/content/application~1json/examples/validation","paths/~1cards~1{id}~1balance/get/responses/400/content/application~1json/examples/badRequest"]}},"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1cards~1{id}~1balance/get/responses/400/content/application~1json/examples/validation","paths/~1cards~1{id}~1balance/get/responses/400/content/application~1json/examples/badRequest"]},{"code":"401","description":"Missing or invalid credentials (API key / session token).","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1cards~1{id}~1balance/get/responses/401/content/application~1json/examples/authRequired","paths/~1cards~1{id}~1balance/get/responses/401/content/application~1json/examples/invalidApiKey","paths/~1cards~1{id}~1balance/get/responses/401/content/application~1json/examples/sessionInvalid"]}},"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1cards~1{id}~1balance/get/responses/401/content/application~1json/examples/authRequired","paths/~1cards~1{id}~1balance/get/responses/401/content/application~1json/examples/invalidApiKey","paths/~1cards~1{id}~1balance/get/responses/401/content/application~1json/examples/sessionInvalid"]},{"code":"404","description":"Card or card request not found for this company.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1cards~1{id}~1balance/get/responses/404/content/application~1json/examples/cardNotFound","paths/~1cards~1{id}~1balance/get/responses/404/content/application~1json/examples/cardRequestNotFound"]}},"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1cards~1{id}~1balance/get/responses/404/content/application~1json/examples/cardNotFound","paths/~1cards~1{id}~1balance/get/responses/404/content/application~1json/examples/cardRequestNotFound"]},{"code":"422","description":"The card is not in an active state for this operation.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1cards~1{id}~1balance/get/responses/422/content/application~1json/examples/notActive"]}},"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1cards~1{id}~1balance/get/responses/422/content/application~1json/examples/notActive"]},{"code":"502","description":"The upstream card issuer (upay-bridge) was unreachable or returned an\nerror. Safe to retry; use the same Idempotency-Key for mutations.\n","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1cards~1{id}~1balance/get/responses/502/content/application~1json/examples/bridgeError"]}},"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1cards~1{id}~1balance/get/responses/502/content/application~1json/examples/bridgeError"]}],"pointer":"/paths/~1cards~1{id}~1balance/get/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"components/schemas/CardBalance","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/CardBalance"}}},{"code":"400","schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1cards~1{id}~1balance/get/responses/400/content/application~1json/examples/validation","paths/~1cards~1{id}~1balance/get/responses/400/content/application~1json/examples/badRequest"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1cards~1{id}~1balance/get/responses/400/content/application~1json/examples/validation","paths/~1cards~1{id}~1balance/get/responses/400/content/application~1json/examples/badRequest"]}}},{"code":"401","schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1cards~1{id}~1balance/get/responses/401/content/application~1json/examples/authRequired","paths/~1cards~1{id}~1balance/get/responses/401/content/application~1json/examples/invalidApiKey","paths/~1cards~1{id}~1balance/get/responses/401/content/application~1json/examples/sessionInvalid"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1cards~1{id}~1balance/get/responses/401/content/application~1json/examples/authRequired","paths/~1cards~1{id}~1balance/get/responses/401/content/application~1json/examples/invalidApiKey","paths/~1cards~1{id}~1balance/get/responses/401/content/application~1json/examples/sessionInvalid"]}}},{"code":"404","schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1cards~1{id}~1balance/get/responses/404/content/application~1json/examples/cardNotFound","paths/~1cards~1{id}~1balance/get/responses/404/content/application~1json/examples/cardRequestNotFound"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1cards~1{id}~1balance/get/responses/404/content/application~1json/examples/cardNotFound","paths/~1cards~1{id}~1balance/get/responses/404/content/application~1json/examples/cardRequestNotFound"]}}},{"code":"422","schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1cards~1{id}~1balance/get/responses/422/content/application~1json/examples/notActive"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1cards~1{id}~1balance/get/responses/422/content/application~1json/examples/notActive"]}}},{"code":"502","schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1cards~1{id}~1balance/get/responses/502/content/application~1json/examples/bridgeError"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1cards~1{id}~1balance/get/responses/502/content/application~1json/examples/bridgeError"]}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/cards/getcardbalance"}],"panels":[]}]},"httpPath":"/cards/{id}/balance"},{"label":"Transactions across every card","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/cards/listallcardtransactions","routeSlug":"/apis/cards/listallcardtransactions","metadata":{"seo":{"title":"Transactions across every card","description":"Reverse-chronological list spanning all of the company's cards, in onecall. Each row carries cardId and cardMaskedPan so you can tell themapart. Recharges are not included — see GET /cards/recharges."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"listAllCardTransactions","name":"Transactions across every card","isWebhook":false,"pointer":"/paths/~1cards~1transactions/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Transactions across every card","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Reverse-chronological list spanning all of the company's cards, in one"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"call. Each row carries "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"cardId"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" and "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"cardMaskedPan"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" so you can tell them"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"apart. Recharges are not included — see "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"GET /cards/recharges"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"."},"children":[]}]}]}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"apiKeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"X-API-Key","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Company API key."},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Service also accepts "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"Authorization: Bearer <api-key>"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" and "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"api_key"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" query param,"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"but "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"X-API-Key"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" is recommended."},"children":[]}]}]}]}]}]},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"from","in":"query","schemaId":"schema_44","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"ISO-8601. Only rows with "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"transactionTime >= from"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"."},"children":[]}]}]}]},{"name":"to","in":"query","schemaId":"schema_44","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"ISO-8601. Only rows with "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"transactionTime <= to"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"."},"children":[]}]}]}]},{"name":"limit","in":"query","schemaId":"schema_54"},{"name":"before","in":"query","schemaId":"schema_44"}],"pointer":"/paths/~1cards~1transactions/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/cards/transactions","servers":[{"url":"/_mock/apis","description":"Mock server","isMockServer":true},{"url":"https://b2b.lumowallet.io","description":"Production"},{"url":"https://b2b-staging.lumowallet.io","description":"Staging"}],"parameters":{"path":[],"query":[{"name":"from","in":"query","schemaId":"schema_44"},{"name":"to","in":"query","schemaId":"schema_44"},{"name":"limit","in":"query","schemaId":"schema_54"},{"name":"before","in":"query","schemaId":"schema_44"}],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"apiKeyAuth","type":"apiKey","name":"X-API-Key","in":"header"}],"scopes":[]}],"responseCodes":["200","401"],"pointer":"/cards/transactions","href":"cards/listallcardtransactions","openApiOperationId":"listAllCardTransactions","summary":"Transactions across every card"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis","description":"Mock server","isMockServer":true},{"url":"https://b2b.lumowallet.io","description":"Production"},{"url":"https://b2b-staging.lumowallet.io","description":"Staging"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Transactions page","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_55"}},"schemaId":"schema_55"},{"code":"401","description":"Missing or invalid credentials (API key / session token).","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1cards~1transactions/get/responses/401/content/application~1json/examples/authRequired","paths/~1cards~1transactions/get/responses/401/content/application~1json/examples/invalidApiKey","paths/~1cards~1transactions/get/responses/401/content/application~1json/examples/sessionInvalid"]}},"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1cards~1transactions/get/responses/401/content/application~1json/examples/authRequired","paths/~1cards~1transactions/get/responses/401/content/application~1json/examples/invalidApiKey","paths/~1cards~1transactions/get/responses/401/content/application~1json/examples/sessionInvalid"]}],"pointer":"/paths/~1cards~1transactions/get/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"schema_55","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_55"}}},{"code":"401","schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1cards~1transactions/get/responses/401/content/application~1json/examples/authRequired","paths/~1cards~1transactions/get/responses/401/content/application~1json/examples/invalidApiKey","paths/~1cards~1transactions/get/responses/401/content/application~1json/examples/sessionInvalid"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1cards~1transactions/get/responses/401/content/application~1json/examples/authRequired","paths/~1cards~1transactions/get/responses/401/content/application~1json/examples/invalidApiKey","paths/~1cards~1transactions/get/responses/401/content/application~1json/examples/sessionInvalid"]}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/cards/listallcardtransactions"}],"panels":[]}]},"httpPath":"/cards/transactions"},{"label":"Export every card's operations as CSV","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/cards/exportallcardtransactions","routeSlug":"/apis/cards/exportallcardtransactions","metadata":{"seo":{"title":"Export every card's operations as CSV","description":"Card operations and recharges in a single file, newest first — thetype column tells them apart. UTF-8 with BOM, so Excel opens Cyrilliccorrectly. The filename (with the period in it) comes back inContent-Disposition."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"exportAllCardTransactions","name":"Export every card's operations as CSV","isWebhook":false,"pointer":"/paths/~1cards~1transactions.csv/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Export every card's operations as CSV","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Card operations "},"children":[]},{"$$mdtype":"Node","type":"strong","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"and"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" recharges in a single file, newest first — the"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"type"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" column tells them apart. UTF-8 with BOM, so Excel opens Cyrillic"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"correctly. The filename (with the period in it) comes back in"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"Content-Disposition"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"."},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Columns: "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"transactionTime"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"type"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"cardMaskedPan"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"amount"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":","},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"currency"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"originalAmount"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"originalCurrency"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"fee"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"feeCurrency"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":","},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"debitUsdt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"merchantName"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"mcc"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"status"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"reason"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"reference"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"."},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"amount"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" is signed: negative for money leaving the card. For a recharge,"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"amount"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" is what landed on the card (USD) and "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"debitUsdt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" is what was"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"actually taken from the company balance (charge + commission)."},"children":[]}]}]}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"apiKeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"X-API-Key","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Company API key."},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Service also accepts "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"Authorization: Bearer <api-key>"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" and "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"api_key"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" query param,"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"but "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"X-API-Key"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" is recommended."},"children":[]}]}]}]}]}]},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"from","in":"query","schemaId":"schema_44"},{"name":"to","in":"query","schemaId":"schema_44"}],"pointer":"/paths/~1cards~1transactions.csv/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/cards/transactions.csv","servers":[{"url":"/_mock/apis","description":"Mock server","isMockServer":true},{"url":"https://b2b.lumowallet.io","description":"Production"},{"url":"https://b2b-staging.lumowallet.io","description":"Staging"}],"parameters":{"path":[],"query":[{"name":"from","in":"query","schemaId":"schema_44"},{"name":"to","in":"query","schemaId":"schema_44"}],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"apiKeyAuth","type":"apiKey","name":"X-API-Key","in":"header"}],"scopes":[]}],"responseCodes":["200","400","401"],"pointer":"/cards/transactions.csv","href":"cards/exportallcardtransactions","openApiOperationId":"exportAllCardTransactions","summary":"Export every card's operations as CSV"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis","description":"Mock server","isMockServer":true},{"url":"https://b2b.lumowallet.io","description":"Production"},{"url":"https://b2b-staging.lumowallet.io","description":"Staging"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"CSV file","mediaType":"text/csv","mediaTypes":["text/csv"],"mediaTypeContent":{"text/csv":{"schemaId":"schema_36"}},"schemaId":"schema_36","headers":{"Content-Disposition":{"schema":{"type":"string"},"example":"attachment; filename=\"cards-operations-2026-08-01_2026-08-14.csv\""}},"headerSchemaId":"schema_56"},{"code":"400","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Invalid "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"from"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"/"},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"to"},"children":[]}]}]}]},{"code":"401","description":"Missing or invalid credentials (API key / session token).","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1cards~1transactions.csv/get/responses/401/content/application~1json/examples/authRequired","paths/~1cards~1transactions.csv/get/responses/401/content/application~1json/examples/invalidApiKey","paths/~1cards~1transactions.csv/get/responses/401/content/application~1json/examples/sessionInvalid"]}},"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1cards~1transactions.csv/get/responses/401/content/application~1json/examples/authRequired","paths/~1cards~1transactions.csv/get/responses/401/content/application~1json/examples/invalidApiKey","paths/~1cards~1transactions.csv/get/responses/401/content/application~1json/examples/sessionInvalid"]}],"pointer":"/paths/~1cards~1transactions.csv/get/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"schema_36","mediaTypes":["text/csv"],"mediaTypeContent":{"text/csv":{"schemaId":"schema_36"}}},{"code":"400"},{"code":"401","schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1cards~1transactions.csv/get/responses/401/content/application~1json/examples/authRequired","paths/~1cards~1transactions.csv/get/responses/401/content/application~1json/examples/invalidApiKey","paths/~1cards~1transactions.csv/get/responses/401/content/application~1json/examples/sessionInvalid"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1cards~1transactions.csv/get/responses/401/content/application~1json/examples/authRequired","paths/~1cards~1transactions.csv/get/responses/401/content/application~1json/examples/invalidApiKey","paths/~1cards~1transactions.csv/get/responses/401/content/application~1json/examples/sessionInvalid"]}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/cards/exportallcardtransactions"}],"panels":[]}]},"httpPath":"/cards/transactions.csv"},{"label":"Export one card's operations as CSV","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/cards/exportcardtransactions","routeSlug":"/apis/cards/exportcardtransactions","metadata":{"seo":{"title":"Export one card's operations as CSV","description":"Same file as /cards/transactions.csv, narrowed to a single card —its operations and its recharges."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"exportCardTransactions","name":"Export one card's operations as CSV","isWebhook":false,"pointer":"/paths/~1cards~1{id}~1transactions.csv/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Export one card's operations as CSV","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Same file as "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"/cards/transactions.csv"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":", narrowed to a single card —"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"its operations and its recharges."},"children":[]}]}]}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"apiKeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"X-API-Key","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Company API key."},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Service also accepts "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"Authorization: Bearer <api-key>"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" and "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"api_key"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" query param,"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"but "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"X-API-Key"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" is recommended."},"children":[]}]}]}]}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"id","in":"path","schemaId":"schema_33","required":true}],"pointer":"/paths/~1cards~1{id}~1transactions.csv/get/parameters"},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"from","in":"query","schemaId":"schema_44"},{"name":"to","in":"query","schemaId":"schema_44"}],"pointer":"/paths/~1cards~1{id}~1transactions.csv/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/cards/{id}/transactions.csv","servers":[{"url":"/_mock/apis","description":"Mock server","isMockServer":true},{"url":"https://b2b.lumowallet.io","description":"Production"},{"url":"https://b2b-staging.lumowallet.io","description":"Staging"}],"parameters":{"path":[{"name":"id","in":"path","required":true,"schemaId":"schema_33"}],"query":[{"name":"from","in":"query","schemaId":"schema_44"},{"name":"to","in":"query","schemaId":"schema_44"}],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"apiKeyAuth","type":"apiKey","name":"X-API-Key","in":"header"}],"scopes":[]}],"responseCodes":["200","400","401","404"],"pointer":"/cards/{id}/transactions.csv","href":"cards/exportcardtransactions","openApiOperationId":"exportCardTransactions","summary":"Export one card's operations as CSV"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis","description":"Mock server","isMockServer":true},{"url":"https://b2b.lumowallet.io","description":"Production"},{"url":"https://b2b-staging.lumowallet.io","description":"Staging"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"CSV file","mediaType":"text/csv","mediaTypes":["text/csv"],"mediaTypeContent":{"text/csv":{"schemaId":"schema_36"}},"schemaId":"schema_36"},{"code":"400","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Invalid "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"from"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"/"},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"to"},"children":[]}]}]}]},{"code":"401","description":"Missing or invalid credentials (API key / session token).","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1cards~1{id}~1transactions.csv/get/responses/401/content/application~1json/examples/authRequired","paths/~1cards~1{id}~1transactions.csv/get/responses/401/content/application~1json/examples/invalidApiKey","paths/~1cards~1{id}~1transactions.csv/get/responses/401/content/application~1json/examples/sessionInvalid"]}},"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1cards~1{id}~1transactions.csv/get/responses/401/content/application~1json/examples/authRequired","paths/~1cards~1{id}~1transactions.csv/get/responses/401/content/application~1json/examples/invalidApiKey","paths/~1cards~1{id}~1transactions.csv/get/responses/401/content/application~1json/examples/sessionInvalid"]},{"code":"404","description":"Card or card request not found for this company.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1cards~1{id}~1transactions.csv/get/responses/404/content/application~1json/examples/cardNotFound","paths/~1cards~1{id}~1transactions.csv/get/responses/404/content/application~1json/examples/cardRequestNotFound"]}},"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1cards~1{id}~1transactions.csv/get/responses/404/content/application~1json/examples/cardNotFound","paths/~1cards~1{id}~1transactions.csv/get/responses/404/content/application~1json/examples/cardRequestNotFound"]}],"pointer":"/paths/~1cards~1{id}~1transactions.csv/get/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"schema_36","mediaTypes":["text/csv"],"mediaTypeContent":{"text/csv":{"schemaId":"schema_36"}}},{"code":"400"},{"code":"401","schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1cards~1{id}~1transactions.csv/get/responses/401/content/application~1json/examples/authRequired","paths/~1cards~1{id}~1transactions.csv/get/responses/401/content/application~1json/examples/invalidApiKey","paths/~1cards~1{id}~1transactions.csv/get/responses/401/content/application~1json/examples/sessionInvalid"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1cards~1{id}~1transactions.csv/get/responses/401/content/application~1json/examples/authRequired","paths/~1cards~1{id}~1transactions.csv/get/responses/401/content/application~1json/examples/invalidApiKey","paths/~1cards~1{id}~1transactions.csv/get/responses/401/content/application~1json/examples/sessionInvalid"]}}},{"code":"404","schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1cards~1{id}~1transactions.csv/get/responses/404/content/application~1json/examples/cardNotFound","paths/~1cards~1{id}~1transactions.csv/get/responses/404/content/application~1json/examples/cardRequestNotFound"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1cards~1{id}~1transactions.csv/get/responses/404/content/application~1json/examples/cardNotFound","paths/~1cards~1{id}~1transactions.csv/get/responses/404/content/application~1json/examples/cardRequestNotFound"]}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/cards/exportcardtransactions"}],"panels":[]}]},"httpPath":"/cards/{id}/transactions.csv"},{"label":"Card transaction history","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/cards/listcardtransactions","routeSlug":"/apis/cards/listcardtransactions","metadata":{"seo":{"title":"Card transaction history","description":"Reverse-chronological list. Cursor pagination via before(records with transactionTime < before)."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"listCardTransactions","name":"Card transaction history","isWebhook":false,"pointer":"/paths/~1cards~1{id}~1transactions/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Card transaction history","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Reverse-chronological list. Cursor pagination via "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"before"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"(records with "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"transactionTime < before"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":")."},"children":[]}]}]}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"apiKeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"X-API-Key","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Company API key."},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Service also accepts "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"Authorization: Bearer <api-key>"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" and "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"api_key"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" query param,"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"but "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"X-API-Key"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" is recommended."},"children":[]}]}]}]}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"id","in":"path","schemaId":"schema_33","required":true}],"pointer":"/paths/~1cards~1{id}~1transactions/get/parameters"},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"limit","in":"query","schemaId":"schema_41"},{"name":"before","in":"query","schemaId":"schema_44"},{"name":"from","in":"query","schemaId":"schema_44","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"ISO-8601. Only rows with "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"transactionTime >= from"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"."},"children":[]}]}]}]},{"name":"to","in":"query","schemaId":"schema_44","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"ISO-8601. Only rows with "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"transactionTime <= to"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"."},"children":[]}]}]}]}],"pointer":"/paths/~1cards~1{id}~1transactions/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/cards/{id}/transactions","servers":[{"url":"/_mock/apis","description":"Mock server","isMockServer":true},{"url":"https://b2b.lumowallet.io","description":"Production"},{"url":"https://b2b-staging.lumowallet.io","description":"Staging"}],"parameters":{"path":[{"name":"id","in":"path","required":true,"schemaId":"schema_33"}],"query":[{"name":"limit","in":"query","schemaId":"schema_41"},{"name":"before","in":"query","schemaId":"schema_44"},{"name":"from","in":"query","schemaId":"schema_44"},{"name":"to","in":"query","schemaId":"schema_44"}],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"apiKeyAuth","type":"apiKey","name":"X-API-Key","in":"header"}],"scopes":[]}],"responseCodes":["200","401","404"],"pointer":"/cards/{id}/transactions","href":"cards/listcardtransactions","openApiOperationId":"listCardTransactions","summary":"Card transaction history"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis","description":"Mock server","isMockServer":true},{"url":"https://b2b.lumowallet.io","description":"Production"},{"url":"https://b2b-staging.lumowallet.io","description":"Staging"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Transactions page","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_55"}},"schemaId":"schema_55"},{"code":"401","description":"Missing or invalid credentials (API key / session token).","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1cards~1{id}~1transactions/get/responses/401/content/application~1json/examples/authRequired","paths/~1cards~1{id}~1transactions/get/responses/401/content/application~1json/examples/invalidApiKey","paths/~1cards~1{id}~1transactions/get/responses/401/content/application~1json/examples/sessionInvalid"]}},"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1cards~1{id}~1transactions/get/responses/401/content/application~1json/examples/authRequired","paths/~1cards~1{id}~1transactions/get/responses/401/content/application~1json/examples/invalidApiKey","paths/~1cards~1{id}~1transactions/get/responses/401/content/application~1json/examples/sessionInvalid"]},{"code":"404","description":"Card or card request not found for this company.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1cards~1{id}~1transactions/get/responses/404/content/application~1json/examples/cardNotFound","paths/~1cards~1{id}~1transactions/get/responses/404/content/application~1json/examples/cardRequestNotFound"]}},"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1cards~1{id}~1transactions/get/responses/404/content/application~1json/examples/cardNotFound","paths/~1cards~1{id}~1transactions/get/responses/404/content/application~1json/examples/cardRequestNotFound"]}],"pointer":"/paths/~1cards~1{id}~1transactions/get/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"schema_55","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_55"}}},{"code":"401","schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1cards~1{id}~1transactions/get/responses/401/content/application~1json/examples/authRequired","paths/~1cards~1{id}~1transactions/get/responses/401/content/application~1json/examples/invalidApiKey","paths/~1cards~1{id}~1transactions/get/responses/401/content/application~1json/examples/sessionInvalid"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1cards~1{id}~1transactions/get/responses/401/content/application~1json/examples/authRequired","paths/~1cards~1{id}~1transactions/get/responses/401/content/application~1json/examples/invalidApiKey","paths/~1cards~1{id}~1transactions/get/responses/401/content/application~1json/examples/sessionInvalid"]}}},{"code":"404","schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1cards~1{id}~1transactions/get/responses/404/content/application~1json/examples/cardNotFound","paths/~1cards~1{id}~1transactions/get/responses/404/content/application~1json/examples/cardRequestNotFound"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1cards~1{id}~1transactions/get/responses/404/content/application~1json/examples/cardNotFound","paths/~1cards~1{id}~1transactions/get/responses/404/content/application~1json/examples/cardRequestNotFound"]}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/cards/listcardtransactions"}],"panels":[]}]},"httpPath":"/cards/{id}/transactions"},{"label":"Full PAN + CVC (on-demand reveal)","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/cards/revealsensitive","routeSlug":"/apis/cards/revealsensitive","metadata":{"seo":{"title":"Full PAN + CVC (on-demand reveal)","description":"Proxies directly to the bridge. Nothing is cached by Lumo. Onlyallowed for status: assigned cards — retired/failed/requestedreturn 404. Every reveal is logged (company + card)."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"revealSensitive","name":"Full PAN + CVC (on-demand reveal)","isWebhook":false,"pointer":"/paths/~1cards~1{id}~1sensitive/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Full PAN + CVC (on-demand reveal)","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Proxies directly to the bridge. Nothing is cached by Lumo. Only"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"allowed for "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"status: assigned"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" cards — retired/failed/requested"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"return 404. Every reveal is logged (company + card)."},"children":[]}]}]}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"apiKeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"X-API-Key","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Company API key."},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Service also accepts "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"Authorization: Bearer <api-key>"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" and "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"api_key"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" query param,"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"but "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"X-API-Key"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" is recommended."},"children":[]}]}]}]}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"id","in":"path","schemaId":"schema_33","required":true}],"pointer":"/paths/~1cards~1{id}~1sensitive/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/cards/{id}/sensitive","servers":[{"url":"/_mock/apis","description":"Mock server","isMockServer":true},{"url":"https://b2b.lumowallet.io","description":"Production"},{"url":"https://b2b-staging.lumowallet.io","description":"Staging"}],"parameters":{"path":[{"name":"id","in":"path","required":true,"schemaId":"schema_33"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"apiKeyAuth","type":"apiKey","name":"X-API-Key","in":"header"}],"scopes":[]}],"responseCodes":["200","401","404"],"pointer":"/cards/{id}/sensitive","href":"cards/revealsensitive","openApiOperationId":"revealSensitive","summary":"Full PAN + CVC (on-demand reveal)"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis","description":"Mock server","isMockServer":true},{"url":"https://b2b.lumowallet.io","description":"Production"},{"url":"https://b2b-staging.lumowallet.io","description":"Staging"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Sensitive payload","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/CardSensitive"}},"schemaId":"components/schemas/CardSensitive"},{"code":"401","description":"Missing or invalid credentials (API key / session token).","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1cards~1{id}~1sensitive/get/responses/401/content/application~1json/examples/authRequired","paths/~1cards~1{id}~1sensitive/get/responses/401/content/application~1json/examples/invalidApiKey","paths/~1cards~1{id}~1sensitive/get/responses/401/content/application~1json/examples/sessionInvalid"]}},"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1cards~1{id}~1sensitive/get/responses/401/content/application~1json/examples/authRequired","paths/~1cards~1{id}~1sensitive/get/responses/401/content/application~1json/examples/invalidApiKey","paths/~1cards~1{id}~1sensitive/get/responses/401/content/application~1json/examples/sessionInvalid"]},{"code":"404","description":"Card or card request not found for this company.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1cards~1{id}~1sensitive/get/responses/404/content/application~1json/examples/cardNotFound","paths/~1cards~1{id}~1sensitive/get/responses/404/content/application~1json/examples/cardRequestNotFound"]}},"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1cards~1{id}~1sensitive/get/responses/404/content/application~1json/examples/cardNotFound","paths/~1cards~1{id}~1sensitive/get/responses/404/content/application~1json/examples/cardRequestNotFound"]}],"pointer":"/paths/~1cards~1{id}~1sensitive/get/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"components/schemas/CardSensitive","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/CardSensitive"}}},{"code":"401","schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1cards~1{id}~1sensitive/get/responses/401/content/application~1json/examples/authRequired","paths/~1cards~1{id}~1sensitive/get/responses/401/content/application~1json/examples/invalidApiKey","paths/~1cards~1{id}~1sensitive/get/responses/401/content/application~1json/examples/sessionInvalid"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1cards~1{id}~1sensitive/get/responses/401/content/application~1json/examples/authRequired","paths/~1cards~1{id}~1sensitive/get/responses/401/content/application~1json/examples/invalidApiKey","paths/~1cards~1{id}~1sensitive/get/responses/401/content/application~1json/examples/sessionInvalid"]}}},{"code":"404","schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1cards~1{id}~1sensitive/get/responses/404/content/application~1json/examples/cardNotFound","paths/~1cards~1{id}~1sensitive/get/responses/404/content/application~1json/examples/cardRequestNotFound"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1cards~1{id}~1sensitive/get/responses/404/content/application~1json/examples/cardNotFound","paths/~1cards~1{id}~1sensitive/get/responses/404/content/application~1json/examples/cardRequestNotFound"]}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/cards/revealsensitive"}],"panels":[]}]},"httpPath":"/cards/{id}/sensitive"}],"content":{"contentType":"group","meta":{"name":"Cards"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Cards","showPageActions":true},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Virtual VISA card issuance and lifecycle — request, close, reveal"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"PAN/CVC, poll 3DS OTP, list transactions."},"children":[]}]}]}]}],"panels":[{"children":[{"kind":"group-items","title":"Operations","titleTranslationKey":"operations","items":[{"title":"/cards","summary":"List company cards","prefix":{"name":"get","color":"get"},"badges":[],"link":"/cards/listcards","deprecated":false},{"title":"/cards/request","summary":"Request a new card","prefix":{"name":"post","color":"post"},"badges":[],"link":"/cards/requestcard","deprecated":false},{"title":"/cards/requests/{id}/cancel","summary":"Cancel a pending card request","prefix":{"name":"post","color":"post"},"badges":[],"link":"/cards/cancelcardrequest","deprecated":false},{"title":"/cards/{id}","summary":"Get card by id","prefix":{"name":"get","color":"get"},"badges":[],"link":"/cards/getcard","deprecated":false},{"title":"/cards/{id}/retire","summary":"Close a card","prefix":{"name":"post","color":"post"},"badges":[],"link":"/cards/retirecard","deprecated":false},{"title":"/cards/{id}/otp/latest","summary":"Latest 3DS OTP","prefix":{"name":"get","color":"get"},"badges":[],"link":"/cards/getlatestotp","deprecated":false},{"title":"/cards/{id}/balance","summary":"Live card balance","prefix":{"name":"get","color":"get"},"badges":[],"link":"/cards/getcardbalance","deprecated":false},{"title":"/cards/transactions","summary":"Transactions across every card","prefix":{"name":"get","color":"get"},"badges":[],"link":"/cards/listallcardtransactions","deprecated":false},{"title":"/cards/transactions.csv","summary":"Export every card's operations as CSV","prefix":{"name":"get","color":"get"},"badges":[],"link":"/cards/exportallcardtransactions","deprecated":false},{"title":"/cards/{id}/transactions.csv","summary":"Export one card's operations as CSV","prefix":{"name":"get","color":"get"},"badges":[],"link":"/cards/exportcardtransactions","deprecated":false},{"title":"/cards/{id}/transactions","summary":"Card transaction history","prefix":{"name":"get","color":"get"},"badges":[],"link":"/cards/listcardtransactions","deprecated":false},{"title":"/cards/{id}/sensitive","summary":"Full PAN + CVC (on-demand reveal)","prefix":{"name":"get","color":"get"},"badges":[],"link":"/cards/revealsensitive","deprecated":false}]}]}]}]}},{"type":"group","label":"Payouts","link":"/apis/payouts","routeSlug":"/apis/payouts","items":[{"label":"Payout conditions","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/payouts/getpayoutconfig","routeSlug":"/apis/payouts/getpayoutconfig","metadata":{"seo":{"title":"Payout conditions","description":"Лимиты, текущий курс и часы приёма заявок. Запрашивайте перед показомформы: вне рабочего окна создание заявки отклоняется."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"getPayoutConfig","name":"Payout conditions","isWebhook":false,"pointer":"/paths/~1payouts~1config/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Payout conditions","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Лимиты, текущий курс и часы приёма заявок. Запрашивайте перед показом"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"формы: вне рабочего окна создание заявки отклоняется."},"children":[]}]}]}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"apiKeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"X-API-Key","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Company API key."},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Service also accepts "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"Authorization: Bearer <api-key>"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" and "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"api_key"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" query param,"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"but "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"X-API-Key"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" is recommended."},"children":[]}]}]}]}]}]}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/payouts/config","servers":[{"url":"/_mock/apis","description":"Mock server","isMockServer":true},{"url":"https://b2b.lumowallet.io","description":"Production"},{"url":"https://b2b-staging.lumowallet.io","description":"Staging"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"apiKeyAuth","type":"apiKey","name":"X-API-Key","in":"header"}],"scopes":[]}],"responseCodes":["200","401"],"pointer":"/payouts/config","href":"payouts/getpayoutconfig","openApiOperationId":"getPayoutConfig","summary":"Payout conditions"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis","description":"Mock server","isMockServer":true},{"url":"https://b2b.lumowallet.io","description":"Production"},{"url":"https://b2b-staging.lumowallet.io","description":"Staging"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Conditions","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/PayoutConfig"}},"schemaId":"components/schemas/PayoutConfig"},{"code":"401","description":"Missing or invalid credentials (API key / session token).","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1payouts~1config/get/responses/401/content/application~1json/examples/authRequired","paths/~1payouts~1config/get/responses/401/content/application~1json/examples/invalidApiKey","paths/~1payouts~1config/get/responses/401/content/application~1json/examples/sessionInvalid"]}},"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1payouts~1config/get/responses/401/content/application~1json/examples/authRequired","paths/~1payouts~1config/get/responses/401/content/application~1json/examples/invalidApiKey","paths/~1payouts~1config/get/responses/401/content/application~1json/examples/sessionInvalid"]}],"pointer":"/paths/~1payouts~1config/get/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"components/schemas/PayoutConfig","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/PayoutConfig"}}},{"code":"401","schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1payouts~1config/get/responses/401/content/application~1json/examples/authRequired","paths/~1payouts~1config/get/responses/401/content/application~1json/examples/invalidApiKey","paths/~1payouts~1config/get/responses/401/content/application~1json/examples/sessionInvalid"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1payouts~1config/get/responses/401/content/application~1json/examples/authRequired","paths/~1payouts~1config/get/responses/401/content/application~1json/examples/invalidApiKey","paths/~1payouts~1config/get/responses/401/content/application~1json/examples/sessionInvalid"]}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/payouts/getpayoutconfig"}],"panels":[]}]},"httpPath":"/payouts/config"},{"label":"SBP bank directory","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/payouts/listpayoutbanks","routeSlug":"/apis/payouts/listpayoutbanks","metadata":{"seo":{"title":"SBP bank directory","description":"Снимок списка участников СБП. id — это то, что нужно прислать вbankId при выплате по номеру телефона."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"listPayoutBanks","name":"SBP bank directory","isWebhook":false,"pointer":"/paths/~1payouts~1banks/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"SBP bank directory","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Снимок списка участников СБП. "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"id"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" — это то, что нужно прислать в"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"bankId"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" при выплате по номеру телефона."},"children":[]}]}]}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"apiKeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"X-API-Key","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Company API key."},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Service also accepts "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"Authorization: Bearer <api-key>"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" and "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"api_key"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" query param,"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"but "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"X-API-Key"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" is recommended."},"children":[]}]}]}]}]}]}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/payouts/banks","servers":[{"url":"/_mock/apis","description":"Mock server","isMockServer":true},{"url":"https://b2b.lumowallet.io","description":"Production"},{"url":"https://b2b-staging.lumowallet.io","description":"Staging"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"apiKeyAuth","type":"apiKey","name":"X-API-Key","in":"header"}],"scopes":[]}],"responseCodes":["200","401"],"pointer":"/payouts/banks","href":"payouts/listpayoutbanks","openApiOperationId":"listPayoutBanks","summary":"SBP bank directory"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis","description":"Mock server","isMockServer":true},{"url":"https://b2b.lumowallet.io","description":"Production"},{"url":"https://b2b-staging.lumowallet.io","description":"Staging"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Banks","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_57"}},"schemaId":"schema_57"},{"code":"401","description":"Missing or invalid credentials (API key / session token).","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1payouts~1banks/get/responses/401/content/application~1json/examples/authRequired","paths/~1payouts~1banks/get/responses/401/content/application~1json/examples/invalidApiKey","paths/~1payouts~1banks/get/responses/401/content/application~1json/examples/sessionInvalid"]}},"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1payouts~1banks/get/responses/401/content/application~1json/examples/authRequired","paths/~1payouts~1banks/get/responses/401/content/application~1json/examples/invalidApiKey","paths/~1payouts~1banks/get/responses/401/content/application~1json/examples/sessionInvalid"]}],"pointer":"/paths/~1payouts~1banks/get/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"schema_57","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_57"}}},{"code":"401","schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1payouts~1banks/get/responses/401/content/application~1json/examples/authRequired","paths/~1payouts~1banks/get/responses/401/content/application~1json/examples/invalidApiKey","paths/~1payouts~1banks/get/responses/401/content/application~1json/examples/sessionInvalid"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1payouts~1banks/get/responses/401/content/application~1json/examples/authRequired","paths/~1payouts~1banks/get/responses/401/content/application~1json/examples/invalidApiKey","paths/~1payouts~1banks/get/responses/401/content/application~1json/examples/sessionInvalid"]}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/payouts/listpayoutbanks"}],"panels":[]}]},"httpPath":"/payouts/banks"},{"label":"Quote a payout","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/payouts/quotepayout","routeSlug":"/apis/payouts/quotepayout","metadata":{"seo":{"title":"Quote a payout","description":"Сколько USDT спишется за нужную сумму в рублях. Ничего не создаёт и неблокирует; курс фиксируется только при создании заявки."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"quotePayout","name":"Quote a payout","isWebhook":false,"pointer":"/paths/~1payouts~1quote/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Quote a payout","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Сколько USDT спишется за нужную сумму в рублях. Ничего не создаёт и не"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"блокирует; курс фиксируется только при создании заявки."},"children":[]}]}]}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"apiKeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"X-API-Key","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Company API key."},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Service also accepts "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"Authorization: Bearer <api-key>"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" and "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"api_key"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" query param,"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"but "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"X-API-Key"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" is recommended."},"children":[]}]}]}]}]}]},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_58"}},"schemaId":"schema_58","pointer":"/paths/~1payouts~1quote/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/payouts/quote","servers":[{"url":"/_mock/apis","description":"Mock server","isMockServer":true},{"url":"https://b2b.lumowallet.io","description":"Production"},{"url":"https://b2b-staging.lumowallet.io","description":"Staging"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"apiKeyAuth","type":"apiKey","name":"X-API-Key","in":"header"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"schema_58"}},"responseCodes":["201","400","401"],"pointer":"/payouts/quote","href":"payouts/quotepayout","openApiOperationId":"quotePayout","summary":"Quote a payout"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis","description":"Mock server","isMockServer":true},{"url":"https://b2b.lumowallet.io","description":"Production"},{"url":"https://b2b-staging.lumowallet.io","description":"Staging"}],"schemaId":"schema_58","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_58"}},"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"201","description":"Quote","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_59"}},"schemaId":"schema_59"},{"code":"400","description":"Payout rejected before or after debit","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1payouts~1quote/post/responses/400/content/application~1json/examples/cooldown","paths/~1payouts~1quote/post/responses/400/content/application~1json/examples/outsideHours","paths/~1payouts~1quote/post/responses/400/content/application~1json/examples/bankRequired","paths/~1payouts~1quote/post/responses/400/content/application~1json/examples/insufficient","paths/~1payouts~1quote/post/responses/400/content/application~1json/examples/rejected"]}},"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1payouts~1quote/post/responses/400/content/application~1json/examples/cooldown","paths/~1payouts~1quote/post/responses/400/content/application~1json/examples/outsideHours","paths/~1payouts~1quote/post/responses/400/content/application~1json/examples/bankRequired","paths/~1payouts~1quote/post/responses/400/content/application~1json/examples/insufficient","paths/~1payouts~1quote/post/responses/400/content/application~1json/examples/rejected"]},{"code":"401","description":"Missing or invalid credentials (API key / session token).","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1payouts~1quote/post/responses/401/content/application~1json/examples/authRequired","paths/~1payouts~1quote/post/responses/401/content/application~1json/examples/invalidApiKey","paths/~1payouts~1quote/post/responses/401/content/application~1json/examples/sessionInvalid"]}},"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1payouts~1quote/post/responses/401/content/application~1json/examples/authRequired","paths/~1payouts~1quote/post/responses/401/content/application~1json/examples/invalidApiKey","paths/~1payouts~1quote/post/responses/401/content/application~1json/examples/sessionInvalid"]}],"pointer":"/paths/~1payouts~1quote/post/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"201","schemaId":"schema_59","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_59"}}},{"code":"400","schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1payouts~1quote/post/responses/400/content/application~1json/examples/cooldown","paths/~1payouts~1quote/post/responses/400/content/application~1json/examples/outsideHours","paths/~1payouts~1quote/post/responses/400/content/application~1json/examples/bankRequired","paths/~1payouts~1quote/post/responses/400/content/application~1json/examples/insufficient","paths/~1payouts~1quote/post/responses/400/content/application~1json/examples/rejected"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1payouts~1quote/post/responses/400/content/application~1json/examples/cooldown","paths/~1payouts~1quote/post/responses/400/content/application~1json/examples/outsideHours","paths/~1payouts~1quote/post/responses/400/content/application~1json/examples/bankRequired","paths/~1payouts~1quote/post/responses/400/content/application~1json/examples/insufficient","paths/~1payouts~1quote/post/responses/400/content/application~1json/examples/rejected"]}}},{"code":"401","schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1payouts~1quote/post/responses/401/content/application~1json/examples/authRequired","paths/~1payouts~1quote/post/responses/401/content/application~1json/examples/invalidApiKey","paths/~1payouts~1quote/post/responses/401/content/application~1json/examples/sessionInvalid"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1payouts~1quote/post/responses/401/content/application~1json/examples/authRequired","paths/~1payouts~1quote/post/responses/401/content/application~1json/examples/invalidApiKey","paths/~1payouts~1quote/post/responses/401/content/application~1json/examples/sessionInvalid"]}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/payouts/quotepayout"}],"panels":[]}]},"httpPath":"/payouts/quote"},{"label":"Create a payout","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/payouts/createpayout","routeSlug":"/apis/payouts/createpayout","metadata":{"seo":{"title":"Create a payout","description":"Списывает USDT с баланса компании и передаёт заявку исполнителю."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"createPayout","name":"Create a payout","isWebhook":false,"pointer":"/paths/~1payouts/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Create a payout","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Списывает USDT с баланса компании и передаёт заявку исполнителю."},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Заголовок "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"Idempotency-Key"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" передавайте всегда: ретрай с тем же ключом"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"вернёт ту же заявку, а не выплатит второй раз."},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"При "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"PAYOUT_SERVICE_UNAVAILABLE"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" заявка "},"children":[]},{"$$mdtype":"Node","type":"strong","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"принята"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":", а средства "},"children":[]},{"$$mdtype":"Node","type":"strong","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"не"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"возвращены"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":": она могла создаться на стороне сервиса выплат. Повторяйте"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"только с тем же "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"Idempotency-Key"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"."},"children":[]}]}]}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"apiKeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"X-API-Key","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Company API key."},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Service also accepts "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"Authorization: Bearer <api-key>"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" and "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"api_key"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" query param,"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"but "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"X-API-Key"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" is recommended."},"children":[]}]}]}]}]}]},{"nodeType":"item-content","variant":"headers","label":"Headers","labelTranslationKey":"header","parameters":[{"name":"Idempotency-Key","in":"header","schemaId":"schema_36","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Уникален в пределах компании. Настоятельно рекомендуется."},"children":[]}]}]}]}],"pointer":"/paths/~1payouts/post/parameters"},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/CreatePayoutRequest"}},"schemaId":"components/schemas/CreatePayoutRequest","pointer":"/paths/~1payouts/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/payouts","servers":[{"url":"/_mock/apis","description":"Mock server","isMockServer":true},{"url":"https://b2b.lumowallet.io","description":"Production"},{"url":"https://b2b-staging.lumowallet.io","description":"Staging"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[{"name":"Idempotency-Key","in":"header","required":false,"schemaId":"schema_36"}],"cookie":[]},"security":[{"schemes":[{"id":"apiKeyAuth","type":"apiKey","name":"X-API-Key","in":"header"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"components/schemas/CreatePayoutRequest"}},"responseCodes":["201","400","401","403","503"],"pointer":"/payouts","href":"payouts/createpayout","openApiOperationId":"createPayout","summary":"Create a payout"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis","description":"Mock server","isMockServer":true},{"url":"https://b2b.lumowallet.io","description":"Production"},{"url":"https://b2b-staging.lumowallet.io","description":"Staging"}],"schemaId":"components/schemas/CreatePayoutRequest","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/CreatePayoutRequest"}},"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"201","description":"Payout created","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Payout"}},"schemaId":"components/schemas/Payout"},{"code":"400","description":"Payout rejected before or after debit","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1payouts/post/responses/400/content/application~1json/examples/cooldown","paths/~1payouts/post/responses/400/content/application~1json/examples/outsideHours","paths/~1payouts/post/responses/400/content/application~1json/examples/bankRequired","paths/~1payouts/post/responses/400/content/application~1json/examples/insufficient","paths/~1payouts/post/responses/400/content/application~1json/examples/rejected"]}},"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1payouts/post/responses/400/content/application~1json/examples/cooldown","paths/~1payouts/post/responses/400/content/application~1json/examples/outsideHours","paths/~1payouts/post/responses/400/content/application~1json/examples/bankRequired","paths/~1payouts/post/responses/400/content/application~1json/examples/insufficient","paths/~1payouts/post/responses/400/content/application~1json/examples/rejected"]},{"code":"401","description":"Missing or invalid credentials (API key / session token).","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1payouts/post/responses/401/content/application~1json/examples/authRequired","paths/~1payouts/post/responses/401/content/application~1json/examples/invalidApiKey","paths/~1payouts/post/responses/401/content/application~1json/examples/sessionInvalid"]}},"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1payouts/post/responses/401/content/application~1json/examples/authRequired","paths/~1payouts/post/responses/401/content/application~1json/examples/invalidApiKey","paths/~1payouts/post/responses/401/content/application~1json/examples/sessionInvalid"]},{"code":"403","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Выплаты не подключены компании"},"children":[]}]}]}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1payouts/post/responses/403/content/application~1json/example"]}},"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1payouts/post/responses/403/content/application~1json/example"]},{"code":"503","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Сервис выплат не ответил. Заявка "},"children":[]},{"$$mdtype":"Node","type":"strong","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"принята"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":", средства "},"children":[]},{"$$mdtype":"Node","type":"strong","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"не возвращены"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" —"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"она могла создаться. Повторяйте только с тем же "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"Idempotency-Key"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"."},"children":[]}]}]}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1payouts/post/responses/503/content/application~1json/example"]}},"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1payouts/post/responses/503/content/application~1json/example"]}],"pointer":"/paths/~1payouts/post/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"201","schemaId":"components/schemas/Payout","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Payout"}}},{"code":"400","schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1payouts/post/responses/400/content/application~1json/examples/cooldown","paths/~1payouts/post/responses/400/content/application~1json/examples/outsideHours","paths/~1payouts/post/responses/400/content/application~1json/examples/bankRequired","paths/~1payouts/post/responses/400/content/application~1json/examples/insufficient","paths/~1payouts/post/responses/400/content/application~1json/examples/rejected"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1payouts/post/responses/400/content/application~1json/examples/cooldown","paths/~1payouts/post/responses/400/content/application~1json/examples/outsideHours","paths/~1payouts/post/responses/400/content/application~1json/examples/bankRequired","paths/~1payouts/post/responses/400/content/application~1json/examples/insufficient","paths/~1payouts/post/responses/400/content/application~1json/examples/rejected"]}}},{"code":"401","schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1payouts/post/responses/401/content/application~1json/examples/authRequired","paths/~1payouts/post/responses/401/content/application~1json/examples/invalidApiKey","paths/~1payouts/post/responses/401/content/application~1json/examples/sessionInvalid"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1payouts/post/responses/401/content/application~1json/examples/authRequired","paths/~1payouts/post/responses/401/content/application~1json/examples/invalidApiKey","paths/~1payouts/post/responses/401/content/application~1json/examples/sessionInvalid"]}}},{"code":"403","schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1payouts/post/responses/403/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1payouts/post/responses/403/content/application~1json/example"]}}},{"code":"503","schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1payouts/post/responses/503/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1payouts/post/responses/503/content/application~1json/example"]}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/payouts/createpayout"}],"panels":[]}]},"httpPath":"/payouts"},{"label":"List payouts","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/payouts/listpayouts","routeSlug":"/apis/payouts/listpayouts","metadata":{"seo":{"title":"List payouts","description":"List payouts"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"listPayouts","name":"List payouts","isWebhook":false,"pointer":"/paths/~1payouts/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"List payouts","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"security","requirements":[{"schemes":[{"name":"apiKeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"X-API-Key","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Company API key."},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Service also accepts "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"Authorization: Bearer <api-key>"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" and "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"api_key"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" query param,"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"but "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"X-API-Key"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" is recommended."},"children":[]}]}]}]}]}]},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"status","in":"query","schemaId":"schema_60"},{"name":"search","in":"query","schemaId":"schema_36","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"По вашему "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"externalId"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" (в том числе по части) или по нашему "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"id"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" —"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"целиком либо по первым символам."},"children":[]}]}]}]},{"name":"limit","in":"query","schemaId":"schema_61"},{"name":"offset","in":"query","schemaId":"schema_62"}],"pointer":"/paths/~1payouts/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/payouts","servers":[{"url":"/_mock/apis","description":"Mock server","isMockServer":true},{"url":"https://b2b.lumowallet.io","description":"Production"},{"url":"https://b2b-staging.lumowallet.io","description":"Staging"}],"parameters":{"path":[],"query":[{"name":"status","in":"query","schemaId":"schema_60"},{"name":"search","in":"query","schemaId":"schema_36"},{"name":"limit","in":"query","schemaId":"schema_61"},{"name":"offset","in":"query","schemaId":"schema_62"}],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"apiKeyAuth","type":"apiKey","name":"X-API-Key","in":"header"}],"scopes":[]}],"responseCodes":["200","401"],"pointer":"/payouts","href":"payouts/listpayouts","openApiOperationId":"listPayouts","summary":"List payouts"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis","description":"Mock server","isMockServer":true},{"url":"https://b2b.lumowallet.io","description":"Production"},{"url":"https://b2b-staging.lumowallet.io","description":"Staging"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Payouts","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_63"}},"schemaId":"schema_63"},{"code":"401","description":"Missing or invalid credentials (API key / session token).","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1payouts/get/responses/401/content/application~1json/examples/authRequired","paths/~1payouts/get/responses/401/content/application~1json/examples/invalidApiKey","paths/~1payouts/get/responses/401/content/application~1json/examples/sessionInvalid"]}},"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1payouts/get/responses/401/content/application~1json/examples/authRequired","paths/~1payouts/get/responses/401/content/application~1json/examples/invalidApiKey","paths/~1payouts/get/responses/401/content/application~1json/examples/sessionInvalid"]}],"pointer":"/paths/~1payouts/get/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"schema_63","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_63"}}},{"code":"401","schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1payouts/get/responses/401/content/application~1json/examples/authRequired","paths/~1payouts/get/responses/401/content/application~1json/examples/invalidApiKey","paths/~1payouts/get/responses/401/content/application~1json/examples/sessionInvalid"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1payouts/get/responses/401/content/application~1json/examples/authRequired","paths/~1payouts/get/responses/401/content/application~1json/examples/invalidApiKey","paths/~1payouts/get/responses/401/content/application~1json/examples/sessionInvalid"]}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/payouts/listpayouts"}],"panels":[]}]},"httpPath":"/payouts"},{"label":"Get payout status","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/payouts/getpayout","routeSlug":"/apis/payouts/getpayout","metadata":{"seo":{"title":"Get payout status","description":"Get payout status"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"getPayout","name":"Get payout status","isWebhook":false,"pointer":"/paths/~1payouts~1{id}/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get payout status","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"security","requirements":[{"schemes":[{"name":"apiKeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"X-API-Key","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Company API key."},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Service also accepts "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"Authorization: Bearer <api-key>"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" and "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"api_key"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" query param,"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"but "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"X-API-Key"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" is recommended."},"children":[]}]}]}]}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"id","in":"path","schemaId":"schema_33","required":true}],"pointer":"/paths/~1payouts~1{id}/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/payouts/{id}","servers":[{"url":"/_mock/apis","description":"Mock server","isMockServer":true},{"url":"https://b2b.lumowallet.io","description":"Production"},{"url":"https://b2b-staging.lumowallet.io","description":"Staging"}],"parameters":{"path":[{"name":"id","in":"path","required":true,"schemaId":"schema_33"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"apiKeyAuth","type":"apiKey","name":"X-API-Key","in":"header"}],"scopes":[]}],"responseCodes":["200","401","404"],"pointer":"/payouts/{id}","href":"payouts/getpayout","openApiOperationId":"getPayout","summary":"Get payout status"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis","description":"Mock server","isMockServer":true},{"url":"https://b2b.lumowallet.io","description":"Production"},{"url":"https://b2b-staging.lumowallet.io","description":"Staging"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Payout","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Payout"}},"schemaId":"components/schemas/Payout"},{"code":"401","description":"Missing or invalid credentials (API key / session token).","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1payouts~1{id}/get/responses/401/content/application~1json/examples/authRequired","paths/~1payouts~1{id}/get/responses/401/content/application~1json/examples/invalidApiKey","paths/~1payouts~1{id}/get/responses/401/content/application~1json/examples/sessionInvalid"]}},"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1payouts~1{id}/get/responses/401/content/application~1json/examples/authRequired","paths/~1payouts~1{id}/get/responses/401/content/application~1json/examples/invalidApiKey","paths/~1payouts~1{id}/get/responses/401/content/application~1json/examples/sessionInvalid"]},{"code":"404","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Заявка не найдена"},"children":[]}]}]}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1payouts~1{id}/get/responses/404/content/application~1json/example"]}},"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1payouts~1{id}/get/responses/404/content/application~1json/example"]}],"pointer":"/paths/~1payouts~1{id}/get/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"components/schemas/Payout","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Payout"}}},{"code":"401","schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1payouts~1{id}/get/responses/401/content/application~1json/examples/authRequired","paths/~1payouts~1{id}/get/responses/401/content/application~1json/examples/invalidApiKey","paths/~1payouts~1{id}/get/responses/401/content/application~1json/examples/sessionInvalid"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1payouts~1{id}/get/responses/401/content/application~1json/examples/authRequired","paths/~1payouts~1{id}/get/responses/401/content/application~1json/examples/invalidApiKey","paths/~1payouts~1{id}/get/responses/401/content/application~1json/examples/sessionInvalid"]}}},{"code":"404","schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1payouts~1{id}/get/responses/404/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1payouts~1{id}/get/responses/404/content/application~1json/example"]}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/payouts/getpayout"}],"panels":[]}]},"httpPath":"/payouts/{id}"},{"label":"Cancel a payout","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/payouts/cancelpayout","routeSlug":"/apis/payouts/cancelpayout","metadata":{"seo":{"title":"Cancel a payout","description":"Возможна, только пока заявку не взял исполнитель (waiting_trader).Заявка уходит в fail с cancelled_by_merchant, средства возвращаются."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"cancelPayout","name":"Cancel a payout","isWebhook":false,"pointer":"/paths/~1payouts~1{id}~1cancel/post","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Cancel a payout","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Возможна, только пока заявку не взял исполнитель ("},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"waiting_trader"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":")."},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Заявка уходит в "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"fail"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" с "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"cancelled_by_merchant"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":", средства возвращаются."},"children":[]}]}]}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"apiKeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"X-API-Key","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Company API key."},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Service also accepts "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"Authorization: Bearer <api-key>"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" and "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"api_key"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" query param,"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"but "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"X-API-Key"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" is recommended."},"children":[]}]}]}]}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"id","in":"path","schemaId":"schema_33","required":true}],"pointer":"/paths/~1payouts~1{id}~1cancel/post/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/payouts/{id}/cancel","servers":[{"url":"/_mock/apis","description":"Mock server","isMockServer":true},{"url":"https://b2b.lumowallet.io","description":"Production"},{"url":"https://b2b-staging.lumowallet.io","description":"Staging"}],"parameters":{"path":[{"name":"id","in":"path","required":true,"schemaId":"schema_33"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"apiKeyAuth","type":"apiKey","name":"X-API-Key","in":"header"}],"scopes":[]}],"responseCodes":["201","400","401","404"],"pointer":"/payouts/{id}/cancel","href":"payouts/cancelpayout","openApiOperationId":"cancelPayout","summary":"Cancel a payout"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis","description":"Mock server","isMockServer":true},{"url":"https://b2b.lumowallet.io","description":"Production"},{"url":"https://b2b-staging.lumowallet.io","description":"Staging"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"201","description":"Cancelled","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Payout"}},"schemaId":"components/schemas/Payout"},{"code":"400","description":"Payout rejected before or after debit","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1payouts~1{id}~1cancel/post/responses/400/content/application~1json/examples/cooldown","paths/~1payouts~1{id}~1cancel/post/responses/400/content/application~1json/examples/outsideHours","paths/~1payouts~1{id}~1cancel/post/responses/400/content/application~1json/examples/bankRequired","paths/~1payouts~1{id}~1cancel/post/responses/400/content/application~1json/examples/insufficient","paths/~1payouts~1{id}~1cancel/post/responses/400/content/application~1json/examples/rejected"]}},"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1payouts~1{id}~1cancel/post/responses/400/content/application~1json/examples/cooldown","paths/~1payouts~1{id}~1cancel/post/responses/400/content/application~1json/examples/outsideHours","paths/~1payouts~1{id}~1cancel/post/responses/400/content/application~1json/examples/bankRequired","paths/~1payouts~1{id}~1cancel/post/responses/400/content/application~1json/examples/insufficient","paths/~1payouts~1{id}~1cancel/post/responses/400/content/application~1json/examples/rejected"]},{"code":"401","description":"Missing or invalid credentials (API key / session token).","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1payouts~1{id}~1cancel/post/responses/401/content/application~1json/examples/authRequired","paths/~1payouts~1{id}~1cancel/post/responses/401/content/application~1json/examples/invalidApiKey","paths/~1payouts~1{id}~1cancel/post/responses/401/content/application~1json/examples/sessionInvalid"]}},"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1payouts~1{id}~1cancel/post/responses/401/content/application~1json/examples/authRequired","paths/~1payouts~1{id}~1cancel/post/responses/401/content/application~1json/examples/invalidApiKey","paths/~1payouts~1{id}~1cancel/post/responses/401/content/application~1json/examples/sessionInvalid"]},{"code":"404","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Заявка не найдена"},"children":[]}]}]}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1payouts~1{id}~1cancel/post/responses/404/content/application~1json/example"]}},"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1payouts~1{id}~1cancel/post/responses/404/content/application~1json/example"]}],"pointer":"/paths/~1payouts~1{id}~1cancel/post/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"201","schemaId":"components/schemas/Payout","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Payout"}}},{"code":"400","schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1payouts~1{id}~1cancel/post/responses/400/content/application~1json/examples/cooldown","paths/~1payouts~1{id}~1cancel/post/responses/400/content/application~1json/examples/outsideHours","paths/~1payouts~1{id}~1cancel/post/responses/400/content/application~1json/examples/bankRequired","paths/~1payouts~1{id}~1cancel/post/responses/400/content/application~1json/examples/insufficient","paths/~1payouts~1{id}~1cancel/post/responses/400/content/application~1json/examples/rejected"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1payouts~1{id}~1cancel/post/responses/400/content/application~1json/examples/cooldown","paths/~1payouts~1{id}~1cancel/post/responses/400/content/application~1json/examples/outsideHours","paths/~1payouts~1{id}~1cancel/post/responses/400/content/application~1json/examples/bankRequired","paths/~1payouts~1{id}~1cancel/post/responses/400/content/application~1json/examples/insufficient","paths/~1payouts~1{id}~1cancel/post/responses/400/content/application~1json/examples/rejected"]}}},{"code":"401","schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1payouts~1{id}~1cancel/post/responses/401/content/application~1json/examples/authRequired","paths/~1payouts~1{id}~1cancel/post/responses/401/content/application~1json/examples/invalidApiKey","paths/~1payouts~1{id}~1cancel/post/responses/401/content/application~1json/examples/sessionInvalid"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1payouts~1{id}~1cancel/post/responses/401/content/application~1json/examples/authRequired","paths/~1payouts~1{id}~1cancel/post/responses/401/content/application~1json/examples/invalidApiKey","paths/~1payouts~1{id}~1cancel/post/responses/401/content/application~1json/examples/sessionInvalid"]}}},{"code":"404","schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1payouts~1{id}~1cancel/post/responses/404/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1payouts~1{id}~1cancel/post/responses/404/content/application~1json/example"]}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/payouts/cancelpayout"}],"panels":[]}]},"httpPath":"/payouts/{id}/cancel"},{"label":"Open a dispute","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/payouts/openpayoutdispute","routeSlug":"/apis/payouts/openpayoutdispute","metadata":{"seo":{"title":"Open a dispute","description":"Разбирательство ведёт сервис выплат: он хранит вложения и выноситвердикт, мы передаём обращение и зеркалим состояние. Решение в вашупользу приводит заявку в fail с возвратом средств."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"openPayoutDispute","name":"Open a dispute","isWebhook":false,"pointer":"/paths/~1payouts~1{id}~1dispute/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Open a dispute","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Разбирательство ведёт сервис выплат: он хранит вложения и выносит"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"вердикт, мы передаём обращение и зеркалим состояние. Решение в вашу"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"пользу приводит заявку в "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"fail"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" с возвратом средств."},"children":[]}]}]}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"apiKeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"X-API-Key","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Company API key."},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Service also accepts "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"Authorization: Bearer <api-key>"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" and "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"api_key"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" query param,"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"but "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"X-API-Key"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" is recommended."},"children":[]}]}]}]}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"id","in":"path","schemaId":"schema_33","required":true}],"pointer":"/paths/~1payouts~1{id}~1dispute/post/parameters"},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["multipart/form-data"],"mediaTypeSchemas":{"multipart/form-data":{"schemaId":"schema_64"}},"schemaId":"schema_64","pointer":"/paths/~1payouts~1{id}~1dispute/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/payouts/{id}/dispute","servers":[{"url":"/_mock/apis","description":"Mock server","isMockServer":true},{"url":"https://b2b.lumowallet.io","description":"Production"},{"url":"https://b2b-staging.lumowallet.io","description":"Staging"}],"parameters":{"path":[{"name":"id","in":"path","required":true,"schemaId":"schema_33"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"apiKeyAuth","type":"apiKey","name":"X-API-Key","in":"header"}],"scopes":[]}],"requestBody":{"multipart/form-data":{"schemaId":"schema_64"}},"responseCodes":["201","400","401","404"],"pointer":"/payouts/{id}/dispute","href":"payouts/openpayoutdispute","openApiOperationId":"openPayoutDispute","summary":"Open a dispute"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis","description":"Mock server","isMockServer":true},{"url":"https://b2b.lumowallet.io","description":"Production"},{"url":"https://b2b-staging.lumowallet.io","description":"Staging"}],"schemaId":"schema_64","mediaTypes":["multipart/form-data"],"mediaTypeSchemas":{"multipart/form-data":{"schemaId":"schema_64"}},"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"201","description":"Dispute opened","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Payout"}},"schemaId":"components/schemas/Payout"},{"code":"400","description":"Payout rejected before or after debit","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1payouts~1{id}~1dispute/post/responses/400/content/application~1json/examples/cooldown","paths/~1payouts~1{id}~1dispute/post/responses/400/content/application~1json/examples/outsideHours","paths/~1payouts~1{id}~1dispute/post/responses/400/content/application~1json/examples/bankRequired","paths/~1payouts~1{id}~1dispute/post/responses/400/content/application~1json/examples/insufficient","paths/~1payouts~1{id}~1dispute/post/responses/400/content/application~1json/examples/rejected"]}},"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1payouts~1{id}~1dispute/post/responses/400/content/application~1json/examples/cooldown","paths/~1payouts~1{id}~1dispute/post/responses/400/content/application~1json/examples/outsideHours","paths/~1payouts~1{id}~1dispute/post/responses/400/content/application~1json/examples/bankRequired","paths/~1payouts~1{id}~1dispute/post/responses/400/content/application~1json/examples/insufficient","paths/~1payouts~1{id}~1dispute/post/responses/400/content/application~1json/examples/rejected"]},{"code":"401","description":"Missing or invalid credentials (API key / session token).","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1payouts~1{id}~1dispute/post/responses/401/content/application~1json/examples/authRequired","paths/~1payouts~1{id}~1dispute/post/responses/401/content/application~1json/examples/invalidApiKey","paths/~1payouts~1{id}~1dispute/post/responses/401/content/application~1json/examples/sessionInvalid"]}},"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1payouts~1{id}~1dispute/post/responses/401/content/application~1json/examples/authRequired","paths/~1payouts~1{id}~1dispute/post/responses/401/content/application~1json/examples/invalidApiKey","paths/~1payouts~1{id}~1dispute/post/responses/401/content/application~1json/examples/sessionInvalid"]},{"code":"404","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Заявка не найдена"},"children":[]}]}]}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1payouts~1{id}~1dispute/post/responses/404/content/application~1json/example"]}},"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1payouts~1{id}~1dispute/post/responses/404/content/application~1json/example"]}],"pointer":"/paths/~1payouts~1{id}~1dispute/post/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"201","schemaId":"components/schemas/Payout","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Payout"}}},{"code":"400","schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1payouts~1{id}~1dispute/post/responses/400/content/application~1json/examples/cooldown","paths/~1payouts~1{id}~1dispute/post/responses/400/content/application~1json/examples/outsideHours","paths/~1payouts~1{id}~1dispute/post/responses/400/content/application~1json/examples/bankRequired","paths/~1payouts~1{id}~1dispute/post/responses/400/content/application~1json/examples/insufficient","paths/~1payouts~1{id}~1dispute/post/responses/400/content/application~1json/examples/rejected"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1payouts~1{id}~1dispute/post/responses/400/content/application~1json/examples/cooldown","paths/~1payouts~1{id}~1dispute/post/responses/400/content/application~1json/examples/outsideHours","paths/~1payouts~1{id}~1dispute/post/responses/400/content/application~1json/examples/bankRequired","paths/~1payouts~1{id}~1dispute/post/responses/400/content/application~1json/examples/insufficient","paths/~1payouts~1{id}~1dispute/post/responses/400/content/application~1json/examples/rejected"]}}},{"code":"401","schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1payouts~1{id}~1dispute/post/responses/401/content/application~1json/examples/authRequired","paths/~1payouts~1{id}~1dispute/post/responses/401/content/application~1json/examples/invalidApiKey","paths/~1payouts~1{id}~1dispute/post/responses/401/content/application~1json/examples/sessionInvalid"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1payouts~1{id}~1dispute/post/responses/401/content/application~1json/examples/authRequired","paths/~1payouts~1{id}~1dispute/post/responses/401/content/application~1json/examples/invalidApiKey","paths/~1payouts~1{id}~1dispute/post/responses/401/content/application~1json/examples/sessionInvalid"]}}},{"code":"404","schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1payouts~1{id}~1dispute/post/responses/404/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1payouts~1{id}~1dispute/post/responses/404/content/application~1json/example"]}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/payouts/openpayoutdispute"}],"panels":[]}]},"httpPath":"/payouts/{id}/dispute"}],"content":{"contentType":"group","meta":{"name":"Payouts"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Payouts","showPageActions":true},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Выплаты рублей с USDT-баланса компании — на карту или по номеру телефона"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"через СБП. Списание происходит при создании заявки, провал возвращает"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"средства ровно один раз."},"children":[]}]}]}]}],"panels":[{"children":[{"kind":"group-items","title":"Operations","titleTranslationKey":"operations","items":[{"title":"/payouts/config","summary":"Payout conditions","prefix":{"name":"get","color":"get"},"badges":[],"link":"/payouts/getpayoutconfig","deprecated":false},{"title":"/payouts/banks","summary":"SBP bank directory","prefix":{"name":"get","color":"get"},"badges":[],"link":"/payouts/listpayoutbanks","deprecated":false},{"title":"/payouts/quote","summary":"Quote a payout","prefix":{"name":"post","color":"post"},"badges":[],"link":"/payouts/quotepayout","deprecated":false},{"title":"/payouts","summary":"Create a payout","prefix":{"name":"post","color":"post"},"badges":[],"link":"/payouts/createpayout","deprecated":false},{"title":"/payouts","summary":"List payouts","prefix":{"name":"get","color":"get"},"badges":[],"link":"/payouts/listpayouts","deprecated":false},{"title":"/payouts/{id}","summary":"Get payout status","prefix":{"name":"get","color":"get"},"badges":[],"link":"/payouts/getpayout","deprecated":false},{"title":"/payouts/{id}/cancel","summary":"Cancel a payout","prefix":{"name":"post","color":"post"},"badges":[],"link":"/payouts/cancelpayout","deprecated":false},{"title":"/payouts/{id}/dispute","summary":"Open a dispute","prefix":{"name":"post","color":"post"},"badges":[],"link":"/payouts/openpayoutdispute","deprecated":false}]}]}]}]}},{"type":"group","label":"Card Recharges","link":"/apis/card-recharges","routeSlug":"/apis/card-recharges","items":[{"label":"Recharge cost quote","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/card-recharges/quoterecharge","routeSlug":"/apis/card-recharges/quoterecharge","metadata":{"seo":{"title":"Recharge cost quote","description":"Calculates the total USDT debit for a recharge of targetAmountUSD (Lumo commission + processor fee). No funds move."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"quoteRecharge","name":"Recharge cost quote","isWebhook":false,"pointer":"/paths/~1cards~1recharge~1quote/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Recharge cost quote","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Calculates the total USDT debit for a recharge of "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"targetAmount"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"USD (Lumo commission + processor fee). No funds move."},"children":[]}]}]}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"apiKeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"X-API-Key","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Company API key."},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Service also accepts "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"Authorization: Bearer <api-key>"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" and "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"api_key"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" query param,"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"but "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"X-API-Key"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" is recommended."},"children":[]}]}]}]}]}]},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/RechargeRequest"}},"schemaId":"components/schemas/RechargeRequest","pointer":"/paths/~1cards~1recharge~1quote/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/cards/recharge/quote","servers":[{"url":"/_mock/apis","description":"Mock server","isMockServer":true},{"url":"https://b2b.lumowallet.io","description":"Production"},{"url":"https://b2b-staging.lumowallet.io","description":"Staging"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"apiKeyAuth","type":"apiKey","name":"X-API-Key","in":"header"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"components/schemas/RechargeRequest"}},"responseCodes":["200","400","401","403"],"pointer":"/cards/recharge/quote","href":"card-recharges/quoterecharge","openApiOperationId":"quoteRecharge","summary":"Recharge cost quote"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis","description":"Mock server","isMockServer":true},{"url":"https://b2b.lumowallet.io","description":"Production"},{"url":"https://b2b-staging.lumowallet.io","description":"Staging"}],"schemaId":"components/schemas/RechargeRequest","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/RechargeRequest"}},"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Quote","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/CardRechargeQuote"}},"schemaId":"components/schemas/CardRechargeQuote"},{"code":"400","description":"Invalid request (validation or malformed input)","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1cards~1recharge~1quote/post/responses/400/content/application~1json/examples/validation","paths/~1cards~1recharge~1quote/post/responses/400/content/application~1json/examples/badRequest"]}},"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1cards~1recharge~1quote/post/responses/400/content/application~1json/examples/validation","paths/~1cards~1recharge~1quote/post/responses/400/content/application~1json/examples/badRequest"]},{"code":"401","description":"Missing or invalid credentials (API key / session token).","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1cards~1recharge~1quote/post/responses/401/content/application~1json/examples/authRequired","paths/~1cards~1recharge~1quote/post/responses/401/content/application~1json/examples/invalidApiKey","paths/~1cards~1recharge~1quote/post/responses/401/content/application~1json/examples/sessionInvalid"]}},"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1cards~1recharge~1quote/post/responses/401/content/application~1json/examples/authRequired","paths/~1cards~1recharge~1quote/post/responses/401/content/application~1json/examples/invalidApiKey","paths/~1cards~1recharge~1quote/post/responses/401/content/application~1json/examples/sessionInvalid"]},{"code":"403","description":"Card access is not available. Either the company does not have cards\nenabled, or the API key lacks the required card permission.\n","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1cards~1recharge~1quote/post/responses/403/content/application~1json/examples/cardsNotEnabled","paths/~1cards~1recharge~1quote/post/responses/403/content/application~1json/examples/permissionDenied"]}},"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1cards~1recharge~1quote/post/responses/403/content/application~1json/examples/cardsNotEnabled","paths/~1cards~1recharge~1quote/post/responses/403/content/application~1json/examples/permissionDenied"]}],"pointer":"/paths/~1cards~1recharge~1quote/post/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"components/schemas/CardRechargeQuote","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/CardRechargeQuote"}}},{"code":"400","schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1cards~1recharge~1quote/post/responses/400/content/application~1json/examples/validation","paths/~1cards~1recharge~1quote/post/responses/400/content/application~1json/examples/badRequest"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1cards~1recharge~1quote/post/responses/400/content/application~1json/examples/validation","paths/~1cards~1recharge~1quote/post/responses/400/content/application~1json/examples/badRequest"]}}},{"code":"401","schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1cards~1recharge~1quote/post/responses/401/content/application~1json/examples/authRequired","paths/~1cards~1recharge~1quote/post/responses/401/content/application~1json/examples/invalidApiKey","paths/~1cards~1recharge~1quote/post/responses/401/content/application~1json/examples/sessionInvalid"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1cards~1recharge~1quote/post/responses/401/content/application~1json/examples/authRequired","paths/~1cards~1recharge~1quote/post/responses/401/content/application~1json/examples/invalidApiKey","paths/~1cards~1recharge~1quote/post/responses/401/content/application~1json/examples/sessionInvalid"]}}},{"code":"403","schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1cards~1recharge~1quote/post/responses/403/content/application~1json/examples/cardsNotEnabled","paths/~1cards~1recharge~1quote/post/responses/403/content/application~1json/examples/permissionDenied"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1cards~1recharge~1quote/post/responses/403/content/application~1json/examples/cardsNotEnabled","paths/~1cards~1recharge~1quote/post/responses/403/content/application~1json/examples/permissionDenied"]}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/card-recharges/quoterecharge"}],"panels":[]}]},"httpPath":"/cards/recharge/quote"},{"label":"Execute a recharge","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/card-recharges/executerecharge","routeSlug":"/apis/card-recharges/executerecharge","metadata":{"seo":{"title":"Execute a recharge","description":"Debits totalDebitUsdt (= userCharge + our commission) from thebalance and tops up the issuer card. Returns immediately withstatus: pending; final status arrives via card.recharge.*webhook. On processor error Lumo auto-refunds the debit."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"executeRecharge","name":"Execute a recharge","isWebhook":false,"pointer":"/paths/~1cards~1recharge/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Execute a recharge","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Debits "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"totalDebitUsdt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" (= userCharge + our commission) from the"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"balance and tops up the issuer card. Returns immediately with"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"status: pending"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"; final status arrives via "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"card.recharge.*"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"webhook. On processor error Lumo auto-refunds the debit."},"children":[]}]}]}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"apiKeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"X-API-Key","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Company API key."},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Service also accepts "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"Authorization: Bearer <api-key>"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" and "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"api_key"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" query param,"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"but "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"X-API-Key"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" is recommended."},"children":[]}]}]}]}]}]},{"nodeType":"item-content","variant":"headers","label":"Headers","labelTranslationKey":"header","parameters":[{"name":"Idempotency-Key","in":"header","schemaId":"schema_36","required":true}],"pointer":"/paths/~1cards~1recharge/post/parameters"},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/RechargeRequest"}},"schemaId":"components/schemas/RechargeRequest","pointer":"/paths/~1cards~1recharge/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/cards/recharge","servers":[{"url":"/_mock/apis","description":"Mock server","isMockServer":true},{"url":"https://b2b.lumowallet.io","description":"Production"},{"url":"https://b2b-staging.lumowallet.io","description":"Staging"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[{"name":"Idempotency-Key","in":"header","required":true,"schemaId":"schema_36"}],"cookie":[]},"security":[{"schemes":[{"id":"apiKeyAuth","type":"apiKey","name":"X-API-Key","in":"header"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"components/schemas/RechargeRequest"}},"responseCodes":["201","400","401","403","404","502"],"pointer":"/cards/recharge","href":"card-recharges/executerecharge","openApiOperationId":"executeRecharge","summary":"Execute a recharge"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis","description":"Mock server","isMockServer":true},{"url":"https://b2b.lumowallet.io","description":"Production"},{"url":"https://b2b-staging.lumowallet.io","description":"Staging"}],"schemaId":"components/schemas/RechargeRequest","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/RechargeRequest"}},"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"201","description":"Recharge created","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/CardRecharge"}},"schemaId":"components/schemas/CardRecharge"},{"code":"400","description":"The recharge request is invalid.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1cards~1recharge/post/responses/400/content/application~1json/examples/idempotencyKeyRequired","paths/~1cards~1recharge/post/responses/400/content/application~1json/examples/insufficientFunds","paths/~1cards~1recharge/post/responses/400/content/application~1json/examples/minAmount","paths/~1cards~1recharge/post/responses/400/content/application~1json/examples/cardRetired"]}},"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1cards~1recharge/post/responses/400/content/application~1json/examples/idempotencyKeyRequired","paths/~1cards~1recharge/post/responses/400/content/application~1json/examples/insufficientFunds","paths/~1cards~1recharge/post/responses/400/content/application~1json/examples/minAmount","paths/~1cards~1recharge/post/responses/400/content/application~1json/examples/cardRetired"]},{"code":"401","description":"Missing or invalid credentials (API key / session token).","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1cards~1recharge/post/responses/401/content/application~1json/examples/authRequired","paths/~1cards~1recharge/post/responses/401/content/application~1json/examples/invalidApiKey","paths/~1cards~1recharge/post/responses/401/content/application~1json/examples/sessionInvalid"]}},"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1cards~1recharge/post/responses/401/content/application~1json/examples/authRequired","paths/~1cards~1recharge/post/responses/401/content/application~1json/examples/invalidApiKey","paths/~1cards~1recharge/post/responses/401/content/application~1json/examples/sessionInvalid"]},{"code":"403","description":"Card access is not available. Either the company does not have cards\nenabled, or the API key lacks the required card permission.\n","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1cards~1recharge/post/responses/403/content/application~1json/examples/cardsNotEnabled","paths/~1cards~1recharge/post/responses/403/content/application~1json/examples/permissionDenied"]}},"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1cards~1recharge/post/responses/403/content/application~1json/examples/cardsNotEnabled","paths/~1cards~1recharge/post/responses/403/content/application~1json/examples/permissionDenied"]},{"code":"404","description":"Card or card request not found for this company.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1cards~1recharge/post/responses/404/content/application~1json/examples/cardNotFound","paths/~1cards~1recharge/post/responses/404/content/application~1json/examples/cardRequestNotFound"]}},"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1cards~1recharge/post/responses/404/content/application~1json/examples/cardNotFound","paths/~1cards~1recharge/post/responses/404/content/application~1json/examples/cardRequestNotFound"]},{"code":"502","description":"The upstream card issuer (upay-bridge) was unreachable or returned an\nerror. Safe to retry; use the same Idempotency-Key for mutations.\n","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1cards~1recharge/post/responses/502/content/application~1json/examples/bridgeError"]}},"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1cards~1recharge/post/responses/502/content/application~1json/examples/bridgeError"]}],"pointer":"/paths/~1cards~1recharge/post/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"201","schemaId":"components/schemas/CardRecharge","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/CardRecharge"}}},{"code":"400","schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1cards~1recharge/post/responses/400/content/application~1json/examples/idempotencyKeyRequired","paths/~1cards~1recharge/post/responses/400/content/application~1json/examples/insufficientFunds","paths/~1cards~1recharge/post/responses/400/content/application~1json/examples/minAmount","paths/~1cards~1recharge/post/responses/400/content/application~1json/examples/cardRetired"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1cards~1recharge/post/responses/400/content/application~1json/examples/idempotencyKeyRequired","paths/~1cards~1recharge/post/responses/400/content/application~1json/examples/insufficientFunds","paths/~1cards~1recharge/post/responses/400/content/application~1json/examples/minAmount","paths/~1cards~1recharge/post/responses/400/content/application~1json/examples/cardRetired"]}}},{"code":"401","schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1cards~1recharge/post/responses/401/content/application~1json/examples/authRequired","paths/~1cards~1recharge/post/responses/401/content/application~1json/examples/invalidApiKey","paths/~1cards~1recharge/post/responses/401/content/application~1json/examples/sessionInvalid"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1cards~1recharge/post/responses/401/content/application~1json/examples/authRequired","paths/~1cards~1recharge/post/responses/401/content/application~1json/examples/invalidApiKey","paths/~1cards~1recharge/post/responses/401/content/application~1json/examples/sessionInvalid"]}}},{"code":"403","schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1cards~1recharge/post/responses/403/content/application~1json/examples/cardsNotEnabled","paths/~1cards~1recharge/post/responses/403/content/application~1json/examples/permissionDenied"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1cards~1recharge/post/responses/403/content/application~1json/examples/cardsNotEnabled","paths/~1cards~1recharge/post/responses/403/content/application~1json/examples/permissionDenied"]}}},{"code":"404","schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1cards~1recharge/post/responses/404/content/application~1json/examples/cardNotFound","paths/~1cards~1recharge/post/responses/404/content/application~1json/examples/cardRequestNotFound"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1cards~1recharge/post/responses/404/content/application~1json/examples/cardNotFound","paths/~1cards~1recharge/post/responses/404/content/application~1json/examples/cardRequestNotFound"]}}},{"code":"502","schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1cards~1recharge/post/responses/502/content/application~1json/examples/bridgeError"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1cards~1recharge/post/responses/502/content/application~1json/examples/bridgeError"]}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/card-recharges/executerecharge"}],"panels":[]}]},"httpPath":"/cards/recharge"},{"label":"List recharges for the company","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/card-recharges/listrecharges","routeSlug":"/apis/card-recharges/listrecharges","metadata":{"seo":{"title":"List recharges for the company","description":"List recharges for the company"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"listRecharges","name":"List recharges for the company","isWebhook":false,"pointer":"/paths/~1cards~1recharges/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"List recharges for the company","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"security","requirements":[{"schemes":[{"name":"apiKeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"X-API-Key","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Company API key."},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Service also accepts "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"Authorization: Bearer <api-key>"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" and "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"api_key"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" query param,"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"but "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"X-API-Key"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" is recommended."},"children":[]}]}]}]}]}]},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"limit","in":"query","schemaId":"schema_41"},{"name":"before","in":"query","schemaId":"schema_44"}],"pointer":"/paths/~1cards~1recharges/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/cards/recharges","servers":[{"url":"/_mock/apis","description":"Mock server","isMockServer":true},{"url":"https://b2b.lumowallet.io","description":"Production"},{"url":"https://b2b-staging.lumowallet.io","description":"Staging"}],"parameters":{"path":[],"query":[{"name":"limit","in":"query","schemaId":"schema_41"},{"name":"before","in":"query","schemaId":"schema_44"}],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"apiKeyAuth","type":"apiKey","name":"X-API-Key","in":"header"}],"scopes":[]}],"responseCodes":["200","401","403"],"pointer":"/cards/recharges","href":"card-recharges/listrecharges","openApiOperationId":"listRecharges","summary":"List recharges for the company"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis","description":"Mock server","isMockServer":true},{"url":"https://b2b.lumowallet.io","description":"Production"},{"url":"https://b2b-staging.lumowallet.io","description":"Staging"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Recharges page","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_65"}},"schemaId":"schema_65"},{"code":"401","description":"Missing or invalid credentials (API key / session token).","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1cards~1recharges/get/responses/401/content/application~1json/examples/authRequired","paths/~1cards~1recharges/get/responses/401/content/application~1json/examples/invalidApiKey","paths/~1cards~1recharges/get/responses/401/content/application~1json/examples/sessionInvalid"]}},"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1cards~1recharges/get/responses/401/content/application~1json/examples/authRequired","paths/~1cards~1recharges/get/responses/401/content/application~1json/examples/invalidApiKey","paths/~1cards~1recharges/get/responses/401/content/application~1json/examples/sessionInvalid"]},{"code":"403","description":"Card access is not available. Either the company does not have cards\nenabled, or the API key lacks the required card permission.\n","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1cards~1recharges/get/responses/403/content/application~1json/examples/cardsNotEnabled","paths/~1cards~1recharges/get/responses/403/content/application~1json/examples/permissionDenied"]}},"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1cards~1recharges/get/responses/403/content/application~1json/examples/cardsNotEnabled","paths/~1cards~1recharges/get/responses/403/content/application~1json/examples/permissionDenied"]}],"pointer":"/paths/~1cards~1recharges/get/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"schema_65","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_65"}}},{"code":"401","schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1cards~1recharges/get/responses/401/content/application~1json/examples/authRequired","paths/~1cards~1recharges/get/responses/401/content/application~1json/examples/invalidApiKey","paths/~1cards~1recharges/get/responses/401/content/application~1json/examples/sessionInvalid"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1cards~1recharges/get/responses/401/content/application~1json/examples/authRequired","paths/~1cards~1recharges/get/responses/401/content/application~1json/examples/invalidApiKey","paths/~1cards~1recharges/get/responses/401/content/application~1json/examples/sessionInvalid"]}}},{"code":"403","schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1cards~1recharges/get/responses/403/content/application~1json/examples/cardsNotEnabled","paths/~1cards~1recharges/get/responses/403/content/application~1json/examples/permissionDenied"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ErrorResponse","exampleIds":["paths/~1cards~1recharges/get/responses/403/content/application~1json/examples/cardsNotEnabled","paths/~1cards~1recharges/get/responses/403/content/application~1json/examples/permissionDenied"]}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/card-recharges/listrecharges"}],"panels":[]}]},"httpPath":"/cards/recharges"}],"content":{"contentType":"group","meta":{"name":"Card Recharges"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Card Recharges","showPageActions":true},{"nodeType":"markdoc","content":"Quote-then-execute card top-ups, recharge history."}],"panels":[{"children":[{"kind":"group-items","title":"Operations","titleTranslationKey":"operations","items":[{"title":"/cards/recharge/quote","summary":"Recharge cost quote","prefix":{"name":"post","color":"post"},"badges":[],"link":"/card-recharges/quoterecharge","deprecated":false},{"title":"/cards/recharge","summary":"Execute a recharge","prefix":{"name":"post","color":"post"},"badges":[],"link":"/card-recharges/executerecharge","deprecated":false},{"title":"/cards/recharges","summary":"List recharges for the company","prefix":{"name":"get","color":"get"},"badges":[],"link":"/card-recharges/listrecharges","deprecated":false}]}]}]}]}}],"store":{"schemaStore":{"components/schemas/ErrorResponse":{"id":"components/schemas/ErrorResponse","kind":"json-schema","title":"ErrorResponse","data":{"type":"object","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Unified error envelope returned by every endpoint. Branch on the"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"stable, machine-readable "},"children":[]},{"$$mdtype":"Node","type":"strong","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"errorCode"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" — it is always present and"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"is the canonical discriminator. "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"statusCode"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"error"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" and "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"message"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"remain for human readability and backward compatibility."},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Backward compatibility (additive — no field was removed or renamed):"},"children":[]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"message"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" keeps its type: a string for most errors, or an array of"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"strings for request-body validation ("},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"errorCode: VALIDATION_ERROR"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":")."},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"error"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" is the HTTP reason phrase (e.g. "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"Bad Request"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"). For the"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"legacy permission error it stays "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"PERMISSION_DENIED"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"."},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"permission errors also keep the top-level "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"required"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" field."},"children":[]}]}]}]}],"required":["statusCode","error","errorCode","message"],"properties":{"statusCode":{"type":"integer","description":"HTTP status code.","example":400},"error":{"type":"string","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"HTTP reason phrase (legacy "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"PERMISSION_DENIED"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" for permission errors)."},"children":[]}]}]}],"example":"Bad Request"},"errorCode":{"type":"string","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Stable machine-readable code — always present. New codes may be"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"added over time, so treat unknown values as a generic failure for"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"the given "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"statusCode"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"."},"children":[]}]}]}],"enum":["VALIDATION_ERROR","BAD_REQUEST","UNAUTHORIZED","FORBIDDEN","NOT_FOUND","CONFLICT","UNPROCESSABLE","INTERNAL_ERROR","SERVICE_UNAVAILABLE","BAD_GATEWAY","AUTH_REQUIRED","INVALID_API_KEY","INVALID_CREDENTIALS","SESSION_INVALID","COMPANY_INACTIVE","NO_COMPANY_MEMBERSHIP","PERMISSION_DENIED","ACCOUNT_ALREADY_EXISTS","QR_AMOUNT_MISSING","QR_INVALID","QR_RESOLVE_FAILED","AMOUNT_BELOW_MIN","AMOUNT_ABOVE_MAX","ST00012_SUM_MISSING","ST00012_SUM_INVALID","GIBDD_UIN_INVALID","FINE_ALREADY_PAID","FINE_NOT_FOUND","QUOTE_NOT_FOUND","QUOTE_EXPIRED","INSUFFICIENT_BALANCE","COMPANY_NOT_FOUND","ORDER_NOT_FOUND","UNSUPPORTED_CALLBACK_STATUS","DRIVER_HELPER_TRANSIENT","WALLET_BACKEND_ERROR","DISPUTE_NOT_FOUND","DISPUTE_NOT_ALLOWED","IDEMPOTENCY_KEY_REQUIRED","CARDS_NOT_ENABLED","CARD_NOT_FOUND","CARD_REQUEST_NOT_FOUND","CARD_REQUEST_NOT_CANCELABLE","CARD_NOT_ACTIVE","CARD_NOT_OWNED","CARD_RECHARGE_INVALID","CARD_EXTERNAL_ID_TAKEN","BRIDGE_ERROR","MEMBER_NOT_FOUND","CANNOT_CHANGE_OWN_ROLE","ROLE_CHANGE_NOT_ALLOWED","INVITE_NOT_FOUND","INVITE_USED","INVITE_EXPIRED","INVITE_INVALID","WEBHOOK_DELIVERY_NOT_FOUND","WEBHOOK_URL_NOT_CONFIGURED","INVALID_SIGNATURE","PAYOUTS_NOT_ENABLED","PAYOUT_NOT_FOUND","PAYOUT_REQUISITE_INVALID","PAYOUT_BANK_UNKNOWN","PAYOUT_BANK_REQUIRED","PAYOUT_ACTIVE_LIMIT","PAYOUT_REQUISITE_COOLDOWN","PAYOUT_OUTSIDE_WORKING_HOURS","PAYOUT_NOT_CANCELABLE","PAYOUT_DISPUTE_NOT_ALLOWED","PAYOUT_SERVICE_REJECTED","PAYOUT_SERVICE_UNAVAILABLE"],"example":"QR_INVALID"},"message":{"description":"Human-readable message (RU). Array of strings for validation errors.","oneOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}]},"details":{"type":"object","additionalProperties":true,"description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Optional structured context for the error, e.g."},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"{ \"required\": \"orders:create\" }"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"{ \"minAmountRub\": 100 }"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":","},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"or "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"{ \"nspkCode\": \"RQ00010\" }"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"."},"children":[]}]}]}],"example":{"nspkCode":"RQ00010"}},"required":{"type":"string","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Present only for "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"PERMISSION_DENIED"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" — the permission the API key is missing."},"children":[]}]}]}],"example":"orders:create"},"path":{"type":"string","description":"Request path that produced the error.","example":"/orders/prepare"},"timestamp":{"type":"string","format":"date-time","description":"When the error was produced (ISO 8601).","example":"2026-05-27T16:41:49.000Z"},"requestId":{"type":"string","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Correlation id, also returned in the "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"X-Request-Id"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" response header."},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Quote it when contacting support."},"children":[]}]}]}],"example":"439436bd-201c-4084-9063-58cfa2cd40ad"}}}},"components/schemas/CreateCompanyAccountRequest":{"id":"components/schemas/CreateCompanyAccountRequest","kind":"json-schema","title":"CreateCompanyAccountRequest","data":{"type":"object","required":["companyName","email","password"],"properties":{"companyName":{"type":"string","example":"Acme LLC"},"email":{"type":"string","format":"email","example":"owner@acme.com"},"password":{"type":"string","minLength":8,"example":"supersecret123"},"contactTelegram":{"type":"string","example":"@acme_support"},"webhookUrl":{"type":"string","example":"https://merchant.example.com/webhooks/lumo"},"depositForwardAddress":{"type":"string","example":"TQ2x4..."}}}},"components/schemas/LoginRequest":{"id":"components/schemas/LoginRequest","kind":"json-schema","title":"LoginRequest","data":{"type":"object","required":["email","password"],"properties":{"email":{"type":"string","format":"email"},"password":{"type":"string"}}}},"components/schemas/CompanyInfo":{"id":"components/schemas/CompanyInfo","kind":"json-schema","title":"CompanyInfo","data":{"type":"object","required":["id","name","email"],"properties":{"id":{"type":"string","format":"uuid"},"name":{"type":"string"},"email":{"type":"string","format":"email"}}}},"components/schemas/CompanyAuthResponse":{"id":"components/schemas/CompanyAuthResponse","kind":"json-schema","title":"CompanyAuthResponse","data":{"type":"object","required":["company","apiKey"],"properties":{"company":{"$ref":"#/components/schemas/CompanyInfo"},"apiKey":{"type":"string","description":"Save securely; used for company API auth.","example":"lb2b_5f7f1f7b7f034dbf81b0b8b8d7c0b9f1"}}}},"components/schemas/CompanyProfile":{"id":"components/schemas/CompanyProfile","kind":"json-schema","title":"CompanyProfile","data":{"type":"object","required":["id","name","email","isActive"],"properties":{"id":{"type":"string","format":"uuid"},"name":{"type":"string"},"email":{"type":"string","format":"email"},"contactEmail":{"type":["string","null"],"format":"email"},"contactTelegram":{"type":["string","null"]},"isActive":{"type":"boolean"},"webhookUrl":{"type":["string","null"]},"depositForwardAddress":{"type":["string","null"],"description":"TRON address where captured deposits are forwarded after fee is charged"}}}},"components/schemas/UpdateCompanyProfileRequest":{"id":"components/schemas/UpdateCompanyProfileRequest","kind":"json-schema","title":"UpdateCompanyProfileRequest","data":{"type":"object","properties":{"webhookUrl":{"type":"string","format":"uri","example":"https://merchant.example.com/webhooks/lumo"},"depositForwardAddress":{"type":"string","description":"TRON address where captured deposits are forwarded","example":"TQ2x4..."}}}},"components/schemas/RateResponse":{"id":"components/schemas/RateResponse","kind":"json-schema","title":"RateResponse","data":{"type":"object","required":["rate","effectiveRate","baseRate","offsetBps","minAmountRub","maxAmountRub","pair","timestamp"],"properties":{"rate":{"type":"number","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Final RUB/USDT rate applied to this company's QR orders"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"(base × (1 + offsetBps/10000)). Same value as"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"effectiveRate"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"."},"children":[]}]}]}],"example":91.575},"effectiveRate":{"type":"number","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Alias for "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"rate"},"children":[]}]}]}],"example":91.575},"baseRate":{"type":"number","description":"Raw Rapira USDT/RUB ask price","example":92.5},"offsetBps":{"type":"integer","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Per-company commission in basis points. Negative values"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"reduce the rate (= our commission). 0 = no commission."},"children":[]}]}]}],"example":-100},"minAmountRub":{"type":"number","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Minimum RUB amount accepted by "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"/orders/prepare"},"children":[]}]}]}],"example":0},"maxAmountRub":{"type":"number","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Maximum RUB amount accepted by "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"/orders/prepare"},"children":[]}]}]}],"example":1000000},"pair":{"type":"string","example":"USDT/RUB"},"timestamp":{"type":"string","format":"date-time"}}}},"components/schemas/PrepareOrderRequest":{"id":"components/schemas/PrepareOrderRequest","kind":"json-schema","title":"PrepareOrderRequest","data":{"type":"object","required":["qrCode"],"properties":{"qrCode":{"type":"string","maxLength":4000,"description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"What to pay. One of:"},"children":[]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"NSPK/SBP QR — "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"qr.nspk.ru"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" URL, bank deep link, or"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"multiqr.ru"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" / "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"platiqr.ru"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" link;"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"ST00012|..."},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" — utility / budget payment (ЖКХ), amount from "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"Sum"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":";"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"gibdd:uin:{20–25 digits}"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" — ГИБДД fine by UIN."},"children":[]}]}]}]}]},"externalOrderId":{"type":"string","maxLength":255}}}},"components/schemas/PaymentType":{"id":"components/schemas/PaymentType","kind":"json-schema","title":"PaymentType","data":{"type":"string","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Detected from the "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"qrCode"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" field:"},"children":[]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"nspk"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" — QR СБП/NSPK (including multiqr / platiqr);"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"st00012"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" — utility / budget payment (ЖКХ);"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"gibdd_uin"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" — ГИБДД fine by UIN."},"children":[]}]}]}]}],"enum":["nspk","st00012","gibdd_uin"]}},"components/schemas/PrepareOrderResponse":{"id":"components/schemas/PrepareOrderResponse","kind":"json-schema","title":"PrepareOrderResponse","data":{"type":"object","required":["id","amountRub","amountUsdt","rate","paymentType","expiresAt","isBalanceSufficient"],"properties":{"id":{"type":"string","format":"uuid"},"amountRub":{"type":"number"},"amountUsdt":{"type":"number"},"rate":{"type":"number","description":"RUB/USDT rate used for conversion"},"paymentType":{"$ref":"#/components/schemas/PaymentType"},"expiresAt":{"type":"string","format":"date-time"},"isBalanceSufficient":{"type":"boolean"},"merchantName":{"type":["string","null"],"description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Payee/brand name when available. For ST00012 it is "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"ЖКХ"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":", for"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"ГИБДД fines it is "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"ГИБДД"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"."},"children":[]}]}]}]}}}},"components/schemas/OrderStatus":{"id":"components/schemas/OrderStatus","kind":"json-schema","title":"OrderStatus","data":{"type":"string","enum":["created","in_progress","success","failed","expired_no_taker","expired_by_system","disputed"]}},"components/schemas/Order":{"id":"components/schemas/Order","kind":"json-schema","title":"Order","data":{"type":"object","required":["id","amountUsdt","amountRub","status","paymentType","paymentUntil","createdAt"],"properties":{"id":{"type":"string","format":"uuid"},"amountUsdt":{"type":"number"},"amountRub":{"type":"number"},"status":{"$ref":"#/components/schemas/OrderStatus"},"paymentType":{"$ref":"#/components/schemas/PaymentType"},"paymentUntil":{"type":"string","format":"date-time"},"merchantName":{"type":["string","null"]},"externalOrderId":{"type":["string","null"]},"completedAt":{"type":["string","null"],"format":"date-time"},"failureReason":{"type":["string","null"]},"createdAt":{"type":"string","format":"date-time"}}}},"components/schemas/OrdersListResponse":{"id":"components/schemas/OrdersListResponse","kind":"json-schema","title":"OrdersListResponse","data":{"type":"object","required":["orders","total"],"properties":{"orders":{"type":"array","items":{"$ref":"#/components/schemas/Order"}},"total":{"type":"integer"}}}},"components/schemas/DisputeStatus":{"id":"components/schemas/DisputeStatus","kind":"json-schema","title":"DisputeStatus","data":{"type":"string","enum":["submitted","in_review","resolved","rejected"]}},"components/schemas/DisputeResolution":{"id":"components/schemas/DisputeResolution","kind":"json-schema","title":"DisputeResolution","data":{"type":"string","enum":["refund","confirm","partial_refund"]}},"components/schemas/CreateDisputeRequest":{"id":"components/schemas/CreateDisputeRequest","kind":"json-schema","title":"CreateDisputeRequest","data":{"type":"object","required":["reason"],"properties":{"reason":{"type":"string"}}}},"components/schemas/Dispute":{"id":"components/schemas/Dispute","kind":"json-schema","title":"Dispute","data":{"type":"object","required":["id","orderId","status","reason","createdAt","updatedAt"],"properties":{"id":{"type":"string","format":"uuid"},"orderId":{"type":"string","format":"uuid"},"status":{"$ref":"#/components/schemas/DisputeStatus"},"resolution":{"description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"The outcome. Set when the dispute is resolved — read this rather than"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"status"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":", which only says whether it has been looked at."},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"refund"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" / "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"partial_refund"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" = payment reversed (order → "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"failed"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"),"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"confirm"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" = dispute turned down, payment stands (order → "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"success"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":")."},"children":[]}]}]}],"oneOf":[{"$ref":"#/components/schemas/DisputeResolution"},{"type":"null"}]},"reason":{"type":"string"},"adminComment":{"type":["string","null"]},"resolvedBy":{"type":["string","null"]},"refundAmount":{"type":["number","null"],"description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"How much of the order was reversed: the full order amount for"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"refund"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":", the returned part for "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"partial_refund"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"null"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" for"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"confirm"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":". This is "},"children":[]},{"$$mdtype":"Node","type":"strong","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"not"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" the amount credited to your balance —"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"if the funds were still on hold, resolving only releases the hold."},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"See "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"GET /wallets/balance-history"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" ("},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"referenceId = orderId"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":")."},"children":[]}]}]}]},"resolvedAt":{"type":["string","null"],"format":"date-time","description":"Resolution timestamp (admin or wallet callback sync)."},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"order":{"description":"The order this dispute belongs to, embedded so you don't need a\nsecond call. Additional internal fields may be present in the\npayload; only the ones listed here are part of the contract.\n","type":"object","properties":{"id":{"type":"string","format":"uuid"},"externalOrderId":{"type":["string","null"],"description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Your own identifier, passed at "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"POST /orders/prepare"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"."},"children":[]}]}]}]},"status":{"$ref":"#/components/schemas/OrderStatus"},"amountUsdt":{"type":"number"},"amountRub":{"type":"number"},"rate":{"type":"number","description":"Effective USDT/RUB rate applied to this order."},"nspkBrandName":{"type":["string","null"],"description":"Merchant name as the payment system reported it."},"createdAt":{"type":"string","format":"date-time"}}}}}},"components/schemas/BalanceHistoryEntry":{"id":"components/schemas/BalanceHistoryEntry","kind":"json-schema","title":"BalanceHistoryEntry","data":{"type":"object","required":["id","createdAt","balanceBefore","balanceAfter","deltaBalance","frozenBefore","frozenAfter","deltaFrozen"],"properties":{"id":{"type":"string","format":"uuid"},"createdAt":{"type":"string","format":"date-time"},"operationType":{"type":["string","null"],"description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"What caused the movement. Common values — deposits:"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"company_deposit_credit"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"company_deposit_fee_charge"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"; orders:"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"order_frozen_increase"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"order_success_settlement"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":","},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"order_failed_unfreeze"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"order_failed_refund_after_success"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":","},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"order_success_settlement_after_dispute"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"order_partial_refund"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":";"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"cards: "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"card_request_freeze"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"card_request_release"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":","},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"card_opening_fee_debit"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"card_recharge_debit"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":","},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"card_recharge_refund"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"card_recharge_failed_refund"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":","},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"card_closure_refund"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":". Manual corrections appear under their own"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"names — the list is open-ended."},"children":[]}]}]}],"example":"order_success_settlement"},"referenceId":{"type":["string","null"],"description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"orderId"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"depositId"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"rechargeId"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" or "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"cardId"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":", depending on the operation."},"children":[]}]}]}]},"balanceBefore":{"type":"number"},"balanceAfter":{"type":"number"},"deltaBalance":{"type":"number","description":"Change to the available balance. Zero means no money moved."},"frozenBefore":{"type":"number"},"frozenAfter":{"type":"number"},"deltaFrozen":{"type":"number","description":"Change to the held (frozen) amount. A hold is not a debit."},"metadata":{"type":["object","null"],"additionalProperties":true}}}},"components/schemas/CompanyWallet":{"id":"components/schemas/CompanyWallet","kind":"json-schema","title":"CompanyWallet","data":{"type":"object","required":["id","address","createdAt"],"properties":{"id":{"type":"string","format":"uuid"},"address":{"type":"string","description":"TRON address for USDT TRC-20 deposits"},"createdAt":{"type":"string","format":"date-time"}}}},"components/schemas/CompanyWalletBalance":{"id":"components/schemas/CompanyWalletBalance","kind":"json-schema","title":"CompanyWalletBalance","data":{"type":"object","required":["address","usdtBalance","trxBalance"],"properties":{"address":{"type":"string"},"usdtBalance":{"type":"number"},"trxBalance":{"type":"number"}}}},"components/schemas/CompanyDepositStatus":{"id":"components/schemas/CompanyDepositStatus","kind":"json-schema","title":"CompanyDepositStatus","data":{"type":"string","enum":["new","on_hold_insufficient_balance","fee_charged","aml_pending","aml_passed","aml_failed","forwarding","sweeping","completed","failed"]}},"components/schemas/CompanyDeposit":{"id":"components/schemas/CompanyDeposit","kind":"json-schema","title":"CompanyDeposit","data":{"type":"object","required":["id","txHash","amount","status","blockTimestamp","createdAt"],"properties":{"id":{"type":"string","format":"uuid"},"txHash":{"type":"string"},"amount":{"type":"number"},"status":{"$ref":"#/components/schemas/CompanyDepositStatus"},"fromAddress":{"type":["string","null"]},"sweepTxHash":{"type":["string","null"]},"error":{"type":["string","null"]},"blockTimestamp":{"type":"string","format":"date-time"},"createdAt":{"type":"string","format":"date-time"}}}},"components/schemas/CompanyDepositsListResponse":{"id":"components/schemas/CompanyDepositsListResponse","kind":"json-schema","title":"CompanyDepositsListResponse","data":{"type":"object","required":["deposits","total"],"properties":{"deposits":{"type":"array","items":{"$ref":"#/components/schemas/CompanyDeposit"}},"total":{"type":"integer"}}}},"components/schemas/CreateUserWalletRequest":{"id":"components/schemas/CreateUserWalletRequest","kind":"json-schema","title":"CreateUserWalletRequest","data":{"type":"object","required":["externalId"],"properties":{"externalId":{"type":"string","description":"User ID in merchant system"}}}},"components/schemas/UserWallet":{"id":"components/schemas/UserWallet","kind":"json-schema","title":"UserWallet","data":{"type":"object","required":["id","companyId","externalId","address","isBlocked","lastUsdtBalance","lastTrxBalance","createdAt"],"properties":{"id":{"type":"string","format":"uuid"},"companyId":{"type":"string","format":"uuid"},"externalId":{"type":"string"},"address":{"type":"string"},"isBlocked":{"type":"boolean"},"blockReason":{"type":["string","null"]},"lastUsdtBalance":{"type":"number"},"lastTrxBalance":{"type":"number"},"createdAt":{"type":"string","format":"date-time"}}}},"components/schemas/UserWalletsListResponse":{"id":"components/schemas/UserWalletsListResponse","kind":"json-schema","title":"UserWalletsListResponse","data":{"type":"object","required":["wallets","total"],"properties":{"wallets":{"type":"array","items":{"$ref":"#/components/schemas/UserWallet"}},"total":{"type":"integer"}}}},"components/schemas/BlockWalletRequest":{"id":"components/schemas/BlockWalletRequest","kind":"json-schema","title":"BlockWalletRequest","data":{"type":"object","required":["reason"],"properties":{"reason":{"type":"string"}}}},"components/schemas/ReplaceWalletRequest":{"id":"components/schemas/ReplaceWalletRequest","kind":"json-schema","title":"ReplaceWalletRequest","data":{"type":"object","properties":{"reason":{"type":"string"}}}},"components/schemas/UserDepositStatus":{"id":"components/schemas/UserDepositStatus","kind":"json-schema","title":"UserDepositStatus","data":{"type":"string","description":"Wallet-backend statuses may include legacy and normalized values.\n","enum":["new","aml_pending","aml_pass","aml_fail","aml_passed","aml_failed","sweeping","completed","failed"]}},"components/schemas/UserDeposit":{"id":"components/schemas/UserDeposit","kind":"json-schema","title":"UserDeposit","data":{"type":"object","required":["id","companyId","walletId","externalId","walletAddress","txHash","amount","status","createdAt"],"properties":{"id":{"type":"string","format":"uuid"},"companyId":{"type":"string","format":"uuid"},"walletId":{"type":"string","format":"uuid"},"externalId":{"type":"string"},"walletAddress":{"type":"string"},"txHash":{"type":"string"},"fromAddress":{"type":["string","null"]},"amount":{"type":"number"},"status":{"$ref":"#/components/schemas/UserDepositStatus"},"amlCheckId":{"type":["string","null"]},"amlRiskIndicator":{"type":["string","null"]},"sweepTxHash":{"type":["string","null"]},"error":{"type":["string","null"]},"blockTimestamp":{"type":["string","null"],"format":"date-time"},"createdAt":{"type":"string","format":"date-time"}}}},"components/schemas/UserDepositsListResponse":{"id":"components/schemas/UserDepositsListResponse","kind":"json-schema","title":"UserDepositsListResponse","data":{"type":"object","required":["deposits","total"],"properties":{"deposits":{"type":"array","items":{"$ref":"#/components/schemas/UserDeposit"}},"total":{"type":"integer"}}}},"components/schemas/CardStatus":{"id":"components/schemas/CardStatus","kind":"json-schema","title":"CardStatus","data":{"type":"string","enum":["requested","assigned","closing","closed","retired","failed"],"description":[{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"requested"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" — заявка в очереди, карта будет выпущена позже"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"assigned"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" — активна, можно пополнять и использовать"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"closing"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" — запрошено закрытие, идёт обработка"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"closed"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" — закрыта, остаток возвращён на баланс компании"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"retired"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" — устаревший статус закрытых карт (эквивалентен "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"closed"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":")"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"failed"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" — эквайер не смог выпустить карту"},"children":[]}]}]}]}]}},"components/schemas/CardRequestBody":{"id":"components/schemas/CardRequestBody","kind":"json-schema","title":"CardRequestBody","data":{"type":"object","properties":{"externalId":{"type":"string","maxLength":128,"description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Идентификатор карты в вашей системе. Уникален в рамках компании."},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Допустимы печатаемые ASCII-символы без пробелов."},"children":[]}]}]}],"example":"user-42-card-1"}}}},"components/schemas/Card":{"id":"components/schemas/Card","kind":"json-schema","title":"Card","data":{"type":"object","required":["id","status","createdAt"],"properties":{"id":{"type":"string","format":"uuid"},"externalId":{"type":["string","null"],"description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Идентификатор карты в вашей системе, если был передан при выпуске"},"children":[]}]}]}],"example":"user-42-card-1"},"status":{"$ref":"#/components/schemas/CardStatus"},"maskedPan":{"type":["string","null"],"example":"4466 ** ** 1234"},"expiry":{"type":["string","null"],"description":"MM/YY","example":"03/29"},"assignedAt":{"type":["string","null"],"format":"date-time"},"createdAt":{"type":"string","format":"date-time"}}}},"components/schemas/CardRequestRow":{"id":"components/schemas/CardRequestRow","kind":"json-schema","title":"CardRequestRow","data":{"type":"object","required":["id","status","createdAt"],"properties":{"id":{"type":"string","format":"uuid"},"externalId":{"type":["string","null"],"description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Идентификатор из заявки; переезжает на карту при выдаче"},"children":[]}]}]}],"example":"user-42-card-1"},"status":{"type":"string","enum":["pending","fulfilled","cancelled","failed"]},"cardId":{"type":["string","null"],"format":"uuid"},"createdAt":{"type":"string","format":"date-time"}}}},"components/schemas/CardRequestAssignedResult":{"id":"components/schemas/CardRequestAssignedResult","kind":"json-schema","title":"CardRequestAssignedResult","data":{"type":"object","required":["status","card"],"properties":{"status":{"type":"string","enum":["assigned"]},"card":{"$ref":"#/components/schemas/Card"}}}},"components/schemas/CardRequestPendingResult":{"id":"components/schemas/CardRequestPendingResult","kind":"json-schema","title":"CardRequestPendingResult","data":{"type":"object","required":["status","request"],"properties":{"status":{"type":"string","enum":["pending"]},"request":{"$ref":"#/components/schemas/CardRequestRow"}}}},"components/schemas/CardBalance":{"id":"components/schemas/CardBalance","kind":"json-schema","title":"CardBalance","data":{"type":"object","required":["balance","currency","fetchedAt"],"properties":{"balance":{"type":"string","description":"Current card balance, decimal string from the issuer","example":"42.17"},"currency":{"type":"string","description":"ISO 4217 currency code returned by the issuer","example":"USD"},"fetchedAt":{"type":"string","format":"date-time","description":"When the bridge fetched (or last cached) the value"}}}},"components/schemas/CardSensitive":{"id":"components/schemas/CardSensitive","kind":"json-schema","title":"CardSensitive","data":{"type":"object","required":["cardId"],"properties":{"cardId":{"type":"string","format":"uuid"},"cardNumberFull":{"type":["string","null"],"example":"4466123412341234"},"cardCvv":{"type":["string","null"],"example":"123"},"expiry":{"type":["string","null"],"example":"03/29"}}}},"components/schemas/CardOtp":{"id":"components/schemas/CardOtp","kind":"json-schema","title":"CardOtp","data":{"type":"object","required":["id","cardId","code","receivedAt","expiresAt"],"properties":{"id":{"type":"string","format":"uuid"},"cardId":{"type":"string","format":"uuid"},"code":{"type":"string","example":"582130"},"maskedCard":{"type":["string","null"]},"subject":{"type":["string","null"],"example":"3DS Verification"},"receivedAt":{"type":"string","format":"date-time"},"expiresAt":{"type":"string","format":"date-time"},"consumedAt":{"type":["string","null"],"format":"date-time"}}}},"components/schemas/CardTransaction":{"id":"components/schemas/CardTransaction","kind":"json-schema","title":"CardTransaction","data":{"type":"object","required":["id","cardId","processorBillId","amount","transactionTime"],"properties":{"id":{"type":"string","format":"uuid"},"cardId":{"type":"string","format":"uuid"},"processorBillId":{"type":"string","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Issuer's transaction id — quote it in support tickets"},"children":[]}]}]}]},"processorOrderNo":{"type":["string","null"]},"type":{"type":"integer"},"typeName":{"type":["string","null"],"description":"purchase / refund / recharge / reversal"},"status":{"type":"integer"},"statusName":{"type":["string","null"],"description":"pending / succeeded / failed"},"direction":{"type":["integer","null"]},"directionName":{"type":["string","null"],"description":"debit / credit"},"amount":{"type":"string","description":"Decimal string in the card currency"},"fee":{"type":["string","null"]},"currency":{"type":["string","null"],"example":"USD"},"originalAmount":{"type":["string","null"],"description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Amount at the merchant, before conversion to the card currency."},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A 910 TRY purchase reads "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"amount: \"19.6248\""},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"currency: \"USD\""},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":","},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"originalAmount: \"910\""},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"originalCurrency: \"TRY\""},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"."},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"null"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" on operations with no conversion (recharge, card closure)."},"children":[]}]}]}],"example":"910"},"originalCurrency":{"type":["string","null"],"example":"TRY"},"cardMaskedPan":{"type":["string","null"],"description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Only populated by the account-wide "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"GET /cards/transactions"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"."},"children":[]}]}]}]},"merchantName":{"type":["string","null"]},"merchantMcc":{"type":["string","null"],"description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Merchant category code (MCC), as reported by the acquirer. Present on purchases where the acquirer sent it; "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"null"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" on top-ups, card closures and rows without a merchant."},"children":[]}]}]}],"example":"5816"},"ditchCode":{"type":["string","null"],"description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Acquiring channel, not a merchant category. Kept for backwards compatibility — use "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"merchantMcc"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" for the MCC."},"children":[]}]}]}],"example":"straitsx"},"reason":{"type":["string","null"]},"transactionTime":{"type":"string","format":"date-time"},"syncedAt":{"type":"string","format":"date-time"}}}},"components/schemas/RechargeRequest":{"id":"components/schemas/RechargeRequest","kind":"json-schema","title":"RechargeRequest","data":{"type":"object","required":["cardId","targetAmount"],"properties":{"cardId":{"type":"string","format":"uuid"},"targetAmount":{"type":"number","description":"USD amount that should land on the card","example":50}}}},"components/schemas/CardRechargeQuote":{"id":"components/schemas/CardRechargeQuote","kind":"json-schema","title":"CardRechargeQuote","data":{"type":"object","required":["cardId","targetAmount","totalDebitUsdt","commissionUsdt","currency"],"properties":{"cardId":{"type":"string","format":"uuid"},"targetAmount":{"type":"number"},"processorFeeBps":{"type":"integer","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Issuer fee in basis points (100 = 1%)"},"children":[]}]}]}]},"processorGrossAmount":{"type":"number"},"ourFeeBps":{"type":"integer"},"ourFee":{"type":"number"},"userCharge":{"type":"number","description":"Gross amount sent to the issuer before their fee"},"commissionUsdt":{"type":"number","description":"Lumo commission, deducted from the company balance"},"totalDebitUsdt":{"type":"number","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"userCharge + commissionUsdt — what gets debited on execute"},"children":[]}]}]}]},"currency":{"type":"string","enum":["USDT"]}}}},"components/schemas/CardRechargeStatus":{"id":"components/schemas/CardRechargeStatus","kind":"json-schema","title":"CardRechargeStatus","data":{"type":"string","enum":["pending","succeeded","failed","refunded","in_progress_manual"]}},"components/schemas/CardRecharge":{"id":"components/schemas/CardRecharge","kind":"json-schema","title":"CardRecharge","data":{"type":"object","required":["id","cardId","targetAmountUsd","userChargeUsdt","commissionUsdt","status","createdAt"],"properties":{"id":{"type":"string","format":"uuid"},"cardId":{"type":"string","format":"uuid"},"targetAmountUsd":{"type":"number"},"userChargeUsdt":{"type":"number"},"commissionUsdt":{"type":"number"},"status":{"$ref":"#/components/schemas/CardRechargeStatus"},"failureReason":{"type":["string","null"]},"createdAt":{"type":"string","format":"date-time"}}}},"components/schemas/PayoutConfig":{"id":"components/schemas/PayoutConfig","kind":"json-schema","title":"PayoutConfig","data":{"type":"object","properties":{"enabled":{"type":"boolean","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Подключены ли выплаты вашей компании и доступен ли сервис"},"children":[]}]}]}]},"minAmountRub":{"type":"number","example":9000},"maxAmountRub":{"type":"number","example":15000},"rate":{"type":"number","example":81.24,"description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Курс выплаты, ₽ за 1 USDT. Комиссия зашита в него."},"children":[]}]}]}]},"maxActivePayouts":{"type":"integer","example":10,"description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Сколько заявок можно держать в работе одновременно"},"children":[]}]}]}]},"workFromHour":{"type":"integer","example":8},"workToHour":{"type":"integer","example":22,"description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Не включая. Приём с workFromHour до workToHour по Москве."},"children":[]}]}]}]},"withinWorkingHours":{"type":"boolean","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Принимаются ли заявки прямо сейчас"},"children":[]}]}]}]},"requisiteCooldownHours":{"type":"integer","example":72,"description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Через сколько часов на ту же пару «номер + банк» можно выплатить"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"снова. Считается по всем компаниям. 0 — ограничения нет."},"children":[]}]}]}]}}}},"components/schemas/PayoutBank":{"id":"components/schemas/PayoutBank","kind":"json-schema","title":"PayoutBank","data":{"type":"object","properties":{"id":{"type":"string","example":"bank100000000111"},"name":{"type":"string","example":"Сбербанк"},"logoUrl":{"type":"string","format":"uri"},"popular":{"type":"boolean","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Входит ли в короткий список банков, которые показывают без поиска"},"children":[]}]}]}]}}}},"components/schemas/CreatePayoutRequest":{"id":"components/schemas/CreatePayoutRequest","kind":"json-schema","title":"CreatePayoutRequest","data":{"type":"object","required":["amountRub","requisiteType","requisite"],"properties":{"amountRub":{"type":"number","example":12000,"description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Ровно столько получит получатель"},"children":[]}]}]}]},"requisiteType":{"type":"string","enum":["card","phone"]},"requisite":{"type":"string","example":"+79000000000","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Номер карты (16–19 цифр) или телефона (10–15 цифр). Формат"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"произвольный — разделители вырежем сами."},"children":[]}]}]}]},"bankId":{"type":"string","example":"bank100000000111","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Обязателен для "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"phone"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":": к номеру привязано несколько банков. Для"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"card"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" не нужен — эмитент определяется номером."},"children":[]}]}]}]},"recipientFirstName":{"type":"string","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Нужно исполнителю для сверки с тем, что покажет приложение банка:"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"разойтись имя может только если в реквизите опечатка."},"children":[]}]}]}]},"recipientLastName":{"type":"string"},"externalId":{"type":"string","example":"payout-12345","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Ваш идентификатор. Возвращается в ответах и вебхуках, ищется через ?search="},"children":[]}]}]}]}}}},"components/schemas/PayoutDispute":{"id":"components/schemas/PayoutDispute","kind":"json-schema","title":"PayoutDispute","data":{"type":["object","null"],"properties":{"id":{"type":"string","format":"uuid"},"status":{"type":"string","enum":["open","resolved"]},"resolution":{"type":["string","null"],"enum":["user_won","trader_won",null],"description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"user_won"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" — заявка уходит в fail, средства возвращаются"},"children":[]}]}]}]},"comment":{"type":["string","null"]},"openedAt":{"type":["string","null"],"format":"date-time"},"resolvedAt":{"type":["string","null"],"format":"date-time"}}}},"components/schemas/Payout":{"id":"components/schemas/Payout","kind":"json-schema","title":"Payout","data":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"externalId":{"type":["string","null"]},"status":{"type":"string","enum":["pending","waiting_trader","in_progress","success","fail"]},"amountRub":{"type":"number","example":12000},"chargedUsdt":{"type":"number","example":147.71,"description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Сколько списано с баланса компании"},"children":[]}]}]}]},"rate":{"type":"number","example":81.24,"description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Курс заявки, зафиксирован при создании"},"children":[]}]}]}]},"requisiteType":{"type":"string","enum":["card","phone"]},"requisite":{"type":"string"},"bankId":{"type":["string","null"]},"bank":{"type":["string","null"],"description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Название на момент создания заявки"},"children":[]}]}]}]},"recipientFirstName":{"type":["string","null"]},"recipientLastName":{"type":["string","null"]},"failReason":{"type":["string","null"],"enum":["timeout","no_traders","bank_not_exists","requisites_invalid","trader_declined","dispute_lost","cancelled_by_admin","cancelled_by_merchant","service_unavailable","other",null]},"comment":{"type":["string","null"],"description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Комментарий сервиса выплат к провалу"},"children":[]}]}]}]},"refundedAt":{"type":["string","null"],"format":"date-time","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Момент возврата средств. Единственный признак того, что деньги"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"вернулись, — ориентируйтесь на него, а не на статус "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"fail"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"."},"children":[]}]}]}]},"dispute":{"$ref":"#/components/schemas/PayoutDispute"},"takenAt":{"type":["string","null"],"format":"date-time"},"completedAt":{"type":["string","null"],"format":"date-time"},"createdAt":{"type":"string","format":"date-time"}}}},"schema_33":{"kind":"json-schema","data":{"type":"string","format":"uuid"},"id":"schema_33"},"schema_34":{"kind":"json-schema","data":{"type":"string","maxLength":255},"id":"schema_34"},"schema_35":{"kind":"json-schema","data":{"$ref":"#/components/schemas/OrderStatus"},"id":"schema_35"},"schema_36":{"kind":"json-schema","data":{"type":"string"},"id":"schema_36"},"schema_37":{"kind":"json-schema","data":{"type":"integer","default":20,"minimum":1,"maximum":200},"id":"schema_37"},"schema_38":{"kind":"json-schema","data":{"type":"integer","default":0,"minimum":0},"id":"schema_38"},"schema_39":{"kind":"json-schema","data":{"$ref":"#/components/schemas/DisputeStatus"},"id":"schema_39"},"schema_40":{"kind":"json-schema","data":{"$ref":"#/components/schemas/DisputeResolution"},"id":"schema_40"},"schema_41":{"kind":"json-schema","data":{"type":"integer","default":50,"minimum":1,"maximum":200},"id":"schema_41"},"schema_42":{"kind":"json-schema","data":{"type":"array","items":{"$ref":"#/components/schemas/Dispute"}},"id":"schema_42"},"schema_43":{"kind":"json-schema","data":{"type":"object","properties":{"X-Total-Count":{"type":"integer","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Total matching disputes; present when "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"limit"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" is used."},"children":[]}]}]}]}}},"id":"schema_43"},"schema_44":{"kind":"json-schema","data":{"type":"string","format":"date-time"},"id":"schema_44"},"schema_45":{"kind":"json-schema","data":{"type":"object","required":["entries"],"properties":{"entries":{"type":"array","items":{"$ref":"#/components/schemas/BalanceHistoryEntry"}}}},"id":"schema_45"},"schema_46":{"kind":"json-schema","data":{"type":"object","properties":{"Content-Disposition":{"type":"string","example":"attachment; filename=\"balance-history-2026-08-01_2026-08-14.csv\""}}},"id":"schema_46"},"schema_47":{"kind":"json-schema","data":{"$ref":"#/components/schemas/CompanyDepositStatus"},"id":"schema_47"},"schema_48":{"kind":"json-schema","data":{"type":"integer","minimum":1,"maximum":200},"id":"schema_48"},"schema_49":{"kind":"json-schema","data":{"type":"integer","minimum":0},"id":"schema_49"},"schema_50":{"kind":"json-schema","data":{"$ref":"#/components/schemas/UserDepositStatus"},"id":"schema_50"},"schema_51":{"kind":"json-schema","data":{"type":"array","items":{"$ref":"#/components/schemas/Card"}},"id":"schema_51"},"schema_52":{"kind":"json-schema","data":{"oneOf":[{"$ref":"#/components/schemas/CardRequestAssignedResult"},{"$ref":"#/components/schemas/CardRequestPendingResult"}]},"id":"schema_52"},"schema_53":{"kind":"json-schema","data":{"oneOf":[{"$ref":"#/components/schemas/CardOtp"},{"type":"null"}]},"id":"schema_53"},"schema_54":{"kind":"json-schema","data":{"type":"integer","minimum":1,"maximum":5000,"default":500},"id":"schema_54"},"schema_55":{"kind":"json-schema","data":{"type":"array","items":{"$ref":"#/components/schemas/CardTransaction"}},"id":"schema_55"},"schema_56":{"kind":"json-schema","data":{"type":"object","properties":{"Content-Disposition":{"type":"string","example":"attachment; filename=\"cards-operations-2026-08-01_2026-08-14.csv\""}}},"id":"schema_56"},"schema_57":{"kind":"json-schema","data":{"type":"array","items":{"$ref":"#/components/schemas/PayoutBank"}},"id":"schema_57"},"schema_58":{"kind":"json-schema","data":{"type":"object","required":["amountRub"],"properties":{"amountRub":{"type":"number","example":12000}}},"id":"schema_58"},"schema_59":{"kind":"json-schema","data":{"type":"object","properties":{"amountRub":{"type":"number","example":12000},"rate":{"type":"number","example":81.24},"amountUsdt":{"type":"number","example":147.71}}},"id":"schema_59"},"schema_60":{"kind":"json-schema","data":{"type":"string","enum":["pending","waiting_trader","in_progress","success","fail"]},"id":"schema_60"},"schema_61":{"kind":"json-schema","data":{"type":"integer","default":50,"maximum":200},"id":"schema_61"},"schema_62":{"kind":"json-schema","data":{"type":"integer","default":0},"id":"schema_62"},"schema_63":{"kind":"json-schema","data":{"type":"object","properties":{"payouts":{"type":"array","items":{"$ref":"#/components/schemas/Payout"}},"total":{"type":"integer","example":42}}},"id":"schema_63"},"schema_64":{"kind":"json-schema","data":{"type":"object","required":["comment"],"properties":{"comment":{"type":"string","example":"Получатель не видит зачисление, прошло 40 минут"},"files":{"type":"array","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"До 3 файлов, каждый не больше 5 МБ"},"children":[]}]}]}],"items":{"type":"string","format":"binary"}}}},"id":"schema_64"},"schema_65":{"kind":"json-schema","data":{"type":"array","items":{"$ref":"#/components/schemas/CardRecharge"}},"id":"schema_65"}},"exampleStore":{"paths/~1auth~1company~1login/post/responses/400/content/application~1json/examples/validation":{"value":{"statusCode":400,"error":"Bad Request","errorCode":"VALIDATION_ERROR","message":["email must be an email"]},"key":"validation","summary":"Request body/query validation failed","id":"paths/~1auth~1company~1login/post/responses/400/content/application~1json/examples/validation"},"paths/~1auth~1company~1login/post/responses/400/content/application~1json/examples/badRequest":{"value":{"statusCode":400,"error":"Bad Request","errorCode":"BAD_REQUEST","message":"Invalid request"},"key":"badRequest","summary":"Generic bad request","id":"paths/~1auth~1company~1login/post/responses/400/content/application~1json/examples/badRequest"},"paths/~1auth~1company~1login/post/responses/401/content/application~1json/examples/invalidCredentials":{"value":{"statusCode":401,"error":"Unauthorized","errorCode":"INVALID_CREDENTIALS","message":"Неверный email или пароль"},"key":"invalidCredentials","summary":"Wrong email or password","id":"paths/~1auth~1company~1login/post/responses/401/content/application~1json/examples/invalidCredentials"},"paths/~1auth~1company~1login/post/responses/401/content/application~1json/examples/noCompanyMembership":{"value":{"statusCode":401,"error":"Unauthorized","errorCode":"NO_COMPANY_MEMBERSHIP","message":"Пользователь не привязан к компании"},"key":"noCompanyMembership","summary":"User is not attached to any company","id":"paths/~1auth~1company~1login/post/responses/401/content/application~1json/examples/noCompanyMembership"},"paths/~1auth~1company~1login/post/responses/401/content/application~1json/examples/companyInactive":{"value":{"statusCode":401,"error":"Unauthorized","errorCode":"COMPANY_INACTIVE","message":"Компания неактивна"},"key":"companyInactive","summary":"Company is deactivated","id":"paths/~1auth~1company~1login/post/responses/401/content/application~1json/examples/companyInactive"},"paths/~1auth~1company~1profile/get/responses/401/content/application~1json/examples/authRequired":{"value":{"statusCode":401,"error":"Unauthorized","errorCode":"AUTH_REQUIRED","message":"API key or session token is required"},"key":"authRequired","summary":"No API key or session token provided","id":"paths/~1auth~1company~1profile/get/responses/401/content/application~1json/examples/authRequired"},"paths/~1auth~1company~1profile/get/responses/401/content/application~1json/examples/invalidApiKey":{"value":{"statusCode":401,"error":"Unauthorized","errorCode":"INVALID_API_KEY","message":"Invalid API key"},"key":"invalidApiKey","summary":"Unknown / revoked API key","id":"paths/~1auth~1company~1profile/get/responses/401/content/application~1json/examples/invalidApiKey"},"paths/~1auth~1company~1profile/get/responses/401/content/application~1json/examples/sessionInvalid":{"value":{"statusCode":401,"error":"Unauthorized","errorCode":"SESSION_INVALID","message":"Invalid session token"},"key":"sessionInvalid","summary":"Expired or malformed session token","id":"paths/~1auth~1company~1profile/get/responses/401/content/application~1json/examples/sessionInvalid"},"paths/~1auth~1company~1profile/patch/responses/401/content/application~1json/examples/authRequired":{"value":{"statusCode":401,"error":"Unauthorized","errorCode":"AUTH_REQUIRED","message":"API key or session token is required"},"key":"authRequired","summary":"No API key or session token provided","id":"paths/~1auth~1company~1profile/patch/responses/401/content/application~1json/examples/authRequired"},"paths/~1auth~1company~1profile/patch/responses/401/content/application~1json/examples/invalidApiKey":{"value":{"statusCode":401,"error":"Unauthorized","errorCode":"INVALID_API_KEY","message":"Invalid API key"},"key":"invalidApiKey","summary":"Unknown / revoked API key","id":"paths/~1auth~1company~1profile/patch/responses/401/content/application~1json/examples/invalidApiKey"},"paths/~1auth~1company~1profile/patch/responses/401/content/application~1json/examples/sessionInvalid":{"value":{"statusCode":401,"error":"Unauthorized","errorCode":"SESSION_INVALID","message":"Invalid session token"},"key":"sessionInvalid","summary":"Expired or malformed session token","id":"paths/~1auth~1company~1profile/patch/responses/401/content/application~1json/examples/sessionInvalid"},"paths/~1auth~1company~1regenerate-key/post/responses/401/content/application~1json/examples/authRequired":{"value":{"statusCode":401,"error":"Unauthorized","errorCode":"AUTH_REQUIRED","message":"API key or session token is required"},"key":"authRequired","summary":"No API key or session token provided","id":"paths/~1auth~1company~1regenerate-key/post/responses/401/content/application~1json/examples/authRequired"},"paths/~1auth~1company~1regenerate-key/post/responses/401/content/application~1json/examples/invalidApiKey":{"value":{"statusCode":401,"error":"Unauthorized","errorCode":"INVALID_API_KEY","message":"Invalid API key"},"key":"invalidApiKey","summary":"Unknown / revoked API key","id":"paths/~1auth~1company~1regenerate-key/post/responses/401/content/application~1json/examples/invalidApiKey"},"paths/~1auth~1company~1regenerate-key/post/responses/401/content/application~1json/examples/sessionInvalid":{"value":{"statusCode":401,"error":"Unauthorized","errorCode":"SESSION_INVALID","message":"Invalid session token"},"key":"sessionInvalid","summary":"Expired or malformed session token","id":"paths/~1auth~1company~1regenerate-key/post/responses/401/content/application~1json/examples/sessionInvalid"},"paths/~1rates~1current/get/responses/401/content/application~1json/examples/authRequired":{"value":{"statusCode":401,"error":"Unauthorized","errorCode":"AUTH_REQUIRED","message":"API key or session token is required"},"key":"authRequired","summary":"No API key or session token provided","id":"paths/~1rates~1current/get/responses/401/content/application~1json/examples/authRequired"},"paths/~1rates~1current/get/responses/401/content/application~1json/examples/invalidApiKey":{"value":{"statusCode":401,"error":"Unauthorized","errorCode":"INVALID_API_KEY","message":"Invalid API key"},"key":"invalidApiKey","summary":"Unknown / revoked API key","id":"paths/~1rates~1current/get/responses/401/content/application~1json/examples/invalidApiKey"},"paths/~1rates~1current/get/responses/401/content/application~1json/examples/sessionInvalid":{"value":{"statusCode":401,"error":"Unauthorized","errorCode":"SESSION_INVALID","message":"Invalid session token"},"key":"sessionInvalid","summary":"Expired or malformed session token","id":"paths/~1rates~1current/get/responses/401/content/application~1json/examples/sessionInvalid"},"paths/~1rates~1current/get/responses/403/content/application~1json/examples/permissionDenied":{"value":{"statusCode":403,"error":"PERMISSION_DENIED","errorCode":"PERMISSION_DENIED","message":"Missing required permission: orders:create","required":"orders:create","details":{"required":"orders:create"}},"key":"permissionDenied","summary":"Missing permission","id":"paths/~1rates~1current/get/responses/403/content/application~1json/examples/permissionDenied"},"paths/~1orders~1prepare/post/responses/400/content/application~1json/examples/validation":{"value":{"statusCode":400,"error":"Bad Request","errorCode":"VALIDATION_ERROR","message":["qrCode should not be empty"]},"key":"validation","summary":"Request body validation failed","id":"paths/~1orders~1prepare/post/responses/400/content/application~1json/examples/validation"},"paths/~1orders~1prepare/post/responses/400/content/application~1json/examples/qrAmountMissing":{"value":{"statusCode":400,"error":"Bad Request","errorCode":"QR_AMOUNT_MISSING","message":"Не удалось получить сумму из QR кода"},"key":"qrAmountMissing","summary":"Amount could not be derived from QR","id":"paths/~1orders~1prepare/post/responses/400/content/application~1json/examples/qrAmountMissing"},"paths/~1orders~1prepare/post/responses/400/content/application~1json/examples/qrInvalid":{"value":{"statusCode":400,"error":"Bad Request","errorCode":"QR_INVALID","message":"QR код недействителен (код: RQ00010)","details":{"nspkCode":"RQ00010"}},"key":"qrInvalid","summary":"NSPK rejected the QR (expired / cancelled / unknown)","id":"paths/~1orders~1prepare/post/responses/400/content/application~1json/examples/qrInvalid"},"paths/~1orders~1prepare/post/responses/400/content/application~1json/examples/qrResolveFailed":{"value":{"statusCode":400,"error":"Bad Request","errorCode":"QR_RESOLVE_FAILED","message":"Не удалось получить данные о платеже из QR кода"},"key":"qrResolveFailed","summary":"QR could not be resolved (provider error, no URL fallback amount)","id":"paths/~1orders~1prepare/post/responses/400/content/application~1json/examples/qrResolveFailed"},"paths/~1orders~1prepare/post/responses/400/content/application~1json/examples/amountTooLow":{"value":{"statusCode":400,"error":"Bad Request","errorCode":"AMOUNT_BELOW_MIN","message":"Сумма ниже минимальной: 100 RUB","details":{"minAmountRub":100,"amountRub":50}},"key":"amountTooLow","summary":"Amount below company minimum","id":"paths/~1orders~1prepare/post/responses/400/content/application~1json/examples/amountTooLow"},"paths/~1orders~1prepare/post/responses/400/content/application~1json/examples/amountTooHigh":{"value":{"statusCode":400,"error":"Bad Request","errorCode":"AMOUNT_ABOVE_MAX","message":"Сумма выше максимальной: 100000 RUB","details":{"maxAmountRub":100000,"amountRub":150000}},"key":"amountTooHigh","summary":"Amount above company maximum","id":"paths/~1orders~1prepare/post/responses/400/content/application~1json/examples/amountTooHigh"},"paths/~1orders~1prepare/post/responses/400/content/application~1json/examples/st00012NoSum":{"value":{"statusCode":400,"error":"Bad Request","errorCode":"ST00012_SUM_MISSING","message":"Поле Sum не найдено в ST00012 строке"},"key":"st00012NoSum","summary":"ST00012 string has no Sum field","id":"paths/~1orders~1prepare/post/responses/400/content/application~1json/examples/st00012NoSum"},"paths/~1orders~1prepare/post/responses/400/content/application~1json/examples/st00012BadSum":{"value":{"statusCode":400,"error":"Bad Request","errorCode":"ST00012_SUM_INVALID","message":"Некорректное значение поля Sum в ST00012 строке"},"key":"st00012BadSum","summary":"ST00012 Sum field is malformed","id":"paths/~1orders~1prepare/post/responses/400/content/application~1json/examples/st00012BadSum"},"paths/~1orders~1prepare/post/responses/400/content/application~1json/examples/gibddBadUin":{"value":{"statusCode":400,"error":"Bad Request","errorCode":"GIBDD_UIN_INVALID","message":"Некорректный УИН: ожидается 20–25 цифр после gibdd:uin:"},"key":"gibddBadUin","summary":"Malformed УИН after gibdd:uin: prefix","id":"paths/~1orders~1prepare/post/responses/400/content/application~1json/examples/gibddBadUin"},"paths/~1orders~1prepare/post/responses/400/content/application~1json/examples/gibddAlreadyPaid":{"value":{"statusCode":400,"error":"Bad Request","errorCode":"FINE_ALREADY_PAID","message":"Штраф уже оплачен"},"key":"gibddAlreadyPaid","summary":"gibdd_uin — the fine is already paid","id":"paths/~1orders~1prepare/post/responses/400/content/application~1json/examples/gibddAlreadyPaid"},"paths/~1orders~1prepare/post/responses/400/content/application~1json/examples/gibddNotFound":{"value":{"statusCode":400,"error":"Bad Request","errorCode":"FINE_NOT_FOUND","message":"Штраф по УИН не найден"},"key":"gibddNotFound","summary":"gibdd_uin — no fine found for the УИН","id":"paths/~1orders~1prepare/post/responses/400/content/application~1json/examples/gibddNotFound"},"paths/~1orders~1prepare/post/responses/401/content/application~1json/examples/authRequired":{"value":{"statusCode":401,"error":"Unauthorized","errorCode":"AUTH_REQUIRED","message":"API key or session token is required"},"key":"authRequired","summary":"No API key or session token provided","id":"paths/~1orders~1prepare/post/responses/401/content/application~1json/examples/authRequired"},"paths/~1orders~1prepare/post/responses/401/content/application~1json/examples/invalidApiKey":{"value":{"statusCode":401,"error":"Unauthorized","errorCode":"INVALID_API_KEY","message":"Invalid API key"},"key":"invalidApiKey","summary":"Unknown / revoked API key","id":"paths/~1orders~1prepare/post/responses/401/content/application~1json/examples/invalidApiKey"},"paths/~1orders~1prepare/post/responses/401/content/application~1json/examples/sessionInvalid":{"value":{"statusCode":401,"error":"Unauthorized","errorCode":"SESSION_INVALID","message":"Invalid session token"},"key":"sessionInvalid","summary":"Expired or malformed session token","id":"paths/~1orders~1prepare/post/responses/401/content/application~1json/examples/sessionInvalid"},"paths/~1orders~1prepare/post/responses/403/content/application~1json/examples/permissionDenied":{"value":{"statusCode":403,"error":"PERMISSION_DENIED","errorCode":"PERMISSION_DENIED","message":"Missing required permission: orders:create","required":"orders:create","details":{"required":"orders:create"}},"key":"permissionDenied","summary":"Missing permission","id":"paths/~1orders~1prepare/post/responses/403/content/application~1json/examples/permissionDenied"},"paths/~1orders~1prepare/post/responses/503/content/application~1json/examples/driverHelperTransient":{"value":{"statusCode":503,"error":"Service Unavailable","errorCode":"DRIVER_HELPER_TRANSIENT","message":"Произошла ошибка: попробуйте еще раз"},"key":"driverHelperTransient","summary":"ГИБДД provider unavailable (gibdd_uin only)","id":"paths/~1orders~1prepare/post/responses/503/content/application~1json/examples/driverHelperTransient"},"paths/~1orders~1accept~1{id}/post/responses/400/content/application~1json/examples/invalidUuid":{"value":{"statusCode":400,"error":"Bad Request","errorCode":"VALIDATION_ERROR","message":"Validation failed (uuid is expected)"},"key":"invalidUuid","summary":"Path id is not a valid UUID","id":"paths/~1orders~1accept~1{id}/post/responses/400/content/application~1json/examples/invalidUuid"},"paths/~1orders~1accept~1{id}/post/responses/400/content/application~1json/examples/quoteExpired":{"value":{"statusCode":400,"error":"Bad Request","errorCode":"QUOTE_EXPIRED","message":"Quote истёк"},"key":"quoteExpired","summary":"Quote TTL elapsed (30s) — re-run prepare","id":"paths/~1orders~1accept~1{id}/post/responses/400/content/application~1json/examples/quoteExpired"},"paths/~1orders~1accept~1{id}/post/responses/400/content/application~1json/examples/insufficientBalance":{"value":{"statusCode":400,"error":"Bad Request","errorCode":"INSUFFICIENT_BALANCE","message":"Недостаточно средств на балансе"},"key":"insufficientBalance","summary":"Available balance below the quoted USDT amount","id":"paths/~1orders~1accept~1{id}/post/responses/400/content/application~1json/examples/insufficientBalance"},"paths/~1orders~1accept~1{id}/post/responses/401/content/application~1json/examples/authRequired":{"value":{"statusCode":401,"error":"Unauthorized","errorCode":"AUTH_REQUIRED","message":"API key or session token is required"},"key":"authRequired","summary":"No API key or session token provided","id":"paths/~1orders~1accept~1{id}/post/responses/401/content/application~1json/examples/authRequired"},"paths/~1orders~1accept~1{id}/post/responses/401/content/application~1json/examples/invalidApiKey":{"value":{"statusCode":401,"error":"Unauthorized","errorCode":"INVALID_API_KEY","message":"Invalid API key"},"key":"invalidApiKey","summary":"Unknown / revoked API key","id":"paths/~1orders~1accept~1{id}/post/responses/401/content/application~1json/examples/invalidApiKey"},"paths/~1orders~1accept~1{id}/post/responses/401/content/application~1json/examples/sessionInvalid":{"value":{"statusCode":401,"error":"Unauthorized","errorCode":"SESSION_INVALID","message":"Invalid session token"},"key":"sessionInvalid","summary":"Expired or malformed session token","id":"paths/~1orders~1accept~1{id}/post/responses/401/content/application~1json/examples/sessionInvalid"},"paths/~1orders~1accept~1{id}/post/responses/403/content/application~1json/examples/permissionDenied":{"value":{"statusCode":403,"error":"PERMISSION_DENIED","errorCode":"PERMISSION_DENIED","message":"Missing required permission: orders:create","required":"orders:create","details":{"required":"orders:create"}},"key":"permissionDenied","summary":"Missing permission","id":"paths/~1orders~1accept~1{id}/post/responses/403/content/application~1json/examples/permissionDenied"},"paths/~1orders~1accept~1{id}/post/responses/404/content/application~1json/examples/notFound":{"value":{"statusCode":404,"error":"Not Found","errorCode":"NOT_FOUND","message":"Resource not found"},"key":"notFound","summary":"Resource not found","id":"paths/~1orders~1accept~1{id}/post/responses/404/content/application~1json/examples/notFound"},"paths/~1orders~1accept~1{id}/post/responses/502/content/application~1json/examples/walletBackend":{"value":{"statusCode":502,"error":"Bad Gateway","errorCode":"WALLET_BACKEND_ERROR","message":"Order could not be created in wallet backend"},"key":"walletBackend","summary":"wallet-backend unavailable or rejected the order","id":"paths/~1orders~1accept~1{id}/post/responses/502/content/application~1json/examples/walletBackend"},"paths/~1orders/get/responses/401/content/application~1json/examples/authRequired":{"value":{"statusCode":401,"error":"Unauthorized","errorCode":"AUTH_REQUIRED","message":"API key or session token is required"},"key":"authRequired","summary":"No API key or session token provided","id":"paths/~1orders/get/responses/401/content/application~1json/examples/authRequired"},"paths/~1orders/get/responses/401/content/application~1json/examples/invalidApiKey":{"value":{"statusCode":401,"error":"Unauthorized","errorCode":"INVALID_API_KEY","message":"Invalid API key"},"key":"invalidApiKey","summary":"Unknown / revoked API key","id":"paths/~1orders/get/responses/401/content/application~1json/examples/invalidApiKey"},"paths/~1orders/get/responses/401/content/application~1json/examples/sessionInvalid":{"value":{"statusCode":401,"error":"Unauthorized","errorCode":"SESSION_INVALID","message":"Invalid session token"},"key":"sessionInvalid","summary":"Expired or malformed session token","id":"paths/~1orders/get/responses/401/content/application~1json/examples/sessionInvalid"},"paths/~1orders/get/responses/403/content/application~1json/examples/permissionDenied":{"value":{"statusCode":403,"error":"PERMISSION_DENIED","errorCode":"PERMISSION_DENIED","message":"Missing required permission: orders:create","required":"orders:create","details":{"required":"orders:create"}},"key":"permissionDenied","summary":"Missing permission","id":"paths/~1orders/get/responses/403/content/application~1json/examples/permissionDenied"},"paths/~1orders~1{id}/get/responses/401/content/application~1json/examples/authRequired":{"value":{"statusCode":401,"error":"Unauthorized","errorCode":"AUTH_REQUIRED","message":"API key or session token is required"},"key":"authRequired","summary":"No API key or session token provided","id":"paths/~1orders~1{id}/get/responses/401/content/application~1json/examples/authRequired"},"paths/~1orders~1{id}/get/responses/401/content/application~1json/examples/invalidApiKey":{"value":{"statusCode":401,"error":"Unauthorized","errorCode":"INVALID_API_KEY","message":"Invalid API key"},"key":"invalidApiKey","summary":"Unknown / revoked API key","id":"paths/~1orders~1{id}/get/responses/401/content/application~1json/examples/invalidApiKey"},"paths/~1orders~1{id}/get/responses/401/content/application~1json/examples/sessionInvalid":{"value":{"statusCode":401,"error":"Unauthorized","errorCode":"SESSION_INVALID","message":"Invalid session token"},"key":"sessionInvalid","summary":"Expired or malformed session token","id":"paths/~1orders~1{id}/get/responses/401/content/application~1json/examples/sessionInvalid"},"paths/~1orders~1{id}/get/responses/403/content/application~1json/examples/permissionDenied":{"value":{"statusCode":403,"error":"PERMISSION_DENIED","errorCode":"PERMISSION_DENIED","message":"Missing required permission: orders:create","required":"orders:create","details":{"required":"orders:create"}},"key":"permissionDenied","summary":"Missing permission","id":"paths/~1orders~1{id}/get/responses/403/content/application~1json/examples/permissionDenied"},"paths/~1orders~1{id}/get/responses/404/content/application~1json/examples/notFound":{"value":{"statusCode":404,"error":"Not Found","errorCode":"NOT_FOUND","message":"Resource not found"},"key":"notFound","summary":"Resource not found","id":"paths/~1orders~1{id}/get/responses/404/content/application~1json/examples/notFound"},"paths/~1orders~1{id}~1disputes/post/responses/400/content/application~1json/examples/notFinalState":{"value":{"statusCode":400,"error":"Bad Request","errorCode":"DISPUTE_NOT_ALLOWED","message":"Спор можно открыть только по завершённому ордеру"},"key":"notFinalState","summary":"Order is not in a disputable state (must be success/failed)","id":"paths/~1orders~1{id}~1disputes/post/responses/400/content/application~1json/examples/notFinalState"},"paths/~1orders~1{id}~1disputes/post/responses/400/content/application~1json/examples/missingWalletOrderId":{"value":{"statusCode":400,"error":"Bad Request","errorCode":"DISPUTE_NOT_ALLOWED","message":"Невозможно открыть спор: отсутствует walletOrderId"},"key":"missingWalletOrderId","summary":"Order has no linked wallet order","id":"paths/~1orders~1{id}~1disputes/post/responses/400/content/application~1json/examples/missingWalletOrderId"},"paths/~1orders~1{id}~1disputes/post/responses/401/content/application~1json/examples/authRequired":{"value":{"statusCode":401,"error":"Unauthorized","errorCode":"AUTH_REQUIRED","message":"API key or session token is required"},"key":"authRequired","summary":"No API key or session token provided","id":"paths/~1orders~1{id}~1disputes/post/responses/401/content/application~1json/examples/authRequired"},"paths/~1orders~1{id}~1disputes/post/responses/401/content/application~1json/examples/invalidApiKey":{"value":{"statusCode":401,"error":"Unauthorized","errorCode":"INVALID_API_KEY","message":"Invalid API key"},"key":"invalidApiKey","summary":"Unknown / revoked API key","id":"paths/~1orders~1{id}~1disputes/post/responses/401/content/application~1json/examples/invalidApiKey"},"paths/~1orders~1{id}~1disputes/post/responses/401/content/application~1json/examples/sessionInvalid":{"value":{"statusCode":401,"error":"Unauthorized","errorCode":"SESSION_INVALID","message":"Invalid session token"},"key":"sessionInvalid","summary":"Expired or malformed session token","id":"paths/~1orders~1{id}~1disputes/post/responses/401/content/application~1json/examples/sessionInvalid"},"paths/~1orders~1{id}~1disputes/post/responses/403/content/application~1json/examples/permissionDenied":{"value":{"statusCode":403,"error":"PERMISSION_DENIED","errorCode":"PERMISSION_DENIED","message":"Missing required permission: orders:create","required":"orders:create","details":{"required":"orders:create"}},"key":"permissionDenied","summary":"Missing permission","id":"paths/~1orders~1{id}~1disputes/post/responses/403/content/application~1json/examples/permissionDenied"},"paths/~1orders~1{id}~1disputes/post/responses/404/content/application~1json/examples/orderNotFound":{"value":{"statusCode":404,"error":"Not Found","errorCode":"ORDER_NOT_FOUND","message":"Ордер не найден"},"key":"orderNotFound","summary":"Order not found","id":"paths/~1orders~1{id}~1disputes/post/responses/404/content/application~1json/examples/orderNotFound"},"paths/~1orders~1{id}~1disputes/post/responses/404/content/application~1json/examples/disputeNotFound":{"value":{"statusCode":404,"error":"Not Found","errorCode":"DISPUTE_NOT_FOUND","message":"Спор не найден"},"key":"disputeNotFound","summary":"Dispute not found","id":"paths/~1orders~1{id}~1disputes/post/responses/404/content/application~1json/examples/disputeNotFound"},"paths/~1disputes/get/responses/401/content/application~1json/examples/authRequired":{"value":{"statusCode":401,"error":"Unauthorized","errorCode":"AUTH_REQUIRED","message":"API key or session token is required"},"key":"authRequired","summary":"No API key or session token provided","id":"paths/~1disputes/get/responses/401/content/application~1json/examples/authRequired"},"paths/~1disputes/get/responses/401/content/application~1json/examples/invalidApiKey":{"value":{"statusCode":401,"error":"Unauthorized","errorCode":"INVALID_API_KEY","message":"Invalid API key"},"key":"invalidApiKey","summary":"Unknown / revoked API key","id":"paths/~1disputes/get/responses/401/content/application~1json/examples/invalidApiKey"},"paths/~1disputes/get/responses/401/content/application~1json/examples/sessionInvalid":{"value":{"statusCode":401,"error":"Unauthorized","errorCode":"SESSION_INVALID","message":"Invalid session token"},"key":"sessionInvalid","summary":"Expired or malformed session token","id":"paths/~1disputes/get/responses/401/content/application~1json/examples/sessionInvalid"},"paths/~1disputes/get/responses/403/content/application~1json/examples/permissionDenied":{"value":{"statusCode":403,"error":"PERMISSION_DENIED","errorCode":"PERMISSION_DENIED","message":"Missing required permission: orders:create","required":"orders:create","details":{"required":"orders:create"}},"key":"permissionDenied","summary":"Missing permission","id":"paths/~1disputes/get/responses/403/content/application~1json/examples/permissionDenied"},"paths/~1wallets/get/responses/401/content/application~1json/examples/authRequired":{"value":{"statusCode":401,"error":"Unauthorized","errorCode":"AUTH_REQUIRED","message":"API key or session token is required"},"key":"authRequired","summary":"No API key or session token provided","id":"paths/~1wallets/get/responses/401/content/application~1json/examples/authRequired"},"paths/~1wallets/get/responses/401/content/application~1json/examples/invalidApiKey":{"value":{"statusCode":401,"error":"Unauthorized","errorCode":"INVALID_API_KEY","message":"Invalid API key"},"key":"invalidApiKey","summary":"Unknown / revoked API key","id":"paths/~1wallets/get/responses/401/content/application~1json/examples/invalidApiKey"},"paths/~1wallets/get/responses/401/content/application~1json/examples/sessionInvalid":{"value":{"statusCode":401,"error":"Unauthorized","errorCode":"SESSION_INVALID","message":"Invalid session token"},"key":"sessionInvalid","summary":"Expired or malformed session token","id":"paths/~1wallets/get/responses/401/content/application~1json/examples/sessionInvalid"},"paths/~1wallets/get/responses/403/content/application~1json/examples/permissionDenied":{"value":{"statusCode":403,"error":"PERMISSION_DENIED","errorCode":"PERMISSION_DENIED","message":"Missing required permission: orders:create","required":"orders:create","details":{"required":"orders:create"}},"key":"permissionDenied","summary":"Missing permission","id":"paths/~1wallets/get/responses/403/content/application~1json/examples/permissionDenied"},"paths/~1wallets~1balance/get/responses/401/content/application~1json/examples/authRequired":{"value":{"statusCode":401,"error":"Unauthorized","errorCode":"AUTH_REQUIRED","message":"API key or session token is required"},"key":"authRequired","summary":"No API key or session token provided","id":"paths/~1wallets~1balance/get/responses/401/content/application~1json/examples/authRequired"},"paths/~1wallets~1balance/get/responses/401/content/application~1json/examples/invalidApiKey":{"value":{"statusCode":401,"error":"Unauthorized","errorCode":"INVALID_API_KEY","message":"Invalid API key"},"key":"invalidApiKey","summary":"Unknown / revoked API key","id":"paths/~1wallets~1balance/get/responses/401/content/application~1json/examples/invalidApiKey"},"paths/~1wallets~1balance/get/responses/401/content/application~1json/examples/sessionInvalid":{"value":{"statusCode":401,"error":"Unauthorized","errorCode":"SESSION_INVALID","message":"Invalid session token"},"key":"sessionInvalid","summary":"Expired or malformed session token","id":"paths/~1wallets~1balance/get/responses/401/content/application~1json/examples/sessionInvalid"},"paths/~1wallets~1balance/get/responses/403/content/application~1json/examples/permissionDenied":{"value":{"statusCode":403,"error":"PERMISSION_DENIED","errorCode":"PERMISSION_DENIED","message":"Missing required permission: orders:create","required":"orders:create","details":{"required":"orders:create"}},"key":"permissionDenied","summary":"Missing permission","id":"paths/~1wallets~1balance/get/responses/403/content/application~1json/examples/permissionDenied"},"paths/~1wallets~1balance-history/get/responses/401/content/application~1json/examples/authRequired":{"value":{"statusCode":401,"error":"Unauthorized","errorCode":"AUTH_REQUIRED","message":"API key or session token is required"},"key":"authRequired","summary":"No API key or session token provided","id":"paths/~1wallets~1balance-history/get/responses/401/content/application~1json/examples/authRequired"},"paths/~1wallets~1balance-history/get/responses/401/content/application~1json/examples/invalidApiKey":{"value":{"statusCode":401,"error":"Unauthorized","errorCode":"INVALID_API_KEY","message":"Invalid API key"},"key":"invalidApiKey","summary":"Unknown / revoked API key","id":"paths/~1wallets~1balance-history/get/responses/401/content/application~1json/examples/invalidApiKey"},"paths/~1wallets~1balance-history/get/responses/401/content/application~1json/examples/sessionInvalid":{"value":{"statusCode":401,"error":"Unauthorized","errorCode":"SESSION_INVALID","message":"Invalid session token"},"key":"sessionInvalid","summary":"Expired or malformed session token","id":"paths/~1wallets~1balance-history/get/responses/401/content/application~1json/examples/sessionInvalid"},"paths/~1wallets~1balance-history.csv/get/responses/401/content/application~1json/examples/authRequired":{"value":{"statusCode":401,"error":"Unauthorized","errorCode":"AUTH_REQUIRED","message":"API key or session token is required"},"key":"authRequired","summary":"No API key or session token provided","id":"paths/~1wallets~1balance-history.csv/get/responses/401/content/application~1json/examples/authRequired"},"paths/~1wallets~1balance-history.csv/get/responses/401/content/application~1json/examples/invalidApiKey":{"value":{"statusCode":401,"error":"Unauthorized","errorCode":"INVALID_API_KEY","message":"Invalid API key"},"key":"invalidApiKey","summary":"Unknown / revoked API key","id":"paths/~1wallets~1balance-history.csv/get/responses/401/content/application~1json/examples/invalidApiKey"},"paths/~1wallets~1balance-history.csv/get/responses/401/content/application~1json/examples/sessionInvalid":{"value":{"statusCode":401,"error":"Unauthorized","errorCode":"SESSION_INVALID","message":"Invalid session token"},"key":"sessionInvalid","summary":"Expired or malformed session token","id":"paths/~1wallets~1balance-history.csv/get/responses/401/content/application~1json/examples/sessionInvalid"},"paths/~1wallets~1deposits/get/responses/401/content/application~1json/examples/authRequired":{"value":{"statusCode":401,"error":"Unauthorized","errorCode":"AUTH_REQUIRED","message":"API key or session token is required"},"key":"authRequired","summary":"No API key or session token provided","id":"paths/~1wallets~1deposits/get/responses/401/content/application~1json/examples/authRequired"},"paths/~1wallets~1deposits/get/responses/401/content/application~1json/examples/invalidApiKey":{"value":{"statusCode":401,"error":"Unauthorized","errorCode":"INVALID_API_KEY","message":"Invalid API key"},"key":"invalidApiKey","summary":"Unknown / revoked API key","id":"paths/~1wallets~1deposits/get/responses/401/content/application~1json/examples/invalidApiKey"},"paths/~1wallets~1deposits/get/responses/401/content/application~1json/examples/sessionInvalid":{"value":{"statusCode":401,"error":"Unauthorized","errorCode":"SESSION_INVALID","message":"Invalid session token"},"key":"sessionInvalid","summary":"Expired or malformed session token","id":"paths/~1wallets~1deposits/get/responses/401/content/application~1json/examples/sessionInvalid"},"paths/~1wallets~1deposits/get/responses/403/content/application~1json/examples/permissionDenied":{"value":{"statusCode":403,"error":"PERMISSION_DENIED","errorCode":"PERMISSION_DENIED","message":"Missing required permission: orders:create","required":"orders:create","details":{"required":"orders:create"}},"key":"permissionDenied","summary":"Missing permission","id":"paths/~1wallets~1deposits/get/responses/403/content/application~1json/examples/permissionDenied"},"paths/~1user-wallets/post/responses/401/content/application~1json/examples/authRequired":{"value":{"statusCode":401,"error":"Unauthorized","errorCode":"AUTH_REQUIRED","message":"API key or session token is required"},"key":"authRequired","summary":"No API key or session token provided","id":"paths/~1user-wallets/post/responses/401/content/application~1json/examples/authRequired"},"paths/~1user-wallets/post/responses/401/content/application~1json/examples/invalidApiKey":{"value":{"statusCode":401,"error":"Unauthorized","errorCode":"INVALID_API_KEY","message":"Invalid API key"},"key":"invalidApiKey","summary":"Unknown / revoked API key","id":"paths/~1user-wallets/post/responses/401/content/application~1json/examples/invalidApiKey"},"paths/~1user-wallets/post/responses/401/content/application~1json/examples/sessionInvalid":{"value":{"statusCode":401,"error":"Unauthorized","errorCode":"SESSION_INVALID","message":"Invalid session token"},"key":"sessionInvalid","summary":"Expired or malformed session token","id":"paths/~1user-wallets/post/responses/401/content/application~1json/examples/sessionInvalid"},"paths/~1user-wallets/post/responses/403/content/application~1json/examples/permissionDenied":{"value":{"statusCode":403,"error":"PERMISSION_DENIED","errorCode":"PERMISSION_DENIED","message":"Missing required permission: orders:create","required":"orders:create","details":{"required":"orders:create"}},"key":"permissionDenied","summary":"Missing permission","id":"paths/~1user-wallets/post/responses/403/content/application~1json/examples/permissionDenied"},"paths/~1user-wallets/get/responses/401/content/application~1json/examples/authRequired":{"value":{"statusCode":401,"error":"Unauthorized","errorCode":"AUTH_REQUIRED","message":"API key or session token is required"},"key":"authRequired","summary":"No API key or session token provided","id":"paths/~1user-wallets/get/responses/401/content/application~1json/examples/authRequired"},"paths/~1user-wallets/get/responses/401/content/application~1json/examples/invalidApiKey":{"value":{"statusCode":401,"error":"Unauthorized","errorCode":"INVALID_API_KEY","message":"Invalid API key"},"key":"invalidApiKey","summary":"Unknown / revoked API key","id":"paths/~1user-wallets/get/responses/401/content/application~1json/examples/invalidApiKey"},"paths/~1user-wallets/get/responses/401/content/application~1json/examples/sessionInvalid":{"value":{"statusCode":401,"error":"Unauthorized","errorCode":"SESSION_INVALID","message":"Invalid session token"},"key":"sessionInvalid","summary":"Expired or malformed session token","id":"paths/~1user-wallets/get/responses/401/content/application~1json/examples/sessionInvalid"},"paths/~1user-wallets/get/responses/403/content/application~1json/examples/permissionDenied":{"value":{"statusCode":403,"error":"PERMISSION_DENIED","errorCode":"PERMISSION_DENIED","message":"Missing required permission: orders:create","required":"orders:create","details":{"required":"orders:create"}},"key":"permissionDenied","summary":"Missing permission","id":"paths/~1user-wallets/get/responses/403/content/application~1json/examples/permissionDenied"},"paths/~1user-wallets~1blocked/get/responses/401/content/application~1json/examples/authRequired":{"value":{"statusCode":401,"error":"Unauthorized","errorCode":"AUTH_REQUIRED","message":"API key or session token is required"},"key":"authRequired","summary":"No API key or session token provided","id":"paths/~1user-wallets~1blocked/get/responses/401/content/application~1json/examples/authRequired"},"paths/~1user-wallets~1blocked/get/responses/401/content/application~1json/examples/invalidApiKey":{"value":{"statusCode":401,"error":"Unauthorized","errorCode":"INVALID_API_KEY","message":"Invalid API key"},"key":"invalidApiKey","summary":"Unknown / revoked API key","id":"paths/~1user-wallets~1blocked/get/responses/401/content/application~1json/examples/invalidApiKey"},"paths/~1user-wallets~1blocked/get/responses/401/content/application~1json/examples/sessionInvalid":{"value":{"statusCode":401,"error":"Unauthorized","errorCode":"SESSION_INVALID","message":"Invalid session token"},"key":"sessionInvalid","summary":"Expired or malformed session token","id":"paths/~1user-wallets~1blocked/get/responses/401/content/application~1json/examples/sessionInvalid"},"paths/~1user-wallets~1blocked/get/responses/403/content/application~1json/examples/permissionDenied":{"value":{"statusCode":403,"error":"PERMISSION_DENIED","errorCode":"PERMISSION_DENIED","message":"Missing required permission: orders:create","required":"orders:create","details":{"required":"orders:create"}},"key":"permissionDenied","summary":"Missing permission","id":"paths/~1user-wallets~1blocked/get/responses/403/content/application~1json/examples/permissionDenied"},"paths/~1user-wallets~1{walletId}~1block/post/responses/401/content/application~1json/examples/authRequired":{"value":{"statusCode":401,"error":"Unauthorized","errorCode":"AUTH_REQUIRED","message":"API key or session token is required"},"key":"authRequired","summary":"No API key or session token provided","id":"paths/~1user-wallets~1{walletId}~1block/post/responses/401/content/application~1json/examples/authRequired"},"paths/~1user-wallets~1{walletId}~1block/post/responses/401/content/application~1json/examples/invalidApiKey":{"value":{"statusCode":401,"error":"Unauthorized","errorCode":"INVALID_API_KEY","message":"Invalid API key"},"key":"invalidApiKey","summary":"Unknown / revoked API key","id":"paths/~1user-wallets~1{walletId}~1block/post/responses/401/content/application~1json/examples/invalidApiKey"},"paths/~1user-wallets~1{walletId}~1block/post/responses/401/content/application~1json/examples/sessionInvalid":{"value":{"statusCode":401,"error":"Unauthorized","errorCode":"SESSION_INVALID","message":"Invalid session token"},"key":"sessionInvalid","summary":"Expired or malformed session token","id":"paths/~1user-wallets~1{walletId}~1block/post/responses/401/content/application~1json/examples/sessionInvalid"},"paths/~1user-wallets~1{walletId}~1block/post/responses/403/content/application~1json/examples/permissionDenied":{"value":{"statusCode":403,"error":"PERMISSION_DENIED","errorCode":"PERMISSION_DENIED","message":"Missing required permission: orders:create","required":"orders:create","details":{"required":"orders:create"}},"key":"permissionDenied","summary":"Missing permission","id":"paths/~1user-wallets~1{walletId}~1block/post/responses/403/content/application~1json/examples/permissionDenied"},"paths/~1user-wallets~1{walletId}~1block/post/responses/404/content/application~1json/examples/notFound":{"value":{"statusCode":404,"error":"Not Found","errorCode":"NOT_FOUND","message":"Resource not found"},"key":"notFound","summary":"Resource not found","id":"paths/~1user-wallets~1{walletId}~1block/post/responses/404/content/application~1json/examples/notFound"},"paths/~1user-wallets~1{walletId}~1replace/post/responses/401/content/application~1json/examples/authRequired":{"value":{"statusCode":401,"error":"Unauthorized","errorCode":"AUTH_REQUIRED","message":"API key or session token is required"},"key":"authRequired","summary":"No API key or session token provided","id":"paths/~1user-wallets~1{walletId}~1replace/post/responses/401/content/application~1json/examples/authRequired"},"paths/~1user-wallets~1{walletId}~1replace/post/responses/401/content/application~1json/examples/invalidApiKey":{"value":{"statusCode":401,"error":"Unauthorized","errorCode":"INVALID_API_KEY","message":"Invalid API key"},"key":"invalidApiKey","summary":"Unknown / revoked API key","id":"paths/~1user-wallets~1{walletId}~1replace/post/responses/401/content/application~1json/examples/invalidApiKey"},"paths/~1user-wallets~1{walletId}~1replace/post/responses/401/content/application~1json/examples/sessionInvalid":{"value":{"statusCode":401,"error":"Unauthorized","errorCode":"SESSION_INVALID","message":"Invalid session token"},"key":"sessionInvalid","summary":"Expired or malformed session token","id":"paths/~1user-wallets~1{walletId}~1replace/post/responses/401/content/application~1json/examples/sessionInvalid"},"paths/~1user-wallets~1{walletId}~1replace/post/responses/403/content/application~1json/examples/permissionDenied":{"value":{"statusCode":403,"error":"PERMISSION_DENIED","errorCode":"PERMISSION_DENIED","message":"Missing required permission: orders:create","required":"orders:create","details":{"required":"orders:create"}},"key":"permissionDenied","summary":"Missing permission","id":"paths/~1user-wallets~1{walletId}~1replace/post/responses/403/content/application~1json/examples/permissionDenied"},"paths/~1user-wallets~1{walletId}~1replace/post/responses/404/content/application~1json/examples/notFound":{"value":{"statusCode":404,"error":"Not Found","errorCode":"NOT_FOUND","message":"Resource not found"},"key":"notFound","summary":"Resource not found","id":"paths/~1user-wallets~1{walletId}~1replace/post/responses/404/content/application~1json/examples/notFound"},"paths/~1user-wallets~1deposits/get/responses/401/content/application~1json/examples/authRequired":{"value":{"statusCode":401,"error":"Unauthorized","errorCode":"AUTH_REQUIRED","message":"API key or session token is required"},"key":"authRequired","summary":"No API key or session token provided","id":"paths/~1user-wallets~1deposits/get/responses/401/content/application~1json/examples/authRequired"},"paths/~1user-wallets~1deposits/get/responses/401/content/application~1json/examples/invalidApiKey":{"value":{"statusCode":401,"error":"Unauthorized","errorCode":"INVALID_API_KEY","message":"Invalid API key"},"key":"invalidApiKey","summary":"Unknown / revoked API key","id":"paths/~1user-wallets~1deposits/get/responses/401/content/application~1json/examples/invalidApiKey"},"paths/~1user-wallets~1deposits/get/responses/401/content/application~1json/examples/sessionInvalid":{"value":{"statusCode":401,"error":"Unauthorized","errorCode":"SESSION_INVALID","message":"Invalid session token"},"key":"sessionInvalid","summary":"Expired or malformed session token","id":"paths/~1user-wallets~1deposits/get/responses/401/content/application~1json/examples/sessionInvalid"},"paths/~1user-wallets~1deposits/get/responses/403/content/application~1json/examples/permissionDenied":{"value":{"statusCode":403,"error":"PERMISSION_DENIED","errorCode":"PERMISSION_DENIED","message":"Missing required permission: orders:create","required":"orders:create","details":{"required":"orders:create"}},"key":"permissionDenied","summary":"Missing permission","id":"paths/~1user-wallets~1deposits/get/responses/403/content/application~1json/examples/permissionDenied"},"paths/~1cards/get/responses/401/content/application~1json/examples/authRequired":{"value":{"statusCode":401,"error":"Unauthorized","errorCode":"AUTH_REQUIRED","message":"API key or session token is required"},"key":"authRequired","summary":"No API key or session token provided","id":"paths/~1cards/get/responses/401/content/application~1json/examples/authRequired"},"paths/~1cards/get/responses/401/content/application~1json/examples/invalidApiKey":{"value":{"statusCode":401,"error":"Unauthorized","errorCode":"INVALID_API_KEY","message":"Invalid API key"},"key":"invalidApiKey","summary":"Unknown / revoked API key","id":"paths/~1cards/get/responses/401/content/application~1json/examples/invalidApiKey"},"paths/~1cards/get/responses/401/content/application~1json/examples/sessionInvalid":{"value":{"statusCode":401,"error":"Unauthorized","errorCode":"SESSION_INVALID","message":"Invalid session token"},"key":"sessionInvalid","summary":"Expired or malformed session token","id":"paths/~1cards/get/responses/401/content/application~1json/examples/sessionInvalid"},"paths/~1cards/get/responses/403/content/application~1json/examples/cardsNotEnabled":{"value":{"statusCode":403,"error":"Forbidden","errorCode":"CARDS_NOT_ENABLED","message":"Функционал карт не активирован для этой компании"},"key":"cardsNotEnabled","summary":"Cards not enabled for this company","id":"paths/~1cards/get/responses/403/content/application~1json/examples/cardsNotEnabled"},"paths/~1cards/get/responses/403/content/application~1json/examples/permissionDenied":{"value":{"statusCode":403,"error":"PERMISSION_DENIED","errorCode":"PERMISSION_DENIED","message":"Missing required permission: cards:write","required":"cards:write","details":{"required":"cards:write"}},"key":"permissionDenied","summary":"API key lacks card permission","id":"paths/~1cards/get/responses/403/content/application~1json/examples/permissionDenied"},"paths/~1cards~1request/post/responses/400/content/application~1json/examples/idempotencyKeyRequired":{"value":{"statusCode":400,"error":"Bad Request","errorCode":"IDEMPOTENCY_KEY_REQUIRED","message":"Idempotency-Key header is required"},"key":"idempotencyKeyRequired","summary":"Missing Idempotency-Key header on a mutation","id":"paths/~1cards~1request/post/responses/400/content/application~1json/examples/idempotencyKeyRequired"},"paths/~1cards~1request/post/responses/400/content/application~1json/examples/insufficientFunds":{"value":{"statusCode":400,"error":"Bad Request","errorCode":"BAD_REQUEST","message":"INSUFFICIENT_FUNDS"},"key":"insufficientFunds","summary":"Not enough balance to cover the opening reserve","id":"paths/~1cards~1request/post/responses/400/content/application~1json/examples/insufficientFunds"},"paths/~1cards~1request/post/responses/401/content/application~1json/examples/authRequired":{"value":{"statusCode":401,"error":"Unauthorized","errorCode":"AUTH_REQUIRED","message":"API key or session token is required"},"key":"authRequired","summary":"No API key or session token provided","id":"paths/~1cards~1request/post/responses/401/content/application~1json/examples/authRequired"},"paths/~1cards~1request/post/responses/401/content/application~1json/examples/invalidApiKey":{"value":{"statusCode":401,"error":"Unauthorized","errorCode":"INVALID_API_KEY","message":"Invalid API key"},"key":"invalidApiKey","summary":"Unknown / revoked API key","id":"paths/~1cards~1request/post/responses/401/content/application~1json/examples/invalidApiKey"},"paths/~1cards~1request/post/responses/401/content/application~1json/examples/sessionInvalid":{"value":{"statusCode":401,"error":"Unauthorized","errorCode":"SESSION_INVALID","message":"Invalid session token"},"key":"sessionInvalid","summary":"Expired or malformed session token","id":"paths/~1cards~1request/post/responses/401/content/application~1json/examples/sessionInvalid"},"paths/~1cards~1request/post/responses/403/content/application~1json/examples/cardsNotEnabled":{"value":{"statusCode":403,"error":"Forbidden","errorCode":"CARDS_NOT_ENABLED","message":"Функционал карт не активирован для этой компании"},"key":"cardsNotEnabled","summary":"Cards not enabled for this company","id":"paths/~1cards~1request/post/responses/403/content/application~1json/examples/cardsNotEnabled"},"paths/~1cards~1request/post/responses/403/content/application~1json/examples/permissionDenied":{"value":{"statusCode":403,"error":"PERMISSION_DENIED","errorCode":"PERMISSION_DENIED","message":"Missing required permission: cards:write","required":"cards:write","details":{"required":"cards:write"}},"key":"permissionDenied","summary":"API key lacks card permission","id":"paths/~1cards~1request/post/responses/403/content/application~1json/examples/permissionDenied"},"paths/~1cards~1request/post/responses/409/content/application~1json/examples/takenByCard":{"value":{"statusCode":409,"error":"Conflict","errorCode":"CARD_EXTERNAL_ID_TAKEN","message":"externalId \"user-42-card-1\" уже занят картой 8c7f1823-0d43-4618-86ee-fa0c77643cb2","details":{"externalId":"user-42-card-1","cardId":"8c7f1823-0d43-4618-86ee-fa0c77643cb2"}},"key":"takenByCard","summary":"Значение занято уже выпущенной картой","id":"paths/~1cards~1request/post/responses/409/content/application~1json/examples/takenByCard"},"paths/~1cards~1request/post/responses/409/content/application~1json/examples/takenByRequest":{"value":{"statusCode":409,"error":"Conflict","errorCode":"CARD_EXTERNAL_ID_TAKEN","message":"externalId \"user-42-card-1\" уже занят заявкой 2077f4ef-a03d-4001-82e3-1965e44036e8","details":{"externalId":"user-42-card-1","requestId":"2077f4ef-a03d-4001-82e3-1965e44036e8"}},"key":"takenByRequest","summary":"Значение занято заявкой в очереди","id":"paths/~1cards~1request/post/responses/409/content/application~1json/examples/takenByRequest"},"paths/~1cards~1request/post/responses/502/content/application~1json/examples/bridgeError":{"value":{"statusCode":502,"error":"Bad Gateway","errorCode":"BRIDGE_ERROR","message":"Unexpected response from bridge"},"key":"bridgeError","summary":"Card issuer upstream error","id":"paths/~1cards~1request/post/responses/502/content/application~1json/examples/bridgeError"},"paths/~1cards~1requests~1{id}~1cancel/post/responses/400/content/application~1json/example":{"value":{"statusCode":400,"error":"Bad Request","errorCode":"CARD_REQUEST_NOT_CANCELABLE","message":"Карта по заявке уже выпущена — отменить нельзя, её можно закрыть"},"id":"paths/~1cards~1requests~1{id}~1cancel/post/responses/400/content/application~1json/example"},"paths/~1cards~1requests~1{id}~1cancel/post/responses/401/content/application~1json/examples/authRequired":{"value":{"statusCode":401,"error":"Unauthorized","errorCode":"AUTH_REQUIRED","message":"API key or session token is required"},"key":"authRequired","summary":"No API key or session token provided","id":"paths/~1cards~1requests~1{id}~1cancel/post/responses/401/content/application~1json/examples/authRequired"},"paths/~1cards~1requests~1{id}~1cancel/post/responses/401/content/application~1json/examples/invalidApiKey":{"value":{"statusCode":401,"error":"Unauthorized","errorCode":"INVALID_API_KEY","message":"Invalid API key"},"key":"invalidApiKey","summary":"Unknown / revoked API key","id":"paths/~1cards~1requests~1{id}~1cancel/post/responses/401/content/application~1json/examples/invalidApiKey"},"paths/~1cards~1requests~1{id}~1cancel/post/responses/401/content/application~1json/examples/sessionInvalid":{"value":{"statusCode":401,"error":"Unauthorized","errorCode":"SESSION_INVALID","message":"Invalid session token"},"key":"sessionInvalid","summary":"Expired or malformed session token","id":"paths/~1cards~1requests~1{id}~1cancel/post/responses/401/content/application~1json/examples/sessionInvalid"},"paths/~1cards~1requests~1{id}~1cancel/post/responses/403/content/application~1json/examples/cardsNotEnabled":{"value":{"statusCode":403,"error":"Forbidden","errorCode":"CARDS_NOT_ENABLED","message":"Функционал карт не активирован для этой компании"},"key":"cardsNotEnabled","summary":"Cards not enabled for this company","id":"paths/~1cards~1requests~1{id}~1cancel/post/responses/403/content/application~1json/examples/cardsNotEnabled"},"paths/~1cards~1requests~1{id}~1cancel/post/responses/403/content/application~1json/examples/permissionDenied":{"value":{"statusCode":403,"error":"PERMISSION_DENIED","errorCode":"PERMISSION_DENIED","message":"Missing required permission: cards:write","required":"cards:write","details":{"required":"cards:write"}},"key":"permissionDenied","summary":"API key lacks card permission","id":"paths/~1cards~1requests~1{id}~1cancel/post/responses/403/content/application~1json/examples/permissionDenied"},"paths/~1cards~1requests~1{id}~1cancel/post/responses/404/content/application~1json/example":{"value":{"statusCode":404,"error":"Not Found","errorCode":"CARD_REQUEST_NOT_FOUND","message":"Card request not found"},"id":"paths/~1cards~1requests~1{id}~1cancel/post/responses/404/content/application~1json/example"},"paths/~1cards~1{id}/get/responses/401/content/application~1json/examples/authRequired":{"value":{"statusCode":401,"error":"Unauthorized","errorCode":"AUTH_REQUIRED","message":"API key or session token is required"},"key":"authRequired","summary":"No API key or session token provided","id":"paths/~1cards~1{id}/get/responses/401/content/application~1json/examples/authRequired"},"paths/~1cards~1{id}/get/responses/401/content/application~1json/examples/invalidApiKey":{"value":{"statusCode":401,"error":"Unauthorized","errorCode":"INVALID_API_KEY","message":"Invalid API key"},"key":"invalidApiKey","summary":"Unknown / revoked API key","id":"paths/~1cards~1{id}/get/responses/401/content/application~1json/examples/invalidApiKey"},"paths/~1cards~1{id}/get/responses/401/content/application~1json/examples/sessionInvalid":{"value":{"statusCode":401,"error":"Unauthorized","errorCode":"SESSION_INVALID","message":"Invalid session token"},"key":"sessionInvalid","summary":"Expired or malformed session token","id":"paths/~1cards~1{id}/get/responses/401/content/application~1json/examples/sessionInvalid"},"paths/~1cards~1{id}/get/responses/404/content/application~1json/examples/cardNotFound":{"value":{"statusCode":404,"error":"Not Found","errorCode":"CARD_NOT_FOUND","message":"Card 3f1c… not found"},"key":"cardNotFound","summary":"Card not found","id":"paths/~1cards~1{id}/get/responses/404/content/application~1json/examples/cardNotFound"},"paths/~1cards~1{id}/get/responses/404/content/application~1json/examples/cardRequestNotFound":{"value":{"statusCode":404,"error":"Not Found","errorCode":"CARD_REQUEST_NOT_FOUND","message":"Card request 9a2b… not found"},"key":"cardRequestNotFound","summary":"Card request not found","id":"paths/~1cards~1{id}/get/responses/404/content/application~1json/examples/cardRequestNotFound"},"paths/~1cards~1{id}~1retire/post/responses/401/content/application~1json/examples/authRequired":{"value":{"statusCode":401,"error":"Unauthorized","errorCode":"AUTH_REQUIRED","message":"API key or session token is required"},"key":"authRequired","summary":"No API key or session token provided","id":"paths/~1cards~1{id}~1retire/post/responses/401/content/application~1json/examples/authRequired"},"paths/~1cards~1{id}~1retire/post/responses/401/content/application~1json/examples/invalidApiKey":{"value":{"statusCode":401,"error":"Unauthorized","errorCode":"INVALID_API_KEY","message":"Invalid API key"},"key":"invalidApiKey","summary":"Unknown / revoked API key","id":"paths/~1cards~1{id}~1retire/post/responses/401/content/application~1json/examples/invalidApiKey"},"paths/~1cards~1{id}~1retire/post/responses/401/content/application~1json/examples/sessionInvalid":{"value":{"statusCode":401,"error":"Unauthorized","errorCode":"SESSION_INVALID","message":"Invalid session token"},"key":"sessionInvalid","summary":"Expired or malformed session token","id":"paths/~1cards~1{id}~1retire/post/responses/401/content/application~1json/examples/sessionInvalid"},"paths/~1cards~1{id}~1retire/post/responses/403/content/application~1json/examples/cardsNotEnabled":{"value":{"statusCode":403,"error":"Forbidden","errorCode":"CARDS_NOT_ENABLED","message":"Функционал карт не активирован для этой компании"},"key":"cardsNotEnabled","summary":"Cards not enabled for this company","id":"paths/~1cards~1{id}~1retire/post/responses/403/content/application~1json/examples/cardsNotEnabled"},"paths/~1cards~1{id}~1retire/post/responses/403/content/application~1json/examples/permissionDenied":{"value":{"statusCode":403,"error":"PERMISSION_DENIED","errorCode":"PERMISSION_DENIED","message":"Missing required permission: cards:write","required":"cards:write","details":{"required":"cards:write"}},"key":"permissionDenied","summary":"API key lacks card permission","id":"paths/~1cards~1{id}~1retire/post/responses/403/content/application~1json/examples/permissionDenied"},"paths/~1cards~1{id}~1retire/post/responses/404/content/application~1json/examples/cardNotFound":{"value":{"statusCode":404,"error":"Not Found","errorCode":"CARD_NOT_FOUND","message":"Card 3f1c… not found"},"key":"cardNotFound","summary":"Card not found","id":"paths/~1cards~1{id}~1retire/post/responses/404/content/application~1json/examples/cardNotFound"},"paths/~1cards~1{id}~1retire/post/responses/404/content/application~1json/examples/cardRequestNotFound":{"value":{"statusCode":404,"error":"Not Found","errorCode":"CARD_REQUEST_NOT_FOUND","message":"Card request 9a2b… not found"},"key":"cardRequestNotFound","summary":"Card request not found","id":"paths/~1cards~1{id}~1retire/post/responses/404/content/application~1json/examples/cardRequestNotFound"},"paths/~1cards~1{id}~1otp~1latest/get/responses/401/content/application~1json/examples/authRequired":{"value":{"statusCode":401,"error":"Unauthorized","errorCode":"AUTH_REQUIRED","message":"API key or session token is required"},"key":"authRequired","summary":"No API key or session token provided","id":"paths/~1cards~1{id}~1otp~1latest/get/responses/401/content/application~1json/examples/authRequired"},"paths/~1cards~1{id}~1otp~1latest/get/responses/401/content/application~1json/examples/invalidApiKey":{"value":{"statusCode":401,"error":"Unauthorized","errorCode":"INVALID_API_KEY","message":"Invalid API key"},"key":"invalidApiKey","summary":"Unknown / revoked API key","id":"paths/~1cards~1{id}~1otp~1latest/get/responses/401/content/application~1json/examples/invalidApiKey"},"paths/~1cards~1{id}~1otp~1latest/get/responses/401/content/application~1json/examples/sessionInvalid":{"value":{"statusCode":401,"error":"Unauthorized","errorCode":"SESSION_INVALID","message":"Invalid session token"},"key":"sessionInvalid","summary":"Expired or malformed session token","id":"paths/~1cards~1{id}~1otp~1latest/get/responses/401/content/application~1json/examples/sessionInvalid"},"paths/~1cards~1{id}~1otp~1latest/get/responses/404/content/application~1json/examples/cardNotFound":{"value":{"statusCode":404,"error":"Not Found","errorCode":"CARD_NOT_FOUND","message":"Card 3f1c… not found"},"key":"cardNotFound","summary":"Card not found","id":"paths/~1cards~1{id}~1otp~1latest/get/responses/404/content/application~1json/examples/cardNotFound"},"paths/~1cards~1{id}~1otp~1latest/get/responses/404/content/application~1json/examples/cardRequestNotFound":{"value":{"statusCode":404,"error":"Not Found","errorCode":"CARD_REQUEST_NOT_FOUND","message":"Card request 9a2b… not found"},"key":"cardRequestNotFound","summary":"Card request not found","id":"paths/~1cards~1{id}~1otp~1latest/get/responses/404/content/application~1json/examples/cardRequestNotFound"},"paths/~1cards~1{id}~1balance/get/responses/400/content/application~1json/examples/validation":{"value":{"statusCode":400,"error":"Bad Request","errorCode":"VALIDATION_ERROR","message":["email must be an email"]},"key":"validation","summary":"Request body/query validation failed","id":"paths/~1cards~1{id}~1balance/get/responses/400/content/application~1json/examples/validation"},"paths/~1cards~1{id}~1balance/get/responses/400/content/application~1json/examples/badRequest":{"value":{"statusCode":400,"error":"Bad Request","errorCode":"BAD_REQUEST","message":"Invalid request"},"key":"badRequest","summary":"Generic bad request","id":"paths/~1cards~1{id}~1balance/get/responses/400/content/application~1json/examples/badRequest"},"paths/~1cards~1{id}~1balance/get/responses/401/content/application~1json/examples/authRequired":{"value":{"statusCode":401,"error":"Unauthorized","errorCode":"AUTH_REQUIRED","message":"API key or session token is required"},"key":"authRequired","summary":"No API key or session token provided","id":"paths/~1cards~1{id}~1balance/get/responses/401/content/application~1json/examples/authRequired"},"paths/~1cards~1{id}~1balance/get/responses/401/content/application~1json/examples/invalidApiKey":{"value":{"statusCode":401,"error":"Unauthorized","errorCode":"INVALID_API_KEY","message":"Invalid API key"},"key":"invalidApiKey","summary":"Unknown / revoked API key","id":"paths/~1cards~1{id}~1balance/get/responses/401/content/application~1json/examples/invalidApiKey"},"paths/~1cards~1{id}~1balance/get/responses/401/content/application~1json/examples/sessionInvalid":{"value":{"statusCode":401,"error":"Unauthorized","errorCode":"SESSION_INVALID","message":"Invalid session token"},"key":"sessionInvalid","summary":"Expired or malformed session token","id":"paths/~1cards~1{id}~1balance/get/responses/401/content/application~1json/examples/sessionInvalid"},"paths/~1cards~1{id}~1balance/get/responses/404/content/application~1json/examples/cardNotFound":{"value":{"statusCode":404,"error":"Not Found","errorCode":"CARD_NOT_FOUND","message":"Card 3f1c… not found"},"key":"cardNotFound","summary":"Card not found","id":"paths/~1cards~1{id}~1balance/get/responses/404/content/application~1json/examples/cardNotFound"},"paths/~1cards~1{id}~1balance/get/responses/404/content/application~1json/examples/cardRequestNotFound":{"value":{"statusCode":404,"error":"Not Found","errorCode":"CARD_REQUEST_NOT_FOUND","message":"Card request 9a2b… not found"},"key":"cardRequestNotFound","summary":"Card request not found","id":"paths/~1cards~1{id}~1balance/get/responses/404/content/application~1json/examples/cardRequestNotFound"},"paths/~1cards~1{id}~1balance/get/responses/422/content/application~1json/examples/notActive":{"value":{"statusCode":422,"error":"Unprocessable Entity","errorCode":"CARD_NOT_ACTIVE","message":"Card is not yet active"},"key":"notActive","summary":"Card is not yet active","id":"paths/~1cards~1{id}~1balance/get/responses/422/content/application~1json/examples/notActive"},"paths/~1cards~1{id}~1balance/get/responses/502/content/application~1json/examples/bridgeError":{"value":{"statusCode":502,"error":"Bad Gateway","errorCode":"BRIDGE_ERROR","message":"Unexpected response from bridge"},"key":"bridgeError","summary":"Card issuer upstream error","id":"paths/~1cards~1{id}~1balance/get/responses/502/content/application~1json/examples/bridgeError"},"paths/~1cards~1transactions/get/responses/401/content/application~1json/examples/authRequired":{"value":{"statusCode":401,"error":"Unauthorized","errorCode":"AUTH_REQUIRED","message":"API key or session token is required"},"key":"authRequired","summary":"No API key or session token provided","id":"paths/~1cards~1transactions/get/responses/401/content/application~1json/examples/authRequired"},"paths/~1cards~1transactions/get/responses/401/content/application~1json/examples/invalidApiKey":{"value":{"statusCode":401,"error":"Unauthorized","errorCode":"INVALID_API_KEY","message":"Invalid API key"},"key":"invalidApiKey","summary":"Unknown / revoked API key","id":"paths/~1cards~1transactions/get/responses/401/content/application~1json/examples/invalidApiKey"},"paths/~1cards~1transactions/get/responses/401/content/application~1json/examples/sessionInvalid":{"value":{"statusCode":401,"error":"Unauthorized","errorCode":"SESSION_INVALID","message":"Invalid session token"},"key":"sessionInvalid","summary":"Expired or malformed session token","id":"paths/~1cards~1transactions/get/responses/401/content/application~1json/examples/sessionInvalid"},"paths/~1cards~1transactions.csv/get/responses/401/content/application~1json/examples/authRequired":{"value":{"statusCode":401,"error":"Unauthorized","errorCode":"AUTH_REQUIRED","message":"API key or session token is required"},"key":"authRequired","summary":"No API key or session token provided","id":"paths/~1cards~1transactions.csv/get/responses/401/content/application~1json/examples/authRequired"},"paths/~1cards~1transactions.csv/get/responses/401/content/application~1json/examples/invalidApiKey":{"value":{"statusCode":401,"error":"Unauthorized","errorCode":"INVALID_API_KEY","message":"Invalid API key"},"key":"invalidApiKey","summary":"Unknown / revoked API key","id":"paths/~1cards~1transactions.csv/get/responses/401/content/application~1json/examples/invalidApiKey"},"paths/~1cards~1transactions.csv/get/responses/401/content/application~1json/examples/sessionInvalid":{"value":{"statusCode":401,"error":"Unauthorized","errorCode":"SESSION_INVALID","message":"Invalid session token"},"key":"sessionInvalid","summary":"Expired or malformed session token","id":"paths/~1cards~1transactions.csv/get/responses/401/content/application~1json/examples/sessionInvalid"},"paths/~1cards~1{id}~1transactions.csv/get/responses/401/content/application~1json/examples/authRequired":{"value":{"statusCode":401,"error":"Unauthorized","errorCode":"AUTH_REQUIRED","message":"API key or session token is required"},"key":"authRequired","summary":"No API key or session token provided","id":"paths/~1cards~1{id}~1transactions.csv/get/responses/401/content/application~1json/examples/authRequired"},"paths/~1cards~1{id}~1transactions.csv/get/responses/401/content/application~1json/examples/invalidApiKey":{"value":{"statusCode":401,"error":"Unauthorized","errorCode":"INVALID_API_KEY","message":"Invalid API key"},"key":"invalidApiKey","summary":"Unknown / revoked API key","id":"paths/~1cards~1{id}~1transactions.csv/get/responses/401/content/application~1json/examples/invalidApiKey"},"paths/~1cards~1{id}~1transactions.csv/get/responses/401/content/application~1json/examples/sessionInvalid":{"value":{"statusCode":401,"error":"Unauthorized","errorCode":"SESSION_INVALID","message":"Invalid session token"},"key":"sessionInvalid","summary":"Expired or malformed session token","id":"paths/~1cards~1{id}~1transactions.csv/get/responses/401/content/application~1json/examples/sessionInvalid"},"paths/~1cards~1{id}~1transactions.csv/get/responses/404/content/application~1json/examples/cardNotFound":{"value":{"statusCode":404,"error":"Not Found","errorCode":"CARD_NOT_FOUND","message":"Card 3f1c… not found"},"key":"cardNotFound","summary":"Card not found","id":"paths/~1cards~1{id}~1transactions.csv/get/responses/404/content/application~1json/examples/cardNotFound"},"paths/~1cards~1{id}~1transactions.csv/get/responses/404/content/application~1json/examples/cardRequestNotFound":{"value":{"statusCode":404,"error":"Not Found","errorCode":"CARD_REQUEST_NOT_FOUND","message":"Card request 9a2b… not found"},"key":"cardRequestNotFound","summary":"Card request not found","id":"paths/~1cards~1{id}~1transactions.csv/get/responses/404/content/application~1json/examples/cardRequestNotFound"},"paths/~1cards~1{id}~1transactions/get/responses/401/content/application~1json/examples/authRequired":{"value":{"statusCode":401,"error":"Unauthorized","errorCode":"AUTH_REQUIRED","message":"API key or session token is required"},"key":"authRequired","summary":"No API key or session token provided","id":"paths/~1cards~1{id}~1transactions/get/responses/401/content/application~1json/examples/authRequired"},"paths/~1cards~1{id}~1transactions/get/responses/401/content/application~1json/examples/invalidApiKey":{"value":{"statusCode":401,"error":"Unauthorized","errorCode":"INVALID_API_KEY","message":"Invalid API key"},"key":"invalidApiKey","summary":"Unknown / revoked API key","id":"paths/~1cards~1{id}~1transactions/get/responses/401/content/application~1json/examples/invalidApiKey"},"paths/~1cards~1{id}~1transactions/get/responses/401/content/application~1json/examples/sessionInvalid":{"value":{"statusCode":401,"error":"Unauthorized","errorCode":"SESSION_INVALID","message":"Invalid session token"},"key":"sessionInvalid","summary":"Expired or malformed session token","id":"paths/~1cards~1{id}~1transactions/get/responses/401/content/application~1json/examples/sessionInvalid"},"paths/~1cards~1{id}~1transactions/get/responses/404/content/application~1json/examples/cardNotFound":{"value":{"statusCode":404,"error":"Not Found","errorCode":"CARD_NOT_FOUND","message":"Card 3f1c… not found"},"key":"cardNotFound","summary":"Card not found","id":"paths/~1cards~1{id}~1transactions/get/responses/404/content/application~1json/examples/cardNotFound"},"paths/~1cards~1{id}~1transactions/get/responses/404/content/application~1json/examples/cardRequestNotFound":{"value":{"statusCode":404,"error":"Not Found","errorCode":"CARD_REQUEST_NOT_FOUND","message":"Card request 9a2b… not found"},"key":"cardRequestNotFound","summary":"Card request not found","id":"paths/~1cards~1{id}~1transactions/get/responses/404/content/application~1json/examples/cardRequestNotFound"},"paths/~1cards~1{id}~1sensitive/get/responses/401/content/application~1json/examples/authRequired":{"value":{"statusCode":401,"error":"Unauthorized","errorCode":"AUTH_REQUIRED","message":"API key or session token is required"},"key":"authRequired","summary":"No API key or session token provided","id":"paths/~1cards~1{id}~1sensitive/get/responses/401/content/application~1json/examples/authRequired"},"paths/~1cards~1{id}~1sensitive/get/responses/401/content/application~1json/examples/invalidApiKey":{"value":{"statusCode":401,"error":"Unauthorized","errorCode":"INVALID_API_KEY","message":"Invalid API key"},"key":"invalidApiKey","summary":"Unknown / revoked API key","id":"paths/~1cards~1{id}~1sensitive/get/responses/401/content/application~1json/examples/invalidApiKey"},"paths/~1cards~1{id}~1sensitive/get/responses/401/content/application~1json/examples/sessionInvalid":{"value":{"statusCode":401,"error":"Unauthorized","errorCode":"SESSION_INVALID","message":"Invalid session token"},"key":"sessionInvalid","summary":"Expired or malformed session token","id":"paths/~1cards~1{id}~1sensitive/get/responses/401/content/application~1json/examples/sessionInvalid"},"paths/~1cards~1{id}~1sensitive/get/responses/404/content/application~1json/examples/cardNotFound":{"value":{"statusCode":404,"error":"Not Found","errorCode":"CARD_NOT_FOUND","message":"Card 3f1c… not found"},"key":"cardNotFound","summary":"Card not found","id":"paths/~1cards~1{id}~1sensitive/get/responses/404/content/application~1json/examples/cardNotFound"},"paths/~1cards~1{id}~1sensitive/get/responses/404/content/application~1json/examples/cardRequestNotFound":{"value":{"statusCode":404,"error":"Not Found","errorCode":"CARD_REQUEST_NOT_FOUND","message":"Card request 9a2b… not found"},"key":"cardRequestNotFound","summary":"Card request not found","id":"paths/~1cards~1{id}~1sensitive/get/responses/404/content/application~1json/examples/cardRequestNotFound"},"paths/~1payouts~1config/get/responses/401/content/application~1json/examples/authRequired":{"value":{"statusCode":401,"error":"Unauthorized","errorCode":"AUTH_REQUIRED","message":"API key or session token is required"},"key":"authRequired","summary":"No API key or session token provided","id":"paths/~1payouts~1config/get/responses/401/content/application~1json/examples/authRequired"},"paths/~1payouts~1config/get/responses/401/content/application~1json/examples/invalidApiKey":{"value":{"statusCode":401,"error":"Unauthorized","errorCode":"INVALID_API_KEY","message":"Invalid API key"},"key":"invalidApiKey","summary":"Unknown / revoked API key","id":"paths/~1payouts~1config/get/responses/401/content/application~1json/examples/invalidApiKey"},"paths/~1payouts~1config/get/responses/401/content/application~1json/examples/sessionInvalid":{"value":{"statusCode":401,"error":"Unauthorized","errorCode":"SESSION_INVALID","message":"Invalid session token"},"key":"sessionInvalid","summary":"Expired or malformed session token","id":"paths/~1payouts~1config/get/responses/401/content/application~1json/examples/sessionInvalid"},"paths/~1payouts~1banks/get/responses/401/content/application~1json/examples/authRequired":{"value":{"statusCode":401,"error":"Unauthorized","errorCode":"AUTH_REQUIRED","message":"API key or session token is required"},"key":"authRequired","summary":"No API key or session token provided","id":"paths/~1payouts~1banks/get/responses/401/content/application~1json/examples/authRequired"},"paths/~1payouts~1banks/get/responses/401/content/application~1json/examples/invalidApiKey":{"value":{"statusCode":401,"error":"Unauthorized","errorCode":"INVALID_API_KEY","message":"Invalid API key"},"key":"invalidApiKey","summary":"Unknown / revoked API key","id":"paths/~1payouts~1banks/get/responses/401/content/application~1json/examples/invalidApiKey"},"paths/~1payouts~1banks/get/responses/401/content/application~1json/examples/sessionInvalid":{"value":{"statusCode":401,"error":"Unauthorized","errorCode":"SESSION_INVALID","message":"Invalid session token"},"key":"sessionInvalid","summary":"Expired or malformed session token","id":"paths/~1payouts~1banks/get/responses/401/content/application~1json/examples/sessionInvalid"},"paths/~1payouts~1quote/post/responses/400/content/application~1json/examples/cooldown":{"value":{"statusCode":400,"error":"Bad Request","errorCode":"PAYOUT_REQUISITE_COOLDOWN","message":"На этот номер в этом банке недавно уже выплачивали. Следующая выплата будет доступна 28.08.2026 16:29 по Москве.","details":{"availableAt":"2026-08-28T13:29:00.000Z","cooldownHours":72}},"key":"cooldown","summary":"На этот реквизит недавно уже выплачивали","id":"paths/~1payouts~1quote/post/responses/400/content/application~1json/examples/cooldown"},"paths/~1payouts~1quote/post/responses/400/content/application~1json/examples/outsideHours":{"value":{"statusCode":400,"error":"Bad Request","errorCode":"PAYOUT_OUTSIDE_WORKING_HOURS","message":"Выплаты принимаются с 08:00 до 22:00 по Москве.","details":{"workFromHour":8,"workToHour":22}},"key":"outsideHours","summary":"Вне часов приёма","id":"paths/~1payouts~1quote/post/responses/400/content/application~1json/examples/outsideHours"},"paths/~1payouts~1quote/post/responses/400/content/application~1json/examples/bankRequired":{"value":{"statusCode":400,"error":"Bad Request","errorCode":"PAYOUT_BANK_REQUIRED","message":"Для перевода по номеру телефона нужен bankId получателя"},"key":"bankRequired","summary":"Перевод по телефону без банка","id":"paths/~1payouts~1quote/post/responses/400/content/application~1json/examples/bankRequired"},"paths/~1payouts~1quote/post/responses/400/content/application~1json/examples/insufficient":{"value":{"statusCode":400,"error":"Bad Request","errorCode":"INSUFFICIENT_BALANCE","message":"Недостаточно средств на балансе","details":{"available":42.15,"required":147.71}},"key":"insufficient","summary":"Не хватает баланса","id":"paths/~1payouts~1quote/post/responses/400/content/application~1json/examples/insufficient"},"paths/~1payouts~1quote/post/responses/400/content/application~1json/examples/rejected":{"value":{"statusCode":400,"error":"Bad Request","errorCode":"PAYOUT_SERVICE_REJECTED","message":"Сервис выплат не принял заявку. Средства вернулись на баланс."},"key":"rejected","summary":"Сервис выплат не принял заявку — средства вернулись","id":"paths/~1payouts~1quote/post/responses/400/content/application~1json/examples/rejected"},"paths/~1payouts~1quote/post/responses/401/content/application~1json/examples/authRequired":{"value":{"statusCode":401,"error":"Unauthorized","errorCode":"AUTH_REQUIRED","message":"API key or session token is required"},"key":"authRequired","summary":"No API key or session token provided","id":"paths/~1payouts~1quote/post/responses/401/content/application~1json/examples/authRequired"},"paths/~1payouts~1quote/post/responses/401/content/application~1json/examples/invalidApiKey":{"value":{"statusCode":401,"error":"Unauthorized","errorCode":"INVALID_API_KEY","message":"Invalid API key"},"key":"invalidApiKey","summary":"Unknown / revoked API key","id":"paths/~1payouts~1quote/post/responses/401/content/application~1json/examples/invalidApiKey"},"paths/~1payouts~1quote/post/responses/401/content/application~1json/examples/sessionInvalid":{"value":{"statusCode":401,"error":"Unauthorized","errorCode":"SESSION_INVALID","message":"Invalid session token"},"key":"sessionInvalid","summary":"Expired or malformed session token","id":"paths/~1payouts~1quote/post/responses/401/content/application~1json/examples/sessionInvalid"},"paths/~1payouts/post/responses/400/content/application~1json/examples/cooldown":{"value":{"statusCode":400,"error":"Bad Request","errorCode":"PAYOUT_REQUISITE_COOLDOWN","message":"На этот номер в этом банке недавно уже выплачивали. Следующая выплата будет доступна 28.08.2026 16:29 по Москве.","details":{"availableAt":"2026-08-28T13:29:00.000Z","cooldownHours":72}},"key":"cooldown","summary":"На этот реквизит недавно уже выплачивали","id":"paths/~1payouts/post/responses/400/content/application~1json/examples/cooldown"},"paths/~1payouts/post/responses/400/content/application~1json/examples/outsideHours":{"value":{"statusCode":400,"error":"Bad Request","errorCode":"PAYOUT_OUTSIDE_WORKING_HOURS","message":"Выплаты принимаются с 08:00 до 22:00 по Москве.","details":{"workFromHour":8,"workToHour":22}},"key":"outsideHours","summary":"Вне часов приёма","id":"paths/~1payouts/post/responses/400/content/application~1json/examples/outsideHours"},"paths/~1payouts/post/responses/400/content/application~1json/examples/bankRequired":{"value":{"statusCode":400,"error":"Bad Request","errorCode":"PAYOUT_BANK_REQUIRED","message":"Для перевода по номеру телефона нужен bankId получателя"},"key":"bankRequired","summary":"Перевод по телефону без банка","id":"paths/~1payouts/post/responses/400/content/application~1json/examples/bankRequired"},"paths/~1payouts/post/responses/400/content/application~1json/examples/insufficient":{"value":{"statusCode":400,"error":"Bad Request","errorCode":"INSUFFICIENT_BALANCE","message":"Недостаточно средств на балансе","details":{"available":42.15,"required":147.71}},"key":"insufficient","summary":"Не хватает баланса","id":"paths/~1payouts/post/responses/400/content/application~1json/examples/insufficient"},"paths/~1payouts/post/responses/400/content/application~1json/examples/rejected":{"value":{"statusCode":400,"error":"Bad Request","errorCode":"PAYOUT_SERVICE_REJECTED","message":"Сервис выплат не принял заявку. Средства вернулись на баланс."},"key":"rejected","summary":"Сервис выплат не принял заявку — средства вернулись","id":"paths/~1payouts/post/responses/400/content/application~1json/examples/rejected"},"paths/~1payouts/post/responses/401/content/application~1json/examples/authRequired":{"value":{"statusCode":401,"error":"Unauthorized","errorCode":"AUTH_REQUIRED","message":"API key or session token is required"},"key":"authRequired","summary":"No API key or session token provided","id":"paths/~1payouts/post/responses/401/content/application~1json/examples/authRequired"},"paths/~1payouts/post/responses/401/content/application~1json/examples/invalidApiKey":{"value":{"statusCode":401,"error":"Unauthorized","errorCode":"INVALID_API_KEY","message":"Invalid API key"},"key":"invalidApiKey","summary":"Unknown / revoked API key","id":"paths/~1payouts/post/responses/401/content/application~1json/examples/invalidApiKey"},"paths/~1payouts/post/responses/401/content/application~1json/examples/sessionInvalid":{"value":{"statusCode":401,"error":"Unauthorized","errorCode":"SESSION_INVALID","message":"Invalid session token"},"key":"sessionInvalid","summary":"Expired or malformed session token","id":"paths/~1payouts/post/responses/401/content/application~1json/examples/sessionInvalid"},"paths/~1payouts/post/responses/403/content/application~1json/example":{"value":{"statusCode":403,"error":"Forbidden","errorCode":"PAYOUTS_NOT_ENABLED","message":"Выплаты не подключены для вашей компании — напишите менеджеру"},"id":"paths/~1payouts/post/responses/403/content/application~1json/example"},"paths/~1payouts/post/responses/503/content/application~1json/example":{"value":{"statusCode":503,"error":"Service Unavailable","errorCode":"PAYOUT_SERVICE_UNAVAILABLE","message":"Сервис выплат сейчас не отвечает. Заявка принята, статус придёт вебхуком."},"id":"paths/~1payouts/post/responses/503/content/application~1json/example"},"paths/~1payouts/get/responses/401/content/application~1json/examples/authRequired":{"value":{"statusCode":401,"error":"Unauthorized","errorCode":"AUTH_REQUIRED","message":"API key or session token is required"},"key":"authRequired","summary":"No API key or session token provided","id":"paths/~1payouts/get/responses/401/content/application~1json/examples/authRequired"},"paths/~1payouts/get/responses/401/content/application~1json/examples/invalidApiKey":{"value":{"statusCode":401,"error":"Unauthorized","errorCode":"INVALID_API_KEY","message":"Invalid API key"},"key":"invalidApiKey","summary":"Unknown / revoked API key","id":"paths/~1payouts/get/responses/401/content/application~1json/examples/invalidApiKey"},"paths/~1payouts/get/responses/401/content/application~1json/examples/sessionInvalid":{"value":{"statusCode":401,"error":"Unauthorized","errorCode":"SESSION_INVALID","message":"Invalid session token"},"key":"sessionInvalid","summary":"Expired or malformed session token","id":"paths/~1payouts/get/responses/401/content/application~1json/examples/sessionInvalid"},"paths/~1payouts~1{id}/get/responses/401/content/application~1json/examples/authRequired":{"value":{"statusCode":401,"error":"Unauthorized","errorCode":"AUTH_REQUIRED","message":"API key or session token is required"},"key":"authRequired","summary":"No API key or session token provided","id":"paths/~1payouts~1{id}/get/responses/401/content/application~1json/examples/authRequired"},"paths/~1payouts~1{id}/get/responses/401/content/application~1json/examples/invalidApiKey":{"value":{"statusCode":401,"error":"Unauthorized","errorCode":"INVALID_API_KEY","message":"Invalid API key"},"key":"invalidApiKey","summary":"Unknown / revoked API key","id":"paths/~1payouts~1{id}/get/responses/401/content/application~1json/examples/invalidApiKey"},"paths/~1payouts~1{id}/get/responses/401/content/application~1json/examples/sessionInvalid":{"value":{"statusCode":401,"error":"Unauthorized","errorCode":"SESSION_INVALID","message":"Invalid session token"},"key":"sessionInvalid","summary":"Expired or malformed session token","id":"paths/~1payouts~1{id}/get/responses/401/content/application~1json/examples/sessionInvalid"},"paths/~1payouts~1{id}/get/responses/404/content/application~1json/example":{"value":{"statusCode":404,"error":"Not Found","errorCode":"PAYOUT_NOT_FOUND","message":"Заявка на выплату не найдена"},"id":"paths/~1payouts~1{id}/get/responses/404/content/application~1json/example"},"paths/~1payouts~1{id}~1cancel/post/responses/400/content/application~1json/examples/cooldown":{"value":{"statusCode":400,"error":"Bad Request","errorCode":"PAYOUT_REQUISITE_COOLDOWN","message":"На этот номер в этом банке недавно уже выплачивали. Следующая выплата будет доступна 28.08.2026 16:29 по Москве.","details":{"availableAt":"2026-08-28T13:29:00.000Z","cooldownHours":72}},"key":"cooldown","summary":"На этот реквизит недавно уже выплачивали","id":"paths/~1payouts~1{id}~1cancel/post/responses/400/content/application~1json/examples/cooldown"},"paths/~1payouts~1{id}~1cancel/post/responses/400/content/application~1json/examples/outsideHours":{"value":{"statusCode":400,"error":"Bad Request","errorCode":"PAYOUT_OUTSIDE_WORKING_HOURS","message":"Выплаты принимаются с 08:00 до 22:00 по Москве.","details":{"workFromHour":8,"workToHour":22}},"key":"outsideHours","summary":"Вне часов приёма","id":"paths/~1payouts~1{id}~1cancel/post/responses/400/content/application~1json/examples/outsideHours"},"paths/~1payouts~1{id}~1cancel/post/responses/400/content/application~1json/examples/bankRequired":{"value":{"statusCode":400,"error":"Bad Request","errorCode":"PAYOUT_BANK_REQUIRED","message":"Для перевода по номеру телефона нужен bankId получателя"},"key":"bankRequired","summary":"Перевод по телефону без банка","id":"paths/~1payouts~1{id}~1cancel/post/responses/400/content/application~1json/examples/bankRequired"},"paths/~1payouts~1{id}~1cancel/post/responses/400/content/application~1json/examples/insufficient":{"value":{"statusCode":400,"error":"Bad Request","errorCode":"INSUFFICIENT_BALANCE","message":"Недостаточно средств на балансе","details":{"available":42.15,"required":147.71}},"key":"insufficient","summary":"Не хватает баланса","id":"paths/~1payouts~1{id}~1cancel/post/responses/400/content/application~1json/examples/insufficient"},"paths/~1payouts~1{id}~1cancel/post/responses/400/content/application~1json/examples/rejected":{"value":{"statusCode":400,"error":"Bad Request","errorCode":"PAYOUT_SERVICE_REJECTED","message":"Сервис выплат не принял заявку. Средства вернулись на баланс."},"key":"rejected","summary":"Сервис выплат не принял заявку — средства вернулись","id":"paths/~1payouts~1{id}~1cancel/post/responses/400/content/application~1json/examples/rejected"},"paths/~1payouts~1{id}~1cancel/post/responses/401/content/application~1json/examples/authRequired":{"value":{"statusCode":401,"error":"Unauthorized","errorCode":"AUTH_REQUIRED","message":"API key or session token is required"},"key":"authRequired","summary":"No API key or session token provided","id":"paths/~1payouts~1{id}~1cancel/post/responses/401/content/application~1json/examples/authRequired"},"paths/~1payouts~1{id}~1cancel/post/responses/401/content/application~1json/examples/invalidApiKey":{"value":{"statusCode":401,"error":"Unauthorized","errorCode":"INVALID_API_KEY","message":"Invalid API key"},"key":"invalidApiKey","summary":"Unknown / revoked API key","id":"paths/~1payouts~1{id}~1cancel/post/responses/401/content/application~1json/examples/invalidApiKey"},"paths/~1payouts~1{id}~1cancel/post/responses/401/content/application~1json/examples/sessionInvalid":{"value":{"statusCode":401,"error":"Unauthorized","errorCode":"SESSION_INVALID","message":"Invalid session token"},"key":"sessionInvalid","summary":"Expired or malformed session token","id":"paths/~1payouts~1{id}~1cancel/post/responses/401/content/application~1json/examples/sessionInvalid"},"paths/~1payouts~1{id}~1cancel/post/responses/404/content/application~1json/example":{"value":{"statusCode":404,"error":"Not Found","errorCode":"PAYOUT_NOT_FOUND","message":"Заявка на выплату не найдена"},"id":"paths/~1payouts~1{id}~1cancel/post/responses/404/content/application~1json/example"},"paths/~1payouts~1{id}~1dispute/post/responses/400/content/application~1json/examples/cooldown":{"value":{"statusCode":400,"error":"Bad Request","errorCode":"PAYOUT_REQUISITE_COOLDOWN","message":"На этот номер в этом банке недавно уже выплачивали. Следующая выплата будет доступна 28.08.2026 16:29 по Москве.","details":{"availableAt":"2026-08-28T13:29:00.000Z","cooldownHours":72}},"key":"cooldown","summary":"На этот реквизит недавно уже выплачивали","id":"paths/~1payouts~1{id}~1dispute/post/responses/400/content/application~1json/examples/cooldown"},"paths/~1payouts~1{id}~1dispute/post/responses/400/content/application~1json/examples/outsideHours":{"value":{"statusCode":400,"error":"Bad Request","errorCode":"PAYOUT_OUTSIDE_WORKING_HOURS","message":"Выплаты принимаются с 08:00 до 22:00 по Москве.","details":{"workFromHour":8,"workToHour":22}},"key":"outsideHours","summary":"Вне часов приёма","id":"paths/~1payouts~1{id}~1dispute/post/responses/400/content/application~1json/examples/outsideHours"},"paths/~1payouts~1{id}~1dispute/post/responses/400/content/application~1json/examples/bankRequired":{"value":{"statusCode":400,"error":"Bad Request","errorCode":"PAYOUT_BANK_REQUIRED","message":"Для перевода по номеру телефона нужен bankId получателя"},"key":"bankRequired","summary":"Перевод по телефону без банка","id":"paths/~1payouts~1{id}~1dispute/post/responses/400/content/application~1json/examples/bankRequired"},"paths/~1payouts~1{id}~1dispute/post/responses/400/content/application~1json/examples/insufficient":{"value":{"statusCode":400,"error":"Bad Request","errorCode":"INSUFFICIENT_BALANCE","message":"Недостаточно средств на балансе","details":{"available":42.15,"required":147.71}},"key":"insufficient","summary":"Не хватает баланса","id":"paths/~1payouts~1{id}~1dispute/post/responses/400/content/application~1json/examples/insufficient"},"paths/~1payouts~1{id}~1dispute/post/responses/400/content/application~1json/examples/rejected":{"value":{"statusCode":400,"error":"Bad Request","errorCode":"PAYOUT_SERVICE_REJECTED","message":"Сервис выплат не принял заявку. Средства вернулись на баланс."},"key":"rejected","summary":"Сервис выплат не принял заявку — средства вернулись","id":"paths/~1payouts~1{id}~1dispute/post/responses/400/content/application~1json/examples/rejected"},"paths/~1payouts~1{id}~1dispute/post/responses/401/content/application~1json/examples/authRequired":{"value":{"statusCode":401,"error":"Unauthorized","errorCode":"AUTH_REQUIRED","message":"API key or session token is required"},"key":"authRequired","summary":"No API key or session token provided","id":"paths/~1payouts~1{id}~1dispute/post/responses/401/content/application~1json/examples/authRequired"},"paths/~1payouts~1{id}~1dispute/post/responses/401/content/application~1json/examples/invalidApiKey":{"value":{"statusCode":401,"error":"Unauthorized","errorCode":"INVALID_API_KEY","message":"Invalid API key"},"key":"invalidApiKey","summary":"Unknown / revoked API key","id":"paths/~1payouts~1{id}~1dispute/post/responses/401/content/application~1json/examples/invalidApiKey"},"paths/~1payouts~1{id}~1dispute/post/responses/401/content/application~1json/examples/sessionInvalid":{"value":{"statusCode":401,"error":"Unauthorized","errorCode":"SESSION_INVALID","message":"Invalid session token"},"key":"sessionInvalid","summary":"Expired or malformed session token","id":"paths/~1payouts~1{id}~1dispute/post/responses/401/content/application~1json/examples/sessionInvalid"},"paths/~1payouts~1{id}~1dispute/post/responses/404/content/application~1json/example":{"value":{"statusCode":404,"error":"Not Found","errorCode":"PAYOUT_NOT_FOUND","message":"Заявка на выплату не найдена"},"id":"paths/~1payouts~1{id}~1dispute/post/responses/404/content/application~1json/example"},"paths/~1cards~1recharge~1quote/post/responses/400/content/application~1json/examples/validation":{"value":{"statusCode":400,"error":"Bad Request","errorCode":"VALIDATION_ERROR","message":["email must be an email"]},"key":"validation","summary":"Request body/query validation failed","id":"paths/~1cards~1recharge~1quote/post/responses/400/content/application~1json/examples/validation"},"paths/~1cards~1recharge~1quote/post/responses/400/content/application~1json/examples/badRequest":{"value":{"statusCode":400,"error":"Bad Request","errorCode":"BAD_REQUEST","message":"Invalid request"},"key":"badRequest","summary":"Generic bad request","id":"paths/~1cards~1recharge~1quote/post/responses/400/content/application~1json/examples/badRequest"},"paths/~1cards~1recharge~1quote/post/responses/401/content/application~1json/examples/authRequired":{"value":{"statusCode":401,"error":"Unauthorized","errorCode":"AUTH_REQUIRED","message":"API key or session token is required"},"key":"authRequired","summary":"No API key or session token provided","id":"paths/~1cards~1recharge~1quote/post/responses/401/content/application~1json/examples/authRequired"},"paths/~1cards~1recharge~1quote/post/responses/401/content/application~1json/examples/invalidApiKey":{"value":{"statusCode":401,"error":"Unauthorized","errorCode":"INVALID_API_KEY","message":"Invalid API key"},"key":"invalidApiKey","summary":"Unknown / revoked API key","id":"paths/~1cards~1recharge~1quote/post/responses/401/content/application~1json/examples/invalidApiKey"},"paths/~1cards~1recharge~1quote/post/responses/401/content/application~1json/examples/sessionInvalid":{"value":{"statusCode":401,"error":"Unauthorized","errorCode":"SESSION_INVALID","message":"Invalid session token"},"key":"sessionInvalid","summary":"Expired or malformed session token","id":"paths/~1cards~1recharge~1quote/post/responses/401/content/application~1json/examples/sessionInvalid"},"paths/~1cards~1recharge~1quote/post/responses/403/content/application~1json/examples/cardsNotEnabled":{"value":{"statusCode":403,"error":"Forbidden","errorCode":"CARDS_NOT_ENABLED","message":"Функционал карт не активирован для этой компании"},"key":"cardsNotEnabled","summary":"Cards not enabled for this company","id":"paths/~1cards~1recharge~1quote/post/responses/403/content/application~1json/examples/cardsNotEnabled"},"paths/~1cards~1recharge~1quote/post/responses/403/content/application~1json/examples/permissionDenied":{"value":{"statusCode":403,"error":"PERMISSION_DENIED","errorCode":"PERMISSION_DENIED","message":"Missing required permission: cards:write","required":"cards:write","details":{"required":"cards:write"}},"key":"permissionDenied","summary":"API key lacks card permission","id":"paths/~1cards~1recharge~1quote/post/responses/403/content/application~1json/examples/permissionDenied"},"paths/~1cards~1recharge/post/responses/400/content/application~1json/examples/idempotencyKeyRequired":{"value":{"statusCode":400,"error":"Bad Request","errorCode":"IDEMPOTENCY_KEY_REQUIRED","message":"Idempotency-Key header is required"},"key":"idempotencyKeyRequired","summary":"Missing Idempotency-Key header","id":"paths/~1cards~1recharge/post/responses/400/content/application~1json/examples/idempotencyKeyRequired"},"paths/~1cards~1recharge/post/responses/400/content/application~1json/examples/insufficientFunds":{"value":{"statusCode":400,"error":"Bad Request","errorCode":"CARD_RECHARGE_INVALID","message":"INSUFFICIENT_FUNDS"},"key":"insufficientFunds","summary":"Not enough company balance for the recharge","id":"paths/~1cards~1recharge/post/responses/400/content/application~1json/examples/insufficientFunds"},"paths/~1cards~1recharge/post/responses/400/content/application~1json/examples/minAmount":{"value":{"statusCode":400,"error":"Bad Request","errorCode":"CARD_RECHARGE_INVALID","message":"MIN_RECHARGE_AMOUNT"},"key":"minAmount","summary":"Below minimum recharge amount","id":"paths/~1cards~1recharge/post/responses/400/content/application~1json/examples/minAmount"},"paths/~1cards~1recharge/post/responses/400/content/application~1json/examples/cardRetired":{"value":{"statusCode":400,"error":"Bad Request","errorCode":"CARD_RECHARGE_INVALID","message":"CARD_RETIRED"},"key":"cardRetired","summary":"Card is retired — recharges rejected","id":"paths/~1cards~1recharge/post/responses/400/content/application~1json/examples/cardRetired"},"paths/~1cards~1recharge/post/responses/401/content/application~1json/examples/authRequired":{"value":{"statusCode":401,"error":"Unauthorized","errorCode":"AUTH_REQUIRED","message":"API key or session token is required"},"key":"authRequired","summary":"No API key or session token provided","id":"paths/~1cards~1recharge/post/responses/401/content/application~1json/examples/authRequired"},"paths/~1cards~1recharge/post/responses/401/content/application~1json/examples/invalidApiKey":{"value":{"statusCode":401,"error":"Unauthorized","errorCode":"INVALID_API_KEY","message":"Invalid API key"},"key":"invalidApiKey","summary":"Unknown / revoked API key","id":"paths/~1cards~1recharge/post/responses/401/content/application~1json/examples/invalidApiKey"},"paths/~1cards~1recharge/post/responses/401/content/application~1json/examples/sessionInvalid":{"value":{"statusCode":401,"error":"Unauthorized","errorCode":"SESSION_INVALID","message":"Invalid session token"},"key":"sessionInvalid","summary":"Expired or malformed session token","id":"paths/~1cards~1recharge/post/responses/401/content/application~1json/examples/sessionInvalid"},"paths/~1cards~1recharge/post/responses/403/content/application~1json/examples/cardsNotEnabled":{"value":{"statusCode":403,"error":"Forbidden","errorCode":"CARDS_NOT_ENABLED","message":"Функционал карт не активирован для этой компании"},"key":"cardsNotEnabled","summary":"Cards not enabled for this company","id":"paths/~1cards~1recharge/post/responses/403/content/application~1json/examples/cardsNotEnabled"},"paths/~1cards~1recharge/post/responses/403/content/application~1json/examples/permissionDenied":{"value":{"statusCode":403,"error":"PERMISSION_DENIED","errorCode":"PERMISSION_DENIED","message":"Missing required permission: cards:write","required":"cards:write","details":{"required":"cards:write"}},"key":"permissionDenied","summary":"API key lacks card permission","id":"paths/~1cards~1recharge/post/responses/403/content/application~1json/examples/permissionDenied"},"paths/~1cards~1recharge/post/responses/404/content/application~1json/examples/cardNotFound":{"value":{"statusCode":404,"error":"Not Found","errorCode":"CARD_NOT_FOUND","message":"Card 3f1c… not found"},"key":"cardNotFound","summary":"Card not found","id":"paths/~1cards~1recharge/post/responses/404/content/application~1json/examples/cardNotFound"},"paths/~1cards~1recharge/post/responses/404/content/application~1json/examples/cardRequestNotFound":{"value":{"statusCode":404,"error":"Not Found","errorCode":"CARD_REQUEST_NOT_FOUND","message":"Card request 9a2b… not found"},"key":"cardRequestNotFound","summary":"Card request not found","id":"paths/~1cards~1recharge/post/responses/404/content/application~1json/examples/cardRequestNotFound"},"paths/~1cards~1recharge/post/responses/502/content/application~1json/examples/bridgeError":{"value":{"statusCode":502,"error":"Bad Gateway","errorCode":"BRIDGE_ERROR","message":"Unexpected response from bridge"},"key":"bridgeError","summary":"Card issuer upstream error","id":"paths/~1cards~1recharge/post/responses/502/content/application~1json/examples/bridgeError"},"paths/~1cards~1recharges/get/responses/401/content/application~1json/examples/authRequired":{"value":{"statusCode":401,"error":"Unauthorized","errorCode":"AUTH_REQUIRED","message":"API key or session token is required"},"key":"authRequired","summary":"No API key or session token provided","id":"paths/~1cards~1recharges/get/responses/401/content/application~1json/examples/authRequired"},"paths/~1cards~1recharges/get/responses/401/content/application~1json/examples/invalidApiKey":{"value":{"statusCode":401,"error":"Unauthorized","errorCode":"INVALID_API_KEY","message":"Invalid API key"},"key":"invalidApiKey","summary":"Unknown / revoked API key","id":"paths/~1cards~1recharges/get/responses/401/content/application~1json/examples/invalidApiKey"},"paths/~1cards~1recharges/get/responses/401/content/application~1json/examples/sessionInvalid":{"value":{"statusCode":401,"error":"Unauthorized","errorCode":"SESSION_INVALID","message":"Invalid session token"},"key":"sessionInvalid","summary":"Expired or malformed session token","id":"paths/~1cards~1recharges/get/responses/401/content/application~1json/examples/sessionInvalid"},"paths/~1cards~1recharges/get/responses/403/content/application~1json/examples/cardsNotEnabled":{"value":{"statusCode":403,"error":"Forbidden","errorCode":"CARDS_NOT_ENABLED","message":"Функционал карт не активирован для этой компании"},"key":"cardsNotEnabled","summary":"Cards not enabled for this company","id":"paths/~1cards~1recharges/get/responses/403/content/application~1json/examples/cardsNotEnabled"},"paths/~1cards~1recharges/get/responses/403/content/application~1json/examples/permissionDenied":{"value":{"statusCode":403,"error":"PERMISSION_DENIED","errorCode":"PERMISSION_DENIED","message":"Missing required permission: cards:write","required":"cards:write","details":{"required":"cards:write"}},"key":"permissionDenied","summary":"API key lacks card permission","id":"paths/~1cards~1recharges/get/responses/403/content/application~1json/examples/permissionDenied"}},"securitySchemeStore":{"apiKeyAuth":{"id":"apiKeyAuth","type":"apiKey","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Company API key."},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Service also accepts "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"Authorization: Bearer <api-key>"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" and "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"api_key"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" query param,"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"but "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"X-API-Key"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" is recommended."},"children":[]}]}]}],"in":"header","paramName":"X-API-Key"}},"servers":[{"url":"/_mock/apis","isMockServer":true,"description":"Mock server"},{"url":"https://b2b.lumowallet.io","description":"Production"},{"url":"https://b2b-staging.lumowallet.io","description":"Staging"}]},"options":{"hideSidebar":true,"mockServer":{"url":"/_mock/apis","position":"first","description":"Mock server"},"disableRouter":true,"downloadUrls":[{"url":"/_bundle/apis/index.json?download"},{"url":"/_bundle/apis/index.yaml?download"}],"excludeFromSearch":false,"specType":"openapi","markdocOptions":{"tags":{},"nodes":{},"components":{}},"metadata":{"title":"Lumo B2B Platform API","description":"API reference for **company-facing** endpoints of Lumo B2B platform.\n\nScope of this reference:\n- Company auth/profile\n- Orders (prepare/accept/list/get)\n- Company disputes\n- Company wallet + deposits\n- User wallets (per externalId) + user deposits\n"}},"baseSlug":"/apis","routesMapping":{}}