---
updatedAt: 2026-09-03T16:31:50.000Z
agentTools:
  projectIndex: https://docs.youlend.com/llms.txt
---

# Create pushback

# OpenAPI definition

```json
{
  "openapi": "3.0.1",
  "info": {
    "title": "TestSupport",
    "description": "Through this API you can can initiate the process of testsupport a borrower with YouLend",
    "contact": {
      "name": "Mark Ufland",
      "email": "mark.ufland@youlend.com"
    },
    "version": "1.0"
  },
  "servers": [
    {
      "url": "https://partners.staging-youlendapi.com/testsupport"
    }
  ],
  "paths": {
    "/leads/{leadId}/credit-risk/pushbacks": {
      "post": {
        "tags": [
          "Onboarding - Leads"
        ],
        "parameters": [
          {
            "name": "leadId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "api-version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreditRiskPushbackRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreditRiskPushbackRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreditRiskPushbackRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationProblemDetails"
                }
              }
            }
          }
        },
        "summary": "Create pushback"
      }
    }
  },
  "components": {
    "schemas": {
      "CreditRiskPushbackRequest": {
        "required": [
          "reasonCode"
        ],
        "type": "object",
        "properties": {
          "reasonCode": {
            "enum": [
              "PB001",
              "PB002",
              "PB003",
              "PB004",
              "PB005",
              "PB006",
              "PB007",
              "PB008",
              "PB009",
              "PB010",
              "PB011",
              "PB012",
              "PB013",
              "PB014",
              "PB015",
              "PB016",
              "PB017",
              "PB018",
              "PB019",
              "PB020",
              "PB021",
              "PB022",
              "PB023",
              "PB024",
              "PB025",
              "PB026",
              "PB027"
            ],
            "type": "string"
          },
          "note": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ValidationProblemDetails": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "nullable": true
          },
          "title": {
            "type": "string",
            "nullable": true
          },
          "status": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "detail": {
            "type": "string",
            "nullable": true
          },
          "instance": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "object",
            "additionalProperties": {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            "nullable": true
          }
        },
        "additionalProperties": {}
      }
    },
    "securitySchemes": {
      "oauth2": {
        "type": "oauth2",
        "flows": {
          "clientCredentials": {
            "tokenUrl": "https://youlend-stag.eu.auth0.com/oauth/token",
            "scopes": {}
          }
        }
      }
    }
  },
  "security": [
    {
      "oauth2": []
    }
  ],
  "tags": [
    {
      "name": "Onboarding - Leads"
    }
  ]
}
```