getneo
  1. Schemas
getneo
  • Introduction
  • API examples
  • Technical topics
    • API structure
    • HTTP headers
    • Decoupled responses
    • Validation failures (418)
  • Endpoints
    • Auth
      • Get service bearer token (password)
        GET
      • Change tenant
        GET
      • Close session
        GET
    • Counterparties
      • Get all counterparties
        GET
      • Get counterparty by ID
        GET
      • Get draft counterparty by ID
        GET
      • Submit counterparty draft
        POST
      • Update counterparty draft
        POST
      • Delete a counterparty draft
        DELETE
      • Add account to counterparty
        POST
      • Update counterparty account
        PATCH
      • Export counterparty data
        POST
    • Payments
      • Get all payments
        GET
      • Get a payment by ID
        GET
      • Make a payment (deposit, withdrawal or internal)
        POST
    • Trading
      • Quote order
      • Submit order
    • Wallets
      • Get all wallets
      • Get a wallet by ID
  • Schemas
    • Schemas
      • Components
        • AmountModel
        • AmountModelWithRate
        • BaseableAmountModel
        • CorpModel
        • IbanModel
        • TenantInfo
        • WalletModel
        • WalletLedgerModelV5
        • OrderLegAccount
      • Enums
        • OrderTypes
      • Reference
        • actions
        • bic_swift
        • country
        • currency
        • entity_key
      • Responses
        • CorpWalletModelV2
        • FullIdentityResponse
        • IdentityResponse
      • Forms
        • OrderQuoteForm
      • counterpartyAccountModelV3
      • ibanSlim
      • accountInfo
      • counterpartyAttachmentsResponseModel
      • accountOwnerModel
      • counterpartyModelV3
      • accountSlim
      • intermediaryBankAccountModel
      • addressModel
      • amountSlim
      • commissionResponseModel
      • confirmationDocumentResponseModel
      • counterpartyAccountModelV2
      • counterpartyModelV2
      • forwardRateModel
      • invoiceableAmountModel
      • leg
      • marginResponseModel
      • marketInfoResponseModel
      • markToMarketResponseModel
      • orderPaymentResponseModel
      • orderQuoteResponse
      • orderSettlementResponseModel
      • paymentAccountModel
      • paymentAttachmentsResponseModel
      • paymentBlotterItemModelV2
      • paymentCounterpartyAccountModel
      • paymentCounterpartyModel
      • paymentDestinationModel
      • paymentFeesChargeModel
      • paymentFeeSlim
      • paymentForm
      • paymentItemSlimModel
      • paymentSourceForm
      • paymentSourceModel
      • paymentTrackingSource
      • personModel
      • quotePriceModel
      • rateModel
      • rejectForm
      • reversableRateModel
      • settlementInstructionsModel
      • specifiedPaymentFee
      • swapInfoModel
      • tickPriceModel
      • tickRateModel
      • tradeLimitsModel
    • Response
      • standard-Validation-Failure
  1. Schemas

leg

