openapi: 3.0.3 info: title: 'API GetCrypto' description: 'Документация API GetCrypto' version: 1.0.0 servers: - url: 'https://api.getcrypto.finance' paths: /v1/invoices: post: summary: 'Создать новый счет' operationId: '' description: '' parameters: [] responses: { } tags: - 'Запросы к API' requestBody: required: true content: application/json: schema: type: object properties: language: type: string description: '' example: en enum: - en - ru input_amount: type: number description: 'validation.min validation.max.' example: 24 currency: type: string description: '' example: usdc enum: - usd - eur - rub - usdt - usdc - btc - eth cryptocurrency: type: string description: '' example: usdc enum: - usdt - usdc - btc - eth project_id: type: string description: 'Must start with one of pr_ validation.size.' example: pr_64e5a94d9c3f4 order_id: type: string description: 'Internal Order ID. validation.min validation.max.' example: ORD_123 network: type: string description: 'USDT/USDC: bep20, trc20, erc20, BTC: btc, ETH: eth.' example: bep20 custom_fields: type: string description: 'Any additional information in json format. validation.json.' example: '{"custom_field_1": "value_1", "custom_field_2": "value_2"}' required: - language - input_amount - currency - cryptocurrency - project_id - order_id - network '/v1/invoices/{invoice_id}': get: summary: 'Проверить статус счета' operationId: '' description: '' parameters: [] responses: 500: description: '' content: application/json: schema: type: object example: message: 'App\Repositories\InvoiceRepository::show(): Return value must be of type App\Models\Invoice|false, null returned' exception: TypeError file: /Users/daniil.shevchuk/Documents/Projects/GCFinance/GC-Api/app/Repositories/InvoiceRepository.php line: 30 trace: - file: /Users/daniil.shevchuk/Documents/Projects/GCFinance/GC-Api/app/Http/Middleware/ValidateApiKey.php line: 50 function: show class: App\Repositories\InvoiceRepository type: '::' - file: /Users/daniil.shevchuk/Documents/Projects/GCFinance/GC-Api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php line: 183 function: handle class: App\Http\Middleware\ValidateApiKey type: '->' - file: /Users/daniil.shevchuk/Documents/Projects/GCFinance/GC-Api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php line: 51 function: 'Illuminate\Pipeline\{closure}' class: Illuminate\Pipeline\Pipeline type: '->' - file: /Users/daniil.shevchuk/Documents/Projects/GCFinance/GC-Api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php line: 183 function: handle class: Illuminate\Routing\Middleware\SubstituteBindings type: '->' - file: /Users/daniil.shevchuk/Documents/Projects/GCFinance/GC-Api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php line: 161 function: 'Illuminate\Pipeline\{closure}' class: Illuminate\Pipeline\Pipeline type: '->' - file: /Users/daniil.shevchuk/Documents/Projects/GCFinance/GC-Api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php line: 127 function: handleRequest class: Illuminate\Routing\Middleware\ThrottleRequests type: '->' - file: /Users/daniil.shevchuk/Documents/Projects/GCFinance/GC-Api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php line: 89 function: handleRequestUsingNamedLimiter class: Illuminate\Routing\Middleware\ThrottleRequests type: '->' - file: /Users/daniil.shevchuk/Documents/Projects/GCFinance/GC-Api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php line: 183 function: handle class: Illuminate\Routing\Middleware\ThrottleRequests type: '->' - file: /Users/daniil.shevchuk/Documents/Projects/GCFinance/GC-Api/vendor/laravel/sanctum/src/Http/Middleware/EnsureFrontendRequestsAreStateful.php line: 25 function: 'Illuminate\Pipeline\{closure}' class: Illuminate\Pipeline\Pipeline type: '->' - file: /Users/daniil.shevchuk/Documents/Projects/GCFinance/GC-Api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php line: 144 function: 'Laravel\Sanctum\Http\Middleware\{closure}' class: Laravel\Sanctum\Http\Middleware\EnsureFrontendRequestsAreStateful type: '->' - file: /Users/daniil.shevchuk/Documents/Projects/GCFinance/GC-Api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php line: 119 function: 'Illuminate\Pipeline\{closure}' class: Illuminate\Pipeline\Pipeline type: '->' - file: /Users/daniil.shevchuk/Documents/Projects/GCFinance/GC-Api/vendor/laravel/sanctum/src/Http/Middleware/EnsureFrontendRequestsAreStateful.php line: 24 function: then class: Illuminate\Pipeline\Pipeline type: '->' - file: /Users/daniil.shevchuk/Documents/Projects/GCFinance/GC-Api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php line: 183 function: handle class: Laravel\Sanctum\Http\Middleware\EnsureFrontendRequestsAreStateful type: '->' - file: /Users/daniil.shevchuk/Documents/Projects/GCFinance/GC-Api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php line: 119 function: 'Illuminate\Pipeline\{closure}' class: Illuminate\Pipeline\Pipeline type: '->' - file: /Users/daniil.shevchuk/Documents/Projects/GCFinance/GC-Api/vendor/laravel/framework/src/Illuminate/Routing/Router.php line: 807 function: then class: Illuminate\Pipeline\Pipeline type: '->' - file: /Users/daniil.shevchuk/Documents/Projects/GCFinance/GC-Api/vendor/laravel/framework/src/Illuminate/Routing/Router.php line: 786 function: runRouteWithinStack class: Illuminate\Routing\Router type: '->' - file: /Users/daniil.shevchuk/Documents/Projects/GCFinance/GC-Api/vendor/laravel/framework/src/Illuminate/Routing/Router.php line: 750 function: runRoute class: Illuminate\Routing\Router type: '->' - file: /Users/daniil.shevchuk/Documents/Projects/GCFinance/GC-Api/vendor/laravel/framework/src/Illuminate/Routing/Router.php line: 739 function: dispatchToRoute class: Illuminate\Routing\Router type: '->' - file: /Users/daniil.shevchuk/Documents/Projects/GCFinance/GC-Api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php line: 201 function: dispatch class: Illuminate\Routing\Router type: '->' - file: /Users/daniil.shevchuk/Documents/Projects/GCFinance/GC-Api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php line: 144 function: 'Illuminate\Foundation\Http\{closure}' class: Illuminate\Foundation\Http\Kernel type: '->' - file: /Users/daniil.shevchuk/Documents/Projects/GCFinance/GC-Api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php line: 21 function: 'Illuminate\Pipeline\{closure}' class: Illuminate\Pipeline\Pipeline type: '->' - file: /Users/daniil.shevchuk/Documents/Projects/GCFinance/GC-Api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php line: 31 function: handle class: Illuminate\Foundation\Http\Middleware\TransformsRequest type: '->' - file: /Users/daniil.shevchuk/Documents/Projects/GCFinance/GC-Api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php line: 183 function: handle class: Illuminate\Foundation\Http\Middleware\ConvertEmptyStringsToNull type: '->' - file: /Users/daniil.shevchuk/Documents/Projects/GCFinance/GC-Api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php line: 21 function: 'Illuminate\Pipeline\{closure}' class: Illuminate\Pipeline\Pipeline type: '->' - file: /Users/daniil.shevchuk/Documents/Projects/GCFinance/GC-Api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php line: 51 function: handle class: Illuminate\Foundation\Http\Middleware\TransformsRequest type: '->' - file: /Users/daniil.shevchuk/Documents/Projects/GCFinance/GC-Api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php line: 183 function: handle class: Illuminate\Foundation\Http\Middleware\TrimStrings type: '->' - file: /Users/daniil.shevchuk/Documents/Projects/GCFinance/GC-Api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php line: 27 function: 'Illuminate\Pipeline\{closure}' class: Illuminate\Pipeline\Pipeline type: '->' - file: /Users/daniil.shevchuk/Documents/Projects/GCFinance/GC-Api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php line: 183 function: handle class: Illuminate\Http\Middleware\ValidatePostSize type: '->' - file: /Users/daniil.shevchuk/Documents/Projects/GCFinance/GC-Api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php line: 110 function: 'Illuminate\Pipeline\{closure}' class: Illuminate\Pipeline\Pipeline type: '->' - file: /Users/daniil.shevchuk/Documents/Projects/GCFinance/GC-Api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php line: 183 function: handle class: Illuminate\Foundation\Http\Middleware\PreventRequestsDuringMaintenance type: '->' - file: /Users/daniil.shevchuk/Documents/Projects/GCFinance/GC-Api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php line: 62 function: 'Illuminate\Pipeline\{closure}' class: Illuminate\Pipeline\Pipeline type: '->' - file: /Users/daniil.shevchuk/Documents/Projects/GCFinance/GC-Api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php line: 183 function: handle class: Illuminate\Http\Middleware\HandleCors type: '->' - file: /Users/daniil.shevchuk/Documents/Projects/GCFinance/GC-Api/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php line: 58 function: 'Illuminate\Pipeline\{closure}' class: Illuminate\Pipeline\Pipeline type: '->' - file: /Users/daniil.shevchuk/Documents/Projects/GCFinance/GC-Api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php line: 183 function: handle class: Illuminate\Http\Middleware\TrustProxies type: '->' - file: /Users/daniil.shevchuk/Documents/Projects/GCFinance/GC-Api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php line: 119 function: 'Illuminate\Pipeline\{closure}' class: Illuminate\Pipeline\Pipeline type: '->' - file: /Users/daniil.shevchuk/Documents/Projects/GCFinance/GC-Api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php line: 176 function: then class: Illuminate\Pipeline\Pipeline type: '->' - file: /Users/daniil.shevchuk/Documents/Projects/GCFinance/GC-Api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php line: 145 function: sendRequestThroughRouter class: Illuminate\Foundation\Http\Kernel type: '->' - file: /Users/daniil.shevchuk/Documents/Projects/GCFinance/GC-Api/vendor/knuckleswtf/scribe/src/Extracting/Strategies/Responses/ResponseCalls.php line: 310 function: handle class: Illuminate\Foundation\Http\Kernel type: '->' - file: /Users/daniil.shevchuk/Documents/Projects/GCFinance/GC-Api/vendor/knuckleswtf/scribe/src/Extracting/Strategies/Responses/ResponseCalls.php line: 298 function: callLaravelOrLumenRoute class: Knuckles\Scribe\Extracting\Strategies\Responses\ResponseCalls type: '->' - file: /Users/daniil.shevchuk/Documents/Projects/GCFinance/GC-Api/vendor/knuckleswtf/scribe/src/Extracting/Strategies/Responses/ResponseCalls.php line: 91 function: makeApiCall class: Knuckles\Scribe\Extracting\Strategies\Responses\ResponseCalls type: '->' - file: /Users/daniil.shevchuk/Documents/Projects/GCFinance/GC-Api/vendor/knuckleswtf/scribe/src/Extracting/Strategies/Responses/ResponseCalls.php line: 44 function: makeResponseCall class: Knuckles\Scribe\Extracting\Strategies\Responses\ResponseCalls type: '->' - file: /Users/daniil.shevchuk/Documents/Projects/GCFinance/GC-Api/vendor/knuckleswtf/scribe/src/Extracting/Strategies/Responses/ResponseCalls.php line: 35 function: makeResponseCallIfConditionsPass class: Knuckles\Scribe\Extracting\Strategies\Responses\ResponseCalls type: '->' - file: /Users/daniil.shevchuk/Documents/Projects/GCFinance/GC-Api/vendor/knuckleswtf/scribe/src/Extracting/Extractor.php line: 237 function: __invoke class: Knuckles\Scribe\Extracting\Strategies\Responses\ResponseCalls type: '->' - file: /Users/daniil.shevchuk/Documents/Projects/GCFinance/GC-Api/vendor/knuckleswtf/scribe/src/Extracting/Extractor.php line: 163 function: iterateThroughStrategies class: Knuckles\Scribe\Extracting\Extractor type: '->' - file: /Users/daniil.shevchuk/Documents/Projects/GCFinance/GC-Api/vendor/knuckleswtf/scribe/src/Extracting/Extractor.php line: 95 function: fetchResponses class: Knuckles\Scribe\Extracting\Extractor type: '->' - file: /Users/daniil.shevchuk/Documents/Projects/GCFinance/GC-Api/vendor/knuckleswtf/scribe/src/GroupedEndpoints/GroupedEndpointsFromApp.php line: 125 function: processRoute class: Knuckles\Scribe\Extracting\Extractor type: '->' - file: /Users/daniil.shevchuk/Documents/Projects/GCFinance/GC-Api/vendor/knuckleswtf/scribe/src/GroupedEndpoints/GroupedEndpointsFromApp.php line: 72 function: extractEndpointsInfoFromLaravelApp class: Knuckles\Scribe\GroupedEndpoints\GroupedEndpointsFromApp type: '->' - file: /Users/daniil.shevchuk/Documents/Projects/GCFinance/GC-Api/vendor/knuckleswtf/scribe/src/GroupedEndpoints/GroupedEndpointsFromApp.php line: 50 function: extractEndpointsInfoAndWriteToDisk class: Knuckles\Scribe\GroupedEndpoints\GroupedEndpointsFromApp type: '->' - file: /Users/daniil.shevchuk/Documents/Projects/GCFinance/GC-Api/vendor/knuckleswtf/scribe/src/Commands/GenerateDocumentation.php line: 53 function: get class: Knuckles\Scribe\GroupedEndpoints\GroupedEndpointsFromApp type: '->' - file: /Users/daniil.shevchuk/Documents/Projects/GCFinance/GC-Api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php line: 36 function: handle class: Knuckles\Scribe\Commands\GenerateDocumentation type: '->' - file: /Users/daniil.shevchuk/Documents/Projects/GCFinance/GC-Api/vendor/laravel/framework/src/Illuminate/Container/Util.php line: 43 function: 'Illuminate\Container\{closure}' class: Illuminate\Container\BoundMethod type: '::' - file: /Users/daniil.shevchuk/Documents/Projects/GCFinance/GC-Api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php line: 95 function: unwrapIfClosure class: Illuminate\Container\Util type: '::' - file: /Users/daniil.shevchuk/Documents/Projects/GCFinance/GC-Api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php line: 35 function: callBoundMethod class: Illuminate\Container\BoundMethod type: '::' - file: /Users/daniil.shevchuk/Documents/Projects/GCFinance/GC-Api/vendor/laravel/framework/src/Illuminate/Container/Container.php line: 690 function: call class: Illuminate\Container\BoundMethod type: '::' - file: /Users/daniil.shevchuk/Documents/Projects/GCFinance/GC-Api/vendor/laravel/framework/src/Illuminate/Console/Command.php line: 213 function: call class: Illuminate\Container\Container type: '->' - file: /Users/daniil.shevchuk/Documents/Projects/GCFinance/GC-Api/vendor/symfony/console/Command/Command.php line: 279 function: execute class: Illuminate\Console\Command type: '->' - file: /Users/daniil.shevchuk/Documents/Projects/GCFinance/GC-Api/vendor/laravel/framework/src/Illuminate/Console/Command.php line: 182 function: run class: Symfony\Component\Console\Command\Command type: '->' - file: /Users/daniil.shevchuk/Documents/Projects/GCFinance/GC-Api/vendor/symfony/console/Application.php line: 1047 function: run class: Illuminate\Console\Command type: '->' - file: /Users/daniil.shevchuk/Documents/Projects/GCFinance/GC-Api/vendor/symfony/console/Application.php line: 316 function: doRunCommand class: Symfony\Component\Console\Application type: '->' - file: /Users/daniil.shevchuk/Documents/Projects/GCFinance/GC-Api/vendor/symfony/console/Application.php line: 167 function: doRun class: Symfony\Component\Console\Application type: '->' - file: /Users/daniil.shevchuk/Documents/Projects/GCFinance/GC-Api/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php line: 197 function: run class: Symfony\Component\Console\Application type: '->' - file: /Users/daniil.shevchuk/Documents/Projects/GCFinance/GC-Api/artisan line: 35 function: handle class: Illuminate\Foundation\Console\Kernel type: '->' properties: message: type: string example: 'App\Repositories\InvoiceRepository::show(): Return value must be of type App\Models\Invoice|false, null returned' exception: type: string example: TypeError file: type: string example: /Users/daniil.shevchuk/Documents/Projects/GCFinance/GC-Api/app/Repositories/InvoiceRepository.php line: type: integer example: 30 trace: type: array example: - file: /Users/daniil.shevchuk/Documents/Projects/GCFinance/GC-Api/app/Http/Middleware/ValidateApiKey.php line: 50 function: show class: App\Repositories\InvoiceRepository type: '::' - file: /Users/daniil.shevchuk/Documents/Projects/GCFinance/GC-Api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php line: 183 function: handle class: App\Http\Middleware\ValidateApiKey type: '->' - file: /Users/daniil.shevchuk/Documents/Projects/GCFinance/GC-Api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php line: 51 function: 'Illuminate\Pipeline\{closure}' class: Illuminate\Pipeline\Pipeline type: '->' - file: /Users/daniil.shevchuk/Documents/Projects/GCFinance/GC-Api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php line: 183 function: handle class: Illuminate\Routing\Middleware\SubstituteBindings type: '->' - file: /Users/daniil.shevchuk/Documents/Projects/GCFinance/GC-Api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php line: 161 function: 'Illuminate\Pipeline\{closure}' class: Illuminate\Pipeline\Pipeline type: '->' - file: /Users/daniil.shevchuk/Documents/Projects/GCFinance/GC-Api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php line: 127 function: handleRequest class: Illuminate\Routing\Middleware\ThrottleRequests type: '->' - file: /Users/daniil.shevchuk/Documents/Projects/GCFinance/GC-Api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php line: 89 function: handleRequestUsingNamedLimiter class: Illuminate\Routing\Middleware\ThrottleRequests type: '->' - file: /Users/daniil.shevchuk/Documents/Projects/GCFinance/GC-Api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php line: 183 function: handle class: Illuminate\Routing\Middleware\ThrottleRequests type: '->' - file: /Users/daniil.shevchuk/Documents/Projects/GCFinance/GC-Api/vendor/laravel/sanctum/src/Http/Middleware/EnsureFrontendRequestsAreStateful.php line: 25 function: 'Illuminate\Pipeline\{closure}' class: Illuminate\Pipeline\Pipeline type: '->' - file: /Users/daniil.shevchuk/Documents/Projects/GCFinance/GC-Api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php line: 144 function: 'Laravel\Sanctum\Http\Middleware\{closure}' class: Laravel\Sanctum\Http\Middleware\EnsureFrontendRequestsAreStateful type: '->' - file: /Users/daniil.shevchuk/Documents/Projects/GCFinance/GC-Api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php line: 119 function: 'Illuminate\Pipeline\{closure}' class: Illuminate\Pipeline\Pipeline type: '->' - file: /Users/daniil.shevchuk/Documents/Projects/GCFinance/GC-Api/vendor/laravel/sanctum/src/Http/Middleware/EnsureFrontendRequestsAreStateful.php line: 24 function: then class: Illuminate\Pipeline\Pipeline type: '->' - file: /Users/daniil.shevchuk/Documents/Projects/GCFinance/GC-Api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php line: 183 function: handle class: Laravel\Sanctum\Http\Middleware\EnsureFrontendRequestsAreStateful type: '->' - file: /Users/daniil.shevchuk/Documents/Projects/GCFinance/GC-Api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php line: 119 function: 'Illuminate\Pipeline\{closure}' class: Illuminate\Pipeline\Pipeline type: '->' - file: /Users/daniil.shevchuk/Documents/Projects/GCFinance/GC-Api/vendor/laravel/framework/src/Illuminate/Routing/Router.php line: 807 function: then class: Illuminate\Pipeline\Pipeline type: '->' - file: /Users/daniil.shevchuk/Documents/Projects/GCFinance/GC-Api/vendor/laravel/framework/src/Illuminate/Routing/Router.php line: 786 function: runRouteWithinStack class: Illuminate\Routing\Router type: '->' - file: /Users/daniil.shevchuk/Documents/Projects/GCFinance/GC-Api/vendor/laravel/framework/src/Illuminate/Routing/Router.php line: 750 function: runRoute class: Illuminate\Routing\Router type: '->' - file: /Users/daniil.shevchuk/Documents/Projects/GCFinance/GC-Api/vendor/laravel/framework/src/Illuminate/Routing/Router.php line: 739 function: dispatchToRoute class: Illuminate\Routing\Router type: '->' - file: /Users/daniil.shevchuk/Documents/Projects/GCFinance/GC-Api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php line: 201 function: dispatch class: Illuminate\Routing\Router type: '->' - file: /Users/daniil.shevchuk/Documents/Projects/GCFinance/GC-Api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php line: 144 function: 'Illuminate\Foundation\Http\{closure}' class: Illuminate\Foundation\Http\Kernel type: '->' - file: /Users/daniil.shevchuk/Documents/Projects/GCFinance/GC-Api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php line: 21 function: 'Illuminate\Pipeline\{closure}' class: Illuminate\Pipeline\Pipeline type: '->' - file: /Users/daniil.shevchuk/Documents/Projects/GCFinance/GC-Api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php line: 31 function: handle class: Illuminate\Foundation\Http\Middleware\TransformsRequest type: '->' - file: /Users/daniil.shevchuk/Documents/Projects/GCFinance/GC-Api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php line: 183 function: handle class: Illuminate\Foundation\Http\Middleware\ConvertEmptyStringsToNull type: '->' - file: /Users/daniil.shevchuk/Documents/Projects/GCFinance/GC-Api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php line: 21 function: 'Illuminate\Pipeline\{closure}' class: Illuminate\Pipeline\Pipeline type: '->' - file: /Users/daniil.shevchuk/Documents/Projects/GCFinance/GC-Api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php line: 51 function: handle class: Illuminate\Foundation\Http\Middleware\TransformsRequest type: '->' - file: /Users/daniil.shevchuk/Documents/Projects/GCFinance/GC-Api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php line: 183 function: handle class: Illuminate\Foundation\Http\Middleware\TrimStrings type: '->' - file: /Users/daniil.shevchuk/Documents/Projects/GCFinance/GC-Api/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php line: 27 function: 'Illuminate\Pipeline\{closure}' class: Illuminate\Pipeline\Pipeline type: '->' - file: /Users/daniil.shevchuk/Documents/Projects/GCFinance/GC-Api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php line: 183 function: handle class: Illuminate\Http\Middleware\ValidatePostSize type: '->' - file: /Users/daniil.shevchuk/Documents/Projects/GCFinance/GC-Api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php line: 110 function: 'Illuminate\Pipeline\{closure}' class: Illuminate\Pipeline\Pipeline type: '->' - file: /Users/daniil.shevchuk/Documents/Projects/GCFinance/GC-Api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php line: 183 function: handle class: Illuminate\Foundation\Http\Middleware\PreventRequestsDuringMaintenance type: '->' - file: /Users/daniil.shevchuk/Documents/Projects/GCFinance/GC-Api/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php line: 62 function: 'Illuminate\Pipeline\{closure}' class: Illuminate\Pipeline\Pipeline type: '->' - file: /Users/daniil.shevchuk/Documents/Projects/GCFinance/GC-Api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php line: 183 function: handle class: Illuminate\Http\Middleware\HandleCors type: '->' - file: /Users/daniil.shevchuk/Documents/Projects/GCFinance/GC-Api/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php line: 58 function: 'Illuminate\Pipeline\{closure}' class: Illuminate\Pipeline\Pipeline type: '->' - file: /Users/daniil.shevchuk/Documents/Projects/GCFinance/GC-Api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php line: 183 function: handle class: Illuminate\Http\Middleware\TrustProxies type: '->' - file: /Users/daniil.shevchuk/Documents/Projects/GCFinance/GC-Api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php line: 119 function: 'Illuminate\Pipeline\{closure}' class: Illuminate\Pipeline\Pipeline type: '->' - file: /Users/daniil.shevchuk/Documents/Projects/GCFinance/GC-Api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php line: 176 function: then class: Illuminate\Pipeline\Pipeline type: '->' - file: /Users/daniil.shevchuk/Documents/Projects/GCFinance/GC-Api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php line: 145 function: sendRequestThroughRouter class: Illuminate\Foundation\Http\Kernel type: '->' - file: /Users/daniil.shevchuk/Documents/Projects/GCFinance/GC-Api/vendor/knuckleswtf/scribe/src/Extracting/Strategies/Responses/ResponseCalls.php line: 310 function: handle class: Illuminate\Foundation\Http\Kernel type: '->' - file: /Users/daniil.shevchuk/Documents/Projects/GCFinance/GC-Api/vendor/knuckleswtf/scribe/src/Extracting/Strategies/Responses/ResponseCalls.php line: 298 function: callLaravelOrLumenRoute class: Knuckles\Scribe\Extracting\Strategies\Responses\ResponseCalls type: '->' - file: /Users/daniil.shevchuk/Documents/Projects/GCFinance/GC-Api/vendor/knuckleswtf/scribe/src/Extracting/Strategies/Responses/ResponseCalls.php line: 91 function: makeApiCall class: Knuckles\Scribe\Extracting\Strategies\Responses\ResponseCalls type: '->' - file: /Users/daniil.shevchuk/Documents/Projects/GCFinance/GC-Api/vendor/knuckleswtf/scribe/src/Extracting/Strategies/Responses/ResponseCalls.php line: 44 function: makeResponseCall class: Knuckles\Scribe\Extracting\Strategies\Responses\ResponseCalls type: '->' - file: /Users/daniil.shevchuk/Documents/Projects/GCFinance/GC-Api/vendor/knuckleswtf/scribe/src/Extracting/Strategies/Responses/ResponseCalls.php line: 35 function: makeResponseCallIfConditionsPass class: Knuckles\Scribe\Extracting\Strategies\Responses\ResponseCalls type: '->' - file: /Users/daniil.shevchuk/Documents/Projects/GCFinance/GC-Api/vendor/knuckleswtf/scribe/src/Extracting/Extractor.php line: 237 function: __invoke class: Knuckles\Scribe\Extracting\Strategies\Responses\ResponseCalls type: '->' - file: /Users/daniil.shevchuk/Documents/Projects/GCFinance/GC-Api/vendor/knuckleswtf/scribe/src/Extracting/Extractor.php line: 163 function: iterateThroughStrategies class: Knuckles\Scribe\Extracting\Extractor type: '->' - file: /Users/daniil.shevchuk/Documents/Projects/GCFinance/GC-Api/vendor/knuckleswtf/scribe/src/Extracting/Extractor.php line: 95 function: fetchResponses class: Knuckles\Scribe\Extracting\Extractor type: '->' - file: /Users/daniil.shevchuk/Documents/Projects/GCFinance/GC-Api/vendor/knuckleswtf/scribe/src/GroupedEndpoints/GroupedEndpointsFromApp.php line: 125 function: processRoute class: Knuckles\Scribe\Extracting\Extractor type: '->' - file: /Users/daniil.shevchuk/Documents/Projects/GCFinance/GC-Api/vendor/knuckleswtf/scribe/src/GroupedEndpoints/GroupedEndpointsFromApp.php line: 72 function: extractEndpointsInfoFromLaravelApp class: Knuckles\Scribe\GroupedEndpoints\GroupedEndpointsFromApp type: '->' - file: /Users/daniil.shevchuk/Documents/Projects/GCFinance/GC-Api/vendor/knuckleswtf/scribe/src/GroupedEndpoints/GroupedEndpointsFromApp.php line: 50 function: extractEndpointsInfoAndWriteToDisk class: Knuckles\Scribe\GroupedEndpoints\GroupedEndpointsFromApp type: '->' - file: /Users/daniil.shevchuk/Documents/Projects/GCFinance/GC-Api/vendor/knuckleswtf/scribe/src/Commands/GenerateDocumentation.php line: 53 function: get class: Knuckles\Scribe\GroupedEndpoints\GroupedEndpointsFromApp type: '->' - file: /Users/daniil.shevchuk/Documents/Projects/GCFinance/GC-Api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php line: 36 function: handle class: Knuckles\Scribe\Commands\GenerateDocumentation type: '->' - file: /Users/daniil.shevchuk/Documents/Projects/GCFinance/GC-Api/vendor/laravel/framework/src/Illuminate/Container/Util.php line: 43 function: 'Illuminate\Container\{closure}' class: Illuminate\Container\BoundMethod type: '::' - file: /Users/daniil.shevchuk/Documents/Projects/GCFinance/GC-Api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php line: 95 function: unwrapIfClosure class: Illuminate\Container\Util type: '::' - file: /Users/daniil.shevchuk/Documents/Projects/GCFinance/GC-Api/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php line: 35 function: callBoundMethod class: Illuminate\Container\BoundMethod type: '::' - file: /Users/daniil.shevchuk/Documents/Projects/GCFinance/GC-Api/vendor/laravel/framework/src/Illuminate/Container/Container.php line: 690 function: call class: Illuminate\Container\BoundMethod type: '::' - file: /Users/daniil.shevchuk/Documents/Projects/GCFinance/GC-Api/vendor/laravel/framework/src/Illuminate/Console/Command.php line: 213 function: call class: Illuminate\Container\Container type: '->' - file: /Users/daniil.shevchuk/Documents/Projects/GCFinance/GC-Api/vendor/symfony/console/Command/Command.php line: 279 function: execute class: Illuminate\Console\Command type: '->' - file: /Users/daniil.shevchuk/Documents/Projects/GCFinance/GC-Api/vendor/laravel/framework/src/Illuminate/Console/Command.php line: 182 function: run class: Symfony\Component\Console\Command\Command type: '->' - file: /Users/daniil.shevchuk/Documents/Projects/GCFinance/GC-Api/vendor/symfony/console/Application.php line: 1047 function: run class: Illuminate\Console\Command type: '->' - file: /Users/daniil.shevchuk/Documents/Projects/GCFinance/GC-Api/vendor/symfony/console/Application.php line: 316 function: doRunCommand class: Symfony\Component\Console\Application type: '->' - file: /Users/daniil.shevchuk/Documents/Projects/GCFinance/GC-Api/vendor/symfony/console/Application.php line: 167 function: doRun class: Symfony\Component\Console\Application type: '->' - file: /Users/daniil.shevchuk/Documents/Projects/GCFinance/GC-Api/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php line: 197 function: run class: Symfony\Component\Console\Application type: '->' - file: /Users/daniil.shevchuk/Documents/Projects/GCFinance/GC-Api/artisan line: 35 function: handle class: Illuminate\Foundation\Console\Kernel type: '->' items: type: object properties: file: type: string example: /Users/daniil.shevchuk/Documents/Projects/GCFinance/GC-Api/app/Http/Middleware/ValidateApiKey.php line: type: integer example: 50 function: type: string example: show class: type: string example: App\Repositories\InvoiceRepository type: type: string example: '::' tags: - 'Запросы к API' parameters: - in: path name: invoice_id description: 'The ID of the invoice.' example: in_64e5a94d9c3f4 required: true schema: type: string /v1/widget: get: summary: 'Инициализация виджета' operationId: '' description: '' parameters: - in: query name: project_id description: 'Must start with one of pr_ validation.size.' example: pr_64e5a94d9c3f4 required: true schema: type: string description: 'Must start with one of pr_ validation.size.' example: pr_64e5a94d9c3f4 - in: query name: currency description: '' example: eth required: true schema: type: string description: '' example: eth enum: - usd - eur - rub - usdt - usdc - btc - eth - in: query name: language description: '' example: ru required: true schema: type: string description: '' example: ru enum: - en - ru - in: query name: amount description: 'validation.min validation.max.' example: 11 required: true schema: type: number description: 'validation.min validation.max.' example: 11 - in: query name: order_id description: 'Internal Order ID. validation.min validation.max.' example: ORD_123 required: true schema: type: string description: 'Internal Order ID. validation.min validation.max.' example: ORD_123 responses: 200: description: '' content: application/json: schema: type: object example: data: project_name: Test success_url: 'https://api.getcrypto.finance/success' fail_url: 'https://api.getcrypto.finance/fail' methods: usdt: id: 1 label: USDT short: usdt precision: 2 division: 100 tail: 0.01 networks: bep20: id: 1 label: BEP20 asset: BSC trc20: id: 2 label: TRC20 asset: TRON erc20: id: 3 label: ERC20 asset: ETH usdc: id: 2 label: USDC short: usdc precision: 2 division: 100 tail: 0.01 networks: bep20: id: 4 label: BEP20 asset: BSC erc20: id: 6 label: ERC20 asset: ETH btc: id: 3 label: BTC short: btc precision: 6 division: 1000000 tail: 1.0E-6 networks: btc: id: 7 label: BTC asset: BTC eth: id: 4 label: ETH short: eth precision: 4 division: 10000 tail: 0.0001 networks: eth: id: 8 label: ETH asset: BTC amounts: usdt: 38076.83 usdc: 38031.95 btc: 0.607365 eth: 11 status: true properties: data: type: object properties: project_name: type: string example: Test success_url: type: string example: 'https://api.getcrypto.finance/success' fail_url: type: string example: 'https://api.getcrypto.finance/fail' methods: type: object properties: usdt: type: object properties: id: type: integer example: 1 label: type: string example: USDT short: type: string example: usdt precision: type: integer example: 2 division: type: integer example: 100 tail: type: number example: 0.01 networks: type: object properties: bep20: type: object properties: id: { type: integer, example: 1 } label: { type: string, example: BEP20 } asset: { type: string, example: BSC } trc20: type: object properties: id: { type: integer, example: 2 } label: { type: string, example: TRC20 } asset: { type: string, example: TRON } erc20: type: object properties: id: { type: integer, example: 3 } label: { type: string, example: ERC20 } asset: { type: string, example: ETH } usdc: type: object properties: id: type: integer example: 2 label: type: string example: USDC short: type: string example: usdc precision: type: integer example: 2 division: type: integer example: 100 tail: type: number example: 0.01 networks: type: object properties: bep20: type: object properties: id: { type: integer, example: 4 } label: { type: string, example: BEP20 } asset: { type: string, example: BSC } erc20: type: object properties: id: { type: integer, example: 6 } label: { type: string, example: ERC20 } asset: { type: string, example: ETH } btc: type: object properties: id: type: integer example: 3 label: type: string example: BTC short: type: string example: btc precision: type: integer example: 6 division: type: integer example: 1000000 tail: type: number example: 1.0E-6 networks: type: object properties: btc: type: object properties: id: { type: integer, example: 7 } label: { type: string, example: BTC } asset: { type: string, example: BTC } eth: type: object properties: id: type: integer example: 4 label: type: string example: ETH short: type: string example: eth precision: type: integer example: 4 division: type: integer example: 10000 tail: type: number example: 0.0001 networks: type: object properties: eth: type: object properties: id: { type: integer, example: 8 } label: { type: string, example: ETH } asset: { type: string, example: BTC } amounts: type: object properties: usdt: type: number example: 38076.83 usdc: type: number example: 38031.95 btc: type: number example: 0.607365 eth: type: integer example: 11 status: type: boolean example: true tags: - 'Запросы к API' tags: - name: 'Запросы к API' description: '' components: securitySchemes: default: type: http scheme: bearer description: 'Вы можете сгенерировать API ключ в личном кабинете.' security: - default: []