API POST Receipts & Payments - Bank Transactions

Hello,

I would like to integrate API POST function for bank receipts and payments but it seems unavailable on swagger. How could we trigger this function ? or manager doesnt support POST function for the bank transactions ?

For Payment

for Receipt

1 Like

POST /receipt and payment-form is the area for the recording Receipts and Payments for the bank transactions ? @Mabaega Have you tried these before ?

Yes, and its work fine…

I get below error anytime

"error": "X-API-KEY is not a valid Base-64 string as it contains a non-base 64 character, more than two padding characters, or an illegal character among the padding characters."

Just delete the old token and create a new one.

This time make sure to copy it exactly

Hello,

We are trying to set up an API integration for our account at:
https://MYCOMPANY.manager.io

We are using Google Apps Script to automate our accounting records.

The access token we received does not appear to be in JWT format.
When attempting to access both the api/receipts and api2/receipt-form endpoints using this token, we receive either 401 Unauthorized or 500 Internal Server Error responses.

Could you please clarify the following:

  • What token format is required for API access using Google Apps Script?
  • What authentication header structure should we use (e.g. Authorization or X-API-Key)?
  • Is the api2 endpoint available for our account, or should we use another method?
  • Could you kindly provide a sample of a successful POST request with authentication?

Thank you in advance for your assistance.

Best regards,

None. There’s no such format requirement by Manager.

This depends on the endpoint:

  • For /api, you should use Authorization

  • For /api2, you should use X-API-Key

It is available for all users of Manager

This one was a successful POST operation:

Check this thread