Skip to main content

Get a transaction by ID

GET 

https://core-prod.malipopay.co.tz/api/v1/transactions/:id

Returns a single transaction record by its document ID

Request

Path Parameters

    id stringrequired

    Transaction document ID

Responses

Transaction fetched successfully

Schema
    _idstring

    Unique transaction identifier

    Example: 64f7a91c2e3b5d0a1c8e6f92
    referencestring

    Transaction reference number

    Example: ML21030
    amountnumber
    Example: 50000
    typestring

    Possible values: [Credit, Debit]

    Example: Credit
    statusstring

    Transaction status (PENDING, COMPLETED, FAILED)

    Example: COMPLETED
    descriptionstring
    Example: Payment collection from customer
    accountstring

    Account ID

    Example: 64a1bc3f9e12c4a2f1d8e7b3
    currencystring
    Example: TZS
    projectstring

    Project ID

    Example: 63db68a6c5f3e7682e23c2ca
    deletedboolean
    Example: false
    createdAtdate-time
    Example: 2024-03-05T14:30:00.000Z
    updatedAtdate-time
    Example: 2024-03-05T14:30:00.000Z

Authorization: apiToken

name: apiTokentype: apiKeyin: headerdescription: Project API key. Get yours from the Malipopay dashboard under Settings → API Keys.
curl -L 'https://core-prod.malipopay.co.tz/api/v1/transactions/pagination' \
-H 'Accept: application/json' \
-H 'apiToken: <apiToken>'
Request
Base URL
https://core-prod.malipopay.co.tz
Auth
Parameters
— pathrequired
Response

Click the Send API Request button above and see the response here!