Files
BetiX/config/services.php
Dolo 0280278978
Some checks failed
linter / quality (push) Has been cancelled
tests / ci (8.4) (push) Has been cancelled
tests / ci (8.5) (push) Has been cancelled
Initialer Laravel Commit für BetiX
2026-04-04 18:01:50 +02:00

77 lines
2.4 KiB
PHP

<?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'),
],
],
'bonus_api' => [
'token' => env('BONUS_API_TOKEN'),
],
'moderation_api' => [
'token' => env('MODERATION_API_TOKEN'),
],
'vault_api' => [
'token' => env('VAULT_API_TOKEN'),
],
// External backend API that this app will proxy to
'backend' => [
'base' => env('BACKEND_API_BASE', 'http://casinoapi.test'),
'token' => env('BACKEND_API_TOKEN', ''),
'timeout' => (float) env('BACKEND_API_TIMEOUT', 8.0),
],
// BetiX Originals API
'betix' => [
'key' => env('BETIX_API_KEY', ''),
'url' => env('BETIX_API_URL', 'https://originals.betix.io'),
'webhook_secret' => env('BETIX_WEBHOOK_SECRET', ''),
'timeout' => (float) env('BETIX_TIMEOUT', 10.0),
],
// NOWPayments configuration (deposits/payouts)
'nowpayments' => [
// Base URL can differ for sandbox vs. live; allow override via env
'base_url' => env('NOWPAYMENTS_BASE_URL', 'https://api.nowpayments.io/v1'),
'api_key' => env('NOWPAYMENTS_API_KEY', ''),
'public_key' => env('NOWPAYMENTS_PUBLIC_KEY', ''),
'ipn_secret' => env('NOWPAYMENTS_IPN_SECRET', ''),
'mode' => env('NOWPAYMENTS_ENV', 'sandbox'), // sandbox|live (can be overridden by admin settings)
'timeout' => (float) env('NOWPAYMENTS_TIMEOUT', 10.0),
],
];