Skip to main content

Mobile Payins

Introduction

The Mobile Payments API enables you to accept and send payments seamlessly through mobile money wallets across 35+ countries.

With a single, unified endpoint you can:

  • Collections (Payins): Accept payments from customers’ mobile wallets into your merchant account.

This API removes the complexity of managing multiple providers, giving you a reliable way to scale collections and payouts globally.

Endpoint

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

Authorization

Every request must include authentication headers:

AUTHORIZATION: Basic Auth

Username <username>
Password <password>


Request Body

The request body should include the necessary parameters for the transaction. We will need to add the customer Information to pick the customer KYC.

basic title:"json"

{
"username": "paydconsultant",
"network_code": "7ea6df5c-6bba-46b2-a7e6-f511959e7edb",
"account_name": "momo",
"account_number": "+254712345678",
"amount": 50,
"phone_number": "07712345678",
"channel_id": "7c7833d8-2f26-430e-8675-7ff07a5caf0c",
"narration": "Payment for goods",
"currency": "KES",
"callback_url": "https://payd-test.free.beeceptor.com",
"transaction_channel": "mobile",
"customer_info": {
"country": "Ghana",
"address": "123 Independence Ave, Accra",
"id_type": "Passport",
"phone": "+2331245678",
"dob": "1990-05-15",
"name": "John Doe",
"id_number": "GHA123456789",
"email": "johndoe@example.com"
}
}

Below are code examples in different programming languages demonstrating how to receive payments from different mobile payments worldwide.


curl --location 'https://api.mypayd.app/api/v3/payments'

--data-raw '{
"username": "paydconsultant",
"network_code": "7ea6df5c-6bba-46b2-a7e6-f511959e7edb",
"account_name": "John Doe",
"account_number": "+254712434671",
"amount": 100,
"phone_number": "07712345671",
"channel_id": "7c7833d8-2f26-430e-8675-7ff07a5caf0c",
"narration": "Event Ticket Purchase",
"currency": "KES",
"callback_url": "https://payd-test.free.beeceptor.com",
"transaction_channel": "mobile",
"customer_info": {
"country": "Ghana",
"address": "123 Independence Ave, Accra",
"id_type": "Passport",
"phone": "+23312345678",
"dob": "1990-05-15",
"name": "John Doe",
"id_number": "GHA123456789",
"email": "johndoe@example.com"
}

}'

Example of a successful response

{
"status": "SUCCESS",
"transaction_reference": "NIC201102101eR",
"success": true,
"message": "Processed successfully",
"trackingId": "",
"reference": "",
"result": null
}

Conclusion

The Global Payments API makes it simple to collect and disburse payments across 35+ countries with one seamless integration.