Deposit Created

Deposit created subscribe example:

curl --location --request POST '/platform/v1/webhook/subscribe' \
--header 'Authorization: "Bearer API_TOKEN"'\
--header 'Content-Type: application/json' \
--data-raw '{
"event": "deposit/created",
"target_url": "URL"
}'

Review created payload example:

{
  "entity_name": "deposit",
  "event_type": "created",
  "data": {
    "uid": "w4wfvp7jzfd41xl1",
    "matter_uid": "rdmn3hs7m4edqhnc",
    "staff_uid": "3n58zn5bj4yuosyo",
    "payment_uid": null,
    "payment_request_uid": "t0p43yyi9g5oogou",
    "amount": {
      "type": "fixed",
      "value": 7,
      "total": 7,
      "is_rounded": false
    },
    "currency": "USD",
    "title": "Deposit for estimate #0000114",
    "entity_uid": "q7i4nuec17wjjywq",
    "entity_type": "Estimate",
    "created_at": "2022-07-05T12:54:02.101+03:00",
    "updated_at": "2022-07-05T12:54:02.101+03:00"
  }
}