getPaymentStatus

suspend fun getPaymentStatus(referenceId: String, apiVersion: String, productSubscriptionKey: String): Response<PaymentStatus>

Retrieves the status of a previously created Collection payment.

Return

A Response whose body is the parsed io.rekast.sdk.model.PaymentStatus.

Parameters

referenceId

The UUID V4 reference ID used when calling createPayment.

apiVersion

The version of the API to use.

productSubscriptionKey

The subscription key for the Collection product.