123456789101112131415161718192021222324252627282930313233343536 |
- <?php
- return [
- 'source_url' => env('PAYMENT_SOURCE_URL'),
- 'origins' => [
- 'wallet' => [
- 'return_url' => env('PAYMENT_RETURN_URL'),
- 'notify' => [
- 'status' => ['completed'],
- 'uri' => env('PAYMENT_WALLET_ENDPOINT') . '/transactions',
- 'headers' => [
- 'Content-Type' => 'application/json',
- 'Authorization' =>
- 'Bearer ' . env('PAYMENT_CORE_AUTH_TOKEN'),
- ],
- 'method' => 'POST',
- 'params' => [
- 'user_uid' => 'payment.user_uid',
- 'currency_code' => 'payment.currency',
- 'amount' => 'payment.amount',
- 'type' => 'hawese_payment',
- 'description' => 'payment.description',
- 'detail' => [
- 'uuid' => 'payment.uuid',
- ],
- ],
- ],
- ],
- ],
- ];
|