Authentication
Payezy does not issue access tokens. There is no token endpoint and no refresh call.
Create the API key in the Payezy app, then send it on every request as Authorization: Bearer pz_test_… in the sandbox or pz_live_… in production. A key keeps working until it expires or someone revokes it in the app. The payezy_session cookie is only for the Payezy web app, and it is not a key. Creating keys, including a key for a customer, stays in the Payezy UI.