Skip to content

mani1232/KPayPal

Repository files navigation

KPayPal


KPayPal is a coroutine-based, implementation of the PayPal API, written 100% in Kotlin.

PayPal Rest api

This is a table of what will be added or is already in this library.

API Name Version Links Status
Add Tracking v1 API Reference Coming soon... 🚧 🚧
Catalog Products v1 API Reference Coming soon... 🚧 🚧
Disputes v1 API Reference Coming soon... 🚧 🚧
Invoices v1 API Reference Deprecated... 📛 📛
Invoices v2 API Reference Coming soon... 🚧 🚧
Orders v1 API Reference Deprecated... 📛 📛
Orders v2 API Reference In dev... ✅
Partner Referrals v1 API Reference Deprecated... 📛 📛
Partner Referrals v2 API Reference Coming soon... 🚧 🚧
Payment Experience v1 API Reference Coming soon... 🚧 🚧
Payment Method Tokens v3 API Reference Coming soon... 🚧 🚧
Payments v1 API Reference Deprecated... 📛 📛
Payments v2 API Reference Coming soon... 🚧 🚧
Payouts v1 API Reference Coming soon... 🚧 🚧
Subscriptions v1 API Reference Coming soon... 🚧 🚧
Transaction Search v1 API Reference Coming soon... 🚧 🚧
Webhooks Management v1 API Reference Coming soon... 🚧 🚧

Installation

Replace {version} with the latest version number.

For Snapshots replace {version} with {branch}-SNAPSHOT

e.g: feature-amazing-thing-SNAPSHOT for the branch feature/amazing-thing

For Snapshots for the branch master replace {version} with {nextPlannedApiVersion}-SNAPSHOT (see nextPlannedApiVersion in gradle.properties)

Gradle (Kotlin)

repositories {
    mavenCentral()
    maven("https://repo.worldmandia.cc/releases")
    // Snapshots Repository (Optional):
    maven("https://repo.worldmandia.cc/snapshots")
}

dependencies {
    implementation("cc.worldmandia:kpaypal-api:{version}")
}

Gradle (Groovy)

repositories {
    mavenCentral()
    maven {
        url "https://repo.worldmandia.cc/releases"
    }
    // Snapshots Repository (Optional):
    maven {
        url "https://repo.worldmandia.cc/snapshots"
    }
}

dependencies {
    implementation("cc.worldmandia:kpaypal-api:{version}")
}

Maven

Repository:
<repository>
    <id>snapshots-repo</id>
    <url>https://repo.worldmandia.cc/releases</url>
    <releases>
        <enabled>true</enabled>
    </releases>
    <snapshots>
        <enabled>false</enabled>
    </snapshots>
</repository>
Snapshots Repository (Optional):
<repository>
    <id>snapshots-repo</id>
    <url>https://repo.worldmandia.cc/snapshots</url>
    <releases>
        <enabled>false</enabled>
    </releases>
    <snapshots>
        <enabled>true</enabled>
    </snapshots>
</repository>

<dependency>
    <groupId>cc.worldmandia</groupId>
    <artifactId>kpaypal-api-jvm</artifactId>
    <version>{version}</version>
</dependency>

FAQ

Will you support other kotlin targets

We currently support Kotlin/JVM and Kotlin/Js, there are no plans to add support for other targets, but you are welcome to do so.

About

Idiomatic Kotlin Wrapper for PayPal API

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages