Pour connaître le statut d'une transaction, vous devez envoyer les informations suivantes
X-Merchant-Apply
: votre X-Merchant-Apply
X-Merchant-Token
: votre X-Merchant-Token
env
: l'environnement
version
: la version
UUID
: uuid du lien de paiement généré auparavant
En utilisant cette url en methode POST
:
https://api.winipayer.com/transaction/invoice/detail/:uuid
{
"success": true,
"results": {
"uuid": "139527f2-ebdb-4c92-9014-36fef14968a6",
"module": {
"name": "default",
"uuid": null
},
"hash": "70d53f511d34cf91b2cc56d759777cf7a6b55b84683f020179d29bc821a781b8",
"env": "test",
"version": "v1",
"state": "success",
"state_date": "2023-12-29 10:26:28",
"amount": 5000,
"customer_pay_fee": false,
"commission_amount": 0,
"commission_rate": null,
"commission_fee": null,
"amount_available": 5000,
"currency": "xof",
"channel": [],
"description": "test",
"wpsecure": false,
"wpsecure_validate": null,
"items": [],
"custom_data": [],
"store": {
"name": "Ma boutique",
"description": "La description de la boutique",
"web_url": "https://winipayer.com",
"logo": "https://cdn.winicore.com/file/get/winipayer/manager/merchant/e507f684-cfae-4615-a6eb-6b7afcf74ce0",
"email": "[email protected]",
"phone": "2250142216385",
"country": "ci",
"city": "Adjamé Agence",
"address": "150 chemin de lacheyre",
"ipn_url": "https://winipayer.com"
},
"operator": "winipayer",
"operator_ref": "2977833b-3187-46e9-92ef-ba17de13dfa3",
"reference": {
"identifier": null,
"name": null,
"phone": "072556836322",
"email": null
},
"customer_pay": {
"full_name": "Honoré",
"phone": "072556836322"
},
"customer_owner": [],
"cancel_url": "https://winipayer.com",
"return_url": "https://winipayer.com",
"callback_url": "https://winipayer.com",
"checkout_link": "https://checkout.winipayer.com/int/v1/test/139527f2-ebdb-4c92-9014-36fef14968a6",
"checkout_receipt": "https://checkout.winipayer.com/receipt/view/139527f2-ebdb-4c92-9014-36fef14968a6/493e49360ea69a0ff473b109bceae43a3ed42b47c610108e064f05f79ddf3941",
"ipn_call": "2023-12-29 10:27:03",
"created_at": "2023-12-29 10:25:15",
"expired_at": "2023-12-29 10:55:15"
},
"errors": [],
"messages": []
}