Skip to content

    POST - Orders - Validation of Orders

    POST /orders

    Method: POST

    URI: /orders

    Parent Error Code: 12000 Error while creating order

    HTTP status: 400 Bad Request

    FieldDataTypeRequired forValue RangeLengthExpectationCode
    initialAmountNumberAllgreater then min. authorizing amount in cents and less then 9999999Integer between min. authorizing amount in cents and 999999912200, 12201
    currencyStringYes, when basket is presentProcessing, dependent on payment method and merchant configuration3Currency code in the range of ISO_421712202, 12203
    asyncObjectYes, when basket is presentobject of type async12204
    async.successUrlStringYesClass URL{6 - 2048}Mandatory string representing a valid http URL according to: Class URL and UrlValidator12205, 12206
    async.failureUrlStringYesClass URL{6 - 2048}Mandatory string representing a valid http URL according to: Class URL and UrlValidator12207, 12208
    async.cancelUrlStringYesClass URL{6 - 2048}Mandatory string representing a valid http URL according to: Class URL and UrlValidator12209, 12210
    transactionTypeStringYes[PREAUTH, DEBIT]128Mandatory string PREAUTH or DEBIT12211, 12212
    termsNumberRatepaylongUNIX timestamp in ms12213, 12214
    privacyNumberRatepaylongUNIX timestamp in ms12215, 12216

    Was this helpful?

    What was your feeling about it?