---
updatedAt: 2025-05-15T21:03:28.000Z
agentTools:
  projectIndex: https://docs.youlend.com/llms.txt
---

# Approve funding

# OpenAPI definition

```json
{
  "openapi": "3.0.1",
  "info": {
    "title": "YouLend Third Party Onboarding FastTrack API",
    "description": "Through this API you can create new onboarding FastTrack leads.",
    "version": "1.0"
  },
  "servers": [
    {
      "url": "https://partners.staging-youlendapi.com/onboarding/fasttrack"
    }
  ],
  "paths": {
    "/leads/{fastTrackLeadId}/approveFunding": {
      "put": {
        "tags": [
          "FastTrackLeads"
        ],
        "summary": "Approve funding",
        "parameters": [
          {
            "name": "fastTrackLeadId",
            "in": "path",
            "description": "The FastTrack lead Id.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "api-version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "v",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "A YL.Web.Api.ThirdParty.Onboarding.FastTrack.Models.InputModels.ApproveFundingModel containing the data required to approve funding of a FastTrack lead.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ApproveFundingModel"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Funding request succesful."
          },
          "400": {
            "description": "Something else went wrong."
          },
          "401": {
            "description": "Unauthorized request."
          },
          "422": {
            "description": "The model provided has invalid data."
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "ApproveFundingModel": {
        "required": [
          "bankDetail",
          "fundingAmount"
        ],
        "type": "object",
        "properties": {
          "bankDetail": {
            "$ref": "#/components/schemas/BankDetailModel"
          },
          "fundingAmount": {
            "minimum": 0,
            "exclusiveMinimum": true,
            "type": "number",
            "format": "double"
          }
        },
        "additionalProperties": false,
        "description": "A model for approving funding of a fast track lead"
      },
      "BankDetailModel": {
        "type": "object",
        "properties": {
          "accountNumber": {
            "type": "string",
            "nullable": true
          },
          "sortCode": {
            "type": "string",
            "nullable": true
          },
          "iban": {
            "type": "string",
            "nullable": true
          },
          "swift": {
            "type": "string",
            "nullable": true
          },
          "accountCountry": {
            "type": "string",
            "nullable": true
          },
          "accountCurrency": {
            "type": "string",
            "nullable": true
          },
          "masterAccountIban": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      }
    },
    "securitySchemes": {
      "oauth2": {
        "type": "oauth2",
        "flows": {
          "clientCredentials": {
            "tokenUrl": "https://youlend-stag.eu.auth0.com/oauth/token",
            "scopes": {}
          }
        }
      }
    }
  },
  "security": [
    {
      "oauth2": []
    }
  ]
}
```