---
title: "Submit payment data"
method: POST
path: "/api/InstantSettlementPreQual/submitpaymentdata"
tags: ["InstantSettlementPreQual"]
---

# Submit payment data

`POST /api/InstantSettlementPreQual/submitpaymentdata`

## Request

- Base URL: `https://partners.staging-youlendapi.com/instantsettlement`
- URL: `https://partners.staging-youlendapi.com/instantsettlement/api/InstantSettlementPreQual/submitpaymentdata`
- Auth: OAuth 2
  - Client credentials
  - Token URL: `https://youlend-stag.eu.auth0.com/oauth/token`

Sample request:
            
    POST /api/InstantSettlementPreQual/submitpaymentdata
    {
        "MerchantId":"mid",
        "LocatorId": "locatorId",
        "MCC":"1234",
        "Sales":[{
            "Amount": 2134,
            "Date": "2020-09-01"
        }, {
            "Amount": 123,
            "Date": "2020-09-01"
        }],
        "Refunds":[{
            "Amount": 123,
            "Date": "2020-09-02"
        }],
        "Chargebacks":[]
    }

## Headers

- `api-version` string

## Request body

- SubmitPaymentDataModel: Model for submitting payment data
  - `merchantId` string, required: Gets or sets MerchantId
  - `locatorId` string, required: Gets or sets LocatorId
  - `mcc` string, required: Gets or sets MCC
  - `sales` Transaction[], nullable: Gets or sets Sales
    - `amount` number, double
    - `date` string, date-time
  - `refunds` Transaction[], nullable: Gets or sets Refunds
    - `amount` number, double
    - `date` string, date-time
  - `chargebacks` Transaction[], nullable: Gets or sets Chargebacks
    - `amount` number, double
    - `date` string, date-time
  - `salesDetails` SalesDetails[], nullable: Gets or sets SalesDetails
    - `count` integer
    - `date` string, date-time

## Response `200`

Successfully submitted payment data

## Other responses

- `400`: Something went wrong!
- `401`: Unauthorized request
- `422`: SubmitPaymentDataModel from request body failed validation
- `500`: Servers are unavailable

---

[API](https://skmtc.dev/youlend/apis/youlend-third-party-instant-settlement-api.md) - [All operations](https://skmtc.dev/youlend/apis/youlend-third-party-instant-settlement-api/llms.txt) - [OpenAPI document](https://skmtc.dev/youlend/apis/youlend-third-party-instant-settlement-api/revisions/68784baa0d13?raw)
