This package contains a Go package for interacting with the Kuda bank API.
To use this package, you need to have Go installed on your computer.
- Clone the repository to your local machine.
- Install the dependencies:
go get github.com/seekersoftec/kuda-openapi-go
- Navigate to the examples directory and run the main.go file.
The program generates fake data using the faker package and creates virtual accounts and performs single fund transfers using the Kuda bank API. The generateFakeData() function generates fake data that is used to create virtual accounts. The normalizePhoneNumber() function normalizes phone numbers by replacing the plus sign with zero and replacing the first three digits with a random value. The main() function creates two personas, creates a virtual account for each persona, and then performs a single fund transfer from one virtual account to another.
The following parameters are required to use the program:
- Email: your email address
- ApiKey: your API key
- Live: false (if you want to test on a sandbox environment)
- ShowRequest: false
- ShowHeader: false
This package is licensed under the MIT License.