Skip to content

Commit

Permalink
RT-5409 fixed submerchant eft account API URL
Browse files Browse the repository at this point in the history
  • Loading branch information
kostya-p-dev committed Mar 28, 2018
1 parent 00ea9a1 commit c1553c1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/Paysafe/MerchantAccountService.php
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,7 @@ function addSubMerchantEftBankAccount(MerchantEftBankAccount $bankAccount)
));
$request = new Request(array(
'method' => Request::POST,
'uri' => $this->prepareURI('/accounts/' . $this->client->getAccount() . '/eftbankaccounts'),
'uri' => $this->prepareURI('/merchants/' . $bankAccount->merchantId . '/eftbankaccounts'),
'body' => $bankAccount
));
$response = $this->client->processRequest($request);
Expand All @@ -338,7 +338,7 @@ function addMerchantEftBankAccount(MerchantEftBankAccount $bankAccount)
));
$request = new Request(array(
'method' => Request::POST,
'uri' => $this->prepareURI('/merchants/' . $bankAccount->merchantId . '/eftbankaccounts'),
'uri' => $this->prepareURI('/accounts/' . $this->client->getAccount() . '/eftbankaccounts'),
'body' => $bankAccount
));
$response = $this->client->processRequest($request);
Expand Down

0 comments on commit c1553c1

Please sign in to comment.