API - Payment - Get status

Get the payment status for an invoice / betaalstatus


Resource:
/acumulus/stable/invoices/invoice_paymentstatus_get.php
Since API:
Authentication:
API user
Communication:
Basic submit, including below structure


Submit

<?xml version="1.0" encoding="UTF-8"?>
<myxml>
    ...
    <token></token>
</myxml>

token Mandatory
Unique 32-character identifier(hash) for the invoice.


Response

<?xml version="1.0" encoding="UTF-8"?>
<response>
    <invoice>
        <token>01234567890abcdef01234567890abcd</token>
        <paymentstatus>1</paymentstatus>
    </invoice>
    <errors>
        <count_errors>0</count_errors>
    </errors>
    <warnings>
        <count_warnings>0</count_warnings>
    </warnings>
    <status>0</status>
</response>

token
Unique 32-character identifier(hash).

paymentstatus

Option
Description
1
Due
2
Paid