---
updatedAt: 2026-08-27T13:52:09.000Z
agentTools:
  projectIndex: https://docs.youlend.com/llms.txt
---

# Submit JSON payment data.

For some partners, YouLend can use partner provided payment data in underwriting.

# OpenAPI definition

```json
{
  "openapi": "3.0.1",
  "info": {
    "title": "Onboarding",
    "description": "Through this API you can can initiate the process of onboarding a borrower with YouLend",
    "contact": {
      "name": "Mark Ufland",
      "email": "mark.ufland@youlend.com"
    },
    "version": "1.0"
  },
  "servers": [
    {
      "url": "https://partners.staging-youlendapi.com/onboarding"
    }
  ],
  "paths": {
    "/Leads/{leadId}/paymentdata": {
      "post": {
        "tags": [
          "Enrich an Application"
        ],
        "summary": "Submit JSON payment data.",
        "parameters": [
          {
            "name": "leadId",
            "in": "path",
            "description": "The lead id .",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "api-version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "The payment data model.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PaymentDataModel"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "PaymentDataModel": {
        "required": [
          "paymentData"
        ],
        "type": "object",
        "properties": {
          "paymentData": {
            "minItems": 1,
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PaymentDataRowModel"
            },
            "description": "Gets or sets the list of payment data."
          }
        },
        "additionalProperties": false,
        "description": "Model for payment data in JSON format for a company."
      },
      "PaymentDataRowModel": {
        "required": [
          "currencyISOCode",
          "paymentDate"
        ],
        "type": "object",
        "properties": {
          "paymentDate": {
            "minLength": 1,
            "type": "string",
            "description": "Gets or sets the date of the payment.",
            "format": "date-time"
          },
          "amount": {
            "minimum": 0,
            "type": "number",
            "description": "Gets or sets the amount of the payment.",
            "format": "double"
          },
          "currencyISOCode": {
            "minLength": 1,
            "type": "string",
            "description": "Gets or sets the currency of the payment."
          },
          "chargeback": {
            "type": "number",
            "description": "Gets or sets the Chargeback of the payment.",
            "format": "double"
          },
          "merchantId": {
            "type": "string",
            "description": "Gets or sets the MerchantId of the payment.",
            "nullable": true
          },
          "processor": {
            "enum": [
              "IZETTLE",
              "Paypal",
              "StichtingCustodia",
              "Etsy",
              "ADYEN",
              "eBay",
              "Flipdish",
              "Shopify",
              "HOPT",
              "YOELLO",
              "Stripe",
              "UberEats",
              "WORLDPAY",
              "FDMS",
              "Dojo",
              "Deliveroo",
              "AIB",
              "AmericanExpress",
              "BarclayCard",
              "Elavon",
              "Youlend",
              "EvoPayments",
              "GOCARDLESS",
              "JustEat",
              "SagePayments",
              "AIRBNB",
              "Amazon",
              "Borgun",
              "GlobalPayments",
              "CARDNET",
              "Checkout",
              "Clearhaus",
              "Clearpay",
              "EMERCHANTPAY",
              "Fruugo",
              "Klarna",
              "Payables",
              "Payoneer",
              "SQUARE",
              "Sumup",
              "TrustPayments",
              "Valitor",
              "Venmo",
              "Afterpay",
              "Modulo",
              "Cashflows",
              "Datman",
              "Ecomm365",
              "EnixServices",
              "FantasticServices",
              "Globepay",
              "VivaWallet",
              "HungryPanda",
              "Clubwise",
              "MYPAY",
              "OrderYoYo",
              "Saltpay",
              "SixPayments",
              "Streamline",
              "Payacard",
              "Creditcall",
              "Dejavoo",
              "EposNow",
              "Optomany",
              "ValorPay",
              "Bol",
              "Brainpoint",
              "Mollie",
              "Thuisbezorgd",
              "Sisow",
              "Buckaroo",
              "EtenZoBesteld",
              "Multisafepay",
              "PayFastForward",
              "Sepay",
              "Bezorgland",
              "paynl",
              "INGDDC",
              "DerdengeldenCCV",
              "RaboOmniKassa",
              "AuthoriseNet",
              "Bancontact",
              "BlueSnap",
              "CyberSourceDirect",
              "MyVirtualMerchant",
              "NMI",
              "Paymetric",
              "myPOSGo",
              "Yomani",
              "Yoximo",
              "SEPA",
              "HiPay",
              "PayPlug",
              "IcePay",
              "WorldLine",
              "Ogone",
              "IngenicoEpayments",
              "Belfius",
              "Payconiq",
              "SmilePay",
              "Yavin",
              "KBC",
              "PayU",
              "CréditAgricole",
              "PayLane",
              "DotPay",
              "PayByNet",
              "Prezelewy24",
              "eCard",
              "myPOS",
              "mPOS",
              "Blik",
              "eService",
              "XEPAY",
              "Rapyd",
              "PolskieEPłatności",
              "BlueMedia",
              "iKasa",
              "Okto",
              "ManagePay",
              "PolCard",
              "tPay",
              "PlanetPay",
              "SORBNET",
              "DinersClub",
              "Discover",
              "UnionPay",
              "PeoPay",
              "JCB",
              "ProtxVPSDirect",
              "Globalcollect",
              "Wirecard",
              "Bitpay",
              "AlliedWallet",
              "Skrill",
              "BBVA",
              "Santander",
              "Bankia",
              "Sabadell",
              "TPV",
              "Moloni",
              "Addonpayments",
              "Braintree",
              "SEPADirectDebit",
              "KlikPay",
              "UniversalPay",
              "Payxpert",
              "Paymill",
              "Neteller",
              "Payretailers",
              "Securionpay",
              "Monei",
              "Redsys",
              "Cecabank",
              "Fasterpay",
              "Thryn",
              "Paysimple",
              "TwoCheckout",
              "PasarelaDePago",
              "Shift4"
            ],
            "type": "string",
            "description": "Gets or sets processor."
          }
        },
        "additionalProperties": false,
        "description": "Model for a payment data row."
      },
      "ProblemDetails": {
        "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
          }
        },
        "additionalProperties": {}
      }
    },
    "securitySchemes": {
      "oauth2": {
        "type": "oauth2",
        "flows": {
          "clientCredentials": {
            "tokenUrl": "https://youlend-stag.eu.auth0.com/oauth/token",
            "scopes": {}
          }
        }
      }
    }
  },
  "security": [
    {
      "oauth2": []
    }
  ],
  "tags": [
    {
      "name": "Enrich an Application"
    }
  ]
}
```