Payment ('recorded' / 'refunded' / 'updated')

Payment recorded subscribe example:

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

Payment recorded response example:

{
  "entity_name": "payment",
  "event_type": "update",
  "data": {
    "payment_id": "t2769uxb813tkju0",
    "business_id": "pfzuxrnprhmlateg",
    "conversation_id": "5r0v40ap90ik898w",
    "state": "paid",
    "title": "ser req",
    "note": null,
    "amount": 1,
    "currency": "ILS",
    "charge_at": "2022-01-10T10:51:05.000Z",
    "refunded_at": null,
    "payment_method": "PayPal",
    "offline": true,
    "payment_request_id": "j2ikmlubl8yqika0",
    "payment_requests": [
      {
        "type": "Meeting",
        "id": "gt3vk28u5jupnhbz"
      }
    ],
    "client_id": "57qh42oqn6fijt2i",
    "created_at": "2022-01-10T10:51:18.000Z"
  }
}