Payment notification payloads

❗️

IMPORTANT

At this time, the payment webhook notifications are available only for select BILL partners. We will provide more information for when payment webhook notifications will be available to all BILL v3 API users.

When you subscribe to a BILL event and the event triggers, BILL sends a notification to your provided notificationUrl. See /v3/payments in the API reference for more information about the request and response fields.

Sample payment.updated payload

In this sample unescaped JSON payload, the details of a payment are available. The notification provides a set of payment fields.

FieldDescription
idBILL-generated ID of the payment. The value begins with stp.
billIdsList of bills that are paid
transactionNumberPayment transaction reference used as an external identifier. See /v3/payments in the API reference for more information.
statusPayment status.

- DISBURSEMENT_FAILED_ACTION_NEEDED: Disbursed payment is returned, but not voided as yet. Payer has the option to void & credit or void & reissue payment.
- DISBURSEMENT_FAILED_VENDOR_BANK_REJECTED: Disbursed payment sent to the network vendor is returned, but not voided as yet. Payer must notify the network vendor to update their bank account in BILL.
- FUNDING_FAILED_ACTION_NEEDED: BILL attempted to, but could not debit funds from the payer's funding account. However, BILL disbursed the payment, and the payer must wire funds to BILL.
- FUNDS_ESCHEATED: Disbursed payment funds are not claimed by the vendor
- CANCELED: Payment is canceled
- FUNDING_FAILED_VOIDED: Payment is voided and is not eligible for a credit to the payer
- VOIDED: Payment is voided and is credited to the payer
- CLEARED: Disbursed payment is successfully settled by the vendor bank account. For example, a check is cashed, a virtual card payment is settled, or an ePayment is deposited to the vendor bank account.
- DELIVERED: Payment is successfully sent, but the vendor is yet to take action to settle the payment. For example, an uncashed check or an unprocessed virtual card.
- DISBURSEMENT_ON_HOLD: Disbursement is manually held for BILL to complete risk verification. BILL may reach out to the payer about the payment.
- SENT: Disbursed payment is not delivered or settled as yet. The payment is issued or reissued, but not delivered (check or virtual card) or settled (ePayment).
- PROCESSED: BILL has debited the payer's payment account (bank account, debit card, credit card, or BILL balance) to fund the payment
- FUNDING_STARTED: BILL has started the payer's payment account (bank account, debit card, credit card, or BILL balance) debit process, but the process is not complete
- SCHEDULED: Payment is scheduled
- DISBURSEMENT_ON_HOLD_PAYER_IN_REVIEW: Disbursement is manually held for BILL to complete risk verification. BILL may reach out to the payer to complete verification.
- FUNDING_ON_HOLD: BILL has not attempted to debit the payer account. The payer organization risk verification is incomplete.
- VOID_PENDING: Payment is successfully sent and a void payment is requested
- WAITING_ON_APPROVAL: Payment is scheduled and is waiting on approval
- UNKNOWN: If none of the above conditions are set
createdByBILL-generated ID of the user that created the payment. The value begins with 006.
createdTimeCreated date and time
updatedTimeUpdated date and time. This value updates for each payment status update.
processDatePayment process date
fundingPayment funding information.

This includes the funding account id, type (BANK_ACCOUNT, CARD_ACCOUNT, WALLET, or AP_CARD), and accountNumber used for funding the payment.

NOTE
:id and accountNumber is not available for all funding account methods.
disbursementPayment disbursement information.

This includes the payment arrivesByDate, disbursement type, and the payment receiver accountNumber. See /v3/payments in the API reference for more information about the different disbursement type values.
vendorVendor information. This includes vendor id and name.
billingTypeA payment object is created for each payment. billingType is the source of the payment object creation.

- BDC: Payment made with the BILL web app or BILL API
- BILL_AUTOPAY: Payment made with the BILL autopay feature
- NET_SYNC_FROM_ONLINE_PAYMENT: Payment made outside BILL with the sync feature to a BILL customer
- NET_SYNC_FROM_OFFLINE_PAYMENT: Payment made outside BILL with the sync feature to a customer outside BILL
- RECURRING_PAYMENT: Payment made for a recurring bill
{
    "metadata": {
        "eventId": "{event_id}",
        "subscriptionId": "{subscription_id}",
        "organizationId": "{organization_id}",
        "eventType": "payment.updated",
        "version": "1"
    },
    "payment": {
        "id": "{payment_id}",
        "billIds": [
             "{bill_id}"
        ],
        "transactionNumber": "UWLZLONPNYEVZFQPFPHR",
        "status": "CLEARED",
        "createdBy": "{user_id}",
        "createdTime": "2024-12-16T23:56:52.127+00:00",
        "updatedTime": "2024-12-17T23:56:52.127+00:00",
        "processDate": "2024-12-17",
        "funding": {
            "amount": 228.99,
            "currency": "USD",
            "fundingAccount": {
                "id": "bac01123ABC456DEF789",
                "type": "BANK_ACCOUNT",
                "name": "Noodle Soupsmith",
                "accountNumber": "************1111"
            }
        },
        "disbursement": {
            "amount": 228.99,
            "currency": "USD",
            "arrivesByDate": "2024-12-20",
            "disbursementAccount": {
                "type": "ACH",
                "accountNumber": "******333"
            }
        },
        "vendor": {
            "id": "{vendor_id}",
            "name": "Happy Music Supplies"
        },
        "billingType": "BDC"
    }
}