This repository was archived by the owner on Feb 7, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 11
Example Flows
Andreas Borglin edited this page Nov 27, 2018
·
1 revision
{
"name": "coffeeSale",
"type": "sale",
"description": "Sale flow for coffee shop",
"restrictedToApp": "com.aevi.sdk.demo.pos",
"apiMajorVersion": 2,
"stages": [
{
"appExecutionType": "SINGLE",
"name": "PRE_FLOW"
},
{
"name": "SPLIT",
"appExecutionType": "SINGLE",
"flowApps": [
{
"id": "com.aevi.sdk.demo.partpay"
}
],
"innerFlow": {
"stages": [
{
"appExecutionType": "MULTIPLE",
"name": "PRE_TRANSACTION"
},
{
"appExecutionType": "SINGLE_SELECT",
"name": "PAYMENT_CARD_READING",
"flowApps": [
{
"id": "com.aevi.sdk.demo.pa"
}
]
},
{
"appExecutionType": "MULTIPLE",
"name": "POST_CARD_READING",
"flowApps": [
{
"id": "com.aevi.sdk.demo.loyalty"
}
]
},
{
"appExecutionType": "SINGLE_SELECT",
"name": "TRANSACTION_PROCESSING",
"flowApps": [
{
"id": "com.aevi.sdk.demo.pa"
}
]
},
{
"appExecutionType": "MULTIPLE",
"name": "POST_TRANSACTION",
"flowApps": [
{
"id": "com.aevi.sdk.demo.loyalty"
},
{
"id": "com.aevi.sdk.demo.receipt"
}
]
}
],
"type": "transaction"
}
},
{
"appExecutionType": "SINGLE",
"name": "POST_FLOW"
}
]
}{
"name": "sampleTokenisation",
"type": "tokenisation",
"description": "sample tokenisation flow",
"apiMajorVersion": 2,
"stages": [
{
"appExecutionType": "SINGLE",
"name": "GENERIC",
"flowApps": [
{
"id": "com.aevi.sdk.pos.flow.paymentservicesample"
}
]
},
{
"appExecutionType": "SINGLE",
"name": "POST_GENERIC",
"flowApps": [
{
"id": "com.aevi.sdk.pos.flow.flowservicesample"
}
]
}
]
}
See main page