Skip to main content

Bank Payment Requests

Introduction

The Bank Payments API enables you to send money directly from your payd wallet to a recipient's bank account.

Typical use cases include:

  • Vendor payments
  • Payroll disbursements
  • B2B invoice settlements
  • Financial services (e.g., loan payouts)

Making Payment Requests

To make a bank payment request, send an HTTP POST request to the following endpoint:

https://api.mypayd.app/api/v3/payments

Authorization

Users need to include basic authentication credentials in the request headers.

Authorization: Basic <base64-encoded-username:password>
Content-Type: application/json
X-Payd-Merchant-ID: <your_merchant_id>

Request Body

This payload allows you to securely make bank-payments using the Payd API. The request body must include the following structure:

    {
"username": "paydconsultant",
"account_name": "bank",
"amount": 15000,
"phone_number": "+256712345678",
"channel_id": "5de46c23-6461-4950-871f-a971490772cf",
"narration": "Payment for goods",
"currency": "UGX",
"callback_url": "https://payd-test.free.beeceptor.com",
"transaction_channel": "bank"
}

Below are code examples in different programming languages demonstrating how to make card payments using HTTP POST requests.

curl --location 'https://api.mypayd.app/api/v3/payments' \
--header 'Content-Type: application/json' \
--data-raw '{
"username": "paydconsultant",
"account_name": "bank",
"amount": 15000,
"phone_number": "+256712345678",
"channel_id": "5de46c23-6461-4950-871f-a971490772cf",
"narration": "Payment for goods",
"currency": "UGX",
"callback_url": "https://payd-test.free.beeceptor.com",
"transaction_channel": "bank"
}'

Example of a successful response

{
"status": "success",
"message": "Payment initiated",
"transaction_id": "txn_0123456789abcdef"
}



Conclusion

Whether you're building a payroll system, automating vendor payments, or launching a fintech app, Payd's flexible API ensures quick integration and reliable bank transaction processing.