Step 1: Create an API key for use with Secure Fields
Before your application can communicate with the API you will need to
create a new API key. The API handles authentication using a signed JSON
Web Token (JWT) which is passed in a HTTP header.
Copy
Ask AI
curl -X GET https://api.mattildapayments.com/transactions \ -H "authorization: bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIi..."
We recommend you use an SDK. Our SDKs makes the process of generating a token a lot easier and is probably
available in your preferred programming language. We will get to this in the
next step.
To use the API you will need to generate a new API key. Ask your Account Manager for an API key, which will come in a .pem file, in order to start with your integration.