<?php

return [

    /*
    |--------------------------------------------------------------------------
    | Third Party Services
    |--------------------------------------------------------------------------
    |
    | This file is for storing the credentials for third party services such
    | as Mailgun, Postmark, AWS and more. This file provides the de facto
    | location for this type of information, allowing packages to have
    | a conventional file to locate the various service credentials.
    |
    */

    'postmark' => [
        'key' => env('POSTMARK_API_KEY'),
    ],

    'resend' => [
        'key' => env('RESEND_API_KEY'),
    ],

    'ses' => [
        'key' => env('AWS_ACCESS_KEY_ID'),
        'secret' => env('AWS_SECRET_ACCESS_KEY'),
        'region' => env('AWS_DEFAULT_REGION', 'us-east-1'),
    ],

    'slack' => [
        'notifications' => [
            'bot_user_oauth_token' => env('SLACK_BOT_USER_OAUTH_TOKEN'),
            'channel' => env('SLACK_BOT_USER_DEFAULT_CHANNEL'),
        ],
    ],

    'tilopay' => [
        'api_url' => env('TILOPAY_API_URL', 'https://app.tilopay.com/api/v1'),
        'api_user' => env('TILOPAY_API_USER'),
        'api_password' => env('TILOPAY_API_PASSWORD'),
        'api_key' => env('TILOPAY_API_KEY'),
        'currency' => env('TILOPAY_CURRENCY', 'CRC'),
        'platform' => env('TILOPAY_PLATFORM', 'WincarApp'),
        'redirect_url' => env('TILOPAY_REDIRECT_URL', env('APP_URL').'/api/payments/tilopay/callback'),
        'return_url' => env('TILOPAY_RETURN_URL'),
        'hash_version' => env('TILOPAY_HASH_VERSION', 'V2'),
        'require_return_data' => env('TILOPAY_REQUIRE_RETURN_DATA', true),
    ],

    'fcm' => [
        'project_id' => env('FCM_PROJECT_ID'),
        'service_account_path' => env('FCM_SERVICE_ACCOUNT_PATH', storage_path('app/firebase-service-account.json')),
    ],

];
