Recurring flow / enrollment cancelation

BreB Biometrics also exposes a standard enrollment cancellation flow, for scenarios where the user wants to stop receiving charges.

Sample request

URL Selector with Opacity
Post

Send a POST request to https://api.dlocal.com/enrollments/{id}/cancel with no request body.

{
  "id": "E-4-32e1218f-b6ec-3f21-13d5-50v12ere2ca4",
  "external_id": "12345678",
  "status": "PENDING",
  "status_detail": "The enrollment has an ongoing cancelation",
  "status_code": "100"
}
{
  "id": "E-4-32e1218f-b6ec-3f21-13d5-50v12ere2ca4",
  "external_id": "12345678",
  "status": "CANCELLED",
  "status_detail": "Enrollment cancelled by user",
  "status_code": "401"
}

FieldRequiredTypeDescription
idYesStringEnrollment ID provided by dLocal, identifying the biometric enrollment to cancel.

Did this page help you?