Skip to content

Commit

Permalink
Merge pull request #10 from AntoineAugusti/specification-4.00
Browse files Browse the repository at this point in the history
Updates for specification version 4.00
  • Loading branch information
AntoineAugusti authored Nov 16, 2016
2 parents c5c7730 + c69fc6e commit 2032720
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
5 changes: 3 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,13 @@ matrix:
- go: 1.4
- go: 1.5
- go: 1.6
- go: 1.7
- go: tip
allow_failures:
- go: tip

script:
- go get -t -v $(go list ./...)
- if [[ $TRAVIS_GO_VERSION == 1.6* ]]; then diff -u <(echo -n) <(gofmt -d .); fi
- if [[ $TRAVIS_GO_VERSION == 1.6* ]]; then go vet $(go list ./...); fi
- if [[ $TRAVIS_GO_VERSION == 1.7* ]]; then diff -u <(echo -n) <(gofmt -d .); fi
- if [[ $TRAVIS_GO_VERSION == 1.7* ]]; then go vet $(go list ./...); fi
- go test -v -race $(go list ./...)
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Modulus checking is a procedure for validating sort code and account number comb
If you want to know more about modulus checking, read this [GoCardless guide](https://gocardless.com/guides/posts/modulus-checking/).

## Validity
This package follows the Vocalink specification, version 3.90, that will be live on 13/06/2016. More information about the specification can be seen on the [Vocalink website](https://www.vocalink.com/customer-support/modulus-checking).
This package follows the Vocalink specification, version 4.00, that will be live on 09/01/2017. More information about the specification can be seen on the [Vocalink website](https://www.vocalink.com/customer-support/modulus-checking).

## API
If you prefer to send request to a web service, take a look at the package [moduluschecking-api](https://github.com/AntoineAugusti/moduluschecking-api) that offers an API to validate UK bank account numbers, supporting authentication and rate limits.
Expand All @@ -28,7 +28,7 @@ The following institutions are supported:
| Northern | Orwell Union Ltd | Royal Bank of Scotland |
| Santander | Secure Trust | Tesco Bank |
| TSB | Ulster Bank | Unity Trust Bank |
| Virgin Bank | Woolwich | Williams & Glyn |
| Virgin Bank | Woolwich | Starling Bank |
| Yorkshire Bank | - | - |

## Included data files
Expand Down
1 change: 1 addition & 0 deletions data/weights.txt
Original file line number Diff line number Diff line change
Expand Up @@ -888,6 +888,7 @@
601403,608028,MOD11,0,0,0,0,0,0,8,7,6,5,4,3,2,1
608301,608301,MOD10,0,0,0,0,0,0,7,1,3,7,1,3,7,1
608316,608316,MOD10,0,0,0,0,0,0,8,7,6,5,4,3,2,1
608371,608371,MOD11,0,0,0,0,0,0,2,8,4,3,7,5,6,1
609593,609593,MOD10,0,0,0,0,0,0,7,1,3,7,1,3,7,1
609599,609599,MOD10,0,0,0,0,0,0,0,5,7,5,2,1,2,1
640001,640001,MOD11,0,0,0,0,0,0,8,7,6,5,4,3,2,1
Expand Down

0 comments on commit 2032720

Please sign in to comment.