<?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.
    |
    */

    'mailgun' => [
        'domain' => env('MAILGUN_DOMAIN'),
        'secret' => env('MAILGUN_SECRET'),
        'endpoint' => env('MAILGUN_ENDPOINT', 'api.mailgun.net'),
        'scheme' => 'https',
    ],

    'postmark' => [
        'token' => env('POSTMARK_TOKEN'),
    ],

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

    /*
    |--------------------------------------------------------------------------
    | Digiflazz API Configuration
    |--------------------------------------------------------------------------
    |
    | Digiflazz is the API provider for PPOB (game top-up, pulsa, etc)
    | Get your credentials at: https://digiflazz.com
    |
    */
        'vipreseller' => [
        'api_key' => env('VIPRESELLER_API_KEY'),
        'api_id' => env('VIPRESELLER_API_ID'),
        'api_url' => env('VIPRESELLER_API_URL', 'https://vip-reseller.co.id/api'),
    ],

    /*
    |--------------------------------------------------------------------------
    | Midtrans Payment Gateway Configuration
    |--------------------------------------------------------------------------
    |
    | Midtrans is the payment gateway for accepting payments
    | Get your credentials at: https://midtrans.com
    |
    | Note: Use sandbox credentials for testing
    |
    */
    'midtrans' => [
        'server_key' => env('MIDTRANS_SERVER_KEY'),
        'client_key' => env('MIDTRANS_CLIENT_KEY'),
        'is_production' => env('MIDTRANS_IS_PRODUCTION', false),
        'is_sanitized' => env('MIDTRANS_IS_SANITIZED', true),
        'is_3ds' => env('MIDTRANS_IS_3DS', true),
    ],

    /*
    |--------------------------------------------------------------------------
    | WhatsApp Notification Configuration (Optional)
    |--------------------------------------------------------------------------
    |
    | Configure WhatsApp API for sending transaction notifications
    | Recommended providers: Fonnte, Wablas, WooWA
    |
    */
    'whatsapp' => [
        'api_url' => env('WHATSAPP_API_URL'),
        'api_key' => env('WHATSAPP_API_KEY'),
        'number' => env('WHATSAPP_NUMBER'),
        'enabled' => env('WHATSAPP_ENABLED', false),
    ],
    /*
    |--------------------------------------------------------------------------
    | ApiGames Configuration
    |--------------------------------------------------------------------------
    */
    'apigames' => [
        'merchant_id' => env('APIGAMES_MERCHANT_ID'),
        'secret_key' => env('APIGAMES_SECRET_KEY'),
        'base_url' => env('APIGAMES_BASE_URL', 'https://v1.apigames.id'),
    ],
'tripay' => [
    'api_key' => env('TRIPAY_API_KEY'),
    'private_key' => env('TRIPAY_PRIVATE_KEY'),
    'merchant_code' => env('TRIPAY_MERCHANT_CODE'),
    'mode' => env('TRIPAY_MODE', 'sandbox'),
    'base_url' => env('TRIPAY_BASE_URL', 'https://tripay.co.id/api-sandbox'),
],
];
