---
title: "Account details payment state change"
method: POST
path: "account-details-payment#state-change"
tags: ["webhook-event", "bank-account-details"]
---

# Account details payment state change

`POST account-details-payment#state-change` (webhook)

Triggered every time a pay-in is made into the specified account details.    

* Event type: `account-details-payment#state-change`
* Profile level subscriptions: Supported
* Application level subscriptions: Supported

Events may not be delivered in the order they occurred. Use `data.occurred_at` to reconcile the order.
See the [Event ordering guide](/guides/developer/webhooks/event-ordering) for details.

See the [Webhooks guide](/guides/developer/webhooks) for setup instructions, signature verification, and best practices.

## Headers

- `X-Signature-SHA256` string
- `X-Delivery-Id` string, uuid
- `X-Test-Notification` boolean

## Payload

- union
  - V4006
    - `schema_version` '4.0.0' — Version of the event schema. Determined by the `schema_version` on your [webhook subscription](/api-reference/webhook).
    - `subscription_id` string, uuid — ID of the webhook subscription that triggered this event.
    - `event_type` string — Event type identifier
    - `sent_at` string, date-time — Timestamp when the event was sent.
    - `data` object
      - `resource` object
        - `id` integer — Balance ID which is linked to the account detail.
        - `profile_id` integer — ID of the profile that owns the payment.
        - `type` string — Type of the resource
      - `account_details_id` string — Account detail ID where the pay-in was received.
      - `target_account_id` string — Balance ID which is linked to the account detail.
      - `transfer` object
        - `id` integer — ID of the incoming transfer
        - `type` string — Type of the transfer
        - `amount` number — Transfer amount
        - `currency` string — Currency code
      - `sender` object
        - `name` string — Sender name
        - `account_number` string — Sender account number
        - `bank_code` string — Sender bank code
        - `address` string — Sender address
      - `current_state` 'PROCESSING' | 'COMPLETED' | 'CANCELLED' | 'REFUNDED' — Current state of the payment
      - `previous_state` 'PROCESSING' | 'COMPLETED' | 'CANCELLED' | 'REFUNDED' — Previous state of the payment
      - `occurred_at` string, date-time — Timestamp when the event occurred.
  - V2006
    - `schema_version` '2.0.0' — Version of the event schema. Determined by the `schema_version` on your [webhook subscription](/api-reference/webhook).
    - `subscription_id` string, uuid — ID of the webhook subscription that triggered this event.
    - `event_type` string — Event type identifier
    - `sent_at` string, date-time — Timestamp when the event was sent.
    - `data` object
      - `resource` object
        - `id` integer — Balance ID which is linked to the account detail.
        - `profile_id` integer — ID of the profile that owns the payment.
        - `type` string — Type of the resource
      - `account_details_id` string — Account detail ID where the pay-in was received.
      - `target_account_id` string — Balance ID which is linked to the account detail.
      - `transfer` object
        - `id` integer — ID of the incoming transfer
        - `type` string — Type of the transfer
        - `amount` number — Transfer amount
        - `currency` string — Currency code
      - `sender` object
        - `name` string — Sender name
        - `account_number` string — Sender account number
        - `bank_code` string — Sender bank code
        - `address` string — Sender address
      - `current_state` 'PROCESSING' | 'COMPLETED' | 'CANCELLED' | 'REFUNDED' — Current state of the payment
      - `previous_state` 'PROCESSING' | 'COMPLETED' | 'CANCELLED' | 'REFUNDED' — Previous state of the payment
      - `occurred_at` string, date-time — Timestamp when the event occurred.

## Acknowledgement `200`

Return any `2xx` status to acknowledge receipt of the event.

- object
  - `status` string

---

[API](https://skmtc.net/wise/apis/platform-api.md) · [All operations](https://skmtc.net/wise/apis/platform-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/wise/platform-api/revisions/4907a1d269ab/schema)
