Skip to main content

List all receipts

GET 

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

Returns all receipt records for the project

Request

Responses

Receipts fetched successfully

Schema
    _idstring

    Unique receipt identifier

    Example: 64e5fa821c2d0a3b1f7c4e85
    referencestring

    Unique receipt reference number

    Example: RCT-2024-0042
    paymentstring

    Payment ID this receipt is for

    Example: 64a1bc3f9e12c4a2f1d8e7b3
    customer object
    _idstring
    Example: 6281559426fa29659c5ac38a
    phoneNumberstring
    Example: 255742200105
    firstnamestring
    Example: John
    lastnamestring
    Example: Doe
    amountnumber

    Amount on the receipt

    Example: 50000
    currencystring
    Example: TZS
    descriptionstring
    Example: Payment for Web Development Services
    statusstring

    Receipt status (e.g., ISSUED, CANCELLED)

    Example: ISSUED
    projectstring
    Example: 63db68a6c5f3e7682e23c2ca
    issuedAtdate-time
    Example: 2024-03-05T14:30:00.000Z
    createdAtdate-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/receipts' \
-H 'Accept: application/json' \
-H 'apiToken: <apiToken>'
Request
Base URL
https://core-prod.malipopay.co.tz
Auth
Response

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