List terminal pairing codes
Changed onℹ️ Test mode
This endpoint currently does not support test mode yet.
Returns your pairing codes: active, expired, and revoked. Results are paginated.
We keep a pairing code for one month after it is revoked or expires, then delete it. Deleted codes drop out of this list. Active pairing codes are never deleted.
Request
- Base URLhttps://api.mollie.com
- URLhttps://api.mollie.com/v2/terminals/pairing-codes
- Auth
- HTTP bearer
- or OAuth 2Authorization code: https://my.mollie.com/oauth2/authorizeToken URL: https://api.mollie.com/oauth2/tokens scopes: terminals.read
Query parameters
Provide an ID to start the result set from the item with the given ID and onwards. This allows you to paginate the result set.
The maximum number of items to return. Defaults to 50 items.
Used for setting the direction of the result set. Defaults to descending order, meaning the results are ordered from newest to oldest.
The identifier referring to the profile you wish to retrieve pairing codes for.
Headers
A unique key to ensure idempotent requests. This key should be a UUID v4 string.
Response
A list of terminal pairing code objects. For a complete reference of the terminal pairing code object, refer to the Get terminal pairing code endpoint documentation.
Example response
{
"count": 5,
"_links": {
"self": {
"href": "https://...",
"type": "application/hal+json"
},
"previous": {
"href": "https://...",
"type": "application/hal+json"
},
"next": {
"href": "https://...",
"type": "application/hal+json"
},
"documentation": {
"href": "https://...",
"type": "application/hal+json"
}
}
}Changes
- breaking
the
response property's min was decreased from1.00to0.00for the response status
- breaking
- info
endpoint added
- info