Skip to content

Wise credentials#

You can use these credentials to authenticate the following nodes with Wise.

Prerequisites#

Create a Wise account.

Using API Token#

  1. Open your Wise dashboard.
  2. Click on the username on the top right and select 'Settings' from the dropdown list.
  3. Scroll down to the bottom and click on API tokens.
  4. Click on the Add new token button.
  5. Enter a name in the Name or description field.
  6. Click on the Create token button.
  7. Scroll down to the bottom and click on API tokens.
  8. Click on Reveal key to reveal the newly generated API key.
  9. Enter your Wise account password in the Please enter your password field.
  10. Copy the displayed API key.
  11. Enter the name for your credentials in the Credentials Name field in the 'Wise API' credentials in n8n.
  12. Paste the API key in the API Token field in the 'Wise API' credentials in n8n.
  13. If you're using a Wise sandbox account, select 'Test' from the Environment dropdown list in the 'Wise API' credentials in n8n.
  14. Click on the Create button to create your credentials.

The following video demonstrates the steps mentioned above.

Personal Token SCA#

When making a request to an SCA (strong customer authentication) protected endpoint, Wise returns a 403 Forbidden HTTP status code. SCA is required on some operations. Refer to Wise documentation | Strong Customer Authentication & 2FA for details. It is disabled when using test endpoints.

If SCA is required, Wise returns an error similar to below:

This request requires Strong Customer Authentication (SCA). Please add a key pair to your account and n8n credentials. See https://api-docs.transferwise.com/#strong-customer-authentication-personal-token

To enable signing a token you need to create and add a public and private key. Add the public key to Wise in user profile settings.

To generate an RSA key pair:

1
2
$ openssl genrsa -out private.pem 2048 
$ openssl rsa -pubout -in private.pem -out public.pem
With the generated keys, add them to n8n and Wise:

  • Add the content of the public key public.pem to your Wise user profile settings.
  • Add the content of the private key private.pem to your n8n Wise Credential under Private Key (Optional).