{
  "language": "ujn-parts-1-4",
  "journey": {
      "id": "CHECKOUT",
      "title": "Checkout",
      "description": "Pay by card and approve in the bank app. Pay later is planned.",
      "context": null,
      "trace": [],
      "a11y": [],
      "uniqueId": null,
      "uniqueIdPending": false,
      "friendlyNamespace": "checkout"
  },
  "nodes": [
    {
      "key": "from_cart",
      "kind": "start",
      "type": "plain",
      "title": "from_cart",
      "id": null,
      "idAssigned": false,
      "uniqueId": null,
      "uniqueIdPending": false,
      "friendlyId": "checkout.from_cart",
      "flags": [],
      "inherited": [],
      "description": "From the cart",
      "tooltip": null,
      "route": null,
      "trace": [],
      "a11y": [],
      "context": null,
      "style": {}
    },
    {
      "key": "checkout",
      "kind": "view",
      "type": "plain",
      "title": "Checkout",
      "id": null,
      "idAssigned": false,
      "uniqueId": null,
      "uniqueIdPending": false,
      "friendlyId": "checkout.checkout",
      "flags": [],
      "inherited": [],
      "description": "Address and card",
      "tooltip": null,
      "route": "/checkout",
      "collapsed": false,
      "parent": null,
      "behavior": {"focus": "move"},
      "overrides": [],
      "trace": [],
      "a11y": [],
      "context": null,
      "style": {}
    },
    {
      "key": "authorize",
      "kind": "action",
      "type": "action",
      "title": "Authorize payment",
      "id": null,
      "idAssigned": false,
      "uniqueId": null,
      "uniqueIdPending": false,
      "friendlyId": "checkout.authorize",
      "flags": [],
      "inherited": [],
      "description": "Asks the card issuer",
      "tooltip": null,
      "timeout": null,
      "channel": null,
      "trace": [],
      "a11y": [],
      "context": null,
      "style": {}
    },
    {
      "key": "bank_app",
      "kind": "handoff",
      "type": "returns",
      "title": "Bank app",
      "id": null,
      "idAssigned": false,
      "uniqueId": null,
      "uniqueIdPending": false,
      "friendlyId": "checkout.bank_app",
      "flags": [],
      "inherited": [],
      "description": "Approve the payment",
      "tooltip": null,
      "channel": "bank app",
      "timeout": "5 min",
      "resume": null,
      "trace": [],
      "a11y": [],
      "context": null,
      "style": {}
    },
    {
      "key": "confirmed",
      "kind": "view",
      "type": "plain",
      "title": "Order confirmed",
      "id": null,
      "idAssigned": false,
      "uniqueId": "bd51a9c2824",
      "uniqueIdPending": false,
      "friendlyId": "checkout.confirmed",
      "flags": [],
      "inherited": [],
      "description": null,
      "tooltip": null,
      "route": "/orders/:id",
      "collapsed": false,
      "parent": null,
      "behavior": {"focus": "move"},
      "overrides": [],
      "trace": ["req:PAY-04", "test:e2e/checkout.spec.ts"],
      "a11y": [],
      "context": null,
      "style": {}
    },
    {
      "key": "paid",
      "kind": "end",
      "type": "success",
      "title": "paid",
      "id": null,
      "idAssigned": false,
      "uniqueId": null,
      "uniqueIdPending": false,
      "friendlyId": "checkout.paid",
      "flags": [],
      "inherited": [],
      "description": "Order paid",
      "tooltip": null,
      "trace": [],
      "a11y": [],
      "context": null,
      "style": {}
    },
    {
      "key": "psp",
      "kind": "system",
      "type": "external",
      "title": "Payment provider",
      "id": null,
      "idAssigned": false,
      "uniqueId": null,
      "uniqueIdPending": false,
      "friendlyId": "checkout.psp",
      "flags": [],
      "inherited": [],
      "description": null,
      "tooltip": null,
      "host": "api.pay.example",
      "trace": [],
      "a11y": [],
      "context": null,
      "style": {}
    },
    {
      "key": "refused",
      "kind": "end",
      "type": "failure",
      "title": "refused",
      "id": null,
      "idAssigned": false,
      "uniqueId": null,
      "uniqueIdPending": false,
      "friendlyId": "checkout.refused",
      "flags": [],
      "inherited": [],
      "description": "Card refused",
      "tooltip": null,
      "trace": [],
      "a11y": [],
      "context": null,
      "style": {}
    },
    {
      "key": "pay_later",
      "kind": "view",
      "type": "plain",
      "title": "Pay later",
      "id": null,
      "idAssigned": false,
      "uniqueId": null,
      "uniqueIdPending": false,
      "friendlyId": "checkout.pay_later",
      "flags": ["future"],
      "inherited": [],
      "description": "Invoice in 30 days",
      "tooltip": null,
      "route": "/checkout/later",
      "collapsed": false,
      "parent": null,
      "behavior": {"focus": "move"},
      "overrides": [],
      "trace": [],
      "a11y": [],
      "context": null,
      "style": {}
    },
    {
      "key": "transfer",
      "kind": "view",
      "type": "plain",
      "title": "Bank transfer",
      "id": null,
      "idAssigned": false,
      "uniqueId": null,
      "uniqueIdPending": false,
      "friendlyId": "checkout.transfer",
      "flags": ["legacy"],
      "inherited": [],
      "description": "IBAN and reference",
      "tooltip": null,
      "route": "/checkout/transfer",
      "collapsed": false,
      "parent": null,
      "behavior": {"focus": "move"},
      "overrides": [],
      "trace": [],
      "a11y": [],
      "context": null,
      "style": {}
    }
  ],
  "arrows": [
    {
      "from": "from_cart",
      "to": "checkout",
      "kind": "navigation",
      "negative": false,
      "role": "exit",
      "trigger": null,
      "guard": null,
      "payload": [],
      "returns": false,
      "returnLabel": null,
      "direction": null,
      "flags": [],
      "inherited": [],
      "trace": [],
      "context": null,
      "tooltip": null,
      "a11y": [],
      "style": {}
    },
    {
      "from": "checkout",
      "to": "authorize",
      "kind": "navigation",
      "negative": false,
      "role": "exit",
      "trigger": "Pay",
      "guard": null,
      "payload": ["card", "amount"],
      "returns": false,
      "returnLabel": null,
      "direction": null,
      "flags": [],
      "inherited": [],
      "trace": [],
      "context": null,
      "tooltip": null,
      "a11y": [],
      "style": {}
    },
    {
      "from": "authorize",
      "to": "bank_app",
      "kind": "navigation",
      "negative": false,
      "role": "exit",
      "trigger": null,
      "guard": "approval needed",
      "payload": [],
      "returns": false,
      "returnLabel": null,
      "direction": null,
      "flags": [],
      "inherited": [],
      "trace": [],
      "context": null,
      "tooltip": null,
      "a11y": [],
      "style": {}
    },
    {
      "from": "bank_app",
      "to": "confirmed",
      "kind": "return",
      "negative": false,
      "role": "resume",
      "trigger": "Approve",
      "guard": null,
      "payload": [],
      "returns": false,
      "returnLabel": null,
      "direction": null,
      "flags": [],
      "inherited": [],
      "trace": [],
      "context": null,
      "tooltip": null,
      "a11y": [],
      "style": {}
    },
    {
      "from": "confirmed",
      "to": "paid",
      "kind": "navigation",
      "negative": false,
      "role": "exit",
      "trigger": "Done",
      "guard": null,
      "payload": [],
      "returns": false,
      "returnLabel": null,
      "direction": "down",
      "flags": [],
      "inherited": [],
      "trace": [],
      "context": null,
      "tooltip": null,
      "a11y": [],
      "style": {}
    },
    {
      "from": "authorize",
      "to": "psp",
      "kind": "navigation",
      "negative": false,
      "role": "call",
      "trigger": null,
      "guard": null,
      "payload": ["card", "amount"],
      "returns": false,
      "returnLabel": null,
      "direction": "up",
      "flags": [],
      "inherited": [],
      "trace": [],
      "context": null,
      "tooltip": null,
      "a11y": [],
      "style": {}
    },
    {
      "from": "psp",
      "to": "authorize",
      "kind": "return",
      "negative": false,
      "role": "reply",
      "trigger": null,
      "guard": null,
      "payload": ["result"],
      "returns": false,
      "returnLabel": null,
      "direction": null,
      "flags": [],
      "inherited": [],
      "trace": [],
      "context": null,
      "tooltip": null,
      "a11y": [],
      "style": {}
    },
    {
      "from": "authorize",
      "to": "refused",
      "kind": "negative",
      "negative": true,
      "role": "exit",
      "trigger": null,
      "guard": "card refused",
      "payload": [],
      "returns": false,
      "returnLabel": null,
      "direction": "down",
      "flags": [],
      "inherited": [],
      "trace": [],
      "context": null,
      "tooltip": null,
      "a11y": [],
      "style": {}
    },
    {
      "from": "bank_app",
      "to": "checkout",
      "kind": "return",
      "negative": true,
      "role": "resume",
      "trigger": "Decline",
      "guard": null,
      "payload": [],
      "returns": false,
      "returnLabel": null,
      "direction": null,
      "flags": [],
      "inherited": [],
      "trace": [],
      "context": null,
      "tooltip": null,
      "a11y": [],
      "style": {}
    },
    {
      "from": "checkout",
      "to": "pay_later",
      "kind": "navigation",
      "negative": false,
      "role": "exit",
      "trigger": "Pay later",
      "guard": null,
      "payload": [],
      "returns": false,
      "returnLabel": null,
      "direction": "down",
      "flags": ["future"],
      "inherited": [],
      "trace": [],
      "context": null,
      "tooltip": null,
      "a11y": [],
      "style": {}
    },
    {
      "from": "checkout",
      "to": "transfer",
      "kind": "navigation",
      "negative": false,
      "role": "exit",
      "trigger": "Bank transfer",
      "guard": null,
      "payload": [],
      "returns": false,
      "returnLabel": null,
      "direction": "up",
      "flags": [],
      "inherited": [],
      "trace": [],
      "context": null,
      "tooltip": null,
      "a11y": [],
      "style": {}
    }
  ],
  "warnings": []
}
