Introduction

POSThttps://api.payaza.africa/live/payaza-account/api/v1/mainaccounts/merchant/provider/enquiry

Note

Arguments

Authorization header Values

POST

          
{ 
  "authorization": Payaza UFo3OC1QS0xJVkUtRjMwODcwNUMtRkY2NC00MEJCLTg1OUUtM0ZCQUI4MTJBNzdC
  "x-TenantID": test
} 
     
        

Get Account Name Enquiry

POST

          
import http.client
import json

conn = http.client.HTTPSConnection("api.payaza.africa")
payload = json.dumps({
  "service_payload": {
    "currency": "NGN",
    "bank_code": "090123",
    "account_number": "0103937899"
  }
})
headers = {
  'X-TenantID': 'test',
  'Authorization': 'Payaza UFo3OC1QS0xJVkUtNUYyMzk1RTAtMUVEMy00MjJCLUIzOEMtMEYyNzg5',
  'Content-Type': 'application/json'
}
conn.request("POST", "/live/payaza-account/api/v1/mainaccounts/merchant/provider/enquiry", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
 
        

RESPONSE

{
  "response_code": 200,
  "response_message": "Approved or completely successful",
  "response_content": {
    "account_number": "0190878999",
    "bank_code": "203012",
    "account_name": "Olaolu Adejide",
    "account_status": "ACTIVE",
    "transaction_reference": 9
  },
  "response_content_class": "com.fin78.app.payload.response.enquiry.account.AccountNameEnquiryInfoResponse"
} 
      
Was this article helpful?
Contact support

Need help or want to ask questions, try connecting with our customer experience team