{ "definitions" : { "id" : { "description" : "Unique identifier of the object", "identity" : true, "readonly" : true, "type" : "string" }, "account_id" : { "description" : "Fidor account the transaction belongs to.", "type" : "string" }, "user_id" : { "description" : "Identifies the user who created this object", "readonly" : true, "type" : "string" }, "transaction_id" : { "description" : "Identifies a reference to a corresponding transaction", "readonly" : true, "type" : "integer" }, "phone" : { "description" : "A phone or fax number, formatted with country code: +49 123 1233213", "type" : "string", "pattern" : "\\+[ 0-9]*" }, "email" : { "description" : "Email address", "type" : "string", "format" : "email", "maxLength" : 100 }, "twitter" : { "description" : "Twitter username", "type" : "string", "pattern" : "^@(\\w){1,15}$" }, "created_at" : { "description" : "Creation date-time, never changes.", "format" : "date-time", "type" : "string", "readonly" : true }, "updated_at" : { "description" : "Last update date-time.", "format" : "date-time", "type" : "string", "readonly" : true }, "external_uid" : { "description" : "Unique ID of the creator of the transaction. In case a uid is reused for a transaction, it is not executed, this mechanism can be used to prevent double bookings in case of network failure or similar event where transaction status is unknown", "type" : "string", "required" : true }, "iban" : { "description" : "IBAN", "checksum" : "Checksum is calculated as described in ISO 13616-1, 2 digits MOD97 inserted after the country code", "type" : "string", "maxLength" : 34, "pattern" : "^[A-Z]{2}[0-9]{2}[A-Z0-9]{11,30}$" }, "bic" : { "description" : "BIC / Swift code of bank", "type" : "string", "pattern" : "^[A-Z0-9]{8,11}$", "maxLength" : 11 }, "eref" : { "description" : "End-to-end reference.", "type" : "string", "maxLength" : 255 }, "country" : { "description" : "Country code as defined in ISO3166 alpha2. e.g DE, GB", "type" : "string", "minLength" : 2, "maxLength" : 2 }, "currency" : { "description" : "Account currency. ISO 4217 alpha-3 - 3 letter upcase e.g EUR", "type" : "string", "maxLength" : 3, "minLength" : 3, "default" : "EUR" }, "subject" : { "description" : "Transfer subject (reference)", "type" : "string", "pattern" : "^[A-Za-z0-9_\\.\\, &\\-\\/\\+\\*\\$\\%@üöäÜÖÄ߀]*$" }, "amount" : { "description" : "The transferred amount in account currency, two decimal places. Must be greater than 0 e.g. > 0", "type" : "number", "exclusiveMinimum" : true, "minimum" : 0 }, "transaction_type" : { "description" : "Type of the transaction", "enum" : [ "payin_giropay", "payin_paymentnetwork", "payin_credit_note", "payin_debit_note_eze", "payin_debit_note_aba", "payin_credit_note_sepa", "payin_debit_note_sepa_core", "payin_debit_note_sepa_b2b", "payin_fidorpay", "payout_ogone", "payout_paymentnetwork", "payout_credit_note", "payout_debit_note_eze", "payout_credit_note_sepa", "payout_fidorpay", "payout_creditcard", "payout_fee" ], "type" : "string" } } }