With this release, we have introduced a new confidence field to the transaction details response body and added Widget UI changes to improve user experience.
Confidence field:
- Field Name: “confidence”
- Data Type: Float (ranging from 0.0 to 1.0)
- Description: The matching certainty score, ranging from 0.0 (no confidence) to 1.0 (absolute certainty).
Response Body Example
"payment_partner": {
"id": "6702b891-b8e6-4892-8615-5440e39d3d0e",
"name": "Qwist GmbH",
"website_url": "https://qwist.com",
"logo_url": "https://qwist.com/wpcontent/uploads/2024/04/qwist_logo.svg",
"latitude": 52.508099,
"longitude": 13.329611,
"confidence": 0.95
}
This field allows your integration to decide how to handle enriched data.
For example:
- High Certainty (e.g. 0.90): Directly display the matched merchant logo to your end users.
- Low Certainty: Fall back to generic transaction descriptors or display the matched merchant name but append a small interactive prompt (e.g., "Did you shop at Qwist GmbH?") with Yes/No options.
Comments
0 comments
Please sign in to leave a comment.