Debit Transaction

Post https://app.moneygraph.ai/api/v1/ledger/debit_trx

Headers

Authorization* string

Pass your {api_key} as a bearer token in the request header to authorize this call

Body parameters

entity_id* uuid

ID of the entity to debit. This can be a user, merchant, agent or account.

currency* string

Currency. Must be one of the supported currencies in ISO3 e.g USD.

amount* string

Debit Amount. This should be in the currency's lowest denomination

Response


{
    "message": "Transaction Details",
    "status": "success",
    "data": {
        "id": "b6fe6bef-8e10-46a3-82c6-3d5dd5bfd1c7",
        "entity_id": "634fda0e-88ec-4440-b45b-9c8ca7a28a67",
        "recipient_entity_id": null,
        "amount": "10.00",
        "currency": "USD",
        "type": "burn",
        "hash": null,
        "status": "pending",
        "mode": "live",
        "created_at": "2025-04-20T21:54:09.000000Z"
    }
}