Skip to main content
WEBHOOK
credit.created
{
  "amount": {
    "currency": "<string>",
    "value_in_cents": 123
  },
  "coupon_id": "<unknown>",
  "created_at": "2023-11-07T05:31:56Z",
  "customer_id": "<string>",
  "expiration_date": "<unknown>",
  "id": "<string>",
  "import_created_at_ref": "<unknown>",
  "import_ref": "<unknown>",
  "imported_from": "<unknown>",
  "issued_amount": {
    "currency": "<string>",
    "value_in_cents": 123
  },
  "issued_units": 123,
  "item": {
    "company_id": "<string>",
    "created_at": "2023-11-07T05:31:56Z",
    "description": "<string>",
    "display_type": "<string>",
    "editable": true,
    "external_name": "<string>",
    "id": "<string>",
    "name": "<string>",
    "standard": true,
    "type": "<string>",
    "updated_at": "2023-11-07T05:31:56Z"
  },
  "item_id": "<unknown>",
  "metric_record_id": "<unknown>",
  "name": "<string>",
  "one_time_billable_id": "<unknown>",
  "proration_date": "<unknown>",
  "state": "<string>",
  "subscription_id": "<unknown>",
  "type": "<string>",
  "units": 123
}

Body

application/json
amount
object

The amount which has value in cents and a currency

coupon_id
null | string
created_at
string<date-time>
customer_id
string
expiration_date
null | string<date-time>
id
string
import_created_at_ref
null | string<date-time>
import_ref
null | string
imported_from
null | string
issued_amount
object

The amount which has value in cents and a currency

issued_units
number
item
object
item_id
null | string
metric_record_id
null | string
name
string
one_time_billable_id
null | string
proration_date
null | string<date-time>
state
string
subscription_id
null | string
type
string
units
number

Response

200

Return a 200 status to indicate that the data was received successfully