> ## Documentation Index
> Fetch the complete documentation index at: https://developers.ligdicash.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Glossary

> Definitions of the technical and business terms used in the LigdiCash documentation.

This glossary lists the terms you'll come across in the LigdiCash documentation. Each definition links to the pages where the concept is detailed.

## A–C

<AccordionGroup>
  <Accordion title="Apikey">
    Identification key for your API project. It is sent in the `Apikey` header of every request. It identifies the project, not the user. Do not confuse with the `Auth Token`.

    See [Authentication](/en/concepts/authentication).
  </Accordion>

  <Accordion title="Auth Token (Bearer)">
    Authentication token for the merchant account. Sent in the `Authorization: Bearer {AUTH_TOKEN}` header. Paired with the `Apikey`, it forms the identification pair required on every endpoint.

    See [Authentication](/en/concepts/authentication).
  </Accordion>

  <Accordion title="Callback (webhook)">
    HTTP POST request sent automatically by LigdiCash to your server when a transaction changes status. LigdiCash sends **two requests** per event: one as `application/x-www-form-urlencoded` and one as `application/json`. Remember to deduplicate.

    See [Callback introduction](/en/payment-api/callback/introduction).
  </Accordion>

  <Accordion title="Checkout invoice">
    Payment invoice created on LigdiCash's side when a payin is initiated. Identified by a unique `token` and carries the transaction details (amount, operator, store, custom\_data). The term appears in the endpoints (`/checkout-invoice/create`, `/checkout-invoice/confirm`).
  </Accordion>

  <Accordion title="custom_data">
    Free-form metadata array you attach to a transaction at creation. It comes back unchanged in the callback, letting you look up your own order identifier. LigdiCash adds its own fields (`logfile`, `id_invoice`). Can appear in three shapes in the callback: populated array, `[]` (empty), or `""` (empty string).

    See [Parse custom\_data](/en/payment-api/callback/parse-custom-data).
  </Accordion>
</AccordionGroup>

## D–L

<AccordionGroup>
  <Accordion title="external_id">
    Field present in direct payin requests. In most cases it must stay empty (`""`). Not to be confused with `transaction_id` which you set inside `custom_data`.
  </Accordion>

  <Accordion title="Invoice">
    See **Checkout invoice**.
  </Accordion>

  <Accordion title="keyof_customdata / valueof_customdata">
    Shape of an entry in the `custom_data` array. Each entry is an object `{ keyof_customdata: "key", valueof_customdata: "value" }`. To recover your order identifier, filter on `keyof_customdata === "transaction_id"`.

    See [Parse custom\_data](/en/payment-api/callback/parse-custom-data).
  </Accordion>
</AccordionGroup>

## M–O

