Create a transaction

When a 4xx client error occurs, response body may have schema YL.Domain.Messages.ResultWrapper and contain more details on the error.

Possible values of YL.Domain.Messages.ResultWrapper.ErrorType for this endpoint:

2 - Instant settlement not found
4 - Attempted to create a transaction on an Instant Settlement for which automatic creation of loans is disabled.
5 - CurrencyISOCode for the requested transaction does not match the CurrencyISOCode on the Instant Settlement.
6 - Attempted to create transaction with YL.Web.Api.ThirdParty.Loan.InstantSettlement.Models.CreateInstantSettlementTransactionModel.TotalSettlementAmount equal to 0.
7 - Attempted to create a transaction that was not from today.
8 - The size of the requested transaction is too large.
9 - A transaction with the same transaction reference has already been created recently (within last 50 created transactions).

Sample request: POST /api/InstantSettlement/30000001 { "transactionReference": "ref", "currencyISOCode": "GBP", "totalSettlementAmount": 10000, "transactionDate" : "2020-02-16T18:25:43-05:00" }

Language
Credentials
OAuth2
Click Try It! to start a request and see the response here!