Get Donations

Get donations

GET https://api.tipme.no/donations

Required scopes

donations:read

Query Parameters

Name
Type
Description

type

String

Donation type (donation, vippsathon_goal, vippsathon_timer)

vippsathon_id

Uuid

Vippsathon id (If active vippsathon)

page

Int

The current pagination page

limit

Int

The limit for how many donations to fetch per page

Headers

Name
Type
Description

Authorization

String

Api key

Response

{
    "donations": [
        {
            "id": Uuid,
            "user_id": Uuid,
            "vippsathon_id": Uuid / null,
            "amount": String, // 50.00
            "currency" String, // NOK
            "donor_name": String, // Ola Normann
            "message": String, // Thank you for a great stream
            "platform": String, // vipps
            "type": String, // donation
            "status": String, // pending / authorized / finished/ failed
            "createdAt": Date,
            "updatedAt": Date,
            "vippsathon": Object / null
        }
    ],
    "total": Number, // 100
    "pages": Number, // 2
    "currentPage": Number, // 1
}

Last updated