@@ -296,10 +296,10 @@ discard block |
||
| 296 | 296 | ]; |
| 297 | 297 | |
| 298 | 298 | $hash = createHash($this->apiKey, [ |
| 299 | - $body['referenceNumber'], |
|
| 300 | - $body['amount'], |
|
| 301 | - $body['destinationBankUUID'], |
|
| 302 | - $body['destinationBankAccountNumber'], |
|
| 299 | + $body[ 'referenceNumber' ], |
|
| 300 | + $body[ 'amount' ], |
|
| 301 | + $body[ 'destinationBankUUID' ], |
|
| 302 | + $body[ 'destinationBankAccountNumber' ], |
|
| 303 | 303 | ]); |
| 304 | 304 | |
| 305 | 305 | $endpoint = 'paga-webservices/business-rest/secured/depositToBank'; |
@@ -358,9 +358,9 @@ discard block |
||
| 358 | 358 | ]; |
| 359 | 359 | |
| 360 | 360 | $hash = createHash($this->apiKey, [ |
| 361 | - $body['referenceNumber'], |
|
| 362 | - $body['amount'], |
|
| 363 | - $body['destinationAccount'], |
|
| 361 | + $body[ 'referenceNumber' ], |
|
| 362 | + $body[ 'amount' ], |
|
| 363 | + $body[ 'destinationAccount' ], |
|
| 364 | 364 | ]); |
| 365 | 365 | |
| 366 | 366 | $endpoint = 'paga-webservices/business-rest/secured/moneyTransfer'; |
@@ -384,10 +384,10 @@ discard block |
||
| 384 | 384 | ]; |
| 385 | 385 | |
| 386 | 386 | $hash = createHash($this->apiKey, [ |
| 387 | - $body['items'][0]['referenceNumber'], |
|
| 388 | - $body['items'][0]['amount'], |
|
| 389 | - $body['items'][0]['destinationAccount'], |
|
| 390 | - count($body['items']), |
|
| 387 | + $body[ 'items' ][ 0 ][ 'referenceNumber' ], |
|
| 388 | + $body[ 'items' ][ 0 ][ 'amount' ], |
|
| 389 | + $body[ 'items' ][ 0 ][ 'destinationAccount' ], |
|
| 390 | + count($body[ 'items' ]), |
|
| 391 | 391 | ]); |
| 392 | 392 | |
| 393 | 393 | $endpoint = 'paga-webservices/business-rest/secured/moneyTransferBulk'; |
@@ -413,8 +413,8 @@ discard block |
||
| 413 | 413 | ]; |
| 414 | 414 | |
| 415 | 415 | $hash = createHash($this->apiKey, [ |
| 416 | - $body['reference'], |
|
| 417 | - $body['merchantExternalId'], |
|
| 416 | + $body[ 'reference' ], |
|
| 417 | + $body[ 'merchantExternalId' ], |
|
| 418 | 418 | ]); |
| 419 | 419 | |
| 420 | 420 | $endpoint = 'paga-webservices/business-rest/secured/onboardMerchant'; |
@@ -517,10 +517,10 @@ discard block |
||
| 517 | 517 | ]; |
| 518 | 518 | |
| 519 | 519 | $hash = createHash($this->apiKey, [ |
| 520 | - $body['referenceNumber'], |
|
| 521 | - $body['customerPhoneNumber'], |
|
| 522 | - $body['customerFirstName'], |
|
| 523 | - $body['customerLastName'], |
|
| 520 | + $body[ 'referenceNumber' ], |
|
| 521 | + $body[ 'customerPhoneNumber' ], |
|
| 522 | + $body[ 'customerFirstName' ], |
|
| 523 | + $body[ 'customerLastName' ], |
|
| 524 | 524 | ]); |
| 525 | 525 | |
| 526 | 526 | $endpoint = 'paga-webservices/business-rest/secured/registerCustomer'; |