Revoke enrollment
Revokes a JSR enrollment. This is a logical revocation with no request body — once revoked, the enrollment can no longer be used to create payment consents; send the payer through Create enrollment again if they want to link the device once more.
PATCH
/api/v1/jsr/enrollments/{enrollmentId}Revoke enrollment
Revokes a JSR enrollment by enrollment id.
Auth: Bearer Token
Path parameters
1 campoenrollmentId●pathstring
Enrollment id to revoke.
Headers
2 camposx-client-ip●headerstring
End-user client IP.
subTenantIdheaderstring
Sub-tenant ID when required by the authenticated user context.
curl --request PATCH \
--url 'https://embedded-payment-manager.hml.linaob.com.br/api/v1/jsr/enrollments/enr_abc123' \
--header 'Authorization: Bearer <SEU_TOKEN>' \
--header 'x-client-ip: 198.21.104.1' \
--header 'subTenantId: subtenant_abc123'Response
200Enrollment revoked successfully.
Response body
object
- datastring
Empty string on success.
- messagestring
Response message.
- typestring
Envelope type.
- statusCodeinteger· nullable
HTTP status in envelope (see callout above).
200 · Enrollment revoked successfully.
{
"data": "",
"message": "Success revoking enrollment",
"type": "success",
"statusCode": 204
}Next steps
- Get enrollment by user — confirm the enrollment's status changed to
REVOKED.