For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Visit appVisit websiteBook a demo
  • Get Started
    • Welcome
  • Authentication
    • Hirer Service Accounts
  • Concepts
    • Introduction
    • Directory & Contractors
    • Contracts
    • Approvals
    • Timesheeting
    • Checklists
  • Webhooks
    • Portal Access
    • Endpoint Setup
    • Securing Your Endpoints
    • Monitoring, Debugging & Recovery
  • Client API
    • Webhook Events
        • POSTSpend requisition created
        • POSTSpend requisition updated
        • POSTSpend requisition approved
LogoLogo
Visit appVisit websiteBook a demo
Client APIWebhook EventsSpend Requisitions

Spend requisition approved

Payload
1{
2 "api_version": "2024-04-10",
3 "event_type": "client.spend_request.approved",
4 "data": {
5 "object": {
6 "spend_request_id": "spreq_c6g4am7hy4ji5jrak0gl5lft4",
7 "url": "https://app.yunojuno.com/approvals/aprvl_c7h5bn8iz6kj6ksbk1hm6mgu5/",
8 "external_id": "",
9 "title": "Spend request title",
10 "description": "Spend request description",
11 "amount": "1000.00",
12 "amount_type": "TOTAL",
13 "currency": "GBP",
14 "custom_fields": [
15 {
16 "name": "example_field",
17 "value": "123ABCD"
18 }
19 ]
20 }
21 },
22 "mode": "live"
23}
Sent when an existing spend requisition is approved. Spend Requisition was previously named Spend Request.
Was this page helpful?
Previous

Issue an OAuth access token

Next
Built with

Payload

The payload of this webhook request is an object.
spend_request_idstringRequiredRead-only<=40 characters
urlstring or nullRequiredRead-only
external_idstring or nullRequiredRead-only
titlestringRequiredRead-only<=100 characters
descriptionstringRequiredRead-only<=500 characters
amountstringRequiredRead-onlyformat: "decimal"
amount_typeenumRequired
  • DAY_RATE - Day rate
  • TOTAL - Total
Allowed values:
currencyenumRequired
  • AUD - $ AUD
  • CAD - $ CAD
  • CHF - ₣ CHF
  • CZK - Kč CZK
  • DKK - kr DKK
  • EUR - € EUR
  • GBP - £ GBP
  • HKD - $ HKD
  • NOK - kr NOK
  • NZD - $ NZD
  • PLN - zł PLN
  • SEK - kr SEK
  • SGD - $ SGD
  • AED - د.إ AED
  • USD - $ USD
  • ZAR - R ZAR
custom_fieldslist of objectsRequiredRead-only
approval_flowobject or nullRequiredRead-only

Response

200
any
Return a 200 status to indicate that the data was received successfully.