src/Web/Service.php
public function getPaymentStatus($token)
    {
        $message = array(
            'token' => (string) $token,
        );
        return $this->communicator->callApiFunction('invoices/invoice_paymentstatus_get', $message)->setMainResponseKey('invoice');
    }
public function getPaymentStatus($token)
    {
        $message = array(
            'token' => (string) $token,
        );
        return $this->communicator->callApiFunction('invoices/invoice_paymentstatus_get', $message)->setMainResponseKey('invoice');
    }
public function getPaymentStatus ( $ token ) { $ message = array ( 'token' => ( string ) $ token , ) ; return $ this -> communicator -> callApiFunction ( 'invoices/invoice_paymentstatus_get' , $ message ) -> setMainResponseKey ( 'invoice' ) ; }
Retrieves the payment status for an invoice.

@param string $token
The token for the invoice.

@return \Siel\Acumulus\Web\Result
The result of the webservice call. The structured response will contain
1 "invoice" array, being a keyed array with keys:
- entryid
- token
- paymentstatus
- paymentdate
Possible errors:
- "XGYTTNF04: Requested invoice for $token not found": $token does not
exist.

@see https://www.siel.nl/acumulus/API/Invoicing/Payment_Get_Status/
Retrieves the payment status for an invoice .