# Kotani Pay - [Kotani Pay API v3](https://documentation.kotanipay.com/v3/overview.md): Digital asset transactions using local payment channels - [Quickstart](https://documentation.kotanipay.com/v3/quickstart.md): Get started with Kotani Pay API v3 in minutes - [Accessing the Dashboard](https://documentation.kotanipay.com/v3/getting-started/dashboard-login.md): How to log in to the Kotani Pay dashboard, reset your password via OTP, and navigate the interface - [API Keys](https://documentation.kotanipay.com/v3/getting-started/api-keys.md): How to generate API keys from the dashboard or via the API, and the two key types - [Sandbox Scenarios](https://documentation.kotanipay.com/v3/testing/sandbox-scenarios.md): Reserved numbers that drive a sandbox transaction or validation to a specific outcome, every time. - [Development Guide](https://documentation.kotanipay.com/v3/development.md): Environments, authentication, request structure, and error handling for the Kotani Pay API v3 - [Transaction Statuses](https://documentation.kotanipay.com/v3/essentials/transaction-statuses.md): Understand all transaction status codes used across Kotani Pay API endpoints - [Fees & Billing](https://documentation.kotanipay.com/v3/essentials/billing-types.md): Who pays the transaction fee, and which amount it comes out of. - [Balances & Settlement](https://documentation.kotanipay.com/v3/essentials/balances-and-settlement.md): How deposit and payout balances work, how to move funds between them, and how to settle your earnings - [Account Validation](https://documentation.kotanipay.com/v3/essentials/account-validation.md): Check a recipient exists — and that it belongs to who you think — before you send them money. - [Error Handling](https://documentation.kotanipay.com/v3/essentials/error-handling.md): HTTP status codes and error response format for the Kotani Pay API - [Webhook Notifications](https://documentation.kotanipay.com/v3/essentials/webhooks.md): Receive real-time notifications about transaction status updates and other events. - [Request Signing](https://documentation.kotanipay.com/v3/essentials/request-signing.md): Protect outbound API requests with HMAC-SHA256 signatures when secure mode is enabled on your account. - [API Flows at a Glance](https://documentation.kotanipay.com/v3/flows/api-flows.md): Numbered sequence diagrams for every Kotani Pay API product — auth, customers, onramp, offramp, deposits, withdrawals, payment links, settlements, and bulk payments - [Deposit Flow](https://documentation.kotanipay.com/v3/flows/deposit-flow.md): How to collect payments from customers via mobile money, bank checkout, or card - [Withdrawal Flow](https://documentation.kotanipay.com/v3/flows/withdrawal-flow.md): How to disburse funds to customers via mobile money or bank transfer - [Onramp Flow (Fiat → Crypto)](https://documentation.kotanipay.com/v3/flows/onramp-flow.md): How to convert fiat to crypto — customer pays via mobile money or bank, Kotani Pay sends crypto to their wallet - [Offramp Flow (Crypto → Fiat)](https://documentation.kotanipay.com/v3/flows/offramp-flow.md): How to convert crypto to fiat — customer sends crypto, Kotani Pay disburses fiat via mobile money or bank - [Offramp Refunds](https://documentation.kotanipay.com/v3/essentials/offramp-refunds.md): How Kotani Pay returns crypto to integrators when a fiat disbursement fails after on-chain receipt. - [Payment Links](https://documentation.kotanipay.com/v3/essentials/payment-links.md): Create a hosted payment page and collect payments via mobile money, bank, card, or crypto. - [Bulk Payments Flow](https://documentation.kotanipay.com/v3/flows/bulk-payments-flow.md): How to disburse funds to many recipients at once — validate a CSV, assign wallets, and track batch processing - [Settlement Request](https://documentation.kotanipay.com/v3/flows/settlement-flow.md): Settlement lifecycle, batch and merge flows, webhook events, and schedule rules - [API Reference](https://documentation.kotanipay.com/v3/api-reference/introduction.md): Kotani Pay API endpoints for digital asset transactions using local payment channels - [Health Check](https://documentation.kotanipay.com/v3/api-reference/system/health.md): This endpoint is used to check for the health of the application - [Payment Providers](https://documentation.kotanipay.com/v3/api-reference/system/providers.md): This Api Handles fetching of payment providers - [Authentication Login](https://documentation.kotanipay.com/v3/api-reference/authentication/login.md): Login to your integrator account. This endpoint allows you to login to your account - [Generate API Key](https://documentation.kotanipay.com/v3/api-reference/authentication/generate-key.md): This endpoint is used to generate an the API Key which can be used to authorize transactions and more - [Refresh Access Token](https://documentation.kotanipay.com/v3/api-reference/authentication/refresh-token.md): This endpoint is used to refresh the access token using a valid refresh token - [Human Verification](https://documentation.kotanipay.com/v3/api-reference/authentication/human-verify.md): Complete human verification for potentially scanner-detected magic link requests. This step ensures the request is from a real user. - [Get Integrator](https://documentation.kotanipay.com/v3/api-reference/integrator/get.md): This endpoint is used to retrieve an integrator details - [Update Webhook Configuration](https://documentation.kotanipay.com/v3/api-reference/integrator/update-webhook.md): Allows an integrator to update their default webhook URL, secret, and event subscriptions. - [Create Fiat Wallet](https://documentation.kotanipay.com/v3/api-reference/wallets/fiat/create.md): This endpoint will create a fiat wallet for the integrator. - [List Fiat Wallets](https://documentation.kotanipay.com/v3/api-reference/wallets/fiat/list.md): This endpoint will return all the fiat wallets created by the integrator. - [Get Fiat Wallet](https://documentation.kotanipay.com/v3/api-reference/wallets/fiat/get.md): This endpoint will return the fiat wallet created by the integrator. - [Get Wallet by Currency](https://documentation.kotanipay.com/v3/api-reference/wallets/fiat/get-by-currency.md): This endpoint will return the fiat wallet created by the integrator. Optionally filter by country using the "country" query parameter. - [Update Fiat Wallet](https://documentation.kotanipay.com/v3/api-reference/wallets/fiat/update.md): This endpoint will update the fiat wallet created by the integrator. - [Transfer Deposit Balance](https://documentation.kotanipay.com/v3/api-reference/wallets/fiat/transfer-deposit-balance.md): This endpoint will transfer the deposit balance of the fiat wallet to the main balance. - [Create Crypto Wallet](https://documentation.kotanipay.com/v3/api-reference/wallets/crypto/create.md): The crypto wallet will contain the specified chain and coins an integrator desires to hold and one can create as many wallets as needed. - [List Crypto Wallets](https://documentation.kotanipay.com/v3/api-reference/wallets/crypto/list.md): This endpoint will return all the crypto wallets created by the integrator. - [Get Crypto Wallet](https://documentation.kotanipay.com/v3/api-reference/wallets/crypto/get.md): This endpoint will return the crypto wallet created by the integrator by passing the wallet id. - [Create Mobile Money Customer](https://documentation.kotanipay.com/v3/api-reference/customers/mobile-money/create.md): An integrator can use this endpoint to create the customers who will be either receiving or sending money using mobile money. - [List Mobile Money Customers](https://documentation.kotanipay.com/v3/api-reference/customers/mobile-money/list.md): An integrator can use this endpoint to get all the customers who will be either receiving or sending money using mobile money. - [Get Mobile Money Customer](https://documentation.kotanipay.com/v3/api-reference/customers/mobile-money/get.md): An integrator can use this endpoint to get the customer who will be either receiving or sending money using mobile money by passing customer key. - [Get Customer by Phone](https://documentation.kotanipay.com/v3/api-reference/customers/mobile-money/get-by-phone.md): An integrator can use this endpoint to get the customer who will be either receiving or sending money using mobile money by passing phone number. - [Update Mobile Money Customer](https://documentation.kotanipay.com/v3/api-reference/customers/mobile-money/update.md): An integrator can use this endpoint to update the customers who will be either receiving or sending money using mobile money. - [Validate Mobile Money Account](https://documentation.kotanipay.com/v3/api-reference/customers/validate-mobile-money.md): Validates a phone number in any format (with or without country code). Returns validation status, country information, formatted number, and whether the country is supported for mobile money. - [Validate Bank Account](https://documentation.kotanipay.com/v3/api-reference/customers/validate-bank.md): Validates a bank account number format for a given country and bank code. Returns validation status, bank information, and whether the country is supported. - [Deposit via Mobile Money](https://documentation.kotanipay.com/v3/api-reference/deposits/mobile-money.md): An integrator’s customers can initiate a deposit from their respective mobile money wallets. An STK push will be sent to the customer and the respective amount will be deducted from their mobile money wallets and deposited into the integrator’s fiat wallet - [Get Deposit Mobile Money Status](https://documentation.kotanipay.com/v3/api-reference/deposits/mobile-money-status.md): An integrator can use this endpoint to check the status of a deposit - [List Deposit Transactions](https://documentation.kotanipay.com/v3/api-reference/deposits/list-transactions.md): Returns a paginated list of the integrator's deposit transactions. Supports filtering by status, date range, telco ID, and currency. - [Mobile Money Withdrawal](https://documentation.kotanipay.com/v3/api-reference/withdrawals/mobile-money.md): This api will withdraw fiat from the integrator’s fiat wallet to the customer’s mobile money wallet. - [Mobile Money Withdrawal Status](https://documentation.kotanipay.com/v3/api-reference/withdrawals/mobile-money-status.md): This endpoint will return the status of the withdrawal request. - [List Withdrawal Transactions](https://documentation.kotanipay.com/v3/api-reference/withdrawals/list-transactions.md): Returns a paginated list of the integrator's withdrawal transactions. Supports filtering by status, date range, telco ID, and currency. - [Send SMS](https://documentation.kotanipay.com/v3/api-reference/sms/send.md): Send a standard SMS message - [Register SMS Webhook](https://documentation.kotanipay.com/v3/api-reference/sms/register-webhook.md): Register a webhook client to receive SMS notifications - [Incoming SMS Webhook](https://documentation.kotanipay.com/v3/api-reference/sms/incoming.md): Webhook endpoint for AfricasTalking incoming SMS messages. - [Card Deposit](https://documentation.kotanipay.com/v3/api-reference/deposits/card.md): Customer Completed transaction using Checkout Url - [Card Deposit Status](https://documentation.kotanipay.com/v3/api-reference/deposits/card-status.md): An integrator can use this endpoint to check the status of a deposit - [Bank Checkout Deposit](https://documentation.kotanipay.com/v3/api-reference/deposits/bank-checkout.md): Customer Completed transaction using Checkout Url - [Bank Checkout Deposit Status](https://documentation.kotanipay.com/v3/api-reference/deposits/bank-checkout-status.md): An integrator can use this endpoint to check the status of a deposit - [Supporting Banks](https://documentation.kotanipay.com/v3/api-reference/withdrawals/supporting-banks.md): This Api Handles fetching of supporting banks - [Bank Withdrawal](https://documentation.kotanipay.com/v3/api-reference/withdrawals/bank-v2.md): This Api Handles payout to bank, currently only supports SA Banks - [Bank Withdrawal Status](https://documentation.kotanipay.com/v3/api-reference/withdrawals/bank-status.md): This Api Handles payout to bank, currently only supports SA Banks - [Lipa na M-Pesa Withdrawal](https://documentation.kotanipay.com/v3/api-reference/withdrawals/lipa-na-mpesa.md): Send money from integrator wallet to customer via Lipa na M-Pesa STK Push or to a business shortcode. - [Paybill Withdrawal](https://documentation.kotanipay.com/v3/api-reference/withdrawals/paybill.md): Send money from integrator wallet to a Paybill number with account reference. - [Get Supported Countries](https://documentation.kotanipay.com/v3/api-reference/country-support/countries.md): Returns a list of all supported countries with their configurations. Supports filtering by service type, currency, country code, and active status. Data is aggregated from the Provider Registry for real-time accuracy. The isEnabled flag indicates whether the authenticated integrator has this service… - [Get Country Details](https://documentation.kotanipay.com/v3/api-reference/country-support/country-details.md): Returns comprehensive details about a specific country including supported currencies, networks, and service availability. The isEnabled flag indicates whether the authenticated integrator has each service enabled and providers attached. - [Get Available Networks](https://documentation.kotanipay.com/v3/api-reference/country-support/networks.md): Returns all active mobile money networks available in a specific country, aggregated from all providers. Indicates if network selection is required. - [Get Available Banks](https://documentation.kotanipay.com/v3/api-reference/country-support/banks.md): Returns a list of all supported banks with optional filtering by currency or search term. Banks are sourced from the centralized bank data registry. - [Get Deposit Service Configuration](https://documentation.kotanipay.com/v3/api-reference/country-support/deposit-services.md): Returns all countries that support deposit (onramp) services with their configurations. - [Get Withdraw Service Configuration](https://documentation.kotanipay.com/v3/api-reference/country-support/withdraw-services.md): Returns all countries that support withdraw (offramp) services with their configurations. - [Get All Exchange Rates](https://documentation.kotanipay.com/v3/api-reference/rates/get-all-rates.md): An integrator can use this endpoint to get all the exchange rates available - [Get Exchange Rate](https://documentation.kotanipay.com/v3/api-reference/rates/get-rate.md): An integrator can use this endpoint to get the exchange rate between two currencies - [Get All Public Exchange Rates](https://documentation.kotanipay.com/v3/api-reference/rates/get-all-public-rates.md): Public endpoint for getting all available exchange rates. Useful for dropdown displays or rate comparison. - [Get Public Exchange Rate](https://documentation.kotanipay.com/v3/api-reference/rates/get-public-rate.md): Public endpoint for getting exchange rates between two currencies. Used for payment link checkout currency conversion display. - [Get Onramp Exchange Rate](https://documentation.kotanipay.com/v3/api-reference/rates/onramp-rate.md): An integrator can use this endpoint to get the exchange rate between two currencies - [Get Offramp Exchange Rate](https://documentation.kotanipay.com/v3/api-reference/rates/offramp-rate.md): An integrator can use this endpoint to get the exchange rate between two currencies - [Get Fiat to Fiat Exchange Rate](https://documentation.kotanipay.com/v3/api-reference/rates/fiat-to-fiat.md): An integrator can use this endpoint to get the exchange rate between two fiat currencies - [Get Crypto Bridge Rate](https://documentation.kotanipay.com/v3/api-reference/rates/crypto-bridge-rate.md): Get a rate quote for crypto bridge transactions (fiat to crypto conversion). This endpoint generates a rate_id that must be used in the crypto bridge deposit request. Rate is valid for 60 seconds and can only be used once. Currently supports: KES -> Lightning (MSAT) - [Create Onramp](https://documentation.kotanipay.com/v3/api-reference/onramp/create.md): You can create an onramp request with either mobile money or bank checkout - [Get Onramp Status](https://documentation.kotanipay.com/v3/api-reference/onramp/status.md): This endpoint will be used to get the status of the transaction - [Get Onramp Status (by Reference ID)](https://documentation.kotanipay.com/v3/api-reference/onramp/get-status.md): This endpoint will be used to get the status of the transaction - [Get Onramp Transactions](https://documentation.kotanipay.com/v3/api-reference/onramp/list-transactions.md): This endpoint will return all onramp transactions for the integrator. - [Send Token to Crypto Wallet](https://documentation.kotanipay.com/v3/api-reference/onramp/crypto.md): Retry multiple failed crypto refunds by providing an array of reference IDs. Gas/fund errors can be retried up to 10 times, other errors up to 4 times. Refunds marked for manual intervention will be skipped. - [Get Crypto Onramp Status](https://documentation.kotanipay.com/v3/api-reference/onramp/crypto-status.md): This endpoint will be used to get the status of the transaction - [Get Crypto Onramp Status (by Reference ID)](https://documentation.kotanipay.com/v3/api-reference/onramp/get-crypto-status.md): This endpoint will be used to get the status of the transaction - [Create Offramp Request](https://documentation.kotanipay.com/v3/api-reference/offramp/create.md): This endpoint will create a offramp request for a customer. If the fiat transfer fails after successful crypto receipt, an automatic refund will be initiated after 5 minutes. Use the refund-status endpoint to check refund status. - [Get Offramp Status](https://documentation.kotanipay.com/v3/api-reference/offramp/status.md): This endpoint will return the status of the withdrawal request. - [Get Offramp Status (by Reference ID)](https://documentation.kotanipay.com/v3/api-reference/offramp/get-status.md): This endpoint will return the status of the withdrawal request. - [Cancel Offramp Transaction](https://documentation.kotanipay.com/v3/api-reference/offramp/cancel.md): This endpoint will cancel the offramp transaction. - [Get Offramp Transactions](https://documentation.kotanipay.com/v3/api-reference/offramp/list-transactions.md): This endpoint will return all offramp transactions for the integrator. - [Get Refund Status](https://documentation.kotanipay.com/v3/api-reference/offramp/refund-status.md): Get the status of an onchain refund. Refunds are automatically initiated 5 minutes after a failed transaction if the crypto was successfully received but fiat transfer failed. - [Retry Failed Refund](https://documentation.kotanipay.com/v3/api-reference/offramp/retry-refund.md): Retry a failed crypto refund for an offramp transaction. Gas/fund errors can be retried up to 10 times, other errors up to 4 times. Refunds marked for manual intervention cannot be retried through this endpoint. - [Deposit On-Chain (Receive Crypto)](https://documentation.kotanipay.com/v3/api-reference/deposits/deposit-on-chain.md) - [Get Deposit On-Chain Status](https://documentation.kotanipay.com/v3/api-reference/deposits/deposit-on-chain-status.md) - [Get Supported Chains & Tokens](https://documentation.kotanipay.com/v3/api-reference/deposits/deposit-on-chain-supported-chains.md) - [Dashboard Settlements](https://documentation.kotanipay.com/v3/api-reference/settlements/dashboard-settlements.md): API reference for settlement requests, batch settlements, merging, beneficiaries, and notification preferences - [Request Settlement](https://documentation.kotanipay.com/v3/api-reference/settlements/request-settlement.md) - [List Settlements](https://documentation.kotanipay.com/v3/api-reference/settlements/list-settlements.md) - [Get Settlement](https://documentation.kotanipay.com/v3/api-reference/settlements/get-settlement.md) - [Cancel Settlement](https://documentation.kotanipay.com/v3/api-reference/settlements/cancel.md) - [Settlement Fee Preview](https://documentation.kotanipay.com/v3/api-reference/settlements/fee-preview.md) - [Settlement Schedule](https://documentation.kotanipay.com/v3/api-reference/settlements/schedule.md) - [Update Notification Preferences](https://documentation.kotanipay.com/v3/api-reference/settlements/notification-preferences.md) - [Merge Settlements into Batch](https://documentation.kotanipay.com/v3/api-reference/settlements/merge.md) - [Create Batch Settlement](https://documentation.kotanipay.com/v3/api-reference/settlements/batch/create.md) - [List Settlement Batches](https://documentation.kotanipay.com/v3/api-reference/settlements/batch/list.md) - [Get Settlement Batch](https://documentation.kotanipay.com/v3/api-reference/settlements/batch/get.md) - [Cancel Settlement Batch](https://documentation.kotanipay.com/v3/api-reference/settlements/batch/cancel.md) - [Get Settlement Config](https://documentation.kotanipay.com/v3/api-reference/settlements/settlement-config.md) - [Update Settlement Config](https://documentation.kotanipay.com/v3/api-reference/settlements/update-settlement-config.md) - [List Settlement Beneficiaries](https://documentation.kotanipay.com/v3/api-reference/settlements/settlement-config/beneficiaries.md) - [Create Settlement Beneficiary](https://documentation.kotanipay.com/v3/api-reference/settlements/settlement-config/create-beneficiary.md) - [Update Settlement Beneficiary](https://documentation.kotanipay.com/v3/api-reference/settlements/settlement-config/get-beneficiary.md) - [Delete Settlement Beneficiary](https://documentation.kotanipay.com/v3/api-reference/settlements/settlement-config/delete-beneficiary.md) - [Generate Invoice](https://documentation.kotanipay.com/v3/api-reference/cross-border/generate-invoice.md): Generate Invoice - [Get Invoice](https://documentation.kotanipay.com/v3/api-reference/cross-border/get-invoice.md): Get Invoice - [Pay Invoice](https://documentation.kotanipay.com/v3/api-reference/cross-border/pay-invoice.md): Pay Invoice - [Get Paid Invoice Status](https://documentation.kotanipay.com/v3/api-reference/cross-border/pay-invoice-status.md): Get Paid Invoice Status - [Create KYC Basic Details](https://documentation.kotanipay.com/v3/api-reference/kyc/create-basic-details.md): This api will create a new kyc basic details - [Create KYC Address](https://documentation.kotanipay.com/v3/api-reference/kyc/create-address.md): This api will create a new kyc address - [Create KYC Document](https://documentation.kotanipay.com/v3/api-reference/kyc/create-document.md): This api will create a new kyc document - [Get KYC Status](https://documentation.kotanipay.com/v3/api-reference/kyc/get-status.md): This api will get kyc status - [Get Integrator KYC Users](https://documentation.kotanipay.com/v3/api-reference/kyc/list-integrator-users.md): This api will get all integrator kyc users - [Create Payment Link](https://documentation.kotanipay.com/v3/api-reference/payment-links/create.md): Creates a new payment link that can be shared with a customer to collect payment. - [List Payment Links](https://documentation.kotanipay.com/v3/api-reference/payment-links/list.md) - [Get Payment Link](https://documentation.kotanipay.com/v3/api-reference/payment-links/get.md) - [Update Payment Link](https://documentation.kotanipay.com/v3/api-reference/payment-links/update.md): type and usageType cannot be changed after creation. - [Activate Payment Link](https://documentation.kotanipay.com/v3/api-reference/payment-links/activate.md) - [Deactivate Payment Link](https://documentation.kotanipay.com/v3/api-reference/payment-links/deactivate.md) - [Get Payment Link Transactions](https://documentation.kotanipay.com/v3/api-reference/payment-links/list-transactions.md) - [Get Available Wallets](https://documentation.kotanipay.com/v3/api-reference/bulk-payments/get-wallets.md) - [Validate CSV File](https://documentation.kotanipay.com/v3/api-reference/bulk-payments/validate-csv.md) - [Preview Bulk Payment Batches](https://documentation.kotanipay.com/v3/api-reference/bulk-payments/preview-batches.md) - [Create Bulk Payment Batches](https://documentation.kotanipay.com/v3/api-reference/bulk-payments/create-batches.md) - [Get Bulk Payment Batches](https://documentation.kotanipay.com/v3/api-reference/bulk-payments/list-batches.md) - [Get Bulk Payment Batch by ID](https://documentation.kotanipay.com/v3/api-reference/bulk-payments/get-batch.md) - [Process Bulk Payment Batch](https://documentation.kotanipay.com/v3/api-reference/bulk-payments/process-batch.md) - [Get Batch Payments](https://documentation.kotanipay.com/v3/api-reference/bulk-payments/get-batch-payments.md) - [Get Paginated Transactions](https://documentation.kotanipay.com/v3/api-reference/bulk-payments/list-transactions.md) - [Get Transaction Details](https://documentation.kotanipay.com/v3/api-reference/bulk-payments/get-transaction.md) - [Get Bulk Payment Statistics](https://documentation.kotanipay.com/v3/api-reference/bulk-payments/get-statistics.md) ## OpenAPI Specs - [openapi](/v3/api-reference/openapi.json) This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.