{
"success": true,
"code": 200,
"qr_code": "iVBORw0KGgoAAAANSUhEUgAAAMgAAADIAQAAAACFI5MzAAABaklEQVR42u3aQW7DMAwFUP//p88j...",
"operation_uuid": "a1b2c3d4-e5f6-7890-1234-567890abcdef"
}
{
"success": false,
"code": 400,
"message": "<parameter> is required"
}
{
"success": false,
"code": 403,
"message": "Forbidden"
}
{
"success": false,
"code": 404,
"message": "precondition fails, code 3"
}
{
"success": false,
"code": 500,
"message": "Unexpected Error"
}
Partner APIs
QR Code Payments
Generate and verify payments using QR codes only. No redirects.
{
"success": true,
"code": 200,
"qr_code": "iVBORw0KGgoAAAANSUhEUgAAAMgAAADIAQAAAACFI5MzAAABaklEQVR42u3aQW7DMAwFUP//p88j...",
"operation_uuid": "a1b2c3d4-e5f6-7890-1234-567890abcdef"
}
{
"success": false,
"code": 400,
"message": "<parameter> is required"
}
{
"success": false,
"code": 403,
"message": "Forbidden"
}
{
"success": false,
"code": 404,
"message": "precondition fails, code 3"
}
{
"success": false,
"code": 500,
"message": "Unexpected Error"
}
The endpoints defined in the next section require a special API key generated by Flouci upon request. These endpoints allow for the seemless integration of QR code payments within your external system without redirects or embedding of external pages.
These APIs allow you to generate dynamic QR codes that Flouci wallets - or any other wallet licensed by the Central Bank of Tunisia - can scan and pay. You can simply display the QR code string provided to the client in digital or paper form.
Wallet payments are verified and settled instantly, and will appear in your available balance within seconds.
