# Custom HTTP request on Wise API - Auth issues

**URL:** <https://community.n8n.io/t/custom-http-request-on-wise-api-auth-issues/27840>\
**Category:** Questions\
**Tags:** credentials, node\
**Created:** [July 6, 2023, 10:09am UTC](https://community.n8n.io/t/custom-http-request-on-wise-api-auth-issues/27840 "2023-07-06T10:09:46Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![KenupCF](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/kenupcf/32/11908_2.png) [@KenupCF](https://community.n8n.io/u/KenupCF)\
**Post date:** [July 6, 2023, 10:09am UTC](https://community.n8n.io/t/custom-http-request-on-wise-api-auth-issues/27840/1 "2023-07-06T10:09:46Z")

</div>

## Describe the problem/error/question

The Wise node, although thorough, lacks some functionalities (in general, there is not option to do operations on SAVINGS account types, only STANDARD). Normally I would just run the API requests via the HTTP node. However, the Wise credentials do not show up on the “Predefined Credential Type” dropdown menu. It is also unclear to me how I would create a custom credential using the API token and the SCA Private Key.

Any input on this is appreciated!

Cheers,

Caio

---

<div class="post-metadata">

**Author:** ![Jon](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/jon/32/40174_2.png) [@Jon](https://community.n8n.io/u/Jon)\
**Post date:** [July 6, 2023, 10:46am UTC](https://community.n8n.io/t/custom-http-request-on-wise-api-auth-issues/27840/3 "2023-07-06T10:46:11Z")

</div>

Hey @KenupCF,

Looking at the node we have not updated it to use the newer credential format yet which is why it can’t be selected as an option in the HTTP Request node, To work around this you would need to manually implement the authentication Wise requires.

Looking at the code for the node you would need one Header credential that sets `Authorization` to `Bearer YOUR_API_TOKEN` then for SCA Requests if needed in the response you would need to manually sign the x-2fa-approval header value and generate a signature to send back, This should be possible with the code node or maybe the crypto node but this may not be an easy task.

---

<div class="post-metadata">

**Author:** ![KenupCF](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/kenupcf/32/11908_2.png) [@KenupCF](https://community.n8n.io/u/KenupCF)\
**Post date:** [July 6, 2023, 3:02pm UTC](https://community.n8n.io/t/custom-http-request-on-wise-api-auth-issues/27840/4 "2023-07-06T15:02:03Z")

</div>

I see. Thanks for the reply !

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/system/32/195824_2.png) [@system](https://community.n8n.io/u/system)\
**Post date:** [July 13, 2023, 3:02pm UTC](https://community.n8n.io/t/custom-http-request-on-wise-api-auth-issues/27840/5 "2023-07-13T15:02:51Z")

</div>

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.
