Paymongo client for kotlin
- Source
- Create source
- Get source by id
- Payments
- Create payment
- List all payments
- Get payment by id
- Payment Intents
- Create payment intent
- Get payment intent by id and or client key
- Attach payment intent
- Payment Method
- Create payment method
- Get payment method by id
- Update payment method by id
- Get List of possible merchant payment methods
- Webhooks
- Create webhook
- Get webhook
- Get webhooks
- Enable/Disable webhook
- Update webhook
- Link
- Create a link
- Get link by id
- Get link by reference number
- Archive link
- Unarchive link
- Refunds
- Refund resource
- Create refund
- Retrieve a refund
- List all refunds
- Customers
https://developers.paymongo.com/reference
val config = Paymongo.Config.apply{
secretKey = "sk_123456"
}
val client = PayMongo(config)
https://github.com/ronjunevaldoz/KotlinPaymongo/wiki/Ktor-Webhook
repositories {
mavenCentral()
}
implementation("io.github.ronjunevaldoz:paymongo-kotlin:<VERSION>")
implementation("io.github.ronjunevaldoz:paymongo-kotlin-<PLATFORM>:<VERSION>")
https://developers.paymongo.com/docs/community-made-libraries