Download OpenAPI specification:Download
The Donation API provides features that specifically support fundraising
Returns a list of payments marked as donations made to any sales unit belonging to the merchant of the sales unit identified in the token.
from | string <date-time> Timestamp where payments made after should be included in the report |
fromDateTimeUtc | string <date-time> Deprecated |
to | string <date-time> Timestamp where payments made after should not be included in the report |
toDateTimeUtc | string <date-time> Deprecated |
includeGDPRSensitiveData | boolean Default: false When |
{- "from": "2019-08-24T14:15:22Z",
- "fromDateTimeUtc": "2019-08-24T14:15:22Z",
- "to": "2019-08-24T14:15:22Z",
- "toDateTimeUtc": "2019-08-24T14:15:22Z",
- "payments": [
- {
- "externalReference": "campaign123",
- "agreementId": "79458f91-82b5-4c38-a886-56df6a6b7980",
- "message": "Happy to support your cause!",
- "payer": {
- "name": "Ada Lovelace",
- "phoneNumber": "4712345678"
}, - "paymentDateTimeUtc": "2019-08-24T14:15:22Z",
- "capturedAt": "2019-08-24T14:15:22Z",
- "pspReference": "11268125611",
- "recipientHandle": "api:922061",
- "amount": "50001",
- "currency": "NOK"
}
]
}