Payant Integration Test
Services to be tested
PayTV
Pay Electricity
Buy Airtime (Purchase Airtime)
Buy Data (Pay Data)
Buy Scratch Card (Pay Waec)
Lookup NIN Min
Lookup NIN Mid
Â
Â
Â
Â
Â
Â
Â
Â
Â
Â
Â
Appendix
#1 Response was
{
"status": "Successful",
"message": "Transaction Processed Successfully",
"data": null
}
Â
#2 Request and Response
{
"request_ref":"{{request-ref}}",
"request_type":"lookup_nin_min",
"auth": {
"auth_provider": "Payant"
},
"transaction": {
"transaction_ref": "63683785716419"
}
}
{
"status": "Failed",
"message": "Missing parameter [nin number]",
"data": {
"auth_token": null,
"provider_auth_token": null,
"provider_response_code": null,
"provider": "payant",
"errors": [
{
"code": "01",
"message": "Missing parameter [nin number]"
}
],
"error": {
"code": "01",
"message": "Missing parameter [nin number]"
},
"provider_response": {
"reference": "PAYANT-i9ypmm8p5ewzkk4z7y14p"
},
"client_info": {
"name": null,
"id": null,
"bank_cbn_code": null,
"bank_name": null,
"console_url": null,
"js_background_image": null,
"css_url": null,
"logo_url": null,
"footer_text": null,
"show_options_icon": false,
"paginate": false,
"paginate_count": 0,
"options": null,
"merchant": null,
"colors": null,
"meta": null
}
}
}
#3
{
"status": "Failed",
"message": "Cannot read property 'customer' of undefined",
"data": {
"provider_response_code": null,
"provider": "payant",
"errors": [
{
"code": "01",
"message": "Cannot read property 'customer' of undefined"
}
],
"error": {
"code": "01",
"message": "Cannot read property 'customer' of undefined"
},
"provider_response": {
"reference": "PAYANT-s181miaw27a46ls4dvxmqc"
} }
}