<AccordionGroup>
  <Accordion title="Merchant">
    Business or developer integrating the LigdiCash API to accept or send payments. Your merchant account is managed from the [LigdiCash Dashboard](https://client.ligdicash.com).
  </Accordion>

  <Accordion title="Mobile money">
    Mobile payment service offered by telecom operators (Orange Money, Moov Africa, MTN, Wave, etc.). LigdiCash is an aggregator: it abstracts every operator behind a single API.
  </Accordion>

  <Accordion title="operator_id">
    Numeric identifier returned by the API in responses and callbacks to designate the operator used (e.g. `11` for Orange Burkina). Useful for logging and reconciliation. Not sent in requests.

    See [Supported operators](/en/reference/supported-operators).
  </Accordion>

  <Accordion title="operator_name">
    Human-readable operator name returned by the API (e.g. `"ORANGE BURKINA"`). Always in uppercase in LigdiCash responses.

    See [Supported operators](/en/reference/supported-operators).
  </Accordion>

  <Accordion title="OTP (One-Time Password)">
    Single-use code authorizing a direct payin transaction. Depending on the operator, it is generated by the customer via USSD menu, sent by SMS, or replaced by direct approval in the mobile money app.

    See [Validation modes](/en/payment-api/direct-payin/validation-modes).
  </Accordion>
</AccordionGroup>

## P–R

<AccordionGroup>
  <Accordion title="Payin">
    Collection operation: the customer pays the merchant. LigdiCash offers two modes — hosted (the customer is sent to a hosted payment page) and direct (the payment is initiated programmatically via OTP or approval).

    See [Payment API overview](/en/payment-api/overview).
  </Accordion>

  <Accordion title="Hosted payin">
    Payin mode where the customer is redirected to a payment page hosted by LigdiCash. The integration is simple but comes with constraints: no iframe, empty `customer`, popup handling.

    See [Hosted payin — Introduction](/en/payment-api/hosted-payin/introduction).
  </Accordion>

  <Accordion title="Direct payin">
    Payin mode where the merchant owns the interface and submits the OTP via API. More UX control, but a more complex, operator-specific integration.

    See [Direct payin — Introduction](/en/payment-api/direct-payin/introduction).
  </Accordion>

  <Accordion title="Payout">
    Disbursement operation: the merchant sends money to a customer or partner. Two flavors: to the recipient's LigdiCash wallet (`/withdrawal/create`) or directly to their mobile money (`/straight/payout`).

    See [Payout — Introduction](/en/payment-api/payout/introduction).
  </Accordion>

  <Accordion title="API project">
    Entity created in the LigdiCash Dashboard that groups an `Apikey` and an `Auth Token`. A merchant account can hold multiple API projects (one per application, per country, etc.).

    See [Create an API project](/en/concepts/api-project).
  </Accordion>

  <Accordion title="response_code">
    Return code present in every LigdiCash API response. `"00"` = success, `"01"` = failure. On failure, the `wiki` field carries a URL with the detailed description.

    See [Response codes and statuses](/en/concepts/response-codes-and-statuses).
  </Accordion>
</AccordionGroup>

## S–T

<AccordionGroup>
  <Accordion title="Transaction status">
    Current state of a transaction. Possible values: `Completed`, `Pending`, `Cancelled`. Retrieved via the `confirm` endpoint or the callback.

    See [Transaction lifecycle](/en/concepts/transaction-lifecycle).
  </Accordion>

  <Accordion title="Store">
    Object representing your store in a LigdiCash request. Carries `name`, `website_url`, `logo_url`, and `return_url`. Appears in the body of invoice-creation requests.
  </Accordion>

  <Accordion title="token (creation)">
    Transaction identifier returned by LigdiCash when an invoice is created. Used to call the `confirm` endpoint to check the status. **This token is different from the token in the callback** — don't confuse them.

    See [Tokens and identifiers](/en/concepts/tokens-and-identifiers).
  </Accordion>

  <Accordion title="token (callback)">
    Value of the `token` field received in the callback payload. It is different from the creation token and must not be used to identify the transaction. Always use your `transaction_id` stored in your database, or re-verify with the creation token.

    See [Callback security](/en/payment-api/callback/security).
  </Accordion>

  <Accordion title="top_up_wallet">
    Parameter of the `/withdrawal/create` endpoint. Decides whether the funds stay in the customer's LigdiCash wallet (`1`) or are automatically transferred to their linked mobile money (`0`).

    See [Payout to LigdiCash wallet](/en/payment-api/payout/to-ligdicash-wallet).
  </Accordion>

  <Accordion title="transaction_id">
    Order identifier that **you** generate on the merchant side and inject into `custom_data` at creation. This is the recommended way to correlate a LigdiCash transaction with your order system — reliable in every flow, including callback retries.

    See [The transaction\_id pattern](/en/concepts/transaction-id-pattern).
  </Accordion>
</AccordionGroup>

## U–Z

<AccordionGroup>
  <Accordion title="USSD">
    Short messaging protocol used by mobile money operators to trigger actions from the phone (e.g. `#144*82#` for Orange Burkina). In USSD-OTP direct payin mode, the customer dials the USSD code on their phone to obtain the OTP before you submit the transaction.
  </Accordion>

  <Accordion title="LigdiCash wallet">
    Electronic wallet internal to LigdiCash, separate from the mobile money operators' wallets. The LigdiCash wallet can receive payouts via `/withdrawal/create` and is linked to a LigdiCash customer account.

    See [Payout to LigdiCash wallet](/en/payment-api/payout/to-ligdicash-wallet).
  </Accordion>

  <Accordion title="wiki (field)">
    Field present in LigdiCash API error responses. Holds a URL to a page listing the sub-codes specific to the endpoint called. Fetch it programmatically to obtain a human-readable error description.

    See [The wiki field](/en/errors/wiki-field).
  </Accordion>

  <Accordion title="XOF (BCEAO CFA franc)">
    Currency LigdiCash uses for transactions in West Africa (Burkina Faso, Mali, Niger, Benin, Togo, Côte d'Ivoire, Senegal, Guinea-Bissau). XOF has no sub-unit — amounts are always integers.

    See [Currencies and amounts](/en/concepts/currencies-and-amounts).
  </Accordion>
</AccordionGroup>
