Terminals API
Revoke terminal pairing code
ℹ️ Test mode
This endpoint currently does not support test mode yet.
Revoke a pairing code, preventing the onboarding of new point-of-sale terminals.
Terminals that have already paired with this code are not affected.
We keep a revoked pairing code for one month, then delete it. Once deleted, this endpoint returns a 404.
🔑 Access with
API key
OAuth access with terminals.write
delete/terminals/pairing-codes/{pairingCodeId}
Request
- Base URLhttps://api.mollie.com/v2
- URLhttps://api.mollie.com/v2/terminals/pairing-codes/{pairingCodeId}
- Auth
- HTTP bearer
- or OAuth 2Authorization code: https://my.mollie.com/oauth2/authorizeToken URL: https://api.mollie.com/oauth2/tokens scopes: terminals.write
Path parameters
pairingCodeIdstring required
Example:termpc_R7gX5Ea9bC4DkFj3G
Provide the ID of the terminal pairing code.
Response
The revoked terminal pairing code object.
Example response
{
"id": "termpc_R7gX5Ea9bC4DkFj3G",
"mode": "live",
"code": "20eb5ca1f78b48ae9e2b",
"profileId": "pfl_jA9bC4DkFj3G",
"status": "active",
"details": {
"qrCode": {
"height": 256,
"width": 256,
"src": "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4w..."
}
},
"expiresAt": "2025-12-10T10:15:00+00:00",
"revokedAt": "2025-12-10T10:03:23+00:00",
"createdAt": "2024-03-20T09:13:37+00:00",
"_links": {
"self": {
"href": "https://...",
"type": "application/hal+json"
},
"profile": {
"href": "https://...",
"type": "application/hal+json"
},
"documentation": {
"href": "https://...",
"type": "application/hal+json"
}
}
}Changes
No recorded changes to this operation across all 2 revisions of this API.