v1
latestOpenAPI 3.0.22026-08-061464031.4 MBEnrollments (Brazil)
Complete enrollment after redirection
▶️ Usage
Use this endpoint to complete the enrollment process after the user is redirected back from the institution. The request body should match the parameters received in the callback URL, either for a successful or error callback.
post/payments/br/enrollments/complete-redirection/
Request body
Example request
{
"state": "abc123",
"code": "xyz456",
"id_token": "idtoken789"
}Response
OK (Enrollment Successfully Updated)
Example response
{
"id": "600f1b4a-1ef9-4f89-b341-1a35f0c32cc0",
"created_by": "dbdce1e9-d089-4b7d-804b-51dd07748202",
"created_at": "2024-11-26T11:20:57.389056Z",
"updated_at": "2024-11-26T11:20:57.389058Z",
"external_id": "4b8a81a0-e33c-45a6-8567-479efb105f73",
"type": "open_finance_biometric_pix",
"status": "PENDING",
"status_reason_code": "biometric_registration_failed",
"status_reason_message": "Enrollment rejected because the biometric registration was not completed successfully within the allowed time.",
"details": {
"status": "AWAITING_ACCOUNT_HOLDER_VALIDATION",
"customer": "c860809f-e96d-4d50-9588-f40ffab77302",
"institution": "600f1b4a-1ef9-4f89-b341-1a35f0c32cc0",
"platform": "ANDROID",
"name": "600f1b4a-Mobile",
"callback_url": "https://example.com/enrollment-in-progress",
"redirect_url": "https://www.acmecorp.com/checkout/3487321",
"risk_signals": "******",
"expires_at": "2026-12-26T11:20:57.389056Z"
},
"metadata": {
"internal_reference_id": "GGq73487w2"
}
}