- Documentation: https://developer.starlingbank.com/payments/docs
- Getting started: https://developer.starlingbank.com/get-started
- Swagger 2.0 definition: https://payment-api-sandbox.starlingbank.com/api/swagger.json
- API Response wrapper classes
- Unit testing
- Create new or improve existing video guideas
- renew (regarding new changes)
- add subtitles
- add voice
- Documentation (Adding metadata for generation documentation from code)
- Simplify client initialization
- Create an Account (Set up a developer account)
- Register Application in the sandbox environment - https://www.youtube.com/watch?v=b8V1kXG9jnk
- Generate a "key pair" and upload to the portal
- Add a sandbox customer with one of the following type:
- Business / Personal / Joint
- Add funds to your Business Customer Account
- Clone and setup "StarlingAPIWrapper" locally - https://www.youtube.com/watch?v=dB80KGWYQy8
- [Optionals] Copy already generated "key pair" to project folder "/keys"
- Create new configuration file or change existing "cfg/sandbox.properties" file with your current sandbox application data.
Make sure that you've set up next properties correctly:
- starling.domain-url - enter their standard sandbox URL https://api-sandbox.starlingbank.com
- starling.signing.keys-dir-path - path where you store already generated "key pair" for example "d:\StarlingAPIWrapper\keys\"
- starling.signing.public-key-uid - unique identifier of your public key that you uploaded to the portal
- starling.access.token - your current access token from your sandbox app options
- Experiment in the sandbox environment
- Run simple test for checking that all is configured correctly
- Build and integrate lib to your project
- Get your application approved
- Open the console
- Go to the project folder
- Make sure the project has a "keys" subfolder, if not create it
- Run the following commands
openssl genrsa -out keys/private_key.pem 2048 openssl genrsa -out keys/rotation_private_key.pem 2048 openssl rsa -in keys/private_key.pem -outform PEM -pubout -out keys/public_key.pem openssl rsa -in keys/rotation_private_key.pem -outform PEM -pubout -out keys/rotation_public_key.pem openssl pkcs8 -in keys/private_key.pem -topk8 -nocrypt -out keys/private_key.der -outform der openssl rsa -in keys/private_key.pem -outform DER -pubout -out keys/public_key.der
This is simple api wrapper in beta stage that provide simple interaction with "Starling Bank" API...
StarlingClient client = new StarlingClient(
<domain url>,
<keys dir path>,
<public key uid>,
<access token>
);Response response = client.getAccount();
System.out.println(response.toString());Response response = client.getAccountBalance(<account uid>);
System.out.println(response.toString());Response response = client.getTransactionFeedItems(accountUid, categoryUid);
System.out.println(response.toString());The gem is available as open source under the terms of the MIT License.
All contributions are welcome - just make a pull request, making sure you include tests and documentation for any public methods. Then write a good, informative commit message/pull request body.