API key storage

Hi everyone,

I am trying to setup an invoicing app and use a payment provider is South Africa.
Its a SaaS app and I would like to let my users connect to the payment provider using their own api keys/tokens but are unsure how I will go about saving these keys.
All workflows run from the server side but I am uneasy saving the API keys as text, what is the most secure way of storing these keys?