Please enable JavaScript.
Coggle requires JavaScript to display documents.
Client Back-end (ETA Back-end) Tasks (check status? (consent, payment,…
Client Back-end
(ETA Back-end)
Tasks
Redirect to auth server (
/authorize
endpoint)
Send request to Banking API to execute the payment
Send a request to domestic payments consent and get consentID in return
check status?
consent
payment
authorization
handle errors?
Client Backend
(ETA backend)
Details
Get payment request from ETA frontend
Get access token from auth server using private_key_jwt
Send domestic payment consent request to consent API and get consentID in return
Redirect to auth server (
/authorize
endpoint)
Get authorization code from auth server and send token request to
/token
endpoint
Accept the access token and send a request to banking API(/demestic-payments) to execute the payment
Get Transaction ID as a response.
Endpoints
/
pay
(POST) - get request from ETA front-end (details of the payment)
/
token
(GET) - get authorization code from auth server