tips
post/tips/{channel}

Request

Path parameters

channelstring required
Example:5b2e2007760aeb7729487dab

guid - Channel id

Request body

providerstring required
messagestring required
amountinteger required
currencystring required
importedboolean required

Example request

{
  "user": {
    "userId": "",
    "username": "",
    "email": "com"
  },
  "provider": "",
  "message": "",
  "amount": 0,
  "currency": "",
  "imported": true
}

Response

providerstring required
statusstring required
deletedboolean required
_idstring required
channelstring required
transactionIdstring required
createdAtstring required
approvedstring required
updatedAtstring required

Example response

{
  "donation": {
    "user": {
      "username": "StreamElements",
      "geo": null,
      "email": "streamelements@streamelements.com"
    },
    "message": "This is a test",
    "amount": 100,
    "currency": "USD"
  },
  "provider": "paypal",
  "status": "success",
  "deleted": false,
  "_id": "5c0aab85de9a4c6756a14e0d",
  "channel": "5b2e2007760aeb7729487dab",
  "transactionId": "IMPORTED",
  "createdAt": "2018-12-07T17:19:01.957Z",
  "approved": "allowed",
  "updatedAt": "2018-12-07T17:19:01.957Z"
}

Changes

    • breaking

      added the new required request property

    • breaking

      added the new required request property

    • breaking

      added the new required request property

    • breaking

      added the new required request property

    • breaking

      added the new required request property

    • breaking

      added the new required request property

    • breaking

      the request's body type changed from no type to object

    • breaking

      the response property // became optional for the status