menu

Webhooks

You can use TxB Webhooks to have event updates proactively pushed from TxB to your server. Since webhooks only transfer data when an object has changed state, you can spend less time polling TxB APIs and receive fresher data (i.e., you only see data when something new has happened).

Currently, TxB supports webhook updates for two objects:

  • Payments that you initiate. After you initiate a payment with TxB, we will send events back to you when that payment transitions from INITIATED to RELEASED to SETTLED.
  • Customer service cases. After you create a customer service case with TxB via API, we will send events back to you when that case transitions to a CLOSED state.
  • Payments that you receive. When an incoming payment is posted to your account, we will send you a webhook event stating payment was RECEIVED.

Available events

Event NameTerminal StatusDescription
PAYMENT_STATUS.PENDINGNoPayment processing has been delayed, e.g., because of insufficient funds
PAYMENT_STATUS.ACCEPTEDNoPayment processing within TxB is complete and we are waiting to send to network
PAYMENT_STATUS.RELEASEDMaybePayment network has confirmed receipt of the payment. In some cases, this is a terminal step
PAYMENT_STATUS.SETTLEDYesPayment receiver has confirmed receipt
PAYMENT_STATUS.REJECTEDYesTxB stopped the payment from being processed due to an error, e.g., incorrect account number
PAYMENT_STATUS.CANCELEDYesThe payment originator requested that we cancel or reverse the payment
PAYMENT_STATUS.RETURNEDYesThe payment network or receiver has canceled the payment and returned it to TxB
INCOMING_PAYMENT.RECEIVEDMaybeYou have received an incoming payment that has been posted to your TxB account

Case events are currently in Alpha and will be published when generally available.

Responses to a webhooks

Once you receive a callback from TxB, you're expected to respond with one of the following codes:

HTTP Response ExpectedDescriptionAutomatic RetriesExample Body of Response
200Successn/anull
207Partial successNo{"eventId": "Payment1234", "errorDescription": "Payment end to end ID not found"}
400Bad requestNonull
401Authentication failedNonull
403Unauthorized to access resourceNonull
404Resource not foundNonull
408Time outYesnull
429Too many requestsYesnull
5XXErrorYesnull

If TxB receives a 408, 429, or 5XX status code, then we will automatically retry to send the event. Otherwise, please use the payment status API to poll for an update. We also suggest using the payment status API periodically to reconcile payments which have not hit a terminal state for several days.

Event grouping

You can receive events individually (as they happen) or grouped together (e.g., if you plan to send a lot of payments and don't want to be bombarded with API requests). Below is an example showing how TxB can group multiple events into a single callback. If you request event grouping, then you will be required to configure both frequency and maximum events

  • If maximum number of events is reached before frequency, you will be receiving webhooks more often
  • If maximum number of events is not reached before frequency, you will be receiving webhooks as often as expected in line with the defined config

Example Grouping

  • Event A - Payment accepted by TxB at 10:03 AM
  • Event B - Payment released at 10:05 AM
  • Event C - Payment settled at 10:15 AM
  • Event D - Payment returned at 10:20 AM

If you opt for a maximum of 3 events in a group and a 15 minute update frequency, TxB will group events A, B and C and send them together at 10:15 AM, with event D coming through in the next update at 10:30 AM.

Note: We recommend a maximum event limit of 100 to avoid potential UX issues.

Anatomy of a webhook payload

{
    "deliveryId": "7a484093-f205-4004-9c5f-4c333527656e",

    ## Every message we send to you will be uniquely defined by a `deliveryId`
    ## One `deliveryId` can contain between 1 and N individual events
    ## The maximum number of a events in a message is configurable

    "events": [
        {
            "eventName": "PAYMENT_STATUS.RELEASED",

            ## eventNames correspond to the event trigger
            ## for example, PAYMENT_STATUS.RELEASED indicates
            ## that a payment you initiated has been released to
            ## a payment network


            "eventId": "7a484093-f205-4004-9c5f-4c333527656e",
            "eventTimestamp": "2021-02-01T16:56:46.384Z",

            ## the time at which an event was created.  Note that events
            ## may be delivered after the point at which they are created

            "eventData": {

            ## event data provides the object which has changed status
            ## which is, in thise case, a payment

                "identifiers": { ... },
                "paymentExecutedValueDate": "2021-06-21",
                "amount": 101,
                "paymentCurrency": "USD",
                "paymentStatus": {
                    "status": "RELEASED",
                    "statusTime": "2020-12-01T16:55:42.279Z"
                },
                ...
                }
            }
        }
}

GS DAP® is owned and operated by Goldman Sachs. This site is for informational purposes only and does not constitute an offer to provide, or the solicitation of an offer to provide access to or use of GS DAP®. Any subsequent commitment by Goldman Sachs to provide access to and / or use of GS DAP® would be subject to various conditions, including, amongst others, (i) satisfactory determination and legal review of the structure of any potential product or activity, (ii) receipt of all internal and external approvals (including potentially regulatory approvals); (iii) execution of any relevant documentation in a form satisfactory to Goldman Sachs; and (iv) completion of any relevant system / technology / platform build or adaptation required or desired to support the structure of any potential product or activity. All GS DAP® features may not be available in certain jurisdictions. Not all features of GS DAP® will apply to all use cases. Use of terms (e.g., "account") on GS DAP® are for convenience only and does not imply any regulatory or legal status by such term.
Certain solutions and Institutional Services described herein are provided via our Marquee platform. The Marquee platform is for institutional and professional clients only. This site is for informational purposes only and does not constitute an offer to provide the Marquee platform services described, nor an offer to sell, or the solicitation of an offer to buy, any security. Some of the services and products described herein may not be available in certain jurisdictions or to certain types of clients. Please contact your Goldman Sachs sales representative with any questions. Any data or market information presented on the site is solely for illustrative purposes. There is no representation that any transaction can or could have been effected on such terms or at such prices. Please see https://www.goldmansachs.com/disclaimer/sec-div-disclaimers-for-electronic-comms.html for additional information.
Transaction Banking services are offered by Goldman Sachs Bank USA (“GS Bank”). GS Bank is a New York State chartered bank, a member of the Federal Reserve System and a Member FDIC.
Mosaic is a service mark of Goldman Sachs & Co. LLC. This service is made available in the United States by Goldman Sachs & Co. LLC and outside of the United States by Goldman Sachs International, or its local affiliates in accordance with applicable law and regulations. Goldman Sachs International and Goldman Sachs & Co. LLC are the distributors of the Goldman Sachs Funds. Depending upon the jurisdiction in which you are located, transactions in non-Goldman Sachs money market funds are affected by either Goldman Sachs & Co. LLC, a member of FINRA, SIPC and NYSE, or Goldman Sachs International. For additional information contact your Goldman Sachs representative. Goldman Sachs & Co. LLC, Goldman Sachs International, Goldman Sachs Liquidity Solutions, Goldman Sachs Asset Management, L.P., and the Goldman Sachs funds available through Goldman Sachs Liquidity Solutions and other affiliated entities, are under the common control of the Goldman Sachs Group, Inc.
© 2025 Goldman Sachs. All rights reserved.