Skip to main content
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.

Generate Custom QR Code

This API allows you to generate a custom QR code with a specified amount.

Query Parameters

decimal
required
The transaction amount in millimes
integer
required
Your merchant ID.
uuid
A unique ID for the operation. If not provided, a random UUID will be generated.
boolean
default:"false"
Set to true to receive a slug representation of the QR code.

Headers

string
required
Your API key. Should be in the format Api-Key YOUR_API_KEY.

Verify Custom Transaction

This API allows you to verify the transaction associated with a dynamically generated QR code.

Query Parameters

uuid
required
The operation_uuid of the dynamic QR code.

Headers

string
required
Your API key. Should be in the format Api-Key <YOUR_API_KEY>.

History of Purchases

This API allows you to fetch the transaction history of a merchant.

Query Parameters

integer
required
Your merchant ID.
datetime
The start date of the transaction history.
datetime
The end date of the transaction history.
integer
The number of items per page.

Headers

string
required
Your API key. Should be in the format Api-Key YOUR_API_KEY.