Skip to main content
POST
/
applications
Create an application
curl --request POST \
  --url https://api.myupfront.com/v1/applications \
  --header 'Content-Type: application/json' \
  --header 'x-upfront-key: <api-key>' \
  --data '
{
  "deal_id": "cjoqy7z7r0000b3jx5x2x7x5v",
  "requested_amount": 900000
}
'
{
  "id": "cjoqy7z7r0000b3jx5x2x7x5v",
  "status": "PENDING",
  "decisioned_on": "2022-01-01T00:00:00Z",
  "requested_amount": 900000,
  "created_at": "2022-01-01T00:00:00Z",
  "offers": [
    {
      "amount": 123,
      "expiry_date_time": "<string>",
      "created_at": "<string>",
      "origination_fee_percent": "<unknown>",
      "percent_of_commission": "<unknown>"
    }
  ],
  "deal_id": "cjoqy7z7r0000b3jx5x2x7x5v"
}

Authorizations

x-upfront-key
string
header
required

Upfront API key

Body

application/json

The application to create

deal_id
string
required
Example:

"cjoqy7z7r0000b3jx5x2x7x5v"

requested_amount
integer | null

The requested amount to advance, in cents.

Required range: x > 1
Example:

900000

Response

The created application

id
string
required
Example:

"cjoqy7z7r0000b3jx5x2x7x5v"

status
enum<string>
required
Available options:
PENDING,
APPROVED,
REJECTED,
ACCEPTED,
DECLINED,
INCOMPLETE
Example:

"PENDING"

decisioned_on
string | null
required
Example:

"2022-01-01T00:00:00Z"

requested_amount
integer | null
required

The requested amount to advance, in cents.

Example:

900000

created_at
string | null
required
Example:

"2022-01-01T00:00:00Z"

offers
object[]
required
deal_id
string
required
Example:

"cjoqy7z7r0000b3jx5x2x7x5v"