# Balance credit (deprecated)

Triggered every time a multi-currency account is credited.

If you would like to subscribe to balance credit events, please use balances#credit when creating your subscription.

Events may not be delivered in the order they occurred. Use data.occurred_at to reconcile the order.
See the Event Ordering guide for details.

See the Webhooks guide for setup instructions, signature verification, and best practices.

* Event type: balances#credit
* Profile level subscriptions: Supported
* Application level subscriptions: Not Supported

{% admonition type="warning" %}
New balance webhook is released. The new webhook is triggered every time a multi-currency account is credited or debited.
For more information: Balance update event.
{% /admonition %}

Endpoint: POST balances#credit

## Header parameters:

  - `X-Signature-SHA256` (string)
    RSA-SHA256 signature of the request body, Base64 encoded. Verify this against the Wise public key to ensure the request is authentic and has not been tampered with.
    Example: "t7FMhk3OARMgwqz0LJXO..."

  - `X-Delivery-Id` (string)
    Unique identifier for this webhook delivery attempt.
    Example: "a1b2c3d4-e5f6-7890-abcd-ef1234567890"

  - `X-Test-Notification` (boolean)
    Present with the value true if this is a test notification sent to verify your callback URL during subscription setup.
    Example: true

## Request fields (application/json):

  - `body` (any) — one of (discriminator: schema_version):
    - 4.0.0:
      - `schema_version` (string)
        Version of the event schema. Determined by the schema_version on your [webhook subscription](/api-reference/webhook).
        Enum: "4.0.0"
      - `subscription_id` (string)
        ID of the webhook subscription that triggered this event
        Example: "01234567-89ab-cdef-0123-456789abcdef"
      - `event_type` (string)
        Event type identifier
        Example: "balances#credit"
      - `sent_at` (string)
        Timestamp when the event was sent
        Example: "2020-01-01T12:34:56.123Z"
      - `data` (object)
      - `data.resource` (object)
      - `data.resource.type` (string)
        Resource type (always balance-account)
        Example: "balance-account"
      - `data.resource.id` (integer)
        ID of the account
        Example: 111
      - `data.resource.profile_id` (integer)
        ID of the profile that owns the account
        Example: 222
      - `data.transaction_type` (string)
        Always credit
        Example: "credit"
      - `data.amount` (number)
        Deposited amount
        Example: 1.23
      - `data.currency` (string)
        Currency code
        Example: "EUR"
      - `data.post_transaction_balance_amount` (number)
        Balance after the credit was applied
        Example: 2.34
      - `data.occurred_at` (string)
        When the credit occurred
        Example: "2020-01-01T12:34:56.789Z"
    - 2.0.0:
      - `schema_version` (string)
        Version of the event schema. Determined by the schema_version on your [webhook subscription](/api-reference/webhook).
        Enum: "2.0.0"
      - `subscription_id` (string)
        ID of the webhook subscription that triggered this event
        Example: "01234567-89ab-cdef-0123-456789abcdef"
      - `event_type` (string)
        Event type identifier
        Example: "balances#credit"
      - `sent_at` (string)
        Timestamp when the event was sent
        Example: "2020-01-01T12:34:56Z"
      - `data` (object)
      - `data.resource` (object)
      - `data.resource.type` (string)
        Resource type (always balance-account)
        Example: "balance-account"
      - `data.resource.id` (integer)
        ID of the account
        Example: 111
      - `data.resource.profile_id` (integer)
        ID of the profile that owns the account
        Example: 222
      - `data.transaction_type` (string)
        Always credit
        Example: "credit"
      - `data.amount` (number)
        Deposited amount
        Example: 1.23
      - `data.currency` (string)
        Currency code
        Example: "EUR"
      - `data.post_transaction_balance_amount` (number)
        Balance after the credit was applied
        Example: 2.34
      - `data.occurred_at` (string)
        When the credit occurred
        Example: "2020-01-01T12:34:56Z"

## Response 200 fields (application/json):

  - `status` (string)
    Example: "ok"


