Webhook Topic Definitions

Overview

Use this page to select webhook topics and interpret the events delivered for each topic.

Webhook topics are logical groupings of related events that you can subscribe to for real-time updates.

How a Webhook Topic Works

Each topic represents a category of events tied to a specific entity.

Examples include:

  • Transfer
  • Transaction
  • Synthetic Account
  • Virtual Reference Number
  • Customer
  • Debit Card

Subscription Models

Clients can subscribe using one of the following models.

  • Topic-Level: Receive all events associated with a topic.
  • Event-Level: Receive only selected events within a topic.
  • Combination: Mix topic-level and event-level subscriptions to support more granular event delivery requirements.

Subscription Examples

Subscription TypeTopicEvents Received
Topic-LevelTransferAll Transfer events
Event-LevelTransferRTP Settlement only
CombinationTransferAll Transfer events
CombinationTransactionTransaction Status Updated only

Routing Behavior

Webhook delivery routing is topic-based.

Events are delivered to the endpoint associated with the subscribed topic path regardless of subscription type.

The event_type field identifies the event contained within the payload but is not used to determine the delivery endpoint.

Examples:

  • Transfer Topic: /webhook/transfer
  • Transaction Topic: /webhook/transaction
  • Virtual Reference Number Topic: /webhook/virtual-reference-number

Topic Naming Convention

Webhook endpoints follow the format:

{base_url}/webhook/{topic-path}

Where:

  • base_url is provided by the client
  • /webhook is a required path segment
  • topic-path is derived from the subscribed topic

Examples

https://example.com/webhook/transfer

https://example.com/webhook/virtual-reference-number

Topic names are defined by Newline and cannot be customized by clients.

Topic Definitions

TopicDescriptionSupported Events
TransferEvents related to money movement between accounts.Transfer Initiated, Transfer Status Changed, RTP Transfer Queued, RTP Settlement
TransactionEvents related to transaction lifecycle activity.Transaction Created, Transaction Status Updated
Synthetic AccountEvents related to synthetic account management and maintenance.Synthetic Account Created, Synthetic Account Status Changed, Synthetic Account Name Updated
Virtual Reference NumberEvents related to virtual reference number creation, registration, and maintenance.VRN Created, Instant Payment Rail Registration Status Changed
CustomerEvents related to customer lifecycle and customer record activity.Customer Status Changed, Customer Locked, Customer Unlocked
Debit CardEvents related to debit card issuance, status changes, and lifecycle activity.Debit Card Requested, Debit Card Issued, Debit Card Status Updated, Debit Card Reissued, Debit Card Locked, Debit Card Unlocked, Debit Card PIN Changed, Debit Card PIN Staging Failed, Debit Card PIN Commit Failed

Event Definitions

Event NameEvent TypeDescription
Transfer InitiatedcreatedGenerated when a transfer has been successfully created.
Transfer Status Changedstatus_changeGenerated whenever a transfer transitions from one status to another.
RTP Transfer Queuedtransfer_queuedGenerated when RTP queueing places a transfer into a queued state prior to final settlement or failure.
RTP Settlementrtp_settlementGenerated when an RTP transfer reaches final settlement.

Consumer Expectations

Receipt of a transfer_queued event does not indicate that transfer processing has completed.

Queued transfers may subsequently:

  • Move to pending and continue through normal RTP processing
  • Reach rtp_settlement
  • Reach a failed status if RTP processing remains unavailable until the queued_until timestamp is reached

Clients should continue monitoring transfer events until a final outcome is received.

Transaction Events

Event NameEvent TypeDescription
Transaction CreatedcreatedGenerated when a transaction record is first created.
Transaction Status UpdatedupdatedGenerated whenever a transaction transitions from one status to another.

RTP Receive notifications are delivered through Transaction Status Updated events. Newline does not provide a standalone RTP Receive webhook event.

Synthetic Account Events

Event NameEvent TypeDescription
Synthetic Account CreatedcreatedGenerated when a synthetic account is successfully created.
Synthetic Account Status Changedstatus_changeGenerated when a synthetic account status changes.
Synthetic Account Name Updatedname_updatedGenerated when a synthetic account name is updated.

Virtual Reference Number (VRN) Events

Event NameEvent TypeDescription
VRN CreatedcreatedGenerated when a Virtual Reference Number is created.
Instant Payment Rail Registration Status Changedinstant_payment_status_changeGenerated when a VRN's instant payment registration status changes.

Customer Events

Event NameEvent TypeDescription
Customer Status Changedstatus_changeGenerated when a customer status changes.
Customer LockedlockGenerated when a customer is locked.
Customer UnlockedunlockGenerated when a customer is unlocked.

Debit Card Events

Event NameEvent TypeDescription
Debit Card RequestedrequestedGenerated when a new debit card is requested.
Debit Card IssuedissuedGenerated when a debit card is issued.
Debit Card Status Updatedstatus_changeGenerated when a debit card status changes.
Debit Card Reissuedreissue_requestedGenerated when a debit card reissue is requested.
Debit Card LockedlockGenerated when a debit card is locked.
Debit Card UnlockedunlockGenerated when a debit card is unlocked.
Debit Card PIN Changedpin_changedGenerated when a debit card PIN is successfully updated.
Debit Card PIN Staging Failedpin_staging_failedGenerated when the initial PIN update stage fails.
Debit Card PIN Commit Failedpin_commit_failedGenerated when the final PIN update stage fails.

Payload Field Definitions

Transfer Fields

FieldTypeDescription
external_uidstringClient-supplied identifier used for transfer tracking and reconciliation.
usd_transfer_amountstringTransfer amount in U.S. dollars.
transfer_uidstringUnique identifier assigned to the transfer.
transaction_uidstringPrimary transaction identifier associated with the transfer.
transaction_uidsarrayCollection of transaction identifiers associated with the transfer.
customer_external_uidstringClient-defined identifier for the originating customer.
customer_uidstringInternal unique identifier for the originating customer.
destination_customer_external_uidstringClient-defined identifier for the destination customer.
destination_customer_uidstringInternal unique identifier for the destination customer.

Queue Fields

FieldTypeDescription
queued_untilstringTimestamp indicating when a queued transfer will be failed if RTP processing remains unavailable. The value is based on the transfer creation time plus the queue retention period configured for the program.
statusstringCurrent queue status. The expected value for queue events is `queued`.

Transaction Fields

FieldTypeDescription
transaction_uidstringUnique identifier assigned to the transaction.
new_statusstringCurrent status of the transaction.
settled_indexinteger | nullSettlement sequence number if applicable.

RTP Settlement Fields

FieldTypeDescription
network_transaction_idstringUnique identifier assigned by the RTP or FedNow network.
destination_synthetic_account_uidstringUnique identifier of the destination synthetic account.

Subscription Guidance

When selecting a webhook topic:

  • Subscribe only to topics relevant to your business workflow.
  • Use topic-level subscriptions when all events within a topic are required.
  • Use event-level subscriptions when only specific events are required.
  • Use a combination subscription model to support more granular delivery requirements.

Endpoint Routing Examples

A subscription to the Transfer topic may result in delivery to:

https://example.com/webhook/transfer

A subscription to the Virtual Reference Number topic may result in delivery to:

https://example.com/webhook/virtual-reference-number

Regardless of whether a client subscribes at the topic level or event level, events are delivered to the endpoint associated with the topic path.

The event_type value identifies the event contained in the payload, while the topic path determines the delivery endpoint.

Examples:

  • Transfer Topic: /webhook/transfer
  • Transaction Topic: /webhook/transaction
  • Virtual Reference Number Topic: /webhook/virtual-reference-number

Did this page help you?