[Kassa Compleet] A response to «POST /v1/orders/» for the «Bank Transfer» payment option

{
    "amount": 2500,
    "client": {
        "platform_name": "Mage2.PRO «Kassa Compleet» extension for Magento 2 (https://mage2.pro)",
        "platform_version": "0.1.7",
        "user_agent": "Ginger-Python-ApiClient/0.8.1 Requests/2.11.1 Python/2.7.10"
    },
    "created": "2017-03-07T09:08:02.595572+00:00",
    "currency": "EUR",
    "customer": {
        "address": "Amsterdam Rusland 17",
        "address_type": "billing",
        "country": "NL",
        "email_address": "admin@mage2.pro",
        "first_name": "Dmitry",
        "housenumber": "17",
        "ip_address": "5.9.188.84",
        "last_name": "Fedyuk",
        "locale": "nl_NL",
        "merchant_customer_id": "123",
        "phone_numbers": [
            "+31 20 623 1231"
        ],
        "postal_code": "1012"
    },
    "description": "An example of description.",
    "expiration_period": "PT15M",
    "extra": {
        "aaa": 3,
        "bbb": 5
    },
    "flags": [
        "is-test"
    ],
    "id": "f30a7ad6-59e5-4cc5-96a8-9a2015e9cc7d",
    "last_transaction_added": "2017-03-07T09:08:02.726547+00:00",
    "merchant_id": "0c01d91a-fc38-452c-8b55-6b1a07f720eb",
    "merchant_order_id": "order-234192",
    "modified": "2017-03-07T09:08:03.322837+00:00",
    "order_lines": [
        {
            "amount": 1250,
            "currency": "EUR",
            "ean": "12345",
            "image_url": "https://mage2.pro/uploads/default/original/1X/ed63ec02f0651856b03670a04b03057758b4c8e8.png",
            "merchant_order_line_id": "11",
            "name": "An order item",
            "quantity": 2,
            "type": "physical",
            "url": "https://mage2.pro",
            "vat_percentage": 1750
        }
    ],
    "project_id": "d81c89ad-e9d5-42d0-ad88-f1c580256133",
    "return_url": "https://localhost.com:900/store/checkout/onepage/success/",
    "status": "processing",
    "transactions": [
        {
            "amount": 2500,
            "balance": "test",
            "created": "2017-03-07T09:08:02.726547+00:00",
            "credit_debit": "credit",
            "currency": "EUR",
            "description": "An example of description.",
            "events": [
                {
                    "event": "new",
                    "id": "457401b0-8dec-4b65-963b-ee787573d0dd",
                    "noticed": "2017-03-07T09:08:03.174595+00:00",
                    "occurred": "2017-03-07T09:08:02.726547+00:00",
                    "source": "set_status"
                },
                {
                    "event": "pending",
                    "id": "ac16d008-39d6-4c84-8dfb-2210da3d4c04",
                    "noticed": "2017-03-07T09:08:03.309655+00:00",
                    "occurred": "2017-03-07T09:08:03.309655+00:00",
                    "source": "set_status"
                }
            ],
            "expiration_period": "PT15M",
            "id": "c48a4442-c6bf-4659-85a5-01457ca01ba2",
            "merchant_id": "0c01d91a-fc38-452c-8b55-6b1a07f720eb",
            "modified": "2017-03-07T09:08:03.366323+00:00",
            "order_id": "f30a7ad6-59e5-4cc5-96a8-9a2015e9cc7d",
            "payment_method": "bank-transfer",
            "payment_method_brand": "sepa",
            "payment_method_details": {
                "consumer_bic": "",
                "consumer_iban": "",
                "consumer_name": "",
                "reference": "3210201780985336"
            },
            "product_type": "kassacompleet",
            "project_id": "d81c89ad-e9d5-42d0-ad88-f1c580256133",
            "status": "pending"
        }
    ],
    "webhook_url": "https://mage2.pro"
}

See also: