getInvoiceStatus

suspend fun getInvoiceStatus(referenceId: String, apiVersion: String, productSubscriptionKey: String): Response<InvoiceStatus>

Retrieves the status of a previously created Collection invoice.

Return

A Response whose body contains the invoice status details.

Parameters

referenceId

The UUID V4 reference ID used when calling createInvoice.

apiVersion

The version of the API to use.

productSubscriptionKey

The subscription key for the Collection product.