A clean, modern Go client for interacting with Scotiabank's API.
ScotiaFetch is a Go client library that provides seamless integration with Scotiabank's banking services API. This client was generated using OpenAPI Generator based on Scotiabank's official API specifications.
With ScotiaFetch, you can access account information, transactions, credit card details, rewards, and more from your Go applications.
- Account summaries and balances
- Credit card information and transactions
- Banking transaction history
- Reward program details
- Campaign information
go get github.com/vpnda/scotiafetchgo get github.com/stretchr/testify/assert
go get golang.org/x/net/contextimport (
"context"
openapi "github.com/vpnda/scotiafetch"
)
func main() {
client := openapi.NewAPIClient(openapi.NewConfiguration())
ctx := context.Background()
// Get account summary
summary, resp, err := client.DefaultAPI.ApiAccountsSummaryGet(ctx).Execute()
if err != nil {
// Handle error
}
// Use summary data...
}os.Setenv("HTTP_PROXY", "http://proxy_name:proxy_port")ctx := context.WithValue(context.Background(), openapi.ContextServerIndex, 1)ctx := context.WithValue(context.Background(), openapi.ContextServerVariables, map[string]string{
"basePath": "v2",
})All URIs are relative to https://secure.scotiabank.com
| Endpoint | Description |
|---|---|
GET /api/accounts/summary |
Get accounts summary |
GET /api/campaigns |
Get marketing campaigns |
GET /api/cards/{cardId} |
Get card details |
GET /api/credit/{creditId} |
Get credit account details |
GET /api/credit/{creditId}/transactions |
Get credit account transactions |
GET /api/mpsa-accounts/{accountId} |
Get MPSA account details |
GET /api/mpsa-accounts/{accountId}/transactions |
Get MPSA account transactions |
GET /api/rewards/{rewardId} |
Get rewards information |
GET /api/transactions/deposit-accounts/{depositAccountId} |
Get deposit account transactions |
For detailed documentation of all models and endpoints, see the docs directory.
Victor Pineda