Changelog

03

/

12

/

26

Usage API: Payee Details on Failed Payment Records

Usage API: Payee Details on Failed Payment Records

Usage records for payee_failed_payment now include a resource_information field that identifies the employee or contractor associated with the charge.

  • resource_information.payee — the employee or contractor ID
  • resource_information.payee_type"employee" or "contractor"

This lets you attribute failed payment charges to specific workers without additional API calls, making it easier to generate clear, itemized bills for your customers.

For all other usage categories, resource_information returns {}. This is a non-breaking, additive change. See the Usage API docs for full details.

About the author