API Reference
Complete REST API reference for the Danipa Fintech Platform. Explore 118+ endpoints across 18 categories covering merchant APIs, payment links, invoices, analytics, remittance, wallets, KYC, and MTN MoMo integration.
Base URL
https://api.danipa.com/ms
Authentication
Bearer JWT / Basic Auth
Spec Version
OpenAPI 3.1.0
Invoices
Create, manage, and send invoices with auto-generated payment links
5 endpoints
| Method | Path | Summary |
|---|---|---|
| PUT | /v1/merchants/me/invoices/{invoiceId} | Update draft invoice |
| GET | /v1/merchants/me/invoices | List invoices |
| POST | /v1/merchants/me/invoices | Create invoice |
| POST | /v1/merchants/me/invoices/{invoiceId}/void | Void invoice |
| POST | /v1/merchants/me/invoices/{invoiceId}/send | Send invoice |
Payment Requests
Request money from other Danipa users
6 endpoints
| Method | Path | Summary |
|---|---|---|
| POST | /v1/payment-requests | Create payment request |
| POST | /v1/payment-requests/{id}/reject | Reject payment request |
| POST | /v1/payment-requests/{id}/cancel | Cancel payment request |
| POST | /v1/payment-requests/{id}/accept | Accept payment request |
| GET | /v1/payment-requests/sent | Get sent payment requests |
| GET | /v1/payment-requests/received | Get received payment requests |
Wallet
Digital wallet — creation, balances, currency accounts
13 endpoints
| Method | Path | Summary |
|---|---|---|
| POST | /v1/wallets | Create wallet |
| POST | /v1/wallets/me/transfer | P2P transfer |
| POST | /v1/wallets/me/refund | Request refund |
| POST | /v1/wallets/me/fund-in | Fund wallet via MoMo |
| POST | /v1/wallets/me/cash-out | Cash out to MoMo |
| POST | /v1/wallets/me/accounts/{currency} | Add currency account |
| DELETE | /v1/wallets/me/accounts/{currency} | Remove currency account |
| GET | /v1/wallets/me | Get wallet |
| GET | /v1/wallets/me/transactions/{currency} | Get transaction history |
| GET | /v1/wallets/me/fund-ins | List fund-in requests |
| GET | /v1/wallets/me/cash-outs | List cash-out requests |
| GET | /v1/wallets/me/balances | Get all balances |
| GET | /v1/wallets/me/balances/{currency} | Get balance for currency |
Transfers
Create and track money transfers
3 endpoints
| Method | Path | Summary |
|---|---|---|
| GET | /v1/transactions | List transactions |
| POST | /v1/transactions | Create transfer |
| GET | /v1/transactions/{id} | Get transaction detail |
Recipients
Manage saved transfer recipients
4 endpoints
| Method | Path | Summary |
|---|---|---|
| GET | /v1/recipients | List recipients |
| POST | /v1/recipients | Create recipient |
| DELETE | /v1/recipients/{id} | Delete recipient |
| PATCH | /v1/recipients/{id} | Update recipient |
Remittance - MTN Mobile Money (MoMo) API
Remit funds to local recipients from the diaspora with ease. This API allows you to send money to local recipients in various countries, facilitating cross-border transactions seamlessly.
13 endpoints
| Method | Path | Summary |
|---|---|---|
| POST | /v1/remittance/transfer | Transfers funds from the sender’s account to a recipient’s account using the MTN MoMo Remittance API. |
| POST | /v1/remittance/cash/transfer | Transfers funds from the owner’s account to a payee’s account using the MTN MoMo Remittance API. |
| POST | /v1/remittance/auth/oauth2/token | Create an access token for API authentication |
| POST | /v1/remittance/auth/oauth/token | Create an access token for API authentication |
| POST | /v1/remittance/auth/authorize | Authorize remittance consent for account holder |
| POST | /v1/remittance/account/{accountHolderMSISDN}/userinfo | Returns personal information of a remittance account holder by MSISDN. |
| POST | /v1/remittance/account/consent/userinfo | Claims consent from the remittance account holder for the requested scopes. |
| POST | /v1/remittance/account/999{accountHolderMSISDN}999/userinfo | Returns personal information of a remittance account holder by MSISDN. |
| GET | /v1/remittance/transfer/{referenceId}/status | Transfers funds from the owner’s account to a payee’s account using the MTN MoMo Remittance API. |
| GET | /v1/remittance/cash/transfer/{referenceId}/status | Get the status of a cash transfer using the X-Reference-Id. |
| GET | /v1/remittance/account/{currency}/balance | Get the remittance account balance in a specific currency. |
| GET | /v1/remittance/account/{accountHolderIdType}/{accountHolderId}/status | Checks if a remittance account holder is registered and active. |
| GET | /v1/remittance/account/balance | Get the current balance of the remittance account. |
KYC
Know Your Customer — document upload, status, and tier upgrade
4 endpoints
| Method | Path | Summary |
|---|---|---|
| POST | /v1/kyc/upgrade | Request tier upgrade |
| POST | /v1/kyc/documents | Upload KYC document |
| GET | /v1/kyc/tiers | List KYC tiers |
| GET | /v1/kyc/status | Get KYC status |
Merchants
Merchant onboarding, API key management, and KYB verification
8 endpoints
| Method | Path | Summary |
|---|---|---|
| POST | /v1/merchants | Register merchant |
| GET | /v1/merchants/me/verification | List KYB documents |
| POST | /v1/merchants/me/verification | Submit KYB document |
| GET | /v1/merchants/me/api-keys | List API keys |
| POST | /v1/merchants/me/api-keys | Create API key |
| POST | /v1/merchants/me/api-keys/{keyId}/rotate | Rotate API key |
| GET | /v1/merchants/me | Get merchant profile |
| DELETE | /v1/merchants/me/api-keys/{keyId} | Revoke API key |
FX Quotes
Create and retrieve locked FX quotes for send money flow
2 endpoints
| Method | Path | Summary |
|---|---|---|
| POST | /v1/fx/quotes | Create FX quote |
| GET | /v1/fx/quotes/{quoteId} | Get FX quote |
User Provisioning - MTN Mobile Money (MoMo) API
Endpoints for creating and managing sandbox API users and API keys for MTN MoMo integration testing.
3 endpoints
| Method | Path | Summary |
|---|---|---|
| POST | /v1/user | Create a sandbox API user for MTN MoMo integration testing. |
| POST | /v1/user/{X-Reference-Id}/apikey | Generate an API key for a sandbox API user. |
| GET | /v1/user/{X-Reference-Id} | Retrieve a sandbox API user by reference ID. |
Authentication
User registration and authentication
2 endpoints
| Method | Path | Summary |
|---|---|---|
| POST | /v1/auth/register | Register a new user |
| POST | /v1/auth/forgot-password | Request password reset |
Collection - MTN Mobile Money (MoMo) API
Provides endpoints to initiate, authorize, and manage remote collection of payments, bills, fees, or taxes using MTN Mobile Money (MoMo), enabling secure and automated financial transactions between service providers and account holders.
23 endpoints
| Method | Path | Summary |
|---|---|---|
| PUT | /v2/collection/payment/withdraw | Enables merchants to initiate a withdrawal (cash-out) request from a consumer (payer) via the MTN MoMo platform. The payer must authorize the withdrawal before the transaction is executed. |
| POST | /v1/collection/preapproval | Creates a new pre-approval for future payment transactions. |
| POST | /v1/collection/payment | Enables merchants to initiate payment requests through the MTN MoMo partner gateway. |
| POST | /v1/collection/payment/{referenceId}/notification | Enables merchants to send a delivery notification to an end user regarding a payment request via the MTN MoMo platform. |
| POST | /v1/collection/payment/withdraw | Enables merchants to initiate a withdrawal (cash-out) request from a consumer (payer) via the MTN MoMo platform. The payer must authorize the withdrawal before the transaction is executed. |
| POST | /v1/collection/payment/request | Enables merchants to request a payment from a consumer (payer) via the MTN MoMo platform. The payer must authorize the payment, after which the transaction is executed. The payment request remains pending until authorized, declined, or timed out. Transaction status can be checked using the GET /requesttopay/{resourceId} endpoint. |
| POST | /v1/collection/invoice | Creates a new invoice for a payer to settle at a later time via any supported payment channel. |
| POST | /v1/collection/auth/oauth2/token | Claim consent for requested Collection scopes |
| POST | /v1/collection/auth/oauth/token | Obtain OAuth access token for Collection API |
| POST | /v1/collection/auth/authorize | This operation is used to claim a consent by the account holder for the requested scopes. |
| GET | /v1/collection/preapproval/{referenceId}/status | Retrieves the status of a pre-approval request using the provided X-Reference-Id. |
| GET | /v1/collection/payment/{X-Reference-Id}/status | Retrieves the status of a specific invoice using its X-Reference-Id. |
| GET | /v1/collection/payment/withdraw/{referenceId}/status | Retrieves the current status of a previously initiated withdrawal (cash-out) request using the provided reference ID. |
| GET | /v1/collection/payment/request/{referenceId}/status | Retrieves the current status of a previously initiated payment request using the provided reference ID. |
| GET | /v1/collection/invoice/{X-Reference-Id}/status | Retrieves the status of a specific invoice using its X-Reference-Id. |
| GET | /v1/collection/account/{currency}/balance | Retrieves the balance of the authenticated MTN MoMo collection account in a specified currency. |
| GET | /v1/collection/account/{accountHolderIdType}/{accountHolderId}/userinfo | Retrieves basic personal information of a specified MTN MoMo account holder without requiring their explicit consent. |
| GET | /v1/collection/account/{accountHolderIdType}/{accountHolderId}/status | Checks if a specified account holder is registered and active in the MTN MoMo system. |
| GET | /v1/collection/account/{accountHolderIdType}/{accountHolderId}/preapprovals | Retrieves the balance of the authenticated MTN MoMo collection account in a specified currency. |
| GET | /v1/collection/account/consent/userinfo | Claims user consent for specified scopes on the MTN MoMo collection account. |
| GET | /v1/collection/account/balance | Retrieves the current balance of the authenticated MTN MoMo collection account. |
| DELETE | /v1/collection/preapproval/{preApprovalId}/cancel | Cancels a pre-approval in approved state for which the requesting Account Holder is the payee. |
| DELETE | /v1/collection/invoice/{referenceId}/cancel | Cancels an existing invoice using its ReferenceId. |
Payment Links
Create and manage shareable payment links
6 endpoints
| Method | Path | Summary |
|---|---|---|
| PUT | /v1/merchants/me/payment-links/{id} | Update payment link |
| DELETE | /v1/merchants/me/payment-links/{id} | Deactivate payment link |
| POST | /v1/payment-links/{shortCode}/checkout | Checkout via payment link (public) |
| GET | /v1/merchants/me/payment-links | List payment links |
| POST | /v1/merchants/me/payment-links | Create payment link |
| GET | /v1/payment-links/{shortCode} | Get payment link details (public) |
Exchange Rates
FX rates and fee calculations for send money flow
1 endpoint
| Method | Path | Summary |
|---|---|---|
| GET | /v1/exchange-rates | Get exchange rate and fee |
Analytics
Merchant analytics and reporting
1 endpoint
| Method | Path | Summary |
|---|---|---|
| GET | /v1/merchants/me/analytics | Get merchant analytics |
User Profile
Manage the authenticated user's profile
3 endpoints
| Method | Path | Summary |
|---|---|---|
| POST | /v1/users/me/logout-all | Sign out all devices |
| GET | /v1/users/me | Get current user profile |
| PATCH | /v1/users/me | Update current user profile |
Payment Methods
Manage saved payment methods for Stripe
5 endpoints
| Method | Path | Summary |
|---|---|---|
| PUT | /v1/payment-methods/default | Set default payment method |
| POST | /v1/payment-methods/sync | Sync payment methods |
| POST | /v1/payment-methods/setup-intent | Create setup intent |
| GET | /v1/payment-methods | List payment methods |
| DELETE | /v1/payment-methods/{paymentMethodId} | Remove payment method |
Disbursement - MTN Mobile Money (MoMo) API
APIs for initiating, authorizing, and managing MTN MoMo disbursement transactions to multiple recipients.
16 endpoints
| Method | Path | Summary |
|---|---|---|
| PUT | /v2/disbursement/deposit | Initiates a deposit from the owner’s account to a payee’s account using MTN MoMo. |
| POST | /v2/disbursement/refund | Initiates a refund for a previously completed disbursement transaction using the MTN MoMo API.Status of the transaction can be validated by using the GET /deposit/{referenceId} |
| POST | /v1/disbursement/transfer | Initiates a transfer from the application's account to a specified payee account. |
| POST | /v1/disbursement/refund | Initiates a refund for a previously completed disbursement transaction using the MTN MoMo API.Status of the transaction can be validated by using the GET /deposit/{referenceId} |
| POST | /v1/disbursement/refund/{referenceId}/status | Retrieves the status of a refund transaction using the provided X-Reference-Id. |
| POST | /v1/disbursement/deposit | Initiates a deposit from the owner’s account to a payee’s account using MTN MoMo. |
| POST | /v1/disbursement/deposit/{referenceId}/status | Initiates a deposit from the owner’s account to a payee’s account using MTN MoMo. |
| POST | /v1/disbursement/auth/oauth2/token | Claim consent for requested disbursement scopes |
| POST | /v1/disbursement/auth/oauth/token | Obtain OAuth access token for disbursement API |
| POST | /v1/disbursement/auth/authorize | Initiate consent authorization for disbursement |
| POST | /v1/disbursement/account/consent/userinfo | Claims consent from the disbursement account holder for the requested scopes. |
| GET | /v1/disbursement/transfer/{referenceId}/status | Transfers funds from the owner’s account to a payee’s account using the MTN MoMo Remittance API. |
| GET | /v1/disbursement/account/{currency}/balance | Retrieves the balance of the authenticated MTN MoMo disbursement account in a specified currency. |
| GET | /v1/disbursement/account/{accountHolderIdType}/{accountHolderId}/userinfo | Retrieves basic personal information of a specified MTN MoMo account holder without requiring their explicit consent. |
| GET | /v1/disbursement/account/{accountHolderIdType}/{accountHolderId}/status | Checks if a specified account holder is registered and active in the MTN MoMo system. |
| GET | /v1/disbursement/account/balance | Retrieves the current balance of the authenticated MTN MoMo disbursement account. |
Authentication
The Danipa API supports two authentication schemes depending on the endpoint.
Bearer JWT
Most API endpoints require a JWT Bearer token. Obtain a token by calling the authentication endpoint with your credentials. Include it in the Authorization header.
Authorization: Bearer eyJhbGciOi...
Basic Auth
Token-creation endpoints (e.g., MTN MoMo OAuth) use HTTP Basic authentication. Provide your API User ID as the username and your API Key as the password, Base64-encoded.
Authorization: Basic base64(userId:apiKey)
Schemas
106 data models defined in the OpenAPI specification. Download the full spec for complete schema definitions including properties, types, and validation rules.
View all 106 models
Full OpenAPI Specification
Download the complete OpenAPI 3.1.0 spec for use with Swagger UI, Postman, or code generators.