Skip to content

Commit

Permalink
docs: fix README
Browse files Browse the repository at this point in the history
  • Loading branch information
vamsii777 committed Nov 17, 2024
1 parent b5149e2 commit a583834
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
[![Swift Versions](https://img.shields.io/endpoint?url=https%3A%2F%2Fswiftpackageindex.com%2Fapi%2Fpackages%2Fvamsii777%2Fjuspay-kit%2Fbadge%3Ftype%3Dswift-versions)](https://swiftpackageindex.com/vamsii777/juspay-kit)
[![Platforms](https://img.shields.io/endpoint?url=https%3A%2F%2Fswiftpackageindex.com%2Fapi%2Fpackages%2Fvamsii777%2Fjuspay-kit%2Fbadge%3Ftype%3Dplatforms)](https://swiftpackageindex.com/vamsii777/juspay-kit)

JuspayKit is a Swift package that simplifies integrating with Juspay's payment processing APIs, offering robust interfaces for customers, orders, payment methods, sessions, and refunds. It is designed for asynchronous and concurrent use cases, leveraging Swift's modern concurrency model.
Juspay Kit is a Swift package designed to facilitate seamless integration with Juspays payment processing APIs.

> ⚠️ Note: This library is under active development, and features may be subject to change. Feedback, bug reports, and contributions are appreciated!
Expand Down Expand Up @@ -31,23 +31,18 @@ dependencies: [
Then add `JuspayKit` as a dependency to your target:

```swift
.target(name: "JuspayKit", dependencies: ["juspay-kit"]),
.product(name: "JuspayKit", package: "juspay-kit")
```

## Getting Started

### Importing the Library

```swift
import JuspayKit
import AsyncHTTPClient
```

### Client Initialization

The main entry point for interacting with Juspay APIs is `JuspayClient`. Initialize the client by providing an HTTP client, API key, merchant ID, and environment setting.

```swift
import JuspayKit

let client = JuspayClient(
httpClient: HTTPClient.shared,
apiKey: "your_api_key",
Expand Down

0 comments on commit a583834

Please sign in to comment.