# API POST Receipts & Payments - Bank Transactions

**URL:** <https://forum.manager.io/t/api-post-receipts-payments-bank-transactions/62627>\
**Category:** Uncategorized\
**Created:** [May 16, 2025, 6:23am UTC](https://forum.manager.io/t/api-post-receipts-payments-bank-transactions/62627 "2025-05-16T06:23:12Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![FerhatAL](https://avatars.discourse-cdn.com/v4/letter/f/bbce88/32.png) [@FerhatAL](https://forum.manager.io/u/FerhatAL)\
**Post date:** [May 16, 2025, 6:23am UTC](https://forum.manager.io/t/api-post-receipts-payments-bank-transactions/62627/1 "2025-05-16T06:23:12Z")

</div>

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 ?

---

<div class="post-metadata">

**Author:** ![Mabaega](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.manager.io/mabaega/32/47471_2.png) [@Mabaega](https://forum.manager.io/u/Mabaega)\
**Post date:** [May 16, 2025, 10:49am UTC](https://forum.manager.io/t/api-post-receipts-payments-bank-transactions/62627/2 "2025-05-16T10:49:56Z")

</div>

For Payment

 ![image](https://us1.discourse-cdn.com/flex019/uploads/manager1/original/3X/8/7/8732a4e3e323ed5e59c687c34664502ee15536a6.png)

for Receipt

 ![image](https://us1.discourse-cdn.com/flex019/uploads/manager1/original/3X/6/a/6a76cc8a38173c83cca430da10ebadac2e590a5e.png)

---

<div class="post-metadata">

**Author:** ![FerhatAL](https://avatars.discourse-cdn.com/v4/letter/f/bbce88/32.png) [@FerhatAL](https://forum.manager.io/u/FerhatAL)\
**Post date:** [May 18, 2025, 4:34am UTC](https://forum.manager.io/t/api-post-receipts-payments-bank-transactions/62627/3 "2025-05-18T04:34:55Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Mabaega](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.manager.io/mabaega/32/47471_2.png) [@Mabaega](https://forum.manager.io/u/Mabaega)\
**Post date:** [May 18, 2025, 4:43am UTC](https://forum.manager.io/t/api-post-receipts-payments-bank-transactions/62627/4 "2025-05-18T04:43:19Z")

</div>

Yes, and its work fine…

# ![image](https://us1.discourse-cdn.com/flex019/uploads/manager1/original/3X/3/a/3a9e6316f1be301b9466b491bb5e5da3724b8391.png)

# ![image](https://us1.discourse-cdn.com/flex019/uploads/manager1/original/3X/8/1/816a34a5338941efd00926b00ab4865a854f1653.png)

# ![image](https://us1.discourse-cdn.com/flex019/uploads/manager1/original/3X/8/2/82a8827acf794e4f474fe9c6bbb80c2a5ae65d77.png)

 ![image](https://us1.discourse-cdn.com/flex019/uploads/manager1/original/3X/f/3/f3a38f20f55c45154cb2bddae5f90d33aa26969b.png)

---

<div class="post-metadata">

**Author:** ![FerhatAL](https://avatars.discourse-cdn.com/v4/letter/f/bbce88/32.png) [@FerhatAL](https://forum.manager.io/u/FerhatAL)\
**Post date:** [May 22, 2025, 4:50am UTC](https://forum.manager.io/t/api-post-receipts-payments-bank-transactions/62627/5 "2025-05-22T04:50:15Z")

</div>

I get below error anytime

```auto
"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."

```

---

<div class="post-metadata">

**Author:** ![Ealfardan](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.manager.io/ealfardan/32/63166_2.png) [@Ealfardan](https://forum.manager.io/u/Ealfardan)\
**Post date:** [May 22, 2025, 9:45am UTC](https://forum.manager.io/t/api-post-receipts-payments-bank-transactions/62627/6 "2025-05-22T09:45:18Z")

</div>

Just delete the old token and create a new one.

This time make sure to copy it exactly

---

<div class="post-metadata">

**Author:** ![FerhatAL](https://avatars.discourse-cdn.com/v4/letter/f/bbce88/32.png) [@FerhatAL](https://forum.manager.io/u/FerhatAL)\
**Post date:** [May 23, 2025, 11:02am UTC](https://forum.manager.io/t/api-post-receipts-payments-bank-transactions/62627/7 "2025-05-23T11:02:22Z")

</div>

Hello,

We are trying to set up an API integration for our account at:  
**[https://MYCOMPANY.manager.io](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,

---

<div class="post-metadata">

**Author:** ![Ealfardan](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.manager.io/ealfardan/32/63166_2.png) [@Ealfardan](https://forum.manager.io/u/Ealfardan)\
**Post date:** [May 23, 2025, 11:31am UTC](https://forum.manager.io/t/api-post-receipts-payments-bank-transactions/62627/8 "2025-05-23T11:31:33Z")

</div>

> [@FerhatAL](#):
>
> What token format is required for API access using Google Apps Script?

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

> [@FerhatAL](#):
>
> What authentication header structure should we use (e.g. `Authorization` or `X-API-Key`)?

This depends on the endpoint:

- For `/api`, you should use `Authorization`

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

> [@FerhatAL](#):
>
> Is the `api2` endpoint available for our account, or should we use another method?

It is available for all users of Manager

> [@FerhatAL](#):
>
> Could you kindly provide a sample of a successful `POST` request with authentication?

This one was a successful POST operation:

> [@API POST Receipts & Payments - Bank Transactions](https://forum.manager.io/t/api-post-receipts-payments-bank-transactions/62627/4):
>
> Yes, and its work fine…

---

<div class="post-metadata">

**Author:** ![Mabaega](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.manager.io/mabaega/32/47471_2.png) [@Mabaega](https://forum.manager.io/u/Mabaega)\
**Post date:** [May 23, 2025, 1:57pm UTC](https://forum.manager.io/t/api-post-receipts-payments-bank-transactions/62627/9 "2025-05-23T13:57:14Z")

</div>

Check this thread

> [@Google Sheets API](https://forum.manager.io/t/google-sheets-api/51703):
>
> I’m trying to push a new entry from Google Sheets to Manager. Just to add a new customer that’s all for now. However I’m getting an error code 401. getManagerCustomer @ Code.gs:7 pushCustomerToManager @ Code.gs:15 Anyone have any idea? see script below. Thanks // Function to fetch existing customers from Manager.io function getManagerCustomer() { // Make API request to Manager.io to fetch customers // Replace 'YOUR\_API\_KEY' with your actual API key var apiKey = '####'; var url = 'ht…
