Asynchronous Callback

Overview

The Asynchrounous Callback service accepts the callback Url and callback Email and it notifies and passes information back to the sender via the url and email provided when any of the Seamfix Verify services are used for verification. This article will guide you on how to integrate to the Asynchronous callback

🚧

Important

Before you proceed, ensure you review the prerequisites for integrating to our APIs for a more detailed guide.

API Endpoint

https://api.verified.africa/sfx-verify/v3/id-service/

Headers

Our service accepts headers for authentication. See below the headers to pass to the API

HeaderTypeDescription
useridStringThis is your user id retrieved from the portal. Check the getting started article to understand how to retrieve your userid
apiKeyStringThis is your api key retrieved from the portal. Check the getting started article to understand how to retrieve your apiKey

Request

🚧

Important

This service request cuts across all the services. For the benefit of this documentation, I will be using that of BVN full details service.

Request ParameterDescriptionDescriptionTest Data
searchParameterRequiredThe BVN will be passed into this field"22222222223"
transactionReferenceOptionalThis is a field that uniquely identifies your transaction. We generate this field if you leave it empty; however, we encourage you to generate it for proper reconciliationTo be generated by the customer
verificationTypeRequiredThis field is used to identify the service being called. Ensure to use the value provided exactly as providedBVN-FULL-DETAILS
callbackUrlRequiredThe callback url is inputted here"https://webhook.site/7518d538-18ad-4eeb-b944-e168c54d020f"
callbackEmailOptionalThe callback email is inputted here"[email protected]"
{
    "searchParameter": "22222222223",
    "email":"[email protected]",
    "transactionReference": "",
     "callbackUrl" : "https://webhook.site/7518d538-18ad-4eeb-b944-e168c54d020f",
     "callbackEmail" :  "[email protected]"
    "verificationType":"BVN-FULL-DETAILS"
}

Response

🚧

Important

This service response cuts across all the services. For the benefit of this documentation, I will be using that of BVN full details service.

Response ParameterTypeDescription
responseCodeStringPlease reference Response Codes page for details on all possible responses
descriptionStringThis is a description of the response received.
verificationTypeStringThe same verificationType passed in request will be returned here
verificationStatusStringThis field lets you know if the identity verification was successful. Options are:

VERIFIED: This means that the BVN is valid.
NOT VERIFIED This means that the BVN is invalid
PENDING This status means that the verification could not be completed. Refer to the responseCode for the specific failure reason
transactionStatusStringThis indicates the wallet debit status. The options are successful or failed.
transactionReferenceStringIf you supplied a transactionReference, the same will be returned here. Else, we would generate a reference and return that to you in this field.
transactionDateStringDate the transaction was done
searchParameterStringBVN used for the verification
callBackUrlStringThis indicates that the asynchronous callback url used for the transaction.
callBackEmailStringThis indicates the asynchronous callback email used for the transaction.
responseStringThis is a string containing all the actual BVN data as retrieved from the service provider.
{
    "responseCode": "00",
    "description": "Your request is being processed.",
    "verificationType": "BVN-FULL-DETAILS",
    "verificationStatus": "PENDING",
    "transactionStatus": null,
    "transactionReference": "1630321373727-L6YY95B5",
    "transactionDate": "1660821526163",
    "searchParameter": "22222222223",
    "callBackUrl": null,
    "livenessScore": 0.0,
    "paymentRef": null,
    "response": null,
    "faceMatch": null
}