Skip to main content

List Donation Sessions

GET 

/v1/donation-sessions

List Donation Sessions

Request​

Query Parameters

    direction string

    Possible values: [ASC, DESC]

    Which way to sort by the given 'sort' field. Default DESC

    cursor string

    A cursor that points to where to start the page

    pageSize integer

    Default value: 25

    How many items per page, for pagination.

Responses​

Successfully lists Donation Sessions

Schema
    data object[]
  • Array [
  • id string
    organisationId string
    successUrl stringnullable

    Optional URL the donor will be directed to after making a donation.

    userId stringnullable

    Id of the User who this donation belongs to, if one exists.

    url string
    status string

    Possible values: [open, completed, expired]

    createdAt date-time
    expiresAt date-time
    language string

    Default value: en-GB

    metadata objectnullable

    Key-value data that you can attach to an object. When a Donation is created from a DonationSession, the DonationSession copies its metadata to the Donation.

    currency stringnullable
  • ]
  • object string
    totalResults integer
    pageSize integer
    _links object
    current string
    next string
    prev string
Loading...