@@ -27,12 +27,12 @@ |
||
27 | 27 | public function __construct() |
28 | 28 | { |
29 | 29 | //Base URL for the API endpoints. This is basically the 'common' part of the API endpoints |
30 | - $this->mobile_payout_destination_url = config('chpter.mobile_payout_destination_url'); |
|
31 | - $this->bank_payout_destination_url = config('chpter.bank_payout_destination_url'); |
|
32 | - $this->mobile_payout_url = config('chpter.mobile_payout_url'); |
|
33 | - $this->bank_payout_url = config('chpter.bank_payout_url'); |
|
34 | - $this->token = config('chpter.chpter_token'); |
|
35 | - $this->domain =config('chpter.domain'); |
|
30 | + $this->mobile_payout_destination_url = config('chpter.mobile_payout_destination_url'); |
|
31 | + $this->bank_payout_destination_url = config('chpter.bank_payout_destination_url'); |
|
32 | + $this->mobile_payout_url = config('chpter.mobile_payout_url'); |
|
33 | + $this->bank_payout_url = config('chpter.bank_payout_url'); |
|
34 | + $this->token = config('chpter.chpter_token'); |
|
35 | + $this->domain =config('chpter.domain'); |
|
36 | 36 | } |
37 | 37 | |
38 | 38 | public static function createMobilePayoutDestination($type, $phone_number) |
@@ -32,12 +32,12 @@ discard block |
||
32 | 32 | $this->mobile_payout_url = config('chpter.mobile_payout_url'); |
33 | 33 | $this->bank_payout_url = config('chpter.bank_payout_url'); |
34 | 34 | $this->token = config('chpter.chpter_token'); |
35 | - $this->domain =config('chpter.domain'); |
|
35 | + $this->domain = config('chpter.domain'); |
|
36 | 36 | } |
37 | 37 | |
38 | 38 | public static function createMobilePayoutDestination($type, $phone_number) |
39 | 39 | { |
40 | - $client = new Client(); |
|
40 | + $client = new Client(); |
|
41 | 41 | |
42 | 42 | $requestBody = array( |
43 | 43 | "type"=> $type, |
@@ -60,7 +60,7 @@ discard block |
||
60 | 60 | } |
61 | 61 | public static function createBankPayoutDestination($bank_name, $bank_account_name, $bank_account_number) |
62 | 62 | { |
63 | - $client = new Client(); |
|
63 | + $client = new Client(); |
|
64 | 64 | |
65 | 65 | $requestBody = array( |
66 | 66 | "bank_name"=> $bank_name, |