Create

Create a spend request.

Headers

AuthorizationstringRequired

Bearer authentication of the form Bearer <token>, where token is your auth token.

Request

This endpoint expects an object.
hirerstringRequired<=320 characters
The identifier or the email address of the hirer creating the spend request.
titlestringRequired<=100 characters
The title of the spend request.
descriptionstringRequired<=100000 characters
A detailed description of the spend request.
amountstringRequiredformat: "decimal"
The amount of money requested.
amount_typeenumRequired

The type of the amount requested.

  • DAY_RATE - Day rate
  • TOTAL - Total
Allowed values:
currencyenumRequired

The currency in which the amount is specified.

  • AUD - $ AUD
  • CAD - $ CAD
  • CHF - ₣ CHF
  • CZK - Kč CZK
  • DKK - kr DKK
  • EUR - € EUR
  • GBP - £ GBP
  • HKD - $ HKD
  • NOK - kr NOK
  • PLN - zł PLN
  • SEK - kr SEK
  • SGD - $ SGD
  • AED - د.إ AED
  • USD - $ USD
custom_fieldslist of objectsOptional
An array of custom fields specific to the spend request.
external_idstringOptionalDefaults to
An external identifier for the spend request, optional.
spend_request_configurationstringOptional<=40 charactersDefaults to
The identifier of the configuration to create the spend request against.

Response

dataobject
The spend request object. This object represents a request to commit spend on the YunoJuno platform.