KPayPal is a coroutine-based, implementation of the PayPal API, written 100% in Kotlin.
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... 🚧 🚧 |
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
)
repositories {
mavenCentral()
maven("https://repo.worldmandia.cc/releases")
// Snapshots Repository (Optional):
maven("https://repo.worldmandia.cc/snapshots")
}
dependencies {
implementation("cc.worldmandia:kpaypal-api:{version}")
}
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}")
}
<repository>
<id>snapshots-repo</id>
<url>https://repo.worldmandia.cc/releases</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
<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>
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.