complete

suspend fun complete(result: PaymentComplete = definedExternally)(source)

MDN Reference