<?php

// 支付配置

return [

    'fastPay' => [
        'pay_url' => 'https://api.fastpag.com',
        'appID' => '',
        'secretKey' => '',
        'payFastKey' => '',
        'notify' => env('APP_URL', '').'/api/fastpay/notify',
        'syncNotify' =>env('APP_URL', '').'/api/fastpay/sync_notify',
        'cashierNotify' => env('APP_URL', '').'/api/fastpay/cash_notify',
        'agentCashierNotify' => env('APP_URL', '').'/api/fastpay/cash_notify',
    ],


    // 新增的支付方式配置示例（如wiwipay）
    'WiwiPay' => [
        'key' => 'dkr3T8645AH28d81hL5722J7v72cqt6b',
        'mchNo' => '2025109626',
        'apiUrl' => 'https://www.wiwiusonepay.com/api/pay/create',
        'currency' => 'usd',
        'wayCode' => 'cashapp',
        'signType' => 'MD5',
        'payin_fee' => 0.15,
        'notify' => env('APP_URL', '').'/api/wiwipay/notify',
        'return' => env('APP_URL', '').'/api/wiwipay/return',
    ],
    'WiwiPayOut' => [
        'key' => 'AX2w17jpU06y5bPQc3d33Z6F4XbfoHnN',
        'mchNo' => '2025103753',
        'apiUrl' => 'https://www.wiwiusonepayout.com/api/transfer/create',
        'currency' => 'usd',
        'wayCode' => 'cashapp',
        'signType' => 'MD5',
        'payout_fee' => 0.15,
        'cashNotify' => env('APP_URL', '').'/api/wiwipay/payout_notify',
        'cash_url' => env('APP_URL', '').'/api/payout/create'
    ]
];
