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

# Coin Debit

> This event is sent after a coin debit has occured outside the partner application

export const Table = ({data = []}) => <div className="text-sm font-mono">
    <div style={{
  gap: 10,
  display: "grid",
  padding: "5px 10px",
  backgroundColor: "#F7F9FB",
  color: "rgba(25,27,31,0.6)",
  gridTemplateColumns: "repeat(3, minmax(0, 1fr))"
}}>
      <span>name</span>
      <span>type</span>
      <span>Description</span>
    </div>
    {data?.map((item, idx) => <div key={idx} style={{
  gap: 10,
  display: "grid",
  padding: "8px 10px",
  color: "rgba(25,27,31,0.8)",
  gridTemplateColumns: "repeat(3, minmax(0, 1fr))"
}}>
        <span className="break-words">{item.name}</span>
        <span>{item.type}</span>
        <span>{item.desc}</span>
      </div>)}
  </div>;

##

<Table
  data={[
{
  name: "event",
  type: "string",
  desc: "The name of the event",
},
{
  name: "status",
  type: "string",
  desc: (
    <>
      The status of the event <br />
      <strong>Value:</strong> success, parital_success, failed
    </>
  ),
},
{
  name: "failed",
  type: "array",
  desc: (
    <>
      An array of the data that failed <br />
    </>
  ),
},
{
  name: "data",
  type: "object",
  desc: (
    <>
      An object of the transaction information <br />
    </>
  ),
},
]}
/>

###

<ResponseExample>
  ```json Success theme={null}
  {
    "event": "COINS_DEBITED"
    "status": "success",
    "failed": [],
    "data": {
          "id": "a876c036-4343-4757-b979-f367593756ed",
          "userId": "dcc1a639-906e-4393-84b7-689379fc4de8",
          "debitOrCredit": "DE",
          "coins": 80,
          "claimed": true,
          "transactionType": "user_partner_transfer",
          "narration": "Transfer from partner to user",
          "from": {
              "id": "5a706241-5c41-4c8e-bc55-e7946e227864",
              "fullname_businessName": "beebuu",
              "email": "iheonu6@gmail.com",
              "tag": null,
              "userId": "dcc1a639-906e-4393-84b7-689379fc4de8"
          },
          "to": {
              "id": "b8990a62-145b-487c-85e9-c59ccf08b0f5",
              "fullname_businessName": "d3c0c232-6e07-40eb-a1ee-593483d689c9",
              "email": "d3c0c232-6e07-40eb-a1ee-593483d689c9",
              "tag": "d3c0c232-6e07-40eb-a1ee-593483d689c9",
              "userId": "d3c0c232-6e07-40eb-a1ee-593483d689c9"
          },
          "plan": {},
          "paidWithGiftCard": false,
          "giftCardLedger": {},
          "laas": false,
          "charge": 0,
          "refunded": false,
          "createdAt": "2025-07-24T14:40:28.973Z",
          "updatedAt": "2025-07-24T14:40:28.973Z"
      }
  }
  ```
</ResponseExample>
