<?php

// 支付配置

return [

    'WiwiPay' => [
        'key' => 'dkr3T8645AH28d81hL5722J7v72cqt6b',
        'mchNo' => '2025109626',
        'apiUrl' => 'https://www.wiwiusonepay.com/api/pay/create',
        'currency' => 'usd',
        'wayCode' => 'cashapp',
        'signType' => 'MD5',
        'notify' => env('APP_URL', '').'/api/wiwipay/notify',
        'return' => env('APP_URL', '').'/api/wiwipay/return',
        'cashNotify' => env('APP_URL', '').'/api/wiwipay/payout_notify',
        'cash_url' => env('APP_URL', '').'/api/payout/create'
    ],

    // Supefina SPEI 墨西哥代收（充值）- 测试环境
    'SupefinaSpei' => [
        'merId'        => env('SUPEFINA_MER_ID', ''),
        'key'          => env('SUPEFINA_KEY', ''),
        'baseUrl'      => 'https://api.supefina.tech',
        'payinPath'    => '/api/supefina/transactions/collection',
        'countryId'    => 'MEX',
        'currency'     => 'MXN',
        'minOrderAmount' => '10.00',
        'maxOrderAmount' => '15000.00',
        'callbackUrl'  => env('APP_URL', '') . '/api/supefina/notify',
        'payin_fee'    => 0,
    ],

    // Supefina SPEI 墨西哥代付（提现）- 测试环境
    'SupefinaSpeiOut' => [
        'merId'         => env('SUPEFINA_MER_ID', ''),
        'key'           => env('SUPEFINA_KEY', ''),
        'baseUrl'       => 'https://api.supefina.tech',
        'payoutPath'    => '/api/supefina/transactions/payout',
        'countryId'     => 'MEX',
        'currency'      => 'MXN',
        'defaultBankId' => env('SUPEFINA_DEFAULT_BANK_ID', ''),
        'callbackUrl'   => env('APP_URL', '') . '/api/supefina/notify',
    ],

];
