Skip to content

Commit

Permalink
doc: rename state to pendingVerifyAuthorization, add question about n…
Browse files Browse the repository at this point in the history
…otification of transactionRequestState:ACCEPTED
  • Loading branch information
eoln committed Mar 8, 2021
1 parent 4acc45e commit 1cd8a66
Showing 1 changed file with 14 additions and 8 deletions.
22 changes: 14 additions & 8 deletions docs/sequence/PISPTransactionApi.puml
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ activate DFSP_SDK_OUT
DFSP_SDK_OUT -> Switch: POST /authorization
activate Switch
Switch --> DFSP_SDK_OUT: 202 Accepted
DFSP_SDK_OUT -> DFSP_SDK_OUT: waiting on PUT /authorization/{id}
DFSP_SDK_OUT -> DFSP_SDK_OUT: waiting on PUT /authorization/{transactionRequestId}
deactivate DFSP_SDK_OUT
Switch -> PISP_TP_IN: POST /authorizations
activate PISP_TP_IN
Expand Down Expand Up @@ -259,16 +259,16 @@ activate PISP_TM
rnote right of PISP_TM: state: approvalReceived


PISP_TM -> Switch: PUT /authorizations/{id}
PISP_TM -> Switch: PUT /authorizations/{transactionRequestId}
activate Switch
Switch --> PISP_TM: 202 Accepted
rnote right of PISP_TM: state: pendingTransaction
rnote right of PISP_TM: state: pendingVerifyAuthorization
deactivate PISP_TM
Switch -> DFSP_SDK_IN: PUT /authorization/{id}
Switch -> DFSP_SDK_IN: PUT /authorization/{transactionRequestId}
activate DFSP_SDK_IN
DFSP_SDK_IN --> Switch: 202 Accept
deactivate Switch
DFSP_SDK_IN -> DFSP_SDK_OUT: notify about PUT /authorization/{id}
DFSP_SDK_IN -> DFSP_SDK_OUT: notify about PUT /authorization/{transactionRequestId}
activate DFSP_SDK_OUT
DFSP_SDK_OUT -> DFSP_TM: 200: AuthorizationInformation
note over DFSP_TM
Expand Down Expand Up @@ -310,6 +310,15 @@ DFSP_TM -> DFSP_TM: persist transactionRequestState for transactionRequestId

note over DFSP_TM
DFSP is happy, so initiates the Transfer for transferId
**Question:** maybe here we should notifiy PISP
that Authorization recevied is OK
and DFSp will initiate Transfer

PUT or PATCH /thirdpartyRequest/transactions/{transactionRequestId}
{
transactionRequestState: **ACCEPTED**
}
then PISP can visualise progress of requested transaction to the User
end note
DFSP_TM -> DFSP_TM: transfer(transferId)
rnote right of DFSP_TM: state: pendingTransfer
Expand Down Expand Up @@ -349,7 +358,4 @@ PISP_TP_OUT --> PISP: 200 OK
deactivate PISP_TP_OUT
deactivate PISP




@enduml

0 comments on commit 1cd8a66

Please sign in to comment.