Bulk Transaction

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

Headers

Authorization* string

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

Body parameters

data* array

Array of credit, debit and transfer object. allowNegativeBalance only works for transfer end debit transactions & allowPositiveBalance only works for credit & transfer(recipient) transaction

Request


{
    "data": [
        {
            "entity_id": "c0bf59cd-d6e3-4b64-b87c-f19f300fe6ba",
            "external_reference": "3614858762478542",
            "currency": "USD",
            "amount": 100000,
            "type": "credit",
            "allowPositiveBalance":true
        },
        {
            "entity_id": "c0bf59cd-d6e3-4b64-b87c-f19f300fe6ba",
            "external_reference": "5614858762478542",
            "currency": "USD",
            "amount": 1000,
            "type": "debit",
            "allowNegativeBalance":true
        },
        {
            "entity_id": "c0bf59cd-d6e3-4b64-b87c-f19f300fe6ba",
            "external_reference": "5714858762478542",
            "currency": "USD",
            "amount": 2000,
            "type": "credit",
            "allowPositiveBalance":true
        }
    ]
}

Response


{
    "message": "Transaction Details",
    "status": "success",
    "data":  [
        {
            "id": "53cd61dd-b2fb-4fef-b069-e0081f534545",
            "entity_id": "c0bf59cd-d6e3-4b64-b87c-f19f300fe6ba",
            "recipient_entity_id": null,
            "external_reference": "3614858762478542",
            "amount": "100000.00",
            "currency": "USD",
            "hash": "https://app.moneygraph.ai",
            "status": "success",
            "mode": "test",
            "webhook_url": null,
            "created_at": "2025-05-23T10:01:57.000000Z"
        },
        {
            "id": "1733190d-6427-43ba-9fd1-2478b02e2f98",
            "entity_id": "c0bf59cd-d6e3-4b64-b87c-f19f300fe6ba",
            "recipient_entity_id": null,
            "external_reference": "5714858762478542",
            "amount": "2000.00",
            "currency": "USD",
            "hash": "https://app.moneygraph.ai",
            "status": "success",
            "mode": "test",
            "webhook_url": null,
            "created_at": "2025-05-23T10:01:57.000000Z"
        }
    ]
}