- Download the PSD2-server implementation
- Download the model-tpp implementation
- Call
go run main.go
of PSD2-server and model-tpp on a unix shell - Call
http://localhost:8080/test/payments/embedded
from Postman e.g.
This will execute an embedded SCA payment initiation on the PSD2 server, a corresponding PSU authentification and the OTP verification.
Other test cases will follow.
Payment created:{ "transactionStatus": "RCVD", "paymentId": "axa-pay-paymentid-1234", "_links": { "startAuthenticationWithPsuAuthentication": {"href": "/payments/axa-pay-paymentid-1234/authorisations"}, "self": {"href": "/payments/axa-pay-paymentid-1234"} } }
Payment PSU authenticated:{ "scaStatus": "psuAuthenticated", "_links":{ "authoriseTransaction": {"href": "/payments/axa-pay-paymentid-1234/authorisations/123axa-auth456"} } }
Payment OTP verified:{ "scaStatus": "finalised", "_links":{ "scaStatus": {"href":"/payments/axa-pay-paymentid-1234/authorisations/123axa-auth456"} } }