Use the payment list endpoint the following way:
- Get all payments not processed since a given date.
- Process the payments within your software
- Mark the payments as processed.
Step 1: Get all payments not processed since a given date.
GET https://service.runmyaccounts.com/api/{version}/clients/{clientname}/invoices/payment_list?processed=yyyy-MM-ddTHH:mm
Parameter | Description | default |
---|---|---|
processed | Payment transactions that have not been processed after a certain time stamp (Format yyyy-MM-ddTHH:mm„) |
Step 2: Process the payments within your software
Your piece of cake
Step 3: Mark the payments as processed
POST https://service.runmyaccounts.com/api/{version}/clients/{mandantenname}/invoices/set_as_processed
Content-Type: application/x-www-form-urlencoded
Parameter | Description | Default |
---|---|---|
id | Id of payment that should be marked as processed |
You can mark multiple payments by simply adding multiple id parameters.