Statut de la transaction
Une requête (Get Transaction Status) permet d'obtenir les détails d'une transaction déjà effectuée.
Benin Togo
Utilisé l'url en fonction du pays referez vous aux fichiers Json dans la partie Introduction
POST {context}/QosicBridge/user/gettransactionstatus {
"transref" : "12345",
"clientid": "QOS3P001"
}{
"responsecode": "00",
"responsemsg": "SUCCESSFUL",
"transref": "12345",
"comment": "TRANSACTION APPROVED AND PROCESSED SUCCESSFULLY"
} {
"responsecode": "-2",
"responsemsg": "INVALID CLIENT ID",
"transref": "12345",
"comment": "CLIENT ID DOES NOT EXIST"
}Exception
ExceptionMtn Bénin
Mtn Bénin Verification d'une transaction chez mtn si sur votre dashboard le status est a pending
POST {context}/QosicBridge/user/gettransactionstatusV2 {
"transref" : "12345",
"clientid": "QOS3P001"
}{
"responsecode": "00",
"responsemsg": "SUCCESSFUL",
"transref": "12345",
"comment": "TRANSACTION APPROVED AND PROCESSED SUCCESSFULLY"
}{
"responsecode": "-2",
"responsemsg": "INVALID CLIENT ID",
"transref": "12345",
"comment": "CLIENT ID DOES NOT EXIST"
}Moov Bénin
POST {context}/QosicBridge/user/gettransactionstatus2mv//Content-Type: application/json[Basic Authentication headers]Some code
{
"clientid": "****",
"transref":"xxx811085",
"specialfield1":"82024051400161709"
}{
"responsecode": "00",
"responsemsg": "SUCCESSFUL",
"transref": "12345",
"comment": "TRANSACTION APPROVED AND PROCESSED SUCCESSFULLY"
}{
"responsecode": "-2",
"responsemsg": "INVALID CLIENT ID",
"transref": "12345",
"comment": "CLIENT ID DOES NOT EXIST"
}Celtiis Bénin
POST {context}/QosicBridge/sb/v1/gettransactionstatus//Content-Type: application/json[Basic Authentication headers]
{
"clientid":"***",
"transref":"xxx811085"
}
{
"responsecode": "00",
"responsemsg": "SUCCESSFUL",
"transref": "12345",
"comment": "TRANSACTION APPROVED AND PROCESSED SUCCESSFULLY"
}{
"responsecode": "-2",
"responsemsg": "INVALID CLIENT ID",
"transref": "12345",
"comment": "CLIENT ID DOES NOT EXIST"
}Element
Type
Decription
transref
string:MANDATORY
The Unique generated id provided by Qos
clientid
string:MANDATORY
The transaction reference of the payment transaction
specialfield1
string: MANDATORY
The transaction id in sms received by operator and it is required
Mis à jour