<?php
return [
    'host' => _env('LENDBOX_HOST'),
    'apis' => [
        'borrowerRegistration' => [
            'route' => '/borrower/signup',
            'method' => 'POST',
            'headers' => [
                'content-type' => 'application/json'
            ]
        ],
        'uploadDocument' => [
            'route' => '/upload/docs?lbUserId=',
            'method' => 'POST',
            'headers' => [
                'content-type' => 'multipart/form-data'
            ]
        ],
        'createLoan' => [ //sanctionWrapper
            'route' => '/create-loan?lbUserId=',
            'method' => 'POST',
            'headers' => [
                'content-type' => 'application/json'
            ]
        ],
        'saveEMI' => [
            'route' => '/edi-update',
            'method' => 'POST',
            'headers' => [
                'content-type' => 'application/json'
            ]
        ],
        'walletOrder' => [
            'route' => '/wallet/orders',
            'method' => 'POST',
            'headers' => [
                'content-type' => 'application/json'
            ]
        ],
        'transactionStatus' => [
            'route' => '/wallet/orders/status',
            'method' => 'POST',
            'headers' => [
                'content-type' => 'application/json'
            ]
        ],
    ],
    'headers' => [
        'x-api-key' => _env('LENDBOX_X_API_KEY'),
        'x-api-code' =>_env('LENDBOX_X_API_CODE')
    ],
    'headersLSP' => [
        'x-api-key' => _env('LENDBOX_LSP_X_API_KEY'),
        'x-api-code' =>_env('LENDBOX_LSP_X_API_CODE')
    ]
];