# XtraKit API Documentation

## XtraKit Docs

- [Introduction](https://docs.xtrakit.com/introduction.md): How to connect our API into your application.
- [Sales](https://docs.xtrakit.com/overview/sales.md): XtraKit's Sales API allows you to programmatically handle sales data. Sales management may be easily integrated into your applications by using it to retrieve, add, change, or manage sales.
- [List Sales](https://docs.xtrakit.com/overview/sales/list-sales.md): A list of all sales may be obtained using this endpoint. For emphasis on specific results, you can add filters based on date, status, customer, and other variables.
- [Fetch Sale](https://docs.xtrakit.com/overview/sales/fetch-sale.md): Retrieve a single invoice using this endpoint. By passing the invoice\_code to the endpoint.
- [Add Sale](https://docs.xtrakit.com/overview/sales/add-sale.md): Adding new sales may be obtained using this endpoint. For emphasis on specific results, you can add the following parameters when creating new sales.
- [Edit Sale](https://docs.xtrakit.com/overview/sales/edit-sale.md): Updates an existing sale record . This endpoint allows modification of any of the sales details, including customer id , invoice code , invoice number , total amount   and other variables.
- [Expenses](https://docs.xtrakit.com/overview/expenses.md): XtraKit's Expense API allows you to programmatically handle expenses data. Expense management may be easily integrated into your applications by using it to retrieve, add, change, or manage expenses.
- [List Expenses](https://docs.xtrakit.com/overview/expenses/list-expenses.md): A list of all expenses may be obtained using this endpoint. For emphasis on specific results, you can add filters based on business code, expense type,  and other variables.
- [Fetch Expense](https://docs.xtrakit.com/overview/expenses/fetch-expense.md): Retrieves detailed information about a specific expense identified by its unique ID. This endpoint is useful for viewing or verifying details of a particular expense record.
- [Add Expense](https://docs.xtrakit.com/overview/expenses/add-expense.md): Adding new expenses may be obtained using this endpoint. For emphasis on specific results, you can add the following parameters when creating new expenses.
- [Edit Expense](https://docs.xtrakit.com/overview/expenses/edit-expense.md): Updates an existing expense record identified by its unique ID. This endpoint allows modification of any of the expense details, including expense type, description, and image URL.
- [Inventory](https://docs.xtrakit.com/overview/inventory.md): XtraKit's Inventory API allows you to programmatically handle items data. Items management may be easily integrated into your applications by using it to retrieve, add, change, or manage items.
- [List Items](https://docs.xtrakit.com/overview/inventory/list-items.md): A list of all items available in the inventory may be obtained using this endpoint. For emphasis on specific results, you can add filters based on user, business, or category.
- [List Item Categories](https://docs.xtrakit.com/overview/inventory/list-item-categories.md): This endpoint allows you to obtain a list of all item categories available in the inventory. To emphasise specific results, you can add filters based on category name.
- [Fetch Item](https://docs.xtrakit.com/overview/inventory/fetch-item.md): Retrieves the full details of a specific item based on the item's unique ID(item\_code). This is useful when you need in-depth information on a particular item, including its name, category and others.
- [Add Item](https://docs.xtrakit.com/overview/inventory/add-item.md): Allows you to add a new item to the inventory. This endpoint is used when introducing new products to your stock. You’ll need to provide essential details such as the item name, price and others.
- [Edit Item](https://docs.xtrakit.com/overview/inventory/edit-item.md): Updates the details of an existing item in the inventory. This endpoint is used to modify any of the item’s attributes such as item name, price, quantity, or description.
- [Storefront](https://docs.xtrakit.com/overview/storefront.md): XtraKit's Storefront API allows you to programmatically handle stores data. Stores management may be easily integrated into your applications by using it to retrieve, add, change, or manage stores.
- [Create Store](https://docs.xtrakit.com/overview/storefront/create-store.md): Allows you to add a new store record using this endpoint. This endpoint is used when introducing new stores.
- [Fetch Store Orders](https://docs.xtrakit.com/overview/storefront/fetch-store-orders.md): Retrieve a specific store using the store id. To retrieve complete store details, use this endpoint. For emphasis on specific results, you can add filters based on other variables.
- [Edit Store](https://docs.xtrakit.com/overview/storefront/edit-store.md): Modify an existing store's information using this endpoint. For emphasis on specific results, you can add filters based on  other variables.
- [Customers](https://docs.xtrakit.com/overview/customers.md): XtraKit's Customer API allows you to programmatically handle customers data. Customers management may be easily integrated into your applications by using it to retrieve, add, or manage customers.
- [List Customers](https://docs.xtrakit.com/overview/customers/list-customers.md): A list of all customers may be obtained using this endpoint. For emphasis on specific results, you can add filters based on customer's group id and other variables.
- [Fetch Customer](https://docs.xtrakit.com/overview/customers/fetch-customer.md): Retrieves detailed information for a specific customer based on the customer ID provided in the request URL. This is useful when you need in-depth information on a particular customer.
- [Fetch Customer Group](https://docs.xtrakit.com/overview/customers/fetch-customer-group.md): Retrieves detailed information about a specific customer group by ID. This can be useful for viewing the details of an existing customer group.
- [List Customer Group](https://docs.xtrakit.com/overview/customers/list-customer-group.md): A list of all customer groups may be obtained using this endpoint. For emphasis on specific results, you can add filters based on business code, date created and other variables.
- [Add Customer](https://docs.xtrakit.com/overview/customers/add-customer.md): This endpoint allows you to add a new customer to the system. You can store customer details like name, email, phone, address, and other relevant information.
- [Add Customer Group](https://docs.xtrakit.com/overview/customers/add-customer-group.md): Creates a new customer group to categorize customers based on certain criteria. Each customer group will have a name and description.
- [Edit Customer](https://docs.xtrakit.com/overview/customers/edit-customer.md): Updates the information of an existing customer. You can modify various fields such as customer details, addresses, and status.
- [Edit Customer Group](https://docs.xtrakit.com/overview/customers/edit-customer-group.md): Updates the information of an existing customer group, allowing changes to the name, description, and other fields.
- [Payments](https://docs.xtrakit.com/overview/payments.md): Welcome to the XtraPay Mobile Money Payment API documentation.  The XtraPay API enables developers and businesses to seamlessly accept and verify Mobile Money payments within their websites and apps.
- [Fetch Payment Methods](https://docs.xtrakit.com/overview/payments/fetch-payment-methods.md): This endpoint fetches the available payment methods supported by XtraPay based on the currency
- [Pay with MoMo](https://docs.xtrakit.com/overview/payments/pay-with-momo.md): Allow users to make payments using MTN Ghana Momo, AirtelTigo and Vodafone (Telecel)
- [Send MoMo OTP](https://docs.xtrakit.com/overview/payments/send-momo-otp.md): Generate OTP when provided with the MOMO contact.
- [Query Transaction Status](https://docs.xtrakit.com/overview/payments/query-transaction-status.md): Query the status of specific transactions.
- [Get Wallets](https://docs.xtrakit.com/overview/payments/get-wallets.md): This api retrieves all wallets belonging to a business account
- [Payout](https://docs.xtrakit.com/overview/payments/payout.md): Steps to follow before using this payout API.
- [Payout Methods](https://docs.xtrakit.com/overview/payments/payout/payout-methods.md): List payout channel for specified provider and currency.
- [Account Validation](https://docs.xtrakit.com/overview/payments/payout/account-validation.md): Validates Mobile Money numbers and bank account details, returning the registered account holder's name before a transaction is initiated.
- [Initiate Payout](https://docs.xtrakit.com/overview/payments/payout/initiate-payout.md): This endpoint performs the following actions:
- [Execute Payout Transaction](https://docs.xtrakit.com/overview/payments/payout/execute-payout-transaction.md): Executes previous initiate transaction  This endpoint completes the payout to the specified accountId provided in the initiate endpoint.
- [Query Transaction](https://docs.xtrakit.com/overview/payments/payout/query-transaction.md): Get transaction status.
- [Webhook](https://docs.xtrakit.com/overview/payments/webhook.md): This is the request we make to the callback URL you have sent on the merchant dashboard
- [Status Codes](https://docs.xtrakit.com/overview/payments/status-codes.md): Our custom status codes guidelines
