Add PayU payment link API
Some checks failed
build-and-deploy / build-deploy (push) Failing after 30s

This commit is contained in:
androidlover5842
2026-01-30 07:38:53 +05:30
parent 8263bd9212
commit 1e795bc62f
6 changed files with 377 additions and 0 deletions

View File

@@ -46,3 +46,37 @@ data class PayuQrGenerateResponse(
val currency: String,
val payuResponse: String
)
data class PayuPaymentLinkSettingsUpsertRequest(
val merchantId: String,
val accessToken: String,
val isTest: Boolean? = null
)
data class PayuPaymentLinkSettingsResponse(
val propertyId: UUID,
val configured: Boolean,
val merchantId: String?,
val isTest: Boolean,
val hasAccessToken: Boolean
)
data class PayuPaymentLinkCreateRequest(
val amount: Long? = null,
val isAmountFilledByCustomer: Boolean? = null,
val isPartialPaymentAllowed: Boolean? = null,
val minAmountForCustomer: Long? = null,
val description: String? = null,
val expiryDate: String? = null,
val udf3: String? = null,
val udf4: String? = null,
val udf5: String? = null,
val viaEmail: Boolean? = null,
val viaSms: Boolean? = null
)
data class PayuPaymentLinkCreateResponse(
val amount: Long,
val currency: String,
val payuResponse: String
)