Quickstart Guide
Get up and running with the Open Banking API in just a few minutes. This guide will walk you through registering your application, authenticating, and making your first API call.Prerequisites
Before you begin, ensure you have:- Valid contact information (name, email address, phone number, and address)
- A valid business email address
- Basic knowledge of REST APIs and OAuth 2.0
- A secure HTTPS redirect URL for OAuth 2.0 callbacks
- A development environment ready
Quick Start
Register Application
First, Register your application using Dynamic Client Registration API and get your credentials (client id and secret)
Sample Request
Sample Request
In sandbox, you’ll receive credentials immediately whereas in production, the credential status will be
PENDING_APPROVAL. Once approved by Sparkle team, you will be notified, you can call the GET /dcr API to retrieve your credentials.Authenticate customer and get their authorisation to access their resoruces
Authenticate customer and get their approval to access their resources (e.g. Account information resources, Payment Initiation etc). There are 4 main method for authorisation, choose whichever is most applicable:
- Device Code Authorisation - For dumb devices i.e. where customer
does nothave the capability to complete Sparkle authentication on a desktop computer or smart phone i.e. they can only authenticate via USSD or SMS - Authorisation code - For smart devices i.e. where customer has capability to complete Sparkle authentication on a desktop computer or smart phone
- Authorisation code with PKCE - For smart (unsafe) devices e.g. Single Page Applications
- Client Credentials - For API resources that does not require customer consent/approval e.g. Get Biller Categories
Sample Request
Sample Request
Make API call
Make your first API call to retrieve customer informationNow you can make API calls using your access token:
Sample Request
Sample Request
Build your application
Build your application using our comprehensive APIs
Next Steps
Congratulations! You’ve successfully:- ✅ Registered your application
- ✅ Implemented OAuth authentication
- ✅ Made your first API call
- Customer Management - Manage customer information and relationships
- Account Information - Get detailed account data
- Transfers - Process money transfers between accounts
- Bill Payment - Process money transfers between accounts
- Card Management - Manage Payment Cards
- Loan Information - Access customer Loan Information
Remember to store your credentials securely and never expose them in client-side code.For Single Page Applications (SPA), use OAuth 2.0 with PKCE. Always use environment variables for sensitive information.