Skip to main content

Authentication

Payfect's API uses API keys to authenticate requests. These keys can be managed and viewed via the Payfect Dashboard.

Remember, your API keys have important access rights, hence their safety is paramount. Avoid sharing them in open spaces like GitHub or client-side code.

To authenticate your API requests, you can use HTTP authentication with the requests library in Python. Include your API key in the header of your requests.

Note that all API requests should be sent via HTTPS. Requests sent over HTTP or without authentication will be rejected.

Host: api.payfect.finance
Authorization: Api-Key 5a31f3a4-279c-11ee-be56-0242ac120002