Skip to content

Latest commit

 

History

History
14 lines (11 loc) · 1013 Bytes

Adapter.md

File metadata and controls

14 lines (11 loc) · 1013 Bytes

How to write a xs2a bank adapter

To create your own adapter you need to implement 4 interfaces and create 2 one-line files.

Steps:

  • Add xs2a-adapter-api dependency to your classpath
  • Extend AbstractAdapterServiceProvider that implements AccountInformationServiceProvider and PaymentInitiationServiceProvider. Don't forget to provide correct bank code otherwise no-one will be able to communicate with your adapter.
  • Provide implementation of AccountInformationService interface.
  • Provide implementation of PaymentInitiationService interface.
  • Create META-INF/services package inside the resources folder
  • Create file with name de.adorsys.xs2a.adapter.api.AccountInformationServiceProvider. It should contain the name of your implementation of AccountInformationServiceProvider
  • Create file with name de.adorsys.xs2a.adapter.api.PaymentInitiationServiceProvider. It should contain the name of your implementation of PaymentInitiationServiceProvider