Skip to content

OpenPSD/model-tpp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

model-tpp

Model implementation for TPPs as AISP and PISP

  • 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.

Test case 1:

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.

A successfull call will return:

Test Create and authorise Payment with Embedded SCA

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"} } }

About

Model implementation for TPPs as AISP and PISP

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published