{
    "action": "buy",
    "actions": [
        "string"
    ],
    "amount": {
        "amountActual": {
            "amount": 0,
            "currency": "EUR",
            "minorUnit": 2
        },
        "amountBase": {
            "amount": 0,
            "currency": "EUR",
            "minorUnit": 2,
            "rate": 0
        },
        "baseFixingRate": 0,
        "conversionRate": 0
    },
    "buyAmount": {
        "amountActual": {
            "amount": 0,
            "currency": "EUR",
            "minorUnit": 2
        },
        "amountBase": {
            "amount": 0,
            "currency": "EUR",
            "minorUnit": 2,
            "rate": 0
        },
        "baseFixingRate": 0,
        "conversionRate": 0
    },
    "ccyBuy": "string",
    "ccyPair": "string",
    "ccySell": "string",
    "clientReference": "string",
    "externalSettlementInstructionsDestination": {
        "accountHolder": "string",
        "accountHolderAddress": {
            "address1": "string",
            "address2": "string",
            "city": "string",
            "country": "ESP",
            "county": "string",
            "postCode": "string"
        },
        "accountNumber": "string",
        "bankName": "string",
        "bicSwift": "string",
        "countryCode": "string",
        "iban": "string",
        "isIban": true,
        "settlementAmount": {
            "amountActual": {
                "amount": 0,
                "currency": "EUR",
                "minorUnit": 2
            },
            "amountBase": {
                "amount": 0,
                "currency": "EUR",
                "minorUnit": 2,
                "rate": 0
            },
            "baseFixingRate": 0,
            "conversionRate": 0
        }
    },
    "externalSettlementInstructionsSource": {
        "accountHolder": "string",
        "accountHolderAddress": {
            "address1": "string",
            "address2": "string",
            "city": "string",
            "country": "ESP",
            "county": "string",
            "postCode": "string"
        },
        "accountNumber": "string",
        "bankName": "string",
        "bicSwift": "string",
        "countryCode": "string",
        "iban": "string",
        "isIban": true,
        "settlementAmount": {
            "amountActual": {
                "amount": 0,
                "currency": "EUR",
                "minorUnit": 2
            },
            "amountBase": {
                "amount": 0,
                "currency": "EUR",
                "minorUnit": 2,
                "rate": 0
            },
            "baseFixingRate": 0,
            "conversionRate": 0
        }
    },
    "floatAmount": {
        "amountActual": {
            "amount": 0,
            "currency": "EUR",
            "minorUnit": 2
        },
        "amountBase": {
            "amount": 0,
            "currency": "EUR",
            "minorUnit": 2,
            "rate": 0
        },
        "baseFixingRate": 0,
        "conversionRate": 0
    },
    "fundsTakenOnSubmit": true,
    "legOrderId": "string",
    "margin": {
        "percent": 0,
        "value": {
            "amount": 0,
            "currency": "EUR",
            "minorUnit": 2
        }
    },
    "marketInfo": {
        "amountBoughtLP": {
            "amountActual": {
                "amount": 0,
                "currency": "EUR",
                "minorUnit": 2
            },
            "amountBase": {
                "amount": 0,
                "currency": "EUR",
                "minorUnit": 2,
                "rate": 0
            },
            "baseFixingRate": 0,
            "conversionRate": 0
        },
        "amountSoldLP": {
            "amountActual": {
                "amount": 0,
                "currency": "EUR",
                "minorUnit": 2
            },
            "amountBase": {
                "amount": 0,
                "currency": "EUR",
                "minorUnit": 2,
                "rate": 0
            },
            "baseFixingRate": 0,
            "conversionRate": 0
        },
        "lpName": "string",
        "lpTradeRef": "string",
        "rateLP": {
            "ccy1": "string",
            "ccy2": "string",
            "forwardPoints": 0,
            "pipSize": 0,
            "rate": 0,
            "timestamp": "string"
        },
        "venueName": "string",
        "venueTradeId": "string"
    },
    "payFrom": [
        {
            "account": {
                "accountId": "string",
                "accountNumber": "string",
                "accountType": "wallet",
                "alias": "string",
                "counterpartyId": "string"
            },
            "iban": {
                "id": "abcdefghijkl0123456789",
                "iban": "string",
                "alias": "string",
                "bankName": "string",
                "bic": "string",
                "corpName": "string",
                "country": "string",
                "currencies": [
                    "EUR"
                ],
                "ibanType": "string"
            },
            "primaryWallet": {
                "id": "abcdefghijkl0123456789",
                "accountNumber": "string",
                "currency": "EUR",
                "name": "string",
                "type": "unspecified",
                "walletState": "accountVerified"
            }
        }
    ],
    "payTo": [
        {
            "account": {
                "accountId": "string",
                "accountNumber": "string",
                "accountType": "wallet",
                "alias": "string",
                "counterpartyId": "string"
            },
            "amount": 0,
            "counterparty": {
                "accounts": [
                    {
                        "accountNumber": "string",
                        "actions": [
                            "string"
                        ],
                        "additionalCountryAccountInfo": "string",
                        "alias": "string",
                        "bank": "string",
                        "bankAccountId": "string",
                        "bankCode": "string",
                        "bic_swift": "string",
                        "country": "string",
                        "currencies": [
                            "string"
                        ],
                        "iban": "string",
                        "intermediaryBank": "string",
                        "isBeneficiary": true,
                        "isPayer": true,
                        "operatorInfo": "string",
                        "parentId": "string",
                        "recurringReference": "string",
                        "routingNumber": "string",
                        "sortCodeUK": "string"
                    }
                ],
                "actions": [
                    "string"
                ],
                "address1": "string",
                "address2": "string",
                "alias": "string",
                "city": "string",
                "country": "string",
                "county": "string",
                "currencies": [
                    "string"
                ],
                "draft": {},
                "email": "string",
                "firstName": "string",
                "id": "string",
                "isBeneficiary": true,
                "isPayer": true,
                "isSelf": true,
                "lastName": "string",
                "name": "string",
                "paymentReason": [
                    "string"
                ],
                "postCode": "string",
                "primaryType": "string",
                "shortfall": 0,
                "shortfallCurrencyCode": "string",
                "state": "draft",
                "status": "draft",
                "subsidiary": "string",
                "subType": "string",
                "thirdPartyType": "string",
                "thirdPartyTypeOther": "string",
                "vanityId": "string"
            },
            "currency": "string",
            "iban": {
                "id": "abcdefghijkl0123456789",
                "iban": "string",
                "alias": "string",
                "bankName": "string",
                "bic": "string",
                "corpName": "string",
                "country": "string",
                "currencies": [
                    "EUR"
                ],
                "ibanType": "string"
            },
            "paymentFees": {
                "amountActual": {
                    "amount": 0,
                    "currency": "EUR",
                    "minorUnit": 2
                },
                "amountBase": {
                    "amount": 0,
                    "currency": "EUR",
                    "minorUnit": 2,
                    "rate": 0
                },
                "baseFixingRate": 0,
                "conversionRate": 0,
                "paymentChargeType": "sha",
                "paymentFee": 0,
                "paymentFeeCurrencyCode": "EUR",
                "paymentFeeDate": "2019-08-24T14:15:22Z",
                "paymentNetwork": "swift",
                "paymentPriority": "none"
            },
            "paymentPurpose": "string",
            "paymentReference": "string",
            "paymentRouteId": 0,
            "paymentTag": "string",
            "primaryWallet": {
                "id": "abcdefghijkl0123456789",
                "accountNumber": "string",
                "currency": "EUR",
                "name": "string",
                "type": "unspecified",
                "walletState": "accountVerified"
            }
        }
    ],
    "rateAllIn": {
        "ccy1": "string",
        "ccy2": "string",
        "forwardPoints": 0,
        "pipSize": 0,
        "rate": 0,
        "timestamp": "string"
    },
    "rateBooked": {
        "ccy1": "string",
        "ccy2": "string",
        "forwardPoints": 0,
        "pipSize": 0,
        "rate": 0,
        "timestamp": "string"
    },
    "rateFilled": {
        "ccy1": "string",
        "ccy2": "string",
        "forwardPoints": 0,
        "pipSize": 0,
        "rate": 0,
        "timestamp": "string"
    },
    "rateLastFixing": {
        "ccy1": "string",
        "ccy2": "string",
        "forwardPoints": 0,
        "pipSize": 0,
        "rate": 0,
        "timestamp": "string"
    },
    "rateNonAllIn": {
        "ccy1": "string",
        "ccy2": "string",
        "forwardPoints": 0,
        "pipSize": 0,
        "rate": 0,
        "timestamp": "string"
    },
    "rateTraded": {
        "ccy1": "string",
        "ccy2": "string",
        "forwardPoints": 0,
        "pipSize": 0,
        "rate": 0,
        "timestamp": "string"
    },
    "sellAmount": {
        "amountActual": {
            "amount": 0,
            "currency": "EUR",
            "minorUnit": 2
        },
        "amountBase": {
            "amount": 0,
            "currency": "EUR",
            "minorUnit": 2,
            "rate": 0
        },
        "baseFixingRate": 0,
        "conversionRate": 0
    },
    "state": "clientOrderNew",
    "tenor": "tod",
    "valueDate": "2019-08-24T14:15:22Z"
}
Built with