< Altapay - PHP Api - Terminals
This method will allow you to extract a list of terminals that you have access to. The list will contain some details about the terminals.
$request = new \Altapay\Api\Others\Terminals($auth);
// Do the call
try {
$response = $request->call();
// See Response below
} catch (\Altapay\Exceptions\ClientException $e) {
// Could not connect
} catch (\Altapay\Exceptions\ResponseHeaderException $e) {
// Response error in header
$e->getHeader()->ErrorMessage
} catch (\Altapay\Exceptions\ResponseMessageException $e) {
// Error message
$e->getMessage();
}None required options allowed
No optional options allowed
$request = new \Altapay\Api\Others\Terminals($auth);$response = $request->call();
Response is now a object of \Altapay\Response\TerminalsResponse
| Method | Description | Type |
|---|---|---|
$response->Result |
string | |
$response->Terminals |
array of \Altapay\Response\Embeds\Terminal objects |
array |