Introduction

POSThttps://router-live.78financials.com/api/request/secure/payloadhandler

Note

Arguments

Authorization Header Values

POST

          
{ 
  "authorization": Payaza UFo3OC1QS0xJVkUtRjMwODcwNUMtRkY2NC00MEJCLTg1OUUtM0ZCQUI4MTJBNzdC
   
} 
     
        

Instant Collection And Payout

POST

          
import http.client
import json

conn = http.client.HTTPSConnection("router-live.78financials.com")
payload = json.dumps({
  "service_type": "Account",
  "service_payload": {
    "request_application": "Payaza",
    "application_module": "USER_MODULE",
    "application_version": "1.0.0",
    "request_class": "MakeDynamicPaymentRequest",
    "payment_amount": 500,
    "currency_code": "NGN",
    "first_name": "One",
    "last_name": "Pule",
    "email_address": "jane.doe@gmail.com",
    "phone_number": "07012345678",
    "virtual_account_name": "Jane Doe",
    "partner_bank": "Providus",
    "recipient": {
      "recipient_payout_amount": 450,
      "recipient_currency_code": "NGN",
      "recipient_first_name": "John",
      "recipient_last_name": "Doe",
      "recipient_email_address": "chen.thato@gmail.com",
      "recipient_phone_number": "08012345678",
      "recipient_bank_code": "000014",
      "recipient_account_number": "0690767319",
      "recipient_narration": "Testing Payaza"
    }
  }
})
headers = {
  'Authorization': 'Payaza UFo3OC1QS0xJVkUtQkNDRUIwMEMtODdBNC00RjJBLUEyNUItNDM5MzE1RjJFRjkx',
  'Content-Type': 'application/json'
}
conn.request("POST", "/api/request/secure/payloadhandler", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
     
        

RESPONSE

{
  "response_message": "Request successful.",
  "response_content": {
    "transaction_payable_amount": "300.00",
    "transaction_amount": "300.00",
    "transaction_fee_amount": "0.00",
    "account_number": "9983854541",
    "account_name": "PAYAZA(Jane Doe)",
    "bank_name": "PROVIDUS BANK",
    "bank_code": "000023",
    "transaction_reference": "P-C-20230112-914PCADLQN"
  },
  "resp_code": "P00"
} 
      
Was this article helpful?
Contact support

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